stigg-api-client 2.492.0 → 2.503.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: a2ceeba3e968c719a2c371a683a49b905f56062883e6f5e66896dc5aeba994e5
4
+ data.tar.gz: 59a449bcc9b5fa6452e48bab90f75af196f1823c9bfbcf951ed96234d251dfb4
5
5
  SHA512:
6
- metadata.gz: 2aa1d9e870d36c44f40f562909054aa1f9d8d50d93d23cbf6d67de626b9102a8b54f004255eade45f69fb89652eee9815e82e2263a1b7791c9b2e6db15bd8980
7
- data.tar.gz: fb38ff1185a8aa056b8f56f50203811c329c67adc1dd707d7368d73eccfe38942ad080d04d505fea0dfc8fe365557ae47ca77c3a4d42eaa3095fc0b847a68312
6
+ metadata.gz: a8869f9d29b2434b065e417a478319e9b909a1bfe9f6fdbf3d38c20adb8cb9e7b88df6f4b6ce80e23a0d011efb814ee7976231ae9cffc16ba0d800b391a8056b
7
+ data.tar.gz: 8beba457c985a2eb0ee4bb162e125245cc6e096641e0ce3e66c91a8724fc183ff73c3b0216603ef948085a4e7f333dae6f76da23f8273df0145e4a6f89696594
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.503.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,
@@ -28303,6 +28996,18 @@
28303
28996
  "isDeprecated": false,
28304
28997
  "deprecationReason": null
28305
28998
  },
28999
+ {
29000
+ "name": "CREDITS_EXPIRED",
29001
+ "description": "Credits expired",
29002
+ "isDeprecated": false,
29003
+ "deprecationReason": null
29004
+ },
29005
+ {
29006
+ "name": "CREDITS_GRANTED",
29007
+ "description": "Credits granted",
29008
+ "isDeprecated": false,
29009
+ "deprecationReason": null
29010
+ },
28306
29011
  {
28307
29012
  "name": "CUSTOMER_CREATED",
28308
29013
  "description": "Customer created",
@@ -34294,6 +34999,69 @@
34294
34999
  "enumValues": null,
34295
35000
  "possibleTypes": null
34296
35001
  },
35002
+ {
35003
+ "kind": "INPUT_OBJECT",
35004
+ "name": "GetCreditGrantsInput",
35005
+ "description": "Input for retrieving credit grants",
35006
+ "fields": null,
35007
+ "inputFields": [
35008
+ {
35009
+ "name": "currencyId",
35010
+ "description": "The custom currency ID of the credit grant",
35011
+ "type": {
35012
+ "kind": "SCALAR",
35013
+ "name": "String",
35014
+ "ofType": null
35015
+ },
35016
+ "defaultValue": null,
35017
+ "isDeprecated": false,
35018
+ "deprecationReason": null
35019
+ },
35020
+ {
35021
+ "name": "customerId",
35022
+ "description": "The customer ID of the credit grant",
35023
+ "type": {
35024
+ "kind": "NON_NULL",
35025
+ "name": null,
35026
+ "ofType": {
35027
+ "kind": "SCALAR",
35028
+ "name": "String",
35029
+ "ofType": null
35030
+ }
35031
+ },
35032
+ "defaultValue": null,
35033
+ "isDeprecated": false,
35034
+ "deprecationReason": null
35035
+ },
35036
+ {
35037
+ "name": "environmentId",
35038
+ "description": "The unique identifier for the environment",
35039
+ "type": {
35040
+ "kind": "SCALAR",
35041
+ "name": "UUID",
35042
+ "ofType": null
35043
+ },
35044
+ "defaultValue": null,
35045
+ "isDeprecated": false,
35046
+ "deprecationReason": null
35047
+ },
35048
+ {
35049
+ "name": "resourceId",
35050
+ "description": "The resource ID of the credit grant",
35051
+ "type": {
35052
+ "kind": "SCALAR",
35053
+ "name": "String",
35054
+ "ofType": null
35055
+ },
35056
+ "defaultValue": null,
35057
+ "isDeprecated": false,
35058
+ "deprecationReason": null
35059
+ }
35060
+ ],
35061
+ "interfaces": null,
35062
+ "enumValues": null,
35063
+ "possibleTypes": null
35064
+ },
34297
35065
  {
34298
35066
  "kind": "INPUT_OBJECT",
34299
35067
  "name": "GetCustomerByRefIdInput",
@@ -42638,6 +43406,72 @@
42638
43406
  "isDeprecated": false,
42639
43407
  "deprecationReason": null
42640
43408
  },
43409
+ {
43410
+ "name": "createCreditGrant",
43411
+ "description": "Create a new credit grant",
43412
+ "args": [
43413
+ {
43414
+ "name": "input",
43415
+ "description": null,
43416
+ "type": {
43417
+ "kind": "NON_NULL",
43418
+ "name": null,
43419
+ "ofType": {
43420
+ "kind": "INPUT_OBJECT",
43421
+ "name": "CreditGrantInput",
43422
+ "ofType": null
43423
+ }
43424
+ },
43425
+ "defaultValue": null,
43426
+ "isDeprecated": false,
43427
+ "deprecationReason": null
43428
+ }
43429
+ ],
43430
+ "type": {
43431
+ "kind": "NON_NULL",
43432
+ "name": null,
43433
+ "ofType": {
43434
+ "kind": "OBJECT",
43435
+ "name": "CreditGrant",
43436
+ "ofType": null
43437
+ }
43438
+ },
43439
+ "isDeprecated": false,
43440
+ "deprecationReason": null
43441
+ },
43442
+ {
43443
+ "name": "createCustomCurrency",
43444
+ "description": "Create a new custom currency",
43445
+ "args": [
43446
+ {
43447
+ "name": "input",
43448
+ "description": null,
43449
+ "type": {
43450
+ "kind": "NON_NULL",
43451
+ "name": null,
43452
+ "ofType": {
43453
+ "kind": "INPUT_OBJECT",
43454
+ "name": "CustomCurrencyInput",
43455
+ "ofType": null
43456
+ }
43457
+ },
43458
+ "defaultValue": null,
43459
+ "isDeprecated": false,
43460
+ "deprecationReason": null
43461
+ }
43462
+ ],
43463
+ "type": {
43464
+ "kind": "NON_NULL",
43465
+ "name": null,
43466
+ "ofType": {
43467
+ "kind": "OBJECT",
43468
+ "name": "CustomCurrency",
43469
+ "ofType": null
43470
+ }
43471
+ },
43472
+ "isDeprecated": false,
43473
+ "deprecationReason": null
43474
+ },
42641
43475
  {
42642
43476
  "name": "createEmptyAddonDraft",
42643
43477
  "description": "Create an empty draft addon from an addon by id",
@@ -46064,6 +46898,72 @@
46064
46898
  "isDeprecated": false,
46065
46899
  "deprecationReason": null
46066
46900
  },
46901
+ {
46902
+ "name": "updateCreditGrant",
46903
+ "description": "Update an existing credit grant",
46904
+ "args": [
46905
+ {
46906
+ "name": "input",
46907
+ "description": null,
46908
+ "type": {
46909
+ "kind": "NON_NULL",
46910
+ "name": null,
46911
+ "ofType": {
46912
+ "kind": "INPUT_OBJECT",
46913
+ "name": "UpdateCreditGrantInput",
46914
+ "ofType": null
46915
+ }
46916
+ },
46917
+ "defaultValue": null,
46918
+ "isDeprecated": false,
46919
+ "deprecationReason": null
46920
+ }
46921
+ ],
46922
+ "type": {
46923
+ "kind": "NON_NULL",
46924
+ "name": null,
46925
+ "ofType": {
46926
+ "kind": "OBJECT",
46927
+ "name": "CreditGrant",
46928
+ "ofType": null
46929
+ }
46930
+ },
46931
+ "isDeprecated": false,
46932
+ "deprecationReason": null
46933
+ },
46934
+ {
46935
+ "name": "updateCustomCurrency",
46936
+ "description": "Update an existing custom currency",
46937
+ "args": [
46938
+ {
46939
+ "name": "input",
46940
+ "description": null,
46941
+ "type": {
46942
+ "kind": "NON_NULL",
46943
+ "name": null,
46944
+ "ofType": {
46945
+ "kind": "INPUT_OBJECT",
46946
+ "name": "UpdateCustomCurrencyInput",
46947
+ "ofType": null
46948
+ }
46949
+ },
46950
+ "defaultValue": null,
46951
+ "isDeprecated": false,
46952
+ "deprecationReason": null
46953
+ }
46954
+ ],
46955
+ "type": {
46956
+ "kind": "NON_NULL",
46957
+ "name": null,
46958
+ "ofType": {
46959
+ "kind": "OBJECT",
46960
+ "name": "CustomCurrency",
46961
+ "ofType": null
46962
+ }
46963
+ },
46964
+ "isDeprecated": false,
46965
+ "deprecationReason": null
46966
+ },
46067
46967
  {
46068
46968
  "name": "updateEntitlementsOrder",
46069
46969
  "description": "Update entitlements order",
@@ -66765,6 +67665,47 @@
66765
67665
  "isDeprecated": false,
66766
67666
  "deprecationReason": null
66767
67667
  },
67668
+ {
67669
+ "name": "creditGrants",
67670
+ "description": "Get all credit grants for an environment",
67671
+ "args": [
67672
+ {
67673
+ "name": "input",
67674
+ "description": null,
67675
+ "type": {
67676
+ "kind": "NON_NULL",
67677
+ "name": null,
67678
+ "ofType": {
67679
+ "kind": "INPUT_OBJECT",
67680
+ "name": "GetCreditGrantsInput",
67681
+ "ofType": null
67682
+ }
67683
+ },
67684
+ "defaultValue": null,
67685
+ "isDeprecated": false,
67686
+ "deprecationReason": null
67687
+ }
67688
+ ],
67689
+ "type": {
67690
+ "kind": "NON_NULL",
67691
+ "name": null,
67692
+ "ofType": {
67693
+ "kind": "LIST",
67694
+ "name": null,
67695
+ "ofType": {
67696
+ "kind": "NON_NULL",
67697
+ "name": null,
67698
+ "ofType": {
67699
+ "kind": "OBJECT",
67700
+ "name": "CreditGrant",
67701
+ "ofType": null
67702
+ }
67703
+ }
67704
+ }
67705
+ },
67706
+ "isDeprecated": false,
67707
+ "deprecationReason": null
67708
+ },
66768
67709
  {
66769
67710
  "name": "currentEnvironment",
66770
67711
  "description": "Fetch the current environment details",
@@ -66797,6 +67738,43 @@
66797
67738
  "isDeprecated": false,
66798
67739
  "deprecationReason": null
66799
67740
  },
67741
+ {
67742
+ "name": "customCurrencies",
67743
+ "description": "Get all custom currencies for an environment",
67744
+ "args": [
67745
+ {
67746
+ "name": "environmentId",
67747
+ "description": null,
67748
+ "type": {
67749
+ "kind": "SCALAR",
67750
+ "name": "String",
67751
+ "ofType": null
67752
+ },
67753
+ "defaultValue": null,
67754
+ "isDeprecated": false,
67755
+ "deprecationReason": null
67756
+ }
67757
+ ],
67758
+ "type": {
67759
+ "kind": "NON_NULL",
67760
+ "name": null,
67761
+ "ofType": {
67762
+ "kind": "LIST",
67763
+ "name": null,
67764
+ "ofType": {
67765
+ "kind": "NON_NULL",
67766
+ "name": null,
67767
+ "ofType": {
67768
+ "kind": "OBJECT",
67769
+ "name": "CustomCurrency",
67770
+ "ofType": null
67771
+ }
67772
+ }
67773
+ }
67774
+ },
67775
+ "isDeprecated": false,
67776
+ "deprecationReason": null
67777
+ },
66800
67778
  {
66801
67779
  "name": "customerPortal",
66802
67780
  "description": "Customer portal information",
@@ -86401,6 +87379,192 @@
86401
87379
  "enumValues": null,
86402
87380
  "possibleTypes": null
86403
87381
  },
