@flowio/types 11.19.13 → 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.
@@ -6830,17 +6830,21 @@ declare namespace io.flow.payment.gateway.v0.models {
6830
6830
  readonly type: 'adyen_v4';
6831
6831
  readonly result: any;
6832
6832
  }
6833
- interface BrowserDetails {
6833
+ interface DeviceDetailsBrowser {
6834
6834
  readonly type: 'browser';
6835
+ readonly user_agent: string;
6835
6836
  readonly origin: string;
6836
- readonly language: string;
6837
+ readonly accept_language: string;
6838
+ readonly ip?: string;
6839
+ }
6840
+ interface DeviceFingerprintDetailsBrowser {
6841
+ readonly type: 'browser';
6842
+ readonly accept?: string;
6837
6843
  readonly java_enabled: boolean;
6838
6844
  readonly color_depth: number;
6839
6845
  readonly screen_height: number;
6840
6846
  readonly screen_width: number;
6841
6847
  readonly time_zone_offset: number;
6842
- readonly user_agent?: string;
6843
- readonly accept?: string;
6844
6848
  }
6845
6849
  interface OrderDetails {
6846
6850
  readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
@@ -6950,7 +6954,7 @@ declare namespace io.flow.payment.gateway.v0.models {
6950
6954
  interface PaymentMethodDataAuthorizeCard {
6951
6955
  readonly type: 'authorize_card';
6952
6956
  readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
6953
- readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
6957
+ readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
6954
6958
  readonly cvv?: string;
6955
6959
  }
6956
6960
  interface PaymentMethodDataAuthorizeGooglepay {
@@ -7066,13 +7070,15 @@ declare namespace io.flow.payment.gateway.v0.models {
7066
7070
  interface PaymentRequest {
7067
7071
  readonly id: string;
7068
7072
  readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
7073
+ readonly created_at: string;
7074
+ readonly updated_at: string;
7069
7075
  readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
7070
7076
  readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
7071
7077
  readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
7072
7078
  readonly amount: number;
7073
7079
  readonly currency: string;
7074
7080
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7075
- readonly ip?: string;
7081
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
7076
7082
  readonly locale?: string;
7077
7083
  readonly return_url: string;
7078
7084
  readonly attributes?: Record<string, string>;
@@ -7084,7 +7090,7 @@ declare namespace io.flow.payment.gateway.v0.models {
7084
7090
  readonly amount: number;
7085
7091
  readonly currency: string;
7086
7092
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
7087
- readonly ip?: string;
7093
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
7088
7094
  readonly locale?: string;
7089
7095
  readonly return_url: string;
7090
7096
  readonly attributes?: Record<string, string>;
@@ -7128,7 +7134,8 @@ declare namespace io.flow.payment.gateway.v0.unions {
7128
7134
  type Action = io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait;
7129
7135
  type CardAuthorizationActionResult = io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4;
7130
7136
  type CardNumber = io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
7131
- type DeviceDetails = io.flow.payment.gateway.v0.models.BrowserDetails;
7137
+ type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
7138
+ type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
7132
7139
  type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
7133
7140
  type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
7134
7141
  type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
@@ -9199,6 +9206,7 @@ declare namespace io.flow.internal.v0.enums {
9199
9206
  type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
9200
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';
9201
9208
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
9209
+ type BillingStatementBatchFileKey = 'archive' | 'summary';
9202
9210
  type BillingStatementReviewStatus = 'approved' | 'pending';
9203
9211
  type BillingTransactionStatus = 'pending' | 'posted';
9204
9212
  type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
@@ -9237,7 +9245,7 @@ declare namespace io.flow.internal.v0.enums {
9237
9245
  type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
9238
9246
  type CheckoutInfoAddressPredictionsKeyField = 'input';
9239
9247
  type CheckoutInfoContentKeyField = 'locale';
9240
- type CheckoutInfoDeliveriesFormDataKeyField = 'country' | 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal';
9248
+ type CheckoutInfoDeliveriesFormDataKeyField = 'value' | 'currency' | 'country' | 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal';
9241
9249
  type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
9242
9250
  type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
9243
9251
  type CheckoutInfoPaymentDetailsKeyField = 'value' | 'currency' | 'payment_method_id';
@@ -9295,7 +9303,7 @@ declare namespace io.flow.internal.v0.enums {
9295
9303
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
9296
9304
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
9297
9305
  type EmptyAttribute = 'irrelevant';
9298
- 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' | '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';
9299
9307
  type ExperienceImportType = 'experience_with_settings';
9300
9308
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
9301
9309
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -9413,12 +9421,31 @@ declare namespace io.flow.internal.v0.models {
9413
9421
  readonly last_name?: string;
9414
9422
  readonly phone?: string;
9415
9423
  }
9424
+ interface AccountContactDeleted {
9425
+ readonly discriminator: 'account_contact_deleted';
9426
+ readonly event_id: string;
9427
+ readonly timestamp: string;
9428
+ readonly id: string;
9429
+ }
9416
9430
  interface AccountContactForm {
9417
9431
  readonly email: string;
9418
9432
  readonly first_name?: string;
9419
9433
  readonly last_name?: string;
9420
9434
  readonly phone?: string;
9421
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
+ }
9442
+ interface AccountDeleted {
9443
+ readonly discriminator: 'account_deleted';
9444
+ readonly event_id: string;
9445
+ readonly timestamp: string;
9446
+ readonly organization: string;
9447
+ readonly id: string;
9448
+ }
9422
9449
  interface AccountDepositRule {
9423
9450
  readonly target: number;
9424
9451
  readonly rate: number;
@@ -9495,6 +9522,13 @@ declare namespace io.flow.internal.v0.models {
9495
9522
  readonly created_on_or_before?: string;
9496
9523
  readonly created_before?: string;
9497
9524
  }
9525
+ interface AccountUpserted {
9526
+ readonly discriminator: 'account_upserted';
9527
+ readonly event_id: string;
9528
+ readonly timestamp: string;
9529
+ readonly organization: string;
9530
+ readonly account: io.flow.internal.v0.models.Account;
9531
+ }
9498
9532
  interface ActionQuantity {
9499
9533
  readonly action: io.flow.internal.v0.enums.ItemQuantityAction;
9500
9534
  readonly quantity: number;
@@ -9818,6 +9852,12 @@ declare namespace io.flow.internal.v0.models {
9818
9852
  readonly count: number;
9819
9853
  readonly errors: io.flow.internal.v0.models.AlertErrorSummary[];
9820
9854
  }
9855
+ interface AlertImportSummary {
9856
+ readonly organization_id: string;
9857
+ readonly filename: string;
9858
+ readonly type: string;
9859
+ readonly started_at?: string;
9860
+ }
9821
9861
  interface AlertRequeueSummary {
9822
9862
  readonly queue: string;
9823
9863
  readonly count: number;
@@ -9955,14 +9995,36 @@ declare namespace io.flow.internal.v0.models {
9955
9995
  readonly primary_identifier?: string;
9956
9996
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
9957
9997
  }
9998
+ interface BillingOrganizationProcessingRateForm {
9999
+ readonly query: string;
10000
+ readonly capture: number;
10001
+ readonly refund: number;
10002
+ readonly fraud: number;
10003
+ }
9958
10004
  interface BillingOrganizationProcessingRates {
10005
+ readonly id: string;
9959
10006
  readonly query: string;
9960
10007
  readonly capture: number;
9961
10008
  readonly refund: number;
9962
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;
9963
10018
  }
9964
10019
  interface BillingOrganizationProcessingRatesForm {
9965
- 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;
9966
10028
  }
9967
10029
  interface BillingOrganizationSettings {
9968
10030
  readonly days_until_posted: number;
@@ -9974,6 +10036,20 @@ declare namespace io.flow.internal.v0.models {
9974
10036
  readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
9975
10037
  readonly b2b_tax_remittance_days?: number;
9976
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
+ }
9977
10053
  interface BillingStatement {
9978
10054
  readonly id: string;
9979
10055
  readonly account: io.flow.internal.v0.models.AccountReference;
@@ -9986,6 +10062,9 @@ declare namespace io.flow.internal.v0.models {
9986
10062
  readonly name: string;
9987
10063
  readonly url: string;
9988
10064
  }
10065
+ interface BillingStatementBatch {
10066
+ readonly id: string;
10067
+ }
9989
10068
  interface BillingStatementDeleted {
9990
10069
  readonly discriminator: 'billing_statement_deleted';
9991
10070
  readonly event_id: string;
@@ -10310,6 +10389,13 @@ declare namespace io.flow.internal.v0.models {
10310
10389
  readonly discriminator: 'change_settings_index_task';
10311
10390
  readonly name: string;
10312
10391
  }
10392
+ interface ChannelServiceFee {
10393
+ readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
10394
+ }
10395
+ interface ChannelServiceFeeTier {
10396
+ readonly minimum_orders: number;
10397
+ readonly amount: number;
10398
+ }
10313
10399
  interface Chargeback {
10314
10400
  readonly id: string;
10315
10401
  readonly key: string;
@@ -13160,6 +13246,7 @@ declare namespace io.flow.internal.v0.models {
13160
13246
  readonly status_updated_at?: string;
13161
13247
  readonly attributes?: Record<string, string>;
13162
13248
  readonly provider?: io.flow.internal.v0.enums.FraudProvider;
13249
+ readonly payment_authorization_id?: string;
13163
13250
  }
13164
13251
  interface FraudReviewDecision {
13165
13252
  readonly id: string;
@@ -13934,6 +14021,17 @@ declare namespace io.flow.internal.v0.models {
13934
14021
  readonly visit_id?: string;
13935
14022
  readonly visitor_id?: string;
13936
14023
  }
14024
+ interface HeapWebsocketConnectionLost {
14025
+ readonly discriminator: 'websocket_connection_lost';
14026
+ readonly checkout_id?: string;
14027
+ readonly experience_key?: string;
14028
+ readonly experiment_key?: string;
14029
+ readonly experiment_variant_key?: string;
14030
+ readonly order_number?: string;
14031
+ readonly organization_id?: string;
14032
+ readonly visit_id?: string;
14033
+ readonly visitor_id?: string;
14034
+ }
13937
14035
  interface HeapWebsocketError {
13938
14036
  readonly discriminator: 'websocket_error';
13939
14037
  readonly checkout_id?: string;
@@ -14464,6 +14562,9 @@ declare namespace io.flow.internal.v0.models {
14464
14562
  readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
14465
14563
  readonly label?: io.flow.label.v0.models.ShippingLabelDocument;
14466
14564
  readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
14565
+ readonly carrier_tracking_number?: string;
14566
+ readonly carrier_tracking_number_url?: string;
14567
+ readonly service?: io.flow.reference.v0.models.CarrierService;
14467
14568
  }
14468
14569
  interface LabelTaxonomy {
14469
14570
  readonly discriminator: 'item';
@@ -15586,10 +15687,24 @@ declare namespace io.flow.internal.v0.models {
15586
15687
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
15587
15688
  readonly starts_at: string;
15588
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
+ }
15589
15697
  interface PlatformFeeChangeForm {
15590
15698
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
15591
15699
  readonly starts_at: string;
15592
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
+ }
15593
15708
  interface PlatformFeeDisabled {
15594
15709
  readonly discriminator: 'platform_fee_disabled';
15595
15710
  readonly attributes?: Record<string, string>;
@@ -17348,7 +17463,7 @@ declare namespace io.flow.internal.v0.unions {
17348
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;
17349
17464
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
17350
17465
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
17351
- 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.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;
17352
17467
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
17353
17468
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
17354
17469
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -17359,7 +17474,7 @@ declare namespace io.flow.internal.v0.unions {
17359
17474
  type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified;
17360
17475
  type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified;
17361
17476
  type GlobalSearchResult = io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchExperimentSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary;
17362
- type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAfterpayPopupOpened | io.flow.internal.v0.models.HeapAfterpayPopupClosed | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapCheckoutStarted | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapSplitLoaded | io.flow.internal.v0.models.HeapSplitTimeout | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRequest | io.flow.internal.v0.models.HeapWebsocketResponse | io.flow.internal.v0.models.HeapWebsocketRetry;
17477
+ type HeapEvent = io.flow.internal.v0.models.HeapAddressPredictionClick | io.flow.internal.v0.models.HeapAfterpayPopupOpened | io.flow.internal.v0.models.HeapAfterpayPopupClosed | io.flow.internal.v0.models.HeapAuthorizationDeclined | io.flow.internal.v0.models.HeapAuthorizationError | io.flow.internal.v0.models.HeapCardError | io.flow.internal.v0.models.HeapCheckoutProgress | io.flow.internal.v0.models.HeapCheckoutStarted | io.flow.internal.v0.models.HeapContinueClick | io.flow.internal.v0.models.HeapDeliveryFormDataReceived | io.flow.internal.v0.models.HeapDeliveryFormDataTimeout | io.flow.internal.v0.models.HeapDeliveryOptionCount | io.flow.internal.v0.models.HeapDeliveryOptionSelected | io.flow.internal.v0.models.HeapExitCheckout | io.flow.internal.v0.models.HeapFieldBlur | io.flow.internal.v0.models.HeapFieldErrorTooltipShown | io.flow.internal.v0.models.HeapFieldFocus | io.flow.internal.v0.models.HeapFieldValidation | io.flow.internal.v0.models.HeapGiftCardApply | io.flow.internal.v0.models.HeapGiftCardOpen | io.flow.internal.v0.models.HeapGiftCardWithPin | io.flow.internal.v0.models.HeapOptinPromptDeselected | io.flow.internal.v0.models.HeapOptinPromptSelected | io.flow.internal.v0.models.HeapOrderSummaryClose | io.flow.internal.v0.models.HeapOrderSummaryOpen | io.flow.internal.v0.models.HeapPayClick | io.flow.internal.v0.models.HeapPaymentFormDataReceived | io.flow.internal.v0.models.HeapPaymentFormDataTimeout | io.flow.internal.v0.models.HeapPaymentMethodSelected | io.flow.internal.v0.models.HeapPerformance | io.flow.internal.v0.models.HeapPromoCodeApply | io.flow.internal.v0.models.HeapPromoCodeError | io.flow.internal.v0.models.HeapPromoCodeOpen | io.flow.internal.v0.models.HeapPurchase | io.flow.internal.v0.models.HeapRageClick | io.flow.internal.v0.models.HeapScriptError | io.flow.internal.v0.models.HeapSequencedError | io.flow.internal.v0.models.HeapSequencedTiming | io.flow.internal.v0.models.HeapSplitLoaded | io.flow.internal.v0.models.HeapSplitTimeout | io.flow.internal.v0.models.HeapStartCheckout | io.flow.internal.v0.models.HeapStreamError | io.flow.internal.v0.models.HeapSubmitError | io.flow.internal.v0.models.HeapWebsocketClose | io.flow.internal.v0.models.HeapWebsocketConnectionLost | io.flow.internal.v0.models.HeapWebsocketError | io.flow.internal.v0.models.HeapWebsocketGiveUp | io.flow.internal.v0.models.HeapWebsocketOpen | io.flow.internal.v0.models.HeapWebsocketRequest | io.flow.internal.v0.models.HeapWebsocketResponse | io.flow.internal.v0.models.HeapWebsocketRetry;
17363
17478
  type IndexTaskType = io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask;
17364
17479
  type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters;
17365
17480
  type InternalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails;
@@ -17403,7 +17518,10 @@ declare namespace io.flow.internal.v0.unions {
17403
17518
  export declare type Acceptance = io.flow.internal.v0.models.Acceptance;
17404
17519
  export declare type Account = io.flow.internal.v0.models.Account;
17405
17520
  export declare type AccountContact = io.flow.internal.v0.models.AccountContact;
17521
+ export declare type AccountContactDeleted = io.flow.internal.v0.models.AccountContactDeleted;
17406
17522
  export declare type AccountContactForm = io.flow.internal.v0.models.AccountContactForm;
17523
+ export declare type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUpserted;
17524
+ export declare type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
17407
17525
  export declare type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
17408
17526
  export declare type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
17409
17527
  export declare type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
@@ -17412,6 +17530,7 @@ export declare type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
17412
17530
  export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
17413
17531
  export declare type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
17414
17532
  export declare type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
17533
+ export declare type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
17415
17534
  export declare type ActionQuantity = io.flow.internal.v0.models.ActionQuantity;
17416
17535
  export declare type AddressConfigurationProvinceSetting = io.flow.internal.v0.models.AddressConfigurationProvinceSetting;
17417
17536
  export declare type AddressConfigurationSetting = io.flow.internal.v0.models.AddressConfigurationSetting;
@@ -17461,6 +17580,7 @@ export declare type AfterpayRefundUpserted = io.flow.internal.v0.models.Afterpay
17461
17580
  export declare type AlertErrorSummary = io.flow.internal.v0.models.AlertErrorSummary;
17462
17581
  export declare type AlertFailureSummary = io.flow.internal.v0.models.AlertFailureSummary;
17463
17582
  export declare type AlertFailureSummaryDetail = io.flow.internal.v0.models.AlertFailureSummaryDetail;
17583
+ export declare type AlertImportSummary = io.flow.internal.v0.models.AlertImportSummary;
17464
17584
  export declare type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary;
17465
17585
  export declare type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
17466
17586
  export declare type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
@@ -17490,12 +17610,19 @@ export declare type BillingAuthorizationReference = io.flow.internal.v0.models.B
17490
17610
  export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
17491
17611
  export declare type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
17492
17612
  export declare type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
17613
+ export declare type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
17493
17614
  export declare type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
17615
+ export declare type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
17494
17616
  export declare type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
17617
+ export declare type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
17495
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;
17496
17621
  export declare type BillingStatement = io.flow.internal.v0.models.BillingStatement;
17497
17622
  export declare type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
17498
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;
17499
17626
  export declare type BillingStatementDeleted = io.flow.internal.v0.models.BillingStatementDeleted;
17500
17627
  export declare type BillingStatementPendingReview = io.flow.internal.v0.models.BillingStatementPendingReview;
17501
17628
  export declare type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
@@ -17567,6 +17694,8 @@ export declare type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.mo
17567
17694
  export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
17568
17695
  export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
17569
17696
  export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
17697
+ export declare type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
17698
+ export declare type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
17570
17699
  export declare type Chargeback = io.flow.internal.v0.models.Chargeback;
17571
17700
  export declare type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
17572
17701
  export declare type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
@@ -18398,6 +18527,7 @@ export declare type HeapStartCheckout = io.flow.internal.v0.models.HeapStartChec
18398
18527
  export declare type HeapStreamError = io.flow.internal.v0.models.HeapStreamError;
18399
18528
  export declare type HeapSubmitError = io.flow.internal.v0.models.HeapSubmitError;
18400
18529
  export declare type HeapWebsocketClose = io.flow.internal.v0.models.HeapWebsocketClose;
18530
+ export declare type HeapWebsocketConnectionLost = io.flow.internal.v0.models.HeapWebsocketConnectionLost;
18401
18531
  export declare type HeapWebsocketError = io.flow.internal.v0.models.HeapWebsocketError;
18402
18532
  export declare type HeapWebsocketGiveUp = io.flow.internal.v0.models.HeapWebsocketGiveUp;
18403
18533
  export declare type HeapWebsocketOpen = io.flow.internal.v0.models.HeapWebsocketOpen;
@@ -18701,7 +18831,9 @@ export declare type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagat
18701
18831
  export declare type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
18702
18832
  export declare type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
18703
18833
  export declare type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
18834
+ export declare type PlatformFeeChangeDeleted = io.flow.internal.v0.models.PlatformFeeChangeDeleted;
18704
18835
  export declare type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm;
18836
+ export declare type PlatformFeeChangeUpserted = io.flow.internal.v0.models.PlatformFeeChangeUpserted;
18705
18837
  export declare type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
18706
18838
  export declare type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
18707
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.13",
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": "e9abc4c9ddb492fb2b7c9d93076e4a839cca67e7"
28
+ "gitHead": "ce69a19687a559cd2c551b6fad82e96bad835f7b"
29
29
  }
@@ -8989,17 +8989,22 @@ declare namespace io.flow.payment.gateway.v0.models {
8989
8989
  readonly result: any /*object*/;
8990
8990
  }
8991
8991
 
8992
- interface BrowserDetails {
8992
+ interface DeviceDetailsBrowser {
8993
8993
  readonly type: 'browser';
8994
+ readonly user_agent: string;
8994
8995
  readonly origin: string;
8995
- readonly language: string;
8996
+ readonly accept_language: string;
8997
+ readonly ip?: string;
8998
+ }
8999
+
9000
+ interface DeviceFingerprintDetailsBrowser {
9001
+ readonly type: 'browser';
9002
+ readonly accept?: string;
8996
9003
  readonly java_enabled: boolean;
8997
9004
  readonly color_depth: number;
8998
9005
  readonly screen_height: number;
8999
9006
  readonly screen_width: number;
9000
9007
  readonly time_zone_offset: number;
9001
- readonly user_agent?: string;
9002
- readonly accept?: string;
9003
9008
  }
9004
9009
 
9005
9010
  interface OrderDetails {
@@ -9129,7 +9134,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9129
9134
  interface PaymentMethodDataAuthorizeCard {
9130
9135
  readonly type: 'authorize_card';
9131
9136
  readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard;
9132
- readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
9137
+ readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails;
9133
9138
  readonly cvv?: string;
9134
9139
  }
9135
9140
 
@@ -9268,13 +9273,15 @@ declare namespace io.flow.payment.gateway.v0.models {
9268
9273
  interface PaymentRequest {
9269
9274
  readonly id: string;
9270
9275
  readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus;
9276
+ readonly created_at: string;
9277
+ readonly updated_at: string;
9271
9278
  readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[];
9272
9279
  readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure;
9273
9280
  readonly next_action?: io.flow.payment.gateway.v0.unions.Action;
9274
9281
  readonly amount: number;
9275
9282
  readonly currency: string;
9276
9283
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
9277
- readonly ip?: string;
9284
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
9278
9285
  readonly locale?: string;
9279
9286
  readonly return_url: string;
9280
9287
  readonly attributes?: Record<string, string>;
@@ -9287,7 +9294,7 @@ declare namespace io.flow.payment.gateway.v0.models {
9287
9294
  readonly amount: number;
9288
9295
  readonly currency: string;
9289
9296
  readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation;
9290
- readonly ip?: string;
9297
+ readonly device_details: io.flow.payment.gateway.v0.unions.DeviceDetails;
9291
9298
  readonly locale?: string;
9292
9299
  readonly return_url: string;
9293
9300
  readonly attributes?: Record<string, string>;
@@ -9354,7 +9361,8 @@ declare namespace io.flow.payment.gateway.v0.unions {
9354
9361
  type CardNumber =
9355
9362
  | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext
9356
9363
  | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher;
9357
- type DeviceDetails = io.flow.payment.gateway.v0.models.BrowserDetails;
9364
+ type DeviceDetails = io.flow.payment.gateway.v0.models.DeviceDetailsBrowser;
9365
+ type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser;
9358
9366
  type OrderInformation =
9359
9367
  | io.flow.payment.gateway.v0.models.OrderInformationFlow
9360
9368
  | io.flow.payment.gateway.v0.models.OrderInformationDetails;
@@ -12001,6 +12009,7 @@ declare namespace io.flow.internal.v0.enums {
12001
12009
  | 'manual'
12002
12010
  | 'orders'
12003
12011
  | 'all';
12012
+ type BillingStatementBatchFileKey = 'archive' | 'summary';
12004
12013
  type BillingStatementReviewStatus = 'approved' | 'pending';
12005
12014
  type BillingTransactionStatus = 'pending' | 'posted';
12006
12015
  type BillingTransactionType =
@@ -12123,6 +12132,8 @@ declare namespace io.flow.internal.v0.enums {
12123
12132
  type CheckoutInfoAddressPredictionsKeyField = 'input';
12124
12133
  type CheckoutInfoContentKeyField = 'locale';
12125
12134
  type CheckoutInfoDeliveriesFormDataKeyField =
12135
+ | 'value'
12136
+ | 'currency'
12126
12137
  | 'country'
12127
12138
  | 'lines'
12128
12139
  | 'shipping_country'
@@ -12352,6 +12363,10 @@ declare namespace io.flow.internal.v0.enums {
12352
12363
  | 'adyen_capture_upserted'
12353
12364
  | 'adyen_refund_deleted'
12354
12365
  | 'adyen_refund_upserted'
12366
+ | 'account_upserted'
12367
+ | 'account_deleted'
12368
+ | 'account_contact_upserted'
12369
+ | 'account_contact_deleted'
12355
12370
  | 'billing_statement_upserted'
12356
12371
  | 'billing_statement_deleted'
12357
12372
  | 'tax_remittance_transaction_upserted'
@@ -12420,6 +12435,12 @@ declare namespace io.flow.internal.v0.enums {
12420
12435
  | 'feature_deleted'
12421
12436
  | 'organization_boolean_value_upserted'
12422
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'
12423
12444
  | 'fraud_review_upserted'
12424
12445
  | 'fraud_review_deleted'
12425
12446
  | 'fraud_pending_review_upserted'
@@ -12798,6 +12819,13 @@ declare namespace io.flow.internal.v0.models {
12798
12819
  readonly phone?: string;
12799
12820
  }
12800
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
+
12801
12829
  interface AccountContactForm {
12802
12830
  readonly email: string;
12803
12831
  readonly first_name?: string;
@@ -12805,6 +12833,21 @@ declare namespace io.flow.internal.v0.models {
12805
12833
  readonly phone?: string;
12806
12834
  }
12807
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
+
12843
+ interface AccountDeleted {
12844
+ readonly discriminator: 'account_deleted';
12845
+ readonly event_id: string;
12846
+ readonly timestamp: string;
12847
+ readonly organization: string;
12848
+ readonly id: string;
12849
+ }
12850
+
12808
12851
  interface AccountDepositRule {
12809
12852
  readonly target: number;
12810
12853
  readonly rate: number;
@@ -12889,6 +12932,14 @@ declare namespace io.flow.internal.v0.models {
12889
12932
  readonly created_before?: string;
12890
12933
  }
12891
12934
 
12935
+ interface AccountUpserted {
12936
+ readonly discriminator: 'account_upserted';
12937
+ readonly event_id: string;
12938
+ readonly timestamp: string;
12939
+ readonly organization: string;
12940
+ readonly account: io.flow.internal.v0.models.Account;
12941
+ }
12942
+
12892
12943
  interface ActionQuantity {
12893
12944
  readonly action: io.flow.internal.v0.enums.ItemQuantityAction;
12894
12945
  readonly quantity: number;
@@ -13260,6 +13311,13 @@ declare namespace io.flow.internal.v0.models {
13260
13311
  readonly errors: io.flow.internal.v0.models.AlertErrorSummary[];
13261
13312
  }
13262
13313
 
13314
+ interface AlertImportSummary {
13315
+ readonly organization_id: string;
13316
+ readonly filename: string;
13317
+ readonly type: string;
13318
+ readonly started_at?: string;
13319
+ }
13320
+
13263
13321
  interface AlertRequeueSummary {
13264
13322
  readonly queue: string;
13265
13323
  readonly count: number;
@@ -13422,15 +13480,40 @@ declare namespace io.flow.internal.v0.models {
13422
13480
  readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
13423
13481
  }
13424
13482
 
13483
+ interface BillingOrganizationProcessingRateForm {
13484
+ readonly query: string;
13485
+ readonly capture: number;
13486
+ readonly refund: number;
13487
+ readonly fraud: number;
13488
+ }
13489
+
13425
13490
  interface BillingOrganizationProcessingRates {
13491
+ readonly id: string;
13426
13492
  readonly query: string;
13427
13493
  readonly capture: number;
13428
13494
  readonly refund: number;
13429
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;
13430
13505
  }
13431
13506
 
13432
13507
  interface BillingOrganizationProcessingRatesForm {
13433
- 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;
13434
13517
  }
13435
13518
 
13436
13519
  interface BillingOrganizationSettings {
@@ -13444,6 +13527,22 @@ declare namespace io.flow.internal.v0.models {
13444
13527
  readonly b2b_tax_remittance_days?: number;
13445
13528
  }
13446
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
+
13447
13546
  interface BillingStatement {
13448
13547
  readonly id: string;
13449
13548
  readonly account: io.flow.internal.v0.models.AccountReference;
@@ -13458,6 +13557,10 @@ declare namespace io.flow.internal.v0.models {
13458
13557
  readonly url: string;
13459
13558
  }
13460
13559
 
13560
+ interface BillingStatementBatch {
13561
+ readonly id: string;
13562
+ }
13563
+
13461
13564
  interface BillingStatementDeleted {
13462
13565
  readonly discriminator: 'billing_statement_deleted';
13463
13566
  readonly event_id: string;
@@ -13843,6 +13946,15 @@ declare namespace io.flow.internal.v0.models {
13843
13946
  readonly name: string;
13844
13947
  }
13845
13948
 
13949
+ interface ChannelServiceFee {
13950
+ readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
13951
+ }
13952
+
13953
+ interface ChannelServiceFeeTier {
13954
+ readonly minimum_orders: number;
13955
+ readonly amount: number;
13956
+ }
13957
+
13846
13958
  interface Chargeback {
13847
13959
  readonly id: string;
13848
13960
  readonly key: string;
@@ -17257,6 +17369,7 @@ declare namespace io.flow.internal.v0.models {
17257
17369
  readonly status_updated_at?: string;
17258
17370
  readonly attributes?: Record<string, string>;
17259
17371
  readonly provider?: io.flow.internal.v0.enums.FraudProvider;
17372
+ readonly payment_authorization_id?: string;
17260
17373
  }
17261
17374
 
17262
17375
  interface FraudReviewDecision {
@@ -18114,6 +18227,18 @@ declare namespace io.flow.internal.v0.models {
18114
18227
  readonly visitor_id?: string;
18115
18228
  }
18116
18229
 
18230
+ interface HeapWebsocketConnectionLost {
18231
+ readonly discriminator: 'websocket_connection_lost';
18232
+ readonly checkout_id?: string;
18233
+ readonly experience_key?: string;
18234
+ readonly experiment_key?: string;
18235
+ readonly experiment_variant_key?: string;
18236
+ readonly order_number?: string;
18237
+ readonly organization_id?: string;
18238
+ readonly visit_id?: string;
18239
+ readonly visitor_id?: string;
18240
+ }
18241
+
18117
18242
  interface HeapWebsocketError {
18118
18243
  readonly discriminator: 'websocket_error';
18119
18244
  readonly checkout_id?: string;
@@ -18726,6 +18851,9 @@ declare namespace io.flow.internal.v0.models {
18726
18851
  readonly package?: io.flow.label.v0.models.ShippingLabelPackage;
18727
18852
  readonly label?: io.flow.label.v0.models.ShippingLabelDocument;
18728
18853
  readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
18854
+ readonly carrier_tracking_number?: string;
18855
+ readonly carrier_tracking_number_url?: string;
18856
+ readonly service?: io.flow.reference.v0.models.CarrierService;
18729
18857
  }
18730
18858
 
18731
18859
  interface LabelTaxonomy {
@@ -20030,11 +20158,27 @@ declare namespace io.flow.internal.v0.models {
20030
20158
  readonly starts_at: string;
20031
20159
  }
20032
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
+
20033
20169
  interface PlatformFeeChangeForm {
20034
20170
  readonly platform_fee: io.flow.internal.v0.unions.PlatformFee;
20035
20171
  readonly starts_at: string;
20036
20172
  }
20037
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
+
20038
20182
  interface PlatformFeeDisabled {
20039
20183
  readonly discriminator: 'platform_fee_disabled';
20040
20184
  readonly attributes?: Record<string, string>;
@@ -22326,6 +22470,10 @@ declare namespace io.flow.internal.v0.unions {
22326
22470
  | io.flow.internal.v0.models.AdyenCaptureUpserted
22327
22471
  | io.flow.internal.v0.models.AdyenRefundDeleted
22328
22472
  | io.flow.internal.v0.models.AdyenRefundUpserted
22473
+ | io.flow.internal.v0.models.AccountUpserted
22474
+ | io.flow.internal.v0.models.AccountDeleted
22475
+ | io.flow.internal.v0.models.AccountContactUpserted
22476
+ | io.flow.internal.v0.models.AccountContactDeleted
22329
22477
  | io.flow.internal.v0.models.BillingStatementUpserted
22330
22478
  | io.flow.internal.v0.models.BillingStatementDeleted
22331
22479
  | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted
@@ -22394,6 +22542,12 @@ declare namespace io.flow.internal.v0.unions {
22394
22542
  | io.flow.internal.v0.models.FeatureDeleted
22395
22543
  | io.flow.internal.v0.models.OrganizationBooleanValueUpserted
22396
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
22397
22551
  | io.flow.internal.v0.models.FraudReviewUpserted
22398
22552
  | io.flow.internal.v0.models.FraudReviewDeleted
22399
22553
  | io.flow.internal.v0.models.FraudPendingReviewUpserted
@@ -22576,6 +22730,7 @@ declare namespace io.flow.internal.v0.unions {
22576
22730
  | io.flow.internal.v0.models.HeapStreamError
22577
22731
  | io.flow.internal.v0.models.HeapSubmitError
22578
22732
  | io.flow.internal.v0.models.HeapWebsocketClose
22733
+ | io.flow.internal.v0.models.HeapWebsocketConnectionLost
22579
22734
  | io.flow.internal.v0.models.HeapWebsocketError
22580
22735
  | io.flow.internal.v0.models.HeapWebsocketGiveUp
22581
22736
  | io.flow.internal.v0.models.HeapWebsocketOpen
@@ -22732,7 +22887,10 @@ declare namespace io.flow.internal.v0.unions {
22732
22887
  export type Acceptance = io.flow.internal.v0.models.Acceptance;
22733
22888
  export type Account = io.flow.internal.v0.models.Account;
22734
22889
  export type AccountContact = io.flow.internal.v0.models.AccountContact;
22890
+ export type AccountContactDeleted = io.flow.internal.v0.models.AccountContactDeleted;
22735
22891
  export type AccountContactForm = io.flow.internal.v0.models.AccountContactForm;
22892
+ export type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUpserted;
22893
+ export type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
22736
22894
  export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
22737
22895
  export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
22738
22896
  export type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
@@ -22741,6 +22899,7 @@ export type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
22741
22899
  export type AccountReference = io.flow.internal.v0.models.AccountReference;
22742
22900
  export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
22743
22901
  export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
22902
+ export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted;
22744
22903
  export type ActionQuantity = io.flow.internal.v0.models.ActionQuantity;
22745
22904
  export type AddressConfigurationProvinceSetting = io.flow.internal.v0.models.AddressConfigurationProvinceSetting;
22746
22905
  export type AddressConfigurationSetting = io.flow.internal.v0.models.AddressConfigurationSetting;
@@ -22790,6 +22949,7 @@ export type AfterpayRefundUpserted = io.flow.internal.v0.models.AfterpayRefundUp
22790
22949
  export type AlertErrorSummary = io.flow.internal.v0.models.AlertErrorSummary;
22791
22950
  export type AlertFailureSummary = io.flow.internal.v0.models.AlertFailureSummary;
22792
22951
  export type AlertFailureSummaryDetail = io.flow.internal.v0.models.AlertFailureSummaryDetail;
22952
+ export type AlertImportSummary = io.flow.internal.v0.models.AlertImportSummary;
22793
22953
  export type AlertRequeueSummary = io.flow.internal.v0.models.AlertRequeueSummary;
22794
22954
  export type AllItemsExport = io.flow.internal.v0.models.AllItemsExport;
22795
22955
  export type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference;
@@ -22819,12 +22979,19 @@ export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAu
22819
22979
  export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
22820
22980
  export type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination;
22821
22981
  export type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary;
22982
+ export type BillingOrganizationProcessingRateForm = io.flow.internal.v0.models.BillingOrganizationProcessingRateForm;
22822
22983
  export type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates;
22984
+ export type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted;
22823
22985
  export type BillingOrganizationProcessingRatesForm = io.flow.internal.v0.models.BillingOrganizationProcessingRatesForm;
22986
+ export type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted;
22824
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;
22825
22990
  export type BillingStatement = io.flow.internal.v0.models.BillingStatement;
22826
22991
  export type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment;
22827
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;
22828
22995
  export type BillingStatementDeleted = io.flow.internal.v0.models.BillingStatementDeleted;
22829
22996
  export type BillingStatementPendingReview = io.flow.internal.v0.models.BillingStatementPendingReview;
22830
22997
  export type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
@@ -22896,6 +23063,8 @@ export type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.models.Cat
22896
23063
  export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
22897
23064
  export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
22898
23065
  export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
23066
+ export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
23067
+ export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
22899
23068
  export type Chargeback = io.flow.internal.v0.models.Chargeback;
22900
23069
  export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted;
22901
23070
  export type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus;
@@ -23727,6 +23896,7 @@ export type HeapStartCheckout = io.flow.internal.v0.models.HeapStartCheckout;
23727
23896
  export type HeapStreamError = io.flow.internal.v0.models.HeapStreamError;
23728
23897
  export type HeapSubmitError = io.flow.internal.v0.models.HeapSubmitError;
23729
23898
  export type HeapWebsocketClose = io.flow.internal.v0.models.HeapWebsocketClose;
23899
+ export type HeapWebsocketConnectionLost = io.flow.internal.v0.models.HeapWebsocketConnectionLost;
23730
23900
  export type HeapWebsocketError = io.flow.internal.v0.models.HeapWebsocketError;
23731
23901
  export type HeapWebsocketGiveUp = io.flow.internal.v0.models.HeapWebsocketGiveUp;
23732
23902
  export type HeapWebsocketOpen = io.flow.internal.v0.models.HeapWebsocketOpen;
@@ -24030,7 +24200,9 @@ export type PhrasePropagated = io.flow.internal.v0.models.PhrasePropagated;
24030
24200
  export type PingRequestForm = io.flow.internal.v0.models.PingRequestForm;
24031
24201
  export type PlatformFee = io.flow.internal.v0.unions.PlatformFee;
24032
24202
  export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange;
24203
+ export type PlatformFeeChangeDeleted = io.flow.internal.v0.models.PlatformFeeChangeDeleted;
24033
24204
  export type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm;
24205
+ export type PlatformFeeChangeUpserted = io.flow.internal.v0.models.PlatformFeeChangeUpserted;
24034
24206
  export type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled;
24035
24207
  export type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat;
24036
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;