@flowio/types 11.19.16 → 11.19.17
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.
- package/dist/api-internal.d.ts +64 -28
- package/dist/api.d.ts +53 -4
- package/package.json +2 -2
- package/src/api-internal.ts +80 -27
- package/src/api.ts +62 -3
package/dist/api-internal.d.ts
CHANGED
|
@@ -201,7 +201,7 @@ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
|
201
201
|
type ReturnSource = io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
|
|
202
202
|
}
|
|
203
203
|
declare namespace io.flow.order.price.v0.enums {
|
|
204
|
-
type OrderPriceDetailComponentKey = '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' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge';
|
|
204
|
+
type OrderPriceDetailComponentKey = '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' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
|
|
205
205
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
206
206
|
}
|
|
207
207
|
declare namespace io.flow.order.price.v0.models {
|
|
@@ -1523,6 +1523,18 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1523
1523
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
1524
1524
|
readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
|
|
1525
1525
|
}
|
|
1526
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
1527
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
1528
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1529
|
+
readonly starts_at?: string;
|
|
1530
|
+
readonly ends_at?: string;
|
|
1531
|
+
}
|
|
1532
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
1533
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
1534
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1535
|
+
readonly starts_at?: string;
|
|
1536
|
+
readonly ends_at?: string;
|
|
1537
|
+
}
|
|
1526
1538
|
interface EmergencySituationSurchargeRatecardFee {
|
|
1527
1539
|
readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
|
|
1528
1540
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -1783,8 +1795,8 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1783
1795
|
declare namespace io.flow.ratecard.v0.unions {
|
|
1784
1796
|
type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
|
|
1785
1797
|
type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
1786
|
-
type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee;
|
|
1787
|
-
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee;
|
|
1798
|
+
type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
1799
|
+
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
1788
1800
|
}
|
|
1789
1801
|
declare namespace io.flow.error.v0.enums {
|
|
1790
1802
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
@@ -7085,6 +7097,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7085
7097
|
readonly reference?: string;
|
|
7086
7098
|
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
7087
7099
|
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7100
|
+
readonly capture_delay_hours?: number;
|
|
7088
7101
|
}
|
|
7089
7102
|
interface PaymentRequestForm {
|
|
7090
7103
|
readonly amount: number;
|
|
@@ -7097,6 +7110,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7097
7110
|
readonly reference?: string;
|
|
7098
7111
|
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
7099
7112
|
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7113
|
+
readonly capture_delay_hours?: number;
|
|
7100
7114
|
}
|
|
7101
7115
|
interface PaymentRequestReference {
|
|
7102
7116
|
readonly id: string;
|
|
@@ -7310,9 +7324,9 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
7310
7324
|
readonly publishable_key: string;
|
|
7311
7325
|
}
|
|
7312
7326
|
interface ErrorResponse {
|
|
7313
|
-
readonly type
|
|
7314
|
-
readonly code
|
|
7315
|
-
readonly param
|
|
7327
|
+
readonly type?: io.flow.crypto.v0.enums.ErrorType;
|
|
7328
|
+
readonly code?: string;
|
|
7329
|
+
readonly param?: string;
|
|
7316
7330
|
}
|
|
7317
7331
|
interface Payment {
|
|
7318
7332
|
readonly id: string;
|
|
@@ -8248,7 +8262,7 @@ declare namespace io.flow.shopify.v0.unions {
|
|
|
8248
8262
|
}
|
|
8249
8263
|
declare namespace io.flow.fulfillment.v0.enums {
|
|
8250
8264
|
type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
|
|
8251
|
-
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
8265
|
+
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'ratecard_duties_taxes_paid_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
8252
8266
|
type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
|
|
8253
8267
|
type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
|
|
8254
8268
|
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
@@ -9206,7 +9220,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9206
9220
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
9207
9221
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
9208
9222
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
9209
|
-
type BillingStatementBatchFileKey = 'archive' | 'fx_transactions' | 'summary';
|
|
9223
|
+
type BillingStatementBatchFileKey = 'archive' | 'fx_transactions' | 'summary' | 'label_transactions';
|
|
9210
9224
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
9211
9225
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
9212
9226
|
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
@@ -9303,7 +9317,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9303
9317
|
type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
|
|
9304
9318
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
9305
9319
|
type EmptyAttribute = 'irrelevant';
|
|
9306
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'account_upserted' | 'account_deleted' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'flow_currency_setting_upserted' | 'flow_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
9320
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_deleted' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'flow_currency_setting_upserted' | 'flow_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
9307
9321
|
type ExperienceImportType = 'experience_with_settings';
|
|
9308
9322
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
9309
9323
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -9455,6 +9469,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9455
9469
|
readonly target: number;
|
|
9456
9470
|
readonly rate: number;
|
|
9457
9471
|
}
|
|
9472
|
+
interface AccountForm {
|
|
9473
|
+
readonly timezone: string;
|
|
9474
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9475
|
+
readonly payment_conditions?: string;
|
|
9476
|
+
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
9477
|
+
readonly center_key?: string;
|
|
9478
|
+
}
|
|
9458
9479
|
interface AccountOrdersExportRequest {
|
|
9459
9480
|
readonly discriminator: 'account_orders_export_request';
|
|
9460
9481
|
readonly event_id: string;
|
|
@@ -9478,20 +9499,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9478
9499
|
readonly transaction_created_on_or_before?: string;
|
|
9479
9500
|
readonly transaction_created_before?: string;
|
|
9480
9501
|
}
|
|
9481
|
-
interface AccountPostForm {
|
|
9482
|
-
readonly timezone: string;
|
|
9483
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9484
|
-
readonly payment_conditions?: string;
|
|
9485
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
9486
|
-
readonly center_key?: string;
|
|
9487
|
-
}
|
|
9488
|
-
interface AccountPutForm {
|
|
9489
|
-
readonly timezone: string;
|
|
9490
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9491
|
-
readonly payment_conditions?: string;
|
|
9492
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
9493
|
-
readonly center_key?: string;
|
|
9494
|
-
}
|
|
9495
9502
|
interface AccountReference {
|
|
9496
9503
|
readonly id: string;
|
|
9497
9504
|
readonly currency: string;
|
|
@@ -9967,6 +9974,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9967
9974
|
readonly organization: string;
|
|
9968
9975
|
readonly bank_payment: io.flow.internal.v0.models.BankPayment;
|
|
9969
9976
|
}
|
|
9977
|
+
interface BillableLabel {
|
|
9978
|
+
readonly id: string;
|
|
9979
|
+
readonly tracking_label: io.flow.internal.v0.models.TrackingLabelReference;
|
|
9980
|
+
readonly order_number?: string;
|
|
9981
|
+
readonly cost: io.flow.common.v0.models.Money;
|
|
9982
|
+
}
|
|
9983
|
+
interface BillableLabelDeleted {
|
|
9984
|
+
readonly discriminator: 'billable_label_deleted';
|
|
9985
|
+
readonly event_id: string;
|
|
9986
|
+
readonly timestamp: string;
|
|
9987
|
+
readonly organization: string;
|
|
9988
|
+
readonly id: string;
|
|
9989
|
+
}
|
|
9990
|
+
interface BillableLabelUpserted {
|
|
9991
|
+
readonly discriminator: 'billable_label_upserted';
|
|
9992
|
+
readonly event_id: string;
|
|
9993
|
+
readonly timestamp: string;
|
|
9994
|
+
readonly organization: string;
|
|
9995
|
+
readonly billable_label: io.flow.internal.v0.models.BillableLabel;
|
|
9996
|
+
}
|
|
9970
9997
|
interface BillingAuthorizationReference {
|
|
9971
9998
|
readonly id: string;
|
|
9972
9999
|
}
|
|
@@ -12088,10 +12115,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12088
12115
|
interface Classification {
|
|
12089
12116
|
readonly discriminator: 'classification';
|
|
12090
12117
|
readonly product_id: string;
|
|
12091
|
-
readonly description
|
|
12118
|
+
readonly description?: string;
|
|
12092
12119
|
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
12093
|
-
readonly images:
|
|
12120
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
12094
12121
|
readonly categories: string[];
|
|
12122
|
+
readonly model_id?: string;
|
|
12095
12123
|
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
12096
12124
|
readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
12097
12125
|
readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
|
|
@@ -13078,6 +13106,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13078
13106
|
interface Fees {
|
|
13079
13107
|
readonly processing: io.flow.internal.v0.models.Fee;
|
|
13080
13108
|
readonly rate_lock: io.flow.internal.v0.models.Fee;
|
|
13109
|
+
readonly fx_conversion?: io.flow.internal.v0.models.Fee;
|
|
13081
13110
|
}
|
|
13082
13111
|
interface FiservAccount {
|
|
13083
13112
|
readonly discriminator: 'fiserv_account';
|
|
@@ -15796,6 +15825,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15796
15825
|
readonly primary_identifier?: string;
|
|
15797
15826
|
readonly payment_method: string;
|
|
15798
15827
|
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
15828
|
+
readonly original_base_at_spot_rate?: io.flow.common.v0.models.Price;
|
|
15799
15829
|
readonly fees: io.flow.internal.v0.models.Fees;
|
|
15800
15830
|
readonly components?: io.flow.internal.v0.models.Components;
|
|
15801
15831
|
readonly withholdings: io.flow.internal.v0.models.Components;
|
|
@@ -17148,6 +17178,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17148
17178
|
readonly organization: string;
|
|
17149
17179
|
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
17150
17180
|
}
|
|
17181
|
+
interface TrackingLabelReference {
|
|
17182
|
+
readonly id: string;
|
|
17183
|
+
}
|
|
17151
17184
|
interface TrackingLabelUpserted {
|
|
17152
17185
|
readonly discriminator: 'tracking_label_upserted';
|
|
17153
17186
|
readonly event_id: string;
|
|
@@ -17468,7 +17501,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17468
17501
|
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;
|
|
17469
17502
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
17470
17503
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
17471
|
-
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountDeleted | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.FlowCurrencySettingUpserted | io.flow.internal.v0.models.FlowCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
17504
|
+
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountDeleted | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.FlowCurrencySettingUpserted | io.flow.internal.v0.models.FlowCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
17472
17505
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
17473
17506
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
17474
17507
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -17529,9 +17562,8 @@ export declare type AccountContactUpserted = io.flow.internal.v0.models.AccountC
|
|
|
17529
17562
|
export declare type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
|
|
17530
17563
|
export declare type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
17531
17564
|
export declare type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
17565
|
+
export declare type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
17532
17566
|
export declare type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
17533
|
-
export declare type AccountPostForm = io.flow.internal.v0.models.AccountPostForm;
|
|
17534
|
-
export declare type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
|
|
17535
17567
|
export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
17536
17568
|
export declare type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
17537
17569
|
export declare type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
@@ -17609,6 +17641,9 @@ export declare type BankPayment = io.flow.internal.v0.models.BankPayment;
|
|
|
17609
17641
|
export declare type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
|
|
17610
17642
|
export declare type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
|
|
17611
17643
|
export declare type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
|
|
17644
|
+
export declare type BillableLabel = io.flow.internal.v0.models.BillableLabel;
|
|
17645
|
+
export declare type BillableLabelDeleted = io.flow.internal.v0.models.BillableLabelDeleted;
|
|
17646
|
+
export declare type BillableLabelUpserted = io.flow.internal.v0.models.BillableLabelUpserted;
|
|
17612
17647
|
export declare type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey;
|
|
17613
17648
|
export declare type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference;
|
|
17614
17649
|
export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
@@ -19126,6 +19161,7 @@ export declare type TrackingIntegrationType = io.flow.internal.v0.enums.Tracking
|
|
|
19126
19161
|
export declare type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted;
|
|
19127
19162
|
export declare type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2;
|
|
19128
19163
|
export declare type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2;
|
|
19164
|
+
export declare type TrackingLabelReference = io.flow.internal.v0.models.TrackingLabelReference;
|
|
19129
19165
|
export declare type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted;
|
|
19130
19166
|
export declare type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
|
|
19131
19167
|
export declare type TrackingRequestUpserted = io.flow.internal.v0.models.TrackingRequestUpserted;
|
package/dist/api.d.ts
CHANGED
|
@@ -1638,6 +1638,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
1638
1638
|
}
|
|
1639
1639
|
}
|
|
1640
1640
|
declare namespace io.flow.v0.enums {
|
|
1641
|
+
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
1641
1642
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
1642
1643
|
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
|
|
1643
1644
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
@@ -1675,7 +1676,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1675
1676
|
type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
1676
1677
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
1677
1678
|
type DeliveredDutyDisplayType = 'all' | 'single';
|
|
1678
|
-
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
1679
|
+
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'ratecard_duties_taxes_paid_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
1679
1680
|
type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
|
|
1680
1681
|
type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
|
|
1681
1682
|
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
@@ -1736,7 +1737,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1736
1737
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
1737
1738
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
1738
1739
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
1739
|
-
type OrderPriceDetailComponentKey = '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' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge';
|
|
1740
|
+
type OrderPriceDetailComponentKey = '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' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
|
|
1740
1741
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
1741
1742
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
1742
1743
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
@@ -1822,6 +1823,25 @@ declare namespace io.flow.v0.models {
|
|
|
1822
1823
|
readonly delay: io.flow.v0.models.Duration;
|
|
1823
1824
|
readonly frequency: io.flow.v0.models.Duration;
|
|
1824
1825
|
}
|
|
1826
|
+
interface AbandonedOrderPromotion {
|
|
1827
|
+
readonly id: string;
|
|
1828
|
+
readonly name: string;
|
|
1829
|
+
readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
1830
|
+
readonly status: io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
1831
|
+
readonly starts_at?: string;
|
|
1832
|
+
readonly ends_at?: string;
|
|
1833
|
+
}
|
|
1834
|
+
interface AbandonedOrderPromotionDiscountDetails {
|
|
1835
|
+
readonly discriminator: 'abandoned_order_promotion_discount_details';
|
|
1836
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
1837
|
+
}
|
|
1838
|
+
interface AbandonedOrderPromotionForm {
|
|
1839
|
+
readonly name: string;
|
|
1840
|
+
readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
1841
|
+
readonly status?: io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
1842
|
+
readonly starts_at?: string;
|
|
1843
|
+
readonly ends_at?: string;
|
|
1844
|
+
}
|
|
1825
1845
|
interface AbandonedOrderSettings {
|
|
1826
1846
|
readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
1827
1847
|
readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
@@ -3782,6 +3802,18 @@ declare namespace io.flow.v0.models {
|
|
|
3782
3802
|
readonly unit: io.flow.v0.enums.UnitOfTime;
|
|
3783
3803
|
readonly value: number;
|
|
3784
3804
|
}
|
|
3805
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
3806
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
3807
|
+
readonly amount: io.flow.v0.models.Money;
|
|
3808
|
+
readonly starts_at?: string;
|
|
3809
|
+
readonly ends_at?: string;
|
|
3810
|
+
}
|
|
3811
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
3812
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
3813
|
+
readonly amount: io.flow.v0.models.Money;
|
|
3814
|
+
readonly starts_at?: string;
|
|
3815
|
+
readonly ends_at?: string;
|
|
3816
|
+
}
|
|
3785
3817
|
interface Duty {
|
|
3786
3818
|
readonly rate: number;
|
|
3787
3819
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
@@ -3848,6 +3880,11 @@ declare namespace io.flow.v0.models {
|
|
|
3848
3880
|
readonly organization: string;
|
|
3849
3881
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
3850
3882
|
}
|
|
3883
|
+
interface EmailAbandonedOrderPromotion {
|
|
3884
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
3885
|
+
readonly short_label?: string;
|
|
3886
|
+
readonly long_label?: string;
|
|
3887
|
+
}
|
|
3851
3888
|
interface EmailAbandonedOrderUrls {
|
|
3852
3889
|
readonly checkout: string;
|
|
3853
3890
|
}
|
|
@@ -3861,6 +3898,7 @@ declare namespace io.flow.v0.models {
|
|
|
3861
3898
|
readonly discriminator: 'abandoned_order';
|
|
3862
3899
|
readonly order: io.flow.v0.models.OrderSummary;
|
|
3863
3900
|
readonly urls: io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
3901
|
+
readonly promotions?: io.flow.v0.models.EmailAbandonedOrderPromotion[];
|
|
3864
3902
|
}
|
|
3865
3903
|
interface EmailNotificationDataRefund {
|
|
3866
3904
|
readonly discriminator: 'refund';
|
|
@@ -6697,6 +6735,7 @@ declare namespace io.flow.v0.models {
|
|
|
6697
6735
|
readonly reference?: string;
|
|
6698
6736
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
6699
6737
|
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
6738
|
+
readonly capture_delay_hours?: number;
|
|
6700
6739
|
}
|
|
6701
6740
|
interface PaymentRequestForm {
|
|
6702
6741
|
readonly amount: number;
|
|
@@ -6709,6 +6748,7 @@ declare namespace io.flow.v0.models {
|
|
|
6709
6748
|
readonly reference?: string;
|
|
6710
6749
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
6711
6750
|
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
6751
|
+
readonly capture_delay_hours?: number;
|
|
6712
6752
|
}
|
|
6713
6753
|
interface PaymentRequestReference {
|
|
6714
6754
|
readonly id: string;
|
|
@@ -9098,6 +9138,7 @@ declare namespace io.flow.v0.models {
|
|
|
9098
9138
|
}
|
|
9099
9139
|
}
|
|
9100
9140
|
declare namespace io.flow.v0.unions {
|
|
9141
|
+
type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
9101
9142
|
type Action = io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.ActionExecuteScript | io.flow.v0.models.ActionDisplayInlineWindow | io.flow.v0.models.ActionWait;
|
|
9102
9143
|
type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
|
|
9103
9144
|
type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
|
|
@@ -9171,12 +9212,12 @@ declare namespace io.flow.v0.unions {
|
|
|
9171
9212
|
type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
9172
9213
|
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2;
|
|
9173
9214
|
type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateFormV1 | io.flow.v0.models.RatecardEstimateFormV2;
|
|
9174
|
-
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee;
|
|
9215
|
+
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee | io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
9175
9216
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
9176
9217
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
9177
9218
|
type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
|
|
9178
9219
|
type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
|
|
9179
|
-
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
9220
|
+
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
9180
9221
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
9181
9222
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
9182
9223
|
type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
|
|
@@ -9192,6 +9233,11 @@ declare namespace io.flow.v0.unions {
|
|
|
9192
9233
|
type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.PartnerTokenReference;
|
|
9193
9234
|
}
|
|
9194
9235
|
export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
9236
|
+
export declare type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
|
|
9237
|
+
export declare type AbandonedOrderPromotionDetails = io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
9238
|
+
export declare type AbandonedOrderPromotionDiscountDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
9239
|
+
export declare type AbandonedOrderPromotionForm = io.flow.v0.models.AbandonedOrderPromotionForm;
|
|
9240
|
+
export declare type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
9195
9241
|
export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
9196
9242
|
export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
9197
9243
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
@@ -9567,6 +9613,8 @@ export declare type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
|
9567
9613
|
export declare type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
9568
9614
|
export declare type Document = io.flow.v0.unions.Document;
|
|
9569
9615
|
export declare type Duration = io.flow.v0.models.Duration;
|
|
9616
|
+
export declare type DutiesTaxesPaidSurchargeRatecardFee = io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
9617
|
+
export declare type DutiesTaxesPaidSurchargeServiceFee = io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
9570
9618
|
export declare type Duty = io.flow.v0.models.Duty;
|
|
9571
9619
|
export declare type DutyItem = io.flow.v0.models.DutyItem;
|
|
9572
9620
|
export declare type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
|
|
@@ -9580,6 +9628,7 @@ export declare type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformF
|
|
|
9580
9628
|
export declare type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
9581
9629
|
export declare type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
9582
9630
|
export declare type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
9631
|
+
export declare type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
9583
9632
|
export declare type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
9584
9633
|
export declare type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
9585
9634
|
export declare type EmailNotificationAbandonedOrder = io.flow.v0.models.EmailNotificationAbandonedOrder;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.17",
|
|
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": "
|
|
28
|
+
"gitHead": "2aef7d5660ae0411eb9af1974e7b98644da28536"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -286,7 +286,8 @@ declare namespace io.flow.order.price.v0.enums {
|
|
|
286
286
|
| 'remote_area_surcharge'
|
|
287
287
|
| 'fuel_surcharge'
|
|
288
288
|
| 'emergency_situation_surcharge'
|
|
289
|
-
| 'peak_surcharge'
|
|
289
|
+
| 'peak_surcharge'
|
|
290
|
+
| 'duties_taxes_paid_surcharge';
|
|
290
291
|
type OrderPriceDetailKey =
|
|
291
292
|
| 'adjustment'
|
|
292
293
|
| 'subtotal'
|
|
@@ -1953,6 +1954,20 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1953
1954
|
readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
|
|
1954
1955
|
}
|
|
1955
1956
|
|
|
1957
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
1958
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
1959
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1960
|
+
readonly starts_at?: string;
|
|
1961
|
+
readonly ends_at?: string;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
1965
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
1966
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1967
|
+
readonly starts_at?: string;
|
|
1968
|
+
readonly ends_at?: string;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1956
1971
|
interface EmergencySituationSurchargeRatecardFee {
|
|
1957
1972
|
readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
|
|
1958
1973
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -2262,13 +2277,15 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
2262
2277
|
| io.flow.ratecard.v0.models.CrossdockRatecardFee
|
|
2263
2278
|
| io.flow.ratecard.v0.models.RemoteAreaRatecardFee
|
|
2264
2279
|
| io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
|
|
2265
|
-
| io.flow.ratecard.v0.models.PeakSurchargeRatecardFee
|
|
2280
|
+
| io.flow.ratecard.v0.models.PeakSurchargeRatecardFee
|
|
2281
|
+
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
2266
2282
|
type ServiceFee =
|
|
2267
2283
|
| io.flow.ratecard.v0.models.FuelSurchargeServiceFee
|
|
2268
2284
|
| io.flow.ratecard.v0.models.RemoteAreaServiceFee
|
|
2269
2285
|
| io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
|
|
2270
2286
|
| io.flow.ratecard.v0.models.PeakSurchargeServiceFee
|
|
2271
|
-
| io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
|
|
2287
|
+
| io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
|
|
2288
|
+
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
2272
2289
|
}
|
|
2273
2290
|
|
|
2274
2291
|
declare namespace io.flow.error.v0.enums {
|
|
@@ -9288,6 +9305,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9288
9305
|
readonly reference?: string;
|
|
9289
9306
|
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
9290
9307
|
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9308
|
+
readonly capture_delay_hours?: number;
|
|
9291
9309
|
}
|
|
9292
9310
|
|
|
9293
9311
|
interface PaymentRequestForm {
|
|
@@ -9301,6 +9319,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9301
9319
|
readonly reference?: string;
|
|
9302
9320
|
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
9303
9321
|
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9322
|
+
readonly capture_delay_hours?: number;
|
|
9304
9323
|
}
|
|
9305
9324
|
|
|
9306
9325
|
interface PaymentRequestReference {
|
|
@@ -9604,9 +9623,9 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
9604
9623
|
}
|
|
9605
9624
|
|
|
9606
9625
|
interface ErrorResponse {
|
|
9607
|
-
readonly type
|
|
9608
|
-
readonly code
|
|
9609
|
-
readonly param
|
|
9626
|
+
readonly type?: io.flow.crypto.v0.enums.ErrorType;
|
|
9627
|
+
readonly code?: string;
|
|
9628
|
+
readonly param?: string;
|
|
9610
9629
|
}
|
|
9611
9630
|
|
|
9612
9631
|
interface Payment {
|
|
@@ -10792,6 +10811,7 @@ declare namespace io.flow.fulfillment.v0.enums {
|
|
|
10792
10811
|
| 'ratecard_rural_shipment_fee'
|
|
10793
10812
|
| 'ratecard_emergency_situation_surcharge_fee'
|
|
10794
10813
|
| 'ratecard_peak_surcharge_fee'
|
|
10814
|
+
| 'ratecard_duties_taxes_paid_surcharge_fee'
|
|
10795
10815
|
| 'center_commercial_invoice_fee'
|
|
10796
10816
|
| 'center_inbound_carton_fee'
|
|
10797
10817
|
| 'center_outbound_carton_fee';
|
|
@@ -12010,7 +12030,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12010
12030
|
| 'manual'
|
|
12011
12031
|
| 'orders'
|
|
12012
12032
|
| 'all';
|
|
12013
|
-
type BillingStatementBatchFileKey =
|
|
12033
|
+
type BillingStatementBatchFileKey =
|
|
12034
|
+
| 'archive'
|
|
12035
|
+
| 'fx_transactions'
|
|
12036
|
+
| 'summary'
|
|
12037
|
+
| 'label_transactions';
|
|
12014
12038
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
12015
12039
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
12016
12040
|
type BillingTransactionType =
|
|
@@ -12364,6 +12388,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12364
12388
|
| 'adyen_capture_upserted'
|
|
12365
12389
|
| 'adyen_refund_deleted'
|
|
12366
12390
|
| 'adyen_refund_upserted'
|
|
12391
|
+
| 'billable_label_upserted'
|
|
12392
|
+
| 'billable_label_deleted'
|
|
12367
12393
|
| 'account_upserted'
|
|
12368
12394
|
| 'account_deleted'
|
|
12369
12395
|
| 'account_contact_upserted'
|
|
@@ -12869,6 +12895,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12869
12895
|
readonly rate: number;
|
|
12870
12896
|
}
|
|
12871
12897
|
|
|
12898
|
+
interface AccountForm {
|
|
12899
|
+
readonly timezone: string;
|
|
12900
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12901
|
+
readonly payment_conditions?: string;
|
|
12902
|
+
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
12903
|
+
readonly center_key?: string;
|
|
12904
|
+
}
|
|
12905
|
+
|
|
12872
12906
|
interface AccountOrdersExportRequest {
|
|
12873
12907
|
readonly discriminator: 'account_orders_export_request';
|
|
12874
12908
|
readonly event_id: string;
|
|
@@ -12893,22 +12927,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12893
12927
|
readonly transaction_created_before?: string;
|
|
12894
12928
|
}
|
|
12895
12929
|
|
|
12896
|
-
interface AccountPostForm {
|
|
12897
|
-
readonly timezone: string;
|
|
12898
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12899
|
-
readonly payment_conditions?: string;
|
|
12900
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
12901
|
-
readonly center_key?: string;
|
|
12902
|
-
}
|
|
12903
|
-
|
|
12904
|
-
interface AccountPutForm {
|
|
12905
|
-
readonly timezone: string;
|
|
12906
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12907
|
-
readonly payment_conditions?: string;
|
|
12908
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
12909
|
-
readonly center_key?: string;
|
|
12910
|
-
}
|
|
12911
|
-
|
|
12912
12930
|
interface AccountReference {
|
|
12913
12931
|
readonly id: string;
|
|
12914
12932
|
readonly currency: string;
|
|
@@ -13457,6 +13475,29 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13457
13475
|
readonly bank_payment: io.flow.internal.v0.models.BankPayment;
|
|
13458
13476
|
}
|
|
13459
13477
|
|
|
13478
|
+
interface BillableLabel {
|
|
13479
|
+
readonly id: string;
|
|
13480
|
+
readonly tracking_label: io.flow.internal.v0.models.TrackingLabelReference;
|
|
13481
|
+
readonly order_number?: string;
|
|
13482
|
+
readonly cost: io.flow.common.v0.models.Money;
|
|
13483
|
+
}
|
|
13484
|
+
|
|
13485
|
+
interface BillableLabelDeleted {
|
|
13486
|
+
readonly discriminator: 'billable_label_deleted';
|
|
13487
|
+
readonly event_id: string;
|
|
13488
|
+
readonly timestamp: string;
|
|
13489
|
+
readonly organization: string;
|
|
13490
|
+
readonly id: string;
|
|
13491
|
+
}
|
|
13492
|
+
|
|
13493
|
+
interface BillableLabelUpserted {
|
|
13494
|
+
readonly discriminator: 'billable_label_upserted';
|
|
13495
|
+
readonly event_id: string;
|
|
13496
|
+
readonly timestamp: string;
|
|
13497
|
+
readonly organization: string;
|
|
13498
|
+
readonly billable_label: io.flow.internal.v0.models.BillableLabel;
|
|
13499
|
+
}
|
|
13500
|
+
|
|
13460
13501
|
interface BillingAuthorizationReference {
|
|
13461
13502
|
readonly id: string;
|
|
13462
13503
|
}
|
|
@@ -16028,10 +16069,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16028
16069
|
interface Classification {
|
|
16029
16070
|
readonly discriminator: 'classification';
|
|
16030
16071
|
readonly product_id: string;
|
|
16031
|
-
readonly description
|
|
16072
|
+
readonly description?: string;
|
|
16032
16073
|
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
16033
|
-
readonly images:
|
|
16074
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
16034
16075
|
readonly categories: string[];
|
|
16076
|
+
readonly model_id?: string;
|
|
16035
16077
|
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
16036
16078
|
readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
16037
16079
|
readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
|
|
@@ -17187,6 +17229,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17187
17229
|
interface Fees {
|
|
17188
17230
|
readonly processing: io.flow.internal.v0.models.Fee;
|
|
17189
17231
|
readonly rate_lock: io.flow.internal.v0.models.Fee;
|
|
17232
|
+
readonly fx_conversion?: io.flow.internal.v0.models.Fee;
|
|
17190
17233
|
}
|
|
17191
17234
|
|
|
17192
17235
|
interface FiservAccount {
|
|
@@ -20292,6 +20335,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20292
20335
|
readonly primary_identifier?: string;
|
|
20293
20336
|
readonly payment_method: string;
|
|
20294
20337
|
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
20338
|
+
readonly original_base_at_spot_rate?: io.flow.common.v0.models.Price;
|
|
20295
20339
|
readonly fees: io.flow.internal.v0.models.Fees;
|
|
20296
20340
|
readonly components?: io.flow.internal.v0.models.Components;
|
|
20297
20341
|
readonly withholdings: io.flow.internal.v0.models.Components;
|
|
@@ -21859,6 +21903,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21859
21903
|
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
21860
21904
|
}
|
|
21861
21905
|
|
|
21906
|
+
interface TrackingLabelReference {
|
|
21907
|
+
readonly id: string;
|
|
21908
|
+
}
|
|
21909
|
+
|
|
21862
21910
|
interface TrackingLabelUpserted {
|
|
21863
21911
|
readonly discriminator: 'tracking_label_upserted';
|
|
21864
21912
|
readonly event_id: string;
|
|
@@ -22486,6 +22534,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22486
22534
|
| io.flow.internal.v0.models.AdyenCaptureUpserted
|
|
22487
22535
|
| io.flow.internal.v0.models.AdyenRefundDeleted
|
|
22488
22536
|
| io.flow.internal.v0.models.AdyenRefundUpserted
|
|
22537
|
+
| io.flow.internal.v0.models.BillableLabelUpserted
|
|
22538
|
+
| io.flow.internal.v0.models.BillableLabelDeleted
|
|
22489
22539
|
| io.flow.internal.v0.models.AccountUpserted
|
|
22490
22540
|
| io.flow.internal.v0.models.AccountDeleted
|
|
22491
22541
|
| io.flow.internal.v0.models.AccountContactUpserted
|
|
@@ -22911,9 +22961,8 @@ export type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUp
|
|
|
22911
22961
|
export type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
|
|
22912
22962
|
export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
22913
22963
|
export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
22964
|
+
export type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
22914
22965
|
export type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
22915
|
-
export type AccountPostForm = io.flow.internal.v0.models.AccountPostForm;
|
|
22916
|
-
export type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
|
|
22917
22966
|
export type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
22918
22967
|
export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
22919
22968
|
export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
@@ -22991,6 +23040,9 @@ export type BankPayment = io.flow.internal.v0.models.BankPayment;
|
|
|
22991
23040
|
export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
|
|
22992
23041
|
export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
|
|
22993
23042
|
export type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
|
|
23043
|
+
export type BillableLabel = io.flow.internal.v0.models.BillableLabel;
|
|
23044
|
+
export type BillableLabelDeleted = io.flow.internal.v0.models.BillableLabelDeleted;
|
|
23045
|
+
export type BillableLabelUpserted = io.flow.internal.v0.models.BillableLabelUpserted;
|
|
22994
23046
|
export type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey;
|
|
22995
23047
|
export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference;
|
|
22996
23048
|
export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
@@ -24508,6 +24560,7 @@ export type TrackingIntegrationType = io.flow.internal.v0.enums.TrackingIntegrat
|
|
|
24508
24560
|
export type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted;
|
|
24509
24561
|
export type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2;
|
|
24510
24562
|
export type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2;
|
|
24563
|
+
export type TrackingLabelReference = io.flow.internal.v0.models.TrackingLabelReference;
|
|
24511
24564
|
export type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted;
|
|
24512
24565
|
export type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
|
|
24513
24566
|
export type TrackingRequestUpserted = io.flow.internal.v0.models.TrackingRequestUpserted;
|
package/src/api.ts
CHANGED
|
@@ -2085,6 +2085,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
|
|
2087
2087
|
declare namespace io.flow.v0.enums {
|
|
2088
|
+
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
2088
2089
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
2089
2090
|
type AddressFieldName =
|
|
2090
2091
|
| 'first_name'
|
|
@@ -2248,6 +2249,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2248
2249
|
| 'ratecard_rural_shipment_fee'
|
|
2249
2250
|
| 'ratecard_emergency_situation_surcharge_fee'
|
|
2250
2251
|
| 'ratecard_peak_surcharge_fee'
|
|
2252
|
+
| 'ratecard_duties_taxes_paid_surcharge_fee'
|
|
2251
2253
|
| 'center_commercial_invoice_fee'
|
|
2252
2254
|
| 'center_inbound_carton_fee'
|
|
2253
2255
|
| 'center_outbound_carton_fee';
|
|
@@ -2601,7 +2603,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2601
2603
|
| 'remote_area_surcharge'
|
|
2602
2604
|
| 'fuel_surcharge'
|
|
2603
2605
|
| 'emergency_situation_surcharge'
|
|
2604
|
-
| 'peak_surcharge'
|
|
2606
|
+
| 'peak_surcharge'
|
|
2607
|
+
| 'duties_taxes_paid_surcharge';
|
|
2605
2608
|
type OrderPriceDetailKey =
|
|
2606
2609
|
| 'adjustment'
|
|
2607
2610
|
| 'subtotal'
|
|
@@ -2864,6 +2867,28 @@ declare namespace io.flow.v0.models {
|
|
|
2864
2867
|
readonly frequency: io.flow.v0.models.Duration;
|
|
2865
2868
|
}
|
|
2866
2869
|
|
|
2870
|
+
interface AbandonedOrderPromotion {
|
|
2871
|
+
readonly id: string;
|
|
2872
|
+
readonly name: string;
|
|
2873
|
+
readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
2874
|
+
readonly status: io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
2875
|
+
readonly starts_at?: string;
|
|
2876
|
+
readonly ends_at?: string;
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
interface AbandonedOrderPromotionDiscountDetails {
|
|
2880
|
+
readonly discriminator: 'abandoned_order_promotion_discount_details';
|
|
2881
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
interface AbandonedOrderPromotionForm {
|
|
2885
|
+
readonly name: string;
|
|
2886
|
+
readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
2887
|
+
readonly status?: io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
2888
|
+
readonly starts_at?: string;
|
|
2889
|
+
readonly ends_at?: string;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2867
2892
|
interface AbandonedOrderSettings {
|
|
2868
2893
|
readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
2869
2894
|
readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
@@ -5130,6 +5155,20 @@ declare namespace io.flow.v0.models {
|
|
|
5130
5155
|
readonly value: number;
|
|
5131
5156
|
}
|
|
5132
5157
|
|
|
5158
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
5159
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
5160
|
+
readonly amount: io.flow.v0.models.Money;
|
|
5161
|
+
readonly starts_at?: string;
|
|
5162
|
+
readonly ends_at?: string;
|
|
5163
|
+
}
|
|
5164
|
+
|
|
5165
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
5166
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
5167
|
+
readonly amount: io.flow.v0.models.Money;
|
|
5168
|
+
readonly starts_at?: string;
|
|
5169
|
+
readonly ends_at?: string;
|
|
5170
|
+
}
|
|
5171
|
+
|
|
5133
5172
|
interface Duty {
|
|
5134
5173
|
readonly rate: number;
|
|
5135
5174
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
@@ -5206,6 +5245,12 @@ declare namespace io.flow.v0.models {
|
|
|
5206
5245
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
5207
5246
|
}
|
|
5208
5247
|
|
|
5248
|
+
interface EmailAbandonedOrderPromotion {
|
|
5249
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
5250
|
+
readonly short_label?: string;
|
|
5251
|
+
readonly long_label?: string;
|
|
5252
|
+
}
|
|
5253
|
+
|
|
5209
5254
|
interface EmailAbandonedOrderUrls {
|
|
5210
5255
|
readonly checkout: string;
|
|
5211
5256
|
}
|
|
@@ -5221,6 +5266,7 @@ declare namespace io.flow.v0.models {
|
|
|
5221
5266
|
readonly discriminator: 'abandoned_order';
|
|
5222
5267
|
readonly order: io.flow.v0.models.OrderSummary;
|
|
5223
5268
|
readonly urls: io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
5269
|
+
readonly promotions?: io.flow.v0.models.EmailAbandonedOrderPromotion[];
|
|
5224
5270
|
}
|
|
5225
5271
|
|
|
5226
5272
|
interface EmailNotificationDataRefund {
|
|
@@ -8528,6 +8574,7 @@ declare namespace io.flow.v0.models {
|
|
|
8528
8574
|
readonly reference?: string;
|
|
8529
8575
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
8530
8576
|
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
8577
|
+
readonly capture_delay_hours?: number;
|
|
8531
8578
|
}
|
|
8532
8579
|
|
|
8533
8580
|
interface PaymentRequestForm {
|
|
@@ -8541,6 +8588,7 @@ declare namespace io.flow.v0.models {
|
|
|
8541
8588
|
readonly reference?: string;
|
|
8542
8589
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
8543
8590
|
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
8591
|
+
readonly capture_delay_hours?: number;
|
|
8544
8592
|
}
|
|
8545
8593
|
|
|
8546
8594
|
interface PaymentRequestReference {
|
|
@@ -11315,6 +11363,7 @@ declare namespace io.flow.v0.models {
|
|
|
11315
11363
|
}
|
|
11316
11364
|
|
|
11317
11365
|
declare namespace io.flow.v0.unions {
|
|
11366
|
+
type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
11318
11367
|
type Action =
|
|
11319
11368
|
| io.flow.v0.models.ActionRedirect
|
|
11320
11369
|
| io.flow.v0.models.ActionUseSdkKlarnaV1
|
|
@@ -11737,7 +11786,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11737
11786
|
| io.flow.v0.models.CrossdockRatecardFee
|
|
11738
11787
|
| io.flow.v0.models.RemoteAreaRatecardFee
|
|
11739
11788
|
| io.flow.v0.models.EmergencySituationSurchargeRatecardFee
|
|
11740
|
-
| io.flow.v0.models.PeakSurchargeRatecardFee
|
|
11789
|
+
| io.flow.v0.models.PeakSurchargeRatecardFee
|
|
11790
|
+
| io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
11741
11791
|
type RepeatSchedule =
|
|
11742
11792
|
| io.flow.v0.models.RepeatHourly
|
|
11743
11793
|
| io.flow.v0.models.RepeatDaily
|
|
@@ -11758,7 +11808,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11758
11808
|
| io.flow.v0.models.RemoteAreaServiceFee
|
|
11759
11809
|
| io.flow.v0.models.EmergencySituationSurchargeServiceFee
|
|
11760
11810
|
| io.flow.v0.models.PeakSurchargeServiceFee
|
|
11761
|
-
| io.flow.v0.models.PeakSurchargeByWeightServiceFee
|
|
11811
|
+
| io.flow.v0.models.PeakSurchargeByWeightServiceFee
|
|
11812
|
+
| io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
11762
11813
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
11763
11814
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
11764
11815
|
type ShippingLabelForm =
|
|
@@ -11798,6 +11849,11 @@ declare namespace io.flow.v0.unions {
|
|
|
11798
11849
|
}
|
|
11799
11850
|
|
|
11800
11851
|
export type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
11852
|
+
export type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
|
|
11853
|
+
export type AbandonedOrderPromotionDetails = io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
11854
|
+
export type AbandonedOrderPromotionDiscountDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
11855
|
+
export type AbandonedOrderPromotionForm = io.flow.v0.models.AbandonedOrderPromotionForm;
|
|
11856
|
+
export type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
11801
11857
|
export type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
11802
11858
|
export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
11803
11859
|
export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
@@ -12173,6 +12229,8 @@ export type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
|
12173
12229
|
export type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
12174
12230
|
export type Document = io.flow.v0.unions.Document;
|
|
12175
12231
|
export type Duration = io.flow.v0.models.Duration;
|
|
12232
|
+
export type DutiesTaxesPaidSurchargeRatecardFee = io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
12233
|
+
export type DutiesTaxesPaidSurchargeServiceFee = io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
12176
12234
|
export type Duty = io.flow.v0.models.Duty;
|
|
12177
12235
|
export type DutyItem = io.flow.v0.models.DutyItem;
|
|
12178
12236
|
export type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
|
|
@@ -12186,6 +12244,7 @@ export type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformForm;
|
|
|
12186
12244
|
export type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
12187
12245
|
export type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
12188
12246
|
export type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
12247
|
+
export type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
12189
12248
|
export type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
12190
12249
|
export type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
12191
12250
|
export type EmailNotificationAbandonedOrder = io.flow.v0.models.EmailNotificationAbandonedOrder;
|