stigg-api-client 5.163.0 → 5.165.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: 9a33dcb6dd8e1f11a786017ea00c1bacfa03c44095d3cfc6606c2da88a806d77
4
- data.tar.gz: a5ab519ecbc969b52bf78ef86b55c46d283e7f3a0d6e9df9c9be698975759a81
3
+ metadata.gz: b335d11b52856d0cba63bea5789b58f7beaaec1afad3939afbcdde5ab8882598
4
+ data.tar.gz: 9de4226729647764ac7a7e5d09b28348e459726aa4636c2e4bc20cd38fa6068f
5
5
  SHA512:
6
- metadata.gz: 2ec6281ef5b9c8b36c710a1ed1a107bd9e9e1c45d29c3414b91189f373fa4ce372597c9a391b14cc1d35ef1f8caabfc53579f55cfc43c766d895b0d7253b658e
7
- data.tar.gz: '08967d172a3c6b84ee801587411875b3d844dade67a42f3dca924346159238095f0df077d1c9db35f1f7166fdbefa56c48ddd7faa23502161520f06c17431aa2'
6
+ metadata.gz: d61ce1ca4284ab1a90d885ff663ebaa944364b6cddf597fab2bddef1cf7f92b59319257d8f39a12a19179938a56b2a61b0f05a675ac7d2ce1a90cda67487b7ba
7
+ data.tar.gz: 253562f6674074199d2da8f6a17659e5379fca99e3056319d5f50fc0a114c046f75606c0e9bc3f2e4b05ec3ea0a7160c8f583424481d316f29a05f9e3fd6de61
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (5.163.0)
4
+ stigg-api-client (5.165.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1651,6 +1651,9 @@ module Stigg
1651
1651
  entitlements {
1652
1652
  ...EntitlementFragment
1653
1653
  }
1654
+ entitlementsV2 {
1655
+ ...EntitlementUnionFragment
1656
+ }
1654
1657
  }
1655
1658
  GRAPHQL
1656
1659
 
@@ -1662,6 +1665,9 @@ module Stigg
1662
1665
  entitlements {
1663
1666
  ...EntitlementFragment
1664
1667
  }
1668
+ entitlementsV2 {
1669
+ ...EntitlementUnionFragment
1670
+ }
1665
1671
  }
1666
1672
  GRAPHQL
1667
1673
 
@@ -1676,6 +1682,9 @@ module Stigg
1676
1682
  entitlements {
1677
1683
  ...EntitlementFragment
1678
1684
  }
1685
+ entitlementsV2 {
1686
+ ...EntitlementUnionFragment
1687
+ }
1679
1688
  }
1680
1689
  GRAPHQL
1681
1690
 
@@ -1900,6 +1909,103 @@ module Stigg
1900
1909
  updatedAt
1901
1910
  }
1902
1911
  GRAPHQL
1912
+
1913
+ FeatureEntitlementFragment = <<~GRAPHQL
1914
+ fragment FeatureEntitlementFragment on FeatureEntitlement {
1915
+ __typename
1916
+ isGranted
1917
+ accessDeniedReason
1918
+ usageLimit
1919
+ hasUnlimitedUsage
1920
+ hasSoftLimit
1921
+ currentUsage
1922
+ enumValues
1923
+ entitlementUpdatedAt
1924
+ usageUpdatedAt
1925
+ usagePeriodAnchor
1926
+ usagePeriodStart
1927
+ usagePeriodEnd
1928
+ resetPeriod
1929
+ resetPeriodConfiguration {
1930
+ ...ResetPeriodConfigurationFragment
1931
+ }
1932
+ feature {
1933
+ ...FeatureFragment
1934
+ }
1935
+ creditRate {
1936
+ amount
1937
+ currencyId
1938
+ }
1939
+ validUntil
1940
+ }
1941
+ GRAPHQL
1942
+
1943
+ CreditEntitlementFragment = <<~GRAPHQL
1944
+ fragment CreditEntitlementFragment on CreditEntitlement {
1945
+ __typename
1946
+ isGranted
1947
+ accessDeniedReason
1948
+ currency {
1949
+ currencyId
1950
+ }
1951
+ usageLimit
1952
+ currentUsage
1953
+ usageUpdatedAt
1954
+ entitlementUpdatedAt
1955
+ validUntil
1956
+ }
1957
+ GRAPHQL
1958
+
1959
+ EntitlementUnionFragment = <<~GRAPHQL
1960
+ fragment EntitlementUnionFragment on EntitlementUnion {
1961
+ ... on FeatureEntitlement {
1962
+ ...FeatureEntitlementFragment
1963
+ }
1964
+ ... on CreditEntitlement {
1965
+ ...CreditEntitlementFragment
1966
+ }
1967
+ }
1968
+ GRAPHQL
1969
+
1970
+ EntitlementReferenceFragment = <<~GRAPHQL
1971
+ fragment EntitlementReferenceFragment on EntitlementReference {
1972
+ id
1973
+ type
1974
+ }
1975
+ GRAPHQL
1976
+
1977
+ UsageV2Fragment = <<~GRAPHQL
1978
+ fragment UsageV2Fragment on UsageV2 {
1979
+ currentUsage
1980
+ usageUpdatedAt
1981
+ usagePeriodStart
1982
+ usagePeriodEnd
1983
+ }
1984
+ GRAPHQL
1985
+
1986
+ EntitlementsUpdatedV2Payload = <<~GRAPHQL
1987
+ fragment EntitlementsUpdatedV2Payload on EntitlementsUpdatedV2 {
1988
+ customerId
1989
+ resourceId
1990
+ accessDeniedReason
1991
+ entitlements {
1992
+ ...EntitlementUnionFragment
1993
+ }
1994
+ }
1995
+ GRAPHQL
1996
+
1997
+ UsageUpdatedV2Payload = <<~GRAPHQL
1998
+ fragment UsageUpdatedV2Payload on UsageUpdatedV2 {
1999
+ customerId
2000
+ resourceId
2001
+ entitlementReference {
2002
+ ...EntitlementReferenceFragment
2003
+ }
2004
+ usage {
2005
+ ...UsageV2Fragment
2006
+ }
2007
+ }
2008
+ GRAPHQL
1903
2009
  end
1904
2010
 
1905
2011
  module Mutation
@@ -1920,6 +2026,9 @@ module Stigg
1920
2026
  #{Fragment::EntitlementFragment}
1921
2027
  #{Fragment::ResetPeriodConfigurationFragment}
1922
2028
  #{Fragment::FeatureFragment}
2029
+ #{Fragment::EntitlementUnionFragment}
2030
+ #{Fragment::FeatureEntitlementFragment}
2031
+ #{Fragment::CreditEntitlementFragment}
1923
2032
  GRAPHQL
1924
2033
 
1925
2034
  ImportCustomerBulk = <<~GRAPHQL
@@ -1994,6 +2103,9 @@ module Stigg
1994
2103
  #{Fragment::EntitlementFragment}
1995
2104
  #{Fragment::ResetPeriodConfigurationFragment}
1996
2105
  #{Fragment::FeatureFragment}
2106
+ #{Fragment::EntitlementUnionFragment}
2107
+ #{Fragment::FeatureEntitlementFragment}
2108
+ #{Fragment::CreditEntitlementFragment}
1997
2109
  GRAPHQL
1998
2110
 
1999
2111
  ApplySubscription = <<~GRAPHQL
@@ -2024,6 +2136,9 @@ module Stigg
2024
2136
  #{Fragment::EntitlementFragment}
2025
2137
  #{Fragment::ResetPeriodConfigurationFragment}
2026
2138
  #{Fragment::FeatureFragment}
2139
+ #{Fragment::EntitlementUnionFragment}
2140
+ #{Fragment::FeatureEntitlementFragment}
2141
+ #{Fragment::CreditEntitlementFragment}
2027
2142
  GRAPHQL
2028
2143
 
2029
2144
  ImportSubscriptionsBulk = <<~GRAPHQL
@@ -2497,12 +2612,18 @@ module Stigg
2497
2612
  entitlements {
2498
2613
  ...EntitlementFragment
2499
2614
  }
2615
+ entitlementsV2 {
2616
+ ...EntitlementUnionFragment
2617
+ }
2500
2618
  accessDeniedReason
2501
2619
  }
2502
2620
  }
2503
2621
  #{Fragment::EntitlementFragment}
2504
2622
  #{Fragment::ResetPeriodConfigurationFragment}
2505
2623
  #{Fragment::FeatureFragment}
2624
+ #{Fragment::EntitlementUnionFragment}
2625
+ #{Fragment::FeatureEntitlementFragment}
2626
+ #{Fragment::CreditEntitlementFragment}
2506
2627
  GRAPHQL
2507
2628
 
2508
2629
  GetEntitlement = <<~GRAPHQL
@@ -2718,6 +2839,20 @@ module Stigg
2718
2839
  #{Fragment::FeatureFragment}
2719
2840
  GRAPHQL
2720
2841
 
2842
+ OnEntitlementsUpdatedV2 = <<~GRAPHQL
2843
+ subscription OnEntitlementsUpdatedV2 {
2844
+ entitlementsUpdatedV2 {
2845
+ ...EntitlementsUpdatedV2Payload
2846
+ }
2847
+ }
2848
+ #{Fragment::EntitlementsUpdatedV2Payload}
2849
+ #{Fragment::EntitlementUnionFragment}
2850
+ #{Fragment::FeatureEntitlementFragment}
2851
+ #{Fragment::ResetPeriodConfigurationFragment}
2852
+ #{Fragment::FeatureFragment}
2853
+ #{Fragment::CreditEntitlementFragment}
2854
+ GRAPHQL
2855
+
2721
2856
  OnUsageUpdated = <<~GRAPHQL
2722
2857
  subscription OnUsageUpdated {
2723
2858
  usageUpdated {
@@ -2731,6 +2866,17 @@ module Stigg
2731
2866
  #{Fragment::FeatureFragment}
2732
2867
  GRAPHQL
2733
2868
 
2869
+ OnUsageUpdatedV2 = <<~GRAPHQL
2870
+ subscription OnUsageUpdatedV2 {
2871
+ usageUpdatedV2 {
2872
+ ...UsageUpdatedV2Payload
2873
+ }
2874
+ }
2875
+ #{Fragment::UsageUpdatedV2Payload}
2876
+ #{Fragment::EntitlementReferenceFragment}
2877
+ #{Fragment::UsageV2Fragment}
2878
+ GRAPHQL
2879
+
2734
2880
  OnPackagePublished = <<~GRAPHQL
2735
2881
  subscription OnPackagePublished {
2736
2882
  packagePublished {
@@ -32819,6 +32819,12 @@
32819
32819
  "isDeprecated": false,
32820
32820
  "deprecationReason": null
32821
32821
  },
32822
+ {
32823
+ "name": "UnhandledCreditGrantSourceType",
32824
+ "description": "Unhandled credit grant source type",
32825
+ "isDeprecated": false,
32826
+ "deprecationReason": null
32827
+ },
32822
32828
  {
32823
32829
  "name": "UnsupportedFeatureType",
32824
32830
  "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.163.0"
4
+ VERSION = "5.165.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.163.0
4
+ version: 5.165.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg