stigg-api-client 5.209.1 → 5.211.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: a77a25d59169d7df7d81fd66c14fcfefda3eb4e400af68fbc05cec8de2171f98
4
- data.tar.gz: 0af8d95db3e8ece2a696bcadf422ce980b7db6a53b8dce16df9bf09b97813e45
3
+ metadata.gz: 1e3e5c5c03d21ac0e448a2b8d60b90c97b16c029a4bfc9e5876fdf7bcb8c37fd
4
+ data.tar.gz: 4427e0dfe47e782473902a252f7a02652be85458a28c90a4f3f49637f467a607
5
5
  SHA512:
6
- metadata.gz: e8eb02a114518daa4c38eba47f9c3a265099b48adbfb5f6ba8ec3d4bb04c250d5e2cc31f558c54eb9ab31bb50b3132b7b5ed04bfdeba0609ad14e4111a0406eb
7
- data.tar.gz: 1e1ca3acee45f9b7941b6e0fe0c271d6785a9f55578c2f8a158117f27f83aa00b93964719226b3c98b8b5bf6da601cf04626537847403cd7784ad62d3b761be7
6
+ metadata.gz: 99da4a8891e340dc05053f664d1255b062adacff5a05c8f71c6b3bf45ea62d0691fcc9359ccc041ffecc122b932e12d9a75e33e64d1c3f95adda311f49a40812
7
+ data.tar.gz: f2301f47290d6106bfd037f9b9c50369748179e3ac06276dd199302cc938c2a79a689b56fdd009385662b0bbfe5775168bff64480c4e19b9f1c5dfaffd7a7268
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (5.209.1)
4
+ stigg-api-client (5.211.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -14638,6 +14638,121 @@
14638
14638
  "enumValues": null,
14639
14639
  "possibleTypes": null
14640
14640
  },
14641
+ {
14642
+ "kind": "OBJECT",
14643
+ "name": "CreditEntitlementWithSummary",
14644
+ "description": "A credit entitlement combined with its computed summary.",
14645
+ "fields": [
14646
+ {
14647
+ "name": "accessDeniedReason",
14648
+ "description": "Optional message explaining why access to the feature is denied.",
14649
+ "args": [],
14650
+ "type": {
14651
+ "kind": "ENUM",
14652
+ "name": "AccessDeniedReason",
14653
+ "ofType": null
14654
+ },
14655
+ "isDeprecated": false,
14656
+ "deprecationReason": null
14657
+ },
14658
+ {
14659
+ "name": "currency",
14660
+ "description": "The custom currency associated with this credit entitlement.",
14661
+ "args": [],
14662
+ "type": {
14663
+ "kind": "NON_NULL",
14664
+ "name": null,
14665
+ "ofType": {
14666
+ "kind": "OBJECT",
14667
+ "name": "EntitlementCurrency",
14668
+ "ofType": null
14669
+ }
14670
+ },
14671
+ "isDeprecated": false,
14672
+ "deprecationReason": null
14673
+ },
14674
+ {
14675
+ "name": "currentUsage",
14676
+ "description": "The total amount of credits consumed by the customer.",
14677
+ "args": [],
14678
+ "type": {
14679
+ "kind": "SCALAR",
14680
+ "name": "Float",
14681
+ "ofType": null
14682
+ },
14683
+ "isDeprecated": false,
14684
+ "deprecationReason": null
14685
+ },
14686
+ {
14687
+ "name": "entitlementUpdatedAt",
14688
+ "description": "Timestamp of the last update to the entitlement grant or configuration.",
14689
+ "args": [],
14690
+ "type": {
14691
+ "kind": "SCALAR",
14692
+ "name": "DateTime",
14693
+ "ofType": null
14694
+ },
14695
+ "isDeprecated": false,
14696
+ "deprecationReason": null
14697
+ },
14698
+ {
14699
+ "name": "isGranted",
14700
+ "description": "Indicates whether the entitlement is currently granted to the customer.",
14701
+ "args": [],
14702
+ "type": {
14703
+ "kind": "NON_NULL",
14704
+ "name": null,
14705
+ "ofType": {
14706
+ "kind": "SCALAR",
14707
+ "name": "Boolean",
14708
+ "ofType": null
14709
+ }
14710
+ },
14711
+ "isDeprecated": false,
14712
+ "deprecationReason": null
14713
+ },
14714
+ {
14715
+ "name": "usageLimit",
14716
+ "description": "The total amount of credits granted to the customer.",
14717
+ "args": [],
14718
+ "type": {
14719
+ "kind": "SCALAR",
14720
+ "name": "Float",
14721
+ "ofType": null
14722
+ },
14723
+ "isDeprecated": false,
14724
+ "deprecationReason": null
14725
+ },
14726
+ {
14727
+ "name": "usageUpdatedAt",
14728
+ "description": "Timestamp of the last update to the credit usage.",
14729
+ "args": [],
14730
+ "type": {
14731
+ "kind": "SCALAR",
14732
+ "name": "DateTime",
14733
+ "ofType": null
14734
+ },
14735
+ "isDeprecated": false,
14736
+ "deprecationReason": null
14737
+ },
14738
+ {
14739
+ "name": "validUntil",
14740
+ "description": "The next time the entitlement should be recalculated",
14741
+ "args": [],
14742
+ "type": {
14743
+ "kind": "SCALAR",
14744
+ "name": "DateTime",
14745
+ "ofType": null
14746
+ },
14747
+ "isDeprecated": false,
14748
+ "deprecationReason": null
14749
+ }
14750
+ ],
14751
+ "inputFields": null,
14752
+ "interfaces": [],
14753
+ "enumValues": null,
14754
+ "possibleTypes": null
14755
+ },
14641
14756
  {
14642
14757
  "kind": "OBJECT",
14643
14758
  "name": "CreditGrant",
@@ -30561,6 +30676,27 @@
30561
30676
  "enumValues": null,
30562
30677
  "possibleTypes": null
30563
30678
  },
30679
+ {
30680
+ "kind": "UNION",
30681
+ "name": "EntitlementWithSummaryUnion",
30682
+ "description": null,
30683
+ "fields": null,
30684
+ "inputFields": null,
30685
+ "interfaces": null,
30686
+ "enumValues": null,
30687
+ "possibleTypes": [
30688
+ {
30689
+ "kind": "OBJECT",
30690
+ "name": "CreditEntitlementWithSummary",
30691
+ "ofType": null
30692
+ },
30693
+ {
30694
+ "kind": "OBJECT",
30695
+ "name": "FeatureEntitlementWithSummary",
30696
+ "ofType": null
30697
+ }
30698
+ ]
30699
+ },
30564
30700
  {
30565
30701
  "kind": "OBJECT",
30566
30702
  "name": "EntitlementsState",
@@ -30875,6 +31011,41 @@
30875
31011
  "enumValues": null,
30876
31012
  "possibleTypes": null
30877
31013
  },
31014
+ {
31015
+ "kind": "OBJECT",
31016
+ "name": "EntitlementsWithSummary",
31017
+ "description": "Response containing entitlements with summaries, supporting both feature and credit entitlements.",
31018
+ "fields": [
31019
+ {
31020
+ "name": "entitlements",
31021
+ "description": "The list of polymorphic entitlements (feature and credit) with summaries granted to the customer.",
31022
+ "args": [],
31023
+ "type": {
31024
+ "kind": "NON_NULL",
31025
+ "name": null,
31026
+ "ofType": {
31027
+ "kind": "LIST",
31028
+ "name": null,
31029
+ "ofType": {
31030
+ "kind": "NON_NULL",
31031
+ "name": null,
31032
+ "ofType": {
31033
+ "kind": "UNION",
31034
+ "name": "EntitlementWithSummaryUnion",
31035
+ "ofType": null
31036
+ }
31037
+ }
31038
+ }
31039
+ },
31040
+ "isDeprecated": false,
31041
+ "deprecationReason": null
31042
+ }
31043
+ ],
31044
+ "inputFields": null,
31045
+ "interfaces": [],
31046
+ "enumValues": null,
31047
+ "possibleTypes": null
31048
+ },
30878
31049
  {
30879
31050
  "kind": "ENUM",
30880
31051
  "name": "EntitySelectionMode",
@@ -38643,6 +38814,261 @@
38643
38814
  "enumValues": null,
38644
38815
  "possibleTypes": null
38645
38816
  },
38817
+ {
38818
+ "kind": "OBJECT",
38819
+ "name": "FeatureEntitlementWithSummary",
38820
+ "description": "A feature entitlement combined with its computed summary.",
38821
+ "fields": [
38822
+ {
38823
+ "name": "accessDeniedReason",
38824
+ "description": "Optional message explaining why access to the feature is denied.",
38825
+ "args": [],
38826
+ "type": {
38827
+ "kind": "ENUM",
38828
+ "name": "AccessDeniedReason",
38829
+ "ofType": null
38830
+ },
38831
+ "isDeprecated": false,
38832
+ "deprecationReason": null
38833
+ },
38834
+ {
38835
+ "name": "creditRate",
38836
+ "description": "The credit rate associated with this entitlement, if applicable.",
38837
+ "args": [],
38838
+ "type": {
38839
+ "kind": "OBJECT",
38840
+ "name": "CreditRate",
38841
+ "ofType": null
38842
+ },
38843
+ "isDeprecated": false,
38844
+ "deprecationReason": null
38845
+ },
38846
+ {
38847
+ "name": "currentUsage",
38848
+ "description": "The amount of the feature the customer has used so far in the current period.",
38849
+ "args": [],
38850
+ "type": {
38851
+ "kind": "SCALAR",
38852
+ "name": "Float",
38853
+ "ofType": null
38854
+ },
38855
+ "isDeprecated": false,
38856
+ "deprecationReason": null
38857
+ },
38858
+ {
38859
+ "name": "entitlementUpdatedAt",
38860
+ "description": "Timestamp of the last update to the entitlement grant or configuration.",
38861
+ "args": [],
38862
+ "type": {
38863
+ "kind": "SCALAR",
38864
+ "name": "DateTime",
38865
+ "ofType": null
38866
+ },
38867
+ "isDeprecated": false,
38868
+ "deprecationReason": null
38869
+ },
38870
+ {
38871
+ "name": "enumValues",
38872
+ "description": "List of enum values applicable to this entitlement, if it is an enum feature.",
38873
+ "args": [],
38874
+ "type": {
38875
+ "kind": "LIST",
38876
+ "name": null,
38877
+ "ofType": {
38878
+ "kind": "NON_NULL",
38879
+ "name": null,
38880
+ "ofType": {
38881
+ "kind": "SCALAR",
38882
+ "name": "String",
38883
+ "ofType": null
38884
+ }
38885
+ }
38886
+ },
38887
+ "isDeprecated": false,
38888
+ "deprecationReason": null
38889
+ },
38890
+ {
38891
+ "name": "feature",
38892
+ "description": "The feature this entitlement corresponds to.",
38893
+ "args": [],
38894
+ "type": {
38895
+ "kind": "OBJECT",
38896
+ "name": "EntitlementFeature",
38897
+ "ofType": null
38898
+ },
38899
+ "isDeprecated": false,
38900
+ "deprecationReason": null
38901
+ },
38902
+ {
38903
+ "name": "hasSoftLimit",
38904
+ "description": "Indicates whether the usage limit is soft — usage can exceed the limit, but will be tracked.",
38905
+ "args": [],
38906
+ "type": {
38907
+ "kind": "SCALAR",
38908
+ "name": "Boolean",
38909
+ "ofType": null
38910
+ },
38911
+ "isDeprecated": false,
38912
+ "deprecationReason": null
38913
+ },
38914
+ {
38915
+ "name": "hasUnlimitedUsage",
38916
+ "description": "Indicates whether this entitlement grants unlimited usage with no enforced cap.",
38917
+ "args": [],
38918
+ "type": {
38919
+ "kind": "NON_NULL",
38920
+ "name": null,
38921
+ "ofType": {
38922
+ "kind": "SCALAR",
38923
+ "name": "Boolean",
38924
+ "ofType": null
38925
+ }
38926
+ },
38927
+ "isDeprecated": false,
38928
+ "deprecationReason": null
38929
+ },
38930
+ {
38931
+ "name": "isGranted",
38932
+ "description": "Indicates whether the entitlement is currently granted to the customer.",
38933
+ "args": [],
38934
+ "type": {
38935
+ "kind": "NON_NULL",
38936
+ "name": null,
38937
+ "ofType": {
38938
+ "kind": "SCALAR",
38939
+ "name": "Boolean",
38940
+ "ofType": null
38941
+ }
38942
+ },
38943
+ "isDeprecated": false,
38944
+ "deprecationReason": null
38945
+ },
38946
+ {
38947
+ "name": "resetPeriod",
38948
+ "description": "The interval at which usage resets automatically, such as monthly or yearly.",
38949
+ "args": [],
38950
+ "type": {
38951
+ "kind": "ENUM",
38952
+ "name": "EntitlementResetPeriod",
38953
+ "ofType": null
38954
+ },
38955
+ "isDeprecated": false,
38956
+ "deprecationReason": null
38957
+ },
38958
+ {
38959
+ "name": "resetPeriodConfiguration",
38960
+ "description": "Detailed configuration object specifying the usage reset schedule.",
38961
+ "args": [],
38962
+ "type": {
38963
+ "kind": "UNION",
38964
+ "name": "ResetPeriodConfiguration",
38965
+ "ofType": null
38966
+ },
38967
+ "isDeprecated": false,
38968
+ "deprecationReason": null
38969
+ },
38970
+ {
38971
+ "name": "summaries",
38972
+ "description": "List of entitlement summaries per feature, including source and effective values.",
38973
+ "args": [],
38974
+ "type": {
38975
+ "kind": "NON_NULL",
38976
+ "name": null,
38977
+ "ofType": {
38978
+ "kind": "LIST",
38979
+ "name": null,
38980
+ "ofType": {
38981
+ "kind": "NON_NULL",
38982
+ "name": null,
38983
+ "ofType": {
38984
+ "kind": "OBJECT",
38985
+ "name": "EntitlementSummary",
38986
+ "ofType": null
38987
+ }
38988
+ }
38989
+ }
38990
+ },
38991
+ "isDeprecated": false,
38992
+ "deprecationReason": null
38993
+ },
38994
+ {
38995
+ "name": "usageLimit",
38996
+ "description": "The maximum allowed usage for this entitlement before restrictions apply.",
38997
+ "args": [],
38998
+ "type": {
38999
+ "kind": "SCALAR",
39000
+ "name": "Float",
39001
+ "ofType": null
39002
+ },
39003
+ "isDeprecated": false,
39004
+ "deprecationReason": null
39005
+ },
39006
+ {
39007
+ "name": "usagePeriodAnchor",
39008
+ "description": "The anchor for calculating the usage period for metered entitlements with a reset period configured",
39009
+ "args": [],
39010
+ "type": {
39011
+ "kind": "SCALAR",
39012
+ "name": "DateTime",
39013
+ "ofType": null
39014
+ },
39015
+ "isDeprecated": false,
39016
+ "deprecationReason": null
39017
+ },
39018
+ {
39019
+ "name": "usagePeriodEnd",
39020
+ "description": "The end date of the usage period for metered entitlements with a reset period configured",
39021
+ "args": [],
39022
+ "type": {
39023
+ "kind": "SCALAR",
39024
+ "name": "DateTime",
39025
+ "ofType": null
39026
+ },
39027
+ "isDeprecated": false,
39028
+ "deprecationReason": null
39029
+ },
39030
+ {
39031
+ "name": "usagePeriodStart",
39032
+ "description": "The start date of the usage period for metered entitlements with a reset period configured",
39033
+ "args": [],
39034
+ "type": {
39035
+ "kind": "SCALAR",
39036
+ "name": "DateTime",
39037
+ "ofType": null
39038
+ },
39039
+ "isDeprecated": false,
39040
+ "deprecationReason": null
39041
+ },
39042
+ {
39043
+ "name": "usageUpdatedAt",
39044
+ "description": "Timestamp of the last update to the usage value.",
39045
+ "args": [],
39046
+ "type": {
39047
+ "kind": "SCALAR",
39048
+ "name": "DateTime",
39049
+ "ofType": null
39050
+ },
39051
+ "isDeprecated": false,
39052
+ "deprecationReason": null
39053
+ },
39054
+ {
39055
+ "name": "validUntil",
39056
+ "description": "The next time the entitlement should be recalculated",
39057
+ "args": [],
39058
+ "type": {
39059
+ "kind": "SCALAR",
39060
+ "name": "DateTime",
39061
+ "ofType": null
39062
+ },
39063
+ "isDeprecated": false,
39064
+ "deprecationReason": null
39065
+ }
39066
+ ],
39067
+ "inputFields": null,
39068
+ "interfaces": [],
39069
+ "enumValues": null,
39070
+ "possibleTypes": null
39071
+ },
38646
39072
  {
38647
39073
  "kind": "INPUT_OBJECT",
38648
39074
  "name": "FeatureFilter",
@@ -82048,8 +82474,8 @@
82048
82474
  }
82049
82475
  }
82050
82476
  },
82051
- "isDeprecated": false,
82052
- "deprecationReason": null
82477
+ "isDeprecated": true,
82478
+ "deprecationReason": "Use 'entitlementsWithSummary' query instead to retrieve both feature and credit entitlements with summaries."
82053
82479
  },
82054
82480
  {
82055
82481
  "name": "entitlementsState",
@@ -82084,6 +82510,39 @@
82084
82510
  "isDeprecated": false,
82085
82511
  "deprecationReason": null
82086
82512
  },
82513
+ {
82514
+ "name": "entitlementsWithSummary",
82515
+ "description": "Get the full list of entitlements (feature and credit) with summaries for a customer in a specific environment.",
82516
+ "args": [
82517
+ {
82518
+ "name": "query",
82519
+ "description": "Query for retrieving all entitlements for a customer in a specific environment.",
82520
+ "type": {
82521
+ "kind": "NON_NULL",
82522
+ "name": null,
82523
+ "ofType": {
82524
+ "kind": "INPUT_OBJECT",
82525
+ "name": "FetchEntitlementsQuery",
82526
+ "ofType": null
82527
+ }
82528
+ },
82529
+ "defaultValue": null,
82530
+ "isDeprecated": false,
82531
+ "deprecationReason": null
82532
+ }
82533
+ ],
82534
+ "type": {
82535
+ "kind": "NON_NULL",
82536
+ "name": null,
82537
+ "ofType": {
82538
+ "kind": "OBJECT",
82539
+ "name": "EntitlementsWithSummary",
82540
+ "ofType": null
82541
+ }
82542
+ },
82543
+ "isDeprecated": false,
82544
+ "deprecationReason": null
82545
+ },
82087
82546
  {
82088
82547
  "name": "environments",
82089
82548
  "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.209.1"
4
+ VERSION = "5.211.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.209.1
4
+ version: 5.211.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-09 00:00:00.000000000 Z
11
+ date: 2026-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient