@flowio/types 11.24.11 → 11.24.12
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 +93 -23
- package/dist/api.d.ts +2 -1
- package/package.json +2 -2
- package/src/api-internal.ts +125 -28
- package/src/api.ts +2 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -3130,15 +3130,18 @@ declare namespace io.flow.external.paypal.v1.enums {
|
|
|
3130
3130
|
type OtherMeansPaymentMethod = 'CASH' | 'CREDIT_CARD' | 'CHECK' | 'PAYPAL' | 'DEBIT_CARD' | 'GIFT_CARD' | 'BANK_TRANSFER';
|
|
3131
3131
|
type PayerStatus = 'VERIFIED' | 'UNVERIFIED';
|
|
3132
3132
|
type PaymentMethod = 'paypal';
|
|
3133
|
+
type PaymentPattern = 'CUSTOMER_PRESENT_ONETIME_PURCHASE' | 'CUSTOMER_NOT_PRESENT_RECURRING' | 'CUSTOMER_PRESENT_RECURRING_FIRST' | 'CUSTOMER_PRESENT_ONETIME_PURCHASE_VAULTED' | 'CUSTOMER_NOT_PRESENT_ONETIME_PURCHASE_VAULTED';
|
|
3133
3134
|
type ProductReceived = 'YES' | 'NO' | 'RETURNED';
|
|
3134
3135
|
type RefundState = 'pending' | 'completed' | 'cancelled' | 'failed';
|
|
3135
3136
|
type ReturnAcknowledgementType = 'ITEM_RECEIVED' | 'ITEM_NOT_RECEIVED' | 'DAMAGED' | 'EMPTY_PACKAGE_OR_DIFFERENT' | 'MISSING_ITEMS';
|
|
3136
3137
|
type ReturnMode = 'SHIPPED' | 'IN_PERSON';
|
|
3137
3138
|
type ServiceStarted = 'YES' | 'NO' | 'RETURNED';
|
|
3139
|
+
type ShippingDisplayPreference = 'NO_SHIPPING' | 'GET_FROM_FILE' | 'SET_PROVIDED_ADDRESS';
|
|
3138
3140
|
type State = 'created' | 'approved' | 'failed';
|
|
3139
3141
|
type SubReason = 'DAMAGED' | 'DIFFERENT' | 'INCOMPLETE' | 'OTHER';
|
|
3140
3142
|
type SupportingInfoSource = 'SUBMITTED_BY_BUYER' | 'SUBMITTED_BY_SELLER' | 'SUBMITTED_BY_PARTNER';
|
|
3141
3143
|
type TransactionStatus = 'COMPLETED' | 'UNCLAIMED' | 'DENIED' | 'FAILED' | 'HELD' | 'PENDING' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'REVERSED' | 'CANCELLED';
|
|
3144
|
+
type UserActionPrompt = 'commit' | 'continue';
|
|
3142
3145
|
}
|
|
3143
3146
|
declare namespace io.flow.external.paypal.v1.models {
|
|
3144
3147
|
interface AcknowledgeReturnItem {
|
|
@@ -3180,6 +3183,13 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
3180
3183
|
interface AllowedResponseOptions {
|
|
3181
3184
|
readonly acknowledge_return_item?: io.flow.external.paypal.v1.models.AcknowledgeReturnItem;
|
|
3182
3185
|
}
|
|
3186
|
+
interface ApplicationContext {
|
|
3187
|
+
readonly brand_name?: string;
|
|
3188
|
+
readonly locale?: string;
|
|
3189
|
+
readonly payment_pattern?: io.flow.external.paypal.v1.enums.PaymentPattern;
|
|
3190
|
+
readonly shipping_preference?: io.flow.external.paypal.v1.enums.ShippingDisplayPreference;
|
|
3191
|
+
readonly user_action?: io.flow.external.paypal.v1.enums.UserActionPrompt;
|
|
3192
|
+
}
|
|
3183
3193
|
interface BillingDisputesProperties {
|
|
3184
3194
|
readonly duplicate_transaction?: io.flow.external.paypal.v1.models.DuplicateTransaction;
|
|
3185
3195
|
readonly incorrect_transaction_amount?: io.flow.external.paypal.v1.models.IncorrectTransactionAmount;
|
|
@@ -3390,6 +3400,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
3390
3400
|
readonly experience_profile_id?: string;
|
|
3391
3401
|
readonly note_to_payer?: string;
|
|
3392
3402
|
readonly redirect_urls: io.flow.external.paypal.v1.models.RedirectUrls;
|
|
3403
|
+
readonly application_context?: io.flow.external.paypal.v1.models.ApplicationContext;
|
|
3393
3404
|
}
|
|
3394
3405
|
interface PaymentResponse {
|
|
3395
3406
|
readonly id: string;
|
|
@@ -3403,6 +3414,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
3403
3414
|
readonly create_time: string;
|
|
3404
3415
|
readonly update_time?: string;
|
|
3405
3416
|
readonly links: io.flow.external.paypal.v1.models.Link[];
|
|
3417
|
+
readonly application_context?: io.flow.external.paypal.v1.models.ApplicationContext;
|
|
3406
3418
|
}
|
|
3407
3419
|
interface ProductDetails {
|
|
3408
3420
|
readonly description?: string;
|
|
@@ -3807,9 +3819,9 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
3807
3819
|
type Contract = 'RECURRING';
|
|
3808
3820
|
type DeviceChannel = 'app' | 'browser';
|
|
3809
3821
|
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
|
|
3822
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
3811
3823
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
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';
|
|
3824
|
+
type PaymentMethod = 'ach' | 'alipay' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | '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
3825
|
type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
|
|
3814
3826
|
type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
|
|
3815
3827
|
type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
|
|
@@ -3828,6 +3840,10 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3828
3840
|
readonly value: number;
|
|
3829
3841
|
readonly currency: string;
|
|
3830
3842
|
}
|
|
3843
|
+
interface Applepay {
|
|
3844
|
+
readonly type: 'applepay';
|
|
3845
|
+
readonly applePayToken: string;
|
|
3846
|
+
}
|
|
3831
3847
|
interface Authentication {
|
|
3832
3848
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
3833
3849
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -3854,6 +3870,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3854
3870
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
3855
3871
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
3856
3872
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
3873
|
+
readonly mcc?: string;
|
|
3874
|
+
readonly metadata?: any;
|
|
3857
3875
|
}
|
|
3858
3876
|
interface AuthorizeRequest3D {
|
|
3859
3877
|
readonly merchantAccount: string;
|
|
@@ -3987,6 +4005,12 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
3987
4005
|
readonly details: any;
|
|
3988
4006
|
readonly paymentData?: string;
|
|
3989
4007
|
}
|
|
4008
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
4009
|
+
readonly 'threeds2.challengeResult': string;
|
|
4010
|
+
}
|
|
4011
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
4012
|
+
readonly 'threeds2.fingerprint': string;
|
|
4013
|
+
}
|
|
3990
4014
|
interface PaymentRequest {
|
|
3991
4015
|
readonly reference: string;
|
|
3992
4016
|
readonly merchantAccount: string;
|
|
@@ -4008,7 +4032,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4008
4032
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
4009
4033
|
readonly origin?: string;
|
|
4010
4034
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
4011
|
-
readonly
|
|
4035
|
+
readonly returnUrl?: string;
|
|
4036
|
+
readonly mcc?: string;
|
|
4037
|
+
readonly metadata?: any;
|
|
4038
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4039
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4012
4040
|
}
|
|
4013
4041
|
interface PaymentResponse {
|
|
4014
4042
|
readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
|
|
@@ -4029,13 +4057,35 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4029
4057
|
readonly threeDAuthenticatedResponse?: string;
|
|
4030
4058
|
readonly threeDOffered?: string;
|
|
4031
4059
|
readonly threeDOfferedResponse?: string;
|
|
4060
|
+
readonly threeDSVersion?: string;
|
|
4061
|
+
readonly eci?: string;
|
|
4062
|
+
readonly scaExemptionRequested?: string;
|
|
4063
|
+
readonly paymentMethod?: string;
|
|
4064
|
+
readonly paymentMethodVariant?: string;
|
|
4065
|
+
readonly tokenTxVariant?: string;
|
|
4066
|
+
readonly acquirerCode?: string;
|
|
4067
|
+
readonly acquirerAccountCode?: string;
|
|
4068
|
+
readonly cardPaymentMethod?: string;
|
|
4069
|
+
readonly coBrandedWith?: string;
|
|
4070
|
+
readonly cardIssuingCountry?: string;
|
|
4071
|
+
readonly cardIssuingCurrency?: string;
|
|
4072
|
+
readonly cardIssuingBank?: string;
|
|
4073
|
+
readonly cardBin?: string;
|
|
4074
|
+
readonly issuerBin?: string;
|
|
4075
|
+
readonly cardSummary?: string;
|
|
4076
|
+
readonly untokenisedCardSummary?: string;
|
|
4077
|
+
readonly ownerName?: string;
|
|
4078
|
+
readonly bankName?: string;
|
|
4079
|
+
readonly issuerCountry?: string;
|
|
4080
|
+
readonly iban?: string;
|
|
4081
|
+
readonly bic?: string;
|
|
4032
4082
|
}
|
|
4033
4083
|
interface Recurring {
|
|
4034
4084
|
readonly contract: io.flow.adyen.v0.enums.Contract;
|
|
4035
4085
|
}
|
|
4036
4086
|
interface Redirect {
|
|
4037
4087
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
4038
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
4088
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
4039
4089
|
readonly url?: string;
|
|
4040
4090
|
}
|
|
4041
4091
|
interface RedirectData {
|
|
@@ -4056,6 +4106,13 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4056
4106
|
readonly number: string;
|
|
4057
4107
|
readonly cvc?: string;
|
|
4058
4108
|
}
|
|
4109
|
+
interface SdkV3OnCompleteData {
|
|
4110
|
+
readonly details: any;
|
|
4111
|
+
readonly payment_data?: string;
|
|
4112
|
+
}
|
|
4113
|
+
interface SdkV3OnCompleteResult {
|
|
4114
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
4115
|
+
}
|
|
4059
4116
|
interface ThreeDSecureData {
|
|
4060
4117
|
readonly authenticationResponse?: string;
|
|
4061
4118
|
readonly cavv?: string;
|
|
@@ -4081,7 +4138,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
4081
4138
|
}
|
|
4082
4139
|
declare namespace io.flow.adyen.v0.unions {
|
|
4083
4140
|
type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
4084
|
-
type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
|
|
4141
|
+
type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
|
|
4085
4142
|
}
|
|
4086
4143
|
declare namespace io.flow.order.management.v0.enums {
|
|
4087
4144
|
type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
|
|
@@ -9796,7 +9853,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9796
9853
|
type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
|
|
9797
9854
|
type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
|
|
9798
9855
|
type EmptyAttribute = 'irrelevant';
|
|
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' | '
|
|
9856
|
+
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' | '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';
|
|
9800
9857
|
type ExperienceImportType = 'experience_with_settings';
|
|
9801
9858
|
type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
|
|
9802
9859
|
type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
|
|
@@ -9848,6 +9905,9 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9848
9905
|
type MerchantOnboardingTaskState = 'created' | 'in_progress' | 'completed' | 'terminated';
|
|
9849
9906
|
type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
|
|
9850
9907
|
type NoLiabilityReasonCode = 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement';
|
|
9908
|
+
type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
|
|
9909
|
+
type OnboardingAuditResult = 'pass' | 'fail';
|
|
9910
|
+
type OnboardingAuditThemeKey = 'billing' | 'catalog' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'integration_partner';
|
|
9851
9911
|
type OrderAction = 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture';
|
|
9852
9912
|
type OrderAttributeIntent = 'discount_code';
|
|
9853
9913
|
type OrderChargeTrigger = 'first_shipment' | 'last_shipment' | 'shipment_exhausted';
|
|
@@ -16390,6 +16450,25 @@ declare namespace io.flow.internal.v0.models {
|
|
|
16390
16450
|
interface Notification {
|
|
16391
16451
|
readonly order: io.flow.internal.v0.models.Decision;
|
|
16392
16452
|
}
|
|
16453
|
+
interface OnboardingAuditMessage {
|
|
16454
|
+
readonly message: string;
|
|
16455
|
+
readonly level: io.flow.internal.v0.enums.OnboardingAuditMessageLevel;
|
|
16456
|
+
}
|
|
16457
|
+
interface OnboardingAuditReport {
|
|
16458
|
+
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
16459
|
+
readonly theme_reports: io.flow.internal.v0.models.OnboardingAuditThemeReport[];
|
|
16460
|
+
}
|
|
16461
|
+
interface OnboardingAuditReportLine {
|
|
16462
|
+
readonly name: string;
|
|
16463
|
+
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
16464
|
+
readonly messages: io.flow.internal.v0.models.OnboardingAuditMessage[];
|
|
16465
|
+
}
|
|
16466
|
+
interface OnboardingAuditThemeReport {
|
|
16467
|
+
readonly name: string;
|
|
16468
|
+
readonly key: io.flow.internal.v0.enums.OnboardingAuditThemeKey;
|
|
16469
|
+
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
16470
|
+
readonly lines: io.flow.internal.v0.models.OnboardingAuditReportLine[];
|
|
16471
|
+
}
|
|
16393
16472
|
interface OneTimeTokenRedemptionForm {
|
|
16394
16473
|
readonly token: string;
|
|
16395
16474
|
}
|
|
@@ -17592,13 +17671,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17592
17671
|
readonly review: io.flow.internal.v0.models.RestrictionItemReview;
|
|
17593
17672
|
readonly updated_at: string;
|
|
17594
17673
|
}
|
|
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
|
-
}
|
|
17602
17674
|
interface RestrictionItemReview {
|
|
17603
17675
|
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
17604
17676
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
@@ -17609,13 +17681,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17609
17681
|
readonly restriction_item_id: string;
|
|
17610
17682
|
readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
|
|
17611
17683
|
}
|
|
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
|
-
}
|
|
17619
17684
|
interface RestrictionKeywords {
|
|
17620
17685
|
readonly positive_keywords: string[];
|
|
17621
17686
|
readonly negative_keywords: string[];
|
|
@@ -19058,7 +19123,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
19058
19123
|
type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
|
|
19059
19124
|
type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
|
|
19060
19125
|
type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
|
|
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;
|
|
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.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;
|
|
19062
19127
|
type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
|
|
19063
19128
|
type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
|
|
19064
19129
|
type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
|
|
@@ -20485,6 +20550,13 @@ export declare type NoCalculatedTaxAmount = io.flow.internal.v0.models.NoCalcula
|
|
|
20485
20550
|
export declare type NoClassificationForm = io.flow.internal.v0.models.NoClassificationForm;
|
|
20486
20551
|
export declare type NoLiabilityReasonCode = io.flow.internal.v0.enums.NoLiabilityReasonCode;
|
|
20487
20552
|
export declare type Notification = io.flow.internal.v0.models.Notification;
|
|
20553
|
+
export declare type OnboardingAuditMessage = io.flow.internal.v0.models.OnboardingAuditMessage;
|
|
20554
|
+
export declare type OnboardingAuditMessageLevel = io.flow.internal.v0.enums.OnboardingAuditMessageLevel;
|
|
20555
|
+
export declare type OnboardingAuditReport = io.flow.internal.v0.models.OnboardingAuditReport;
|
|
20556
|
+
export declare type OnboardingAuditReportLine = io.flow.internal.v0.models.OnboardingAuditReportLine;
|
|
20557
|
+
export declare type OnboardingAuditResult = io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
20558
|
+
export declare type OnboardingAuditThemeKey = io.flow.internal.v0.enums.OnboardingAuditThemeKey;
|
|
20559
|
+
export declare type OnboardingAuditThemeReport = io.flow.internal.v0.models.OnboardingAuditThemeReport;
|
|
20488
20560
|
export declare type OneTimeTokenRedemptionForm = io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
|
|
20489
20561
|
export declare type OnlineAuthorizationCompleted = io.flow.internal.v0.models.OnlineAuthorizationCompleted;
|
|
20490
20562
|
export declare type OptinAttribute = io.flow.internal.v0.models.OptinAttribute;
|
|
@@ -20704,10 +20776,8 @@ export declare type ResponsibleParty = io.flow.internal.v0.enums.ResponsiblePart
|
|
|
20704
20776
|
export declare type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
20705
20777
|
export declare type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
|
|
20706
20778
|
export declare type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
|
|
20707
|
-
export declare type RestrictionItemDeleted = io.flow.internal.v0.models.RestrictionItemDeleted;
|
|
20708
20779
|
export declare type RestrictionItemReview = io.flow.internal.v0.models.RestrictionItemReview;
|
|
20709
20780
|
export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
|
|
20710
|
-
export declare type RestrictionItemUpserted = io.flow.internal.v0.models.RestrictionItemUpserted;
|
|
20711
20781
|
export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
|
|
20712
20782
|
export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
|
|
20713
20783
|
export declare type RestrictionRule = io.flow.internal.v0.models.RestrictionRule;
|
package/dist/api.d.ts
CHANGED
|
@@ -7983,6 +7983,7 @@ declare namespace io.flow.v0.models {
|
|
|
7983
7983
|
readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
|
|
7984
7984
|
}
|
|
7985
7985
|
interface ProductRestrictionResult {
|
|
7986
|
+
readonly id: string;
|
|
7986
7987
|
readonly product_id: string;
|
|
7987
7988
|
readonly item_numbers: string[];
|
|
7988
7989
|
readonly prohibited_regions: string[];
|
|
@@ -10040,7 +10041,7 @@ declare namespace io.flow.v0.models {
|
|
|
10040
10041
|
readonly event_id: string;
|
|
10041
10042
|
readonly timestamp: string;
|
|
10042
10043
|
readonly organization: string;
|
|
10043
|
-
readonly
|
|
10044
|
+
readonly transaction: io.flow.v0.models.Transaction;
|
|
10044
10045
|
}
|
|
10045
10046
|
interface TransactionUpserted {
|
|
10046
10047
|
readonly discriminator: 'transaction_upserted';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.12",
|
|
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": "56bd64341671c62c52f94f951b60e6a7e0aa1441"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -4273,6 +4273,12 @@ declare namespace io.flow.external.paypal.v1.enums {
|
|
|
4273
4273
|
| 'BANK_TRANSFER';
|
|
4274
4274
|
type PayerStatus = 'VERIFIED' | 'UNVERIFIED';
|
|
4275
4275
|
type PaymentMethod = 'paypal';
|
|
4276
|
+
type PaymentPattern =
|
|
4277
|
+
| 'CUSTOMER_PRESENT_ONETIME_PURCHASE'
|
|
4278
|
+
| 'CUSTOMER_NOT_PRESENT_RECURRING'
|
|
4279
|
+
| 'CUSTOMER_PRESENT_RECURRING_FIRST'
|
|
4280
|
+
| 'CUSTOMER_PRESENT_ONETIME_PURCHASE_VAULTED'
|
|
4281
|
+
| 'CUSTOMER_NOT_PRESENT_ONETIME_PURCHASE_VAULTED';
|
|
4276
4282
|
type ProductReceived = 'YES' | 'NO' | 'RETURNED';
|
|
4277
4283
|
type RefundState = 'pending' | 'completed' | 'cancelled' | 'failed';
|
|
4278
4284
|
type ReturnAcknowledgementType =
|
|
@@ -4283,6 +4289,10 @@ declare namespace io.flow.external.paypal.v1.enums {
|
|
|
4283
4289
|
| 'MISSING_ITEMS';
|
|
4284
4290
|
type ReturnMode = 'SHIPPED' | 'IN_PERSON';
|
|
4285
4291
|
type ServiceStarted = 'YES' | 'NO' | 'RETURNED';
|
|
4292
|
+
type ShippingDisplayPreference =
|
|
4293
|
+
| 'NO_SHIPPING'
|
|
4294
|
+
| 'GET_FROM_FILE'
|
|
4295
|
+
| 'SET_PROVIDED_ADDRESS';
|
|
4286
4296
|
type State = 'created' | 'approved' | 'failed';
|
|
4287
4297
|
type SubReason = 'DAMAGED' | 'DIFFERENT' | 'INCOMPLETE' | 'OTHER';
|
|
4288
4298
|
type SupportingInfoSource =
|
|
@@ -4300,6 +4310,7 @@ declare namespace io.flow.external.paypal.v1.enums {
|
|
|
4300
4310
|
| 'REFUNDED'
|
|
4301
4311
|
| 'REVERSED'
|
|
4302
4312
|
| 'CANCELLED';
|
|
4313
|
+
type UserActionPrompt = 'commit' | 'continue';
|
|
4303
4314
|
}
|
|
4304
4315
|
|
|
4305
4316
|
declare namespace io.flow.external.paypal.v1.models {
|
|
@@ -4349,6 +4360,14 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
4349
4360
|
readonly acknowledge_return_item?: io.flow.external.paypal.v1.models.AcknowledgeReturnItem;
|
|
4350
4361
|
}
|
|
4351
4362
|
|
|
4363
|
+
interface ApplicationContext {
|
|
4364
|
+
readonly brand_name?: string;
|
|
4365
|
+
readonly locale?: string;
|
|
4366
|
+
readonly payment_pattern?: io.flow.external.paypal.v1.enums.PaymentPattern;
|
|
4367
|
+
readonly shipping_preference?: io.flow.external.paypal.v1.enums.ShippingDisplayPreference;
|
|
4368
|
+
readonly user_action?: io.flow.external.paypal.v1.enums.UserActionPrompt;
|
|
4369
|
+
}
|
|
4370
|
+
|
|
4352
4371
|
interface BillingDisputesProperties {
|
|
4353
4372
|
readonly duplicate_transaction?: io.flow.external.paypal.v1.models.DuplicateTransaction;
|
|
4354
4373
|
readonly incorrect_transaction_amount?: io.flow.external.paypal.v1.models.IncorrectTransactionAmount;
|
|
@@ -4592,6 +4611,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
4592
4611
|
readonly experience_profile_id?: string;
|
|
4593
4612
|
readonly note_to_payer?: string;
|
|
4594
4613
|
readonly redirect_urls: io.flow.external.paypal.v1.models.RedirectUrls;
|
|
4614
|
+
readonly application_context?: io.flow.external.paypal.v1.models.ApplicationContext;
|
|
4595
4615
|
}
|
|
4596
4616
|
|
|
4597
4617
|
interface PaymentResponse {
|
|
@@ -4606,6 +4626,7 @@ declare namespace io.flow.external.paypal.v1.models {
|
|
|
4606
4626
|
readonly create_time: string;
|
|
4607
4627
|
readonly update_time?: string;
|
|
4608
4628
|
readonly links: io.flow.external.paypal.v1.models.Link[];
|
|
4629
|
+
readonly application_context?: io.flow.external.paypal.v1.models.ApplicationContext;
|
|
4609
4630
|
}
|
|
4610
4631
|
|
|
4611
4632
|
interface ProductDetails {
|
|
@@ -5154,7 +5175,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5154
5175
|
| 'SECOND_CHARGEBACK'
|
|
5155
5176
|
| 'PREARBITRATION_WON'
|
|
5156
5177
|
| 'PREARBITRATION_LOST';
|
|
5157
|
-
type
|
|
5178
|
+
type HttpRedirectMethod = 'GET' | 'POST';
|
|
5158
5179
|
type Operation = 'cancel' | 'capture' | 'refund';
|
|
5159
5180
|
type PaymentMethod =
|
|
5160
5181
|
| 'ach'
|
|
@@ -5163,6 +5184,7 @@ declare namespace io.flow.adyen.v0.enums {
|
|
|
5163
5184
|
| 'amex'
|
|
5164
5185
|
| 'bankTransfer_IBAN'
|
|
5165
5186
|
| 'bcmc'
|
|
5187
|
+
| 'bcmc_mobile'
|
|
5166
5188
|
| 'cartebancaire'
|
|
5167
5189
|
| 'cup'
|
|
5168
5190
|
| 'diners'
|
|
@@ -5225,6 +5247,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5225
5247
|
readonly currency: string;
|
|
5226
5248
|
}
|
|
5227
5249
|
|
|
5250
|
+
interface Applepay {
|
|
5251
|
+
readonly type: 'applepay';
|
|
5252
|
+
readonly applePayToken: string;
|
|
5253
|
+
}
|
|
5254
|
+
|
|
5228
5255
|
interface Authentication {
|
|
5229
5256
|
readonly 'threeds2.fingerprintToken'?: string;
|
|
5230
5257
|
readonly 'threeds2.challengeToken'?: string;
|
|
@@ -5252,6 +5279,8 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5252
5279
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5253
5280
|
readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
|
|
5254
5281
|
readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
|
|
5282
|
+
readonly mcc?: string;
|
|
5283
|
+
readonly metadata?: any /*object*/;
|
|
5255
5284
|
}
|
|
5256
5285
|
|
|
5257
5286
|
interface AuthorizeRequest3D {
|
|
@@ -5408,6 +5437,14 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5408
5437
|
readonly paymentData?: string;
|
|
5409
5438
|
}
|
|
5410
5439
|
|
|
5440
|
+
interface PaymentDetailsV663Ds2Challenge {
|
|
5441
|
+
readonly 'threeds2.challengeResult': string;
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5444
|
+
interface PaymentDetailsV663Ds2Fingerprint {
|
|
5445
|
+
readonly 'threeds2.fingerprint': string;
|
|
5446
|
+
}
|
|
5447
|
+
|
|
5411
5448
|
interface PaymentRequest {
|
|
5412
5449
|
readonly reference: string;
|
|
5413
5450
|
readonly merchantAccount: string;
|
|
@@ -5429,7 +5466,11 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5429
5466
|
readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
|
|
5430
5467
|
readonly origin?: string;
|
|
5431
5468
|
readonly channel?: io.flow.adyen.v0.enums.Channel;
|
|
5432
|
-
readonly
|
|
5469
|
+
readonly returnUrl?: string;
|
|
5470
|
+
readonly mcc?: string;
|
|
5471
|
+
readonly metadata?: any /*object*/;
|
|
5472
|
+
readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5473
|
+
readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5433
5474
|
}
|
|
5434
5475
|
|
|
5435
5476
|
interface PaymentResponse {
|
|
@@ -5452,6 +5493,28 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5452
5493
|
readonly threeDAuthenticatedResponse?: string;
|
|
5453
5494
|
readonly threeDOffered?: string;
|
|
5454
5495
|
readonly threeDOfferedResponse?: string;
|
|
5496
|
+
readonly threeDSVersion?: string;
|
|
5497
|
+
readonly eci?: string;
|
|
5498
|
+
readonly scaExemptionRequested?: string;
|
|
5499
|
+
readonly paymentMethod?: string;
|
|
5500
|
+
readonly paymentMethodVariant?: string;
|
|
5501
|
+
readonly tokenTxVariant?: string;
|
|
5502
|
+
readonly acquirerCode?: string;
|
|
5503
|
+
readonly acquirerAccountCode?: string;
|
|
5504
|
+
readonly cardPaymentMethod?: string;
|
|
5505
|
+
readonly coBrandedWith?: string;
|
|
5506
|
+
readonly cardIssuingCountry?: string;
|
|
5507
|
+
readonly cardIssuingCurrency?: string;
|
|
5508
|
+
readonly cardIssuingBank?: string;
|
|
5509
|
+
readonly cardBin?: string;
|
|
5510
|
+
readonly issuerBin?: string;
|
|
5511
|
+
readonly cardSummary?: string;
|
|
5512
|
+
readonly untokenisedCardSummary?: string;
|
|
5513
|
+
readonly ownerName?: string;
|
|
5514
|
+
readonly bankName?: string;
|
|
5515
|
+
readonly issuerCountry?: string;
|
|
5516
|
+
readonly iban?: string;
|
|
5517
|
+
readonly bic?: string;
|
|
5455
5518
|
}
|
|
5456
5519
|
|
|
5457
5520
|
interface Recurring {
|
|
@@ -5460,7 +5523,7 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5460
5523
|
|
|
5461
5524
|
interface Redirect {
|
|
5462
5525
|
readonly data?: io.flow.adyen.v0.models.RedirectData;
|
|
5463
|
-
readonly method?: io.flow.adyen.v0.enums.
|
|
5526
|
+
readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
|
|
5464
5527
|
readonly url?: string;
|
|
5465
5528
|
}
|
|
5466
5529
|
|
|
@@ -5485,6 +5548,15 @@ declare namespace io.flow.adyen.v0.models {
|
|
|
5485
5548
|
readonly cvc?: string;
|
|
5486
5549
|
}
|
|
5487
5550
|
|
|
5551
|
+
interface SdkV3OnCompleteData {
|
|
5552
|
+
readonly details: any /*object*/;
|
|
5553
|
+
readonly payment_data?: string;
|
|
5554
|
+
}
|
|
5555
|
+
|
|
5556
|
+
interface SdkV3OnCompleteResult {
|
|
5557
|
+
readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
|
|
5558
|
+
}
|
|
5559
|
+
|
|
5488
5560
|
interface ThreeDSecureData {
|
|
5489
5561
|
readonly authenticationResponse?: string;
|
|
5490
5562
|
readonly cavv?: string;
|
|
@@ -5516,7 +5588,9 @@ declare namespace io.flow.adyen.v0.unions {
|
|
|
5516
5588
|
type BrowserInfo =
|
|
5517
5589
|
| io.flow.adyen.v0.models.BrowserInfo3Ds1
|
|
5518
5590
|
| io.flow.adyen.v0.models.BrowserInfo3Ds2;
|
|
5519
|
-
type PaymentMethodData =
|
|
5591
|
+
type PaymentMethodData =
|
|
5592
|
+
| io.flow.adyen.v0.models.Scheme
|
|
5593
|
+
| io.flow.adyen.v0.models.Applepay;
|
|
5520
5594
|
}
|
|
5521
5595
|
|
|
5522
5596
|
declare namespace io.flow.order.management.v0.enums {
|
|
@@ -13242,8 +13316,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13242
13316
|
| 'ratecard_service_fee_deleted'
|
|
13243
13317
|
| 'ratecard_lane_aggregate_upserted'
|
|
13244
13318
|
| 'ratecard_lane_aggregate_deleted'
|
|
13245
|
-
| 'restriction_item_upserted'
|
|
13246
|
-
| 'restriction_item_deleted'
|
|
13247
13319
|
| 'shopify_shop_upserted'
|
|
13248
13320
|
| 'shopify_shop_deleted'
|
|
13249
13321
|
| 'shopify_experience_short_id_upserted'
|
|
@@ -13432,6 +13504,16 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13432
13504
|
| 'duty_free_domestic'
|
|
13433
13505
|
| 'duty_free_intra_community'
|
|
13434
13506
|
| 'duty_free_by_trade_agreement';
|
|
13507
|
+
type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error';
|
|
13508
|
+
type OnboardingAuditResult = 'pass' | 'fail';
|
|
13509
|
+
type OnboardingAuditThemeKey =
|
|
13510
|
+
| 'billing'
|
|
13511
|
+
| 'catalog'
|
|
13512
|
+
| 'checkout'
|
|
13513
|
+
| 'fraud'
|
|
13514
|
+
| 'logistics'
|
|
13515
|
+
| 'payments'
|
|
13516
|
+
| 'integration_partner';
|
|
13435
13517
|
type OrderAction =
|
|
13436
13518
|
| 'consumer_submit'
|
|
13437
13519
|
| 'fraud_review_accept'
|
|
@@ -21194,6 +21276,29 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21194
21276
|
readonly order: io.flow.internal.v0.models.Decision;
|
|
21195
21277
|
}
|
|
21196
21278
|
|
|
21279
|
+
interface OnboardingAuditMessage {
|
|
21280
|
+
readonly message: string;
|
|
21281
|
+
readonly level: io.flow.internal.v0.enums.OnboardingAuditMessageLevel;
|
|
21282
|
+
}
|
|
21283
|
+
|
|
21284
|
+
interface OnboardingAuditReport {
|
|
21285
|
+
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
21286
|
+
readonly theme_reports: io.flow.internal.v0.models.OnboardingAuditThemeReport[];
|
|
21287
|
+
}
|
|
21288
|
+
|
|
21289
|
+
interface OnboardingAuditReportLine {
|
|
21290
|
+
readonly name: string;
|
|
21291
|
+
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
21292
|
+
readonly messages: io.flow.internal.v0.models.OnboardingAuditMessage[];
|
|
21293
|
+
}
|
|
21294
|
+
|
|
21295
|
+
interface OnboardingAuditThemeReport {
|
|
21296
|
+
readonly name: string;
|
|
21297
|
+
readonly key: io.flow.internal.v0.enums.OnboardingAuditThemeKey;
|
|
21298
|
+
readonly result: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
21299
|
+
readonly lines: io.flow.internal.v0.models.OnboardingAuditReportLine[];
|
|
21300
|
+
}
|
|
21301
|
+
|
|
21197
21302
|
interface OneTimeTokenRedemptionForm {
|
|
21198
21303
|
readonly token: string;
|
|
21199
21304
|
}
|
|
@@ -22572,14 +22677,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22572
22677
|
readonly updated_at: string;
|
|
22573
22678
|
}
|
|
22574
22679
|
|
|
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
|
-
|
|
22583
22680
|
interface RestrictionItemReview {
|
|
22584
22681
|
readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
|
|
22585
22682
|
readonly status: io.flow.internal.v0.enums.RestrictionStatus;
|
|
@@ -22592,14 +22689,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22592
22689
|
readonly decision: io.flow.internal.v0.enums.RestrictionDecision;
|
|
22593
22690
|
}
|
|
22594
22691
|
|
|
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
|
-
|
|
22603
22692
|
interface RestrictionKeywords {
|
|
22604
22693
|
readonly positive_keywords: string[];
|
|
22605
22694
|
readonly negative_keywords: string[];
|
|
@@ -24814,8 +24903,6 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
24814
24903
|
| io.flow.internal.v0.models.RatecardServiceFeeDeleted
|
|
24815
24904
|
| io.flow.internal.v0.models.RatecardLaneAggregateUpserted
|
|
24816
24905
|
| io.flow.internal.v0.models.RatecardLaneAggregateDeleted
|
|
24817
|
-
| io.flow.internal.v0.models.RestrictionItemUpserted
|
|
24818
|
-
| io.flow.internal.v0.models.RestrictionItemDeleted
|
|
24819
24906
|
| io.flow.internal.v0.models.ShopifyShopUpserted
|
|
24820
24907
|
| io.flow.internal.v0.models.ShopifyShopDeleted
|
|
24821
24908
|
| io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted
|
|
@@ -27495,6 +27582,20 @@ export type NoClassificationForm =
|
|
|
27495
27582
|
export type NoLiabilityReasonCode =
|
|
27496
27583
|
io.flow.internal.v0.enums.NoLiabilityReasonCode;
|
|
27497
27584
|
export type Notification = io.flow.internal.v0.models.Notification;
|
|
27585
|
+
export type OnboardingAuditMessage =
|
|
27586
|
+
io.flow.internal.v0.models.OnboardingAuditMessage;
|
|
27587
|
+
export type OnboardingAuditMessageLevel =
|
|
27588
|
+
io.flow.internal.v0.enums.OnboardingAuditMessageLevel;
|
|
27589
|
+
export type OnboardingAuditReport =
|
|
27590
|
+
io.flow.internal.v0.models.OnboardingAuditReport;
|
|
27591
|
+
export type OnboardingAuditReportLine =
|
|
27592
|
+
io.flow.internal.v0.models.OnboardingAuditReportLine;
|
|
27593
|
+
export type OnboardingAuditResult =
|
|
27594
|
+
io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
27595
|
+
export type OnboardingAuditThemeKey =
|
|
27596
|
+
io.flow.internal.v0.enums.OnboardingAuditThemeKey;
|
|
27597
|
+
export type OnboardingAuditThemeReport =
|
|
27598
|
+
io.flow.internal.v0.models.OnboardingAuditThemeReport;
|
|
27498
27599
|
export type OneTimeTokenRedemptionForm =
|
|
27499
27600
|
io.flow.internal.v0.models.OneTimeTokenRedemptionForm;
|
|
27500
27601
|
export type OnlineAuthorizationCompleted =
|
|
@@ -27852,14 +27953,10 @@ export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty;
|
|
|
27852
27953
|
export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction;
|
|
27853
27954
|
export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision;
|
|
27854
27955
|
export type RestrictionItem = io.flow.internal.v0.models.RestrictionItem;
|
|
27855
|
-
export type RestrictionItemDeleted =
|
|
27856
|
-
io.flow.internal.v0.models.RestrictionItemDeleted;
|
|
27857
27956
|
export type RestrictionItemReview =
|
|
27858
27957
|
io.flow.internal.v0.models.RestrictionItemReview;
|
|
27859
27958
|
export type RestrictionItemReviewDecisionForm =
|
|
27860
27959
|
io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
|
|
27861
|
-
export type RestrictionItemUpserted =
|
|
27862
|
-
io.flow.internal.v0.models.RestrictionItemUpserted;
|
|
27863
27960
|
export type RestrictionKeywords =
|
|
27864
27961
|
io.flow.internal.v0.models.RestrictionKeywords;
|
|
27865
27962
|
export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
|
package/src/api.ts
CHANGED
|
@@ -10236,6 +10236,7 @@ declare namespace io.flow.v0.models {
|
|
|
10236
10236
|
}
|
|
10237
10237
|
|
|
10238
10238
|
interface ProductRestrictionResult {
|
|
10239
|
+
readonly id: string;
|
|
10239
10240
|
readonly product_id: string;
|
|
10240
10241
|
readonly item_numbers: string[];
|
|
10241
10242
|
readonly prohibited_regions: string[];
|
|
@@ -12612,7 +12613,7 @@ declare namespace io.flow.v0.models {
|
|
|
12612
12613
|
readonly event_id: string;
|
|
12613
12614
|
readonly timestamp: string;
|
|
12614
12615
|
readonly organization: string;
|
|
12615
|
-
readonly
|
|
12616
|
+
readonly transaction: io.flow.v0.models.Transaction;
|
|
12616
12617
|
}
|
|
12617
12618
|
|
|
12618
12619
|
interface TransactionUpserted {
|