stigg-api-client 2.492.0 → 2.497.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: ea02f9dbd4bc8554f3805b05ea19ab13aa1fdf45435e315faee6c0687540719b
4
- data.tar.gz: 0e5655187f09e4bafa58874937740365afd0bf8e2560207b945d8bb528999e7b
3
+ metadata.gz: 5b433cdeb77c72e632108013f7f75a1b28388d860d844ac4a0e7fece51f606ff
4
+ data.tar.gz: 3641a3f3c00755ad77e123c3708a77fc2099d3ed882d8d5bea75ca2af1be1037
5
5
  SHA512:
6
- metadata.gz: 2aa1d9e870d36c44f40f562909054aa1f9d8d50d93d23cbf6d67de626b9102a8b54f004255eade45f69fb89652eee9815e82e2263a1b7791c9b2e6db15bd8980
7
- data.tar.gz: fb38ff1185a8aa056b8f56f50203811c329c67adc1dd707d7368d73eccfe38942ad080d04d505fea0dfc8fe365557ae47ca77c3a4d42eaa3095fc0b847a68312
6
+ metadata.gz: f4701f748977a93af8d6c67a51608478b95a0495616a94b88d651b3fabc8a0857d0bdccb871968f0ff966e5e4dd1cca7ebff788a3d2cdc99ac273034dcec6557
7
+ data.tar.gz: 5d5302f40773bbb47f82c950b30b94a4785ac38b9809de45579439f5bd4d8390c813049422c41ed76ce28041f4219e48965e71ccb0c07ebebf58cc8b9a6bcf1e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (2.492.0)
4
+ stigg-api-client (2.497.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -11199,6 +11199,467 @@
11199
11199
  }
11200
11200
  ]
11201
11201
  },
11202
+ {
11203
+ "kind": "OBJECT",
11204
+ "name": "CreditGrant",
11205
+ "description": "Stigg credit grant object",
11206
+ "fields": [
11207
+ {
11208
+ "name": "additionalMetaData",
11209
+ "description": "Metadata associated with the entity",
11210
+ "args": [],
11211
+ "type": {
11212
+ "kind": "SCALAR",
11213
+ "name": "JSON",
11214
+ "ofType": null
11215
+ },
11216
+ "isDeprecated": false,
11217
+ "deprecationReason": null
11218
+ },
11219
+ {
11220
+ "name": "amount",
11221
+ "description": "The amount of the credit grant",
11222
+ "args": [],
11223
+ "type": {
11224
+ "kind": "NON_NULL",
11225
+ "name": null,
11226
+ "ofType": {
11227
+ "kind": "SCALAR",
11228
+ "name": "Float",
11229
+ "ofType": null
11230
+ }
11231
+ },
11232
+ "isDeprecated": false,
11233
+ "deprecationReason": null
11234
+ },
11235
+ {
11236
+ "name": "comment",
11237
+ "description": "The comment for the credit grant",
11238
+ "args": [],
11239
+ "type": {
11240
+ "kind": "SCALAR",
11241
+ "name": "String",
11242
+ "ofType": null
11243
+ },
11244
+ "isDeprecated": false,
11245
+ "deprecationReason": null
11246
+ },
11247
+ {
11248
+ "name": "cost",
11249
+ "description": "The fiat cost of the credit grant",
11250
+ "args": [],
11251
+ "type": {
11252
+ "kind": "NON_NULL",
11253
+ "name": null,
11254
+ "ofType": {
11255
+ "kind": "OBJECT",
11256
+ "name": "Money",
11257
+ "ofType": null
11258
+ }
11259
+ },
11260
+ "isDeprecated": false,
11261
+ "deprecationReason": null
11262
+ },
11263
+ {
11264
+ "name": "createdAt",
11265
+ "description": "Timestamp of when the record was created",
11266
+ "args": [],
11267
+ "type": {
11268
+ "kind": "NON_NULL",
11269
+ "name": null,
11270
+ "ofType": {
11271
+ "kind": "SCALAR",
11272
+ "name": "DateTime",
11273
+ "ofType": null
11274
+ }
11275
+ },
11276
+ "isDeprecated": false,
11277
+ "deprecationReason": null
11278
+ },
11279
+ {
11280
+ "name": "currencyId",
11281
+ "description": "The custom currency ID of the credit grant",
11282
+ "args": [],
11283
+ "type": {
11284
+ "kind": "NON_NULL",
11285
+ "name": null,
11286
+ "ofType": {
11287
+ "kind": "SCALAR",
11288
+ "name": "String",
11289
+ "ofType": null
11290
+ }
11291
+ },
11292
+ "isDeprecated": false,
11293
+ "deprecationReason": null
11294
+ },
11295
+ {
11296
+ "name": "currentAmount",
11297
+ "description": "The current amount of the credit grant",
11298
+ "args": [],
11299
+ "type": {
11300
+ "kind": "NON_NULL",
11301
+ "name": null,
11302
+ "ofType": {
11303
+ "kind": "SCALAR",
11304
+ "name": "Float",
11305
+ "ofType": null
11306
+ }
11307
+ },
11308
+ "isDeprecated": false,
11309
+ "deprecationReason": null
11310
+ },
11311
+ {
11312
+ "name": "customerId",
11313
+ "description": "The customer ID of the credit grant",
11314
+ "args": [],
11315
+ "type": {
11316
+ "kind": "NON_NULL",
11317
+ "name": null,
11318
+ "ofType": {
11319
+ "kind": "SCALAR",
11320
+ "name": "String",
11321
+ "ofType": null
11322
+ }
11323
+ },
11324
+ "isDeprecated": false,
11325
+ "deprecationReason": null
11326
+ },
11327
+ {
11328
+ "name": "displayName",
11329
+ "description": "The display name of the credit grant",
11330
+ "args": [],
11331
+ "type": {
11332
+ "kind": "NON_NULL",
11333
+ "name": null,
11334
+ "ofType": {
11335
+ "kind": "SCALAR",
11336
+ "name": "String",
11337
+ "ofType": null
11338
+ }
11339
+ },
11340
+ "isDeprecated": false,
11341
+ "deprecationReason": null
11342
+ },
11343
+ {
11344
+ "name": "effectiveAt",
11345
+ "description": "The effective date of the credit grant",
11346
+ "args": [],
11347
+ "type": {
11348
+ "kind": "NON_NULL",
11349
+ "name": null,
11350
+ "ofType": {
11351
+ "kind": "SCALAR",
11352
+ "name": "DateTime",
11353
+ "ofType": null
11354
+ }
11355
+ },
11356
+ "isDeprecated": false,
11357
+ "deprecationReason": null
11358
+ },
11359
+ {
11360
+ "name": "expireAt",
11361
+ "description": "The expiration date of the credit grant",
11362
+ "args": [],
11363
+ "type": {
11364
+ "kind": "SCALAR",
11365
+ "name": "DateTime",
11366
+ "ofType": null
11367
+ },
11368
+ "isDeprecated": false,
11369
+ "deprecationReason": null
11370
+ },
11371
+ {
11372
+ "name": "grantType",
11373
+ "description": "The type of the credit grant",
11374
+ "args": [],
11375
+ "type": {
11376
+ "kind": "NON_NULL",
11377
+ "name": null,
11378
+ "ofType": {
11379
+ "kind": "ENUM",
11380
+ "name": "CreditGrantType",
11381
+ "ofType": null
11382
+ }
11383
+ },
11384
+ "isDeprecated": false,
11385
+ "deprecationReason": null
11386
+ },
11387
+ {
11388
+ "name": "id",
11389
+ "description": "Unique identifier for the entity",
11390
+ "args": [],
11391
+ "type": {
11392
+ "kind": "NON_NULL",
11393
+ "name": null,
11394
+ "ofType": {
11395
+ "kind": "SCALAR",
11396
+ "name": "UUID",
11397
+ "ofType": null
11398
+ }
11399
+ },
11400
+ "isDeprecated": false,
11401
+ "deprecationReason": null
11402
+ },
11403
+ {
11404
+ "name": "priority",
11405
+ "description": "The priority of the credit grant",
11406
+ "args": [],
11407
+ "type": {
11408
+ "kind": "NON_NULL",
11409
+ "name": null,
11410
+ "ofType": {
11411
+ "kind": "SCALAR",
11412
+ "name": "Float",
11413
+ "ofType": null
11414
+ }
11415
+ },
11416
+ "isDeprecated": false,
11417
+ "deprecationReason": null
11418
+ },
11419
+ {
11420
+ "name": "resourceId",
11421
+ "description": "The resource ID of the credit grant",
11422
+ "args": [],
11423
+ "type": {
11424
+ "kind": "SCALAR",
11425
+ "name": "String",
11426
+ "ofType": null
11427
+ },
11428
+ "isDeprecated": false,
11429
+ "deprecationReason": null
11430
+ },
11431
+ {
11432
+ "name": "updatedAt",
11433
+ "description": "Timestamp of when the record was last updated",
11434
+ "args": [],
11435
+ "type": {
11436
+ "kind": "NON_NULL",
11437
+ "name": null,
11438
+ "ofType": {
11439
+ "kind": "SCALAR",
11440
+ "name": "DateTime",
11441
+ "ofType": null
11442
+ }
11443
+ },
11444
+ "isDeprecated": false,
11445
+ "deprecationReason": null
11446
+ }
11447
+ ],
11448
+ "inputFields": null,
11449
+ "interfaces": [],
11450
+ "enumValues": null,
11451
+ "possibleTypes": null
11452
+ },
11453
+ {
11454
+ "kind": "INPUT_OBJECT",
11455
+ "name": "CreditGrantInput",
11456
+ "description": "Input for creating a credit grant",
11457
+ "fields": null,
11458
+ "inputFields": [
11459
+ {
11460
+ "name": "additionalMetaData",
11461
+ "description": "Metadata associated with the entity",
11462
+ "type": {
11463
+ "kind": "SCALAR",
11464
+ "name": "JSON",
11465
+ "ofType": null
11466
+ },
11467
+ "defaultValue": null,
11468
+ "isDeprecated": false,
11469
+ "deprecationReason": null
11470
+ },
11471
+ {
11472
+ "name": "amount",
11473
+ "description": "The amount of the credit grant",
11474
+ "type": {
11475
+ "kind": "NON_NULL",
11476
+ "name": null,
11477
+ "ofType": {
11478
+ "kind": "SCALAR",
11479
+ "name": "Float",
11480
+ "ofType": null
11481
+ }
11482
+ },
11483
+ "defaultValue": null,
11484
+ "isDeprecated": false,
11485
+ "deprecationReason": null
11486
+ },
11487
+ {
11488
+ "name": "comment",
11489
+ "description": "The comment for the credit grant",
11490
+ "type": {
11491
+ "kind": "SCALAR",
11492
+ "name": "String",
11493
+ "ofType": null
11494
+ },
11495
+ "defaultValue": null,
11496
+ "isDeprecated": false,
11497
+ "deprecationReason": null
11498
+ },
11499
+ {
11500
+ "name": "cost",
11501
+ "description": "The fiat cost of the credit grant",
11502
+ "type": {
11503
+ "kind": "INPUT_OBJECT",
11504
+ "name": "MoneyInputDTO",
11505
+ "ofType": null
11506
+ },
11507
+ "defaultValue": null,
11508
+ "isDeprecated": false,
11509
+ "deprecationReason": null
11510
+ },
11511
+ {
11512
+ "name": "currencyId",
11513
+ "description": "The custom currency ID of the credit grant",
11514
+ "type": {
11515
+ "kind": "NON_NULL",
11516
+ "name": null,
11517
+ "ofType": {
11518
+ "kind": "SCALAR",
11519
+ "name": "String",
11520
+ "ofType": null
11521
+ }
11522
+ },
11523
+ "defaultValue": null,
11524
+ "isDeprecated": false,
11525
+ "deprecationReason": null
11526
+ },
11527
+ {
11528
+ "name": "customerId",
11529
+ "description": "The customer ID of the credit grant",
11530
+ "type": {
11531
+ "kind": "NON_NULL",
11532
+ "name": null,
11533
+ "ofType": {
11534
+ "kind": "SCALAR",
11535
+ "name": "String",
11536
+ "ofType": null
11537
+ }
11538
+ },
11539
+ "defaultValue": null,
11540
+ "isDeprecated": false,
11541
+ "deprecationReason": null
11542
+ },
11543
+ {
11544
+ "name": "displayName",
11545
+ "description": "The display name of the credit grant",
11546
+ "type": {
11547
+ "kind": "NON_NULL",
11548
+ "name": null,
11549
+ "ofType": {
11550
+ "kind": "SCALAR",
11551
+ "name": "String",
11552
+ "ofType": null
11553
+ }
11554
+ },
11555
+ "defaultValue": null,
11556
+ "isDeprecated": false,
11557
+ "deprecationReason": null
11558
+ },
11559
+ {
11560
+ "name": "effectiveAt",
11561
+ "description": "The effective date of the credit grant",
11562
+ "type": {
11563
+ "kind": "SCALAR",
11564
+ "name": "DateTime",
11565
+ "ofType": null
11566
+ },
11567
+ "defaultValue": null,
11568
+ "isDeprecated": false,
11569
+ "deprecationReason": null
11570
+ },
11571
+ {
11572
+ "name": "environmentId",
11573
+ "description": "The unique identifier for the environment",
11574
+ "type": {
11575
+ "kind": "SCALAR",
11576
+ "name": "UUID",
11577
+ "ofType": null
11578
+ },
11579
+ "defaultValue": null,
11580
+ "isDeprecated": false,
11581
+ "deprecationReason": null
11582
+ },
11583
+ {
11584
+ "name": "expireAt",
11585
+ "description": "The expiration date of the credit grant",
11586
+ "type": {
11587
+ "kind": "SCALAR",
11588
+ "name": "DateTime",
11589
+ "ofType": null
11590
+ },
11591
+ "defaultValue": null,
11592
+ "isDeprecated": false,
11593
+ "deprecationReason": null
11594
+ },
11595
+ {
11596
+ "name": "grantType",
11597
+ "description": "The type of the credit grant",
11598
+ "type": {
11599
+ "kind": "NON_NULL",
11600
+ "name": null,
11601
+ "ofType": {
11602
+ "kind": "ENUM",
11603
+ "name": "CreditGrantType",
11604
+ "ofType": null
11605
+ }
11606
+ },
11607
+ "defaultValue": null,
11608
+ "isDeprecated": false,
11609
+ "deprecationReason": null
11610
+ },
11611
+ {
11612
+ "name": "priority",
11613
+ "description": "The priority of the credit grant",
11614
+ "type": {
11615
+ "kind": "SCALAR",
11616
+ "name": "Float",
11617
+ "ofType": null
11618
+ },
11619
+ "defaultValue": null,
11620
+ "isDeprecated": false,
11621
+ "deprecationReason": null
11622
+ },
11623
+ {
11624
+ "name": "resourceId",
11625
+ "description": "The resource ID of the credit grant",
11626
+ "type": {
11627
+ "kind": "SCALAR",
11628
+ "name": "String",
11629
+ "ofType": null
11630
+ },
11631
+ "defaultValue": null,
11632
+ "isDeprecated": false,
11633
+ "deprecationReason": null
11634
+ }
11635
+ ],
11636
+ "interfaces": null,
11637
+ "enumValues": null,
11638
+ "possibleTypes": null
11639
+ },
11640
+ {
11641
+ "kind": "ENUM",
11642
+ "name": "CreditGrantType",
11643
+ "description": "The type of credit grant",
11644
+ "fields": null,
11645
+ "inputFields": null,
11646
+ "interfaces": null,
11647
+ "enumValues": [
11648
+ {
11649
+ "name": "PAID",
11650
+ "description": "Paid credit grant",
11651
+ "isDeprecated": false,
11652
+ "deprecationReason": null
11653
+ },
11654
+ {
11655
+ "name": "PROMOTIONAL",
11656
+ "description": "Promotional credit grant",
11657
+ "isDeprecated": false,
11658
+ "deprecationReason": null
11659
+ }
11660
+ ],
11661
+ "possibleTypes": null
11662
+ },
11202
11663
  {
11203
11664
  "kind": "ENUM",
11204
11665
  "name": "Currency",
@@ -11965,6 +12426,208 @@
11965
12426
  "enumValues": null,
11966
12427
  "possibleTypes": null
11967
12428
  },
12429
+ {
12430
+ "kind": "OBJECT",
12431
+ "name": "CustomCurrency",
12432
+ "description": "Stigg custom currency object",
12433
+ "fields": [
12434
+ {
12435
+ "name": "additionalMetaData",
12436
+ "description": "Metadata associated with the entity",
12437
+ "args": [],
12438
+ "type": {
12439
+ "kind": "SCALAR",
12440
+ "name": "JSON",
12441
+ "ofType": null
12442
+ },
12443
+ "isDeprecated": false,
12444
+ "deprecationReason": null
12445
+ },
12446
+ {
12447
+ "name": "createdAt",
12448
+ "description": "Timestamp of when the record was created",
12449
+ "args": [],
12450
+ "type": {
12451
+ "kind": "NON_NULL",
12452
+ "name": null,
12453
+ "ofType": {
12454
+ "kind": "SCALAR",
12455
+ "name": "DateTime",
12456
+ "ofType": null
12457
+ }
12458
+ },
12459
+ "isDeprecated": false,
12460
+ "deprecationReason": null
12461
+ },
12462
+ {
12463
+ "name": "currencyId",
12464
+ "description": "The unique identifier for the custom currency",
12465
+ "args": [],
12466
+ "type": {
12467
+ "kind": "NON_NULL",
12468
+ "name": null,
12469
+ "ofType": {
12470
+ "kind": "SCALAR",
12471
+ "name": "String",
12472
+ "ofType": null
12473
+ }
12474
+ },
12475
+ "isDeprecated": false,
12476
+ "deprecationReason": null
12477
+ },
12478
+ {
12479
+ "name": "displayName",
12480
+ "description": "The name of the custom currency",
12481
+ "args": [],
12482
+ "type": {
12483
+ "kind": "NON_NULL",
12484
+ "name": null,
12485
+ "ofType": {
12486
+ "kind": "SCALAR",
12487
+ "name": "String",
12488
+ "ofType": null
12489
+ }
12490
+ },
12491
+ "isDeprecated": false,
12492
+ "deprecationReason": null
12493
+ },
12494
+ {
12495
+ "name": "id",
12496
+ "description": "Unique identifier for the entity",
12497
+ "args": [],
12498
+ "type": {
12499
+ "kind": "NON_NULL",
12500
+ "name": null,
12501
+ "ofType": {
12502
+ "kind": "SCALAR",
12503
+ "name": "UUID",
12504
+ "ofType": null
12505
+ }
12506
+ },
12507
+ "isDeprecated": false,
12508
+ "deprecationReason": null
12509
+ },
12510
+ {
12511
+ "name": "symbol",
12512
+ "description": "The symbol of the custom currency",
12513
+ "args": [],
12514
+ "type": {
12515
+ "kind": "NON_NULL",
12516
+ "name": null,
12517
+ "ofType": {
12518
+ "kind": "SCALAR",
12519
+ "name": "String",
12520
+ "ofType": null
12521
+ }
12522
+ },
12523
+ "isDeprecated": false,
12524
+ "deprecationReason": null
12525
+ },
12526
+ {
12527
+ "name": "updatedAt",
12528
+ "description": "Timestamp of when the record was last updated",
12529
+ "args": [],
12530
+ "type": {
12531
+ "kind": "NON_NULL",
12532
+ "name": null,
12533
+ "ofType": {
12534
+ "kind": "SCALAR",
12535
+ "name": "DateTime",
12536
+ "ofType": null
12537
+ }
12538
+ },
12539
+ "isDeprecated": false,
12540
+ "deprecationReason": null
12541
+ }
12542
+ ],
12543
+ "inputFields": null,
12544
+ "interfaces": [],
12545
+ "enumValues": null,
12546
+ "possibleTypes": null
12547
+ },
12548
+ {
12549
+ "kind": "INPUT_OBJECT",
12550
+ "name": "CustomCurrencyInput",
12551
+ "description": "Input for creating a custom currency",
12552
+ "fields": null,
12553
+ "inputFields": [
12554
+ {
12555
+ "name": "additionalMetaData",
12556
+ "description": "Metadata associated with the entity",
12557
+ "type": {
12558
+ "kind": "SCALAR",
12559
+ "name": "JSON",
12560
+ "ofType": null
12561
+ },
12562
+ "defaultValue": null,
12563
+ "isDeprecated": false,
12564
+ "deprecationReason": null
12565
+ },
12566
+ {
12567
+ "name": "currencyId",
12568
+ "description": "The unique identifier for the custom currency",
12569
+ "type": {
12570
+ "kind": "NON_NULL",
12571
+ "name": null,
12572
+ "ofType": {
12573
+ "kind": "SCALAR",
12574
+ "name": "String",
12575
+ "ofType": null
12576
+ }
12577
+ },
12578
+ "defaultValue": null,
12579
+ "isDeprecated": false,
12580
+ "deprecationReason": null
12581
+ },
12582
+ {
12583
+ "name": "displayName",
12584
+ "description": "The name of the custom currency",
12585
+ "type": {
12586
+ "kind": "NON_NULL",
12587
+ "name": null,
12588
+ "ofType": {
12589
+ "kind": "SCALAR",
12590
+ "name": "String",
12591
+ "ofType": null
12592
+ }
12593
+ },
12594
+ "defaultValue": null,
12595
+ "isDeprecated": false,
12596
+ "deprecationReason": null
12597
+ },
12598
+ {
12599
+ "name": "environmentId",
12600
+ "description": "The unique identifier for the environment",
12601
+ "type": {
12602
+ "kind": "SCALAR",
12603
+ "name": "UUID",
12604
+ "ofType": null
12605
+ },
12606
+ "defaultValue": null,
12607
+ "isDeprecated": false,
12608
+ "deprecationReason": null
12609
+ },
12610
+ {
12611
+ "name": "symbol",
12612
+ "description": "The symbol of the custom currency",
12613
+ "type": {
12614
+ "kind": "NON_NULL",
12615
+ "name": null,
12616
+ "ofType": {
12617
+ "kind": "SCALAR",
12618
+ "name": "String",
12619
+ "ofType": null
12620
+ }
12621
+ },
12622
+ "defaultValue": null,
12623
+ "isDeprecated": false,
12624
+ "deprecationReason": null
12625
+ }
12626
+ ],
12627
+ "interfaces": null,
12628
+ "enumValues": null,
12629
+ "possibleTypes": null
12630
+ },
11968
12631
  {
11969
12632
  "kind": "OBJECT",
11970
12633
  "name": "Customer",
@@ -25771,6 +26434,12 @@
25771
26434
  "isDeprecated": false,
25772
26435
  "deprecationReason": null
25773
26436
  },
26437
+ {
26438
+ "name": "CannotUpdateExpireAtForExpiredCreditGrantError",
26439
+ "description": "Cannot update expireAt for an expired credit grant",
26440
+ "isDeprecated": false,
26441
+ "deprecationReason": null
26442
+ },
25774
26443
  {
25775
26444
  "name": "CannotUpdateUnitTransformationError",
25776
26445
  "description": "Can not update unit transformation since this feature has connected active subscriptions",
@@ -25801,6 +26470,18 @@
25801
26470
  "isDeprecated": false,
25802
26471
  "deprecationReason": null
25803
26472
  },
26473
+ {
26474
+ "name": "CreditGrantNotFound",
26475
+ "description": "Credit grant not found",
26476
+ "isDeprecated": false,
26477
+ "deprecationReason": null
26478
+ },
26479
+ {
26480
+ "name": "CustomCurrencyNotFound",
26481
+ "description": "Custom currency not found",
26482
+ "isDeprecated": false,
26483
+ "deprecationReason": null
26484
+ },
25804
26485
  {
25805
26486
  "name": "CustomerAlreadyHaveCustomerCoupon",
25806
26487
  "description": null,
@@ -25951,6 +26632,12 @@
25951
26632
  "isDeprecated": false,
25952
26633
  "deprecationReason": null
25953
26634
  },
26635
+ {
26636
+ "name": "ExpireAtMustBeLaterThanEffectiveAtError",
26637
+ "description": "field expireAt must be later than effectiveAt for credit grants",
26638
+ "isDeprecated": false,
26639
+ "deprecationReason": null
26640
+ },
25954
26641
  {
25955
26642
  "name": "FailedToCreateCheckoutSessionError",
25956
26643
  "description": null,
@@ -26449,6 +27136,12 @@
26449
27136
  "isDeprecated": false,
26450
27137
  "deprecationReason": null
26451
27138
  },
27139
+ {
27140
+ "name": "TooManyCustomCurrencies",
27141
+ "description": "Too many custom currencies",
27142
+ "isDeprecated": false,
27143
+ "deprecationReason": null
27144
+ },
26452
27145
  {
26453
27146
  "name": "TooManySubscriptionsPerCustomer",
26454
27147
  "description": null,
@@ -34294,6 +34987,69 @@
34294
34987
  "enumValues": null,
34295
34988
  "possibleTypes": null
34296
34989
  },
34990
+ {
34991
+ "kind": "INPUT_OBJECT",
34992
+ "name": "GetCreditGrantsInput",
34993
+ "description": "Input for retrieving credit grants",
34994
+ "fields": null,
34995
+ "inputFields": [
34996
+ {
34997
+ "name": "currencyId",
34998
+ "description": "The custom currency ID of the credit grant",
34999
+ "type": {
35000
+ "kind": "SCALAR",
35001
+ "name": "String",
35002
+ "ofType": null
35003
+ },
35004
+ "defaultValue": null,
35005
+ "isDeprecated": false,
35006
+ "deprecationReason": null
35007
+ },
35008
+ {
35009
+ "name": "customerId",
35010
+ "description": "The customer ID of the credit grant",
35011
+ "type": {
35012
+ "kind": "NON_NULL",
35013
+ "name": null,
35014
+ "ofType": {
35015
+ "kind": "SCALAR",
35016
+ "name": "String",
35017
+ "ofType": null
35018
+ }
35019
+ },
35020
+ "defaultValue": null,
35021
+ "isDeprecated": false,
35022
+ "deprecationReason": null
35023
+ },
35024
+ {
35025
+ "name": "environmentId",
35026
+ "description": "The unique identifier for the environment",
35027
+ "type": {
35028
+ "kind": "SCALAR",
35029
+ "name": "UUID",
35030
+ "ofType": null
35031
+ },
35032
+ "defaultValue": null,
35033
+ "isDeprecated": false,
35034
+ "deprecationReason": null
35035
+ },
35036
+ {
35037
+ "name": "resourceId",
35038
+ "description": "The resource ID of the credit grant",
35039
+ "type": {
35040
+ "kind": "SCALAR",
35041
+ "name": "String",
35042
+ "ofType": null
35043
+ },
35044
+ "defaultValue": null,
35045
+ "isDeprecated": false,
35046
+ "deprecationReason": null
35047
+ }
35048
+ ],
35049
+ "interfaces": null,
35050
+ "enumValues": null,
35051
+ "possibleTypes": null
35052
+ },
34297
35053
  {
34298
35054
  "kind": "INPUT_OBJECT",
34299
35055
  "name": "GetCustomerByRefIdInput",
@@ -42638,6 +43394,72 @@
42638
43394
  "isDeprecated": false,
42639
43395
  "deprecationReason": null
42640
43396
  },
43397
+ {
43398
+ "name": "createCreditGrant",
43399
+ "description": "Create a new credit grant",
43400
+ "args": [
43401
+ {
43402
+ "name": "input",
43403
+ "description": null,
43404
+ "type": {
43405
+ "kind": "NON_NULL",
43406
+ "name": null,
43407
+ "ofType": {
43408
+ "kind": "INPUT_OBJECT",
43409
+ "name": "CreditGrantInput",
43410
+ "ofType": null
43411
+ }
43412
+ },
43413
+ "defaultValue": null,
43414
+ "isDeprecated": false,
43415
+ "deprecationReason": null
43416
+ }
43417
+ ],
43418
+ "type": {
43419
+ "kind": "NON_NULL",
43420
+ "name": null,
43421
+ "ofType": {
43422
+ "kind": "OBJECT",
43423
+ "name": "CreditGrant",
43424
+ "ofType": null
43425
+ }
43426
+ },
43427
+ "isDeprecated": false,
43428
+ "deprecationReason": null
43429
+ },
43430
+ {
43431
+ "name": "createCustomCurrency",
43432
+ "description": "Create a new custom currency",
43433
+ "args": [
43434
+ {
43435
+ "name": "input",
43436
+ "description": null,
43437
+ "type": {
43438
+ "kind": "NON_NULL",
43439
+ "name": null,
43440
+ "ofType": {
43441
+ "kind": "INPUT_OBJECT",
43442
+ "name": "CustomCurrencyInput",
43443
+ "ofType": null
43444
+ }
43445
+ },
43446
+ "defaultValue": null,
43447
+ "isDeprecated": false,
43448
+ "deprecationReason": null
43449
+ }
43450
+ ],
43451
+ "type": {
43452
+ "kind": "NON_NULL",
43453
+ "name": null,
43454
+ "ofType": {
43455
+ "kind": "OBJECT",
43456
+ "name": "CustomCurrency",
43457
+ "ofType": null
43458
+ }
43459
+ },
43460
+ "isDeprecated": false,
43461
+ "deprecationReason": null
43462
+ },
42641
43463
  {
42642
43464
  "name": "createEmptyAddonDraft",
42643
43465
  "description": "Create an empty draft addon from an addon by id",
@@ -46064,6 +46886,72 @@
46064
46886
  "isDeprecated": false,
46065
46887
  "deprecationReason": null
46066
46888
  },
46889
+ {
46890
+ "name": "updateCreditGrant",
46891
+ "description": "Update an existing credit grant",
46892
+ "args": [
46893
+ {
46894
+ "name": "input",
46895
+ "description": null,
46896
+ "type": {
46897
+ "kind": "NON_NULL",
46898
+ "name": null,
46899
+ "ofType": {
46900
+ "kind": "INPUT_OBJECT",
46901
+ "name": "UpdateCreditGrantInput",
46902
+ "ofType": null
46903
+ }
46904
+ },
46905
+ "defaultValue": null,
46906
+ "isDeprecated": false,
46907
+ "deprecationReason": null
46908
+ }
46909
+ ],
46910
+ "type": {
46911
+ "kind": "NON_NULL",
46912
+ "name": null,
46913
+ "ofType": {
46914
+ "kind": "OBJECT",
46915
+ "name": "CreditGrant",
46916
+ "ofType": null
46917
+ }
46918
+ },
46919
+ "isDeprecated": false,
46920
+ "deprecationReason": null
46921
+ },
46922
+ {
46923
+ "name": "updateCustomCurrency",
46924
+ "description": "Update an existing custom currency",
46925
+ "args": [
46926
+ {
46927
+ "name": "input",
46928
+ "description": null,
46929
+ "type": {
46930
+ "kind": "NON_NULL",
46931
+ "name": null,
46932
+ "ofType": {
46933
+ "kind": "INPUT_OBJECT",
46934
+ "name": "UpdateCustomCurrencyInput",
46935
+ "ofType": null
46936
+ }
46937
+ },
46938
+ "defaultValue": null,
46939
+ "isDeprecated": false,
46940
+ "deprecationReason": null
46941
+ }
46942
+ ],
46943
+ "type": {
46944
+ "kind": "NON_NULL",
46945
+ "name": null,
46946
+ "ofType": {
46947
+ "kind": "OBJECT",
46948
+ "name": "CustomCurrency",
46949
+ "ofType": null
46950
+ }
46951
+ },
46952
+ "isDeprecated": false,
46953
+ "deprecationReason": null
46954
+ },
46067
46955
  {
46068
46956
  "name": "updateEntitlementsOrder",
46069
46957
  "description": "Update entitlements order",
@@ -66765,6 +67653,47 @@
66765
67653
  "isDeprecated": false,
66766
67654
  "deprecationReason": null
66767
67655
  },
67656
+ {
67657
+ "name": "creditGrants",
67658
+ "description": "Get all credit grants for an environment",
67659
+ "args": [
67660
+ {
67661
+ "name": "input",
67662
+ "description": null,
67663
+ "type": {
67664
+ "kind": "NON_NULL",
67665
+ "name": null,
67666
+ "ofType": {
67667
+ "kind": "INPUT_OBJECT",
67668
+ "name": "GetCreditGrantsInput",
67669
+ "ofType": null
67670
+ }
67671
+ },
67672
+ "defaultValue": null,
67673
+ "isDeprecated": false,
67674
+ "deprecationReason": null
67675
+ }
67676
+ ],
67677
+ "type": {
67678
+ "kind": "NON_NULL",
67679
+ "name": null,
67680
+ "ofType": {
67681
+ "kind": "LIST",
67682
+ "name": null,
67683
+ "ofType": {
67684
+ "kind": "NON_NULL",
67685
+ "name": null,
67686
+ "ofType": {
67687
+ "kind": "OBJECT",
67688
+ "name": "CreditGrant",
67689
+ "ofType": null
67690
+ }
67691
+ }
67692
+ }
67693
+ },
67694
+ "isDeprecated": false,
67695
+ "deprecationReason": null
67696
+ },
66768
67697
  {
66769
67698
  "name": "currentEnvironment",
66770
67699
  "description": "Fetch the current environment details",
@@ -66797,6 +67726,43 @@
66797
67726
  "isDeprecated": false,
66798
67727
  "deprecationReason": null
66799
67728
  },
67729
+ {
67730
+ "name": "customCurrencies",
67731
+ "description": "Get all custom currencies for an environment",
67732
+ "args": [
67733
+ {
67734
+ "name": "environmentId",
67735
+ "description": null,
67736
+ "type": {
67737
+ "kind": "SCALAR",
67738
+ "name": "String",
67739
+ "ofType": null
67740
+ },
67741
+ "defaultValue": null,
67742
+ "isDeprecated": false,
67743
+ "deprecationReason": null
67744
+ }
67745
+ ],
67746
+ "type": {
67747
+ "kind": "NON_NULL",
67748
+ "name": null,
67749
+ "ofType": {
67750
+ "kind": "LIST",
67751
+ "name": null,
67752
+ "ofType": {
67753
+ "kind": "NON_NULL",
67754
+ "name": null,
67755
+ "ofType": {
67756
+ "kind": "OBJECT",
67757
+ "name": "CustomCurrency",
67758
+ "ofType": null
67759
+ }
67760
+ }
67761
+ }
67762
+ },
67763
+ "isDeprecated": false,
67764
+ "deprecationReason": null
67765
+ },
66800
67766
  {
66801
67767
  "name": "customerPortal",
66802
67768
  "description": "Customer portal information",
@@ -86401,6 +87367,192 @@
86401
87367
  "enumValues": null,
86402
87368
  "possibleTypes": null
86403
87369
  },
87370
+ {
87371
+ "kind": "INPUT_OBJECT",
87372
+ "name": "UpdateCreditGrantInput",
87373
+ "description": "Input for updating a credit grant",
87374
+ "fields": null,
87375
+ "inputFields": [
87376
+ {
87377
+ "name": "additionalMetaData",
87378
+ "description": "Metadata associated with the entity",
87379
+ "type": {
87380
+ "kind": "SCALAR",
87381
+ "name": "JSON",
87382
+ "ofType": null
87383
+ },
87384
+ "defaultValue": null,
87385
+ "isDeprecated": false,
87386
+ "deprecationReason": null
87387
+ },
87388
+ {
87389
+ "name": "comment",
87390
+ "description": "The comment for the credit grant",
87391
+ "type": {
87392
+ "kind": "SCALAR",
87393
+ "name": "String",
87394
+ "ofType": null
87395
+ },
87396
+ "defaultValue": null,
87397
+ "isDeprecated": false,
87398
+ "deprecationReason": null
87399
+ },
87400
+ {
87401
+ "name": "displayName",
87402
+ "description": "The display name of the credit grant",
87403
+ "type": {
87404
+ "kind": "SCALAR",
87405
+ "name": "String",
87406
+ "ofType": null
87407
+ },
87408
+ "defaultValue": null,
87409
+ "isDeprecated": false,
87410
+ "deprecationReason": null
87411
+ },
87412
+ {
87413
+ "name": "effectiveAt",
87414
+ "description": "The effective date of the credit grant",
87415
+ "type": {
87416
+ "kind": "SCALAR",
87417
+ "name": "DateTime",
87418
+ "ofType": null
87419
+ },
87420
+ "defaultValue": null,
87421
+ "isDeprecated": false,
87422
+ "deprecationReason": null
87423
+ },
87424
+ {
87425
+ "name": "environmentId",
87426
+ "description": "The unique identifier for the environment",
87427
+ "type": {
87428
+ "kind": "SCALAR",
87429
+ "name": "UUID",
87430
+ "ofType": null
87431
+ },
87432
+ "defaultValue": null,
87433
+ "isDeprecated": false,
87434
+ "deprecationReason": null
87435
+ },
87436
+ {
87437
+ "name": "expireAt",
87438
+ "description": "The expiration date of the credit grant",
87439
+ "type": {
87440
+ "kind": "SCALAR",
87441
+ "name": "DateTime",
87442
+ "ofType": null
87443
+ },
87444
+ "defaultValue": null,
87445
+ "isDeprecated": false,
87446
+ "deprecationReason": null
87447
+ },
87448
+ {
87449
+ "name": "id",
87450
+ "description": "The unique identifier for the credit grant",
87451
+ "type": {
87452
+ "kind": "NON_NULL",
87453
+ "name": null,
87454
+ "ofType": {
87455
+ "kind": "SCALAR",
87456
+ "name": "UUID",
87457
+ "ofType": null
87458
+ }
87459
+ },
87460
+ "defaultValue": null,
87461
+ "isDeprecated": false,
87462
+ "deprecationReason": null
87463
+ },
87464
+ {
87465
+ "name": "priority",
87466
+ "description": "The priority of the credit grant",
87467
+ "type": {
87468
+ "kind": "SCALAR",
87469
+ "name": "Float",
87470
+ "ofType": null
87471
+ },
87472
+ "defaultValue": null,
87473
+ "isDeprecated": false,
87474
+ "deprecationReason": null
87475
+ }
87476
+ ],
87477
+ "interfaces": null,
87478
+ "enumValues": null,
87479
+ "possibleTypes": null
87480
+ },
87481
+ {
87482
+ "kind": "INPUT_OBJECT",
87483
+ "name": "UpdateCustomCurrencyInput",
87484
+ "description": "Input for updating a custom currency",
87485
+ "fields": null,
87486
+ "inputFields": [
87487
+ {
87488
+ "name": "additionalMetaData",
87489
+ "description": "Metadata associated with the entity",
87490
+ "type": {
87491
+ "kind": "SCALAR",
87492
+ "name": "JSON",
87493
+ "ofType": null
87494
+ },
87495
+ "defaultValue": null,
87496
+ "isDeprecated": false,
87497
+ "deprecationReason": null
87498
+ },
87499
+ {
87500
+ "name": "currencyId",
87501
+ "description": "The unique identifier for the custom currency",
87502
+ "type": {
87503
+ "kind": "NON_NULL",
87504
+ "name": null,
87505
+ "ofType": {
87506
+ "kind": "SCALAR",
87507
+ "name": "String",
87508
+ "ofType": null
87509
+ }
87510
+ },
87511
+ "defaultValue": null,
87512
+ "isDeprecated": false,
87513
+ "deprecationReason": null
87514
+ },
87515
+ {
87516
+ "name": "displayName",
87517
+ "description": "The name of the custom currency",
87518
+ "type": {
87519
+ "kind": "SCALAR",
87520
+ "name": "String",
87521
+ "ofType": null
87522
+ },
87523
+ "defaultValue": null,
87524
+ "isDeprecated": false,
87525
+ "deprecationReason": null
87526
+ },
87527
+ {
87528
+ "name": "environmentId",
87529
+ "description": "The unique identifier for the environment",
87530
+ "type": {
87531
+ "kind": "SCALAR",
87532
+ "name": "UUID",
87533
+ "ofType": null
87534
+ },
87535
+ "defaultValue": null,
87536
+ "isDeprecated": false,
87537
+ "deprecationReason": null
87538
+ },
87539
+ {
87540
+ "name": "symbol",
87541
+ "description": "The symbol of the custom currency",
87542
+ "type": {
87543
+ "kind": "SCALAR",
87544
+ "name": "String",
87545
+ "ofType": null
87546
+ },
87547
+ "defaultValue": null,
87548
+ "isDeprecated": false,
87549
+ "deprecationReason": null
87550
+ }
87551
+ ],
87552
+ "interfaces": null,
87553
+ "enumValues": null,
87554
+ "possibleTypes": null
87555
+ },
86404
87556
  {
86405
87557
  "kind": "INPUT_OBJECT",
86406
87558
  "name": "UpdateCustomerInput",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "2.492.0"
4
+ VERSION = "2.497.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: 2.492.0
4
+ version: 2.497.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-07-30 00:00:00.000000000 Z
11
+ date: 2025-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient