@flowio/api-prop-types 10.16.61 → 10.16.62
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 +49 -3
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +49 -3
- package/src/api.js +53 -2
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.
|
|
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 {
|
|
@@ -2436,6 +2475,11 @@ declare namespace io.flow.v0.models {
|
|
|
2436
2475
|
readonly 'placeholder'?: boolean;
|
|
2437
2476
|
}
|
|
2438
2477
|
|
|
2478
|
+
interface AdditionalServicesRequested {
|
|
2479
|
+
readonly 'name': string;
|
|
2480
|
+
readonly 'description'?: string;
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2439
2483
|
interface Address {
|
|
2440
2484
|
readonly 'text'?: string;
|
|
2441
2485
|
readonly 'streets'?: string[];
|
|
@@ -10847,6 +10891,7 @@ declare namespace io.flow.v0.models {
|
|
|
10847
10891
|
readonly 'shipment_recipient': io.flow.v0.enums.ShipmentRecipient;
|
|
10848
10892
|
readonly 'label_request_method'?: io.flow.v0.enums.LabelRequestMethod;
|
|
10849
10893
|
readonly 'label_trigger_method'?: io.flow.v0.enums.LabelTriggerMethod;
|
|
10894
|
+
readonly 'additional_services_requested'?: io.flow.v0.models.AdditionalServicesRequested[];
|
|
10850
10895
|
readonly 'created_at'?: string;
|
|
10851
10896
|
readonly 'updated_at'?: string;
|
|
10852
10897
|
}
|
|
@@ -12792,6 +12837,7 @@ export const actionUseSdkPaypal: PropTypes.Requireable<io.flow.v0.models.ActionU
|
|
|
12792
12837
|
export const actionUseSdkStripeV3: PropTypes.Requireable<io.flow.v0.models.ActionUseSdkStripeV3>;
|
|
12793
12838
|
export const actionWait: PropTypes.Requireable<io.flow.v0.models.ActionWait>;
|
|
12794
12839
|
export const activationPutForm: PropTypes.Requireable<io.flow.v0.models.ActivationPutForm>;
|
|
12840
|
+
export const additionalServicesRequested: PropTypes.Requireable<io.flow.v0.models.AdditionalServicesRequested>;
|
|
12795
12841
|
export const address: PropTypes.Requireable<io.flow.v0.models.Address>;
|
|
12796
12842
|
export const addressConfiguration: PropTypes.Requireable<io.flow.v0.models.AddressConfiguration>;
|
|
12797
12843
|
export const addressConfigurationFieldPlacement: PropTypes.Requireable<io.flow.v0.models.AddressConfigurationFieldPlacement>;
|