stigg-api-client 3.80.0 → 3.84.1
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 +14 -0
- data/lib/stigg/generated/schema.json +145 -6
- 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: 5a2560f0e6bcd1f5e94d3353d1c5a55c8a30285cf9b34d730f700be6cd4158fa
|
4
|
+
data.tar.gz: 3f4989dab7a16878b8ec79bd2be30d661ed1d97278a50b1a2b48bfdc7d87f384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3eda0fd93b581b5c270eeb63d6026cacdb6afa02a876540a236bbb4389646a5cac9a59bb0a8b64cb2ff1d0fea9926cefdd5c6227b3469c809b89eda17f4bcb7f
|
7
|
+
data.tar.gz: fc7469b1fd8cc0d677028e72dbebe555de397629e4ab1f5f20b2b4989d1e70b5a88d27c804c432a7d38749b0ecdd3fa06a12dc65eb4dbb9a689cd9cc4aaa2f51
|
data/Gemfile.lock
CHANGED
@@ -2318,6 +2318,20 @@ module Stigg
|
|
2318
2318
|
#{Fragment::FeatureFragment}
|
2319
2319
|
GRAPHQL
|
2320
2320
|
|
2321
|
+
GetEntitlementsState = <<~GRAPHQL
|
2322
|
+
query GetEntitlementsState($query: FetchEntitlementsQuery!) {
|
2323
|
+
entitlementsState(query: $query) {
|
2324
|
+
entitlements {
|
2325
|
+
...EntitlementFragment
|
2326
|
+
}
|
2327
|
+
accessDeniedReason
|
2328
|
+
}
|
2329
|
+
}
|
2330
|
+
#{Fragment::EntitlementFragment}
|
2331
|
+
#{Fragment::ResetPeriodConfigurationFragment}
|
2332
|
+
#{Fragment::FeatureFragment}
|
2333
|
+
GRAPHQL
|
2334
|
+
|
2321
2335
|
GetEntitlement = <<~GRAPHQL
|
2322
2336
|
query GetEntitlement($query: FetchEntitlementQuery!) {
|
2323
2337
|
entitlement(query: $query) {
|
@@ -26023,6 +26023,76 @@
|
|
26023
26023
|
"enumValues": null,
|
26024
26024
|
"possibleTypes": null
|
26025
26025
|
},
|
26026
|
+
{
|
26027
|
+
"kind": "OBJECT",
|
26028
|
+
"name": "EntitlementsState",
|
26029
|
+
"description": "Represents a list of entitlements granted to a customer, including its usage and reset configuration.",
|
26030
|
+
"fields": [
|
26031
|
+
{
|
26032
|
+
"name": "accessDeniedReason",
|
26033
|
+
"description": "Optional message explaining why access to the feature is denied.",
|
26034
|
+
"args": [],
|
26035
|
+
"type": {
|
26036
|
+
"kind": "ENUM",
|
26037
|
+
"name": "EntitlementsStateAccessDeniedReason",
|
26038
|
+
"ofType": null
|
26039
|
+
},
|
26040
|
+
"isDeprecated": false,
|
26041
|
+
"deprecationReason": null
|
26042
|
+
},
|
26043
|
+
{
|
26044
|
+
"name": "entitlements",
|
26045
|
+
"description": "The list of entitlements granted to the customer.",
|
26046
|
+
"args": [],
|
26047
|
+
"type": {
|
26048
|
+
"kind": "NON_NULL",
|
26049
|
+
"name": null,
|
26050
|
+
"ofType": {
|
26051
|
+
"kind": "LIST",
|
26052
|
+
"name": null,
|
26053
|
+
"ofType": {
|
26054
|
+
"kind": "NON_NULL",
|
26055
|
+
"name": null,
|
26056
|
+
"ofType": {
|
26057
|
+
"kind": "OBJECT",
|
26058
|
+
"name": "Entitlement",
|
26059
|
+
"ofType": null
|
26060
|
+
}
|
26061
|
+
}
|
26062
|
+
}
|
26063
|
+
},
|
26064
|
+
"isDeprecated": false,
|
26065
|
+
"deprecationReason": null
|
26066
|
+
}
|
26067
|
+
],
|
26068
|
+
"inputFields": null,
|
26069
|
+
"interfaces": [],
|
26070
|
+
"enumValues": null,
|
26071
|
+
"possibleTypes": null
|
26072
|
+
},
|
26073
|
+
{
|
26074
|
+
"kind": "ENUM",
|
26075
|
+
"name": "EntitlementsStateAccessDeniedReason",
|
26076
|
+
"description": "DenyReason of get access policy",
|
26077
|
+
"fields": null,
|
26078
|
+
"inputFields": null,
|
26079
|
+
"interfaces": null,
|
26080
|
+
"enumValues": [
|
26081
|
+
{
|
26082
|
+
"name": "CustomerNotFound",
|
26083
|
+
"description": "The customer making the request could not be found.",
|
26084
|
+
"isDeprecated": false,
|
26085
|
+
"deprecationReason": null
|
26086
|
+
},
|
26087
|
+
{
|
26088
|
+
"name": "NoActiveSubscription",
|
26089
|
+
"description": "The customer does not have any active subscription linked to the feature.",
|
26090
|
+
"isDeprecated": false,
|
26091
|
+
"deprecationReason": null
|
26092
|
+
}
|
26093
|
+
],
|
26094
|
+
"possibleTypes": null
|
26095
|
+
},
|
26026
26096
|
{
|
26027
26097
|
"kind": "OBJECT",
|
26028
26098
|
"name": "EntitlementsUpdated",
|
@@ -28895,6 +28965,12 @@
|
|
28895
28965
|
"isDeprecated": false,
|
28896
28966
|
"deprecationReason": null
|
28897
28967
|
},
|
28968
|
+
{
|
28969
|
+
"name": "CREDIT",
|
28970
|
+
"description": "Credit entity",
|
28971
|
+
"isDeprecated": false,
|
28972
|
+
"deprecationReason": null
|
28973
|
+
},
|
28898
28974
|
{
|
28899
28975
|
"name": "CUSTOMER",
|
28900
28976
|
"description": "Customer entity",
|
@@ -30105,14 +30181,44 @@
|
|
30105
30181
|
"deprecationReason": null
|
30106
30182
|
},
|
30107
30183
|
{
|
30108
|
-
"name": "
|
30109
|
-
"description": "Credits
|
30184
|
+
"name": "CREDITS_BALANCE_DEPLETED",
|
30185
|
+
"description": "Credits balance depleted",
|
30110
30186
|
"isDeprecated": false,
|
30111
30187
|
"deprecationReason": null
|
30112
30188
|
},
|
30113
30189
|
{
|
30114
|
-
"name": "
|
30115
|
-
"description": "Credits
|
30190
|
+
"name": "CREDITS_BALANCE_USAGE_LOW",
|
30191
|
+
"description": "Credits balance usage low",
|
30192
|
+
"isDeprecated": false,
|
30193
|
+
"deprecationReason": null
|
30194
|
+
},
|
30195
|
+
{
|
30196
|
+
"name": "CREDITS_GRANT_DEPLETED",
|
30197
|
+
"description": "Credits grant depleted",
|
30198
|
+
"isDeprecated": false,
|
30199
|
+
"deprecationReason": null
|
30200
|
+
},
|
30201
|
+
{
|
30202
|
+
"name": "CREDITS_GRANT_EXPIRED",
|
30203
|
+
"description": "Credits grant expired",
|
30204
|
+
"isDeprecated": false,
|
30205
|
+
"deprecationReason": null
|
30206
|
+
},
|
30207
|
+
{
|
30208
|
+
"name": "CREDITS_GRANT_GRANTED",
|
30209
|
+
"description": "Credits grant granted",
|
30210
|
+
"isDeprecated": false,
|
30211
|
+
"deprecationReason": null
|
30212
|
+
},
|
30213
|
+
{
|
30214
|
+
"name": "CREDITS_GRANT_UPDATED",
|
30215
|
+
"description": "Credits grant updated",
|
30216
|
+
"isDeprecated": false,
|
30217
|
+
"deprecationReason": null
|
30218
|
+
},
|
30219
|
+
{
|
30220
|
+
"name": "CREDITS_GRANT_USAGE_LOW",
|
30221
|
+
"description": "Credits grant usage low",
|
30116
30222
|
"isDeprecated": false,
|
30117
30223
|
"deprecationReason": null
|
30118
30224
|
},
|
@@ -71372,8 +71478,8 @@
|
|
71372
71478
|
}
|
71373
71479
|
}
|
71374
71480
|
},
|
71375
|
-
"isDeprecated":
|
71376
|
-
"deprecationReason":
|
71481
|
+
"isDeprecated": true,
|
71482
|
+
"deprecationReason": "Use 'entitlementsState' instead to retrieve status together with the entitlements. See 'entitlementsState' for more info."
|
71377
71483
|
},
|
71378
71484
|
{
|
71379
71485
|
"name": "checkoutState",
|
@@ -72063,6 +72169,39 @@
|
|
72063
72169
|
"isDeprecated": false,
|
72064
72170
|
"deprecationReason": null
|
72065
72171
|
},
|
72172
|
+
{
|
72173
|
+
"name": "entitlementsState",
|
72174
|
+
"description": "Retrieve entitlements from the cache to optimize performance, together with an access denied reason.",
|
72175
|
+
"args": [
|
72176
|
+
{
|
72177
|
+
"name": "query",
|
72178
|
+
"description": "Query for retrieving all entitlements for a customer in a specific environment.",
|
72179
|
+
"type": {
|
72180
|
+
"kind": "NON_NULL",
|
72181
|
+
"name": null,
|
72182
|
+
"ofType": {
|
72183
|
+
"kind": "INPUT_OBJECT",
|
72184
|
+
"name": "FetchEntitlementsQuery",
|
72185
|
+
"ofType": null
|
72186
|
+
}
|
72187
|
+
},
|
72188
|
+
"defaultValue": null,
|
72189
|
+
"isDeprecated": false,
|
72190
|
+
"deprecationReason": null
|
72191
|
+
}
|
72192
|
+
],
|
72193
|
+
"type": {
|
72194
|
+
"kind": "NON_NULL",
|
72195
|
+
"name": null,
|
72196
|
+
"ofType": {
|
72197
|
+
"kind": "OBJECT",
|
72198
|
+
"name": "EntitlementsState",
|
72199
|
+
"ofType": null
|
72200
|
+
}
|
72201
|
+
},
|
72202
|
+
"isDeprecated": false,
|
72203
|
+
"deprecationReason": null
|
72204
|
+
},
|
72066
72205
|
{
|
72067
72206
|
"name": "environments",
|
72068
72207
|
"description": 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: 3.
|
4
|
+
version: 3.84.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stigg
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphlient
|