stigg-api-client 0.541.0 → 0.544.1

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: 870471dbd888f7cf70d24b94dfb050cb78bdebe654857618d144f31626194bce
4
- data.tar.gz: 8550f1dd797e388a3760627e28caf17f56d9d653d621f07ab1a77c68699f7655
3
+ metadata.gz: 9586037edda6daa307fe4d6b8197b6f9f601e83eedb5ec41243051ad9defca3c
4
+ data.tar.gz: ff729720235ad19c4c2e027af3c1bd3693bbc875eea3ecfeae1a0365b2fee52c
5
5
  SHA512:
6
- metadata.gz: 53f73b2d02e88a5dfef0f1b8b1a37d6273bfe0446e98f2183e2848789b14e7fcb6e549ffb3451d2a5ca062073eeb57b69d380ff89075ea296e7fc93747d68b13
7
- data.tar.gz: e9f27dcd776090d14a8212d4e235097c1838c8f6b1d17e33d32253c7475a32c82a4dcab7ca6f2b0f488d0468b42b31eb803456d3b25dc719bdb511af01455ba6
6
+ metadata.gz: 1ba47d60d7497e2bbf0e39de21aec90618bd9ae5f20ce33ee1da59a8d180cdb4dbf1038240ddd44fa5fa5a594a607aa2f71e64d36660822ffefc5c45ff33da8c
7
+ data.tar.gz: 5ecae863756b2b9b98d37afee2a697f3674f37874839ddaf2cbe154ff3ee949b6508d9db331a986b604bd2db8941be77d8a8c87b13cfd7cd7159757581a03a77
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (0.541.0)
4
+ stigg-api-client (0.544.1)
5
5
  graphlient (~> 0.7.0)
6
6
 
7
7
  GEM
@@ -27,6 +27,16 @@ module Stigg
27
27
  }
28
28
  GRAPHQL
29
29
 
30
+ PriceTierFragment = <<~GRAPHQL
31
+ fragment PriceTierFragment on PriceTier {
32
+ upTo
33
+ unitPrice {
34
+ amount
35
+ currency
36
+ }
37
+ }
38
+ GRAPHQL
39
+
30
40
  PriceFragment = <<~GRAPHQL
31
41
  fragment PriceFragment on Price {
32
42
  billingModel
@@ -41,11 +51,7 @@ module Stigg
41
51
  }
42
52
  tiersMode
43
53
  tiers {
44
- upTo
45
- unitPrice {
46
- amount
47
- currency
48
- }
54
+ ...PriceTierFragment
49
55
  }
50
56
  feature {
51
57
  refId
@@ -273,6 +279,7 @@ module Stigg
273
279
  updatedAt
274
280
  requiresAction
275
281
  paymentUrl
282
+ paymentSecret
276
283
  errorMessage
277
284
  }
278
285
  GRAPHQL
@@ -735,6 +742,31 @@ module Stigg
735
742
  }
736
743
  GRAPHQL
737
744
 
745
+ CheckoutDataFragment = <<~GRAPHQL
746
+ fragment CheckoutDataFragment on CheckoutData {
747
+ setupSecret
748
+ customer {
749
+ ...CustomerFragment
750
+ }
751
+ activeSubscription {
752
+ ...SubscriptionFragment
753
+ }
754
+ resource {
755
+ ...CustomerResourceFragment
756
+ }
757
+ plan {
758
+ ...PlanFragment
759
+ }
760
+ billingIntegration {
761
+ billingIdentifier
762
+ credentials {
763
+ accountId
764
+ publicKey
765
+ }
766
+ }
767
+ }
768
+ GRAPHQL
769
+
738
770
  CustomerPortalConfigurationFragment = <<~GRAPHQL
739
771
  fragment CustomerPortalConfigurationFragment on CustomerPortalConfiguration {
740
772
  palette {
@@ -976,11 +1008,7 @@ module Stigg
976
1008
  }
977
1009
  tiersMode
978
1010
  tiers {
979
- upTo
980
- unitPrice {
981
- amount
982
- currency
983
- }
1011
+ ...PriceTierFragment
984
1012
  }
985
1013
  feature {
986
1014
  refId
@@ -1083,6 +1111,7 @@ module Stigg
1083
1111
  #{Fragment::SubscriptionInvoiceFragment}
1084
1112
  #{Fragment::CustomerResourceFragment}
1085
1113
  #{Fragment::PriceFragment}
1114
+ #{Fragment::PriceTierFragment}
1086
1115
  #{Fragment::TotalPriceFragment}
1087
1116
  GRAPHQL
1088
1117
 
@@ -1124,7 +1153,30 @@ module Stigg
1124
1153
  #{Fragment::SubscriptionInvoiceFragment}
1125
1154
  #{Fragment::CustomerResourceFragment}
1126
1155
  #{Fragment::PriceFragment}
1156
+ #{Fragment::PriceTierFragment}
1157
+ #{Fragment::TotalPriceFragment}
1158
+ GRAPHQL
1159
+
1160
+ Checkout = <<~GRAPHQL
1161
+ mutation ($input: CheckoutInput!) {
1162
+ checkout(input: $input) {
1163
+ subscription {
1164
+ ...SubscriptionFragment
1165
+ }
1166
+ }
1167
+ }
1168
+ #{Fragment::SubscriptionFragment}
1169
+ #{Fragment::SubscriptionInvoiceFragment}
1170
+ #{Fragment::CustomerResourceFragment}
1171
+ #{Fragment::PriceFragment}
1172
+ #{Fragment::PriceTierFragment}
1127
1173
  #{Fragment::TotalPriceFragment}
1174
+ #{Fragment::PlanFragment}
1175
+ #{Fragment::ProductFragment}
1176
+ #{Fragment::PackageEntitlementFragment}
1177
+ #{Fragment::AddonFragment}
1178
+ #{Fragment::SubscriptionScheduledUpdateData}
1179
+ #{Fragment::SubscriptionFutureUpdateData}
1128
1180
  GRAPHQL
1129
1181
 
1130
1182
  ImportSubscriptionsBulk = <<~GRAPHQL
@@ -1143,6 +1195,7 @@ module Stigg
1143
1195
  #{Fragment::SubscriptionInvoiceFragment}
1144
1196
  #{Fragment::CustomerResourceFragment}
1145
1197
  #{Fragment::PriceFragment}
1198
+ #{Fragment::PriceTierFragment}
1146
1199
  #{Fragment::TotalPriceFragment}
1147
1200
  GRAPHQL
1148
1201
 
@@ -1156,6 +1209,7 @@ module Stigg
1156
1209
  #{Fragment::SubscriptionInvoiceFragment}
1157
1210
  #{Fragment::CustomerResourceFragment}
1158
1211
  #{Fragment::PriceFragment}
1212
+ #{Fragment::PriceTierFragment}
1159
1213
  #{Fragment::TotalPriceFragment}
1160
1214
  GRAPHQL
1161
1215
 
@@ -1222,6 +1276,7 @@ module Stigg
1222
1276
  #{Fragment::SubscriptionInvoiceFragment}
1223
1277
  #{Fragment::CustomerResourceFragment}
1224
1278
  #{Fragment::PriceFragment}
1279
+ #{Fragment::PriceTierFragment}
1225
1280
  #{Fragment::TotalPriceFragment}
1226
1281
  GRAPHQL
1227
1282
 
@@ -1251,6 +1306,7 @@ module Stigg
1251
1306
  #{Fragment::SubscriptionInvoiceFragment}
1252
1307
  #{Fragment::CustomerResourceFragment}
1253
1308
  #{Fragment::PriceFragment}
1309
+ #{Fragment::PriceTierFragment}
1254
1310
  #{Fragment::TotalPriceFragment}
1255
1311
  GRAPHQL
1256
1312
  end
@@ -1271,6 +1327,7 @@ module Stigg
1271
1327
  #{Fragment::SubscriptionInvoiceFragment}
1272
1328
  #{Fragment::CustomerResourceFragment}
1273
1329
  #{Fragment::PriceFragment}
1330
+ #{Fragment::PriceTierFragment}
1274
1331
  #{Fragment::TotalPriceFragment}
1275
1332
  #{Fragment::PlanFragment}
1276
1333
  #{Fragment::ProductFragment}
@@ -1290,6 +1347,7 @@ module Stigg
1290
1347
  #{Fragment::SubscriptionInvoiceFragment}
1291
1348
  #{Fragment::CustomerResourceFragment}
1292
1349
  #{Fragment::PriceFragment}
1350
+ #{Fragment::PriceTierFragment}
1293
1351
  #{Fragment::TotalPriceFragment}
1294
1352
  #{Fragment::PlanFragment}
1295
1353
  #{Fragment::ProductFragment}
@@ -1324,6 +1382,7 @@ module Stigg
1324
1382
  #{Fragment::PackageEntitlementFragment}
1325
1383
  #{Fragment::AddonFragment}
1326
1384
  #{Fragment::PriceFragment}
1385
+ #{Fragment::PriceTierFragment}
1327
1386
  #{Fragment::PaywallCurrency}
1328
1387
  #{Fragment::PaywallConfigurationFragment}
1329
1388
  #{Fragment::TypographyConfigurationFragment}
@@ -1408,6 +1467,31 @@ module Stigg
1408
1467
  #{Fragment::CustomerResourceFragment}
1409
1468
  GRAPHQL
1410
1469
 
1470
+ CheckoutData = <<~GRAPHQL
1471
+ query ($input: CheckoutDataInput!) {
1472
+ checkoutData(input: $input) {
1473
+ ...CheckoutDataFragment
1474
+ }
1475
+ }
1476
+ #{Fragment::CheckoutDataFragment}
1477
+ #{Fragment::CustomerFragment}
1478
+ #{Fragment::SlimCustomerFragment}
1479
+ #{Fragment::CouponFragment}
1480
+ #{Fragment::PromotionalEntitlementFragment}
1481
+ #{Fragment::SubscriptionFragment}
1482
+ #{Fragment::SubscriptionInvoiceFragment}
1483
+ #{Fragment::CustomerResourceFragment}
1484
+ #{Fragment::PriceFragment}
1485
+ #{Fragment::PriceTierFragment}
1486
+ #{Fragment::TotalPriceFragment}
1487
+ #{Fragment::PlanFragment}
1488
+ #{Fragment::ProductFragment}
1489
+ #{Fragment::PackageEntitlementFragment}
1490
+ #{Fragment::AddonFragment}
1491
+ #{Fragment::SubscriptionScheduledUpdateData}
1492
+ #{Fragment::SubscriptionFutureUpdateData}
1493
+ GRAPHQL
1494
+
1411
1495
  GetMockPaywall = <<~GRAPHQL
1412
1496
  query ($input: GetPaywallInput!) {
1413
1497
  mockPaywall(input: $input) {
@@ -1422,6 +1506,7 @@ module Stigg
1422
1506
  #{Fragment::MockPaywallPlanFragment}
1423
1507
  #{Fragment::MockPaywallPackageEntitlementFragment}
1424
1508
  #{Fragment::MockPaywallPriceFragment}
1509
+ #{Fragment::PriceTierFragment}
1425
1510
  #{Fragment::MockPaywallAddonFragment}
1426
1511
  #{Fragment::PaywallConfigurationFragment}
1427
1512
  #{Fragment::TypographyConfigurationFragment}
@@ -3895,6 +3895,23 @@
3895
3895
  "enumValues": null,
3896
3896
  "possibleTypes": null
3897
3897
  },
3898
+ {
3899
+ "kind": "ENUM",
3900
+ "name": "BillingVendorIdentifier",
3901
+ "description": "Billing vendor identifiers",
3902
+ "fields": null,
3903
+ "inputFields": null,
3904
+ "interfaces": null,
3905
+ "enumValues": [
3906
+ {
3907
+ "name": "STRIPE",
3908
+ "description": null,
3909
+ "isDeprecated": false,
3910
+ "deprecationReason": null
3911
+ }
3912
+ ],
3913
+ "possibleTypes": null
3914
+ },
3898
3915
  {
3899
3916
  "kind": "SCALAR",
3900
3917
  "name": "Boolean",
@@ -4093,6 +4110,496 @@
4093
4110
  ],
4094
4111
  "possibleTypes": null
4095
4112
  },
4113
+ {
4114
+ "kind": "OBJECT",
4115
+ "name": "Checkout",
4116
+ "description": null,
4117
+ "fields": [
4118
+ {
4119
+ "name": "subscription",
4120
+ "description": null,
4121
+ "args": [],
4122
+ "type": {
4123
+ "kind": "OBJECT",
4124
+ "name": "CustomerSubscription",
4125
+ "ofType": null
4126
+ },
4127
+ "isDeprecated": false,
4128
+ "deprecationReason": null
4129
+ }
4130
+ ],
4131
+ "inputFields": null,
4132
+ "interfaces": [],
4133
+ "enumValues": null,
4134
+ "possibleTypes": null
4135
+ },
4136
+ {
4137
+ "kind": "OBJECT",
4138
+ "name": "CheckoutBillingIntegration",
4139
+ "description": null,
4140
+ "fields": [
4141
+ {
4142
+ "name": "billingIdentifier",
4143
+ "description": null,
4144
+ "args": [],
4145
+ "type": {
4146
+ "kind": "NON_NULL",
4147
+ "name": null,
4148
+ "ofType": {
4149
+ "kind": "ENUM",
4150
+ "name": "BillingVendorIdentifier",
4151
+ "ofType": null
4152
+ }
4153
+ },
4154
+ "isDeprecated": false,
4155
+ "deprecationReason": null
4156
+ },
4157
+ {
4158
+ "name": "credentials",
4159
+ "description": null,
4160
+ "args": [],
4161
+ "type": {
4162
+ "kind": "NON_NULL",
4163
+ "name": null,
4164
+ "ofType": {
4165
+ "kind": "OBJECT",
4166
+ "name": "CheckoutCredentials",
4167
+ "ofType": null
4168
+ }
4169
+ },
4170
+ "isDeprecated": false,
4171
+ "deprecationReason": null
4172
+ }
4173
+ ],
4174
+ "inputFields": null,
4175
+ "interfaces": [],
4176
+ "enumValues": null,
4177
+ "possibleTypes": null
4178
+ },
4179
+ {
4180
+ "kind": "OBJECT",
4181
+ "name": "CheckoutCredentials",
4182
+ "description": null,
4183
+ "fields": [
4184
+ {
4185
+ "name": "accountId",
4186
+ "description": null,
4187
+ "args": [],
4188
+ "type": {
4189
+ "kind": "NON_NULL",
4190
+ "name": null,
4191
+ "ofType": {
4192
+ "kind": "SCALAR",
4193
+ "name": "String",
4194
+ "ofType": null
4195
+ }
4196
+ },
4197
+ "isDeprecated": false,
4198
+ "deprecationReason": null
4199
+ },
4200
+ {
4201
+ "name": "publicKey",
4202
+ "description": null,
4203
+ "args": [],
4204
+ "type": {
4205
+ "kind": "NON_NULL",
4206
+ "name": null,
4207
+ "ofType": {
4208
+ "kind": "SCALAR",
4209
+ "name": "String",
4210
+ "ofType": null
4211
+ }
4212
+ },
4213
+ "isDeprecated": false,
4214
+ "deprecationReason": null
4215
+ }
4216
+ ],
4217
+ "inputFields": null,
4218
+ "interfaces": [],
4219
+ "enumValues": null,
4220
+ "possibleTypes": null
4221
+ },
4222
+ {
4223
+ "kind": "OBJECT",
4224
+ "name": "CheckoutData",
4225
+ "description": null,
4226
+ "fields": [
4227
+ {
4228
+ "name": "activeSubscription",
4229
+ "description": null,
4230
+ "args": [],
4231
+ "type": {
4232
+ "kind": "OBJECT",
4233
+ "name": "CustomerSubscription",
4234
+ "ofType": null
4235
+ },
4236
+ "isDeprecated": false,
4237
+ "deprecationReason": null
4238
+ },
4239
+ {
4240
+ "name": "billingIntegration",
4241
+ "description": null,
4242
+ "args": [],
4243
+ "type": {
4244
+ "kind": "NON_NULL",
4245
+ "name": null,
4246
+ "ofType": {
4247
+ "kind": "OBJECT",
4248
+ "name": "CheckoutBillingIntegration",
4249
+ "ofType": null
4250
+ }
4251
+ },
4252
+ "isDeprecated": false,
4253
+ "deprecationReason": null
4254
+ },
4255
+ {
4256
+ "name": "customer",
4257
+ "description": null,
4258
+ "args": [],
4259
+ "type": {
4260
+ "kind": "NON_NULL",
4261
+ "name": null,
4262
+ "ofType": {
4263
+ "kind": "OBJECT",
4264
+ "name": "Customer",
4265
+ "ofType": null
4266
+ }
4267
+ },
4268
+ "isDeprecated": false,
4269
+ "deprecationReason": null
4270
+ },
4271
+ {
4272
+ "name": "plan",
4273
+ "description": null,
4274
+ "args": [],
4275
+ "type": {
4276
+ "kind": "NON_NULL",
4277
+ "name": null,
4278
+ "ofType": {
4279
+ "kind": "OBJECT",
4280
+ "name": "Plan",
4281
+ "ofType": null
4282
+ }
4283
+ },
4284
+ "isDeprecated": false,
4285
+ "deprecationReason": null
4286
+ },
4287
+ {
4288
+ "name": "resource",
4289
+ "description": null,
4290
+ "args": [],
4291
+ "type": {
4292
+ "kind": "OBJECT",
4293
+ "name": "CustomerResource",
4294
+ "ofType": null
4295
+ },
4296
+ "isDeprecated": false,
4297
+ "deprecationReason": null
4298
+ },
4299
+ {
4300
+ "name": "setupSecret",
4301
+ "description": null,
4302
+ "args": [],
4303
+ "type": {
4304
+ "kind": "NON_NULL",
4305
+ "name": null,
4306
+ "ofType": {
4307
+ "kind": "SCALAR",
4308
+ "name": "String",
4309
+ "ofType": null
4310
+ }
4311
+ },
4312
+ "isDeprecated": false,
4313
+ "deprecationReason": null
4314
+ }
4315
+ ],
4316
+ "inputFields": null,
4317
+ "interfaces": [],
4318
+ "enumValues": null,
4319
+ "possibleTypes": null
4320
+ },
4321
+ {
4322
+ "kind": "INPUT_OBJECT",
4323
+ "name": "CheckoutDataInput",
4324
+ "description": null,
4325
+ "fields": null,
4326
+ "inputFields": [
4327
+ {
4328
+ "name": "billingCountryCode",
4329
+ "description": null,
4330
+ "type": {
4331
+ "kind": "SCALAR",
4332
+ "name": "String",
4333
+ "ofType": null
4334
+ },
4335
+ "defaultValue": null,
4336
+ "isDeprecated": false,
4337
+ "deprecationReason": null
4338
+ },
4339
+ {
4340
+ "name": "customerId",
4341
+ "description": null,
4342
+ "type": {
4343
+ "kind": "NON_NULL",
4344
+ "name": null,
4345
+ "ofType": {
4346
+ "kind": "SCALAR",
4347
+ "name": "String",
4348
+ "ofType": null
4349
+ }
4350
+ },
4351
+ "defaultValue": null,
4352
+ "isDeprecated": false,
4353
+ "deprecationReason": null
4354
+ },
4355
+ {
4356
+ "name": "planId",
4357
+ "description": null,
4358
+ "type": {
4359
+ "kind": "NON_NULL",
4360
+ "name": null,
4361
+ "ofType": {
4362
+ "kind": "SCALAR",
4363
+ "name": "String",
4364
+ "ofType": null
4365
+ }
4366
+ },
4367
+ "defaultValue": null,
4368
+ "isDeprecated": false,
4369
+ "deprecationReason": null
4370
+ },
4371
+ {
4372
+ "name": "resourceId",
4373
+ "description": null,
4374
+ "type": {
4375
+ "kind": "SCALAR",
4376
+ "name": "String",
4377
+ "ofType": null
4378
+ },
4379
+ "defaultValue": null,
4380
+ "isDeprecated": false,
4381
+ "deprecationReason": null
4382
+ }
4383
+ ],
4384
+ "interfaces": null,
4385
+ "enumValues": null,
4386
+ "possibleTypes": null
4387
+ },
4388
+ {
4389
+ "kind": "INPUT_OBJECT",
4390
+ "name": "CheckoutInput",
4391
+ "description": null,
4392
+ "fields": null,
4393
+ "inputFields": [
4394
+ {
4395
+ "name": "additionalMetaData",
4396
+ "description": null,
4397
+ "type": {
4398
+ "kind": "SCALAR",
4399
+ "name": "JSON",
4400
+ "ofType": null
4401
+ },
4402
+ "defaultValue": null,
4403
+ "isDeprecated": false,
4404
+ "deprecationReason": null
4405
+ },
4406
+ {
4407
+ "name": "addons",
4408
+ "description": null,
4409
+ "type": {
4410
+ "kind": "LIST",
4411
+ "name": null,
4412
+ "ofType": {
4413
+ "kind": "NON_NULL",
4414
+ "name": null,
4415
+ "ofType": {
4416
+ "kind": "INPUT_OBJECT",
4417
+ "name": "SubscriptionAddonInput",
4418
+ "ofType": null
4419
+ }
4420
+ }
4421
+ },
4422
+ "defaultValue": null,
4423
+ "isDeprecated": false,
4424
+ "deprecationReason": null
4425
+ },
4426
+ {
4427
+ "name": "billableFeatures",
4428
+ "description": null,
4429
+ "type": {
4430
+ "kind": "LIST",
4431
+ "name": null,
4432
+ "ofType": {
4433
+ "kind": "NON_NULL",
4434
+ "name": null,
4435
+ "ofType": {
4436
+ "kind": "INPUT_OBJECT",
4437
+ "name": "BillableFeatureInput",
4438
+ "ofType": null
4439
+ }
4440
+ }
4441
+ },
4442
+ "defaultValue": null,
4443
+ "isDeprecated": false,
4444
+ "deprecationReason": null
4445
+ },
4446
+ {
4447
+ "name": "billingCountryCode",
4448
+ "description": null,
4449
+ "type": {
4450
+ "kind": "SCALAR",
4451
+ "name": "String",
4452
+ "ofType": null
4453
+ },
4454
+ "defaultValue": null,
4455
+ "isDeprecated": false,
4456
+ "deprecationReason": null
4457
+ },
4458
+ {
4459
+ "name": "billingId",
4460
+ "description": null,
4461
+ "type": {
4462
+ "kind": "SCALAR",
4463
+ "name": "String",
4464
+ "ofType": null
4465
+ },
4466
+ "defaultValue": null,
4467
+ "isDeprecated": false,
4468
+ "deprecationReason": null
4469
+ },
4470
+ {
4471
+ "name": "billingInformation",
4472
+ "description": null,
4473
+ "type": {
4474
+ "kind": "INPUT_OBJECT",
4475
+ "name": "SubscriptionBillingInfo",
4476
+ "ofType": null
4477
+ },
4478
+ "defaultValue": null,
4479
+ "isDeprecated": false,
4480
+ "deprecationReason": null
4481
+ },
4482
+ {
4483
+ "name": "billingPeriod",
4484
+ "description": null,
4485
+ "type": {
4486
+ "kind": "ENUM",
4487
+ "name": "BillingPeriod",
4488
+ "ofType": null
4489
+ },
4490
+ "defaultValue": null,
4491
+ "isDeprecated": false,
4492
+ "deprecationReason": null
4493
+ },
4494
+ {
4495
+ "name": "customerId",
4496
+ "description": null,
4497
+ "type": {
4498
+ "kind": "NON_NULL",
4499
+ "name": null,
4500
+ "ofType": {
4501
+ "kind": "SCALAR",
4502
+ "name": "String",
4503
+ "ofType": null
4504
+ }
4505
+ },
4506
+ "defaultValue": null,
4507
+ "isDeprecated": false,
4508
+ "deprecationReason": null
4509
+ },
4510
+ {
4511
+ "name": "paymentMethodId",
4512
+ "description": null,
4513
+ "type": {
4514
+ "kind": "SCALAR",
4515
+ "name": "String",
4516
+ "ofType": null
4517
+ },
4518
+ "defaultValue": null,
4519
+ "isDeprecated": false,
4520
+ "deprecationReason": null
4521
+ },
4522
+ {
4523
+ "name": "planId",
4524
+ "description": null,
4525
+ "type": {
4526
+ "kind": "NON_NULL",
4527
+ "name": null,
4528
+ "ofType": {
4529
+ "kind": "SCALAR",
4530
+ "name": "String",
4531
+ "ofType": null
4532
+ }
4533
+ },
4534
+ "defaultValue": null,
4535
+ "isDeprecated": false,
4536
+ "deprecationReason": null
4537
+ },
4538
+ {
4539
+ "name": "promotionCode",
4540
+ "description": null,
4541
+ "type": {
4542
+ "kind": "SCALAR",
4543
+ "name": "String",
4544
+ "ofType": null
4545
+ },
4546
+ "defaultValue": null,
4547
+ "isDeprecated": false,
4548
+ "deprecationReason": null
4549
+ },
4550
+ {
4551
+ "name": "resourceId",
4552
+ "description": null,
4553
+ "type": {
4554
+ "kind": "SCALAR",
4555
+ "name": "String",
4556
+ "ofType": null
4557
+ },
4558
+ "defaultValue": null,
4559
+ "isDeprecated": false,
4560
+ "deprecationReason": null
4561
+ },
4562
+ {
4563
+ "name": "skipTrial",
4564
+ "description": null,
4565
+ "type": {
4566
+ "kind": "SCALAR",
4567
+ "name": "Boolean",
4568
+ "ofType": null
4569
+ },
4570
+ "defaultValue": "false",
4571
+ "isDeprecated": false,
4572
+ "deprecationReason": null
4573
+ },
4574
+ {
4575
+ "name": "startDate",
4576
+ "description": null,
4577
+ "type": {
4578
+ "kind": "SCALAR",
4579
+ "name": "DateTime",
4580
+ "ofType": null
4581
+ },
4582
+ "defaultValue": null,
4583
+ "isDeprecated": false,
4584
+ "deprecationReason": null
4585
+ },
4586
+ {
4587
+ "name": "unitQuantity",
4588
+ "description": null,
4589
+ "type": {
4590
+ "kind": "SCALAR",
4591
+ "name": "Float",
4592
+ "ofType": null
4593
+ },
4594
+ "defaultValue": "-1",
4595
+ "isDeprecated": false,
4596
+ "deprecationReason": null
4597
+ }
4598
+ ],
4599
+ "interfaces": null,
4600
+ "enumValues": null,
4601
+ "possibleTypes": null
4602
+ },
4096
4603
  {
4097
4604
  "kind": "INPUT_OBJECT",
4098
4605
  "name": "CheckoutOptions",
@@ -30823,6 +31330,39 @@
30823
31330
  "isDeprecated": false,
30824
31331
  "deprecationReason": null
30825
31332
  },
31333
+ {
31334
+ "name": "checkout",
31335
+ "description": null,
31336
+ "args": [
31337
+ {
31338
+ "name": "input",
31339
+ "description": null,
31340
+ "type": {
31341
+ "kind": "NON_NULL",
31342
+ "name": null,
31343
+ "ofType": {
31344
+ "kind": "INPUT_OBJECT",
31345
+ "name": "CheckoutInput",
31346
+ "ofType": null
31347
+ }
31348
+ },
31349
+ "defaultValue": null,
31350
+ "isDeprecated": false,
31351
+ "deprecationReason": null
31352
+ }
31353
+ ],
31354
+ "type": {
31355
+ "kind": "NON_NULL",
31356
+ "name": null,
31357
+ "ofType": {
31358
+ "kind": "OBJECT",
31359
+ "name": "Checkout",
31360
+ "ofType": null
31361
+ }
31362
+ },
31363
+ "isDeprecated": false,
31364
+ "deprecationReason": null
31365
+ },
30826
31366
  {
30827
31367
  "name": "createAccount",
30828
31368
  "description": null,
@@ -48363,6 +48903,39 @@
48363
48903
  "isDeprecated": false,
48364
48904
  "deprecationReason": null
48365
48905
  },
48906
+ {
48907
+ "name": "checkoutData",
48908
+ "description": null,
48909
+ "args": [
48910
+ {
48911
+ "name": "input",
48912
+ "description": null,
48913
+ "type": {
48914
+ "kind": "NON_NULL",
48915
+ "name": null,
48916
+ "ofType": {
48917
+ "kind": "INPUT_OBJECT",
48918
+ "name": "CheckoutDataInput",
48919
+ "ofType": null
48920
+ }
48921
+ },
48922
+ "defaultValue": null,
48923
+ "isDeprecated": false,
48924
+ "deprecationReason": null
48925
+ }
48926
+ ],
48927
+ "type": {
48928
+ "kind": "NON_NULL",
48929
+ "name": null,
48930
+ "ofType": {
48931
+ "kind": "OBJECT",
48932
+ "name": "CheckoutData",
48933
+ "ofType": null
48934
+ }
48935
+ },
48936
+ "isDeprecated": false,
48937
+ "deprecationReason": null
48938
+ },
48366
48939
  {
48367
48940
  "name": "coupon",
48368
48941
  "description": null,
@@ -56300,6 +56873,18 @@
56300
56873
  "isDeprecated": false,
56301
56874
  "deprecationReason": null
56302
56875
  },
56876
+ {
56877
+ "name": "paymentSecret",
56878
+ "description": null,
56879
+ "args": [],
56880
+ "type": {
56881
+ "kind": "SCALAR",
56882
+ "name": "String",
56883
+ "ofType": null
56884
+ },
56885
+ "isDeprecated": false,
56886
+ "deprecationReason": null
56887
+ },
56303
56888
  {
56304
56889
  "name": "paymentUrl",
56305
56890
  "description": null,
@@ -65335,6 +65920,12 @@
65335
65920
  "inputFields": null,
65336
65921
  "interfaces": null,
65337
65922
  "enumValues": [
65923
+ {
65924
+ "name": "CHECKOUT",
65925
+ "description": null,
65926
+ "isDeprecated": false,
65927
+ "deprecationReason": null
65928
+ },
65338
65929
  {
65339
65930
  "name": "CUSTOMER_PORTAL",
65340
65931
  "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.541.0"
4
+ VERSION = "0.544.1"
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.541.0
4
+ version: 0.544.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-16 00:00:00.000000000 Z
11
+ date: 2023-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient