@flowio/types 11.24.8 → 11.24.10
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 +32 -100
- package/dist/api.d.ts +22 -9
- package/package.json +2 -2
- package/src/api-internal.ts +39 -119
- package/src/api.ts +44 -36
package/dist/api-internal.d.ts
CHANGED
|
@@ -3807,9 +3807,9 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
3807
3807
|
type Contract = 'RECURRING';
|
|
3808
3808
|
type DeviceChannel = 'app' | 'browser';
|
|
3809
3809
|
type EventCode = 'AUTHORISATION' | 'CANCELLATION' | 'REFUND' | 'CANCEL_OR_REFUND' | 'CAPTURE' | 'CAPTURE_FAILED' | 'REFUND_FAILED' | 'REFUNDED_REVERSED' | 'PAIDOUT_REVERSED' | 'REQUEST_FOR_INFORMATION' | 'CHARGEBACK' | 'CHARGEBACK_REVERSED' | 'NOTIFICATION_OF_CHARGEBACK' | 'NOTIFICATION_OF_FRAUD' | 'MANUAL_REVIEW_ACCEPT' | 'MANUAL_REVIEW_REJECT' | 'RECURRING_CONTRACT' | 'PAYOUT_EXPIRE' | 'PAYOUT_DECLINE' | 'PAYOUT_THIRDPARTY' | 'REFUND_WITH_DATA' | 'AUTHORISE_REFERRAL' | 'EXPIRE' | 'FRAUD_ONLY' | 'FUND_TRANSFER' | 'HANDLED_EXTERNALLY' | 'OFFER_CLOSED' | 'ORDER_OPENED' | 'ORDER_CLOSED' | 'PENDING' | 'PROCESS_RETRY' | 'REPORT_AVAILABLE' | 'SECOND_CHARGEBACK' | 'PREARBITRATION_WON' | 'PREARBITRATION_LOST';
|
|
3810
|
-
type
|
|
3810
|
+
type Method = 'GET' | 'POST';
|
|
3811
3811
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
3812
|
-
type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | '
|
|
3812
|
+
type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'giropay' | 'ideal' | 'interac' | 'jcb' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mc' | 'molpay_points' | 'multibanco' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'unionpay' | 'visa' | 'wechatpay' | 'unknowncard';
|
|
3813
3813
|
type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
|
|
3814
3814
|
type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
|
|
3815
3815
|
type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
|
|
@@ -3828,10 +3828,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3828
3828
|
readonly value: number;
|
|
3829
3829
|
readonly currency: string;
|
|
3830
3830
|
}
|
|
3831
|
-
interface Applepay {
|
|
3832
|
-
readonly type: 'applepay';
|
|
3833
|
-
readonly applePayToken: string;
|
|
3834
|
-
}
|
|
3835
3831
|
interface Authentication {
|
|
3836
3832
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
3837
3833
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -3858,8 +3854,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3858
3854
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
3859
3855
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
3860
3856
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
3861
|
-
readonly mcc?: string;
|
|
3862
|
-
readonly metadata?: any;
|
|
3863
3857
|
}
|
|
3864
3858
|
interface AuthorizeRequest3D {
|
|
3865
3859
|
readonly merchantAccount: string;
|
|
@@ -3993,12 +3987,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3993
3987
|
readonly details: any;
|
|
3994
3988
|
readonly paymentData?: string;
|
|
3995
3989
|
}
|
|
3996
|
-
interface PaymentDetailsV663Ds2Challenge {
|
|
3997
|
-
readonly 'threeds2.challengeResult': string;
|
|
3998
|
-
}
|
|
3999
|
-
interface PaymentDetailsV663Ds2Fingerprint {
|
|
4000
|
-
readonly 'threeds2.fingerprint': string;
|
|
4001
|
-
}
|
|
4002
3990
|
interface PaymentRequest {
|
|
4003
3991
|
readonly reference: string;
|
|
4004
3992
|
readonly merchantAccount: string;
|
|
@@ -4020,11 +4008,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4020
4008
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
4021
4009
|
readonly origin?: string;
|
|
4022
4010
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
4023
|
-
readonly
|
|
4024
|
-
readonly mcc?: string;
|
|
4025
|
-
readonly metadata?: any;
|
|
4026
|
-
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4027
|
-
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4011
|
+
readonly returnURL?: string;
|
|
4028
4012
|
}
|
|
4029
4013
|
interface PaymentResponse {
|
|
4030
4014
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -4045,35 +4029,13 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4045
4029
|
readonly threeDAuthenticatedResponse?: string;
|
|
4046
4030
|
readonly threeDOffered?: string;
|
|
4047
4031
|
readonly threeDOfferedResponse?: string;
|
|
4048
|
-
readonly threeDSVersion?: string;
|
|
4049
|
-
readonly eci?: string;
|
|
4050
|
-
readonly scaExemptionRequested?: string;
|
|
4051
|
-
readonly paymentMethod?: string;
|
|
4052
|
-
readonly paymentMethodVariant?: string;
|
|
4053
|
-
readonly tokenTxVariant?: string;
|
|
4054
|
-
readonly acquirerCode?: string;
|
|
4055
|
-
readonly acquirerAccountCode?: string;
|
|
4056
|
-
readonly cardPaymentMethod?: string;
|
|
4057
|
-
readonly coBrandedWith?: string;
|
|
4058
|
-
readonly cardIssuingCountry?: string;
|
|
4059
|
-
readonly cardIssuingCurrency?: string;
|
|
4060
|
-
readonly cardIssuingBank?: string;
|
|
4061
|
-
readonly cardBin?: string;
|
|
4062
|
-
readonly issuerBin?: string;
|
|
4063
|
-
readonly cardSummary?: string;
|
|
4064
|
-
readonly untokenisedCardSummary?: string;
|
|
4065
|
-
readonly ownerName?: string;
|
|
4066
|
-
readonly bankName?: string;
|
|
4067
|
-
readonly issuerCountry?: string;
|
|
4068
|
-
readonly iban?: string;
|
|
4069
|
-
readonly bic?: string;
|
|
4070
4032
|
}
|
|
4071
4033
|
interface Recurring {
|
|
4072
4034
|
readonly contract: io.flow.adyen.v0.enums.Contract;
|
|
4073
4035
|
}
|
|
4074
4036
|
interface Redirect {
|
|
4075
4037
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
4076
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
4038
|
+
readonly method?: io.flow.adyen.v0.enums.Method;
|
|
4077
4039
|
readonly url?: string;
|
|
4078
4040
|
}
|
|
4079
4041
|
interface RedirectData {
|
|
@@ -4094,13 +4056,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4094
4056
|
readonly number: string;
|
|
4095
4057
|
readonly cvc?: string;
|
|
4096
4058
|
}
|
|
4097
|
-
interface SdkV3OnCompleteData {
|
|
4098
|
-
readonly details: any;
|
|
4099
|
-
readonly payment_data?: string;
|
|
4100
|
-
}
|
|
4101
|
-
interface SdkV3OnCompleteResult {
|
|
4102
|
-
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
4103
|
-
}
|
|
4104
4059
|
interface ThreeDSecureData {
|
|
4105
4060
|
readonly authenticationResponse?: string;
|
|
4106
4061
|
readonly cavv?: string;
|
|
@@ -4126,7 +4081,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4126
4081
|
}
|
|
4127
4082
|
declare namespace io.flow.adyen.v0.unions {
|
|
4128
4083
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
4129
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme
|
|
4084
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
4130
4085
|
}
|
|
4131
4086
|
declare namespace io.flow.order.management.v0.enums {
|
|
4132
4087
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -9841,7 +9796,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9841
9796
|
type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
|
|
9842
9797
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
9843
9798
|
type EmptyAttribute = 'irrelevant';
|
|
9844
|
-
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted' | 'channel_account_deleted' | 'organization_account_upserted' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | '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' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | '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' | 'levy_rate_summary_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' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fx_revenue_recognition_upserted' | 'fx_revenue_recognition_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' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'authorization_bundle_upserted' | 'authorization_bundle_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_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | '
|
|
9799
|
+
type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billable_label_upserted' | 'billable_label_deleted' | 'account_upserted' | 'account_upserted_v2' | 'account_deleted_v2' | 'account_contact_upserted' | 'account_contact_deleted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'channel_account_upserted' | 'channel_account_deleted' | 'organization_account_upserted' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'main_transaction_upserted' | 'main_transaction_deleted' | 'main_transaction_upserted_v2' | 'main_transaction_deleted_v2' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'transfer_transaction_upserted_v2' | 'transfer_transaction_deleted_v2' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'bank_payment_upserted_v2' | 'bank_payment_deleted_v2' | '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' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'internal_channel_rate_deleted' | 'internal_channel_rate_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'usd_spot_rate_deleted' | 'usd_spot_rate_upserted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'organization_currency_setting_upserted' | 'organization_currency_setting_deleted' | 'channel_currency_setting_upserted' | 'channel_currency_setting_deleted' | 'customer_purge_upserted' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'dispute_upserted' | 'dispute_deleted' | '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' | 'levy_rate_summary_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' | 'account_settings_upserted' | 'account_settings_deleted' | 'account_processing_rates_upserted' | 'account_processing_rates_deleted' | 'billing_organization_processing_rates_upserted' | 'billing_organization_processing_rates_deleted' | 'billing_organization_settings_upserted' | 'billing_organization_settings_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'fx_revenue_recognition_upserted' | 'fx_revenue_recognition_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' | 'payment_processor_account_upserted' | 'payment_processor_account_deleted' | 'payment_processor_merchant_upserted' | 'payment_processor_merchant_deleted' | 'virtual_card_provider_upserted' | 'virtual_card_provider_deleted' | 'authorization_bundle_upserted' | 'authorization_bundle_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_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'restriction_item_upserted' | 'restriction_item_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';
|
|
9845
9800
|
type ExperienceImportType = 'experience_with_settings';
|
|
9846
9801
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
9847
9802
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -10078,6 +10033,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10078
10033
|
readonly id: string;
|
|
10079
10034
|
readonly currency: string;
|
|
10080
10035
|
}
|
|
10036
|
+
interface AccountSettingLabelFees {
|
|
10037
|
+
readonly flow?: io.flow.internal.v0.models.TieredFee;
|
|
10038
|
+
readonly organization?: io.flow.internal.v0.models.TieredFee;
|
|
10039
|
+
}
|
|
10081
10040
|
interface AccountSettings {
|
|
10082
10041
|
readonly id: string;
|
|
10083
10042
|
readonly days_until_posted: number;
|
|
@@ -10092,7 +10051,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10092
10051
|
readonly duty_guarantee_fee?: number;
|
|
10093
10052
|
readonly transfer_fee?: number;
|
|
10094
10053
|
readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
|
|
10095
|
-
readonly
|
|
10054
|
+
readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
|
|
10096
10055
|
readonly charge_label_cost_directly: boolean;
|
|
10097
10056
|
readonly transaction_posting_method: io.flow.internal.v0.enums.TransactionPostingMethod;
|
|
10098
10057
|
readonly statement_transfer_transaction_location: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
|
|
@@ -15780,6 +15739,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15780
15739
|
readonly status: io.flow.internal.v0.enums.LabelCreationStatus;
|
|
15781
15740
|
}
|
|
15782
15741
|
interface LabelCreationRequestForm {
|
|
15742
|
+
readonly organization: string;
|
|
15783
15743
|
readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
|
|
15784
15744
|
readonly shipment_cost?: io.flow.common.v0.models.Money;
|
|
15785
15745
|
readonly reference_id?: string;
|
|
@@ -17304,36 +17264,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17304
17264
|
interface ProductListSettingsForm {
|
|
17305
17265
|
readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
|
|
17306
17266
|
}
|
|
17307
|
-
interface ProductRestriction {
|
|
17308
|
-
readonly id: string;
|
|
17309
|
-
readonly organization_id: string;
|
|
17310
|
-
readonly product_id: string;
|
|
17311
|
-
readonly restriction_decisions: io.flow.internal.v0.models.ProductRestrictionDecision[];
|
|
17312
|
-
}
|
|
17313
|
-
interface ProductRestrictionDecision {
|
|
17314
|
-
readonly rule_id: string;
|
|
17315
|
-
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
17316
|
-
readonly matching_positive_keywords: string[];
|
|
17317
|
-
readonly matching_negative_keywords: string[];
|
|
17318
|
-
}
|
|
17319
|
-
interface ProductRestrictionDecisionForm {
|
|
17320
|
-
readonly rule_id: string;
|
|
17321
|
-
readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
|
|
17322
|
-
}
|
|
17323
|
-
interface ProductRestrictionDeleted {
|
|
17324
|
-
readonly discriminator: 'product_restriction_deleted';
|
|
17325
|
-
readonly event_id: string;
|
|
17326
|
-
readonly timestamp: string;
|
|
17327
|
-
readonly organization: string;
|
|
17328
|
-
readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
|
|
17329
|
-
}
|
|
17330
|
-
interface ProductRestrictionUpserted {
|
|
17331
|
-
readonly discriminator: 'product_restriction_upserted';
|
|
17332
|
-
readonly event_id: string;
|
|
17333
|
-
readonly timestamp: string;
|
|
17334
|
-
readonly organization: string;
|
|
17335
|
-
readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
|
|
17336
|
-
}
|
|
17337
17267
|
interface QuoteRequest {
|
|
17338
17268
|
readonly id: string;
|
|
17339
17269
|
readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
|
|
@@ -17655,11 +17585,20 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17655
17585
|
readonly organization_id: string;
|
|
17656
17586
|
readonly product_id: string;
|
|
17657
17587
|
readonly name: string;
|
|
17588
|
+
readonly description: string;
|
|
17589
|
+
readonly categories: string[];
|
|
17658
17590
|
readonly images: io.flow.catalog.v0.models.Image[];
|
|
17659
17591
|
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
17660
17592
|
readonly review: io.flow.internal.v0.models.RestrictionItemReview;
|
|
17661
17593
|
readonly updated_at: string;
|
|
17662
17594
|
}
|
|
17595
|
+
interface RestrictionItemDeleted {
|
|
17596
|
+
readonly discriminator: 'restriction_item_deleted';
|
|
17597
|
+
readonly event_id: string;
|
|
17598
|
+
readonly timestamp: string;
|
|
17599
|
+
readonly organization: string;
|
|
17600
|
+
readonly restriction_item: io.flow.internal.v0.models.RestrictionItem;
|
|
17601
|
+
}
|
|
17663
17602
|
interface RestrictionItemReview {
|
|
17664
17603
|
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
17665
17604
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
@@ -17670,6 +17609,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17670
17609
|
readonly restriction_item_id: string;
|
|
17671
17610
|
readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
|
|
17672
17611
|
}
|
|
17612
|
+
interface RestrictionItemUpserted {
|
|
17613
|
+
readonly discriminator: 'restriction_item_upserted';
|
|
17614
|
+
readonly event_id: string;
|
|
17615
|
+
readonly timestamp: string;
|
|
17616
|
+
readonly organization: string;
|
|
17617
|
+
readonly restriction_item: io.flow.internal.v0.models.RestrictionItem;
|
|
17618
|
+
}
|
|
17673
17619
|
interface RestrictionKeywords {
|
|
17674
17620
|
readonly positive_keywords: string[];
|
|
17675
17621
|
readonly negative_keywords: string[];
|
|
@@ -17678,17 +17624,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17678
17624
|
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
17679
17625
|
readonly count: number;
|
|
17680
17626
|
}
|
|
17681
|
-
interface RestrictionProduct {
|
|
17682
|
-
readonly organization_id: string;
|
|
17683
|
-
readonly product_id: string;
|
|
17684
|
-
readonly name: string;
|
|
17685
|
-
readonly description: string;
|
|
17686
|
-
readonly categories: string[];
|
|
17687
|
-
readonly images: io.flow.catalog.v0.models.Image[];
|
|
17688
|
-
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
17689
|
-
readonly updated_at: string;
|
|
17690
|
-
readonly restrictions: io.flow.internal.v0.models.RestrictionItemReview[];
|
|
17691
|
-
}
|
|
17692
17627
|
interface RestrictionRule {
|
|
17693
17628
|
readonly id: string;
|
|
17694
17629
|
readonly name: string;
|
|
@@ -19123,7 +19058,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
19123
19058
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
19124
19059
|
type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
|
|
19125
19060
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
19126
|
-
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpserted | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpserted | io.flow.internal.v0.models.OrganizationAccountDeleted | 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.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | 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.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | 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.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | 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.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | 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.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | 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.LevyRateSummaryUpserted | 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.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | 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.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | 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.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.ProductRestrictionUpserted | io.flow.internal.v0.models.ProductRestrictionDeleted | 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;
|
|
19061
|
+
type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillableLabelUpserted | io.flow.internal.v0.models.BillableLabelDeleted | io.flow.internal.v0.models.AccountUpserted | io.flow.internal.v0.models.AccountUpsertedV2 | io.flow.internal.v0.models.AccountDeletedV2 | io.flow.internal.v0.models.AccountContactUpserted | io.flow.internal.v0.models.AccountContactDeleted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.ChannelAccountUpserted | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpserted | io.flow.internal.v0.models.OrganizationAccountDeleted | 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.MainTransactionUpsertedV2 | io.flow.internal.v0.models.MainTransactionDeletedV2 | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpsertedV2 | io.flow.internal.v0.models.TransferTransactionDeletedV2 | 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.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | 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.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | 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.InternalChannelRateDeleted | io.flow.internal.v0.models.InternalChannelRateUpserted | 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.UsdSpotRateDeleted | io.flow.internal.v0.models.UsdSpotRateUpserted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.OrganizationCurrencySettingUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingDeleted | io.flow.internal.v0.models.ChannelCurrencySettingUpserted | io.flow.internal.v0.models.ChannelCurrencySettingDeleted | io.flow.internal.v0.models.CustomerPurgeUpserted | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | 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.LevyRateSummaryUpserted | 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.AccountSettingsUpserted | io.flow.internal.v0.models.AccountSettingsDeleted | io.flow.internal.v0.models.AccountProcessingRatesUpserted | io.flow.internal.v0.models.AccountProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted | io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted | io.flow.internal.v0.models.BillingOrganizationSettingsUpserted | io.flow.internal.v0.models.BillingOrganizationSettingsDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.FxRevenueRecognitionUpserted | io.flow.internal.v0.models.FxRevenueRecognitionDeleted | 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.PaymentProcessorAccountUpserted | io.flow.internal.v0.models.PaymentProcessorAccountDeleted | io.flow.internal.v0.models.PaymentProcessorMerchantUpserted | io.flow.internal.v0.models.PaymentProcessorMerchantDeleted | io.flow.internal.v0.models.VirtualCardProviderUpserted | io.flow.internal.v0.models.VirtualCardProviderDeleted | io.flow.internal.v0.models.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | 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.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.RestrictionItemUpserted | io.flow.internal.v0.models.RestrictionItemDeleted | 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;
|
|
19127
19062
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
19128
19063
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
19129
19064
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -19194,6 +19129,7 @@ export declare type AccountProcessingRatesDeleted = io.flow.internal.v0.models.A
|
|
|
19194
19129
|
export declare type AccountProcessingRatesForm = io.flow.internal.v0.models.AccountProcessingRatesForm;
|
|
19195
19130
|
export declare type AccountProcessingRatesUpserted = io.flow.internal.v0.models.AccountProcessingRatesUpserted;
|
|
19196
19131
|
export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
19132
|
+
export declare type AccountSettingLabelFees = io.flow.internal.v0.models.AccountSettingLabelFees;
|
|
19197
19133
|
export declare type AccountSettings = io.flow.internal.v0.models.AccountSettings;
|
|
19198
19134
|
export declare type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted;
|
|
19199
19135
|
export declare type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted;
|
|
@@ -20708,11 +20644,6 @@ export declare type ProductHarmonization = io.flow.internal.v0.models.ProductHar
|
|
|
20708
20644
|
export declare type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
|
|
20709
20645
|
export declare type ProductLabels = io.flow.internal.v0.models.ProductLabels;
|
|
20710
20646
|
export declare type ProductListSettingsForm = io.flow.internal.v0.models.ProductListSettingsForm;
|
|
20711
|
-
export declare type ProductRestriction = io.flow.internal.v0.models.ProductRestriction;
|
|
20712
|
-
export declare type ProductRestrictionDecision = io.flow.internal.v0.models.ProductRestrictionDecision;
|
|
20713
|
-
export declare type ProductRestrictionDecisionForm = io.flow.internal.v0.models.ProductRestrictionDecisionForm;
|
|
20714
|
-
export declare type ProductRestrictionDeleted = io.flow.internal.v0.models.ProductRestrictionDeleted;
|
|
20715
|
-
export declare type ProductRestrictionUpserted = io.flow.internal.v0.models.ProductRestrictionUpserted;
|
|
20716
20647
|
export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
20717
20648
|
export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
20718
20649
|
export declare type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
|
|
@@ -20773,11 +20704,12 @@ export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsiblePart
|
|
|
20773
20704
|
export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
20774
20705
|
export declare type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
|
|
20775
20706
|
export declare type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
|
|
20707
|
+
export declare type RestrictionItemDeleted = io.flow.internal.v0.models.RestrictionItemDeleted;
|
|
20776
20708
|
export declare type RestrictionItemReview = io.flow.internal.v0.models.RestrictionItemReview;
|
|
20777
20709
|
export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
|
|
20710
|
+
export declare type RestrictionItemUpserted = io.flow.internal.v0.models.RestrictionItemUpserted;
|
|
20778
20711
|
export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
|
|
20779
20712
|
export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
|
|
20780
|
-
export declare type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
|
|
20781
20713
|
export declare type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
|
|
20782
20714
|
export declare type RestrictionRuleForm = io.flow.internal.v0.models.RestrictionRuleForm;
|
|
20783
20715
|
export declare type RestrictionRuleSummary = io.flow.internal.v0.models.RestrictionRuleSummary;
|
package/dist/api.d.ts
CHANGED
|
@@ -2247,7 +2247,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2247
2247
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
2248
2248
|
type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
|
|
2249
2249
|
type ExporterOfRecord = 'flow' | 'organization';
|
|
2250
|
-
type FeeDeductionType = 'mor' | 'fx' | 'processing' | 'rate_lock' | 'duty_guarantee' | 'revenue_share';
|
|
2250
|
+
type FeeDeductionType = 'mor' | 'fx' | 'processing' | 'rate_lock' | 'duty_guarantee' | 'revenue_share' | 'transfer';
|
|
2251
2251
|
type FlowBehavior = 'view_consumer_data';
|
|
2252
2252
|
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
2253
2253
|
type FlowRole = 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin';
|
|
@@ -2283,8 +2283,7 @@ declare namespace io.flow.v0.enums {
|
|
|
2283
2283
|
type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
|
|
2284
2284
|
type MerchantOfRecord = 'flow' | 'organization';
|
|
2285
2285
|
type Method = 'post';
|
|
2286
|
-
type
|
|
2287
|
-
type OnboardingTradeSector = 'apparel_and_accessories' | 'beauty_and_cosmetics' | 'electronics' | 'food_or_perishables' | 'jewellery_and_watches' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other';
|
|
2286
|
+
type OnboardingTradeSector = 'apparel' | 'accessories' | 'arts_and_entertainment' | 'animals_and_pet_supplies' | 'baby_and_toddler' | 'business_and_industrial' | 'camera_and_optics' | 'electronics' | 'furniture' | 'food_beverages_and_tobacco' | 'health_and_beauty' | 'home_and_garden' | 'hardware' | 'jewelry' | 'luggage_and_bags' | 'media' | 'office_supplies' | 'sporting_goods' | 'toys_and_games' | 'vehicles_and_parts' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other';
|
|
2288
2287
|
type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
|
|
2289
2288
|
type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
|
|
2290
2289
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
@@ -6298,6 +6297,12 @@ declare namespace io.flow.v0.models {
|
|
|
6298
6297
|
readonly payment_id: string;
|
|
6299
6298
|
readonly key?: string;
|
|
6300
6299
|
}
|
|
6300
|
+
interface OperationsContact {
|
|
6301
|
+
readonly full_name?: string;
|
|
6302
|
+
readonly company?: string;
|
|
6303
|
+
readonly email?: string;
|
|
6304
|
+
readonly phone?: string;
|
|
6305
|
+
}
|
|
6301
6306
|
interface OptinResponse {
|
|
6302
6307
|
readonly key: string;
|
|
6303
6308
|
readonly value: io.flow.v0.enums.OptinResponseType;
|
|
@@ -7977,6 +7982,11 @@ declare namespace io.flow.v0.models {
|
|
|
7977
7982
|
readonly max_date: string;
|
|
7978
7983
|
readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
|
|
7979
7984
|
}
|
|
7985
|
+
interface ProductRestrictionResult {
|
|
7986
|
+
readonly product_id: string;
|
|
7987
|
+
readonly item_numbers: string[];
|
|
7988
|
+
readonly prohibited_regions: string[];
|
|
7989
|
+
}
|
|
7980
7990
|
interface PromotionTrigger {
|
|
7981
7991
|
readonly type: io.flow.v0.enums.PromotionTriggerType;
|
|
7982
7992
|
readonly min: io.flow.v0.models.Price;
|
|
@@ -9287,9 +9297,10 @@ declare namespace io.flow.v0.models {
|
|
|
9287
9297
|
readonly average_order_weight?: number;
|
|
9288
9298
|
readonly package_dimensions?: io.flow.v0.models.Dimension[];
|
|
9289
9299
|
readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
|
|
9290
|
-
readonly dangerous_goods?:
|
|
9300
|
+
readonly dangerous_goods?: boolean;
|
|
9291
9301
|
readonly default_country_of_origin?: string;
|
|
9292
9302
|
readonly ratecard?: io.flow.v0.models.RatecardReference;
|
|
9303
|
+
readonly rate_card: string;
|
|
9293
9304
|
readonly created_at: string;
|
|
9294
9305
|
}
|
|
9295
9306
|
interface ShopifyMerchantApplicationForm {
|
|
@@ -9313,9 +9324,10 @@ declare namespace io.flow.v0.models {
|
|
|
9313
9324
|
readonly monthly_average_volume_amount?: number;
|
|
9314
9325
|
readonly monthly_average_volume_currency?: string;
|
|
9315
9326
|
readonly monthly_average_number_transactions?: number;
|
|
9316
|
-
readonly dangerous_goods?:
|
|
9327
|
+
readonly dangerous_goods?: boolean;
|
|
9317
9328
|
readonly default_country_of_origin?: string;
|
|
9318
9329
|
readonly ratecard_id?: string;
|
|
9330
|
+
readonly rate_card: string;
|
|
9319
9331
|
}
|
|
9320
9332
|
interface ShopifyOrderAttributesForm {
|
|
9321
9333
|
readonly attributes: Record<string, string>;
|
|
@@ -9724,10 +9736,10 @@ declare namespace io.flow.v0.models {
|
|
|
9724
9736
|
interface ThirdPartyLogisticsPartner {
|
|
9725
9737
|
readonly warehouse_address: io.flow.v0.models.BillingAddress;
|
|
9726
9738
|
readonly warehouse_url?: string;
|
|
9727
|
-
readonly third_party_logistics_pick_up_time_window
|
|
9728
|
-
readonly pickup_location
|
|
9739
|
+
readonly third_party_logistics_pick_up_time_window?: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
9740
|
+
readonly pickup_location?: io.flow.v0.models.BillingAddress;
|
|
9729
9741
|
readonly pickup_instructions?: string;
|
|
9730
|
-
readonly operations_contact: io.flow.v0.models.
|
|
9742
|
+
readonly operations_contact: io.flow.v0.models.OperationsContact;
|
|
9731
9743
|
}
|
|
9732
9744
|
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
9733
9745
|
readonly from: string;
|
|
@@ -11084,13 +11096,13 @@ export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInvent
|
|
|
11084
11096
|
export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
11085
11097
|
export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
11086
11098
|
export declare type NumberRange = io.flow.v0.models.NumberRange;
|
|
11087
|
-
export declare type OnboardingDangerousGoods = io.flow.v0.enums.OnboardingDangerousGoods;
|
|
11088
11099
|
export declare type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
|
|
11089
11100
|
export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
|
|
11090
11101
|
export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
|
|
11091
11102
|
export declare type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails;
|
|
11092
11103
|
export declare type OnlineAuthorizationUpsertedV2 = io.flow.v0.models.OnlineAuthorizationUpsertedV2;
|
|
11093
11104
|
export declare type OnlinePaymentAuthorizationForm = io.flow.v0.models.OnlinePaymentAuthorizationForm;
|
|
11105
|
+
export declare type OperationsContact = io.flow.v0.models.OperationsContact;
|
|
11094
11106
|
export declare type OptinResponse = io.flow.v0.models.OptinResponse;
|
|
11095
11107
|
export declare type OptinResponseType = io.flow.v0.enums.OptinResponseType;
|
|
11096
11108
|
export declare type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
|
|
@@ -11430,6 +11442,7 @@ export declare type PricingSettings = io.flow.v0.models.PricingSettings;
|
|
|
11430
11442
|
export declare type PricingUpserted = io.flow.v0.models.PricingUpserted;
|
|
11431
11443
|
export declare type PricingVersion = io.flow.v0.models.PricingVersion;
|
|
11432
11444
|
export declare type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
|
|
11445
|
+
export declare type ProductRestrictionResult = io.flow.v0.models.ProductRestrictionResult;
|
|
11433
11446
|
export declare type Promotion = io.flow.v0.unions.Promotion;
|
|
11434
11447
|
export declare type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
|
|
11435
11448
|
export declare type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.10",
|
|
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": "9176bb305b5a70b64d475b5fe444933884351215"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -5154,7 +5154,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5154
5154
|
| 'SECOND_CHARGEBACK'
|
|
5155
5155
|
| 'PREARBITRATION_WON'
|
|
5156
5156
|
| 'PREARBITRATION_LOST';
|
|
5157
|
-
type
|
|
5157
|
+
type Method = 'GET' | 'POST';
|
|
5158
5158
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
5159
5159
|
type PaymentMethod =
|
|
5160
5160
|
| 'ach'
|
|
@@ -5163,7 +5163,6 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5163
5163
|
| 'amex'
|
|
5164
5164
|
| 'bankTransfer_IBAN'
|
|
5165
5165
|
| 'bcmc'
|
|
5166
|
-
| 'bcmc_mobile'
|
|
5167
5166
|
| 'cartebancaire'
|
|
5168
5167
|
| 'cup'
|
|
5169
5168
|
| 'diners'
|
|
@@ -5226,11 +5225,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5226
5225
|
readonly currency: string;
|
|
5227
5226
|
}
|
|
5228
5227
|
|
|
5229
|
-
interface Applepay {
|
|
5230
|
-
readonly type: 'applepay';
|
|
5231
|
-
readonly applePayToken: string;
|
|
5232
|
-
}
|
|
5233
|
-
|
|
5234
5228
|
interface Authentication {
|
|
5235
5229
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5236
5230
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5258,8 +5252,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5258
5252
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5259
5253
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5260
5254
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5261
|
-
readonly mcc?: string;
|
|
5262
|
-
readonly metadata?: any /*object*/;
|
|
5263
5255
|
}
|
|
5264
5256
|
|
|
5265
5257
|
interface AuthorizeRequest3D {
|
|
@@ -5416,14 +5408,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5416
5408
|
readonly paymentData?: string;
|
|
5417
5409
|
}
|
|
5418
5410
|
|
|
5419
|
-
interface PaymentDetailsV663Ds2Challenge {
|
|
5420
|
-
readonly 'threeds2.challengeResult': string;
|
|
5421
|
-
}
|
|
5422
|
-
|
|
5423
|
-
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5424
|
-
readonly 'threeds2.fingerprint': string;
|
|
5425
|
-
}
|
|
5426
|
-
|
|
5427
5411
|
interface PaymentRequest {
|
|
5428
5412
|
readonly reference: string;
|
|
5429
5413
|
readonly merchantAccount: string;
|
|
@@ -5445,11 +5429,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5445
5429
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5446
5430
|
readonly origin?: string;
|
|
5447
5431
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
5448
|
-
readonly
|
|
5449
|
-
readonly mcc?: string;
|
|
5450
|
-
readonly metadata?: any /*object*/;
|
|
5451
|
-
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5452
|
-
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5432
|
+
readonly returnURL?: string;
|
|
5453
5433
|
}
|
|
5454
5434
|
|
|
5455
5435
|
interface PaymentResponse {
|
|
@@ -5472,28 +5452,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5472
5452
|
readonly threeDAuthenticatedResponse?: string;
|
|
5473
5453
|
readonly threeDOffered?: string;
|
|
5474
5454
|
readonly threeDOfferedResponse?: string;
|
|
5475
|
-
readonly threeDSVersion?: string;
|
|
5476
|
-
readonly eci?: string;
|
|
5477
|
-
readonly scaExemptionRequested?: string;
|
|
5478
|
-
readonly paymentMethod?: string;
|
|
5479
|
-
readonly paymentMethodVariant?: string;
|
|
5480
|
-
readonly tokenTxVariant?: string;
|
|
5481
|
-
readonly acquirerCode?: string;
|
|
5482
|
-
readonly acquirerAccountCode?: string;
|
|
5483
|
-
readonly cardPaymentMethod?: string;
|
|
5484
|
-
readonly coBrandedWith?: string;
|
|
5485
|
-
readonly cardIssuingCountry?: string;
|
|
5486
|
-
readonly cardIssuingCurrency?: string;
|
|
5487
|
-
readonly cardIssuingBank?: string;
|
|
5488
|
-
readonly cardBin?: string;
|
|
5489
|
-
readonly issuerBin?: string;
|
|
5490
|
-
readonly cardSummary?: string;
|
|
5491
|
-
readonly untokenisedCardSummary?: string;
|
|
5492
|
-
readonly ownerName?: string;
|
|
5493
|
-
readonly bankName?: string;
|
|
5494
|
-
readonly issuerCountry?: string;
|
|
5495
|
-
readonly iban?: string;
|
|
5496
|
-
readonly bic?: string;
|
|
5497
5455
|
}
|
|
5498
5456
|
|
|
5499
5457
|
interface Recurring {
|
|
@@ -5502,7 +5460,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5502
5460
|
|
|
5503
5461
|
interface Redirect {
|
|
5504
5462
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
5505
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
5463
|
+
readonly method?: io.flow.adyen.v0.enums.Method;
|
|
5506
5464
|
readonly url?: string;
|
|
5507
5465
|
}
|
|
5508
5466
|
|
|
@@ -5527,15 +5485,6 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5527
5485
|
readonly cvc?: string;
|
|
5528
5486
|
}
|
|
5529
5487
|
|
|
5530
|
-
interface SdkV3OnCompleteData {
|
|
5531
|
-
readonly details: any /*object*/;
|
|
5532
|
-
readonly payment_data?: string;
|
|
5533
|
-
}
|
|
5534
|
-
|
|
5535
|
-
interface SdkV3OnCompleteResult {
|
|
5536
|
-
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
5537
|
-
}
|
|
5538
|
-
|
|
5539
5488
|
interface ThreeDSecureData {
|
|
5540
5489
|
readonly authenticationResponse?: string;
|
|
5541
5490
|
readonly cavv?: string;
|
|
@@ -5567,9 +5516,7 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
5567
5516
|
type BrowserInfo =
|
|
5568
5517
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
5569
5518
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
5570
|
-
type PaymentMethodData =
|
|
5571
|
-
| io.flow.adyen.v0.models.Scheme
|
|
5572
|
-
| io.flow.adyen.v0.models.Applepay;
|
|
5519
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
5573
5520
|
}
|
|
5574
5521
|
|
|
5575
5522
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -13295,8 +13242,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13295
13242
|
| 'ratecard_service_fee_deleted'
|
|
13296
13243
|
| 'ratecard_lane_aggregate_upserted'
|
|
13297
13244
|
| 'ratecard_lane_aggregate_deleted'
|
|
13298
|
-
| '
|
|
13299
|
-
| '
|
|
13245
|
+
| 'restriction_item_upserted'
|
|
13246
|
+
| 'restriction_item_deleted'
|
|
13300
13247
|
| 'shopify_shop_upserted'
|
|
13301
13248
|
| 'shopify_shop_deleted'
|
|
13302
13249
|
| 'shopify_experience_short_id_upserted'
|
|
@@ -13799,6 +13746,11 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13799
13746
|
readonly currency: string;
|
|
13800
13747
|
}
|
|
13801
13748
|
|
|
13749
|
+
interface AccountSettingLabelFees {
|
|
13750
|
+
readonly flow?: io.flow.internal.v0.models.TieredFee;
|
|
13751
|
+
readonly organization?: io.flow.internal.v0.models.TieredFee;
|
|
13752
|
+
}
|
|
13753
|
+
|
|
13802
13754
|
interface AccountSettings {
|
|
13803
13755
|
readonly id: string;
|
|
13804
13756
|
readonly days_until_posted: number;
|
|
@@ -13813,7 +13765,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
13813
13765
|
readonly duty_guarantee_fee?: number;
|
|
13814
13766
|
readonly transfer_fee?: number;
|
|
13815
13767
|
readonly order_service_fee?: io.flow.internal.v0.models.TieredFee;
|
|
13816
|
-
readonly
|
|
13768
|
+
readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees;
|
|
13817
13769
|
readonly charge_label_cost_directly: boolean;
|
|
13818
13770
|
readonly transaction_posting_method: io.flow.internal.v0.enums.TransactionPostingMethod;
|
|
13819
13771
|
readonly statement_transfer_transaction_location: io.flow.internal.v0.enums.StatementTransferTransactionLocation;
|
|
@@ -20484,6 +20436,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20484
20436
|
}
|
|
20485
20437
|
|
|
20486
20438
|
interface LabelCreationRequestForm {
|
|
20439
|
+
readonly organization: string;
|
|
20487
20440
|
readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm;
|
|
20488
20441
|
readonly shipment_cost?: io.flow.common.v0.models.Money;
|
|
20489
20442
|
readonly reference_id?: string;
|
|
@@ -22244,41 +22197,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22244
22197
|
readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[];
|
|
22245
22198
|
}
|
|
22246
22199
|
|
|
22247
|
-
interface ProductRestriction {
|
|
22248
|
-
readonly id: string;
|
|
22249
|
-
readonly organization_id: string;
|
|
22250
|
-
readonly product_id: string;
|
|
22251
|
-
readonly restriction_decisions: io.flow.internal.v0.models.ProductRestrictionDecision[];
|
|
22252
|
-
}
|
|
22253
|
-
|
|
22254
|
-
interface ProductRestrictionDecision {
|
|
22255
|
-
readonly rule_id: string;
|
|
22256
|
-
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
22257
|
-
readonly matching_positive_keywords: string[];
|
|
22258
|
-
readonly matching_negative_keywords: string[];
|
|
22259
|
-
}
|
|
22260
|
-
|
|
22261
|
-
interface ProductRestrictionDecisionForm {
|
|
22262
|
-
readonly rule_id: string;
|
|
22263
|
-
readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
|
|
22264
|
-
}
|
|
22265
|
-
|
|
22266
|
-
interface ProductRestrictionDeleted {
|
|
22267
|
-
readonly discriminator: 'product_restriction_deleted';
|
|
22268
|
-
readonly event_id: string;
|
|
22269
|
-
readonly timestamp: string;
|
|
22270
|
-
readonly organization: string;
|
|
22271
|
-
readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
|
|
22272
|
-
}
|
|
22273
|
-
|
|
22274
|
-
interface ProductRestrictionUpserted {
|
|
22275
|
-
readonly discriminator: 'product_restriction_upserted';
|
|
22276
|
-
readonly event_id: string;
|
|
22277
|
-
readonly timestamp: string;
|
|
22278
|
-
readonly organization: string;
|
|
22279
|
-
readonly product_restriction: io.flow.internal.v0.models.ProductRestriction;
|
|
22280
|
-
}
|
|
22281
|
-
|
|
22282
22200
|
interface QuoteRequest {
|
|
22283
22201
|
readonly id: string;
|
|
22284
22202
|
readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
|
|
@@ -22646,12 +22564,22 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22646
22564
|
readonly organization_id: string;
|
|
22647
22565
|
readonly product_id: string;
|
|
22648
22566
|
readonly name: string;
|
|
22567
|
+
readonly description: string;
|
|
22568
|
+
readonly categories: string[];
|
|
22649
22569
|
readonly images: io.flow.catalog.v0.models.Image[];
|
|
22650
22570
|
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
22651
22571
|
readonly review: io.flow.internal.v0.models.RestrictionItemReview;
|
|
22652
22572
|
readonly updated_at: string;
|
|
22653
22573
|
}
|
|
22654
22574
|
|
|
22575
|
+
interface RestrictionItemDeleted {
|
|
22576
|
+
readonly discriminator: 'restriction_item_deleted';
|
|
22577
|
+
readonly event_id: string;
|
|
22578
|
+
readonly timestamp: string;
|
|
22579
|
+
readonly organization: string;
|
|
22580
|
+
readonly restriction_item: io.flow.internal.v0.models.RestrictionItem;
|
|
22581
|
+
}
|
|
22582
|
+
|
|
22655
22583
|
interface RestrictionItemReview {
|
|
22656
22584
|
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
22657
22585
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
@@ -22664,6 +22592,14 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22664
22592
|
readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
|
|
22665
22593
|
}
|
|
22666
22594
|
|
|
22595
|
+
interface RestrictionItemUpserted {
|
|
22596
|
+
readonly discriminator: 'restriction_item_upserted';
|
|
22597
|
+
readonly event_id: string;
|
|
22598
|
+
readonly timestamp: string;
|
|
22599
|
+
readonly organization: string;
|
|
22600
|
+
readonly restriction_item: io.flow.internal.v0.models.RestrictionItem;
|
|
22601
|
+
}
|
|
22602
|
+
|
|
22667
22603
|
interface RestrictionKeywords {
|
|
22668
22604
|
readonly positive_keywords: string[];
|
|
22669
22605
|
readonly negative_keywords: string[];
|
|
@@ -22674,18 +22610,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22674
22610
|
readonly count: number;
|
|
22675
22611
|
}
|
|
22676
22612
|
|
|
22677
|
-
interface RestrictionProduct {
|
|
22678
|
-
readonly organization_id: string;
|
|
22679
|
-
readonly product_id: string;
|
|
22680
|
-
readonly name: string;
|
|
22681
|
-
readonly description: string;
|
|
22682
|
-
readonly categories: string[];
|
|
22683
|
-
readonly images: io.flow.catalog.v0.models.Image[];
|
|
22684
|
-
readonly thumbnails: io.flow.catalog.v0.models.Image[];
|
|
22685
|
-
readonly updated_at: string;
|
|
22686
|
-
readonly restrictions: io.flow.internal.v0.models.RestrictionItemReview[];
|
|
22687
|
-
}
|
|
22688
|
-
|
|
22689
22613
|
interface RestrictionRule {
|
|
22690
22614
|
readonly id: string;
|
|
22691
22615
|
readonly name: string;
|
|
@@ -24890,8 +24814,8 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24890
24814
|
| io.flow.internal.v0.models.RatecardServiceFeeDeleted
|
|
24891
24815
|
| io.flow.internal.v0.models.RatecardLaneAggregateUpserted
|
|
24892
24816
|
| io.flow.internal.v0.models.RatecardLaneAggregateDeleted
|
|
24893
|
-
| io.flow.internal.v0.models.
|
|
24894
|
-
| io.flow.internal.v0.models.
|
|
24817
|
+
| io.flow.internal.v0.models.RestrictionItemUpserted
|
|
24818
|
+
| io.flow.internal.v0.models.RestrictionItemDeleted
|
|
24895
24819
|
| io.flow.internal.v0.models.ShopifyShopUpserted
|
|
24896
24820
|
| io.flow.internal.v0.models.ShopifyShopDeleted
|
|
24897
24821
|
| io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
|
|
@@ -25189,6 +25113,8 @@ export type AccountProcessingRatesForm =
|
|
|
25189
25113
|
export type AccountProcessingRatesUpserted =
|
|
25190
25114
|
io.flow.internal.v0.models.AccountProcessingRatesUpserted;
|
|
25191
25115
|
export type AccountReference = io.flow.internal.v0.models.AccountReference;
|
|
25116
|
+
export type AccountSettingLabelFees =
|
|
25117
|
+
io.flow.internal.v0.models.AccountSettingLabelFees;
|
|
25192
25118
|
export type AccountSettings = io.flow.internal.v0.models.AccountSettings;
|
|
25193
25119
|
export type AccountSettingsDeleted =
|
|
25194
25120
|
io.flow.internal.v0.models.AccountSettingsDeleted;
|
|
@@ -27835,15 +27761,6 @@ export type ProductHarmonizationForm =
|
|
|
27835
27761
|
export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
|
|
27836
27762
|
export type ProductListSettingsForm =
|
|
27837
27763
|
io.flow.internal.v0.models.ProductListSettingsForm;
|
|
27838
|
-
export type ProductRestriction = io.flow.internal.v0.models.ProductRestriction;
|
|
27839
|
-
export type ProductRestrictionDecision =
|
|
27840
|
-
io.flow.internal.v0.models.ProductRestrictionDecision;
|
|
27841
|
-
export type ProductRestrictionDecisionForm =
|
|
27842
|
-
io.flow.internal.v0.models.ProductRestrictionDecisionForm;
|
|
27843
|
-
export type ProductRestrictionDeleted =
|
|
27844
|
-
io.flow.internal.v0.models.ProductRestrictionDeleted;
|
|
27845
|
-
export type ProductRestrictionUpserted =
|
|
27846
|
-
io.flow.internal.v0.models.ProductRestrictionUpserted;
|
|
27847
27764
|
export type PromptAction = io.flow.internal.v0.enums.PromptAction;
|
|
27848
27765
|
export type PromptCheckoutDisplayPosition =
|
|
27849
27766
|
io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
|
|
@@ -27935,14 +27852,17 @@ export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
|
|
|
27935
27852
|
export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
27936
27853
|
export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
|
|
27937
27854
|
export type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
|
|
27855
|
+
export type RestrictionItemDeleted =
|
|
27856
|
+
io.flow.internal.v0.models.RestrictionItemDeleted;
|
|
27938
27857
|
export type RestrictionItemReview =
|
|
27939
27858
|
io.flow.internal.v0.models.RestrictionItemReview;
|
|
27940
27859
|
export type RestrictionItemReviewDecisionForm =
|
|
27941
27860
|
io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
|
|
27861
|
+
export type RestrictionItemUpserted =
|
|
27862
|
+
io.flow.internal.v0.models.RestrictionItemUpserted;
|
|
27942
27863
|
export type RestrictionKeywords =
|
|
27943
27864
|
io.flow.internal.v0.models.RestrictionKeywords;
|
|
27944
27865
|
export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
|
|
27945
|
-
export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
|
|
27946
27866
|
export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
|
|
27947
27867
|
export type RestrictionRuleForm =
|
|
27948
27868
|
io.flow.internal.v0.models.RestrictionRuleForm;
|
package/src/api.ts
CHANGED
|
@@ -3185,7 +3185,8 @@ declare namespace io.flow.v0.enums {
|
|
|
3185
3185
|
| 'processing'
|
|
3186
3186
|
| 'rate_lock'
|
|
3187
3187
|
| 'duty_guarantee'
|
|
3188
|
-
| 'revenue_share'
|
|
3188
|
+
| 'revenue_share'
|
|
3189
|
+
| 'transfer';
|
|
3189
3190
|
type FlowBehavior = 'view_consumer_data';
|
|
3190
3191
|
type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
|
|
3191
3192
|
type FlowRole =
|
|
@@ -3272,36 +3273,27 @@ declare namespace io.flow.v0.enums {
|
|
|
3272
3273
|
| 'unsupported_currency';
|
|
3273
3274
|
type MerchantOfRecord = 'flow' | 'organization';
|
|
3274
3275
|
type Method = 'post';
|
|
3275
|
-
type OnboardingDangerousGoods =
|
|
3276
|
-
| 'aerosols'
|
|
3277
|
-
| 'air_bag_inflators_or_seat_belt_pretensioners'
|
|
3278
|
-
| 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume'
|
|
3279
|
-
| 'batteries'
|
|
3280
|
-
| 'carbon_dioxide_or_dry_ice'
|
|
3281
|
-
| 'corrosives'
|
|
3282
|
-
| 'cannabidiol_products'
|
|
3283
|
-
| 'cologne_or_perfume'
|
|
3284
|
-
| 'currency_or_gift_cards_or_monetary_instruments'
|
|
3285
|
-
| 'exotic_leather_goods'
|
|
3286
|
-
| 'environmental_waste'
|
|
3287
|
-
| 'explosives_or_ammunition'
|
|
3288
|
-
| 'flammable_liquids'
|
|
3289
|
-
| 'gases'
|
|
3290
|
-
| 'hazardous_or_combustible_materials'
|
|
3291
|
-
| 'infectious_or_biological_substances'
|
|
3292
|
-
| 'knives'
|
|
3293
|
-
| 'matches_or_lighter_or_lighter_refills'
|
|
3294
|
-
| 'nail_polish'
|
|
3295
|
-
| 'oxidizing_materials_or_organic_peroxides'
|
|
3296
|
-
| 'pornography'
|
|
3297
|
-
| 'prohibited_carriage'
|
|
3298
|
-
| 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
|
|
3299
3276
|
type OnboardingTradeSector =
|
|
3300
|
-
| '
|
|
3301
|
-
| '
|
|
3277
|
+
| 'apparel'
|
|
3278
|
+
| 'accessories'
|
|
3279
|
+
| 'arts_and_entertainment'
|
|
3280
|
+
| 'animals_and_pet_supplies'
|
|
3281
|
+
| 'baby_and_toddler'
|
|
3282
|
+
| 'business_and_industrial'
|
|
3283
|
+
| 'camera_and_optics'
|
|
3302
3284
|
| 'electronics'
|
|
3303
|
-
| '
|
|
3304
|
-
| '
|
|
3285
|
+
| 'furniture'
|
|
3286
|
+
| 'food_beverages_and_tobacco'
|
|
3287
|
+
| 'health_and_beauty'
|
|
3288
|
+
| 'home_and_garden'
|
|
3289
|
+
| 'hardware'
|
|
3290
|
+
| 'jewelry'
|
|
3291
|
+
| 'luggage_and_bags'
|
|
3292
|
+
| 'media'
|
|
3293
|
+
| 'office_supplies'
|
|
3294
|
+
| 'sporting_goods'
|
|
3295
|
+
| 'toys_and_games'
|
|
3296
|
+
| 'vehicles_and_parts'
|
|
3305
3297
|
| 'paper_and_art'
|
|
3306
3298
|
| 'sports_and_fitness'
|
|
3307
3299
|
| 'toys_hobbies_gifts'
|
|
@@ -8265,6 +8257,13 @@ declare namespace io.flow.v0.models {
|
|
|
8265
8257
|
readonly key?: string;
|
|
8266
8258
|
}
|
|
8267
8259
|
|
|
8260
|
+
interface OperationsContact {
|
|
8261
|
+
readonly full_name?: string;
|
|
8262
|
+
readonly company?: string;
|
|
8263
|
+
readonly email?: string;
|
|
8264
|
+
readonly phone?: string;
|
|
8265
|
+
}
|
|
8266
|
+
|
|
8268
8267
|
interface OptinResponse {
|
|
8269
8268
|
readonly key: string;
|
|
8270
8269
|
readonly value: io.flow.v0.enums.OptinResponseType;
|
|
@@ -10232,6 +10231,12 @@ declare namespace io.flow.v0.models {
|
|
|
10232
10231
|
readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
|
|
10233
10232
|
}
|
|
10234
10233
|
|
|
10234
|
+
interface ProductRestrictionResult {
|
|
10235
|
+
readonly product_id: string;
|
|
10236
|
+
readonly item_numbers: string[];
|
|
10237
|
+
readonly prohibited_regions: string[];
|
|
10238
|
+
}
|
|
10239
|
+
|
|
10235
10240
|
interface PromotionTrigger {
|
|
10236
10241
|
readonly type: io.flow.v0.enums.PromotionTriggerType;
|
|
10237
10242
|
readonly min: io.flow.v0.models.Price;
|
|
@@ -11747,9 +11752,10 @@ declare namespace io.flow.v0.models {
|
|
|
11747
11752
|
readonly average_order_weight?: number;
|
|
11748
11753
|
readonly package_dimensions?: io.flow.v0.models.Dimension[];
|
|
11749
11754
|
readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
|
|
11750
|
-
readonly dangerous_goods?:
|
|
11755
|
+
readonly dangerous_goods?: boolean;
|
|
11751
11756
|
readonly default_country_of_origin?: string;
|
|
11752
11757
|
readonly ratecard?: io.flow.v0.models.RatecardReference;
|
|
11758
|
+
readonly rate_card: string;
|
|
11753
11759
|
readonly created_at: string;
|
|
11754
11760
|
}
|
|
11755
11761
|
|
|
@@ -11774,9 +11780,10 @@ declare namespace io.flow.v0.models {
|
|
|
11774
11780
|
readonly monthly_average_volume_amount?: number;
|
|
11775
11781
|
readonly monthly_average_volume_currency?: string;
|
|
11776
11782
|
readonly monthly_average_number_transactions?: number;
|
|
11777
|
-
readonly dangerous_goods?:
|
|
11783
|
+
readonly dangerous_goods?: boolean;
|
|
11778
11784
|
readonly default_country_of_origin?: string;
|
|
11779
11785
|
readonly ratecard_id?: string;
|
|
11786
|
+
readonly rate_card: string;
|
|
11780
11787
|
}
|
|
11781
11788
|
|
|
11782
11789
|
interface ShopifyOrderAttributesForm {
|
|
@@ -12252,10 +12259,10 @@ declare namespace io.flow.v0.models {
|
|
|
12252
12259
|
interface ThirdPartyLogisticsPartner {
|
|
12253
12260
|
readonly warehouse_address: io.flow.v0.models.BillingAddress;
|
|
12254
12261
|
readonly warehouse_url?: string;
|
|
12255
|
-
readonly third_party_logistics_pick_up_time_window
|
|
12256
|
-
readonly pickup_location
|
|
12262
|
+
readonly third_party_logistics_pick_up_time_window?: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
|
|
12263
|
+
readonly pickup_location?: io.flow.v0.models.BillingAddress;
|
|
12257
12264
|
readonly pickup_instructions?: string;
|
|
12258
|
-
readonly operations_contact: io.flow.v0.models.
|
|
12265
|
+
readonly operations_contact: io.flow.v0.models.OperationsContact;
|
|
12259
12266
|
}
|
|
12260
12267
|
|
|
12261
12268
|
interface ThirdPartyLogisticsPickUpTimeWindow {
|
|
@@ -14313,8 +14320,6 @@ export type NoInventoryReservationErrorItem =
|
|
|
14313
14320
|
export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
|
|
14314
14321
|
export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
|
|
14315
14322
|
export type NumberRange = io.flow.v0.models.NumberRange;
|
|
14316
|
-
export type OnboardingDangerousGoods =
|
|
14317
|
-
io.flow.v0.enums.OnboardingDangerousGoods;
|
|
14318
14323
|
export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
|
|
14319
14324
|
export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
|
|
14320
14325
|
export type OnlineAuthorizationDeletedV2 =
|
|
@@ -14325,6 +14330,7 @@ export type OnlineAuthorizationUpsertedV2 =
|
|
|
14325
14330
|
io.flow.v0.models.OnlineAuthorizationUpsertedV2;
|
|
14326
14331
|
export type OnlinePaymentAuthorizationForm =
|
|
14327
14332
|
io.flow.v0.models.OnlinePaymentAuthorizationForm;
|
|
14333
|
+
export type OperationsContact = io.flow.v0.models.OperationsContact;
|
|
14328
14334
|
export type OptinResponse = io.flow.v0.models.OptinResponse;
|
|
14329
14335
|
export type OptinResponseType = io.flow.v0.enums.OptinResponseType;
|
|
14330
14336
|
export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
|
|
@@ -14768,6 +14774,8 @@ export type PricingSettings = io.flow.v0.models.PricingSettings;
|
|
|
14768
14774
|
export type PricingUpserted = io.flow.v0.models.PricingUpserted;
|
|
14769
14775
|
export type PricingVersion = io.flow.v0.models.PricingVersion;
|
|
14770
14776
|
export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
|
|
14777
|
+
export type ProductRestrictionResult =
|
|
14778
|
+
io.flow.v0.models.ProductRestrictionResult;
|
|
14771
14779
|
export type Promotion = io.flow.v0.unions.Promotion;
|
|
14772
14780
|
export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
|
|
14773
14781
|
export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
|