stigg-api-client 3.84.1 → 3.93.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: 5a2560f0e6bcd1f5e94d3353d1c5a55c8a30285cf9b34d730f700be6cd4158fa
4
- data.tar.gz: 3f4989dab7a16878b8ec79bd2be30d661ed1d97278a50b1a2b48bfdc7d87f384
3
+ metadata.gz: bf6dcabf391d61309ae2e52fa34373c9d6237dfd4f60b81c84c69e49cca95e79
4
+ data.tar.gz: 4d54ea5261582c245bbc3627b49cc639c572f7c7fc90ecf8d6fd8ba9cd9c6437
5
5
  SHA512:
6
- metadata.gz: 3eda0fd93b581b5c270eeb63d6026cacdb6afa02a876540a236bbb4389646a5cac9a59bb0a8b64cb2ff1d0fea9926cefdd5c6227b3469c809b89eda17f4bcb7f
7
- data.tar.gz: fc7469b1fd8cc0d677028e72dbebe555de397629e4ab1f5f20b2b4989d1e70b5a88d27c804c432a7d38749b0ecdd3fa06a12dc65eb4dbb9a689cd9cc4aaa2f51
6
+ metadata.gz: ec62cf42c2294472b394ea3773c847f7f34ba504e34cafe35e1ac9078adbe6aa5e3fb90879cab1cb4deebb955519953bb1c51857cc4de25886139b5bcde8ec77
7
+ data.tar.gz: 9a32a7ba8c7baaab269c5f75502b8d88fe87bc03210618a9a6dbccd8ac97759583c96650dd808ab05ca1089abdee6bf6d7454f40e1520538780720ec40cae339
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (3.84.1)
4
+ stigg-api-client (3.93.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1732,6 +1732,20 @@ module Stigg
1732
1732
  }
1733
1733
  GRAPHQL
1734
1734
 
1735
+ CreditLedgerFragment = <<~GRAPHQL
1736
+ fragment CreditLedgerFragment on CreditLedgerEvent {
1737
+ timestamp
1738
+ eventType
1739
+ customerId
1740
+ resourceId
1741
+ eventId
1742
+ featureId
1743
+ amount
1744
+ creditGrantId
1745
+ creditCurrencyId
1746
+ }
1747
+ GRAPHQL
1748
+
1735
1749
  CreditsBalanceSummaryFragment = <<~GRAPHQL
1736
1750
  fragment CreditsBalanceSummaryFragment on CreditBalanceSummary {
1737
1751
  customerId
@@ -2477,12 +2491,32 @@ module Stigg
2477
2491
  GetCreditGrants = <<~GRAPHQL
2478
2492
  query GetCreditGrants($input: GetCreditGrantsInput!) {
2479
2493
  creditGrants(input: $input) {
2480
- ...CreditGrantFragment
2494
+ pageInfo {
2495
+ ...PageInfoFragment
2496
+ }
2497
+ edges {
2498
+ node {
2499
+ ...CreditGrantFragment
2500
+ }
2501
+ }
2502
+ totalCount
2481
2503
  }
2482
2504
  }
2505
+ #{Fragment::PageInfoFragment}
2483
2506
  #{Fragment::CreditGrantFragment}
2484
2507
  GRAPHQL
2485
2508
 
2509
+ GetCreditLedger = <<~GRAPHQL
2510
+ query GetCreditLedger($input: CreditLedgerInput!) {
2511
+ creditsLedger(input: $input) {
2512
+ events {
2513
+ ...CreditLedgerFragment
2514
+ }
2515
+ }
2516
+ }
2517
+ #{Fragment::CreditLedgerFragment}
2518
+ GRAPHQL
2519
+
2486
2520
  OnEntitlementsUpdated = <<~GRAPHQL
2487
2521
  subscription OnEntitlementsUpdated {
2488
2522
  entitlementsUpdated {
@@ -12120,6 +12120,116 @@
12120
12120
  "enumValues": null,
12121
12121
  "possibleTypes": null
12122
12122
  },
12123
+ {
12124
+ "kind": "OBJECT",
12125
+ "name": "CreditGrantConnection",
12126
+ "description": null,
12127
+ "fields": [
12128
+ {
12129
+ "name": "edges",
12130
+ "description": "Edges in the current page",
12131
+ "args": [],
12132
+ "type": {
12133
+ "kind": "NON_NULL",
12134
+ "name": null,
12135
+ "ofType": {
12136
+ "kind": "LIST",
12137
+ "name": null,
12138
+ "ofType": {
12139
+ "kind": "NON_NULL",
12140
+ "name": null,
12141
+ "ofType": {
12142
+ "kind": "OBJECT",
12143
+ "name": "CreditGrantEdge",
12144
+ "ofType": null
12145
+ }
12146
+ }
12147
+ }
12148
+ },
12149
+ "isDeprecated": false,
12150
+ "deprecationReason": null
12151
+ },
12152
+ {
12153
+ "name": "pageInfo",
12154
+ "description": "Pagination information",
12155
+ "args": [],
12156
+ "type": {
12157
+ "kind": "NON_NULL",
12158
+ "name": null,
12159
+ "ofType": {
12160
+ "kind": "OBJECT",
12161
+ "name": "PageInfo",
12162
+ "ofType": null
12163
+ }
12164
+ },
12165
+ "isDeprecated": false,
12166
+ "deprecationReason": null
12167
+ },
12168
+ {
12169
+ "name": "totalCount",
12170
+ "description": "Total number of items matching the filter",
12171
+ "args": [],
12172
+ "type": {
12173
+ "kind": "NON_NULL",
12174
+ "name": null,
12175
+ "ofType": {
12176
+ "kind": "SCALAR",
12177
+ "name": "Int",
12178
+ "ofType": null
12179
+ }
12180
+ },
12181
+ "isDeprecated": false,
12182
+ "deprecationReason": null
12183
+ }
12184
+ ],
12185
+ "inputFields": null,
12186
+ "interfaces": [],
12187
+ "enumValues": null,
12188
+ "possibleTypes": null
12189
+ },
12190
+ {
12191
+ "kind": "OBJECT",
12192
+ "name": "CreditGrantEdge",
12193
+ "description": null,
12194
+ "fields": [
12195
+ {
12196
+ "name": "cursor",
12197
+ "description": "An opaque cursor for this item",
12198
+ "args": [],
12199
+ "type": {
12200
+ "kind": "NON_NULL",
12201
+ "name": null,
12202
+ "ofType": {
12203
+ "kind": "SCALAR",
12204
+ "name": "String",
12205
+ "ofType": null
12206
+ }
12207
+ },
12208
+ "isDeprecated": false,
12209
+ "deprecationReason": null
12210
+ },
12211
+ {
12212
+ "name": "node",
12213
+ "description": "The item at the edge",
12214
+ "args": [],
12215
+ "type": {
12216
+ "kind": "NON_NULL",
12217
+ "name": null,
12218
+ "ofType": {
12219
+ "kind": "OBJECT",
12220
+ "name": "CreditGrant",
12221
+ "ofType": null
12222
+ }
12223
+ },
12224
+ "isDeprecated": false,
12225
+ "deprecationReason": null
12226
+ }
12227
+ ],
12228
+ "inputFields": null,
12229
+ "interfaces": [],
12230
+ "enumValues": null,
12231
+ "possibleTypes": null
12232
+ },
12123
12233
  {
12124
12234
  "kind": "INPUT_OBJECT",
12125
12235
  "name": "CreditGrantInput",
@@ -36326,6 +36436,18 @@
36326
36436
  "isDeprecated": false,
36327
36437
  "deprecationReason": null
36328
36438
  },
36439
+ {
36440
+ "name": "paging",
36441
+ "description": "Cursor-based pagination input",
36442
+ "type": {
36443
+ "kind": "INPUT_OBJECT",
36444
+ "name": "CursorPaging",
36445
+ "ofType": null
36446
+ },
36447
+ "defaultValue": null,
36448
+ "isDeprecated": false,
36449
+ "deprecationReason": null
36450
+ },
36329
36451
  {
36330
36452
  "name": "resourceId",
36331
36453
  "description": "The resource ID of the credit grant",
@@ -71662,17 +71784,9 @@
71662
71784
  "kind": "NON_NULL",
71663
71785
  "name": null,
71664
71786
  "ofType": {
71665
- "kind": "LIST",
71666
- "name": null,
71667
- "ofType": {
71668
- "kind": "NON_NULL",
71669
- "name": null,
71670
- "ofType": {
71671
- "kind": "OBJECT",
71672
- "name": "CreditGrant",
71673
- "ofType": null
71674
- }
71675
- }
71787
+ "kind": "OBJECT",
71788
+ "name": "CreditGrantConnection",
71789
+ "ofType": null
71676
71790
  }
71677
71791
  },
71678
71792
  "isDeprecated": false,
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.84.1"
4
+ VERSION = "3.93.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.84.1
4
+ version: 3.93.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-09-16 00:00:00.000000000 Z
11
+ date: 2025-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient