@flowio/api-prop-types 10.16.61 → 10.16.63
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.d.ts +56 -3
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +56 -3
- package/src/api.js +92 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-prop-types",
|
|
3
|
-
"version": "10.16.
|
|
3
|
+
"version": "10.16.63",
|
|
4
4
|
"description": "PropType validators that work with Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"prop-types": "^15.7.0"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "1855db886db2701e6ba2ae9ede907ce6abbcaa38"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -161,10 +161,12 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
161
161
|
type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
|
|
162
162
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
163
163
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
164
|
-
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_month' | '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';
|
|
164
|
+
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_month' | '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' | 'previously_declined_do_not_retry' | 'highest_risk_level' | 'requested_block_on_incorrect_cvc';
|
|
165
165
|
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';
|
|
166
166
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
167
167
|
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';
|
|
168
|
+
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
169
|
+
type FeatureAvailability = 'available' | 'unavailable';
|
|
168
170
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
169
171
|
type KlarnaProduct = 'payment';
|
|
170
172
|
type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
|
|
@@ -312,6 +314,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
312
314
|
readonly 'currency': string;
|
|
313
315
|
readonly 'customer'?: string;
|
|
314
316
|
readonly 'outcome'?: io.flow.stripe.v0.models.PaymentOutcome;
|
|
317
|
+
readonly 'disputed'?: boolean;
|
|
315
318
|
readonly 'paid': boolean;
|
|
316
319
|
readonly 'refunded': boolean;
|
|
317
320
|
readonly 'refunds'?: io.flow.stripe.v0.models.Refunds;
|
|
@@ -331,6 +334,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
331
334
|
readonly 'calculated_statement_descriptor'?: string;
|
|
332
335
|
readonly 'statement_descriptor'?: string;
|
|
333
336
|
readonly 'payment_method_details'?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
337
|
+
readonly 'payment_method'?: string;
|
|
334
338
|
}
|
|
335
339
|
|
|
336
340
|
interface ChargeDestination {
|
|
@@ -359,6 +363,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
359
363
|
readonly 'amount_refunded': number;
|
|
360
364
|
readonly 'authorization_code'?: string;
|
|
361
365
|
readonly 'captured': boolean;
|
|
366
|
+
readonly 'disputed'?: boolean;
|
|
362
367
|
readonly 'created': number;
|
|
363
368
|
readonly 'currency': string;
|
|
364
369
|
readonly 'customer'?: string;
|
|
@@ -382,6 +387,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
382
387
|
readonly 'calculated_statement_descriptor'?: string;
|
|
383
388
|
readonly 'statement_descriptor'?: string;
|
|
384
389
|
readonly 'payment_method_details'?: io.flow.stripe.v0.unions.PaymentMethodDetails;
|
|
390
|
+
readonly 'payment_method'?: string;
|
|
385
391
|
}
|
|
386
392
|
|
|
387
393
|
interface CodeVerification {
|
|
@@ -409,6 +415,14 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
409
415
|
readonly 'error': io.flow.stripe.v0.models.StripeError;
|
|
410
416
|
}
|
|
411
417
|
|
|
418
|
+
interface ExtendedAuthorization {
|
|
419
|
+
readonly 'status'?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
interface IncrementalAuthorization {
|
|
423
|
+
readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
424
|
+
}
|
|
425
|
+
|
|
412
426
|
interface Keys {
|
|
413
427
|
readonly 'secret'?: string;
|
|
414
428
|
readonly 'publishable'?: string;
|
|
@@ -448,6 +462,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
448
462
|
readonly 'payment_request_order_reference'?: string;
|
|
449
463
|
}
|
|
450
464
|
|
|
465
|
+
interface Multicapture {
|
|
466
|
+
readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
467
|
+
}
|
|
468
|
+
|
|
451
469
|
interface NetworkTokenUsed {
|
|
452
470
|
readonly 'used'?: boolean;
|
|
453
471
|
}
|
|
@@ -495,6 +513,11 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
495
513
|
readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
|
|
496
514
|
}
|
|
497
515
|
|
|
516
|
+
interface Overcapture {
|
|
517
|
+
readonly 'maximum_amount_capturable'?: number;
|
|
518
|
+
readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
|
|
519
|
+
}
|
|
520
|
+
|
|
498
521
|
interface Owner {
|
|
499
522
|
readonly 'address'?: io.flow.stripe.v0.models.Address;
|
|
500
523
|
readonly 'email'?: string;
|
|
@@ -568,7 +591,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
568
591
|
readonly 'off_session'?: boolean;
|
|
569
592
|
readonly 'payment_method'?: string;
|
|
570
593
|
readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
571
|
-
readonly 'payment_method_options'?: io.flow.stripe.v0.models.
|
|
594
|
+
readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
572
595
|
readonly 'payment_method_types'?: string[];
|
|
573
596
|
readonly 'receipt_email'?: string;
|
|
574
597
|
readonly 'save_payment_method'?: boolean;
|
|
@@ -589,7 +612,7 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
589
612
|
readonly 'on_behalf_of'?: string;
|
|
590
613
|
readonly 'payment_method'?: string;
|
|
591
614
|
readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
|
|
592
|
-
readonly 'payment_method_options'?: io.flow.stripe.v0.models.
|
|
615
|
+
readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
|
|
593
616
|
readonly 'payment_method_types'?: string[];
|
|
594
617
|
readonly 'receipt_email'?: string;
|
|
595
618
|
readonly 'return_url'?: string;
|
|
@@ -695,6 +718,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
695
718
|
readonly 'issuer'?: string;
|
|
696
719
|
readonly 'wallet'?: io.flow.stripe.v0.unions.CardWallet;
|
|
697
720
|
readonly 'network_transaction_id'?: string;
|
|
721
|
+
readonly 'extended_authorization'?: io.flow.stripe.v0.models.ExtendedAuthorization;
|
|
722
|
+
readonly 'incremental_authorization'?: io.flow.stripe.v0.models.IncrementalAuthorization;
|
|
723
|
+
readonly 'multicapture'?: io.flow.stripe.v0.models.Multicapture;
|
|
724
|
+
readonly 'overcapture'?: io.flow.stripe.v0.models.Overcapture;
|
|
698
725
|
}
|
|
699
726
|
|
|
700
727
|
interface PaymentMethodDetailsKlarna {
|
|
@@ -723,6 +750,18 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
723
750
|
readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
724
751
|
readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
725
752
|
readonly 'mcc'?: string;
|
|
753
|
+
readonly 'capture_before'?: number;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
interface PaymentMethodOptionsCardForm {
|
|
757
|
+
readonly 'network'?: string;
|
|
758
|
+
readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
|
|
759
|
+
readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
|
|
760
|
+
readonly 'mcc'?: string;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
interface PaymentMethodOptionsForm {
|
|
764
|
+
readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
726
765
|
}
|
|
727
766
|
|
|
728
767
|
interface PaymentOutcome {
|
|
@@ -2188,6 +2227,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2188
2227
|
type PriceDetailKey = 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment';
|
|
2189
2228
|
type PriceFacetBoundary = 'min' | 'max';
|
|
2190
2229
|
type PricingLevySetting = 'included' | 'displayed' | 'ignored';
|
|
2230
|
+
type ProductRestrictionRule = 'Adult Products' | 'Alcohol' | 'Anti Money Laundering' | 'Collagen' | 'Consumer Safety' | 'Cosmetics' | 'DG - Batteries' | 'DG - Hazmat' | 'Drugs' | 'Dual Use' | 'Fine Art' | 'Fish & Wildlife - CITES' | 'Fish & Wildlife - Plant' | 'Fish & Wildlife - USFWS' | 'Food' | 'Gambling' | 'Health' | 'Human hair' | 'Insufficient Details' | 'Intangible' | 'Jewelry' | 'Jewelry & Watches Over 5000' | 'Knives' | 'Liquids' | 'Oversized' | 'Supplements' | 'Weapon' | 'Wood' | 'unknown';
|
|
2191
2231
|
type PromotionTriggerType = 'automatic' | 'order_subtotal';
|
|
2192
2232
|
type ProvinceType = 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other';
|
|
2193
2233
|
type QuoteErrorCode = 'generic_error' | 'items_not_available' | 'shipping_unavailable';
|
|
@@ -2201,6 +2241,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2201
2241
|
type ReturnTrackingStatus = 'awaiting_customs_clearance' | 'cancel_requested' | 'canceled' | 'collection_attempt_failed' | 'customs_clearance_completed' | 'delivered_to_retailer' | 'in_transit_to_local_hub' | 'in_transit_to_retailer' | 'parcel_added_to_pallet' | 'parcel_delayed' | 'parcel_extracted_from_pallet' | 'parcel_lost' | 'parcel_processed_by_retailer' | 'parcel_under_investigation' | 'processed_by_local_hub' | 'received_at_local_hub' | 'received_by_the_carrier' | 'return_registered_online';
|
|
2202
2242
|
type ReversalErrorCode = 'amount_exceeds_balance' | 'authorization_declined' | 'authorization_expired' | 'invalid_authorization' | 'invalid_key' | 'invalid_amount' | 'invalid_currency' | 'no_remaining_balance' | 'partial_reversal_not_supported' | 'unknown';
|
|
2203
2243
|
type ReversalStatus = 'pending' | 'processed' | 'failed';
|
|
2244
|
+
type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed';
|
|
2204
2245
|
type Role = 'admin' | 'member';
|
|
2205
2246
|
type RoundingMethod = 'up' | 'down' | 'nearest';
|
|
2206
2247
|
type RoundingType = 'pattern' | 'multiple';
|
|
@@ -2436,6 +2477,11 @@ declare namespace io.flow.v0.models {
|
|
|
2436
2477
|
readonly 'placeholder'?: boolean;
|
|
2437
2478
|
}
|
|
2438
2479
|
|
|
2480
|
+
interface AdditionalServicesRequested {
|
|
2481
|
+
readonly 'name': string;
|
|
2482
|
+
readonly 'description'?: string;
|
|
2483
|
+
}
|
|
2484
|
+
|
|
2439
2485
|
interface Address {
|
|
2440
2486
|
readonly 'text'?: string;
|
|
2441
2487
|
readonly 'streets'?: string[];
|
|
@@ -9593,6 +9639,9 @@ declare namespace io.flow.v0.models {
|
|
|
9593
9639
|
readonly 'product_id': string;
|
|
9594
9640
|
readonly 'item_numbers': string[];
|
|
9595
9641
|
readonly 'prohibited_regions': string[];
|
|
9642
|
+
readonly 'review_status': io.flow.v0.enums.ReviewStatus;
|
|
9643
|
+
readonly 'rules': io.flow.v0.enums.ProductRestrictionRule[];
|
|
9644
|
+
readonly 'updated_by_user_id': string;
|
|
9596
9645
|
}
|
|
9597
9646
|
|
|
9598
9647
|
interface ProductRestrictionResultDeleted {
|
|
@@ -10847,6 +10896,7 @@ declare namespace io.flow.v0.models {
|
|
|
10847
10896
|
readonly 'shipment_recipient': io.flow.v0.enums.ShipmentRecipient;
|
|
10848
10897
|
readonly 'label_request_method'?: io.flow.v0.enums.LabelRequestMethod;
|
|
10849
10898
|
readonly 'label_trigger_method'?: io.flow.v0.enums.LabelTriggerMethod;
|
|
10899
|
+
readonly 'additional_services_requested'?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
10850
10900
|
readonly 'created_at'?: string;
|
|
10851
10901
|
readonly 'updated_at'?: string;
|
|
10852
10902
|
}
|
|
@@ -12704,6 +12754,7 @@ export const priceDetailComponentKey: PropTypes.Requireable<io.flow.v0.enums.Pri
|
|
|
12704
12754
|
export const priceDetailKey: PropTypes.Requireable<io.flow.v0.enums.PriceDetailKey>;
|
|
12705
12755
|
export const priceFacetBoundary: PropTypes.Requireable<io.flow.v0.enums.PriceFacetBoundary>;
|
|
12706
12756
|
export const pricingLevySetting: PropTypes.Requireable<io.flow.v0.enums.PricingLevySetting>;
|
|
12757
|
+
export const productRestrictionRule: PropTypes.Requireable<io.flow.v0.enums.ProductRestrictionRule>;
|
|
12707
12758
|
export const promotionTriggerType: PropTypes.Requireable<io.flow.v0.enums.PromotionTriggerType>;
|
|
12708
12759
|
export const provinceType: PropTypes.Requireable<io.flow.v0.enums.ProvinceType>;
|
|
12709
12760
|
export const quoteErrorCode: PropTypes.Requireable<io.flow.v0.enums.QuoteErrorCode>;
|
|
@@ -12717,6 +12768,7 @@ export const returnStatus: PropTypes.Requireable<io.flow.v0.enums.ReturnStatus>;
|
|
|
12717
12768
|
export const returnTrackingStatus: PropTypes.Requireable<io.flow.v0.enums.ReturnTrackingStatus>;
|
|
12718
12769
|
export const reversalErrorCode: PropTypes.Requireable<io.flow.v0.enums.ReversalErrorCode>;
|
|
12719
12770
|
export const reversalStatus: PropTypes.Requireable<io.flow.v0.enums.ReversalStatus>;
|
|
12771
|
+
export const reviewStatus: PropTypes.Requireable<io.flow.v0.enums.ReviewStatus>;
|
|
12720
12772
|
export const role: PropTypes.Requireable<io.flow.v0.enums.Role>;
|
|
12721
12773
|
export const roundingMethod: PropTypes.Requireable<io.flow.v0.enums.RoundingMethod>;
|
|
12722
12774
|
export const roundingType: PropTypes.Requireable<io.flow.v0.enums.RoundingType>;
|
|
@@ -12792,6 +12844,7 @@ export const actionUseSdkPaypal: PropTypes.Requireable<io.flow.v0.models.ActionU
|
|
|
12792
12844
|
export const actionUseSdkStripeV3: PropTypes.Requireable<io.flow.v0.models.ActionUseSdkStripeV3>;
|
|
12793
12845
|
export const actionWait: PropTypes.Requireable<io.flow.v0.models.ActionWait>;
|
|
12794
12846
|
export const activationPutForm: PropTypes.Requireable<io.flow.v0.models.ActivationPutForm>;
|
|
12847
|
+
export const additionalServicesRequested: PropTypes.Requireable<io.flow.v0.models.AdditionalServicesRequested>;
|
|
12795
12848
|
export const address: PropTypes.Requireable<io.flow.v0.models.Address>;
|
|
12796
12849
|
export const addressConfiguration: PropTypes.Requireable<io.flow.v0.models.AddressConfiguration>;
|
|
12797
12850
|
export const addressConfigurationFieldPlacement: PropTypes.Requireable<io.flow.v0.models.AddressConfigurationFieldPlacement>;
|
package/src/api.js
CHANGED
|
@@ -1010,11 +1010,23 @@ T['io.flow.stripe.v0.models.card_networks'] = PropTypes.exact({
|
|
|
1010
1010
|
preferred: PropTypes.string,
|
|
1011
1011
|
});
|
|
1012
1012
|
|
|
1013
|
+
T['io.flow.stripe.v0.models.payment_method_options_card_form'] = PropTypes.exact({
|
|
1014
|
+
network: PropTypes.string,
|
|
1015
|
+
request_three_d_secure: T['io.flow.stripe.v0.enums.request_three_d_secure_type'],
|
|
1016
|
+
stored_credential_transaction_type: T['io.flow.stripe.v0.enums.stored_credential_transaction_type'],
|
|
1017
|
+
mcc: PropTypes.string,
|
|
1018
|
+
});
|
|
1019
|
+
|
|
1020
|
+
T['io.flow.stripe.v0.models.payment_method_options_form'] = PropTypes.exact({
|
|
1021
|
+
card: T['io.flow.stripe.v0.models.payment_method_options_card_form'],
|
|
1022
|
+
});
|
|
1023
|
+
|
|
1013
1024
|
T['io.flow.stripe.v0.models.payment_method_options_card'] = PropTypes.exact({
|
|
1014
1025
|
network: PropTypes.string,
|
|
1015
1026
|
request_three_d_secure: T['io.flow.stripe.v0.enums.request_three_d_secure_type'],
|
|
1016
1027
|
stored_credential_transaction_type: T['io.flow.stripe.v0.enums.stored_credential_transaction_type'],
|
|
1017
1028
|
mcc: PropTypes.string,
|
|
1029
|
+
capture_before: PropTypes.number,
|
|
1018
1030
|
});
|
|
1019
1031
|
|
|
1020
1032
|
T['io.flow.stripe.v0.enums.payment_intent_status'] = PropTypes.oneOf([
|
|
@@ -1135,7 +1147,7 @@ T['io.flow.stripe.v0.models.payment_intent_confirmation_form'] = PropTypes.exact
|
|
|
1135
1147
|
off_session: PropTypes.bool,
|
|
1136
1148
|
payment_method: PropTypes.string,
|
|
1137
1149
|
payment_method_data: T['io.flow.stripe.v0.unions.payment_method_data'],
|
|
1138
|
-
payment_method_options: T['io.flow.stripe.v0.models.
|
|
1150
|
+
payment_method_options: T['io.flow.stripe.v0.models.payment_method_options_form'],
|
|
1139
1151
|
payment_method_types: PropTypes.arrayOf(PropTypes.string),
|
|
1140
1152
|
receipt_email: PropTypes.string,
|
|
1141
1153
|
save_payment_method: PropTypes.bool,
|
|
@@ -1199,6 +1211,27 @@ T['io.flow.stripe.v0.models.klarna_attachment'] = PropTypes.exact({
|
|
|
1199
1211
|
marketplace_seller_info: PropTypes.arrayOf(T['io.flow.stripe.v0.models.klarna_marketplace_seller_info']),
|
|
1200
1212
|
});
|
|
1201
1213
|
|
|
1214
|
+
T['io.flow.stripe.v0.enums.feature_availability'] = PropTypes.oneOf(['available', 'unavailable']);
|
|
1215
|
+
|
|
1216
|
+
T['io.flow.stripe.v0.models.overcapture'] = PropTypes.exact({
|
|
1217
|
+
maximum_amount_capturable: PropTypes.number,
|
|
1218
|
+
status: T['io.flow.stripe.v0.enums.feature_availability'],
|
|
1219
|
+
});
|
|
1220
|
+
|
|
1221
|
+
T['io.flow.stripe.v0.models.multicapture'] = PropTypes.exact({
|
|
1222
|
+
status: T['io.flow.stripe.v0.enums.feature_availability'],
|
|
1223
|
+
});
|
|
1224
|
+
|
|
1225
|
+
T['io.flow.stripe.v0.models.incremental_authorization'] = PropTypes.exact({
|
|
1226
|
+
status: T['io.flow.stripe.v0.enums.feature_availability'],
|
|
1227
|
+
});
|
|
1228
|
+
|
|
1229
|
+
T['io.flow.stripe.v0.enums.extended_authorization_status'] = PropTypes.oneOf(['enabled', 'disabled']);
|
|
1230
|
+
|
|
1231
|
+
T['io.flow.stripe.v0.models.extended_authorization'] = PropTypes.exact({
|
|
1232
|
+
status: T['io.flow.stripe.v0.enums.extended_authorization_status'],
|
|
1233
|
+
});
|
|
1234
|
+
|
|
1202
1235
|
T['io.flow.stripe.v0.enums.decline_code'] = PropTypes.oneOf([
|
|
1203
1236
|
'approve_with_id',
|
|
1204
1237
|
'call_issuer',
|
|
@@ -1243,6 +1276,9 @@ T['io.flow.stripe.v0.enums.decline_code'] = PropTypes.oneOf([
|
|
|
1243
1276
|
'transaction_not_allowed',
|
|
1244
1277
|
'try_again_later',
|
|
1245
1278
|
'withdrawal_count_limit_exceeded',
|
|
1279
|
+
'previously_declined_do_not_retry',
|
|
1280
|
+
'highest_risk_level',
|
|
1281
|
+
'requested_block_on_incorrect_cvc',
|
|
1246
1282
|
]);
|
|
1247
1283
|
|
|
1248
1284
|
T['io.flow.stripe.v0.enums.error_type'] = PropTypes.oneOf([
|
|
@@ -1319,7 +1355,7 @@ T['io.flow.stripe.v0.models.payment_intent_form'] = PropTypes.exact({
|
|
|
1319
1355
|
on_behalf_of: PropTypes.string,
|
|
1320
1356
|
payment_method: PropTypes.string,
|
|
1321
1357
|
payment_method_data: T['io.flow.stripe.v0.unions.payment_method_data'],
|
|
1322
|
-
payment_method_options: T['io.flow.stripe.v0.models.
|
|
1358
|
+
payment_method_options: T['io.flow.stripe.v0.models.payment_method_options_form'],
|
|
1323
1359
|
payment_method_types: PropTypes.arrayOf(PropTypes.string),
|
|
1324
1360
|
receipt_email: PropTypes.string,
|
|
1325
1361
|
return_url: PropTypes.string,
|
|
@@ -1650,6 +1686,10 @@ T['io.flow.stripe.v0.models.payment_method_details_card_information'] = PropType
|
|
|
1650
1686
|
issuer: PropTypes.string,
|
|
1651
1687
|
wallet: T['io.flow.stripe.v0.unions.card_wallet'],
|
|
1652
1688
|
network_transaction_id: PropTypes.string,
|
|
1689
|
+
extended_authorization: T['io.flow.stripe.v0.models.extended_authorization'],
|
|
1690
|
+
incremental_authorization: T['io.flow.stripe.v0.models.incremental_authorization'],
|
|
1691
|
+
multicapture: T['io.flow.stripe.v0.models.multicapture'],
|
|
1692
|
+
overcapture: T['io.flow.stripe.v0.models.overcapture'],
|
|
1653
1693
|
});
|
|
1654
1694
|
|
|
1655
1695
|
T['io.flow.stripe.v0.models.payment_method_details_card'] = PropTypes.exact({
|
|
@@ -1722,6 +1762,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
|
|
|
1722
1762
|
amount_refunded: PropTypes.number.isRequired,
|
|
1723
1763
|
authorization_code: PropTypes.string,
|
|
1724
1764
|
captured: PropTypes.bool.isRequired,
|
|
1765
|
+
disputed: PropTypes.bool,
|
|
1725
1766
|
created: PropTypes.number.isRequired,
|
|
1726
1767
|
currency: PropTypes.string.isRequired,
|
|
1727
1768
|
customer: PropTypes.string,
|
|
@@ -1745,6 +1786,7 @@ T['io.flow.stripe.v0.models.charge_source_optional'] = PropTypes.exact({
|
|
|
1745
1786
|
calculated_statement_descriptor: PropTypes.string,
|
|
1746
1787
|
statement_descriptor: PropTypes.string,
|
|
1747
1788
|
payment_method_details: T['io.flow.stripe.v0.unions.payment_method_details'],
|
|
1789
|
+
payment_method: PropTypes.string,
|
|
1748
1790
|
});
|
|
1749
1791
|
|
|
1750
1792
|
T['io.flow.stripe.v0.models.payment_intent_charges'] = PropTypes.exact({
|
|
@@ -1818,6 +1860,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
|
1818
1860
|
currency: PropTypes.string.isRequired,
|
|
1819
1861
|
customer: PropTypes.string,
|
|
1820
1862
|
outcome: T['io.flow.stripe.v0.models.payment_outcome'],
|
|
1863
|
+
disputed: PropTypes.bool,
|
|
1821
1864
|
paid: PropTypes.bool.isRequired,
|
|
1822
1865
|
refunded: PropTypes.bool.isRequired,
|
|
1823
1866
|
refunds: T['io.flow.stripe.v0.models.refunds'],
|
|
@@ -1837,6 +1880,7 @@ T['io.flow.stripe.v0.models.charge'] = PropTypes.exact({
|
|
|
1837
1880
|
calculated_statement_descriptor: PropTypes.string,
|
|
1838
1881
|
statement_descriptor: PropTypes.string,
|
|
1839
1882
|
payment_method_details: T['io.flow.stripe.v0.unions.payment_method_details'],
|
|
1883
|
+
payment_method: PropTypes.string,
|
|
1840
1884
|
});
|
|
1841
1885
|
|
|
1842
1886
|
T['io.flow.stripe.v0.enums.account_type'] = PropTypes.oneOf(['platform', 'custom', 'standard', 'express']);
|
|
@@ -3652,11 +3696,48 @@ T['io.flow.v0.models.query_filter_structured'] = PropTypes.exact({
|
|
|
3652
3696
|
values: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
3653
3697
|
});
|
|
3654
3698
|
|
|
3699
|
+
T['io.flow.v0.enums.product_restriction_rule'] = PropTypes.oneOf([
|
|
3700
|
+
'Adult Products',
|
|
3701
|
+
'Alcohol',
|
|
3702
|
+
'Anti Money Laundering',
|
|
3703
|
+
'Collagen',
|
|
3704
|
+
'Consumer Safety',
|
|
3705
|
+
'Cosmetics',
|
|
3706
|
+
'DG - Batteries',
|
|
3707
|
+
'DG - Hazmat',
|
|
3708
|
+
'Drugs',
|
|
3709
|
+
'Dual Use',
|
|
3710
|
+
'Fine Art',
|
|
3711
|
+
'Fish & Wildlife - CITES',
|
|
3712
|
+
'Fish & Wildlife - Plant',
|
|
3713
|
+
'Fish & Wildlife - USFWS',
|
|
3714
|
+
'Food',
|
|
3715
|
+
'Gambling',
|
|
3716
|
+
'Health',
|
|
3717
|
+
'Human hair',
|
|
3718
|
+
'Insufficient Details',
|
|
3719
|
+
'Intangible',
|
|
3720
|
+
'Jewelry',
|
|
3721
|
+
'Jewelry & Watches Over 5000',
|
|
3722
|
+
'Knives',
|
|
3723
|
+
'Liquids',
|
|
3724
|
+
'Oversized',
|
|
3725
|
+
'Supplements',
|
|
3726
|
+
'Weapon',
|
|
3727
|
+
'Wood',
|
|
3728
|
+
'unknown',
|
|
3729
|
+
]);
|
|
3730
|
+
|
|
3731
|
+
T['io.flow.v0.enums.review_status'] = PropTypes.oneOf(['high_risk_in_review', 'low_risk_in_review', 'reviewed']);
|
|
3732
|
+
|
|
3655
3733
|
T['io.flow.v0.models.product_restriction_result'] = PropTypes.exact({
|
|
3656
3734
|
id: PropTypes.string.isRequired,
|
|
3657
3735
|
product_id: PropTypes.string.isRequired,
|
|
3658
3736
|
item_numbers: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
3659
3737
|
prohibited_regions: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
3738
|
+
review_status: T['io.flow.v0.enums.review_status'].isRequired,
|
|
3739
|
+
rules: PropTypes.arrayOf(T['io.flow.v0.enums.product_restriction_rule']).isRequired,
|
|
3740
|
+
updated_by_user_id: PropTypes.string.isRequired,
|
|
3660
3741
|
});
|
|
3661
3742
|
|
|
3662
3743
|
T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({
|
|
@@ -4953,6 +5034,11 @@ T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'] = PropTypes.exa
|
|
|
4953
5034
|
surcharges: PropTypes.arrayOf(T['io.flow.v0.models.label_surcharge']).isRequired,
|
|
4954
5035
|
});
|
|
4955
5036
|
|
|
5037
|
+
T['io.flow.v0.models.additional_services_requested'] = PropTypes.exact({
|
|
5038
|
+
name: PropTypes.string.isRequired,
|
|
5039
|
+
description: PropTypes.string,
|
|
5040
|
+
});
|
|
5041
|
+
|
|
4956
5042
|
T['io.flow.v0.enums.label_trigger_method'] = PropTypes.oneOf(['autogenerated', 'on_demand']);
|
|
4957
5043
|
|
|
4958
5044
|
T['io.flow.v0.enums.label_request_method'] = PropTypes.oneOf([
|
|
@@ -12941,6 +13027,7 @@ T['io.flow.v0.models.shipping_label'] = PropTypes.exact({
|
|
|
12941
13027
|
shipment_recipient: T['io.flow.v0.enums.shipment_recipient'].isRequired,
|
|
12942
13028
|
label_request_method: T['io.flow.v0.enums.label_request_method'],
|
|
12943
13029
|
label_trigger_method: T['io.flow.v0.enums.label_trigger_method'],
|
|
13030
|
+
additional_services_requested: PropTypes.arrayOf(T['io.flow.v0.models.additional_services_requested']),
|
|
12944
13031
|
created_at: PropTypes.string,
|
|
12945
13032
|
updated_at: PropTypes.string,
|
|
12946
13033
|
});
|
|
@@ -14571,6 +14658,7 @@ export const actionUseSdkPaypal = T['io.flow.v0.models.action_use_sdk_paypal'];
|
|
|
14571
14658
|
export const actionUseSdkStripeV3 = T['io.flow.v0.models.action_use_sdk_stripe_v3'];
|
|
14572
14659
|
export const actionWait = T['io.flow.v0.models.action_wait'];
|
|
14573
14660
|
export const activationPutForm = T['io.flow.v0.models.activation_put_form'];
|
|
14661
|
+
export const additionalServicesRequested = T['io.flow.v0.models.additional_services_requested'];
|
|
14574
14662
|
export const address = T['io.flow.v0.models.address'];
|
|
14575
14663
|
export const addressConfiguration = T['io.flow.v0.models.address_configuration'];
|
|
14576
14664
|
export const addressConfigurationFieldPlacement = T['io.flow.v0.models.address_configuration_field_placement'];
|
|
@@ -15817,6 +15905,7 @@ export const processingEstimate = T['io.flow.v0.models.processing_estimate'];
|
|
|
15817
15905
|
export const productRestrictionResult = T['io.flow.v0.models.product_restriction_result'];
|
|
15818
15906
|
export const productRestrictionResultDeleted = T['io.flow.v0.models.product_restriction_result_deleted'];
|
|
15819
15907
|
export const productRestrictionResultUpserted = T['io.flow.v0.models.product_restriction_result_upserted'];
|
|
15908
|
+
export const productRestrictionRule = T['io.flow.v0.enums.product_restriction_rule'];
|
|
15820
15909
|
export const promotion = T['io.flow.v0.unions.promotion'];
|
|
15821
15910
|
export const promotionTrigger = T['io.flow.v0.models.promotion_trigger'];
|
|
15822
15911
|
export const promotionTriggerForm = T['io.flow.v0.models.promotion_trigger_form'];
|
|
@@ -15955,6 +16044,7 @@ export const reversalPutForm = T['io.flow.v0.models.reversal_put_form'];
|
|
|
15955
16044
|
export const reversalStatus = T['io.flow.v0.enums.reversal_status'];
|
|
15956
16045
|
export const reversalUpserted = T['io.flow.v0.models.reversal_upserted'];
|
|
15957
16046
|
export const reversalVersion = T['io.flow.v0.models.reversal_version'];
|
|
16047
|
+
export const reviewStatus = T['io.flow.v0.enums.review_status'];
|
|
15958
16048
|
export const role = T['io.flow.v0.enums.role'];
|
|
15959
16049
|
export const romanization = T['io.flow.v0.models.romanization'];
|
|
15960
16050
|
export const romanizationForm = T['io.flow.v0.models.romanization_form'];
|