stigg-api-client 1.51.2 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stigg/generated/operations.rb +51 -51
- data/lib/stigg/generated/schema.json +135 -4
- data/lib/stigg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 543ff7654185af70c3c3cf69630fd3b5af8f033aafb05c7a3f087f3cdfe5d204
|
4
|
+
data.tar.gz: 60739d592eb55d714b7f2cd459b10c415df843ed643ba30ca1a6bed328f00583
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b3b4d2b228d74334017443581c4c60bf975f17f106e43a955c9665a9843663445764a89da71f4ff0ddc81e3e933753d4dd329c94a09d144da7c9f72b31f9fde
|
7
|
+
data.tar.gz: 0d5c6e246a9f248da1ec503132af2cca56c22bd48e8b28927d6e44f0e0c3d1c0dba26479b6608076a355a4af02b319c65c3a5de8c3771090c574616e50ba5c22
|
data/Gemfile.lock
CHANGED
@@ -256,23 +256,7 @@ module Stigg
|
|
256
256
|
displayName
|
257
257
|
}
|
258
258
|
scheduleVariables {
|
259
|
-
|
260
|
-
... on DowngradeChangeVariables {
|
261
|
-
addonRefIds
|
262
|
-
billingPeriod
|
263
|
-
downgradePlanRefId
|
264
|
-
}
|
265
|
-
... on BillingPeriodChangeVariables {
|
266
|
-
billingPeriod
|
267
|
-
}
|
268
|
-
... on UnitAmountChangeVariables {
|
269
|
-
newUnitAmount
|
270
|
-
featureId
|
271
|
-
}
|
272
|
-
... on AddonChangeVariables {
|
273
|
-
addonRefId
|
274
|
-
newQuantity
|
275
|
-
}
|
259
|
+
...ScheduleVariablesFragment
|
276
260
|
}
|
277
261
|
}
|
278
262
|
GRAPHQL
|
@@ -288,23 +272,7 @@ module Stigg
|
|
288
272
|
displayName
|
289
273
|
}
|
290
274
|
scheduleVariables {
|
291
|
-
|
292
|
-
... on DowngradeChangeVariables {
|
293
|
-
addonRefIds
|
294
|
-
billingPeriod
|
295
|
-
downgradePlanRefId
|
296
|
-
}
|
297
|
-
... on BillingPeriodChangeVariables {
|
298
|
-
billingPeriod
|
299
|
-
}
|
300
|
-
... on UnitAmountChangeVariables {
|
301
|
-
newUnitAmount
|
302
|
-
featureId
|
303
|
-
}
|
304
|
-
... on AddonChangeVariables {
|
305
|
-
addonRefId
|
306
|
-
newQuantity
|
307
|
-
}
|
275
|
+
...ScheduleVariablesFragment
|
308
276
|
}
|
309
277
|
}
|
310
278
|
GRAPHQL
|
@@ -1051,23 +1019,7 @@ module Stigg
|
|
1051
1019
|
pricingType
|
1052
1020
|
}
|
1053
1021
|
scheduleVariables {
|
1054
|
-
|
1055
|
-
... on DowngradeChangeVariables {
|
1056
|
-
addonRefIds
|
1057
|
-
billingPeriod
|
1058
|
-
downgradePlanRefId
|
1059
|
-
}
|
1060
|
-
... on BillingPeriodChangeVariables {
|
1061
|
-
billingPeriod
|
1062
|
-
}
|
1063
|
-
... on UnitAmountChangeVariables {
|
1064
|
-
newUnitAmount
|
1065
|
-
featureId
|
1066
|
-
}
|
1067
|
-
... on AddonChangeVariables {
|
1068
|
-
addonRefId
|
1069
|
-
newQuantity
|
1070
|
-
}
|
1022
|
+
...ScheduleVariablesFragment
|
1071
1023
|
}
|
1072
1024
|
}
|
1073
1025
|
GRAPHQL
|
@@ -1320,6 +1272,48 @@ module Stigg
|
|
1320
1272
|
timestamp
|
1321
1273
|
}
|
1322
1274
|
GRAPHQL
|
1275
|
+
|
1276
|
+
ScheduleVariablesFragment = <<~GRAPHQL
|
1277
|
+
fragment ScheduleVariablesFragment on ScheduleVariables {
|
1278
|
+
__typename
|
1279
|
+
... on PlanChangeVariables {
|
1280
|
+
planRefId
|
1281
|
+
changeType
|
1282
|
+
billingPeriod
|
1283
|
+
billableFeatures {
|
1284
|
+
featureId
|
1285
|
+
quantity
|
1286
|
+
}
|
1287
|
+
addons {
|
1288
|
+
addonRefId
|
1289
|
+
quantity
|
1290
|
+
}
|
1291
|
+
}
|
1292
|
+
... on DowngradeChangeVariables {
|
1293
|
+
downgradePlanRefId
|
1294
|
+
billingPeriod
|
1295
|
+
billableFeatures {
|
1296
|
+
featureId
|
1297
|
+
quantity
|
1298
|
+
}
|
1299
|
+
addons {
|
1300
|
+
addonRefId
|
1301
|
+
quantity
|
1302
|
+
}
|
1303
|
+
}
|
1304
|
+
... on BillingPeriodChangeVariables {
|
1305
|
+
billingPeriod
|
1306
|
+
}
|
1307
|
+
... on UnitAmountChangeVariables {
|
1308
|
+
newUnitAmount
|
1309
|
+
featureId
|
1310
|
+
}
|
1311
|
+
... on AddonChangeVariables {
|
1312
|
+
addonRefId
|
1313
|
+
newQuantity
|
1314
|
+
}
|
1315
|
+
}
|
1316
|
+
GRAPHQL
|
1323
1317
|
end
|
1324
1318
|
|
1325
1319
|
module Mutation
|
@@ -1433,6 +1427,7 @@ module Stigg
|
|
1433
1427
|
#{Fragment::AddonFragment}
|
1434
1428
|
#{Fragment::OveragePriceFragment}
|
1435
1429
|
#{Fragment::SubscriptionScheduledUpdateData}
|
1430
|
+
#{Fragment::ScheduleVariablesFragment}
|
1436
1431
|
#{Fragment::SubscriptionFutureUpdateData}
|
1437
1432
|
#{Fragment::EntitlementFragment}
|
1438
1433
|
#{Fragment::ResetPeriodConfigurationFragment}
|
@@ -1622,6 +1617,7 @@ module Stigg
|
|
1622
1617
|
#{Fragment::AddonFragment}
|
1623
1618
|
#{Fragment::OveragePriceFragment}
|
1624
1619
|
#{Fragment::SubscriptionScheduledUpdateData}
|
1620
|
+
#{Fragment::ScheduleVariablesFragment}
|
1625
1621
|
#{Fragment::SubscriptionFutureUpdateData}
|
1626
1622
|
GRAPHQL
|
1627
1623
|
|
@@ -1652,6 +1648,7 @@ module Stigg
|
|
1652
1648
|
#{Fragment::AddonFragment}
|
1653
1649
|
#{Fragment::OveragePriceFragment}
|
1654
1650
|
#{Fragment::SubscriptionScheduledUpdateData}
|
1651
|
+
#{Fragment::ScheduleVariablesFragment}
|
1655
1652
|
#{Fragment::SubscriptionFutureUpdateData}
|
1656
1653
|
GRAPHQL
|
1657
1654
|
|
@@ -1696,6 +1693,7 @@ module Stigg
|
|
1696
1693
|
#{Fragment::CustomerResourceFragment}
|
1697
1694
|
#{Fragment::TotalPriceFragment}
|
1698
1695
|
#{Fragment::SubscriptionScheduledUpdateData}
|
1696
|
+
#{Fragment::ScheduleVariablesFragment}
|
1699
1697
|
#{Fragment::SubscriptionFutureUpdateData}
|
1700
1698
|
#{Fragment::PaywallCalculatedPricePointsFragment}
|
1701
1699
|
GRAPHQL
|
@@ -1755,6 +1753,7 @@ module Stigg
|
|
1755
1753
|
#{Fragment::CustomerPortalSubscriptionPriceFragment}
|
1756
1754
|
#{Fragment::CustomerPortalSubscriptionAddonFragment}
|
1757
1755
|
#{Fragment::CustomerPortalSubscriptionScheduledUpdateDataFragment}
|
1756
|
+
#{Fragment::ScheduleVariablesFragment}
|
1758
1757
|
#{Fragment::CustomerPortalEntitlementFragment}
|
1759
1758
|
#{Fragment::ResetPeriodConfigurationFragment}
|
1760
1759
|
#{Fragment::FeatureFragment}
|
@@ -1792,6 +1791,7 @@ module Stigg
|
|
1792
1791
|
#{Fragment::AddonFragment}
|
1793
1792
|
#{Fragment::OveragePriceFragment}
|
1794
1793
|
#{Fragment::SubscriptionScheduledUpdateData}
|
1794
|
+
#{Fragment::ScheduleVariablesFragment}
|
1795
1795
|
#{Fragment::SubscriptionFutureUpdateData}
|
1796
1796
|
GRAPHQL
|
1797
1797
|
|
@@ -19180,6 +19180,26 @@
|
|
19180
19180
|
"name": "String",
|
19181
19181
|
"ofType": null
|
19182
19182
|
},
|
19183
|
+
"isDeprecated": true,
|
19184
|
+
"deprecationReason": "Use addons instead"
|
19185
|
+
},
|
19186
|
+
{
|
19187
|
+
"name": "addons",
|
19188
|
+
"description": null,
|
19189
|
+
"args": [],
|
19190
|
+
"type": {
|
19191
|
+
"kind": "LIST",
|
19192
|
+
"name": null,
|
19193
|
+
"ofType": {
|
19194
|
+
"kind": "NON_NULL",
|
19195
|
+
"name": null,
|
19196
|
+
"ofType": {
|
19197
|
+
"kind": "OBJECT",
|
19198
|
+
"name": "PlanChangeAddon",
|
19199
|
+
"ofType": null
|
19200
|
+
}
|
19201
|
+
}
|
19202
|
+
},
|
19183
19203
|
"isDeprecated": false,
|
19184
19204
|
"deprecationReason": null
|
19185
19205
|
},
|
@@ -37148,6 +37168,39 @@
|
|
37148
37168
|
"isDeprecated": false,
|
37149
37169
|
"deprecationReason": null
|
37150
37170
|
},
|
37171
|
+
{
|
37172
|
+
"name": "triggerSubscriptionBillingMonthEndsSoonWebhook",
|
37173
|
+
"description": "Triggers the subscription billing month ends soon webhook for the given subscription",
|
37174
|
+
"args": [
|
37175
|
+
{
|
37176
|
+
"name": "input",
|
37177
|
+
"description": null,
|
37178
|
+
"type": {
|
37179
|
+
"kind": "NON_NULL",
|
37180
|
+
"name": null,
|
37181
|
+
"ofType": {
|
37182
|
+
"kind": "INPUT_OBJECT",
|
37183
|
+
"name": "TriggerSubscriptionBillingMonthEndsSoonWebhookInput",
|
37184
|
+
"ofType": null
|
37185
|
+
}
|
37186
|
+
},
|
37187
|
+
"defaultValue": null,
|
37188
|
+
"isDeprecated": false,
|
37189
|
+
"deprecationReason": null
|
37190
|
+
}
|
37191
|
+
],
|
37192
|
+
"type": {
|
37193
|
+
"kind": "NON_NULL",
|
37194
|
+
"name": null,
|
37195
|
+
"ofType": {
|
37196
|
+
"kind": "SCALAR",
|
37197
|
+
"name": "Boolean",
|
37198
|
+
"ofType": null
|
37199
|
+
}
|
37200
|
+
},
|
37201
|
+
"isDeprecated": false,
|
37202
|
+
"deprecationReason": null
|
37203
|
+
},
|
37151
37204
|
{
|
37152
37205
|
"name": "unarchiveCustomer",
|
37153
37206
|
"description": null,
|
@@ -44240,6 +44293,49 @@
|
|
44240
44293
|
"enumValues": null,
|
44241
44294
|
"possibleTypes": null
|
44242
44295
|
},
|
44296
|
+
{
|
44297
|
+
"kind": "OBJECT",
|
44298
|
+
"name": "PlanChangeAddon",
|
44299
|
+
"description": null,
|
44300
|
+
"fields": [
|
44301
|
+
{
|
44302
|
+
"name": "addonRefId",
|
44303
|
+
"description": null,
|
44304
|
+
"args": [],
|
44305
|
+
"type": {
|
44306
|
+
"kind": "NON_NULL",
|
44307
|
+
"name": null,
|
44308
|
+
"ofType": {
|
44309
|
+
"kind": "SCALAR",
|
44310
|
+
"name": "String",
|
44311
|
+
"ofType": null
|
44312
|
+
}
|
44313
|
+
},
|
44314
|
+
"isDeprecated": false,
|
44315
|
+
"deprecationReason": null
|
44316
|
+
},
|
44317
|
+
{
|
44318
|
+
"name": "quantity",
|
44319
|
+
"description": null,
|
44320
|
+
"args": [],
|
44321
|
+
"type": {
|
44322
|
+
"kind": "NON_NULL",
|
44323
|
+
"name": null,
|
44324
|
+
"ofType": {
|
44325
|
+
"kind": "SCALAR",
|
44326
|
+
"name": "Float",
|
44327
|
+
"ofType": null
|
44328
|
+
}
|
44329
|
+
},
|
44330
|
+
"isDeprecated": false,
|
44331
|
+
"deprecationReason": null
|
44332
|
+
}
|
44333
|
+
],
|
44334
|
+
"inputFields": null,
|
44335
|
+
"interfaces": [],
|
44336
|
+
"enumValues": null,
|
44337
|
+
"possibleTypes": null
|
44338
|
+
},
|
44243
44339
|
{
|
44244
44340
|
"kind": "ENUM",
|
44245
44341
|
"name": "PlanChangeType",
|
@@ -44275,13 +44371,21 @@
|
|
44275
44371
|
"description": null,
|
44276
44372
|
"fields": [
|
44277
44373
|
{
|
44278
|
-
"name": "
|
44374
|
+
"name": "addons",
|
44279
44375
|
"description": null,
|
44280
44376
|
"args": [],
|
44281
44377
|
"type": {
|
44282
|
-
"kind": "
|
44283
|
-
"name":
|
44284
|
-
"ofType":
|
44378
|
+
"kind": "LIST",
|
44379
|
+
"name": null,
|
44380
|
+
"ofType": {
|
44381
|
+
"kind": "NON_NULL",
|
44382
|
+
"name": null,
|
44383
|
+
"ofType": {
|
44384
|
+
"kind": "OBJECT",
|
44385
|
+
"name": "PlanChangeAddon",
|
44386
|
+
"ofType": null
|
44387
|
+
}
|
44388
|
+
}
|
44285
44389
|
},
|
44286
44390
|
"isDeprecated": false,
|
44287
44391
|
"deprecationReason": null
|
@@ -67837,6 +67941,33 @@
|
|
67837
67941
|
"enumValues": null,
|
67838
67942
|
"possibleTypes": null
|
67839
67943
|
},
|
67944
|
+
{
|
67945
|
+
"kind": "INPUT_OBJECT",
|
67946
|
+
"name": "TriggerSubscriptionBillingMonthEndsSoonWebhookInput",
|
67947
|
+
"description": "Input for triggering the subscription billing month ends soon webhook",
|
67948
|
+
"fields": null,
|
67949
|
+
"inputFields": [
|
67950
|
+
{
|
67951
|
+
"name": "subscriptionId",
|
67952
|
+
"description": "The subscription reference id to trigger the webhook for",
|
67953
|
+
"type": {
|
67954
|
+
"kind": "NON_NULL",
|
67955
|
+
"name": null,
|
67956
|
+
"ofType": {
|
67957
|
+
"kind": "SCALAR",
|
67958
|
+
"name": "String",
|
67959
|
+
"ofType": null
|
67960
|
+
}
|
67961
|
+
},
|
67962
|
+
"defaultValue": null,
|
67963
|
+
"isDeprecated": false,
|
67964
|
+
"deprecationReason": null
|
67965
|
+
}
|
67966
|
+
],
|
67967
|
+
"interfaces": null,
|
67968
|
+
"enumValues": null,
|
67969
|
+
"possibleTypes": null
|
67970
|
+
},
|
67840
67971
|
{
|
67841
67972
|
"kind": "INPUT_OBJECT",
|
67842
67973
|
"name": "TriggerSubscriptionMigrationInput",
|
data/lib/stigg/version.rb
CHANGED
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: 1.
|
4
|
+
version: 1.54.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stigg
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-03-
|
11
|
+
date: 2024-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphlient
|