@flowio/types 11.19.14 → 11.19.16

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.
@@ -7367,7 +7367,7 @@ declare namespace io.flow.crypto.v0.models {
7367
7367
  }
7368
7368
  declare namespace io.flow.catalog.v0.enums {
7369
7369
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
7370
- type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number';
7370
+ type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
7371
7371
  type FulfillmentMethodType = 'fulfillment_method';
7372
7372
  type FulfillmentMethodValue = 'digital' | 'physical';
7373
7373
  type ImageTag = 'thumbnail' | 'checkout';
@@ -9206,6 +9206,7 @@ declare namespace io.flow.internal.v0.enums {
9206
9206
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
9207
9207
  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';
9208
9208
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9209
+ type BillingStatementBatchFileKey = 'archive' | 'fx_transactions' | 'summary';
9209
9210
  type BillingStatementReviewStatus = 'approved' | 'pending';
9210
9211
  type BillingTransactionStatus = 'pending' | 'posted';
9211
9212
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
@@ -9244,7 +9245,7 @@ declare namespace io.flow.internal.v0.enums {
9244
9245
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
9245
9246
  type CheckoutInfoAddressPredictionsKeyField = 'input';
9246
9247
  type CheckoutInfoContentKeyField = 'locale';
9247
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal';
9248
+ type CheckoutInfoDeliveriesFormDataKeyField = 'value' | 'currency' | 'country' | 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal';
9248
9249
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
9249
9250
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
9250
9251
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
@@ -9302,7 +9303,7 @@ declare namespace io.flow.internal.v0.enums {
9302
9303
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
9303
9304
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
9304
9305
  type EmptyAttribute = 'irrelevant';
9305
- 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' | 'account_upserted' | 'account_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | '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' | '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' | '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' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
9306
+ 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' | 'account_upserted' | 'account_deleted' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'flow_currency_setting_upserted' | 'flow_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | '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' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | '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' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
9306
9307
  type ExperienceImportType = 'experience_with_settings';
9307
9308
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
9308
9309
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -9331,6 +9332,7 @@ declare namespace io.flow.internal.v0.enums {
9331
9332
  type LabelBillingStrategy = 'quote' | 'carrier';
9332
9333
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
9333
9334
  type ManualReviewRuleStatus = 'active' | 'archived';
9335
+ type ManualTransactionCategory = 'cancelled_order_refund' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit';
9334
9336
  type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
9335
9337
  type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
9336
9338
  type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
@@ -9420,12 +9422,24 @@ declare namespace io.flow.internal.v0.models {
9420
9422
  readonly last_name?: string;
9421
9423
  readonly phone?: string;
9422
9424
  }
9425
+ interface AccountContactDeleted {
9426
+ readonly discriminator: 'account_contact_deleted';
9427
+ readonly event_id: string;
9428
+ readonly timestamp: string;
9429
+ readonly id: string;
9430
+ }
9423
9431
  interface AccountContactForm {
9424
9432
  readonly email: string;
9425
9433
  readonly first_name?: string;
9426
9434
  readonly last_name?: string;
9427
9435
  readonly phone?: string;
9428
9436
  }
9437
+ interface AccountContactUpserted {
9438
+ readonly discriminator: 'account_contact_upserted';
9439
+ readonly event_id: string;
9440
+ readonly timestamp: string;
9441
+ readonly account_contact: io.flow.internal.v0.models.AccountContact;
9442
+ }
9429
9443
  interface AccountDeleted {
9430
9444
  readonly discriminator: 'account_deleted';
9431
9445
  readonly event_id: string;
@@ -9839,6 +9853,12 @@ declare namespace io.flow.internal.v0.models {
9839
9853
  readonly count: number;
9840
9854
  readonly errors: io.flow.internal.v0.models.AlertErrorSummary[];
9841
9855
  }
9856
+ interface AlertImportSummary {
9857
+ readonly organization_id: string;
9858
+ readonly filename: string;
9859
+ readonly type: string;
9860
+ readonly started_at?: string;
9861
+ }
9842
9862
  interface AlertRequeueSummary {
9843
9863
  readonly queue: string;
9844
9864
  readonly count: number;
@@ -9947,16 +9967,6 @@ declare namespace io.flow.internal.v0.models {
9947
9967
  readonly organization: string;
9948
9968
  readonly bank_payment: io.flow.internal.v0.models.BankPayment;
9949
9969
  }
9950
- interface BillingAllocationBreakout {
9951
- readonly amount: number;
9952
- readonly processing_fee: number;
9953
- readonly fraud_fee: number;
9954
- readonly flow_fx_margin: number;
9955
- readonly org_fx_margin: number;
9956
- readonly org_other_margin: number;
9957
- readonly withholding: number;
9958
- readonly net: number;
9959
- }
9960
9970
  interface BillingAuthorizationReference {
9961
9971
  readonly id: string;
9962
9972
  }
@@ -9976,14 +9986,36 @@ declare namespace io.flow.internal.v0.models {
9976
9986
  readonly primary_identifier?: string;
9977
9987
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
9978
9988
  }
9989
+ interface BillingOrganizationProcessingRateForm {
9990
+ readonly query: string;
9991
+ readonly capture: number;
9992
+ readonly refund: number;
9993
+ readonly fraud: number;
9994
+ }
9979
9995
  interface BillingOrganizationProcessingRates {
9996
+ readonly id: string;
9980
9997
  readonly query: string;
9981
9998
  readonly capture: number;
9982
9999
  readonly refund: number;
9983
10000
  readonly fraud: number;
10001
+ readonly position: number;
10002
+ }
10003
+ interface BillingOrganizationProcessingRatesDeleted {
10004
+ readonly discriminator: 'billing_organization_processing_rates_deleted';
10005
+ readonly event_id: string;
10006
+ readonly timestamp: string;
10007
+ readonly organization: string;
10008
+ readonly id: string;
9984
10009
  }
9985
10010
  interface BillingOrganizationProcessingRatesForm {
9986
- readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates[];
10011
+ readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRateForm[];
10012
+ }
10013
+ interface BillingOrganizationProcessingRatesUpserted {
10014
+ readonly discriminator: 'billing_organization_processing_rates_upserted';
10015
+ readonly event_id: string;
10016
+ readonly timestamp: string;
10017
+ readonly organization: string;
10018
+ readonly rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates;
9987
10019
  }
9988
10020
  interface BillingOrganizationSettings {
9989
10021
  readonly days_until_posted: number;
@@ -9995,6 +10027,20 @@ declare namespace io.flow.internal.v0.models {
9995
10027
  readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
9996
10028
  readonly b2b_tax_remittance_days?: number;
9997
10029
  }
10030
+ interface BillingOrganizationSettingsDeleted {
10031
+ readonly discriminator: 'billing_organization_settings_deleted';
10032
+ readonly event_id: string;
10033
+ readonly timestamp: string;
10034
+ readonly organization: string;
10035
+ readonly id: string;
10036
+ }
10037
+ interface BillingOrganizationSettingsUpserted {
10038
+ readonly discriminator: 'billing_organization_settings_upserted';
10039
+ readonly event_id: string;
10040
+ readonly timestamp: string;
10041
+ readonly organization: string;
10042
+ readonly settings: io.flow.internal.v0.models.BillingOrganizationSettings;
10043
+ }
9998
10044
  interface BillingStatement {
9999
10045
  readonly id: string;
10000
10046
  readonly account: io.flow.internal.v0.models.AccountReference;
@@ -10007,6 +10053,9 @@ declare namespace io.flow.internal.v0.models {
10007
10053
  readonly name: string;
10008
10054
  readonly url: string;
10009
10055
  }
10056
+ interface BillingStatementBatch {
10057
+ readonly id: string;
10058
+ }
10010
10059
  interface BillingStatementDeleted {
10011
10060
  readonly discriminator: 'billing_statement_deleted';
10012
10061
  readonly event_id: string;
@@ -13106,6 +13155,12 @@ declare namespace io.flow.internal.v0.models {
13106
13155
  readonly margin: number;
13107
13156
  readonly rate_lock: io.flow.common.v0.models.Duration;
13108
13157
  }
13158
+ interface FlowCurrencySettingDeleted {
13159
+ readonly discriminator: 'flow_currency_setting_deleted';
13160
+ readonly event_id: string;
13161
+ readonly timestamp: string;
13162
+ readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
13163
+ }
13109
13164
  interface FlowCurrencySettingForm {
13110
13165
  readonly organization: string;
13111
13166
  readonly base: string;
@@ -13113,6 +13168,12 @@ declare namespace io.flow.internal.v0.models {
13113
13168
  readonly margin: number;
13114
13169
  readonly rate_lock: io.flow.common.v0.models.Duration;
13115
13170
  }
13171
+ interface FlowCurrencySettingUpserted {
13172
+ readonly discriminator: 'flow_currency_setting_upserted';
13173
+ readonly event_id: string;
13174
+ readonly timestamp: string;
13175
+ readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
13176
+ }
13116
13177
  interface FlowCurrencySettingVersion {
13117
13178
  readonly id: string;
13118
13179
  readonly timestamp: string;
@@ -14818,12 +14879,14 @@ declare namespace io.flow.internal.v0.models {
14818
14879
  readonly posted_at: string;
14819
14880
  readonly value: io.flow.common.v0.models.Price;
14820
14881
  readonly description: string;
14882
+ readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
14821
14883
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
14822
14884
  readonly created_at: string;
14823
14885
  }
14824
14886
  interface ManualTransactionForm {
14825
14887
  readonly amount: number;
14826
14888
  readonly description: string;
14889
+ readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
14827
14890
  readonly posted_at?: string;
14828
14891
  }
14829
14892
  interface MarketingGatewayChannel {
@@ -15629,10 +15692,24 @@ declare namespace io.flow.internal.v0.models {
15629
15692
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
15630
15693
  readonly starts_at: string;
15631
15694
  }
15695
+ interface PlatformFeeChangeDeleted {
15696
+ readonly discriminator: 'platform_fee_change_deleted';
15697
+ readonly event_id: string;
15698
+ readonly timestamp: string;
15699
+ readonly organization: string;
15700
+ readonly id: string;
15701
+ }
15632
15702
  interface PlatformFeeChangeForm {
15633
15703
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
15634
15704
  readonly starts_at: string;
15635
15705
  }
15706
+ interface PlatformFeeChangeUpserted {
15707
+ readonly discriminator: 'platform_fee_change_upserted';
15708
+ readonly event_id: string;
15709
+ readonly timestamp: string;
15710
+ readonly organization: string;
15711
+ readonly platform_fee_change: io.flow.internal.v0.models.PlatformFeeChange;
15712
+ }
15636
15713
  interface PlatformFeeDisabled {
15637
15714
  readonly discriminator: 'platform_fee_disabled';
15638
15715
  readonly attributes?: Record<string, string>;
@@ -17391,7 +17468,7 @@ declare namespace io.flow.internal.v0.unions {
17391
17468
  type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.ContentLabel | io.flow.internal.v0.models.Load;
17392
17469
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
17393
17470
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
17394
- 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.AccountUpserted | io.flow.internal.v0.models.AccountDeleted | 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.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | 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.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.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.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.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.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.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.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
17471
+ 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.AccountUpserted | io.flow.internal.v0.models.AccountDeleted | 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.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | 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.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.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.FlowCurrencySettingUpserted | io.flow.internal.v0.models.FlowCurrencySettingDeleted | 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.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.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.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.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
17395
17472
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
17396
17473
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
17397
17474
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -17446,7 +17523,9 @@ declare namespace io.flow.internal.v0.unions {
17446
17523
  export declare type Acceptance = io.flow.internal.v0.models.Acceptance;
17447
17524
  export declare type Account = io.flow.internal.v0.models.Account;
17448
17525
  export declare type AccountContact = io.flow.internal.v0.models.AccountContact;
17526
+ export declare type AccountContactDeleted = io.flow.internal.v0.models.AccountContactDeleted;
17449
17527
  export declare type AccountContactForm = io.flow.internal.v0.models.AccountContactForm;
17528
+ export declare type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUpserted;
17450
17529
  export declare type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
17451
17530
  export declare type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
17452
17531
  export declare type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
@@ -17506,6 +17585,7 @@ export declare type AfterpayRefundUpserted = io.flow.internal.v0.models.Afterpay
17506
17585
  export declare type AlertErrorSummary = io.flow.internal.v0.models.AlertErrorSummary;
17507
17586
  export declare type AlertFailureSummary = io.flow.internal.v0.models.AlertFailureSummary;
17508
17587
  export declare type AlertFailureSummaryDetail = io.flow.internal.v0.models.AlertFailureSummaryDetail;
17588
+ export declare type AlertImportSummary = io.flow.internal.v0.models.AlertImportSummary;
17509
17589
  export declare type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary;
17510
17590
  export declare type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
17511
17591
  export declare type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
@@ -17529,18 +17609,24 @@ export declare type BankPayment = io.flow.internal.v0.models.BankPayment;
17529
17609
  export declare type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
17530
17610
  export declare type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
17531
17611
  export declare type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
17532
- export declare type BillingAllocationBreakout = io.flow.internal.v0.models.BillingAllocationBreakout;
17533
17612
  export declare type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey;
17534
17613
  export declare type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference;
17535
17614
  export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
17536
17615
  export declare type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
17537
17616
  export declare type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
17617
+ export declare type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
17538
17618
  export declare type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
17619
+ export declare type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
17539
17620
  export declare type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
17621
+ export declare type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
17540
17622
  export declare type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
17623
+ export declare type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
17624
+ export declare type BillingOrganizationSettingsUpserted = io.flow.internal.v0.models.BillingOrganizationSettingsUpserted;
17541
17625
  export declare type BillingStatement = io.flow.internal.v0.models.BillingStatement;
17542
17626
  export declare type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
17543
17627
  export declare type BillingStatementAttachmentKey = io.flow.internal.v0.enums.BillingStatementAttachmentKey;
17628
+ export declare type BillingStatementBatch = io.flow.internal.v0.models.BillingStatementBatch;
17629
+ export declare type BillingStatementBatchFileKey = io.flow.internal.v0.enums.BillingStatementBatchFileKey;
17544
17630
  export declare type BillingStatementDeleted = io.flow.internal.v0.models.BillingStatementDeleted;
17545
17631
  export declare type BillingStatementPendingReview = io.flow.internal.v0.models.BillingStatementPendingReview;
17546
17632
  export declare type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
@@ -18339,7 +18425,9 @@ export declare type FiservMerchantModificationForm = io.flow.internal.v0.models.
18339
18425
  export declare type FiservMerchantPutForm = io.flow.internal.v0.models.FiservMerchantPutForm;
18340
18426
  export declare type FlowApp = io.flow.internal.v0.enums.FlowApp;
18341
18427
  export declare type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
18428
+ export declare type FlowCurrencySettingDeleted = io.flow.internal.v0.models.FlowCurrencySettingDeleted;
18342
18429
  export declare type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
18430
+ export declare type FlowCurrencySettingUpserted = io.flow.internal.v0.models.FlowCurrencySettingUpserted;
18343
18431
  export declare type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
18344
18432
  export declare type FlowLabProject = io.flow.internal.v0.models.FlowLabProject;
18345
18433
  export declare type FlowLabProjectPostForm = io.flow.internal.v0.models.FlowLabProjectPostForm;
@@ -18591,6 +18679,7 @@ export declare type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRu
18591
18679
  export declare type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
18592
18680
  export declare type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
18593
18681
  export declare type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
18682
+ export declare type ManualTransactionCategory = io.flow.internal.v0.enums.ManualTransactionCategory;
18594
18683
  export declare type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
18595
18684
  export declare type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
18596
18685
  export declare type MarketingGatewayChannel = io.flow.internal.v0.models.MarketingGatewayChannel;
@@ -18749,7 +18838,9 @@ export declare type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagat
18749
18838
  export declare type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
18750
18839
  export declare type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
18751
18840
  export declare type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
18841
+ export declare type PlatformFeeChangeDeleted = io.flow.internal.v0.models.PlatformFeeChangeDeleted;
18752
18842
  export declare type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm;
18843
+ export declare type PlatformFeeChangeUpserted = io.flow.internal.v0.models.PlatformFeeChangeUpserted;
18753
18844
  export declare type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
18754
18845
  export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
18755
18846
  export declare type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
package/dist/api.d.ts CHANGED
@@ -1643,7 +1643,7 @@ declare namespace io.flow.v0.enums {
1643
1643
  type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
1644
1644
  type Aggregate = 'maximum' | 'minimum';
1645
1645
  type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
1646
- type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number';
1646
+ type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
1647
1647
  type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
1648
1648
  type AuthorizationDeclineCode = 'expired' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_address' | 'invalid_token_type' | 'invalid_token' | 'no_account' | 'avs' | 'cvv' | 'fraud' | 'duplicate' | 'not_supported' | 'unknown' | 'online_payment_error';
1649
1649
  type AuthorizationOption = 'store_card';
@@ -1662,6 +1662,7 @@ declare namespace io.flow.v0.enums {
1662
1662
  type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
1663
1663
  type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
1664
1664
  type ChangeType = 'insert' | 'update' | 'delete';
1665
+ type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
1665
1666
  type ConsumerInvoiceCustomerType = 'business_eu_verified' | 'business_non_verified' | 'individual';
1666
1667
  type ConsumerInvoiceDocumentType = 'pdf';
1667
1668
  type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
@@ -1682,6 +1683,7 @@ declare namespace io.flow.v0.enums {
1682
1683
  type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
1683
1684
  type DiscountRuleSubsidyTarget = 'vat' | 'duty';
1684
1685
  type DiscountTarget = 'item' | 'shipping';
1686
+ type DutyItemApprovalStatus = 'pending' | 'certified' | 'decertified';
1685
1687
  type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea';
1686
1688
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
1687
1689
  type EntityIdentifierType = 'ioss' | 'voec';
@@ -1694,6 +1696,7 @@ declare namespace io.flow.v0.enums {
1694
1696
  type ExperiencePaymentMethodTag = 'display';
1695
1697
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
1696
1698
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
1699
+ type ExporterOfRecord = 'flow' | 'organization';
1697
1700
  type FlowBehavior = 'view_consumer_data';
1698
1701
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
1699
1702
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin';
@@ -1802,6 +1805,8 @@ declare namespace io.flow.v0.enums {
1802
1805
  type TokenType = 'permanent' | 'one_time';
1803
1806
  type TrackingNumberType = 'flow' | 'carrier';
1804
1807
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
1808
+ type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
1809
+ type TradeAgreementStatus = 'supported' | 'not_supported';
1805
1810
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
1806
1811
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
1807
1812
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -2876,6 +2881,18 @@ declare namespace io.flow.v0.models {
2876
2881
  interface Channel {
2877
2882
  readonly id: string;
2878
2883
  readonly name: string;
2884
+ readonly environment: io.flow.v0.enums.Environment;
2885
+ readonly organization_id_prefix?: string;
2886
+ }
2887
+ interface ChannelCurrency {
2888
+ readonly id: string;
2889
+ readonly currency: string;
2890
+ readonly channel: io.flow.v0.models.ChannelReference;
2891
+ readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
2892
+ }
2893
+ interface ChannelCurrencyForm {
2894
+ readonly currency: string;
2895
+ readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
2879
2896
  }
2880
2897
  interface ChannelDeleted {
2881
2898
  readonly discriminator: 'channel_deleted';
@@ -2885,11 +2902,18 @@ declare namespace io.flow.v0.models {
2885
2902
  }
2886
2903
  interface ChannelForm {
2887
2904
  readonly name: string;
2905
+ readonly environment: io.flow.v0.enums.Environment;
2906
+ readonly organization_id_prefix?: string;
2888
2907
  }
2889
2908
  interface ChannelOrganization {
2890
2909
  readonly id: string;
2891
2910
  readonly organization: io.flow.v0.models.OrganizationReference;
2911
+ readonly key: string;
2892
2912
  readonly channel: io.flow.v0.models.ChannelReference;
2913
+ readonly name: string;
2914
+ readonly slug?: string;
2915
+ readonly defaults: io.flow.v0.models.OrganizationDefaults;
2916
+ readonly attributes?: Record<string, string>;
2893
2917
  }
2894
2918
  interface ChannelOrganizationDeleted {
2895
2919
  readonly discriminator: 'channel_organization_deleted';
@@ -2897,12 +2921,21 @@ declare namespace io.flow.v0.models {
2897
2921
  readonly timestamp: string;
2898
2922
  readonly channel_organization: io.flow.v0.models.ChannelOrganization;
2899
2923
  }
2924
+ interface ChannelOrganizationForm {
2925
+ readonly name: string;
2926
+ readonly slug?: string;
2927
+ readonly defaults: io.flow.v0.models.OrganizationDefaults;
2928
+ readonly attributes?: Record<string, string>;
2929
+ }
2900
2930
  interface ChannelOrganizationUpserted {
2901
2931
  readonly discriminator: 'channel_organization_upserted';
2902
2932
  readonly event_id: string;
2903
2933
  readonly timestamp: string;
2904
2934
  readonly channel_organization: io.flow.v0.models.ChannelOrganization;
2905
2935
  }
2936
+ interface ChannelRate {
2937
+ readonly placeholder?: string;
2938
+ }
2906
2939
  interface ChannelReference {
2907
2940
  readonly id: string;
2908
2941
  }
@@ -3755,6 +3788,43 @@ declare namespace io.flow.v0.models {
3755
3788
  readonly deminimis?: io.flow.v0.unions.Deminimis;
3756
3789
  readonly name?: string;
3757
3790
  }
3791
+ interface DutyItem {
3792
+ readonly number: string;
3793
+ readonly name: io.flow.v0.enums.TradeAgreementName;
3794
+ readonly product_id?: string;
3795
+ readonly sku?: string;
3796
+ readonly customs_description: string;
3797
+ readonly origin_criteria?: string;
3798
+ readonly approvals?: io.flow.v0.models.DutyItemApproval[];
3799
+ }
3800
+ interface DutyItemApproval {
3801
+ readonly status: io.flow.v0.enums.DutyItemApprovalStatus;
3802
+ readonly trade_agreement: io.flow.v0.models.TradeAgreement;
3803
+ readonly certifier: io.flow.v0.models.TradeAgreementCertifier;
3804
+ readonly producer: io.flow.v0.models.DutyItemProducer;
3805
+ readonly effective_at: string;
3806
+ }
3807
+ interface DutyItemApprovalForm {
3808
+ readonly status: io.flow.v0.enums.DutyItemApprovalStatus;
3809
+ readonly trade_agreement_key: string;
3810
+ readonly trade_agreement_certifier_key: string;
3811
+ readonly producer_key: string;
3812
+ readonly effective_at: string;
3813
+ }
3814
+ interface DutyItemForm {
3815
+ readonly number: string;
3816
+ readonly name: io.flow.v0.enums.TradeAgreementName;
3817
+ readonly product_id?: string;
3818
+ readonly sku?: string;
3819
+ readonly customs_description: string;
3820
+ readonly origin_criteria?: string;
3821
+ }
3822
+ interface DutyItemProducer {
3823
+ readonly key: string;
3824
+ readonly name: string;
3825
+ readonly location: io.flow.v0.models.Address;
3826
+ readonly contact?: io.flow.v0.models.Contact;
3827
+ }
3758
3828
  interface EcommercePlatform {
3759
3829
  readonly id: string;
3760
3830
  readonly type: io.flow.v0.enums.EcommercePlatformType;
@@ -8812,6 +8882,27 @@ declare namespace io.flow.v0.models {
8812
8882
  readonly type: io.flow.v0.enums.ChangeType;
8813
8883
  readonly tracking: io.flow.v0.models.TrackingSummary;
8814
8884
  }
8885
+ interface TradeAgreement {
8886
+ readonly key: string;
8887
+ readonly name: io.flow.v0.enums.TradeAgreementName;
8888
+ readonly origins: string[];
8889
+ readonly destinations: string[];
8890
+ readonly ship_from?: string[];
8891
+ readonly effective_at: string;
8892
+ readonly status: io.flow.v0.enums.TradeAgreementStatus;
8893
+ }
8894
+ interface TradeAgreementCertifier {
8895
+ readonly key: string;
8896
+ readonly name: string;
8897
+ readonly exporter_of_record: io.flow.v0.enums.ExporterOfRecord;
8898
+ readonly contact?: io.flow.v0.models.Contact;
8899
+ readonly address?: io.flow.v0.models.Address;
8900
+ readonly signature_url?: string;
8901
+ }
8902
+ interface TradeAgreementDuty {
8903
+ readonly trade_agreement: io.flow.v0.models.TradeAgreement;
8904
+ readonly duty: io.flow.v0.models.Duty;
8905
+ }
8815
8906
  interface TransitEstimate {
8816
8907
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
8817
8908
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -9296,11 +9387,16 @@ export declare type CenterUpserted = io.flow.v0.models.CenterUpserted;
9296
9387
  export declare type CenterVersion = io.flow.v0.models.CenterVersion;
9297
9388
  export declare type ChangeType = io.flow.v0.enums.ChangeType;
9298
9389
  export declare type Channel = io.flow.v0.models.Channel;
9390
+ export declare type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
9391
+ export declare type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
9392
+ export declare type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
9299
9393
  export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
9300
9394
  export declare type ChannelForm = io.flow.v0.models.ChannelForm;
9301
9395
  export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
9302
9396
  export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
9397
+ export declare type ChannelOrganizationForm = io.flow.v0.models.ChannelOrganizationForm;
9303
9398
  export declare type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
9399
+ export declare type ChannelRate = io.flow.v0.models.ChannelRate;
9304
9400
  export declare type ChannelReference = io.flow.v0.models.ChannelReference;
9305
9401
  export declare type ChannelToken = io.flow.v0.models.ChannelToken;
9306
9402
  export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
@@ -9472,6 +9568,12 @@ export declare type DiscountsForm = io.flow.v0.models.DiscountsForm;
9472
9568
  export declare type Document = io.flow.v0.unions.Document;
9473
9569
  export declare type Duration = io.flow.v0.models.Duration;
9474
9570
  export declare type Duty = io.flow.v0.models.Duty;
9571
+ export declare type DutyItem = io.flow.v0.models.DutyItem;
9572
+ export declare type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
9573
+ export declare type DutyItemApprovalForm = io.flow.v0.models.DutyItemApprovalForm;
9574
+ export declare type DutyItemApprovalStatus = io.flow.v0.enums.DutyItemApprovalStatus;
9575
+ export declare type DutyItemForm = io.flow.v0.models.DutyItemForm;
9576
+ export declare type DutyItemProducer = io.flow.v0.models.DutyItemProducer;
9475
9577
  export declare type EcommercePlatform = io.flow.v0.models.EcommercePlatform;
9476
9578
  export declare type EcommercePlatformDeleted = io.flow.v0.models.EcommercePlatformDeleted;
9477
9579
  export declare type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformForm;
@@ -9572,6 +9674,7 @@ export declare type ExportLocalizedItemPricesDetail = io.flow.v0.models.ExportLo
9572
9674
  export declare type ExportStatus = io.flow.v0.enums.ExportStatus;
9573
9675
  export declare type ExportType = io.flow.v0.unions.ExportType;
9574
9676
  export declare type ExportVersion = io.flow.v0.models.ExportVersion;
9677
+ export declare type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
9575
9678
  export declare type ExternalApiTimeoutReservationError = io.flow.v0.models.ExternalApiTimeoutReservationError;
9576
9679
  export declare type FeeWeight = io.flow.v0.models.FeeWeight;
9577
9680
  export declare type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
@@ -10477,6 +10580,11 @@ export declare type TrackingNumberType = io.flow.v0.enums.TrackingNumberType;
10477
10580
  export declare type TrackingStatus = io.flow.v0.enums.TrackingStatus;
10478
10581
  export declare type TrackingSummary = io.flow.v0.models.TrackingSummary;
10479
10582
  export declare type TrackingVersion = io.flow.v0.models.TrackingVersion;
10583
+ export declare type TradeAgreement = io.flow.v0.models.TradeAgreement;
10584
+ export declare type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCertifier;
10585
+ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
10586
+ export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
10587
+ export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
10480
10588
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
10481
10589
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
10482
10590
  export declare type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.19.14",
3
+ "version": "11.19.16",
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": "20dd054c4a42bb49c854e76735e90127da97cf9e"
28
+ "gitHead": "7360b1c228878e1a4cd03c31f801abe6b708a1cd"
29
29
  }
@@ -9689,7 +9689,8 @@ declare namespace io.flow.catalog.v0.enums {
9689
9689
  | 'barcode'
9690
9690
  | 'min_days_to_ship'
9691
9691
  | 'max_days_to_ship'
9692
- | 'commercial_invoice_item_number';
9692
+ | 'commercial_invoice_item_number'
9693
+ | 'include_in_product_feeds';
9693
9694
  type FulfillmentMethodType = 'fulfillment_method';
9694
9695
  type FulfillmentMethodValue = 'digital' | 'physical';
9695
9696
  type ImageTag = 'thumbnail' | 'checkout';
@@ -12009,6 +12010,7 @@ declare namespace io.flow.internal.v0.enums {
12009
12010
  | 'manual'
12010
12011
  | 'orders'
12011
12012
  | 'all';
12013
+ type BillingStatementBatchFileKey = 'archive' | 'fx_transactions' | 'summary';
12012
12014
  type BillingStatementReviewStatus = 'approved' | 'pending';
12013
12015
  type BillingTransactionStatus = 'pending' | 'posted';
12014
12016
  type BillingTransactionType =
@@ -12131,6 +12133,8 @@ declare namespace io.flow.internal.v0.enums {
12131
12133
  type CheckoutInfoAddressPredictionsKeyField = 'input';
12132
12134
  type CheckoutInfoContentKeyField = 'locale';
12133
12135
  type CheckoutInfoDeliveriesFormDataKeyField =
12136
+ | 'value'
12137
+ | 'currency'
12134
12138
  | 'country'
12135
12139
  | 'lines'
12136
12140
  | 'shipping_country'
@@ -12362,6 +12366,8 @@ declare namespace io.flow.internal.v0.enums {
12362
12366
  | 'adyen_refund_upserted'
12363
12367
  | 'account_upserted'
12364
12368
  | 'account_deleted'
12369
+ | 'account_contact_upserted'
12370
+ | 'account_contact_deleted'
12365
12371
  | 'billing_statement_upserted'
12366
12372
  | 'billing_statement_deleted'
12367
12373
  | 'tax_remittance_transaction_upserted'
@@ -12396,6 +12402,8 @@ declare namespace io.flow.internal.v0.enums {
12396
12402
  | 'spot_rate_upserted'
12397
12403
  | 'rate_deleted_v2'
12398
12404
  | 'rate_upserted_v2'
12405
+ | 'flow_currency_setting_upserted'
12406
+ | 'flow_currency_setting_deleted'
12399
12407
  | 'customer_purge_upserted'
12400
12408
  | 'customs_description_import'
12401
12409
  | 'customs_description_tariffs_import'
@@ -12430,6 +12438,12 @@ declare namespace io.flow.internal.v0.enums {
12430
12438
  | 'feature_deleted'
12431
12439
  | 'organization_boolean_value_upserted'
12432
12440
  | 'organization_boolean_value_deleted'
12441
+ | 'billing_organization_processing_rates_upserted'
12442
+ | 'billing_organization_processing_rates_deleted'
12443
+ | 'billing_organization_settings_upserted'
12444
+ | 'billing_organization_settings_deleted'
12445
+ | 'platform_fee_change_upserted'
12446
+ | 'platform_fee_change_deleted'
12433
12447
  | 'fraud_review_upserted'
12434
12448
  | 'fraud_review_deleted'
12435
12449
  | 'fraud_pending_review_upserted'
@@ -12595,6 +12609,14 @@ declare namespace io.flow.internal.v0.enums {
12595
12609
  | 'high_value_goods_tax'
12596
12610
  | 'duties';
12597
12611
  type ManualReviewRuleStatus = 'active' | 'archived';
12612
+ type ManualTransactionCategory =
12613
+ | 'cancelled_order_refund'
12614
+ | 'client_accepted_chargeback'
12615
+ | 'fee_reimbursement'
12616
+ | 'partial_refund'
12617
+ | 'platform_fee'
12618
+ | 'shipping_true_up'
12619
+ | 'tax_credit';
12598
12620
  type MarketingGatewayAccountConnectionStatus =
12599
12621
  | 'not_connected'
12600
12622
  | 'connecting'
@@ -12808,6 +12830,13 @@ declare namespace io.flow.internal.v0.models {
12808
12830
  readonly phone?: string;
12809
12831
  }
12810
12832
 
12833
+ interface AccountContactDeleted {
12834
+ readonly discriminator: 'account_contact_deleted';
12835
+ readonly event_id: string;
12836
+ readonly timestamp: string;
12837
+ readonly id: string;
12838
+ }
12839
+
12811
12840
  interface AccountContactForm {
12812
12841
  readonly email: string;
12813
12842
  readonly first_name?: string;
@@ -12815,6 +12844,13 @@ declare namespace io.flow.internal.v0.models {
12815
12844
  readonly phone?: string;
12816
12845
  }
12817
12846
 
12847
+ interface AccountContactUpserted {
12848
+ readonly discriminator: 'account_contact_upserted';
12849
+ readonly event_id: string;
12850
+ readonly timestamp: string;
12851
+ readonly account_contact: io.flow.internal.v0.models.AccountContact;
12852
+ }
12853
+
12818
12854
  interface AccountDeleted {
12819
12855
  readonly discriminator: 'account_deleted';
12820
12856
  readonly event_id: string;
@@ -13286,6 +13322,13 @@ declare namespace io.flow.internal.v0.models {
13286
13322
  readonly errors: io.flow.internal.v0.models.AlertErrorSummary[];
13287
13323
  }
13288
13324
 
13325
+ interface AlertImportSummary {
13326
+ readonly organization_id: string;
13327
+ readonly filename: string;
13328
+ readonly type: string;
13329
+ readonly started_at?: string;
13330
+ }
13331
+
13289
13332
  interface AlertRequeueSummary {
13290
13333
  readonly queue: string;
13291
13334
  readonly count: number;
@@ -13414,17 +13457,6 @@ declare namespace io.flow.internal.v0.models {
13414
13457
  readonly bank_payment: io.flow.internal.v0.models.BankPayment;
13415
13458
  }
13416
13459
 
13417
- interface BillingAllocationBreakout {
13418
- readonly amount: number;
13419
- readonly processing_fee: number;
13420
- readonly fraud_fee: number;
13421
- readonly flow_fx_margin: number;
13422
- readonly org_fx_margin: number;
13423
- readonly org_other_margin: number;
13424
- readonly withholding: number;
13425
- readonly net: number;
13426
- }
13427
-
13428
13460
  interface BillingAuthorizationReference {
13429
13461
  readonly id: string;
13430
13462
  }
@@ -13448,15 +13480,40 @@ declare namespace io.flow.internal.v0.models {
13448
13480
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
13449
13481
  }
13450
13482
 
13483
+ interface BillingOrganizationProcessingRateForm {
13484
+ readonly query: string;
13485
+ readonly capture: number;
13486
+ readonly refund: number;
13487
+ readonly fraud: number;
13488
+ }
13489
+
13451
13490
  interface BillingOrganizationProcessingRates {
13491
+ readonly id: string;
13452
13492
  readonly query: string;
13453
13493
  readonly capture: number;
13454
13494
  readonly refund: number;
13455
13495
  readonly fraud: number;
13496
+ readonly position: number;
13497
+ }
13498
+
13499
+ interface BillingOrganizationProcessingRatesDeleted {
13500
+ readonly discriminator: 'billing_organization_processing_rates_deleted';
13501
+ readonly event_id: string;
13502
+ readonly timestamp: string;
13503
+ readonly organization: string;
13504
+ readonly id: string;
13456
13505
  }
13457
13506
 
13458
13507
  interface BillingOrganizationProcessingRatesForm {
13459
- readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates[];
13508
+ readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRateForm[];
13509
+ }
13510
+
13511
+ interface BillingOrganizationProcessingRatesUpserted {
13512
+ readonly discriminator: 'billing_organization_processing_rates_upserted';
13513
+ readonly event_id: string;
13514
+ readonly timestamp: string;
13515
+ readonly organization: string;
13516
+ readonly rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates;
13460
13517
  }
13461
13518
 
13462
13519
  interface BillingOrganizationSettings {
@@ -13470,6 +13527,22 @@ declare namespace io.flow.internal.v0.models {
13470
13527
  readonly b2b_tax_remittance_days?: number;
13471
13528
  }
13472
13529
 
13530
+ interface BillingOrganizationSettingsDeleted {
13531
+ readonly discriminator: 'billing_organization_settings_deleted';
13532
+ readonly event_id: string;
13533
+ readonly timestamp: string;
13534
+ readonly organization: string;
13535
+ readonly id: string;
13536
+ }
13537
+
13538
+ interface BillingOrganizationSettingsUpserted {
13539
+ readonly discriminator: 'billing_organization_settings_upserted';
13540
+ readonly event_id: string;
13541
+ readonly timestamp: string;
13542
+ readonly organization: string;
13543
+ readonly settings: io.flow.internal.v0.models.BillingOrganizationSettings;
13544
+ }
13545
+
13473
13546
  interface BillingStatement {
13474
13547
  readonly id: string;
13475
13548
  readonly account: io.flow.internal.v0.models.AccountReference;
@@ -13484,6 +13557,10 @@ declare namespace io.flow.internal.v0.models {
13484
13557
  readonly url: string;
13485
13558
  }
13486
13559
 
13560
+ interface BillingStatementBatch {
13561
+ readonly id: string;
13562
+ }
13563
+
13487
13564
  interface BillingStatementDeleted {
13488
13565
  readonly discriminator: 'billing_statement_deleted';
13489
13566
  readonly event_id: string;
@@ -17198,6 +17275,13 @@ declare namespace io.flow.internal.v0.models {
17198
17275
  readonly rate_lock: io.flow.common.v0.models.Duration;
17199
17276
  }
17200
17277
 
17278
+ interface FlowCurrencySettingDeleted {
17279
+ readonly discriminator: 'flow_currency_setting_deleted';
17280
+ readonly event_id: string;
17281
+ readonly timestamp: string;
17282
+ readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
17283
+ }
17284
+
17201
17285
  interface FlowCurrencySettingForm {
17202
17286
  readonly organization: string;
17203
17287
  readonly base: string;
@@ -17206,6 +17290,13 @@ declare namespace io.flow.internal.v0.models {
17206
17290
  readonly rate_lock: io.flow.common.v0.models.Duration;
17207
17291
  }
17208
17292
 
17293
+ interface FlowCurrencySettingUpserted {
17294
+ readonly discriminator: 'flow_currency_setting_upserted';
17295
+ readonly event_id: string;
17296
+ readonly timestamp: string;
17297
+ readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
17298
+ }
17299
+
17209
17300
  interface FlowCurrencySettingVersion {
17210
17301
  readonly id: string;
17211
17302
  readonly timestamp: string;
@@ -19141,6 +19232,7 @@ declare namespace io.flow.internal.v0.models {
19141
19232
  readonly posted_at: string;
19142
19233
  readonly value: io.flow.common.v0.models.Price;
19143
19234
  readonly description: string;
19235
+ readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
19144
19236
  readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
19145
19237
  readonly created_at: string;
19146
19238
  }
@@ -19148,6 +19240,7 @@ declare namespace io.flow.internal.v0.models {
19148
19240
  interface ManualTransactionForm {
19149
19241
  readonly amount: number;
19150
19242
  readonly description: string;
19243
+ readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
19151
19244
  readonly posted_at?: string;
19152
19245
  }
19153
19246
 
@@ -20081,11 +20174,27 @@ declare namespace io.flow.internal.v0.models {
20081
20174
  readonly starts_at: string;
20082
20175
  }
20083
20176
 
20177
+ interface PlatformFeeChangeDeleted {
20178
+ readonly discriminator: 'platform_fee_change_deleted';
20179
+ readonly event_id: string;
20180
+ readonly timestamp: string;
20181
+ readonly organization: string;
20182
+ readonly id: string;
20183
+ }
20184
+
20084
20185
  interface PlatformFeeChangeForm {
20085
20186
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
20086
20187
  readonly starts_at: string;
20087
20188
  }
20088
20189
 
20190
+ interface PlatformFeeChangeUpserted {
20191
+ readonly discriminator: 'platform_fee_change_upserted';
20192
+ readonly event_id: string;
20193
+ readonly timestamp: string;
20194
+ readonly organization: string;
20195
+ readonly platform_fee_change: io.flow.internal.v0.models.PlatformFeeChange;
20196
+ }
20197
+
20089
20198
  interface PlatformFeeDisabled {
20090
20199
  readonly discriminator: 'platform_fee_disabled';
20091
20200
  readonly attributes?: Record<string, string>;
@@ -22379,6 +22488,8 @@ declare namespace io.flow.internal.v0.unions {
22379
22488
  | io.flow.internal.v0.models.AdyenRefundUpserted
22380
22489
  | io.flow.internal.v0.models.AccountUpserted
22381
22490
  | io.flow.internal.v0.models.AccountDeleted
22491
+ | io.flow.internal.v0.models.AccountContactUpserted
22492
+ | io.flow.internal.v0.models.AccountContactDeleted
22382
22493
  | io.flow.internal.v0.models.BillingStatementUpserted
22383
22494
  | io.flow.internal.v0.models.BillingStatementDeleted
22384
22495
  | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
@@ -22413,6 +22524,8 @@ declare namespace io.flow.internal.v0.unions {
22413
22524
  | io.flow.internal.v0.models.SpotRateUpserted
22414
22525
  | io.flow.internal.v0.models.RateDeletedV2
22415
22526
  | io.flow.internal.v0.models.RateUpsertedV2
22527
+ | io.flow.internal.v0.models.FlowCurrencySettingUpserted
22528
+ | io.flow.internal.v0.models.FlowCurrencySettingDeleted
22416
22529
  | io.flow.internal.v0.models.CustomerPurgeUpserted
22417
22530
  | io.flow.internal.v0.models.CustomsDescriptionImport
22418
22531
  | io.flow.internal.v0.models.CustomsDescriptionTariffsImport
@@ -22447,6 +22560,12 @@ declare namespace io.flow.internal.v0.unions {
22447
22560
  | io.flow.internal.v0.models.FeatureDeleted
22448
22561
  | io.flow.internal.v0.models.OrganizationBooleanValueUpserted
22449
22562
  | io.flow.internal.v0.models.OrganizationBooleanValueDeleted
22563
+ | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted
22564
+ | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted
22565
+ | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted
22566
+ | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted
22567
+ | io.flow.internal.v0.models.PlatformFeeChangeUpserted
22568
+ | io.flow.internal.v0.models.PlatformFeeChangeDeleted
22450
22569
  | io.flow.internal.v0.models.FraudReviewUpserted
22451
22570
  | io.flow.internal.v0.models.FraudReviewDeleted
22452
22571
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
@@ -22786,7 +22905,9 @@ declare namespace io.flow.internal.v0.unions {
22786
22905
  export type Acceptance = io.flow.internal.v0.models.Acceptance;
22787
22906
  export type Account = io.flow.internal.v0.models.Account;
22788
22907
  export type AccountContact = io.flow.internal.v0.models.AccountContact;
22908
+ export type AccountContactDeleted = io.flow.internal.v0.models.AccountContactDeleted;
22789
22909
  export type AccountContactForm = io.flow.internal.v0.models.AccountContactForm;
22910
+ export type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUpserted;
22790
22911
  export type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
22791
22912
  export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
22792
22913
  export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
@@ -22846,6 +22967,7 @@ export type AfterpayRefundUpserted = io.flow.internal.v0.models.AfterpayRefundUp
22846
22967
  export type AlertErrorSummary = io.flow.internal.v0.models.AlertErrorSummary;
22847
22968
  export type AlertFailureSummary = io.flow.internal.v0.models.AlertFailureSummary;
22848
22969
  export type AlertFailureSummaryDetail = io.flow.internal.v0.models.AlertFailureSummaryDetail;
22970
+ export type AlertImportSummary = io.flow.internal.v0.models.AlertImportSummary;
22849
22971
  export type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary;
22850
22972
  export type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
22851
22973
  export type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
@@ -22869,18 +22991,24 @@ export type BankPayment = io.flow.internal.v0.models.BankPayment;
22869
22991
  export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
22870
22992
  export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
22871
22993
  export type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
22872
- export type BillingAllocationBreakout = io.flow.internal.v0.models.BillingAllocationBreakout;
22873
22994
  export type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey;
22874
22995
  export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference;
22875
22996
  export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
22876
22997
  export type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
22877
22998
  export type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
22999
+ export type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
22878
23000
  export type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
23001
+ export type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
22879
23002
  export type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
23003
+ export type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
22880
23004
  export type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
23005
+ export type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
23006
+ export type BillingOrganizationSettingsUpserted = io.flow.internal.v0.models.BillingOrganizationSettingsUpserted;
22881
23007
  export type BillingStatement = io.flow.internal.v0.models.BillingStatement;
22882
23008
  export type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
22883
23009
  export type BillingStatementAttachmentKey = io.flow.internal.v0.enums.BillingStatementAttachmentKey;
23010
+ export type BillingStatementBatch = io.flow.internal.v0.models.BillingStatementBatch;
23011
+ export type BillingStatementBatchFileKey = io.flow.internal.v0.enums.BillingStatementBatchFileKey;
22884
23012
  export type BillingStatementDeleted = io.flow.internal.v0.models.BillingStatementDeleted;
22885
23013
  export type BillingStatementPendingReview = io.flow.internal.v0.models.BillingStatementPendingReview;
22886
23014
  export type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
@@ -23679,7 +23807,9 @@ export type FiservMerchantModificationForm = io.flow.internal.v0.models.FiservMe
23679
23807
  export type FiservMerchantPutForm = io.flow.internal.v0.models.FiservMerchantPutForm;
23680
23808
  export type FlowApp = io.flow.internal.v0.enums.FlowApp;
23681
23809
  export type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
23810
+ export type FlowCurrencySettingDeleted = io.flow.internal.v0.models.FlowCurrencySettingDeleted;
23682
23811
  export type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
23812
+ export type FlowCurrencySettingUpserted = io.flow.internal.v0.models.FlowCurrencySettingUpserted;
23683
23813
  export type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
23684
23814
  export type FlowLabProject = io.flow.internal.v0.models.FlowLabProject;
23685
23815
  export type FlowLabProjectPostForm = io.flow.internal.v0.models.FlowLabProjectPostForm;
@@ -23931,6 +24061,7 @@ export type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRule;
23931
24061
  export type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
23932
24062
  export type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
23933
24063
  export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
24064
+ export type ManualTransactionCategory = io.flow.internal.v0.enums.ManualTransactionCategory;
23934
24065
  export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
23935
24066
  export type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
23936
24067
  export type MarketingGatewayChannel = io.flow.internal.v0.models.MarketingGatewayChannel;
@@ -24089,7 +24220,9 @@ export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
24089
24220
  export type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
24090
24221
  export type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
24091
24222
  export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
24223
+ export type PlatformFeeChangeDeleted = io.flow.internal.v0.models.PlatformFeeChangeDeleted;
24092
24224
  export type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm;
24225
+ export type PlatformFeeChangeUpserted = io.flow.internal.v0.models.PlatformFeeChangeUpserted;
24093
24226
  export type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
24094
24227
  export type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
24095
24228
  export type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
package/src/api.ts CHANGED
@@ -2127,7 +2127,8 @@ declare namespace io.flow.v0.enums {
2127
2127
  | 'barcode'
2128
2128
  | 'min_days_to_ship'
2129
2129
  | 'max_days_to_ship'
2130
- | 'commercial_invoice_item_number';
2130
+ | 'commercial_invoice_item_number'
2131
+ | 'include_in_product_feeds';
2131
2132
  type AuthenticationTechnique =
2132
2133
  | 'anonymous'
2133
2134
  | 'session'
@@ -2203,6 +2204,9 @@ declare namespace io.flow.v0.enums {
2203
2204
  | 'crossdock'
2204
2205
  | 'commercial_invoice';
2205
2206
  type ChangeType = 'insert' | 'update' | 'delete';
2207
+ type ChannelCurrencyCapability =
2208
+ | 'payment_authorizations'
2209
+ | 'settlement_currency';
2206
2210
  type ConsumerInvoiceCustomerType =
2207
2211
  | 'business_eu_verified'
2208
2212
  | 'business_non_verified'
@@ -2259,6 +2263,7 @@ declare namespace io.flow.v0.enums {
2259
2263
  type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
2260
2264
  type DiscountRuleSubsidyTarget = 'vat' | 'duty';
2261
2265
  type DiscountTarget = 'item' | 'shipping';
2266
+ type DutyItemApprovalStatus = 'pending' | 'certified' | 'decertified';
2262
2267
  type EcommercePlatformType =
2263
2268
  | 'commercetools'
2264
2269
  | 'custom'
@@ -2453,6 +2458,7 @@ declare namespace io.flow.v0.enums {
2453
2458
  type ExperiencePaymentMethodTag = 'display';
2454
2459
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
2455
2460
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2461
+ type ExporterOfRecord = 'flow' | 'organization';
2456
2462
  type FlowBehavior = 'view_consumer_data';
2457
2463
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
2458
2464
  type FlowRole =
@@ -2828,6 +2834,8 @@ declare namespace io.flow.v0.enums {
2828
2834
  | 'exception'
2829
2835
  | 'returned'
2830
2836
  | 'expired';
2837
+ type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2838
+ type TradeAgreementStatus = 'supported' | 'not_supported';
2831
2839
  type UnitOfMeasurement =
2832
2840
  | 'millimeter'
2833
2841
  | 'centimeter'
@@ -4072,6 +4080,20 @@ declare namespace io.flow.v0.models {
4072
4080
  interface Channel {
4073
4081
  readonly id: string;
4074
4082
  readonly name: string;
4083
+ readonly environment: io.flow.v0.enums.Environment;
4084
+ readonly organization_id_prefix?: string;
4085
+ }
4086
+
4087
+ interface ChannelCurrency {
4088
+ readonly id: string;
4089
+ readonly currency: string;
4090
+ readonly channel: io.flow.v0.models.ChannelReference;
4091
+ readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
4092
+ }
4093
+
4094
+ interface ChannelCurrencyForm {
4095
+ readonly currency: string;
4096
+ readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
4075
4097
  }
4076
4098
 
4077
4099
  interface ChannelDeleted {
@@ -4083,12 +4105,19 @@ declare namespace io.flow.v0.models {
4083
4105
 
4084
4106
  interface ChannelForm {
4085
4107
  readonly name: string;
4108
+ readonly environment: io.flow.v0.enums.Environment;
4109
+ readonly organization_id_prefix?: string;
4086
4110
  }
4087
4111
 
4088
4112
  interface ChannelOrganization {
4089
4113
  readonly id: string;
4090
4114
  readonly organization: io.flow.v0.models.OrganizationReference;
4115
+ readonly key: string;
4091
4116
  readonly channel: io.flow.v0.models.ChannelReference;
4117
+ readonly name: string;
4118
+ readonly slug?: string;
4119
+ readonly defaults: io.flow.v0.models.OrganizationDefaults;
4120
+ readonly attributes?: Record<string, string>;
4092
4121
  }
4093
4122
 
4094
4123
  interface ChannelOrganizationDeleted {
@@ -4098,6 +4127,13 @@ declare namespace io.flow.v0.models {
4098
4127
  readonly channel_organization: io.flow.v0.models.ChannelOrganization;
4099
4128
  }
4100
4129
 
4130
+ interface ChannelOrganizationForm {
4131
+ readonly name: string;
4132
+ readonly slug?: string;
4133
+ readonly defaults: io.flow.v0.models.OrganizationDefaults;
4134
+ readonly attributes?: Record<string, string>;
4135
+ }
4136
+
4101
4137
  interface ChannelOrganizationUpserted {
4102
4138
  readonly discriminator: 'channel_organization_upserted';
4103
4139
  readonly event_id: string;
@@ -4105,6 +4141,10 @@ declare namespace io.flow.v0.models {
4105
4141
  readonly channel_organization: io.flow.v0.models.ChannelOrganization;
4106
4142
  }
4107
4143
 
4144
+ interface ChannelRate {
4145
+ readonly placeholder?: string;
4146
+ }
4147
+
4108
4148
  interface ChannelReference {
4109
4149
  readonly id: string;
4110
4150
  }
@@ -5097,6 +5137,48 @@ declare namespace io.flow.v0.models {
5097
5137
  readonly name?: string;
5098
5138
  }
5099
5139
 
5140
+ interface DutyItem {
5141
+ readonly number: string;
5142
+ readonly name: io.flow.v0.enums.TradeAgreementName;
5143
+ readonly product_id?: string;
5144
+ readonly sku?: string;
5145
+ readonly customs_description: string;
5146
+ readonly origin_criteria?: string;
5147
+ readonly approvals?: io.flow.v0.models.DutyItemApproval[];
5148
+ }
5149
+
5150
+ interface DutyItemApproval {
5151
+ readonly status: io.flow.v0.enums.DutyItemApprovalStatus;
5152
+ readonly trade_agreement: io.flow.v0.models.TradeAgreement;
5153
+ readonly certifier: io.flow.v0.models.TradeAgreementCertifier;
5154
+ readonly producer: io.flow.v0.models.DutyItemProducer;
5155
+ readonly effective_at: string;
5156
+ }
5157
+
5158
+ interface DutyItemApprovalForm {
5159
+ readonly status: io.flow.v0.enums.DutyItemApprovalStatus;
5160
+ readonly trade_agreement_key: string;
5161
+ readonly trade_agreement_certifier_key: string;
5162
+ readonly producer_key: string;
5163
+ readonly effective_at: string;
5164
+ }
5165
+
5166
+ interface DutyItemForm {
5167
+ readonly number: string;
5168
+ readonly name: io.flow.v0.enums.TradeAgreementName;
5169
+ readonly product_id?: string;
5170
+ readonly sku?: string;
5171
+ readonly customs_description: string;
5172
+ readonly origin_criteria?: string;
5173
+ }
5174
+
5175
+ interface DutyItemProducer {
5176
+ readonly key: string;
5177
+ readonly name: string;
5178
+ readonly location: io.flow.v0.models.Address;
5179
+ readonly contact?: io.flow.v0.models.Contact;
5180
+ }
5181
+
5100
5182
  interface EcommercePlatform {
5101
5183
  readonly id: string;
5102
5184
  readonly type: io.flow.v0.enums.EcommercePlatformType;
@@ -10983,6 +11065,30 @@ declare namespace io.flow.v0.models {
10983
11065
  readonly tracking: io.flow.v0.models.TrackingSummary;
10984
11066
  }
10985
11067
 
11068
+ interface TradeAgreement {
11069
+ readonly key: string;
11070
+ readonly name: io.flow.v0.enums.TradeAgreementName;
11071
+ readonly origins: string[];
11072
+ readonly destinations: string[];
11073
+ readonly ship_from?: string[];
11074
+ readonly effective_at: string;
11075
+ readonly status: io.flow.v0.enums.TradeAgreementStatus;
11076
+ }
11077
+
11078
+ interface TradeAgreementCertifier {
11079
+ readonly key: string;
11080
+ readonly name: string;
11081
+ readonly exporter_of_record: io.flow.v0.enums.ExporterOfRecord;
11082
+ readonly contact?: io.flow.v0.models.Contact;
11083
+ readonly address?: io.flow.v0.models.Address;
11084
+ readonly signature_url?: string;
11085
+ }
11086
+
11087
+ interface TradeAgreementDuty {
11088
+ readonly trade_agreement: io.flow.v0.models.TradeAgreement;
11089
+ readonly duty: io.flow.v0.models.Duty;
11090
+ }
11091
+
10986
11092
  interface TransitEstimate {
10987
11093
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
10988
11094
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -11887,11 +11993,16 @@ export type CenterUpserted = io.flow.v0.models.CenterUpserted;
11887
11993
  export type CenterVersion = io.flow.v0.models.CenterVersion;
11888
11994
  export type ChangeType = io.flow.v0.enums.ChangeType;
11889
11995
  export type Channel = io.flow.v0.models.Channel;
11996
+ export type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
11997
+ export type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
11998
+ export type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
11890
11999
  export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
11891
12000
  export type ChannelForm = io.flow.v0.models.ChannelForm;
11892
12001
  export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
11893
12002
  export type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
12003
+ export type ChannelOrganizationForm = io.flow.v0.models.ChannelOrganizationForm;
11894
12004
  export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
12005
+ export type ChannelRate = io.flow.v0.models.ChannelRate;
11895
12006
  export type ChannelReference = io.flow.v0.models.ChannelReference;
11896
12007
  export type ChannelToken = io.flow.v0.models.ChannelToken;
11897
12008
  export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
@@ -12063,6 +12174,12 @@ export type DiscountsForm = io.flow.v0.models.DiscountsForm;
12063
12174
  export type Document = io.flow.v0.unions.Document;
12064
12175
  export type Duration = io.flow.v0.models.Duration;
12065
12176
  export type Duty = io.flow.v0.models.Duty;
12177
+ export type DutyItem = io.flow.v0.models.DutyItem;
12178
+ export type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
12179
+ export type DutyItemApprovalForm = io.flow.v0.models.DutyItemApprovalForm;
12180
+ export type DutyItemApprovalStatus = io.flow.v0.enums.DutyItemApprovalStatus;
12181
+ export type DutyItemForm = io.flow.v0.models.DutyItemForm;
12182
+ export type DutyItemProducer = io.flow.v0.models.DutyItemProducer;
12066
12183
  export type EcommercePlatform = io.flow.v0.models.EcommercePlatform;
12067
12184
  export type EcommercePlatformDeleted = io.flow.v0.models.EcommercePlatformDeleted;
12068
12185
  export type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformForm;
@@ -12163,6 +12280,7 @@ export type ExportLocalizedItemPricesDetail = io.flow.v0.models.ExportLocalizedI
12163
12280
  export type ExportStatus = io.flow.v0.enums.ExportStatus;
12164
12281
  export type ExportType = io.flow.v0.unions.ExportType;
12165
12282
  export type ExportVersion = io.flow.v0.models.ExportVersion;
12283
+ export type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
12166
12284
  export type ExternalApiTimeoutReservationError = io.flow.v0.models.ExternalApiTimeoutReservationError;
12167
12285
  export type FeeWeight = io.flow.v0.models.FeeWeight;
12168
12286
  export type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
@@ -13068,6 +13186,11 @@ export type TrackingNumberType = io.flow.v0.enums.TrackingNumberType;
13068
13186
  export type TrackingStatus = io.flow.v0.enums.TrackingStatus;
13069
13187
  export type TrackingSummary = io.flow.v0.models.TrackingSummary;
13070
13188
  export type TrackingVersion = io.flow.v0.models.TrackingVersion;
13189
+ export type TradeAgreement = io.flow.v0.models.TradeAgreement;
13190
+ export type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCertifier;
13191
+ export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
13192
+ export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
13193
+ export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
13071
13194
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
13072
13195
  export type TransitWindow = io.flow.v0.models.TransitWindow;
13073
13196
  export type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;