stigg-api-client 3.36.0 → 3.38.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: 02faf65ef55692490ad2b57c56063261a1f80e0baeb783dd47db108a9c850da8
4
- data.tar.gz: cfc2e46c8f1a19f0055d5b543b6943c2ff320468e3553db36da3911fcbb8258f
3
+ metadata.gz: '09f3024bbe735e1ffcba76e2b8a5813923e176a26ec19530437a5021aed3514a'
4
+ data.tar.gz: c489e11d6a7c92254375276f00932e286b2157597850eed2f9cb7e0a272df80c
5
5
  SHA512:
6
- metadata.gz: 25e73d4c070e96e26106892e4f72a3868559d298976610529e80dcb5928836a143aa7d6cb64f065afc29f448286889c010bb5ab98ea81f4dda549f2e53448bb1
7
- data.tar.gz: 279c23ff416b19b629915d35ad0ab7bf950b13cf6a00eff6e7e275eb00da8b292d1b8dc0fce55b58087a929559877046f504066d002d4bdbe6316ef9973e4e5b
6
+ metadata.gz: 403a56d61d345b20ede322f5694e239b99983332304caac888983d4f4cedeaf45ce0e2048ceecea45a69486b0356c71020202835c06680fdf6ff2fce20dac27e
7
+ data.tar.gz: 716b96fc027f8beb86b6061c61c7f8b6e3472ace6d79f349c917b4ce19313acc9b21a646b66256c0233946cea24ae4ba7e0b7f18f6132d4efcaa6490615af38d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (3.36.0)
4
+ stigg-api-client (3.38.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1683,6 +1683,46 @@ module Stigg
1683
1683
  }
1684
1684
  }
1685
1685
  GRAPHQL
1686
+
1687
+ CreditGrantFragment = <<~GRAPHQL
1688
+ fragment CreditGrantFragment on CreditGrant {
1689
+ grantId
1690
+ amount
1691
+ comment
1692
+ currencyId
1693
+ customerId
1694
+ displayName
1695
+ effectiveAt
1696
+ expireAt
1697
+ grantType
1698
+ priority
1699
+ consumedAmount
1700
+ cost {
1701
+ amount
1702
+ currency
1703
+ }
1704
+ createdAt
1705
+ updatedAt
1706
+ resourceId
1707
+ additionalMetaData
1708
+ }
1709
+ GRAPHQL
1710
+
1711
+ CreditsBalanceSummaryFragment = <<~GRAPHQL
1712
+ fragment CreditsBalanceSummaryFragment on CreditBalanceSummary {
1713
+ customerId
1714
+ balances {
1715
+ currency {
1716
+ currencyId
1717
+ displayName
1718
+ symbol
1719
+ }
1720
+ currentBalance
1721
+ totalConsumed
1722
+ totalGranted
1723
+ }
1724
+ }
1725
+ GRAPHQL
1686
1726
  end
1687
1727
 
1688
1728
  module Mutation
@@ -2003,6 +2043,15 @@ module Stigg
2003
2043
  #{Fragment::PriceTierFragment}
2004
2044
  #{Fragment::TotalPriceFragment}
2005
2045
  GRAPHQL
2046
+
2047
+ GrantCredits = <<~GRAPHQL
2048
+ mutation GrantCredits($input: CreditGrantInput!) {
2049
+ createCreditGrant(input: $input) {
2050
+ ...CreditGrantFragment
2051
+ }
2052
+ }
2053
+ #{Fragment::CreditGrantFragment}
2054
+ GRAPHQL
2006
2055
  end
2007
2056
 
2008
2057
  module Query
@@ -2318,6 +2367,24 @@ module Stigg
2318
2367
  #{Fragment::UsageHistoryV2Fragment}
2319
2368
  GRAPHQL
2320
2369
 
2370
+ GetCreditBalance = <<~GRAPHQL
2371
+ query GetCreditBalance($input: CreditBalanceSummaryInput!) {
2372
+ creditBalanceSummary(input: $input) {
2373
+ ...CreditsBalanceSummaryFragment
2374
+ }
2375
+ }
2376
+ #{Fragment::CreditsBalanceSummaryFragment}
2377
+ GRAPHQL
2378
+
2379
+ GetCreditGrants = <<~GRAPHQL
2380
+ query GetCreditGrants($input: GetCreditGrantsInput!) {
2381
+ creditGrants(input: $input) {
2382
+ ...CreditGrantFragment
2383
+ }
2384
+ }
2385
+ #{Fragment::CreditGrantFragment}
2386
+ GRAPHQL
2387
+
2321
2388
  OnEntitlementsUpdated = <<~GRAPHQL
2322
2389
  subscription OnEntitlementsUpdated {
2323
2390
  entitlementsUpdated {
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.36.0"
4
+ VERSION = "3.38.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: 3.36.0
4
+ version: 3.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-08-24 00:00:00.000000000 Z
11
+ date: 2025-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient