stigg-api-client 3.97.0 → 3.100.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: e03fd22f0a080bb71d715fb085a3ffef09a9a583d9735fc4e538e7998fceed38
4
- data.tar.gz: d0be0f36facabd4c292e2c12afa219ae03d71cfe8956d64ea7a24a5c24d77693
3
+ metadata.gz: 8c509a401251b5a9405b02cf4a550e37e4d241f3b86decdf380baf3b0eacbbe8
4
+ data.tar.gz: d5c64d844d4042ffad7a5d7de88974038a47c75b06dbbe4453511893f2538856
5
5
  SHA512:
6
- metadata.gz: 272a98b2f8c17b2bb5a79e1fe27fcac0c6915e4cd435dbd2b12b382cff8db4ba926c184438e280058f38d6e0c903c7fbc97ac07c962a2c8d48008e171e062c35
7
- data.tar.gz: 01d8bf3b2edeee9476e43ce32886cf7d7f1ef3df9614198970bbd559b6e8d82b7b2e1623bf360d2eaace3c1be1e071a5269bb43c6220547c9f2007c1b4df94f4
6
+ metadata.gz: 788423aec877b58c34478e3f0c5e5e68306531d153e5da8277ef2e9220cace53cdbb6d221b59682a62c4dc98ba0f87dd652584f25c76284e81c8a9f177c92899
7
+ data.tar.gz: 04b8cec1838dc67d62caaa2132225b078e56aee17c259f405fb480b3454f8da37a238fb95ac6def71bb7de359f5cfb489f8d584242df5bf2de304896e1607973
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (3.97.0)
4
+ stigg-api-client (3.100.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1772,6 +1772,17 @@ module Stigg
1772
1772
  }
1773
1773
  GRAPHQL
1774
1774
 
1775
+ SlimCustomCurrencyFragment = <<~GRAPHQL
1776
+ fragment SlimCustomCurrencyFragment on SlimCustomCurrency {
1777
+ currencyId
1778
+ displayName
1779
+ units {
1780
+ singular
1781
+ plural
1782
+ }
1783
+ }
1784
+ GRAPHQL
1785
+
1775
1786
  CreditUsageFragment = <<~GRAPHQL
1776
1787
  fragment CreditUsageFragment on CreditUsage {
1777
1788
  series {
@@ -1783,6 +1794,9 @@ module Stigg
1783
1794
  value
1784
1795
  }
1785
1796
  }
1797
+ currency {
1798
+ ...SlimCustomCurrencyFragment
1799
+ }
1786
1800
  }
1787
1801
  GRAPHQL
1788
1802
  end
@@ -2538,6 +2552,7 @@ module Stigg
2538
2552
  }
2539
2553
  }
2540
2554
  #{Fragment::CreditUsageFragment}
2555
+ #{Fragment::SlimCustomCurrencyFragment}
2541
2556
  GRAPHQL
2542
2557
 
2543
2558
  OnEntitlementsUpdated = <<~GRAPHQL
@@ -12264,6 +12264,18 @@
12264
12264
  "isDeprecated": false,
12265
12265
  "deprecationReason": null
12266
12266
  },
12267
+ {
12268
+ "name": "awaitPaymentConfirmation",
12269
+ "description": "Wait for payment confirmation before returning",
12270
+ "type": {
12271
+ "kind": "SCALAR",
12272
+ "name": "Boolean",
12273
+ "ofType": null
12274
+ },
12275
+ "defaultValue": "false",
12276
+ "isDeprecated": false,
12277
+ "deprecationReason": null
12278
+ },
12267
12279
  {
12268
12280
  "name": "comment",
12269
12281
  "description": "The comment for the credit grant",
@@ -12388,6 +12400,18 @@
12388
12400
  "isDeprecated": false,
12389
12401
  "deprecationReason": null
12390
12402
  },
12403
+ {
12404
+ "name": "paymentCollectionMethod",
12405
+ "description": "The method used to collect payments for the credit grant",
12406
+ "type": {
12407
+ "kind": "ENUM",
12408
+ "name": "PaymentCollectionMethod",
12409
+ "ofType": null
12410
+ },
12411
+ "defaultValue": null,
12412
+ "isDeprecated": false,
12413
+ "deprecationReason": null
12414
+ },
12391
12415
  {
12392
12416
  "name": "priority",
12393
12417
  "description": "The priority of the credit grant",
@@ -12789,6 +12813,18 @@
12789
12813
  "name": "CreditUsage",
12790
12814
  "description": "Credits usage",
12791
12815
  "fields": [
12816
+ {
12817
+ "name": "currency",
12818
+ "description": "Stigg custom currency object with minimal fields",
12819
+ "args": [],
12820
+ "type": {
12821
+ "kind": "OBJECT",
12822
+ "name": "SlimCustomCurrency",
12823
+ "ofType": null
12824
+ },
12825
+ "isDeprecated": false,
12826
+ "deprecationReason": null
12827
+ },
12792
12828
  {
12793
12829
  "name": "series",
12794
12830
  "description": "Series of credit usage data points",
@@ -28419,6 +28455,12 @@
28419
28455
  "isDeprecated": false,
28420
28456
  "deprecationReason": null
28421
28457
  },
28458
+ {
28459
+ "name": "NoActiveSubscriptionForCustomer",
28460
+ "description": null,
28461
+ "isDeprecated": false,
28462
+ "deprecationReason": null
28463
+ },
28422
28464
  {
28423
28465
  "name": "NoDraftOfferFound",
28424
28466
  "description": "No draft offer found to publish",
@@ -49884,6 +49926,65 @@
49884
49926
  "enumValues": null,
49885
49927
  "possibleTypes": null
49886
49928
  },
49929
+ {
49930
+ "kind": "OBJECT",
49931
+ "name": "NoActiveSubscriptionForCustomerError",
49932
+ "description": null,
49933
+ "fields": [
49934
+ {
49935
+ "name": "code",
49936
+ "description": null,
49937
+ "args": [],
49938
+ "type": {
49939
+ "kind": "NON_NULL",
49940
+ "name": null,
49941
+ "ofType": {
49942
+ "kind": "SCALAR",
49943
+ "name": "String",
49944
+ "ofType": null
49945
+ }
49946
+ },
49947
+ "isDeprecated": false,
49948
+ "deprecationReason": null
49949
+ },
49950
+ {
49951
+ "name": "customerRefId",
49952
+ "description": null,
49953
+ "args": [],
49954
+ "type": {
49955
+ "kind": "NON_NULL",
49956
+ "name": null,
49957
+ "ofType": {
49958
+ "kind": "SCALAR",
49959
+ "name": "String",
49960
+ "ofType": null
49961
+ }
49962
+ },
49963
+ "isDeprecated": false,
49964
+ "deprecationReason": null
49965
+ },
49966
+ {
49967
+ "name": "isValidationError",
49968
+ "description": null,
49969
+ "args": [],
49970
+ "type": {
49971
+ "kind": "NON_NULL",
49972
+ "name": null,
49973
+ "ofType": {
49974
+ "kind": "SCALAR",
49975
+ "name": "Boolean",
49976
+ "ofType": null
49977
+ }
49978
+ },
49979
+ "isDeprecated": false,
49980
+ "deprecationReason": null
49981
+ }
49982
+ ],
49983
+ "inputFields": null,
49984
+ "interfaces": [],
49985
+ "enumValues": null,
49986
+ "possibleTypes": null
49987
+ },
49887
49988
  {
49888
49989
  "kind": "OBJECT",
49889
49990
  "name": "NumberChange",
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.97.0"
4
+ VERSION = "3.100.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.97.0
4
+ version: 3.100.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-22 00:00:00.000000000 Z
11
+ date: 2025-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient