@flowio/api-internal-prop-types 9.24.77 → 9.24.78

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.
@@ -2317,10 +2317,12 @@ declare namespace io.flow.stripe.v0.enums {
2317
2317
  type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked';
2318
2318
  type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
2319
2319
  type ConfirmationMethod = 'automatic' | 'manual';
2320
- 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';
2320
+ 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';
2321
2321
  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';
2322
2322
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
2323
2323
  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';
2324
+ type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
2325
+ type FeatureAvailability = 'available' | 'unavailable';
2324
2326
  type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
2325
2327
  type KlarnaProduct = 'payment';
2326
2328
  type NetworkStatus = 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval';
@@ -2468,6 +2470,7 @@ declare namespace io.flow.stripe.v0.models {
2468
2470
  readonly 'currency': string;
2469
2471
  readonly 'customer'?: string;
2470
2472
  readonly 'outcome'?: io.flow.stripe.v0.models.PaymentOutcome;
2473
+ readonly 'disputed'?: boolean;
2471
2474
  readonly 'paid': boolean;
2472
2475
  readonly 'refunded': boolean;
2473
2476
  readonly 'refunds'?: io.flow.stripe.v0.models.Refunds;
@@ -2487,6 +2490,7 @@ declare namespace io.flow.stripe.v0.models {
2487
2490
  readonly 'calculated_statement_descriptor'?: string;
2488
2491
  readonly 'statement_descriptor'?: string;
2489
2492
  readonly 'payment_method_details'?: io.flow.stripe.v0.unions.PaymentMethodDetails;
2493
+ readonly 'payment_method'?: string;
2490
2494
  }
2491
2495
 
2492
2496
  interface ChargeDestination {
@@ -2515,6 +2519,7 @@ declare namespace io.flow.stripe.v0.models {
2515
2519
  readonly 'amount_refunded': number;
2516
2520
  readonly 'authorization_code'?: string;
2517
2521
  readonly 'captured': boolean;
2522
+ readonly 'disputed'?: boolean;
2518
2523
  readonly 'created': number;
2519
2524
  readonly 'currency': string;
2520
2525
  readonly 'customer'?: string;
@@ -2538,6 +2543,7 @@ declare namespace io.flow.stripe.v0.models {
2538
2543
  readonly 'calculated_statement_descriptor'?: string;
2539
2544
  readonly 'statement_descriptor'?: string;
2540
2545
  readonly 'payment_method_details'?: io.flow.stripe.v0.unions.PaymentMethodDetails;
2546
+ readonly 'payment_method'?: string;
2541
2547
  }
2542
2548
 
2543
2549
  interface CodeVerification {
@@ -2565,6 +2571,14 @@ declare namespace io.flow.stripe.v0.models {
2565
2571
  readonly 'error': io.flow.stripe.v0.models.StripeError;
2566
2572
  }
2567
2573
 
2574
+ interface ExtendedAuthorization {
2575
+ readonly 'status'?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus;
2576
+ }
2577
+
2578
+ interface IncrementalAuthorization {
2579
+ readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
2580
+ }
2581
+
2568
2582
  interface Keys {
2569
2583
  readonly 'secret'?: string;
2570
2584
  readonly 'publishable'?: string;
@@ -2604,6 +2618,10 @@ declare namespace io.flow.stripe.v0.models {
2604
2618
  readonly 'payment_request_order_reference'?: string;
2605
2619
  }
2606
2620
 
2621
+ interface Multicapture {
2622
+ readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
2623
+ }
2624
+
2607
2625
  interface NetworkTokenUsed {
2608
2626
  readonly 'used'?: boolean;
2609
2627
  }
@@ -2651,6 +2669,11 @@ declare namespace io.flow.stripe.v0.models {
2651
2669
  readonly 'shipping'?: io.flow.stripe.v0.models.Shipping;
2652
2670
  }
2653
2671
 
2672
+ interface Overcapture {
2673
+ readonly 'maximum_amount_capturable'?: number;
2674
+ readonly 'status'?: io.flow.stripe.v0.enums.FeatureAvailability;
2675
+ }
2676
+
2654
2677
  interface Owner {
2655
2678
  readonly 'address'?: io.flow.stripe.v0.models.Address;
2656
2679
  readonly 'email'?: string;
@@ -2724,7 +2747,7 @@ declare namespace io.flow.stripe.v0.models {
2724
2747
  readonly 'off_session'?: boolean;
2725
2748
  readonly 'payment_method'?: string;
2726
2749
  readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
2727
- readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
2750
+ readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
2728
2751
  readonly 'payment_method_types'?: string[];
2729
2752
  readonly 'receipt_email'?: string;
2730
2753
  readonly 'save_payment_method'?: boolean;
@@ -2745,7 +2768,7 @@ declare namespace io.flow.stripe.v0.models {
2745
2768
  readonly 'on_behalf_of'?: string;
2746
2769
  readonly 'payment_method'?: string;
2747
2770
  readonly 'payment_method_data'?: io.flow.stripe.v0.unions.PaymentMethodData;
2748
- readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptions;
2771
+ readonly 'payment_method_options'?: io.flow.stripe.v0.models.PaymentMethodOptionsForm;
2749
2772
  readonly 'payment_method_types'?: string[];
2750
2773
  readonly 'receipt_email'?: string;
2751
2774
  readonly 'return_url'?: string;
@@ -2851,6 +2874,10 @@ declare namespace io.flow.stripe.v0.models {
2851
2874
  readonly 'issuer'?: string;
2852
2875
  readonly 'wallet'?: io.flow.stripe.v0.unions.CardWallet;
2853
2876
  readonly 'network_transaction_id'?: string;
2877
+ readonly 'extended_authorization'?: io.flow.stripe.v0.models.ExtendedAuthorization;
2878
+ readonly 'incremental_authorization'?: io.flow.stripe.v0.models.IncrementalAuthorization;
2879
+ readonly 'multicapture'?: io.flow.stripe.v0.models.Multicapture;
2880
+ readonly 'overcapture'?: io.flow.stripe.v0.models.Overcapture;
2854
2881
  }
2855
2882
 
2856
2883
  interface PaymentMethodDetailsKlarna {
@@ -2879,6 +2906,18 @@ declare namespace io.flow.stripe.v0.models {
2879
2906
  readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
2880
2907
  readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
2881
2908
  readonly 'mcc'?: string;
2909
+ readonly 'capture_before'?: number;
2910
+ }
2911
+
2912
+ interface PaymentMethodOptionsCardForm {
2913
+ readonly 'network'?: string;
2914
+ readonly 'request_three_d_secure'?: io.flow.stripe.v0.enums.RequestThreeDSecureType;
2915
+ readonly 'stored_credential_transaction_type'?: io.flow.stripe.v0.enums.StoredCredentialTransactionType;
2916
+ readonly 'mcc'?: string;
2917
+ }
2918
+
2919
+ interface PaymentMethodOptionsForm {
2920
+ readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
2882
2921
  }
2883
2922
 
2884
2923
  interface PaymentOutcome {
@@ -16045,6 +16084,7 @@ declare namespace io.flow.internal.v0.enums {
16045
16084
  type OrganizationPaymentStatus = 'active' | 'archived';
16046
16085
  type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready';
16047
16086
  type OrganizationRestrictionNoteType = 'internal' | 'rejection_reason' | 'additional_rejection_info';
16087
+ type OrganizationRestrictionReviewType = 'all_pending' | 'pending_verification';
16048
16088
  type OrganizationRestrictionRiskLevel = '5' | '15';
16049
16089
  type OrganizationRestrictionScreeningStatus = 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened';
16050
16090
  type OutputStyle = 'flow' | 'shopify_p1';
@@ -17886,6 +17926,7 @@ declare namespace io.flow.internal.v0.models {
17886
17926
  readonly 'flow_tracking_status'?: io.flow.tracking.v0.enums.TrackingStatus;
17887
17927
  readonly 'order_items': io.flow.experience.v0.models.LocalizedLineItem[];
17888
17928
  readonly 'label_items': io.flow.experience.v0.models.LocalizedLineItem[];
17929
+ readonly 'carrier'?: io.flow.reference.v0.models.CarrierService;
17889
17930
  readonly 'tracking_numbers'?: string[];
17890
17931
  }
17891
17932
 
@@ -25734,6 +25775,7 @@ declare namespace io.flow.internal.v0.models {
25734
25775
  readonly 'organization_id': string;
25735
25776
  readonly 'approval_status': io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
25736
25777
  readonly 'screening_status': io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
25778
+ readonly 'review_type'?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
25737
25779
  readonly 'risk_level'?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
25738
25780
  readonly 'hs_code'?: string;
25739
25781
  readonly 'merchant_category_code'?: string;
@@ -27184,6 +27226,7 @@ declare namespace io.flow.internal.v0.models {
27184
27226
  readonly 'url'?: string;
27185
27227
  readonly 'approval_status'?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
27186
27228
  readonly 'screening_status'?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
27229
+ readonly 'review_type'?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType;
27187
27230
  readonly 'risk_level'?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
27188
27231
  readonly 'hs_code'?: string;
27189
27232
  readonly 'merchant_category_code'?: string;
@@ -29697,6 +29740,7 @@ export const organizationMetricType: PropTypes.Requireable<io.flow.internal.v0.e
29697
29740
  export const organizationPaymentStatus: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationPaymentStatus>;
29698
29741
  export const organizationRestrictionApprovalStatus: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus>;
29699
29742
  export const organizationRestrictionNoteType: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionNoteType>;
29743
+ export const organizationRestrictionReviewType: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionReviewType>;
29700
29744
  export const organizationRestrictionRiskLevel: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel>;
29701
29745
  export const organizationRestrictionScreeningStatus: PropTypes.Requireable<io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus>;
29702
29746
  export const outputStyle: PropTypes.Requireable<io.flow.internal.v0.enums.OutputStyle>;