@flowio/api-prop-types 10.16.77 → 10.16.79
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 +198 -9
- package/lib/api.js +1 -1
- package/package.json +2 -2
- package/src/api.d.ts +198 -9
- package/src/api.js +285 -7
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.79",
|
|
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": "e2172791ebb0708545e2d68100656b52120f50e4"
|
|
33
33
|
}
|
package/src/api.d.ts
CHANGED
|
@@ -153,6 +153,8 @@ declare namespace io.flow.google.pay.v0.unions {
|
|
|
153
153
|
declare namespace io.flow.stripe.v0.enums {
|
|
154
154
|
type AccountType = 'platform' | 'custom' | 'standard' | 'express';
|
|
155
155
|
type ApplePayType = 'apple_pay' | 'apple_pay_later';
|
|
156
|
+
type BankIdeal = 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
|
|
157
|
+
type BicIdeal = 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
156
158
|
type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
|
|
157
159
|
type CaptureMethod = 'automatic' | 'manual';
|
|
158
160
|
type CardBrand = 'American Express' | 'MasterCard' | 'Discover' | 'JCB' | 'Diners Club' | 'Unknown';
|
|
@@ -162,9 +164,14 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
162
164
|
type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
|
|
163
165
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
164
166
|
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';
|
|
167
|
+
type DisputeEventType = 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated';
|
|
168
|
+
type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
|
|
169
|
+
type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal';
|
|
170
|
+
type DisputeReason = 'bank_cannot_process' | 'check_returned' | 'credit_not_processed' | 'customer_initiated' | 'debit_not_authorized' | 'duplicate' | 'fraudulent' | 'general' | 'incorrect_account_details' | 'insufficient_funds' | 'product_not_received' | 'product_unacceptable' | 'subscription_canceled' | 'unrecognized';
|
|
171
|
+
type DisputeStatus = 'warning_needs_response' | 'warning_under_review' | 'warning_closed' | 'needs_response' | 'under_review' | 'won' | 'lost';
|
|
165
172
|
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
173
|
type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
|
|
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';
|
|
174
|
+
type EventType = 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.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
175
|
type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
|
|
169
176
|
type FeatureAvailability = 'available' | 'unavailable';
|
|
170
177
|
type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
|
|
@@ -174,9 +181,10 @@ declare namespace io.flow.stripe.v0.enums {
|
|
|
174
181
|
type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
|
|
175
182
|
type PaymentIntentStatus = 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
|
|
176
183
|
type PaymentMethodCategoryKlarna = 'pay_later' | 'pay_now' | 'pay_with_financing' | 'pay_in_installments';
|
|
177
|
-
type PaymentMethodType = 'card' | 'card_present' | 'klarna';
|
|
184
|
+
type PaymentMethodType = 'card' | 'card_present' | 'ideal' | 'klarna' | 'bancontact';
|
|
178
185
|
type PaymentOutcomeType = 'authorized' | 'manual_review' | 'issuer_declined' | 'blocked' | 'invalid';
|
|
179
186
|
type PaymentStatus = 'succeeded' | 'pending' | 'failed';
|
|
187
|
+
type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
|
|
180
188
|
type PreferredLocaleKlarna = 'de-AT' | 'en-AT' | 'nl-BE' | 'fr-BE' | 'en-BE' | 'de-DE' | 'en-DE' | 'da-DK' | 'en-DK' | 'es-ES' | 'en-ES' | 'fi-FI' | 'sv-FI' | 'en-FI' | 'en-GB' | 'en-IE' | 'it-IT' | 'en-IT' | 'nl-NL' | 'en-NL' | 'nb-NO' | 'en-NO' | 'sv-SE' | 'en-SE' | 'en-US' | 'es-US' | 'fr-FR' | 'en-FR' | 'cs-CZ' | 'en-CZ' | 'el-GR' | 'en-GR' | 'en-AU' | 'en-NZ' | 'en-CA' | 'fr-CA' | 'pl-PL' | 'en-PL' | 'pt-PT' | 'en-PT' | 'de-CH' | 'fr-CH' | 'it-CH' | 'en-CH';
|
|
181
189
|
type RefundFailureReason = 'lost_or_stolen_card' | 'expired_or_canceled_card' | 'unknown';
|
|
182
190
|
type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
|
|
@@ -411,6 +419,54 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
411
419
|
readonly 'description'?: string;
|
|
412
420
|
}
|
|
413
421
|
|
|
422
|
+
interface Dispute {
|
|
423
|
+
readonly 'id': string;
|
|
424
|
+
readonly 'amount': number;
|
|
425
|
+
readonly 'charge': string;
|
|
426
|
+
readonly 'currency': string;
|
|
427
|
+
readonly 'evidence': any/*object*/;
|
|
428
|
+
readonly 'metadata': Record<string, string>;
|
|
429
|
+
readonly 'payment_intent'?: string;
|
|
430
|
+
readonly 'reason': io.flow.stripe.v0.enums.DisputeReason;
|
|
431
|
+
readonly 'status': io.flow.stripe.v0.enums.DisputeStatus;
|
|
432
|
+
readonly 'object': string;
|
|
433
|
+
readonly 'balance_transactions': any/*object*/[];
|
|
434
|
+
readonly 'created': number;
|
|
435
|
+
readonly 'evidence_details': io.flow.stripe.v0.models.DisputeEvidenceDetails;
|
|
436
|
+
readonly 'is_charge_refundable': boolean;
|
|
437
|
+
readonly 'livemode': boolean;
|
|
438
|
+
readonly 'payment_method_details'?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
interface DisputeEvidenceDetails {
|
|
442
|
+
readonly 'due_by'?: number;
|
|
443
|
+
readonly 'has_evidence': boolean;
|
|
444
|
+
readonly 'past_due': boolean;
|
|
445
|
+
readonly 'submission_count': number;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
interface DisputePaymentMethodDetails {
|
|
449
|
+
readonly 'card'?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard;
|
|
450
|
+
readonly 'klarna'?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna;
|
|
451
|
+
readonly 'paypal'?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal;
|
|
452
|
+
readonly 'type': io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
interface DisputePaymentMethodDetailsCard {
|
|
456
|
+
readonly 'brand': string;
|
|
457
|
+
readonly 'case_type'?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
|
|
458
|
+
readonly 'network_reason_code'?: string;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
interface DisputePaymentMethodDetailsKlarna {
|
|
462
|
+
readonly 'reason_code'?: string;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
interface DisputePaymentMethodDetailsPaypal {
|
|
466
|
+
readonly 'case_id'?: string;
|
|
467
|
+
readonly 'reason_code'?: string;
|
|
468
|
+
}
|
|
469
|
+
|
|
414
470
|
interface Error {
|
|
415
471
|
readonly 'error': io.flow.stripe.v0.models.StripeError;
|
|
416
472
|
}
|
|
@@ -667,8 +723,10 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
667
723
|
readonly 'id': string;
|
|
668
724
|
readonly 'object': string;
|
|
669
725
|
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
726
|
+
readonly 'bancontact'?: any/*object*/;
|
|
670
727
|
readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
|
|
671
728
|
readonly 'card_present'?: any/*object*/;
|
|
729
|
+
readonly 'ideal'?: any/*object*/;
|
|
672
730
|
readonly 'klarna'?: any/*object*/;
|
|
673
731
|
readonly 'created': number;
|
|
674
732
|
readonly 'customer'?: string;
|
|
@@ -703,6 +761,12 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
703
761
|
readonly 'cvc'?: string;
|
|
704
762
|
}
|
|
705
763
|
|
|
764
|
+
interface PaymentMethodDataBancontact {
|
|
765
|
+
readonly 'type': 'bancontact';
|
|
766
|
+
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
767
|
+
readonly 'metadata'?: any/*object*/;
|
|
768
|
+
}
|
|
769
|
+
|
|
706
770
|
interface PaymentMethodDataCard {
|
|
707
771
|
readonly 'type': 'card';
|
|
708
772
|
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
@@ -710,6 +774,13 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
710
774
|
readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
711
775
|
}
|
|
712
776
|
|
|
777
|
+
interface PaymentMethodDataIdeal {
|
|
778
|
+
readonly 'type': 'ideal';
|
|
779
|
+
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
780
|
+
readonly 'metadata'?: any/*object*/;
|
|
781
|
+
readonly 'ideal': io.flow.stripe.v0.models.PaymentMethodIdealForm;
|
|
782
|
+
}
|
|
783
|
+
|
|
713
784
|
interface PaymentMethodDataKlarna {
|
|
714
785
|
readonly 'type': 'klarna';
|
|
715
786
|
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
@@ -717,6 +788,22 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
717
788
|
readonly 'klarna': io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
|
|
718
789
|
}
|
|
719
790
|
|
|
791
|
+
interface PaymentMethodDetailsBancontact {
|
|
792
|
+
readonly 'type': 'bancontact';
|
|
793
|
+
readonly 'bancontact': io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation;
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
interface PaymentMethodDetailsBancontactInformation {
|
|
797
|
+
readonly 'bank_code'?: string;
|
|
798
|
+
readonly 'bank_name'?: string;
|
|
799
|
+
readonly 'bic'?: string;
|
|
800
|
+
readonly 'generated_sepa_debit'?: string;
|
|
801
|
+
readonly 'generated_sepa_debit_mandate'?: string;
|
|
802
|
+
readonly 'iban_last4'?: string;
|
|
803
|
+
readonly 'preferred_language'?: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
804
|
+
readonly 'verified_name'?: string;
|
|
805
|
+
}
|
|
806
|
+
|
|
720
807
|
interface PaymentMethodDetailsCard {
|
|
721
808
|
readonly 'type': 'card';
|
|
722
809
|
readonly 'card': io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
|
|
@@ -748,6 +835,20 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
748
835
|
readonly 'overcapture'?: io.flow.stripe.v0.models.Overcapture;
|
|
749
836
|
}
|
|
750
837
|
|
|
838
|
+
interface PaymentMethodDetailsIdeal {
|
|
839
|
+
readonly 'type': 'ideal';
|
|
840
|
+
readonly 'ideal': io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
interface PaymentMethodDetailsIdealInformation {
|
|
844
|
+
readonly 'bank'?: io.flow.stripe.v0.enums.BankIdeal;
|
|
845
|
+
readonly 'bic'?: io.flow.stripe.v0.enums.BicIdeal;
|
|
846
|
+
readonly 'generated_sepa_debit'?: string;
|
|
847
|
+
readonly 'generated_sepa_debit_mandate'?: string;
|
|
848
|
+
readonly 'iban_last4'?: string;
|
|
849
|
+
readonly 'verified_name'?: string;
|
|
850
|
+
}
|
|
851
|
+
|
|
751
852
|
interface PaymentMethodDetailsKlarna {
|
|
752
853
|
readonly 'type': 'klarna';
|
|
753
854
|
readonly 'klarna': io.flow.stripe.v0.models.PaymentMethodDetailsKlarnaInformation;
|
|
@@ -758,6 +859,13 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
758
859
|
readonly 'preferred_locale'?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
|
|
759
860
|
}
|
|
760
861
|
|
|
862
|
+
interface PaymentMethodFormBancontact {
|
|
863
|
+
readonly 'type': 'bancontact';
|
|
864
|
+
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
865
|
+
readonly 'metadata'?: any/*object*/;
|
|
866
|
+
readonly 'bancontact': any/*object*/;
|
|
867
|
+
}
|
|
868
|
+
|
|
761
869
|
interface PaymentMethodFormCard {
|
|
762
870
|
readonly 'type': 'card';
|
|
763
871
|
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
@@ -765,6 +873,13 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
765
873
|
readonly 'card': io.flow.stripe.v0.models.PaymentMethodCardForm;
|
|
766
874
|
}
|
|
767
875
|
|
|
876
|
+
interface PaymentMethodFormIdeal {
|
|
877
|
+
readonly 'type': 'ideal';
|
|
878
|
+
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
879
|
+
readonly 'metadata'?: any/*object*/;
|
|
880
|
+
readonly 'ideal': io.flow.stripe.v0.models.PaymentMethodIdealForm;
|
|
881
|
+
}
|
|
882
|
+
|
|
768
883
|
interface PaymentMethodFormKlarna {
|
|
769
884
|
readonly 'type': 'klarna';
|
|
770
885
|
readonly 'billing_details'?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
|
|
@@ -772,13 +887,27 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
772
887
|
readonly 'klarna': io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
|
|
773
888
|
}
|
|
774
889
|
|
|
890
|
+
interface PaymentMethodIdealForm {
|
|
891
|
+
readonly 'bank'?: string;
|
|
892
|
+
}
|
|
893
|
+
|
|
775
894
|
interface PaymentMethodKlarnaForm {
|
|
776
895
|
readonly 'dob'?: io.flow.stripe.v0.models.KlarnaDobForm;
|
|
777
896
|
}
|
|
778
897
|
|
|
779
898
|
interface PaymentMethodOptions {
|
|
780
899
|
readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
|
|
900
|
+
readonly 'ideal'?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal;
|
|
781
901
|
readonly 'klarna'?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
|
|
902
|
+
readonly 'bancontact'?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
interface PaymentMethodOptionsBancontact {
|
|
906
|
+
readonly 'preferred_language': io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
interface PaymentMethodOptionsBancontactForm {
|
|
910
|
+
readonly 'preferred_language': io.flow.stripe.v0.enums.PreferredLanguageBancontact;
|
|
782
911
|
}
|
|
783
912
|
|
|
784
913
|
interface PaymentMethodOptionsCard {
|
|
@@ -798,7 +927,17 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
798
927
|
|
|
799
928
|
interface PaymentMethodOptionsForm {
|
|
800
929
|
readonly 'card'?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
|
|
930
|
+
readonly 'ideal'?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm;
|
|
801
931
|
readonly 'klarna'?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
|
|
932
|
+
readonly 'bancontact'?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm;
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
interface PaymentMethodOptionsIdeal {
|
|
936
|
+
readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
interface PaymentMethodOptionsIdealForm {
|
|
940
|
+
readonly 'setup_future_usage'?: io.flow.stripe.v0.enums.SetupFutureUsage;
|
|
802
941
|
}
|
|
803
942
|
|
|
804
943
|
interface PaymentMethodOptionsKlarna {
|
|
@@ -1013,6 +1152,24 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1013
1152
|
readonly 'directory_server_encryption'?: any/*object*/;
|
|
1014
1153
|
}
|
|
1015
1154
|
|
|
1155
|
+
interface StripeDisputeEvent {
|
|
1156
|
+
readonly 'id': string;
|
|
1157
|
+
readonly 'api_version'?: string;
|
|
1158
|
+
readonly 'data': io.flow.stripe.v0.models.StripeDisputeEventData;
|
|
1159
|
+
readonly 'request'?: any/*object*/;
|
|
1160
|
+
readonly 'type': io.flow.stripe.v0.enums.DisputeEventType;
|
|
1161
|
+
readonly 'object': string;
|
|
1162
|
+
readonly 'account'?: string;
|
|
1163
|
+
readonly 'created': number;
|
|
1164
|
+
readonly 'livemode': boolean;
|
|
1165
|
+
readonly 'pending_webhooks': number;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
interface StripeDisputeEventData {
|
|
1169
|
+
readonly 'object': io.flow.stripe.v0.models.Dispute;
|
|
1170
|
+
readonly 'previous_attributes'?: any/*object*/;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1016
1173
|
interface StripeError {
|
|
1017
1174
|
readonly 'type': io.flow.stripe.v0.enums.ErrorType;
|
|
1018
1175
|
readonly 'charge'?: string;
|
|
@@ -1110,9 +1267,9 @@ declare namespace io.flow.stripe.v0.models {
|
|
|
1110
1267
|
|
|
1111
1268
|
declare namespace io.flow.stripe.v0.unions {
|
|
1112
1269
|
type CardWallet = (io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout);
|
|
1113
|
-
type PaymentMethodData = (io.flow.stripe.v0.models.PaymentMethodDataCard | io.flow.stripe.v0.models.PaymentMethodDataKlarna);
|
|
1114
|
-
type PaymentMethodDetails = (io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna);
|
|
1115
|
-
type PaymentMethodForm = (io.flow.stripe.v0.models.PaymentMethodFormCard | io.flow.stripe.v0.models.PaymentMethodFormKlarna);
|
|
1270
|
+
type PaymentMethodData = (io.flow.stripe.v0.models.PaymentMethodDataCard | io.flow.stripe.v0.models.PaymentMethodDataIdeal | io.flow.stripe.v0.models.PaymentMethodDataKlarna | io.flow.stripe.v0.models.PaymentMethodDataBancontact);
|
|
1271
|
+
type PaymentMethodDetails = (io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsIdeal | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna | io.flow.stripe.v0.models.PaymentMethodDetailsBancontact);
|
|
1272
|
+
type PaymentMethodForm = (io.flow.stripe.v0.models.PaymentMethodFormCard | io.flow.stripe.v0.models.PaymentMethodFormIdeal | io.flow.stripe.v0.models.PaymentMethodFormKlarna | io.flow.stripe.v0.models.PaymentMethodFormBancontact);
|
|
1116
1273
|
}
|
|
1117
1274
|
|
|
1118
1275
|
declare namespace io.flow.shopify.external.v0.enums {
|
|
@@ -1280,6 +1437,7 @@ declare namespace io.flow.shopify.external.v0.models {
|
|
|
1280
1437
|
readonly 'published_at'?: string;
|
|
1281
1438
|
readonly 'created_at': string;
|
|
1282
1439
|
readonly 'updated_at': string;
|
|
1440
|
+
readonly 'has_variants_that_requires_components'?: boolean;
|
|
1283
1441
|
}
|
|
1284
1442
|
|
|
1285
1443
|
interface ProductDelete {
|
|
@@ -2244,7 +2402,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2244
2402
|
type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
|
|
2245
2403
|
type Method = 'post';
|
|
2246
2404
|
type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
|
|
2247
|
-
type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant' | 'application_missing';
|
|
2405
|
+
type OnboardingBlockedReason = 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant' | 'application_missing' | 'missing_logistics_contact_info';
|
|
2248
2406
|
type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
|
|
2249
2407
|
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
2250
2408
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
@@ -2270,7 +2428,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2270
2428
|
type PaymentMethodRuleContentKey = 'description';
|
|
2271
2429
|
type PaymentMethodType = 'card' | 'online' | 'offline';
|
|
2272
2430
|
type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
|
|
2273
|
-
type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies';
|
|
2431
|
+
type PaymentRequestReviewCheckType = 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies' | 'order_missing';
|
|
2274
2432
|
type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
|
|
2275
2433
|
type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
|
|
2276
2434
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
@@ -9111,6 +9269,15 @@ declare namespace io.flow.v0.models {
|
|
|
9111
9269
|
readonly 'processor': string;
|
|
9112
9270
|
}
|
|
9113
9271
|
|
|
9272
|
+
interface PaymentProcessorTransactionDetailsApm {
|
|
9273
|
+
readonly 'discriminator': 'apm';
|
|
9274
|
+
readonly 'transaction_identifier'?: string;
|
|
9275
|
+
readonly 'capture_identifier'?: string;
|
|
9276
|
+
readonly 'method_type'?: string;
|
|
9277
|
+
readonly 'result_status'?: string;
|
|
9278
|
+
readonly 'reason_code'?: string;
|
|
9279
|
+
}
|
|
9280
|
+
|
|
9114
9281
|
interface PaymentProcessorTransactionDetailsCard {
|
|
9115
9282
|
readonly 'discriminator': 'card';
|
|
9116
9283
|
readonly 'transaction_identifier'?: string;
|
|
@@ -9198,6 +9365,11 @@ declare namespace io.flow.v0.models {
|
|
|
9198
9365
|
readonly 'billing': io.flow.v0.models.PaymentRequestBilling;
|
|
9199
9366
|
}
|
|
9200
9367
|
|
|
9368
|
+
interface PaymentRequestCancellationReasonOrderMissing {
|
|
9369
|
+
readonly 'type': 'order_missing';
|
|
9370
|
+
readonly 'description'?: string;
|
|
9371
|
+
}
|
|
9372
|
+
|
|
9201
9373
|
interface PaymentRequestDeleted {
|
|
9202
9374
|
readonly 'discriminator': 'payment_request_deleted';
|
|
9203
9375
|
readonly 'event_id': string;
|
|
@@ -9338,6 +9510,7 @@ declare namespace io.flow.v0.models {
|
|
|
9338
9510
|
interface PaypalAuthorizationDetails {
|
|
9339
9511
|
readonly 'discriminator': 'paypal_authorization_details';
|
|
9340
9512
|
readonly 'payment_id': string;
|
|
9513
|
+
readonly 'internal_payment_id'?: string;
|
|
9341
9514
|
readonly 'payment_method'?: string;
|
|
9342
9515
|
readonly 'payment_state'?: string;
|
|
9343
9516
|
readonly 'payer_id'?: string;
|
|
@@ -10334,6 +10507,11 @@ declare namespace io.flow.v0.models {
|
|
|
10334
10507
|
readonly 'status': io.flow.v0.enums.AvailabilityStatus;
|
|
10335
10508
|
}
|
|
10336
10509
|
|
|
10510
|
+
interface RejectionPutForm {
|
|
10511
|
+
readonly 'reason': io.flow.v0.enums.MerchantRejectedReason;
|
|
10512
|
+
readonly 'description': string;
|
|
10513
|
+
}
|
|
10514
|
+
|
|
10337
10515
|
interface RemoteAreaByWeightServiceFee {
|
|
10338
10516
|
readonly 'discriminator': 'remote_area_by_weight_service_fee';
|
|
10339
10517
|
readonly 'amount': io.flow.v0.models.Money;
|
|
@@ -12253,7 +12431,7 @@ declare namespace io.flow.v0.models {
|
|
|
12253
12431
|
readonly 'discriminator': 'channel';
|
|
12254
12432
|
readonly 'method': string;
|
|
12255
12433
|
readonly 'card'?: io.flow.v0.models.TransactionMetadataChannelCardMetadata;
|
|
12256
|
-
readonly 'organization_transaction': io.flow.v0.models.
|
|
12434
|
+
readonly 'organization_transaction': io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction;
|
|
12257
12435
|
}
|
|
12258
12436
|
|
|
12259
12437
|
interface TransactionMetadataChannelCardMetadata {
|
|
@@ -12266,6 +12444,11 @@ declare namespace io.flow.v0.models {
|
|
|
12266
12444
|
readonly 'country': string;
|
|
12267
12445
|
}
|
|
12268
12446
|
|
|
12447
|
+
interface TransactionMetadataChannelOrganizationTransaction {
|
|
12448
|
+
readonly 'id': string;
|
|
12449
|
+
readonly 'metadata': io.flow.v0.models.TransactionMetadataPaymentTransaction;
|
|
12450
|
+
}
|
|
12451
|
+
|
|
12269
12452
|
interface TransactionMetadataFailedPayout {
|
|
12270
12453
|
readonly 'discriminator': 'failed_payout';
|
|
12271
12454
|
readonly 'failed_payout': io.flow.v0.models.TransactionMetadataFailedPayoutReference;
|
|
@@ -12724,7 +12907,8 @@ declare namespace io.flow.v0.unions {
|
|
|
12724
12907
|
});
|
|
12725
12908
|
|
|
12726
12909
|
type PaymentOrderReference = (io.flow.v0.models.AuthorizationOrderReference | io.flow.v0.models.PaymentPaymentRequestReference);
|
|
12727
|
-
type PaymentProcessorTransactionDetails = (io.flow.v0.models.PaymentProcessorTransactionDetailsCard);
|
|
12910
|
+
type PaymentProcessorTransactionDetails = (io.flow.v0.models.PaymentProcessorTransactionDetailsCard | io.flow.v0.models.PaymentProcessorTransactionDetailsApm);
|
|
12911
|
+
type PaymentRequestCancellationReason = (io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing);
|
|
12728
12912
|
type PaymentSource = (io.flow.v0.models.CardPaymentSource);
|
|
12729
12913
|
type PaymentSourceForm = (io.flow.v0.models.CardPaymentSourceForm);
|
|
12730
12914
|
type PayoutStatus = (io.flow.v0.models.PayoutStatusScheduled | io.flow.v0.models.PayoutStatusSent | io.flow.v0.models.PayoutStatusFailed);
|
|
@@ -13928,6 +14112,7 @@ export const paymentProcessorAccount: PropTypes.Requireable<io.flow.v0.models.Pa
|
|
|
13928
14112
|
export const paymentProcessorAccountReference: PropTypes.Requireable<io.flow.v0.models.PaymentProcessorAccountReference>;
|
|
13929
14113
|
export const paymentProcessorIdentifier: PropTypes.Requireable<io.flow.v0.models.PaymentProcessorIdentifier>;
|
|
13930
14114
|
export const paymentProcessorReference: PropTypes.Requireable<io.flow.v0.models.PaymentProcessorReference>;
|
|
14115
|
+
export const paymentProcessorTransactionDetailsApm: PropTypes.Requireable<io.flow.v0.models.PaymentProcessorTransactionDetailsApm>;
|
|
13931
14116
|
export const paymentProcessorTransactionDetailsCard: PropTypes.Requireable<io.flow.v0.models.PaymentProcessorTransactionDetailsCard>;
|
|
13932
14117
|
export const paymentReference: PropTypes.Requireable<io.flow.v0.models.PaymentReference>;
|
|
13933
14118
|
export const paymentRefund: PropTypes.Requireable<io.flow.v0.models.PaymentRefund>;
|
|
@@ -13939,6 +14124,7 @@ export const paymentRequestBillingCurrencyRate: PropTypes.Requireable<io.flow.v0
|
|
|
13939
14124
|
export const paymentRequestBillingFees: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBillingFees>;
|
|
13940
14125
|
export const paymentRequestBundle: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBundle>;
|
|
13941
14126
|
export const paymentRequestBundleForm: PropTypes.Requireable<io.flow.v0.models.PaymentRequestBundleForm>;
|
|
14127
|
+
export const paymentRequestCancellationReasonOrderMissing: PropTypes.Requireable<io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing>;
|
|
13942
14128
|
export const paymentRequestDeleted: PropTypes.Requireable<io.flow.v0.models.PaymentRequestDeleted>;
|
|
13943
14129
|
export const paymentRequestForm: PropTypes.Requireable<io.flow.v0.models.PaymentRequestForm>;
|
|
13944
14130
|
export const paymentRequestReference: PropTypes.Requireable<io.flow.v0.models.PaymentRequestReference>;
|
|
@@ -14087,6 +14273,7 @@ export const region: PropTypes.Requireable<io.flow.v0.models.Region>;
|
|
|
14087
14273
|
export const regionReference: PropTypes.Requireable<io.flow.v0.models.RegionReference>;
|
|
14088
14274
|
export const regionSetting: PropTypes.Requireable<io.flow.v0.models.RegionSetting>;
|
|
14089
14275
|
export const regionSettingForm: PropTypes.Requireable<io.flow.v0.models.RegionSettingForm>;
|
|
14276
|
+
export const rejectionPutForm: PropTypes.Requireable<io.flow.v0.models.RejectionPutForm>;
|
|
14090
14277
|
export const remoteAreaByWeightServiceFee: PropTypes.Requireable<io.flow.v0.models.RemoteAreaByWeightServiceFee>;
|
|
14091
14278
|
export const remoteAreaRatecardFee: PropTypes.Requireable<io.flow.v0.models.RemoteAreaRatecardFee>;
|
|
14092
14279
|
export const remoteAreaServiceFee: PropTypes.Requireable<io.flow.v0.models.RemoteAreaServiceFee>;
|
|
@@ -14348,6 +14535,7 @@ export const transactionMetadataCarrierCharge: PropTypes.Requireable<io.flow.v0.
|
|
|
14348
14535
|
export const transactionMetadataChannel: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannel>;
|
|
14349
14536
|
export const transactionMetadataChannelCardMetadata: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadata>;
|
|
14350
14537
|
export const transactionMetadataChannelCardMetadataIssuerSummary: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary>;
|
|
14538
|
+
export const transactionMetadataChannelOrganizationTransaction: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction>;
|
|
14351
14539
|
export const transactionMetadataFailedPayout: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataFailedPayout>;
|
|
14352
14540
|
export const transactionMetadataFailedPayoutReference: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataFailedPayoutReference>;
|
|
14353
14541
|
export const transactionMetadataManual: PropTypes.Requireable<io.flow.v0.models.TransactionMetadataManual>;
|
|
@@ -14482,6 +14670,7 @@ export const paymentMethodSummary: PropTypes.Requireable<io.flow.v0.unions.Payme
|
|
|
14482
14670
|
export const paymentMethodTag: PropTypes.Requireable<io.flow.v0.unions.PaymentMethodTag>;
|
|
14483
14671
|
export const paymentOrderReference: PropTypes.Requireable<io.flow.v0.unions.PaymentOrderReference>;
|
|
14484
14672
|
export const paymentProcessorTransactionDetails: PropTypes.Requireable<io.flow.v0.unions.PaymentProcessorTransactionDetails>;
|
|
14673
|
+
export const paymentRequestCancellationReason: PropTypes.Requireable<io.flow.v0.unions.PaymentRequestCancellationReason>;
|
|
14485
14674
|
export const paymentSource: PropTypes.Requireable<io.flow.v0.unions.PaymentSource>;
|
|
14486
14675
|
export const paymentSourceForm: PropTypes.Requireable<io.flow.v0.unions.PaymentSourceForm>;
|
|
14487
14676
|
export const payoutStatus: PropTypes.Requireable<io.flow.v0.unions.PayoutStatus>;
|