stigg-api-client 0.715.4 → 0.716.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: '024129b74a3978c790c72230b181b54a6821f082ea2370191d98b791bb9258a1'
4
- data.tar.gz: 1416b86be10ab548aa80f1f5eaaa53cec529387716d530dd8a8cafa9c95f98e0
3
+ metadata.gz: 295bf8c5643c3ddb67ad2e0ac67971c15d80b287c3d8d0527e573c41f8faaaf9
4
+ data.tar.gz: ed9bcbf40972c194c5c5987ce9e2d6ac7e1fe42443cc554b983fb7d8d0a095ec
5
5
  SHA512:
6
- metadata.gz: e7d88fb154279a9adb8a07898a5d74bf3034dae1930ca90cae394e280f38b5c19e6185e1b3d0d5dfdaab51f7013a36b11295ea4ae57a1708c1ede1c7c52b96a7
7
- data.tar.gz: 7f6ba10c8e32a12b63e967b2206ec66a666e975c00b08ba51b7627adb79ab26319d8decbc2944a032a365f0c2c3a455f6a92fc2b329a9d661c8b12424dfaad44
6
+ metadata.gz: 29784414ac99684804ecbb7481bc8c5d54f82a33a547964c63e549dbaa2dd045c716e1f6434d4112e35df4db725aa1de35f483ea6eb81a7a8cbb3939814d4e41
7
+ data.tar.gz: 2d6144e204c87088f2701c7707454a887291adab862dc221bb546f5e682a55b0b3876866f2973f85feb335c312653c220c7e10ae9ff1249f8a6ea2d920ca1c5f
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.716.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,
@@ -51583,6 +51603,26 @@
51583
51603
  "isDeprecated": false,
51584
51604
  "deprecationReason": null
51585
51605
  },
51606
+ {
51607
+ "name": "entitlements",
51608
+ "description": null,
51609
+ "args": [],
51610
+ "type": {
51611
+ "kind": "LIST",
51612
+ "name": null,
51613
+ "ofType": {
51614
+ "kind": "NON_NULL",
51615
+ "name": null,
51616
+ "ofType": {
51617
+ "kind": "OBJECT",
51618
+ "name": "Entitlement",
51619
+ "ofType": null
51620
+ }
51621
+ }
51622
+ },
51623
+ "isDeprecated": false,
51624
+ "deprecationReason": null
51625
+ },
51586
51626
  {
51587
51627
  "name": "id",
51588
51628
  "description": null,
@@ -51689,6 +51729,26 @@
51689
51729
  "isDeprecated": false,
51690
51730
  "deprecationReason": null
51691
51731
  },
51732
+ {
51733
+ "name": "entitlements",
51734
+ "description": null,
51735
+ "args": [],
51736
+ "type": {
51737
+ "kind": "LIST",
51738
+ "name": null,
51739
+ "ofType": {
51740
+ "kind": "NON_NULL",
51741
+ "name": null,
51742
+ "ofType": {
51743
+ "kind": "OBJECT",
51744
+ "name": "Entitlement",
51745
+ "ofType": null
51746
+ }
51747
+ }
51748
+ },
51749
+ "isDeprecated": false,
51750
+ "deprecationReason": null
51751
+ },
51692
51752
  {
51693
51753
  "name": "subscription",
51694
51754
  "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.715.4"
4
+ VERSION = "0.716.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.716.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-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient