stigg-api-client 5.209.1 → 5.215.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: fde58511ab14eade5a74c7773826b9ab89a7d3b0f0507d61623a63f84abbe76b
4
+ data.tar.gz: d5bcb4e55c23519d0c87df399829ddcd9da2539755636890d5a2b7431d09c56a
5
5
  SHA512:
6
- metadata.gz: e8eb02a114518daa4c38eba47f9c3a265099b48adbfb5f6ba8ec3d4bb04c250d5e2cc31f558c54eb9ab31bb50b3132b7b5ed04bfdeba0609ad14e4111a0406eb
7
- data.tar.gz: 1e1ca3acee45f9b7941b6e0fe0c271d6785a9f55578c2f8a158117f27f83aa00b93964719226b3c98b8b5bf6da601cf04626537847403cd7784ad62d3b761be7
6
+ metadata.gz: 2c37b338918ccd7f70a8c1e5c770df0f963c1fd6ab739d40701cfc28f840af04c1f72d35cd392697553bbc2ae9d69ca3acf4ae736834c7a33bc36e27e36c720e
7
+ data.tar.gz: e364bcebde7e4180eaebf81e4967a91a246cfb4352df6c8f73d06480165da5eb8c5b1c18185bb5bd43d6f01e308910697e078fff9a1c7d0179bd9ee024b3dd56
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.215.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",
@@ -38541,6 +38712,18 @@
38541
38712
  "isDeprecated": false,
38542
38713
  "deprecationReason": null
38543
38714
  },
38715
+ {
38716
+ "name": "meterId",
38717
+ "description": "The ID of the meter tracking usage for this entitlement.",
38718
+ "args": [],
38719
+ "type": {
38720
+ "kind": "SCALAR",
38721
+ "name": "String",
38722
+ "ofType": null
38723
+ },
38724
+ "isDeprecated": false,
38725
+ "deprecationReason": null
38726
+ },
38544
38727
  {
38545
38728
  "name": "resetPeriod",
38546
38729
  "description": "The interval at which usage resets automatically, such as monthly or yearly.",
@@ -38643,6 +38826,273 @@
38643
38826
  "enumValues": null,
38644
38827
  "possibleTypes": null
38645
38828
  },
38829
+ {
38830
+ "kind": "OBJECT",
38831
+ "name": "FeatureEntitlementWithSummary",
38832
+ "description": "A feature entitlement combined with its computed summary.",
38833
+ "fields": [
38834
+ {
38835
+ "name": "accessDeniedReason",
38836
+ "description": "Optional message explaining why access to the feature is denied.",
38837
+ "args": [],
38838
+ "type": {
38839
+ "kind": "ENUM",
38840
+ "name": "AccessDeniedReason",
38841
+ "ofType": null
38842
+ },
38843
+ "isDeprecated": false,
38844
+ "deprecationReason": null
38845
+ },
38846
+ {
38847
+ "name": "creditRate",
38848
+ "description": "The credit rate associated with this entitlement, if applicable.",
38849
+ "args": [],
38850
+ "type": {
38851
+ "kind": "OBJECT",
38852
+ "name": "CreditRate",
38853
+ "ofType": null
38854
+ },
38855
+ "isDeprecated": false,
38856
+ "deprecationReason": null
38857
+ },
38858
+ {
38859
+ "name": "currentUsage",
38860
+ "description": "The amount of the feature the customer has used so far in the current period.",
38861
+ "args": [],
38862
+ "type": {
38863
+ "kind": "SCALAR",
38864
+ "name": "Float",
38865
+ "ofType": null
38866
+ },
38867
+ "isDeprecated": false,
38868
+ "deprecationReason": null
38869
+ },
38870
+ {
38871
+ "name": "entitlementUpdatedAt",
38872
+ "description": "Timestamp of the last update to the entitlement grant or configuration.",
38873
+ "args": [],
38874
+ "type": {
38875
+ "kind": "SCALAR",
38876
+ "name": "DateTime",
38877
+ "ofType": null
38878
+ },
38879
+ "isDeprecated": false,
38880
+ "deprecationReason": null
38881
+ },
38882
+ {
38883
+ "name": "enumValues",
38884
+ "description": "List of enum values applicable to this entitlement, if it is an enum feature.",
38885
+ "args": [],
38886
+ "type": {
38887
+ "kind": "LIST",
38888
+ "name": null,
38889
+ "ofType": {
38890
+ "kind": "NON_NULL",
38891
+ "name": null,
38892
+ "ofType": {
38893
+ "kind": "SCALAR",
38894
+ "name": "String",
38895
+ "ofType": null
38896
+ }
38897
+ }
38898
+ },
38899
+ "isDeprecated": false,
38900
+ "deprecationReason": null
38901
+ },
38902
+ {
38903
+ "name": "feature",
38904
+ "description": "The feature this entitlement corresponds to.",
38905
+ "args": [],
38906
+ "type": {
38907
+ "kind": "OBJECT",
38908
+ "name": "EntitlementFeature",
38909
+ "ofType": null
38910
+ },
38911
+ "isDeprecated": false,
38912
+ "deprecationReason": null
38913
+ },
38914
+ {
38915
+ "name": "hasSoftLimit",
38916
+ "description": "Indicates whether the usage limit is soft — usage can exceed the limit, but will be tracked.",
38917
+ "args": [],
38918
+ "type": {
38919
+ "kind": "SCALAR",
38920
+ "name": "Boolean",
38921
+ "ofType": null
38922
+ },
38923
+ "isDeprecated": false,
38924
+ "deprecationReason": null
38925
+ },
38926
+ {
38927
+ "name": "hasUnlimitedUsage",
38928
+ "description": "Indicates whether this entitlement grants unlimited usage with no enforced cap.",
38929
+ "args": [],
38930
+ "type": {
38931
+ "kind": "NON_NULL",
38932
+ "name": null,
38933
+ "ofType": {
38934
+ "kind": "SCALAR",
38935
+ "name": "Boolean",
38936
+ "ofType": null
38937
+ }
38938
+ },
38939
+ "isDeprecated": false,
38940
+ "deprecationReason": null
38941
+ },
38942
+ {
38943
+ "name": "isGranted",
38944
+ "description": "Indicates whether the entitlement is currently granted to the customer.",
38945
+ "args": [],
38946
+ "type": {
38947
+ "kind": "NON_NULL",
38948
+ "name": null,
38949
+ "ofType": {
38950
+ "kind": "SCALAR",
38951
+ "name": "Boolean",
38952
+ "ofType": null
38953
+ }
38954
+ },
38955
+ "isDeprecated": false,
38956
+ "deprecationReason": null
38957
+ },
38958
+ {
38959
+ "name": "meterId",
38960
+ "description": "The ID of the meter tracking usage for this entitlement.",
38961
+ "args": [],
38962
+ "type": {
38963
+ "kind": "SCALAR",
38964
+ "name": "String",
38965
+ "ofType": null
38966
+ },
38967
+ "isDeprecated": false,
38968
+ "deprecationReason": null
38969
+ },
38970
+ {
38971
+ "name": "resetPeriod",
38972
+ "description": "The interval at which usage resets automatically, such as monthly or yearly.",
38973
+ "args": [],
38974
+ "type": {
38975
+ "kind": "ENUM",
38976
+ "name": "EntitlementResetPeriod",
38977
+ "ofType": null
38978
+ },
38979
+ "isDeprecated": false,
38980
+ "deprecationReason": null
38981
+ },
38982
+ {
38983
+ "name": "resetPeriodConfiguration",
38984
+ "description": "Detailed configuration object specifying the usage reset schedule.",
38985
+ "args": [],
38986
+ "type": {
38987
+ "kind": "UNION",
38988
+ "name": "ResetPeriodConfiguration",
38989
+ "ofType": null
38990
+ },
38991
+ "isDeprecated": false,
38992
+ "deprecationReason": null
38993
+ },
38994
+ {
38995
+ "name": "summaries",
38996
+ "description": "List of entitlement summaries per feature, including source and effective values.",
38997
+ "args": [],
38998
+ "type": {
38999
+ "kind": "NON_NULL",
39000
+ "name": null,
39001
+ "ofType": {
39002
+ "kind": "LIST",
39003
+ "name": null,
39004
+ "ofType": {
39005
+ "kind": "NON_NULL",
39006
+ "name": null,
39007
+ "ofType": {
39008
+ "kind": "OBJECT",
39009
+ "name": "EntitlementSummary",
39010
+ "ofType": null
39011
+ }
39012
+ }
39013
+ }
39014
+ },
39015
+ "isDeprecated": false,
39016
+ "deprecationReason": null
39017
+ },
39018
+ {
39019
+ "name": "usageLimit",
39020
+ "description": "The maximum allowed usage for this entitlement before restrictions apply.",
39021
+ "args": [],
39022
+ "type": {
39023
+ "kind": "SCALAR",
39024
+ "name": "Float",
39025
+ "ofType": null
39026
+ },
39027
+ "isDeprecated": false,
39028
+ "deprecationReason": null
39029
+ },
39030
+ {
39031
+ "name": "usagePeriodAnchor",
39032
+ "description": "The anchor for calculating 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": "usagePeriodEnd",
39044
+ "description": "The end date of the usage period for metered entitlements with a reset period configured",
39045
+ "args": [],
39046
+ "type": {
39047
+ "kind": "SCALAR",
39048
+ "name": "DateTime",
39049
+ "ofType": null
39050
+ },
39051
+ "isDeprecated": false,
39052
+ "deprecationReason": null
39053
+ },
39054
+ {
39055
+ "name": "usagePeriodStart",
39056
+ "description": "The start date of the usage period for metered entitlements with a reset period configured",
39057
+ "args": [],
39058
+ "type": {
39059
+ "kind": "SCALAR",
39060
+ "name": "DateTime",
39061
+ "ofType": null
39062
+ },
39063
+ "isDeprecated": false,
39064
+ "deprecationReason": null
39065
+ },
39066
+ {
39067
+ "name": "usageUpdatedAt",
39068
+ "description": "Timestamp of the last update to the usage value.",
39069
+ "args": [],
39070
+ "type": {
39071
+ "kind": "SCALAR",
39072
+ "name": "DateTime",
39073
+ "ofType": null
39074
+ },
39075
+ "isDeprecated": false,
39076
+ "deprecationReason": null
39077
+ },
39078
+ {
39079
+ "name": "validUntil",
39080
+ "description": "The next time the entitlement should be recalculated",
39081
+ "args": [],
39082
+ "type": {
39083
+ "kind": "SCALAR",
39084
+ "name": "DateTime",
39085
+ "ofType": null
39086
+ },
39087
+ "isDeprecated": false,
39088
+ "deprecationReason": null
39089
+ }
39090
+ ],
39091
+ "inputFields": null,
39092
+ "interfaces": [],
39093
+ "enumValues": null,
39094
+ "possibleTypes": null
39095
+ },
38646
39096
  {
38647
39097
  "kind": "INPUT_OBJECT",
38648
39098
  "name": "FeatureFilter",
@@ -82048,8 +82498,8 @@
82048
82498
  }
82049
82499
  }
82050
82500
  },
82051
- "isDeprecated": false,
82052
- "deprecationReason": null
82501
+ "isDeprecated": true,
82502
+ "deprecationReason": "Use 'entitlementsWithSummary' query instead to retrieve both feature and credit entitlements with summaries."
82053
82503
  },
82054
82504
  {
82055
82505
  "name": "entitlementsState",
@@ -82084,6 +82534,39 @@
82084
82534
  "isDeprecated": false,
82085
82535
  "deprecationReason": null
82086
82536
  },
82537
+ {
82538
+ "name": "entitlementsWithSummary",
82539
+ "description": "Get the full list of entitlements (feature and credit) with summaries for a customer in a specific environment.",
82540
+ "args": [
82541
+ {
82542
+ "name": "query",
82543
+ "description": "Query for retrieving all entitlements for a customer in a specific environment.",
82544
+ "type": {
82545
+ "kind": "NON_NULL",
82546
+ "name": null,
82547
+ "ofType": {
82548
+ "kind": "INPUT_OBJECT",
82549
+ "name": "FetchEntitlementsQuery",
82550
+ "ofType": null
82551
+ }
82552
+ },
82553
+ "defaultValue": null,
82554
+ "isDeprecated": false,
82555
+ "deprecationReason": null
82556
+ }
82557
+ ],
82558
+ "type": {
82559
+ "kind": "NON_NULL",
82560
+ "name": null,
82561
+ "ofType": {
82562
+ "kind": "OBJECT",
82563
+ "name": "EntitlementsWithSummary",
82564
+ "ofType": null
82565
+ }
82566
+ },
82567
+ "isDeprecated": false,
82568
+ "deprecationReason": null
82569
+ },
82087
82570
  {
82088
82571
  "name": "environments",
82089
82572
  "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.215.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.215.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-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient