@flowio/types 11.19.16 → 11.19.18
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 +137 -69
- package/dist/api.d.ts +53 -4
- package/package.json +2 -2
- package/src/api-internal.ts +171 -86
- package/src/api.ts +62 -3
package/dist/api-internal.d.ts
CHANGED
|
@@ -201,7 +201,7 @@ declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
|
201
201
|
type ReturnSource = io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor;
|
|
202
202
|
}
|
|
203
203
|
declare namespace io.flow.order.price.v0.enums {
|
|
204
|
-
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge';
|
|
204
|
+
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
|
|
205
205
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
206
206
|
}
|
|
207
207
|
declare namespace io.flow.order.price.v0.models {
|
|
@@ -1523,6 +1523,18 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1523
1523
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
1524
1524
|
readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
|
|
1525
1525
|
}
|
|
1526
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
1527
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
1528
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1529
|
+
readonly starts_at?: string;
|
|
1530
|
+
readonly ends_at?: string;
|
|
1531
|
+
}
|
|
1532
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
1533
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
1534
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1535
|
+
readonly starts_at?: string;
|
|
1536
|
+
readonly ends_at?: string;
|
|
1537
|
+
}
|
|
1526
1538
|
interface EmergencySituationSurchargeRatecardFee {
|
|
1527
1539
|
readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
|
|
1528
1540
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -1783,8 +1795,8 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1783
1795
|
declare namespace io.flow.ratecard.v0.unions {
|
|
1784
1796
|
type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
|
|
1785
1797
|
type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
1786
|
-
type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee;
|
|
1787
|
-
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee;
|
|
1798
|
+
type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
1799
|
+
type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
1788
1800
|
}
|
|
1789
1801
|
declare namespace io.flow.error.v0.enums {
|
|
1790
1802
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
@@ -7085,6 +7097,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7085
7097
|
readonly reference?: string;
|
|
7086
7098
|
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
7087
7099
|
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7100
|
+
readonly capture_delay_hours?: number;
|
|
7088
7101
|
}
|
|
7089
7102
|
interface PaymentRequestForm {
|
|
7090
7103
|
readonly amount: number;
|
|
@@ -7097,6 +7110,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7097
7110
|
readonly reference?: string;
|
|
7098
7111
|
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
7099
7112
|
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7113
|
+
readonly capture_delay_hours?: number;
|
|
7100
7114
|
}
|
|
7101
7115
|
interface PaymentRequestReference {
|
|
7102
7116
|
readonly id: string;
|
|
@@ -7310,9 +7324,9 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
7310
7324
|
readonly publishable_key: string;
|
|
7311
7325
|
}
|
|
7312
7326
|
interface ErrorResponse {
|
|
7313
|
-
readonly type
|
|
7314
|
-
readonly code
|
|
7315
|
-
readonly param
|
|
7327
|
+
readonly type?: io.flow.crypto.v0.enums.ErrorType;
|
|
7328
|
+
readonly code?: string;
|
|
7329
|
+
readonly param?: string;
|
|
7316
7330
|
}
|
|
7317
7331
|
interface Payment {
|
|
7318
7332
|
readonly id: string;
|
|
@@ -8248,7 +8262,7 @@ declare namespace io.flow.shopify.v0.unions {
|
|
|
8248
8262
|
}
|
|
8249
8263
|
declare namespace io.flow.fulfillment.v0.enums {
|
|
8250
8264
|
type CenterCapability = 'international' | 'domestic' | 'crossdock' | 'commercial_invoice';
|
|
8251
|
-
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
8265
|
+
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'ratecard_duties_taxes_paid_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
8252
8266
|
type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
|
|
8253
8267
|
type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
|
|
8254
8268
|
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
@@ -9206,7 +9220,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9206
9220
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
9207
9221
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
9208
9222
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
9209
|
-
type BillingStatementBatchFileKey = 'archive' | 'fx_transactions' | 'summary';
|
|
9223
|
+
type BillingStatementBatchFileKey = 'archive' | 'fx_transactions' | 'summary' | 'label_transactions';
|
|
9210
9224
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
9211
9225
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
9212
9226
|
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
@@ -9245,11 +9259,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9245
9259
|
type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
|
|
9246
9260
|
type CheckoutInfoAddressPredictionsKeyField = 'input';
|
|
9247
9261
|
type CheckoutInfoContentKeyField = 'locale';
|
|
9248
|
-
type CheckoutInfoDeliveriesFormDataKeyField = '
|
|
9262
|
+
type CheckoutInfoDeliveriesFormDataKeyField = 'lines' | 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'discount';
|
|
9249
9263
|
type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
|
|
9250
9264
|
type CheckoutInfoOrderSummaryKeyField = 'shipping_country' | 'shipping_province' | 'shipping_postal' | 'delivery_option_id';
|
|
9251
|
-
type CheckoutInfoPaymentDetailsKeyField = '
|
|
9252
|
-
type CheckoutInfoPaymentsFormDataKeyField = '
|
|
9265
|
+
type CheckoutInfoPaymentDetailsKeyField = 'balance' | 'payment_method_id';
|
|
9266
|
+
type CheckoutInfoPaymentsFormDataKeyField = 'balance' | 'shipping_country';
|
|
9253
9267
|
type CheckoutInfoTranslationsKeyField = 'language';
|
|
9254
9268
|
type CheckoutInitiatePaymentErrorCode = 'payment_failed' | 'authorization_form_not_supported' | 'authorization_invalid_amount' | 'authorization_invalid_currency' | 'authorization_amount_exceeds_balance' | 'address_street1_required';
|
|
9255
9269
|
type CheckoutLineErrorCode = 'line_quantity_invalid' | 'line_item_number_invalid' | 'line_item_number_not_available' | 'line_value_threshold_exceeded';
|
|
@@ -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' | '
|
|
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' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
9307
9321
|
type ExperienceImportType = 'experience_with_settings';
|
|
9308
9322
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
9309
9323
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -9455,6 +9469,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9455
9469
|
readonly target: number;
|
|
9456
9470
|
readonly rate: number;
|
|
9457
9471
|
}
|
|
9472
|
+
interface AccountForm {
|
|
9473
|
+
readonly timezone: string;
|
|
9474
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9475
|
+
readonly payment_conditions?: string;
|
|
9476
|
+
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
9477
|
+
readonly center_key?: string;
|
|
9478
|
+
}
|
|
9458
9479
|
interface AccountOrdersExportRequest {
|
|
9459
9480
|
readonly discriminator: 'account_orders_export_request';
|
|
9460
9481
|
readonly event_id: string;
|
|
@@ -9478,20 +9499,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9478
9499
|
readonly transaction_created_on_or_before?: string;
|
|
9479
9500
|
readonly transaction_created_before?: string;
|
|
9480
9501
|
}
|
|
9481
|
-
interface AccountPostForm {
|
|
9482
|
-
readonly timezone: string;
|
|
9483
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9484
|
-
readonly payment_conditions?: string;
|
|
9485
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
9486
|
-
readonly center_key?: string;
|
|
9487
|
-
}
|
|
9488
|
-
interface AccountPutForm {
|
|
9489
|
-
readonly timezone: string;
|
|
9490
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
9491
|
-
readonly payment_conditions?: string;
|
|
9492
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
9493
|
-
readonly center_key?: string;
|
|
9494
|
-
}
|
|
9495
9502
|
interface AccountReference {
|
|
9496
9503
|
readonly id: string;
|
|
9497
9504
|
readonly currency: string;
|
|
@@ -9967,6 +9974,26 @@ declare namespace io.flow.internal.v0.models {
|
|
|
9967
9974
|
readonly organization: string;
|
|
9968
9975
|
readonly bank_payment: io.flow.internal.v0.models.BankPayment;
|
|
9969
9976
|
}
|
|
9977
|
+
interface BillableLabel {
|
|
9978
|
+
readonly id: string;
|
|
9979
|
+
readonly tracking_label: io.flow.internal.v0.models.TrackingLabelReference;
|
|
9980
|
+
readonly order_number?: string;
|
|
9981
|
+
readonly cost: io.flow.common.v0.models.Money;
|
|
9982
|
+
}
|
|
9983
|
+
interface BillableLabelDeleted {
|
|
9984
|
+
readonly discriminator: 'billable_label_deleted';
|
|
9985
|
+
readonly event_id: string;
|
|
9986
|
+
readonly timestamp: string;
|
|
9987
|
+
readonly organization: string;
|
|
9988
|
+
readonly id: string;
|
|
9989
|
+
}
|
|
9990
|
+
interface BillableLabelUpserted {
|
|
9991
|
+
readonly discriminator: 'billable_label_upserted';
|
|
9992
|
+
readonly event_id: string;
|
|
9993
|
+
readonly timestamp: string;
|
|
9994
|
+
readonly organization: string;
|
|
9995
|
+
readonly billable_label: io.flow.internal.v0.models.BillableLabel;
|
|
9996
|
+
}
|
|
9970
9997
|
interface BillingAuthorizationReference {
|
|
9971
9998
|
readonly id: string;
|
|
9972
9999
|
}
|
|
@@ -10055,6 +10082,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10055
10082
|
}
|
|
10056
10083
|
interface BillingStatementBatch {
|
|
10057
10084
|
readonly id: string;
|
|
10085
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
10058
10086
|
}
|
|
10059
10087
|
interface BillingStatementDeleted {
|
|
10060
10088
|
readonly discriminator: 'billing_statement_deleted';
|
|
@@ -10380,6 +10408,33 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10380
10408
|
readonly discriminator: 'change_settings_index_task';
|
|
10381
10409
|
readonly name: string;
|
|
10382
10410
|
}
|
|
10411
|
+
interface ChannelCurrencySetting {
|
|
10412
|
+
readonly id: string;
|
|
10413
|
+
readonly channel_id: string;
|
|
10414
|
+
readonly base: string;
|
|
10415
|
+
readonly target: string;
|
|
10416
|
+
readonly margin: number;
|
|
10417
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
10418
|
+
}
|
|
10419
|
+
interface ChannelCurrencySettingDeleted {
|
|
10420
|
+
readonly discriminator: 'channel_currency_setting_deleted';
|
|
10421
|
+
readonly event_id: string;
|
|
10422
|
+
readonly timestamp: string;
|
|
10423
|
+
readonly id: string;
|
|
10424
|
+
}
|
|
10425
|
+
interface ChannelCurrencySettingForm {
|
|
10426
|
+
readonly channel_id: string;
|
|
10427
|
+
readonly base: string;
|
|
10428
|
+
readonly target: string;
|
|
10429
|
+
readonly margin: number;
|
|
10430
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
10431
|
+
}
|
|
10432
|
+
interface ChannelCurrencySettingUpserted {
|
|
10433
|
+
readonly discriminator: 'channel_currency_setting_upserted';
|
|
10434
|
+
readonly event_id: string;
|
|
10435
|
+
readonly timestamp: string;
|
|
10436
|
+
readonly channel_currency_setting: io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
10437
|
+
}
|
|
10383
10438
|
interface ChannelServiceFee {
|
|
10384
10439
|
readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
|
|
10385
10440
|
}
|
|
@@ -12088,10 +12143,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12088
12143
|
interface Classification {
|
|
12089
12144
|
readonly discriminator: 'classification';
|
|
12090
12145
|
readonly product_id: string;
|
|
12091
|
-
readonly description
|
|
12146
|
+
readonly description?: string;
|
|
12092
12147
|
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
12093
|
-
readonly images:
|
|
12148
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
12094
12149
|
readonly categories: string[];
|
|
12150
|
+
readonly model_id?: string;
|
|
12095
12151
|
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
12096
12152
|
readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
12097
12153
|
readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
|
|
@@ -13078,6 +13134,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13078
13134
|
interface Fees {
|
|
13079
13135
|
readonly processing: io.flow.internal.v0.models.Fee;
|
|
13080
13136
|
readonly rate_lock: io.flow.internal.v0.models.Fee;
|
|
13137
|
+
readonly fx_conversion?: io.flow.internal.v0.models.Fee;
|
|
13081
13138
|
}
|
|
13082
13139
|
interface FiservAccount {
|
|
13083
13140
|
readonly discriminator: 'fiserv_account';
|
|
@@ -13147,39 +13204,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13147
13204
|
readonly country: string;
|
|
13148
13205
|
readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
|
|
13149
13206
|
}
|
|
13150
|
-
interface FlowCurrencySetting {
|
|
13151
|
-
readonly id: string;
|
|
13152
|
-
readonly organization: string;
|
|
13153
|
-
readonly base: string;
|
|
13154
|
-
readonly target: string;
|
|
13155
|
-
readonly margin: number;
|
|
13156
|
-
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
13157
|
-
}
|
|
13158
|
-
interface FlowCurrencySettingDeleted {
|
|
13159
|
-
readonly discriminator: 'flow_currency_setting_deleted';
|
|
13160
|
-
readonly event_id: string;
|
|
13161
|
-
readonly timestamp: string;
|
|
13162
|
-
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
13163
|
-
}
|
|
13164
|
-
interface FlowCurrencySettingForm {
|
|
13165
|
-
readonly organization: string;
|
|
13166
|
-
readonly base: string;
|
|
13167
|
-
readonly target: string;
|
|
13168
|
-
readonly margin: number;
|
|
13169
|
-
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
13170
|
-
}
|
|
13171
|
-
interface FlowCurrencySettingUpserted {
|
|
13172
|
-
readonly discriminator: 'flow_currency_setting_upserted';
|
|
13173
|
-
readonly event_id: string;
|
|
13174
|
-
readonly timestamp: string;
|
|
13175
|
-
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
13176
|
-
}
|
|
13177
|
-
interface FlowCurrencySettingVersion {
|
|
13178
|
-
readonly id: string;
|
|
13179
|
-
readonly timestamp: string;
|
|
13180
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
13181
|
-
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
13182
|
-
}
|
|
13183
13207
|
interface FlowLabProject {
|
|
13184
13208
|
readonly id: string;
|
|
13185
13209
|
readonly key: string;
|
|
@@ -15374,6 +15398,39 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15374
15398
|
readonly timestamp: string;
|
|
15375
15399
|
readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
15376
15400
|
}
|
|
15401
|
+
interface OrganizationCurrencySetting {
|
|
15402
|
+
readonly id: string;
|
|
15403
|
+
readonly organization: string;
|
|
15404
|
+
readonly base: string;
|
|
15405
|
+
readonly target: string;
|
|
15406
|
+
readonly margin: number;
|
|
15407
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
15408
|
+
}
|
|
15409
|
+
interface OrganizationCurrencySettingDeleted {
|
|
15410
|
+
readonly discriminator: 'organization_currency_setting_deleted';
|
|
15411
|
+
readonly event_id: string;
|
|
15412
|
+
readonly timestamp: string;
|
|
15413
|
+
readonly id: string;
|
|
15414
|
+
}
|
|
15415
|
+
interface OrganizationCurrencySettingForm {
|
|
15416
|
+
readonly organization: string;
|
|
15417
|
+
readonly base: string;
|
|
15418
|
+
readonly target: string;
|
|
15419
|
+
readonly margin: number;
|
|
15420
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
15421
|
+
}
|
|
15422
|
+
interface OrganizationCurrencySettingUpserted {
|
|
15423
|
+
readonly discriminator: 'organization_currency_setting_upserted';
|
|
15424
|
+
readonly event_id: string;
|
|
15425
|
+
readonly timestamp: string;
|
|
15426
|
+
readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting;
|
|
15427
|
+
}
|
|
15428
|
+
interface OrganizationCurrencySettingVersion {
|
|
15429
|
+
readonly id: string;
|
|
15430
|
+
readonly timestamp: string;
|
|
15431
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
15432
|
+
readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting;
|
|
15433
|
+
}
|
|
15377
15434
|
interface OrganizationMembershipCopy {
|
|
15378
15435
|
readonly from: string;
|
|
15379
15436
|
readonly to: string;
|
|
@@ -15796,6 +15853,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15796
15853
|
readonly primary_identifier?: string;
|
|
15797
15854
|
readonly payment_method: string;
|
|
15798
15855
|
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
15856
|
+
readonly original_base_at_spot_rate?: io.flow.common.v0.models.Price;
|
|
15799
15857
|
readonly fees: io.flow.internal.v0.models.Fees;
|
|
15800
15858
|
readonly components?: io.flow.internal.v0.models.Components;
|
|
15801
15859
|
readonly withholdings: io.flow.internal.v0.models.Components;
|
|
@@ -17148,6 +17206,9 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17148
17206
|
readonly organization: string;
|
|
17149
17207
|
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
17150
17208
|
}
|
|
17209
|
+
interface TrackingLabelReference {
|
|
17210
|
+
readonly id: string;
|
|
17211
|
+
}
|
|
17151
17212
|
interface TrackingLabelUpserted {
|
|
17152
17213
|
readonly discriminator: 'tracking_label_upserted';
|
|
17153
17214
|
readonly event_id: string;
|
|
@@ -17468,7 +17529,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17468
17529
|
type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.ContentLabel | io.flow.internal.v0.models.Load;
|
|
17469
17530
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
17470
17531
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
17471
|
-
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountDeleted | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.FlowCurrencySettingUpserted | io.flow.internal.v0.models.FlowCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
17532
|
+
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.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
17472
17533
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
17473
17534
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
17474
17535
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -17529,9 +17590,8 @@ export declare type AccountContactUpserted = io.flow.internal.v0.models.AccountC
|
|
|
17529
17590
|
export declare type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
|
|
17530
17591
|
export declare type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
17531
17592
|
export declare type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
17593
|
+
export declare type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
17532
17594
|
export declare type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
17533
|
-
export declare type AccountPostForm = io.flow.internal.v0.models.AccountPostForm;
|
|
17534
|
-
export declare type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
|
|
17535
17595
|
export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
17536
17596
|
export declare type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
17537
17597
|
export declare type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
@@ -17609,6 +17669,9 @@ export declare type BankPayment = io.flow.internal.v0.models.BankPayment;
|
|
|
17609
17669
|
export declare type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
|
|
17610
17670
|
export declare type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
|
|
17611
17671
|
export declare type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
|
|
17672
|
+
export declare type BillableLabel = io.flow.internal.v0.models.BillableLabel;
|
|
17673
|
+
export declare type BillableLabelDeleted = io.flow.internal.v0.models.BillableLabelDeleted;
|
|
17674
|
+
export declare type BillableLabelUpserted = io.flow.internal.v0.models.BillableLabelUpserted;
|
|
17612
17675
|
export declare type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey;
|
|
17613
17676
|
export declare type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference;
|
|
17614
17677
|
export declare type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
@@ -17698,6 +17761,10 @@ export declare type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.mo
|
|
|
17698
17761
|
export declare type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
|
|
17699
17762
|
export declare type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
|
|
17700
17763
|
export declare type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
|
|
17764
|
+
export declare type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
17765
|
+
export declare type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
|
|
17766
|
+
export declare type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
|
|
17767
|
+
export declare type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
|
|
17701
17768
|
export declare type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
|
|
17702
17769
|
export declare type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
|
|
17703
17770
|
export declare type Chargeback = io.flow.internal.v0.models.Chargeback;
|
|
@@ -18424,11 +18491,6 @@ export declare type FiservMerchant = io.flow.internal.v0.models.FiservMerchant;
|
|
|
18424
18491
|
export declare type FiservMerchantModificationForm = io.flow.internal.v0.models.FiservMerchantModificationForm;
|
|
18425
18492
|
export declare type FiservMerchantPutForm = io.flow.internal.v0.models.FiservMerchantPutForm;
|
|
18426
18493
|
export declare type FlowApp = io.flow.internal.v0.enums.FlowApp;
|
|
18427
|
-
export declare type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
|
|
18428
|
-
export declare type FlowCurrencySettingDeleted = io.flow.internal.v0.models.FlowCurrencySettingDeleted;
|
|
18429
|
-
export declare type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
|
|
18430
|
-
export declare type FlowCurrencySettingUpserted = io.flow.internal.v0.models.FlowCurrencySettingUpserted;
|
|
18431
|
-
export declare type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
|
|
18432
18494
|
export declare type FlowLabProject = io.flow.internal.v0.models.FlowLabProject;
|
|
18433
18495
|
export declare type FlowLabProjectPostForm = io.flow.internal.v0.models.FlowLabProjectPostForm;
|
|
18434
18496
|
export declare type FlowLabProjectPutForm = io.flow.internal.v0.models.FlowLabProjectPutForm;
|
|
@@ -18783,6 +18845,11 @@ export declare type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmis
|
|
|
18783
18845
|
export declare type OrganizationBooleanValue = io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
18784
18846
|
export declare type OrganizationBooleanValueDeleted = io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
|
|
18785
18847
|
export declare type OrganizationBooleanValueUpserted = io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
|
|
18848
|
+
export declare type OrganizationCurrencySetting = io.flow.internal.v0.models.OrganizationCurrencySetting;
|
|
18849
|
+
export declare type OrganizationCurrencySettingDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingDeleted;
|
|
18850
|
+
export declare type OrganizationCurrencySettingForm = io.flow.internal.v0.models.OrganizationCurrencySettingForm;
|
|
18851
|
+
export declare type OrganizationCurrencySettingUpserted = io.flow.internal.v0.models.OrganizationCurrencySettingUpserted;
|
|
18852
|
+
export declare type OrganizationCurrencySettingVersion = io.flow.internal.v0.models.OrganizationCurrencySettingVersion;
|
|
18786
18853
|
export declare type OrganizationMembershipCopy = io.flow.internal.v0.models.OrganizationMembershipCopy;
|
|
18787
18854
|
export declare type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
|
|
18788
18855
|
export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
|
|
@@ -19126,6 +19193,7 @@ export declare type TrackingIntegrationType = io.flow.internal.v0.enums.Tracking
|
|
|
19126
19193
|
export declare type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted;
|
|
19127
19194
|
export declare type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2;
|
|
19128
19195
|
export declare type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2;
|
|
19196
|
+
export declare type TrackingLabelReference = io.flow.internal.v0.models.TrackingLabelReference;
|
|
19129
19197
|
export declare type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted;
|
|
19130
19198
|
export declare type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
|
|
19131
19199
|
export declare type TrackingRequestUpserted = io.flow.internal.v0.models.TrackingRequestUpserted;
|
package/dist/api.d.ts
CHANGED
|
@@ -1638,6 +1638,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
1638
1638
|
}
|
|
1639
1639
|
}
|
|
1640
1640
|
declare namespace io.flow.v0.enums {
|
|
1641
|
+
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
1641
1642
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
1642
1643
|
type AddressFieldName = 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number';
|
|
1643
1644
|
type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis';
|
|
@@ -1675,7 +1676,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1675
1676
|
type DayOfWeek = 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
1676
1677
|
type DeliveredDuty = 'paid' | 'unpaid';
|
|
1677
1678
|
type DeliveredDutyDisplayType = 'all' | 'single';
|
|
1678
|
-
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
1679
|
+
type DeliveryOptionCostDetailComponentKey = 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'ratecard_duties_taxes_paid_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee';
|
|
1679
1680
|
type DeliveryOptionCostDetailSource = 'center' | 'ratecard';
|
|
1680
1681
|
type DeliveryWindowComponentSource = 'flow' | 'organization' | 'carrier' | 'center' | 'mixed';
|
|
1681
1682
|
type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer';
|
|
@@ -1736,7 +1737,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1736
1737
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
1737
1738
|
type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed';
|
|
1738
1739
|
type OrderPaymentType = 'card' | 'online' | 'credit' | 'subsidized' | 'installment_plan' | 'cash_on_delivery';
|
|
1739
|
-
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge';
|
|
1740
|
+
type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge';
|
|
1740
1741
|
type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
|
|
1741
1742
|
type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping';
|
|
1742
1743
|
type OrderRefundSummaryPartialCharged = 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage';
|
|
@@ -1822,6 +1823,25 @@ declare namespace io.flow.v0.models {
|
|
|
1822
1823
|
readonly delay: io.flow.v0.models.Duration;
|
|
1823
1824
|
readonly frequency: io.flow.v0.models.Duration;
|
|
1824
1825
|
}
|
|
1826
|
+
interface AbandonedOrderPromotion {
|
|
1827
|
+
readonly id: string;
|
|
1828
|
+
readonly name: string;
|
|
1829
|
+
readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
1830
|
+
readonly status: io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
1831
|
+
readonly starts_at?: string;
|
|
1832
|
+
readonly ends_at?: string;
|
|
1833
|
+
}
|
|
1834
|
+
interface AbandonedOrderPromotionDiscountDetails {
|
|
1835
|
+
readonly discriminator: 'abandoned_order_promotion_discount_details';
|
|
1836
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
1837
|
+
}
|
|
1838
|
+
interface AbandonedOrderPromotionForm {
|
|
1839
|
+
readonly name: string;
|
|
1840
|
+
readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
1841
|
+
readonly status?: io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
1842
|
+
readonly starts_at?: string;
|
|
1843
|
+
readonly ends_at?: string;
|
|
1844
|
+
}
|
|
1825
1845
|
interface AbandonedOrderSettings {
|
|
1826
1846
|
readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
1827
1847
|
readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
@@ -3782,6 +3802,18 @@ declare namespace io.flow.v0.models {
|
|
|
3782
3802
|
readonly unit: io.flow.v0.enums.UnitOfTime;
|
|
3783
3803
|
readonly value: number;
|
|
3784
3804
|
}
|
|
3805
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
3806
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
3807
|
+
readonly amount: io.flow.v0.models.Money;
|
|
3808
|
+
readonly starts_at?: string;
|
|
3809
|
+
readonly ends_at?: string;
|
|
3810
|
+
}
|
|
3811
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
3812
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
3813
|
+
readonly amount: io.flow.v0.models.Money;
|
|
3814
|
+
readonly starts_at?: string;
|
|
3815
|
+
readonly ends_at?: string;
|
|
3816
|
+
}
|
|
3785
3817
|
interface Duty {
|
|
3786
3818
|
readonly rate: number;
|
|
3787
3819
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
@@ -3848,6 +3880,11 @@ declare namespace io.flow.v0.models {
|
|
|
3848
3880
|
readonly organization: string;
|
|
3849
3881
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
3850
3882
|
}
|
|
3883
|
+
interface EmailAbandonedOrderPromotion {
|
|
3884
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
3885
|
+
readonly short_label?: string;
|
|
3886
|
+
readonly long_label?: string;
|
|
3887
|
+
}
|
|
3851
3888
|
interface EmailAbandonedOrderUrls {
|
|
3852
3889
|
readonly checkout: string;
|
|
3853
3890
|
}
|
|
@@ -3861,6 +3898,7 @@ declare namespace io.flow.v0.models {
|
|
|
3861
3898
|
readonly discriminator: 'abandoned_order';
|
|
3862
3899
|
readonly order: io.flow.v0.models.OrderSummary;
|
|
3863
3900
|
readonly urls: io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
3901
|
+
readonly promotions?: io.flow.v0.models.EmailAbandonedOrderPromotion[];
|
|
3864
3902
|
}
|
|
3865
3903
|
interface EmailNotificationDataRefund {
|
|
3866
3904
|
readonly discriminator: 'refund';
|
|
@@ -6697,6 +6735,7 @@ declare namespace io.flow.v0.models {
|
|
|
6697
6735
|
readonly reference?: string;
|
|
6698
6736
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
6699
6737
|
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
6738
|
+
readonly capture_delay_hours?: number;
|
|
6700
6739
|
}
|
|
6701
6740
|
interface PaymentRequestForm {
|
|
6702
6741
|
readonly amount: number;
|
|
@@ -6709,6 +6748,7 @@ declare namespace io.flow.v0.models {
|
|
|
6709
6748
|
readonly reference?: string;
|
|
6710
6749
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
6711
6750
|
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
6751
|
+
readonly capture_delay_hours?: number;
|
|
6712
6752
|
}
|
|
6713
6753
|
interface PaymentRequestReference {
|
|
6714
6754
|
readonly id: string;
|
|
@@ -9098,6 +9138,7 @@ declare namespace io.flow.v0.models {
|
|
|
9098
9138
|
}
|
|
9099
9139
|
}
|
|
9100
9140
|
declare namespace io.flow.v0.unions {
|
|
9141
|
+
type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
9101
9142
|
type Action = io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.ActionExecuteScript | io.flow.v0.models.ActionDisplayInlineWindow | io.flow.v0.models.ActionWait;
|
|
9102
9143
|
type AdyenNativeData = io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData;
|
|
9103
9144
|
type AllocationComponent = io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent;
|
|
@@ -9171,12 +9212,12 @@ declare namespace io.flow.v0.unions {
|
|
|
9171
9212
|
type QueryFilterForm = io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm;
|
|
9172
9213
|
type RatecardEstimate = io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2;
|
|
9173
9214
|
type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateFormV1 | io.flow.v0.models.RatecardEstimateFormV2;
|
|
9174
|
-
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee;
|
|
9215
|
+
type RatecardFee = io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizedShipmentRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee | io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
9175
9216
|
type RepeatSchedule = io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly;
|
|
9176
9217
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
9177
9218
|
type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
|
|
9178
9219
|
type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
|
|
9179
|
-
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
9220
|
+
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
9180
9221
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
9181
9222
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
9182
9223
|
type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
|
|
@@ -9192,6 +9233,11 @@ declare namespace io.flow.v0.unions {
|
|
|
9192
9233
|
type TokenReference = io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.PartnerTokenReference;
|
|
9193
9234
|
}
|
|
9194
9235
|
export declare type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
9236
|
+
export declare type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
|
|
9237
|
+
export declare type AbandonedOrderPromotionDetails = io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
9238
|
+
export declare type AbandonedOrderPromotionDiscountDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
9239
|
+
export declare type AbandonedOrderPromotionForm = io.flow.v0.models.AbandonedOrderPromotionForm;
|
|
9240
|
+
export declare type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
9195
9241
|
export declare type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
9196
9242
|
export declare type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
9197
9243
|
export declare type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
@@ -9567,6 +9613,8 @@ export declare type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
|
9567
9613
|
export declare type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
9568
9614
|
export declare type Document = io.flow.v0.unions.Document;
|
|
9569
9615
|
export declare type Duration = io.flow.v0.models.Duration;
|
|
9616
|
+
export declare type DutiesTaxesPaidSurchargeRatecardFee = io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
9617
|
+
export declare type DutiesTaxesPaidSurchargeServiceFee = io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
9570
9618
|
export declare type Duty = io.flow.v0.models.Duty;
|
|
9571
9619
|
export declare type DutyItem = io.flow.v0.models.DutyItem;
|
|
9572
9620
|
export declare type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
|
|
@@ -9580,6 +9628,7 @@ export declare type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformF
|
|
|
9580
9628
|
export declare type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
9581
9629
|
export declare type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
9582
9630
|
export declare type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
9631
|
+
export declare type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
9583
9632
|
export declare type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
9584
9633
|
export declare type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
9585
9634
|
export declare type EmailNotificationAbandonedOrder = io.flow.v0.models.EmailNotificationAbandonedOrder;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.18",
|
|
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": "2d2b9cb303df32f4ee8b2a4f55c0a9828b97d234"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -286,7 +286,8 @@ declare namespace io.flow.order.price.v0.enums {
|
|
|
286
286
|
| 'remote_area_surcharge'
|
|
287
287
|
| 'fuel_surcharge'
|
|
288
288
|
| 'emergency_situation_surcharge'
|
|
289
|
-
| 'peak_surcharge'
|
|
289
|
+
| 'peak_surcharge'
|
|
290
|
+
| 'duties_taxes_paid_surcharge';
|
|
290
291
|
type OrderPriceDetailKey =
|
|
291
292
|
| 'adjustment'
|
|
292
293
|
| 'subtotal'
|
|
@@ -1953,6 +1954,20 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1953
1954
|
readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
|
|
1954
1955
|
}
|
|
1955
1956
|
|
|
1957
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
1958
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
1959
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1960
|
+
readonly starts_at?: string;
|
|
1961
|
+
readonly ends_at?: string;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
1965
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
1966
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1967
|
+
readonly starts_at?: string;
|
|
1968
|
+
readonly ends_at?: string;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1956
1971
|
interface EmergencySituationSurchargeRatecardFee {
|
|
1957
1972
|
readonly discriminator: 'emergency_situation_surcharge_ratecard_fee';
|
|
1958
1973
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -2262,13 +2277,15 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
2262
2277
|
| io.flow.ratecard.v0.models.CrossdockRatecardFee
|
|
2263
2278
|
| io.flow.ratecard.v0.models.RemoteAreaRatecardFee
|
|
2264
2279
|
| io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee
|
|
2265
|
-
| io.flow.ratecard.v0.models.PeakSurchargeRatecardFee
|
|
2280
|
+
| io.flow.ratecard.v0.models.PeakSurchargeRatecardFee
|
|
2281
|
+
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
2266
2282
|
type ServiceFee =
|
|
2267
2283
|
| io.flow.ratecard.v0.models.FuelSurchargeServiceFee
|
|
2268
2284
|
| io.flow.ratecard.v0.models.RemoteAreaServiceFee
|
|
2269
2285
|
| io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
|
|
2270
2286
|
| io.flow.ratecard.v0.models.PeakSurchargeServiceFee
|
|
2271
|
-
| io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
|
|
2287
|
+
| io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee
|
|
2288
|
+
| io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
2272
2289
|
}
|
|
2273
2290
|
|
|
2274
2291
|
declare namespace io.flow.error.v0.enums {
|
|
@@ -9288,6 +9305,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9288
9305
|
readonly reference?: string;
|
|
9289
9306
|
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
9290
9307
|
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9308
|
+
readonly capture_delay_hours?: number;
|
|
9291
9309
|
}
|
|
9292
9310
|
|
|
9293
9311
|
interface PaymentRequestForm {
|
|
@@ -9301,6 +9319,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9301
9319
|
readonly reference?: string;
|
|
9302
9320
|
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
9303
9321
|
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9322
|
+
readonly capture_delay_hours?: number;
|
|
9304
9323
|
}
|
|
9305
9324
|
|
|
9306
9325
|
interface PaymentRequestReference {
|
|
@@ -9604,9 +9623,9 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
9604
9623
|
}
|
|
9605
9624
|
|
|
9606
9625
|
interface ErrorResponse {
|
|
9607
|
-
readonly type
|
|
9608
|
-
readonly code
|
|
9609
|
-
readonly param
|
|
9626
|
+
readonly type?: io.flow.crypto.v0.enums.ErrorType;
|
|
9627
|
+
readonly code?: string;
|
|
9628
|
+
readonly param?: string;
|
|
9610
9629
|
}
|
|
9611
9630
|
|
|
9612
9631
|
interface Payment {
|
|
@@ -10792,6 +10811,7 @@ declare namespace io.flow.fulfillment.v0.enums {
|
|
|
10792
10811
|
| 'ratecard_rural_shipment_fee'
|
|
10793
10812
|
| 'ratecard_emergency_situation_surcharge_fee'
|
|
10794
10813
|
| 'ratecard_peak_surcharge_fee'
|
|
10814
|
+
| 'ratecard_duties_taxes_paid_surcharge_fee'
|
|
10795
10815
|
| 'center_commercial_invoice_fee'
|
|
10796
10816
|
| 'center_inbound_carton_fee'
|
|
10797
10817
|
| 'center_outbound_carton_fee';
|
|
@@ -12010,7 +12030,11 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12010
12030
|
| 'manual'
|
|
12011
12031
|
| 'orders'
|
|
12012
12032
|
| 'all';
|
|
12013
|
-
type BillingStatementBatchFileKey =
|
|
12033
|
+
type BillingStatementBatchFileKey =
|
|
12034
|
+
| 'archive'
|
|
12035
|
+
| 'fx_transactions'
|
|
12036
|
+
| 'summary'
|
|
12037
|
+
| 'label_transactions';
|
|
12014
12038
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
12015
12039
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
12016
12040
|
type BillingTransactionType =
|
|
@@ -12133,27 +12157,19 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12133
12157
|
type CheckoutInfoAddressPredictionsKeyField = 'input';
|
|
12134
12158
|
type CheckoutInfoContentKeyField = 'locale';
|
|
12135
12159
|
type CheckoutInfoDeliveriesFormDataKeyField =
|
|
12136
|
-
| 'value'
|
|
12137
|
-
| 'currency'
|
|
12138
|
-
| 'country'
|
|
12139
12160
|
| 'lines'
|
|
12140
12161
|
| 'shipping_country'
|
|
12141
12162
|
| 'shipping_province'
|
|
12142
|
-
| 'shipping_postal'
|
|
12163
|
+
| 'shipping_postal'
|
|
12164
|
+
| 'discount';
|
|
12143
12165
|
type CheckoutInfoNationalIdNumberConfigurationFormDataKeyField = 'shipping_country';
|
|
12144
12166
|
type CheckoutInfoOrderSummaryKeyField =
|
|
12145
12167
|
| 'shipping_country'
|
|
12146
12168
|
| 'shipping_province'
|
|
12147
12169
|
| 'shipping_postal'
|
|
12148
12170
|
| 'delivery_option_id';
|
|
12149
|
-
type CheckoutInfoPaymentDetailsKeyField =
|
|
12150
|
-
|
|
12151
|
-
| 'currency'
|
|
12152
|
-
| 'payment_method_id';
|
|
12153
|
-
type CheckoutInfoPaymentsFormDataKeyField =
|
|
12154
|
-
| 'value'
|
|
12155
|
-
| 'currency'
|
|
12156
|
-
| 'shipping_country';
|
|
12171
|
+
type CheckoutInfoPaymentDetailsKeyField = 'balance' | 'payment_method_id';
|
|
12172
|
+
type CheckoutInfoPaymentsFormDataKeyField = 'balance' | 'shipping_country';
|
|
12157
12173
|
type CheckoutInfoTranslationsKeyField = 'language';
|
|
12158
12174
|
type CheckoutInitiatePaymentErrorCode =
|
|
12159
12175
|
| 'payment_failed'
|
|
@@ -12364,6 +12380,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12364
12380
|
| 'adyen_capture_upserted'
|
|
12365
12381
|
| 'adyen_refund_deleted'
|
|
12366
12382
|
| 'adyen_refund_upserted'
|
|
12383
|
+
| 'billable_label_upserted'
|
|
12384
|
+
| 'billable_label_deleted'
|
|
12367
12385
|
| 'account_upserted'
|
|
12368
12386
|
| 'account_deleted'
|
|
12369
12387
|
| 'account_contact_upserted'
|
|
@@ -12402,8 +12420,10 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12402
12420
|
| 'spot_rate_upserted'
|
|
12403
12421
|
| 'rate_deleted_v2'
|
|
12404
12422
|
| 'rate_upserted_v2'
|
|
12405
|
-
| '
|
|
12406
|
-
| '
|
|
12423
|
+
| 'organization_currency_setting_upserted'
|
|
12424
|
+
| 'organization_currency_setting_deleted'
|
|
12425
|
+
| 'channel_currency_setting_upserted'
|
|
12426
|
+
| 'channel_currency_setting_deleted'
|
|
12407
12427
|
| 'customer_purge_upserted'
|
|
12408
12428
|
| 'customs_description_import'
|
|
12409
12429
|
| 'customs_description_tariffs_import'
|
|
@@ -12869,6 +12889,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12869
12889
|
readonly rate: number;
|
|
12870
12890
|
}
|
|
12871
12891
|
|
|
12892
|
+
interface AccountForm {
|
|
12893
|
+
readonly timezone: string;
|
|
12894
|
+
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12895
|
+
readonly payment_conditions?: string;
|
|
12896
|
+
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
12897
|
+
readonly center_key?: string;
|
|
12898
|
+
}
|
|
12899
|
+
|
|
12872
12900
|
interface AccountOrdersExportRequest {
|
|
12873
12901
|
readonly discriminator: 'account_orders_export_request';
|
|
12874
12902
|
readonly event_id: string;
|
|
@@ -12893,22 +12921,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12893
12921
|
readonly transaction_created_before?: string;
|
|
12894
12922
|
}
|
|
12895
12923
|
|
|
12896
|
-
interface AccountPostForm {
|
|
12897
|
-
readonly timezone: string;
|
|
12898
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12899
|
-
readonly payment_conditions?: string;
|
|
12900
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
12901
|
-
readonly center_key?: string;
|
|
12902
|
-
}
|
|
12903
|
-
|
|
12904
|
-
interface AccountPutForm {
|
|
12905
|
-
readonly timezone: string;
|
|
12906
|
-
readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule;
|
|
12907
|
-
readonly payment_conditions?: string;
|
|
12908
|
-
readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
12909
|
-
readonly center_key?: string;
|
|
12910
|
-
}
|
|
12911
|
-
|
|
12912
12924
|
interface AccountReference {
|
|
12913
12925
|
readonly id: string;
|
|
12914
12926
|
readonly currency: string;
|
|
@@ -13457,6 +13469,29 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13457
13469
|
readonly bank_payment: io.flow.internal.v0.models.BankPayment;
|
|
13458
13470
|
}
|
|
13459
13471
|
|
|
13472
|
+
interface BillableLabel {
|
|
13473
|
+
readonly id: string;
|
|
13474
|
+
readonly tracking_label: io.flow.internal.v0.models.TrackingLabelReference;
|
|
13475
|
+
readonly order_number?: string;
|
|
13476
|
+
readonly cost: io.flow.common.v0.models.Money;
|
|
13477
|
+
}
|
|
13478
|
+
|
|
13479
|
+
interface BillableLabelDeleted {
|
|
13480
|
+
readonly discriminator: 'billable_label_deleted';
|
|
13481
|
+
readonly event_id: string;
|
|
13482
|
+
readonly timestamp: string;
|
|
13483
|
+
readonly organization: string;
|
|
13484
|
+
readonly id: string;
|
|
13485
|
+
}
|
|
13486
|
+
|
|
13487
|
+
interface BillableLabelUpserted {
|
|
13488
|
+
readonly discriminator: 'billable_label_upserted';
|
|
13489
|
+
readonly event_id: string;
|
|
13490
|
+
readonly timestamp: string;
|
|
13491
|
+
readonly organization: string;
|
|
13492
|
+
readonly billable_label: io.flow.internal.v0.models.BillableLabel;
|
|
13493
|
+
}
|
|
13494
|
+
|
|
13460
13495
|
interface BillingAuthorizationReference {
|
|
13461
13496
|
readonly id: string;
|
|
13462
13497
|
}
|
|
@@ -13559,6 +13594,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13559
13594
|
|
|
13560
13595
|
interface BillingStatementBatch {
|
|
13561
13596
|
readonly id: string;
|
|
13597
|
+
readonly period: io.flow.common.v0.models.DatetimeRange;
|
|
13562
13598
|
}
|
|
13563
13599
|
|
|
13564
13600
|
interface BillingStatementDeleted {
|
|
@@ -13946,6 +13982,37 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13946
13982
|
readonly name: string;
|
|
13947
13983
|
}
|
|
13948
13984
|
|
|
13985
|
+
interface ChannelCurrencySetting {
|
|
13986
|
+
readonly id: string;
|
|
13987
|
+
readonly channel_id: string;
|
|
13988
|
+
readonly base: string;
|
|
13989
|
+
readonly target: string;
|
|
13990
|
+
readonly margin: number;
|
|
13991
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
13992
|
+
}
|
|
13993
|
+
|
|
13994
|
+
interface ChannelCurrencySettingDeleted {
|
|
13995
|
+
readonly discriminator: 'channel_currency_setting_deleted';
|
|
13996
|
+
readonly event_id: string;
|
|
13997
|
+
readonly timestamp: string;
|
|
13998
|
+
readonly id: string;
|
|
13999
|
+
}
|
|
14000
|
+
|
|
14001
|
+
interface ChannelCurrencySettingForm {
|
|
14002
|
+
readonly channel_id: string;
|
|
14003
|
+
readonly base: string;
|
|
14004
|
+
readonly target: string;
|
|
14005
|
+
readonly margin: number;
|
|
14006
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
14007
|
+
}
|
|
14008
|
+
|
|
14009
|
+
interface ChannelCurrencySettingUpserted {
|
|
14010
|
+
readonly discriminator: 'channel_currency_setting_upserted';
|
|
14011
|
+
readonly event_id: string;
|
|
14012
|
+
readonly timestamp: string;
|
|
14013
|
+
readonly channel_currency_setting: io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
14014
|
+
}
|
|
14015
|
+
|
|
13949
14016
|
interface ChannelServiceFee {
|
|
13950
14017
|
readonly tiers: io.flow.internal.v0.models.ChannelServiceFeeTier[];
|
|
13951
14018
|
}
|
|
@@ -16028,10 +16095,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16028
16095
|
interface Classification {
|
|
16029
16096
|
readonly discriminator: 'classification';
|
|
16030
16097
|
readonly product_id: string;
|
|
16031
|
-
readonly description
|
|
16098
|
+
readonly description?: string;
|
|
16032
16099
|
readonly items: io.flow.common.v0.models.CatalogItemSummary[];
|
|
16033
|
-
readonly images:
|
|
16100
|
+
readonly images: io.flow.catalog.v0.models.Image[];
|
|
16034
16101
|
readonly categories: string[];
|
|
16102
|
+
readonly model_id?: string;
|
|
16035
16103
|
readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization;
|
|
16036
16104
|
readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
|
|
16037
16105
|
readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction;
|
|
@@ -17187,6 +17255,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17187
17255
|
interface Fees {
|
|
17188
17256
|
readonly processing: io.flow.internal.v0.models.Fee;
|
|
17189
17257
|
readonly rate_lock: io.flow.internal.v0.models.Fee;
|
|
17258
|
+
readonly fx_conversion?: io.flow.internal.v0.models.Fee;
|
|
17190
17259
|
}
|
|
17191
17260
|
|
|
17192
17261
|
interface FiservAccount {
|
|
@@ -17266,44 +17335,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17266
17335
|
readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus;
|
|
17267
17336
|
}
|
|
17268
17337
|
|
|
17269
|
-
interface FlowCurrencySetting {
|
|
17270
|
-
readonly id: string;
|
|
17271
|
-
readonly organization: string;
|
|
17272
|
-
readonly base: string;
|
|
17273
|
-
readonly target: string;
|
|
17274
|
-
readonly margin: number;
|
|
17275
|
-
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
17276
|
-
}
|
|
17277
|
-
|
|
17278
|
-
interface FlowCurrencySettingDeleted {
|
|
17279
|
-
readonly discriminator: 'flow_currency_setting_deleted';
|
|
17280
|
-
readonly event_id: string;
|
|
17281
|
-
readonly timestamp: string;
|
|
17282
|
-
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
17283
|
-
}
|
|
17284
|
-
|
|
17285
|
-
interface FlowCurrencySettingForm {
|
|
17286
|
-
readonly organization: string;
|
|
17287
|
-
readonly base: string;
|
|
17288
|
-
readonly target: string;
|
|
17289
|
-
readonly margin: number;
|
|
17290
|
-
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
17291
|
-
}
|
|
17292
|
-
|
|
17293
|
-
interface FlowCurrencySettingUpserted {
|
|
17294
|
-
readonly discriminator: 'flow_currency_setting_upserted';
|
|
17295
|
-
readonly event_id: string;
|
|
17296
|
-
readonly timestamp: string;
|
|
17297
|
-
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
17298
|
-
}
|
|
17299
|
-
|
|
17300
|
-
interface FlowCurrencySettingVersion {
|
|
17301
|
-
readonly id: string;
|
|
17302
|
-
readonly timestamp: string;
|
|
17303
|
-
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
17304
|
-
readonly flow_currency_setting: io.flow.internal.v0.models.FlowCurrencySetting;
|
|
17305
|
-
}
|
|
17306
|
-
|
|
17307
17338
|
interface FlowLabProject {
|
|
17308
17339
|
readonly id: string;
|
|
17309
17340
|
readonly key: string;
|
|
@@ -19808,6 +19839,44 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19808
19839
|
readonly value: io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
19809
19840
|
}
|
|
19810
19841
|
|
|
19842
|
+
interface OrganizationCurrencySetting {
|
|
19843
|
+
readonly id: string;
|
|
19844
|
+
readonly organization: string;
|
|
19845
|
+
readonly base: string;
|
|
19846
|
+
readonly target: string;
|
|
19847
|
+
readonly margin: number;
|
|
19848
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
19849
|
+
}
|
|
19850
|
+
|
|
19851
|
+
interface OrganizationCurrencySettingDeleted {
|
|
19852
|
+
readonly discriminator: 'organization_currency_setting_deleted';
|
|
19853
|
+
readonly event_id: string;
|
|
19854
|
+
readonly timestamp: string;
|
|
19855
|
+
readonly id: string;
|
|
19856
|
+
}
|
|
19857
|
+
|
|
19858
|
+
interface OrganizationCurrencySettingForm {
|
|
19859
|
+
readonly organization: string;
|
|
19860
|
+
readonly base: string;
|
|
19861
|
+
readonly target: string;
|
|
19862
|
+
readonly margin: number;
|
|
19863
|
+
readonly rate_lock: io.flow.common.v0.models.Duration;
|
|
19864
|
+
}
|
|
19865
|
+
|
|
19866
|
+
interface OrganizationCurrencySettingUpserted {
|
|
19867
|
+
readonly discriminator: 'organization_currency_setting_upserted';
|
|
19868
|
+
readonly event_id: string;
|
|
19869
|
+
readonly timestamp: string;
|
|
19870
|
+
readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting;
|
|
19871
|
+
}
|
|
19872
|
+
|
|
19873
|
+
interface OrganizationCurrencySettingVersion {
|
|
19874
|
+
readonly id: string;
|
|
19875
|
+
readonly timestamp: string;
|
|
19876
|
+
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
19877
|
+
readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting;
|
|
19878
|
+
}
|
|
19879
|
+
|
|
19811
19880
|
interface OrganizationMembershipCopy {
|
|
19812
19881
|
readonly from: string;
|
|
19813
19882
|
readonly to: string;
|
|
@@ -20292,6 +20361,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20292
20361
|
readonly primary_identifier?: string;
|
|
20293
20362
|
readonly payment_method: string;
|
|
20294
20363
|
readonly original: io.flow.common.v0.models.PriceWithBase;
|
|
20364
|
+
readonly original_base_at_spot_rate?: io.flow.common.v0.models.Price;
|
|
20295
20365
|
readonly fees: io.flow.internal.v0.models.Fees;
|
|
20296
20366
|
readonly components?: io.flow.internal.v0.models.Components;
|
|
20297
20367
|
readonly withholdings: io.flow.internal.v0.models.Components;
|
|
@@ -21859,6 +21929,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21859
21929
|
readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent;
|
|
21860
21930
|
}
|
|
21861
21931
|
|
|
21932
|
+
interface TrackingLabelReference {
|
|
21933
|
+
readonly id: string;
|
|
21934
|
+
}
|
|
21935
|
+
|
|
21862
21936
|
interface TrackingLabelUpserted {
|
|
21863
21937
|
readonly discriminator: 'tracking_label_upserted';
|
|
21864
21938
|
readonly event_id: string;
|
|
@@ -22486,6 +22560,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22486
22560
|
| io.flow.internal.v0.models.AdyenCaptureUpserted
|
|
22487
22561
|
| io.flow.internal.v0.models.AdyenRefundDeleted
|
|
22488
22562
|
| io.flow.internal.v0.models.AdyenRefundUpserted
|
|
22563
|
+
| io.flow.internal.v0.models.BillableLabelUpserted
|
|
22564
|
+
| io.flow.internal.v0.models.BillableLabelDeleted
|
|
22489
22565
|
| io.flow.internal.v0.models.AccountUpserted
|
|
22490
22566
|
| io.flow.internal.v0.models.AccountDeleted
|
|
22491
22567
|
| io.flow.internal.v0.models.AccountContactUpserted
|
|
@@ -22524,8 +22600,10 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22524
22600
|
| io.flow.internal.v0.models.SpotRateUpserted
|
|
22525
22601
|
| io.flow.internal.v0.models.RateDeletedV2
|
|
22526
22602
|
| io.flow.internal.v0.models.RateUpsertedV2
|
|
22527
|
-
| io.flow.internal.v0.models.
|
|
22528
|
-
| io.flow.internal.v0.models.
|
|
22603
|
+
| io.flow.internal.v0.models.OrganizationCurrencySettingUpserted
|
|
22604
|
+
| io.flow.internal.v0.models.OrganizationCurrencySettingDeleted
|
|
22605
|
+
| io.flow.internal.v0.models.ChannelCurrencySettingUpserted
|
|
22606
|
+
| io.flow.internal.v0.models.ChannelCurrencySettingDeleted
|
|
22529
22607
|
| io.flow.internal.v0.models.CustomerPurgeUpserted
|
|
22530
22608
|
| io.flow.internal.v0.models.CustomsDescriptionImport
|
|
22531
22609
|
| io.flow.internal.v0.models.CustomsDescriptionTariffsImport
|
|
@@ -22911,9 +22989,8 @@ export type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUp
|
|
|
22911
22989
|
export type AccountDeleted = io.flow.internal.v0.models.AccountDeleted;
|
|
22912
22990
|
export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule;
|
|
22913
22991
|
export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm;
|
|
22992
|
+
export type AccountForm = io.flow.internal.v0.models.AccountForm;
|
|
22914
22993
|
export type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest;
|
|
22915
|
-
export type AccountPostForm = io.flow.internal.v0.models.AccountPostForm;
|
|
22916
|
-
export type AccountPutForm = io.flow.internal.v0.models.AccountPutForm;
|
|
22917
22994
|
export type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
22918
22995
|
export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics;
|
|
22919
22996
|
export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest;
|
|
@@ -22991,6 +23068,9 @@ export type BankPayment = io.flow.internal.v0.models.BankPayment;
|
|
|
22991
23068
|
export type BankPaymentDeleted = io.flow.internal.v0.models.BankPaymentDeleted;
|
|
22992
23069
|
export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm;
|
|
22993
23070
|
export type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted;
|
|
23071
|
+
export type BillableLabel = io.flow.internal.v0.models.BillableLabel;
|
|
23072
|
+
export type BillableLabelDeleted = io.flow.internal.v0.models.BillableLabelDeleted;
|
|
23073
|
+
export type BillableLabelUpserted = io.flow.internal.v0.models.BillableLabelUpserted;
|
|
22994
23074
|
export type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey;
|
|
22995
23075
|
export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference;
|
|
22996
23076
|
export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary;
|
|
@@ -23080,6 +23160,10 @@ export type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.models.Cat
|
|
|
23080
23160
|
export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished;
|
|
23081
23161
|
export type CenterQueryBuilder = io.flow.internal.v0.models.CenterQueryBuilder;
|
|
23082
23162
|
export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask;
|
|
23163
|
+
export type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting;
|
|
23164
|
+
export type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted;
|
|
23165
|
+
export type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm;
|
|
23166
|
+
export type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted;
|
|
23083
23167
|
export type ChannelServiceFee = io.flow.internal.v0.models.ChannelServiceFee;
|
|
23084
23168
|
export type ChannelServiceFeeTier = io.flow.internal.v0.models.ChannelServiceFeeTier;
|
|
23085
23169
|
export type Chargeback = io.flow.internal.v0.models.Chargeback;
|
|
@@ -23806,11 +23890,6 @@ export type FiservMerchant = io.flow.internal.v0.models.FiservMerchant;
|
|
|
23806
23890
|
export type FiservMerchantModificationForm = io.flow.internal.v0.models.FiservMerchantModificationForm;
|
|
23807
23891
|
export type FiservMerchantPutForm = io.flow.internal.v0.models.FiservMerchantPutForm;
|
|
23808
23892
|
export type FlowApp = io.flow.internal.v0.enums.FlowApp;
|
|
23809
|
-
export type FlowCurrencySetting = io.flow.internal.v0.models.FlowCurrencySetting;
|
|
23810
|
-
export type FlowCurrencySettingDeleted = io.flow.internal.v0.models.FlowCurrencySettingDeleted;
|
|
23811
|
-
export type FlowCurrencySettingForm = io.flow.internal.v0.models.FlowCurrencySettingForm;
|
|
23812
|
-
export type FlowCurrencySettingUpserted = io.flow.internal.v0.models.FlowCurrencySettingUpserted;
|
|
23813
|
-
export type FlowCurrencySettingVersion = io.flow.internal.v0.models.FlowCurrencySettingVersion;
|
|
23814
23893
|
export type FlowLabProject = io.flow.internal.v0.models.FlowLabProject;
|
|
23815
23894
|
export type FlowLabProjectPostForm = io.flow.internal.v0.models.FlowLabProjectPostForm;
|
|
23816
23895
|
export type FlowLabProjectPutForm = io.flow.internal.v0.models.FlowLabProjectPutForm;
|
|
@@ -24165,6 +24244,11 @@ export type OrderSubmissionForm = io.flow.internal.v0.models.OrderSubmissionForm
|
|
|
24165
24244
|
export type OrganizationBooleanValue = io.flow.internal.v0.models.OrganizationBooleanValue;
|
|
24166
24245
|
export type OrganizationBooleanValueDeleted = io.flow.internal.v0.models.OrganizationBooleanValueDeleted;
|
|
24167
24246
|
export type OrganizationBooleanValueUpserted = io.flow.internal.v0.models.OrganizationBooleanValueUpserted;
|
|
24247
|
+
export type OrganizationCurrencySetting = io.flow.internal.v0.models.OrganizationCurrencySetting;
|
|
24248
|
+
export type OrganizationCurrencySettingDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingDeleted;
|
|
24249
|
+
export type OrganizationCurrencySettingForm = io.flow.internal.v0.models.OrganizationCurrencySettingForm;
|
|
24250
|
+
export type OrganizationCurrencySettingUpserted = io.flow.internal.v0.models.OrganizationCurrencySettingUpserted;
|
|
24251
|
+
export type OrganizationCurrencySettingVersion = io.flow.internal.v0.models.OrganizationCurrencySettingVersion;
|
|
24168
24252
|
export type OrganizationMembershipCopy = io.flow.internal.v0.models.OrganizationMembershipCopy;
|
|
24169
24253
|
export type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm;
|
|
24170
24254
|
export type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
|
|
@@ -24508,6 +24592,7 @@ export type TrackingIntegrationType = io.flow.internal.v0.enums.TrackingIntegrat
|
|
|
24508
24592
|
export type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted;
|
|
24509
24593
|
export type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2;
|
|
24510
24594
|
export type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2;
|
|
24595
|
+
export type TrackingLabelReference = io.flow.internal.v0.models.TrackingLabelReference;
|
|
24511
24596
|
export type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted;
|
|
24512
24597
|
export type TrackingRequest = io.flow.internal.v0.models.TrackingRequest;
|
|
24513
24598
|
export type TrackingRequestUpserted = io.flow.internal.v0.models.TrackingRequestUpserted;
|
package/src/api.ts
CHANGED
|
@@ -2085,6 +2085,7 @@ declare namespace io.flow.apple.pay.v0.models {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
|
|
2087
2087
|
declare namespace io.flow.v0.enums {
|
|
2088
|
+
type AbandonedOrderPromotionStatus = 'active' | 'inactive';
|
|
2088
2089
|
type AbandonedOrderSettingStatus = 'active' | 'inactive';
|
|
2089
2090
|
type AddressFieldName =
|
|
2090
2091
|
| 'first_name'
|
|
@@ -2248,6 +2249,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2248
2249
|
| 'ratecard_rural_shipment_fee'
|
|
2249
2250
|
| 'ratecard_emergency_situation_surcharge_fee'
|
|
2250
2251
|
| 'ratecard_peak_surcharge_fee'
|
|
2252
|
+
| 'ratecard_duties_taxes_paid_surcharge_fee'
|
|
2251
2253
|
| 'center_commercial_invoice_fee'
|
|
2252
2254
|
| 'center_inbound_carton_fee'
|
|
2253
2255
|
| 'center_outbound_carton_fee';
|
|
@@ -2601,7 +2603,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2601
2603
|
| 'remote_area_surcharge'
|
|
2602
2604
|
| 'fuel_surcharge'
|
|
2603
2605
|
| 'emergency_situation_surcharge'
|
|
2604
|
-
| 'peak_surcharge'
|
|
2606
|
+
| 'peak_surcharge'
|
|
2607
|
+
| 'duties_taxes_paid_surcharge';
|
|
2605
2608
|
type OrderPriceDetailKey =
|
|
2606
2609
|
| 'adjustment'
|
|
2607
2610
|
| 'subtotal'
|
|
@@ -2864,6 +2867,28 @@ declare namespace io.flow.v0.models {
|
|
|
2864
2867
|
readonly frequency: io.flow.v0.models.Duration;
|
|
2865
2868
|
}
|
|
2866
2869
|
|
|
2870
|
+
interface AbandonedOrderPromotion {
|
|
2871
|
+
readonly id: string;
|
|
2872
|
+
readonly name: string;
|
|
2873
|
+
readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
2874
|
+
readonly status: io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
2875
|
+
readonly starts_at?: string;
|
|
2876
|
+
readonly ends_at?: string;
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2879
|
+
interface AbandonedOrderPromotionDiscountDetails {
|
|
2880
|
+
readonly discriminator: 'abandoned_order_promotion_discount_details';
|
|
2881
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
2882
|
+
}
|
|
2883
|
+
|
|
2884
|
+
interface AbandonedOrderPromotionForm {
|
|
2885
|
+
readonly name: string;
|
|
2886
|
+
readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
2887
|
+
readonly status?: io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
2888
|
+
readonly starts_at?: string;
|
|
2889
|
+
readonly ends_at?: string;
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2867
2892
|
interface AbandonedOrderSettings {
|
|
2868
2893
|
readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
2869
2894
|
readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
@@ -5130,6 +5155,20 @@ declare namespace io.flow.v0.models {
|
|
|
5130
5155
|
readonly value: number;
|
|
5131
5156
|
}
|
|
5132
5157
|
|
|
5158
|
+
interface DutiesTaxesPaidSurchargeRatecardFee {
|
|
5159
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee';
|
|
5160
|
+
readonly amount: io.flow.v0.models.Money;
|
|
5161
|
+
readonly starts_at?: string;
|
|
5162
|
+
readonly ends_at?: string;
|
|
5163
|
+
}
|
|
5164
|
+
|
|
5165
|
+
interface DutiesTaxesPaidSurchargeServiceFee {
|
|
5166
|
+
readonly discriminator: 'duties_taxes_paid_surcharge_service_fee';
|
|
5167
|
+
readonly amount: io.flow.v0.models.Money;
|
|
5168
|
+
readonly starts_at?: string;
|
|
5169
|
+
readonly ends_at?: string;
|
|
5170
|
+
}
|
|
5171
|
+
|
|
5133
5172
|
interface Duty {
|
|
5134
5173
|
readonly rate: number;
|
|
5135
5174
|
readonly components: io.flow.v0.enums.LevyComponent[];
|
|
@@ -5206,6 +5245,12 @@ declare namespace io.flow.v0.models {
|
|
|
5206
5245
|
readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform;
|
|
5207
5246
|
}
|
|
5208
5247
|
|
|
5248
|
+
interface EmailAbandonedOrderPromotion {
|
|
5249
|
+
readonly discount_form: io.flow.v0.models.DiscountForm;
|
|
5250
|
+
readonly short_label?: string;
|
|
5251
|
+
readonly long_label?: string;
|
|
5252
|
+
}
|
|
5253
|
+
|
|
5209
5254
|
interface EmailAbandonedOrderUrls {
|
|
5210
5255
|
readonly checkout: string;
|
|
5211
5256
|
}
|
|
@@ -5221,6 +5266,7 @@ declare namespace io.flow.v0.models {
|
|
|
5221
5266
|
readonly discriminator: 'abandoned_order';
|
|
5222
5267
|
readonly order: io.flow.v0.models.OrderSummary;
|
|
5223
5268
|
readonly urls: io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
5269
|
+
readonly promotions?: io.flow.v0.models.EmailAbandonedOrderPromotion[];
|
|
5224
5270
|
}
|
|
5225
5271
|
|
|
5226
5272
|
interface EmailNotificationDataRefund {
|
|
@@ -8528,6 +8574,7 @@ declare namespace io.flow.v0.models {
|
|
|
8528
8574
|
readonly reference?: string;
|
|
8529
8575
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
8530
8576
|
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
8577
|
+
readonly capture_delay_hours?: number;
|
|
8531
8578
|
}
|
|
8532
8579
|
|
|
8533
8580
|
interface PaymentRequestForm {
|
|
@@ -8541,6 +8588,7 @@ declare namespace io.flow.v0.models {
|
|
|
8541
8588
|
readonly reference?: string;
|
|
8542
8589
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
8543
8590
|
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
8591
|
+
readonly capture_delay_hours?: number;
|
|
8544
8592
|
}
|
|
8545
8593
|
|
|
8546
8594
|
interface PaymentRequestReference {
|
|
@@ -11315,6 +11363,7 @@ declare namespace io.flow.v0.models {
|
|
|
11315
11363
|
}
|
|
11316
11364
|
|
|
11317
11365
|
declare namespace io.flow.v0.unions {
|
|
11366
|
+
type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
11318
11367
|
type Action =
|
|
11319
11368
|
| io.flow.v0.models.ActionRedirect
|
|
11320
11369
|
| io.flow.v0.models.ActionUseSdkKlarnaV1
|
|
@@ -11737,7 +11786,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11737
11786
|
| io.flow.v0.models.CrossdockRatecardFee
|
|
11738
11787
|
| io.flow.v0.models.RemoteAreaRatecardFee
|
|
11739
11788
|
| io.flow.v0.models.EmergencySituationSurchargeRatecardFee
|
|
11740
|
-
| io.flow.v0.models.PeakSurchargeRatecardFee
|
|
11789
|
+
| io.flow.v0.models.PeakSurchargeRatecardFee
|
|
11790
|
+
| io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
11741
11791
|
type RepeatSchedule =
|
|
11742
11792
|
| io.flow.v0.models.RepeatHourly
|
|
11743
11793
|
| io.flow.v0.models.RepeatDaily
|
|
@@ -11758,7 +11808,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11758
11808
|
| io.flow.v0.models.RemoteAreaServiceFee
|
|
11759
11809
|
| io.flow.v0.models.EmergencySituationSurchargeServiceFee
|
|
11760
11810
|
| io.flow.v0.models.PeakSurchargeServiceFee
|
|
11761
|
-
| io.flow.v0.models.PeakSurchargeByWeightServiceFee
|
|
11811
|
+
| io.flow.v0.models.PeakSurchargeByWeightServiceFee
|
|
11812
|
+
| io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
11762
11813
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
11763
11814
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
11764
11815
|
type ShippingLabelForm =
|
|
@@ -11798,6 +11849,11 @@ declare namespace io.flow.v0.unions {
|
|
|
11798
11849
|
}
|
|
11799
11850
|
|
|
11800
11851
|
export type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings;
|
|
11852
|
+
export type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion;
|
|
11853
|
+
export type AbandonedOrderPromotionDetails = io.flow.v0.unions.AbandonedOrderPromotionDetails;
|
|
11854
|
+
export type AbandonedOrderPromotionDiscountDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails;
|
|
11855
|
+
export type AbandonedOrderPromotionForm = io.flow.v0.models.AbandonedOrderPromotionForm;
|
|
11856
|
+
export type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOrderPromotionStatus;
|
|
11801
11857
|
export type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus;
|
|
11802
11858
|
export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
11803
11859
|
export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
@@ -12173,6 +12229,8 @@ export type DiscountTarget = io.flow.v0.enums.DiscountTarget;
|
|
|
12173
12229
|
export type DiscountsForm = io.flow.v0.models.DiscountsForm;
|
|
12174
12230
|
export type Document = io.flow.v0.unions.Document;
|
|
12175
12231
|
export type Duration = io.flow.v0.models.Duration;
|
|
12232
|
+
export type DutiesTaxesPaidSurchargeRatecardFee = io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee;
|
|
12233
|
+
export type DutiesTaxesPaidSurchargeServiceFee = io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
|
|
12176
12234
|
export type Duty = io.flow.v0.models.Duty;
|
|
12177
12235
|
export type DutyItem = io.flow.v0.models.DutyItem;
|
|
12178
12236
|
export type DutyItemApproval = io.flow.v0.models.DutyItemApproval;
|
|
@@ -12186,6 +12244,7 @@ export type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformForm;
|
|
|
12186
12244
|
export type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType;
|
|
12187
12245
|
export type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted;
|
|
12188
12246
|
export type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation;
|
|
12247
|
+
export type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion;
|
|
12189
12248
|
export type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls;
|
|
12190
12249
|
export type EmailNotification = io.flow.v0.models.EmailNotification;
|
|
12191
12250
|
export type EmailNotificationAbandonedOrder = io.flow.v0.models.EmailNotificationAbandonedOrder;
|