@flowio/types 11.19.5 → 11.19.6
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 +67 -16
- package/dist/api.d.ts +42 -7
- package/package.json +2 -2
- package/src/api-internal.ts +87 -24
- package/src/api.ts +60 -17
package/dist/api-internal.d.ts
CHANGED
|
@@ -1537,6 +1537,10 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1537
1537
|
readonly weight: io.flow.common.v0.models.Measurement;
|
|
1538
1538
|
readonly width: io.flow.common.v0.models.Measurement;
|
|
1539
1539
|
}
|
|
1540
|
+
interface FeeWeight {
|
|
1541
|
+
readonly weight: number;
|
|
1542
|
+
readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
1543
|
+
}
|
|
1540
1544
|
interface FuelSurchargeRatecardFee {
|
|
1541
1545
|
readonly discriminator: 'fuel_surcharge_ratecard_fee';
|
|
1542
1546
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -1566,6 +1570,14 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1566
1570
|
readonly margin?: number;
|
|
1567
1571
|
readonly amount?: number;
|
|
1568
1572
|
}
|
|
1573
|
+
interface PeakSurchargeByWeightServiceFee {
|
|
1574
|
+
readonly discriminator: 'peak_surcharge_by_weight_service_fee';
|
|
1575
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
1576
|
+
readonly weight: io.flow.ratecard.v0.models.FeeWeight;
|
|
1577
|
+
readonly regions?: string[];
|
|
1578
|
+
readonly starts_at?: string;
|
|
1579
|
+
readonly ends_at?: string;
|
|
1580
|
+
}
|
|
1569
1581
|
interface PeakSurchargeRatecardFee {
|
|
1570
1582
|
readonly discriminator: 'peak_surcharge_ratecard_fee';
|
|
1571
1583
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -1769,7 +1781,7 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
1769
1781
|
type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
|
|
1770
1782
|
type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
|
|
1771
1783
|
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;
|
|
1772
|
-
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;
|
|
1784
|
+
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;
|
|
1773
1785
|
}
|
|
1774
1786
|
declare namespace io.flow.error.v0.enums {
|
|
1775
1787
|
type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error';
|
|
@@ -6676,10 +6688,10 @@ declare namespace io.flow.svb.v0.models {
|
|
|
6676
6688
|
}
|
|
6677
6689
|
}
|
|
6678
6690
|
declare namespace io.flow.payment.gateway.v0.enums {
|
|
6691
|
+
type PaymentActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
6679
6692
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error';
|
|
6680
6693
|
type PaymentStatus = 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back';
|
|
6681
6694
|
type PaymentType = 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'afterpay';
|
|
6682
|
-
type SupportedActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
6683
6695
|
}
|
|
6684
6696
|
declare namespace io.flow.payment.gateway.v0.models {
|
|
6685
6697
|
interface ActionDisplayInlineWindow {
|
|
@@ -6981,7 +6993,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6981
6993
|
readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
|
|
6982
6994
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6983
6995
|
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
6984
|
-
readonly possible_actions: io.flow.payment.gateway.v0.enums.
|
|
6996
|
+
readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
6985
6997
|
}
|
|
6986
6998
|
interface PaymentRefund {
|
|
6987
6999
|
readonly id: string;
|
|
@@ -7014,7 +7026,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7014
7026
|
readonly attributes?: Record<string, string>;
|
|
7015
7027
|
readonly reference?: string;
|
|
7016
7028
|
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
7017
|
-
readonly supported_actions: io.flow.payment.gateway.v0.enums.
|
|
7029
|
+
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7018
7030
|
}
|
|
7019
7031
|
interface PaymentRequestForm {
|
|
7020
7032
|
readonly amount: number;
|
|
@@ -7026,7 +7038,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7026
7038
|
readonly attributes?: Record<string, string>;
|
|
7027
7039
|
readonly reference?: string;
|
|
7028
7040
|
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
7029
|
-
readonly supported_actions?: io.flow.payment.gateway.v0.enums.
|
|
7041
|
+
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
7030
7042
|
}
|
|
7031
7043
|
interface PaymentReversal {
|
|
7032
7044
|
readonly id: string;
|
|
@@ -7698,7 +7710,7 @@ declare namespace io.flow.inventory.v0.unions {
|
|
|
7698
7710
|
declare namespace io.flow.permission.v0.enums {
|
|
7699
7711
|
type AuthenticationTechnique = 'anonymous' | 'session' | 'token' | 'partner_token' | 'user';
|
|
7700
7712
|
type FlowBehavior = 'view_consumer_data';
|
|
7701
|
-
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
|
|
7713
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin';
|
|
7702
7714
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
7703
7715
|
}
|
|
7704
7716
|
declare namespace io.flow.permission.v0.models {
|
|
@@ -9152,6 +9164,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9152
9164
|
type CheckoutGetAddressPredictionErrorCode = 'invalid_prediction';
|
|
9153
9165
|
type CheckoutGetErrorCode = 'checkout_not_found';
|
|
9154
9166
|
type CheckoutHttpSequencedRequestErrorCode = 'checkout_not_found' | 'sequence_number_already_exists' | 'sequence_number_must_be_greater_than_starting_number';
|
|
9167
|
+
type CheckoutInfoAddressBookContactsKeyField = 'shipping_country';
|
|
9155
9168
|
type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
|
|
9156
9169
|
type CheckoutInfoAddressPredictionsKeyField = 'input';
|
|
9157
9170
|
type CheckoutInfoContentKeyField = 'locale';
|
|
@@ -9209,7 +9222,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9209
9222
|
type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
|
|
9210
9223
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
9211
9224
|
type EmptyAttribute = 'irrelevant';
|
|
9212
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
9225
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rates_published' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'daily_experiment_results_upserted' | 'daily_experiment_results_deleted' | 'experiment_milestone_upserted' | 'experiment_milestone_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_request_event' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'tariff_codes_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'item_classification_created' | 'harmonize_fully_request_v2' | 'hybris_catalog_items_import_request' | 'import_completed' | 'import_failed' | 'time_to_classify_upserted' | 'time_to_classify_deleted' | 'time_to_classify_aggregated_upserted' | 'time_to_classify_aggregated_deleted' | 'rate_source_summary_upserted' | 'rate_source_summary_deleted' | 'rate_freshness_summary_upserted' | 'rate_freshness_summary_deleted' | 'item_harmonization_upserted' | 'item_harmonization_deleted' | 'harmonization_item_classification_upserted' | 'harmonization_item_classification_deleted' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_price_book_item_upserted' | 'localized_price_book_item_deleted' | 'feed_upserted' | 'feed_deleted' | 'feeds_export' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'pricing_indicator' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
|
|
9213
9226
|
type ExperienceImportType = 'experience_with_settings';
|
|
9214
9227
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
9215
9228
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -10300,9 +10313,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10300
10313
|
readonly postal?: string;
|
|
10301
10314
|
readonly company?: string;
|
|
10302
10315
|
}
|
|
10303
|
-
interface
|
|
10316
|
+
interface CheckoutAddressBookContact {
|
|
10317
|
+
readonly id: string;
|
|
10318
|
+
readonly address: io.flow.internal.v0.models.CheckoutAddress;
|
|
10319
|
+
readonly address_type: io.flow.internal.v0.enums.CheckoutAddressType;
|
|
10320
|
+
readonly contact: io.flow.internal.v0.models.CheckoutContact;
|
|
10321
|
+
}
|
|
10322
|
+
interface CheckoutAddressBookContactReference {
|
|
10304
10323
|
readonly id: string;
|
|
10305
|
-
readonly label: string;
|
|
10306
10324
|
}
|
|
10307
10325
|
interface CheckoutAddressPrediction {
|
|
10308
10326
|
readonly description: string;
|
|
@@ -10739,9 +10757,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10739
10757
|
readonly checkout_id: string;
|
|
10740
10758
|
readonly sequence_number: number;
|
|
10741
10759
|
}
|
|
10742
|
-
interface
|
|
10743
|
-
readonly discriminator: '
|
|
10744
|
-
readonly
|
|
10760
|
+
interface CheckoutInfoAddressBookContacts {
|
|
10761
|
+
readonly discriminator: 'checkout_info_address_book_contacts';
|
|
10762
|
+
readonly key: io.flow.internal.v0.models.CheckoutInfoAddressBookContactsKey[];
|
|
10763
|
+
readonly data: io.flow.internal.v0.models.CheckoutAddressBookContact[];
|
|
10764
|
+
}
|
|
10765
|
+
interface CheckoutInfoAddressBookContactsKey {
|
|
10766
|
+
readonly field: io.flow.internal.v0.enums.CheckoutInfoAddressBookContactsKeyField;
|
|
10767
|
+
readonly value: string;
|
|
10745
10768
|
}
|
|
10746
10769
|
interface CheckoutInfoAddressConfigurationFormData {
|
|
10747
10770
|
readonly discriminator: 'checkout_info_address_configuration_form_data';
|
|
@@ -11035,6 +11058,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11035
11058
|
readonly contact: io.flow.internal.v0.models.CheckoutContact;
|
|
11036
11059
|
readonly deliveries: io.flow.internal.v0.models.CheckoutOrderDeliveries;
|
|
11037
11060
|
}
|
|
11061
|
+
interface CheckoutOrderAddressBookInputs {
|
|
11062
|
+
readonly shipping?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
|
|
11063
|
+
readonly invoicing?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
|
|
11064
|
+
}
|
|
11038
11065
|
interface CheckoutOrderAddressInputs {
|
|
11039
11066
|
readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
|
|
11040
11067
|
readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
|
|
@@ -11113,6 +11140,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11113
11140
|
readonly lines?: io.flow.internal.v0.models.CheckoutLineForm[];
|
|
11114
11141
|
readonly contact?: io.flow.internal.v0.models.CheckoutOrderContactInputs;
|
|
11115
11142
|
readonly addresses?: io.flow.internal.v0.models.CheckoutOrderAddressInputs;
|
|
11143
|
+
readonly address_book?: io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
|
|
11116
11144
|
readonly attributes?: Record<string, string>;
|
|
11117
11145
|
readonly delivery_options?: io.flow.internal.v0.models.CheckoutOrderDeliveryOptionsInput[];
|
|
11118
11146
|
readonly gift_cards?: io.flow.internal.v0.models.CheckoutGiftCardForm[];
|
|
@@ -12326,6 +12354,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12326
12354
|
readonly item_number?: string;
|
|
12327
12355
|
readonly product_id?: string;
|
|
12328
12356
|
}
|
|
12357
|
+
interface DutyRateItemSummary {
|
|
12358
|
+
readonly number: string;
|
|
12359
|
+
readonly product_id?: string;
|
|
12360
|
+
}
|
|
12329
12361
|
interface DutyRateRequest {
|
|
12330
12362
|
readonly discriminator: 'duty_rate_request';
|
|
12331
12363
|
readonly event_id: string;
|
|
@@ -12348,6 +12380,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
12348
12380
|
readonly duty_rate: io.flow.internal.v0.models.DutyRate;
|
|
12349
12381
|
readonly unparsable_rates: string[];
|
|
12350
12382
|
}
|
|
12383
|
+
interface DutyRatesData {
|
|
12384
|
+
readonly id: string;
|
|
12385
|
+
readonly item_summary: io.flow.internal.v0.models.DutyRateItemSummary;
|
|
12386
|
+
readonly rates: io.flow.internal.v0.models.DutyRate[];
|
|
12387
|
+
}
|
|
12388
|
+
interface DutyRatesPublished {
|
|
12389
|
+
readonly discriminator: 'duty_rates_published';
|
|
12390
|
+
readonly event_id: string;
|
|
12391
|
+
readonly timestamp: string;
|
|
12392
|
+
readonly organization: string;
|
|
12393
|
+
readonly data: io.flow.internal.v0.models.DutyRatesData;
|
|
12394
|
+
}
|
|
12351
12395
|
interface DutyRaw {
|
|
12352
12396
|
readonly id: string;
|
|
12353
12397
|
readonly request_destination: string;
|
|
@@ -17027,7 +17071,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17027
17071
|
type CheckoutFeaturesResponse = io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess;
|
|
17028
17072
|
type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
|
|
17029
17073
|
type CheckoutGetResponse = io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
17030
|
-
type CheckoutInfo = io.flow.internal.v0.models.
|
|
17074
|
+
type CheckoutInfo = io.flow.internal.v0.models.CheckoutInfoAddressBookContacts | io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoAddressPredictions | io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder | io.flow.internal.v0.models.CheckoutInfoAnalyticsSession | io.flow.internal.v0.models.CheckoutInfoContent | io.flow.internal.v0.models.CheckoutInfoCountriesFormData | io.flow.internal.v0.models.CheckoutInfoDeliveriesFormData | io.flow.internal.v0.models.CheckoutInfoHostedConfirmationPage | io.flow.internal.v0.models.CheckoutInfoMustUseOrder | io.flow.internal.v0.models.CheckoutInfoNationalIdNumberConfigurationFormData | io.flow.internal.v0.models.CheckoutInfoOptins | io.flow.internal.v0.models.CheckoutInfoOrderSummary | io.flow.internal.v0.models.CheckoutInfoPaymentDetails | io.flow.internal.v0.models.CheckoutInfoPaymentSourceOptions | io.flow.internal.v0.models.CheckoutInfoPaymentsFormData | io.flow.internal.v0.models.CheckoutInfoPublicKey | io.flow.internal.v0.models.CheckoutInfoTranslations;
|
|
17031
17075
|
type CheckoutInitiatePaymentForm = io.flow.internal.v0.models.CheckoutInitiateRedirectPaymentForm | io.flow.internal.v0.models.CheckoutInitiateInlinePaymentForm | io.flow.internal.v0.models.CheckoutInitiateDirectPaymentForm;
|
|
17032
17076
|
type CheckoutInput = io.flow.internal.v0.models.CheckoutInputAddAttributes | io.flow.internal.v0.models.CheckoutInputDeleteAddressBook | io.flow.internal.v0.models.CheckoutInputDeleteAddressStreet | io.flow.internal.v0.models.CheckoutInputDeletePaymentSource | io.flow.internal.v0.models.CheckoutInputSaveAddressBook | io.flow.internal.v0.models.CheckoutInputSavePaymentSource | io.flow.internal.v0.models.CheckoutInputSetAddressBook | io.flow.internal.v0.models.CheckoutInputSetAddressCity | io.flow.internal.v0.models.CheckoutInputSetAddressCompany | io.flow.internal.v0.models.CheckoutInputSetAddressCountry | io.flow.internal.v0.models.CheckoutInputSetAddressFirstName | io.flow.internal.v0.models.CheckoutInputSetAddressLastName | io.flow.internal.v0.models.CheckoutInputSetAddressName | io.flow.internal.v0.models.CheckoutInputSetAddressPostal | io.flow.internal.v0.models.CheckoutInputSetAddressProvince | io.flow.internal.v0.models.CheckoutInputSetAddressStreet | io.flow.internal.v0.models.CheckoutInputSetAttributes | io.flow.internal.v0.models.CheckoutInputSetContactEmail | io.flow.internal.v0.models.CheckoutInputSetContactPhone | io.flow.internal.v0.models.CheckoutInputSetCurrency | io.flow.internal.v0.models.CheckoutInputSetDeliveryOption | io.flow.internal.v0.models.CheckoutInputSetLanguage | io.flow.internal.v0.models.CheckoutInputSetLocale | io.flow.internal.v0.models.CheckoutInputSetNationalIdNumber | io.flow.internal.v0.models.CheckoutInputSetOptinPrompt | io.flow.internal.v0.models.CheckoutInputSetPaymentSource;
|
|
17033
17077
|
type CheckoutOrder = io.flow.internal.v0.models.CheckoutOpenOrder | io.flow.internal.v0.models.CheckoutSubmittedOrder;
|
|
@@ -17094,7 +17138,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
17094
17138
|
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;
|
|
17095
17139
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
17096
17140
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
17097
|
-
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
17141
|
+
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MainTransactionUpserted | io.flow.internal.v0.models.MainTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.ExclusionRuleUpserted | io.flow.internal.v0.models.ExclusionRuleDeleted | io.flow.internal.v0.models.ExclusionRuleExportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.ReturnPolicyUpserted | io.flow.internal.v0.models.ReturnPolicyDeleted | io.flow.internal.v0.models.ReturnPolicyItemResultUpserted | io.flow.internal.v0.models.ReturnPolicyItemResultDeleted | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRatesPublished | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.DailyExperimentResultsUpserted | io.flow.internal.v0.models.DailyExperimentResultsDeleted | io.flow.internal.v0.models.ExperimentMilestoneUpserted | io.flow.internal.v0.models.ExperimentMilestoneDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.TariffCodesExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | io.flow.internal.v0.models.HybrisCatalogItemsImportRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.TimeToClassifyUpserted | io.flow.internal.v0.models.TimeToClassifyDeleted | io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted | io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted | io.flow.internal.v0.models.RateSourceSummaryUpserted | io.flow.internal.v0.models.RateSourceSummaryDeleted | io.flow.internal.v0.models.RateFreshnessSummaryUpserted | io.flow.internal.v0.models.RateFreshnessSummaryDeleted | io.flow.internal.v0.models.ItemHarmonizationUpserted | io.flow.internal.v0.models.ItemHarmonizationDeleted | io.flow.internal.v0.models.HarmonizationItemClassificationUpserted | io.flow.internal.v0.models.HarmonizationItemClassificationDeleted | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedPriceBookItemUpserted | io.flow.internal.v0.models.LocalizedPriceBookItemDeleted | io.flow.internal.v0.models.FeedUpserted | io.flow.internal.v0.models.FeedDeleted | io.flow.internal.v0.models.FeedsExport | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.PricingIndicator | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
|
|
17098
17142
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
17099
17143
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
17100
17144
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -17331,7 +17375,8 @@ export declare type CheckoutAddOrderIdentifierErrorCode = io.flow.internal.v0.en
|
|
|
17331
17375
|
export declare type CheckoutAddPaymentDetailsError = io.flow.internal.v0.models.CheckoutAddPaymentDetailsError;
|
|
17332
17376
|
export declare type CheckoutAddPaymentDetailsErrorCode = io.flow.internal.v0.enums.CheckoutAddPaymentDetailsErrorCode;
|
|
17333
17377
|
export declare type CheckoutAddress = io.flow.internal.v0.models.CheckoutAddress;
|
|
17334
|
-
export declare type
|
|
17378
|
+
export declare type CheckoutAddressBookContact = io.flow.internal.v0.models.CheckoutAddressBookContact;
|
|
17379
|
+
export declare type CheckoutAddressBookContactReference = io.flow.internal.v0.models.CheckoutAddressBookContactReference;
|
|
17335
17380
|
export declare type CheckoutAddressPrediction = io.flow.internal.v0.models.CheckoutAddressPrediction;
|
|
17336
17381
|
export declare type CheckoutAddressPredictionMetadata = io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
|
|
17337
17382
|
export declare type CheckoutAddressPredictions = io.flow.internal.v0.models.CheckoutAddressPredictions;
|
|
@@ -17461,7 +17506,9 @@ export declare type CheckoutHttpSequencedRequestReference = io.flow.internal.v0.
|
|
|
17461
17506
|
export declare type CheckoutHttpSequencedResponse = io.flow.internal.v0.models.CheckoutHttpSequencedResponse;
|
|
17462
17507
|
export declare type CheckoutIdSequenceNumberMeta = io.flow.internal.v0.models.CheckoutIdSequenceNumberMeta;
|
|
17463
17508
|
export declare type CheckoutInfo = io.flow.internal.v0.unions.CheckoutInfo;
|
|
17464
|
-
export declare type
|
|
17509
|
+
export declare type CheckoutInfoAddressBookContacts = io.flow.internal.v0.models.CheckoutInfoAddressBookContacts;
|
|
17510
|
+
export declare type CheckoutInfoAddressBookContactsKey = io.flow.internal.v0.models.CheckoutInfoAddressBookContactsKey;
|
|
17511
|
+
export declare type CheckoutInfoAddressBookContactsKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressBookContactsKeyField;
|
|
17465
17512
|
export declare type CheckoutInfoAddressConfigurationFormData = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData;
|
|
17466
17513
|
export declare type CheckoutInfoAddressConfigurationFormDataKey = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormDataKey;
|
|
17467
17514
|
export declare type CheckoutInfoAddressConfigurationFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressConfigurationFormDataKeyField;
|
|
@@ -17539,6 +17586,7 @@ export declare type CheckoutMarketingContent = io.flow.internal.v0.models.Checko
|
|
|
17539
17586
|
export declare type CheckoutNationalIdNumberValidation = io.flow.internal.v0.models.CheckoutNationalIdNumberValidation;
|
|
17540
17587
|
export declare type CheckoutOpenOrder = io.flow.internal.v0.models.CheckoutOpenOrder;
|
|
17541
17588
|
export declare type CheckoutOrder = io.flow.internal.v0.unions.CheckoutOrder;
|
|
17589
|
+
export declare type CheckoutOrderAddressBookInputs = io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
|
|
17542
17590
|
export declare type CheckoutOrderAddressInputs = io.flow.internal.v0.models.CheckoutOrderAddressInputs;
|
|
17543
17591
|
export declare type CheckoutOrderAddresses = io.flow.internal.v0.models.CheckoutOrderAddresses;
|
|
17544
17592
|
export declare type CheckoutOrderContactInputs = io.flow.internal.v0.models.CheckoutOrderContactInputs;
|
|
@@ -17896,11 +17944,14 @@ export declare type DutyRate = io.flow.internal.v0.models.DutyRate;
|
|
|
17896
17944
|
export declare type DutyRateBulkRequest = io.flow.internal.v0.models.DutyRateBulkRequest;
|
|
17897
17945
|
export declare type DutyRateBulkResponse = io.flow.internal.v0.models.DutyRateBulkResponse;
|
|
17898
17946
|
export declare type DutyRateContext = io.flow.internal.v0.models.DutyRateContext;
|
|
17947
|
+
export declare type DutyRateItemSummary = io.flow.internal.v0.models.DutyRateItemSummary;
|
|
17899
17948
|
export declare type DutyRateRequest = io.flow.internal.v0.models.DutyRateRequest;
|
|
17900
17949
|
export declare type DutyRateResponse = io.flow.internal.v0.models.DutyRateResponse;
|
|
17901
17950
|
export declare type DutyRateSource = io.flow.internal.v0.enums.DutyRateSource;
|
|
17902
17951
|
export declare type DutyRateUnitOfMeasure = io.flow.internal.v0.enums.DutyRateUnitOfMeasure;
|
|
17903
17952
|
export declare type DutyRateUpserted = io.flow.internal.v0.models.DutyRateUpserted;
|
|
17953
|
+
export declare type DutyRatesData = io.flow.internal.v0.models.DutyRatesData;
|
|
17954
|
+
export declare type DutyRatesPublished = io.flow.internal.v0.models.DutyRatesPublished;
|
|
17904
17955
|
export declare type DutyRaw = io.flow.internal.v0.models.DutyRaw;
|
|
17905
17956
|
export declare type DutyRawBulkUpserted = io.flow.internal.v0.models.DutyRawBulkUpserted;
|
|
17906
17957
|
export declare type DutyRawUpserted = io.flow.internal.v0.models.DutyRawUpserted;
|
package/dist/api.d.ts
CHANGED
|
@@ -1696,7 +1696,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1696
1696
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
1697
1697
|
type FlowBehavior = 'view_consumer_data';
|
|
1698
1698
|
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
1699
|
-
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations';
|
|
1699
|
+
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin';
|
|
1700
1700
|
type FraudEmailRuleDecision = 'approved' | 'declined';
|
|
1701
1701
|
type FraudLiability = 'flow' | 'organization';
|
|
1702
1702
|
type FraudStatus = 'pending' | 'approved' | 'declined' | 'review';
|
|
@@ -1741,6 +1741,7 @@ declare namespace io.flow.v0.enums {
|
|
|
1741
1741
|
type OrderType = 'standard' | 'replacement';
|
|
1742
1742
|
type OrganizationPaymentMethodTag = 'deny';
|
|
1743
1743
|
type OrganizationStatus = 'active' | 'inactive' | 'deactivated';
|
|
1744
|
+
type PaymentActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
1744
1745
|
type PaymentErrorCode = 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown';
|
|
1745
1746
|
type PaymentFailureCode = 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error';
|
|
1746
1747
|
type PaymentMethodCapability = 'credit' | 'debit';
|
|
@@ -1783,7 +1784,6 @@ declare namespace io.flow.v0.enums {
|
|
|
1783
1784
|
type SortDirection = 'ascending' | 'descending';
|
|
1784
1785
|
type Strategy = 'range' | 'from' | 'to';
|
|
1785
1786
|
type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
|
|
1786
|
-
type SupportedActionType = 'redirect' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window';
|
|
1787
1787
|
type SurchargeResponsibleParty = 'organization' | 'customer';
|
|
1788
1788
|
type SyncRecordFailureReason = 'inventory' | 'address' | 'promotion' | 'other';
|
|
1789
1789
|
type SyncStreamType = 'submitted_order' | 'placed_order';
|
|
@@ -2881,6 +2881,23 @@ declare namespace io.flow.v0.models {
|
|
|
2881
2881
|
readonly type: io.flow.v0.enums.ChangeType;
|
|
2882
2882
|
readonly center: io.flow.v0.models.Center;
|
|
2883
2883
|
}
|
|
2884
|
+
interface Channel {
|
|
2885
|
+
readonly id: string;
|
|
2886
|
+
readonly key: string;
|
|
2887
|
+
readonly name: string;
|
|
2888
|
+
}
|
|
2889
|
+
interface ChannelForm {
|
|
2890
|
+
readonly name: string;
|
|
2891
|
+
}
|
|
2892
|
+
interface ChannelOrganization {
|
|
2893
|
+
readonly id: string;
|
|
2894
|
+
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
2895
|
+
readonly key: string;
|
|
2896
|
+
readonly channel: io.flow.v0.models.ChannelReference;
|
|
2897
|
+
}
|
|
2898
|
+
interface ChannelReference {
|
|
2899
|
+
readonly key: string;
|
|
2900
|
+
}
|
|
2884
2901
|
interface CheckoutAttribute {
|
|
2885
2902
|
readonly id: string;
|
|
2886
2903
|
readonly experience: io.flow.v0.models.ExperienceReference;
|
|
@@ -4118,6 +4135,10 @@ declare namespace io.flow.v0.models {
|
|
|
4118
4135
|
readonly code: 'external_api_timeout';
|
|
4119
4136
|
readonly messages: string[];
|
|
4120
4137
|
}
|
|
4138
|
+
interface FeeWeight {
|
|
4139
|
+
readonly weight: number;
|
|
4140
|
+
readonly unit: io.flow.v0.enums.UnitOfMeasurement;
|
|
4141
|
+
}
|
|
4121
4142
|
interface FieldValidationMax {
|
|
4122
4143
|
readonly discriminator: 'max';
|
|
4123
4144
|
readonly length: number;
|
|
@@ -6458,7 +6479,7 @@ declare namespace io.flow.v0.models {
|
|
|
6458
6479
|
readonly brands: io.flow.v0.models.PaymentMethodBrand[];
|
|
6459
6480
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
6460
6481
|
readonly images: io.flow.v0.models.PaymentMethodImages;
|
|
6461
|
-
readonly possible_actions: io.flow.v0.enums.
|
|
6482
|
+
readonly possible_actions: io.flow.v0.enums.PaymentActionType[];
|
|
6462
6483
|
}
|
|
6463
6484
|
interface PaymentPaypal {
|
|
6464
6485
|
readonly discriminator: 'payment_paypal';
|
|
@@ -6526,7 +6547,7 @@ declare namespace io.flow.v0.models {
|
|
|
6526
6547
|
readonly attributes?: Record<string, string>;
|
|
6527
6548
|
readonly reference?: string;
|
|
6528
6549
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
6529
|
-
readonly supported_actions: io.flow.v0.enums.
|
|
6550
|
+
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
6530
6551
|
}
|
|
6531
6552
|
interface PaymentRequestForm {
|
|
6532
6553
|
readonly amount: number;
|
|
@@ -6538,7 +6559,7 @@ declare namespace io.flow.v0.models {
|
|
|
6538
6559
|
readonly attributes?: Record<string, string>;
|
|
6539
6560
|
readonly reference?: string;
|
|
6540
6561
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
6541
|
-
readonly supported_actions?: io.flow.v0.enums.
|
|
6562
|
+
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
6542
6563
|
}
|
|
6543
6564
|
interface PaymentRequestUpserted {
|
|
6544
6565
|
readonly discriminator: 'payment_request_upserted';
|
|
@@ -6599,6 +6620,14 @@ declare namespace io.flow.v0.models {
|
|
|
6599
6620
|
readonly attributes?: Record<string, string>;
|
|
6600
6621
|
readonly ip?: string;
|
|
6601
6622
|
}
|
|
6623
|
+
interface PeakSurchargeByWeightServiceFee {
|
|
6624
|
+
readonly discriminator: 'peak_surcharge_by_weight_service_fee';
|
|
6625
|
+
readonly amount: io.flow.v0.models.Money;
|
|
6626
|
+
readonly weight: io.flow.v0.models.FeeWeight;
|
|
6627
|
+
readonly regions?: string[];
|
|
6628
|
+
readonly starts_at?: string;
|
|
6629
|
+
readonly ends_at?: string;
|
|
6630
|
+
}
|
|
6602
6631
|
interface PeakSurchargeRatecardFee {
|
|
6603
6632
|
readonly discriminator: 'peak_surcharge_ratecard_fee';
|
|
6604
6633
|
readonly amount: io.flow.v0.models.Money;
|
|
@@ -8960,7 +8989,7 @@ declare namespace io.flow.v0.unions {
|
|
|
8960
8989
|
type ReservationError = io.flow.v0.models.NoInventoryReservationError | io.flow.v0.models.ExternalApiTimeoutReservationError | io.flow.v0.models.GenericReservationError;
|
|
8961
8990
|
type ReturnSource = io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor;
|
|
8962
8991
|
type SdkAdyenV3AuthenticationToken = io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken;
|
|
8963
|
-
type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee;
|
|
8992
|
+
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;
|
|
8964
8993
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
8965
8994
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
8966
8995
|
type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
|
|
@@ -9171,6 +9200,10 @@ export declare type CenterSummary = io.flow.v0.models.CenterSummary;
|
|
|
9171
9200
|
export declare type CenterUpserted = io.flow.v0.models.CenterUpserted;
|
|
9172
9201
|
export declare type CenterVersion = io.flow.v0.models.CenterVersion;
|
|
9173
9202
|
export declare type ChangeType = io.flow.v0.enums.ChangeType;
|
|
9203
|
+
export declare type Channel = io.flow.v0.models.Channel;
|
|
9204
|
+
export declare type ChannelForm = io.flow.v0.models.ChannelForm;
|
|
9205
|
+
export declare type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
|
|
9206
|
+
export declare type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
9174
9207
|
export declare type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
|
|
9175
9208
|
export declare type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
|
|
9176
9209
|
export declare type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
|
|
@@ -9435,6 +9468,7 @@ export declare type ExportStatus = io.flow.v0.enums.ExportStatus;
|
|
|
9435
9468
|
export declare type ExportType = io.flow.v0.unions.ExportType;
|
|
9436
9469
|
export declare type ExportVersion = io.flow.v0.models.ExportVersion;
|
|
9437
9470
|
export declare type ExternalApiTimeoutReservationError = io.flow.v0.models.ExternalApiTimeoutReservationError;
|
|
9471
|
+
export declare type FeeWeight = io.flow.v0.models.FeeWeight;
|
|
9438
9472
|
export declare type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
|
|
9439
9473
|
export declare type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
|
|
9440
9474
|
export declare type FieldValidationPattern = io.flow.v0.models.FieldValidationPattern;
|
|
@@ -9833,6 +9867,7 @@ export declare type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
|
|
|
9833
9867
|
export declare type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
|
|
9834
9868
|
export declare type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
|
|
9835
9869
|
export declare type Payment = io.flow.v0.unions.Payment;
|
|
9870
|
+
export declare type PaymentActionType = io.flow.v0.enums.PaymentActionType;
|
|
9836
9871
|
export declare type PaymentAddress = io.flow.v0.models.PaymentAddress;
|
|
9837
9872
|
export declare type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
|
|
9838
9873
|
export declare type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
|
|
@@ -9915,6 +9950,7 @@ export declare type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
|
|
|
9915
9950
|
export declare type PaymentVersion = io.flow.v0.models.PaymentVersion;
|
|
9916
9951
|
export declare type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
|
|
9917
9952
|
export declare type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
|
|
9953
|
+
export declare type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
9918
9954
|
export declare type PeakSurchargeRatecardFee = io.flow.v0.models.PeakSurchargeRatecardFee;
|
|
9919
9955
|
export declare type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
|
|
9920
9956
|
export declare type PercentMargin = io.flow.v0.models.PercentMargin;
|
|
@@ -10247,7 +10283,6 @@ export declare type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted;
|
|
|
10247
10283
|
export declare type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion;
|
|
10248
10284
|
export declare type Suggestion = io.flow.v0.models.Suggestion;
|
|
10249
10285
|
export declare type SummaryShippingLabelForm = io.flow.v0.models.SummaryShippingLabelForm;
|
|
10250
|
-
export declare type SupportedActionType = io.flow.v0.enums.SupportedActionType;
|
|
10251
10286
|
export declare type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeResponsibleParty;
|
|
10252
10287
|
export declare type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay;
|
|
10253
10288
|
export declare type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.6",
|
|
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": "75335ae60b0fecf901387606445a9a80713a458c"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -1968,6 +1968,11 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
1968
1968
|
readonly width: io.flow.common.v0.models.Measurement;
|
|
1969
1969
|
}
|
|
1970
1970
|
|
|
1971
|
+
interface FeeWeight {
|
|
1972
|
+
readonly weight: number;
|
|
1973
|
+
readonly unit: io.flow.common.v0.enums.UnitOfMeasurement;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1971
1976
|
interface FuelSurchargeRatecardFee {
|
|
1972
1977
|
readonly discriminator: 'fuel_surcharge_ratecard_fee';
|
|
1973
1978
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -2002,6 +2007,15 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
2002
2007
|
readonly amount?: number;
|
|
2003
2008
|
}
|
|
2004
2009
|
|
|
2010
|
+
interface PeakSurchargeByWeightServiceFee {
|
|
2011
|
+
readonly discriminator: 'peak_surcharge_by_weight_service_fee';
|
|
2012
|
+
readonly amount: io.flow.common.v0.models.Money;
|
|
2013
|
+
readonly weight: io.flow.ratecard.v0.models.FeeWeight;
|
|
2014
|
+
readonly regions?: string[];
|
|
2015
|
+
readonly starts_at?: string;
|
|
2016
|
+
readonly ends_at?: string;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2005
2019
|
interface PeakSurchargeRatecardFee {
|
|
2006
2020
|
readonly discriminator: 'peak_surcharge_ratecard_fee';
|
|
2007
2021
|
readonly amount: io.flow.common.v0.models.Money;
|
|
@@ -2248,7 +2262,8 @@ declare namespace io.flow.ratecard.v0.unions {
|
|
|
2248
2262
|
| io.flow.ratecard.v0.models.FuelSurchargeServiceFee
|
|
2249
2263
|
| io.flow.ratecard.v0.models.RemoteAreaServiceFee
|
|
2250
2264
|
| io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee
|
|
2251
|
-
| io.flow.ratecard.v0.models.PeakSurchargeServiceFee
|
|
2265
|
+
| io.flow.ratecard.v0.models.PeakSurchargeServiceFee
|
|
2266
|
+
| io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee;
|
|
2252
2267
|
}
|
|
2253
2268
|
|
|
2254
2269
|
declare namespace io.flow.error.v0.enums {
|
|
@@ -8758,6 +8773,17 @@ declare namespace io.flow.svb.v0.models {
|
|
|
8758
8773
|
}
|
|
8759
8774
|
|
|
8760
8775
|
declare namespace io.flow.payment.gateway.v0.enums {
|
|
8776
|
+
type PaymentActionType =
|
|
8777
|
+
| 'redirect'
|
|
8778
|
+
| 'use_sdk_klarna_v1'
|
|
8779
|
+
| 'use_sdk_applepay_js'
|
|
8780
|
+
| 'use_sdk_googlepay'
|
|
8781
|
+
| 'use_sdk_paypal'
|
|
8782
|
+
| 'use_sdk_stripe_v3'
|
|
8783
|
+
| 'use_sdk_adyen_v3'
|
|
8784
|
+
| 'use_sdk_adyen_v4'
|
|
8785
|
+
| 'execute_script'
|
|
8786
|
+
| 'display_inline_window';
|
|
8761
8787
|
type PaymentFailureCode =
|
|
8762
8788
|
| 'action_expired'
|
|
8763
8789
|
| 'action_cancelled'
|
|
@@ -8786,17 +8812,6 @@ declare namespace io.flow.payment.gateway.v0.enums {
|
|
|
8786
8812
|
| 'applepay'
|
|
8787
8813
|
| 'ideal'
|
|
8788
8814
|
| 'afterpay';
|
|
8789
|
-
type SupportedActionType =
|
|
8790
|
-
| 'redirect'
|
|
8791
|
-
| 'use_sdk_klarna_v1'
|
|
8792
|
-
| 'use_sdk_applepay_js'
|
|
8793
|
-
| 'use_sdk_googlepay'
|
|
8794
|
-
| 'use_sdk_paypal'
|
|
8795
|
-
| 'use_sdk_stripe_v3'
|
|
8796
|
-
| 'use_sdk_adyen_v3'
|
|
8797
|
-
| 'use_sdk_adyen_v4'
|
|
8798
|
-
| 'execute_script'
|
|
8799
|
-
| 'display_inline_window';
|
|
8800
8815
|
}
|
|
8801
8816
|
|
|
8802
8817
|
declare namespace io.flow.payment.gateway.v0.models {
|
|
@@ -9154,7 +9169,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9154
9169
|
readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[];
|
|
9155
9170
|
readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9156
9171
|
readonly images: io.flow.reference.v0.models.PaymentMethodImages;
|
|
9157
|
-
readonly possible_actions: io.flow.payment.gateway.v0.enums.
|
|
9172
|
+
readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9158
9173
|
}
|
|
9159
9174
|
|
|
9160
9175
|
interface PaymentRefund {
|
|
@@ -9191,7 +9206,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9191
9206
|
readonly attributes?: Record<string, string>;
|
|
9192
9207
|
readonly reference?: string;
|
|
9193
9208
|
readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation;
|
|
9194
|
-
readonly supported_actions: io.flow.payment.gateway.v0.enums.
|
|
9209
|
+
readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9195
9210
|
}
|
|
9196
9211
|
|
|
9197
9212
|
interface PaymentRequestForm {
|
|
@@ -9204,7 +9219,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
9204
9219
|
readonly attributes?: Record<string, string>;
|
|
9205
9220
|
readonly reference?: string;
|
|
9206
9221
|
readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData;
|
|
9207
|
-
readonly supported_actions?: io.flow.payment.gateway.v0.enums.
|
|
9222
|
+
readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[];
|
|
9208
9223
|
}
|
|
9209
9224
|
|
|
9210
9225
|
interface PaymentReversal {
|
|
@@ -10096,7 +10111,8 @@ declare namespace io.flow.permission.v0.enums {
|
|
|
10096
10111
|
| 'organization_fulfillment'
|
|
10097
10112
|
| 'organization_marketing'
|
|
10098
10113
|
| 'organization_finance'
|
|
10099
|
-
| 'flow_operations'
|
|
10114
|
+
| 'flow_operations'
|
|
10115
|
+
| 'channel_admin';
|
|
10100
10116
|
type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
10101
10117
|
}
|
|
10102
10118
|
|
|
@@ -11998,6 +12014,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
11998
12014
|
| 'checkout_not_found'
|
|
11999
12015
|
| 'sequence_number_already_exists'
|
|
12000
12016
|
| 'sequence_number_must_be_greater_than_starting_number';
|
|
12017
|
+
type CheckoutInfoAddressBookContactsKeyField = 'shipping_country';
|
|
12001
12018
|
type CheckoutInfoAddressConfigurationFormDataKeyField = 'country';
|
|
12002
12019
|
type CheckoutInfoAddressPredictionsKeyField = 'input';
|
|
12003
12020
|
type CheckoutInfoContentKeyField = 'locale';
|
|
@@ -12256,6 +12273,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12256
12273
|
| 'customs_description_tariffs_import'
|
|
12257
12274
|
| 'item_dimension_estimate_upserted_v2'
|
|
12258
12275
|
| 'item_dimension_estimate_deleted_v2'
|
|
12276
|
+
| 'duty_rates_published'
|
|
12259
12277
|
| 'duty_rate_request'
|
|
12260
12278
|
| 'duty_rate_bulk_request'
|
|
12261
12279
|
| 'duty_raw_upserted'
|
|
@@ -13788,9 +13806,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13788
13806
|
readonly company?: string;
|
|
13789
13807
|
}
|
|
13790
13808
|
|
|
13791
|
-
interface
|
|
13809
|
+
interface CheckoutAddressBookContact {
|
|
13810
|
+
readonly id: string;
|
|
13811
|
+
readonly address: io.flow.internal.v0.models.CheckoutAddress;
|
|
13812
|
+
readonly address_type: io.flow.internal.v0.enums.CheckoutAddressType;
|
|
13813
|
+
readonly contact: io.flow.internal.v0.models.CheckoutContact;
|
|
13814
|
+
}
|
|
13815
|
+
|
|
13816
|
+
interface CheckoutAddressBookContactReference {
|
|
13792
13817
|
readonly id: string;
|
|
13793
|
-
readonly label: string;
|
|
13794
13818
|
}
|
|
13795
13819
|
|
|
13796
13820
|
interface CheckoutAddressPrediction {
|
|
@@ -14326,9 +14350,15 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14326
14350
|
readonly sequence_number: number;
|
|
14327
14351
|
}
|
|
14328
14352
|
|
|
14329
|
-
interface
|
|
14330
|
-
readonly discriminator: '
|
|
14331
|
-
readonly
|
|
14353
|
+
interface CheckoutInfoAddressBookContacts {
|
|
14354
|
+
readonly discriminator: 'checkout_info_address_book_contacts';
|
|
14355
|
+
readonly key: io.flow.internal.v0.models.CheckoutInfoAddressBookContactsKey[];
|
|
14356
|
+
readonly data: io.flow.internal.v0.models.CheckoutAddressBookContact[];
|
|
14357
|
+
}
|
|
14358
|
+
|
|
14359
|
+
interface CheckoutInfoAddressBookContactsKey {
|
|
14360
|
+
readonly field: io.flow.internal.v0.enums.CheckoutInfoAddressBookContactsKeyField;
|
|
14361
|
+
readonly value: string;
|
|
14332
14362
|
}
|
|
14333
14363
|
|
|
14334
14364
|
interface CheckoutInfoAddressConfigurationFormData {
|
|
@@ -14689,6 +14719,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14689
14719
|
readonly deliveries: io.flow.internal.v0.models.CheckoutOrderDeliveries;
|
|
14690
14720
|
}
|
|
14691
14721
|
|
|
14722
|
+
interface CheckoutOrderAddressBookInputs {
|
|
14723
|
+
readonly shipping?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
|
|
14724
|
+
readonly invoicing?: io.flow.internal.v0.models.CheckoutAddressBookContactReference;
|
|
14725
|
+
}
|
|
14726
|
+
|
|
14692
14727
|
interface CheckoutOrderAddressInputs {
|
|
14693
14728
|
readonly shipping?: io.flow.internal.v0.models.CheckoutAddress;
|
|
14694
14729
|
readonly invoicing?: io.flow.internal.v0.models.CheckoutAddress;
|
|
@@ -14782,6 +14817,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14782
14817
|
readonly lines?: io.flow.internal.v0.models.CheckoutLineForm[];
|
|
14783
14818
|
readonly contact?: io.flow.internal.v0.models.CheckoutOrderContactInputs;
|
|
14784
14819
|
readonly addresses?: io.flow.internal.v0.models.CheckoutOrderAddressInputs;
|
|
14820
|
+
readonly address_book?: io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
|
|
14785
14821
|
readonly attributes?: Record<string, string>;
|
|
14786
14822
|
readonly delivery_options?: io.flow.internal.v0.models.CheckoutOrderDeliveryOptionsInput[];
|
|
14787
14823
|
readonly gift_cards?: io.flow.internal.v0.models.CheckoutGiftCardForm[];
|
|
@@ -16247,6 +16283,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16247
16283
|
readonly product_id?: string;
|
|
16248
16284
|
}
|
|
16249
16285
|
|
|
16286
|
+
interface DutyRateItemSummary {
|
|
16287
|
+
readonly number: string;
|
|
16288
|
+
readonly product_id?: string;
|
|
16289
|
+
}
|
|
16290
|
+
|
|
16250
16291
|
interface DutyRateRequest {
|
|
16251
16292
|
readonly discriminator: 'duty_rate_request';
|
|
16252
16293
|
readonly event_id: string;
|
|
@@ -16272,6 +16313,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16272
16313
|
readonly unparsable_rates: string[];
|
|
16273
16314
|
}
|
|
16274
16315
|
|
|
16316
|
+
interface DutyRatesData {
|
|
16317
|
+
readonly id: string;
|
|
16318
|
+
readonly item_summary: io.flow.internal.v0.models.DutyRateItemSummary;
|
|
16319
|
+
readonly rates: io.flow.internal.v0.models.DutyRate[];
|
|
16320
|
+
}
|
|
16321
|
+
|
|
16322
|
+
interface DutyRatesPublished {
|
|
16323
|
+
readonly discriminator: 'duty_rates_published';
|
|
16324
|
+
readonly event_id: string;
|
|
16325
|
+
readonly timestamp: string;
|
|
16326
|
+
readonly organization: string;
|
|
16327
|
+
readonly data: io.flow.internal.v0.models.DutyRatesData;
|
|
16328
|
+
}
|
|
16329
|
+
|
|
16275
16330
|
interface DutyRaw {
|
|
16276
16331
|
readonly id: string;
|
|
16277
16332
|
readonly request_destination: string;
|
|
@@ -21696,7 +21751,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
21696
21751
|
| io.flow.internal.v0.models.CheckoutGetResponseError
|
|
21697
21752
|
| io.flow.internal.v0.models.CheckoutGetResponseSuccess;
|
|
21698
21753
|
type CheckoutInfo =
|
|
21699
|
-
| io.flow.internal.v0.models.
|
|
21754
|
+
| io.flow.internal.v0.models.CheckoutInfoAddressBookContacts
|
|
21700
21755
|
| io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData
|
|
21701
21756
|
| io.flow.internal.v0.models.CheckoutInfoAddressPredictions
|
|
21702
21757
|
| io.flow.internal.v0.models.CheckoutInfoAnalyticsOrder
|
|
@@ -22015,6 +22070,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
22015
22070
|
| io.flow.internal.v0.models.CustomsDescriptionTariffsImport
|
|
22016
22071
|
| io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2
|
|
22017
22072
|
| io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2
|
|
22073
|
+
| io.flow.internal.v0.models.DutyRatesPublished
|
|
22018
22074
|
| io.flow.internal.v0.models.DutyRateRequest
|
|
22019
22075
|
| io.flow.internal.v0.models.DutyRateBulkRequest
|
|
22020
22076
|
| io.flow.internal.v0.models.DutyRawUpserted
|
|
@@ -22563,7 +22619,8 @@ export type CheckoutAddOrderIdentifierErrorCode = io.flow.internal.v0.enums.Chec
|
|
|
22563
22619
|
export type CheckoutAddPaymentDetailsError = io.flow.internal.v0.models.CheckoutAddPaymentDetailsError;
|
|
22564
22620
|
export type CheckoutAddPaymentDetailsErrorCode = io.flow.internal.v0.enums.CheckoutAddPaymentDetailsErrorCode;
|
|
22565
22621
|
export type CheckoutAddress = io.flow.internal.v0.models.CheckoutAddress;
|
|
22566
|
-
export type
|
|
22622
|
+
export type CheckoutAddressBookContact = io.flow.internal.v0.models.CheckoutAddressBookContact;
|
|
22623
|
+
export type CheckoutAddressBookContactReference = io.flow.internal.v0.models.CheckoutAddressBookContactReference;
|
|
22567
22624
|
export type CheckoutAddressPrediction = io.flow.internal.v0.models.CheckoutAddressPrediction;
|
|
22568
22625
|
export type CheckoutAddressPredictionMetadata = io.flow.internal.v0.models.CheckoutAddressPredictionMetadata;
|
|
22569
22626
|
export type CheckoutAddressPredictions = io.flow.internal.v0.models.CheckoutAddressPredictions;
|
|
@@ -22693,7 +22750,9 @@ export type CheckoutHttpSequencedRequestReference = io.flow.internal.v0.models.C
|
|
|
22693
22750
|
export type CheckoutHttpSequencedResponse = io.flow.internal.v0.models.CheckoutHttpSequencedResponse;
|
|
22694
22751
|
export type CheckoutIdSequenceNumberMeta = io.flow.internal.v0.models.CheckoutIdSequenceNumberMeta;
|
|
22695
22752
|
export type CheckoutInfo = io.flow.internal.v0.unions.CheckoutInfo;
|
|
22696
|
-
export type
|
|
22753
|
+
export type CheckoutInfoAddressBookContacts = io.flow.internal.v0.models.CheckoutInfoAddressBookContacts;
|
|
22754
|
+
export type CheckoutInfoAddressBookContactsKey = io.flow.internal.v0.models.CheckoutInfoAddressBookContactsKey;
|
|
22755
|
+
export type CheckoutInfoAddressBookContactsKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressBookContactsKeyField;
|
|
22697
22756
|
export type CheckoutInfoAddressConfigurationFormData = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormData;
|
|
22698
22757
|
export type CheckoutInfoAddressConfigurationFormDataKey = io.flow.internal.v0.models.CheckoutInfoAddressConfigurationFormDataKey;
|
|
22699
22758
|
export type CheckoutInfoAddressConfigurationFormDataKeyField = io.flow.internal.v0.enums.CheckoutInfoAddressConfigurationFormDataKeyField;
|
|
@@ -22771,6 +22830,7 @@ export type CheckoutMarketingContent = io.flow.internal.v0.models.CheckoutMarket
|
|
|
22771
22830
|
export type CheckoutNationalIdNumberValidation = io.flow.internal.v0.models.CheckoutNationalIdNumberValidation;
|
|
22772
22831
|
export type CheckoutOpenOrder = io.flow.internal.v0.models.CheckoutOpenOrder;
|
|
22773
22832
|
export type CheckoutOrder = io.flow.internal.v0.unions.CheckoutOrder;
|
|
22833
|
+
export type CheckoutOrderAddressBookInputs = io.flow.internal.v0.models.CheckoutOrderAddressBookInputs;
|
|
22774
22834
|
export type CheckoutOrderAddressInputs = io.flow.internal.v0.models.CheckoutOrderAddressInputs;
|
|
22775
22835
|
export type CheckoutOrderAddresses = io.flow.internal.v0.models.CheckoutOrderAddresses;
|
|
22776
22836
|
export type CheckoutOrderContactInputs = io.flow.internal.v0.models.CheckoutOrderContactInputs;
|
|
@@ -23128,11 +23188,14 @@ export type DutyRate = io.flow.internal.v0.models.DutyRate;
|
|
|
23128
23188
|
export type DutyRateBulkRequest = io.flow.internal.v0.models.DutyRateBulkRequest;
|
|
23129
23189
|
export type DutyRateBulkResponse = io.flow.internal.v0.models.DutyRateBulkResponse;
|
|
23130
23190
|
export type DutyRateContext = io.flow.internal.v0.models.DutyRateContext;
|
|
23191
|
+
export type DutyRateItemSummary = io.flow.internal.v0.models.DutyRateItemSummary;
|
|
23131
23192
|
export type DutyRateRequest = io.flow.internal.v0.models.DutyRateRequest;
|
|
23132
23193
|
export type DutyRateResponse = io.flow.internal.v0.models.DutyRateResponse;
|
|
23133
23194
|
export type DutyRateSource = io.flow.internal.v0.enums.DutyRateSource;
|
|
23134
23195
|
export type DutyRateUnitOfMeasure = io.flow.internal.v0.enums.DutyRateUnitOfMeasure;
|
|
23135
23196
|
export type DutyRateUpserted = io.flow.internal.v0.models.DutyRateUpserted;
|
|
23197
|
+
export type DutyRatesData = io.flow.internal.v0.models.DutyRatesData;
|
|
23198
|
+
export type DutyRatesPublished = io.flow.internal.v0.models.DutyRatesPublished;
|
|
23136
23199
|
export type DutyRaw = io.flow.internal.v0.models.DutyRaw;
|
|
23137
23200
|
export type DutyRawBulkUpserted = io.flow.internal.v0.models.DutyRawBulkUpserted;
|
|
23138
23201
|
export type DutyRawUpserted = io.flow.internal.v0.models.DutyRawUpserted;
|
package/src/api.ts
CHANGED
|
@@ -2456,7 +2456,8 @@ declare namespace io.flow.v0.enums {
|
|
|
2456
2456
|
| 'organization_fulfillment'
|
|
2457
2457
|
| 'organization_marketing'
|
|
2458
2458
|
| 'organization_finance'
|
|
2459
|
-
| 'flow_operations'
|
|
2459
|
+
| 'flow_operations'
|
|
2460
|
+
| 'channel_admin';
|
|
2460
2461
|
type FraudEmailRuleDecision = 'approved' | 'declined';
|
|
2461
2462
|
type FraudLiability = 'flow' | 'organization';
|
|
2462
2463
|
type FraudStatus = 'pending' | 'approved' | 'declined' | 'review';
|
|
@@ -2601,6 +2602,17 @@ declare namespace io.flow.v0.enums {
|
|
|
2601
2602
|
type OrderType = 'standard' | 'replacement';
|
|
2602
2603
|
type OrganizationPaymentMethodTag = 'deny';
|
|
2603
2604
|
type OrganizationStatus = 'active' | 'inactive' | 'deactivated';
|
|
2605
|
+
type PaymentActionType =
|
|
2606
|
+
| 'redirect'
|
|
2607
|
+
| 'use_sdk_klarna_v1'
|
|
2608
|
+
| 'use_sdk_applepay_js'
|
|
2609
|
+
| 'use_sdk_googlepay'
|
|
2610
|
+
| 'use_sdk_paypal'
|
|
2611
|
+
| 'use_sdk_stripe_v3'
|
|
2612
|
+
| 'use_sdk_adyen_v3'
|
|
2613
|
+
| 'use_sdk_adyen_v4'
|
|
2614
|
+
| 'execute_script'
|
|
2615
|
+
| 'display_inline_window';
|
|
2604
2616
|
type PaymentErrorCode =
|
|
2605
2617
|
| 'duplicate'
|
|
2606
2618
|
| 'invalid_amount'
|
|
@@ -2765,17 +2777,6 @@ declare namespace io.flow.v0.enums {
|
|
|
2765
2777
|
type SortDirection = 'ascending' | 'descending';
|
|
2766
2778
|
type Strategy = 'range' | 'from' | 'to';
|
|
2767
2779
|
type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted';
|
|
2768
|
-
type SupportedActionType =
|
|
2769
|
-
| 'redirect'
|
|
2770
|
-
| 'use_sdk_klarna_v1'
|
|
2771
|
-
| 'use_sdk_applepay_js'
|
|
2772
|
-
| 'use_sdk_googlepay'
|
|
2773
|
-
| 'use_sdk_paypal'
|
|
2774
|
-
| 'use_sdk_stripe_v3'
|
|
2775
|
-
| 'use_sdk_adyen_v3'
|
|
2776
|
-
| 'use_sdk_adyen_v4'
|
|
2777
|
-
| 'execute_script'
|
|
2778
|
-
| 'display_inline_window';
|
|
2779
2780
|
type SurchargeResponsibleParty = 'organization' | 'customer';
|
|
2780
2781
|
type SyncRecordFailureReason =
|
|
2781
2782
|
| 'inventory'
|
|
@@ -4064,6 +4065,27 @@ declare namespace io.flow.v0.models {
|
|
|
4064
4065
|
readonly center: io.flow.v0.models.Center;
|
|
4065
4066
|
}
|
|
4066
4067
|
|
|
4068
|
+
interface Channel {
|
|
4069
|
+
readonly id: string;
|
|
4070
|
+
readonly key: string;
|
|
4071
|
+
readonly name: string;
|
|
4072
|
+
}
|
|
4073
|
+
|
|
4074
|
+
interface ChannelForm {
|
|
4075
|
+
readonly name: string;
|
|
4076
|
+
}
|
|
4077
|
+
|
|
4078
|
+
interface ChannelOrganization {
|
|
4079
|
+
readonly id: string;
|
|
4080
|
+
readonly organization: io.flow.v0.models.OrganizationReference;
|
|
4081
|
+
readonly key: string;
|
|
4082
|
+
readonly channel: io.flow.v0.models.ChannelReference;
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
interface ChannelReference {
|
|
4086
|
+
readonly key: string;
|
|
4087
|
+
}
|
|
4088
|
+
|
|
4067
4089
|
interface CheckoutAttribute {
|
|
4068
4090
|
readonly id: string;
|
|
4069
4091
|
readonly experience: io.flow.v0.models.ExperienceReference;
|
|
@@ -5511,6 +5533,11 @@ declare namespace io.flow.v0.models {
|
|
|
5511
5533
|
readonly messages: string[];
|
|
5512
5534
|
}
|
|
5513
5535
|
|
|
5536
|
+
interface FeeWeight {
|
|
5537
|
+
readonly weight: number;
|
|
5538
|
+
readonly unit: io.flow.v0.enums.UnitOfMeasurement;
|
|
5539
|
+
}
|
|
5540
|
+
|
|
5514
5541
|
interface FieldValidationMax {
|
|
5515
5542
|
readonly discriminator: 'max';
|
|
5516
5543
|
readonly length: number;
|
|
@@ -8234,7 +8261,7 @@ declare namespace io.flow.v0.models {
|
|
|
8234
8261
|
readonly brands: io.flow.v0.models.PaymentMethodBrand[];
|
|
8235
8262
|
readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord;
|
|
8236
8263
|
readonly images: io.flow.v0.models.PaymentMethodImages;
|
|
8237
|
-
readonly possible_actions: io.flow.v0.enums.
|
|
8264
|
+
readonly possible_actions: io.flow.v0.enums.PaymentActionType[];
|
|
8238
8265
|
}
|
|
8239
8266
|
|
|
8240
8267
|
interface PaymentPaypal {
|
|
@@ -8313,7 +8340,7 @@ declare namespace io.flow.v0.models {
|
|
|
8313
8340
|
readonly attributes?: Record<string, string>;
|
|
8314
8341
|
readonly reference?: string;
|
|
8315
8342
|
readonly payment_information: io.flow.v0.models.PaymentInformation;
|
|
8316
|
-
readonly supported_actions: io.flow.v0.enums.
|
|
8343
|
+
readonly supported_actions: io.flow.v0.enums.PaymentActionType[];
|
|
8317
8344
|
}
|
|
8318
8345
|
|
|
8319
8346
|
interface PaymentRequestForm {
|
|
@@ -8326,7 +8353,7 @@ declare namespace io.flow.v0.models {
|
|
|
8326
8353
|
readonly attributes?: Record<string, string>;
|
|
8327
8354
|
readonly reference?: string;
|
|
8328
8355
|
readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData;
|
|
8329
|
-
readonly supported_actions?: io.flow.v0.enums.
|
|
8356
|
+
readonly supported_actions?: io.flow.v0.enums.PaymentActionType[];
|
|
8330
8357
|
}
|
|
8331
8358
|
|
|
8332
8359
|
interface PaymentRequestUpserted {
|
|
@@ -8398,6 +8425,15 @@ declare namespace io.flow.v0.models {
|
|
|
8398
8425
|
readonly ip?: string;
|
|
8399
8426
|
}
|
|
8400
8427
|
|
|
8428
|
+
interface PeakSurchargeByWeightServiceFee {
|
|
8429
|
+
readonly discriminator: 'peak_surcharge_by_weight_service_fee';
|
|
8430
|
+
readonly amount: io.flow.v0.models.Money;
|
|
8431
|
+
readonly weight: io.flow.v0.models.FeeWeight;
|
|
8432
|
+
readonly regions?: string[];
|
|
8433
|
+
readonly starts_at?: string;
|
|
8434
|
+
readonly ends_at?: string;
|
|
8435
|
+
}
|
|
8436
|
+
|
|
8401
8437
|
interface PeakSurchargeRatecardFee {
|
|
8402
8438
|
readonly discriminator: 'peak_surcharge_ratecard_fee';
|
|
8403
8439
|
readonly amount: io.flow.v0.models.Money;
|
|
@@ -11481,7 +11517,8 @@ declare namespace io.flow.v0.unions {
|
|
|
11481
11517
|
| io.flow.v0.models.FuelSurchargeServiceFee
|
|
11482
11518
|
| io.flow.v0.models.RemoteAreaServiceFee
|
|
11483
11519
|
| io.flow.v0.models.EmergencySituationSurchargeServiceFee
|
|
11484
|
-
| io.flow.v0.models.PeakSurchargeServiceFee
|
|
11520
|
+
| io.flow.v0.models.PeakSurchargeServiceFee
|
|
11521
|
+
| io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
11485
11522
|
type Session = io.flow.v0.models.OrganizationSession;
|
|
11486
11523
|
type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
|
|
11487
11524
|
type ShippingLabelForm =
|
|
@@ -11713,6 +11750,10 @@ export type CenterSummary = io.flow.v0.models.CenterSummary;
|
|
|
11713
11750
|
export type CenterUpserted = io.flow.v0.models.CenterUpserted;
|
|
11714
11751
|
export type CenterVersion = io.flow.v0.models.CenterVersion;
|
|
11715
11752
|
export type ChangeType = io.flow.v0.enums.ChangeType;
|
|
11753
|
+
export type Channel = io.flow.v0.models.Channel;
|
|
11754
|
+
export type ChannelForm = io.flow.v0.models.ChannelForm;
|
|
11755
|
+
export type ChannelOrganization = io.flow.v0.models.ChannelOrganization;
|
|
11756
|
+
export type ChannelReference = io.flow.v0.models.ChannelReference;
|
|
11716
11757
|
export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute;
|
|
11717
11758
|
export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm;
|
|
11718
11759
|
export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent;
|
|
@@ -11977,6 +12018,7 @@ export type ExportStatus = io.flow.v0.enums.ExportStatus;
|
|
|
11977
12018
|
export type ExportType = io.flow.v0.unions.ExportType;
|
|
11978
12019
|
export type ExportVersion = io.flow.v0.models.ExportVersion;
|
|
11979
12020
|
export type ExternalApiTimeoutReservationError = io.flow.v0.models.ExternalApiTimeoutReservationError;
|
|
12021
|
+
export type FeeWeight = io.flow.v0.models.FeeWeight;
|
|
11980
12022
|
export type FieldValidationMax = io.flow.v0.models.FieldValidationMax;
|
|
11981
12023
|
export type FieldValidationMin = io.flow.v0.models.FieldValidationMin;
|
|
11982
12024
|
export type FieldValidationPattern = io.flow.v0.models.FieldValidationPattern;
|
|
@@ -12375,6 +12417,7 @@ export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm;
|
|
|
12375
12417
|
export type PasswordResetForm = io.flow.v0.models.PasswordResetForm;
|
|
12376
12418
|
export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm;
|
|
12377
12419
|
export type Payment = io.flow.v0.unions.Payment;
|
|
12420
|
+
export type PaymentActionType = io.flow.v0.enums.PaymentActionType;
|
|
12378
12421
|
export type PaymentAddress = io.flow.v0.models.PaymentAddress;
|
|
12379
12422
|
export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization;
|
|
12380
12423
|
export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus;
|
|
@@ -12457,6 +12500,7 @@ export type PaymentUpserted = io.flow.v0.models.PaymentUpserted;
|
|
|
12457
12500
|
export type PaymentVersion = io.flow.v0.models.PaymentVersion;
|
|
12458
12501
|
export type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails;
|
|
12459
12502
|
export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm;
|
|
12503
|
+
export type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee;
|
|
12460
12504
|
export type PeakSurchargeRatecardFee = io.flow.v0.models.PeakSurchargeRatecardFee;
|
|
12461
12505
|
export type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee;
|
|
12462
12506
|
export type PercentMargin = io.flow.v0.models.PercentMargin;
|
|
@@ -12789,7 +12833,6 @@ export type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted;
|
|
|
12789
12833
|
export type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion;
|
|
12790
12834
|
export type Suggestion = io.flow.v0.models.Suggestion;
|
|
12791
12835
|
export type SummaryShippingLabelForm = io.flow.v0.models.SummaryShippingLabelForm;
|
|
12792
|
-
export type SupportedActionType = io.flow.v0.enums.SupportedActionType;
|
|
12793
12836
|
export type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeResponsibleParty;
|
|
12794
12837
|
export type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay;
|
|
12795
12838
|
export type SurchargeSetting = io.flow.v0.models.SurchargeSetting;
|