lib/stigg/generated/operations.rb in stigg-api-client-0.548.0 vs lib/stigg/generated/operations.rb in stigg-api-client-0.550.0
- old
+ new
@@ -744,10 +744,13 @@
}
GRAPHQL
CheckoutStateFragment = <<~GRAPHQL
fragment CheckoutStateFragment on CheckoutState {
+ configuration {
+ ...CheckoutConfigurationFragment
+ }
setupSecret
customer {
...CustomerFragment
}
activeSubscription {
@@ -767,10 +770,33 @@
}
}
}
GRAPHQL
+ CheckoutConfigurationFragment = <<~GRAPHQL
+ fragment CheckoutConfigurationFragment on CheckoutConfiguration {
+ palette {
+ primary
+ textColor
+ backgroundColor
+ borderColor
+ selectionColor
+ summaryBackgroundColor
+ __typename
+ }
+ typography {
+ ...TypographyConfigurationFragment
+ __typename
+ }
+ customCss
+ content {
+ collectPhoneNumber
+ }
+ __typename
+ }
+ GRAPHQL
+
CustomerPortalConfigurationFragment = <<~GRAPHQL
fragment CustomerPortalConfigurationFragment on CustomerPortalConfiguration {
palette {
primary
textColor
@@ -1483,9 +1509,12 @@
checkoutState(input: $input) {
...CheckoutStateFragment
}
}
#{Fragment::CheckoutStateFragment}
+ #{Fragment::CheckoutConfigurationFragment}
+ #{Fragment::TypographyConfigurationFragment}
+ #{Fragment::FontVariantFragment}
#{Fragment::CustomerFragment}
#{Fragment::SlimCustomerFragment}
#{Fragment::CouponFragment}
#{Fragment::PromotionalEntitlementFragment}
#{Fragment::SubscriptionFragment}