stigg-api-client 3.36.0 → 3.39.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stigg/generated/operations.rb +67 -0
- data/lib/stigg/generated/schema.json +6 -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: 8f9ecb5e65058db6693e0d0601b89072575c7be24df48cb35536b73824022cec
|
4
|
+
data.tar.gz: 540ffd91543f79326061f17766c5f1de25311fc932892f19186dc1c69e827386
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f41dab90233d4af8ad0d6f509ae297bf9dc62b4e81be6ac0110ec496f7e68c64a38d1010814fbf6c598d696832b4775fbc32fd812cb4dee27900d613b1b39481
|
7
|
+
data.tar.gz: 130b73a05672b3bcac9d8d16a2224556c78f4ba74893016fb6b5931e7cdaa97a004a078ae674adefb82b8009c21346d7970abf4d2f9643b760e5fb093e855d17
|
data/Gemfile.lock
CHANGED
@@ -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 {
|
@@ -54,6 +54,12 @@
|
|
54
54
|
"isDeprecated": false,
|
55
55
|
"deprecationReason": null
|
56
56
|
},
|
57
|
+
{
|
58
|
+
"name": "InsufficientCredits",
|
59
|
+
"description": "The customer does not have enough credits to access the feature.",
|
60
|
+
"isDeprecated": false,
|
61
|
+
"deprecationReason": null
|
62
|
+
},
|
57
63
|
{
|
58
64
|
"name": "NoActiveSubscription",
|
59
65
|
"description": "The customer does not have any active subscription linked to the feature.",
|
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: 3.
|
4
|
+
version: 3.39.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-
|
11
|
+
date: 2025-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphlient
|