@flowio/types 11.24.97 → 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 +2817 -4763
- package/dist/api.d.ts +67 -247
- package/package.json +2 -2
- package/src/api-internal.ts +3398 -5721
- package/src/api.ts +98 -454
package/dist/api.d.ts
CHANGED
|
@@ -129,27 +129,18 @@ declare namespace io.flow.google.pay.v0.unions {
|
|
|
129
129
|
declare namespace io.flow.stripe.v0.enums {
|
|
130
130
|
type AccountType = 'platform' | 'custom' | 'standard' | 'express';
|
|
131
131
|
type ApplePayType = 'apple_pay' | 'apple_pay_later';
|
|
132
|
-
type BankIdeal = 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
|
|
133
|
-
type BicIdeal = 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
134
132
|
type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
|
|
135
133
|
type CaptureMethod = 'automatic' | 'manual';
|
|
136
134
|
type CardBrand = 'American Express' | 'MasterCard' | 'Discover' | 'JCB' | 'Diners Club' | 'Unknown';
|
|
135
|
+
type CardErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'incorrect_number' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'missing' | 'processing_error';
|
|
137
136
|
type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown';
|
|
138
137
|
type CardNetwork = 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'interac' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown';
|
|
139
138
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
140
139
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
141
140
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
142
|
-
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | '
|
|
143
|
-
type DisputeEventType = 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated';
|
|
144
|
-
type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
|
|
145
|
-
type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal';
|
|
146
|
-
type DisputeReason = 'bank_cannot_process' | 'check_returned' | 'credit_not_processed' | 'customer_initiated' | 'debit_not_authorized' | 'duplicate' | 'fraudulent' | 'general' | 'incorrect_account_details' | 'insufficient_funds' | 'product_not_received' | 'product_unacceptable' | 'subscription_canceled' | 'unrecognized';
|
|
147
|
-
type DisputeStatus = 'warning_needs_response' | 'warning_under_review' | 'warning_closed' | 'needs_response' | 'under_review' | 'won' | 'lost';
|
|
148
|
-
type ErrorCode = 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'country_code_invalid' | 'email_invalid' | 'postal_code_invalid' | 'invalid_characters' | 'url_invalid' | 'invalid_charge_amount' | 'incorrect_number' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'expired_card' | 'missing' | 'processing_error' | 'account_closed' | 'amount_too_small' | 'amount_too_large' | 'api_key_expired' | 'authentication_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'insufficient_funds' | 'intent_invalid_state' | 'livemode_mismatch' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_unexpected_state' | 'payment_intent_invalid_parameter' | 'payment_method_billing_details_address_missing' | 'payment_method_customer_decline' | 'payment_method_currency_mismatch' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'platform_api_key_expired' | 'refund_disputed_payment' | 'testmode_charges_only' | 'tls_version_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state';
|
|
141
|
+
type DeclineCode = 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded';
|
|
149
142
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
150
|
-
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | '
|
|
151
|
-
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
152
|
-
type FeatureAvailability = 'available' | 'unavailable';
|
|
143
|
+
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed';
|
|
153
144
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
154
145
|
type KlarnaProduct = 'payment';
|
|
155
146
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -157,10 +148,9 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
157
148
|
type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
|
|
158
149
|
type PaymentIntentStatus = 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
|
|
159
150
|
type PaymentMethodCategoryKlarna = 'pay_later' | 'pay_now' | 'pay_with_financing' | 'pay_in_installments';
|
|
160
|
-
type PaymentMethodType = 'card' | 'card_present'
|
|
151
|
+
type PaymentMethodType = 'card' | 'card_present';
|
|
161
152
|
type PaymentOutcomeType = 'authorized' | 'manual_review' | 'issuer_declined' | 'blocked' | 'invalid';
|
|
162
153
|
type PaymentStatus = 'succeeded' | 'pending' | 'failed';
|
|
163
|
-
type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
|
|
164
154
|
type PreferredLocaleKlarna = 'de-AT' | 'en-AT' | 'nl-BE' | 'fr-BE' | 'en-BE' | 'de-DE' | 'en-DE' | 'da-DK' | 'en-DK' | 'es-ES' | 'en-ES' | 'fi-FI' | 'sv-FI' | 'en-FI' | 'en-GB' | 'en-IE' | 'it-IT' | 'en-IT' | 'nl-NL' | 'en-NL' | 'nb-NO' | 'en-NO' | 'sv-SE' | 'en-SE' | 'en-US' | 'es-US' | 'fr-FR' | 'en-FR' | 'cs-CZ' | 'en-CZ' | 'el-GR' | 'en-GR' | 'en-AU' | 'en-NZ' | 'en-CA' | 'fr-CA' | 'pl-PL' | 'en-PL' | 'pt-PT' | 'en-PT' | 'de-CH' | 'fr-CH' | 'it-CH' | 'en-CH';
|
|
165
155
|
type RefundFailureReason = 'lost_or_stolen_card' | 'expired_or_canceled_card' | 'unknown';
|
|
166
156
|
type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
|
|
@@ -288,7 +278,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
288
278
|
readonly currency: string;
|
|
289
279
|
readonly customer?: string;
|
|
290
280
|
readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
291
|
-
readonly disputed?: boolean;
|
|
292
281
|
readonly paid: boolean;
|
|
293
282
|
readonly refunded: boolean;
|
|
294
283
|
readonly refunds?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -297,7 +286,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
297
286
|
readonly balance_transaction?: string;
|
|
298
287
|
readonly destination?: string;
|
|
299
288
|
readonly dispute?: string;
|
|
300
|
-
readonly failure_code?:
|
|
289
|
+
readonly failure_code?: string;
|
|
301
290
|
readonly failure_message?: string;
|
|
302
291
|
readonly on_behalf_of?: string;
|
|
303
292
|
readonly review?: string;
|
|
@@ -308,7 +297,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
308
297
|
readonly calculated_statement_descriptor?: string;
|
|
309
298
|
readonly statement_descriptor?: string;
|
|
310
299
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
311
|
-
readonly payment_method?: string;
|
|
312
300
|
}
|
|
313
301
|
interface ChargeDestination {
|
|
314
302
|
readonly account: string;
|
|
@@ -334,7 +322,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
334
322
|
readonly amount_refunded: number;
|
|
335
323
|
readonly authorization_code?: string;
|
|
336
324
|
readonly captured: boolean;
|
|
337
|
-
readonly disputed?: boolean;
|
|
338
325
|
readonly created: number;
|
|
339
326
|
readonly currency: string;
|
|
340
327
|
readonly customer?: string;
|
|
@@ -347,7 +334,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
347
334
|
readonly balance_transaction?: string;
|
|
348
335
|
readonly destination?: string;
|
|
349
336
|
readonly dispute?: string;
|
|
350
|
-
readonly failure_code?:
|
|
337
|
+
readonly failure_code?: string;
|
|
351
338
|
readonly failure_message?: string;
|
|
352
339
|
readonly on_behalf_of?: string;
|
|
353
340
|
readonly review?: string;
|
|
@@ -358,7 +345,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
358
345
|
readonly calculated_statement_descriptor?: string;
|
|
359
346
|
readonly statement_descriptor?: string;
|
|
360
347
|
readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
361
|
-
readonly payment_method?: string;
|
|
362
348
|
}
|
|
363
349
|
interface CodeVerification {
|
|
364
350
|
readonly attempts_remaining: number;
|
|
@@ -378,57 +364,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
378
364
|
readonly source: string;
|
|
379
365
|
readonly description?: string;
|
|
380
366
|
}
|
|
381
|
-
interface Dispute {
|
|
382
|
-
readonly id: string;
|
|
383
|
-
readonly amount: number;
|
|
384
|
-
readonly charge: string;
|
|
385
|
-
readonly currency: string;
|
|
386
|
-
readonly evidence: any;
|
|
387
|
-
readonly metadata: Record<string, string>;
|
|
388
|
-
readonly payment_intent?: string;
|
|
389
|
-
readonly reason: io.flow.stripe.v0.enums.DisputeReason;
|
|
390
|
-
readonly status: io.flow.stripe.v0.enums.DisputeStatus;
|
|
391
|
-
readonly object: string;
|
|
392
|
-
readonly balance_transactions: any[];
|
|
393
|
-
readonly created: number;
|
|
394
|
-
readonly evidence_details: io.flow.stripe.v0.models.DisputeEvidenceDetails;
|
|
395
|
-
readonly is_charge_refundable: boolean;
|
|
396
|
-
readonly livemode: boolean;
|
|
397
|
-
readonly payment_method_details?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
|
|
398
|
-
}
|
|
399
|
-
interface DisputeEvidenceDetails {
|
|
400
|
-
readonly due_by?: number;
|
|
401
|
-
readonly has_evidence: boolean;
|
|
402
|
-
readonly past_due: boolean;
|
|
403
|
-
readonly submission_count: number;
|
|
404
|
-
}
|
|
405
|
-
interface DisputePaymentMethodDetails {
|
|
406
|
-
readonly card?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard;
|
|
407
|
-
readonly klarna?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna;
|
|
408
|
-
readonly paypal?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal;
|
|
409
|
-
readonly type: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType;
|
|
410
|
-
}
|
|
411
|
-
interface DisputePaymentMethodDetailsCard {
|
|
412
|
-
readonly brand: string;
|
|
413
|
-
readonly case_type?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
|
|
414
|
-
readonly network_reason_code?: string;
|
|
415
|
-
}
|
|
416
|
-
interface DisputePaymentMethodDetailsKlarna {
|
|
417
|
-
readonly reason_code?: string;
|
|
418
|
-
}
|
|
419
|
-
interface DisputePaymentMethodDetailsPaypal {
|
|
420
|
-
readonly case_id?: string;
|
|
421
|
-
readonly reason_code?: string;
|
|
422
|
-
}
|
|
423
367
|
interface Error {
|
|
424
368
|
readonly error: io.flow.stripe.v0.models.StripeError;
|
|
425
369
|
}
|
|
426
|
-
interface ExtendedAuthorization {
|
|
427
|
-
readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
428
|
-
}
|
|
429
|
-
interface IncrementalAuthorization {
|
|
430
|
-
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
431
|
-
}
|
|
432
370
|
interface Keys {
|
|
433
371
|
readonly secret?: string;
|
|
434
372
|
readonly publishable?: string;
|
|
@@ -436,23 +374,23 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
436
374
|
interface KlarnaAttachment {
|
|
437
375
|
readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[];
|
|
438
376
|
}
|
|
439
|
-
interface KlarnaDobForm {
|
|
440
|
-
readonly day: number;
|
|
441
|
-
readonly month: number;
|
|
442
|
-
readonly year: number;
|
|
443
|
-
}
|
|
444
377
|
interface KlarnaMarketplaceSellerInfo {
|
|
445
378
|
readonly sub_merchant_id?: string;
|
|
446
379
|
readonly product_category?: string;
|
|
447
380
|
}
|
|
381
|
+
interface LastPaymentError {
|
|
382
|
+
readonly charge?: string;
|
|
383
|
+
readonly code?: string;
|
|
384
|
+
readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode;
|
|
385
|
+
readonly doc_url?: string;
|
|
386
|
+
readonly message?: string;
|
|
387
|
+
readonly param?: string;
|
|
388
|
+
readonly payment_method: io.flow.stripe.v0.models.PaymentMethod;
|
|
389
|
+
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
390
|
+
}
|
|
448
391
|
interface LegalEntity {
|
|
449
392
|
readonly additional_owners?: io.flow.stripe.v0.models.Owner[];
|
|
450
393
|
}
|
|
451
|
-
interface MarketplaceSellerInfo {
|
|
452
|
-
readonly name: string;
|
|
453
|
-
readonly id?: string;
|
|
454
|
-
readonly product_category?: string;
|
|
455
|
-
}
|
|
456
394
|
interface Masterpass {
|
|
457
395
|
readonly type: 'masterpass';
|
|
458
396
|
readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation;
|
|
@@ -471,9 +409,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
471
409
|
readonly payment_request_id?: string;
|
|
472
410
|
readonly payment_request_order_reference?: string;
|
|
473
411
|
}
|
|
474
|
-
interface Multicapture {
|
|
475
|
-
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
476
|
-
}
|
|
477
412
|
interface NetworkTokenUsed {
|
|
478
413
|
readonly used?: boolean;
|
|
479
414
|
}
|
|
@@ -515,10 +450,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
515
450
|
readonly items?: io.flow.stripe.v0.models.OrderItemRequest[];
|
|
516
451
|
readonly shipping?: io.flow.stripe.v0.models.Shipping;
|
|
517
452
|
}
|
|
518
|
-
interface Overcapture {
|
|
519
|
-
readonly maximum_amount_capturable?: number;
|
|
520
|
-
readonly status?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
521
|
-
}
|
|
522
453
|
interface Owner {
|
|
523
454
|
readonly address?: io.flow.stripe.v0.models.Address;
|
|
524
455
|
readonly email?: string;
|
|
@@ -529,9 +460,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
529
460
|
readonly verified_name?: string;
|
|
530
461
|
readonly verified_phone?: string;
|
|
531
462
|
}
|
|
532
|
-
interface PaymentDetails {
|
|
533
|
-
readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo;
|
|
534
|
-
}
|
|
535
463
|
interface PaymentIntent {
|
|
536
464
|
readonly id: string;
|
|
537
465
|
readonly object: string;
|
|
@@ -551,7 +479,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
551
479
|
readonly customer?: string;
|
|
552
480
|
readonly description?: string;
|
|
553
481
|
readonly invoice?: string;
|
|
554
|
-
readonly last_payment_error?: io.flow.stripe.v0.models.
|
|
482
|
+
readonly last_payment_error?: io.flow.stripe.v0.models.LastPaymentError;
|
|
555
483
|
readonly livemode: boolean;
|
|
556
484
|
readonly metadata?: io.flow.stripe.v0.models.Metadata;
|
|
557
485
|
readonly next_action?: io.flow.stripe.v0.models.NextAction;
|
|
@@ -590,7 +518,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
590
518
|
readonly off_session?: boolean;
|
|
591
519
|
readonly payment_method?: string;
|
|
592
520
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
593
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
521
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
594
522
|
readonly payment_method_types?: string[];
|
|
595
523
|
readonly receipt_email?: string;
|
|
596
524
|
readonly save_payment_method?: boolean;
|
|
@@ -610,7 +538,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
610
538
|
readonly on_behalf_of?: string;
|
|
611
539
|
readonly payment_method?: string;
|
|
612
540
|
readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
613
|
-
readonly payment_method_options?: io.flow.stripe.v0.models.
|
|
541
|
+
readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
614
542
|
readonly payment_method_types?: string[];
|
|
615
543
|
readonly receipt_email?: string;
|
|
616
544
|
readonly return_url?: string;
|
|
@@ -646,11 +574,8 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
646
574
|
readonly id: string;
|
|
647
575
|
readonly object: string;
|
|
648
576
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
649
|
-
readonly bancontact?: any;
|
|
650
577
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
651
578
|
readonly card_present?: any;
|
|
652
|
-
readonly ideal?: any;
|
|
653
|
-
readonly klarna?: any;
|
|
654
579
|
readonly created: number;
|
|
655
580
|
readonly customer?: string;
|
|
656
581
|
readonly livemode: boolean;
|
|
@@ -680,43 +605,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
680
605
|
readonly number: string;
|
|
681
606
|
readonly cvc?: string;
|
|
682
607
|
}
|
|
683
|
-
interface PaymentMethodDataBancontact {
|
|
684
|
-
readonly type: 'bancontact';
|
|
685
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
686
|
-
readonly metadata?: any;
|
|
687
|
-
}
|
|
688
608
|
interface PaymentMethodDataCard {
|
|
689
609
|
readonly type: 'card';
|
|
690
610
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
691
611
|
readonly metadata?: any;
|
|
692
612
|
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
693
613
|
}
|
|
694
|
-
interface PaymentMethodDataIdeal {
|
|
695
|
-
readonly type: 'ideal';
|
|
696
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
697
|
-
readonly metadata?: any;
|
|
698
|
-
readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
|
|
699
|
-
}
|
|
700
|
-
interface PaymentMethodDataKlarna {
|
|
701
|
-
readonly type: 'klarna';
|
|
702
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
703
|
-
readonly metadata?: any;
|
|
704
|
-
readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
|
|
705
|
-
}
|
|
706
|
-
interface PaymentMethodDetailsBancontact {
|
|
707
|
-
readonly type: 'bancontact';
|
|
708
|
-
readonly bancontact: io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation;
|
|
709
|
-
}
|
|
710
|
-
interface PaymentMethodDetailsBancontactInformation {
|
|
711
|
-
readonly bank_code?: string;
|
|
712
|
-
readonly bank_name?: string;
|
|
713
|
-
readonly bic?: string;
|
|
714
|
-
readonly generated_sepa_debit?: string;
|
|
715
|
-
readonly generated_sepa_debit_mandate?: string;
|
|
716
|
-
readonly iban_last4?: string;
|
|
717
|
-
readonly preferred_language?: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
718
|
-
readonly verified_name?: string;
|
|
719
|
-
}
|
|
720
614
|
interface PaymentMethodDetailsCard {
|
|
721
615
|
readonly type: 'card';
|
|
722
616
|
readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -741,22 +635,6 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
741
635
|
readonly issuer?: string;
|
|
742
636
|
readonly wallet?: io.flow.stripe.v0.unions.CardWallet;
|
|
743
637
|
readonly network_transaction_id?: string;
|
|
744
|
-
readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
745
|
-
readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
746
|
-
readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
|
|
747
|
-
readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
|
|
748
|
-
}
|
|
749
|
-
interface PaymentMethodDetailsIdeal {
|
|
750
|
-
readonly type: 'ideal';
|
|
751
|
-
readonly ideal: io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation;
|
|
752
|
-
}
|
|
753
|
-
interface PaymentMethodDetailsIdealInformation {
|
|
754
|
-
readonly bank?: io.flow.stripe.v0.enums.BankIdeal;
|
|
755
|
-
readonly bic?: io.flow.stripe.v0.enums.BicIdeal;
|
|
756
|
-
readonly generated_sepa_debit?: string;
|
|
757
|
-
readonly generated_sepa_debit_mandate?: string;
|
|
758
|
-
readonly iban_last4?: string;
|
|
759
|
-
readonly verified_name?: string;
|
|
760
638
|
}
|
|
761
639
|
interface PaymentMethodDetailsKlarna {
|
|
762
640
|
readonly type: 'klarna';
|
|
@@ -766,89 +644,25 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
766
644
|
readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna;
|
|
767
645
|
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
768
646
|
}
|
|
769
|
-
interface PaymentMethodFormBancontact {
|
|
770
|
-
readonly type: 'bancontact';
|
|
771
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
772
|
-
readonly metadata?: any;
|
|
773
|
-
readonly bancontact: any;
|
|
774
|
-
}
|
|
775
647
|
interface PaymentMethodFormCard {
|
|
776
648
|
readonly type: 'card';
|
|
777
649
|
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
778
650
|
readonly metadata?: any;
|
|
779
651
|
readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
780
652
|
}
|
|
781
|
-
interface PaymentMethodFormIdeal {
|
|
782
|
-
readonly type: 'ideal';
|
|
783
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
784
|
-
readonly metadata?: any;
|
|
785
|
-
readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
|
|
786
|
-
}
|
|
787
|
-
interface PaymentMethodFormKlarna {
|
|
788
|
-
readonly type: 'klarna';
|
|
789
|
-
readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
790
|
-
readonly metadata?: any;
|
|
791
|
-
readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
|
|
792
|
-
}
|
|
793
|
-
interface PaymentMethodIdealForm {
|
|
794
|
-
readonly bank?: string;
|
|
795
|
-
}
|
|
796
|
-
interface PaymentMethodKlarnaForm {
|
|
797
|
-
readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
|
|
798
|
-
}
|
|
799
653
|
interface PaymentMethodOptions {
|
|
800
654
|
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
|
|
801
|
-
readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal;
|
|
802
|
-
readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
|
|
803
|
-
readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact;
|
|
804
|
-
}
|
|
805
|
-
interface PaymentMethodOptionsBancontact {
|
|
806
|
-
readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
807
|
-
}
|
|
808
|
-
interface PaymentMethodOptionsBancontactForm {
|
|
809
|
-
readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
810
655
|
}
|
|
811
656
|
interface PaymentMethodOptionsCard {
|
|
812
657
|
readonly network?: string;
|
|
813
658
|
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
814
659
|
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
815
660
|
readonly mcc?: string;
|
|
816
|
-
readonly capture_before?: number;
|
|
817
|
-
}
|
|
818
|
-
interface PaymentMethodOptionsCardForm {
|
|
819
|
-
readonly network?: string;
|
|
820
|
-
readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
821
|
-
readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
822
|
-
readonly mcc?: string;
|
|
823
|
-
}
|
|
824
|
-
interface PaymentMethodOptionsForm {
|
|
825
|
-
readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
826
|
-
readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm;
|
|
827
|
-
readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
|
|
828
|
-
readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm;
|
|
829
|
-
}
|
|
830
|
-
interface PaymentMethodOptionsIdeal {
|
|
831
|
-
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
832
|
-
}
|
|
833
|
-
interface PaymentMethodOptionsIdealForm {
|
|
834
|
-
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
835
|
-
}
|
|
836
|
-
interface PaymentMethodOptionsKlarna {
|
|
837
|
-
readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
|
|
838
|
-
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
839
|
-
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
840
|
-
readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
|
|
841
|
-
}
|
|
842
|
-
interface PaymentMethodOptionsKlarnaForm {
|
|
843
|
-
readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
|
|
844
|
-
readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
845
|
-
readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
846
|
-
readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails;
|
|
847
661
|
}
|
|
848
662
|
interface PaymentOutcome {
|
|
849
|
-
readonly network_status
|
|
850
|
-
readonly risk_level
|
|
851
|
-
readonly seller_message
|
|
663
|
+
readonly network_status: io.flow.stripe.v0.enums.NetworkStatus;
|
|
664
|
+
readonly risk_level: string;
|
|
665
|
+
readonly seller_message: string;
|
|
852
666
|
readonly reason?: string;
|
|
853
667
|
readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType;
|
|
854
668
|
}
|
|
@@ -1025,31 +839,14 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1025
839
|
readonly three_ds_optimizations?: string;
|
|
1026
840
|
readonly directory_server_encryption?: any;
|
|
1027
841
|
}
|
|
1028
|
-
interface StripeDisputeEvent {
|
|
1029
|
-
readonly id: string;
|
|
1030
|
-
readonly api_version?: string;
|
|
1031
|
-
readonly data: io.flow.stripe.v0.models.StripeDisputeEventData;
|
|
1032
|
-
readonly request?: any;
|
|
1033
|
-
readonly type: io.flow.stripe.v0.enums.DisputeEventType;
|
|
1034
|
-
readonly object: string;
|
|
1035
|
-
readonly account?: string;
|
|
1036
|
-
readonly created: number;
|
|
1037
|
-
readonly livemode: boolean;
|
|
1038
|
-
readonly pending_webhooks: number;
|
|
1039
|
-
}
|
|
1040
|
-
interface StripeDisputeEventData {
|
|
1041
|
-
readonly object: io.flow.stripe.v0.models.Dispute;
|
|
1042
|
-
readonly previous_attributes?: any;
|
|
1043
|
-
}
|
|
1044
842
|
interface StripeError {
|
|
1045
843
|
readonly type: io.flow.stripe.v0.enums.ErrorType;
|
|
1046
844
|
readonly charge?: string;
|
|
1047
845
|
readonly message?: string;
|
|
1048
|
-
readonly code?: io.flow.stripe.v0.enums.
|
|
1049
|
-
readonly decline_code?:
|
|
846
|
+
readonly code?: io.flow.stripe.v0.enums.CardErrorCode;
|
|
847
|
+
readonly decline_code?: string;
|
|
1050
848
|
readonly param?: string;
|
|
1051
849
|
readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent;
|
|
1052
|
-
readonly payment_method?: io.flow.stripe.v0.models.PaymentMethod;
|
|
1053
850
|
}
|
|
1054
851
|
interface StripeEvent {
|
|
1055
852
|
readonly id: string;
|
|
@@ -1077,12 +874,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1077
874
|
interface ThreeDSecureCharge {
|
|
1078
875
|
readonly authenticated?: boolean;
|
|
1079
876
|
readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow;
|
|
1080
|
-
readonly electronic_commerce_indicator?: string;
|
|
1081
|
-
readonly exemption_indicator?: string;
|
|
1082
877
|
readonly result?: io.flow.stripe.v0.enums.ThreeDsResult;
|
|
1083
878
|
readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason;
|
|
1084
879
|
readonly succeeded?: boolean;
|
|
1085
|
-
readonly transaction_id?: string;
|
|
1086
880
|
readonly version?: string;
|
|
1087
881
|
}
|
|
1088
882
|
interface ThreeDSecureRedirect {
|
|
@@ -1125,9 +919,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1125
919
|
}
|
|
1126
920
|
declare namespace io.flow.stripe.v0.unions {
|
|
1127
921
|
type CardWallet = io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout;
|
|
1128
|
-
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard
|
|
1129
|
-
type PaymentMethodDetails = io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.
|
|
1130
|
-
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard
|
|
922
|
+
type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard;
|
|
923
|
+
type PaymentMethodDetails = io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
|
|
924
|
+
type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard;
|
|
1131
925
|
}
|
|
1132
926
|
declare namespace io.flow.shopify.external.v0.enums {
|
|
1133
927
|
type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
|
|
@@ -1155,11 +949,10 @@ declare namespace io.flow.shopify.external.v0.enums {
|
|
|
1155
949
|
type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
|
|
1156
950
|
type ShopifyDiscountPaginationDirection = 'next' | 'prev';
|
|
1157
951
|
type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
|
|
1158
|
-
type ShopifyPlanName = 'basic' | 'business' | 'cancelled' | 'dormant' | 'enterprise' | 'fraudulent' | 'frozen' | 'npo_full' | 'npo_lite' | 'open_learning' | 'paid_trial' | 'professional' | 'retail' | 'shopify_alumni' | 'shopify_plus' | 'staff' | 'staff_business' | 'starter' | 'starter_2022' | 'unlimited';
|
|
1159
952
|
type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
1160
953
|
type ShopifyTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
|
|
1161
954
|
type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
|
|
1162
|
-
type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | '
|
|
955
|
+
type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
|
|
1163
956
|
type ValueType = 'string' | 'integer';
|
|
1164
957
|
type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
|
|
1165
958
|
}
|
|
@@ -1280,7 +1073,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1280
1073
|
readonly published_at?: string;
|
|
1281
1074
|
readonly created_at: string;
|
|
1282
1075
|
readonly updated_at: string;
|
|
1283
|
-
readonly has_variants_that_requires_components?: boolean;
|
|
1284
1076
|
}
|
|
1285
1077
|
interface ProductDelete {
|
|
1286
1078
|
readonly id: number;
|
|
@@ -1289,7 +1081,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1289
1081
|
readonly id: number;
|
|
1290
1082
|
readonly product_id: number;
|
|
1291
1083
|
readonly variant_ids: number[];
|
|
1292
|
-
readonly src
|
|
1084
|
+
readonly src: string;
|
|
1293
1085
|
readonly position: number;
|
|
1294
1086
|
readonly created_at: string;
|
|
1295
1087
|
readonly updated_at: string;
|
|
@@ -1832,11 +1624,6 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1832
1624
|
readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
|
|
1833
1625
|
readonly carrier_identifier?: string;
|
|
1834
1626
|
}
|
|
1835
|
-
interface ShopifyShopUpdate {
|
|
1836
|
-
readonly id: number;
|
|
1837
|
-
readonly plan_display_name: string;
|
|
1838
|
-
readonly plan_name: io.flow.shopify.external.v0.enums.ShopifyPlanName;
|
|
1839
|
-
}
|
|
1840
1627
|
interface ShopifyTaxLine {
|
|
1841
1628
|
readonly price: string;
|
|
1842
1629
|
readonly rate: number;
|
|
@@ -2102,7 +1889,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2102
1889
|
type ExporterOfRecord = 'flow' | 'organization';
|
|
2103
1890
|
type FeeDeductionType = 'duty_guarantee' | 'mor' | 'fraud' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee';
|
|
2104
1891
|
type FlowBehavior = 'view_consumer_data';
|
|
2105
|
-
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
1892
|
+
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa';
|
|
2106
1893
|
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
2107
1894
|
type FraudEmailRuleDecision = 'approved' | 'declined';
|
|
2108
1895
|
type FraudLiability = 'flow' | 'organization';
|
|
@@ -2173,7 +1960,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2173
1960
|
type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
|
|
2174
1961
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
2175
1962
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
2176
|
-
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact';
|
|
1963
|
+
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay';
|
|
2177
1964
|
type PayoutAttachmentType = 'transactions';
|
|
2178
1965
|
type PayoutStatusFailureCode = 'invalid_account_number' | 'account_closed' | 'could_not_process';
|
|
2179
1966
|
type PendingPayoutTransactionReasonCode = 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance';
|
|
@@ -2240,7 +2027,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2240
2027
|
type TradeAgreementStatus = 'supported' | 'not_supported';
|
|
2241
2028
|
type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout';
|
|
2242
2029
|
type TrueupSource = 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups';
|
|
2243
|
-
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup';
|
|
2030
|
+
type TrueupSurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail';
|
|
2244
2031
|
type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter';
|
|
2245
2032
|
type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
|
|
2246
2033
|
type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
|
|
@@ -3030,6 +2817,7 @@ declare namespace io.flow.v0.models {
|
|
|
3030
2817
|
readonly items?: io.flow.v0.models.LineItemForm[];
|
|
3031
2818
|
readonly package?: io.flow.v0.models.ShippingLabelPackage;
|
|
3032
2819
|
readonly origin?: io.flow.v0.models.ShippingAddress;
|
|
2820
|
+
readonly direction?: io.flow.v0.enums.Direction;
|
|
3033
2821
|
}
|
|
3034
2822
|
interface BrowseOptinResponses {
|
|
3035
2823
|
readonly id: string;
|
|
@@ -7897,14 +7685,26 @@ declare namespace io.flow.v0.models {
|
|
|
7897
7685
|
readonly type: 'init_klarna';
|
|
7898
7686
|
readonly reference?: string;
|
|
7899
7687
|
}
|
|
7688
|
+
interface PaymentMethodDataInitMobilepay {
|
|
7689
|
+
readonly type: 'init_mobilepay';
|
|
7690
|
+
readonly reference?: string;
|
|
7691
|
+
}
|
|
7900
7692
|
interface PaymentMethodDataInitPaypal {
|
|
7901
7693
|
readonly type: 'init_paypal';
|
|
7902
7694
|
readonly reference?: string;
|
|
7903
7695
|
}
|
|
7696
|
+
interface PaymentMethodDataInitPrzelewy24 {
|
|
7697
|
+
readonly type: 'init_przelewy24';
|
|
7698
|
+
readonly reference?: string;
|
|
7699
|
+
}
|
|
7904
7700
|
interface PaymentMethodDataInitSofort {
|
|
7905
7701
|
readonly type: 'init_sofort';
|
|
7906
7702
|
readonly reference?: string;
|
|
7907
7703
|
}
|
|
7704
|
+
interface PaymentMethodDataInitTwint {
|
|
7705
|
+
readonly type: 'init_twint';
|
|
7706
|
+
readonly reference?: string;
|
|
7707
|
+
}
|
|
7908
7708
|
interface PaymentMethodDataOptionLogoSvg {
|
|
7909
7709
|
readonly type: 'svg';
|
|
7910
7710
|
readonly url: string;
|
|
@@ -7993,14 +7793,26 @@ declare namespace io.flow.v0.models {
|
|
|
7993
7793
|
readonly type: 'klarna';
|
|
7994
7794
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7995
7795
|
}
|
|
7796
|
+
interface PaymentMethodSummaryMobilepay {
|
|
7797
|
+
readonly type: 'mobilepay';
|
|
7798
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7799
|
+
}
|
|
7996
7800
|
interface PaymentMethodSummaryPaypal {
|
|
7997
7801
|
readonly type: 'paypal';
|
|
7998
7802
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7999
7803
|
}
|
|
7804
|
+
interface PaymentMethodSummaryPrzelewy24 {
|
|
7805
|
+
readonly type: 'przelewy24';
|
|
7806
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7807
|
+
}
|
|
8000
7808
|
interface PaymentMethodSummarySofort {
|
|
8001
7809
|
readonly type: 'sofort';
|
|
8002
7810
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
8003
7811
|
}
|
|
7812
|
+
interface PaymentMethodSummaryTwint {
|
|
7813
|
+
readonly type: 'twint';
|
|
7814
|
+
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
7815
|
+
}
|
|
8004
7816
|
interface PaymentOrderDetailsLineItem {
|
|
8005
7817
|
readonly id?: string;
|
|
8006
7818
|
readonly description: string;
|
|
@@ -9694,6 +9506,7 @@ declare namespace io.flow.v0.models {
|
|
|
9694
9506
|
readonly additional_services_requested?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
9695
9507
|
readonly created_at?: string;
|
|
9696
9508
|
readonly updated_at?: string;
|
|
9509
|
+
readonly direction?: io.flow.v0.enums.Direction;
|
|
9697
9510
|
}
|
|
9698
9511
|
interface ShippingLabelDocument {
|
|
9699
9512
|
readonly zpl?: string;
|
|
@@ -10289,6 +10102,7 @@ declare namespace io.flow.v0.models {
|
|
|
10289
10102
|
readonly order_number: string;
|
|
10290
10103
|
readonly items: io.flow.v0.models.LineItemForm[];
|
|
10291
10104
|
readonly center_key?: string;
|
|
10105
|
+
readonly direction?: io.flow.v0.enums.Direction;
|
|
10292
10106
|
}
|
|
10293
10107
|
interface SummaryShippingNotificationForm {
|
|
10294
10108
|
readonly discriminator: 'summary_shipping_notification_form';
|
|
@@ -11202,12 +11016,12 @@ declare namespace io.flow.v0.unions {
|
|
|
11202
11016
|
type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
|
|
11203
11017
|
type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
|
|
11204
11018
|
type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
|
|
11205
|
-
type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
11019
|
+
type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitTwint | io.flow.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.v0.models.PaymentMethodDataInitMobilepay | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
11206
11020
|
type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure;
|
|
11207
11021
|
type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
11208
11022
|
type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
11209
11023
|
type PaymentMethodStoredDetailsCard = io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent;
|
|
11210
|
-
type PaymentMethodSummary = io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact;
|
|
11024
|
+
type PaymentMethodSummary = io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummaryTwint | io.flow.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.v0.models.PaymentMethodSummaryMobilepay | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact;
|
|
11211
11025
|
type PaymentMethodTag = {
|
|
11212
11026
|
discriminator: 'organization_payment_method_tag';
|
|
11213
11027
|
value: io.flow.v0.enums.OrganizationPaymentMethodTag;
|
|
@@ -12371,8 +12185,11 @@ export declare type PaymentMethodDataInitBancontact = io.flow.v0.models.PaymentM
|
|
|
12371
12185
|
export declare type PaymentMethodDataInitGooglepay = io.flow.v0.models.PaymentMethodDataInitGooglepay;
|
|
12372
12186
|
export declare type PaymentMethodDataInitIdeal = io.flow.v0.models.PaymentMethodDataInitIdeal;
|
|
12373
12187
|
export declare type PaymentMethodDataInitKlarna = io.flow.v0.models.PaymentMethodDataInitKlarna;
|
|
12188
|
+
export declare type PaymentMethodDataInitMobilepay = io.flow.v0.models.PaymentMethodDataInitMobilepay;
|
|
12374
12189
|
export declare type PaymentMethodDataInitPaypal = io.flow.v0.models.PaymentMethodDataInitPaypal;
|
|
12190
|
+
export declare type PaymentMethodDataInitPrzelewy24 = io.flow.v0.models.PaymentMethodDataInitPrzelewy24;
|
|
12375
12191
|
export declare type PaymentMethodDataInitSofort = io.flow.v0.models.PaymentMethodDataInitSofort;
|
|
12192
|
+
export declare type PaymentMethodDataInitTwint = io.flow.v0.models.PaymentMethodDataInitTwint;
|
|
12376
12193
|
export declare type PaymentMethodDataOptionLogo = io.flow.v0.unions.PaymentMethodDataOptionLogo;
|
|
12377
12194
|
export declare type PaymentMethodDataOptionLogoSvg = io.flow.v0.models.PaymentMethodDataOptionLogoSvg;
|
|
12378
12195
|
export declare type PaymentMethodDataOptionType = io.flow.v0.enums.PaymentMethodDataOptionType;
|
|
@@ -12396,8 +12213,11 @@ export declare type PaymentMethodSummaryCard = io.flow.v0.models.PaymentMethodSu
|
|
|
12396
12213
|
export declare type PaymentMethodSummaryGooglepay = io.flow.v0.models.PaymentMethodSummaryGooglepay;
|
|
12397
12214
|
export declare type PaymentMethodSummaryIdeal = io.flow.v0.models.PaymentMethodSummaryIdeal;
|
|
12398
12215
|
export declare type PaymentMethodSummaryKlarna = io.flow.v0.models.PaymentMethodSummaryKlarna;
|
|
12216
|
+
export declare type PaymentMethodSummaryMobilepay = io.flow.v0.models.PaymentMethodSummaryMobilepay;
|
|
12399
12217
|
export declare type PaymentMethodSummaryPaypal = io.flow.v0.models.PaymentMethodSummaryPaypal;
|
|
12218
|
+
export declare type PaymentMethodSummaryPrzelewy24 = io.flow.v0.models.PaymentMethodSummaryPrzelewy24;
|
|
12400
12219
|
export declare type PaymentMethodSummarySofort = io.flow.v0.models.PaymentMethodSummarySofort;
|
|
12220
|
+
export declare type PaymentMethodSummaryTwint = io.flow.v0.models.PaymentMethodSummaryTwint;
|
|
12401
12221
|
export declare type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag;
|
|
12402
12222
|
export declare type PaymentMethodType = io.flow.v0.enums.PaymentMethodType;
|
|
12403
12223
|
export declare type PaymentOrderDetailsLineItem = io.flow.v0.models.PaymentOrderDetailsLineItem;
|