stigg-api-client 3.81.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f45504224d24e4dce11ac0e726d46aea81fb5af3329edf7ee4e9503a920f396
4
- data.tar.gz: beaac5cb03a6e6774069b526130e5b3471206b1d7e55a2983c5d30aa4f3e4735
3
+ metadata.gz: 5a2560f0e6bcd1f5e94d3353d1c5a55c8a30285cf9b34d730f700be6cd4158fa
4
+ data.tar.gz: 3f4989dab7a16878b8ec79bd2be30d661ed1d97278a50b1a2b48bfdc7d87f384
5
5
  SHA512:
6
- metadata.gz: 18c0ebba601f891d34b6146d05bcc716b3cfd2d398f0911461b8df6313a0a70ce99bd977807e4e09c012e3ba56d5e8ae5fc8dea43d7419a487d5e224010b1eb6
7
- data.tar.gz: 50d8d45ede74d466fa3305032e7589b23b1c26443831cfa7457097acaa7556a6bf405bc071d9a9a944ed5266ee0febd12fc17cf4127cf3b1350360f37cec4124
6
+ metadata.gz: 3eda0fd93b581b5c270eeb63d6026cacdb6afa02a876540a236bbb4389646a5cac9a59bb0a8b64cb2ff1d0fea9926cefdd5c6227b3469c809b89eda17f4bcb7f
7
+ data.tar.gz: fc7469b1fd8cc0d677028e72dbebe555de397629e4ab1f5f20b2b4989d1e70b5a88d27c804c432a7d38749b0ecdd3fa06a12dc65eb4dbb9a689cd9cc4aaa2f51
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (3.81.0)
4
+ stigg-api-client (3.84.1)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -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",
@@ -71408,8 +71478,8 @@
71408
71478
  }
71409
71479
  }
71410
71480
  },
71411
- "isDeprecated": false,
71412
- "deprecationReason": null
71481
+ "isDeprecated": true,
71482
+ "deprecationReason": "Use 'entitlementsState' instead to retrieve status together with the entitlements. See 'entitlementsState' for more info."
71413
71483
  },
71414
71484
  {
71415
71485
  "name": "checkoutState",
@@ -72099,6 +72169,39 @@
72099
72169
  "isDeprecated": false,
72100
72170
  "deprecationReason": null
72101
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
+ },
72102
72205
  {
72103
72206
  "name": "environments",
72104
72207
  "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 = "3.81.0"
4
+ VERSION = "3.84.1"
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: 3.81.0
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-14 00:00:00.000000000 Z
11
+ date: 2025-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient