stigg-api-client 5.237.2 → 5.277.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: c9476cf7fa02a5de3d79fbdd51a47cdf494ebc8d1eab28f39f262c212b75f637
4
- data.tar.gz: 3b2690a6e18d7cd5d34d91f8029e9909aa2395fe8e14e9fca5c21110f64fa256
3
+ metadata.gz: dc80e54fba76486274dff33aeffca218e9bc8355d2cb12114818adc31574bc02
4
+ data.tar.gz: ae39427378f5f26a3aa1ba25d8f5106a3b896358298c5f9c24d800895fa14b39
5
5
  SHA512:
6
- metadata.gz: 7c47d6c9fcfe249a6238979abdbc745465b725d716f087cce4856aa228fb75c6b231e6b795e9f9f4156e20adf3bff6f6a1a14516b2362a487639585a8bae10ca
7
- data.tar.gz: '08826bfcd357cd663b94ad0d50163a74c6735073da358a6e14306f7519f4892e1450ca7335a9746a923fd73160431a1eabcf0a341e746029fe7c9c92a9597f01'
6
+ metadata.gz: 6e81eb201834716e86f60996aef489d30f4acbb77d484f4e41e0bc10c78fb4df0f52ffadd3fb12264eb4c25ff6b3e9fb40aaa9d9cbfdfa807bb8ecb272352688
7
+ data.tar.gz: 9cc551ea9ce73d78e0b24a12f5ffedd389baee695220fd8a329725a5cfecfcf6fb97ec21d2f488f8a86c925a933542bf6e9a206306f89e66e83a86954df6c60e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (5.237.2)
4
+ stigg-api-client (5.277.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -368,7 +368,19 @@ module Stigg
368
368
  cancellationDate
369
369
  effectiveEndDate
370
370
  currentBillingPeriodEnd
371
+ currentBillingPeriodStart
372
+ billingPeriod
371
373
  additionalMetaData
374
+ totalPrice {
375
+ subTotal {
376
+ amount
377
+ currency
378
+ }
379
+ total {
380
+ amount
381
+ currency
382
+ }
383
+ }
372
384
  customer {
373
385
  customerId
374
386
  email
@@ -383,6 +395,15 @@ module Stigg
383
395
  plan {
384
396
  planId: refId
385
397
  displayName
398
+ description
399
+ product {
400
+ refId
401
+ displayName
402
+ downgradePlan {
403
+ refId
404
+ displayName
405
+ }
406
+ }
386
407
  }
387
408
  addons {
388
409
  quantity
@@ -1223,6 +1244,9 @@ module Stigg
1223
1244
  entitlements {
1224
1245
  ...CustomerPortalEntitlementFragment
1225
1246
  }
1247
+ entitlementsV2 {
1248
+ ...EntitlementUnionFragment
1249
+ }
1226
1250
  promotionalEntitlements {
1227
1251
  ...CustomerPortalPromotionalEntitlementFragment
1228
1252
  }
@@ -2033,6 +2057,11 @@ module Stigg
2033
2057
  accessDeniedReason
2034
2058
  currency {
2035
2059
  currencyId
2060
+ displayName
2061
+ description
2062
+ unitSingular
2063
+ unitPlural
2064
+ additionalMetaData
2036
2065
  }
2037
2066
  usageLimit
2038
2067
  currentUsage
@@ -2790,6 +2819,9 @@ module Stigg
2790
2819
  #{Fragment::CustomerPortalEntitlementFragment}
2791
2820
  #{Fragment::ResetPeriodConfigurationFragment}
2792
2821
  #{Fragment::FeatureFragment}
2822
+ #{Fragment::EntitlementUnionFragment}
2823
+ #{Fragment::FeatureEntitlementFragment}
2824
+ #{Fragment::CreditEntitlementFragment}
2793
2825
  #{Fragment::CustomerPortalPromotionalEntitlementFragment}
2794
2826
  #{Fragment::CustomerPortalBillingInformationFragment}
2795
2827
  #{Fragment::CustomerPortalConfigurationFragment}
@@ -1990,7 +1990,7 @@
1990
1990
  "name": null,
1991
1991
  "ofType": {
1992
1992
  "kind": "SCALAR",
1993
- "name": "String",
1993
+ "name": "UUID",
1994
1994
  "ofType": null
1995
1995
  }
1996
1996
  },
@@ -4142,7 +4142,7 @@
4142
4142
  {
4143
4143
  "kind": "OBJECT",
4144
4144
  "name": "ApiKeyScope",
4145
- "description": "Input for defining API key scope permissions",
4145
+ "description": "Input for defining API key scope permissions, valid only for scoped keys",
4146
4146
  "fields": [
4147
4147
  {
4148
4148
  "name": "action",
@@ -4208,7 +4208,7 @@
4208
4208
  {
4209
4209
  "kind": "INPUT_OBJECT",
4210
4210
  "name": "ApiKeyScopeInput",
4211
- "description": "Input for defining API key scope permissions",
4211
+ "description": "Input for defining API key scope permissions, valid only for scoped keys",
4212
4212
  "fields": null,
4213
4213
  "inputFields": [
4214
4214
  {
@@ -5029,6 +5029,18 @@
5029
5029
  "isDeprecated": false,
5030
5030
  "deprecationReason": null
5031
5031
  },
5032
+ {
5033
+ "name": "billingCycleAnchor",
5034
+ "description": "Billing cycle anchor behavior for the subscription",
5035
+ "type": {
5036
+ "kind": "ENUM",
5037
+ "name": "SubscriptionBillingCycleAnchor",
5038
+ "ofType": null
5039
+ },
5040
+ "defaultValue": null,
5041
+ "isDeprecated": false,
5042
+ "deprecationReason": null
5043
+ },
5032
5044
  {
5033
5045
  "name": "billingId",
5034
5046
  "description": null,
@@ -14111,7 +14123,7 @@
14111
14123
  },
14112
14124
  {
14113
14125
  "name": "scopes",
14114
- "description": "Input for defining API key scope permissions",
14126
+ "description": "Input for defining API key scope permissions, valid only for scoped keys",
14115
14127
  "type": {
14116
14128
  "kind": "NON_NULL",
14117
14129
  "name": null,
@@ -21315,6 +21327,30 @@
21315
21327
  }
21316
21328
  }
21317
21329
  },
21330
+ "isDeprecated": true,
21331
+ "deprecationReason": "Use 'entitlementsV2' instead, which includes both feature and credit entitlements."
21332
+ },
21333
+ {
21334
+ "name": "entitlementsV2",
21335
+ "description": "All effective entitlements (feature and credit) granted to the customer with usage data.",
21336
+ "args": [],
21337
+ "type": {
21338
+ "kind": "NON_NULL",
21339
+ "name": null,
21340
+ "ofType": {
21341
+ "kind": "LIST",
21342
+ "name": null,
21343
+ "ofType": {
21344
+ "kind": "NON_NULL",
21345
+ "name": null,
21346
+ "ofType": {
21347
+ "kind": "UNION",
21348
+ "name": "EntitlementUnion",
21349
+ "ofType": null
21350
+ }
21351
+ }
21352
+ }
21353
+ },
21318
21354
  "isDeprecated": false,
21319
21355
  "deprecationReason": null
21320
21356
  },
@@ -24105,6 +24141,18 @@
24105
24141
  "isDeprecated": false,
24106
24142
  "deprecationReason": null
24107
24143
  },
24144
+ {
24145
+ "name": "billingPeriod",
24146
+ "description": "The billing period of the subscription",
24147
+ "args": [],
24148
+ "type": {
24149
+ "kind": "ENUM",
24150
+ "name": "BillingPeriod",
24151
+ "ofType": null
24152
+ },
24153
+ "isDeprecated": false,
24154
+ "deprecationReason": null
24155
+ },
24108
24156
  {
24109
24157
  "name": "billingSyncError",
24110
24158
  "description": null,
@@ -24817,7 +24865,7 @@
24817
24865
  }
24818
24866
  },
24819
24867
  "isDeprecated": true,
24820
- "deprecationReason": "Use entitlements field instead which returns both feature and credit entitlements"
24868
+ "deprecationReason": "Use entitlements field instead which includes both feature and credit entitlements"
24821
24869
  },
24822
24870
  {
24823
24871
  "name": "subscriptionId",
@@ -30213,6 +30261,18 @@
30213
30261
  "name": "EntitlementCurrency",
30214
30262
  "description": "The currency associated with a credit entitlement.",
30215
30263
  "fields": [
30264
+ {
30265
+ "name": "additionalMetaData",
30266
+ "description": "Additional metadata associated with the currency.",
30267
+ "args": [],
30268
+ "type": {
30269
+ "kind": "SCALAR",
30270
+ "name": "JSON",
30271
+ "ofType": null
30272
+ },
30273
+ "isDeprecated": false,
30274
+ "deprecationReason": null
30275
+ },
30216
30276
  {
30217
30277
  "name": "currencyId",
30218
30278
  "description": "The unique identifier of the custom currency.",
@@ -30228,6 +30288,58 @@
30228
30288
  },
30229
30289
  "isDeprecated": false,
30230
30290
  "deprecationReason": null
30291
+ },
30292
+ {
30293
+ "name": "description",
30294
+ "description": "A description of the currency.",
30295
+ "args": [],
30296
+ "type": {
30297
+ "kind": "SCALAR",
30298
+ "name": "String",
30299
+ "ofType": null
30300
+ },
30301
+ "isDeprecated": false,
30302
+ "deprecationReason": null
30303
+ },
30304
+ {
30305
+ "name": "displayName",
30306
+ "description": "The display name of the currency.",
30307
+ "args": [],
30308
+ "type": {
30309
+ "kind": "NON_NULL",
30310
+ "name": null,
30311
+ "ofType": {
30312
+ "kind": "SCALAR",
30313
+ "name": "String",
30314
+ "ofType": null
30315
+ }
30316
+ },
30317
+ "isDeprecated": false,
30318
+ "deprecationReason": null
30319
+ },
30320
+ {
30321
+ "name": "unitPlural",
30322
+ "description": "The plural form of the currency unit.",
30323
+ "args": [],
30324
+ "type": {
30325
+ "kind": "SCALAR",
30326
+ "name": "String",
30327
+ "ofType": null
30328
+ },
30329
+ "isDeprecated": false,
30330
+ "deprecationReason": null
30331
+ },
30332
+ {
30333
+ "name": "unitSingular",
30334
+ "description": "The singular form of the currency unit.",
30335
+ "args": [],
30336
+ "type": {
30337
+ "kind": "SCALAR",
30338
+ "name": "String",
30339
+ "ofType": null
30340
+ },
30341
+ "isDeprecated": false,
30342
+ "deprecationReason": null
30231
30343
  }
30232
30344
  ],
30233
30345
  "inputFields": null,
@@ -34386,6 +34498,12 @@
34386
34498
  "isDeprecated": false,
34387
34499
  "deprecationReason": null
34388
34500
  },
34501
+ {
34502
+ "name": "SCOPED_KEY",
34503
+ "description": "Scoped key",
34504
+ "isDeprecated": false,
34505
+ "deprecationReason": null
34506
+ },
34389
34507
  {
34390
34508
  "name": "SERVICE",
34391
34509
  "description": "Stigg user service key",
@@ -34466,6 +34584,30 @@
34466
34584
  "isDeprecated": false,
34467
34585
  "deprecationReason": null
34468
34586
  },
34587
+ {
34588
+ "name": "scopedKeyId",
34589
+ "description": "Scoped API key ID",
34590
+ "args": [],
34591
+ "type": {
34592
+ "kind": "SCALAR",
34593
+ "name": "String",
34594
+ "ofType": null
34595
+ },
34596
+ "isDeprecated": false,
34597
+ "deprecationReason": null
34598
+ },
34599
+ {
34600
+ "name": "scopedKeyName",
34601
+ "description": "Scoped API key name",
34602
+ "args": [],
34603
+ "type": {
34604
+ "kind": "SCALAR",
34605
+ "name": "String",
34606
+ "ofType": null
34607
+ },
34608
+ "isDeprecated": false,
34609
+ "deprecationReason": null
34610
+ },
34469
34611
  {
34470
34612
  "name": "type",
34471
34613
  "description": "Type of the actor (e.g., service, user, system, workflow)",
@@ -36213,6 +36355,18 @@
36213
36355
  "isDeprecated": false,
36214
36356
  "deprecationReason": null
36215
36357
  },
36358
+ {
36359
+ "name": "EDGE_API_PLAN_CACHE_DATA_RESYNC",
36360
+ "description": "Edge API plan cache data resync",
36361
+ "isDeprecated": false,
36362
+ "deprecationReason": null
36363
+ },
36364
+ {
36365
+ "name": "EDGE_API_PRODUCT_CACHE_DATA_RESYNC",
36366
+ "description": "Edge API product cache data resync",
36367
+ "isDeprecated": false,
36368
+ "deprecationReason": null
36369
+ },
36216
36370
  {
36217
36371
  "name": "EDGE_API_SUBSCRIPTIONS_DATA_RESYNC",
36218
36372
  "description": "Edge API subscriptions data resync",
@@ -36429,6 +36583,12 @@
36429
36583
  "isDeprecated": false,
36430
36584
  "deprecationReason": null
36431
36585
  },
36586
+ {
36587
+ "name": "STRIPE_APP_DRAWER_VIEWED",
36588
+ "description": "Stripe App drawer viewed",
36589
+ "isDeprecated": false,
36590
+ "deprecationReason": null
36591
+ },
36432
36592
  {
36433
36593
  "name": "SUBSCRIPTIONS_MIGRATED",
36434
36594
  "description": "Subscriptions migrated",
@@ -71204,7 +71364,7 @@
71204
71364
  "name": null,
71205
71365
  "ofType": {
71206
71366
  "kind": "SCALAR",
71207
- "name": "String",
71367
+ "name": "UUID",
71208
71368
  "ofType": null
71209
71369
  }
71210
71370
  },
@@ -73309,6 +73469,18 @@
73309
73469
  "isDeprecated": false,
73310
73470
  "deprecationReason": null
73311
73471
  },
73472
+ {
73473
+ "name": "billingCycleAnchor",
73474
+ "description": "Billing cycle anchor behavior for the subscription",
73475
+ "type": {
73476
+ "kind": "ENUM",
73477
+ "name": "SubscriptionBillingCycleAnchor",
73478
+ "ofType": null
73479
+ },
73480
+ "defaultValue": null,
73481
+ "isDeprecated": false,
73482
+ "deprecationReason": null
73483
+ },
73312
73484
  {
73313
73485
  "name": "billingInformation",
73314
73486
  "description": null,
@@ -76267,7 +76439,7 @@
76267
76439
  },
76268
76440
  {
76269
76441
  "name": "downgradePlan",
76270
- "description": null,
76442
+ "description": "Plan to downgrade to when a subscription ends or is cancelled",
76271
76443
  "args": [],
76272
76444
  "type": {
76273
76445
  "kind": "OBJECT",
@@ -80840,6 +81012,18 @@
80840
81012
  "isDeprecated": false,
80841
81013
  "deprecationReason": null
80842
81014
  },
81015
+ {
81016
+ "name": "billingCycleAnchor",
81017
+ "description": "Billing cycle anchor behavior for the subscription",
81018
+ "type": {
81019
+ "kind": "ENUM",
81020
+ "name": "SubscriptionBillingCycleAnchor",
81021
+ "ofType": null
81022
+ },
81023
+ "defaultValue": null,
81024
+ "isDeprecated": false,
81025
+ "deprecationReason": null
81026
+ },
80843
81027
  {
80844
81028
  "name": "billingId",
80845
81029
  "description": null,
@@ -81258,6 +81442,18 @@
81258
81442
  "isDeprecated": false,
81259
81443
  "deprecationReason": null
81260
81444
  },
81445
+ {
81446
+ "name": "billingCycleAnchor",
81447
+ "description": "Billing cycle anchor behavior for the subscription",
81448
+ "type": {
81449
+ "kind": "ENUM",
81450
+ "name": "SubscriptionBillingCycleAnchor",
81451
+ "ofType": null
81452
+ },
81453
+ "defaultValue": null,
81454
+ "isDeprecated": false,
81455
+ "deprecationReason": null
81456
+ },
81261
81457
  {
81262
81458
  "name": "billingId",
81263
81459
  "description": null,
@@ -81697,6 +81893,18 @@
81697
81893
  "isDeprecated": false,
81698
81894
  "deprecationReason": null
81699
81895
  },
81896
+ {
81897
+ "name": "billingCycleAnchor",
81898
+ "description": "Billing cycle anchor behavior for the subscription",
81899
+ "type": {
81900
+ "kind": "ENUM",
81901
+ "name": "SubscriptionBillingCycleAnchor",
81902
+ "ofType": null
81903
+ },
81904
+ "defaultValue": null,
81905
+ "isDeprecated": false,
81906
+ "deprecationReason": null
81907
+ },
81700
81908
  {
81701
81909
  "name": "billingId",
81702
81910
  "description": null,
@@ -91488,6 +91696,29 @@
91488
91696
  "enumValues": null,
91489
91697
  "possibleTypes": null
91490
91698
  },
91699
+ {
91700
+ "kind": "ENUM",
91701
+ "name": "SubscriptionBillingCycleAnchor",
91702
+ "description": "Billing cycle anchor behavior when creating or updating a subscription",
91703
+ "fields": null,
91704
+ "inputFields": null,
91705
+ "interfaces": null,
91706
+ "enumValues": [
91707
+ {
91708
+ "name": "NOW",
91709
+ "description": "Reset the billing cycle anchor to the current time",
91710
+ "isDeprecated": false,
91711
+ "deprecationReason": null
91712
+ },
91713
+ {
91714
+ "name": "UNCHANGED",
91715
+ "description": "Keep the existing billing cycle anchor unchanged (default)",
91716
+ "isDeprecated": false,
91717
+ "deprecationReason": null
91718
+ }
91719
+ ],
91720
+ "possibleTypes": null
91721
+ },
91491
91722
  {
91492
91723
  "kind": "INPUT_OBJECT",
91493
91724
  "name": "SubscriptionBillingInfo",
@@ -94879,6 +95110,18 @@
94879
95110
  "isDeprecated": false,
94880
95111
  "deprecationReason": null
94881
95112
  },
95113
+ {
95114
+ "name": "billingCycleAnchor",
95115
+ "description": "Billing cycle anchor behavior for the subscription",
95116
+ "type": {
95117
+ "kind": "ENUM",
95118
+ "name": "SubscriptionBillingCycleAnchor",
95119
+ "ofType": null
95120
+ },
95121
+ "defaultValue": null,
95122
+ "isDeprecated": false,
95123
+ "deprecationReason": null
95124
+ },
94882
95125
  {
94883
95126
  "name": "billingId",
94884
95127
  "description": null,
@@ -99975,6 +100218,18 @@
99975
100218
  "isDeprecated": false,
99976
100219
  "deprecationReason": null
99977
100220
  },
100221
+ {
100222
+ "name": "billingPeriod",
100223
+ "description": "The billing period of the subscription",
100224
+ "args": [],
100225
+ "type": {
100226
+ "kind": "ENUM",
100227
+ "name": "BillingPeriod",
100228
+ "ofType": null
100229
+ },
100230
+ "isDeprecated": false,
100231
+ "deprecationReason": null
100232
+ },
99978
100233
  {
99979
100234
  "name": "billingSyncError",
99980
100235
  "description": null,
@@ -100598,7 +100853,7 @@
100598
100853
  }
100599
100854
  },
100600
100855
  "isDeprecated": true,
100601
- "deprecationReason": "Use entitlements field instead which returns both feature and credit entitlements"
100856
+ "deprecationReason": "Use entitlements field instead which includes both feature and credit entitlements"
100602
100857
  },
100603
100858
  {
100604
100859
  "name": "subscriptionId",
@@ -106229,6 +106484,26 @@
106229
106484
  "defaultValue": null,
106230
106485
  "isDeprecated": false,
106231
106486
  "deprecationReason": null
106487
+ },
106488
+ {
106489
+ "name": "scopes",
106490
+ "description": "Input for defining API key scope permissions, valid only for scoped keys",
106491
+ "type": {
106492
+ "kind": "LIST",
106493
+ "name": null,
106494
+ "ofType": {
106495
+ "kind": "NON_NULL",
106496
+ "name": null,
106497
+ "ofType": {
106498
+ "kind": "INPUT_OBJECT",
106499
+ "name": "ApiKeyScopeInput",
106500
+ "ofType": null
106501
+ }
106502
+ }
106503
+ },
106504
+ "defaultValue": null,
106505
+ "isDeprecated": false,
106506
+ "deprecationReason": null
106232
106507
  }
106233
106508
  ],
106234
106509
  "interfaces": null,
@@ -107960,6 +108235,18 @@
107960
108235
  "isDeprecated": false,
107961
108236
  "deprecationReason": null
107962
108237
  },
108238
+ {
108239
+ "name": "billingCycleAnchor",
108240
+ "description": "Billing cycle anchor behavior for the subscription",
108241
+ "type": {
108242
+ "kind": "ENUM",
108243
+ "name": "SubscriptionBillingCycleAnchor",
108244
+ "ofType": null
108245
+ },
108246
+ "defaultValue": null,
108247
+ "isDeprecated": false,
108248
+ "deprecationReason": null
108249
+ },
107963
108250
  {
107964
108251
  "name": "billingInformation",
107965
108252
  "description": null,
@@ -108016,6 +108303,26 @@
108016
108303
  "isDeprecated": false,
108017
108304
  "deprecationReason": null
108018
108305
  },
108306
+ {
108307
+ "name": "entitlements",
108308
+ "description": null,
108309
+ "type": {
108310
+ "kind": "LIST",
108311
+ "name": null,
108312
+ "ofType": {
108313
+ "kind": "NON_NULL",
108314
+ "name": null,
108315
+ "ofType": {
108316
+ "kind": "INPUT_OBJECT",
108317
+ "name": "SubscriptionEntitlementInputV2",
108318
+ "ofType": null
108319
+ }
108320
+ }
108321
+ },
108322
+ "defaultValue": null,
108323
+ "isDeprecated": false,
108324
+ "deprecationReason": null
108325
+ },
108019
108326
  {
108020
108327
  "name": "environmentId",
108021
108328
  "description": null,
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "5.237.2"
4
+ VERSION = "5.277.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.237.2
4
+ version: 5.277.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-19 00:00:00.000000000 Z
11
+ date: 2026-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient