@flowio/types 11.24.98 → 11.24.100
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.
- package/dist/api-internal.d.ts +35 -47
- package/dist/api.d.ts +52 -379
- package/package.json +2 -2
- package/src/api-internal.ts +65 -55
- package/src/api.ts +69 -639
package/src/api.ts
CHANGED
|
@@ -153,82 +153,6 @@ declare namespace io.flow.google.pay.v0.unions {
|
|
|
153
153
|
declare namespace io.flow.stripe.v0.enums {
|
|
154
154
|
type AccountType = 'platform' | 'custom' | 'standard' | 'express';
|
|
155
155
|
type ApplePayType = 'apple_pay' | 'apple_pay_later';
|
|
156
|
-
type BalanceTransactionType =
|
|
157
|
-
| 'adjustment'
|
|
158
|
-
| 'advance'
|
|
159
|
-
| 'advance_funding'
|
|
160
|
-
| 'anticipation_repayment'
|
|
161
|
-
| 'application_fee'
|
|
162
|
-
| 'application_fee_refund'
|
|
163
|
-
| 'charge'
|
|
164
|
-
| 'climate_order_purchase'
|
|
165
|
-
| 'climate_order_refund'
|
|
166
|
-
| 'connect_collection_transfer'
|
|
167
|
-
| 'contribution'
|
|
168
|
-
| 'issuing_authorization_hold'
|
|
169
|
-
| 'issuing_authorization_release'
|
|
170
|
-
| 'issuing_dispute'
|
|
171
|
-
| 'issuing_transaction'
|
|
172
|
-
| 'obligation_outbound'
|
|
173
|
-
| 'obligation_reversal_inbound'
|
|
174
|
-
| 'payment'
|
|
175
|
-
| 'payment_failure_refund'
|
|
176
|
-
| 'payment_network_reserve_hold'
|
|
177
|
-
| 'payment_network_reserve_release'
|
|
178
|
-
| 'payment_refund'
|
|
179
|
-
| 'payment_reversal'
|
|
180
|
-
| 'payment_unreconciled'
|
|
181
|
-
| 'payout'
|
|
182
|
-
| 'payout_cancel'
|
|
183
|
-
| 'payout_failure'
|
|
184
|
-
| 'refund'
|
|
185
|
-
| 'refund_failure'
|
|
186
|
-
| 'reserve_transaction'
|
|
187
|
-
| 'reserved_funds'
|
|
188
|
-
| 'stripe_fee'
|
|
189
|
-
| 'stripe_fx_fee'
|
|
190
|
-
| 'tax_fee'
|
|
191
|
-
| 'topup'
|
|
192
|
-
| 'topup_reversal'
|
|
193
|
-
| 'transfer'
|
|
194
|
-
| 'transfer_cancel'
|
|
195
|
-
| 'transfer_failure'
|
|
196
|
-
| 'transfer_refund';
|
|
197
|
-
type BankIdeal =
|
|
198
|
-
| 'abn_amro'
|
|
199
|
-
| 'asn_bank'
|
|
200
|
-
| 'bunq'
|
|
201
|
-
| 'handelsbanken'
|
|
202
|
-
| 'ing'
|
|
203
|
-
| 'knab'
|
|
204
|
-
| 'moneyou'
|
|
205
|
-
| 'n26'
|
|
206
|
-
| 'nn'
|
|
207
|
-
| 'rabobank'
|
|
208
|
-
| 'regiobank'
|
|
209
|
-
| 'revolut'
|
|
210
|
-
| 'sns_bank'
|
|
211
|
-
| 'triodos_bank'
|
|
212
|
-
| 'van_lanschot'
|
|
213
|
-
| 'yoursafe';
|
|
214
|
-
type BicIdeal =
|
|
215
|
-
| 'ABNANL2A'
|
|
216
|
-
| 'ASNBNL21'
|
|
217
|
-
| 'BITSNL2A'
|
|
218
|
-
| 'BUNQNL2A'
|
|
219
|
-
| 'FVLBNL22'
|
|
220
|
-
| 'HANDNL2A'
|
|
221
|
-
| 'INGBNL2A'
|
|
222
|
-
| 'KNABNL2H'
|
|
223
|
-
| 'MOYONL21'
|
|
224
|
-
| 'NNBANL2G'
|
|
225
|
-
| 'NTSBDEB1'
|
|
226
|
-
| 'RABONL2U'
|
|
227
|
-
| 'RBRBNL21'
|
|
228
|
-
| 'REVOIE23'
|
|
229
|
-
| 'REVOLT21'
|
|
230
|
-
| 'SNSBNL2A'
|
|
231
|
-
| 'TRIONL2U';
|
|
232
156
|
type CancellationReason =
|
|
233
157
|
| 'abandoned'
|
|
234
158
|
| 'automatic'
|
|
@@ -245,6 +169,19 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
245
169
|
| 'JCB'
|
|
246
170
|
| 'Diners Club'
|
|
247
171
|
| 'Unknown';
|
|
172
|
+
type CardErrorCode =
|
|
173
|
+
| 'invalid_number'
|
|
174
|
+
| 'invalid_expiry_month'
|
|
175
|
+
| 'invalid_expiry_year'
|
|
176
|
+
| 'invalid_cvc'
|
|
177
|
+
| 'invalid_swipe_data'
|
|
178
|
+
| 'incorrect_number'
|
|
179
|
+
| 'expired_card'
|
|
180
|
+
| 'incorrect_cvc'
|
|
181
|
+
| 'incorrect_zip'
|
|
182
|
+
| 'card_declined'
|
|
183
|
+
| 'missing'
|
|
184
|
+
| 'processing_error';
|
|
248
185
|
type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
|
|
249
186
|
type CardNetwork =
|
|
250
187
|
| 'amex'
|
|
@@ -281,7 +218,6 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
281
218
|
| 'invalid_account'
|
|
282
219
|
| 'invalid_amount'
|
|
283
220
|
| 'invalid_cvc'
|
|
284
|
-
| 'invalid_expiry_month'
|
|
285
221
|
| 'invalid_expiry_year'
|
|
286
222
|
| 'invalid_number'
|
|
287
223
|
| 'invalid_pin'
|
|
@@ -304,113 +240,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
304
240
|
| 'testmode_decline'
|
|
305
241
|
| 'transaction_not_allowed'
|
|
306
242
|
| 'try_again_later'
|
|
307
|
-
| 'withdrawal_count_limit_exceeded'
|
|
308
|
-
| 'previously_declined_do_not_retry'
|
|
309
|
-
| 'highest_risk_level'
|
|
310
|
-
| 'requested_block_on_incorrect_cvc';
|
|
311
|
-
type DisputeEventType =
|
|
312
|
-
| 'charge.dispute.closed'
|
|
313
|
-
| 'charge.dispute.created'
|
|
314
|
-
| 'charge.dispute.funds_reinstated'
|
|
315
|
-
| 'charge.dispute.funds_withdrawn'
|
|
316
|
-
| 'charge.dispute.updated';
|
|
317
|
-
type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
|
|
318
|
-
type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal';
|
|
319
|
-
type DisputeReason =
|
|
320
|
-
| 'bank_cannot_process'
|
|
321
|
-
| 'check_returned'
|
|
322
|
-
| 'credit_not_processed'
|
|
323
|
-
| 'customer_initiated'
|
|
324
|
-
| 'debit_not_authorized'
|
|
325
|
-
| 'duplicate'
|
|
326
|
-
| 'fraudulent'
|
|
327
|
-
| 'general'
|
|
328
|
-
| 'incorrect_account_details'
|
|
329
|
-
| 'insufficient_funds'
|
|
330
|
-
| 'product_not_received'
|
|
331
|
-
| 'product_unacceptable'
|
|
332
|
-
| 'subscription_canceled'
|
|
333
|
-
| 'unrecognized';
|
|
334
|
-
type DisputeStatus =
|
|
335
|
-
| 'warning_needs_response'
|
|
336
|
-
| 'warning_under_review'
|
|
337
|
-
| 'warning_closed'
|
|
338
|
-
| 'needs_response'
|
|
339
|
-
| 'under_review'
|
|
340
|
-
| 'won'
|
|
341
|
-
| 'lost';
|
|
342
|
-
type ErrorCode =
|
|
343
|
-
| 'invalid_number'
|
|
344
|
-
| 'invalid_expiry_month'
|
|
345
|
-
| 'invalid_expiry_year'
|
|
346
|
-
| 'invalid_cvc'
|
|
347
|
-
| 'invalid_swipe_data'
|
|
348
|
-
| 'country_code_invalid'
|
|
349
|
-
| 'email_invalid'
|
|
350
|
-
| 'postal_code_invalid'
|
|
351
|
-
| 'invalid_characters'
|
|
352
|
-
| 'url_invalid'
|
|
353
|
-
| 'invalid_charge_amount'
|
|
354
|
-
| 'incorrect_number'
|
|
355
|
-
| 'incorrect_address'
|
|
356
|
-
| 'incorrect_cvc'
|
|
357
|
-
| 'incorrect_zip'
|
|
358
|
-
| 'card_declined'
|
|
359
|
-
| 'expired_card'
|
|
360
|
-
| 'missing'
|
|
361
|
-
| 'processing_error'
|
|
362
|
-
| 'account_closed'
|
|
363
|
-
| 'amount_too_small'
|
|
364
|
-
| 'amount_too_large'
|
|
365
|
-
| 'api_key_expired'
|
|
366
|
-
| 'authentication_required'
|
|
367
|
-
| 'capture_charge_authorization_expired'
|
|
368
|
-
| 'capture_unauthorized_payment'
|
|
369
|
-
| 'card_decline_rate_limit_exceeded'
|
|
370
|
-
| 'charge_already_captured'
|
|
371
|
-
| 'charge_already_refunded'
|
|
372
|
-
| 'charge_disputed'
|
|
373
|
-
| 'charge_exceeds_source_limit'
|
|
374
|
-
| 'charge_expired_for_capture'
|
|
375
|
-
| 'charge_invalid_parameter'
|
|
376
|
-
| 'charge_not_refundable'
|
|
377
|
-
| 'insufficient_funds'
|
|
378
|
-
| 'intent_invalid_state'
|
|
379
|
-
| 'livemode_mismatch'
|
|
380
|
-
| 'parameter_invalid_empty'
|
|
381
|
-
| 'parameter_invalid_integer'
|
|
382
|
-
| 'parameter_invalid_string_blank'
|
|
383
|
-
| 'parameter_invalid_string_empty'
|
|
384
|
-
| 'parameter_missing'
|
|
385
|
-
| 'parameter_unknown'
|
|
386
|
-
| 'parameters_exclusive'
|
|
387
|
-
| 'payment_intent_action_required'
|
|
388
|
-
| 'payment_intent_authentication_failure'
|
|
389
|
-
| 'payment_intent_incompatible_payment_method'
|
|
390
|
-
| 'payment_intent_payment_attempt_expired'
|
|
391
|
-
| 'payment_intent_payment_attempt_failed'
|
|
392
|
-
| 'payment_intent_unexpected_state'
|
|
393
|
-
| 'payment_intent_invalid_parameter'
|
|
394
|
-
| 'payment_method_billing_details_address_missing'
|
|
395
|
-
| 'payment_method_customer_decline'
|
|
396
|
-
| 'payment_method_currency_mismatch'
|
|
397
|
-
| 'payment_method_invalid_parameter'
|
|
398
|
-
| 'payment_method_invalid_parameter_testmode'
|
|
399
|
-
| 'payment_method_not_available'
|
|
400
|
-
| 'payment_method_provider_decline'
|
|
401
|
-
| 'payment_method_provider_timeout'
|
|
402
|
-
| 'payment_method_unactivated'
|
|
403
|
-
| 'payment_method_unexpected_state'
|
|
404
|
-
| 'payment_method_unsupported_type'
|
|
405
|
-
| 'platform_api_key_expired'
|
|
406
|
-
| 'refund_disputed_payment'
|
|
407
|
-
| 'testmode_charges_only'
|
|
408
|
-
| 'tls_version_unsupported'
|
|
409
|
-
| 'setup_attempt_failed'
|
|
410
|
-
| 'setup_intent_authentication_failure'
|
|
411
|
-
| 'setup_intent_invalid_parameter'
|
|
412
|
-
| 'setup_intent_setup_attempt_expired'
|
|
413
|
-
| 'setup_intent_unexpected_state';
|
|
243
|
+
| 'withdrawal_count_limit_exceeded';
|
|
414
244
|
type ErrorType =
|
|
415
245
|
| 'api_connection_error'
|
|
416
246
|
| 'api_error'
|
|
@@ -429,11 +259,6 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
429
259
|
| 'charge.succeeded'
|
|
430
260
|
| 'charge.updated'
|
|
431
261
|
| 'charge.refund.updated'
|
|
432
|
-
| 'charge.dispute.closed'
|
|
433
|
-
| 'charge.dispute.created'
|
|
434
|
-
| 'charge.dispute.funds_reinstated'
|
|
435
|
-
| 'charge.dispute.funds_withdrawn'
|
|
436
|
-
| 'charge.dispute.updated'
|
|
437
262
|
| 'payment_intent.created'
|
|
438
263
|
| 'payment_intent.amount_capturable_updated'
|
|
439
264
|
| 'payment_intent.payment_failed'
|
|
@@ -444,8 +269,6 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
444
269
|
| 'source.canceled'
|
|
445
270
|
| 'source.chargeable'
|
|
446
271
|
| 'source.failed';
|
|
447
|
-
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
448
|
-
type FeatureAvailability = 'available' | 'unavailable';
|
|
449
272
|
type KlarnaPaymentMethodCategoryType =
|
|
450
273
|
| 'direct_bank_transfer'
|
|
451
274
|
| 'direct_debit'
|
|
@@ -473,12 +296,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
473
296
|
| 'pay_now'
|
|
474
297
|
| 'pay_with_financing'
|
|
475
298
|
| 'pay_in_installments';
|
|
476
|
-
type PaymentMethodType =
|
|
477
|
-
| 'card'
|
|
478
|
-
| 'card_present'
|
|
479
|
-
| 'ideal'
|
|
480
|
-
| 'klarna'
|
|
481
|
-
| 'bancontact';
|
|
299
|
+
type PaymentMethodType = 'card' | 'card_present';
|
|
482
300
|
type PaymentOutcomeType =
|
|
483
301
|
| 'authorized'
|
|
484
302
|
| 'manual_review'
|
|
@@ -486,7 +304,6 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
486
304
|
| 'blocked'
|
|
487
305
|
| 'invalid';
|
|
488
306
|
type PaymentStatus = 'succeeded' | 'pending' | 'failed';
|
|
489
|
-
type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
|
|
490
307
|
type PreferredLocaleKlarna =
|
|
491
308
|
| 'de-AT'
|
|
492
309
|
| 'en-AT'
|
|
@@ -717,7 +534,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
717
534
|
readonly currency: string;
|
|
718
535
|
readonly customer?: string;
|
|
719
536
|
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
720
|
-
readonly disputed?: boolean;
|
|
721
537
|
readonly paid: boolean;
|
|
722
538
|
readonly refunded: boolean;
|
|
723
539
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -726,7 +542,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
726
542
|
readonly balance_transaction?: string;
|
|
727
543
|
readonly destination?: string;
|
|
728
544
|
readonly dispute?: string;
|
|
729
|
-
readonly failure_code?:
|
|
545
|
+
readonly failure_code?: string;
|
|
730
546
|
readonly failure_message?: string;
|
|
731
547
|
readonly on_behalf_of?: string;
|
|
732
548
|
readonly review?: string;
|
|
@@ -737,7 +553,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
737
553
|
readonly calculated_statement_descriptor?: string;
|
|
738
554
|
readonly statement_descriptor?: string;
|
|
739
555
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
740
|
-
readonly payment_method?: string;
|
|
741
556
|
}
|
|
742
557
|
|
|
743
558
|
interface ChargeDestination {
|
|
@@ -766,7 +581,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
766
581
|
readonly amount_refunded: number;
|
|
767
582
|
readonly authorization_code?: string;
|
|
768
583
|
readonly captured: boolean;
|
|
769
|
-
readonly disputed?: boolean;
|
|
770
584
|
readonly created: number;
|
|
771
585
|
readonly currency: string;
|
|
772
586
|
readonly customer?: string;
|
|
@@ -779,7 +593,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
779
593
|
readonly balance_transaction?: string;
|
|
780
594
|
readonly destination?: string;
|
|
781
595
|
readonly dispute?: string;
|
|
782
|
-
readonly failure_code?:
|
|
596
|
+
readonly failure_code?: string;
|
|
783
597
|
readonly failure_message?: string;
|
|
784
598
|
readonly on_behalf_of?: string;
|
|
785
599
|
readonly review?: string;
|
|
@@ -790,7 +604,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
790
604
|
readonly calculated_statement_descriptor?: string;
|
|
791
605
|
readonly statement_descriptor?: string;
|
|
792
606
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
793
|
-
readonly payment_method?: string;
|
|
794
607
|
}
|
|
795
608
|
|
|
796
609
|
interface CodeVerification {
|
|
@@ -814,123 +627,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
814
627
|
readonly description?: string;
|
|
815
628
|
}
|
|
816
629
|
|
|
817
|
-
interface Dispute {
|
|
818
|
-
readonly id: string;
|
|
819
|
-
readonly amount: number;
|
|
820
|
-
readonly charge: string;
|
|
821
|
-
readonly currency: string;
|
|
822
|
-
readonly evidence: io.flow.stripe.v0.models.DisputeEvidence;
|
|
823
|
-
readonly metadata: Record<string, string>;
|
|
824
|
-
readonly payment_intent?: string;
|
|
825
|
-
readonly reason: io.flow.stripe.v0.enums.DisputeReason;
|
|
826
|
-
readonly status: io.flow.stripe.v0.enums.DisputeStatus;
|
|
827
|
-
readonly object: string;
|
|
828
|
-
readonly balance_transactions: io.flow.stripe.v0.models.DisputeBalanceTransaction[];
|
|
829
|
-
readonly created: number;
|
|
830
|
-
readonly evidence_details: io.flow.stripe.v0.models.DisputeEvidenceDetails;
|
|
831
|
-
readonly is_charge_refundable: boolean;
|
|
832
|
-
readonly livemode: boolean;
|
|
833
|
-
readonly payment_method_details?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
interface DisputeBalanceTransaction {
|
|
837
|
-
readonly payment_intent?: string;
|
|
838
|
-
readonly id: string;
|
|
839
|
-
readonly object: string;
|
|
840
|
-
readonly amount: number;
|
|
841
|
-
readonly available_on: number;
|
|
842
|
-
readonly created: number;
|
|
843
|
-
readonly currency: string;
|
|
844
|
-
readonly description?: string;
|
|
845
|
-
readonly exchange_rate?: number;
|
|
846
|
-
readonly fee?: number;
|
|
847
|
-
readonly fee_details: io.flow.stripe.v0.models.DisputeBalanceTransactionFeeDetails[];
|
|
848
|
-
readonly net: number;
|
|
849
|
-
readonly reporting_category: string;
|
|
850
|
-
readonly source?: string;
|
|
851
|
-
readonly status: string;
|
|
852
|
-
readonly type: io.flow.stripe.v0.enums.BalanceTransactionType;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
interface DisputeBalanceTransactionFeeDetails {
|
|
856
|
-
readonly amount: number;
|
|
857
|
-
readonly application?: string;
|
|
858
|
-
readonly currency: string;
|
|
859
|
-
readonly description?: string;
|
|
860
|
-
readonly type: string;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
interface DisputeEvidence {
|
|
864
|
-
readonly access_activity_log?: string;
|
|
865
|
-
readonly billing_address?: string;
|
|
866
|
-
readonly cancellation_policy?: string;
|
|
867
|
-
readonly cancellation_policy_disclosure?: string;
|
|
868
|
-
readonly cancellation_rebuttal?: string;
|
|
869
|
-
readonly customer_communication?: string;
|
|
870
|
-
readonly customer_email_address?: string;
|
|
871
|
-
readonly customer_name?: string;
|
|
872
|
-
readonly 'evidence.customer_purchase_ip'?: string;
|
|
873
|
-
readonly customer_signature?: string;
|
|
874
|
-
readonly duplicate_charge_documentation?: string;
|
|
875
|
-
readonly duplicate_charge_explanation?: string;
|
|
876
|
-
readonly duplicate_charge_id?: string;
|
|
877
|
-
readonly product_description?: string;
|
|
878
|
-
readonly receipt?: string;
|
|
879
|
-
readonly refund_policy?: string;
|
|
880
|
-
readonly refund_policy_disclosure?: string;
|
|
881
|
-
readonly refund_refusal_explanation?: string;
|
|
882
|
-
readonly service_date?: string;
|
|
883
|
-
readonly service_documentation?: string;
|
|
884
|
-
readonly shipping_address?: string;
|
|
885
|
-
readonly shipping_carrier?: string;
|
|
886
|
-
readonly shipping_date?: string;
|
|
887
|
-
readonly shipping_documentation?: string;
|
|
888
|
-
readonly shipping_tracking_number?: string;
|
|
889
|
-
readonly uncategorized_file?: string;
|
|
890
|
-
readonly uncategorized_text?: string;
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
interface DisputeEvidenceDetails {
|
|
894
|
-
readonly due_by?: number;
|
|
895
|
-
readonly has_evidence: boolean;
|
|
896
|
-
readonly past_due: boolean;
|
|
897
|
-
readonly submission_count: number;
|
|
898
|
-
}
|
|
899
|
-
|
|
900
|
-
interface DisputePaymentMethodDetails {
|
|
901
|
-
readonly card?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard;
|
|
902
|
-
readonly klarna?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna;
|
|
903
|
-
readonly paypal?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal;
|
|
904
|
-
readonly type: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
interface DisputePaymentMethodDetailsCard {
|
|
908
|
-
readonly brand: string;
|
|
909
|
-
readonly case_type?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
|
|
910
|
-
readonly network_reason_code?: string;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
interface DisputePaymentMethodDetailsKlarna {
|
|
914
|
-
readonly reason_code?: string;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
interface DisputePaymentMethodDetailsPaypal {
|
|
918
|
-
readonly case_id?: string;
|
|
919
|
-
readonly reason_code?: string;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
630
|
interface Error {
|
|
923
631
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
924
632
|
}
|
|
925
633
|
|
|
926
|
-
interface ExtendedAuthorization {
|
|
927
|
-
readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
interface IncrementalAuthorization {
|
|
931
|
-
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
932
|
-
}
|
|
933
|
-
|
|
934
634
|
interface Keys {
|
|
935
635
|
readonly secret?: string;
|
|
936
636
|
readonly publishable?: string;
|
|
@@ -940,25 +640,24 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
940
640
|
readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
|
|
941
641
|
}
|
|
942
642
|
|
|
943
|
-
interface KlarnaDobForm {
|
|
944
|
-
readonly day: number;
|
|
945
|
-
readonly month: number;
|
|
946
|
-
readonly year: number;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
643
|
interface KlarnaMarketplaceSellerInfo {
|
|
950
644
|
readonly sub_merchant_id?: string;
|
|
951
645
|
readonly product_category?: string;
|
|
952
646
|
}
|
|
953
647
|
|
|
954
|
-
interface
|
|
955
|
-
readonly
|
|
648
|
+
interface LastPaymentError {
|
|
649
|
+
readonly charge?: string;
|
|
650
|
+
readonly code?: string;
|
|
651
|
+
readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
|
|
652
|
+
readonly doc_url?: string;
|
|
653
|
+
readonly message?: string;
|
|
654
|
+
readonly param?: string;
|
|
655
|
+
readonly payment_method: io.flow.stripe.v0.models.PaymentMethod;
|
|
656
|
+
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
956
657
|
}
|
|
957
658
|
|
|
958
|
-
interface
|
|
959
|
-
readonly
|
|
960
|
-
readonly id?: string;
|
|
961
|
-
readonly product_category?: string;
|
|
659
|
+
interface LegalEntity {
|
|
660
|
+
readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
|
|
962
661
|
}
|
|
963
662
|
|
|
964
663
|
interface Masterpass {
|
|
@@ -982,10 +681,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
982
681
|
readonly payment_request_order_reference?: string;
|
|
983
682
|
}
|
|
984
683
|
|
|
985
|
-
interface Multicapture {
|
|
986
|
-
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
987
|
-
}
|
|
988
|
-
|
|
989
684
|
interface NetworkTokenUsed {
|
|
990
685
|
readonly used?: boolean;
|
|
991
686
|
}
|
|
@@ -1033,11 +728,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1033
728
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
1034
729
|
}
|
|
1035
730
|
|
|
1036
|
-
interface Overcapture {
|
|
1037
|
-
readonly maximum_amount_capturable?: number;
|
|
1038
|
-
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
731
|
interface Owner {
|
|
1042
732
|
readonly address?: io.flow.stripe.v0.models.Address;
|
|
1043
733
|
readonly email?: string;
|
|
@@ -1049,10 +739,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1049
739
|
readonly verified_phone?: string;
|
|
1050
740
|
}
|
|
1051
741
|
|
|
1052
|
-
interface PaymentDetails {
|
|
1053
|
-
readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
742
|
interface PaymentIntent {
|
|
1057
743
|
readonly id: string;
|
|
1058
744
|
readonly object: string;
|
|
@@ -1072,7 +758,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1072
758
|
readonly customer?: string;
|
|
1073
759
|
readonly description?: string;
|
|
1074
760
|
readonly invoice?: string;
|
|
1075
|
-
readonly last_payment_error?: io.flow.stripe.v0.models.
|
|
761
|
+
readonly last_payment_error?: io.flow.stripe.v0.models.LastPaymentError;
|
|
1076
762
|
readonly livemode: boolean;
|
|
1077
763
|
readonly metadata?: io.flow.stripe.v0.models.Metadata;
|
|
1078
764
|
readonly next_action?: io.flow.stripe.v0.models.NextAction;
|
|
@@ -1115,7 +801,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1115
801
|
readonly off_session?: boolean;
|
|
1116
802
|
readonly payment_method?: string;
|
|
1117
803
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
1118
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
804
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
1119
805
|
readonly payment_method_types?: string[];
|
|
1120
806
|
readonly receipt_email?: string;
|
|
1121
807
|
readonly save_payment_method?: boolean;
|
|
@@ -1136,7 +822,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1136
822
|
readonly on_behalf_of?: string;
|
|
1137
823
|
readonly payment_method?: string;
|
|
1138
824
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
1139
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
825
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
1140
826
|
readonly payment_method_types?: string[];
|
|
1141
827
|
readonly receipt_email?: string;
|
|
1142
828
|
readonly return_url?: string;
|
|
@@ -1175,11 +861,8 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1175
861
|
readonly id: string;
|
|
1176
862
|
readonly object: string;
|
|
1177
863
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
1178
|
-
readonly bancontact?: any /*object*/;
|
|
1179
864
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
1180
865
|
readonly card_present?: any /*object*/;
|
|
1181
|
-
readonly ideal?: any /*object*/;
|
|
1182
|
-
readonly klarna?: any /*object*/;
|
|
1183
866
|
readonly created: number;
|
|
1184
867
|
readonly customer?: string;
|
|
1185
868
|
readonly livemode: boolean;
|
|
@@ -1213,12 +896,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1213
896
|
readonly cvc?: string;
|
|
1214
897
|
}
|
|
1215
898
|
|
|
1216
|
-
interface PaymentMethodDataBancontact {
|
|
1217
|
-
readonly type: 'bancontact';
|
|
1218
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
1219
|
-
readonly metadata?: any /*object*/;
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
899
|
interface PaymentMethodDataCard {
|
|
1223
900
|
readonly type: 'card';
|
|
1224
901
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
@@ -1226,36 +903,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1226
903
|
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
1227
904
|
}
|
|
1228
905
|
|
|
1229
|
-
interface PaymentMethodDataIdeal {
|
|
1230
|
-
readonly type: 'ideal';
|
|
1231
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
1232
|
-
readonly metadata?: any /*object*/;
|
|
1233
|
-
readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
interface PaymentMethodDataKlarna {
|
|
1237
|
-
readonly type: 'klarna';
|
|
1238
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
1239
|
-
readonly metadata?: any /*object*/;
|
|
1240
|
-
readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
|
-
interface PaymentMethodDetailsBancontact {
|
|
1244
|
-
readonly type: 'bancontact';
|
|
1245
|
-
readonly bancontact: io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation;
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
interface PaymentMethodDetailsBancontactInformation {
|
|
1249
|
-
readonly bank_code?: string;
|
|
1250
|
-
readonly bank_name?: string;
|
|
1251
|
-
readonly bic?: string;
|
|
1252
|
-
readonly generated_sepa_debit?: string;
|
|
1253
|
-
readonly generated_sepa_debit_mandate?: string;
|
|
1254
|
-
readonly iban_last4?: string;
|
|
1255
|
-
readonly preferred_language?: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
1256
|
-
readonly verified_name?: string;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
906
|
interface PaymentMethodDetailsCard {
|
|
1260
907
|
readonly type: 'card';
|
|
1261
908
|
readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -1281,24 +928,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1281
928
|
readonly issuer?: string;
|
|
1282
929
|
readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
|
|
1283
930
|
readonly network_transaction_id?: string;
|
|
1284
|
-
readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
1285
|
-
readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
1286
|
-
readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
|
|
1287
|
-
readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
interface PaymentMethodDetailsIdeal {
|
|
1291
|
-
readonly type: 'ideal';
|
|
1292
|
-
readonly ideal: io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
interface PaymentMethodDetailsIdealInformation {
|
|
1296
|
-
readonly bank?: io.flow.stripe.v0.enums.BankIdeal;
|
|
1297
|
-
readonly bic?: io.flow.stripe.v0.enums.BicIdeal;
|
|
1298
|
-
readonly generated_sepa_debit?: string;
|
|
1299
|
-
readonly generated_sepa_debit_mandate?: string;
|
|
1300
|
-
readonly iban_last4?: string;
|
|
1301
|
-
readonly verified_name?: string;
|
|
1302
931
|
}
|
|
1303
932
|
|
|
1304
933
|
interface PaymentMethodDetailsKlarna {
|
|
@@ -1311,13 +940,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1311
940
|
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
1312
941
|
}
|
|
1313
942
|
|
|
1314
|
-
interface PaymentMethodFormBancontact {
|
|
1315
|
-
readonly type: 'bancontact';
|
|
1316
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
1317
|
-
readonly metadata?: any /*object*/;
|
|
1318
|
-
readonly bancontact: any /*object*/;
|
|
1319
|
-
}
|
|
1320
|
-
|
|
1321
943
|
interface PaymentMethodFormCard {
|
|
1322
944
|
readonly type: 'card';
|
|
1323
945
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
@@ -1325,41 +947,8 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1325
947
|
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
1326
948
|
}
|
|
1327
949
|
|
|
1328
|
-
interface PaymentMethodFormIdeal {
|
|
1329
|
-
readonly type: 'ideal';
|
|
1330
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
1331
|
-
readonly metadata?: any /*object*/;
|
|
1332
|
-
readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
interface PaymentMethodFormKlarna {
|
|
1336
|
-
readonly type: 'klarna';
|
|
1337
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
1338
|
-
readonly metadata?: any /*object*/;
|
|
1339
|
-
readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
interface PaymentMethodIdealForm {
|
|
1343
|
-
readonly bank?: string;
|
|
1344
|
-
}
|
|
1345
|
-
|
|
1346
|
-
interface PaymentMethodKlarnaForm {
|
|
1347
|
-
readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
950
|
interface PaymentMethodOptions {
|
|
1351
951
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
|
|
1352
|
-
readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal;
|
|
1353
|
-
readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
|
|
1354
|
-
readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact;
|
|
1355
|
-
}
|
|
1356
|
-
|
|
1357
|
-
interface PaymentMethodOptionsBancontact {
|
|
1358
|
-
readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
1359
|
-
}
|
|
1360
|
-
|
|
1361
|
-
interface PaymentMethodOptionsBancontactForm {
|
|
1362
|
-
readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
1363
952
|
}
|
|
1364
953
|
|
|
1365
954
|
interface PaymentMethodOptionsCard {
|
|
@@ -1367,49 +956,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1367
956
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
1368
957
|
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
1369
958
|
readonly mcc?: string;
|
|
1370
|
-
readonly capture_before?: number;
|
|
1371
|
-
}
|
|
1372
|
-
|
|
1373
|
-
interface PaymentMethodOptionsCardForm {
|
|
1374
|
-
readonly network?: string;
|
|
1375
|
-
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
1376
|
-
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
1377
|
-
readonly mcc?: string;
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
interface PaymentMethodOptionsForm {
|
|
1381
|
-
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
1382
|
-
readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm;
|
|
1383
|
-
readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
|
|
1384
|
-
readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm;
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
interface PaymentMethodOptionsIdeal {
|
|
1388
|
-
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
|
-
interface PaymentMethodOptionsIdealForm {
|
|
1392
|
-
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
|
-
interface PaymentMethodOptionsKlarna {
|
|
1396
|
-
readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
|
|
1397
|
-
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
1398
|
-
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
1399
|
-
readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
|
|
1400
|
-
}
|
|
1401
|
-
|
|
1402
|
-
interface PaymentMethodOptionsKlarnaForm {
|
|
1403
|
-
readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
|
|
1404
|
-
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
1405
|
-
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
1406
|
-
readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
|
|
1407
959
|
}
|
|
1408
960
|
|
|
1409
961
|
interface PaymentOutcome {
|
|
1410
|
-
readonly network_status
|
|
1411
|
-
readonly risk_level
|
|
1412
|
-
readonly seller_message
|
|
962
|
+
readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
|
|
963
|
+
readonly risk_level: string;
|
|
964
|
+
readonly seller_message: string;
|
|
1413
965
|
readonly reason?: string;
|
|
1414
966
|
readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
|
|
1415
967
|
}
|
|
@@ -1604,33 +1156,14 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1604
1156
|
readonly directory_server_encryption?: any /*object*/;
|
|
1605
1157
|
}
|
|
1606
1158
|
|
|
1607
|
-
interface StripeDisputeEvent {
|
|
1608
|
-
readonly id: string;
|
|
1609
|
-
readonly api_version?: string;
|
|
1610
|
-
readonly data: io.flow.stripe.v0.models.StripeDisputeEventData;
|
|
1611
|
-
readonly request?: any /*object*/;
|
|
1612
|
-
readonly type: io.flow.stripe.v0.enums.DisputeEventType;
|
|
1613
|
-
readonly object: string;
|
|
1614
|
-
readonly account?: string;
|
|
1615
|
-
readonly created: number;
|
|
1616
|
-
readonly livemode: boolean;
|
|
1617
|
-
readonly pending_webhooks: number;
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
|
-
interface StripeDisputeEventData {
|
|
1621
|
-
readonly object: io.flow.stripe.v0.models.Dispute;
|
|
1622
|
-
readonly previous_attributes?: any /*object*/;
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1625
1159
|
interface StripeError {
|
|
1626
1160
|
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
1627
1161
|
readonly charge?: string;
|
|
1628
1162
|
readonly message?: string;
|
|
1629
|
-
readonly code?: io.flow.stripe.v0.enums.
|
|
1630
|
-
readonly decline_code?:
|
|
1163
|
+
readonly code?: io.flow.stripe.v0.enums.CardErrorCode;
|
|
1164
|
+
readonly decline_code?: string;
|
|
1631
1165
|
readonly param?: string;
|
|
1632
1166
|
readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent;
|
|
1633
|
-
readonly payment_method?: io.flow.stripe.v0.models.PaymentMethod;
|
|
1634
1167
|
}
|
|
1635
1168
|
|
|
1636
1169
|
interface StripeEvent {
|
|
@@ -1663,12 +1196,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1663
1196
|
interface ThreeDSecureCharge {
|
|
1664
1197
|
readonly authenticated?: boolean;
|
|
1665
1198
|
readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
|
|
1666
|
-
readonly electronic_commerce_indicator?: string;
|
|
1667
|
-
readonly exemption_indicator?: string;
|
|
1668
1199
|
readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
|
|
1669
1200
|
readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
|
|
1670
1201
|
readonly succeeded?: boolean;
|
|
1671
|
-
readonly transaction_id?: string;
|
|
1672
1202
|
readonly version?: string;
|
|
1673
1203
|
}
|
|
1674
1204
|
|
|
@@ -1722,21 +1252,11 @@ declare namespace io.flow.stripe.v0.unions {
|
|
|
1722
1252
|
| io.flow.stripe.v0.models.Masterpass
|
|
1723
1253
|
| io.flow.stripe.v0.models.ApplePay
|
|
1724
1254
|
| io.flow.stripe.v0.models.VisaCheckout;
|
|
1725
|
-
type PaymentMethodData =
|
|
1726
|
-
| io.flow.stripe.v0.models.PaymentMethodDataCard
|
|
1727
|
-
| io.flow.stripe.v0.models.PaymentMethodDataIdeal
|
|
1728
|
-
| io.flow.stripe.v0.models.PaymentMethodDataKlarna
|
|
1729
|
-
| io.flow.stripe.v0.models.PaymentMethodDataBancontact;
|
|
1255
|
+
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
|
|
1730
1256
|
type PaymentMethodDetails =
|
|
1731
1257
|
| io.flow.stripe.v0.models.PaymentMethodDetailsCard
|
|
1732
|
-
| io.flow.stripe.v0.models.
|
|
1733
|
-
|
|
1734
|
-
| io.flow.stripe.v0.models.PaymentMethodDetailsBancontact;
|
|
1735
|
-
type PaymentMethodForm =
|
|
1736
|
-
| io.flow.stripe.v0.models.PaymentMethodFormCard
|
|
1737
|
-
| io.flow.stripe.v0.models.PaymentMethodFormIdeal
|
|
1738
|
-
| io.flow.stripe.v0.models.PaymentMethodFormKlarna
|
|
1739
|
-
| io.flow.stripe.v0.models.PaymentMethodFormBancontact;
|
|
1258
|
+
| io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
|
|
1259
|
+
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
|
|
1740
1260
|
}
|
|
1741
1261
|
|
|
1742
1262
|
declare namespace io.flow.shopify.external.v0.enums {
|
|
@@ -1768,7 +1288,6 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
1768
1288
|
type Format = 'json' | 'xml';
|
|
1769
1289
|
type FulfillmentService = 'manual' | 'gift_card';
|
|
1770
1290
|
type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
1771
|
-
type GraphqlWeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS';
|
|
1772
1291
|
type InventoryBehaviour =
|
|
1773
1292
|
| 'bypass'
|
|
1774
1293
|
| 'decrement_ignoring_policy'
|
|
@@ -1792,27 +1311,6 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
1792
1311
|
type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
|
|
1793
1312
|
type ShopifyDiscountPaginationDirection = 'next' | 'prev';
|
|
1794
1313
|
type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
|
|
1795
|
-
type ShopifyPlanName =
|
|
1796
|
-
| 'basic'
|
|
1797
|
-
| 'business'
|
|
1798
|
-
| 'cancelled'
|
|
1799
|
-
| 'dormant'
|
|
1800
|
-
| 'enterprise'
|
|
1801
|
-
| 'fraudulent'
|
|
1802
|
-
| 'frozen'
|
|
1803
|
-
| 'npo_full'
|
|
1804
|
-
| 'npo_lite'
|
|
1805
|
-
| 'open_learning'
|
|
1806
|
-
| 'paid_trial'
|
|
1807
|
-
| 'professional'
|
|
1808
|
-
| 'retail'
|
|
1809
|
-
| 'shopify_alumni'
|
|
1810
|
-
| 'shopify_plus'
|
|
1811
|
-
| 'staff'
|
|
1812
|
-
| 'staff_business'
|
|
1813
|
-
| 'starter'
|
|
1814
|
-
| 'starter_2022'
|
|
1815
|
-
| 'unlimited';
|
|
1816
1314
|
type ShopifyProcessingMethodType =
|
|
1817
1315
|
| 'checkout'
|
|
1818
1316
|
| 'direct'
|
|
@@ -1874,7 +1372,6 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
1874
1372
|
| 'orders/paid'
|
|
1875
1373
|
| 'orders/partially_fulfilled'
|
|
1876
1374
|
| 'orders/updated'
|
|
1877
|
-
| 'orders/edited'
|
|
1878
1375
|
| 'products/create'
|
|
1879
1376
|
| 'products/delete'
|
|
1880
1377
|
| 'products/update'
|
|
@@ -1912,74 +1409,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1912
1409
|
readonly count: number;
|
|
1913
1410
|
}
|
|
1914
1411
|
|
|
1915
|
-
interface GraphqlInventoryItem {
|
|
1916
|
-
readonly id: string;
|
|
1917
|
-
readonly tracked: boolean;
|
|
1918
|
-
readonly requiresShipping?: boolean;
|
|
1919
|
-
readonly measurement: io.flow.shopify.external.v0.models.GraphqlMeasurement;
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
interface GraphqlMeasurement {
|
|
1923
|
-
readonly weight: io.flow.shopify.external.v0.models.GraphqlWeight;
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
interface GraphqlOption {
|
|
1927
|
-
readonly id: string;
|
|
1928
|
-
readonly values: string[];
|
|
1929
|
-
readonly name: string;
|
|
1930
|
-
readonly position: number;
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
interface GraphqlProduct {
|
|
1934
|
-
readonly id: string;
|
|
1935
|
-
readonly legacyResourceId: string;
|
|
1936
|
-
readonly handle: string;
|
|
1937
|
-
readonly variants?: io.flow.shopify.external.v0.models.GraphqlProductVariant[];
|
|
1938
|
-
readonly images: io.flow.shopify.external.v0.models.GraphqlProductImage[];
|
|
1939
|
-
readonly title: string;
|
|
1940
|
-
readonly vendor?: string;
|
|
1941
|
-
readonly descriptionHtml?: string;
|
|
1942
|
-
readonly productType?: string;
|
|
1943
|
-
readonly status?: string;
|
|
1944
|
-
readonly options: io.flow.shopify.external.v0.models.GraphqlOption[];
|
|
1945
|
-
readonly tags?: string[];
|
|
1946
|
-
readonly templateSuffix?: string;
|
|
1947
|
-
readonly publishedAt?: string;
|
|
1948
|
-
readonly createdAt: string;
|
|
1949
|
-
readonly updatedAt: string;
|
|
1950
|
-
readonly hasVariantsThatRequiresComponents?: boolean;
|
|
1951
|
-
}
|
|
1952
|
-
|
|
1953
|
-
interface GraphqlProductImage {
|
|
1954
|
-
readonly id: string;
|
|
1955
|
-
readonly url: string;
|
|
1956
|
-
readonly altText?: string;
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
interface GraphqlProductVariant {
|
|
1960
|
-
readonly id: string;
|
|
1961
|
-
readonly legacyResourceId: string;
|
|
1962
|
-
readonly sku?: string;
|
|
1963
|
-
readonly price: string;
|
|
1964
|
-
readonly title: string;
|
|
1965
|
-
readonly taxable: boolean;
|
|
1966
|
-
readonly compareAtPrice?: string;
|
|
1967
|
-
readonly barcode?: string;
|
|
1968
|
-
readonly inventoryPolicy: io.flow.shopify.external.v0.enums.InventoryPolicy;
|
|
1969
|
-
readonly inventoryQuantity?: number;
|
|
1970
|
-
readonly image?: io.flow.shopify.external.v0.models.GraphqlVariantImage;
|
|
1971
|
-
readonly inventoryItem: io.flow.shopify.external.v0.models.GraphqlInventoryItem;
|
|
1972
|
-
}
|
|
1973
|
-
|
|
1974
|
-
interface GraphqlVariantImage {
|
|
1975
|
-
readonly id: string;
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
interface GraphqlWeight {
|
|
1979
|
-
readonly unit: io.flow.shopify.external.v0.enums.GraphqlWeightUnit;
|
|
1980
|
-
readonly value: number;
|
|
1981
|
-
}
|
|
1982
|
-
|
|
1983
1412
|
interface Metafield {
|
|
1984
1413
|
readonly id: number;
|
|
1985
1414
|
readonly key: string;
|
|
@@ -2083,11 +1512,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2083
1512
|
readonly options: io.flow.shopify.external.v0.models.Option[];
|
|
2084
1513
|
readonly tags?: string;
|
|
2085
1514
|
readonly template_suffix?: string;
|
|
2086
|
-
readonly published_scope
|
|
1515
|
+
readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
|
|
2087
1516
|
readonly published_at?: string;
|
|
2088
1517
|
readonly created_at: string;
|
|
2089
1518
|
readonly updated_at: string;
|
|
2090
|
-
readonly has_variants_that_requires_components?: boolean;
|
|
2091
1519
|
}
|
|
2092
1520
|
|
|
2093
1521
|
interface ProductDelete {
|
|
@@ -2098,10 +1526,10 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2098
1526
|
readonly id: number;
|
|
2099
1527
|
readonly product_id: number;
|
|
2100
1528
|
readonly variant_ids: number[];
|
|
2101
|
-
readonly src
|
|
2102
|
-
readonly position
|
|
2103
|
-
readonly created_at
|
|
2104
|
-
readonly updated_at
|
|
1529
|
+
readonly src: string;
|
|
1530
|
+
readonly position: number;
|
|
1531
|
+
readonly created_at: string;
|
|
1532
|
+
readonly updated_at: string;
|
|
2105
1533
|
readonly alt?: string;
|
|
2106
1534
|
}
|
|
2107
1535
|
|
|
@@ -2127,7 +1555,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2127
1555
|
readonly option1?: string;
|
|
2128
1556
|
readonly option2?: string;
|
|
2129
1557
|
readonly option3?: string;
|
|
2130
|
-
readonly requires_shipping
|
|
1558
|
+
readonly requires_shipping: boolean;
|
|
2131
1559
|
readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
|
|
2132
1560
|
}
|
|
2133
1561
|
|
|
@@ -2268,11 +1696,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2268
1696
|
readonly user_agent?: string;
|
|
2269
1697
|
}
|
|
2270
1698
|
|
|
2271
|
-
interface ShopifyCountryHarmonizedSystemCode {
|
|
2272
|
-
readonly country_code: string;
|
|
2273
|
-
readonly harmonized_system_code: string;
|
|
2274
|
-
}
|
|
2275
|
-
|
|
2276
1699
|
interface ShopifyCustomer {
|
|
2277
1700
|
readonly id: number;
|
|
2278
1701
|
readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
|
|
@@ -2493,14 +1916,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2493
1916
|
readonly id: number;
|
|
2494
1917
|
}
|
|
2495
1918
|
|
|
2496
|
-
interface ShopifyInventoryItemSummary {
|
|
2497
|
-
readonly country_code_of_origin?: string;
|
|
2498
|
-
readonly country_harmonized_system_codes?: io.flow.shopify.external.v0.models.ShopifyCountryHarmonizedSystemCode[];
|
|
2499
|
-
readonly harmonized_system_code?: string;
|
|
2500
|
-
readonly updated_at: string;
|
|
2501
|
-
readonly requires_shipping: boolean;
|
|
2502
|
-
}
|
|
2503
|
-
|
|
2504
1919
|
interface ShopifyInventoryLevel {
|
|
2505
1920
|
readonly inventory_item_id: number;
|
|
2506
1921
|
readonly location_id: number;
|
|
@@ -2723,12 +2138,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
2723
2138
|
readonly carrier_identifier?: string;
|
|
2724
2139
|
}
|
|
2725
2140
|
|
|
2726
|
-
interface ShopifyShopUpdate {
|
|
2727
|
-
readonly id: number;
|
|
2728
|
-
readonly plan_display_name: string;
|
|
2729
|
-
readonly plan_name: io.flow.shopify.external.v0.enums.ShopifyPlanName;
|
|
2730
|
-
}
|
|
2731
|
-
|
|
2732
2141
|
interface ShopifyTaxLine {
|
|
2733
2142
|
readonly price: string;
|
|
2734
2143
|
readonly rate: number;
|
|
@@ -3415,7 +2824,7 @@ declare namespace io.flow.v0.enums {
|
|
|
3415
2824
|
| 'transfer'
|
|
3416
2825
|
| 'negative_balance_guarantee';
|
|
3417
2826
|
type FlowBehavior = 'view_consumer_data';
|
|
3418
|
-
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
2827
|
+
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
|
|
3419
2828
|
type FlowRole =
|
|
3420
2829
|
| 'organization_admin'
|
|
3421
2830
|
| 'organization_merchant'
|
|
@@ -3736,7 +3145,8 @@ declare namespace io.flow.v0.enums {
|
|
|
3736
3145
|
| 'afterpay'
|
|
3737
3146
|
| 'bancontact'
|
|
3738
3147
|
| 'twint'
|
|
3739
|
-
| 'przelewy24'
|
|
3148
|
+
| 'przelewy24'
|
|
3149
|
+
| 'mobilepay';
|
|
3740
3150
|
type PayoutAttachmentType = 'transactions';
|
|
3741
3151
|
type PayoutStatusFailureCode =
|
|
3742
3152
|
| 'invalid_account_number'
|
|
@@ -4013,7 +3423,8 @@ declare namespace io.flow.v0.enums {
|
|
|
4013
3423
|
| 'signature_required'
|
|
4014
3424
|
| 'direct_delivery'
|
|
4015
3425
|
| 'saturday_stop'
|
|
4016
|
-
| 'residential_extended_area_pickup'
|
|
3426
|
+
| 'residential_extended_area_pickup'
|
|
3427
|
+
| 'package_level_detail';
|
|
4017
3428
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
4018
3429
|
type UnitOfMeasurement =
|
|
4019
3430
|
| 'millimeter'
|
|
@@ -4949,6 +4360,7 @@ declare namespace io.flow.v0.models {
|
|
|
4949
4360
|
readonly items?: io.flow.v0.models.LineItemForm[];
|
|
4950
4361
|
readonly package?: io.flow.v0.models.ShippingLabelPackage;
|
|
4951
4362
|
readonly origin?: io.flow.v0.models.ShippingAddress;
|
|
4363
|
+
readonly direction?: io.flow.v0.enums.Direction;
|
|
4952
4364
|
}
|
|
4953
4365
|
|
|
4954
4366
|
interface BrowseOptinResponses {
|
|
@@ -10613,6 +10025,11 @@ declare namespace io.flow.v0.models {
|
|
|
10613
10025
|
readonly reference?: string;
|
|
10614
10026
|
}
|
|
10615
10027
|
|
|
10028
|
+
interface PaymentMethodDataInitMobilepay {
|
|
10029
|
+
readonly type: 'init_mobilepay';
|
|
10030
|
+
readonly reference?: string;
|
|
10031
|
+
}
|
|
10032
|
+
|
|
10616
10033
|
interface PaymentMethodDataInitPaypal {
|
|
10617
10034
|
readonly type: 'init_paypal';
|
|
10618
10035
|
readonly reference?: string;
|
|
@@ -10739,6 +10156,11 @@ declare namespace io.flow.v0.models {
|
|
|
10739
10156
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
10740
10157
|
}
|
|
10741
10158
|
|
|
10159
|
+
interface PaymentMethodSummaryMobilepay {
|
|
10160
|
+
readonly type: 'mobilepay';
|
|
10161
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
10162
|
+
}
|
|
10163
|
+
|
|
10742
10164
|
interface PaymentMethodSummaryPaypal {
|
|
10743
10165
|
readonly type: 'paypal';
|
|
10744
10166
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
@@ -12721,6 +12143,7 @@ declare namespace io.flow.v0.models {
|
|
|
12721
12143
|
readonly additional_services_requested?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
12722
12144
|
readonly created_at?: string;
|
|
12723
12145
|
readonly updated_at?: string;
|
|
12146
|
+
readonly direction?: io.flow.v0.enums.Direction;
|
|
12724
12147
|
}
|
|
12725
12148
|
|
|
12726
12149
|
interface ShippingLabelDocument {
|
|
@@ -13403,6 +12826,7 @@ declare namespace io.flow.v0.models {
|
|
|
13403
12826
|
readonly order_number: string;
|
|
13404
12827
|
readonly items: io.flow.v0.models.LineItemForm[];
|
|
13405
12828
|
readonly center_key?: string;
|
|
12829
|
+
readonly direction?: io.flow.v0.enums.Direction;
|
|
13406
12830
|
}
|
|
13407
12831
|
|
|
13408
12832
|
interface SummaryShippingNotificationForm {
|
|
@@ -14837,6 +14261,7 @@ declare namespace io.flow.v0.unions {
|
|
|
14837
14261
|
| io.flow.v0.models.PaymentMethodDataInitSofort
|
|
14838
14262
|
| io.flow.v0.models.PaymentMethodDataInitTwint
|
|
14839
14263
|
| io.flow.v0.models.PaymentMethodDataInitPrzelewy24
|
|
14264
|
+
| io.flow.v0.models.PaymentMethodDataInitMobilepay
|
|
14840
14265
|
| io.flow.v0.models.PaymentMethodDataInitBancontact
|
|
14841
14266
|
| io.flow.v0.models.PaymentMethodDataValidateApplepay
|
|
14842
14267
|
| io.flow.v0.models.PaymentMethodDataAuthorizeCard
|
|
@@ -14867,6 +14292,7 @@ declare namespace io.flow.v0.unions {
|
|
|
14867
14292
|
| io.flow.v0.models.PaymentMethodSummaryIdeal
|
|
14868
14293
|
| io.flow.v0.models.PaymentMethodSummaryTwint
|
|
14869
14294
|
| io.flow.v0.models.PaymentMethodSummaryPrzelewy24
|
|
14295
|
+
| io.flow.v0.models.PaymentMethodSummaryMobilepay
|
|
14870
14296
|
| io.flow.v0.models.PaymentMethodSummarySofort
|
|
14871
14297
|
| io.flow.v0.models.PaymentMethodSummaryBancontact;
|
|
14872
14298
|
|
|
@@ -16464,6 +15890,8 @@ export type PaymentMethodDataInitIdeal =
|
|
|
16464
15890
|
io.flow.v0.models.PaymentMethodDataInitIdeal;
|
|
16465
15891
|
export type PaymentMethodDataInitKlarna =
|
|
16466
15892
|
io.flow.v0.models.PaymentMethodDataInitKlarna;
|
|
15893
|
+
export type PaymentMethodDataInitMobilepay =
|
|
15894
|
+
io.flow.v0.models.PaymentMethodDataInitMobilepay;
|
|
16467
15895
|
export type PaymentMethodDataInitPaypal =
|
|
16468
15896
|
io.flow.v0.models.PaymentMethodDataInitPaypal;
|
|
16469
15897
|
export type PaymentMethodDataInitPrzelewy24 =
|
|
@@ -16513,6 +15941,8 @@ export type PaymentMethodSummaryIdeal =
|
|
|
16513
15941
|
io.flow.v0.models.PaymentMethodSummaryIdeal;
|
|
16514
15942
|
export type PaymentMethodSummaryKlarna =
|
|
16515
15943
|
io.flow.v0.models.PaymentMethodSummaryKlarna;
|
|
15944
|
+
export type PaymentMethodSummaryMobilepay =
|
|
15945
|
+
io.flow.v0.models.PaymentMethodSummaryMobilepay;
|
|
16516
15946
|
export type PaymentMethodSummaryPaypal =
|
|
16517
15947
|
io.flow.v0.models.PaymentMethodSummaryPaypal;
|
|
16518
15948
|
export type PaymentMethodSummaryPrzelewy24 =
|