@flowio/types 11.24.95 → 11.24.97

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/dist/api.d.ts CHANGED
@@ -129,6 +129,8 @@ declare namespace io.flow.google.pay.v0.unions {
129
129
  declare namespace io.flow.stripe.v0.enums {
130
130
  type AccountType = 'platform' | 'custom' | 'standard' | 'express';
131
131
  type ApplePayType = 'apple_pay' | 'apple_pay_later';
132
+ type BankIdeal = 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
133
+ type BicIdeal = 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
132
134
  type CancellationReason = 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice';
133
135
  type CaptureMethod = 'automatic' | 'manual';
134
136
  type CardBrand = 'American Express' | 'MasterCard' | 'Discover' | 'JCB' | 'Diners Club' | 'Unknown';
@@ -138,9 +140,14 @@ declare namespace io.flow.stripe.v0.enums {
138
140
  type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed';
139
141
  type ConfirmationMethod = 'automatic' | 'manual';
140
142
  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';
143
+ type DisputeEventType = 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated';
144
+ type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry';
145
+ type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal';
146
+ 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';
147
+ type DisputeStatus = 'warning_needs_response' | 'warning_under_review' | 'warning_closed' | 'needs_response' | 'under_review' | 'won' | 'lost';
141
148
  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';
142
149
  type ErrorType = 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error';
143
- 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';
150
+ 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';
144
151
  type ExtendedAuthorizationStatus = 'enabled' | 'disabled';
145
152
  type FeatureAvailability = 'available' | 'unavailable';
146
153
  type KlarnaPaymentMethodCategoryType = 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time';
@@ -150,9 +157,10 @@ declare namespace io.flow.stripe.v0.enums {
150
157
  type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount';
151
158
  type PaymentIntentStatus = 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
152
159
  type PaymentMethodCategoryKlarna = 'pay_later' | 'pay_now' | 'pay_with_financing' | 'pay_in_installments';
153
- type PaymentMethodType = 'card' | 'card_present' | 'klarna';
160
+ type PaymentMethodType = 'card' | 'card_present' | 'ideal' | 'klarna' | 'bancontact';
154
161
  type PaymentOutcomeType = 'authorized' | 'manual_review' | 'issuer_declined' | 'blocked' | 'invalid';
155
162
  type PaymentStatus = 'succeeded' | 'pending' | 'failed';
163
+ type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl';
156
164
  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';
157
165
  type RefundFailureReason = 'lost_or_stolen_card' | 'expired_or_canceled_card' | 'unknown';
158
166
  type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer';
@@ -370,6 +378,48 @@ declare namespace io.flow.stripe.v0.models {
370
378
  readonly source: string;
371
379
  readonly description?: string;
372
380
  }
381
+ interface Dispute {
382
+ readonly id: string;
383
+ readonly amount: number;
384
+ readonly charge: string;
385
+ readonly currency: string;
386
+ readonly evidence: any;
387
+ readonly metadata: Record<string, string>;
388
+ readonly payment_intent?: string;
389
+ readonly reason: io.flow.stripe.v0.enums.DisputeReason;
390
+ readonly status: io.flow.stripe.v0.enums.DisputeStatus;
391
+ readonly object: string;
392
+ readonly balance_transactions: any[];
393
+ readonly created: number;
394
+ readonly evidence_details: io.flow.stripe.v0.models.DisputeEvidenceDetails;
395
+ readonly is_charge_refundable: boolean;
396
+ readonly livemode: boolean;
397
+ readonly payment_method_details?: io.flow.stripe.v0.models.DisputePaymentMethodDetails;
398
+ }
399
+ interface DisputeEvidenceDetails {
400
+ readonly due_by?: number;
401
+ readonly has_evidence: boolean;
402
+ readonly past_due: boolean;
403
+ readonly submission_count: number;
404
+ }
405
+ interface DisputePaymentMethodDetails {
406
+ readonly card?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard;
407
+ readonly klarna?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna;
408
+ readonly paypal?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal;
409
+ readonly type: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType;
410
+ }
411
+ interface DisputePaymentMethodDetailsCard {
412
+ readonly brand: string;
413
+ readonly case_type?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType;
414
+ readonly network_reason_code?: string;
415
+ }
416
+ interface DisputePaymentMethodDetailsKlarna {
417
+ readonly reason_code?: string;
418
+ }
419
+ interface DisputePaymentMethodDetailsPaypal {
420
+ readonly case_id?: string;
421
+ readonly reason_code?: string;
422
+ }
373
423
  interface Error {
374
424
  readonly error: io.flow.stripe.v0.models.StripeError;
375
425
  }
@@ -596,8 +646,10 @@ declare namespace io.flow.stripe.v0.models {
596
646
  readonly id: string;
597
647
  readonly object: string;
598
648
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
649
+ readonly bancontact?: any;
599
650
  readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails;
600
651
  readonly card_present?: any;
652
+ readonly ideal?: any;
601
653
  readonly klarna?: any;
602
654
  readonly created: number;
603
655
  readonly customer?: string;
@@ -628,18 +680,43 @@ declare namespace io.flow.stripe.v0.models {
628
680
  readonly number: string;
629
681
  readonly cvc?: string;
630
682
  }
683
+ interface PaymentMethodDataBancontact {
684
+ readonly type: 'bancontact';
685
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
686
+ readonly metadata?: any;
687
+ }
631
688
  interface PaymentMethodDataCard {
632
689
  readonly type: 'card';
633
690
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
634
691
  readonly metadata?: any;
635
692
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
636
693
  }
694
+ interface PaymentMethodDataIdeal {
695
+ readonly type: 'ideal';
696
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
697
+ readonly metadata?: any;
698
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
699
+ }
637
700
  interface PaymentMethodDataKlarna {
638
701
  readonly type: 'klarna';
639
702
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
640
703
  readonly metadata?: any;
641
704
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
642
705
  }
706
+ interface PaymentMethodDetailsBancontact {
707
+ readonly type: 'bancontact';
708
+ readonly bancontact: io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation;
709
+ }
710
+ interface PaymentMethodDetailsBancontactInformation {
711
+ readonly bank_code?: string;
712
+ readonly bank_name?: string;
713
+ readonly bic?: string;
714
+ readonly generated_sepa_debit?: string;
715
+ readonly generated_sepa_debit_mandate?: string;
716
+ readonly iban_last4?: string;
717
+ readonly preferred_language?: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
718
+ readonly verified_name?: string;
719
+ }
643
720
  interface PaymentMethodDetailsCard {
644
721
  readonly type: 'card';
645
722
  readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation;
@@ -669,6 +746,18 @@ declare namespace io.flow.stripe.v0.models {
669
746
  readonly multicapture?: io.flow.stripe.v0.models.Multicapture;
670
747
  readonly overcapture?: io.flow.stripe.v0.models.Overcapture;
671
748
  }
749
+ interface PaymentMethodDetailsIdeal {
750
+ readonly type: 'ideal';
751
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation;
752
+ }
753
+ interface PaymentMethodDetailsIdealInformation {
754
+ readonly bank?: io.flow.stripe.v0.enums.BankIdeal;
755
+ readonly bic?: io.flow.stripe.v0.enums.BicIdeal;
756
+ readonly generated_sepa_debit?: string;
757
+ readonly generated_sepa_debit_mandate?: string;
758
+ readonly iban_last4?: string;
759
+ readonly verified_name?: string;
760
+ }
672
761
  interface PaymentMethodDetailsKlarna {
673
762
  readonly type: 'klarna';
674
763
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodDetailsKlarnaInformation;
@@ -677,24 +766,47 @@ declare namespace io.flow.stripe.v0.models {
677
766
  readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna;
678
767
  readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna;
679
768
  }
769
+ interface PaymentMethodFormBancontact {
770
+ readonly type: 'bancontact';
771
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
772
+ readonly metadata?: any;
773
+ readonly bancontact: any;
774
+ }
680
775
  interface PaymentMethodFormCard {
681
776
  readonly type: 'card';
682
777
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
683
778
  readonly metadata?: any;
684
779
  readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm;
685
780
  }
781
+ interface PaymentMethodFormIdeal {
782
+ readonly type: 'ideal';
783
+ readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
784
+ readonly metadata?: any;
785
+ readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm;
786
+ }
686
787
  interface PaymentMethodFormKlarna {
687
788
  readonly type: 'klarna';
688
789
  readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails;
689
790
  readonly metadata?: any;
690
791
  readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm;
691
792
  }
793
+ interface PaymentMethodIdealForm {
794
+ readonly bank?: string;
795
+ }
692
796
  interface PaymentMethodKlarnaForm {
693
797
  readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm;
694
798
  }
695
799
  interface PaymentMethodOptions {
696
800
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard;
801
+ readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal;
697
802
  readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna;
803
+ readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact;
804
+ }
805
+ interface PaymentMethodOptionsBancontact {
806
+ readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
807
+ }
808
+ interface PaymentMethodOptionsBancontactForm {
809
+ readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact;
698
810
  }
699
811
  interface PaymentMethodOptionsCard {
700
812
  readonly network?: string;
@@ -711,7 +823,15 @@ declare namespace io.flow.stripe.v0.models {
711
823
  }
712
824
  interface PaymentMethodOptionsForm {
713
825
  readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm;
826
+ readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm;
714
827
  readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm;
828
+ readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm;
829
+ }
830
+ interface PaymentMethodOptionsIdeal {
831
+ readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
832
+ }
833
+ interface PaymentMethodOptionsIdealForm {
834
+ readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
715
835
  }
716
836
  interface PaymentMethodOptionsKlarna {
717
837
  readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod;
@@ -905,6 +1025,22 @@ declare namespace io.flow.stripe.v0.models {
905
1025
  readonly three_ds_optimizations?: string;
906
1026
  readonly directory_server_encryption?: any;
907
1027
  }
1028
+ interface StripeDisputeEvent {
1029
+ readonly id: string;
1030
+ readonly api_version?: string;
1031
+ readonly data: io.flow.stripe.v0.models.StripeDisputeEventData;
1032
+ readonly request?: any;
1033
+ readonly type: io.flow.stripe.v0.enums.DisputeEventType;
1034
+ readonly object: string;
1035
+ readonly account?: string;
1036
+ readonly created: number;
1037
+ readonly livemode: boolean;
1038
+ readonly pending_webhooks: number;
1039
+ }
1040
+ interface StripeDisputeEventData {
1041
+ readonly object: io.flow.stripe.v0.models.Dispute;
1042
+ readonly previous_attributes?: any;
1043
+ }
908
1044
  interface StripeError {
909
1045
  readonly type: io.flow.stripe.v0.enums.ErrorType;
910
1046
  readonly charge?: string;
@@ -989,9 +1125,9 @@ declare namespace io.flow.stripe.v0.models {
989
1125
  }
990
1126
  declare namespace io.flow.stripe.v0.unions {
991
1127
  type CardWallet = io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout;
992
- type PaymentMethodData = io.flow.stripe.v0.models.PaymentMethodDataCard | io.flow.stripe.v0.models.PaymentMethodDataKlarna;
993
- type PaymentMethodDetails = io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna;
994
- type PaymentMethodForm = io.flow.stripe.v0.models.PaymentMethodFormCard | io.flow.stripe.v0.models.PaymentMethodFormKlarna;
1128
+ 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;
1129
+ 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;
1130
+ 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;
995
1131
  }
996
1132
  declare namespace io.flow.shopify.external.v0.enums {
997
1133
  type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
@@ -1144,6 +1280,7 @@ declare namespace io.flow.shopify.external.v0.models {
1144
1280
  readonly published_at?: string;
1145
1281
  readonly created_at: string;
1146
1282
  readonly updated_at: string;
1283
+ readonly has_variants_that_requires_components?: boolean;
1147
1284
  }
1148
1285
  interface ProductDelete {
1149
1286
  readonly id: number;
@@ -2006,7 +2143,7 @@ declare namespace io.flow.v0.enums {
2006
2143
  type MerchantRejectedReason = 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review';
2007
2144
  type Method = 'post';
2008
2145
  type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
2009
- 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';
2146
+ 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';
2010
2147
  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';
2011
2148
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
2012
2149
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
@@ -2032,7 +2169,7 @@ declare namespace io.flow.v0.enums {
2032
2169
  type PaymentMethodRuleContentKey = 'description';
2033
2170
  type PaymentMethodType = 'card' | 'online' | 'offline';
2034
2171
  type PaymentRequestReviewCheckStatus = 'passed' | 'failed';
2035
- 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';
2172
+ 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';
2036
2173
  type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected';
2037
2174
  type PaymentSourceConfirmationActionType = 'cvv' | 'billing_address' | 'number';
2038
2175
  type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
@@ -7923,6 +8060,14 @@ declare namespace io.flow.v0.models {
7923
8060
  readonly discriminator: 'payment_processor_reference';
7924
8061
  readonly processor: string;
7925
8062
  }
8063
+ interface PaymentProcessorTransactionDetailsApm {
8064
+ readonly discriminator: 'apm';
8065
+ readonly transaction_identifier?: string;
8066
+ readonly capture_identifier?: string;
8067
+ readonly method_type?: string;
8068
+ readonly result_status?: string;
8069
+ readonly reason_code?: string;
8070
+ }
7926
8071
  interface PaymentProcessorTransactionDetailsCard {
7927
8072
  readonly discriminator: 'card';
7928
8073
  readonly transaction_identifier?: string;
@@ -7999,6 +8144,10 @@ declare namespace io.flow.v0.models {
7999
8144
  readonly payment_request: io.flow.v0.models.PaymentRequestForm;
8000
8145
  readonly billing: io.flow.v0.models.PaymentRequestBilling;
8001
8146
  }
8147
+ interface PaymentRequestCancellationReasonOrderMissing {
8148
+ readonly type: 'order_missing';
8149
+ readonly description?: string;
8150
+ }
8002
8151
  interface PaymentRequestDeleted {
8003
8152
  readonly discriminator: 'payment_request_deleted';
8004
8153
  readonly event_id: string;
@@ -8120,6 +8269,7 @@ declare namespace io.flow.v0.models {
8120
8269
  interface PaypalAuthorizationDetails {
8121
8270
  readonly discriminator: 'paypal_authorization_details';
8122
8271
  readonly payment_id: string;
8272
+ readonly internal_payment_id?: string;
8123
8273
  readonly payment_method?: string;
8124
8274
  readonly payment_state?: string;
8125
8275
  readonly payer_id?: string;
@@ -8987,6 +9137,10 @@ declare namespace io.flow.v0.models {
8987
9137
  interface RegionSettingForm {
8988
9138
  readonly status: io.flow.v0.enums.AvailabilityStatus;
8989
9139
  }
9140
+ interface RejectionPutForm {
9141
+ readonly reason: io.flow.v0.enums.MerchantRejectedReason;
9142
+ readonly description: string;
9143
+ }
8990
9144
  interface RemoteAreaByWeightServiceFee {
8991
9145
  readonly discriminator: 'remote_area_by_weight_service_fee';
8992
9146
  readonly amount: io.flow.v0.models.Money;
@@ -10648,7 +10802,7 @@ declare namespace io.flow.v0.models {
10648
10802
  readonly discriminator: 'channel';
10649
10803
  readonly method: string;
10650
10804
  readonly card?: io.flow.v0.models.TransactionMetadataChannelCardMetadata;
10651
- readonly organization_transaction: io.flow.v0.models.TransactionReference;
10805
+ readonly organization_transaction: io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction;
10652
10806
  }
10653
10807
  interface TransactionMetadataChannelCardMetadata {
10654
10808
  readonly type: io.flow.v0.enums.CardType;
@@ -10658,6 +10812,10 @@ declare namespace io.flow.v0.models {
10658
10812
  readonly iin: string;
10659
10813
  readonly country: string;
10660
10814
  }
10815
+ interface TransactionMetadataChannelOrganizationTransaction {
10816
+ readonly id: string;
10817
+ readonly metadata: io.flow.v0.models.TransactionMetadataPaymentTransaction;
10818
+ }
10661
10819
  interface TransactionMetadataFailedPayout {
10662
10820
  readonly discriminator: 'failed_payout';
10663
10821
  readonly failed_payout: io.flow.v0.models.TransactionMetadataFailedPayoutReference;
@@ -11058,7 +11216,8 @@ declare namespace io.flow.v0.unions {
11058
11216
  value: io.flow.v0.enums.ExperiencePaymentMethodTag;
11059
11217
  };
11060
11218
  type PaymentOrderReference = io.flow.v0.models.AuthorizationOrderReference | io.flow.v0.models.PaymentPaymentRequestReference;
11061
- type PaymentProcessorTransactionDetails = io.flow.v0.models.PaymentProcessorTransactionDetailsCard;
11219
+ type PaymentProcessorTransactionDetails = io.flow.v0.models.PaymentProcessorTransactionDetailsCard | io.flow.v0.models.PaymentProcessorTransactionDetailsApm;
11220
+ type PaymentRequestCancellationReason = io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing;
11062
11221
  type PaymentSource = io.flow.v0.models.CardPaymentSource;
11063
11222
  type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm;
11064
11223
  type PayoutStatus = io.flow.v0.models.PayoutStatusScheduled | io.flow.v0.models.PayoutStatusSent | io.flow.v0.models.PayoutStatusFailed;
@@ -12252,6 +12411,7 @@ export declare type PaymentProcessorAccountReference = io.flow.v0.models.Payment
12252
12411
  export declare type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier;
12253
12412
  export declare type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference;
12254
12413
  export declare type PaymentProcessorTransactionDetails = io.flow.v0.unions.PaymentProcessorTransactionDetails;
12414
+ export declare type PaymentProcessorTransactionDetailsApm = io.flow.v0.models.PaymentProcessorTransactionDetailsApm;
12255
12415
  export declare type PaymentProcessorTransactionDetailsCard = io.flow.v0.models.PaymentProcessorTransactionDetailsCard;
12256
12416
  export declare type PaymentReference = io.flow.v0.models.PaymentReference;
12257
12417
  export declare type PaymentRefund = io.flow.v0.models.PaymentRefund;
@@ -12263,6 +12423,8 @@ export declare type PaymentRequestBillingCurrencyRate = io.flow.v0.models.Paymen
12263
12423
  export declare type PaymentRequestBillingFees = io.flow.v0.models.PaymentRequestBillingFees;
12264
12424
  export declare type PaymentRequestBundle = io.flow.v0.models.PaymentRequestBundle;
12265
12425
  export declare type PaymentRequestBundleForm = io.flow.v0.models.PaymentRequestBundleForm;
12426
+ export declare type PaymentRequestCancellationReason = io.flow.v0.unions.PaymentRequestCancellationReason;
12427
+ export declare type PaymentRequestCancellationReasonOrderMissing = io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing;
12266
12428
  export declare type PaymentRequestDeleted = io.flow.v0.models.PaymentRequestDeleted;
12267
12429
  export declare type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm;
12268
12430
  export declare type PaymentRequestReference = io.flow.v0.models.PaymentRequestReference;
@@ -12448,6 +12610,7 @@ export declare type RegionReference = io.flow.v0.models.RegionReference;
12448
12610
  export declare type RegionSetting = io.flow.v0.models.RegionSetting;
12449
12611
  export declare type RegionSettingForm = io.flow.v0.models.RegionSettingForm;
12450
12612
  export declare type RegionType = io.flow.v0.enums.RegionType;
12613
+ export declare type RejectionPutForm = io.flow.v0.models.RejectionPutForm;
12451
12614
  export declare type RemoteAreaByWeightServiceFee = io.flow.v0.models.RemoteAreaByWeightServiceFee;
12452
12615
  export declare type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee;
12453
12616
  export declare type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee;
@@ -12775,6 +12938,7 @@ export declare type TransactionMetadataCarrierCharge = io.flow.v0.models.Transac
12775
12938
  export declare type TransactionMetadataChannel = io.flow.v0.models.TransactionMetadataChannel;
12776
12939
  export declare type TransactionMetadataChannelCardMetadata = io.flow.v0.models.TransactionMetadataChannelCardMetadata;
12777
12940
  export declare type TransactionMetadataChannelCardMetadataIssuerSummary = io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
12941
+ export declare type TransactionMetadataChannelOrganizationTransaction = io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction;
12778
12942
  export declare type TransactionMetadataFailedPayout = io.flow.v0.models.TransactionMetadataFailedPayout;
12779
12943
  export declare type TransactionMetadataFailedPayoutReference = io.flow.v0.models.TransactionMetadataFailedPayoutReference;
12780
12944
  export declare type TransactionMetadataManual = io.flow.v0.models.TransactionMetadataManual;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.95",
3
+ "version": "11.24.97",
4
4
  "description": "TypeScript type definitions for custom types found in Flow API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -25,5 +25,5 @@
25
25
  "maintainers": [
26
26
  "Christian Muñoz <christian.munoz@flow.io>"
27
27
  ],
28
- "gitHead": "15b5319239e2dc57a7ee0b2171f4f54fc4172c16"
28
+ "gitHead": "e2172791ebb0708545e2d68100656b52120f50e4"
29
29
  }