stigg-api-client 6.16.0 → 6.18.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: f5150263afa511b89986cd049f154c31a9dc1b734399cf32d7b65c2335c778e1
4
- data.tar.gz: 820459a6c3e4ce64fc6c3abe630c7ee64d9dcdd07d52debc74cb3fded4fb53ee
3
+ metadata.gz: '0218b51263a01f4e837086801a7aa103897dfb40ad183314b4498326b69a8a88'
4
+ data.tar.gz: 011a11c7b26623cea8c1d9d48ea88bd681b6b5fd75caa93a2ed2fb4772f8e132
5
5
  SHA512:
6
- metadata.gz: 23777f988c5c43228a0bc5efe6290e34e906e1a5d28d2601e67607296dc61f98e8b0152c3f35b4cc1efa2037fedb1108058418582d6810fee85432d2df336724
7
- data.tar.gz: 15119298caf771304b37dbf67ac5724f49e53e0e2651df8a691cfc80289704bd0a0d73c1dd48d3d820bca5b8ebd06dd212cb454d46ad659c7eea8f8fece51e25
6
+ metadata.gz: 32f9a8f7734f783c2882dcad39ea801d57b7b47390138cef1d703094096c6253a9f4068febde40aea39cbd83fbc443850748ce6cc94775773ed116c812450728
7
+ data.tar.gz: 57fb045c6d7472aabaa25f38804ed6b8ae850bf96b3a214526a1e34129566dc7893ae69770b9f7ddcb3c2e61d9a164a9506b526399e723a4c6840d34907fb42f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- stigg-api-client (6.16.0)
4
+ stigg-api-client (6.18.0)
5
5
  graphlient (>= 0.6.0, < 1.0)
6
6
  graphql-client (>= 0.19, < 1.0)
7
7
 
@@ -1296,6 +1296,18 @@ module Stigg
1296
1296
  }
1297
1297
  GRAPHQL
1298
1298
 
1299
+ AirwallexCheckoutCredentialsFragment = <<~GRAPHQL
1300
+ fragment AirwallexCheckoutCredentialsFragment on AirwallexCheckoutCredentials {
1301
+ clientSecret
1302
+ metadata {
1303
+ intentId
1304
+ env
1305
+ currency
1306
+ customerId
1307
+ }
1308
+ }
1309
+ GRAPHQL
1310
+
1299
1311
  CheckoutStateFragment = <<~GRAPHQL
1300
1312
  fragment CheckoutStateFragment on CheckoutState {
1301
1313
  configuration {
@@ -1323,6 +1335,9 @@ module Stigg
1323
1335
  ... on ZuoraCheckoutCredentials {
1324
1336
  ...ZuoraCheckoutCredentialsFragment
1325
1337
  }
1338
+ ... on AirwallexCheckoutCredentials {
1339
+ ...AirwallexCheckoutCredentialsFragment
1340
+ }
1326
1341
  }
1327
1342
  credentials {
1328
1343
  accountId
@@ -2198,6 +2213,24 @@ module Stigg
2198
2213
  }
2199
2214
  }
2200
2215
  GRAPHQL
2216
+
2217
+ CreditCostEstimationFragment = <<~GRAPHQL
2218
+ fragment CreditCostEstimationFragment on CreditCostEstimation {
2219
+ estimates {
2220
+ currencyId
2221
+ estimatedCost
2222
+ currentBalance
2223
+ balanceAfterEstimate
2224
+ wouldOverdraft
2225
+ breakdown {
2226
+ featureId
2227
+ cost
2228
+ warningCode
2229
+ }
2230
+ }
2231
+ warnings
2232
+ }
2233
+ GRAPHQL
2201
2234
  end
2202
2235
 
2203
2236
  module Mutation
@@ -2957,6 +2990,7 @@ module Stigg
2957
2990
  #{Fragment::SubscriptionTrialConfigurationFragment}
2958
2991
  #{Fragment::StripeCheckoutCredentialsFragment}
2959
2992
  #{Fragment::ZuoraCheckoutCredentialsFragment}
2993
+ #{Fragment::AirwallexCheckoutCredentialsFragment}
2960
2994
  GRAPHQL
2961
2995
 
2962
2996
  GetMockPaywall = <<~GRAPHQL
@@ -3072,6 +3106,24 @@ module Stigg
3072
3106
  #{Fragment::AutoRechargeSettingsFragment}
3073
3107
  GRAPHQL
3074
3108
 
3109
+ EstimateEventCost = <<~GRAPHQL
3110
+ query EstimateEventCost($input: EstimateEventCostInput!) {
3111
+ estimateEventCost(input: $input) {
3112
+ ...CreditCostEstimationFragment
3113
+ }
3114
+ }
3115
+ #{Fragment::CreditCostEstimationFragment}
3116
+ GRAPHQL
3117
+
3118
+ EstimateUsageCost = <<~GRAPHQL
3119
+ query EstimateUsageCost($input: EstimateUsageCostInput!) {
3120
+ estimateUsageCost(input: $input) {
3121
+ ...CreditCostEstimationFragment
3122
+ }
3123
+ }
3124
+ #{Fragment::CreditCostEstimationFragment}
3125
+ GRAPHQL
3126
+
3075
3127
  OnEntitlementsUpdated = <<~GRAPHQL
3076
3128
  subscription OnEntitlementsUpdated {
3077
3129
  entitlementsUpdated {
@@ -3673,6 +3673,120 @@
3673
3673
  ],
3674
3674
  "possibleTypes": null
3675
3675
  },
3676
+ {
3677
+ "kind": "OBJECT",
3678
+ "name": "AirwallexCheckoutCredentials",
3679
+ "description": "Airwallex embedded checkout credentials",
3680
+ "fields": [
3681
+ {
3682
+ "name": "clientSecret",
3683
+ "description": "The Airwallex PaymentIntent client secret the in-page card element confirms against",
3684
+ "args": [],
3685
+ "type": {
3686
+ "kind": "NON_NULL",
3687
+ "name": null,
3688
+ "ofType": {
3689
+ "kind": "SCALAR",
3690
+ "name": "String",
3691
+ "ofType": null
3692
+ }
3693
+ },
3694
+ "isDeprecated": false,
3695
+ "deprecationReason": null
3696
+ },
3697
+ {
3698
+ "name": "metadata",
3699
+ "description": "Values the Airwallex card element needs to initialize and confirm",
3700
+ "args": [],
3701
+ "type": {
3702
+ "kind": "NON_NULL",
3703
+ "name": null,
3704
+ "ofType": {
3705
+ "kind": "OBJECT",
3706
+ "name": "AirwallexCheckoutMetadata",
3707
+ "ofType": null
3708
+ }
3709
+ },
3710
+ "isDeprecated": false,
3711
+ "deprecationReason": null
3712
+ }
3713
+ ],
3714
+ "inputFields": null,
3715
+ "interfaces": [],
3716
+ "enumValues": null,
3717
+ "possibleTypes": null
3718
+ },
3719
+ {
3720
+ "kind": "OBJECT",
3721
+ "name": "AirwallexCheckoutMetadata",
3722
+ "description": "Airwallex embedded checkout metadata",
3723
+ "fields": [
3724
+ {
3725
+ "name": "currency",
3726
+ "description": "The ISO 4217 currency of the vaulting intent",
3727
+ "args": [],
3728
+ "type": {
3729
+ "kind": "NON_NULL",
3730
+ "name": null,
3731
+ "ofType": {
3732
+ "kind": "SCALAR",
3733
+ "name": "String",
3734
+ "ofType": null
3735
+ }
3736
+ },
3737
+ "isDeprecated": false,
3738
+ "deprecationReason": null
3739
+ },
3740
+ {
3741
+ "name": "customerId",
3742
+ "description": "The Airwallex Payments customer id the payment method vaults under",
3743
+ "args": [],
3744
+ "type": {
3745
+ "kind": "SCALAR",
3746
+ "name": "String",
3747
+ "ofType": null
3748
+ },
3749
+ "isDeprecated": false,
3750
+ "deprecationReason": null
3751
+ },
3752
+ {
3753
+ "name": "env",
3754
+ "description": "The Airwallex environment to initialize the SDK against ('demo' or 'prod')",
3755
+ "args": [],
3756
+ "type": {
3757
+ "kind": "NON_NULL",
3758
+ "name": null,
3759
+ "ofType": {
3760
+ "kind": "SCALAR",
3761
+ "name": "String",
3762
+ "ofType": null
3763
+ }
3764
+ },
3765
+ "isDeprecated": false,
3766
+ "deprecationReason": null
3767
+ },
3768
+ {
3769
+ "name": "intentId",
3770
+ "description": "The Airwallex PaymentIntent id",
3771
+ "args": [],
3772
+ "type": {
3773
+ "kind": "NON_NULL",
3774
+ "name": null,
3775
+ "ofType": {
3776
+ "kind": "SCALAR",
3777
+ "name": "String",
3778
+ "ofType": null
3779
+ }
3780
+ },
3781
+ "isDeprecated": false,
3782
+ "deprecationReason": null
3783
+ }
3784
+ ],
3785
+ "inputFields": null,
3786
+ "interfaces": [],
3787
+ "enumValues": null,
3788
+ "possibleTypes": null
3789
+ },
3676
3790
  {
3677
3791
  "kind": "OBJECT",
3678
3792
  "name": "AirwallexCredentials",
@@ -8336,6 +8450,11 @@
8336
8450
  "interfaces": null,
8337
8451
  "enumValues": null,
8338
8452
  "possibleTypes": [
8453
+ {
8454
+ "kind": "OBJECT",
8455
+ "name": "AirwallexCheckoutCredentials",
8456
+ "ofType": null
8457
+ },
8339
8458
  {
8340
8459
  "kind": "OBJECT",
8341
8460
  "name": "StripeCheckoutCredentials",
@@ -9279,6 +9398,12 @@
9279
9398
  "inputFields": null,
9280
9399
  "interfaces": null,
9281
9400
  "enumValues": [
9401
+ {
9402
+ "name": "RECEIVED",
9403
+ "description": "Embedded checkout billing",
9404
+ "isDeprecated": false,
9405
+ "deprecationReason": null
9406
+ },
9282
9407
  {
9283
9408
  "name": "STRIPE",
9284
9409
  "description": "Stripe",
@@ -14470,6 +14595,18 @@
14470
14595
  "isDeprecated": false,
14471
14596
  "deprecationReason": null
14472
14597
  },
14598
+ {
14599
+ "name": "stripeInvoicingCredentials",
14600
+ "description": "Stripe invoicing integration configuration",
14601
+ "type": {
14602
+ "kind": "INPUT_OBJECT",
14603
+ "name": "StripeInvoicingCredentialsInput",
14604
+ "ofType": null
14605
+ },
14606
+ "defaultValue": null,
14607
+ "isDeprecated": false,
14608
+ "deprecationReason": null
14609
+ },
14473
14610
  {
14474
14611
  "name": "vendorIdentifier",
14475
14612
  "description": "The vendor identifier of integration",
@@ -15457,6 +15594,11 @@
15457
15594
  "name": "StripeCredentials",
15458
15595
  "ofType": null
15459
15596
  },
15597
+ {
15598
+ "kind": "OBJECT",
15599
+ "name": "StripeInvoicingCredentials",
15600
+ "ofType": null
15601
+ },
15460
15602
  {
15461
15603
  "kind": "OBJECT",
15462
15604
  "name": "ZuoraCredentials",
@@ -91226,6 +91368,72 @@
91226
91368
  },
91227
91369
  "isDeprecated": false,
91228
91370
  "deprecationReason": null
91371
+ },
91372
+ {
91373
+ "name": "estimateEventCost",
91374
+ "description": "Estimate the credit cost of a usage event without reporting it",
91375
+ "args": [
91376
+ {
91377
+ "name": "input",
91378
+ "description": "Input for estimating the credit cost of a usage event without reporting it",
91379
+ "type": {
91380
+ "kind": "NON_NULL",
91381
+ "name": null,
91382
+ "ofType": {
91383
+ "kind": "INPUT_OBJECT",
91384
+ "name": "EstimateEventCostInput",
91385
+ "ofType": null
91386
+ }
91387
+ },
91388
+ "defaultValue": null,
91389
+ "isDeprecated": false,
91390
+ "deprecationReason": null
91391
+ }
91392
+ ],
91393
+ "type": {
91394
+ "kind": "NON_NULL",
91395
+ "name": null,
91396
+ "ofType": {
91397
+ "kind": "OBJECT",
91398
+ "name": "CreditCostEstimation",
91399
+ "ofType": null
91400
+ }
91401
+ },
91402
+ "isDeprecated": false,
91403
+ "deprecationReason": null
91404
+ },
91405
+ {
91406
+ "name": "estimateUsageCost",
91407
+ "description": "Estimate the credit cost of a usage report without submitting it",
91408
+ "args": [
91409
+ {
91410
+ "name": "input",
91411
+ "description": "Input for estimating the credit cost of a usage report without submitting it",
91412
+ "type": {
91413
+ "kind": "NON_NULL",
91414
+ "name": null,
91415
+ "ofType": {
91416
+ "kind": "INPUT_OBJECT",
91417
+ "name": "EstimateUsageCostInput",
91418
+ "ofType": null
91419
+ }
91420
+ },
91421
+ "defaultValue": null,
91422
+ "isDeprecated": false,
91423
+ "deprecationReason": null
91424
+ }
91425
+ ],
91426
+ "type": {
91427
+ "kind": "NON_NULL",
91428
+ "name": null,
91429
+ "ofType": {
91430
+ "kind": "OBJECT",
91431
+ "name": "CreditCostEstimation",
91432
+ "ofType": null
91433
+ }
91434
+ },
91435
+ "isDeprecated": false,
91436
+ "deprecationReason": null
91229
91437
  }
91230
91438
  ],
91231
91439
  "inputFields": null,
@@ -94878,6 +95086,104 @@
94878
95086
  "enumValues": null,
94879
95087
  "possibleTypes": null
94880
95088
  },
95089
+ {
95090
+ "kind": "OBJECT",
95091
+ "name": "StripeInvoicingCredentials",
95092
+ "description": "Stripe invoicing integration configuration object",
95093
+ "fields": [
95094
+ {
95095
+ "name": "accountId",
95096
+ "description": "Connected Stripe account ID (e.g. acct_...) resolved during connect",
95097
+ "args": [],
95098
+ "type": {
95099
+ "kind": "SCALAR",
95100
+ "name": "String",
95101
+ "ofType": null
95102
+ },
95103
+ "isDeprecated": false,
95104
+ "deprecationReason": null
95105
+ }
95106
+ ],
95107
+ "inputFields": null,
95108
+ "interfaces": [],
95109
+ "enumValues": null,
95110
+ "possibleTypes": null
95111
+ },
95112
+ {
95113
+ "kind": "INPUT_OBJECT",
95114
+ "name": "StripeInvoicingCredentialsInput",
95115
+ "description": "Input for connecting a Stripe invoicing integration",
95116
+ "fields": null,
95117
+ "inputFields": [
95118
+ {
95119
+ "name": "accountId",
95120
+ "description": "Connected Stripe account ID (e.g. acct_...) resolved during connect",
95121
+ "type": {
95122
+ "kind": "SCALAR",
95123
+ "name": "String",
95124
+ "ofType": null
95125
+ },
95126
+ "defaultValue": null,
95127
+ "isDeprecated": false,
95128
+ "deprecationReason": null
95129
+ },
95130
+ {
95131
+ "name": "authorizationCode",
95132
+ "description": "Stripe OAuth authorization code, exchanged during connect for the account ID",
95133
+ "type": {
95134
+ "kind": "SCALAR",
95135
+ "name": "String",
95136
+ "ofType": null
95137
+ },
95138
+ "defaultValue": null,
95139
+ "isDeprecated": false,
95140
+ "deprecationReason": null
95141
+ },
95142
+ {
95143
+ "name": "isTestMode",
95144
+ "description": "Whether the Stripe account is connected in test mode",
95145
+ "type": {
95146
+ "kind": "NON_NULL",
95147
+ "name": null,
95148
+ "ofType": {
95149
+ "kind": "SCALAR",
95150
+ "name": "Boolean",
95151
+ "ofType": null
95152
+ }
95153
+ },
95154
+ "defaultValue": null,
95155
+ "isDeprecated": false,
95156
+ "deprecationReason": null
95157
+ },
95158
+ {
95159
+ "name": "mode",
95160
+ "description": "Stripe account mode (live, test, or sandbox)",
95161
+ "type": {
95162
+ "kind": "ENUM",
95163
+ "name": "StripeAccountMode",
95164
+ "ofType": null
95165
+ },
95166
+ "defaultValue": null,
95167
+ "isDeprecated": false,
95168
+ "deprecationReason": null
95169
+ },
95170
+ {
95171
+ "name": "source",
95172
+ "description": "Stripe account source (Stripe App or Stripe Connect)",
95173
+ "type": {
95174
+ "kind": "ENUM",
95175
+ "name": "StripeAccountSource",
95176
+ "ofType": null
95177
+ },
95178
+ "defaultValue": null,
95179
+ "isDeprecated": false,
95180
+ "deprecationReason": null
95181
+ }
95182
+ ],
95183
+ "interfaces": null,
95184
+ "enumValues": null,
95185
+ "possibleTypes": null
95186
+ },
94881
95187
  {
94882
95188
  "kind": "OBJECT",
94883
95189
  "name": "StripePaymentMethodForm",
@@ -112908,6 +113214,18 @@
112908
113214
  "isDeprecated": false,
112909
113215
  "deprecationReason": null
112910
113216
  },
113217
+ {
113218
+ "name": "stripeInvoicingCredentials",
113219
+ "description": "Stripe invoicing integration configuration",
113220
+ "type": {
113221
+ "kind": "INPUT_OBJECT",
113222
+ "name": "StripeInvoicingCredentialsInput",
113223
+ "ofType": null
113224
+ },
113225
+ "defaultValue": null,
113226
+ "isDeprecated": false,
113227
+ "deprecationReason": null
113228
+ },
112911
113229
  {
112912
113230
  "name": "vendorIdentifier",
112913
113231
  "description": "The vendor identifier of integration",
@@ -117290,6 +117608,12 @@
117290
117608
  "isDeprecated": false,
117291
117609
  "deprecationReason": null
117292
117610
  },
117611
+ {
117612
+ "name": "STRIPE_INVOICING",
117613
+ "description": "Stripe invoicing integration vendor identifier",
117614
+ "isDeprecated": false,
117615
+ "deprecationReason": null
117616
+ },
117293
117617
  {
117294
117618
  "name": "ZUORA",
117295
117619
  "description": "Zuora integration vendor identifier",
@@ -119516,6 +119840,450 @@
119516
119840
  "interfaces": [],
119517
119841
  "enumValues": null,
119518
119842
  "possibleTypes": null
119843
+ },
119844
+ {
119845
+ "kind": "OBJECT",
119846
+ "name": "CreditCostEstimation",
119847
+ "description": null,
119848
+ "specifiedByUrl": null,
119849
+ "fields": [
119850
+ {
119851
+ "name": "estimates",
119852
+ "description": "Per-currency cost estimates",
119853
+ "args": [],
119854
+ "type": {
119855
+ "kind": "NON_NULL",
119856
+ "name": null,
119857
+ "ofType": {
119858
+ "kind": "LIST",
119859
+ "name": null,
119860
+ "ofType": {
119861
+ "kind": "NON_NULL",
119862
+ "name": null,
119863
+ "ofType": {
119864
+ "kind": "OBJECT",
119865
+ "name": "CurrencyEstimate",
119866
+ "ofType": null
119867
+ }
119868
+ }
119869
+ }
119870
+ },
119871
+ "isDeprecated": false,
119872
+ "deprecationReason": null
119873
+ },
119874
+ {
119875
+ "name": "warnings",
119876
+ "description": "Request-level warnings about the estimation context",
119877
+ "args": [],
119878
+ "type": {
119879
+ "kind": "NON_NULL",
119880
+ "name": null,
119881
+ "ofType": {
119882
+ "kind": "LIST",
119883
+ "name": null,
119884
+ "ofType": {
119885
+ "kind": "NON_NULL",
119886
+ "name": null,
119887
+ "ofType": {
119888
+ "kind": "ENUM",
119889
+ "name": "EstimationRequestWarning",
119890
+ "ofType": null
119891
+ }
119892
+ }
119893
+ }
119894
+ },
119895
+ "isDeprecated": false,
119896
+ "deprecationReason": null
119897
+ }
119898
+ ],
119899
+ "inputFields": null,
119900
+ "interfaces": [],
119901
+ "enumValues": null,
119902
+ "possibleTypes": null
119903
+ },
119904
+ {
119905
+ "kind": "OBJECT",
119906
+ "name": "CurrencyEstimate",
119907
+ "description": null,
119908
+ "specifiedByUrl": null,
119909
+ "fields": [
119910
+ {
119911
+ "name": "balanceAfterEstimate",
119912
+ "description": "The credit balance after subtracting the estimated cost",
119913
+ "args": [],
119914
+ "type": {
119915
+ "kind": "NON_NULL",
119916
+ "name": null,
119917
+ "ofType": {
119918
+ "kind": "SCALAR",
119919
+ "name": "Float",
119920
+ "ofType": null
119921
+ }
119922
+ },
119923
+ "isDeprecated": false,
119924
+ "deprecationReason": null
119925
+ },
119926
+ {
119927
+ "name": "breakdown",
119928
+ "description": "Estimated cost contribution per feature",
119929
+ "args": [],
119930
+ "type": {
119931
+ "kind": "NON_NULL",
119932
+ "name": null,
119933
+ "ofType": {
119934
+ "kind": "LIST",
119935
+ "name": null,
119936
+ "ofType": {
119937
+ "kind": "NON_NULL",
119938
+ "name": null,
119939
+ "ofType": {
119940
+ "kind": "OBJECT",
119941
+ "name": "EstimationBreakdownItem",
119942
+ "ofType": null
119943
+ }
119944
+ }
119945
+ }
119946
+ },
119947
+ "isDeprecated": false,
119948
+ "deprecationReason": null
119949
+ },
119950
+ {
119951
+ "name": "currencyId",
119952
+ "description": "The credit currency identifier",
119953
+ "args": [],
119954
+ "type": {
119955
+ "kind": "NON_NULL",
119956
+ "name": null,
119957
+ "ofType": {
119958
+ "kind": "SCALAR",
119959
+ "name": "String",
119960
+ "ofType": null
119961
+ }
119962
+ },
119963
+ "isDeprecated": false,
119964
+ "deprecationReason": null
119965
+ },
119966
+ {
119967
+ "name": "currentBalance",
119968
+ "description": "The current credit balance, including not-yet-reconciled consumption",
119969
+ "args": [],
119970
+ "type": {
119971
+ "kind": "NON_NULL",
119972
+ "name": null,
119973
+ "ofType": {
119974
+ "kind": "SCALAR",
119975
+ "name": "Float",
119976
+ "ofType": null
119977
+ }
119978
+ },
119979
+ "isDeprecated": false,
119980
+ "deprecationReason": null
119981
+ },
119982
+ {
119983
+ "name": "estimatedCost",
119984
+ "description": "The estimated credit cost of the reported event or usage",
119985
+ "args": [],
119986
+ "type": {
119987
+ "kind": "NON_NULL",
119988
+ "name": null,
119989
+ "ofType": {
119990
+ "kind": "SCALAR",
119991
+ "name": "Float",
119992
+ "ofType": null
119993
+ }
119994
+ },
119995
+ "isDeprecated": false,
119996
+ "deprecationReason": null
119997
+ },
119998
+ {
119999
+ "name": "wouldOverdraft",
120000
+ "description": "Whether the estimated consumption would bring the balance below zero",
120001
+ "args": [],
120002
+ "type": {
120003
+ "kind": "NON_NULL",
120004
+ "name": null,
120005
+ "ofType": {
120006
+ "kind": "SCALAR",
120007
+ "name": "Boolean",
120008
+ "ofType": null
120009
+ }
120010
+ },
120011
+ "isDeprecated": false,
120012
+ "deprecationReason": null
120013
+ }
120014
+ ],
120015
+ "inputFields": null,
120016
+ "interfaces": [],
120017
+ "enumValues": null,
120018
+ "possibleTypes": null
120019
+ },
120020
+ {
120021
+ "kind": "OBJECT",
120022
+ "name": "EstimationBreakdownItem",
120023
+ "description": "Estimated cost contribution of a single feature",
120024
+ "specifiedByUrl": null,
120025
+ "fields": [
120026
+ {
120027
+ "name": "cost",
120028
+ "description": "The estimated credit cost contributed by this feature",
120029
+ "args": [],
120030
+ "type": {
120031
+ "kind": "NON_NULL",
120032
+ "name": null,
120033
+ "ofType": {
120034
+ "kind": "SCALAR",
120035
+ "name": "Float",
120036
+ "ofType": null
120037
+ }
120038
+ },
120039
+ "isDeprecated": false,
120040
+ "deprecationReason": null
120041
+ },
120042
+ {
120043
+ "name": "featureId",
120044
+ "description": "The feature whose meter contributed this cost",
120045
+ "args": [],
120046
+ "type": {
120047
+ "kind": "NON_NULL",
120048
+ "name": null,
120049
+ "ofType": {
120050
+ "kind": "SCALAR",
120051
+ "name": "String",
120052
+ "ofType": null
120053
+ }
120054
+ },
120055
+ "isDeprecated": false,
120056
+ "deprecationReason": null
120057
+ },
120058
+ {
120059
+ "name": "warningCode",
120060
+ "description": "Warning explaining why this cost may be inaccurate, if any",
120061
+ "args": [],
120062
+ "type": {
120063
+ "kind": "ENUM",
120064
+ "name": "EstimationWarningCode",
120065
+ "ofType": null
120066
+ },
120067
+ "isDeprecated": false,
120068
+ "deprecationReason": null
120069
+ }
120070
+ ],
120071
+ "inputFields": null,
120072
+ "interfaces": [],
120073
+ "enumValues": null,
120074
+ "possibleTypes": null
120075
+ },
120076
+ {
120077
+ "kind": "INPUT_OBJECT",
120078
+ "name": "EstimateEventCostInput",
120079
+ "description": null,
120080
+ "specifiedByUrl": null,
120081
+ "fields": null,
120082
+ "inputFields": [
120083
+ {
120084
+ "name": "customerId",
120085
+ "description": "Customer id",
120086
+ "type": {
120087
+ "kind": "NON_NULL",
120088
+ "name": null,
120089
+ "ofType": {
120090
+ "kind": "SCALAR",
120091
+ "name": "String",
120092
+ "ofType": null
120093
+ }
120094
+ },
120095
+ "defaultValue": null,
120096
+ "isDeprecated": false,
120097
+ "deprecationReason": null
120098
+ },
120099
+ {
120100
+ "name": "dimensions",
120101
+ "description": "Dimensions to include in the events fields",
120102
+ "type": {
120103
+ "kind": "SCALAR",
120104
+ "name": "JSON",
120105
+ "ofType": null
120106
+ },
120107
+ "defaultValue": null,
120108
+ "isDeprecated": false,
120109
+ "deprecationReason": null
120110
+ },
120111
+ {
120112
+ "name": "eventName",
120113
+ "description": "Name of the event",
120114
+ "type": {
120115
+ "kind": "NON_NULL",
120116
+ "name": null,
120117
+ "ofType": {
120118
+ "kind": "SCALAR",
120119
+ "name": "String",
120120
+ "ofType": null
120121
+ }
120122
+ },
120123
+ "defaultValue": null,
120124
+ "isDeprecated": false,
120125
+ "deprecationReason": null
120126
+ },
120127
+ {
120128
+ "name": "resourceId",
120129
+ "description": "Resource id",
120130
+ "type": {
120131
+ "kind": "SCALAR",
120132
+ "name": "String",
120133
+ "ofType": null
120134
+ },
120135
+ "defaultValue": null,
120136
+ "isDeprecated": false,
120137
+ "deprecationReason": null
120138
+ }
120139
+ ],
120140
+ "interfaces": null,
120141
+ "enumValues": null,
120142
+ "possibleTypes": null
120143
+ },
120144
+ {
120145
+ "kind": "INPUT_OBJECT",
120146
+ "name": "EstimateUsageCostInput",
120147
+ "description": "Input for estimating the credit cost of a usage report without submitting it",
120148
+ "specifiedByUrl": null,
120149
+ "fields": null,
120150
+ "inputFields": [
120151
+ {
120152
+ "name": "customerId",
120153
+ "description": "Customer id",
120154
+ "type": {
120155
+ "kind": "NON_NULL",
120156
+ "name": null,
120157
+ "ofType": {
120158
+ "kind": "SCALAR",
120159
+ "name": "String",
120160
+ "ofType": null
120161
+ }
120162
+ },
120163
+ "defaultValue": null,
120164
+ "isDeprecated": false,
120165
+ "deprecationReason": null
120166
+ },
120167
+ {
120168
+ "name": "dimensions",
120169
+ "description": "Additional dimensions for the usage report",
120170
+ "type": {
120171
+ "kind": "SCALAR",
120172
+ "name": "JSON",
120173
+ "ofType": null
120174
+ },
120175
+ "defaultValue": null,
120176
+ "isDeprecated": false,
120177
+ "deprecationReason": null
120178
+ },
120179
+ {
120180
+ "name": "featureId",
120181
+ "description": "Feature id",
120182
+ "type": {
120183
+ "kind": "NON_NULL",
120184
+ "name": null,
120185
+ "ofType": {
120186
+ "kind": "SCALAR",
120187
+ "name": "String",
120188
+ "ofType": null
120189
+ }
120190
+ },
120191
+ "defaultValue": null,
120192
+ "isDeprecated": false,
120193
+ "deprecationReason": null
120194
+ },
120195
+ {
120196
+ "name": "resourceId",
120197
+ "description": "Resource id",
120198
+ "type": {
120199
+ "kind": "SCALAR",
120200
+ "name": "String",
120201
+ "ofType": null
120202
+ },
120203
+ "defaultValue": null,
120204
+ "isDeprecated": false,
120205
+ "deprecationReason": null
120206
+ },
120207
+ {
120208
+ "name": "updateBehavior",
120209
+ "description": "The method by which the usage value should be updated",
120210
+ "type": {
120211
+ "kind": "ENUM",
120212
+ "name": "UsageUpdateBehavior",
120213
+ "ofType": null
120214
+ },
120215
+ "defaultValue": "DELTA",
120216
+ "isDeprecated": false,
120217
+ "deprecationReason": null
120218
+ },
120219
+ {
120220
+ "name": "value",
120221
+ "description": "The value to report for usage",
120222
+ "type": {
120223
+ "kind": "NON_NULL",
120224
+ "name": null,
120225
+ "ofType": {
120226
+ "kind": "SCALAR",
120227
+ "name": "Float",
120228
+ "ofType": null
120229
+ }
120230
+ },
120231
+ "defaultValue": null,
120232
+ "isDeprecated": false,
120233
+ "deprecationReason": null
120234
+ }
120235
+ ],
120236
+ "interfaces": null,
120237
+ "enumValues": null,
120238
+ "possibleTypes": null
120239
+ },
120240
+ {
120241
+ "kind": "ENUM",
120242
+ "name": "EstimationRequestWarning",
120243
+ "description": "Request-level warning about the estimation context",
120244
+ "specifiedByUrl": null,
120245
+ "fields": null,
120246
+ "inputFields": null,
120247
+ "interfaces": null,
120248
+ "enumValues": [
120249
+ {
120250
+ "name": "FEATURE_NOT_CREDIT_BASED",
120251
+ "description": null,
120252
+ "isDeprecated": false,
120253
+ "deprecationReason": null
120254
+ },
120255
+ {
120256
+ "name": "FEATURE_NOT_FOUND",
120257
+ "description": null,
120258
+ "isDeprecated": false,
120259
+ "deprecationReason": null
120260
+ },
120261
+ {
120262
+ "name": "RESOURCE_SCOPED_SUBSCRIPTION_EXISTS",
120263
+ "description": null,
120264
+ "isDeprecated": false,
120265
+ "deprecationReason": null
120266
+ }
120267
+ ],
120268
+ "possibleTypes": null
120269
+ },
120270
+ {
120271
+ "kind": "ENUM",
120272
+ "name": "EstimationWarningCode",
120273
+ "description": "Warning explaining why an estimated cost may be inaccurate",
120274
+ "specifiedByUrl": null,
120275
+ "fields": null,
120276
+ "inputFields": null,
120277
+ "interfaces": null,
120278
+ "enumValues": [
120279
+ {
120280
+ "name": "UNSUPPORTED_AGGREGATION",
120281
+ "description": null,
120282
+ "isDeprecated": false,
120283
+ "deprecationReason": null
120284
+ }
120285
+ ],
120286
+ "possibleTypes": null
119519
120287
  }
119520
120288
  ],
119521
120289
  "directives": [
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.16.0"
4
+ VERSION = "6.18.0"
5
5
  end
data/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@stigg/api-client-ruby",
3
- "version": "6.16.0"
3
+ "version": "6.18.0"
4
4
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stigg-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.16.0
4
+ version: 6.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg