stigg-api-client 6.17.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: f3194888c1e843b53acef4e3c0e420d5cf51c077f6a0eadf0bd90eb76b4b5d6e
4
- data.tar.gz: 020e1b49a77f6768fe4a793d97eaeeaba9b40244c218ad00423d21acc6a853b6
3
+ metadata.gz: '0218b51263a01f4e837086801a7aa103897dfb40ad183314b4498326b69a8a88'
4
+ data.tar.gz: 011a11c7b26623cea8c1d9d48ea88bd681b6b5fd75caa93a2ed2fb4772f8e132
5
5
  SHA512:
6
- metadata.gz: ed08d5687d33ce5ca78c3774cbb247bc4ba208696b4cee994b2411820377698bbfba73ffde40959b6f3b81513d5197778a3766a5a7d0cf252d5dfb5dbe358c04
7
- data.tar.gz: 0a80725f2e398024d205250a86098397a978d44ae2cbb7eed184ddcb918245b8e8e8dd4d23f87435bb463d6e6e9a92e41934cb0b20377ad7c6067dc811faabc0
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.17.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
@@ -2975,6 +2990,7 @@ module Stigg
2975
2990
  #{Fragment::SubscriptionTrialConfigurationFragment}
2976
2991
  #{Fragment::StripeCheckoutCredentialsFragment}
2977
2992
  #{Fragment::ZuoraCheckoutCredentialsFragment}
2993
+ #{Fragment::AirwallexCheckoutCredentialsFragment}
2978
2994
  GRAPHQL
2979
2995
 
2980
2996
  GetMockPaywall = <<~GRAPHQL
@@ -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",
@@ -94944,6 +95086,104 @@
94944
95086
  "enumValues": null,
94945
95087
  "possibleTypes": null
94946
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
+ },
94947
95187
  {
94948
95188
  "kind": "OBJECT",
94949
95189
  "name": "StripePaymentMethodForm",
@@ -112974,6 +113214,18 @@
112974
113214
  "isDeprecated": false,
112975
113215
  "deprecationReason": null
112976
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
+ },
112977
113229
  {
112978
113230
  "name": "vendorIdentifier",
112979
113231
  "description": "The vendor identifier of integration",
@@ -117356,6 +117608,12 @@
117356
117608
  "isDeprecated": false,
117357
117609
  "deprecationReason": null
117358
117610
  },
117611
+ {
117612
+ "name": "STRIPE_INVOICING",
117613
+ "description": "Stripe invoicing integration vendor identifier",
117614
+ "isDeprecated": false,
117615
+ "deprecationReason": null
117616
+ },
117359
117617
  {
117360
117618
  "name": "ZUORA",
117361
117619
  "description": "Zuora integration vendor identifier",
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.17.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.17.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.17.0
4
+ version: 6.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stigg