stigg-api-client 0.715.4 → 0.719.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: '024129b74a3978c790c72230b181b54a6821f082ea2370191d98b791bb9258a1'
4
- data.tar.gz: 1416b86be10ab548aa80f1f5eaaa53cec529387716d530dd8a8cafa9c95f98e0
3
+ metadata.gz: 61361b88afe3c3edbf65b1fbb15470d72bceb1c112a03841977a49444ffd23b8
4
+ data.tar.gz: 4bf0c0720ecc81826d09451cd93db274736953906aabc5d47f2c2802f483201a
5
5
  SHA512:
6
- metadata.gz: e7d88fb154279a9adb8a07898a5d74bf3034dae1930ca90cae394e280f38b5c19e6185e1b3d0d5dfdaab51f7013a36b11295ea4ae57a1708c1ede1c7c52b96a7
7
- data.tar.gz: 7f6ba10c8e32a12b63e967b2206ec66a666e975c00b08ba51b7627adb79ab26319d8decbc2944a032a365f0c2c3a455f6a92fc2b329a9d661c8b12424dfaad44
6
+ metadata.gz: c787179d19569795ed1a5ca6723319bb02251b2f4cd22b3fe8e24f5f441d7b8ba7841efa24fb8cbc652b2a407bc176e1f97c570a17354fbfbbf527ad5e7ccb18
7
+ data.tar.gz: 9266f3722f0966fbc2badde90fdc51edbb2064e6c399dbe0eafda2babb1b6cfa80b10c3224342c2c1a1855c397779c9a9e589b32f50e1da7dfc3d0e054f9c50a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.715.4)
4
+ stigg-api-client (0.719.0)
5
5
  graphlient (~> 0.7.0)
6
6
  graphql (< 2.1)
7
7
 
@@ -1222,21 +1222,56 @@ module Stigg
1222
1222
  }
1223
1223
  }
1224
1224
  GRAPHQL
1225
+
1226
+ ProvisionCustomerFragment = <<~GRAPHQL
1227
+ fragment ProvisionCustomerFragment on ProvisionedCustomer {
1228
+ customer {
1229
+ ...SlimCustomerFragment
1230
+ }
1231
+ subscriptionDecisionStrategy
1232
+ subscription {
1233
+ ...SlimSubscriptionFragment
1234
+ }
1235
+ entitlements {
1236
+ ...EntitlementFragment
1237
+ }
1238
+ }
1239
+ GRAPHQL
1240
+
1241
+ ApplySubscriptionFragment = <<~GRAPHQL
1242
+ fragment ApplySubscriptionFragment on ApplySubscription {
1243
+ subscription {
1244
+ ...SubscriptionFragment
1245
+ }
1246
+ entitlements {
1247
+ ...EntitlementFragment
1248
+ }
1249
+ }
1250
+ GRAPHQL
1251
+
1252
+ ProvisionSubscriptionFragment = <<~GRAPHQL
1253
+ fragment ProvisionSubscriptionFragment on ProvisionSubscriptionResult {
1254
+ status
1255
+ checkoutUrl
1256
+ checkoutBillingId
1257
+ subscription {
1258
+ ...SlimSubscriptionFragment
1259
+ }
1260
+ entitlements {
1261
+ ...EntitlementFragment
1262
+ }
1263
+ }
1264
+ GRAPHQL
1225
1265
  end
1226
1266
 
1227
1267
  module Mutation
1228
1268
  ProvisionCustomer = <<~GRAPHQL
1229
1269
  mutation ($input: ProvisionCustomerInput!) {
1230
1270
  provisionCustomer(input: $input) {
1231
- customer {
1232
- ...SlimCustomerFragment
1233
- }
1234
- subscriptionDecisionStrategy
1235
- subscription {
1236
- ...SlimSubscriptionFragment
1237
- }
1271
+ ...ProvisionCustomerFragment
1238
1272
  }
1239
1273
  }
1274
+ #{Fragment::ProvisionCustomerFragment}
1240
1275
  #{Fragment::SlimCustomerFragment}
1241
1276
  #{Fragment::SlimSubscriptionFragment}
1242
1277
  #{Fragment::SubscriptionInvoiceFragment}
@@ -1244,6 +1279,9 @@ module Stigg
1244
1279
  #{Fragment::PriceFragment}
1245
1280
  #{Fragment::PriceTierFragment}
1246
1281
  #{Fragment::TotalPriceFragment}
1282
+ #{Fragment::EntitlementFragment}
1283
+ #{Fragment::ResetPeriodConfigurationFragment}
1284
+ #{Fragment::FeatureFragment}
1247
1285
  GRAPHQL
1248
1286
 
1249
1287
  ImportCustomerBulk = <<~GRAPHQL
@@ -1294,29 +1332,28 @@ module Stigg
1294
1332
  ProvisionSubscription = <<~GRAPHQL
1295
1333
  mutation ($input: ProvisionSubscriptionInput!) {
1296
1334
  provisionSubscription: provisionSubscriptionV2(input: $input) {
1297
- checkoutUrl
1298
- status
1299
- subscription {
1300
- ...SlimSubscriptionFragment
1301
- }
1335
+ ...ProvisionSubscriptionFragment
1302
1336
  }
1303
1337
  }
1338
+ #{Fragment::ProvisionSubscriptionFragment}
1304
1339
  #{Fragment::SlimSubscriptionFragment}
1305
1340
  #{Fragment::SubscriptionInvoiceFragment}
1306
1341
  #{Fragment::CustomerResourceFragment}
1307
1342
  #{Fragment::PriceFragment}
1308
1343
  #{Fragment::PriceTierFragment}
1309
1344
  #{Fragment::TotalPriceFragment}
1345
+ #{Fragment::EntitlementFragment}
1346
+ #{Fragment::ResetPeriodConfigurationFragment}
1347
+ #{Fragment::FeatureFragment}
1310
1348
  GRAPHQL
1311
1349
 
1312
1350
  ApplySubscription = <<~GRAPHQL
1313
1351
  mutation ($input: ApplySubscriptionInput!) {
1314
1352
  applySubscription(input: $input) {
1315
- subscription {
1316
- ...SubscriptionFragment
1317
- }
1353
+ ...ApplySubscriptionFragment
1318
1354
  }
1319
1355
  }
1356
+ #{Fragment::ApplySubscriptionFragment}
1320
1357
  #{Fragment::SubscriptionFragment}
1321
1358
  #{Fragment::SubscriptionInvoiceFragment}
1322
1359
  #{Fragment::CustomerResourceFragment}
@@ -1329,6 +1366,9 @@ module Stigg
1329
1366
  #{Fragment::AddonFragment}
1330
1367
  #{Fragment::SubscriptionScheduledUpdateData}
1331
1368
  #{Fragment::SubscriptionFutureUpdateData}
1369
+ #{Fragment::EntitlementFragment}
1370
+ #{Fragment::ResetPeriodConfigurationFragment}
1371
+ #{Fragment::FeatureFragment}
1332
1372
  GRAPHQL
1333
1373
 
1334
1374
  ImportSubscriptionsBulk = <<~GRAPHQL
@@ -3057,6 +3057,26 @@
3057
3057
  "name": "ApplySubscription",
3058
3058
  "description": null,
3059
3059
  "fields": [
3060
+ {
3061
+ "name": "entitlements",
3062
+ "description": null,
3063
+ "args": [],
3064
+ "type": {
3065
+ "kind": "LIST",
3066
+ "name": null,
3067
+ "ofType": {
3068
+ "kind": "NON_NULL",
3069
+ "name": null,
3070
+ "ofType": {
3071
+ "kind": "OBJECT",
3072
+ "name": "Entitlement",
3073
+ "ofType": null
3074
+ }
3075
+ }
3076
+ },
3077
+ "isDeprecated": false,
3078
+ "deprecationReason": null
3079
+ },
3060
3080
  {
3061
3081
  "name": "subscription",
3062
3082
  "description": null,
@@ -19539,6 +19559,18 @@
19539
19559
  "defaultValue": null,
19540
19560
  "isDeprecated": false,
19541
19561
  "deprecationReason": null
19562
+ },
19563
+ {
19564
+ "name": "yearlyResetPeriodConfiguration",
19565
+ "description": null,
19566
+ "type": {
19567
+ "kind": "INPUT_OBJECT",
19568
+ "name": "YearlyResetPeriodConfigInput",
19569
+ "ofType": null
19570
+ },
19571
+ "defaultValue": null,
19572
+ "isDeprecated": false,
19573
+ "deprecationReason": null
19542
19574
  }
19543
19575
  ],
19544
19576
  "interfaces": null,
@@ -19762,6 +19794,12 @@
19762
19794
  "description": null,
19763
19795
  "isDeprecated": false,
19764
19796
  "deprecationReason": null
19797
+ },
19798
+ {
19799
+ "name": "YEAR",
19800
+ "description": null,
19801
+ "isDeprecated": false,
19802
+ "deprecationReason": null
19765
19803
  }
19766
19804
  ],
19767
19805
  "possibleTypes": null
@@ -27111,6 +27149,18 @@
27111
27149
  "defaultValue": null,
27112
27150
  "isDeprecated": false,
27113
27151
  "deprecationReason": null
27152
+ },
27153
+ {
27154
+ "name": "yearlyResetPeriodConfiguration",
27155
+ "description": null,
27156
+ "type": {
27157
+ "kind": "INPUT_OBJECT",
27158
+ "name": "YearlyResetPeriodConfigInput",
27159
+ "ofType": null
27160
+ },
27161
+ "defaultValue": null,
27162
+ "isDeprecated": false,
27163
+ "deprecationReason": null
27114
27164
  }
27115
27165
  ],
27116
27166
  "interfaces": null,
@@ -33079,7 +33129,7 @@
33079
33129
  {
33080
33130
  "kind": "ENUM",
33081
33131
  "name": "MonthlyAccordingTo",
33082
- "description": "Montly reset period according to configuration",
33132
+ "description": "Monthly reset period according to configuration",
33083
33133
  "fields": null,
33084
33134
  "inputFields": null,
33085
33135
  "interfaces": null,
@@ -39523,6 +39573,18 @@
39523
39573
  "defaultValue": null,
39524
39574
  "isDeprecated": false,
39525
39575
  "deprecationReason": null
39576
+ },
39577
+ {
39578
+ "name": "yearlyResetPeriodConfiguration",
39579
+ "description": null,
39580
+ "type": {
39581
+ "kind": "INPUT_OBJECT",
39582
+ "name": "YearlyResetPeriodConfigInput",
39583
+ "ofType": null
39584
+ },
39585
+ "defaultValue": null,
39586
+ "isDeprecated": false,
39587
+ "deprecationReason": null
39526
39588
  }
39527
39589
  ],
39528
39590
  "interfaces": null,
@@ -39900,6 +39962,18 @@
39900
39962
  "defaultValue": null,
39901
39963
  "isDeprecated": false,
39902
39964
  "deprecationReason": null
39965
+ },
39966
+ {
39967
+ "name": "yearlyResetPeriodConfiguration",
39968
+ "description": null,
39969
+ "type": {
39970
+ "kind": "INPUT_OBJECT",
39971
+ "name": "YearlyResetPeriodConfigInput",
39972
+ "ofType": null
39973
+ },
39974
+ "defaultValue": null,
39975
+ "isDeprecated": false,
39976
+ "deprecationReason": null
39903
39977
  }
39904
39978
  ],
39905
39979
  "interfaces": null,
@@ -49810,6 +49884,18 @@
49810
49884
  "defaultValue": null,
49811
49885
  "isDeprecated": false,
49812
49886
  "deprecationReason": null
49887
+ },
49888
+ {
49889
+ "name": "yearlyResetPeriodConfiguration",
49890
+ "description": null,
49891
+ "type": {
49892
+ "kind": "INPUT_OBJECT",
49893
+ "name": "YearlyResetPeriodConfigInput",
49894
+ "ofType": null
49895
+ },
49896
+ "defaultValue": null,
49897
+ "isDeprecated": false,
49898
+ "deprecationReason": null
49813
49899
  }
49814
49900
  ],
49815
49901
  "interfaces": null,
@@ -51583,6 +51669,26 @@
51583
51669
  "isDeprecated": false,
51584
51670
  "deprecationReason": null
51585
51671
  },
51672
+ {
51673
+ "name": "entitlements",
51674
+ "description": null,
51675
+ "args": [],
51676
+ "type": {
51677
+ "kind": "LIST",
51678
+ "name": null,
51679
+ "ofType": {
51680
+ "kind": "NON_NULL",
51681
+ "name": null,
51682
+ "ofType": {
51683
+ "kind": "OBJECT",
51684
+ "name": "Entitlement",
51685
+ "ofType": null
51686
+ }
51687
+ }
51688
+ },
51689
+ "isDeprecated": false,
51690
+ "deprecationReason": null
51691
+ },
51586
51692
  {
51587
51693
  "name": "id",
51588
51694
  "description": null,
@@ -51689,6 +51795,26 @@
51689
51795
  "isDeprecated": false,
51690
51796
  "deprecationReason": null
51691
51797
  },
51798
+ {
51799
+ "name": "entitlements",
51800
+ "description": null,
51801
+ "args": [],
51802
+ "type": {
51803
+ "kind": "LIST",
51804
+ "name": null,
51805
+ "ofType": {
51806
+ "kind": "NON_NULL",
51807
+ "name": null,
51808
+ "ofType": {
51809
+ "kind": "OBJECT",
51810
+ "name": "Entitlement",
51811
+ "ofType": null
51812
+ }
51813
+ }
51814
+ },
51815
+ "isDeprecated": false,
51816
+ "deprecationReason": null
51817
+ },
51692
51818
  {
51693
51819
  "name": "subscription",
51694
51820
  "description": null,
@@ -54522,6 +54648,11 @@
54522
54648
  "kind": "OBJECT",
54523
54649
  "name": "WeeklyResetPeriodConfig",
54524
54650
  "ofType": null
54651
+ },
54652
+ {
54653
+ "kind": "OBJECT",
54654
+ "name": "YearlyResetPeriodConfig",
54655
+ "ofType": null
54525
54656
  }
54526
54657
  ]
54527
54658
  },
@@ -59499,6 +59630,18 @@
59499
59630
  "defaultValue": null,
59500
59631
  "isDeprecated": false,
59501
59632
  "deprecationReason": null
59633
+ },
59634
+ {
59635
+ "name": "yearlyResetPeriodConfiguration",
59636
+ "description": null,
59637
+ "type": {
59638
+ "kind": "INPUT_OBJECT",
59639
+ "name": "YearlyResetPeriodConfigInput",
59640
+ "ofType": null
59641
+ },
59642
+ "defaultValue": null,
59643
+ "isDeprecated": false,
59644
+ "deprecationReason": null
59502
59645
  }
59503
59646
  ],
59504
59647
  "interfaces": null,
@@ -67273,6 +67416,18 @@
67273
67416
  "defaultValue": null,
67274
67417
  "isDeprecated": false,
67275
67418
  "deprecationReason": null
67419
+ },
67420
+ {
67421
+ "name": "yearlyResetPeriodConfiguration",
67422
+ "description": null,
67423
+ "type": {
67424
+ "kind": "INPUT_OBJECT",
67425
+ "name": "YearlyResetPeriodConfigInput",
67426
+ "ofType": null
67427
+ },
67428
+ "defaultValue": null,
67429
+ "isDeprecated": false,
67430
+ "deprecationReason": null
67276
67431
  }
67277
67432
  ],
67278
67433
  "interfaces": null,
@@ -68020,6 +68175,18 @@
68020
68175
  "defaultValue": null,
68021
68176
  "isDeprecated": false,
68022
68177
  "deprecationReason": null
68178
+ },
68179
+ {
68180
+ "name": "yearlyResetPeriodConfiguration",
68181
+ "description": null,
68182
+ "type": {
68183
+ "kind": "INPUT_OBJECT",
68184
+ "name": "YearlyResetPeriodConfigInput",
68185
+ "ofType": null
68186
+ },
68187
+ "defaultValue": null,
68188
+ "isDeprecated": false,
68189
+ "deprecationReason": null
68023
68190
  }
68024
68191
  ],
68025
68192
  "interfaces": null,
@@ -70185,6 +70352,73 @@
70185
70352
  ],
70186
70353
  "possibleTypes": null
70187
70354
  },
70355
+ {
70356
+ "kind": "ENUM",
70357
+ "name": "YearlyAccordingTo",
70358
+ "description": "Yearly reset period according to configuration",
70359
+ "fields": null,
70360
+ "inputFields": null,
70361
+ "interfaces": null,
70362
+ "enumValues": [
70363
+ {
70364
+ "name": "SubscriptionStart",
70365
+ "description": null,
70366
+ "isDeprecated": false,
70367
+ "deprecationReason": null
70368
+ }
70369
+ ],
70370
+ "possibleTypes": null
70371
+ },
70372
+ {
70373
+ "kind": "OBJECT",
70374
+ "name": "YearlyResetPeriodConfig",
70375
+ "description": null,
70376
+ "fields": [
70377
+ {
70378
+ "name": "yearlyAccordingTo",
70379
+ "description": null,
70380
+ "args": [],
70381
+ "type": {
70382
+ "kind": "ENUM",
70383
+ "name": "YearlyAccordingTo",
70384
+ "ofType": null
70385
+ },
70386
+ "isDeprecated": false,
70387
+ "deprecationReason": null
70388
+ }
70389
+ ],
70390
+ "inputFields": null,
70391
+ "interfaces": [],
70392
+ "enumValues": null,
70393
+ "possibleTypes": null
70394
+ },
70395
+ {
70396
+ "kind": "INPUT_OBJECT",
70397
+ "name": "YearlyResetPeriodConfigInput",
70398
+ "description": null,
70399
+ "fields": null,
70400
+ "inputFields": [
70401
+ {
70402
+ "name": "accordingTo",
70403
+ "description": null,
70404
+ "type": {
70405
+ "kind": "NON_NULL",
70406
+ "name": null,
70407
+ "ofType": {
70408
+ "kind": "ENUM",
70409
+ "name": "YearlyAccordingTo",
70410
+ "ofType": null
70411
+ }
70412
+ },
70413
+ "defaultValue": null,
70414
+ "isDeprecated": false,
70415
+ "deprecationReason": null
70416
+ }
70417
+ ],
70418
+ "interfaces": null,
70419
+ "enumValues": null,
70420
+ "possibleTypes": null
70421
+ },
70188
70422
  {
70189
70423
  "kind": "OBJECT",
70190
70424
  "name": "ZuoraCredentials",
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.715.4"
4
+ VERSION = "0.719.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.715.4
4
+ version: 0.719.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-12-25 00:00:00.000000000 Z
11
+ date: 2023-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient