@flowio/api-internal-prop-types 9.24.69 → 9.24.70
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/lib/api-internal.d.ts +61 -9
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +61 -9
- package/src/api-internal.js +101 -34
package/lib/api-internal.d.ts
CHANGED
|
@@ -2004,7 +2004,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2004
2004
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
2005
2005
|
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';
|
|
2006
2006
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
2007
|
-
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.
|
|
2007
|
+
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';
|
|
2008
2008
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
2009
2009
|
type KlarnaProduct = 'payment';
|
|
2010
2010
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -2026,6 +2026,7 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
2026
2026
|
type SourceStatus = 'canceled' | 'chargeable' | 'consumed' | 'failed' | 'pending';
|
|
2027
2027
|
type SourceType = 'ach_credit_transfer' | 'ach_debit' | 'alipay' | 'bancontact' | 'bitcoin' | 'card' | 'eps' | 'giropay' | 'ideal' | 'klarna' | 'multibanco' | 'p24' | 'sepa_debit' | 'sofort' | 'three_d_secure';
|
|
2028
2028
|
type SourceUsageType = 'reusable' | 'single_use';
|
|
2029
|
+
type StoredCredentialTransactionType = 'setup_on_session' | 'setup_off_session_recurring' | 'setup_off_session_unscheduled' | 'stored_on_session' | 'stored_on_session_recurring' | 'stored_on_session_unscheduled';
|
|
2029
2030
|
type ThreeDSecureSupport = 'required' | 'recommended' | 'optional' | 'not_supported';
|
|
2030
2031
|
type ThreeDsAuthenticationFlow = 'challenge' | 'frictionless';
|
|
2031
2032
|
type ThreeDsResult = 'authenticated' | 'attempt_acknowledged' | 'exempted' | 'not_supported' | 'failed' | 'processing_error';
|
|
@@ -2120,6 +2121,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2120
2121
|
readonly 'cvc_check'?: io.flow.stripe.v0.enums.CheckOutcome;
|
|
2121
2122
|
}
|
|
2122
2123
|
|
|
2124
|
+
interface CardNetworks {
|
|
2125
|
+
readonly 'available'?: string[];
|
|
2126
|
+
readonly 'preferred'?: string;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2123
2129
|
interface CardRequest {
|
|
2124
2130
|
readonly 'object': string;
|
|
2125
2131
|
readonly 'exp_month': string;
|
|
@@ -2289,6 +2295,8 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2289
2295
|
readonly 'order_number'?: string;
|
|
2290
2296
|
readonly 'authorization_id'?: string;
|
|
2291
2297
|
readonly 'organization_id'?: string;
|
|
2298
|
+
readonly 'payment_request_id'?: string;
|
|
2299
|
+
readonly 'payment_request_order_reference'?: string;
|
|
2292
2300
|
}
|
|
2293
2301
|
|
|
2294
2302
|
interface NetworkTokenUsed {
|
|
@@ -2409,6 +2417,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2409
2417
|
interface PaymentIntentConfirmationForm {
|
|
2410
2418
|
readonly 'off_session'?: boolean;
|
|
2411
2419
|
readonly 'payment_method'?: string;
|
|
2420
|
+
readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2412
2421
|
readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
2413
2422
|
readonly 'payment_method_types'?: string[];
|
|
2414
2423
|
readonly 'receipt_email'?: string;
|
|
@@ -2429,6 +2438,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2429
2438
|
readonly 'metadata'?: io.flow.stripe.v0.models.Metadata;
|
|
2430
2439
|
readonly 'on_behalf_of'?: string;
|
|
2431
2440
|
readonly 'payment_method'?: string;
|
|
2441
|
+
readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
2432
2442
|
readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
|
|
2433
2443
|
readonly 'payment_method_types'?: string[];
|
|
2434
2444
|
readonly 'receipt_email'?: string;
|
|
@@ -2461,7 +2471,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2461
2471
|
readonly 'id': string;
|
|
2462
2472
|
readonly 'object': string;
|
|
2463
2473
|
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2464
|
-
readonly 'card'?: io.flow.stripe.v0.models.
|
|
2474
|
+
readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
2465
2475
|
readonly 'card_present'?: any/*object*/;
|
|
2466
2476
|
readonly 'created': number;
|
|
2467
2477
|
readonly 'customer'?: string;
|
|
@@ -2476,6 +2486,33 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2476
2486
|
readonly 'phone'?: string;
|
|
2477
2487
|
}
|
|
2478
2488
|
|
|
2489
|
+
interface PaymentMethodCardDetails {
|
|
2490
|
+
readonly 'brand'?: io.flow.stripe.v0.enums.CardBrand;
|
|
2491
|
+
readonly 'checks'?: io.flow.stripe.v0.models.CardChecks;
|
|
2492
|
+
readonly 'country'?: string;
|
|
2493
|
+
readonly 'exp_month'?: number;
|
|
2494
|
+
readonly 'exp_year'?: number;
|
|
2495
|
+
readonly 'fingerprint'?: string;
|
|
2496
|
+
readonly 'funding'?: io.flow.stripe.v0.enums.CardFundingType;
|
|
2497
|
+
readonly 'last4'?: string;
|
|
2498
|
+
readonly 'networks'?: io.flow.stripe.v0.models.CardNetworks;
|
|
2499
|
+
readonly 'three_d_secure_usage'?: io.flow.stripe.v0.models.ThreeDSecureUsage;
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
interface PaymentMethodCardForm {
|
|
2503
|
+
readonly 'exp_month': string;
|
|
2504
|
+
readonly 'exp_year': string;
|
|
2505
|
+
readonly 'number': string;
|
|
2506
|
+
readonly 'cvc'?: string;
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2509
|
+
interface PaymentMethodDataCard {
|
|
2510
|
+
readonly 'type': 'card';
|
|
2511
|
+
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2512
|
+
readonly 'metadata'?: any/*object*/;
|
|
2513
|
+
readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2479
2516
|
interface PaymentMethodDetailsCard {
|
|
2480
2517
|
readonly 'type': 'card';
|
|
2481
2518
|
readonly 'card': io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -2513,10 +2550,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2513
2550
|
readonly 'preferred_locale'?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
2514
2551
|
}
|
|
2515
2552
|
|
|
2516
|
-
interface
|
|
2517
|
-
readonly 'type':
|
|
2553
|
+
interface PaymentMethodFormCard {
|
|
2554
|
+
readonly 'type': 'card';
|
|
2518
2555
|
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
2519
|
-
readonly '
|
|
2556
|
+
readonly 'metadata'?: any/*object*/;
|
|
2557
|
+
readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
2520
2558
|
}
|
|
2521
2559
|
|
|
2522
2560
|
interface PaymentMethodOptions {
|
|
@@ -2524,7 +2562,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2524
2562
|
}
|
|
2525
2563
|
|
|
2526
2564
|
interface PaymentMethodOptionsCard {
|
|
2565
|
+
readonly 'network'?: string;
|
|
2527
2566
|
readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
2567
|
+
readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
2528
2568
|
}
|
|
2529
2569
|
|
|
2530
2570
|
interface PaymentOutcome {
|
|
@@ -2776,6 +2816,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2776
2816
|
readonly 'stripe_js': string;
|
|
2777
2817
|
}
|
|
2778
2818
|
|
|
2819
|
+
interface ThreeDSecureUsage {
|
|
2820
|
+
readonly 'supported'?: boolean;
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2779
2823
|
interface Token {
|
|
2780
2824
|
readonly 'id': string;
|
|
2781
2825
|
readonly 'object': string;
|
|
@@ -2814,7 +2858,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
2814
2858
|
|
|
2815
2859
|
declare namespace io.flow.stripe.v0.unions {
|
|
2816
2860
|
type CardWallet = (io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout);
|
|
2861
|
+
type PaymentMethodData = (io.flow.stripe.v0.models.PaymentMethodDataCard);
|
|
2817
2862
|
type PaymentMethodDetails = (io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna);
|
|
2863
|
+
type PaymentMethodForm = (io.flow.stripe.v0.models.PaymentMethodFormCard);
|
|
2818
2864
|
}
|
|
2819
2865
|
|
|
2820
2866
|
declare namespace io.flow.customer.v0.enums {
|
|
@@ -10833,6 +10879,12 @@ declare namespace io.flow.billing.v0.models {
|
|
|
10833
10879
|
readonly 'updated_at': string;
|
|
10834
10880
|
}
|
|
10835
10881
|
|
|
10882
|
+
interface PendingTransaction {
|
|
10883
|
+
readonly 'id': string;
|
|
10884
|
+
readonly 'reason': io.flow.billing.v0.enums.TransactionPayoutPendingReason;
|
|
10885
|
+
readonly 'reason_set_at': string;
|
|
10886
|
+
}
|
|
10887
|
+
|
|
10836
10888
|
interface SettlementNoPayout {
|
|
10837
10889
|
readonly 'discriminator': 'no_payout';
|
|
10838
10890
|
readonly 'placeholder'?: string;
|
|
@@ -12024,10 +12076,10 @@ declare namespace io.flow.catalog.RESERVED_WORD_return.v0.models {
|
|
|
12024
12076
|
}
|
|
12025
12077
|
|
|
12026
12078
|
declare namespace io.flow.apple.pay.v0.enums {
|
|
12027
|
-
type ApplePayContactField = 'email' | 'name' | 'phone' | '
|
|
12079
|
+
type ApplePayContactField = 'email' | 'name' | 'phone' | 'postal_address' | 'phonetic_name';
|
|
12028
12080
|
type ApplePayLineItemType = 'final' | 'pending';
|
|
12029
12081
|
type ApplePayMerchantCapability = 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV';
|
|
12030
|
-
type ApplePayShippingType = 'shipping' | 'delivery' | '
|
|
12082
|
+
type ApplePayShippingType = 'shipping' | 'delivery' | 'store_pickup' | 'service_pickup';
|
|
12031
12083
|
type ApplePaySupportedNetworks = 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa';
|
|
12032
12084
|
}
|
|
12033
12085
|
|
|
@@ -12035,7 +12087,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
12035
12087
|
interface ApplePayLineItem {
|
|
12036
12088
|
readonly 'label': string;
|
|
12037
12089
|
readonly 'type': io.flow.apple.pay.v0.enums.ApplePayLineItemType;
|
|
12038
|
-
readonly 'amount':
|
|
12090
|
+
readonly 'amount': number;
|
|
12039
12091
|
}
|
|
12040
12092
|
|
|
12041
12093
|
interface ApplePayPaymentContact {
|
|
@@ -12086,7 +12138,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
12086
12138
|
interface ApplePayShippingMethod {
|
|
12087
12139
|
readonly 'label': string;
|
|
12088
12140
|
readonly 'detail': string;
|
|
12089
|
-
readonly 'amount':
|
|
12141
|
+
readonly 'amount': number;
|
|
12090
12142
|
readonly 'identifier': string;
|
|
12091
12143
|
}
|
|
12092
12144
|
}
|