87382
+ {
87383
+ "kind": "INPUT_OBJECT",
87384
+ "name": "UpdateCreditGrantInput",
87385
+ "description": "Input for updating a credit grant",
87386
+ "fields": null,
87387
+ "inputFields": [
87388
+ {
87389
+ "name": "additionalMetaData",
87390
+ "description": "Metadata associated with the entity",
87391
+ "type": {
87392
+ "kind": "SCALAR",
87393
+ "name": "JSON",
87394
+ "ofType": null
87395
+ },
87396
+ "defaultValue": null,
87397
+ "isDeprecated": false,
87398
+ "deprecationReason": null
87399
+ },
87400
+ {
87401
+ "name": "comment",
87402
+ "description": "The comment for 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": "displayName",
87414
+ "description": "The display name of the credit grant",
87415
+ "type": {
87416
+ "kind": "SCALAR",
87417
+ "name": "String",
87418
+ "ofType": null
87419
+ },
87420
+ "defaultValue": null,
87421
+ "isDeprecated": false,
87422
+ "deprecationReason": null
87423
+ },
87424
+ {
87425
+ "name": "effectiveAt",
87426
+ "description": "The effective date of the credit grant",
87427
+ "type": {
87428
+ "kind": "SCALAR",
87429
+ "name": "DateTime",
87430
+ "ofType": null
87431
+ },
87432
+ "defaultValue": null,
87433
+ "isDeprecated": false,
87434
+ "deprecationReason": null
87435
+ },
87436
+ {
87437
+ "name": "environmentId",
87438
+ "description": "The unique identifier for the environment",
87439
+ "type": {
87440
+ "kind": "SCALAR",
87441
+ "name": "UUID",
87442
+ "ofType": null
87443
+ },
87444
+ "defaultValue": null,
87445
+ "isDeprecated": false,
87446
+ "deprecationReason": null
87447
+ },
87448
+ {
87449
+ "name": "expireAt",
87450
+ "description": "The expiration date of the credit grant",
87451
+ "type": {
87452
+ "kind": "SCALAR",
87453
+ "name": "DateTime",
87454
+ "ofType": null
87455
+ },
87456
+ "defaultValue": null,
87457
+ "isDeprecated": false,
87458
+ "deprecationReason": null
87459
+ },
87460
+ {
87461
+ "name": "id",
87462
+ "description": "The unique identifier for the credit grant",
87463
+ "type": {
87464
+ "kind": "NON_NULL",
87465
+ "name": null,
87466
+ "ofType": {
87467
+ "kind": "SCALAR",
87468
+ "name": "UUID",
87469
+ "ofType": null
87470
+ }
87471
+ },
87472
+ "defaultValue": null,
87473
+ "isDeprecated": false,
87474
+ "deprecationReason": null
87475
+ },
87476
+ {
87477
+ "name": "priority",
87478
+ "description": "The priority of the credit grant",
87479
+ "type": {
87480
+ "kind": "SCALAR",
87481
+ "name": "Float",
87482
+ "ofType": null
87483
+ },
87484
+ "defaultValue": null,
87485
+ "isDeprecated": false,
87486
+ "deprecationReason": null
87487
+ }
87488
+ ],
87489
+ "interfaces": null,
87490
+ "enumValues": null,
87491
+ "possibleTypes": null
87492
+ },
87493
+ {
87494
+ "kind": "INPUT_OBJECT",
87495
+ "name": "UpdateCustomCurrencyInput",
87496
+ "description": "Input for updating a custom currency",
87497
+ "fields": null,
87498
+ "inputFields": [
87499
+ {
87500
+ "name": "additionalMetaData",
87501
+ "description": "Metadata associated with the entity",
87502
+ "type": {
87503
+ "kind": "SCALAR",
87504
+ "name": "JSON",
87505
+ "ofType": null
87506
+ },
87507
+ "defaultValue": null,
87508
+ "isDeprecated": false,
87509
+ "deprecationReason": null
87510
+ },
87511
+ {
87512
+ "name": "currencyId",
87513
+ "description": "The unique identifier for the custom currency",
87514
+ "type": {
87515
+ "kind": "NON_NULL",
87516
+ "name": null,
87517
+ "ofType": {
87518
+ "kind": "SCALAR",
87519
+ "name": "String",
87520
+ "ofType": null
87521
+ }
87522
+ },
87523
+ "defaultValue": null,
87524
+ "isDeprecated": false,
87525
+ "deprecationReason": null
87526
+ },
87527
+ {
87528
+ "name": "displayName",
87529
+ "description": "The name of the custom currency",
87530
+ "type": {
87531
+ "kind": "SCALAR",
87532
+ "name": "String",
87533
+ "ofType": null
87534
+ },
87535
+ "defaultValue": null,
87536
+ "isDeprecated": false,
87537
+ "deprecationReason": null
87538
+ },
87539
+ {
87540
+ "name": "environmentId",
87541
+ "description": "The unique identifier for the environment",
87542
+ "type": {
87543
+ "kind": "SCALAR",
87544
+ "name": "UUID",
87545
+ "ofType": null
87546
+ },
87547
+ "defaultValue": null,
87548
+ "isDeprecated": false,
87549
+ "deprecationReason": null
87550
+ },
87551
+ {
87552
+ "name": "symbol",
87553
+ "description": "The symbol of the custom currency",
87554
+ "type": {
87555
+ "kind": "SCALAR",
87556
+ "name": "String",
87557
+ "ofType": null
87558
+ },
87559
+ "defaultValue": null,
87560
+ "isDeprecated": false,
87561
+ "deprecationReason": null
87562
+ }
87563
+ ],
87564
+ "interfaces": null,
87565
+ "enumValues": null,
87566
+ "possibleTypes": null
87567
+ },
86404
87568
  {
86405
87569
  "kind": "INPUT_OBJECT",
86406
87570
  "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.503.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.503.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-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient