@flowio/types 11.24.20 → 11.24.21

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.
@@ -3854,9 +3854,9 @@ declare namespace io.flow.adyen.v0.enums {
3854
3854
  type Contract = 'RECURRING';
3855
3855
  type DeviceChannel = 'app' | 'browser';
3856
3856
  type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST';
3857
- type Method = 'GET' | 'POST';
3857
+ type HttpRedirectMethod = 'GET' | 'POST';
3858
3858
  type Operation = 'cancel' | 'capture' | 'refund';
3859
- type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
3859
+ type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
3860
3860
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3861
3861
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3862
3862
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3875,6 +3875,10 @@ declare namespace io.flow.adyen.v0.models {
3875
3875
  readonly value: number;
3876
3876
  readonly currency: string;
3877
3877
  }
3878
+ interface Applepay {
3879
+ readonly type: 'applepay';
3880
+ readonly applePayToken: string;
3881
+ }
3878
3882
  interface Authentication {
3879
3883
  readonly 'threeds2.fingerprintToken'?: string;
3880
3884
  readonly 'threeds2.challengeToken'?: string;
@@ -3901,6 +3905,8 @@ declare namespace io.flow.adyen.v0.models {
3901
3905
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3902
3906
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3903
3907
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3908
+ readonly mcc?: string;
3909
+ readonly metadata?: any;
3904
3910
  }
3905
3911
  interface AuthorizeRequest3D {
3906
3912
  readonly merchantAccount: string;
@@ -4034,6 +4040,12 @@ declare namespace io.flow.adyen.v0.models {
4034
4040
  readonly details: any;
4035
4041
  readonly paymentData?: string;
4036
4042
  }
4043
+ interface PaymentDetailsV663Ds2Challenge {
4044
+ readonly 'threeds2.challengeResult': string;
4045
+ }
4046
+ interface PaymentDetailsV663Ds2Fingerprint {
4047
+ readonly 'threeds2.fingerprint': string;
4048
+ }
4037
4049
  interface PaymentRequest {
4038
4050
  readonly reference: string;
4039
4051
  readonly merchantAccount: string;
@@ -4055,7 +4067,11 @@ declare namespace io.flow.adyen.v0.models {
4055
4067
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4056
4068
  readonly origin?: string;
4057
4069
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4058
- readonly returnURL?: string;
4070
+ readonly returnUrl?: string;
4071
+ readonly mcc?: string;
4072
+ readonly metadata?: any;
4073
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4074
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4059
4075
  }
4060
4076
  interface PaymentResponse {
4061
4077
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4076,13 +4092,35 @@ declare namespace io.flow.adyen.v0.models {
4076
4092
  readonly threeDAuthenticatedResponse?: string;
4077
4093
  readonly threeDOffered?: string;
4078
4094
  readonly threeDOfferedResponse?: string;
4095
+ readonly threeDSVersion?: string;
4096
+ readonly eci?: string;
4097
+ readonly scaExemptionRequested?: string;
4098
+ readonly paymentMethod?: string;
4099
+ readonly paymentMethodVariant?: string;
4100
+ readonly tokenTxVariant?: string;
4101
+ readonly acquirerCode?: string;
4102
+ readonly acquirerAccountCode?: string;
4103
+ readonly cardPaymentMethod?: string;
4104
+ readonly coBrandedWith?: string;
4105
+ readonly cardIssuingCountry?: string;
4106
+ readonly cardIssuingCurrency?: string;
4107
+ readonly cardIssuingBank?: string;
4108
+ readonly cardBin?: string;
4109
+ readonly issuerBin?: string;
4110
+ readonly cardSummary?: string;
4111
+ readonly untokenisedCardSummary?: string;
4112
+ readonly ownerName?: string;
4113
+ readonly bankName?: string;
4114
+ readonly issuerCountry?: string;
4115
+ readonly iban?: string;
4116
+ readonly bic?: string;
4079
4117
  }
4080
4118
  interface Recurring {
4081
4119
  readonly contract: io.flow.adyen.v0.enums.Contract;
4082
4120
  }
4083
4121
  interface Redirect {
4084
4122
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4085
- readonly method?: io.flow.adyen.v0.enums.Method;
4123
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4086
4124
  readonly url?: string;
4087
4125
  }
4088
4126
  interface RedirectData {
@@ -4103,6 +4141,13 @@ declare namespace io.flow.adyen.v0.models {
4103
4141
  readonly number: string;
4104
4142
  readonly cvc?: string;
4105
4143
  }
4144
+ interface SdkV3OnCompleteData {
4145
+ readonly details: any;
4146
+ readonly payment_data?: string;
4147
+ }
4148
+ interface SdkV3OnCompleteResult {
4149
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4150
+ }
4106
4151
  interface ThreeDSecureData {
4107
4152
  readonly authenticationResponse?: string;
4108
4153
  readonly cavv?: string;
@@ -4128,7 +4173,7 @@ declare namespace io.flow.adyen.v0.models {
4128
4173
  }
4129
4174
  declare namespace io.flow.adyen.v0.unions {
4130
4175
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4131
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4176
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4132
4177
  }
4133
4178
  declare namespace io.flow.order.management.v0.enums {
4134
4179
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -9763,7 +9808,7 @@ declare namespace io.flow.internal.v0.enums {
9763
9808
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
9764
9809
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
9765
9810
  type EmptyAttribute = 'irrelevant';
9766
- type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted' | 'channel_account_deleted' | 'organization_account_upserted' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published' | 'duty_rates_published_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fx_revenue_recognition_upserted' | 'fx_revenue_recognition_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'authorization_bundle_upserted' | 'authorization_bundle_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
9811
+ type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted' | 'channel_account_deleted' | 'organization_account_upserted' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published' | 'duty_rates_published_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'levy_rate_summary_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fx_revenue_recognition_upserted' | 'fx_revenue_recognition_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'authorization_bundle_upserted' | 'authorization_bundle_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
9767
9812
  type ExperienceImportType = 'experience_with_settings';
9768
9813
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
9769
9814
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -10998,10 +11043,24 @@ declare namespace io.flow.internal.v0.models {
10998
11043
  readonly default_country_of_origin?: string;
10999
11044
  readonly default_hs_code?: string;
11000
11045
  }
11046
+ interface CalculatorOrganizationSettingsDeleted {
11047
+ readonly discriminator: 'calculator_organization_settings_deleted';
11048
+ readonly event_id: string;
11049
+ readonly timestamp: string;
11050
+ readonly organization: string;
11051
+ readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings;
11052
+ }
11001
11053
  interface CalculatorOrganizationSettingsForm {
11002
11054
  readonly default_country_of_origin?: string;
11003
11055
  readonly default_hs_code?: string;
11004
11056
  }
11057
+ interface CalculatorOrganizationSettingsUpserted {
11058
+ readonly discriminator: 'calculator_organization_settings_upserted';
11059
+ readonly event_id: string;
11060
+ readonly timestamp: string;
11061
+ readonly organization: string;
11062
+ readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings;
11063
+ }
11005
11064
  interface CarrierAccount {
11006
11065
  readonly id: string;
11007
11066
  readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
@@ -16726,15 +16785,6 @@ declare namespace io.flow.internal.v0.models {
16726
16785
  readonly type: io.flow.common.v0.enums.ChangeType;
16727
16786
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
16728
16787
  }
16729
- interface OrganizationRestrictionProductSummary {
16730
- readonly organization: io.flow.common.v0.models.OrganizationSummary;
16731
- readonly earliest_date: string;
16732
- readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
16733
- readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
16734
- readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16735
- readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16736
- readonly total: number;
16737
- }
16738
16788
  interface OrganizationRestrictionSummary {
16739
16789
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
16740
16790
  readonly earliest_date: string;
@@ -17669,6 +17719,19 @@ declare namespace io.flow.internal.v0.models {
17669
17719
  readonly positive_keywords: string[];
17670
17720
  readonly negative_keywords: string[];
17671
17721
  }
17722
+ interface RestrictionOrganization {
17723
+ readonly id: string;
17724
+ readonly name: string;
17725
+ readonly environment: io.flow.common.v0.enums.Environment;
17726
+ readonly created_at: string;
17727
+ }
17728
+ interface RestrictionOrganizationDecisionSummary {
17729
+ readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
17730
+ readonly earliest_pending_date: string;
17731
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
17732
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
17733
+ readonly count: number;
17734
+ }
17672
17735
  interface RestrictionPending {
17673
17736
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17674
17737
  readonly count: number;
@@ -17715,6 +17778,7 @@ declare namespace io.flow.internal.v0.models {
17715
17778
  }
17716
17779
  interface RestrictionRuleMetadata {
17717
17780
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17781
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
17718
17782
  readonly count: number;
17719
17783
  }
17720
17784
  interface RestrictionRuleSummary {
@@ -17723,7 +17787,7 @@ declare namespace io.flow.internal.v0.models {
17723
17787
  readonly description: string;
17724
17788
  }
17725
17789
  interface RestrictionStatusMetadata {
17726
- readonly status?: io.flow.internal.v0.enums.RestrictionStatus;
17790
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
17727
17791
  readonly count: number;
17728
17792
  }
17729
17793
  interface ResyncByDestinations {
@@ -19144,7 +19208,7 @@ declare namespace io.flow.internal.v0.unions {
19144
19208
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
19145
19209
  type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
19146
19210
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
19147
- type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpserted | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpserted | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRatesPublishedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
19211
+ type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpserted | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpserted | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRatesPublishedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.LevyRateSummaryUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
19148
19212
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
19149
19213
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
19150
19214
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -19393,7 +19457,9 @@ export declare type BrowserBundlePaymentMethods = io.flow.internal.v0.models.Bro
19393
19457
  export declare type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
19394
19458
  export declare type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
19395
19459
  export declare type CalculatorOrganizationSettings = io.flow.internal.v0.models.CalculatorOrganizationSettings;
19460
+ export declare type CalculatorOrganizationSettingsDeleted = io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted;
19396
19461
  export declare type CalculatorOrganizationSettingsForm = io.flow.internal.v0.models.CalculatorOrganizationSettingsForm;
19462
+ export declare type CalculatorOrganizationSettingsUpserted = io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted;
19397
19463
  export declare type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
19398
19464
  export declare type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
19399
19465
  export declare type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
@@ -20640,7 +20706,6 @@ export declare type OrganizationPaymentSetting = io.flow.internal.v0.models.Orga
20640
20706
  export declare type OrganizationPaymentSettingForm = io.flow.internal.v0.models.OrganizationPaymentSettingForm;
20641
20707
  export declare type OrganizationPaymentSettingVersion = io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
20642
20708
  export declare type OrganizationPaymentStatus = io.flow.internal.v0.enums.OrganizationPaymentStatus;
20643
- export declare type OrganizationRestrictionProductSummary = io.flow.internal.v0.models.OrganizationRestrictionProductSummary;
20644
20709
  export declare type OrganizationRestrictionSummary = io.flow.internal.v0.models.OrganizationRestrictionSummary;
20645
20710
  export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
20646
20711
  export declare type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
@@ -20811,6 +20876,8 @@ export declare type RestrictionItemReview = io.flow.internal.v0.models.Restricti
20811
20876
  export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
20812
20877
  export declare type RestrictionKeywordMetadata = io.flow.internal.v0.models.RestrictionKeywordMetadata;
20813
20878
  export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
20879
+ export declare type RestrictionOrganization = io.flow.internal.v0.models.RestrictionOrganization;
20880
+ export declare type RestrictionOrganizationDecisionSummary = io.flow.internal.v0.models.RestrictionOrganizationDecisionSummary;
20814
20881
  export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
20815
20882
  export declare type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
20816
20883
  export declare type RestrictionProductDecisionForm = io.flow.internal.v0.models.RestrictionProductDecisionForm;
package/dist/api.d.ts CHANGED
@@ -1741,6 +1741,7 @@ declare namespace io.flow.v0.enums {
1741
1741
  type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
1742
1742
  type MerchantOfRecord = 'flow' | 'organization';
1743
1743
  type Method = 'post';
1744
+ type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
1744
1745
  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';
1745
1746
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
1746
1747
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
@@ -8789,6 +8790,7 @@ declare namespace io.flow.v0.models {
8789
8790
  readonly discriminator: 'shopify_merchant_application';
8790
8791
  readonly id: string;
8791
8792
  readonly organization_id: string;
8793
+ readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
8792
8794
  readonly company?: io.flow.v0.models.MerchantInfo;
8793
8795
  readonly indirect_tax_number?: string;
8794
8796
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -8838,6 +8840,10 @@ declare namespace io.flow.v0.models {
8838
8840
  readonly ratecard_id?: string;
8839
8841
  readonly rate_card: string;
8840
8842
  }
8843
+ interface ShopifyMerchantApplicationPutForm {
8844
+ readonly discriminator: 'shopify_merchant_application_put_form';
8845
+ readonly status?: io.flow.v0.enums.OnboardingApplicationStatus;
8846
+ }
8841
8847
  interface ShopifyOrderAttributesForm {
8842
8848
  readonly attributes: Record<string, string>;
8843
8849
  }
@@ -9806,6 +9812,7 @@ declare namespace io.flow.v0.unions {
9806
9812
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
9807
9813
  type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
9808
9814
  type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
9815
+ type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
9809
9816
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
9810
9817
  type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
9811
9818
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -10610,6 +10617,7 @@ export declare type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV
10610
10617
  export declare type MembershipVersion = io.flow.v0.models.MembershipVersion;
10611
10618
  export declare type MerchantApplication = io.flow.v0.unions.MerchantApplication;
10612
10619
  export declare type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
10620
+ export declare type MerchantApplicationPutForm = io.flow.v0.unions.MerchantApplicationPutForm;
10613
10621
  export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
10614
10622
  export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
10615
10623
  export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
@@ -10638,6 +10646,7 @@ export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInvent
10638
10646
  export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
10639
10647
  export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
10640
10648
  export declare type NumberRange = io.flow.v0.models.NumberRange;
10649
+ export declare type OnboardingApplicationStatus = io.flow.v0.enums.OnboardingApplicationStatus;
10641
10650
  export declare type OnboardingMerchantPickupWindow = io.flow.v0.models.OnboardingMerchantPickupWindow;
10642
10651
  export declare type OnboardingMerchantScheduledPickup = io.flow.v0.models.OnboardingMerchantScheduledPickup;
10643
10652
  export declare type OnboardingMerchantTime = io.flow.v0.models.OnboardingMerchantTime;
@@ -11236,6 +11245,7 @@ export declare type ShopifyLocationFlowCenterMappingForm = io.flow.v0.models.Sho
11236
11245
  export declare type ShopifyLocationReference = io.flow.v0.models.ShopifyLocationReference;
11237
11246
  export declare type ShopifyMerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
11238
11247
  export declare type ShopifyMerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
11248
+ export declare type ShopifyMerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
11239
11249
  export declare type ShopifyOrderAttributesForm = io.flow.v0.models.ShopifyOrderAttributesForm;
11240
11250
  export declare type ShopifyOrderDeliveryMetafield = io.flow.v0.models.ShopifyOrderDeliveryMetafield;
11241
11251
  export declare type ShopifyOrderDeliveryMetafieldItem = io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.20",
3
+ "version": "11.24.21",
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": "fdff09214debd93ef272d05c24a88e5c108deded"
28
+ "gitHead": "5e6ef8a81693add34f418c62ddd07ac7bfc2b360"
29
29
  }
@@ -5254,7 +5254,7 @@ declare namespace io.flow.adyen.v0.enums {
5254
5254
  | 'SECOND_CHARGEBACK'
5255
5255
  | 'PREARBITRATION_WON'
5256
5256
  | 'PREARBITRATION_LOST';
5257
- type Method = 'GET' | 'POST';
5257
+ type HttpRedirectMethod = 'GET' | 'POST';
5258
5258
  type Operation = 'cancel' | 'capture' | 'refund';
5259
5259
  type PaymentMethod =
5260
5260
  | 'ach'
@@ -5263,6 +5263,7 @@ declare namespace io.flow.adyen.v0.enums {
5263
5263
  | 'amex'
5264
5264
  | 'bankTransfer_IBAN'
5265
5265
  | 'bcmc'
5266
+ | 'bcmc_mobile'
5266
5267
  | 'cartebancaire'
5267
5268
  | 'cup'
5268
5269
  | 'diners'
@@ -5325,6 +5326,11 @@ declare namespace io.flow.adyen.v0.models {
5325
5326
  readonly currency: string;
5326
5327
  }
5327
5328
 
5329
+ interface Applepay {
5330
+ readonly type: 'applepay';
5331
+ readonly applePayToken: string;
5332
+ }
5333
+
5328
5334
  interface Authentication {
5329
5335
  readonly 'threeds2.fingerprintToken'?: string;
5330
5336
  readonly 'threeds2.challengeToken'?: string;
@@ -5352,6 +5358,8 @@ declare namespace io.flow.adyen.v0.models {
5352
5358
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5353
5359
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5354
5360
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5361
+ readonly mcc?: string;
5362
+ readonly metadata?: any /*object*/;
5355
5363
  }
5356
5364
 
5357
5365
  interface AuthorizeRequest3D {
@@ -5508,6 +5516,14 @@ declare namespace io.flow.adyen.v0.models {
5508
5516
  readonly paymentData?: string;
5509
5517
  }
5510
5518
 
5519
+ interface PaymentDetailsV663Ds2Challenge {
5520
+ readonly 'threeds2.challengeResult': string;
5521
+ }
5522
+
5523
+ interface PaymentDetailsV663Ds2Fingerprint {
5524
+ readonly 'threeds2.fingerprint': string;
5525
+ }
5526
+
5511
5527
  interface PaymentRequest {
5512
5528
  readonly reference: string;
5513
5529
  readonly merchantAccount: string;
@@ -5529,7 +5545,11 @@ declare namespace io.flow.adyen.v0.models {
5529
5545
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5530
5546
  readonly origin?: string;
5531
5547
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5532
- readonly returnURL?: string;
5548
+ readonly returnUrl?: string;
5549
+ readonly mcc?: string;
5550
+ readonly metadata?: any /*object*/;
5551
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5552
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5533
5553
  }
5534
5554
 
5535
5555
  interface PaymentResponse {
@@ -5552,6 +5572,28 @@ declare namespace io.flow.adyen.v0.models {
5552
5572
  readonly threeDAuthenticatedResponse?: string;
5553
5573
  readonly threeDOffered?: string;
5554
5574
  readonly threeDOfferedResponse?: string;
5575
+ readonly threeDSVersion?: string;
5576
+ readonly eci?: string;
5577
+ readonly scaExemptionRequested?: string;
5578
+ readonly paymentMethod?: string;
5579
+ readonly paymentMethodVariant?: string;
5580
+ readonly tokenTxVariant?: string;
5581
+ readonly acquirerCode?: string;
5582
+ readonly acquirerAccountCode?: string;
5583
+ readonly cardPaymentMethod?: string;
5584
+ readonly coBrandedWith?: string;
5585
+ readonly cardIssuingCountry?: string;
5586
+ readonly cardIssuingCurrency?: string;
5587
+ readonly cardIssuingBank?: string;
5588
+ readonly cardBin?: string;
5589
+ readonly issuerBin?: string;
5590
+ readonly cardSummary?: string;
5591
+ readonly untokenisedCardSummary?: string;
5592
+ readonly ownerName?: string;
5593
+ readonly bankName?: string;
5594
+ readonly issuerCountry?: string;
5595
+ readonly iban?: string;
5596
+ readonly bic?: string;
5555
5597
  }
5556
5598
 
5557
5599
  interface Recurring {
@@ -5560,7 +5602,7 @@ declare namespace io.flow.adyen.v0.models {
5560
5602
 
5561
5603
  interface Redirect {
5562
5604
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5563
- readonly method?: io.flow.adyen.v0.enums.Method;
5605
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5564
5606
  readonly url?: string;
5565
5607
  }
5566
5608
 
@@ -5585,6 +5627,15 @@ declare namespace io.flow.adyen.v0.models {
5585
5627
  readonly cvc?: string;
5586
5628
  }
5587
5629
 
5630
+ interface SdkV3OnCompleteData {
5631
+ readonly details: any /*object*/;
5632
+ readonly payment_data?: string;
5633
+ }
5634
+
5635
+ interface SdkV3OnCompleteResult {
5636
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5637
+ }
5638
+
5588
5639
  interface ThreeDSecureData {
5589
5640
  readonly authenticationResponse?: string;
5590
5641
  readonly cavv?: string;
@@ -5616,7 +5667,9 @@ declare namespace io.flow.adyen.v0.unions {
5616
5667
  type BrowserInfo =
5617
5668
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5618
5669
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5619
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5670
+ type PaymentMethodData =
5671
+ | io.flow.adyen.v0.models.Scheme
5672
+ | io.flow.adyen.v0.models.Applepay;
5620
5673
  }
5621
5674
 
5622
5675
  declare namespace io.flow.order.management.v0.enums {
@@ -13035,6 +13088,8 @@ declare namespace io.flow.internal.v0.enums {
13035
13088
  | 'bank_payment_deleted'
13036
13089
  | 'bank_payment_upserted_v2'
13037
13090
  | 'bank_payment_deleted_v2'
13091
+ | 'calculator_organization_settings_upserted'
13092
+ | 'calculator_organization_settings_deleted'
13038
13093
  | 'carrier_account_upserted'
13039
13094
  | 'catalog_import_request'
13040
13095
  | 'exclusion_rule_upserted'
@@ -14882,11 +14937,27 @@ declare namespace io.flow.internal.v0.models {
14882
14937
  readonly default_hs_code?: string;
14883
14938
  }
14884
14939
 
14940
+ interface CalculatorOrganizationSettingsDeleted {
14941
+ readonly discriminator: 'calculator_organization_settings_deleted';
14942
+ readonly event_id: string;
14943
+ readonly timestamp: string;
14944
+ readonly organization: string;
14945
+ readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings;
14946
+ }
14947
+
14885
14948
  interface CalculatorOrganizationSettingsForm {
14886
14949
  readonly default_country_of_origin?: string;
14887
14950
  readonly default_hs_code?: string;
14888
14951
  }
14889
14952
 
14953
+ interface CalculatorOrganizationSettingsUpserted {
14954
+ readonly discriminator: 'calculator_organization_settings_upserted';
14955
+ readonly event_id: string;
14956
+ readonly timestamp: string;
14957
+ readonly organization: string;
14958
+ readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings;
14959
+ }
14960
+
14890
14961
  interface CarrierAccount {
14891
14962
  readonly id: string;
14892
14963
  readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
@@ -21599,16 +21670,6 @@ declare namespace io.flow.internal.v0.models {
21599
21670
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
21600
21671
  }
21601
21672
 
21602
- interface OrganizationRestrictionProductSummary {
21603
- readonly organization: io.flow.common.v0.models.OrganizationSummary;
21604
- readonly earliest_date: string;
21605
- readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
21606
- readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
21607
- readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21608
- readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21609
- readonly total: number;
21610
- }
21611
-
21612
21673
  interface OrganizationRestrictionSummary {
21613
21674
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21614
21675
  readonly earliest_date: string;
@@ -22678,6 +22739,21 @@ declare namespace io.flow.internal.v0.models {
22678
22739
  readonly negative_keywords: string[];
22679
22740
  }
22680
22741
 
22742
+ interface RestrictionOrganization {
22743
+ readonly id: string;
22744
+ readonly name: string;
22745
+ readonly environment: io.flow.common.v0.enums.Environment;
22746
+ readonly created_at: string;
22747
+ }
22748
+
22749
+ interface RestrictionOrganizationDecisionSummary {
22750
+ readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
22751
+ readonly earliest_pending_date: string;
22752
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
22753
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
22754
+ readonly count: number;
22755
+ }
22756
+
22681
22757
  interface RestrictionPending {
22682
22758
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22683
22759
  readonly count: number;
@@ -22730,6 +22806,7 @@ declare namespace io.flow.internal.v0.models {
22730
22806
 
22731
22807
  interface RestrictionRuleMetadata {
22732
22808
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22809
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
22733
22810
  readonly count: number;
22734
22811
  }
22735
22812
 
@@ -22740,7 +22817,7 @@ declare namespace io.flow.internal.v0.models {
22740
22817
  }
22741
22818
 
22742
22819
  interface RestrictionStatusMetadata {
22743
- readonly status?: io.flow.internal.v0.enums.RestrictionStatus;
22820
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
22744
22821
  readonly count: number;
22745
22822
  }
22746
22823
 
@@ -24759,6 +24836,8 @@ declare namespace io.flow.internal.v0.unions {
24759
24836
  | io.flow.internal.v0.models.BankPaymentDeleted
24760
24837
  | io.flow.internal.v0.models.BankPaymentUpsertedV2
24761
24838
  | io.flow.internal.v0.models.BankPaymentDeletedV2
24839
+ | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
24840
+ | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
24762
24841
  | io.flow.internal.v0.models.CarrierAccountUpserted
24763
24842
  | io.flow.internal.v0.models.CatalogImportRequest
24764
24843
  | io.flow.internal.v0.models.ExclusionRuleUpserted
@@ -25542,8 +25621,12 @@ export type CalculatedTaxAmount =
25542
25621
  export type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
25543
25622
  export type CalculatorOrganizationSettings =
25544
25623
  io.flow.internal.v0.models.CalculatorOrganizationSettings;
25624
+ export type CalculatorOrganizationSettingsDeleted =
25625
+ io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted;
25545
25626
  export type CalculatorOrganizationSettingsForm =
25546
25627
  io.flow.internal.v0.models.CalculatorOrganizationSettingsForm;
25628
+ export type CalculatorOrganizationSettingsUpserted =
25629
+ io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted;
25547
25630
  export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
25548
25631
  export type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
25549
25632
  export type CarrierAccountUpserted =
@@ -27727,8 +27810,6 @@ export type OrganizationPaymentSettingVersion =
27727
27810
  io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
27728
27811
  export type OrganizationPaymentStatus =
27729
27812
  io.flow.internal.v0.enums.OrganizationPaymentStatus;
27730
- export type OrganizationRestrictionProductSummary =
27731
- io.flow.internal.v0.models.OrganizationRestrictionProductSummary;
27732
27813
  export type OrganizationRestrictionSummary =
27733
27814
  io.flow.internal.v0.models.OrganizationRestrictionSummary;
27734
27815
  export type OrganizationSettings =
@@ -28009,6 +28090,10 @@ export type RestrictionKeywordMetadata =
28009
28090
  io.flow.internal.v0.models.RestrictionKeywordMetadata;
28010
28091
  export type RestrictionKeywords =
28011
28092
  io.flow.internal.v0.models.RestrictionKeywords;
28093
+ export type RestrictionOrganization =
28094
+ io.flow.internal.v0.models.RestrictionOrganization;
28095
+ export type RestrictionOrganizationDecisionSummary =
28096
+ io.flow.internal.v0.models.RestrictionOrganizationDecisionSummary;
28012
28097
  export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
28013
28098
  export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
28014
28099
  export type RestrictionProductDecisionForm =
package/src/api.ts CHANGED
@@ -2569,6 +2569,12 @@ declare namespace io.flow.v0.enums {
2569
2569
  | 'unsupported_currency';
2570
2570
  type MerchantOfRecord = 'flow' | 'organization';
2571
2571
  type Method = 'post';
2572
+ type OnboardingApplicationStatus =
2573
+ | 'to_do'
2574
+ | 'in_progress'
2575
+ | 'on_hold'
2576
+ | 'rejected'
2577
+ | 'accepted';
2572
2578
  type OnboardingTradeSector =
2573
2579
  | 'accessories'
2574
2580
  | 'animals_and_pet_supplies'
@@ -11102,6 +11108,7 @@ declare namespace io.flow.v0.models {
11102
11108
  readonly discriminator: 'shopify_merchant_application';
11103
11109
  readonly id: string;
11104
11110
  readonly organization_id: string;
11111
+ readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
11105
11112
  readonly company?: io.flow.v0.models.MerchantInfo;
11106
11113
  readonly indirect_tax_number?: string;
11107
11114
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -11153,6 +11160,11 @@ declare namespace io.flow.v0.models {
11153
11160
  readonly rate_card: string;
11154
11161
  }
11155
11162
 
11163
+ interface ShopifyMerchantApplicationPutForm {
11164
+ readonly discriminator: 'shopify_merchant_application_put_form';
11165
+ readonly status?: io.flow.v0.enums.OnboardingApplicationStatus;
11166
+ }
11167
+
11156
11168
  interface ShopifyOrderAttributesForm {
11157
11169
  readonly attributes: Record<string, string>;
11158
11170
  }
@@ -12568,6 +12580,8 @@ declare namespace io.flow.v0.unions {
12568
12580
  type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
12569
12581
  type MerchantApplicationForm =
12570
12582
  io.flow.v0.models.ShopifyMerchantApplicationForm;
12583
+ type MerchantApplicationPutForm =
12584
+ io.flow.v0.models.ShopifyMerchantApplicationPutForm;
12571
12585
  type OnlineAuthorizationDetails =
12572
12586
  | io.flow.v0.models.CryptopayAuthorizationDetails
12573
12587
  | io.flow.v0.models.PaypalAuthorizationDetails
@@ -13692,6 +13706,8 @@ export type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
13692
13706
  export type MembershipVersion = io.flow.v0.models.MembershipVersion;
13693
13707
  export type MerchantApplication = io.flow.v0.unions.MerchantApplication;
13694
13708
  export type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
13709
+ export type MerchantApplicationPutForm =
13710
+ io.flow.v0.unions.MerchantApplicationPutForm;
13695
13711
  export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
13696
13712
  export type MerchantGiftCardBalanceForm =
13697
13713
  io.flow.v0.models.MerchantGiftCardBalanceForm;
@@ -13732,6 +13748,8 @@ export type NoInventoryReservationErrorItem =
13732
13748
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
13733
13749
  export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
13734
13750
  export type NumberRange = io.flow.v0.models.NumberRange;
13751
+ export type OnboardingApplicationStatus =
13752
+ io.flow.v0.enums.OnboardingApplicationStatus;
13735
13753
  export type OnboardingMerchantPickupWindow =
13736
13754
  io.flow.v0.models.OnboardingMerchantPickupWindow;
13737
13755
  export type OnboardingMerchantScheduledPickup =
@@ -14500,6 +14518,8 @@ export type ShopifyMerchantApplication =
14500
14518
  io.flow.v0.models.ShopifyMerchantApplication;
14501
14519
  export type ShopifyMerchantApplicationForm =
14502
14520
  io.flow.v0.models.ShopifyMerchantApplicationForm;
14521
+ export type ShopifyMerchantApplicationPutForm =
14522
+ io.flow.v0.models.ShopifyMerchantApplicationPutForm;
14503
14523
  export type ShopifyOrderAttributesForm =
14504
14524
  io.flow.v0.models.ShopifyOrderAttributesForm;
14505
14525
  export type ShopifyOrderDeliveryMetafield =