stigg-api-client 6.15.0 → 6.16.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: 3517d53350e9122432e4859c9675590db23dedd14f50f06c0632f68beae2241c
4
- data.tar.gz: cdac90e6b08ae93b6a888d208c3c93b9ec1374275e042eebbc62365e700578ca
3
+ metadata.gz: f5150263afa511b89986cd049f154c31a9dc1b734399cf32d7b65c2335c778e1
4
+ data.tar.gz: 820459a6c3e4ce64fc6c3abe630c7ee64d9dcdd07d52debc74cb3fded4fb53ee
5
5
  SHA512:
6
- metadata.gz: f1c12767c8cc79835c1969e7315dad86b03e59ffc6272bd6ffcc136baa96ab21eaea9b3cc88faccf4300f689b70900cb83355cac131d9d0de3e11fb3f332435b
7
- data.tar.gz: d925f6103b93e793584af6637c74939617353c2c6655ebf6c5da425b70483847e66d830b84276061dd50e440a8712aeaace78bbd84fc12a63764418fb29bf1c8
6
+ metadata.gz: 23777f988c5c43228a0bc5efe6290e34e906e1a5d28d2601e67607296dc61f98e8b0152c3f35b4cc1efa2037fedb1108058418582d6810fee85432d2df336724
7
+ data.tar.gz: 15119298caf771304b37dbf67ac5724f49e53e0e2651df8a691cfc80289704bd0a0d73c1dd48d3d820bca5b8ebd06dd212cb454d46ad659c7eea8f8fece51e25
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (6.15.0)
4
+ stigg-api-client (6.16.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1857,6 +1857,7 @@ module Stigg
1857
1857
  currentUsage
1858
1858
  usagePeriodEnd
1859
1859
  timestamp
1860
+ consumed
1860
1861
  }
1861
1862
  usagePeriodStart
1862
1863
  usagePeriodEnd
@@ -3673,6 +3673,172 @@
3673
3673
  ],
3674
3674
  "possibleTypes": null
3675
3675
  },
3676
+ {
3677
+ "kind": "OBJECT",
3678
+ "name": "AirwallexCredentials",
3679
+ "description": "Airwallex integration configuration object",
3680
+ "fields": [
3681
+ {
3682
+ "name": "accountId",
3683
+ "description": "Airwallex linked payment account ID (e.g. acct_...) used to route checkouts",
3684
+ "args": [],
3685
+ "type": {
3686
+ "kind": "SCALAR",
3687
+ "name": "String",
3688
+ "ofType": null
3689
+ },
3690
+ "isDeprecated": false,
3691
+ "deprecationReason": null
3692
+ },
3693
+ {
3694
+ "name": "apiUrl",
3695
+ "description": "Base URL of the Airwallex API (e.g. https://api.airwallex.com)",
3696
+ "args": [],
3697
+ "type": {
3698
+ "kind": "SCALAR",
3699
+ "name": "String",
3700
+ "ofType": null
3701
+ },
3702
+ "isDeprecated": false,
3703
+ "deprecationReason": null
3704
+ },
3705
+ {
3706
+ "name": "clientId",
3707
+ "description": "Airwallex API client ID",
3708
+ "args": [],
3709
+ "type": {
3710
+ "kind": "SCALAR",
3711
+ "name": "String",
3712
+ "ofType": null
3713
+ },
3714
+ "isDeprecated": false,
3715
+ "deprecationReason": null
3716
+ },
3717
+ {
3718
+ "name": "orgId",
3719
+ "description": "Airwallex org ID as it appears on webhook events (e.g. org_...), used by Received for webhook routing",
3720
+ "args": [],
3721
+ "type": {
3722
+ "kind": "SCALAR",
3723
+ "name": "String",
3724
+ "ofType": null
3725
+ },
3726
+ "isDeprecated": false,
3727
+ "deprecationReason": null
3728
+ }
3729
+ ],
3730
+ "inputFields": null,
3731
+ "interfaces": [],
3732
+ "enumValues": null,
3733
+ "possibleTypes": null
3734
+ },
3735
+ {
3736
+ "kind": "INPUT_OBJECT",
3737
+ "name": "AirwallexCredentialsInput",
3738
+ "description": "Input for connecting an Airwallex invoicing integration",
3739
+ "fields": null,
3740
+ "inputFields": [
3741
+ {
3742
+ "name": "accountId",
3743
+ "description": "Airwallex linked payment account ID (e.g. acct_...) used to route checkouts",
3744
+ "type": {
3745
+ "kind": "NON_NULL",
3746
+ "name": null,
3747
+ "ofType": {
3748
+ "kind": "SCALAR",
3749
+ "name": "String",
3750
+ "ofType": null
3751
+ }
3752
+ },
3753
+ "defaultValue": null,
3754
+ "isDeprecated": false,
3755
+ "deprecationReason": null
3756
+ },
3757
+ {
3758
+ "name": "apiKey",
3759
+ "description": "Airwallex API key",
3760
+ "type": {
3761
+ "kind": "NON_NULL",
3762
+ "name": null,
3763
+ "ofType": {
3764
+ "kind": "SCALAR",
3765
+ "name": "String",
3766
+ "ofType": null
3767
+ }
3768
+ },
3769
+ "defaultValue": null,
3770
+ "isDeprecated": false,
3771
+ "deprecationReason": null
3772
+ },
3773
+ {
3774
+ "name": "apiUrl",
3775
+ "description": "Base URL of the Airwallex API (e.g. https://api.airwallex.com)",
3776
+ "type": {
3777
+ "kind": "NON_NULL",
3778
+ "name": null,
3779
+ "ofType": {
3780
+ "kind": "SCALAR",
3781
+ "name": "String",
3782
+ "ofType": null
3783
+ }
3784
+ },
3785
+ "defaultValue": null,
3786
+ "isDeprecated": false,
3787
+ "deprecationReason": null
3788
+ },
3789
+ {
3790
+ "name": "clientId",
3791
+ "description": "Airwallex API client ID",
3792
+ "type": {
3793
+ "kind": "NON_NULL",
3794
+ "name": null,
3795
+ "ofType": {
3796
+ "kind": "SCALAR",
3797
+ "name": "String",
3798
+ "ofType": null
3799
+ }
3800
+ },
3801
+ "defaultValue": null,
3802
+ "isDeprecated": false,
3803
+ "deprecationReason": null
3804
+ },
3805
+ {
3806
+ "name": "orgId",
3807
+ "description": "Airwallex org ID as it appears on webhook events (e.g. org_...), used by Received for webhook routing",
3808
+ "type": {
3809
+ "kind": "NON_NULL",
3810
+ "name": null,
3811
+ "ofType": {
3812
+ "kind": "SCALAR",
3813
+ "name": "String",
3814
+ "ofType": null
3815
+ }
3816
+ },
3817
+ "defaultValue": null,
3818
+ "isDeprecated": false,
3819
+ "deprecationReason": null
3820
+ },
3821
+ {
3822
+ "name": "webhookSecret",
3823
+ "description": "Airwallex webhook signing secret",
3824
+ "type": {
3825
+ "kind": "NON_NULL",
3826
+ "name": null,
3827
+ "ofType": {
3828
+ "kind": "SCALAR",
3829
+ "name": "String",
3830
+ "ofType": null
3831
+ }
3832
+ },
3833
+ "defaultValue": null,
3834
+ "isDeprecated": false,
3835
+ "deprecationReason": null
3836
+ }
3837
+ ],
3838
+ "interfaces": null,
3839
+ "enumValues": null,
3840
+ "possibleTypes": null
3841
+ },
3676
3842
  {
3677
3843
  "kind": "ENUM",
3678
3844
  "name": "Alignment",
@@ -10722,6 +10888,637 @@
10722
10888
  "enumValues": null,
10723
10889
  "possibleTypes": null
10724
10890
  },
10891
+ {
10892
+ "kind": "OBJECT",
10893
+ "name": "ContractDTO",
10894
+ "description": "A billing contract that belongs to a customer, resolved live from the connected billing provider.",
10895
+ "fields": [
10896
+ {
10897
+ "name": "activationEndDate",
10898
+ "description": "Activation end date (ISO 8601)",
10899
+ "args": [],
10900
+ "type": {
10901
+ "kind": "SCALAR",
10902
+ "name": "DateTime",
10903
+ "ofType": null
10904
+ },
10905
+ "isDeprecated": false,
10906
+ "deprecationReason": null
10907
+ },
10908
+ {
10909
+ "name": "activationStartDate",
10910
+ "description": "Activation start date (ISO 8601)",
10911
+ "args": [],
10912
+ "type": {
10913
+ "kind": "SCALAR",
10914
+ "name": "DateTime",
10915
+ "ofType": null
10916
+ },
10917
+ "isDeprecated": false,
10918
+ "deprecationReason": null
10919
+ },
10920
+ {
10921
+ "name": "contractId",
10922
+ "description": "The billing provider contract ID",
10923
+ "args": [],
10924
+ "type": {
10925
+ "kind": "NON_NULL",
10926
+ "name": null,
10927
+ "ofType": {
10928
+ "kind": "SCALAR",
10929
+ "name": "String",
10930
+ "ofType": null
10931
+ }
10932
+ },
10933
+ "isDeprecated": false,
10934
+ "deprecationReason": null
10935
+ },
10936
+ {
10937
+ "name": "contractType",
10938
+ "description": "Contract type",
10939
+ "args": [],
10940
+ "type": {
10941
+ "kind": "NON_NULL",
10942
+ "name": null,
10943
+ "ofType": {
10944
+ "kind": "ENUM",
10945
+ "name": "ContractType",
10946
+ "ofType": null
10947
+ }
10948
+ },
10949
+ "isDeprecated": false,
10950
+ "deprecationReason": null
10951
+ },
10952
+ {
10953
+ "name": "createdAt",
10954
+ "description": "Timestamp of creation (ISO 8601)",
10955
+ "args": [],
10956
+ "type": {
10957
+ "kind": "SCALAR",
10958
+ "name": "DateTime",
10959
+ "ofType": null
10960
+ },
10961
+ "isDeprecated": false,
10962
+ "deprecationReason": null
10963
+ },
10964
+ {
10965
+ "name": "customerExternalId",
10966
+ "description": "External ID of the customer the contract belongs to (the Stigg customer ref ID)",
10967
+ "args": [],
10968
+ "type": {
10969
+ "kind": "NON_NULL",
10970
+ "name": null,
10971
+ "ofType": {
10972
+ "kind": "SCALAR",
10973
+ "name": "String",
10974
+ "ofType": null
10975
+ }
10976
+ },
10977
+ "isDeprecated": false,
10978
+ "deprecationReason": null
10979
+ },
10980
+ {
10981
+ "name": "externalId",
10982
+ "description": "External ID for the contract: the metering provider externalId when one is mapped, otherwise the contract ID.",
10983
+ "args": [],
10984
+ "type": {
10985
+ "kind": "NON_NULL",
10986
+ "name": null,
10987
+ "ofType": {
10988
+ "kind": "SCALAR",
10989
+ "name": "String",
10990
+ "ofType": null
10991
+ }
10992
+ },
10993
+ "isDeprecated": false,
10994
+ "deprecationReason": null
10995
+ },
10996
+ {
10997
+ "name": "name",
10998
+ "description": "Contract name",
10999
+ "args": [],
11000
+ "type": {
11001
+ "kind": "SCALAR",
11002
+ "name": "String",
11003
+ "ofType": null
11004
+ },
11005
+ "isDeprecated": false,
11006
+ "deprecationReason": null
11007
+ },
11008
+ {
11009
+ "name": "nextInvoice",
11010
+ "description": "Preview of the contract's next (upcoming) invoice, when the contract has one",
11011
+ "args": [],
11012
+ "type": {
11013
+ "kind": "OBJECT",
11014
+ "name": "ContractNextInvoiceDTO",
11015
+ "ofType": null
11016
+ },
11017
+ "isDeprecated": false,
11018
+ "deprecationReason": null
11019
+ },
11020
+ {
11021
+ "name": "state",
11022
+ "description": "Contract state",
11023
+ "args": [],
11024
+ "type": {
11025
+ "kind": "NON_NULL",
11026
+ "name": null,
11027
+ "ofType": {
11028
+ "kind": "ENUM",
11029
+ "name": "ContractState",
11030
+ "ofType": null
11031
+ }
11032
+ },
11033
+ "isDeprecated": false,
11034
+ "deprecationReason": null
11035
+ }
11036
+ ],
11037
+ "inputFields": null,
11038
+ "interfaces": [],
11039
+ "enumValues": null,
11040
+ "possibleTypes": null
11041
+ },
11042
+ {
11043
+ "kind": "INPUT_OBJECT",
11044
+ "name": "ContractDTOCustomerExternalIdFilterComparison",
11045
+ "description": null,
11046
+ "fields": null,
11047
+ "inputFields": [
11048
+ {
11049
+ "name": "eq",
11050
+ "description": null,
11051
+ "type": {
11052
+ "kind": "SCALAR",
11053
+ "name": "String",
11054
+ "ofType": null
11055
+ },
11056
+ "defaultValue": null,
11057
+ "isDeprecated": false,
11058
+ "deprecationReason": null
11059
+ },
11060
+ {
11061
+ "name": "iLike",
11062
+ "description": null,
11063
+ "type": {
11064
+ "kind": "SCALAR",
11065
+ "name": "String",
11066
+ "ofType": null
11067
+ },
11068
+ "defaultValue": null,
11069
+ "isDeprecated": false,
11070
+ "deprecationReason": null
11071
+ },
11072
+ {
11073
+ "name": "in",
11074
+ "description": null,
11075
+ "type": {
11076
+ "kind": "LIST",
11077
+ "name": null,
11078
+ "ofType": {
11079
+ "kind": "NON_NULL",
11080
+ "name": null,
11081
+ "ofType": {
11082
+ "kind": "SCALAR",
11083
+ "name": "String",
11084
+ "ofType": null
11085
+ }
11086
+ }
11087
+ },
11088
+ "defaultValue": null,
11089
+ "isDeprecated": false,
11090
+ "deprecationReason": null
11091
+ },
11092
+ {
11093
+ "name": "neq",
11094
+ "description": null,
11095
+ "type": {
11096
+ "kind": "SCALAR",
11097
+ "name": "String",
11098
+ "ofType": null
11099
+ },
11100
+ "defaultValue": null,
11101
+ "isDeprecated": false,
11102
+ "deprecationReason": null
11103
+ },
11104
+ {
11105
+ "name": "notILike",
11106
+ "description": null,
11107
+ "type": {
11108
+ "kind": "SCALAR",
11109
+ "name": "String",
11110
+ "ofType": null
11111
+ },
11112
+ "defaultValue": null,
11113
+ "isDeprecated": false,
11114
+ "deprecationReason": null
11115
+ },
11116
+ {
11117
+ "name": "notIn",
11118
+ "description": null,
11119
+ "type": {
11120
+ "kind": "LIST",
11121
+ "name": null,
11122
+ "ofType": {
11123
+ "kind": "NON_NULL",
11124
+ "name": null,
11125
+ "ofType": {
11126
+ "kind": "SCALAR",
11127
+ "name": "String",
11128
+ "ofType": null
11129
+ }
11130
+ }
11131
+ },
11132
+ "defaultValue": null,
11133
+ "isDeprecated": false,
11134
+ "deprecationReason": null
11135
+ }
11136
+ ],
11137
+ "interfaces": null,
11138
+ "enumValues": null,
11139
+ "possibleTypes": null
11140
+ },
11141
+ {
11142
+ "kind": "INPUT_OBJECT",
11143
+ "name": "ContractDTOFilter",
11144
+ "description": null,
11145
+ "fields": null,
11146
+ "inputFields": [
11147
+ {
11148
+ "name": "and",
11149
+ "description": null,
11150
+ "type": {
11151
+ "kind": "LIST",
11152
+ "name": null,
11153
+ "ofType": {
11154
+ "kind": "NON_NULL",
11155
+ "name": null,
11156
+ "ofType": {
11157
+ "kind": "INPUT_OBJECT",
11158
+ "name": "ContractDTOFilter",
11159
+ "ofType": null
11160
+ }
11161
+ }
11162
+ },
11163
+ "defaultValue": null,
11164
+ "isDeprecated": false,
11165
+ "deprecationReason": null
11166
+ },
11167
+ {
11168
+ "name": "customerExternalId",
11169
+ "description": null,
11170
+ "type": {
11171
+ "kind": "INPUT_OBJECT",
11172
+ "name": "ContractDTOCustomerExternalIdFilterComparison",
11173
+ "ofType": null
11174
+ },
11175
+ "defaultValue": null,
11176
+ "isDeprecated": false,
11177
+ "deprecationReason": null
11178
+ },
11179
+ {
11180
+ "name": "name",
11181
+ "description": null,
11182
+ "type": {
11183
+ "kind": "INPUT_OBJECT",
11184
+ "name": "ContractDTONameFilterComparison",
11185
+ "ofType": null
11186
+ },
11187
+ "defaultValue": null,
11188
+ "isDeprecated": false,
11189
+ "deprecationReason": null
11190
+ },
11191
+ {
11192
+ "name": "or",
11193
+ "description": null,
11194
+ "type": {
11195
+ "kind": "LIST",
11196
+ "name": null,
11197
+ "ofType": {
11198
+ "kind": "NON_NULL",
11199
+ "name": null,
11200
+ "ofType": {
11201
+ "kind": "INPUT_OBJECT",
11202
+ "name": "ContractDTOFilter",
11203
+ "ofType": null
11204
+ }
11205
+ }
11206
+ },
11207
+ "defaultValue": null,
11208
+ "isDeprecated": false,
11209
+ "deprecationReason": null
11210
+ },
11211
+ {
11212
+ "name": "state",
11213
+ "description": null,
11214
+ "type": {
11215
+ "kind": "INPUT_OBJECT",
11216
+ "name": "ContractDTOStateFilterComparison",
11217
+ "ofType": null
11218
+ },
11219
+ "defaultValue": null,
11220
+ "isDeprecated": false,
11221
+ "deprecationReason": null
11222
+ }
11223
+ ],
11224
+ "interfaces": null,
11225
+ "enumValues": null,
11226
+ "possibleTypes": null
11227
+ },
11228
+ {
11229
+ "kind": "INPUT_OBJECT",
11230
+ "name": "ContractDTONameFilterComparison",
11231
+ "description": null,
11232
+ "fields": null,
11233
+ "inputFields": [
11234
+ {
11235
+ "name": "eq",
11236
+ "description": null,
11237
+ "type": {
11238
+ "kind": "SCALAR",
11239
+ "name": "String",
11240
+ "ofType": null
11241
+ },
11242
+ "defaultValue": null,
11243
+ "isDeprecated": false,
11244
+ "deprecationReason": null
11245
+ },
11246
+ {
11247
+ "name": "iLike",
11248
+ "description": null,
11249
+ "type": {
11250
+ "kind": "SCALAR",
11251
+ "name": "String",
11252
+ "ofType": null
11253
+ },
11254
+ "defaultValue": null,
11255
+ "isDeprecated": false,
11256
+ "deprecationReason": null
11257
+ },
11258
+ {
11259
+ "name": "neq",
11260
+ "description": null,
11261
+ "type": {
11262
+ "kind": "SCALAR",
11263
+ "name": "String",
11264
+ "ofType": null
11265
+ },
11266
+ "defaultValue": null,
11267
+ "isDeprecated": false,
11268
+ "deprecationReason": null
11269
+ },
11270
+ {
11271
+ "name": "notILike",
11272
+ "description": null,
11273
+ "type": {
11274
+ "kind": "SCALAR",
11275
+ "name": "String",
11276
+ "ofType": null
11277
+ },
11278
+ "defaultValue": null,
11279
+ "isDeprecated": false,
11280
+ "deprecationReason": null
11281
+ }
11282
+ ],
11283
+ "interfaces": null,
11284
+ "enumValues": null,
11285
+ "possibleTypes": null
11286
+ },
11287
+ {
11288
+ "kind": "INPUT_OBJECT",
11289
+ "name": "ContractDTOStateFilterComparison",
11290
+ "description": null,
11291
+ "fields": null,
11292
+ "inputFields": [
11293
+ {
11294
+ "name": "in",
11295
+ "description": null,
11296
+ "type": {
11297
+ "kind": "LIST",
11298
+ "name": null,
11299
+ "ofType": {
11300
+ "kind": "NON_NULL",
11301
+ "name": null,
11302
+ "ofType": {
11303
+ "kind": "ENUM",
11304
+ "name": "ContractState",
11305
+ "ofType": null
11306
+ }
11307
+ }
11308
+ },
11309
+ "defaultValue": null,
11310
+ "isDeprecated": false,
11311
+ "deprecationReason": null
11312
+ },
11313
+ {
11314
+ "name": "notIn",
11315
+ "description": null,
11316
+ "type": {
11317
+ "kind": "LIST",
11318
+ "name": null,
11319
+ "ofType": {
11320
+ "kind": "NON_NULL",
11321
+ "name": null,
11322
+ "ofType": {
11323
+ "kind": "ENUM",
11324
+ "name": "ContractState",
11325
+ "ofType": null
11326
+ }
11327
+ }
11328
+ },
11329
+ "defaultValue": null,
11330
+ "isDeprecated": false,
11331
+ "deprecationReason": null
11332
+ }
11333
+ ],
11334
+ "interfaces": null,
11335
+ "enumValues": null,
11336
+ "possibleTypes": null
11337
+ },
11338
+ {
11339
+ "kind": "OBJECT",
11340
+ "name": "ContractNextInvoiceDTO",
11341
+ "description": "A preview of a contract's next (upcoming) invoice, resolved live from the connected billing provider.",
11342
+ "fields": [
11343
+ {
11344
+ "name": "amount",
11345
+ "description": "Total amount due on the next invoice",
11346
+ "args": [],
11347
+ "type": {
11348
+ "kind": "NON_NULL",
11349
+ "name": null,
11350
+ "ofType": {
11351
+ "kind": "OBJECT",
11352
+ "name": "Money",
11353
+ "ofType": null
11354
+ }
11355
+ },
11356
+ "isDeprecated": false,
11357
+ "deprecationReason": null
11358
+ },
11359
+ {
11360
+ "name": "dueDate",
11361
+ "description": "Due date for payment of the next invoice (ISO 8601)",
11362
+ "args": [],
11363
+ "type": {
11364
+ "kind": "SCALAR",
11365
+ "name": "DateTime",
11366
+ "ofType": null
11367
+ },
11368
+ "isDeprecated": false,
11369
+ "deprecationReason": null
11370
+ },
11371
+ {
11372
+ "name": "periodEnd",
11373
+ "description": "The next invoice's billing period end date (ISO 8601)",
11374
+ "args": [],
11375
+ "type": {
11376
+ "kind": "SCALAR",
11377
+ "name": "DateTime",
11378
+ "ofType": null
11379
+ },
11380
+ "isDeprecated": false,
11381
+ "deprecationReason": null
11382
+ },
11383
+ {
11384
+ "name": "periodStart",
11385
+ "description": "The next invoice's billing period start date (ISO 8601)",
11386
+ "args": [],
11387
+ "type": {
11388
+ "kind": "SCALAR",
11389
+ "name": "DateTime",
11390
+ "ofType": null
11391
+ },
11392
+ "isDeprecated": false,
11393
+ "deprecationReason": null
11394
+ }
11395
+ ],
11396
+ "inputFields": null,
11397
+ "interfaces": [],
11398
+ "enumValues": null,
11399
+ "possibleTypes": null
11400
+ },
11401
+ {
11402
+ "kind": "ENUM",
11403
+ "name": "ContractState",
11404
+ "description": "The lifecycle state of a billing contract",
11405
+ "fields": null,
11406
+ "inputFields": null,
11407
+ "interfaces": null,
11408
+ "enumValues": [
11409
+ {
11410
+ "name": "ACTIVE",
11411
+ "description": "The contract is active",
11412
+ "isDeprecated": false,
11413
+ "deprecationReason": null
11414
+ },
11415
+ {
11416
+ "name": "CANCELED",
11417
+ "description": "The contract has been canceled",
11418
+ "isDeprecated": false,
11419
+ "deprecationReason": null
11420
+ },
11421
+ {
11422
+ "name": "DRAFT",
11423
+ "description": "The contract is a draft and has not been published yet",
11424
+ "isDeprecated": false,
11425
+ "deprecationReason": null
11426
+ },
11427
+ {
11428
+ "name": "END_BILLING",
11429
+ "description": "The contract has reached the end of its billing period",
11430
+ "isDeprecated": false,
11431
+ "deprecationReason": null
11432
+ }
11433
+ ],
11434
+ "possibleTypes": null
11435
+ },
11436
+ {
11437
+ "kind": "ENUM",
11438
+ "name": "ContractType",
11439
+ "description": "The type of a billing contract",
11440
+ "fields": null,
11441
+ "inputFields": null,
11442
+ "interfaces": null,
11443
+ "enumValues": [
11444
+ {
11445
+ "name": "ENTERPRISE",
11446
+ "description": "An enterprise contract",
11447
+ "isDeprecated": false,
11448
+ "deprecationReason": null
11449
+ },
11450
+ {
11451
+ "name": "REFERRAL",
11452
+ "description": "A referral contract",
11453
+ "isDeprecated": false,
11454
+ "deprecationReason": null
11455
+ },
11456
+ {
11457
+ "name": "RESELLER",
11458
+ "description": "A reseller contract",
11459
+ "isDeprecated": false,
11460
+ "deprecationReason": null
11461
+ },
11462
+ {
11463
+ "name": "SUBSCRIPTION",
11464
+ "description": "A subscription contract",
11465
+ "isDeprecated": false,
11466
+ "deprecationReason": null
11467
+ }
11468
+ ],
11469
+ "possibleTypes": null
11470
+ },
11471
+ {
11472
+ "kind": "OBJECT",
11473
+ "name": "ContractsPageDTO",
11474
+ "description": "A page of contracts in the environment, resolved live from the connected billing provider.",
11475
+ "fields": [
11476
+ {
11477
+ "name": "contracts",
11478
+ "description": "The contracts in this page",
11479
+ "args": [],
11480
+ "type": {
11481
+ "kind": "NON_NULL",
11482
+ "name": null,
11483
+ "ofType": {
11484
+ "kind": "LIST",
11485
+ "name": null,
11486
+ "ofType": {
11487
+ "kind": "NON_NULL",
11488
+ "name": null,
11489
+ "ofType": {
11490
+ "kind": "OBJECT",
11491
+ "name": "ContractDTO",
11492
+ "ofType": null
11493
+ }
11494
+ }
11495
+ }
11496
+ },
11497
+ "isDeprecated": false,
11498
+ "deprecationReason": null
11499
+ },
11500
+ {
11501
+ "name": "totalCount",
11502
+ "description": "Total number of contracts across all pages",
11503
+ "args": [],
11504
+ "type": {
11505
+ "kind": "NON_NULL",
11506
+ "name": null,
11507
+ "ofType": {
11508
+ "kind": "SCALAR",
11509
+ "name": "Int",
11510
+ "ofType": null
11511
+ }
11512
+ },
11513
+ "isDeprecated": false,
11514
+ "deprecationReason": null
11515
+ }
11516
+ ],
11517
+ "inputFields": null,
11518
+ "interfaces": [],
11519
+ "enumValues": null,
11520
+ "possibleTypes": null
11521
+ },
10725
11522
  {
10726
11523
  "kind": "OBJECT",
10727
11524
  "name": "Coupon",
@@ -13501,6 +14298,18 @@
13501
14298
  "description": "Create integration input",
13502
14299
  "fields": null,
13503
14300
  "inputFields": [
14301
+ {
14302
+ "name": "airwallexCredentials",
14303
+ "description": "Airwallex integration configuration",
14304
+ "type": {
14305
+ "kind": "INPUT_OBJECT",
14306
+ "name": "AirwallexCredentialsInput",
14307
+ "ofType": null
14308
+ },
14309
+ "defaultValue": null,
14310
+ "isDeprecated": false,
14311
+ "deprecationReason": null
14312
+ },
13504
14313
  {
13505
14314
  "name": "appStoreCredentials",
13506
14315
  "description": "AppStore integration configuration",
@@ -14588,6 +15397,11 @@
14588
15397
  "interfaces": null,
14589
15398
  "enumValues": null,
14590
15399
  "possibleTypes": [
15400
+ {
15401
+ "kind": "OBJECT",
15402
+ "name": "AirwallexCredentials",
15403
+ "ofType": null
15404
+ },
14591
15405
  {
14592
15406
  "kind": "OBJECT",
14593
15407
  "name": "AppStoreCredentials",
@@ -15120,7 +15934,7 @@
15120
15934
  "args": [],
15121
15935
  "type": {
15122
15936
  "kind": "OBJECT",
15123
- "name": "UsageMeasurementCredit",
15937
+ "name": "OptimisticCreditBalance",
15124
15938
  "ofType": null
15125
15939
  },
15126
15940
  "isDeprecated": false,
@@ -23212,6 +24026,18 @@
23212
24026
  "isDeprecated": false,
23213
24027
  "deprecationReason": null
23214
24028
  },
24029
+ {
24030
+ "name": "previewNextInvoice",
24031
+ "description": "A period-scoped preview of the next upcoming invoice for this subscription, including the amount due and per-line usage quantities. Integration-aware (mirrors the previewNextInvoice mutation). Null when the preview could not be computed.",
24032
+ "args": [],
24033
+ "type": {
24034
+ "kind": "OBJECT",
24035
+ "name": "SubscriptionInvoicePreview",
24036
+ "ofType": null
24037
+ },
24038
+ "isDeprecated": false,
24039
+ "deprecationReason": null
24040
+ },
23215
24041
  {
23216
24042
  "name": "prices",
23217
24043
  "description": "A list of individual price components.",
@@ -23268,18 +24094,6 @@
23268
24094
  "isDeprecated": false,
23269
24095
  "deprecationReason": null
23270
24096
  },
23271
- {
23272
- "name": "previewNextInvoice",
23273
- "description": "A period-scoped preview of the next upcoming invoice for this subscription, including the amount due and per-line usage quantities. Integration-aware (mirrors the previewNextInvoice mutation). Null when the preview could not be computed.",
23274
- "args": [],
23275
- "type": {
23276
- "kind": "OBJECT",
23277
- "name": "SubscriptionInvoicePreview",
23278
- "ofType": null
23279
- },
23280
- "isDeprecated": false,
23281
- "deprecationReason": null
23282
- },
23283
24097
  {
23284
24098
  "name": "scheduledUpdates",
23285
24099
  "description": "Any upcoming changes to the subscription that are scheduled to take effect.",
@@ -35315,6 +36129,12 @@
35315
36129
  "isDeprecated": false,
35316
36130
  "deprecationReason": null
35317
36131
  },
36132
+ {
36133
+ "name": "GovernanceNotEnabled",
36134
+ "description": "Governance is not enabled for this account",
36135
+ "isDeprecated": false,
36136
+ "deprecationReason": null
36137
+ },
35318
36138
  {
35319
36139
  "name": "GraphQLAliasesLimitExceeded",
35320
36140
  "description": "Too many graphql aliases were used in a single request",
@@ -45805,6 +46625,65 @@
45805
46625
  "enumValues": null,
45806
46626
  "possibleTypes": null
45807
46627
  },
46628
+ {
46629
+ "kind": "INPUT_OBJECT",
46630
+ "name": "GetContractsInput",
46631
+ "description": "Input for fetching all contracts in the environment from the connected billing provider.",
46632
+ "fields": null,
46633
+ "inputFields": [
46634
+ {
46635
+ "name": "environmentId",
46636
+ "description": "The unique identifier for the environment",
46637
+ "type": {
46638
+ "kind": "SCALAR",
46639
+ "name": "UUID",
46640
+ "ofType": null
46641
+ },
46642
+ "defaultValue": null,
46643
+ "isDeprecated": false,
46644
+ "deprecationReason": null
46645
+ },
46646
+ {
46647
+ "name": "filter",
46648
+ "description": "Optional filter, applied by the billing provider before pagination (so totals reflect the filtered set).",
46649
+ "type": {
46650
+ "kind": "INPUT_OBJECT",
46651
+ "name": "ContractDTOFilter",
46652
+ "ofType": null
46653
+ },
46654
+ "defaultValue": null,
46655
+ "isDeprecated": false,
46656
+ "deprecationReason": null
46657
+ },
46658
+ {
46659
+ "name": "limit",
46660
+ "description": "Maximum number of contracts to return per page (default 100)",
46661
+ "type": {
46662
+ "kind": "SCALAR",
46663
+ "name": "Int",
46664
+ "ofType": null
46665
+ },
46666
+ "defaultValue": "100",
46667
+ "isDeprecated": false,
46668
+ "deprecationReason": null
46669
+ },
46670
+ {
46671
+ "name": "page",
46672
+ "description": "Zero-based page index for offset pagination (default 0)",
46673
+ "type": {
46674
+ "kind": "SCALAR",
46675
+ "name": "Int",
46676
+ "ofType": null
46677
+ },
46678
+ "defaultValue": "0",
46679
+ "isDeprecated": false,
46680
+ "deprecationReason": null
46681
+ }
46682
+ ],
46683
+ "interfaces": null,
46684
+ "enumValues": null,
46685
+ "possibleTypes": null
46686
+ },
45808
46687
  {
45809
46688
  "kind": "INPUT_OBJECT",
45810
46689
  "name": "GetCreditGrantsInput",
@@ -45919,6 +46798,45 @@
45919
46798
  "enumValues": null,
45920
46799
  "possibleTypes": null
45921
46800
  },
46801
+ {
46802
+ "kind": "INPUT_OBJECT",
46803
+ "name": "GetCustomerContractsInput",
46804
+ "description": "Input for fetching a customer's contracts from the connected billing provider.",
46805
+ "fields": null,
46806
+ "inputFields": [
46807
+ {
46808
+ "name": "customerId",
46809
+ "description": "The Stigg customer ref ID to fetch contracts for",
46810
+ "type": {
46811
+ "kind": "NON_NULL",
46812
+ "name": null,
46813
+ "ofType": {
46814
+ "kind": "SCALAR",
46815
+ "name": "String",
46816
+ "ofType": null
46817
+ }
46818
+ },
46819
+ "defaultValue": null,
46820
+ "isDeprecated": false,
46821
+ "deprecationReason": null
46822
+ },
46823
+ {
46824
+ "name": "environmentId",
46825
+ "description": "The unique identifier for the environment",
46826
+ "type": {
46827
+ "kind": "SCALAR",
46828
+ "name": "UUID",
46829
+ "ofType": null
46830
+ },
46831
+ "defaultValue": null,
46832
+ "isDeprecated": false,
46833
+ "deprecationReason": null
46834
+ }
46835
+ ],
46836
+ "interfaces": null,
46837
+ "enumValues": null,
46838
+ "possibleTypes": null
46839
+ },
45922
46840
  {
45923
46841
  "kind": "INPUT_OBJECT",
45924
46842
  "name": "GetEntitlementV2Input",
@@ -62354,6 +63272,93 @@
62354
63272
  "enumValues": null,
62355
63273
  "possibleTypes": null
62356
63274
  },
63275
+ {
63276
+ "kind": "OBJECT",
63277
+ "name": "OptimisticCreditBalance",
63278
+ "description": "Optimistic credit balance for a credit-backed feature",
63279
+ "fields": [
63280
+ {
63281
+ "name": "currencyId",
63282
+ "description": "The credit currency identifier",
63283
+ "args": [],
63284
+ "type": {
63285
+ "kind": "NON_NULL",
63286
+ "name": null,
63287
+ "ofType": {
63288
+ "kind": "SCALAR",
63289
+ "name": "String",
63290
+ "ofType": null
63291
+ }
63292
+ },
63293
+ "isDeprecated": false,
63294
+ "deprecationReason": null
63295
+ },
63296
+ {
63297
+ "name": "currentUsage",
63298
+ "description": "The wallet's total consumed credits for this currency (optimistic — includes not-yet-reconciled usage), shared across every feature that draws on the currency. This is the running balance, not this call's deduction — see `consumed` for that.",
63299
+ "args": [],
63300
+ "type": {
63301
+ "kind": "NON_NULL",
63302
+ "name": null,
63303
+ "ofType": {
63304
+ "kind": "SCALAR",
63305
+ "name": "Float",
63306
+ "ofType": null
63307
+ }
63308
+ },
63309
+ "isDeprecated": false,
63310
+ "deprecationReason": null
63311
+ },
63312
+ {
63313
+ "name": "timestamp",
63314
+ "description": "The grant-version timestamp of this balance, used by the SDK for last-write-wins reconciliation",
63315
+ "args": [],
63316
+ "type": {
63317
+ "kind": "NON_NULL",
63318
+ "name": null,
63319
+ "ofType": {
63320
+ "kind": "SCALAR",
63321
+ "name": "DateTime",
63322
+ "ofType": null
63323
+ }
63324
+ },
63325
+ "isDeprecated": false,
63326
+ "deprecationReason": null
63327
+ },
63328
+ {
63329
+ "name": "usageLimit",
63330
+ "description": "The total credits granted",
63331
+ "args": [],
63332
+ "type": {
63333
+ "kind": "NON_NULL",
63334
+ "name": null,
63335
+ "ofType": {
63336
+ "kind": "SCALAR",
63337
+ "name": "Float",
63338
+ "ofType": null
63339
+ }
63340
+ },
63341
+ "isDeprecated": false,
63342
+ "deprecationReason": null
63343
+ },
63344
+ {
63345
+ "name": "usagePeriodEnd",
63346
+ "description": "End of the current credit grant period (when recurring credits reset), if applicable",
63347
+ "args": [],
63348
+ "type": {
63349
+ "kind": "SCALAR",
63350
+ "name": "DateTime",
63351
+ "ofType": null
63352
+ },
63353
+ "isDeprecated": false,
63354
+ "deprecationReason": null
63355
+ }
63356
+ ],
63357
+ "inputFields": null,
63358
+ "interfaces": [],
63359
+ "enumValues": null,
63360
+ "possibleTypes": null
63361
+ },
62357
63362
  {
62358
63363
  "kind": "ENUM",
62359
63364
  "name": "OverageBillingPeriod",
@@ -88183,6 +89188,39 @@
88183
89188
  "isDeprecated": false,
88184
89189
  "deprecationReason": null
88185
89190
  },
89191
+ {
89192
+ "name": "getContracts",
89193
+ "description": "Get all contracts in the environment (across every customer), fetched live from the connected billing provider (Received), with offset pagination. Returns an empty page when no billing provider is connected.",
89194
+ "args": [
89195
+ {
89196
+ "name": "input",
89197
+ "description": null,
89198
+ "type": {
89199
+ "kind": "NON_NULL",
89200
+ "name": null,
89201
+ "ofType": {
89202
+ "kind": "INPUT_OBJECT",
89203
+ "name": "GetContractsInput",
89204
+ "ofType": null
89205
+ }
89206
+ },
89207
+ "defaultValue": null,
89208
+ "isDeprecated": false,
89209
+ "deprecationReason": null
89210
+ }
89211
+ ],
89212
+ "type": {
89213
+ "kind": "NON_NULL",
89214
+ "name": null,
89215
+ "ofType": {
89216
+ "kind": "OBJECT",
89217
+ "name": "ContractsPageDTO",
89218
+ "ofType": null
89219
+ }
89220
+ },
89221
+ "isDeprecated": false,
89222
+ "deprecationReason": null
89223
+ },
88186
89224
  {
88187
89225
  "name": "getCustomerByRefId",
88188
89226
  "description": "Get a customer by slug",
@@ -88212,6 +89250,47 @@
88212
89250
  "isDeprecated": false,
88213
89251
  "deprecationReason": null
88214
89252
  },
89253
+ {
89254
+ "name": "getCustomerContracts",
89255
+ "description": "Get all contracts for a customer, fetched live from the connected billing provider (Received). Returns an empty list when no billing provider is connected or the customer is not synced.",
89256
+ "args": [
89257
+ {
89258
+ "name": "input",
89259
+ "description": null,
89260
+ "type": {
89261
+ "kind": "NON_NULL",
89262
+ "name": null,
89263
+ "ofType": {
89264
+ "kind": "INPUT_OBJECT",
89265
+ "name": "GetCustomerContractsInput",
89266
+ "ofType": null
89267
+ }
89268
+ },
89269
+ "defaultValue": null,
89270
+ "isDeprecated": false,
89271
+ "deprecationReason": null
89272
+ }
89273
+ ],
89274
+ "type": {
89275
+ "kind": "NON_NULL",
89276
+ "name": null,
89277
+ "ofType": {
89278
+ "kind": "LIST",
89279
+ "name": null,
89280
+ "ofType": {
89281
+ "kind": "NON_NULL",
89282
+ "name": null,
89283
+ "ofType": {
89284
+ "kind": "OBJECT",
89285
+ "name": "ContractDTO",
89286
+ "ofType": null
89287
+ }
89288
+ }
89289
+ }
89290
+ },
89291
+ "isDeprecated": false,
89292
+ "deprecationReason": null
89293
+ },
88215
89294
  {
88216
89295
  "name": "getExperimentStats",
88217
89296
  "description": "Retrieve statistics for an experiment",
@@ -111721,6 +112800,18 @@
111721
112800
  "description": "Update integration input",
111722
112801
  "fields": null,
111723
112802
  "inputFields": [
112803
+ {
112804
+ "name": "airwallexCredentials",
112805
+ "description": "Airwallex integration configuration",
112806
+ "type": {
112807
+ "kind": "INPUT_OBJECT",
112808
+ "name": "AirwallexCredentialsInput",
112809
+ "ofType": null
112810
+ },
112811
+ "defaultValue": null,
112812
+ "isDeprecated": false,
112813
+ "deprecationReason": null
112814
+ },
111724
112815
  {
111725
112816
  "name": "auth0Credentials",
111726
112817
  "description": "Auth0 integration configuration",
@@ -114417,6 +115508,22 @@
114417
115508
  "name": "UsageMeasurementCredit",
114418
115509
  "description": "Optimistic credit balance for a credit-backed feature",
114419
115510
  "fields": [
115511
+ {
115512
+ "name": "consumed",
115513
+ "description": "The credits this single reportUsage call deducted, in credit units — scoped to this one measurement (0 for idempotency duplicates). Contrast `currentUsage`, which is the wallet-wide running total shared across all features on this currency. Use it to reconcile expected per-call deductions.",
115514
+ "args": [],
115515
+ "type": {
115516
+ "kind": "NON_NULL",
115517
+ "name": null,
115518
+ "ofType": {
115519
+ "kind": "SCALAR",
115520
+ "name": "Float",
115521
+ "ofType": null
115522
+ }
115523
+ },
115524
+ "isDeprecated": false,
115525
+ "deprecationReason": null
115526
+ },
114420
115527
  {
114421
115528
  "name": "currencyId",
114422
115529
  "description": "The credit currency identifier",
@@ -114435,7 +115542,7 @@
114435
115542
  },
114436
115543
  {
114437
115544
  "name": "currentUsage",
114438
- "description": "The credits consumed (optimistic — includes not-yet-reconciled usage)",
115545
+ "description": "The wallet's total consumed credits for this currency (optimistic — includes not-yet-reconciled usage), shared across every feature that draws on the currency. This is the running balance, not this call's deduction — see `consumed` for that.",
114439
115546
  "args": [],
114440
115547
  "type": {
114441
115548
  "kind": "NON_NULL",
@@ -116111,6 +117218,12 @@
116111
117218
  "inputFields": null,
116112
117219
  "interfaces": null,
116113
117220
  "enumValues": [
117221
+ {
117222
+ "name": "AIRWALLEX",
117223
+ "description": "Airwallex integration vendor identifier",
117224
+ "isDeprecated": false,
117225
+ "deprecationReason": null
117226
+ },
116114
117227
  {
116115
117228
  "name": "APP_STORE",
116116
117229
  "description": "AppStore integration vendor identifier",
@@ -116413,6 +117526,12 @@
116413
117526
  "isDeprecated": false,
116414
117527
  "deprecationReason": null
116415
117528
  },
117529
+ {
117530
+ "name": "INVOICING",
117531
+ "description": "Invoicing integration type",
117532
+ "isDeprecated": false,
117533
+ "deprecationReason": null
117534
+ },
116416
117535
  {
116417
117536
  "name": "MARKETPLACE",
116418
117537
  "description": "Marketplace integration type",
data/lib/stigg/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stigg
4
- VERSION = "6.15.0"
4
+ VERSION = "6.16.0"
5
5
  end
data/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@stigg/api-client-ruby",
3
- "version": "6.15.0"
3
+ "version": "6.16.0"
4
4
  }
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: 6.15.0
4
+ version: 6.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-07-09 00:00:00.000000000 Z
11
+ date: 2026-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphlient