stigg-api-client 3.34.1 → 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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stigg/generated/operations.rb +67 -0
- data/lib/stigg/generated/schema.json +70 -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: '09f3024bbe735e1ffcba76e2b8a5813923e176a26ec19530437a5021aed3514a'
|
4
|
+
data.tar.gz: c489e11d6a7c92254375276f00932e286b2157597850eed2f9cb7e0a272df80c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 403a56d61d345b20ede322f5694e239b99983332304caac888983d4f4cedeaf45ce0e2048ceecea45a69486b0356c71020202835c06680fdf6ff2fce20dac27e
|
7
|
+
data.tar.gz: 716b96fc027f8beb86b6061c61c7f8b6e3472ace6d79f349c917b4ce19313acc9b21a646b66256c0233946cea24ae4ba7e0b7f18f6132d4efcaa6490615af38d
|
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 {
|
@@ -78,6 +78,12 @@
|
|
78
78
|
"isDeprecated": false,
|
79
79
|
"deprecationReason": null
|
80
80
|
},
|
81
|
+
{
|
82
|
+
"name": "Revoked",
|
83
|
+
"description": "Entitlement access was revoked",
|
84
|
+
"isDeprecated": false,
|
85
|
+
"deprecationReason": null
|
86
|
+
},
|
81
87
|
{
|
82
88
|
"name": "Unknown",
|
83
89
|
"description": "The access denial occurred for an unknown or unexpected reason.",
|
@@ -48875,6 +48881,18 @@
|
|
48875
48881
|
"isDeprecated": false,
|
48876
48882
|
"deprecationReason": null
|
48877
48883
|
},
|
48884
|
+
{
|
48885
|
+
"name": "isGranted",
|
48886
|
+
"description": "Whether entitlement grant is active",
|
48887
|
+
"type": {
|
48888
|
+
"kind": "SCALAR",
|
48889
|
+
"name": "Boolean",
|
48890
|
+
"ofType": null
|
48891
|
+
},
|
48892
|
+
"defaultValue": null,
|
48893
|
+
"isDeprecated": false,
|
48894
|
+
"deprecationReason": null
|
48895
|
+
},
|
48878
48896
|
{
|
48879
48897
|
"name": "monthlyResetPeriodConfiguration",
|
48880
48898
|
"description": "The monthly reset period configuration of the entitlement, defined when reset period is monthly",
|
@@ -50502,6 +50520,22 @@
|
|
50502
50520
|
"isDeprecated": false,
|
50503
50521
|
"deprecationReason": null
|
50504
50522
|
},
|
50523
|
+
{
|
50524
|
+
"name": "isGranted",
|
50525
|
+
"description": "Whether entitlement grant is active",
|
50526
|
+
"args": [],
|
50527
|
+
"type": {
|
50528
|
+
"kind": "NON_NULL",
|
50529
|
+
"name": null,
|
50530
|
+
"ofType": {
|
50531
|
+
"kind": "SCALAR",
|
50532
|
+
"name": "Boolean",
|
50533
|
+
"ofType": null
|
50534
|
+
}
|
50535
|
+
},
|
50536
|
+
"isDeprecated": false,
|
50537
|
+
"deprecationReason": null
|
50538
|
+
},
|
50505
50539
|
{
|
50506
50540
|
"name": "meter",
|
50507
50541
|
"description": null,
|
@@ -51069,6 +51103,18 @@
|
|
51069
51103
|
"isDeprecated": false,
|
51070
51104
|
"deprecationReason": null
|
51071
51105
|
},
|
51106
|
+
{
|
51107
|
+
"name": "isGranted",
|
51108
|
+
"description": "Whether entitlement grant is active",
|
51109
|
+
"args": [],
|
51110
|
+
"type": {
|
51111
|
+
"kind": "SCALAR",
|
51112
|
+
"name": "Boolean",
|
51113
|
+
"ofType": null
|
51114
|
+
},
|
51115
|
+
"isDeprecated": false,
|
51116
|
+
"deprecationReason": null
|
51117
|
+
},
|
51072
51118
|
{
|
51073
51119
|
"name": "order",
|
51074
51120
|
"description": "The order of the entitlement in the entitlement list",
|
@@ -51865,6 +51911,18 @@
|
|
51865
51911
|
"isDeprecated": false,
|
51866
51912
|
"deprecationReason": null
|
51867
51913
|
},
|
51914
|
+
{
|
51915
|
+
"name": "isGranted",
|
51916
|
+
"description": "Whether entitlement grant is active",
|
51917
|
+
"type": {
|
51918
|
+
"kind": "SCALAR",
|
51919
|
+
"name": "Boolean",
|
51920
|
+
"ofType": null
|
51921
|
+
},
|
51922
|
+
"defaultValue": null,
|
51923
|
+
"isDeprecated": false,
|
51924
|
+
"deprecationReason": null
|
51925
|
+
},
|
51868
51926
|
{
|
51869
51927
|
"name": "monthlyResetPeriodConfiguration",
|
51870
51928
|
"description": "The monthly reset period configuration of the entitlement, defined when reset period is monthly",
|
@@ -52314,6 +52372,18 @@
|
|
52314
52372
|
"isDeprecated": false,
|
52315
52373
|
"deprecationReason": null
|
52316
52374
|
},
|
52375
|
+
{
|
52376
|
+
"name": "isGranted",
|
52377
|
+
"description": "Whether entitlement grant is active",
|
52378
|
+
"type": {
|
52379
|
+
"kind": "SCALAR",
|
52380
|
+
"name": "Boolean",
|
52381
|
+
"ofType": null
|
52382
|
+
},
|
52383
|
+
"defaultValue": null,
|
52384
|
+
"isDeprecated": false,
|
52385
|
+
"deprecationReason": null
|
52386
|
+
},
|
52317
52387
|
{
|
52318
52388
|
"name": "monthlyResetPeriodConfiguration",
|
52319
52389
|
"description": "The monthly reset period configuration of the entitlement, defined when reset period is monthly",
|
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.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-
|
11
|
+
date: 2025-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphlient
|