stigg-api-client 1.51.2 → 1.52.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: aa2ace0a3934dcacfff76297f96840723deb0a01948124812558a491e1fa5bfc
4
- data.tar.gz: 757d3fa5132b3a7c4aacb432be5b246847b9adee1ae5bd1b0d55d20ecad1ab60
3
+ metadata.gz: 6aef820b19bc8e91b0d86c78612c6b02c9b3a4f37174df877ca49540dcacf7ed
4
+ data.tar.gz: a964148cc83b0898d7d32f6e35bafafc197c9e8338d3ba05492b9eac83f4f4e0
5
5
  SHA512:
6
- metadata.gz: 6cd99e4a7c627f84bd3c66b1a45ba1edb710b76161896bff550c0a78680666e3b7563074677798b2cd1088898bee8077a6c1bb03222f50779d738d50943c0470
7
- data.tar.gz: 46baef8dbb4db381a3968344048fdb13a0887395c50fd505f2afd0279fa81ecc90428e554da7e83a1bf09cf33ed29d17d0bc4aa491bb26f34122dee28f2474bb
6
+ metadata.gz: 524435a50517e2d0ed0de8423b4921548b6f93b8ec01026a80228d2c28b638bf824bd83285cfd055e603d5e9f163936c36df5e4243eab2e0d0428c1851f847d1
7
+ data.tar.gz: 5dd815d6b8a7976091cef0caee009c463ce5eb3ae4d344dea39b20f67f4258eb28d306e97c9b47be3c5776dffa6c5b9dfc44247569fa993494ecc733997fb691
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (1.51.2)
4
+ stigg-api-client (1.52.0)
5
5
  graphlient (~> 0.7.0)
6
6
  graphql-client (~> 0.19)
7
7
 
@@ -256,23 +256,7 @@ module Stigg
256
256
  displayName
257
257
  }
258
258
  scheduleVariables {
259
- __typename
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
- __typename
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
- __typename
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
  },
@@ -44240,6 +44260,49 @@
44240
44260
  "enumValues": null,
44241
44261
  "possibleTypes": null
44242
44262
  },
44263
+ {
44264
+ "kind": "OBJECT",
44265
+ "name": "PlanChangeAddon",
44266
+ "description": null,
44267
+ "fields": [
44268
+ {
44269
+ "name": "addonRefId",
44270
+ "description": null,
44271
+ "args": [],
44272
+ "type": {
44273
+ "kind": "NON_NULL",
44274
+ "name": null,
44275
+ "ofType": {
44276
+ "kind": "SCALAR",
44277
+ "name": "String",
44278
+ "ofType": null
44279
+ }
44280
+ },
44281
+ "isDeprecated": false,
44282
+ "deprecationReason": null
44283
+ },
44284
+ {
44285
+ "name": "quantity",
44286
+ "description": null,
44287
+ "args": [],
44288
+ "type": {
44289
+ "kind": "NON_NULL",
44290
+ "name": null,
44291
+ "ofType": {
44292
+ "kind": "SCALAR",
44293
+ "name": "Float",
44294
+ "ofType": null
44295
+ }
44296
+ },
44297
+ "isDeprecated": false,
44298
+ "deprecationReason": null
44299
+ }
44300
+ ],
44301
+ "inputFields": null,
44302
+ "interfaces": [],
44303
+ "enumValues": null,
44304
+ "possibleTypes": null
44305
+ },
44243
44306
  {
44244
44307
  "kind": "ENUM",
44245
44308
  "name": "PlanChangeType",
@@ -44275,13 +44338,21 @@
44275
44338
  "description": null,
44276
44339
  "fields": [
44277
44340
  {
44278
- "name": "addonRefIds",
44341
+ "name": "addons",
44279
44342
  "description": null,
44280
44343
  "args": [],
44281
44344
  "type": {
44282
- "kind": "SCALAR",
44283
- "name": "String",
44284
- "ofType": null
44345
+ "kind": "LIST",
44346
+ "name": null,
44347
+ "ofType": {
44348
+ "kind": "NON_NULL",
44349
+ "name": null,
44350
+ "ofType": {
44351
+ "kind": "OBJECT",
44352
+ "name": "PlanChangeAddon",
44353
+ "ofType": null
44354
+ }
44355
+ }
44285
44356
  },
44286
44357
  "isDeprecated": false,
44287
44358
  "deprecationReason": 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 = "1.51.2"
4
+ VERSION = "1.52.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: 1.51.2
4
+ version: 1.52.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-03 00:00:00.000000000 Z
11
+ date: 2024-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient