@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 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.PaymentMethodOptions;
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.PaymentMethodOptions;
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>;