stigg-api-client 0.545.0 → 0.550.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8bf14111ed4e0a2d9bf456377c3c0e80956060279b9f157739afd3edbf17cbe9
4
- data.tar.gz: 612270ca0e4acc13f557eef6e997cd3f78779858617fd971ce1459380a3a414c
3
+ metadata.gz: c93241337f0d55c56b2ae991902060572b6211ce5e30dae8fca0218cb49dba05
4
+ data.tar.gz: 79c5d5b160e304d8ce5b2e314a0690441e01fbd405087d9ff886b667ff89d6a1
5
5
  SHA512:
6
- metadata.gz: 65ddcc5b0cba2c319c0a4926bb56d1b71473c5987b2e9e7d5bc37fe5c2ac728e12451102faa6ef62a46dff5d49ba4ec2f8f8224b8f2a6ffd481461b3c9f713de
7
- data.tar.gz: a8b1a2d9b9178c059a667c3a8bca88a751bb8a30bb0ac135fa858f6525db05870c9871daebf7e68c39a193bd471bd6e6a24c748b5539ebec91beb4963b7c6890
6
+ metadata.gz: c4acec12b6af94b4e14ff96455e8e5255d0bd7a014d063be89842340e1ebe61d1dee69296fc510d37d506c4b111e3bf7876d2d9301d40630e1c53f941b8e2955
7
+ data.tar.gz: f5c3d2d2741933b97a58fe16f01ea93fc452ce0f6693cf2afb3960bd3fb8a8dd5c21d457794b017b2642d2a34a321a747d76618727afe3fa593a512bc2f2bc5d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.545.0)
4
+ stigg-api-client (0.550.0)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -484,6 +484,8 @@ module Stigg
484
484
  currency
485
485
  }
486
486
  }
487
+ isPlanDowngrade
488
+ hasScheduledUpdates
487
489
  }
488
490
  GRAPHQL
489
491
 
@@ -742,8 +744,11 @@ module Stigg
742
744
  }
743
745
  GRAPHQL
744
746
 
745
- CheckoutDataFragment = <<~GRAPHQL
746
- fragment CheckoutDataFragment on CheckoutData {
747
+ CheckoutStateFragment = <<~GRAPHQL
748
+ fragment CheckoutStateFragment on CheckoutState {
749
+ configuration {
750
+ ...CheckoutConfigurationFragment
751
+ }
747
752
  setupSecret
748
753
  customer {
749
754
  ...CustomerFragment
@@ -767,6 +772,29 @@ module Stigg
767
772
  }
768
773
  GRAPHQL
769
774
 
775
+ CheckoutConfigurationFragment = <<~GRAPHQL
776
+ fragment CheckoutConfigurationFragment on CheckoutConfiguration {
777
+ palette {
778
+ primary
779
+ textColor
780
+ backgroundColor
781
+ borderColor
782
+ selectionColor
783
+ summaryBackgroundColor
784
+ __typename
785
+ }
786
+ typography {
787
+ ...TypographyConfigurationFragment
788
+ __typename
789
+ }
790
+ customCss
791
+ content {
792
+ collectPhoneNumber
793
+ }
794
+ __typename
795
+ }
796
+ GRAPHQL
797
+
770
798
  CustomerPortalConfigurationFragment = <<~GRAPHQL
771
799
  fragment CustomerPortalConfigurationFragment on CustomerPortalConfiguration {
772
800
  palette {
@@ -1157,9 +1185,9 @@ module Stigg
1157
1185
  #{Fragment::TotalPriceFragment}
1158
1186
  GRAPHQL
1159
1187
 
1160
- Checkout = <<~GRAPHQL
1161
- mutation ($input: CheckoutInput!) {
1162
- checkout(input: $input) {
1188
+ ApplySubscription = <<~GRAPHQL
1189
+ mutation ($input: ApplySubscriptionInput!) {
1190
+ applySubscription(input: $input) {
1163
1191
  subscription {
1164
1192
  ...SubscriptionFragment
1165
1193
  }
@@ -1231,6 +1259,15 @@ module Stigg
1231
1259
  #{Fragment::SubscriptionPreviewFragment}
1232
1260
  GRAPHQL
1233
1261
 
1262
+ PreviewSubscription = <<~GRAPHQL
1263
+ mutation ($input: PreviewSubscriptionInput!) {
1264
+ previewSubscription(input: $input) {
1265
+ ...SubscriptionPreviewFragment
1266
+ }
1267
+ }
1268
+ #{Fragment::SubscriptionPreviewFragment}
1269
+ GRAPHQL
1270
+
1234
1271
  CancelSubscriptionUpdates = <<~GRAPHQL
1235
1272
  mutation (
1236
1273
  $input: SubscriptionUpdateScheduleCancellationInput!
@@ -1467,13 +1504,16 @@ module Stigg
1467
1504
  #{Fragment::CustomerResourceFragment}
1468
1505
  GRAPHQL
1469
1506
 
1470
- CheckoutData = <<~GRAPHQL
1471
- query ($input: CheckoutDataInput!) {
1472
- checkoutData(input: $input) {
1473
- ...CheckoutDataFragment
1507
+ CheckoutState = <<~GRAPHQL
1508
+ query ($input: CheckoutStateInput!) {
1509
+ checkoutState(input: $input) {
1510
+ ...CheckoutStateFragment
1474
1511
  }
1475
1512
  }
1476
- #{Fragment::CheckoutDataFragment}
1513
+ #{Fragment::CheckoutStateFragment}
1514
+ #{Fragment::CheckoutConfigurationFragment}
1515
+ #{Fragment::TypographyConfigurationFragment}
1516
+ #{Fragment::FontVariantFragment}
1477
1517
  #{Fragment::CustomerFragment}
1478
1518
  #{Fragment::SlimCustomerFragment}
1479
1519
  #{Fragment::CouponFragment}