@flowio/types 11.19.14 → 11.19.15

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.
@@ -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' | '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' | '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';
@@ -9420,12 +9421,24 @@ declare namespace io.flow.internal.v0.models {
9420
9421
  readonly last_name?: string;
9421
9422
  readonly phone?: string;
9422
9423
  }
9424
+ interface AccountContactDeleted {
9425
+ readonly discriminator: 'account_contact_deleted';
9426
+ readonly event_id: string;
9427
+ readonly timestamp: string;
9428
+ readonly id: string;
9429
+ }
9423
9430
  interface AccountContactForm {
9424
9431
  readonly email: string;
9425
9432
  readonly first_name?: string;
9426
9433
  readonly last_name?: string;
9427
9434
  readonly phone?: string;
9428
9435
  }
9436
+ interface AccountContactUpserted {
9437
+ readonly discriminator: 'account_contact_upserted';
9438
+ readonly event_id: string;
9439
+ readonly timestamp: string;
9440
+ readonly account_contact: io.flow.internal.v0.models.AccountContact;
9441
+ }
9429
9442
  interface AccountDeleted {
9430
9443
  readonly discriminator: 'account_deleted';
9431
9444
  readonly event_id: string;
@@ -9839,6 +9852,12 @@ declare namespace io.flow.internal.v0.models {
9839
9852
  readonly count: number;
9840
9853
  readonly errors: io.flow.internal.v0.models.AlertErrorSummary[];
9841
9854
  }
9855
+ interface AlertImportSummary {
9856
+ readonly organization_id: string;
9857
+ readonly filename: string;
9858
+ readonly type: string;
9859
+ readonly started_at?: string;
9860
+ }
9842
9861
  interface AlertRequeueSummary {
9843
9862
  readonly queue: string;
9844
9863
  readonly count: number;
@@ -9976,14 +9995,36 @@ declare namespace io.flow.internal.v0.models {
9976
9995
  readonly primary_identifier?: string;
9977
9996
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
9978
9997
  }
9998
+ interface BillingOrganizationProcessingRateForm {
9999
+ readonly query: string;
10000
+ readonly capture: number;
10001
+ readonly refund: number;
10002
+ readonly fraud: number;
10003
+ }
9979
10004
  interface BillingOrganizationProcessingRates {
10005
+ readonly id: string;
9980
10006
  readonly query: string;
9981
10007
  readonly capture: number;
9982
10008
  readonly refund: number;
9983
10009
  readonly fraud: number;
10010
+ readonly position: number;
10011
+ }
10012
+ interface BillingOrganizationProcessingRatesDeleted {
10013
+ readonly discriminator: 'billing_organization_processing_rates_deleted';
10014
+ readonly event_id: string;
10015
+ readonly timestamp: string;
10016
+ readonly organization: string;
10017
+ readonly id: string;
9984
10018
  }
9985
10019
  interface BillingOrganizationProcessingRatesForm {
9986
- readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates[];
10020
+ readonly processing_rates: io.flow.internal.v0.models.BillingOrganizationProcessingRateForm[];
10021
+ }
10022
+ interface BillingOrganizationProcessingRatesUpserted {
10023
+ readonly discriminator: 'billing_organization_processing_rates_upserted';
10024
+ readonly event_id: string;
10025
+ readonly timestamp: string;
10026
+ readonly organization: string;
10027
+ readonly rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates;
9987
10028
  }
9988
10029
  interface BillingOrganizationSettings {
9989
10030
  readonly days_until_posted: number;
@@ -9995,6 +10036,20 @@ declare namespace io.flow.internal.v0.models {
9995
10036
  readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
9996
10037
  readonly b2b_tax_remittance_days?: number;
9997
10038
  }
10039
+ interface BillingOrganizationSettingsDeleted {
10040
+ readonly discriminator: 'billing_organization_settings_deleted';
10041
+ readonly event_id: string;
10042
+ readonly timestamp: string;
10043
+ readonly organization: string;
10044
+ readonly id: string;
10045
+ }
10046
+ interface BillingOrganizationSettingsUpserted {
10047
+ readonly discriminator: 'billing_organization_settings_upserted';
10048
+ readonly event_id: string;
10049
+ readonly timestamp: string;
10050
+ readonly organization: string;
10051
+ readonly settings: io.flow.internal.v0.models.BillingOrganizationSettings;
10052
+ }
9998
10053
  interface BillingStatement {
9999
10054
  readonly id: string;
10000
10055
  readonly account: io.flow.internal.v0.models.AccountReference;
@@ -10007,6 +10062,9 @@ declare namespace io.flow.internal.v0.models {
10007
10062
  readonly name: string;
10008
10063
  readonly url: string;
10009
10064
  }
10065
+ interface BillingStatementBatch {
10066
+ readonly id: string;
10067
+ }
10010
10068
  interface BillingStatementDeleted {
10011
10069
  readonly discriminator: 'billing_statement_deleted';
10012
10070
  readonly event_id: string;
@@ -15629,10 +15687,24 @@ declare namespace io.flow.internal.v0.models {
15629
15687
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
15630
15688
  readonly starts_at: string;
15631
15689
  }
15690
+ interface PlatformFeeChangeDeleted {
15691
+ readonly discriminator: 'platform_fee_change_deleted';
15692
+ readonly event_id: string;
15693
+ readonly timestamp: string;
15694
+ readonly organization: string;
15695
+ readonly id: string;
15696
+ }
15632
15697
  interface PlatformFeeChangeForm {
15633
15698
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
15634
15699
  readonly starts_at: string;
15635
15700
  }
15701
+ interface PlatformFeeChangeUpserted {
15702
+ readonly discriminator: 'platform_fee_change_upserted';
15703
+ readonly event_id: string;
15704
+ readonly timestamp: string;
15705
+ readonly organization: string;
15706
+ readonly platform_fee_change: io.flow.internal.v0.models.PlatformFeeChange;
15707
+ }
15636
15708
  interface PlatformFeeDisabled {
15637
15709
  readonly discriminator: 'platform_fee_disabled';
15638
15710
  readonly attributes?: Record<string, string>;
@@ -17391,7 +17463,7 @@ declare namespace io.flow.internal.v0.unions {
17391
17463
  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
17464
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
17393
17465
  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;
17466
+ 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.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
17467
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
17396
17468
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
17397
17469
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -17446,7 +17518,9 @@ declare namespace io.flow.internal.v0.unions {
17446
17518
  export declare type Acceptance = io.flow.internal.v0.models.Acceptance;
17447
17519
  export declare type Account = io.flow.internal.v0.models.Account;
17448
17520
  export declare type AccountContact = io.flow.internal.v0.models.AccountContact;
17521
+ export declare type AccountContactDeleted = io.flow.internal.v0.models.AccountContactDeleted;
17449
17522
  export declare type AccountContactForm = io.flow.internal.v0.models.AccountContactForm;
17523
+ export declare type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUpserted;
17450
17524
  export declare type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
17451
17525
  export declare type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
17452
17526
  export declare type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
@@ -17506,6 +17580,7 @@ export declare type AfterpayRefundUpserted = io.flow.internal.v0.models.Afterpay
17506
17580
  export declare type AlertErrorSummary = io.flow.internal.v0.models.AlertErrorSummary;
17507
17581
  export declare type AlertFailureSummary = io.flow.internal.v0.models.AlertFailureSummary;
17508
17582
  export declare type AlertFailureSummaryDetail = io.flow.internal.v0.models.AlertFailureSummaryDetail;
17583
+ export declare type AlertImportSummary = io.flow.internal.v0.models.AlertImportSummary;
17509
17584
  export declare type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary;
17510
17585
  export declare type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
17511
17586
  export declare type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
@@ -17535,12 +17610,19 @@ export declare type BillingAuthorizationReference = io.flow.internal.v0.models.B
17535
17610
  export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
17536
17611
  export declare type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
17537
17612
  export declare type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
17613
+ export declare type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
17538
17614
  export declare type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
17615
+ export declare type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
17539
17616
  export declare type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
17617
+ export declare type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
17540
17618
  export declare type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
17619
+ export declare type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
17620
+ export declare type BillingOrganizationSettingsUpserted = io.flow.internal.v0.models.BillingOrganizationSettingsUpserted;
17541
17621
  export declare type BillingStatement = io.flow.internal.v0.models.BillingStatement;
17542
17622
  export declare type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
17543
17623
  export declare type BillingStatementAttachmentKey = io.flow.internal.v0.enums.BillingStatementAttachmentKey;
17624
+ export declare type BillingStatementBatch = io.flow.internal.v0.models.BillingStatementBatch;
17625
+ export declare type BillingStatementBatchFileKey = io.flow.internal.v0.enums.BillingStatementBatchFileKey;
17544
17626
  export declare type BillingStatementDeleted = io.flow.internal.v0.models.BillingStatementDeleted;
17545
17627
  export declare type BillingStatementPendingReview = io.flow.internal.v0.models.BillingStatementPendingReview;
17546
17628
  export declare type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
@@ -18749,7 +18831,9 @@ export declare type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagat
18749
18831
  export declare type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
18750
18832
  export declare type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
18751
18833
  export declare type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
18834
+ export declare type PlatformFeeChangeDeleted = io.flow.internal.v0.models.PlatformFeeChangeDeleted;
18752
18835
  export declare type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm;
18836
+ export declare type PlatformFeeChangeUpserted = io.flow.internal.v0.models.PlatformFeeChangeUpserted;
18753
18837
  export declare type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
18754
18838
  export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
18755
18839
  export declare type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
package/dist/api.d.ts CHANGED
@@ -1682,6 +1682,7 @@ declare namespace io.flow.v0.enums {
1682
1682
  type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
1683
1683
  type DiscountRuleSubsidyTarget = 'vat' | 'duty';
1684
1684
  type DiscountTarget = 'item' | 'shipping';
1685
+ type DutyItemApprovalStatus = 'pending' | 'certified' | 'decertified';
1685
1686
  type EcommercePlatformType = 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea';
1686
1687
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
1687
1688
  type EntityIdentifierType = 'ioss' | 'voec';
@@ -1694,6 +1695,7 @@ declare namespace io.flow.v0.enums {
1694
1695
  type ExperiencePaymentMethodTag = 'display';
1695
1696
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
1696
1697
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
1698
+ type ExporterOfRecord = 'flow' | 'organization';
1697
1699
  type FlowBehavior = 'view_consumer_data';
1698
1700
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
1699
1701
  type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin';
@@ -1802,6 +1804,8 @@ declare namespace io.flow.v0.enums {
1802
1804
  type TokenType = 'permanent' | 'one_time';
1803
1805
  type TrackingNumberType = 'flow' | 'carrier';
1804
1806
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
1807
+ type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
1808
+ type TradeAgreementStatus = 'supported' | 'not_supported';
1805
1809
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
1806
1810
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
1807
1811
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -3755,6 +3759,43 @@ declare namespace io.flow.v0.models {
3755
3759
  readonly deminimis?: io.flow.v0.unions.Deminimis;
3756
3760
  readonly name?: string;
3757
3761
  }
3762
+ interface DutyItem {
3763
+ readonly number: string;
3764
+ readonly name: io.flow.v0.enums.TradeAgreementName;
3765
+ readonly product_id?: string;
3766
+ readonly sku?: string;
3767
+ readonly customs_description: string;
3768
+ readonly origin_criteria?: string;
3769
+ readonly approvals?: io.flow.v0.models.DutyItemApproval[];
3770
+ }
3771
+ interface DutyItemApproval {
3772
+ readonly status: io.flow.v0.enums.DutyItemApprovalStatus;
3773
+ readonly trade_agreement: io.flow.v0.models.TradeAgreement;
3774
+ readonly certifier: io.flow.v0.models.TradeAgreementCertifier;
3775
+ readonly producer: io.flow.v0.models.DutyItemProducer;
3776
+ readonly effective_at: string;
3777
+ }
3778
+ interface DutyItemApprovalForm {
3779
+ readonly status: io.flow.v0.enums.DutyItemApprovalStatus;
3780
+ readonly trade_agreement_key: string;
3781
+ readonly trade_agreement_certifier_key: string;
3782
+ readonly producer_key: string;
3783
+ readonly effective_at: string;
3784
+ }
3785
+ interface DutyItemForm {
3786
+ readonly number: string;
3787
+ readonly name: io.flow.v0.enums.TradeAgreementName;
3788
+ readonly product_id?: string;
3789
+ readonly sku?: string;
3790
+ readonly customs_description: string;
3791
+ readonly origin_criteria?: string;
3792
+ }
3793
+ interface DutyItemProducer {
3794
+ readonly key: string;
3795
+ readonly name: string;
3796
+ readonly location: io.flow.v0.models.Address;
3797
+ readonly contact?: io.flow.v0.models.Contact;
3798
+ }
3758
3799
  interface EcommercePlatform {
3759
3800
  readonly id: string;
3760
3801
  readonly type: io.flow.v0.enums.EcommercePlatformType;
@@ -8812,6 +8853,27 @@ declare namespace io.flow.v0.models {
8812
8853
  readonly type: io.flow.v0.enums.ChangeType;
8813
8854
  readonly tracking: io.flow.v0.models.TrackingSummary;
8814
8855
  }
8856
+ interface TradeAgreement {
8857
+ readonly key: string;
8858
+ readonly name: io.flow.v0.enums.TradeAgreementName;
8859
+ readonly origins: string[];
8860
+ readonly destinations: string[];
8861
+ readonly ship_from?: string[];
8862
+ readonly effective_at: string;
8863
+ readonly status: io.flow.v0.enums.TradeAgreementStatus;
8864
+ }
8865
+ interface TradeAgreementCertifier {
8866
+ readonly key: string;
8867
+ readonly name: string;
8868
+ readonly exporter_of_record: io.flow.v0.enums.ExporterOfRecord;
8869
+ readonly contact?: io.flow.v0.models.Contact;
8870
+ readonly address?: io.flow.v0.models.Address;
8871
+ readonly signature_url?: string;
8872
+ }
8873
+ interface TradeAgreementDuty {
8874
+ readonly trade_agreement: io.flow.v0.models.TradeAgreement;
8875
+ readonly duty: io.flow.v0.models.Duty;
8876
+ }
8815
8877
  interface TransitEstimate {
8816
8878
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
8817
8879
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -9472,6 +9534,12 @@ export declare type DiscountsForm = io.flow.v0.models.DiscountsForm;
9472
9534
  export declare type Document = io.flow.v0.unions.Document;
9473
9535
  export declare type Duration = io.flow.v0.models.Duration;
9474
9536
  export declare type Duty = io.flow.v0.models.Duty;
9537
+ export declare type DutyItem = io.flow.v0.models.DutyItem;
9538
+ export declare type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
9539
+ export declare type DutyItemApprovalForm = io.flow.v0.models.DutyItemApprovalForm;
9540
+ export declare type DutyItemApprovalStatus = io.flow.v0.enums.DutyItemApprovalStatus;
9541
+ export declare type DutyItemForm = io.flow.v0.models.DutyItemForm;
9542
+ export declare type DutyItemProducer = io.flow.v0.models.DutyItemProducer;
9475
9543
  export declare type EcommercePlatform = io.flow.v0.models.EcommercePlatform;
9476
9544
  export declare type EcommercePlatformDeleted = io.flow.v0.models.EcommercePlatformDeleted;
9477
9545
  export declare type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformForm;
@@ -9572,6 +9640,7 @@ export declare type ExportLocalizedItemPricesDetail = io.flow.v0.models.ExportLo
9572
9640
  export declare type ExportStatus = io.flow.v0.enums.ExportStatus;
9573
9641
  export declare type ExportType = io.flow.v0.unions.ExportType;
9574
9642
  export declare type ExportVersion = io.flow.v0.models.ExportVersion;
9643
+ export declare type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
9575
9644
  export declare type ExternalApiTimeoutReservationError = io.flow.v0.models.ExternalApiTimeoutReservationError;
9576
9645
  export declare type FeeWeight = io.flow.v0.models.FeeWeight;
9577
9646
  export declare type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
@@ -10477,6 +10546,11 @@ export declare type TrackingNumberType = io.flow.v0.enums.TrackingNumberType;
10477
10546
  export declare type TrackingStatus = io.flow.v0.enums.TrackingStatus;
10478
10547
  export declare type TrackingSummary = io.flow.v0.models.TrackingSummary;
10479
10548
  export declare type TrackingVersion = io.flow.v0.models.TrackingVersion;
10549
+ export declare type TradeAgreement = io.flow.v0.models.TradeAgreement;
10550
+ export declare type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCertifier;
10551
+ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
10552
+ export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
10553
+ export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
10480
10554
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
10481
10555
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
10482
10556
  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.15",
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": "ce69a19687a559cd2c551b6fad82e96bad835f7b"
29
29
  }
@@ -12009,6 +12009,7 @@ declare namespace io.flow.internal.v0.enums {
12009
12009
  | 'manual'
12010
12010
  | 'orders'
12011
12011
  | 'all';
12012
+ type BillingStatementBatchFileKey = 'archive' | 'summary';
12012
12013
  type BillingStatementReviewStatus = 'approved' | 'pending';
12013
12014
  type BillingTransactionStatus = 'pending' | 'posted';
12014
12015
  type BillingTransactionType =
@@ -12131,6 +12132,8 @@ declare namespace io.flow.internal.v0.enums {
12131
12132
  type CheckoutInfoAddressPredictionsKeyField = 'input';
12132
12133
  type CheckoutInfoContentKeyField = 'locale';
12133
12134
  type CheckoutInfoDeliveriesFormDataKeyField =
12135
+ | 'value'
12136
+ | 'currency'
12134
12137
  | 'country'
12135
12138
  | 'lines'
12136
12139
  | 'shipping_country'
@@ -12362,6 +12365,8 @@ declare namespace io.flow.internal.v0.enums {
12362
12365
  | 'adyen_refund_upserted'
12363
12366
  | 'account_upserted'
12364
12367
  | 'account_deleted'
12368
+ | 'account_contact_upserted'
12369
+ | 'account_contact_deleted'
12365
12370
  | 'billing_statement_upserted'
12366
12371
  | 'billing_statement_deleted'
12367
12372
  | 'tax_remittance_transaction_upserted'
@@ -12430,6 +12435,12 @@ declare namespace io.flow.internal.v0.enums {
12430
12435
  | 'feature_deleted'
12431
12436
  | 'organization_boolean_value_upserted'
12432
12437
  | 'organization_boolean_value_deleted'
12438
+ | 'billing_organization_processing_rates_upserted'
12439
+ | 'billing_organization_processing_rates_deleted'
12440
+ | 'billing_organization_settings_upserted'
12441
+ | 'billing_organization_settings_deleted'
12442
+ | 'platform_fee_change_upserted'
12443
+ | 'platform_fee_change_deleted'
12433
12444
  | 'fraud_review_upserted'
12434
12445
  | 'fraud_review_deleted'
12435
12446
  | 'fraud_pending_review_upserted'
@@ -12808,6 +12819,13 @@ declare namespace io.flow.internal.v0.models {
12808
12819
  readonly phone?: string;
12809
12820
  }
12810
12821
 
12822
+ interface AccountContactDeleted {
12823
+ readonly discriminator: 'account_contact_deleted';
12824
+ readonly event_id: string;
12825
+ readonly timestamp: string;
12826
+ readonly id: string;
12827
+ }
12828
+
12811
12829
  interface AccountContactForm {
12812
12830
  readonly email: string;
12813
12831
  readonly first_name?: string;
@@ -12815,6 +12833,13 @@ declare namespace io.flow.internal.v0.models {
12815
12833
  readonly phone?: string;
12816
12834
  }
12817
12835
 
12836
+ interface AccountContactUpserted {
12837
+ readonly discriminator: 'account_contact_upserted';
12838
+ readonly event_id: string;
12839
+ readonly timestamp: string;
12840
+ readonly account_contact: io.flow.internal.v0.models.AccountContact;
12841
+ }
12842
+
12818
12843
  interface AccountDeleted {
12819
12844
  readonly discriminator: 'account_deleted';
12820
12845
  readonly event_id: string;
@@ -13286,6 +13311,13 @@ declare namespace io.flow.internal.v0.models {
13286
13311
  readonly errors: io.flow.internal.v0.models.AlertErrorSummary[];
13287
13312
  }
13288
13313
 
13314
+ interface AlertImportSummary {
13315
+ readonly organization_id: string;
13316
+ readonly filename: string;
13317
+ readonly type: string;
13318
+ readonly started_at?: string;
13319
+ }
13320
+
13289
13321
  interface AlertRequeueSummary {
13290
13322
  readonly queue: string;
13291
13323
  readonly count: number;
@@ -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;
@@ -20081,11 +20158,27 @@ declare namespace io.flow.internal.v0.models {
20081
20158
  readonly starts_at: string;
20082
20159
  }
20083
20160
 
20161
+ interface PlatformFeeChangeDeleted {
20162
+ readonly discriminator: 'platform_fee_change_deleted';
20163
+ readonly event_id: string;
20164
+ readonly timestamp: string;
20165
+ readonly organization: string;
20166
+ readonly id: string;
20167
+ }
20168
+
20084
20169
  interface PlatformFeeChangeForm {
20085
20170
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
20086
20171
  readonly starts_at: string;
20087
20172
  }
20088
20173
 
20174
+ interface PlatformFeeChangeUpserted {
20175
+ readonly discriminator: 'platform_fee_change_upserted';
20176
+ readonly event_id: string;
20177
+ readonly timestamp: string;
20178
+ readonly organization: string;
20179
+ readonly platform_fee_change: io.flow.internal.v0.models.PlatformFeeChange;
20180
+ }
20181
+
20089
20182
  interface PlatformFeeDisabled {
20090
20183
  readonly discriminator: 'platform_fee_disabled';
20091
20184
  readonly attributes?: Record<string, string>;
@@ -22379,6 +22472,8 @@ declare namespace io.flow.internal.v0.unions {
22379
22472
  | io.flow.internal.v0.models.AdyenRefundUpserted
22380
22473
  | io.flow.internal.v0.models.AccountUpserted
22381
22474
  | io.flow.internal.v0.models.AccountDeleted
22475
+ | io.flow.internal.v0.models.AccountContactUpserted
22476
+ | io.flow.internal.v0.models.AccountContactDeleted
22382
22477
  | io.flow.internal.v0.models.BillingStatementUpserted
22383
22478
  | io.flow.internal.v0.models.BillingStatementDeleted
22384
22479
  | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
@@ -22447,6 +22542,12 @@ declare namespace io.flow.internal.v0.unions {
22447
22542
  | io.flow.internal.v0.models.FeatureDeleted
22448
22543
  | io.flow.internal.v0.models.OrganizationBooleanValueUpserted
22449
22544
  | io.flow.internal.v0.models.OrganizationBooleanValueDeleted
22545
+ | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted
22546
+ | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted
22547
+ | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted
22548
+ | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted
22549
+ | io.flow.internal.v0.models.PlatformFeeChangeUpserted
22550
+ | io.flow.internal.v0.models.PlatformFeeChangeDeleted
22450
22551
  | io.flow.internal.v0.models.FraudReviewUpserted
22451
22552
  | io.flow.internal.v0.models.FraudReviewDeleted
22452
22553
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
@@ -22786,7 +22887,9 @@ declare namespace io.flow.internal.v0.unions {
22786
22887
  export type Acceptance = io.flow.internal.v0.models.Acceptance;
22787
22888
  export type Account = io.flow.internal.v0.models.Account;
22788
22889
  export type AccountContact = io.flow.internal.v0.models.AccountContact;
22890
+ export type AccountContactDeleted = io.flow.internal.v0.models.AccountContactDeleted;
22789
22891
  export type AccountContactForm = io.flow.internal.v0.models.AccountContactForm;
22892
+ export type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUpserted;
22790
22893
  export type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
22791
22894
  export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
22792
22895
  export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
@@ -22846,6 +22949,7 @@ export type AfterpayRefundUpserted = io.flow.internal.v0.models.AfterpayRefundUp
22846
22949
  export type AlertErrorSummary = io.flow.internal.v0.models.AlertErrorSummary;
22847
22950
  export type AlertFailureSummary = io.flow.internal.v0.models.AlertFailureSummary;
22848
22951
  export type AlertFailureSummaryDetail = io.flow.internal.v0.models.AlertFailureSummaryDetail;
22952
+ export type AlertImportSummary = io.flow.internal.v0.models.AlertImportSummary;
22849
22953
  export type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary;
22850
22954
  export type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
22851
22955
  export type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
@@ -22875,12 +22979,19 @@ export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAu
22875
22979
  export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
22876
22980
  export type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
22877
22981
  export type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
22982
+ export type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
22878
22983
  export type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
22984
+ export type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
22879
22985
  export type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
22986
+ export type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
22880
22987
  export type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings;
22988
+ export type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted;
22989
+ export type BillingOrganizationSettingsUpserted = io.flow.internal.v0.models.BillingOrganizationSettingsUpserted;
22881
22990
  export type BillingStatement = io.flow.internal.v0.models.BillingStatement;
22882
22991
  export type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
22883
22992
  export type BillingStatementAttachmentKey = io.flow.internal.v0.enums.BillingStatementAttachmentKey;
22993
+ export type BillingStatementBatch = io.flow.internal.v0.models.BillingStatementBatch;
22994
+ export type BillingStatementBatchFileKey = io.flow.internal.v0.enums.BillingStatementBatchFileKey;
22884
22995
  export type BillingStatementDeleted = io.flow.internal.v0.models.BillingStatementDeleted;
22885
22996
  export type BillingStatementPendingReview = io.flow.internal.v0.models.BillingStatementPendingReview;
22886
22997
  export type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
@@ -24089,7 +24200,9 @@ export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
24089
24200
  export type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
24090
24201
  export type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
24091
24202
  export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
24203
+ export type PlatformFeeChangeDeleted = io.flow.internal.v0.models.PlatformFeeChangeDeleted;
24092
24204
  export type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm;
24205
+ export type PlatformFeeChangeUpserted = io.flow.internal.v0.models.PlatformFeeChangeUpserted;
24093
24206
  export type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
24094
24207
  export type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
24095
24208
  export type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause;
package/src/api.ts CHANGED
@@ -2259,6 +2259,7 @@ declare namespace io.flow.v0.enums {
2259
2259
  type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
2260
2260
  type DiscountRuleSubsidyTarget = 'vat' | 'duty';
2261
2261
  type DiscountTarget = 'item' | 'shipping';
2262
+ type DutyItemApprovalStatus = 'pending' | 'certified' | 'decertified';
2262
2263
  type EcommercePlatformType =
2263
2264
  | 'commercetools'
2264
2265
  | 'custom'
@@ -2453,6 +2454,7 @@ declare namespace io.flow.v0.enums {
2453
2454
  type ExperiencePaymentMethodTag = 'display';
2454
2455
  type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
2455
2456
  type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
2457
+ type ExporterOfRecord = 'flow' | 'organization';
2456
2458
  type FlowBehavior = 'view_consumer_data';
2457
2459
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
2458
2460
  type FlowRole =
@@ -2828,6 +2830,8 @@ declare namespace io.flow.v0.enums {
2828
2830
  | 'exception'
2829
2831
  | 'returned'
2830
2832
  | 'expired';
2833
+ type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
2834
+ type TradeAgreementStatus = 'supported' | 'not_supported';
2831
2835
  type UnitOfMeasurement =
2832
2836
  | 'millimeter'
2833
2837
  | 'centimeter'
@@ -5097,6 +5101,48 @@ declare namespace io.flow.v0.models {
5097
5101
  readonly name?: string;
5098
5102
  }
5099
5103
 
5104
+ interface DutyItem {
5105
+ readonly number: string;
5106
+ readonly name: io.flow.v0.enums.TradeAgreementName;
5107
+ readonly product_id?: string;
5108
+ readonly sku?: string;
5109
+ readonly customs_description: string;
5110
+ readonly origin_criteria?: string;
5111
+ readonly approvals?: io.flow.v0.models.DutyItemApproval[];
5112
+ }
5113
+
5114
+ interface DutyItemApproval {
5115
+ readonly status: io.flow.v0.enums.DutyItemApprovalStatus;
5116
+ readonly trade_agreement: io.flow.v0.models.TradeAgreement;
5117
+ readonly certifier: io.flow.v0.models.TradeAgreementCertifier;
5118
+ readonly producer: io.flow.v0.models.DutyItemProducer;
5119
+ readonly effective_at: string;
5120
+ }
5121
+
5122
+ interface DutyItemApprovalForm {
5123
+ readonly status: io.flow.v0.enums.DutyItemApprovalStatus;
5124
+ readonly trade_agreement_key: string;
5125
+ readonly trade_agreement_certifier_key: string;
5126
+ readonly producer_key: string;
5127
+ readonly effective_at: string;
5128
+ }
5129
+
5130
+ interface DutyItemForm {
5131
+ readonly number: string;
5132
+ readonly name: io.flow.v0.enums.TradeAgreementName;
5133
+ readonly product_id?: string;
5134
+ readonly sku?: string;
5135
+ readonly customs_description: string;
5136
+ readonly origin_criteria?: string;
5137
+ }
5138
+
5139
+ interface DutyItemProducer {
5140
+ readonly key: string;
5141
+ readonly name: string;
5142
+ readonly location: io.flow.v0.models.Address;
5143
+ readonly contact?: io.flow.v0.models.Contact;
5144
+ }
5145
+
5100
5146
  interface EcommercePlatform {
5101
5147
  readonly id: string;
5102
5148
  readonly type: io.flow.v0.enums.EcommercePlatformType;
@@ -10983,6 +11029,30 @@ declare namespace io.flow.v0.models {
10983
11029
  readonly tracking: io.flow.v0.models.TrackingSummary;
10984
11030
  }
10985
11031
 
11032
+ interface TradeAgreement {
11033
+ readonly key: string;
11034
+ readonly name: io.flow.v0.enums.TradeAgreementName;
11035
+ readonly origins: string[];
11036
+ readonly destinations: string[];
11037
+ readonly ship_from?: string[];
11038
+ readonly effective_at: string;
11039
+ readonly status: io.flow.v0.enums.TradeAgreementStatus;
11040
+ }
11041
+
11042
+ interface TradeAgreementCertifier {
11043
+ readonly key: string;
11044
+ readonly name: string;
11045
+ readonly exporter_of_record: io.flow.v0.enums.ExporterOfRecord;
11046
+ readonly contact?: io.flow.v0.models.Contact;
11047
+ readonly address?: io.flow.v0.models.Address;
11048
+ readonly signature_url?: string;
11049
+ }
11050
+
11051
+ interface TradeAgreementDuty {
11052
+ readonly trade_agreement: io.flow.v0.models.TradeAgreement;
11053
+ readonly duty: io.flow.v0.models.Duty;
11054
+ }
11055
+
10986
11056
  interface TransitEstimate {
10987
11057
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
10988
11058
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -12063,6 +12133,12 @@ export type DiscountsForm = io.flow.v0.models.DiscountsForm;
12063
12133
  export type Document = io.flow.v0.unions.Document;
12064
12134
  export type Duration = io.flow.v0.models.Duration;
12065
12135
  export type Duty = io.flow.v0.models.Duty;
12136
+ export type DutyItem = io.flow.v0.models.DutyItem;
12137
+ export type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
12138
+ export type DutyItemApprovalForm = io.flow.v0.models.DutyItemApprovalForm;
12139
+ export type DutyItemApprovalStatus = io.flow.v0.enums.DutyItemApprovalStatus;
12140
+ export type DutyItemForm = io.flow.v0.models.DutyItemForm;
12141
+ export type DutyItemProducer = io.flow.v0.models.DutyItemProducer;
12066
12142
  export type EcommercePlatform = io.flow.v0.models.EcommercePlatform;
12067
12143
  export type EcommercePlatformDeleted = io.flow.v0.models.EcommercePlatformDeleted;
12068
12144
  export type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformForm;
@@ -12163,6 +12239,7 @@ export type ExportLocalizedItemPricesDetail = io.flow.v0.models.ExportLocalizedI
12163
12239
  export type ExportStatus = io.flow.v0.enums.ExportStatus;
12164
12240
  export type ExportType = io.flow.v0.unions.ExportType;
12165
12241
  export type ExportVersion = io.flow.v0.models.ExportVersion;
12242
+ export type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord;
12166
12243
  export type ExternalApiTimeoutReservationError = io.flow.v0.models.ExternalApiTimeoutReservationError;
12167
12244
  export type FeeWeight = io.flow.v0.models.FeeWeight;
12168
12245
  export type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
@@ -13068,6 +13145,11 @@ export type TrackingNumberType = io.flow.v0.enums.TrackingNumberType;
13068
13145
  export type TrackingStatus = io.flow.v0.enums.TrackingStatus;
13069
13146
  export type TrackingSummary = io.flow.v0.models.TrackingSummary;
13070
13147
  export type TrackingVersion = io.flow.v0.models.TrackingVersion;
13148
+ export type TradeAgreement = io.flow.v0.models.TradeAgreement;
13149
+ export type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCertifier;
13150
+ export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
13151
+ export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
13152
+ export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
13071
13153
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
13072
13154
  export type TransitWindow = io.flow.v0.models.TransitWindow;
13073
13155
  export type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;