stigg-api-client 5.233.0 → 5.237.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: 63f80e71bc669214b91d5b274737da68e87a51002aa7f24849864af44a906f52
4
- data.tar.gz: 8a321a3dfb3452bcfde0f6ae14547de118564749e506c64de296caac581d96e2
3
+ metadata.gz: 1cce2588791ac83dd37972cb29aea3038de715a7c6f7386ed1ad7b910980cf30
4
+ data.tar.gz: eba984f804e1ef72e2426b97dbec497bb3ef066a9e13e62c38e34de6aab1671e
5
5
  SHA512:
6
- metadata.gz: 4cee0c9f229b77185cff10b2ce356cbbbf127ee83e7a1be8cbf68b0d3982c5bc010eaf00e058a000924022ce422d89aacb591c8fb9a6d75245e3d4bb895771ad
7
- data.tar.gz: 40ec7a252164f2e49a79aa1c805111827049e1d46d010444530d805d191e871a1ab1219ff774f3aa0b5ac3353254eba59296f69058963d024f1cf9ddf66a13e9
6
+ metadata.gz: ff9780d1a758ea6b6e2b8b2956e9ef08805c99fc75267b31f68c1120a24f17bd14443cdad0800de8dc61e8f5478891ec9de7357f11af265e92e43e4c1bc23386
7
+ data.tar.gz: 5d40a417f6df13f1e5c20d91ffcded96e9376f97981d28f24902c81edfc26e0e789c11d68e78c6bc076beea1a1fcbc7789193b1a3f25a18e6ca9307f5bf54180
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (5.233.0)
4
+ stigg-api-client (5.237.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -5113,6 +5113,26 @@
5113
5113
  "isDeprecated": false,
5114
5114
  "deprecationReason": null
5115
5115
  },
5116
+ {
5117
+ "name": "entitlements",
5118
+ "description": null,
5119
+ "type": {
5120
+ "kind": "LIST",
5121
+ "name": null,
5122
+ "ofType": {
5123
+ "kind": "NON_NULL",
5124
+ "name": null,
5125
+ "ofType": {
5126
+ "kind": "INPUT_OBJECT",
5127
+ "name": "SubscriptionEntitlementInputV2",
5128
+ "ofType": null
5129
+ }
5130
+ }
5131
+ },
5132
+ "defaultValue": null,
5133
+ "isDeprecated": false,
5134
+ "deprecationReason": null
5135
+ },
5116
5136
  {
5117
5137
  "name": "environmentId",
5118
5138
  "description": "The unique identifier for the environment",
@@ -24289,6 +24309,26 @@
24289
24309
  "isDeprecated": false,
24290
24310
  "deprecationReason": null
24291
24311
  },
24312
+ {
24313
+ "name": "entitlements",
24314
+ "description": "The list of entitlements (feature and credit) associated with the subscription",
24315
+ "args": [],
24316
+ "type": {
24317
+ "kind": "LIST",
24318
+ "name": null,
24319
+ "ofType": {
24320
+ "kind": "NON_NULL",
24321
+ "name": null,
24322
+ "ofType": {
24323
+ "kind": "UNION",
24324
+ "name": "SubscriptionEntitlementUnion",
24325
+ "ofType": null
24326
+ }
24327
+ }
24328
+ },
24329
+ "isDeprecated": false,
24330
+ "deprecationReason": null
24331
+ },
24292
24332
  {
24293
24333
  "name": "environment",
24294
24334
  "description": null,
@@ -24776,8 +24816,8 @@
24776
24816
  }
24777
24817
  }
24778
24818
  },
24779
- "isDeprecated": false,
24780
- "deprecationReason": null
24819
+ "isDeprecated": true,
24820
+ "deprecationReason": "Use entitlements field instead which returns both feature and credit entitlements"
24781
24821
  },
24782
24822
  {
24783
24823
  "name": "subscriptionId",
@@ -39111,6 +39151,89 @@
39111
39151
  "enumValues": null,
39112
39152
  "possibleTypes": null
39113
39153
  },
39154
+ {
39155
+ "kind": "OBJECT",
39156
+ "name": "FeatureDependency",
39157
+ "description": "Feature dependency information",
39158
+ "fields": [
39159
+ {
39160
+ "name": "description",
39161
+ "description": "The description for the feature",
39162
+ "args": [],
39163
+ "type": {
39164
+ "kind": "SCALAR",
39165
+ "name": "String",
39166
+ "ofType": null
39167
+ },
39168
+ "isDeprecated": false,
39169
+ "deprecationReason": null
39170
+ },
39171
+ {
39172
+ "name": "displayName",
39173
+ "description": "The display name for the feature",
39174
+ "args": [],
39175
+ "type": {
39176
+ "kind": "NON_NULL",
39177
+ "name": null,
39178
+ "ofType": {
39179
+ "kind": "SCALAR",
39180
+ "name": "String",
39181
+ "ofType": null
39182
+ }
39183
+ },
39184
+ "isDeprecated": false,
39185
+ "deprecationReason": null
39186
+ },
39187
+ {
39188
+ "name": "featureType",
39189
+ "description": "The type of the feature",
39190
+ "args": [],
39191
+ "type": {
39192
+ "kind": "NON_NULL",
39193
+ "name": null,
39194
+ "ofType": {
39195
+ "kind": "ENUM",
39196
+ "name": "FeatureType",
39197
+ "ofType": null
39198
+ }
39199
+ },
39200
+ "isDeprecated": false,
39201
+ "deprecationReason": null
39202
+ },
39203
+ {
39204
+ "name": "featureUnits",
39205
+ "description": "The units for the feature",
39206
+ "args": [],
39207
+ "type": {
39208
+ "kind": "SCALAR",
39209
+ "name": "String",
39210
+ "ofType": null
39211
+ },
39212
+ "isDeprecated": false,
39213
+ "deprecationReason": null
39214
+ },
39215
+ {
39216
+ "name": "refId",
39217
+ "description": "The unique identifier for the feature",
39218
+ "args": [],
39219
+ "type": {
39220
+ "kind": "NON_NULL",
39221
+ "name": null,
39222
+ "ofType": {
39223
+ "kind": "SCALAR",
39224
+ "name": "String",
39225
+ "ofType": null
39226
+ }
39227
+ },
39228
+ "isDeprecated": false,
39229
+ "deprecationReason": null
39230
+ }
39231
+ ],
39232
+ "inputFields": null,
39233
+ "interfaces": [],
39234
+ "enumValues": null,
39235
+ "possibleTypes": null
39236
+ },
39114
39237
  {
39115
39238
  "kind": "OBJECT",
39116
39239
  "name": "FeatureEdge",
@@ -58949,6 +59072,18 @@
58949
59072
  "isDeprecated": false,
58950
59073
  "deprecationReason": null
58951
59074
  },
59075
+ {
59076
+ "name": "dependencyFeatureId",
59077
+ "description": "The feature ID this entitlement depends on (credit entitlements only). The entitlement value will be calculated as: base amount × dependency feature usage limit",
59078
+ "type": {
59079
+ "kind": "SCALAR",
59080
+ "name": "String",
59081
+ "ofType": null
59082
+ },
59083
+ "defaultValue": null,
59084
+ "isDeprecated": false,
59085
+ "deprecationReason": null
59086
+ },
58952
59087
  {
58953
59088
  "name": "description",
58954
59089
  "description": "The description of the entitlement",
@@ -59641,13 +59776,9 @@
59641
59776
  "description": "The amount of credits",
59642
59777
  "args": [],
59643
59778
  "type": {
59644
- "kind": "NON_NULL",
59645
- "name": null,
59646
- "ofType": {
59647
- "kind": "SCALAR",
59648
- "name": "Float",
59649
- "ofType": null
59650
- }
59779
+ "kind": "SCALAR",
59780
+ "name": "Float",
59781
+ "ofType": null
59651
59782
  },
59652
59783
  "isDeprecated": false,
59653
59784
  "deprecationReason": null
@@ -59728,6 +59859,18 @@
59728
59859
  "isDeprecated": false,
59729
59860
  "deprecationReason": null
59730
59861
  },
59862
+ {
59863
+ "name": "dependency",
59864
+ "description": "The feature dependency information for this entitlement (credit entitlements only). The entitlement value will be calculated based on the dependency feature usage limit",
59865
+ "args": [],
59866
+ "type": {
59867
+ "kind": "OBJECT",
59868
+ "name": "FeatureDependency",
59869
+ "ofType": null
59870
+ },
59871
+ "isDeprecated": false,
59872
+ "deprecationReason": null
59873
+ },
59731
59874
  {
59732
59875
  "name": "description",
59733
59876
  "description": "The description of the entitlement",
@@ -60132,13 +60275,9 @@
60132
60275
  "name": "amount",
60133
60276
  "description": "The amount of credits",
60134
60277
  "type": {
60135
- "kind": "NON_NULL",
60136
- "name": null,
60137
- "ofType": {
60138
- "kind": "SCALAR",
60139
- "name": "Float",
60140
- "ofType": null
60141
- }
60278
+ "kind": "SCALAR",
60279
+ "name": "Float",
60280
+ "ofType": null
60142
60281
  },
60143
60282
  "defaultValue": null,
60144
60283
  "isDeprecated": false,
@@ -60188,6 +60327,18 @@
60188
60327
  "isDeprecated": false,
60189
60328
  "deprecationReason": null
60190
60329
  },
60330
+ {
60331
+ "name": "dependencyFeatureId",
60332
+ "description": "The feature ID this entitlement depends on (credit entitlements only). The entitlement value will be calculated as: base amount × dependency feature usage limit",
60333
+ "type": {
60334
+ "kind": "SCALAR",
60335
+ "name": "String",
60336
+ "ofType": null
60337
+ },
60338
+ "defaultValue": null,
60339
+ "isDeprecated": false,
60340
+ "deprecationReason": null
60341
+ },
60191
60342
  {
60192
60343
  "name": "description",
60193
60344
  "description": "The description of the entitlement",
@@ -60457,6 +60608,18 @@
60457
60608
  "isDeprecated": false,
60458
60609
  "deprecationReason": null
60459
60610
  },
60611
+ {
60612
+ "name": "dependencyFeatureId",
60613
+ "description": "The feature ID this entitlement depends on (credit entitlements only). The entitlement value will be calculated as: base amount × dependency feature usage limit",
60614
+ "type": {
60615
+ "kind": "SCALAR",
60616
+ "name": "String",
60617
+ "ofType": null
60618
+ },
60619
+ "defaultValue": null,
60620
+ "isDeprecated": false,
60621
+ "deprecationReason": null
60622
+ },
60460
60623
  {
60461
60624
  "name": "description",
60462
60625
  "description": "The description of the entitlement",
@@ -61622,6 +61785,18 @@
61622
61785
  "isDeprecated": false,
61623
61786
  "deprecationReason": null
61624
61787
  },
61788
+ {
61789
+ "name": "dependency",
61790
+ "description": "The feature dependency information for this entitlement (credit entitlements only). The entitlement value will be calculated based on the dependency feature usage limit",
61791
+ "args": [],
61792
+ "type": {
61793
+ "kind": "OBJECT",
61794
+ "name": "FeatureDependency",
61795
+ "ofType": null
61796
+ },
61797
+ "isDeprecated": false,
61798
+ "deprecationReason": null
61799
+ },
61625
61800
  {
61626
61801
  "name": "description",
61627
61802
  "description": "The description of the entitlement",
@@ -63094,6 +63269,18 @@
63094
63269
  "isDeprecated": false,
63095
63270
  "deprecationReason": null
63096
63271
  },
63272
+ {
63273
+ "name": "dependencyFeatureId",
63274
+ "description": "The feature ID this entitlement depends on (credit entitlements only). The entitlement value will be calculated as: base amount × dependency feature usage limit",
63275
+ "type": {
63276
+ "kind": "SCALAR",
63277
+ "name": "String",
63278
+ "ofType": null
63279
+ },
63280
+ "defaultValue": null,
63281
+ "isDeprecated": false,
63282
+ "deprecationReason": null
63283
+ },
63097
63284
  {
63098
63285
  "name": "description",
63099
63286
  "description": "The description of the entitlement",
@@ -63842,6 +64029,18 @@
63842
64029
  "isDeprecated": false,
63843
64030
  "deprecationReason": null
63844
64031
  },
64032
+ {
64033
+ "name": "dependency",
64034
+ "description": "The feature dependency information for this entitlement (credit entitlements only). The entitlement value will be calculated based on the dependency feature usage limit",
64035
+ "args": [],
64036
+ "type": {
64037
+ "kind": "OBJECT",
64038
+ "name": "FeatureDependency",
64039
+ "ofType": null
64040
+ },
64041
+ "isDeprecated": false,
64042
+ "deprecationReason": null
64043
+ },
63845
64044
  {
63846
64045
  "name": "description",
63847
64046
  "description": "The description of the entitlement",
@@ -64418,6 +64617,18 @@
64418
64617
  "isDeprecated": false,
64419
64618
  "deprecationReason": null
64420
64619
  },
64620
+ {
64621
+ "name": "dependencyFeatureId",
64622
+ "description": "The feature ID this entitlement depends on (credit entitlements only). The entitlement value will be calculated as: base amount × dependency feature usage limit",
64623
+ "type": {
64624
+ "kind": "SCALAR",
64625
+ "name": "String",
64626
+ "ofType": null
64627
+ },
64628
+ "defaultValue": null,
64629
+ "isDeprecated": false,
64630
+ "deprecationReason": null
64631
+ },
64421
64632
  {
64422
64633
  "name": "description",
64423
64634
  "description": "The description of the entitlement",
@@ -64795,6 +65006,18 @@
64795
65006
  "isDeprecated": false,
64796
65007
  "deprecationReason": null
64797
65008
  },
65009
+ {
65010
+ "name": "dependencyFeatureId",
65011
+ "description": "The feature ID this entitlement depends on (credit entitlements only). The entitlement value will be calculated as: base amount × dependency feature usage limit",
65012
+ "type": {
65013
+ "kind": "SCALAR",
65014
+ "name": "String",
65015
+ "ofType": null
65016
+ },
65017
+ "defaultValue": null,
65018
+ "isDeprecated": false,
65019
+ "deprecationReason": null
65020
+ },
64798
65021
  {
64799
65022
  "name": "description",
64800
65023
  "description": "The description of the entitlement",
@@ -80685,6 +80908,26 @@
80685
80908
  "isDeprecated": false,
80686
80909
  "deprecationReason": null
80687
80910
  },
80911
+ {
80912
+ "name": "entitlements",
80913
+ "description": null,
80914
+ "type": {
80915
+ "kind": "LIST",
80916
+ "name": null,
80917
+ "ofType": {
80918
+ "kind": "NON_NULL",
80919
+ "name": null,
80920
+ "ofType": {
80921
+ "kind": "INPUT_OBJECT",
80922
+ "name": "SubscriptionEntitlementInputV2",
80923
+ "ofType": null
80924
+ }
80925
+ }
80926
+ },
80927
+ "defaultValue": null,
80928
+ "isDeprecated": false,
80929
+ "deprecationReason": null
80930
+ },
80688
80931
  {
80689
80932
  "name": "minimumSpend",
80690
80933
  "description": "The minimum spend configuration",
@@ -81111,6 +81354,26 @@
81111
81354
  "isDeprecated": false,
81112
81355
  "deprecationReason": null
81113
81356
  },
81357
+ {
81358
+ "name": "entitlements",
81359
+ "description": null,
81360
+ "type": {
81361
+ "kind": "LIST",
81362
+ "name": null,
81363
+ "ofType": {
81364
+ "kind": "NON_NULL",
81365
+ "name": null,
81366
+ "ofType": {
81367
+ "kind": "INPUT_OBJECT",
81368
+ "name": "SubscriptionEntitlementInputV2",
81369
+ "ofType": null
81370
+ }
81371
+ }
81372
+ },
81373
+ "defaultValue": null,
81374
+ "isDeprecated": false,
81375
+ "deprecationReason": null
81376
+ },
81114
81377
  {
81115
81378
  "name": "minimumSpend",
81116
81379
  "description": "The minimum spend configuration",
@@ -81530,6 +81793,26 @@
81530
81793
  "isDeprecated": false,
81531
81794
  "deprecationReason": null
81532
81795
  },
81796
+ {
81797
+ "name": "entitlements",
81798
+ "description": null,
81799
+ "type": {
81800
+ "kind": "LIST",
81801
+ "name": null,
81802
+ "ofType": {
81803
+ "kind": "NON_NULL",
81804
+ "name": null,
81805
+ "ofType": {
81806
+ "kind": "INPUT_OBJECT",
81807
+ "name": "SubscriptionEntitlementInputV2",
81808
+ "ofType": null
81809
+ }
81810
+ }
81811
+ },
81812
+ "defaultValue": null,
81813
+ "isDeprecated": false,
81814
+ "deprecationReason": null
81815
+ },
81533
81816
  {
81534
81817
  "name": "minimumSpend",
81535
81818
  "description": "The minimum spend configuration",
@@ -92192,6 +92475,224 @@
92192
92475
  ],
92193
92476
  "possibleTypes": null
92194
92477
  },
92478
+ {
92479
+ "kind": "OBJECT",
92480
+ "name": "SubscriptionCreditEntitlement",
92481
+ "description": "Subscription credit entitlement",
92482
+ "fields": [
92483
+ {
92484
+ "name": "amount",
92485
+ "description": "The amount of credits",
92486
+ "args": [],
92487
+ "type": {
92488
+ "kind": "NON_NULL",
92489
+ "name": null,
92490
+ "ofType": {
92491
+ "kind": "SCALAR",
92492
+ "name": "Float",
92493
+ "ofType": null
92494
+ }
92495
+ },
92496
+ "isDeprecated": false,
92497
+ "deprecationReason": null
92498
+ },
92499
+ {
92500
+ "name": "cadence",
92501
+ "description": "The cadence of the credit entitlement",
92502
+ "args": [],
92503
+ "type": {
92504
+ "kind": "NON_NULL",
92505
+ "name": null,
92506
+ "ofType": {
92507
+ "kind": "ENUM",
92508
+ "name": "CreditCadence",
92509
+ "ofType": null
92510
+ }
92511
+ },
92512
+ "isDeprecated": false,
92513
+ "deprecationReason": null
92514
+ },
92515
+ {
92516
+ "name": "createdAt",
92517
+ "description": "Timestamp of when the record was created",
92518
+ "args": [],
92519
+ "type": {
92520
+ "kind": "SCALAR",
92521
+ "name": "DateTime",
92522
+ "ofType": null
92523
+ },
92524
+ "isDeprecated": false,
92525
+ "deprecationReason": null
92526
+ },
92527
+ {
92528
+ "name": "customCurrency",
92529
+ "description": "The custom currency associated with this credit entitlement",
92530
+ "args": [],
92531
+ "type": {
92532
+ "kind": "NON_NULL",
92533
+ "name": null,
92534
+ "ofType": {
92535
+ "kind": "OBJECT",
92536
+ "name": "CustomCurrency",
92537
+ "ofType": null
92538
+ }
92539
+ },
92540
+ "isDeprecated": false,
92541
+ "deprecationReason": null
92542
+ },
92543
+ {
92544
+ "name": "customCurrencyId",
92545
+ "description": "The unique identifier of the custom currency",
92546
+ "args": [],
92547
+ "type": {
92548
+ "kind": "NON_NULL",
92549
+ "name": null,
92550
+ "ofType": {
92551
+ "kind": "SCALAR",
92552
+ "name": "String",
92553
+ "ofType": null
92554
+ }
92555
+ },
92556
+ "isDeprecated": false,
92557
+ "deprecationReason": null
92558
+ },
92559
+ {
92560
+ "name": "description",
92561
+ "description": "Subscription entitlement",
92562
+ "args": [],
92563
+ "type": {
92564
+ "kind": "SCALAR",
92565
+ "name": "String",
92566
+ "ofType": null
92567
+ },
92568
+ "isDeprecated": false,
92569
+ "deprecationReason": null
92570
+ },
92571
+ {
92572
+ "name": "environmentId",
92573
+ "description": "The unique identifier for the environment",
92574
+ "args": [],
92575
+ "type": {
92576
+ "kind": "NON_NULL",
92577
+ "name": null,
92578
+ "ofType": {
92579
+ "kind": "SCALAR",
92580
+ "name": "UUID",
92581
+ "ofType": null
92582
+ }
92583
+ },
92584
+ "isDeprecated": false,
92585
+ "deprecationReason": null
92586
+ },
92587
+ {
92588
+ "name": "id",
92589
+ "description": null,
92590
+ "args": [],
92591
+ "type": {
92592
+ "kind": "NON_NULL",
92593
+ "name": null,
92594
+ "ofType": {
92595
+ "kind": "SCALAR",
92596
+ "name": "UUID",
92597
+ "ofType": null
92598
+ }
92599
+ },
92600
+ "isDeprecated": false,
92601
+ "deprecationReason": null
92602
+ },
92603
+ {
92604
+ "name": "subscriptionId",
92605
+ "description": "The unique identifier of the subscription",
92606
+ "args": [],
92607
+ "type": {
92608
+ "kind": "NON_NULL",
92609
+ "name": null,
92610
+ "ofType": {
92611
+ "kind": "SCALAR",
92612
+ "name": "String",
92613
+ "ofType": null
92614
+ }
92615
+ },
92616
+ "isDeprecated": false,
92617
+ "deprecationReason": null
92618
+ },
92619
+ {
92620
+ "name": "updatedAt",
92621
+ "description": "Timestamp of when the record was last updated",
92622
+ "args": [],
92623
+ "type": {
92624
+ "kind": "SCALAR",
92625
+ "name": "DateTime",
92626
+ "ofType": null
92627
+ },
92628
+ "isDeprecated": false,
92629
+ "deprecationReason": null
92630
+ }
92631
+ ],
92632
+ "inputFields": null,
92633
+ "interfaces": [],
92634
+ "enumValues": null,
92635
+ "possibleTypes": null
92636
+ },
92637
+ {
92638
+ "kind": "INPUT_OBJECT",
92639
+ "name": "SubscriptionCreditEntitlementInput",
92640
+ "description": "Subscription credit entitlement input",
92641
+ "fields": null,
92642
+ "inputFields": [
92643
+ {
92644
+ "name": "amount",
92645
+ "description": "The amount of credits",
92646
+ "type": {
92647
+ "kind": "NON_NULL",
92648
+ "name": null,
92649
+ "ofType": {
92650
+ "kind": "SCALAR",
92651
+ "name": "Float",
92652
+ "ofType": null
92653
+ }
92654
+ },
92655
+ "defaultValue": null,
92656
+ "isDeprecated": false,
92657
+ "deprecationReason": null
92658
+ },
92659
+ {
92660
+ "name": "cadence",
92661
+ "description": "The cadence of the credit entitlement",
92662
+ "type": {
92663
+ "kind": "NON_NULL",
92664
+ "name": null,
92665
+ "ofType": {
92666
+ "kind": "ENUM",
92667
+ "name": "CreditCadence",
92668
+ "ofType": null
92669
+ }
92670
+ },
92671
+ "defaultValue": null,
92672
+ "isDeprecated": false,
92673
+ "deprecationReason": null
92674
+ },
92675
+ {
92676
+ "name": "customCurrencyId",
92677
+ "description": "The unique identifier of the custom currency",
92678
+ "type": {
92679
+ "kind": "NON_NULL",
92680
+ "name": null,
92681
+ "ofType": {
92682
+ "kind": "SCALAR",
92683
+ "name": "String",
92684
+ "ofType": null
92685
+ }
92686
+ },
92687
+ "defaultValue": null,
92688
+ "isDeprecated": false,
92689
+ "deprecationReason": null
92690
+ }
92691
+ ],
92692
+ "interfaces": null,
92693
+ "enumValues": null,
92694
+ "possibleTypes": null
92695
+ },
92195
92696
  {
92196
92697
  "kind": "ENUM",
92197
92698
  "name": "SubscriptionDecisionStrategy",
@@ -93481,6 +93982,41 @@
93481
93982
  "enumValues": null,
93482
93983
  "possibleTypes": null
93483
93984
  },
93985
+ {
93986
+ "kind": "INPUT_OBJECT",
93987
+ "name": "SubscriptionEntitlementInputV2",
93988
+ "description": "Subscription entitlement input (supports feature and credit types)",
93989
+ "fields": null,
93990
+ "inputFields": [
93991
+ {
93992
+ "name": "credit",
93993
+ "description": "Subscription credit entitlement input",
93994
+ "type": {
93995
+ "kind": "INPUT_OBJECT",
93996
+ "name": "SubscriptionCreditEntitlementInput",
93997
+ "ofType": null
93998
+ },
93999
+ "defaultValue": null,
94000
+ "isDeprecated": false,
94001
+ "deprecationReason": null
94002
+ },
94003
+ {
94004
+ "name": "feature",
94005
+ "description": "Subscription feature entitlement input",
94006
+ "type": {
94007
+ "kind": "INPUT_OBJECT",
94008
+ "name": "SubscriptionFeatureEntitlementInput",
94009
+ "ofType": null
94010
+ },
94011
+ "defaultValue": null,
94012
+ "isDeprecated": false,
94013
+ "deprecationReason": null
94014
+ }
94015
+ ],
94016
+ "interfaces": null,
94017
+ "enumValues": null,
94018
+ "possibleTypes": null
94019
+ },
93484
94020
  {
93485
94021
  "kind": "OBJECT",
93486
94022
  "name": "SubscriptionEntitlementMaxAggregate",
@@ -93719,6 +94255,429 @@
93719
94255
  ],
93720
94256
  "possibleTypes": null
93721
94257
  },
94258
+ {
94259
+ "kind": "UNION",
94260
+ "name": "SubscriptionEntitlementUnion",
94261
+ "description": null,
94262
+ "fields": null,
94263
+ "inputFields": null,
94264
+ "interfaces": null,
94265
+ "enumValues": null,
94266
+ "possibleTypes": [
94267
+ {
94268
+ "kind": "OBJECT",
94269
+ "name": "SubscriptionCreditEntitlement",
94270
+ "ofType": null
94271
+ },
94272
+ {
94273
+ "kind": "OBJECT",
94274
+ "name": "SubscriptionFeatureEntitlement",
94275
+ "ofType": null
94276
+ }
94277
+ ]
94278
+ },
94279
+ {
94280
+ "kind": "OBJECT",
94281
+ "name": "SubscriptionFeatureEntitlement",
94282
+ "description": "Subscription feature entitlement",
94283
+ "fields": [
94284
+ {
94285
+ "name": "createdAt",
94286
+ "description": "Timestamp of when the record was created",
94287
+ "args": [],
94288
+ "type": {
94289
+ "kind": "SCALAR",
94290
+ "name": "DateTime",
94291
+ "ofType": null
94292
+ },
94293
+ "isDeprecated": false,
94294
+ "deprecationReason": null
94295
+ },
94296
+ {
94297
+ "name": "description",
94298
+ "description": "Subscription entitlement",
94299
+ "args": [],
94300
+ "type": {
94301
+ "kind": "SCALAR",
94302
+ "name": "String",
94303
+ "ofType": null
94304
+ },
94305
+ "isDeprecated": false,
94306
+ "deprecationReason": null
94307
+ },
94308
+ {
94309
+ "name": "enumValues",
94310
+ "description": "The enum values of the entitlement",
94311
+ "args": [],
94312
+ "type": {
94313
+ "kind": "LIST",
94314
+ "name": null,
94315
+ "ofType": {
94316
+ "kind": "NON_NULL",
94317
+ "name": null,
94318
+ "ofType": {
94319
+ "kind": "SCALAR",
94320
+ "name": "String",
94321
+ "ofType": null
94322
+ }
94323
+ }
94324
+ },
94325
+ "isDeprecated": false,
94326
+ "deprecationReason": null
94327
+ },
94328
+ {
94329
+ "name": "environmentId",
94330
+ "description": "The unique identifier for the environment",
94331
+ "args": [],
94332
+ "type": {
94333
+ "kind": "NON_NULL",
94334
+ "name": null,
94335
+ "ofType": {
94336
+ "kind": "SCALAR",
94337
+ "name": "UUID",
94338
+ "ofType": null
94339
+ }
94340
+ },
94341
+ "isDeprecated": false,
94342
+ "deprecationReason": null
94343
+ },
94344
+ {
94345
+ "name": "feature",
94346
+ "description": "The feature this entitlement corresponds to.",
94347
+ "args": [],
94348
+ "type": {
94349
+ "kind": "NON_NULL",
94350
+ "name": null,
94351
+ "ofType": {
94352
+ "kind": "OBJECT",
94353
+ "name": "Feature",
94354
+ "ofType": null
94355
+ }
94356
+ },
94357
+ "isDeprecated": false,
94358
+ "deprecationReason": null
94359
+ },
94360
+ {
94361
+ "name": "featureGroupIds",
94362
+ "description": "Feature group IDs associated with this entitlement",
94363
+ "args": [],
94364
+ "type": {
94365
+ "kind": "LIST",
94366
+ "name": null,
94367
+ "ofType": {
94368
+ "kind": "NON_NULL",
94369
+ "name": null,
94370
+ "ofType": {
94371
+ "kind": "SCALAR",
94372
+ "name": "String",
94373
+ "ofType": null
94374
+ }
94375
+ }
94376
+ },
94377
+ "isDeprecated": false,
94378
+ "deprecationReason": null
94379
+ },
94380
+ {
94381
+ "name": "featureGroups",
94382
+ "description": "Feature groups associated with this entitlement",
94383
+ "args": [],
94384
+ "type": {
94385
+ "kind": "LIST",
94386
+ "name": null,
94387
+ "ofType": {
94388
+ "kind": "NON_NULL",
94389
+ "name": null,
94390
+ "ofType": {
94391
+ "kind": "OBJECT",
94392
+ "name": "FeatureGroup",
94393
+ "ofType": null
94394
+ }
94395
+ }
94396
+ },
94397
+ "isDeprecated": false,
94398
+ "deprecationReason": null
94399
+ },
94400
+ {
94401
+ "name": "featureId",
94402
+ "description": "The unique identifier of the entitlement feature",
94403
+ "args": [],
94404
+ "type": {
94405
+ "kind": "NON_NULL",
94406
+ "name": null,
94407
+ "ofType": {
94408
+ "kind": "SCALAR",
94409
+ "name": "String",
94410
+ "ofType": null
94411
+ }
94412
+ },
94413
+ "isDeprecated": false,
94414
+ "deprecationReason": null
94415
+ },
94416
+ {
94417
+ "name": "hasSoftLimit",
94418
+ "description": "Whether the entitlement has a soft limit",
94419
+ "args": [],
94420
+ "type": {
94421
+ "kind": "SCALAR",
94422
+ "name": "Boolean",
94423
+ "ofType": null
94424
+ },
94425
+ "isDeprecated": false,
94426
+ "deprecationReason": null
94427
+ },
94428
+ {
94429
+ "name": "hasUnlimitedUsage",
94430
+ "description": "Whether the entitlement has an unlimited usage",
94431
+ "args": [],
94432
+ "type": {
94433
+ "kind": "SCALAR",
94434
+ "name": "Boolean",
94435
+ "ofType": null
94436
+ },
94437
+ "isDeprecated": false,
94438
+ "deprecationReason": null
94439
+ },
94440
+ {
94441
+ "name": "id",
94442
+ "description": null,
94443
+ "args": [],
94444
+ "type": {
94445
+ "kind": "NON_NULL",
94446
+ "name": null,
94447
+ "ofType": {
94448
+ "kind": "SCALAR",
94449
+ "name": "UUID",
94450
+ "ofType": null
94451
+ }
94452
+ },
94453
+ "isDeprecated": false,
94454
+ "deprecationReason": null
94455
+ },
94456
+ {
94457
+ "name": "meter",
94458
+ "description": "The meter configuration used to track and measure usage for this entitlement",
94459
+ "args": [],
94460
+ "type": {
94461
+ "kind": "OBJECT",
94462
+ "name": "Meter",
94463
+ "ofType": null
94464
+ },
94465
+ "isDeprecated": false,
94466
+ "deprecationReason": null
94467
+ },
94468
+ {
94469
+ "name": "resetPeriod",
94470
+ "description": "The reset period of the entitlement",
94471
+ "args": [],
94472
+ "type": {
94473
+ "kind": "ENUM",
94474
+ "name": "EntitlementResetPeriod",
94475
+ "ofType": null
94476
+ },
94477
+ "isDeprecated": false,
94478
+ "deprecationReason": null
94479
+ },
94480
+ {
94481
+ "name": "resetPeriodConfiguration",
94482
+ "description": "The reset period configuration of the entitlement",
94483
+ "args": [],
94484
+ "type": {
94485
+ "kind": "UNION",
94486
+ "name": "ResetPeriodConfiguration",
94487
+ "ofType": null
94488
+ },
94489
+ "isDeprecated": false,
94490
+ "deprecationReason": null
94491
+ },
94492
+ {
94493
+ "name": "subscriptionId",
94494
+ "description": "The unique identifier of the subscription",
94495
+ "args": [],
94496
+ "type": {
94497
+ "kind": "NON_NULL",
94498
+ "name": null,
94499
+ "ofType": {
94500
+ "kind": "SCALAR",
94501
+ "name": "String",
94502
+ "ofType": null
94503
+ }
94504
+ },
94505
+ "isDeprecated": false,
94506
+ "deprecationReason": null
94507
+ },
94508
+ {
94509
+ "name": "updatedAt",
94510
+ "description": "Timestamp of when the record was last updated",
94511
+ "args": [],
94512
+ "type": {
94513
+ "kind": "SCALAR",
94514
+ "name": "DateTime",
94515
+ "ofType": null
94516
+ },
94517
+ "isDeprecated": false,
94518
+ "deprecationReason": null
94519
+ },
94520
+ {
94521
+ "name": "usageLimit",
94522
+ "description": "The usage limit of the entitlement",
94523
+ "args": [],
94524
+ "type": {
94525
+ "kind": "SCALAR",
94526
+ "name": "Float",
94527
+ "ofType": null
94528
+ },
94529
+ "isDeprecated": false,
94530
+ "deprecationReason": null
94531
+ }
94532
+ ],
94533
+ "inputFields": null,
94534
+ "interfaces": [],
94535
+ "enumValues": null,
94536
+ "possibleTypes": null
94537
+ },
94538
+ {
94539
+ "kind": "INPUT_OBJECT",
94540
+ "name": "SubscriptionFeatureEntitlementInput",
94541
+ "description": "Subscription feature entitlement input",
94542
+ "fields": null,
94543
+ "inputFields": [
94544
+ {
94545
+ "name": "enumValues",
94546
+ "description": "The enum values of the entitlement",
94547
+ "type": {
94548
+ "kind": "LIST",
94549
+ "name": null,
94550
+ "ofType": {
94551
+ "kind": "NON_NULL",
94552
+ "name": null,
94553
+ "ofType": {
94554
+ "kind": "SCALAR",
94555
+ "name": "String",
94556
+ "ofType": null
94557
+ }
94558
+ }
94559
+ },
94560
+ "defaultValue": null,
94561
+ "isDeprecated": false,
94562
+ "deprecationReason": null
94563
+ },
94564
+ {
94565
+ "name": "featureGroupId",
94566
+ "description": "Primary feature group ID (first in the array) associated with this entitlement",
94567
+ "type": {
94568
+ "kind": "SCALAR",
94569
+ "name": "UUID",
94570
+ "ofType": null
94571
+ },
94572
+ "defaultValue": null,
94573
+ "isDeprecated": false,
94574
+ "deprecationReason": null
94575
+ },
94576
+ {
94577
+ "name": "featureId",
94578
+ "description": "The unique identifier of the entitlement feature",
94579
+ "type": {
94580
+ "kind": "NON_NULL",
94581
+ "name": null,
94582
+ "ofType": {
94583
+ "kind": "SCALAR",
94584
+ "name": "String",
94585
+ "ofType": null
94586
+ }
94587
+ },
94588
+ "defaultValue": null,
94589
+ "isDeprecated": false,
94590
+ "deprecationReason": null
94591
+ },
94592
+ {
94593
+ "name": "hasSoftLimit",
94594
+ "description": "Whether the entitlement has a soft limit",
94595
+ "type": {
94596
+ "kind": "SCALAR",
94597
+ "name": "Boolean",
94598
+ "ofType": null
94599
+ },
94600
+ "defaultValue": null,
94601
+ "isDeprecated": false,
94602
+ "deprecationReason": null
94603
+ },
94604
+ {
94605
+ "name": "hasUnlimitedUsage",
94606
+ "description": "Whether the entitlement has an unlimited usage",
94607
+ "type": {
94608
+ "kind": "SCALAR",
94609
+ "name": "Boolean",
94610
+ "ofType": null
94611
+ },
94612
+ "defaultValue": null,
94613
+ "isDeprecated": false,
94614
+ "deprecationReason": null
94615
+ },
94616
+ {
94617
+ "name": "monthlyResetPeriodConfiguration",
94618
+ "description": "The monthly reset period configuration of the entitlement, defined when reset period is monthly",
94619
+ "type": {
94620
+ "kind": "INPUT_OBJECT",
94621
+ "name": "MonthlyResetPeriodConfigInput",
94622
+ "ofType": null
94623
+ },
94624
+ "defaultValue": null,
94625
+ "isDeprecated": false,
94626
+ "deprecationReason": null
94627
+ },
94628
+ {
94629
+ "name": "resetPeriod",
94630
+ "description": "The reset period of the entitlement",
94631
+ "type": {
94632
+ "kind": "ENUM",
94633
+ "name": "EntitlementResetPeriod",
94634
+ "ofType": null
94635
+ },
94636
+ "defaultValue": null,
94637
+ "isDeprecated": false,
94638
+ "deprecationReason": null
94639
+ },
94640
+ {
94641
+ "name": "usageLimit",
94642
+ "description": "The usage limit of the entitlement",
94643
+ "type": {
94644
+ "kind": "SCALAR",
94645
+ "name": "Float",
94646
+ "ofType": null
94647
+ },
94648
+ "defaultValue": null,
94649
+ "isDeprecated": false,
94650
+ "deprecationReason": null
94651
+ },
94652
+ {
94653
+ "name": "weeklyResetPeriodConfiguration",
94654
+ "description": "The weekly reset period configuration of the entitlement, defined when reset period is weekly",
94655
+ "type": {
94656
+ "kind": "INPUT_OBJECT",
94657
+ "name": "WeeklyResetPeriodConfigInput",
94658
+ "ofType": null
94659
+ },
94660
+ "defaultValue": null,
94661
+ "isDeprecated": false,
94662
+ "deprecationReason": null
94663
+ },
94664
+ {
94665
+ "name": "yearlyResetPeriodConfiguration",
94666
+ "description": "The yearly reset period configuration of the entitlement, defined when reset period is yearly",
94667
+ "type": {
94668
+ "kind": "INPUT_OBJECT",
94669
+ "name": "YearlyResetPeriodConfigInput",
94670
+ "ofType": null
94671
+ },
94672
+ "defaultValue": null,
94673
+ "isDeprecated": false,
94674
+ "deprecationReason": null
94675
+ }
94676
+ ],
94677
+ "interfaces": null,
94678
+ "enumValues": null,
94679
+ "possibleTypes": null
94680
+ },
93722
94681
  {
93723
94682
  "kind": "OBJECT",
93724
94683
  "name": "SubscriptionFutureUpdate",
@@ -94028,6 +94987,26 @@
94028
94987
  "isDeprecated": false,
94029
94988
  "deprecationReason": null
94030
94989
  },
94990
+ {
94991
+ "name": "entitlements",
94992
+ "description": null,
94993
+ "type": {
94994
+ "kind": "LIST",
94995
+ "name": null,
94996
+ "ofType": {
94997
+ "kind": "NON_NULL",
94998
+ "name": null,
94999
+ "ofType": {
95000
+ "kind": "INPUT_OBJECT",
95001
+ "name": "SubscriptionEntitlementInputV2",
95002
+ "ofType": null
95003
+ }
95004
+ }
95005
+ },
95006
+ "defaultValue": null,
95007
+ "isDeprecated": false,
95008
+ "deprecationReason": null
95009
+ },
94031
95010
  {
94032
95011
  "name": "environmentId",
94033
95012
  "description": null,
@@ -99200,6 +100179,26 @@
99200
100179
  "isDeprecated": false,
99201
100180
  "deprecationReason": null
99202
100181
  },
100182
+ {
100183
+ "name": "entitlements",
100184
+ "description": "The list of entitlements (feature and credit) associated with the subscription",
100185
+ "args": [],
100186
+ "type": {
100187
+ "kind": "LIST",
100188
+ "name": null,
100189
+ "ofType": {
100190
+ "kind": "NON_NULL",
100191
+ "name": null,
100192
+ "ofType": {
100193
+ "kind": "UNION",
100194
+ "name": "SubscriptionEntitlementUnion",
100195
+ "ofType": null
100196
+ }
100197
+ }
100198
+ },
100199
+ "isDeprecated": false,
100200
+ "deprecationReason": null
100201
+ },
99203
100202
  {
99204
100203
  "name": "environment",
99205
100204
  "description": null,
@@ -99584,40 +100583,7 @@
99584
100583
  {
99585
100584
  "name": "subscriptionEntitlements",
99586
100585
  "description": null,
99587
- "args": [
99588
- {
99589
- "name": "filter",
99590
- "description": "Specify to filter the records returned.",
99591
- "type": {
99592
- "kind": "INPUT_OBJECT",
99593
- "name": "SubscriptionEntitlementFilter",
99594
- "ofType": null
99595
- },
99596
- "defaultValue": "{}",
99597
- "isDeprecated": false,
99598
- "deprecationReason": null
99599
- },
99600
- {
99601
- "name": "sorting",
99602
- "description": "Specify to sort results.",
99603
- "type": {
99604
- "kind": "LIST",
99605
- "name": null,
99606
- "ofType": {
99607
- "kind": "NON_NULL",
99608
- "name": null,
99609
- "ofType": {
99610
- "kind": "INPUT_OBJECT",
99611
- "name": "SubscriptionEntitlementSort",
99612
- "ofType": null
99613
- }
99614
- }
99615
- },
99616
- "defaultValue": "[{direction: DESC, field: createdAt}]",
99617
- "isDeprecated": false,
99618
- "deprecationReason": null
99619
- }
99620
- ],
100586
+ "args": [],
99621
100587
  "type": {
99622
100588
  "kind": "LIST",
99623
100589
  "name": null,
@@ -99631,8 +100597,8 @@
99631
100597
  }
99632
100598
  }
99633
100599
  },
99634
- "isDeprecated": false,
99635
- "deprecationReason": null
100600
+ "isDeprecated": true,
100601
+ "deprecationReason": "Use entitlements field instead which returns both feature and credit entitlements"
99636
100602
  },
99637
100603
  {
99638
100604
  "name": "subscriptionId",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "5.233.0"
4
+ VERSION = "5.237.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: 5.233.0
4
+ version: 5.237.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-02-17 00:00:00.000000000 Z
11
+ date: 2026-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient