stigg-api-client 5.222.0 → 5.224.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 +13 -0
- data/lib/stigg/generated/schema.json +120 -0
- 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: 49b98307c2647fcc6cf6e0fe8968db93ae178c7586900bf5e25f61afad7f0fb9
|
|
4
|
+
data.tar.gz: 223405c9f5a8852307f26a215d2b0c959cd217a81b89b2c67f6510350c39262b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 581b57375ea9dc5c2cbbec1c315b8c17cb936dcfdae748e375b8f47b73d08b09fd29d141db9b44df56267013860f05953c3052388d3da45b2067facdc2a68406
|
|
7
|
+
data.tar.gz: e46e39e36949c42c1f5ce0b62bd36ecff1d5798fffc68f4dcceeee47858d2bf7a2feeb9da32cc37003f0807a8cc144db66474727afea5879acbf91144f217a22
|
data/Gemfile.lock
CHANGED
|
@@ -2639,6 +2639,19 @@ module Stigg
|
|
|
2639
2639
|
#{Fragment::FeatureFragment}
|
|
2640
2640
|
GRAPHQL
|
|
2641
2641
|
|
|
2642
|
+
GetEntitlementV2 = <<~GRAPHQL
|
|
2643
|
+
query GetEntitlementV2($query: GetEntitlementV2Input!) {
|
|
2644
|
+
entitlementV2(query: $query) {
|
|
2645
|
+
...EntitlementUnionFragment
|
|
2646
|
+
}
|
|
2647
|
+
}
|
|
2648
|
+
#{Fragment::EntitlementUnionFragment}
|
|
2649
|
+
#{Fragment::FeatureEntitlementFragment}
|
|
2650
|
+
#{Fragment::ResetPeriodConfigurationFragment}
|
|
2651
|
+
#{Fragment::FeatureFragment}
|
|
2652
|
+
#{Fragment::CreditEntitlementFragment}
|
|
2653
|
+
GRAPHQL
|
|
2654
|
+
|
|
2642
2655
|
GetProducts = <<~GRAPHQL
|
|
2643
2656
|
query GetProducts {
|
|
2644
2657
|
products(paging: { first: 20 }) {
|
|
@@ -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
|
},
|
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.224.1
|
|
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-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphlient
|