stigg-api-client 0.505.0 → 0.508.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b25b29d9de086be26c8297b481b6bf8d7312d9f73fff790f6b92859287d0a4f
4
- data.tar.gz: 07f65054f55807bb440100d92bdd7911fc193987ec42fea40f7546f320e04954
3
+ metadata.gz: d6282f83021cb4474be965c1ca5c34ab40b4f8614aad79b44c4b3c2b4a6747b5
4
+ data.tar.gz: f9372bf22fb784f0eee7cb58eb3b221468789f370cbf5fb88b345288a0996d1d
5
5
  SHA512:
6
- metadata.gz: 29595fd8bfdc4e1009f1e7889761b397604553494bc517b1577ed47a08eb6250bb01f171a31053a59d33a6c3be6cf56fc47407925a53ff4da94b74cd270605f4
7
- data.tar.gz: 4c8eea0e02c412202c506bcec8c387e66cd63beadeb9f304fe18a163af07bdb316185f802d7ac2ccecb4ecda159a209864d05434e1ed290d3ebca35bbb00c077
6
+ metadata.gz: 3d12bd3ce18d47695b52a51f46cace14eaa65cff988e7cc1f6a8c7d470c8d78237cad150a443ed79e435d23ed2afb4b74df1eb2e3bd90232dcf777507e7c50b3
7
+ data.tar.gz: 6d95c1caa131a9911b65347978b7a9065e0c4c9814926f6e75e8c5ebdab03e00ad8c2675a7f0b4b029c2d29c184675c080bf884b14e2dabcae3aa6a184ec05da
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.505.0)
4
+ stigg-api-client (0.508.0)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -218,6 +218,33 @@ module Stigg
218
218
  }
219
219
  GRAPHQL
220
220
 
221
+ SubscriptionFutureUpdateData = <<~GRAPHQL
222
+ fragment SubscriptionFutureUpdateData on SubscriptionFutureUpdate {
223
+ subscriptionScheduleType
224
+ scheduleStatus
225
+ scheduledExecutionTime
226
+ targetPackage {
227
+ id
228
+ refId
229
+ displayName
230
+ }
231
+ scheduleVariables {
232
+ ... on DowngradeChangeVariables {
233
+ addonRefIds
234
+ billingPeriod
235
+ downgradePlanRefId
236
+ }
237
+ ... on BillingPeriodChangeVariables {
238
+ billingPeriod
239
+ }
240
+ ... on UnitAmountChangeVariables {
241
+ newUnitAmount
242
+ featureId
243
+ }
244
+ }
245
+ }
246
+ GRAPHQL
247
+
221
248
  SubscriptionFragment = <<~GRAPHQL
222
249
  fragment SubscriptionFragment on CustomerSubscription {
223
250
  id
@@ -264,6 +291,9 @@ module Stigg
264
291
  scheduledUpdates {
265
292
  ...SubscriptionScheduledUpdateData
266
293
  }
294
+ futureUpdates {
295
+ ...SubscriptionFutureUpdateData
296
+ }
267
297
  }
268
298
  GRAPHQL
269
299
 
@@ -1180,6 +1210,7 @@ module Stigg
1180
1210
  #{Fragment::PackageEntitlementFragment}
1181
1211
  #{Fragment::AddonFragment}
1182
1212
  #{Fragment::SubscriptionScheduledUpdateData}
1213
+ #{Fragment::SubscriptionFutureUpdateData}
1183
1214
  GRAPHQL
1184
1215
 
1185
1216
  GetActiveSubscriptions = <<~GRAPHQL
@@ -1197,6 +1228,7 @@ module Stigg
1197
1228
  #{Fragment::PackageEntitlementFragment}
1198
1229
  #{Fragment::AddonFragment}
1199
1230
  #{Fragment::SubscriptionScheduledUpdateData}
1231
+ #{Fragment::SubscriptionFutureUpdateData}
1200
1232
  GRAPHQL
1201
1233
 
1202
1234
  GetCoupons = <<~GRAPHQL
@@ -1237,6 +1269,7 @@ module Stigg
1237
1269
  #{Fragment::CustomerResourceFragment}
1238
1270
  #{Fragment::TotalPriceFragment}
1239
1271
  #{Fragment::SubscriptionScheduledUpdateData}
1272
+ #{Fragment::SubscriptionFutureUpdateData}
1240
1273
  #{Fragment::PaywallCalculatedPricePointsFragment}
1241
1274
  GRAPHQL
1242
1275
 
@@ -13008,6 +13008,30 @@
13008
13008
  "isDeprecated": false,
13009
13009
  "deprecationReason": null
13010
13010
  },
13011
+ {
13012
+ "name": "futureUpdates",
13013
+ "description": null,
13014
+ "args": [],
13015
+ "type": {
13016
+ "kind": "NON_NULL",
13017
+ "name": null,
13018
+ "ofType": {
13019
+ "kind": "LIST",
13020
+ "name": null,
13021
+ "ofType": {
13022
+ "kind": "NON_NULL",
13023
+ "name": null,
13024
+ "ofType": {
13025
+ "kind": "OBJECT",
13026
+ "name": "SubscriptionFutureUpdate",
13027
+ "ofType": null
13028
+ }
13029
+ }
13030
+ }
13031
+ },
13032
+ "isDeprecated": false,
13033
+ "deprecationReason": null
13034
+ },
13011
13035
  {
13012
13036
  "name": "id",
13013
13037
  "description": null,
@@ -54823,6 +54847,113 @@
54823
54847
  ],
54824
54848
  "possibleTypes": null
54825
54849
  },
54850
+ {
54851
+ "kind": "OBJECT",
54852
+ "name": "SubscriptionFutureUpdate",
54853
+ "description": null,
54854
+ "fields": [
54855
+ {
54856
+ "name": "billingId",
54857
+ "description": null,
54858
+ "args": [],
54859
+ "type": {
54860
+ "kind": "SCALAR",
54861
+ "name": "String",
54862
+ "ofType": null
54863
+ },
54864
+ "isDeprecated": false,
54865
+ "deprecationReason": null
54866
+ },
54867
+ {
54868
+ "name": "createdAt",
54869
+ "description": null,
54870
+ "args": [],
54871
+ "type": {
54872
+ "kind": "SCALAR",
54873
+ "name": "DateTime",
54874
+ "ofType": null
54875
+ },
54876
+ "isDeprecated": false,
54877
+ "deprecationReason": null
54878
+ },
54879
+ {
54880
+ "name": "scheduleStatus",
54881
+ "description": null,
54882
+ "args": [],
54883
+ "type": {
54884
+ "kind": "NON_NULL",
54885
+ "name": null,
54886
+ "ofType": {
54887
+ "kind": "ENUM",
54888
+ "name": "SubscriptionScheduleStatus",
54889
+ "ofType": null
54890
+ }
54891
+ },
54892
+ "isDeprecated": false,
54893
+ "deprecationReason": null
54894
+ },
54895
+ {
54896
+ "name": "scheduleVariables",
54897
+ "description": null,
54898
+ "args": [],
54899
+ "type": {
54900
+ "kind": "UNION",
54901
+ "name": "ScheduleVariables",
54902
+ "ofType": null
54903
+ },
54904
+ "isDeprecated": false,
54905
+ "deprecationReason": null
54906
+ },
54907
+ {
54908
+ "name": "scheduledExecutionTime",
54909
+ "description": null,
54910
+ "args": [],
54911
+ "type": {
54912
+ "kind": "NON_NULL",
54913
+ "name": null,
54914
+ "ofType": {
54915
+ "kind": "SCALAR",
54916
+ "name": "DateTime",
54917
+ "ofType": null
54918
+ }
54919
+ },
54920
+ "isDeprecated": false,
54921
+ "deprecationReason": null
54922
+ },
54923
+ {
54924
+ "name": "subscriptionScheduleType",
54925
+ "description": null,
54926
+ "args": [],
54927
+ "type": {
54928
+ "kind": "NON_NULL",
54929
+ "name": null,
54930
+ "ofType": {
54931
+ "kind": "ENUM",
54932
+ "name": "SubscriptionScheduleType",
54933
+ "ofType": null
54934
+ }
54935
+ },
54936
+ "isDeprecated": false,
54937
+ "deprecationReason": null
54938
+ },
54939
+ {
54940
+ "name": "targetPackage",
54941
+ "description": null,
54942
+ "args": [],
54943
+ "type": {
54944
+ "kind": "OBJECT",
54945
+ "name": "PackageDTO",
54946
+ "ofType": null
54947
+ },
54948
+ "isDeprecated": false,
54949
+ "deprecationReason": null
54950
+ }
54951
+ ],
54952
+ "inputFields": null,
54953
+ "interfaces": [],
54954
+ "enumValues": null,
54955
+ "possibleTypes": null
54956
+ },
54826
54957
  {
54827
54958
  "kind": "INPUT_OBJECT",
54828
54959
  "name": "SubscriptionInput",
@@ -60982,6 +61113,18 @@
60982
61113
  "isDeprecated": false,
60983
61114
  "deprecationReason": null
60984
61115
  },
61116
+ {
61117
+ "name": "awaitPaymentConfirmation",
61118
+ "description": null,
61119
+ "type": {
61120
+ "kind": "SCALAR",
61121
+ "name": "Boolean",
61122
+ "ofType": null
61123
+ },
61124
+ "defaultValue": "true",
61125
+ "isDeprecated": false,
61126
+ "deprecationReason": null
61127
+ },
60985
61128
  {
60986
61129
  "name": "billableFeatures",
60987
61130
  "description": null,
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "0.505.0"
4
+ VERSION = "0.508.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.505.0
4
+ version: 0.508.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-25 00:00:00.000000000 Z
11
+ date: 2023-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient