@flowio/types 11.19.15 → 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 +82 -39
- package/dist/api.d.ts +88 -5
- package/package.json +2 -2
- package/src/api-internal.ts +111 -38
- package/src/api.ts +104 -4
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;
|
|
@@ -7367,7 +7381,7 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
7367
7381
|
}
|
|
7368
7382
|
declare namespace io.flow.catalog.v0.enums {
|
|
7369
7383
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
7370
|
-
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number';
|
|
7384
|
+
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
|
|
7371
7385
|
type FulfillmentMethodType = 'fulfillment_method';
|
|
7372
7386
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
7373
7387
|
type ImageTag = 'thumbnail' | 'checkout';
|
|
@@ -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' | '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' | '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';
|
|
@@ -9332,6 +9346,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9332
9346
|
type LabelBillingStrategy = 'quote' | 'carrier';
|
|
9333
9347
|
type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
|
|
9334
9348
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
9349
|
+
type ManualTransactionCategory = 'cancelled_order_refund' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'partial_refund' | 'platform_fee' | 'shipping_true_up' | 'tax_credit';
|
|
9335
9350
|
type MarketingGatewayAccountConnectionStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected';
|
|
9336
9351
|
type MarketingGatewayChannelIntegrationType = 'automated' | 'manual';
|
|
9337
9352
|
type MarketingGatewayChannelStatus = 'not_connected' | 'connecting' | 'connected' | 'disconnecting' | 'disconnected' | 'unavailable';
|
|
@@ -9454,6 +9469,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9454
9469
|
readonly target: number;
|
|
9455
9470
|
readonly rate: number;
|
|
9456
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
|
+
}
|
|
9457
9479
|
interface AccountOrdersExportRequest {
|
|
9458
9480
|
readonly discriminator: 'account_orders_export_request';
|
|
9459
9481
|
readonly event_id: string;
|
|
@@ -9477,20 +9499,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9477
9499
|
readonly transaction_created_on_or_before?: string;
|
|
9478
9500
|
readonly transaction_created_before?: string;
|
|
9479
9501
|
}
|
|
9480
|
-
interface AccountPostForm {
|
|
9481
|
-
readonly timezone: string;
|
|
9482
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9483
|
-
readonly payment_conditions?: string;
|
|
9484
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
9485
|
-
readonly center_key?: string;
|
|
9486
|
-
}
|
|
9487
|
-
interface AccountPutForm {
|
|
9488
|
-
readonly timezone: string;
|
|
9489
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9490
|
-
readonly payment_conditions?: string;
|
|
9491
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
9492
|
-
readonly center_key?: string;
|
|
9493
|
-
}
|
|
9494
9502
|
interface AccountReference {
|
|
9495
9503
|
readonly id: string;
|
|
9496
9504
|
readonly currency: string;
|
|
@@ -9966,15 +9974,25 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9966
9974
|
readonly organization: string;
|
|
9967
9975
|
readonly bank_payment: io.flow.internal.v0.models.BankPayment;
|
|
9968
9976
|
}
|
|
9969
|
-
interface
|
|
9970
|
-
readonly
|
|
9971
|
-
readonly
|
|
9972
|
-
readonly
|
|
9973
|
-
readonly
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
readonly
|
|
9977
|
-
readonly
|
|
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;
|
|
9978
9996
|
}
|
|
9979
9997
|
interface BillingAuthorizationReference {
|
|
9980
9998
|
readonly id: string;
|
|
@@ -12097,10 +12115,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12097
12115
|
interface Classification {
|
|
12098
12116
|
readonly discriminator: 'classification';
|
|
12099
12117
|
readonly product_id: string;
|
|
12100
|
-
readonly description
|
|
12118
|
+
readonly description?: string;
|
|
12101
12119
|
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
12102
|
-
readonly images:
|
|
12120
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
12103
12121
|
readonly categories: string[];
|
|
12122
|
+
readonly model_id?: string;
|
|
12104
12123
|
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
12105
12124
|
readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
12106
12125
|
readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
|
|
@@ -13087,6 +13106,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13087
13106
|
interface Fees {
|
|
13088
13107
|
readonly processing: io.flow.internal.v0.models.Fee;
|
|
13089
13108
|
readonly rate_lock: io.flow.internal.v0.models.Fee;
|
|
13109
|
+
readonly fx_conversion?: io.flow.internal.v0.models.Fee;
|
|
13090
13110
|
}
|
|
13091
13111
|
interface FiservAccount {
|
|
13092
13112
|
readonly discriminator: 'fiserv_account';
|
|
@@ -13164,6 +13184,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13164
13184
|
readonly margin: number;
|
|
13165
13185
|
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
13166
13186
|
}
|
|
13187
|
+
interface FlowCurrencySettingDeleted {
|
|
13188
|
+
readonly discriminator: 'flow_currency_setting_deleted';
|
|
13189
|
+
readonly event_id: string;
|
|
13190
|
+
readonly timestamp: string;
|
|
13191
|
+
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
13192
|
+
}
|
|
13167
13193
|
interface FlowCurrencySettingForm {
|
|
13168
13194
|
readonly organization: string;
|
|
13169
13195
|
readonly base: string;
|
|
@@ -13171,6 +13197,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13171
13197
|
readonly margin: number;
|
|
13172
13198
|
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
13173
13199
|
}
|
|
13200
|
+
interface FlowCurrencySettingUpserted {
|
|
13201
|
+
readonly discriminator: 'flow_currency_setting_upserted';
|
|
13202
|
+
readonly event_id: string;
|
|
13203
|
+
readonly timestamp: string;
|
|
13204
|
+
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
13205
|
+
}
|
|
13174
13206
|
interface FlowCurrencySettingVersion {
|
|
13175
13207
|
readonly id: string;
|
|
13176
13208
|
readonly timestamp: string;
|
|
@@ -14876,12 +14908,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14876
14908
|
readonly posted_at: string;
|
|
14877
14909
|
readonly value: io.flow.common.v0.models.Price;
|
|
14878
14910
|
readonly description: string;
|
|
14911
|
+
readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
|
|
14879
14912
|
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
14880
14913
|
readonly created_at: string;
|
|
14881
14914
|
}
|
|
14882
14915
|
interface ManualTransactionForm {
|
|
14883
14916
|
readonly amount: number;
|
|
14884
14917
|
readonly description: string;
|
|
14918
|
+
readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
|
|
14885
14919
|
readonly posted_at?: string;
|
|
14886
14920
|
}
|
|
14887
14921
|
interface MarketingGatewayChannel {
|
|
@@ -15791,6 +15825,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15791
15825
|
readonly primary_identifier?: string;
|
|
15792
15826
|
readonly payment_method: string;
|
|
15793
15827
|
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
15828
|
+
readonly original_base_at_spot_rate?: io.flow.common.v0.models.Price;
|
|
15794
15829
|
readonly fees: io.flow.internal.v0.models.Fees;
|
|
15795
15830
|
readonly components?: io.flow.internal.v0.models.Components;
|
|
15796
15831
|
readonly withholdings: io.flow.internal.v0.models.Components;
|
|
@@ -17143,6 +17178,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17143
17178
|
readonly organization: string;
|
|
17144
17179
|
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
17145
17180
|
}
|
|
17181
|
+
interface TrackingLabelReference {
|
|
17182
|
+
readonly id: string;
|
|
17183
|
+
}
|
|
17146
17184
|
interface TrackingLabelUpserted {
|
|
17147
17185
|
readonly discriminator: 'tracking_label_upserted';
|
|
17148
17186
|
readonly event_id: string;
|
|
@@ -17463,7 +17501,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17463
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;
|
|
17464
17502
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
17465
17503
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
17466
|
-
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountDeleted | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
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;
|
|
17467
17505
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
17468
17506
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
17469
17507
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -17524,9 +17562,8 @@ export declare type AccountContactUpserted = io.flow.internal.v0.models.AccountC
|
|
|
17524
17562
|
export declare type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
|
|
17525
17563
|
export declare type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
17526
17564
|
export declare type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
17565
|
+
export declare type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
17527
17566
|
export declare type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
17528
|
-
export declare type AccountPostForm = io.flow.internal.v0.models.AccountPostForm;
|
|
17529
|
-
export declare type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
|
|
17530
17567
|
export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
17531
17568
|
export declare type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
17532
17569
|
export declare type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
@@ -17604,7 +17641,9 @@ export declare type BankPayment = io.flow.internal.v0.models.BankPayment;
|
|
|
17604
17641
|
export declare type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
|
|
17605
17642
|
export declare type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
|
|
17606
17643
|
export declare type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
|
|
17607
|
-
export declare type
|
|
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;
|
|
17608
17647
|
export declare type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey;
|
|
17609
17648
|
export declare type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference;
|
|
17610
17649
|
export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
@@ -18421,7 +18460,9 @@ export declare type FiservMerchantModificationForm = io.flow.internal.v0.models.
|
|
|
18421
18460
|
export declare type FiservMerchantPutForm = io.flow.internal.v0.models.FiservMerchantPutForm;
|
|
18422
18461
|
export declare type FlowApp = io.flow.internal.v0.enums.FlowApp;
|
|
18423
18462
|
export declare type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
|
|
18463
|
+
export declare type FlowCurrencySettingDeleted = io.flow.internal.v0.models.FlowCurrencySettingDeleted;
|
|
18424
18464
|
export declare type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
|
|
18465
|
+
export declare type FlowCurrencySettingUpserted = io.flow.internal.v0.models.FlowCurrencySettingUpserted;
|
|
18425
18466
|
export declare type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
|
|
18426
18467
|
export declare type FlowLabProject = io.flow.internal.v0.models.FlowLabProject;
|
|
18427
18468
|
export declare type FlowLabProjectPostForm = io.flow.internal.v0.models.FlowLabProjectPostForm;
|
|
@@ -18673,6 +18714,7 @@ export declare type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRu
|
|
|
18673
18714
|
export declare type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
|
|
18674
18715
|
export declare type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
|
|
18675
18716
|
export declare type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
|
|
18717
|
+
export declare type ManualTransactionCategory = io.flow.internal.v0.enums.ManualTransactionCategory;
|
|
18676
18718
|
export declare type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
|
|
18677
18719
|
export declare type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
|
|
18678
18720
|
export declare type MarketingGatewayChannel = io.flow.internal.v0.models.MarketingGatewayChannel;
|
|
@@ -19119,6 +19161,7 @@ export declare type TrackingIntegrationType = io.flow.internal.v0.enums.Tracking
|
|
|
19119
19161
|
export declare type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted;
|
|
19120
19162
|
export declare type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2;
|
|
19121
19163
|
export declare type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2;
|
|
19164
|
+
export declare type TrackingLabelReference = io.flow.internal.v0.models.TrackingLabelReference;
|
|
19122
19165
|
export declare type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted;
|
|
19123
19166
|
export declare type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
|
|
19124
19167
|
export declare type TrackingRequestUpserted = io.flow.internal.v0.models.TrackingRequestUpserted;
|
package/dist/api.d.ts
CHANGED
|
@@ -1638,12 +1638,13 @@ 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';
|
|
1644
1645
|
type Aggregate = 'maximum' | 'minimum';
|
|
1645
1646
|
type AttributeDataType = 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array';
|
|
1646
|
-
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number';
|
|
1647
|
+
type AttributeIntent = 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds';
|
|
1647
1648
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
1648
1649
|
type AuthorizationDeclineCode = 'expired' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_address' | 'invalid_token_type' | 'invalid_token' | 'no_account' | 'avs' | 'cvv' | 'fraud' | 'duplicate' | 'not_supported' | 'unknown' | 'online_payment_error';
|
|
1649
1650
|
type AuthorizationOption = 'store_card';
|
|
@@ -1662,6 +1663,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1662
1663
|
type CardType = 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa';
|
|
1663
1664
|
type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
|
|
1664
1665
|
type ChangeType = 'insert' | 'update' | 'delete';
|
|
1666
|
+
type ChannelCurrencyCapability = 'payment_authorizations' | 'settlement_currency';
|
|
1665
1667
|
type ConsumerInvoiceCustomerType = 'business_eu_verified' | 'business_non_verified' | 'individual';
|
|
1666
1668
|
type ConsumerInvoiceDocumentType = 'pdf';
|
|
1667
1669
|
type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid';
|
|
@@ -1674,7 +1676,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1674
1676
|
type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
1675
1677
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
1676
1678
|
type DeliveredDutyDisplayType = 'all' | 'single';
|
|
1677
|
-
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';
|
|
1678
1680
|
type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
|
|
1679
1681
|
type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
|
|
1680
1682
|
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
@@ -1735,7 +1737,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1735
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';
|
|
1736
1738
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
1737
1739
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
1738
|
-
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';
|
|
1739
1741
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
1740
1742
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
1741
1743
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
@@ -1821,6 +1823,25 @@ declare namespace io.flow.v0.models {
|
|
|
1821
1823
|
readonly delay: io.flow.v0.models.Duration;
|
|
1822
1824
|
readonly frequency: io.flow.v0.models.Duration;
|
|
1823
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
|
+
}
|
|
1824
1845
|
interface AbandonedOrderSettings {
|
|
1825
1846
|
readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
1826
1847
|
readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
@@ -2880,6 +2901,18 @@ declare namespace io.flow.v0.models {
|
|
|
2880
2901
|
interface Channel {
|
|
2881
2902
|
readonly id: string;
|
|
2882
2903
|
readonly name: string;
|
|
2904
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
2905
|
+
readonly organization_id_prefix?: string;
|
|
2906
|
+
}
|
|
2907
|
+
interface ChannelCurrency {
|
|
2908
|
+
readonly id: string;
|
|
2909
|
+
readonly currency: string;
|
|
2910
|
+
readonly channel: io.flow.v0.models.ChannelReference;
|
|
2911
|
+
readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
|
|
2912
|
+
}
|
|
2913
|
+
interface ChannelCurrencyForm {
|
|
2914
|
+
readonly currency: string;
|
|
2915
|
+
readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
|
|
2883
2916
|
}
|
|
2884
2917
|
interface ChannelDeleted {
|
|
2885
2918
|
readonly discriminator: 'channel_deleted';
|
|
@@ -2889,11 +2922,18 @@ declare namespace io.flow.v0.models {
|
|
|
2889
2922
|
}
|
|
2890
2923
|
interface ChannelForm {
|
|
2891
2924
|
readonly name: string;
|
|
2925
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
2926
|
+
readonly organization_id_prefix?: string;
|
|
2892
2927
|
}
|
|
2893
2928
|
interface ChannelOrganization {
|
|
2894
2929
|
readonly id: string;
|
|
2895
2930
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
2931
|
+
readonly key: string;
|
|
2896
2932
|
readonly channel: io.flow.v0.models.ChannelReference;
|
|
2933
|
+
readonly name: string;
|
|
2934
|
+
readonly slug?: string;
|
|
2935
|
+
readonly defaults: io.flow.v0.models.OrganizationDefaults;
|
|
2936
|
+
readonly attributes?: Record<string, string>;
|
|
2897
2937
|
}
|
|
2898
2938
|
interface ChannelOrganizationDeleted {
|
|
2899
2939
|
readonly discriminator: 'channel_organization_deleted';
|
|
@@ -2901,12 +2941,21 @@ declare namespace io.flow.v0.models {
|
|
|
2901
2941
|
readonly timestamp: string;
|
|
2902
2942
|
readonly channel_organization: io.flow.v0.models.ChannelOrganization;
|
|
2903
2943
|
}
|
|
2944
|
+
interface ChannelOrganizationForm {
|
|
2945
|
+
readonly name: string;
|
|
2946
|
+
readonly slug?: string;
|
|
2947
|
+
readonly defaults: io.flow.v0.models.OrganizationDefaults;
|
|
2948
|
+
readonly attributes?: Record<string, string>;
|
|
2949
|
+
}
|
|
2904
2950
|
interface ChannelOrganizationUpserted {
|
|
2905
2951
|
readonly discriminator: 'channel_organization_upserted';
|
|
2906
2952
|
readonly event_id: string;
|
|
2907
2953
|
readonly timestamp: string;
|
|
2908
2954
|
readonly channel_organization: io.flow.v0.models.ChannelOrganization;
|
|
2909
2955
|
}
|
|
2956
|
+
interface ChannelRate {
|
|
2957
|
+
readonly placeholder?: string;
|
|
2958
|
+
}
|
|
2910
2959
|
interface ChannelReference {
|
|
2911
2960
|
readonly id: string;
|
|
2912
2961
|
}
|
|
@@ -3753,6 +3802,18 @@ declare namespace io.flow.v0.models {
|
|
|
3753
3802
|
readonly unit: io.flow.v0.enums.UnitOfTime;
|
|
3754
3803
|
readonly value: number;
|
|
3755
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
|
+
}
|
|
3756
3817
|
interface Duty {
|
|
3757
3818
|
readonly rate: number;
|
|
3758
3819
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
@@ -3819,6 +3880,11 @@ declare namespace io.flow.v0.models {
|
|
|
3819
3880
|
readonly organization: string;
|
|
3820
3881
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
3821
3882
|
}
|
|
3883
|
+
interface EmailAbandonedOrderPromotion {
|
|
3884
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
3885
|
+
readonly short_label?: string;
|
|
3886
|
+
readonly long_label?: string;
|
|
3887
|
+
}
|
|
3822
3888
|
interface EmailAbandonedOrderUrls {
|
|
3823
3889
|
readonly checkout: string;
|
|
3824
3890
|
}
|
|
@@ -3832,6 +3898,7 @@ declare namespace io.flow.v0.models {
|
|
|
3832
3898
|
readonly discriminator: 'abandoned_order';
|
|
3833
3899
|
readonly order: io.flow.v0.models.OrderSummary;
|
|
3834
3900
|
readonly urls: io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
3901
|
+
readonly promotions?: io.flow.v0.models.EmailAbandonedOrderPromotion[];
|
|
3835
3902
|
}
|
|
3836
3903
|
interface EmailNotificationDataRefund {
|
|
3837
3904
|
readonly discriminator: 'refund';
|
|
@@ -6668,6 +6735,7 @@ declare namespace io.flow.v0.models {
|
|
|
6668
6735
|
readonly reference?: string;
|
|
6669
6736
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
6670
6737
|
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
6738
|
+
readonly capture_delay_hours?: number;
|
|
6671
6739
|
}
|
|
6672
6740
|
interface PaymentRequestForm {
|
|
6673
6741
|
readonly amount: number;
|
|
@@ -6680,6 +6748,7 @@ declare namespace io.flow.v0.models {
|
|
|
6680
6748
|
readonly reference?: string;
|
|
6681
6749
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
6682
6750
|
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
6751
|
+
readonly capture_delay_hours?: number;
|
|
6683
6752
|
}
|
|
6684
6753
|
interface PaymentRequestReference {
|
|
6685
6754
|
readonly id: string;
|
|
@@ -9069,6 +9138,7 @@ declare namespace io.flow.v0.models {
|
|
|
9069
9138
|
}
|
|
9070
9139
|
}
|
|
9071
9140
|
declare namespace io.flow.v0.unions {
|
|
9141
|
+
type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
9072
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;
|
|
9073
9143
|
type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
|
|
9074
9144
|
type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
|
|
@@ -9142,12 +9212,12 @@ declare namespace io.flow.v0.unions {
|
|
|
9142
9212
|
type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
9143
9213
|
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2;
|
|
9144
9214
|
type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateFormV1 | io.flow.v0.models.RatecardEstimateFormV2;
|
|
9145
|
-
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;
|
|
9146
9216
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
9147
9217
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
9148
9218
|
type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
|
|
9149
9219
|
type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
|
|
9150
|
-
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;
|
|
9151
9221
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
9152
9222
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
9153
9223
|
type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
|
|
@@ -9163,6 +9233,11 @@ declare namespace io.flow.v0.unions {
|
|
|
9163
9233
|
type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.PartnerTokenReference;
|
|
9164
9234
|
}
|
|
9165
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;
|
|
9166
9241
|
export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
9167
9242
|
export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
9168
9243
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
@@ -9358,11 +9433,16 @@ export declare type CenterUpserted = io.flow.v0.models.CenterUpserted;
|
|
|
9358
9433
|
export declare type CenterVersion = io.flow.v0.models.CenterVersion;
|
|
9359
9434
|
export declare type ChangeType = io.flow.v0.enums.ChangeType;
|
|
9360
9435
|
export declare type Channel = io.flow.v0.models.Channel;
|
|
9436
|
+
export declare type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
|
|
9437
|
+
export declare type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
|
|
9438
|
+
export declare type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
|
|
9361
9439
|
export declare type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
|
|
9362
9440
|
export declare type ChannelForm = io.flow.v0.models.ChannelForm;
|
|
9363
9441
|
export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
|
|
9364
9442
|
export declare type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
|
|
9443
|
+
export declare type ChannelOrganizationForm = io.flow.v0.models.ChannelOrganizationForm;
|
|
9365
9444
|
export declare type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
|
|
9445
|
+
export declare type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
9366
9446
|
export declare type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
9367
9447
|
export declare type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
9368
9448
|
export declare type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
@@ -9533,6 +9613,8 @@ export declare type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
|
9533
9613
|
export declare type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
9534
9614
|
export declare type Document = io.flow.v0.unions.Document;
|
|
9535
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;
|
|
9536
9618
|
export declare type Duty = io.flow.v0.models.Duty;
|
|
9537
9619
|
export declare type DutyItem = io.flow.v0.models.DutyItem;
|
|
9538
9620
|
export declare type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
|
|
@@ -9546,6 +9628,7 @@ export declare type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformF
|
|
|
9546
9628
|
export declare type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
9547
9629
|
export declare type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
9548
9630
|
export declare type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
9631
|
+
export declare type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
9549
9632
|
export declare type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
9550
9633
|
export declare type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
9551
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 {
|
|
@@ -9689,7 +9708,8 @@ declare namespace io.flow.catalog.v0.enums {
|
|
|
9689
9708
|
| 'barcode'
|
|
9690
9709
|
| 'min_days_to_ship'
|
|
9691
9710
|
| 'max_days_to_ship'
|
|
9692
|
-
| 'commercial_invoice_item_number'
|
|
9711
|
+
| 'commercial_invoice_item_number'
|
|
9712
|
+
| 'include_in_product_feeds';
|
|
9693
9713
|
type FulfillmentMethodType = 'fulfillment_method';
|
|
9694
9714
|
type FulfillmentMethodValue = 'digital' | 'physical';
|
|
9695
9715
|
type ImageTag = 'thumbnail' | 'checkout';
|
|
@@ -10791,6 +10811,7 @@ declare namespace io.flow.fulfillment.v0.enums {
|
|
|
10791
10811
|
| 'ratecard_rural_shipment_fee'
|
|
10792
10812
|
| 'ratecard_emergency_situation_surcharge_fee'
|
|
10793
10813
|
| 'ratecard_peak_surcharge_fee'
|
|
10814
|
+
| 'ratecard_duties_taxes_paid_surcharge_fee'
|
|
10794
10815
|
| 'center_commercial_invoice_fee'
|
|
10795
10816
|
| 'center_inbound_carton_fee'
|
|
10796
10817
|
| 'center_outbound_carton_fee';
|
|
@@ -12009,7 +12030,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12009
12030
|
| 'manual'
|
|
12010
12031
|
| 'orders'
|
|
12011
12032
|
| 'all';
|
|
12012
|
-
type BillingStatementBatchFileKey =
|
|
12033
|
+
type BillingStatementBatchFileKey =
|
|
12034
|
+
| 'archive'
|
|
12035
|
+
| 'fx_transactions'
|
|
12036
|
+
| 'summary'
|
|
12037
|
+
| 'label_transactions';
|
|
12013
12038
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
12014
12039
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
12015
12040
|
type BillingTransactionType =
|
|
@@ -12363,6 +12388,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12363
12388
|
| 'adyen_capture_upserted'
|
|
12364
12389
|
| 'adyen_refund_deleted'
|
|
12365
12390
|
| 'adyen_refund_upserted'
|
|
12391
|
+
| 'billable_label_upserted'
|
|
12392
|
+
| 'billable_label_deleted'
|
|
12366
12393
|
| 'account_upserted'
|
|
12367
12394
|
| 'account_deleted'
|
|
12368
12395
|
| 'account_contact_upserted'
|
|
@@ -12401,6 +12428,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12401
12428
|
| 'spot_rate_upserted'
|
|
12402
12429
|
| 'rate_deleted_v2'
|
|
12403
12430
|
| 'rate_upserted_v2'
|
|
12431
|
+
| 'flow_currency_setting_upserted'
|
|
12432
|
+
| 'flow_currency_setting_deleted'
|
|
12404
12433
|
| 'customer_purge_upserted'
|
|
12405
12434
|
| 'customs_description_import'
|
|
12406
12435
|
| 'customs_description_tariffs_import'
|
|
@@ -12606,6 +12635,14 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12606
12635
|
| 'high_value_goods_tax'
|
|
12607
12636
|
| 'duties';
|
|
12608
12637
|
type ManualReviewRuleStatus = 'active' | 'archived';
|
|
12638
|
+
type ManualTransactionCategory =
|
|
12639
|
+
| 'cancelled_order_refund'
|
|
12640
|
+
| 'client_accepted_chargeback'
|
|
12641
|
+
| 'fee_reimbursement'
|
|
12642
|
+
| 'partial_refund'
|
|
12643
|
+
| 'platform_fee'
|
|
12644
|
+
| 'shipping_true_up'
|
|
12645
|
+
| 'tax_credit';
|
|
12609
12646
|
type MarketingGatewayAccountConnectionStatus =
|
|
12610
12647
|
| 'not_connected'
|
|
12611
12648
|
| 'connecting'
|
|
@@ -12858,6 +12895,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12858
12895
|
readonly rate: number;
|
|
12859
12896
|
}
|
|
12860
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
|
+
|
|
12861
12906
|
interface AccountOrdersExportRequest {
|
|
12862
12907
|
readonly discriminator: 'account_orders_export_request';
|
|
12863
12908
|
readonly event_id: string;
|
|
@@ -12882,22 +12927,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12882
12927
|
readonly transaction_created_before?: string;
|
|
12883
12928
|
}
|
|
12884
12929
|
|
|
12885
|
-
interface AccountPostForm {
|
|
12886
|
-
readonly timezone: string;
|
|
12887
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12888
|
-
readonly payment_conditions?: string;
|
|
12889
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
12890
|
-
readonly center_key?: string;
|
|
12891
|
-
}
|
|
12892
|
-
|
|
12893
|
-
interface AccountPutForm {
|
|
12894
|
-
readonly timezone: string;
|
|
12895
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12896
|
-
readonly payment_conditions?: string;
|
|
12897
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
12898
|
-
readonly center_key?: string;
|
|
12899
|
-
}
|
|
12900
|
-
|
|
12901
12930
|
interface AccountReference {
|
|
12902
12931
|
readonly id: string;
|
|
12903
12932
|
readonly currency: string;
|
|
@@ -13446,15 +13475,27 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13446
13475
|
readonly bank_payment: io.flow.internal.v0.models.BankPayment;
|
|
13447
13476
|
}
|
|
13448
13477
|
|
|
13449
|
-
interface
|
|
13450
|
-
readonly
|
|
13451
|
-
readonly
|
|
13452
|
-
readonly
|
|
13453
|
-
readonly
|
|
13454
|
-
|
|
13455
|
-
|
|
13456
|
-
|
|
13457
|
-
readonly
|
|
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;
|
|
13458
13499
|
}
|
|
13459
13500
|
|
|
13460
13501
|
interface BillingAuthorizationReference {
|
|
@@ -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 {
|
|
@@ -17275,6 +17318,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17275
17318
|
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
17276
17319
|
}
|
|
17277
17320
|
|
|
17321
|
+
interface FlowCurrencySettingDeleted {
|
|
17322
|
+
readonly discriminator: 'flow_currency_setting_deleted';
|
|
17323
|
+
readonly event_id: string;
|
|
17324
|
+
readonly timestamp: string;
|
|
17325
|
+
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
17326
|
+
}
|
|
17327
|
+
|
|
17278
17328
|
interface FlowCurrencySettingForm {
|
|
17279
17329
|
readonly organization: string;
|
|
17280
17330
|
readonly base: string;
|
|
@@ -17283,6 +17333,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17283
17333
|
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
17284
17334
|
}
|
|
17285
17335
|
|
|
17336
|
+
interface FlowCurrencySettingUpserted {
|
|
17337
|
+
readonly discriminator: 'flow_currency_setting_upserted';
|
|
17338
|
+
readonly event_id: string;
|
|
17339
|
+
readonly timestamp: string;
|
|
17340
|
+
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
17341
|
+
}
|
|
17342
|
+
|
|
17286
17343
|
interface FlowCurrencySettingVersion {
|
|
17287
17344
|
readonly id: string;
|
|
17288
17345
|
readonly timestamp: string;
|
|
@@ -19218,6 +19275,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19218
19275
|
readonly posted_at: string;
|
|
19219
19276
|
readonly value: io.flow.common.v0.models.Price;
|
|
19220
19277
|
readonly description: string;
|
|
19278
|
+
readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
|
|
19221
19279
|
readonly statement?: io.flow.internal.v0.models.BillingStatementReference;
|
|
19222
19280
|
readonly created_at: string;
|
|
19223
19281
|
}
|
|
@@ -19225,6 +19283,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19225
19283
|
interface ManualTransactionForm {
|
|
19226
19284
|
readonly amount: number;
|
|
19227
19285
|
readonly description: string;
|
|
19286
|
+
readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory;
|
|
19228
19287
|
readonly posted_at?: string;
|
|
19229
19288
|
}
|
|
19230
19289
|
|
|
@@ -20276,6 +20335,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20276
20335
|
readonly primary_identifier?: string;
|
|
20277
20336
|
readonly payment_method: string;
|
|
20278
20337
|
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
20338
|
+
readonly original_base_at_spot_rate?: io.flow.common.v0.models.Price;
|
|
20279
20339
|
readonly fees: io.flow.internal.v0.models.Fees;
|
|
20280
20340
|
readonly components?: io.flow.internal.v0.models.Components;
|
|
20281
20341
|
readonly withholdings: io.flow.internal.v0.models.Components;
|
|
@@ -21843,6 +21903,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21843
21903
|
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
21844
21904
|
}
|
|
21845
21905
|
|
|
21906
|
+
interface TrackingLabelReference {
|
|
21907
|
+
readonly id: string;
|
|
21908
|
+
}
|
|
21909
|
+
|
|
21846
21910
|
interface TrackingLabelUpserted {
|
|
21847
21911
|
readonly discriminator: 'tracking_label_upserted';
|
|
21848
21912
|
readonly event_id: string;
|
|
@@ -22470,6 +22534,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22470
22534
|
| io.flow.internal.v0.models.AdyenCaptureUpserted
|
|
22471
22535
|
| io.flow.internal.v0.models.AdyenRefundDeleted
|
|
22472
22536
|
| io.flow.internal.v0.models.AdyenRefundUpserted
|
|
22537
|
+
| io.flow.internal.v0.models.BillableLabelUpserted
|
|
22538
|
+
| io.flow.internal.v0.models.BillableLabelDeleted
|
|
22473
22539
|
| io.flow.internal.v0.models.AccountUpserted
|
|
22474
22540
|
| io.flow.internal.v0.models.AccountDeleted
|
|
22475
22541
|
| io.flow.internal.v0.models.AccountContactUpserted
|
|
@@ -22508,6 +22574,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22508
22574
|
| io.flow.internal.v0.models.SpotRateUpserted
|
|
22509
22575
|
| io.flow.internal.v0.models.RateDeletedV2
|
|
22510
22576
|
| io.flow.internal.v0.models.RateUpsertedV2
|
|
22577
|
+
| io.flow.internal.v0.models.FlowCurrencySettingUpserted
|
|
22578
|
+
| io.flow.internal.v0.models.FlowCurrencySettingDeleted
|
|
22511
22579
|
| io.flow.internal.v0.models.CustomerPurgeUpserted
|
|
22512
22580
|
| io.flow.internal.v0.models.CustomsDescriptionImport
|
|
22513
22581
|
| io.flow.internal.v0.models.CustomsDescriptionTariffsImport
|
|
@@ -22893,9 +22961,8 @@ export type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUp
|
|
|
22893
22961
|
export type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
|
|
22894
22962
|
export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
22895
22963
|
export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
22964
|
+
export type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
22896
22965
|
export type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
22897
|
-
export type AccountPostForm = io.flow.internal.v0.models.AccountPostForm;
|
|
22898
|
-
export type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
|
|
22899
22966
|
export type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
22900
22967
|
export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
22901
22968
|
export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
@@ -22973,7 +23040,9 @@ export type BankPayment = io.flow.internal.v0.models.BankPayment;
|
|
|
22973
23040
|
export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
|
|
22974
23041
|
export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
|
|
22975
23042
|
export type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
|
|
22976
|
-
export type
|
|
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;
|
|
22977
23046
|
export type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey;
|
|
22978
23047
|
export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference;
|
|
22979
23048
|
export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
@@ -23790,7 +23859,9 @@ export type FiservMerchantModificationForm = io.flow.internal.v0.models.FiservMe
|
|
|
23790
23859
|
export type FiservMerchantPutForm = io.flow.internal.v0.models.FiservMerchantPutForm;
|
|
23791
23860
|
export type FlowApp = io.flow.internal.v0.enums.FlowApp;
|
|
23792
23861
|
export type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
|
|
23862
|
+
export type FlowCurrencySettingDeleted = io.flow.internal.v0.models.FlowCurrencySettingDeleted;
|
|
23793
23863
|
export type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
|
|
23864
|
+
export type FlowCurrencySettingUpserted = io.flow.internal.v0.models.FlowCurrencySettingUpserted;
|
|
23794
23865
|
export type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
|
|
23795
23866
|
export type FlowLabProject = io.flow.internal.v0.models.FlowLabProject;
|
|
23796
23867
|
export type FlowLabProjectPostForm = io.flow.internal.v0.models.FlowLabProjectPostForm;
|
|
@@ -24042,6 +24113,7 @@ export type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRule;
|
|
|
24042
24113
|
export type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm;
|
|
24043
24114
|
export type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus;
|
|
24044
24115
|
export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction;
|
|
24116
|
+
export type ManualTransactionCategory = io.flow.internal.v0.enums.ManualTransactionCategory;
|
|
24045
24117
|
export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm;
|
|
24046
24118
|
export type MarketingGatewayAccountConnectionStatus = io.flow.internal.v0.enums.MarketingGatewayAccountConnectionStatus;
|
|
24047
24119
|
export type MarketingGatewayChannel = io.flow.internal.v0.models.MarketingGatewayChannel;
|
|
@@ -24488,6 +24560,7 @@ export type TrackingIntegrationType = io.flow.internal.v0.enums.TrackingIntegrat
|
|
|
24488
24560
|
export type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted;
|
|
24489
24561
|
export type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2;
|
|
24490
24562
|
export type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2;
|
|
24563
|
+
export type TrackingLabelReference = io.flow.internal.v0.models.TrackingLabelReference;
|
|
24491
24564
|
export type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted;
|
|
24492
24565
|
export type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
|
|
24493
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'
|
|
@@ -2127,7 +2128,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2127
2128
|
| 'barcode'
|
|
2128
2129
|
| 'min_days_to_ship'
|
|
2129
2130
|
| 'max_days_to_ship'
|
|
2130
|
-
| 'commercial_invoice_item_number'
|
|
2131
|
+
| 'commercial_invoice_item_number'
|
|
2132
|
+
| 'include_in_product_feeds';
|
|
2131
2133
|
type AuthenticationTechnique =
|
|
2132
2134
|
| 'anonymous'
|
|
2133
2135
|
| 'session'
|
|
@@ -2203,6 +2205,9 @@ declare namespace io.flow.v0.enums {
|
|
|
2203
2205
|
| 'crossdock'
|
|
2204
2206
|
| 'commercial_invoice';
|
|
2205
2207
|
type ChangeType = 'insert' | 'update' | 'delete';
|
|
2208
|
+
type ChannelCurrencyCapability =
|
|
2209
|
+
| 'payment_authorizations'
|
|
2210
|
+
| 'settlement_currency';
|
|
2206
2211
|
type ConsumerInvoiceCustomerType =
|
|
2207
2212
|
| 'business_eu_verified'
|
|
2208
2213
|
| 'business_non_verified'
|
|
@@ -2244,6 +2249,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2244
2249
|
| 'ratecard_rural_shipment_fee'
|
|
2245
2250
|
| 'ratecard_emergency_situation_surcharge_fee'
|
|
2246
2251
|
| 'ratecard_peak_surcharge_fee'
|
|
2252
|
+
| 'ratecard_duties_taxes_paid_surcharge_fee'
|
|
2247
2253
|
| 'center_commercial_invoice_fee'
|
|
2248
2254
|
| 'center_inbound_carton_fee'
|
|
2249
2255
|
| 'center_outbound_carton_fee';
|
|
@@ -2597,7 +2603,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2597
2603
|
| 'remote_area_surcharge'
|
|
2598
2604
|
| 'fuel_surcharge'
|
|
2599
2605
|
| 'emergency_situation_surcharge'
|
|
2600
|
-
| 'peak_surcharge'
|
|
2606
|
+
| 'peak_surcharge'
|
|
2607
|
+
| 'duties_taxes_paid_surcharge';
|
|
2601
2608
|
type OrderPriceDetailKey =
|
|
2602
2609
|
| 'adjustment'
|
|
2603
2610
|
| 'subtotal'
|
|
@@ -2860,6 +2867,28 @@ declare namespace io.flow.v0.models {
|
|
|
2860
2867
|
readonly frequency: io.flow.v0.models.Duration;
|
|
2861
2868
|
}
|
|
2862
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
|
+
|
|
2863
2892
|
interface AbandonedOrderSettings {
|
|
2864
2893
|
readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
2865
2894
|
readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
@@ -4076,6 +4105,20 @@ declare namespace io.flow.v0.models {
|
|
|
4076
4105
|
interface Channel {
|
|
4077
4106
|
readonly id: string;
|
|
4078
4107
|
readonly name: string;
|
|
4108
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
4109
|
+
readonly organization_id_prefix?: string;
|
|
4110
|
+
}
|
|
4111
|
+
|
|
4112
|
+
interface ChannelCurrency {
|
|
4113
|
+
readonly id: string;
|
|
4114
|
+
readonly currency: string;
|
|
4115
|
+
readonly channel: io.flow.v0.models.ChannelReference;
|
|
4116
|
+
readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
|
|
4117
|
+
}
|
|
4118
|
+
|
|
4119
|
+
interface ChannelCurrencyForm {
|
|
4120
|
+
readonly currency: string;
|
|
4121
|
+
readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[];
|
|
4079
4122
|
}
|
|
4080
4123
|
|
|
4081
4124
|
interface ChannelDeleted {
|
|
@@ -4087,12 +4130,19 @@ declare namespace io.flow.v0.models {
|
|
|
4087
4130
|
|
|
4088
4131
|
interface ChannelForm {
|
|
4089
4132
|
readonly name: string;
|
|
4133
|
+
readonly environment: io.flow.v0.enums.Environment;
|
|
4134
|
+
readonly organization_id_prefix?: string;
|
|
4090
4135
|
}
|
|
4091
4136
|
|
|
4092
4137
|
interface ChannelOrganization {
|
|
4093
4138
|
readonly id: string;
|
|
4094
4139
|
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
4140
|
+
readonly key: string;
|
|
4095
4141
|
readonly channel: io.flow.v0.models.ChannelReference;
|
|
4142
|
+
readonly name: string;
|
|
4143
|
+
readonly slug?: string;
|
|
4144
|
+
readonly defaults: io.flow.v0.models.OrganizationDefaults;
|
|
4145
|
+
readonly attributes?: Record<string, string>;
|
|
4096
4146
|
}
|
|
4097
4147
|
|
|
4098
4148
|
interface ChannelOrganizationDeleted {
|
|
@@ -4102,6 +4152,13 @@ declare namespace io.flow.v0.models {
|
|
|
4102
4152
|
readonly channel_organization: io.flow.v0.models.ChannelOrganization;
|
|
4103
4153
|
}
|
|
4104
4154
|
|
|
4155
|
+
interface ChannelOrganizationForm {
|
|
4156
|
+
readonly name: string;
|
|
4157
|
+
readonly slug?: string;
|
|
4158
|
+
readonly defaults: io.flow.v0.models.OrganizationDefaults;
|
|
4159
|
+
readonly attributes?: Record<string, string>;
|
|
4160
|
+
}
|
|
4161
|
+
|
|
4105
4162
|
interface ChannelOrganizationUpserted {
|
|
4106
4163
|
readonly discriminator: 'channel_organization_upserted';
|
|
4107
4164
|
readonly event_id: string;
|
|
@@ -4109,6 +4166,10 @@ declare namespace io.flow.v0.models {
|
|
|
4109
4166
|
readonly channel_organization: io.flow.v0.models.ChannelOrganization;
|
|
4110
4167
|
}
|
|
4111
4168
|
|
|
4169
|
+
interface ChannelRate {
|
|
4170
|
+
readonly placeholder?: string;
|
|
4171
|
+
}
|
|
4172
|
+
|
|
4112
4173
|
interface ChannelReference {
|
|
4113
4174
|
readonly id: string;
|
|
4114
4175
|
}
|
|
@@ -5094,6 +5155,20 @@ declare namespace io.flow.v0.models {
|
|
|
5094
5155
|
readonly value: number;
|
|
5095
5156
|
}
|
|
5096
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
|
+
|
|
5097
5172
|
interface Duty {
|
|
5098
5173
|
readonly rate: number;
|
|
5099
5174
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
@@ -5170,6 +5245,12 @@ declare namespace io.flow.v0.models {
|
|
|
5170
5245
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
5171
5246
|
}
|
|
5172
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
|
+
|
|
5173
5254
|
interface EmailAbandonedOrderUrls {
|
|
5174
5255
|
readonly checkout: string;
|
|
5175
5256
|
}
|
|
@@ -5185,6 +5266,7 @@ declare namespace io.flow.v0.models {
|
|
|
5185
5266
|
readonly discriminator: 'abandoned_order';
|
|
5186
5267
|
readonly order: io.flow.v0.models.OrderSummary;
|
|
5187
5268
|
readonly urls: io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
5269
|
+
readonly promotions?: io.flow.v0.models.EmailAbandonedOrderPromotion[];
|
|
5188
5270
|
}
|
|
5189
5271
|
|
|
5190
5272
|
interface EmailNotificationDataRefund {
|
|
@@ -8492,6 +8574,7 @@ declare namespace io.flow.v0.models {
|
|
|
8492
8574
|
readonly reference?: string;
|
|
8493
8575
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
8494
8576
|
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
8577
|
+
readonly capture_delay_hours?: number;
|
|
8495
8578
|
}
|
|
8496
8579
|
|
|
8497
8580
|
interface PaymentRequestForm {
|
|
@@ -8505,6 +8588,7 @@ declare namespace io.flow.v0.models {
|
|
|
8505
8588
|
readonly reference?: string;
|
|
8506
8589
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
8507
8590
|
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
8591
|
+
readonly capture_delay_hours?: number;
|
|
8508
8592
|
}
|
|
8509
8593
|
|
|
8510
8594
|
interface PaymentRequestReference {
|
|
@@ -11279,6 +11363,7 @@ declare namespace io.flow.v0.models {
|
|
|
11279
11363
|
}
|
|
11280
11364
|
|
|
11281
11365
|
declare namespace io.flow.v0.unions {
|
|
11366
|
+
type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
11282
11367
|
type Action =
|
|
11283
11368
|
| io.flow.v0.models.ActionRedirect
|
|
11284
11369
|
| io.flow.v0.models.ActionUseSdkKlarnaV1
|
|
@@ -11701,7 +11786,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11701
11786
|
| io.flow.v0.models.CrossdockRatecardFee
|
|
11702
11787
|
| io.flow.v0.models.RemoteAreaRatecardFee
|
|
11703
11788
|
| io.flow.v0.models.EmergencySituationSurchargeRatecardFee
|
|
11704
|
-
| io.flow.v0.models.PeakSurchargeRatecardFee
|
|
11789
|
+
| io.flow.v0.models.PeakSurchargeRatecardFee
|
|
11790
|
+
| io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
11705
11791
|
type RepeatSchedule =
|
|
11706
11792
|
| io.flow.v0.models.RepeatHourly
|
|
11707
11793
|
| io.flow.v0.models.RepeatDaily
|
|
@@ -11722,7 +11808,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11722
11808
|
| io.flow.v0.models.RemoteAreaServiceFee
|
|
11723
11809
|
| io.flow.v0.models.EmergencySituationSurchargeServiceFee
|
|
11724
11810
|
| io.flow.v0.models.PeakSurchargeServiceFee
|
|
11725
|
-
| io.flow.v0.models.PeakSurchargeByWeightServiceFee
|
|
11811
|
+
| io.flow.v0.models.PeakSurchargeByWeightServiceFee
|
|
11812
|
+
| io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
11726
11813
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
11727
11814
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
11728
11815
|
type ShippingLabelForm =
|
|
@@ -11762,6 +11849,11 @@ declare namespace io.flow.v0.unions {
|
|
|
11762
11849
|
}
|
|
11763
11850
|
|
|
11764
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;
|
|
11765
11857
|
export type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
11766
11858
|
export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
11767
11859
|
export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
@@ -11957,11 +12049,16 @@ export type CenterUpserted = io.flow.v0.models.CenterUpserted;
|
|
|
11957
12049
|
export type CenterVersion = io.flow.v0.models.CenterVersion;
|
|
11958
12050
|
export type ChangeType = io.flow.v0.enums.ChangeType;
|
|
11959
12051
|
export type Channel = io.flow.v0.models.Channel;
|
|
12052
|
+
export type ChannelCurrency = io.flow.v0.models.ChannelCurrency;
|
|
12053
|
+
export type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability;
|
|
12054
|
+
export type ChannelCurrencyForm = io.flow.v0.models.ChannelCurrencyForm;
|
|
11960
12055
|
export type ChannelDeleted = io.flow.v0.models.ChannelDeleted;
|
|
11961
12056
|
export type ChannelForm = io.flow.v0.models.ChannelForm;
|
|
11962
12057
|
export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
|
|
11963
12058
|
export type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted;
|
|
12059
|
+
export type ChannelOrganizationForm = io.flow.v0.models.ChannelOrganizationForm;
|
|
11964
12060
|
export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted;
|
|
12061
|
+
export type ChannelRate = io.flow.v0.models.ChannelRate;
|
|
11965
12062
|
export type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
11966
12063
|
export type ChannelToken = io.flow.v0.models.ChannelToken;
|
|
11967
12064
|
export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm;
|
|
@@ -12132,6 +12229,8 @@ export type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
|
12132
12229
|
export type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
12133
12230
|
export type Document = io.flow.v0.unions.Document;
|
|
12134
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;
|
|
12135
12234
|
export type Duty = io.flow.v0.models.Duty;
|
|
12136
12235
|
export type DutyItem = io.flow.v0.models.DutyItem;
|
|
12137
12236
|
export type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
|
|
@@ -12145,6 +12244,7 @@ export type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformForm;
|
|
|
12145
12244
|
export type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
12146
12245
|
export type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
12147
12246
|
export type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
12247
|
+
export type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
12148
12248
|
export type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
12149
12249
|
export type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
12150
12250
|
export type EmailNotificationAbandonedOrder = io.flow.v0.models.EmailNotificationAbandonedOrder;
|