@flowio/types 11.24.4 → 11.24.5

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.
@@ -8417,6 +8417,131 @@ declare namespace io.flow.item.v0.models {
8417
8417
  readonly price_attributes?: Record<string, io.flow.item.v0.models.LocalItemAttributePricing>;
8418
8418
  }
8419
8419
  }
8420
+ declare namespace io.flow.billing.v0.enums {
8421
+ type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
8422
+ type BillingTransactionStatus = 'pending' | 'posted';
8423
+ type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'transfer_fee' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label';
8424
+ type SubscriptionFrequency = 'yearly' | 'monthly';
8425
+ }
8426
+ declare namespace io.flow.billing.v0.models {
8427
+ interface Account {
8428
+ readonly id: string;
8429
+ readonly currency: string;
8430
+ readonly updated_at: string;
8431
+ readonly timezone: io.flow.reference.v0.models.Timezone;
8432
+ readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
8433
+ readonly payment_conditions?: string;
8434
+ readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRule;
8435
+ readonly center_key?: string;
8436
+ readonly statistics: io.flow.billing.v0.models.AccountStatistics;
8437
+ readonly next_statement: io.flow.billing.v0.models.NextBillingStatement;
8438
+ readonly created_at: string;
8439
+ }
8440
+ interface AccountContact {
8441
+ readonly id: string;
8442
+ readonly email: string;
8443
+ readonly first_name?: string;
8444
+ readonly last_name?: string;
8445
+ readonly phone?: string;
8446
+ }
8447
+ interface AccountContactForm {
8448
+ readonly email: string;
8449
+ readonly first_name?: string;
8450
+ readonly last_name?: string;
8451
+ readonly phone?: string;
8452
+ }
8453
+ interface AccountDepositRule {
8454
+ readonly target: number;
8455
+ readonly rate: number;
8456
+ }
8457
+ interface AccountDepositRuleForm {
8458
+ readonly target: number;
8459
+ readonly rate: number;
8460
+ }
8461
+ interface AccountReference {
8462
+ readonly id: string;
8463
+ readonly currency: string;
8464
+ }
8465
+ interface AccountStatistics {
8466
+ readonly transfers: io.flow.common.v0.models.Price;
8467
+ readonly balance: io.flow.common.v0.models.Price;
8468
+ readonly pending: io.flow.common.v0.models.Price;
8469
+ }
8470
+ interface BillingStatement {
8471
+ readonly id: string;
8472
+ readonly account: io.flow.billing.v0.models.AccountReference;
8473
+ readonly period: io.flow.common.v0.models.DatetimeRange;
8474
+ readonly totals: io.flow.billing.v0.models.BillingStatementTotals;
8475
+ readonly attachments: io.flow.billing.v0.models.BillingStatementAttachment[];
8476
+ }
8477
+ interface BillingStatementAttachment {
8478
+ readonly key: io.flow.billing.v0.enums.BillingStatementAttachmentKey;
8479
+ readonly name: string;
8480
+ readonly url: string;
8481
+ }
8482
+ interface BillingStatementReference {
8483
+ readonly id: string;
8484
+ }
8485
+ interface BillingStatementTotals {
8486
+ readonly starting_balance: io.flow.common.v0.models.Price;
8487
+ readonly subscription: io.flow.common.v0.models.Price;
8488
+ readonly transfer: io.flow.common.v0.models.Price;
8489
+ readonly transfer_fee: io.flow.common.v0.models.Price;
8490
+ readonly invoice: io.flow.common.v0.models.Price;
8491
+ readonly manual: io.flow.common.v0.models.Price;
8492
+ readonly adjustment: io.flow.common.v0.models.Price;
8493
+ readonly capture: io.flow.common.v0.models.Price;
8494
+ readonly refund: io.flow.common.v0.models.Price;
8495
+ readonly virtual_card_capture: io.flow.common.v0.models.Price;
8496
+ readonly virtual_card_refund: io.flow.common.v0.models.Price;
8497
+ readonly tax_remittance: io.flow.common.v0.models.Price;
8498
+ readonly dispute: io.flow.common.v0.models.Price;
8499
+ readonly channel: io.flow.common.v0.models.Price;
8500
+ readonly label: io.flow.common.v0.models.Price;
8501
+ readonly ending_balance: io.flow.common.v0.models.Price;
8502
+ }
8503
+ interface BillingTransaction {
8504
+ readonly id: string;
8505
+ readonly type: io.flow.billing.v0.enums.BillingTransactionType;
8506
+ readonly status: io.flow.billing.v0.enums.BillingTransactionStatus;
8507
+ readonly posted_at?: string;
8508
+ readonly value: io.flow.common.v0.models.Price;
8509
+ readonly description: string;
8510
+ readonly created_at: string;
8511
+ readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
8512
+ }
8513
+ interface ChannelAccount {
8514
+ readonly id: string;
8515
+ readonly channel: io.flow.common.v0.models.ChannelReference;
8516
+ readonly account: io.flow.billing.v0.models.SimpleAccountReference;
8517
+ }
8518
+ interface EmailForm {
8519
+ readonly to: string[];
8520
+ readonly cc?: string[];
8521
+ readonly bcc?: string[];
8522
+ }
8523
+ interface NextBillingStatement {
8524
+ readonly date: string;
8525
+ readonly amount: io.flow.common.v0.models.Price;
8526
+ readonly conditions?: string;
8527
+ }
8528
+ interface OrganizationAccount {
8529
+ readonly id: string;
8530
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
8531
+ readonly account: io.flow.billing.v0.models.SimpleAccountReference;
8532
+ }
8533
+ interface SimpleAccountReference {
8534
+ readonly id: string;
8535
+ }
8536
+ interface Subscription {
8537
+ readonly id: string;
8538
+ readonly organization: string;
8539
+ readonly value: io.flow.common.v0.models.Price;
8540
+ readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
8541
+ readonly starts_at: string;
8542
+ readonly created_at: string;
8543
+ }
8544
+ }
8420
8545
  declare namespace io.flow.harmonization.v0.enums {
8421
8546
  type TaxApplicability = 'none' | 'all';
8422
8547
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
@@ -9726,11 +9851,11 @@ declare namespace io.flow.internal.v0.enums {
9726
9851
  type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know';
9727
9852
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
9728
9853
  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';
9729
- type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9854
+ type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'all';
9730
9855
  type BillingStatementBatchFileKey = 'archive' | 'summary';
9731
9856
  type BillingStatementReviewStatus = 'approved' | 'pending';
9732
9857
  type BillingTransactionStatus = 'pending' | 'posted';
9733
- type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'transfer_fee' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label';
9858
+ type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'transfer_fee' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label' | 'order';
9734
9859
  type BlazeCheckoutEvent = 'begin_checkout' | 'select_promotion' | 'add_shipping_info' | 'add_payment_info' | 'purchase';
9735
9860
  type BlazeCheckoutStep = 'customer_info' | 'delivery' | 'payment';
9736
9861
  type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
@@ -9841,7 +9966,7 @@ declare namespace io.flow.internal.v0.enums {
9841
9966
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
9842
9967
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
9843
9968
  type EmptyAttribute = 'irrelevant';
9844
- 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' | 'transfer_fee_transaction_upserted' | 'transfer_fee_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published' | 'duty_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_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
9969
+ 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' | 'transfer_fee_transaction_upserted' | 'transfer_fee_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published' | 'duty_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_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'product_restriction_upserted' | 'product_restriction_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';
9845
9970
  type ExperienceImportType = 'experience_with_settings';
9846
9971
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
9847
9972
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -9905,6 +10030,8 @@ declare namespace io.flow.internal.v0.enums {
9905
10030
  type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment';
9906
10031
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
9907
10032
  type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
10033
+ type ProductRestrictionDecision = 'accept_restriction' | 'reject_restriction';
10034
+ type ProductRestrictionStatus = 'pending' | 'in_review' | 'accepted' | 'restricted';
9908
10035
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
9909
10036
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
9910
10037
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -9916,6 +10043,7 @@ declare namespace io.flow.internal.v0.enums {
9916
10043
  type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly';
9917
10044
  type ReportingScheme = 'immediate_reporting_to_tax_authority' | 'periodic_reporting_to_tax_authority' | 'paid_at_border' | 'paid_on_delivery';
9918
10045
  type ResponsibleParty = 'flow' | 'organization';
10046
+ type RestrictionAction = 'prohibited' | 'restricted';
9919
10047
  type RiskCheck = 'three_d_secure';
9920
10048
  type RiskEvaluation = 'Pending' | 'High-Risk' | 'Low-Risk' | 'Restricted-Party' | 'none';
9921
10049
  type Scope = 'organization' | 'global';
@@ -9988,7 +10116,7 @@ declare namespace io.flow.internal.v0.models {
9988
10116
  readonly discriminator: 'account_contact_upserted';
9989
10117
  readonly event_id: string;
9990
10118
  readonly timestamp: string;
9991
- readonly account_contact: io.flow.internal.v0.models.AccountContact;
10119
+ readonly account_contact: io.flow.billing.v0.models.AccountContact;
9992
10120
  }
9993
10121
  interface AccountDeletedV2 {
9994
10122
  readonly discriminator: 'account_deleted_v2';
@@ -10019,8 +10147,8 @@ declare namespace io.flow.internal.v0.models {
10019
10147
  readonly export_id: string;
10020
10148
  readonly account_id?: string;
10021
10149
  readonly statement_id?: string;
10022
- readonly transaction_type?: io.flow.internal.v0.enums.BillingTransactionType;
10023
- readonly transaction_status?: io.flow.internal.v0.enums.BillingTransactionStatus;
10150
+ readonly transaction_type?: io.flow.billing.v0.enums.BillingTransactionType;
10151
+ readonly transaction_status?: io.flow.billing.v0.enums.BillingTransactionStatus;
10024
10152
  readonly transaction_posted_from?: string;
10025
10153
  readonly transaction_posted_to?: string;
10026
10154
  readonly transaction_posted_on_or_after?: string;
@@ -10113,7 +10241,7 @@ declare namespace io.flow.internal.v0.models {
10113
10241
  readonly export_id: string;
10114
10242
  readonly account_id?: string;
10115
10243
  readonly statement_id?: string;
10116
- readonly status?: io.flow.internal.v0.enums.BillingTransactionStatus;
10244
+ readonly status?: io.flow.billing.v0.enums.BillingTransactionStatus;
10117
10245
  readonly posted_from?: string;
10118
10246
  readonly posted_to?: string;
10119
10247
  readonly posted_on_or_after?: string;
@@ -10132,13 +10260,13 @@ declare namespace io.flow.internal.v0.models {
10132
10260
  readonly event_id: string;
10133
10261
  readonly timestamp: string;
10134
10262
  readonly organization: string;
10135
- readonly account: io.flow.internal.v0.models.Account;
10263
+ readonly account: io.flow.billing.v0.models.Account;
10136
10264
  }
10137
10265
  interface AccountUpsertedV2 {
10138
10266
  readonly discriminator: 'account_upserted_v2';
10139
10267
  readonly event_id: string;
10140
10268
  readonly timestamp: string;
10141
- readonly account: io.flow.internal.v0.models.Account;
10269
+ readonly account: io.flow.billing.v0.models.Account;
10142
10270
  }
10143
10271
  interface ActionQuantity {
10144
10272
  readonly action: io.flow.internal.v0.enums.ItemQuantityAction;
@@ -10680,6 +10808,10 @@ declare namespace io.flow.internal.v0.models {
10680
10808
  readonly primary_identifier?: string;
10681
10809
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
10682
10810
  }
10811
+ interface BillingOrderTransactionOrderReference {
10812
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
10813
+ readonly number: string;
10814
+ }
10683
10815
  interface BillingOrganizationProcessingRates {
10684
10816
  readonly id: string;
10685
10817
  readonly query: string;
@@ -10786,13 +10918,14 @@ declare namespace io.flow.internal.v0.models {
10786
10918
  readonly dispute: io.flow.common.v0.models.Price;
10787
10919
  readonly channel: io.flow.common.v0.models.Price;
10788
10920
  readonly label: io.flow.common.v0.models.Price;
10921
+ readonly order: io.flow.common.v0.models.Price;
10789
10922
  readonly ending_balance: io.flow.common.v0.models.Price;
10790
10923
  }
10791
10924
  interface BillingStatementUpserted {
10792
10925
  readonly discriminator: 'billing_statement_upserted';
10793
10926
  readonly event_id: string;
10794
10927
  readonly timestamp: string;
10795
- readonly statement: io.flow.internal.v0.models.BillingStatement;
10928
+ readonly statement: io.flow.billing.v0.models.BillingStatement;
10796
10929
  }
10797
10930
  interface BillingTransaction {
10798
10931
  readonly id: string;
@@ -11142,7 +11275,7 @@ declare namespace io.flow.internal.v0.models {
11142
11275
  readonly discriminator: 'channel_account_upserted';
11143
11276
  readonly event_id: string;
11144
11277
  readonly timestamp: string;
11145
- readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
11278
+ readonly channel_account: io.flow.billing.v0.models.ChannelAccount;
11146
11279
  }
11147
11280
  interface ChannelCurrency {
11148
11281
  readonly id: string;
@@ -14159,7 +14292,6 @@ declare namespace io.flow.internal.v0.models {
14159
14292
  readonly mor?: io.flow.internal.v0.models.Fee;
14160
14293
  readonly fx?: io.flow.internal.v0.models.Fee;
14161
14294
  readonly duty_guarantee?: io.flow.internal.v0.models.Fee;
14162
- readonly order_service?: io.flow.internal.v0.models.Fee;
14163
14295
  }
14164
14296
  interface FinancialMerchantCategory {
14165
14297
  readonly id: string;
@@ -15756,7 +15888,6 @@ declare namespace io.flow.internal.v0.models {
15756
15888
  }
15757
15889
  interface LabelCreationRequestForm {
15758
15890
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
15759
- readonly organization_id: string;
15760
15891
  readonly shipment_cost?: io.flow.common.v0.models.Money;
15761
15892
  readonly reference_id?: string;
15762
15893
  }
@@ -16402,19 +16533,6 @@ declare namespace io.flow.internal.v0.models {
16402
16533
  interface Notification {
16403
16534
  readonly order: io.flow.internal.v0.models.Decision;
16404
16535
  }
16405
- interface Onboarding {
16406
- readonly placeholder?: string;
16407
- }
16408
- interface OnboardingClassification {
16409
- readonly country_of_origin_populated: boolean;
16410
- }
16411
- interface OnboardingForm {
16412
- readonly payment_processing: io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
16413
- readonly product_and_logistics: io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
16414
- readonly classification: io.flow.internal.v0.models.OnboardingClassification;
16415
- readonly bank_account_details: io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
16416
- readonly preparer_details?: io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
16417
- }
16418
16536
  interface OneTimeTokenRedemptionForm {
16419
16537
  readonly token: string;
16420
16538
  }
@@ -16621,6 +16739,17 @@ declare namespace io.flow.internal.v0.models {
16621
16739
  interface OrderSubmissionForm {
16622
16740
  readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
16623
16741
  }
16742
+ interface OrderTransaction {
16743
+ readonly discriminator: 'order_transaction';
16744
+ readonly id: string;
16745
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
16746
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
16747
+ readonly posted_at: string;
16748
+ readonly value: io.flow.common.v0.models.Price;
16749
+ readonly description: string;
16750
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
16751
+ readonly created_at: string;
16752
+ }
16624
16753
  interface OrganizationAccount {
16625
16754
  readonly id: string;
16626
16755
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -16636,7 +16765,7 @@ declare namespace io.flow.internal.v0.models {
16636
16765
  readonly discriminator: 'organization_account_upserted';
16637
16766
  readonly event_id: string;
16638
16767
  readonly timestamp: string;
16639
- readonly organization_account: io.flow.internal.v0.models.OrganizationAccount;
16768
+ readonly organization_account: io.flow.billing.v0.models.OrganizationAccount;
16640
16769
  }
16641
16770
  interface OrganizationBooleanValue {
16642
16771
  readonly id: string;
@@ -17270,6 +17399,32 @@ declare namespace io.flow.internal.v0.models {
17270
17399
  interface ProductListSettingsForm {
17271
17400
  readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
17272
17401
  }
17402
+ interface ProductRestriction {
17403
+ readonly id: string;
17404
+ readonly organization_id: string;
17405
+ readonly product_id: string;
17406
+ readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
17407
+ readonly restrictions: io.flow.internal.v0.models.Restriction[];
17408
+ }
17409
+ interface ProductRestrictionDecisionForm {
17410
+ readonly product_id: string;
17411
+ readonly rule_id: string;
17412
+ readonly decision: io.flow.internal.v0.enums.ProductRestrictionDecision;
17413
+ }
17414
+ interface ProductRestrictionDeleted {
17415
+ readonly discriminator: 'product_restriction_deleted';
17416
+ readonly event_id: string;
17417
+ readonly timestamp: string;
17418
+ readonly organization: string;
17419
+ readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
17420
+ }
17421
+ interface ProductRestrictionUpserted {
17422
+ readonly discriminator: 'product_restriction_upserted';
17423
+ readonly event_id: string;
17424
+ readonly timestamp: string;
17425
+ readonly organization: string;
17426
+ readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
17427
+ }
17273
17428
  interface QuoteRequest {
17274
17429
  readonly id: string;
17275
17430
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -17595,6 +17750,12 @@ declare namespace io.flow.internal.v0.models {
17595
17750
  readonly ignore_classification_status: boolean;
17596
17751
  readonly select_mismatching_item_types: boolean;
17597
17752
  }
17753
+ interface Restriction {
17754
+ readonly name: string;
17755
+ readonly rule_id: string;
17756
+ readonly action: io.flow.internal.v0.enums.RestrictionAction;
17757
+ readonly regions: io.flow.reference.v0.models.Region[];
17758
+ }
17598
17759
  interface ResyncByDestinations {
17599
17760
  readonly destinations: io.flow.reference.v0.models.Country[];
17600
17761
  }
@@ -17864,57 +18025,12 @@ declare namespace io.flow.internal.v0.models {
17864
18025
  interface ShopifyGrantsCheck {
17865
18026
  readonly placeholder: string;
17866
18027
  }
17867
- interface ShopifyMarketsBankAccountDetails {
17868
- readonly name: string;
17869
- readonly address: io.flow.common.v0.models.Address;
17870
- readonly contact: io.flow.common.v0.models.Contact;
17871
- readonly account_number: string;
17872
- readonly aba_routing_transit_number: string;
17873
- }
17874
18028
  interface ShopifyMarketsIncorporationCountry {
17875
18029
  readonly country: string;
17876
18030
  readonly state?: string;
17877
18031
  readonly province?: string;
17878
18032
  readonly jurisdiction?: string;
17879
18033
  }
17880
- interface ShopifyMarketsOnboardingPaymentProcessing {
17881
- readonly legal_name: string;
17882
- readonly incorporation_country: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
17883
- readonly indirect_tax_number: number;
17884
- readonly subsidiary_company?: io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
17885
- readonly beneficiary?: string;
17886
- readonly business_url: string;
17887
- readonly business_description?: string;
17888
- readonly business_address?: io.flow.common.v0.models.Address;
17889
- readonly refund_percentage: number;
17890
- readonly chargeback_percentage: number;
17891
- }
17892
- interface ShopifyMarketsPreparerDetails {
17893
- readonly name: string;
17894
- readonly title: string;
17895
- readonly company: string;
17896
- }
17897
- interface ShopifyMarketsProductLogistics {
17898
- readonly trade_sector: io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
17899
- readonly other_trade_sector?: string;
17900
- readonly ship_internationally: boolean;
17901
- readonly hts_number_available?: io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
17902
- readonly shipped_prohibited_products_before: boolean;
17903
- readonly third_party_logistics_partner: io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
17904
- readonly third_party_logistics_pick_up_time_window: io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
17905
- readonly pickup_location: io.flow.common.v0.models.BillingAddress;
17906
- readonly pickup_instructions?: string;
17907
- readonly operations_contact: io.flow.common.v0.models.Contact;
17908
- readonly average_order_weight: number;
17909
- readonly package_dimensions: io.flow.common.v0.models.Dimensions;
17910
- readonly average_order_value: number;
17911
- readonly maximum_order_value: number;
17912
- readonly monthly_average_volume: number;
17913
- readonly monthly_average_transactions: number;
17914
- readonly expected_international_markets: string[];
17915
- readonly any_dangerous_goods: io.flow.internal.v0.enums.AnyDangerousGoods;
17916
- readonly dangerous_goods?: io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods[];
17917
- }
17918
18034
  interface ShopifyMarketsShop {
17919
18035
  readonly id: string;
17920
18036
  readonly domain: string;
@@ -19077,7 +19193,7 @@ declare namespace io.flow.internal.v0.unions {
19077
19193
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
19078
19194
  type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
19079
19195
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
19080
- 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.TransferFeeTransactionUpserted | io.flow.internal.v0.models.TransferFeeTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.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.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
19196
+ 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.TransferFeeTransactionUpserted | io.flow.internal.v0.models.TransferFeeTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.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.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ProductRestrictionUpserted | io.flow.internal.v0.models.ProductRestrictionDeleted | 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;
19081
19197
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
19082
19198
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
19083
19199
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -19125,7 +19241,7 @@ declare namespace io.flow.internal.v0.unions {
19125
19241
  type TaskData = io.flow.internal.v0.models.TaskProcessQueuedEvent | io.flow.internal.v0.models.TaskSummarizeCode | io.flow.internal.v0.models.TaskItemUpserted | io.flow.internal.v0.models.TaskImport;
19126
19242
  type TaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount | io.flow.internal.v0.models.NoCalculatedTaxAmount;
19127
19243
  type Tracker = io.flow.internal.v0.models.GoogleAnalytics | io.flow.internal.v0.models.GoogleGlobalSiteTag | io.flow.internal.v0.models.GoogleTagManager | io.flow.internal.v0.models.FacebookPixel | io.flow.internal.v0.models.SnapchatPixel;
19128
- type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferFeeTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction | io.flow.internal.v0.models.DisputeTransaction | io.flow.internal.v0.models.ChannelTransaction | io.flow.internal.v0.models.LabelTransaction;
19244
+ type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferFeeTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction | io.flow.internal.v0.models.DisputeTransaction | io.flow.internal.v0.models.ChannelTransaction | io.flow.internal.v0.models.LabelTransaction | io.flow.internal.v0.models.OrderTransaction;
19129
19245
  type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
19130
19246
  type ValidationRule = io.flow.internal.v0.models.ValidationCharacterLength;
19131
19247
  type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant;
@@ -19249,6 +19365,7 @@ export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingIn
19249
19365
  export declare type BillingLabelSummary = io.flow.internal.v0.models.BillingLabelSummary;
19250
19366
  export declare type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
19251
19367
  export declare type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
19368
+ export declare type BillingOrderTransactionOrderReference = io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
19252
19369
  export declare type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
19253
19370
  export declare type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
19254
19371
  export declare type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
@@ -20496,9 +20613,6 @@ export declare type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalcula
20496
20613
  export declare type NoClassificationForm = io.flow.internal.v0.models.NoClassificationForm;
20497
20614
  export declare type NoLiabilityReasonCode = io.flow.internal.v0.enums.NoLiabilityReasonCode;
20498
20615
  export declare type Notification = io.flow.internal.v0.models.Notification;
20499
- export declare type Onboarding = io.flow.internal.v0.models.Onboarding;
20500
- export declare type OnboardingClassification = io.flow.internal.v0.models.OnboardingClassification;
20501
- export declare type OnboardingForm = io.flow.internal.v0.models.OnboardingForm;
20502
20616
  export declare type OneTimeTokenRedemptionForm = io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
20503
20617
  export declare type OnlineAuthorizationCompleted = io.flow.internal.v0.models.OnlineAuthorizationCompleted;
20504
20618
  export declare type OptinAttribute = io.flow.internal.v0.models.OptinAttribute;
@@ -20537,6 +20651,7 @@ export declare type OrderRevenueTimelineDataPoint = io.flow.internal.v0.models.O
20537
20651
  export declare type OrderServiceChangeCsvForm = io.flow.internal.v0.models.OrderServiceChangeCsvForm;
20538
20652
  export declare type OrderShipped = io.flow.internal.v0.models.OrderShipped;
20539
20653
  export declare type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm;
20654
+ export declare type OrderTransaction = io.flow.internal.v0.models.OrderTransaction;
20540
20655
  export declare type OrganizationAccount = io.flow.internal.v0.models.OrganizationAccount;
20541
20656
  export declare type OrganizationAccountDeleted = io.flow.internal.v0.models.OrganizationAccountDeleted;
20542
20657
  export declare type OrganizationAccountUpserted = io.flow.internal.v0.models.OrganizationAccountUpserted;
@@ -20656,6 +20771,12 @@ export declare type ProductHarmonization = io.flow.internal.v0.models.ProductHar
20656
20771
  export declare type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
20657
20772
  export declare type ProductLabels = io.flow.internal.v0.models.ProductLabels;
20658
20773
  export declare type ProductListSettingsForm = io.flow.internal.v0.models.ProductListSettingsForm;
20774
+ export declare type ProductRestriction = io.flow.internal.v0.models.ProductRestriction;
20775
+ export declare type ProductRestrictionDecision = io.flow.internal.v0.enums.ProductRestrictionDecision;
20776
+ export declare type ProductRestrictionDecisionForm = io.flow.internal.v0.models.ProductRestrictionDecisionForm;
20777
+ export declare type ProductRestrictionDeleted = io.flow.internal.v0.models.ProductRestrictionDeleted;
20778
+ export declare type ProductRestrictionStatus = io.flow.internal.v0.enums.ProductRestrictionStatus;
20779
+ export declare type ProductRestrictionUpserted = io.flow.internal.v0.models.ProductRestrictionUpserted;
20659
20780
  export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
20660
20781
  export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
20661
20782
  export declare type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
@@ -20715,6 +20836,8 @@ export declare type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
20715
20836
  export declare type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
20716
20837
  export declare type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
20717
20838
  export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
20839
+ export declare type Restriction = io.flow.internal.v0.models.Restriction;
20840
+ export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
20718
20841
  export declare type ResyncByDestinations = io.flow.internal.v0.models.ResyncByDestinations;
20719
20842
  export declare type ResyncByHs6Destinations = io.flow.internal.v0.models.ResyncByHs6Destinations;
20720
20843
  export declare type ResyncByHs6Origin = io.flow.internal.v0.models.ResyncByHs6Origin;
@@ -20776,13 +20899,9 @@ export declare type ShopifyGiftCardReversal = io.flow.internal.v0.models.Shopify
20776
20899
  export declare type ShopifyGiftCardReversalForm = io.flow.internal.v0.models.ShopifyGiftCardReversalForm;
20777
20900
  export declare type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
20778
20901
  export declare type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
20779
- export declare type ShopifyMarketsBankAccountDetails = io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
20780
20902
  export declare type ShopifyMarketsDangerousGoods = io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods;
20781
20903
  export declare type ShopifyMarketsHtsNumberAvailable = io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
20782
20904
  export declare type ShopifyMarketsIncorporationCountry = io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
20783
- export declare type ShopifyMarketsOnboardingPaymentProcessing = io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
20784
- export declare type ShopifyMarketsPreparerDetails = io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
20785
- export declare type ShopifyMarketsProductLogistics = io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
20786
20905
  export declare type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
20787
20906
  export declare type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
20788
20907
  export declare type ShopifyMarketsShopSummary = io.flow.internal.v0.models.ShopifyMarketsShopSummary;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.4",
3
+ "version": "11.24.5",
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": "1aad29348ecfd1ba88217a667a4ba4b84b22506c"
28
+ "gitHead": "fd6cd7b13d84f3237b236a265153ac81ed13f91e"
29
29
  }
@@ -11052,6 +11052,176 @@ declare namespace io.flow.item.v0.models {
11052
11052
  }
11053
11053
  }
11054
11054
 
11055
+ declare namespace io.flow.billing.v0.enums {
11056
+ type BillingStatementAttachmentKey =
11057
+ | 'invoice'
11058
+ | 'statement'
11059
+ | 'consumer_invoice'
11060
+ | 'credit_memo'
11061
+ | 'transactions'
11062
+ | 'virtual_card'
11063
+ | 'tax_remittance'
11064
+ | 'manual'
11065
+ | 'orders'
11066
+ | 'all';
11067
+ type BillingTransactionStatus = 'pending' | 'posted';
11068
+ type BillingTransactionType =
11069
+ | 'manual'
11070
+ | 'subscription'
11071
+ | 'invoice'
11072
+ | 'transfer'
11073
+ | 'transfer_fee'
11074
+ | 'adjustment'
11075
+ | 'capture'
11076
+ | 'refund'
11077
+ | 'virtual_card_capture'
11078
+ | 'virtual_card_refund'
11079
+ | 'tax_remittance'
11080
+ | 'fully_subsidized_order'
11081
+ | 'credit_payment'
11082
+ | 'dispute'
11083
+ | 'channel'
11084
+ | 'label';
11085
+ type SubscriptionFrequency = 'yearly' | 'monthly';
11086
+ }
11087
+
11088
+ declare namespace io.flow.billing.v0.models {
11089
+ interface Account {
11090
+ readonly id: string;
11091
+ readonly currency: string;
11092
+ readonly updated_at: string;
11093
+ readonly timezone: io.flow.reference.v0.models.Timezone;
11094
+ readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
11095
+ readonly payment_conditions?: string;
11096
+ readonly deposit_rule?: io.flow.billing.v0.models.AccountDepositRule;
11097
+ readonly center_key?: string;
11098
+ readonly statistics: io.flow.billing.v0.models.AccountStatistics;
11099
+ readonly next_statement: io.flow.billing.v0.models.NextBillingStatement;
11100
+ readonly created_at: string;
11101
+ }
11102
+
11103
+ interface AccountContact {
11104
+ readonly id: string;
11105
+ readonly email: string;
11106
+ readonly first_name?: string;
11107
+ readonly last_name?: string;
11108
+ readonly phone?: string;
11109
+ }
11110
+
11111
+ interface AccountContactForm {
11112
+ readonly email: string;
11113
+ readonly first_name?: string;
11114
+ readonly last_name?: string;
11115
+ readonly phone?: string;
11116
+ }
11117
+
11118
+ interface AccountDepositRule {
11119
+ readonly target: number;
11120
+ readonly rate: number;
11121
+ }
11122
+
11123
+ interface AccountDepositRuleForm {
11124
+ readonly target: number;
11125
+ readonly rate: number;
11126
+ }
11127
+
11128
+ interface AccountReference {
11129
+ readonly id: string;
11130
+ readonly currency: string;
11131
+ }
11132
+
11133
+ interface AccountStatistics {
11134
+ readonly transfers: io.flow.common.v0.models.Price;
11135
+ readonly balance: io.flow.common.v0.models.Price;
11136
+ readonly pending: io.flow.common.v0.models.Price;
11137
+ }
11138
+
11139
+ interface BillingStatement {
11140
+ readonly id: string;
11141
+ readonly account: io.flow.billing.v0.models.AccountReference;
11142
+ readonly period: io.flow.common.v0.models.DatetimeRange;
11143
+ readonly totals: io.flow.billing.v0.models.BillingStatementTotals;
11144
+ readonly attachments: io.flow.billing.v0.models.BillingStatementAttachment[];
11145
+ }
11146
+
11147
+ interface BillingStatementAttachment {
11148
+ readonly key: io.flow.billing.v0.enums.BillingStatementAttachmentKey;
11149
+ readonly name: string;
11150
+ readonly url: string;
11151
+ }
11152
+
11153
+ interface BillingStatementReference {
11154
+ readonly id: string;
11155
+ }
11156
+
11157
+ interface BillingStatementTotals {
11158
+ readonly starting_balance: io.flow.common.v0.models.Price;
11159
+ readonly subscription: io.flow.common.v0.models.Price;
11160
+ readonly transfer: io.flow.common.v0.models.Price;
11161
+ readonly transfer_fee: io.flow.common.v0.models.Price;
11162
+ readonly invoice: io.flow.common.v0.models.Price;
11163
+ readonly manual: io.flow.common.v0.models.Price;
11164
+ readonly adjustment: io.flow.common.v0.models.Price;
11165
+ readonly capture: io.flow.common.v0.models.Price;
11166
+ readonly refund: io.flow.common.v0.models.Price;
11167
+ readonly virtual_card_capture: io.flow.common.v0.models.Price;
11168
+ readonly virtual_card_refund: io.flow.common.v0.models.Price;
11169
+ readonly tax_remittance: io.flow.common.v0.models.Price;
11170
+ readonly dispute: io.flow.common.v0.models.Price;
11171
+ readonly channel: io.flow.common.v0.models.Price;
11172
+ readonly label: io.flow.common.v0.models.Price;
11173
+ readonly ending_balance: io.flow.common.v0.models.Price;
11174
+ }
11175
+
11176
+ interface BillingTransaction {
11177
+ readonly id: string;
11178
+ readonly type: io.flow.billing.v0.enums.BillingTransactionType;
11179
+ readonly status: io.flow.billing.v0.enums.BillingTransactionStatus;
11180
+ readonly posted_at?: string;
11181
+ readonly value: io.flow.common.v0.models.Price;
11182
+ readonly description: string;
11183
+ readonly created_at: string;
11184
+ readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
11185
+ }
11186
+
11187
+ interface ChannelAccount {
11188
+ readonly id: string;
11189
+ readonly channel: io.flow.common.v0.models.ChannelReference;
11190
+ readonly account: io.flow.billing.v0.models.SimpleAccountReference;
11191
+ }
11192
+
11193
+ interface EmailForm {
11194
+ readonly to: string[];
11195
+ readonly cc?: string[];
11196
+ readonly bcc?: string[];
11197
+ }
11198
+
11199
+ interface NextBillingStatement {
11200
+ readonly date: string;
11201
+ readonly amount: io.flow.common.v0.models.Price;
11202
+ readonly conditions?: string;
11203
+ }
11204
+
11205
+ interface OrganizationAccount {
11206
+ readonly id: string;
11207
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
11208
+ readonly account: io.flow.billing.v0.models.SimpleAccountReference;
11209
+ }
11210
+
11211
+ interface SimpleAccountReference {
11212
+ readonly id: string;
11213
+ }
11214
+
11215
+ interface Subscription {
11216
+ readonly id: string;
11217
+ readonly organization: string;
11218
+ readonly value: io.flow.common.v0.models.Price;
11219
+ readonly frequency: io.flow.billing.v0.enums.SubscriptionFrequency;
11220
+ readonly starts_at: string;
11221
+ readonly created_at: string;
11222
+ }
11223
+ }
11224
+
11055
11225
  declare namespace io.flow.harmonization.v0.enums {
11056
11226
  type TaxApplicability = 'none' | 'all';
11057
11227
  type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate';
@@ -12698,6 +12868,8 @@ declare namespace io.flow.internal.v0.enums {
12698
12868
  | 'tax_remittance'
12699
12869
  | 'manual'
12700
12870
  | 'orders'
12871
+ | 'label'
12872
+ | 'order_service'
12701
12873
  | 'all';
12702
12874
  type BillingStatementBatchFileKey = 'archive' | 'summary';
12703
12875
  type BillingStatementReviewStatus = 'approved' | 'pending';
@@ -12718,7 +12890,8 @@ declare namespace io.flow.internal.v0.enums {
12718
12890
  | 'credit_payment'
12719
12891
  | 'dispute'
12720
12892
  | 'channel'
12721
- | 'label';
12893
+ | 'label'
12894
+ | 'order';
12722
12895
  type BlazeCheckoutEvent =
12723
12896
  | 'begin_checkout'
12724
12897
  | 'select_promotion'
@@ -13290,6 +13463,8 @@ declare namespace io.flow.internal.v0.enums {
13290
13463
  | 'ratecard_service_fee_deleted'
13291
13464
  | 'ratecard_lane_aggregate_upserted'
13292
13465
  | 'ratecard_lane_aggregate_deleted'
13466
+ | 'product_restriction_upserted'
13467
+ | 'product_restriction_deleted'
13293
13468
  | 'shopify_shop_upserted'
13294
13469
  | 'shopify_shop_deleted'
13295
13470
  | 'shopify_experience_short_id_upserted'
@@ -13511,6 +13686,12 @@ declare namespace io.flow.internal.v0.enums {
13511
13686
  | 'fiserv'
13512
13687
  | 'crypto';
13513
13688
  type ProcessorEntityStatus = 'active' | 'draft' | 'archived';
13689
+ type ProductRestrictionDecision = 'accept_restriction' | 'reject_restriction';
13690
+ type ProductRestrictionStatus =
13691
+ | 'pending'
13692
+ | 'in_review'
13693
+ | 'accepted'
13694
+ | 'restricted';
13514
13695
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
13515
13696
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
13516
13697
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -13530,6 +13711,7 @@ declare namespace io.flow.internal.v0.enums {
13530
13711
  | 'paid_at_border'
13531
13712
  | 'paid_on_delivery';
13532
13713
  type ResponsibleParty = 'flow' | 'organization';
13714
+ type RestrictionAction = 'prohibited' | 'restricted';
13533
13715
  type RiskCheck = 'three_d_secure';
13534
13716
  type RiskEvaluation =
13535
13717
  | 'Pending'
@@ -13671,7 +13853,7 @@ declare namespace io.flow.internal.v0.models {
13671
13853
  readonly discriminator: 'account_contact_upserted';
13672
13854
  readonly event_id: string;
13673
13855
  readonly timestamp: string;
13674
- readonly account_contact: io.flow.internal.v0.models.AccountContact;
13856
+ readonly account_contact: io.flow.billing.v0.models.AccountContact;
13675
13857
  }
13676
13858
 
13677
13859
  interface AccountDeletedV2 {
@@ -13707,8 +13889,8 @@ declare namespace io.flow.internal.v0.models {
13707
13889
  readonly export_id: string;
13708
13890
  readonly account_id?: string;
13709
13891
  readonly statement_id?: string;
13710
- readonly transaction_type?: io.flow.internal.v0.enums.BillingTransactionType;
13711
- readonly transaction_status?: io.flow.internal.v0.enums.BillingTransactionStatus;
13892
+ readonly transaction_type?: io.flow.billing.v0.enums.BillingTransactionType;
13893
+ readonly transaction_status?: io.flow.billing.v0.enums.BillingTransactionStatus;
13712
13894
  readonly transaction_posted_from?: string;
13713
13895
  readonly transaction_posted_to?: string;
13714
13896
  readonly transaction_posted_on_or_after?: string;
@@ -13813,7 +13995,7 @@ declare namespace io.flow.internal.v0.models {
13813
13995
  readonly export_id: string;
13814
13996
  readonly account_id?: string;
13815
13997
  readonly statement_id?: string;
13816
- readonly status?: io.flow.internal.v0.enums.BillingTransactionStatus;
13998
+ readonly status?: io.flow.billing.v0.enums.BillingTransactionStatus;
13817
13999
  readonly posted_from?: string;
13818
14000
  readonly posted_to?: string;
13819
14001
  readonly posted_on_or_after?: string;
@@ -13833,14 +14015,14 @@ declare namespace io.flow.internal.v0.models {
13833
14015
  readonly event_id: string;
13834
14016
  readonly timestamp: string;
13835
14017
  readonly organization: string;
13836
- readonly account: io.flow.internal.v0.models.Account;
14018
+ readonly account: io.flow.billing.v0.models.Account;
13837
14019
  }
13838
14020
 
13839
14021
  interface AccountUpsertedV2 {
13840
14022
  readonly discriminator: 'account_upserted_v2';
13841
14023
  readonly event_id: string;
13842
14024
  readonly timestamp: string;
13843
- readonly account: io.flow.internal.v0.models.Account;
14025
+ readonly account: io.flow.billing.v0.models.Account;
13844
14026
  }
13845
14027
 
13846
14028
  interface ActionQuantity {
@@ -14469,6 +14651,11 @@ declare namespace io.flow.internal.v0.models {
14469
14651
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
14470
14652
  }
14471
14653
 
14654
+ interface BillingOrderTransactionOrderReference {
14655
+ readonly organization: io.flow.common.v0.models.OrganizationReference;
14656
+ readonly number: string;
14657
+ }
14658
+
14472
14659
  interface BillingOrganizationProcessingRates {
14473
14660
  readonly id: string;
14474
14661
  readonly query: string;
@@ -14589,6 +14776,7 @@ declare namespace io.flow.internal.v0.models {
14589
14776
  readonly dispute: io.flow.common.v0.models.Price;
14590
14777
  readonly channel: io.flow.common.v0.models.Price;
14591
14778
  readonly label: io.flow.common.v0.models.Price;
14779
+ readonly order: io.flow.common.v0.models.Price;
14592
14780
  readonly ending_balance: io.flow.common.v0.models.Price;
14593
14781
  }
14594
14782
 
@@ -14596,7 +14784,7 @@ declare namespace io.flow.internal.v0.models {
14596
14784
  readonly discriminator: 'billing_statement_upserted';
14597
14785
  readonly event_id: string;
14598
14786
  readonly timestamp: string;
14599
- readonly statement: io.flow.internal.v0.models.BillingStatement;
14787
+ readonly statement: io.flow.billing.v0.models.BillingStatement;
14600
14788
  }
14601
14789
 
14602
14790
  interface BillingTransaction {
@@ -15012,7 +15200,7 @@ declare namespace io.flow.internal.v0.models {
15012
15200
  readonly discriminator: 'channel_account_upserted';
15013
15201
  readonly event_id: string;
15014
15202
  readonly timestamp: string;
15015
- readonly channel_account: io.flow.internal.v0.models.ChannelAccount;
15203
+ readonly channel_account: io.flow.billing.v0.models.ChannelAccount;
15016
15204
  }
15017
15205
 
15018
15206
  interface ChannelCurrency {
@@ -18628,7 +18816,6 @@ declare namespace io.flow.internal.v0.models {
18628
18816
  readonly mor?: io.flow.internal.v0.models.Fee;
18629
18817
  readonly fx?: io.flow.internal.v0.models.Fee;
18630
18818
  readonly duty_guarantee?: io.flow.internal.v0.models.Fee;
18631
- readonly order_service?: io.flow.internal.v0.models.Fee;
18632
18819
  }
18633
18820
 
18634
18821
  interface FinancialMerchantCategory {
@@ -20433,7 +20620,6 @@ declare namespace io.flow.internal.v0.models {
20433
20620
 
20434
20621
  interface LabelCreationRequestForm {
20435
20622
  readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
20436
- readonly organization_id: string;
20437
20623
  readonly shipment_cost?: io.flow.common.v0.models.Money;
20438
20624
  readonly reference_id?: string;
20439
20625
  }
@@ -21186,22 +21372,6 @@ declare namespace io.flow.internal.v0.models {
21186
21372
  readonly order: io.flow.internal.v0.models.Decision;
21187
21373
  }
21188
21374
 
21189
- interface Onboarding {
21190
- readonly placeholder?: string;
21191
- }
21192
-
21193
- interface OnboardingClassification {
21194
- readonly country_of_origin_populated: boolean;
21195
- }
21196
-
21197
- interface OnboardingForm {
21198
- readonly payment_processing: io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
21199
- readonly product_and_logistics: io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
21200
- readonly classification: io.flow.internal.v0.models.OnboardingClassification;
21201
- readonly bank_account_details: io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
21202
- readonly preparer_details?: io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
21203
- }
21204
-
21205
21375
  interface OneTimeTokenRedemptionForm {
21206
21376
  readonly token: string;
21207
21377
  }
@@ -21440,6 +21610,18 @@ declare namespace io.flow.internal.v0.models {
21440
21610
  readonly authorization?: io.flow.payment.v0.unions.AuthorizationForm;
21441
21611
  }
21442
21612
 
21613
+ interface OrderTransaction {
21614
+ readonly discriminator: 'order_transaction';
21615
+ readonly id: string;
21616
+ readonly type: io.flow.internal.v0.enums.BillingTransactionType;
21617
+ readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
21618
+ readonly posted_at: string;
21619
+ readonly value: io.flow.common.v0.models.Price;
21620
+ readonly description: string;
21621
+ readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
21622
+ readonly created_at: string;
21623
+ }
21624
+
21443
21625
  interface OrganizationAccount {
21444
21626
  readonly id: string;
21445
21627
  readonly organization: io.flow.common.v0.models.OrganizationReference;
@@ -21457,7 +21639,7 @@ declare namespace io.flow.internal.v0.models {
21457
21639
  readonly discriminator: 'organization_account_upserted';
21458
21640
  readonly event_id: string;
21459
21641
  readonly timestamp: string;
21460
- readonly organization_account: io.flow.internal.v0.models.OrganizationAccount;
21642
+ readonly organization_account: io.flow.billing.v0.models.OrganizationAccount;
21461
21643
  }
21462
21644
 
21463
21645
  interface OrganizationBooleanValue {
@@ -22184,6 +22366,36 @@ declare namespace io.flow.internal.v0.models {
22184
22366
  readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
22185
22367
  }
22186
22368
 
22369
+ interface ProductRestriction {
22370
+ readonly id: string;
22371
+ readonly organization_id: string;
22372
+ readonly product_id: string;
22373
+ readonly status: io.flow.internal.v0.enums.ProductRestrictionStatus;
22374
+ readonly restrictions: io.flow.internal.v0.models.Restriction[];
22375
+ }
22376
+
22377
+ interface ProductRestrictionDecisionForm {
22378
+ readonly product_id: string;
22379
+ readonly rule_id: string;
22380
+ readonly decision: io.flow.internal.v0.enums.ProductRestrictionDecision;
22381
+ }
22382
+
22383
+ interface ProductRestrictionDeleted {
22384
+ readonly discriminator: 'product_restriction_deleted';
22385
+ readonly event_id: string;
22386
+ readonly timestamp: string;
22387
+ readonly organization: string;
22388
+ readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
22389
+ }
22390
+
22391
+ interface ProductRestrictionUpserted {
22392
+ readonly discriminator: 'product_restriction_upserted';
22393
+ readonly event_id: string;
22394
+ readonly timestamp: string;
22395
+ readonly organization: string;
22396
+ readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
22397
+ }
22398
+
22187
22399
  interface QuoteRequest {
22188
22400
  readonly id: string;
22189
22401
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -22557,6 +22769,13 @@ declare namespace io.flow.internal.v0.models {
22557
22769
  readonly select_mismatching_item_types: boolean;
22558
22770
  }
22559
22771
 
22772
+ interface Restriction {
22773
+ readonly name: string;
22774
+ readonly rule_id: string;
22775
+ readonly action: io.flow.internal.v0.enums.RestrictionAction;
22776
+ readonly regions: io.flow.reference.v0.models.Region[];
22777
+ }
22778
+
22560
22779
  interface ResyncByDestinations {
22561
22780
  readonly destinations: io.flow.reference.v0.models.Country[];
22562
22781
  }
@@ -22878,14 +23097,6 @@ declare namespace io.flow.internal.v0.models {
22878
23097
  readonly placeholder: string;
22879
23098
  }
22880
23099
 
22881
- interface ShopifyMarketsBankAccountDetails {
22882
- readonly name: string;
22883
- readonly address: io.flow.common.v0.models.Address;
22884
- readonly contact: io.flow.common.v0.models.Contact;
22885
- readonly account_number: string;
22886
- readonly aba_routing_transit_number: string;
22887
- }
22888
-
22889
23100
  interface ShopifyMarketsIncorporationCountry {
22890
23101
  readonly country: string;
22891
23102
  readonly state?: string;
@@ -22893,47 +23104,6 @@ declare namespace io.flow.internal.v0.models {
22893
23104
  readonly jurisdiction?: string;
22894
23105
  }
22895
23106
 
22896
- interface ShopifyMarketsOnboardingPaymentProcessing {
22897
- readonly legal_name: string;
22898
- readonly incorporation_country: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
22899
- readonly indirect_tax_number: number;
22900
- readonly subsidiary_company?: io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
22901
- readonly beneficiary?: string;
22902
- readonly business_url: string;
22903
- readonly business_description?: string;
22904
- readonly business_address?: io.flow.common.v0.models.Address;
22905
- readonly refund_percentage: number;
22906
- readonly chargeback_percentage: number;
22907
- }
22908
-
22909
- interface ShopifyMarketsPreparerDetails {
22910
- readonly name: string;
22911
- readonly title: string;
22912
- readonly company: string;
22913
- }
22914
-
22915
- interface ShopifyMarketsProductLogistics {
22916
- readonly trade_sector: io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
22917
- readonly other_trade_sector?: string;
22918
- readonly ship_internationally: boolean;
22919
- readonly hts_number_available?: io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
22920
- readonly shipped_prohibited_products_before: boolean;
22921
- readonly third_party_logistics_partner: io.flow.internal.v0.models.ThirdPartyLogisticsPartner;
22922
- readonly third_party_logistics_pick_up_time_window: io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
22923
- readonly pickup_location: io.flow.common.v0.models.BillingAddress;
22924
- readonly pickup_instructions?: string;
22925
- readonly operations_contact: io.flow.common.v0.models.Contact;
22926
- readonly average_order_weight: number;
22927
- readonly package_dimensions: io.flow.common.v0.models.Dimensions;
22928
- readonly average_order_value: number;
22929
- readonly maximum_order_value: number;
22930
- readonly monthly_average_volume: number;
22931
- readonly monthly_average_transactions: number;
22932
- readonly expected_international_markets: string[];
22933
- readonly any_dangerous_goods: io.flow.internal.v0.enums.AnyDangerousGoods;
22934
- readonly dangerous_goods?: io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods[];
22935
- }
22936
-
22937
23107
  interface ShopifyMarketsShop {
22938
23108
  readonly id: string;
22939
23109
  readonly domain: string;
@@ -24815,6 +24985,8 @@ declare namespace io.flow.internal.v0.unions {
24815
24985
  | io.flow.internal.v0.models.RatecardServiceFeeDeleted
24816
24986
  | io.flow.internal.v0.models.RatecardLaneAggregateUpserted
24817
24987
  | io.flow.internal.v0.models.RatecardLaneAggregateDeleted
24988
+ | io.flow.internal.v0.models.ProductRestrictionUpserted
24989
+ | io.flow.internal.v0.models.ProductRestrictionDeleted
24818
24990
  | io.flow.internal.v0.models.ShopifyShopUpserted
24819
24991
  | io.flow.internal.v0.models.ShopifyShopDeleted
24820
24992
  | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
@@ -25073,7 +25245,8 @@ declare namespace io.flow.internal.v0.unions {
25073
25245
  | io.flow.internal.v0.models.VirtualCardTransaction
25074
25246
  | io.flow.internal.v0.models.DisputeTransaction
25075
25247
  | io.flow.internal.v0.models.ChannelTransaction
25076
- | io.flow.internal.v0.models.LabelTransaction;
25248
+ | io.flow.internal.v0.models.LabelTransaction
25249
+ | io.flow.internal.v0.models.OrderTransaction;
25077
25250
  type TransactionSummary =
25078
25251
  | io.flow.internal.v0.models.PaymentSummaryV2
25079
25252
  | io.flow.internal.v0.models.FraudSummary;
@@ -25284,6 +25457,8 @@ export type BillingOrderDestination =
25284
25457
  io.flow.internal.v0.models.BillingOrderDestination;
25285
25458
  export type BillingOrderSummary =
25286
25459
  io.flow.internal.v0.models.BillingOrderSummary;
25460
+ export type BillingOrderTransactionOrderReference =
25461
+ io.flow.internal.v0.models.BillingOrderTransactionOrderReference;
25287
25462
  export type BillingOrganizationProcessingRates =
25288
25463
  io.flow.internal.v0.models.BillingOrganizationProcessingRates;
25289
25464
  export type BillingOrganizationProcessingRatesDeleted =
@@ -27479,10 +27654,6 @@ export type NoClassificationForm =
27479
27654
  export type NoLiabilityReasonCode =
27480
27655
  io.flow.internal.v0.enums.NoLiabilityReasonCode;
27481
27656
  export type Notification = io.flow.internal.v0.models.Notification;
27482
- export type Onboarding = io.flow.internal.v0.models.Onboarding;
27483
- export type OnboardingClassification =
27484
- io.flow.internal.v0.models.OnboardingClassification;
27485
- export type OnboardingForm = io.flow.internal.v0.models.OnboardingForm;
27486
27657
  export type OneTimeTokenRedemptionForm =
27487
27658
  io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
27488
27659
  export type OnlineAuthorizationCompleted =
@@ -27539,6 +27710,7 @@ export type OrderServiceChangeCsvForm =
27539
27710
  export type OrderShipped = io.flow.internal.v0.models.OrderShipped;
27540
27711
  export type OrderSubmissionForm =
27541
27712
  io.flow.internal.v0.models.OrderSubmissionForm;
27713
+ export type OrderTransaction = io.flow.internal.v0.models.OrderTransaction;
27542
27714
  export type OrganizationAccount =
27543
27715
  io.flow.internal.v0.models.OrganizationAccount;
27544
27716
  export type OrganizationAccountDeleted =
@@ -27746,6 +27918,17 @@ export type ProductHarmonizationForm =
27746
27918
  export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
27747
27919
  export type ProductListSettingsForm =
27748
27920
  io.flow.internal.v0.models.ProductListSettingsForm;
27921
+ export type ProductRestriction = io.flow.internal.v0.models.ProductRestriction;
27922
+ export type ProductRestrictionDecision =
27923
+ io.flow.internal.v0.enums.ProductRestrictionDecision;
27924
+ export type ProductRestrictionDecisionForm =
27925
+ io.flow.internal.v0.models.ProductRestrictionDecisionForm;
27926
+ export type ProductRestrictionDeleted =
27927
+ io.flow.internal.v0.models.ProductRestrictionDeleted;
27928
+ export type ProductRestrictionStatus =
27929
+ io.flow.internal.v0.enums.ProductRestrictionStatus;
27930
+ export type ProductRestrictionUpserted =
27931
+ io.flow.internal.v0.models.ProductRestrictionUpserted;
27749
27932
  export type PromptAction = io.flow.internal.v0.enums.PromptAction;
27750
27933
  export type PromptCheckoutDisplayPosition =
27751
27934
  io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
@@ -27837,6 +28020,8 @@ export type ReportInterval = io.flow.internal.v0.enums.ReportInterval;
27837
28020
  export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme;
27838
28021
  export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm;
27839
28022
  export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
28023
+ export type Restriction = io.flow.internal.v0.models.Restriction;
28024
+ export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
27840
28025
  export type ResyncByDestinations =
27841
28026
  io.flow.internal.v0.models.ResyncByDestinations;
27842
28027
  export type ResyncByHs6Destinations =
@@ -27928,20 +28113,12 @@ export type ShopifyGiftCardReversalForm =
27928
28113
  io.flow.internal.v0.models.ShopifyGiftCardReversalForm;
27929
28114
  export type ShopifyGrantStatus = io.flow.internal.v0.enums.ShopifyGrantStatus;
27930
28115
  export type ShopifyGrantsCheck = io.flow.internal.v0.models.ShopifyGrantsCheck;
27931
- export type ShopifyMarketsBankAccountDetails =
27932
- io.flow.internal.v0.models.ShopifyMarketsBankAccountDetails;
27933
28116
  export type ShopifyMarketsDangerousGoods =
27934
28117
  io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods;
27935
28118
  export type ShopifyMarketsHtsNumberAvailable =
27936
28119
  io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable;
27937
28120
  export type ShopifyMarketsIncorporationCountry =
27938
28121
  io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
27939
- export type ShopifyMarketsOnboardingPaymentProcessing =
27940
- io.flow.internal.v0.models.ShopifyMarketsOnboardingPaymentProcessing;
27941
- export type ShopifyMarketsPreparerDetails =
27942
- io.flow.internal.v0.models.ShopifyMarketsPreparerDetails;
27943
- export type ShopifyMarketsProductLogistics =
27944
- io.flow.internal.v0.models.ShopifyMarketsProductLogistics;
27945
28122
  export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop;
27946
28123
  export type ShopifyMarketsShopForm =
27947
28124
  io.flow.internal.v0.models.ShopifyMarketsShopForm;