@flowio/types 11.21.1 → 11.22.1

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.
@@ -2699,6 +2699,17 @@ declare namespace io.flow.payment.v0.models {
2699
2699
  readonly name?: string;
2700
2700
  readonly country?: string;
2701
2701
  }
2702
+ interface KlarnaPaymentMethodCategory {
2703
+ readonly id: string;
2704
+ readonly name?: string;
2705
+ readonly standard_asset_url?: string;
2706
+ readonly descriptive_asset_url?: string;
2707
+ }
2708
+ interface KlarnaSdkAuthorizationResultActionDetails {
2709
+ readonly discriminator: 'klarna_sdk_authorization_result_action_details';
2710
+ readonly client_token: string;
2711
+ readonly payment_method_categories: io.flow.payment.v0.models.KlarnaPaymentMethodCategory[];
2712
+ }
2702
2713
  interface MerchantOfRecordAuthorizationForm {
2703
2714
  readonly discriminator: 'merchant_of_record_authorization_form';
2704
2715
  readonly token: string;
@@ -3062,7 +3073,7 @@ declare namespace io.flow.payment.v0.unions {
3062
3073
  type AuthorizationForm = io.flow.payment.v0.models.AuthorizationCopyForm | io.flow.payment.v0.models.DirectAuthorizationForm | io.flow.payment.v0.models.MerchantOfRecordAuthorizationForm | io.flow.payment.v0.models.PaypalAuthorizationForm | io.flow.payment.v0.models.RedirectAuthorizationForm | io.flow.payment.v0.models.InlineAuthorizationForm | io.flow.payment.v0.models.AchAuthorizationForm | io.flow.payment.v0.models.CardPaymentSourceAuthorizationForm | io.flow.payment.v0.models.OnlinePaymentAuthorizationForm;
3063
3074
  type AuthorizationPayloadParameters = io.flow.payment.v0.models.GooglePayAuthorizationPayload | io.flow.payment.v0.models.ApplePayMerchantValidationPayload;
3064
3075
  type AuthorizationResultAction = io.flow.payment.v0.models.AuthorizationResultActionGet | io.flow.payment.v0.models.AuthorizationResultActionPost | io.flow.payment.v0.models.AuthorizationResultActionWait | io.flow.payment.v0.models.AuthorizationResultActionNative;
3065
- type AuthorizationResultActionDetails = io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails;
3076
+ type AuthorizationResultActionDetails = io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails;
3066
3077
  type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration;
3067
3078
  type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
3068
3079
  type ExpandableCard = io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary;
@@ -9562,7 +9573,7 @@ declare namespace io.flow.internal.v0.enums {
9562
9573
  type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
9563
9574
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
9564
9575
  type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
9565
- type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'channel_transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9576
+ type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9566
9577
  type BillingStatementBatchFileKey = 'archive' | 'summary';
9567
9578
  type BillingStatementReviewStatus = 'approved' | 'pending';
9568
9579
  type BillingTransactionStatus = 'pending' | 'posted';
@@ -9570,6 +9581,7 @@ declare namespace io.flow.internal.v0.enums {
9570
9581
  type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
9571
9582
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
9572
9583
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
9584
+ type CalculatorEngine = 'flow_rate_and_rule' | 'dtce';
9573
9585
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
9574
9586
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
9575
9587
  type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
@@ -9676,7 +9688,7 @@ declare namespace io.flow.internal.v0.enums {
9676
9688
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
9677
9689
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
9678
9690
  type EmptyAttribute = 'irrelevant';
9679
- 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_transaction_upserted' | 'channel_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' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | '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_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' | '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' | '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_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';
9691
+ 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' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | '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_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' | '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_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';
9680
9692
  type ExperienceImportType = 'experience_with_settings';
9681
9693
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
9682
9694
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -9861,10 +9873,64 @@ declare namespace io.flow.internal.v0.models {
9861
9873
  readonly transaction_created_on_or_before?: string;
9862
9874
  readonly transaction_created_before?: string;
9863
9875
  }
9876
+ interface AccountProcessingRateForm {
9877
+ readonly query: string;
9878
+ readonly capture: number;
9879
+ readonly refund: number;
9880
+ readonly fraud: number;
9881
+ }
9882
+ interface AccountProcessingRates {
9883
+ readonly id: string;
9884
+ readonly query: string;
9885
+ readonly capture: number;
9886
+ readonly refund: number;
9887
+ readonly fraud: number;
9888
+ readonly position: number;
9889
+ }
9890
+ interface AccountProcessingRatesDeleted {
9891
+ readonly discriminator: 'account_processing_rates_deleted';
9892
+ readonly event_id: string;
9893
+ readonly timestamp: string;
9894
+ readonly id: string;
9895
+ }
9896
+ interface AccountProcessingRatesForm {
9897
+ readonly processing_rates: io.flow.internal.v0.models.AccountProcessingRateForm[];
9898
+ }
9899
+ interface AccountProcessingRatesUpserted {
9900
+ readonly discriminator: 'account_processing_rates_upserted';
9901
+ readonly event_id: string;
9902
+ readonly timestamp: string;
9903
+ readonly rates: io.flow.internal.v0.models.AccountProcessingRates;
9904
+ }
9864
9905
  interface AccountReference {
9865
9906
  readonly id: string;
9866
9907
  readonly currency: string;
9867
9908
  }
9909
+ interface AccountSettings {
9910
+ readonly id: string;
9911
+ readonly days_until_posted: number;
9912
+ readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
9913
+ readonly include_transaction_created_at: boolean;
9914
+ readonly include_order_exchange_rate: boolean;
9915
+ readonly send_statements_to_flow_ftp_server: boolean;
9916
+ readonly invoicing_terms?: io.flow.internal.v0.enums.PaymentTerm;
9917
+ readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
9918
+ readonly b2b_tax_remittance_days?: number;
9919
+ readonly merchant_of_record_fee?: number;
9920
+ readonly order_service_fee?: io.flow.internal.v0.models.OrderServiceFee;
9921
+ }
9922
+ interface AccountSettingsDeleted {
9923
+ readonly discriminator: 'account_settings_deleted';
9924
+ readonly event_id: string;
9925
+ readonly timestamp: string;
9926
+ readonly id: string;
9927
+ }
9928
+ interface AccountSettingsUpserted {
9929
+ readonly discriminator: 'account_settings_upserted';
9930
+ readonly event_id: string;
9931
+ readonly timestamp: string;
9932
+ readonly settings: io.flow.internal.v0.models.AccountSettings;
9933
+ }
9868
9934
  interface AccountStatistics {
9869
9935
  readonly transfers: io.flow.common.v0.models.Price;
9870
9936
  readonly balance: io.flow.common.v0.models.Price;
@@ -10402,12 +10468,6 @@ declare namespace io.flow.internal.v0.models {
10402
10468
  readonly primary_identifier?: string;
10403
10469
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
10404
10470
  }
10405
- interface BillingOrganizationProcessingRateForm {
10406
- readonly query: string;
10407
- readonly capture: number;
10408
- readonly refund: number;
10409
- readonly fraud: number;
10410
- }
10411
10471
  interface BillingOrganizationProcessingRates {
10412
10472
  readonly id: string;
10413
10473
  readonly query: string;
@@ -10423,9 +10483,6 @@ declare namespace io.flow.internal.v0.models {
10423
10483
  readonly organization: string;
10424
10484
  readonly id: string;
10425
10485
  }
10426
- interface BillingOrganizationProcessingRatesForm {
10427
- readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRateForm[];
10428
- }
10429
10486
  interface BillingOrganizationProcessingRatesUpserted {
10430
10487
  readonly discriminator: 'billing_organization_processing_rates_upserted';
10431
10488
  readonly event_id: string;
@@ -10944,45 +11001,10 @@ declare namespace io.flow.internal.v0.models {
10944
11001
  readonly form: io.flow.channel.v0.models.ChannelOrganizationForm;
10945
11002
  readonly metadata: io.flow.internal.v0.models.ShopifyMetadata;
10946
11003
  }
10947
- interface ChannelServiceFee {
10948
- readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
10949
- }
10950
- interface ChannelServiceFeeTier {
10951
- readonly minimum_orders: number;
10952
- readonly amount: number;
10953
- }
10954
11004
  interface ChannelTokenForm {
10955
11005
  readonly channel_id: string;
10956
11006
  readonly description?: string;
10957
11007
  }
10958
- interface ChannelTransaction {
10959
- readonly id: string;
10960
- readonly organization_id: string;
10961
- readonly processing_transaction_id: string;
10962
- readonly order_number: string;
10963
- readonly channel_currency: string;
10964
- readonly mor_convenience_fee: number;
10965
- readonly flow_fx_fee_on_mor: number;
10966
- readonly flow_processing_fee: number;
10967
- readonly flow_fraud_fee: number;
10968
- readonly service_fee: number;
10969
- readonly logistics_fee: number;
10970
- readonly total: number;
10971
- }
10972
- interface ChannelTransactionDeleted {
10973
- readonly discriminator: 'channel_transaction_deleted';
10974
- readonly event_id: string;
10975
- readonly timestamp: string;
10976
- readonly organization: string;
10977
- readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
10978
- }
10979
- interface ChannelTransactionUpserted {
10980
- readonly discriminator: 'channel_transaction_upserted';
10981
- readonly event_id: string;
10982
- readonly timestamp: string;
10983
- readonly organization: string;
10984
- readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
10985
- }
10986
11008
  interface Chargeback {
10987
11009
  readonly id: string;
10988
11010
  readonly key: string;
@@ -11079,6 +11101,14 @@ declare namespace io.flow.internal.v0.models {
11079
11101
  readonly discriminator: 'checkout_address_book_contact_removed';
11080
11102
  readonly id: string;
11081
11103
  }
11104
+ interface CheckoutAddressCountriesFormData {
11105
+ readonly countries: io.flow.internal.v0.models.CheckoutAddressCountry[];
11106
+ }
11107
+ interface CheckoutAddressCountry {
11108
+ readonly name: string;
11109
+ readonly code: string;
11110
+ readonly availability: io.flow.internal.v0.enums.CheckoutAddressType[];
11111
+ }
11082
11112
  interface CheckoutAddressPrediction {
11083
11113
  readonly description: string;
11084
11114
  readonly id: string;
@@ -11603,6 +11633,10 @@ declare namespace io.flow.internal.v0.models {
11603
11633
  readonly field: io.flow.internal.v0.enums.CheckoutInfoAddressConfigurationFormDataKeyField;
11604
11634
  readonly value: string;
11605
11635
  }
11636
+ interface CheckoutInfoAddressCountriesFormData {
11637
+ readonly discriminator: 'checkout_info_address_countries_form_data';
11638
+ readonly data: io.flow.internal.v0.models.CheckoutAddressCountriesFormData;
11639
+ }
11606
11640
  interface CheckoutInfoAddressPredictions {
11607
11641
  readonly discriminator: 'checkout_info_address_predictions';
11608
11642
  readonly key: io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey[];
@@ -16197,6 +16231,14 @@ declare namespace io.flow.internal.v0.models {
16197
16231
  readonly from_service_id: string;
16198
16232
  readonly to_service_id: string;
16199
16233
  }
16234
+ interface OrderServiceFee {
16235
+ readonly currency: string;
16236
+ readonly tiers: io.flow.internal.v0.models.OrderServiceFeeTier[];
16237
+ }
16238
+ interface OrderServiceFeeTier {
16239
+ readonly minimum_orders: number;
16240
+ readonly amount: number;
16241
+ }
16200
16242
  interface OrderShipped {
16201
16243
  readonly discriminator: 'order_shipped';
16202
16244
  readonly event_id: string;
@@ -18410,7 +18452,7 @@ declare namespace io.flow.internal.v0.unions {
18410
18452
  type CheckoutFeaturesResponse = io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess;
18411
18453
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
18412
18454
  type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
18413
- type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressBookContacts | io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentSourceOptions | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey | io.flow.internal.v0.models.CheckoutInfoTranslations;
18455
+ type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressBookContacts | io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentSourceOptions | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey | io.flow.internal.v0.models.CheckoutInfoTranslations;
18414
18456
  type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
18415
18457
  type CheckoutInput = io.flow.internal.v0.models.CheckoutInputAddAttributes | io.flow.internal.v0.models.CheckoutInputDeleteAddressBookContact | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet | io.flow.internal.v0.models.CheckoutInputDeletePaymentSource | io.flow.internal.v0.models.CheckoutInputSaveAddressBook | io.flow.internal.v0.models.CheckoutInputSavePaymentSource | io.flow.internal.v0.models.CheckoutInputSelectAddressBookContact | io.flow.internal.v0.models.CheckoutInputSetAddressCity | io.flow.internal.v0.models.CheckoutInputSetAddressCompany | io.flow.internal.v0.models.CheckoutInputSetAddressCountry | io.flow.internal.v0.models.CheckoutInputSetAddressFirstName | io.flow.internal.v0.models.CheckoutInputSetAddressLastName | io.flow.internal.v0.models.CheckoutInputSetAddressName | io.flow.internal.v0.models.CheckoutInputSetAddressPostal | io.flow.internal.v0.models.CheckoutInputSetAddressProvince | io.flow.internal.v0.models.CheckoutInputSetAddressSource | io.flow.internal.v0.models.CheckoutInputSetAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAttributes | io.flow.internal.v0.models.CheckoutInputSetContactEmail | io.flow.internal.v0.models.CheckoutInputSetContactPhone | io.flow.internal.v0.models.CheckoutInputSetCurrency | io.flow.internal.v0.models.CheckoutInputSetDeliveryOption | io.flow.internal.v0.models.CheckoutInputSetLanguage | io.flow.internal.v0.models.CheckoutInputSetLocale | io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt | io.flow.internal.v0.models.CheckoutInputSetPaymentSource;
18416
18458
  type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
@@ -18482,7 +18524,7 @@ declare namespace io.flow.internal.v0.unions {
18482
18524
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
18483
18525
  type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
18484
18526
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
18485
- 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.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | 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.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | 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.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.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.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.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.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;
18527
+ 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.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | 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.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.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.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.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;
18486
18528
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
18487
18529
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
18488
18530
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -18545,7 +18587,15 @@ export declare type AccountDepositRule = io.flow.internal.v0.models.AccountDepos
18545
18587
  export declare type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
18546
18588
  export declare type AccountForm = io.flow.internal.v0.models.AccountForm;
18547
18589
  export declare type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
18590
+ export declare type AccountProcessingRateForm = io.flow.internal.v0.models.AccountProcessingRateForm;
18591
+ export declare type AccountProcessingRates = io.flow.internal.v0.models.AccountProcessingRates;
18592
+ export declare type AccountProcessingRatesDeleted = io.flow.internal.v0.models.AccountProcessingRatesDeleted;
18593
+ export declare type AccountProcessingRatesForm = io.flow.internal.v0.models.AccountProcessingRatesForm;
18594
+ export declare type AccountProcessingRatesUpserted = io.flow.internal.v0.models.AccountProcessingRatesUpserted;
18548
18595
  export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
18596
+ export declare type AccountSettings = io.flow.internal.v0.models.AccountSettings;
18597
+ export declare type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted;
18598
+ export declare type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted;
18549
18599
  export declare type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
18550
18600
  export declare type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
18551
18601
  export declare type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
@@ -18633,10 +18683,8 @@ export declare type BillingAuthorizationReference = io.flow.internal.v0.models.B
18633
18683
  export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
18634
18684
  export declare type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
18635
18685
  export declare type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
18636
- export declare type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
18637
18686
  export declare type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
18638
18687
  export declare type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
18639
- export declare type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
18640
18688
  export declare type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
18641
18689
  export declare type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
18642
18690
  export declare type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
@@ -18708,6 +18756,7 @@ export declare type BrowserBundlePaymentMethod = io.flow.internal.v0.models.Brow
18708
18756
  export declare type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
18709
18757
  export declare type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
18710
18758
  export declare type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
18759
+ export declare type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
18711
18760
  export declare type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
18712
18761
  export declare type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
18713
18762
  export declare type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
@@ -18746,12 +18795,7 @@ export declare type ChannelOrderAcceptanceStatus = io.flow.internal.v0.enums.Cha
18746
18795
  export declare type ChannelOrderAcceptanceUpserted = io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted;
18747
18796
  export declare type ChannelOrganizationShopify = io.flow.internal.v0.models.ChannelOrganizationShopify;
18748
18797
  export declare type ChannelOrganizationShopifyForm = io.flow.internal.v0.models.ChannelOrganizationShopifyForm;
18749
- export declare type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
18750
- export declare type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
18751
18798
  export declare type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
18752
- export declare type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
18753
- export declare type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
18754
- export declare type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
18755
18799
  export declare type Chargeback = io.flow.internal.v0.models.Chargeback;
18756
18800
  export declare type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
18757
18801
  export declare type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
@@ -18777,6 +18821,8 @@ export declare type CheckoutAddressBookContact = io.flow.internal.v0.models.Chec
18777
18821
  export declare type CheckoutAddressBookContactReference = io.flow.internal.v0.models.CheckoutAddressBookContactReference;
18778
18822
  export declare type CheckoutAddressBookContactRemoved = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
18779
18823
  export declare type CheckoutAddressBookEdit = io.flow.internal.v0.unions.CheckoutAddressBookEdit;
18824
+ export declare type CheckoutAddressCountriesFormData = io.flow.internal.v0.models.CheckoutAddressCountriesFormData;
18825
+ export declare type CheckoutAddressCountry = io.flow.internal.v0.models.CheckoutAddressCountry;
18780
18826
  export declare type CheckoutAddressPrediction = io.flow.internal.v0.models.CheckoutAddressPrediction;
18781
18827
  export declare type CheckoutAddressPredictionMetadata = io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
18782
18828
  export declare type CheckoutAddressPredictions = io.flow.internal.v0.models.CheckoutAddressPredictions;
@@ -18938,6 +18984,7 @@ export declare type CheckoutInfoAddressBookContactsKeyField = io.flow.internal.v
18938
18984
  export declare type CheckoutInfoAddressConfigurationFormData = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData;
18939
18985
  export declare type CheckoutInfoAddressConfigurationFormDataKey = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormDataKey;
18940
18986
  export declare type CheckoutInfoAddressConfigurationFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressConfigurationFormDataKeyField;
18987
+ export declare type CheckoutInfoAddressCountriesFormData = io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData;
18941
18988
  export declare type CheckoutInfoAddressPredictions = io.flow.internal.v0.models.CheckoutInfoAddressPredictions;
18942
18989
  export declare type CheckoutInfoAddressPredictionsKey = io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey;
18943
18990
  export declare type CheckoutInfoAddressPredictionsKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressPredictionsKeyField;
@@ -19892,6 +19939,8 @@ export declare type OrderRevenueRegionDataPoint = io.flow.internal.v0.models.Ord
19892
19939
  export declare type OrderRevenueTimelineChart = io.flow.internal.v0.models.OrderRevenueTimelineChart;
19893
19940
  export declare type OrderRevenueTimelineDataPoint = io.flow.internal.v0.models.OrderRevenueTimelineDataPoint;
19894
19941
  export declare type OrderServiceChangeCsvForm = io.flow.internal.v0.models.OrderServiceChangeCsvForm;
19942
+ export declare type OrderServiceFee = io.flow.internal.v0.models.OrderServiceFee;
19943
+ export declare type OrderServiceFeeTier = io.flow.internal.v0.models.OrderServiceFeeTier;
19895
19944
  export declare type OrderShipped = io.flow.internal.v0.models.OrderShipped;
19896
19945
  export declare type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm;
19897
19946
  export declare type OrganizationAccount = io.flow.internal.v0.models.OrganizationAccount;
package/dist/api.d.ts CHANGED
@@ -2532,7 +2532,7 @@ declare namespace io.flow.v0.models {
2532
2532
  readonly type: 'use_sdk_klarna_v1';
2533
2533
  readonly expires_at?: string;
2534
2534
  readonly client_token: string;
2535
- readonly payment_method_categories: string[];
2535
+ readonly payment_method_categories: io.flow.v0.models.KlarnaPaymentCategory[];
2536
2536
  }
2537
2537
  interface ActionUseSdkPaypal {
2538
2538
  readonly type: 'use_sdk_paypal';
@@ -5704,6 +5704,23 @@ declare namespace io.flow.v0.models {
5704
5704
  readonly headers: Record<string, string[]>;
5705
5705
  readonly body: any;
5706
5706
  }
5707
+ interface KlarnaPaymentCategory {
5708
+ readonly id: string;
5709
+ readonly name: string;
5710
+ readonly standard_asset_url?: string;
5711
+ readonly descriptive_asset_url?: string;
5712
+ }
5713
+ interface KlarnaPaymentMethodCategory {
5714
+ readonly id: string;
5715
+ readonly name?: string;
5716
+ readonly standard_asset_url?: string;
5717
+ readonly descriptive_asset_url?: string;
5718
+ }
5719
+ interface KlarnaSdkAuthorizationResultActionDetails {
5720
+ readonly discriminator: 'klarna_sdk_authorization_result_action_details';
5721
+ readonly client_token: string;
5722
+ readonly payment_method_categories: io.flow.v0.models.KlarnaPaymentMethodCategory[];
5723
+ }
5707
5724
  interface KlaviyoLineItem {
5708
5725
  readonly content: io.flow.v0.models.CheckoutItemContent;
5709
5726
  readonly quantity: number;
@@ -7309,6 +7326,18 @@ declare namespace io.flow.v0.models {
7309
7326
  readonly type: 'authorize_googlepay';
7310
7327
  readonly payment_data: any;
7311
7328
  }
7329
+ interface PaymentMethodDataAuthorizeKlarna {
7330
+ readonly type: 'authorize_klarna';
7331
+ readonly result: io.flow.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
7332
+ }
7333
+ interface PaymentMethodDataAuthorizeKlarnaResultFailure {
7334
+ readonly type: 'failure';
7335
+ readonly placeholder?: string;
7336
+ }
7337
+ interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
7338
+ readonly type: 'success';
7339
+ readonly authorization_token: string;
7340
+ }
7312
7341
  interface PaymentMethodDataAuthorizePaypal {
7313
7342
  readonly type: 'authorize_paypal';
7314
7343
  readonly payment_id: string;
@@ -9490,6 +9519,7 @@ declare namespace io.flow.v0.models {
9490
9519
  interface TaxDutyQuoteFeeValue {
9491
9520
  readonly amount: number;
9492
9521
  readonly description: string;
9522
+ readonly amount_refundable_on_return: number;
9493
9523
  }
9494
9524
  interface TaxDutyQuoteForm {
9495
9525
  readonly primary_identifier: string;
@@ -9516,7 +9546,7 @@ declare namespace io.flow.v0.models {
9516
9546
  readonly quantity: number;
9517
9547
  readonly unit_price: number;
9518
9548
  readonly unit_weight?: io.flow.v0.models.Measurement;
9519
- readonly country_of_origin: string;
9549
+ readonly country_of_origin?: string;
9520
9550
  readonly hs_code: string;
9521
9551
  readonly includes: io.flow.v0.enums.LevyInclusion[];
9522
9552
  }
@@ -9526,6 +9556,7 @@ declare namespace io.flow.v0.models {
9526
9556
  readonly rate: number;
9527
9557
  readonly description: string;
9528
9558
  readonly zero_levy_reason?: io.flow.v0.enums.ZeroLevyReasonCode[];
9559
+ readonly amount_refundable_on_return: number;
9529
9560
  }
9530
9561
  interface TaxDutyQuoteSimpleShipping {
9531
9562
  readonly values: io.flow.v0.models.TaxDutyQuoteValues;
@@ -10029,7 +10060,7 @@ declare namespace io.flow.v0.unions {
10029
10060
  type AuthorizationForm = io.flow.v0.models.AuthorizationCopyForm | io.flow.v0.models.DirectAuthorizationForm | io.flow.v0.models.MerchantOfRecordAuthorizationForm | io.flow.v0.models.PaypalAuthorizationForm | io.flow.v0.models.RedirectAuthorizationForm | io.flow.v0.models.InlineAuthorizationForm | io.flow.v0.models.AchAuthorizationForm | io.flow.v0.models.CardPaymentSourceAuthorizationForm | io.flow.v0.models.OnlinePaymentAuthorizationForm;
10030
10061
  type AuthorizationPayloadParameters = io.flow.v0.models.GooglePayAuthorizationPayload | io.flow.v0.models.ApplePayMerchantValidationPayload;
10031
10062
  type AuthorizationResultAction = io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative;
10032
- type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails;
10063
+ type AuthorizationResultActionDetails = io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails;
10033
10064
  type AvailableFilter = io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured;
10034
10065
  type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
10035
10066
  type CardAuthorizationActionResult = io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4;
@@ -10077,7 +10108,8 @@ declare namespace io.flow.v0.unions {
10077
10108
  type PaymentCaptureOption = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual;
10078
10109
  type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm;
10079
10110
  type PaymentMethodCard = io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken;
10080
- type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
10111
+ type PaymentMethodData = io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
10112
+ type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
10081
10113
  type PaymentMethodSummary = io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal;
10082
10114
  type PaymentMethodTag = {
10083
10115
  discriminator: 'organization_payment_method_tag';
@@ -10782,6 +10814,9 @@ export declare type ItemShippingPricing = io.flow.v0.models.ItemShippingPricing;
10782
10814
  export declare type ItemStatistics = io.flow.v0.models.ItemStatistics;
10783
10815
  export declare type ItemVersion = io.flow.v0.models.ItemVersion;
10784
10816
  export declare type JsonpResponse = io.flow.v0.models.JsonpResponse;
10817
+ export declare type KlarnaPaymentCategory = io.flow.v0.models.KlarnaPaymentCategory;
10818
+ export declare type KlarnaPaymentMethodCategory = io.flow.v0.models.KlarnaPaymentMethodCategory;
10819
+ export declare type KlarnaSdkAuthorizationResultActionDetails = io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails;
10785
10820
  export declare type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem;
10786
10821
  export declare type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent;
10787
10822
  export declare type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices;
@@ -11085,6 +11120,10 @@ export declare type PaymentMethodData = io.flow.v0.unions.PaymentMethodData;
11085
11120
  export declare type PaymentMethodDataAuthorizeApplepay = io.flow.v0.models.PaymentMethodDataAuthorizeApplepay;
11086
11121
  export declare type PaymentMethodDataAuthorizeCard = io.flow.v0.models.PaymentMethodDataAuthorizeCard;
11087
11122
  export declare type PaymentMethodDataAuthorizeGooglepay = io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay;
11123
+ export declare type PaymentMethodDataAuthorizeKlarna = io.flow.v0.models.PaymentMethodDataAuthorizeKlarna;
11124
+ export declare type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
11125
+ export declare type PaymentMethodDataAuthorizeKlarnaResultFailure = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
11126
+ export declare type PaymentMethodDataAuthorizeKlarnaResultSuccess = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess;
11088
11127
  export declare type PaymentMethodDataAuthorizePaypal = io.flow.v0.models.PaymentMethodDataAuthorizePaypal;
11089
11128
  export declare type PaymentMethodDataCompleteAuthorizationCard = io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
11090
11129
  export declare type PaymentMethodDataInitAfterpay = io.flow.v0.models.PaymentMethodDataInitAfterpay;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.21.1",
3
+ "version": "11.22.1",
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": "260e93a00c56eaf0b2fd0e8d7ed4b0073c435eab"
28
+ "gitHead": "ae96a8120e0bba0395976a7c77910d0ddf48bc98"
29
29
  }
@@ -3437,6 +3437,19 @@ declare namespace io.flow.payment.v0.models {
3437
3437
  readonly country?: string;
3438
3438
  }
3439
3439
 
3440
+ interface KlarnaPaymentMethodCategory {
3441
+ readonly id: string;
3442
+ readonly name?: string;
3443
+ readonly standard_asset_url?: string;
3444
+ readonly descriptive_asset_url?: string;
3445
+ }
3446
+
3447
+ interface KlarnaSdkAuthorizationResultActionDetails {
3448
+ readonly discriminator: 'klarna_sdk_authorization_result_action_details';
3449
+ readonly client_token: string;
3450
+ readonly payment_method_categories: io.flow.payment.v0.models.KlarnaPaymentMethodCategory[];
3451
+ }
3452
+
3440
3453
  interface MerchantOfRecordAuthorizationForm {
3441
3454
  readonly discriminator: 'merchant_of_record_authorization_form';
3442
3455
  readonly token: string;
@@ -3876,7 +3889,8 @@ declare namespace io.flow.payment.v0.unions {
3876
3889
  | io.flow.payment.v0.models.AdyenNativeActionDetails
3877
3890
  | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails
3878
3891
  | io.flow.payment.v0.models.ThreedsIdentifyActionDetails
3879
- | io.flow.payment.v0.models.ThreedsChallengeActionDetails;
3892
+ | io.flow.payment.v0.models.ThreedsChallengeActionDetails
3893
+ | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails;
3880
3894
  type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration;
3881
3895
  type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
3882
3896
  type ExpandableCard =
@@ -12481,7 +12495,6 @@ declare namespace io.flow.internal.v0.enums {
12481
12495
  | 'consumer_invoice'
12482
12496
  | 'credit_memo'
12483
12497
  | 'transactions'
12484
- | 'channel_transactions'
12485
12498
  | 'virtual_card'
12486
12499
  | 'tax_remittance'
12487
12500
  | 'manual'
@@ -12512,6 +12525,7 @@ declare namespace io.flow.internal.v0.enums {
12512
12525
  | 'purchase';
12513
12526
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
12514
12527
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
12528
+ type CalculatorEngine = 'flow_rate_and_rule' | 'dtce';
12515
12529
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
12516
12530
  type CatalogImportType =
12517
12531
  | 'catalog_items'
@@ -12879,8 +12893,6 @@ declare namespace io.flow.internal.v0.enums {
12879
12893
  | 'billing_statement_deleted'
12880
12894
  | 'tax_remittance_transaction_upserted'
12881
12895
  | 'tax_remittance_transaction_deleted'
12882
- | 'channel_transaction_upserted'
12883
- | 'channel_transaction_deleted'
12884
12896
  | 'channel_account_upserted'
12885
12897
  | 'channel_account_deleted'
12886
12898
  | 'organization_account_upserted'
@@ -12963,6 +12975,10 @@ declare namespace io.flow.internal.v0.enums {
12963
12975
  | 'feature_deleted'
12964
12976
  | 'organization_boolean_value_upserted'
12965
12977
  | 'organization_boolean_value_deleted'
12978
+ | 'account_settings_upserted'
12979
+ | 'account_settings_deleted'
12980
+ | 'account_processing_rates_upserted'
12981
+ | 'account_processing_rates_deleted'
12966
12982
  | 'billing_organization_processing_rates_upserted'
12967
12983
  | 'billing_organization_processing_rates_deleted'
12968
12984
  | 'billing_organization_settings_upserted'
@@ -13447,11 +13463,73 @@ declare namespace io.flow.internal.v0.models {
13447
13463
  readonly transaction_created_before?: string;
13448
13464
  }
13449
13465
 
13466
+ interface AccountProcessingRateForm {
13467
+ readonly query: string;
13468
+ readonly capture: number;
13469
+ readonly refund: number;
13470
+ readonly fraud: number;
13471
+ }
13472
+
13473
+ interface AccountProcessingRates {
13474
+ readonly id: string;
13475
+ readonly query: string;
13476
+ readonly capture: number;
13477
+ readonly refund: number;
13478
+ readonly fraud: number;
13479
+ readonly position: number;
13480
+ }
13481
+
13482
+ interface AccountProcessingRatesDeleted {
13483
+ readonly discriminator: 'account_processing_rates_deleted';
13484
+ readonly event_id: string;
13485
+ readonly timestamp: string;
13486
+ readonly id: string;
13487
+ }
13488
+
13489
+ interface AccountProcessingRatesForm {
13490
+ readonly processing_rates: io.flow.internal.v0.models.AccountProcessingRateForm[];
13491
+ }
13492
+
13493
+ interface AccountProcessingRatesUpserted {
13494
+ readonly discriminator: 'account_processing_rates_upserted';
13495
+ readonly event_id: string;
13496
+ readonly timestamp: string;
13497
+ readonly rates: io.flow.internal.v0.models.AccountProcessingRates;
13498
+ }
13499
+
13450
13500
  interface AccountReference {
13451
13501
  readonly id: string;
13452
13502
  readonly currency: string;
13453
13503
  }
13454
13504
 
13505
+ interface AccountSettings {
13506
+ readonly id: string;
13507
+ readonly days_until_posted: number;
13508
+ readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
13509
+ readonly include_transaction_created_at: boolean;
13510
+ readonly include_order_exchange_rate: boolean;
13511
+ readonly send_statements_to_flow_ftp_server: boolean;
13512
+ readonly invoicing_terms?: io.flow.internal.v0.enums.PaymentTerm;
13513
+ readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
13514
+ readonly b2b_tax_remittance_days?: number;
13515
+ readonly merchant_of_record_fee?: number;
13516
+ readonly order_service_fee?: io.flow.internal.v0.models.OrderServiceFee;
13517
+ }
13518
+
13519
+ interface AccountSettingsDeleted {
13520
+ readonly discriminator: 'account_settings_deleted';
13521
+ readonly event_id: string;
13522
+ readonly timestamp: string;
13523
+ readonly id: string;
13524
+ }
13525
+
13526
+ interface AccountSettingsUpserted {
13527
+ readonly discriminator: 'account_settings_upserted';
13528
+ readonly event_id: string;
13529
+ readonly timestamp: string;
13530
+ readonly settings: io.flow.internal.v0.models.AccountSettings;
13531
+ }
13532
+
13455
13533
  interface AccountStatistics {
13456
13534
  readonly transfers: io.flow.common.v0.models.Price;
13457
13535
  readonly balance: io.flow.common.v0.models.Price;
@@ -14071,13 +14149,6 @@ declare namespace io.flow.internal.v0.models {
14071
14149
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
14072
14150
  }
14073
14151
 
14074
- interface BillingOrganizationProcessingRateForm {
14075
- readonly query: string;
14076
- readonly capture: number;
14077
- readonly refund: number;
14078
- readonly fraud: number;
14079
- }
14080
-
14081
14152
  interface BillingOrganizationProcessingRates {
14082
14153
  readonly id: string;
14083
14154
  readonly query: string;
@@ -14095,10 +14166,6 @@ declare namespace io.flow.internal.v0.models {
14095
14166
  readonly id: string;
14096
14167
  }
14097
14168
 
14098
- interface BillingOrganizationProcessingRatesForm {
14099
- readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRateForm[];
14100
- }
14101
-
14102
14169
  interface BillingOrganizationProcessingRatesUpserted {
14103
14170
  readonly discriminator: 'billing_organization_processing_rates_upserted';
14104
14171
  readonly event_id: string;
@@ -14710,51 +14777,11 @@ declare namespace io.flow.internal.v0.models {
14710
14777
  readonly metadata: io.flow.internal.v0.models.ShopifyMetadata;
14711
14778
  }
14712
14779
 
14713
- interface ChannelServiceFee {
14714
- readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
14715
- }
14716
-
14717
- interface ChannelServiceFeeTier {
14718
- readonly minimum_orders: number;
14719
- readonly amount: number;
14720
- }
14721
-
14722
14780
  interface ChannelTokenForm {
14723
14781
  readonly channel_id: string;
14724
14782
  readonly description?: string;
14725
14783
  }
14726
14784
 
14727
- interface ChannelTransaction {
14728
- readonly id: string;
14729
- readonly organization_id: string;
14730
- readonly processing_transaction_id: string;
14731
- readonly order_number: string;
14732
- readonly channel_currency: string;
14733
- readonly mor_convenience_fee: number;
14734
- readonly flow_fx_fee_on_mor: number;
14735
- readonly flow_processing_fee: number;
14736
- readonly flow_fraud_fee: number;
14737
- readonly service_fee: number;
14738
- readonly logistics_fee: number;
14739
- readonly total: number;
14740
- }
14741
-
14742
- interface ChannelTransactionDeleted {
14743
- readonly discriminator: 'channel_transaction_deleted';
14744
- readonly event_id: string;
14745
- readonly timestamp: string;
14746
- readonly organization: string;
14747
- readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
14748
- }
14749
-
14750
- interface ChannelTransactionUpserted {
14751
- readonly discriminator: 'channel_transaction_upserted';
14752
- readonly event_id: string;
14753
- readonly timestamp: string;
14754
- readonly organization: string;
14755
- readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction;
14756
- }
14757
-
14758
14785
  interface Chargeback {
14759
14786
  readonly id: string;
14760
14787
  readonly key: string;
@@ -14867,6 +14894,16 @@ declare namespace io.flow.internal.v0.models {
14867
14894
  readonly id: string;
14868
14895
  }
14869
14896
 
14897
+ interface CheckoutAddressCountriesFormData {
14898
+ readonly countries: io.flow.internal.v0.models.CheckoutAddressCountry[];
14899
+ }
14900
+
14901
+ interface CheckoutAddressCountry {
14902
+ readonly name: string;
14903
+ readonly code: string;
14904
+ readonly availability: io.flow.internal.v0.enums.CheckoutAddressType[];
14905
+ }
14906
+
14870
14907
  interface CheckoutAddressPrediction {
14871
14908
  readonly description: string;
14872
14909
  readonly id: string;
@@ -15510,6 +15547,11 @@ declare namespace io.flow.internal.v0.models {
15510
15547
  readonly value: string;
15511
15548
  }
15512
15549
 
15550
+ interface CheckoutInfoAddressCountriesFormData {
15551
+ readonly discriminator: 'checkout_info_address_countries_form_data';
15552
+ readonly data: io.flow.internal.v0.models.CheckoutAddressCountriesFormData;
15553
+ }
15554
+
15513
15555
  interface CheckoutInfoAddressPredictions {
15514
15556
  readonly discriminator: 'checkout_info_address_predictions';
15515
15557
  readonly key: io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey[];
@@ -20874,6 +20916,16 @@ declare namespace io.flow.internal.v0.models {
20874
20916
  readonly to_service_id: string;
20875
20917
  }
20876
20918
 
20919
+ interface OrderServiceFee {
20920
+ readonly currency: string;
20921
+ readonly tiers: io.flow.internal.v0.models.OrderServiceFeeTier[];
20922
+ }
20923
+
20924
+ interface OrderServiceFeeTier {
20925
+ readonly minimum_orders: number;
20926
+ readonly amount: number;
20927
+ }
20928
+
20877
20929
  interface OrderShipped {
20878
20930
  readonly discriminator: 'order_shipped';
20879
20931
  readonly event_id: string;
@@ -23498,6 +23550,7 @@ declare namespace io.flow.internal.v0.unions {
23498
23550
  type CheckoutInfo =
23499
23551
  | io.flow.internal.v0.models.CheckoutInfoAddressBookContacts
23500
23552
  | io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData
23553
+ | io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData
23501
23554
  | io.flow.internal.v0.models.CheckoutInfoAddressPredictions
23502
23555
  | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder
23503
23556
  | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession
@@ -23814,8 +23867,6 @@ declare namespace io.flow.internal.v0.unions {
23814
23867
  | io.flow.internal.v0.models.BillingStatementDeleted
23815
23868
  | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
23816
23869
  | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted
23817
- | io.flow.internal.v0.models.ChannelTransactionUpserted
23818
- | io.flow.internal.v0.models.ChannelTransactionDeleted
23819
23870
  | io.flow.internal.v0.models.ChannelAccountUpserted
23820
23871
  | io.flow.internal.v0.models.ChannelAccountDeleted
23821
23872
  | io.flow.internal.v0.models.OrganizationAccountUpserted
@@ -23898,6 +23949,10 @@ declare namespace io.flow.internal.v0.unions {
23898
23949
  | io.flow.internal.v0.models.FeatureDeleted
23899
23950
  | io.flow.internal.v0.models.OrganizationBooleanValueUpserted
23900
23951
  | io.flow.internal.v0.models.OrganizationBooleanValueDeleted
23952
+ | io.flow.internal.v0.models.AccountSettingsUpserted
23953
+ | io.flow.internal.v0.models.AccountSettingsDeleted
23954
+ | io.flow.internal.v0.models.AccountProcessingRatesUpserted
23955
+ | io.flow.internal.v0.models.AccountProcessingRatesDeleted
23901
23956
  | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted
23902
23957
  | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted
23903
23958
  | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted
@@ -24261,7 +24316,15 @@ export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
24261
24316
  export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
24262
24317
  export type AccountForm = io.flow.internal.v0.models.AccountForm;
24263
24318
  export type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
24319
+ export type AccountProcessingRateForm = io.flow.internal.v0.models.AccountProcessingRateForm;
24320
+ export type AccountProcessingRates = io.flow.internal.v0.models.AccountProcessingRates;
24321
+ export type AccountProcessingRatesDeleted = io.flow.internal.v0.models.AccountProcessingRatesDeleted;
24322
+ export type AccountProcessingRatesForm = io.flow.internal.v0.models.AccountProcessingRatesForm;
24323
+ export type AccountProcessingRatesUpserted = io.flow.internal.v0.models.AccountProcessingRatesUpserted;
24264
24324
  export type AccountReference = io.flow.internal.v0.models.AccountReference;
24325
+ export type AccountSettings = io.flow.internal.v0.models.AccountSettings;
24326
+ export type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted;
24327
+ export type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted;
24265
24328
  export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
24266
24329
  export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
24267
24330
  export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
@@ -24349,10 +24412,8 @@ export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAu
24349
24412
  export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
24350
24413
  export type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
24351
24414
  export type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
24352
- export type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
24353
24415
  export type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
24354
24416
  export type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
24355
- export type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
24356
24417
  export type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
24357
24418
  export type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
24358
24419
  export type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
@@ -24424,6 +24485,7 @@ export type BrowserBundlePaymentMethod = io.flow.internal.v0.models.BrowserBundl
24424
24485
  export type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
24425
24486
  export type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
24426
24487
  export type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
24488
+ export type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
24427
24489
  export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
24428
24490
  export type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
24429
24491
  export type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
@@ -24462,12 +24524,7 @@ export type ChannelOrderAcceptanceStatus = io.flow.internal.v0.enums.ChannelOrde
24462
24524
  export type ChannelOrderAcceptanceUpserted = io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted;
24463
24525
  export type ChannelOrganizationShopify = io.flow.internal.v0.models.ChannelOrganizationShopify;
24464
24526
  export type ChannelOrganizationShopifyForm = io.flow.internal.v0.models.ChannelOrganizationShopifyForm;
24465
- export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
24466
- export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
24467
24527
  export type ChannelTokenForm = io.flow.internal.v0.models.ChannelTokenForm;
24468
- export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction;
24469
- export type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted;
24470
- export type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted;
24471
24528
  export type Chargeback = io.flow.internal.v0.models.Chargeback;
24472
24529
  export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
24473
24530
  export type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
@@ -24493,6 +24550,8 @@ export type CheckoutAddressBookContact = io.flow.internal.v0.models.CheckoutAddr
24493
24550
  export type CheckoutAddressBookContactReference = io.flow.internal.v0.models.CheckoutAddressBookContactReference;
24494
24551
  export type CheckoutAddressBookContactRemoved = io.flow.internal.v0.models.CheckoutAddressBookContactRemoved;
24495
24552
  export type CheckoutAddressBookEdit = io.flow.internal.v0.unions.CheckoutAddressBookEdit;
24553
+ export type CheckoutAddressCountriesFormData = io.flow.internal.v0.models.CheckoutAddressCountriesFormData;
24554
+ export type CheckoutAddressCountry = io.flow.internal.v0.models.CheckoutAddressCountry;
24496
24555
  export type CheckoutAddressPrediction = io.flow.internal.v0.models.CheckoutAddressPrediction;
24497
24556
  export type CheckoutAddressPredictionMetadata = io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
24498
24557
  export type CheckoutAddressPredictions = io.flow.internal.v0.models.CheckoutAddressPredictions;
@@ -24654,6 +24713,7 @@ export type CheckoutInfoAddressBookContactsKeyField = io.flow.internal.v0.enums.
24654
24713
  export type CheckoutInfoAddressConfigurationFormData = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData;
24655
24714
  export type CheckoutInfoAddressConfigurationFormDataKey = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormDataKey;
24656
24715
  export type CheckoutInfoAddressConfigurationFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressConfigurationFormDataKeyField;
24716
+ export type CheckoutInfoAddressCountriesFormData = io.flow.internal.v0.models.CheckoutInfoAddressCountriesFormData;
24657
24717
  export type CheckoutInfoAddressPredictions = io.flow.internal.v0.models.CheckoutInfoAddressPredictions;
24658
24718
  export type CheckoutInfoAddressPredictionsKey = io.flow.internal.v0.models.CheckoutInfoAddressPredictionsKey;
24659
24719
  export type CheckoutInfoAddressPredictionsKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressPredictionsKeyField;
@@ -25608,6 +25668,8 @@ export type OrderRevenueRegionDataPoint = io.flow.internal.v0.models.OrderRevenu
25608
25668
  export type OrderRevenueTimelineChart = io.flow.internal.v0.models.OrderRevenueTimelineChart;
25609
25669
  export type OrderRevenueTimelineDataPoint = io.flow.internal.v0.models.OrderRevenueTimelineDataPoint;
25610
25670
  export type OrderServiceChangeCsvForm = io.flow.internal.v0.models.OrderServiceChangeCsvForm;
25671
+ export type OrderServiceFee = io.flow.internal.v0.models.OrderServiceFee;
25672
+ export type OrderServiceFeeTier = io.flow.internal.v0.models.OrderServiceFeeTier;
25611
25673
  export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
25612
25674
  export type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm;
25613
25675
  export type OrganizationAccount = io.flow.internal.v0.models.OrganizationAccount;
package/src/api.ts CHANGED
@@ -3848,7 +3848,7 @@ declare namespace io.flow.v0.models {
3848
3848
  readonly type: 'use_sdk_klarna_v1';
3849
3849
  readonly expires_at?: string;
3850
3850
  readonly client_token: string;
3851
- readonly payment_method_categories: string[];
3851
+ readonly payment_method_categories: io.flow.v0.models.KlarnaPaymentCategory[];
3852
3852
  }
3853
3853
 
3854
3854
  interface ActionUseSdkPaypal {
@@ -7544,6 +7544,26 @@ declare namespace io.flow.v0.models {
7544
7544
  readonly body: any /*object*/;
7545
7545
  }
7546
7546
 
7547
+ interface KlarnaPaymentCategory {
7548
+ readonly id: string;
7549
+ readonly name: string;
7550
+ readonly standard_asset_url?: string;
7551
+ readonly descriptive_asset_url?: string;
7552
+ }
7553
+
7554
+ interface KlarnaPaymentMethodCategory {
7555
+ readonly id: string;
7556
+ readonly name?: string;
7557
+ readonly standard_asset_url?: string;
7558
+ readonly descriptive_asset_url?: string;
7559
+ }
7560
+
7561
+ interface KlarnaSdkAuthorizationResultActionDetails {
7562
+ readonly discriminator: 'klarna_sdk_authorization_result_action_details';
7563
+ readonly client_token: string;
7564
+ readonly payment_method_categories: io.flow.v0.models.KlarnaPaymentMethodCategory[];
7565
+ }
7566
+
7547
7567
  interface KlaviyoLineItem {
7548
7568
  readonly content: io.flow.v0.models.CheckoutItemContent;
7549
7569
  readonly quantity: number;
@@ -9411,6 +9431,21 @@ declare namespace io.flow.v0.models {
9411
9431
  readonly payment_data: any /*object*/;
9412
9432
  }
9413
9433
 
9434
+ interface PaymentMethodDataAuthorizeKlarna {
9435
+ readonly type: 'authorize_klarna';
9436
+ readonly result: io.flow.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
9437
+ }
9438
+
9439
+ interface PaymentMethodDataAuthorizeKlarnaResultFailure {
9440
+ readonly type: 'failure';
9441
+ readonly placeholder?: string;
9442
+ }
9443
+
9444
+ interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
9445
+ readonly type: 'success';
9446
+ readonly authorization_token: string;
9447
+ }
9448
+
9414
9449
  interface PaymentMethodDataAuthorizePaypal {
9415
9450
  readonly type: 'authorize_paypal';
9416
9451
  readonly payment_id: string;
@@ -11949,6 +11984,7 @@ declare namespace io.flow.v0.models {
11949
11984
  interface TaxDutyQuoteFeeValue {
11950
11985
  readonly amount: number;
11951
11986
  readonly description: string;
11987
+ readonly amount_refundable_on_return: number;
11952
11988
  }
11953
11989
 
11954
11990
  interface TaxDutyQuoteForm {
@@ -11978,7 +12014,7 @@ declare namespace io.flow.v0.models {
11978
12014
  readonly quantity: number;
11979
12015
  readonly unit_price: number;
11980
12016
  readonly unit_weight?: io.flow.v0.models.Measurement;
11981
- readonly country_of_origin: string;
12017
+ readonly country_of_origin?: string;
11982
12018
  readonly hs_code: string;
11983
12019
  readonly includes: io.flow.v0.enums.LevyInclusion[];
11984
12020
  }
@@ -11989,6 +12025,7 @@ declare namespace io.flow.v0.models {
11989
12025
  readonly rate: number;
11990
12026
  readonly description: string;
11991
12027
  readonly zero_levy_reason?: io.flow.v0.enums.ZeroLevyReasonCode[];
12028
+ readonly amount_refundable_on_return: number;
11992
12029
  }
11993
12030
 
11994
12031
  interface TaxDutyQuoteSimpleShipping {
@@ -12609,7 +12646,8 @@ declare namespace io.flow.v0.unions {
12609
12646
  | io.flow.v0.models.AdyenNativeActionDetails
12610
12647
  | io.flow.v0.models.StripeAuthorizationResultActionDetails
12611
12648
  | io.flow.v0.models.ThreedsIdentifyActionDetails
12612
- | io.flow.v0.models.ThreedsChallengeActionDetails;
12649
+ | io.flow.v0.models.ThreedsChallengeActionDetails
12650
+ | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails;
12613
12651
  type AvailableFilter =
12614
12652
  | io.flow.v0.models.AvailableFilterStructured
12615
12653
  | io.flow.v0.models.AvailableFilterUnstructured;
@@ -12942,7 +12980,11 @@ declare namespace io.flow.v0.unions {
12942
12980
  | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay
12943
12981
  | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay
12944
12982
  | io.flow.v0.models.PaymentMethodDataAuthorizePaypal
12983
+ | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna
12945
12984
  | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
12985
+ type PaymentMethodDataAuthorizeKlarnaResult =
12986
+ | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
12987
+ | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
12946
12988
  type PaymentMethodSummary =
12947
12989
  | io.flow.v0.models.PaymentMethodSummaryCard
12948
12990
  | io.flow.v0.models.PaymentMethodSummaryKlarna
@@ -13725,6 +13767,9 @@ export type ItemShippingPricing = io.flow.v0.models.ItemShippingPricing;
13725
13767
  export type ItemStatistics = io.flow.v0.models.ItemStatistics;
13726
13768
  export type ItemVersion = io.flow.v0.models.ItemVersion;
13727
13769
  export type JsonpResponse = io.flow.v0.models.JsonpResponse;
13770
+ export type KlarnaPaymentCategory = io.flow.v0.models.KlarnaPaymentCategory;
13771
+ export type KlarnaPaymentMethodCategory = io.flow.v0.models.KlarnaPaymentMethodCategory;
13772
+ export type KlarnaSdkAuthorizationResultActionDetails = io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails;
13728
13773
  export type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem;
13729
13774
  export type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent;
13730
13775
  export type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices;
@@ -14028,6 +14073,10 @@ export type PaymentMethodData = io.flow.v0.unions.PaymentMethodData;
14028
14073
  export type PaymentMethodDataAuthorizeApplepay = io.flow.v0.models.PaymentMethodDataAuthorizeApplepay;
14029
14074
  export type PaymentMethodDataAuthorizeCard = io.flow.v0.models.PaymentMethodDataAuthorizeCard;
14030
14075
  export type PaymentMethodDataAuthorizeGooglepay = io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay;
14076
+ export type PaymentMethodDataAuthorizeKlarna = io.flow.v0.models.PaymentMethodDataAuthorizeKlarna;
14077
+ export type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
14078
+ export type PaymentMethodDataAuthorizeKlarnaResultFailure = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
14079
+ export type PaymentMethodDataAuthorizeKlarnaResultSuccess = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess;
14031
14080
  export type PaymentMethodDataAuthorizePaypal = io.flow.v0.models.PaymentMethodDataAuthorizePaypal;
14032
14081
  export type PaymentMethodDataCompleteAuthorizationCard = io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard;
14033
14082
  export type PaymentMethodDataInitAfterpay = io.flow.v0.models.PaymentMethodDataInitAfterpay;