stigg-api-client 5.222.0 → 5.225.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stigg/generated/operations.rb +119 -0
- data/lib/stigg/generated/schema.json +126 -14
- data/lib/stigg/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e8b8fb73ef027dedd6ccefd8f5f657cff72b804ec8348b8a163ae9019e23e5a
|
|
4
|
+
data.tar.gz: 6db8d6a59f135b84e01903e5ec1224f9827435bffb67dcfccaf95bf553a59602
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4eec39532a8e36d280be43ba3936b00661c0a1df77cee074775c6b2ca19613870a32c8d297894ac38a78f35ee552c5ee90c88077da34492fbd6b128de1cde706
|
|
7
|
+
data.tar.gz: 6e5e7a3e705f4f184b59d309be8ba99b3d86eb44388486aaff33632c7f245e8df770683cf12fcec97113504f975e0ba9b5fcff6ac85a2f38b2435801ed069fa8
|
data/Gemfile.lock
CHANGED
|
@@ -137,6 +137,73 @@ module Stigg
|
|
|
137
137
|
}
|
|
138
138
|
GRAPHQL
|
|
139
139
|
|
|
140
|
+
PackageFeatureEntitlementFragment = <<~GRAPHQL
|
|
141
|
+
fragment PackageFeatureEntitlementFragment on PackageFeatureEntitlement {
|
|
142
|
+
__typename
|
|
143
|
+
id
|
|
144
|
+
behavior
|
|
145
|
+
description
|
|
146
|
+
displayNameOverride
|
|
147
|
+
enumValues
|
|
148
|
+
featureId
|
|
149
|
+
hasSoftLimit
|
|
150
|
+
hasUnlimitedUsage
|
|
151
|
+
hiddenFromWidgets
|
|
152
|
+
isCustom
|
|
153
|
+
isGranted
|
|
154
|
+
order
|
|
155
|
+
resetPeriod
|
|
156
|
+
usageLimit
|
|
157
|
+
feature {
|
|
158
|
+
featureType
|
|
159
|
+
meterType
|
|
160
|
+
featureUnits
|
|
161
|
+
featureUnitsPlural
|
|
162
|
+
displayName
|
|
163
|
+
description
|
|
164
|
+
refId
|
|
165
|
+
additionalMetaData
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
GRAPHQL
|
|
169
|
+
|
|
170
|
+
PackageCreditEntitlementFragment = <<~GRAPHQL
|
|
171
|
+
fragment PackageCreditEntitlementFragment on PackageCreditEntitlement {
|
|
172
|
+
__typename
|
|
173
|
+
id
|
|
174
|
+
amount
|
|
175
|
+
behavior
|
|
176
|
+
cadence
|
|
177
|
+
customCurrencyId
|
|
178
|
+
description
|
|
179
|
+
displayNameOverride
|
|
180
|
+
hiddenFromWidgets
|
|
181
|
+
isCustom
|
|
182
|
+
isGranted
|
|
183
|
+
order
|
|
184
|
+
customCurrency {
|
|
185
|
+
currencyId
|
|
186
|
+
displayName
|
|
187
|
+
symbol
|
|
188
|
+
units {
|
|
189
|
+
singular
|
|
190
|
+
plural
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
GRAPHQL
|
|
195
|
+
|
|
196
|
+
PackageEntitlementUnionFragment = <<~GRAPHQL
|
|
197
|
+
fragment PackageEntitlementUnionFragment on PackageEntitlementUnion {
|
|
198
|
+
... on PackageFeatureEntitlement {
|
|
199
|
+
...PackageFeatureEntitlementFragment
|
|
200
|
+
}
|
|
201
|
+
... on PackageCreditEntitlement {
|
|
202
|
+
...PackageCreditEntitlementFragment
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
GRAPHQL
|
|
206
|
+
|
|
140
207
|
AddonFragment = <<~GRAPHQL
|
|
141
208
|
fragment AddonFragment on Addon {
|
|
142
209
|
id
|
|
@@ -149,6 +216,9 @@ module Stigg
|
|
|
149
216
|
entitlements {
|
|
150
217
|
...PackageEntitlementFragment
|
|
151
218
|
}
|
|
219
|
+
packageEntitlements {
|
|
220
|
+
...PackageEntitlementUnionFragment
|
|
221
|
+
}
|
|
152
222
|
prices {
|
|
153
223
|
...PriceFragment
|
|
154
224
|
}
|
|
@@ -217,6 +287,12 @@ module Stigg
|
|
|
217
287
|
trialEndBehavior
|
|
218
288
|
}
|
|
219
289
|
awsMarketplacePlanDimension
|
|
290
|
+
packageEntitlements {
|
|
291
|
+
...PackageEntitlementUnionFragment
|
|
292
|
+
}
|
|
293
|
+
inheritedPackageEntitlements {
|
|
294
|
+
...PackageEntitlementUnionFragment
|
|
295
|
+
}
|
|
220
296
|
}
|
|
221
297
|
GRAPHQL
|
|
222
298
|
|
|
@@ -1429,6 +1505,12 @@ module Stigg
|
|
|
1429
1505
|
inheritedEntitlements {
|
|
1430
1506
|
...MockPaywallPackageEntitlementFragment
|
|
1431
1507
|
}
|
|
1508
|
+
packageEntitlements {
|
|
1509
|
+
...PackageEntitlementUnionFragment
|
|
1510
|
+
}
|
|
1511
|
+
inheritedPackageEntitlements {
|
|
1512
|
+
...PackageEntitlementUnionFragment
|
|
1513
|
+
}
|
|
1432
1514
|
prices {
|
|
1433
1515
|
...MockPaywallPriceFragment
|
|
1434
1516
|
}
|
|
@@ -1559,6 +1641,9 @@ module Stigg
|
|
|
1559
1641
|
entitlements {
|
|
1560
1642
|
...MockPaywallPackageEntitlementFragment
|
|
1561
1643
|
}
|
|
1644
|
+
packageEntitlements {
|
|
1645
|
+
...PackageEntitlementUnionFragment
|
|
1646
|
+
}
|
|
1562
1647
|
prices {
|
|
1563
1648
|
...MockPaywallPriceFragment
|
|
1564
1649
|
}
|
|
@@ -2128,6 +2213,9 @@ module Stigg
|
|
|
2128
2213
|
#{Fragment::ProductFragment}
|
|
2129
2214
|
#{Fragment::PackageEntitlementFragment}
|
|
2130
2215
|
#{Fragment::AddonFragment}
|
|
2216
|
+
#{Fragment::PackageEntitlementUnionFragment}
|
|
2217
|
+
#{Fragment::PackageFeatureEntitlementFragment}
|
|
2218
|
+
#{Fragment::PackageCreditEntitlementFragment}
|
|
2131
2219
|
#{Fragment::OveragePriceFragment}
|
|
2132
2220
|
#{Fragment::AddonDependencyFragment}
|
|
2133
2221
|
#{Fragment::PlanCompatiblePackageGroupsFragment}
|
|
@@ -2447,6 +2535,9 @@ module Stigg
|
|
|
2447
2535
|
#{Fragment::ProductFragment}
|
|
2448
2536
|
#{Fragment::PackageEntitlementFragment}
|
|
2449
2537
|
#{Fragment::AddonFragment}
|
|
2538
|
+
#{Fragment::PackageEntitlementUnionFragment}
|
|
2539
|
+
#{Fragment::PackageFeatureEntitlementFragment}
|
|
2540
|
+
#{Fragment::PackageCreditEntitlementFragment}
|
|
2450
2541
|
#{Fragment::OveragePriceFragment}
|
|
2451
2542
|
#{Fragment::AddonDependencyFragment}
|
|
2452
2543
|
#{Fragment::PlanCompatiblePackageGroupsFragment}
|
|
@@ -2482,6 +2573,9 @@ module Stigg
|
|
|
2482
2573
|
#{Fragment::ProductFragment}
|
|
2483
2574
|
#{Fragment::PackageEntitlementFragment}
|
|
2484
2575
|
#{Fragment::AddonFragment}
|
|
2576
|
+
#{Fragment::PackageEntitlementUnionFragment}
|
|
2577
|
+
#{Fragment::PackageFeatureEntitlementFragment}
|
|
2578
|
+
#{Fragment::PackageCreditEntitlementFragment}
|
|
2485
2579
|
#{Fragment::OveragePriceFragment}
|
|
2486
2580
|
#{Fragment::AddonDependencyFragment}
|
|
2487
2581
|
#{Fragment::PlanCompatiblePackageGroupsFragment}
|
|
@@ -2538,6 +2632,9 @@ module Stigg
|
|
|
2538
2632
|
#{Fragment::ProductFragment}
|
|
2539
2633
|
#{Fragment::PackageEntitlementFragment}
|
|
2540
2634
|
#{Fragment::AddonFragment}
|
|
2635
|
+
#{Fragment::PackageEntitlementUnionFragment}
|
|
2636
|
+
#{Fragment::PackageFeatureEntitlementFragment}
|
|
2637
|
+
#{Fragment::PackageCreditEntitlementFragment}
|
|
2541
2638
|
#{Fragment::OveragePriceFragment}
|
|
2542
2639
|
#{Fragment::AddonDependencyFragment}
|
|
2543
2640
|
#{Fragment::PlanCompatiblePackageGroupsFragment}
|
|
@@ -2571,6 +2668,9 @@ module Stigg
|
|
|
2571
2668
|
#{Fragment::ProductFragment}
|
|
2572
2669
|
#{Fragment::PackageEntitlementFragment}
|
|
2573
2670
|
#{Fragment::AddonFragment}
|
|
2671
|
+
#{Fragment::PackageEntitlementUnionFragment}
|
|
2672
|
+
#{Fragment::PackageFeatureEntitlementFragment}
|
|
2673
|
+
#{Fragment::PackageCreditEntitlementFragment}
|
|
2574
2674
|
#{Fragment::PriceFragment}
|
|
2575
2675
|
#{Fragment::PriceTierFragment}
|
|
2576
2676
|
#{Fragment::OveragePriceFragment}
|
|
@@ -2639,6 +2739,19 @@ module Stigg
|
|
|
2639
2739
|
#{Fragment::FeatureFragment}
|
|
2640
2740
|
GRAPHQL
|
|
2641
2741
|
|
|
2742
|
+
GetEntitlementV2 = <<~GRAPHQL
|
|
2743
|
+
query GetEntitlementV2($query: GetEntitlementV2Input!) {
|
|
2744
|
+
entitlementV2(query: $query) {
|
|
2745
|
+
...EntitlementUnionFragment
|
|
2746
|
+
}
|
|
2747
|
+
}
|
|
2748
|
+
#{Fragment::EntitlementUnionFragment}
|
|
2749
|
+
#{Fragment::FeatureEntitlementFragment}
|
|
2750
|
+
#{Fragment::ResetPeriodConfigurationFragment}
|
|
2751
|
+
#{Fragment::FeatureFragment}
|
|
2752
|
+
#{Fragment::CreditEntitlementFragment}
|
|
2753
|
+
GRAPHQL
|
|
2754
|
+
|
|
2642
2755
|
GetProducts = <<~GRAPHQL
|
|
2643
2756
|
query GetProducts {
|
|
2644
2757
|
products(paging: { first: 20 }) {
|
|
@@ -2709,6 +2822,9 @@ module Stigg
|
|
|
2709
2822
|
#{Fragment::ProductFragment}
|
|
2710
2823
|
#{Fragment::PackageEntitlementFragment}
|
|
2711
2824
|
#{Fragment::AddonFragment}
|
|
2825
|
+
#{Fragment::PackageEntitlementUnionFragment}
|
|
2826
|
+
#{Fragment::PackageFeatureEntitlementFragment}
|
|
2827
|
+
#{Fragment::PackageCreditEntitlementFragment}
|
|
2712
2828
|
#{Fragment::OveragePriceFragment}
|
|
2713
2829
|
#{Fragment::AddonDependencyFragment}
|
|
2714
2830
|
#{Fragment::PlanCompatiblePackageGroupsFragment}
|
|
@@ -2733,6 +2849,9 @@ module Stigg
|
|
|
2733
2849
|
}
|
|
2734
2850
|
#{Fragment::MockPaywallPlanFragment}
|
|
2735
2851
|
#{Fragment::MockPaywallPackageEntitlementFragment}
|
|
2852
|
+
#{Fragment::PackageEntitlementUnionFragment}
|
|
2853
|
+
#{Fragment::PackageFeatureEntitlementFragment}
|
|
2854
|
+
#{Fragment::PackageCreditEntitlementFragment}
|
|
2736
2855
|
#{Fragment::MockPaywallPriceFragment}
|
|
2737
2856
|
#{Fragment::PriceTierFragment}
|
|
2738
2857
|
#{Fragment::MockPaywallAddonFragment}
|
|
@@ -42652,6 +42652,93 @@
|
|
|
42652
42652
|
"enumValues": null,
|
|
42653
42653
|
"possibleTypes": null
|
|
42654
42654
|
},
|
|
42655
|
+
{
|
|
42656
|
+
"kind": "INPUT_OBJECT",
|
|
42657
|
+
"name": "GetEntitlementV2Input",
|
|
42658
|
+
"description": "Query for fetching a single entitlement by reference (supports both feature and credit entitlements).",
|
|
42659
|
+
"fields": null,
|
|
42660
|
+
"inputFields": [
|
|
42661
|
+
{
|
|
42662
|
+
"name": "currencyId",
|
|
42663
|
+
"description": "Identifier of the credit type / custom currency (for credit entitlements). Exactly one of featureId or currencyId must be set.",
|
|
42664
|
+
"type": {
|
|
42665
|
+
"kind": "SCALAR",
|
|
42666
|
+
"name": "String",
|
|
42667
|
+
"ofType": null
|
|
42668
|
+
},
|
|
42669
|
+
"defaultValue": null,
|
|
42670
|
+
"isDeprecated": false,
|
|
42671
|
+
"deprecationReason": null
|
|
42672
|
+
},
|
|
42673
|
+
{
|
|
42674
|
+
"name": "customerId",
|
|
42675
|
+
"description": "Identifier of the customer.",
|
|
42676
|
+
"type": {
|
|
42677
|
+
"kind": "NON_NULL",
|
|
42678
|
+
"name": null,
|
|
42679
|
+
"ofType": {
|
|
42680
|
+
"kind": "SCALAR",
|
|
42681
|
+
"name": "String",
|
|
42682
|
+
"ofType": null
|
|
42683
|
+
}
|
|
42684
|
+
},
|
|
42685
|
+
"defaultValue": null,
|
|
42686
|
+
"isDeprecated": false,
|
|
42687
|
+
"deprecationReason": null
|
|
42688
|
+
},
|
|
42689
|
+
{
|
|
42690
|
+
"name": "environmentId",
|
|
42691
|
+
"description": "The environment identifier used to resolve the entitlement context.",
|
|
42692
|
+
"type": {
|
|
42693
|
+
"kind": "SCALAR",
|
|
42694
|
+
"name": "String",
|
|
42695
|
+
"ofType": null
|
|
42696
|
+
},
|
|
42697
|
+
"defaultValue": null,
|
|
42698
|
+
"isDeprecated": false,
|
|
42699
|
+
"deprecationReason": null
|
|
42700
|
+
},
|
|
42701
|
+
{
|
|
42702
|
+
"name": "featureId",
|
|
42703
|
+
"description": "Identifier of the feature (for feature entitlements). Exactly one of featureId or currencyId must be set.",
|
|
42704
|
+
"type": {
|
|
42705
|
+
"kind": "SCALAR",
|
|
42706
|
+
"name": "String",
|
|
42707
|
+
"ofType": null
|
|
42708
|
+
},
|
|
42709
|
+
"defaultValue": null,
|
|
42710
|
+
"isDeprecated": false,
|
|
42711
|
+
"deprecationReason": null
|
|
42712
|
+
},
|
|
42713
|
+
{
|
|
42714
|
+
"name": "options",
|
|
42715
|
+
"description": "Optional flags or preferences to customize the fetch behavior.",
|
|
42716
|
+
"type": {
|
|
42717
|
+
"kind": "INPUT_OBJECT",
|
|
42718
|
+
"name": "EntitlementOptions",
|
|
42719
|
+
"ofType": null
|
|
42720
|
+
},
|
|
42721
|
+
"defaultValue": null,
|
|
42722
|
+
"isDeprecated": false,
|
|
42723
|
+
"deprecationReason": null
|
|
42724
|
+
},
|
|
42725
|
+
{
|
|
42726
|
+
"name": "resourceId",
|
|
42727
|
+
"description": "The scoped resource Identifier.",
|
|
42728
|
+
"type": {
|
|
42729
|
+
"kind": "SCALAR",
|
|
42730
|
+
"name": "String",
|
|
42731
|
+
"ofType": null
|
|
42732
|
+
},
|
|
42733
|
+
"defaultValue": null,
|
|
42734
|
+
"isDeprecated": false,
|
|
42735
|
+
"deprecationReason": null
|
|
42736
|
+
}
|
|
42737
|
+
],
|
|
42738
|
+
"interfaces": null,
|
|
42739
|
+
"enumValues": null,
|
|
42740
|
+
"possibleTypes": null
|
|
42741
|
+
},
|
|
42655
42742
|
{
|
|
42656
42743
|
"kind": "INPUT_OBJECT",
|
|
42657
42744
|
"name": "GetOfferInput",
|
|
@@ -82652,6 +82739,39 @@
|
|
|
82652
82739
|
"ofType": null
|
|
82653
82740
|
}
|
|
82654
82741
|
},
|
|
82742
|
+
"isDeprecated": true,
|
|
82743
|
+
"deprecationReason": "Use entitlementV2 with featureId or currencyId for polymorphism support (feature and credit entitlements)."
|
|
82744
|
+
},
|
|
82745
|
+
{
|
|
82746
|
+
"name": "entitlementV2",
|
|
82747
|
+
"description": "Fetch a single entitlement by reference with polymorphic return (feature or credit entitlement).",
|
|
82748
|
+
"args": [
|
|
82749
|
+
{
|
|
82750
|
+
"name": "query",
|
|
82751
|
+
"description": "Query for fetching a single entitlement by reference (supports both feature and credit entitlements).",
|
|
82752
|
+
"type": {
|
|
82753
|
+
"kind": "NON_NULL",
|
|
82754
|
+
"name": null,
|
|
82755
|
+
"ofType": {
|
|
82756
|
+
"kind": "INPUT_OBJECT",
|
|
82757
|
+
"name": "GetEntitlementV2Input",
|
|
82758
|
+
"ofType": null
|
|
82759
|
+
}
|
|
82760
|
+
},
|
|
82761
|
+
"defaultValue": null,
|
|
82762
|
+
"isDeprecated": false,
|
|
82763
|
+
"deprecationReason": null
|
|
82764
|
+
}
|
|
82765
|
+
],
|
|
82766
|
+
"type": {
|
|
82767
|
+
"kind": "NON_NULL",
|
|
82768
|
+
"name": null,
|
|
82769
|
+
"ofType": {
|
|
82770
|
+
"kind": "UNION",
|
|
82771
|
+
"name": "EntitlementUnion",
|
|
82772
|
+
"ofType": null
|
|
82773
|
+
}
|
|
82774
|
+
},
|
|
82655
82775
|
"isDeprecated": false,
|
|
82656
82776
|
"deprecationReason": null
|
|
82657
82777
|
},
|
|
@@ -104262,13 +104382,9 @@
|
|
|
104262
104382
|
"description": "Plural form of the unit",
|
|
104263
104383
|
"args": [],
|
|
104264
104384
|
"type": {
|
|
104265
|
-
"kind": "
|
|
104266
|
-
"name":
|
|
104267
|
-
"ofType":
|
|
104268
|
-
"kind": "SCALAR",
|
|
104269
|
-
"name": "String",
|
|
104270
|
-
"ofType": null
|
|
104271
|
-
}
|
|
104385
|
+
"kind": "SCALAR",
|
|
104386
|
+
"name": "String",
|
|
104387
|
+
"ofType": null
|
|
104272
104388
|
},
|
|
104273
104389
|
"isDeprecated": false,
|
|
104274
104390
|
"deprecationReason": null
|
|
@@ -104278,13 +104394,9 @@
|
|
|
104278
104394
|
"description": "Singular form of the unit",
|
|
104279
104395
|
"args": [],
|
|
104280
104396
|
"type": {
|
|
104281
|
-
"kind": "
|
|
104282
|
-
"name":
|
|
104283
|
-
"ofType":
|
|
104284
|
-
"kind": "SCALAR",
|
|
104285
|
-
"name": "String",
|
|
104286
|
-
"ofType": null
|
|
104287
|
-
}
|
|
104397
|
+
"kind": "SCALAR",
|
|
104398
|
+
"name": "String",
|
|
104399
|
+
"ofType": null
|
|
104288
104400
|
},
|
|
104289
104401
|
"isDeprecated": false,
|
|
104290
104402
|
"deprecationReason": null
|
data/lib/stigg/version.rb
CHANGED
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.
|
|
4
|
+
version: 5.225.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-
|
|
11
|
+
date: 2026-02-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphlient
|