stigg-api-client 0.544.1 → 0.548.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: 9586037edda6daa307fe4d6b8197b6f9f601e83eedb5ec41243051ad9defca3c
4
- data.tar.gz: ff729720235ad19c4c2e027af3c1bd3693bbc875eea3ecfeae1a0365b2fee52c
3
+ metadata.gz: dc5c7bf1fd6f4b726fd1a0270ddbb18be2c9f1311a595b873f7c653c6eaf505d
4
+ data.tar.gz: da8f90c8e772f6fa8e84ab7da163d98c8f67c20f7525128c89a54074b049dd36
5
5
  SHA512:
6
- metadata.gz: 1ba47d60d7497e2bbf0e39de21aec90618bd9ae5f20ce33ee1da59a8d180cdb4dbf1038240ddd44fa5fa5a594a607aa2f71e64d36660822ffefc5c45ff33da8c
7
- data.tar.gz: 5ecae863756b2b9b98d37afee2a697f3674f37874839ddaf2cbe154ff3ee949b6508d9db331a986b604bd2db8941be77d8a8c87b13cfd7cd7159757581a03a77
6
+ metadata.gz: 785d54313ddb8b05a7b27c361301e74bd1e7f696227002461316e88d5e1e06228025014a14eb2907813ff53da506a19ca2b06e67eae76a9a4e30aaf2065ecb97
7
+ data.tar.gz: f5e98045c176f204568c3535bd1a58c197222a6bdf4ad284264d97981b992c8b352bd6ce5b09f60bdf0f9707b58a9e5946d9680e5a53a730c4f43569e08da627
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.544.1)
4
+ stigg-api-client (0.548.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,8 @@ 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 {
747
749
  setupSecret
748
750
  customer {
749
751
  ...CustomerFragment
@@ -1157,9 +1159,9 @@ module Stigg
1157
1159
  #{Fragment::TotalPriceFragment}
1158
1160
  GRAPHQL
1159
1161
 
1160
- Checkout = <<~GRAPHQL
1161
- mutation ($input: CheckoutInput!) {
1162
- checkout(input: $input) {
1162
+ ApplySubscription = <<~GRAPHQL
1163
+ mutation ($input: ApplySubscriptionInput!) {
1164
+ applySubscription(input: $input) {
1163
1165
  subscription {
1164
1166
  ...SubscriptionFragment
1165
1167
  }
@@ -1231,6 +1233,15 @@ module Stigg
1231
1233
  #{Fragment::SubscriptionPreviewFragment}
1232
1234
  GRAPHQL
1233
1235
 
1236
+ PreviewSubscription = <<~GRAPHQL
1237
+ mutation ($input: PreviewSubscriptionInput!) {
1238
+ previewSubscription(input: $input) {
1239
+ ...SubscriptionPreviewFragment
1240
+ }
1241
+ }
1242
+ #{Fragment::SubscriptionPreviewFragment}
1243
+ GRAPHQL
1244
+
1234
1245
  CancelSubscriptionUpdates = <<~GRAPHQL
1235
1246
  mutation (
1236
1247
  $input: SubscriptionUpdateScheduleCancellationInput!
@@ -1467,13 +1478,13 @@ module Stigg
1467
1478
  #{Fragment::CustomerResourceFragment}
1468
1479
  GRAPHQL
1469
1480
 
1470
- CheckoutData = <<~GRAPHQL
1471
- query ($input: CheckoutDataInput!) {
1472
- checkoutData(input: $input) {
1473
- ...CheckoutDataFragment
1481
+ CheckoutState = <<~GRAPHQL
1482
+ query ($input: CheckoutStateInput!) {
1483
+ checkoutState(input: $input) {
1484
+ ...CheckoutStateFragment
1474
1485
  }
1475
1486
  }
1476
- #{Fragment::CheckoutDataFragment}
1487
+ #{Fragment::CheckoutStateFragment}
1477
1488
  #{Fragment::CustomerFragment}
1478
1489
  #{Fragment::SlimCustomerFragment}
1479
1490
  #{Fragment::CouponFragment}