@flowio/types 11.24.9 → 11.24.11

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.
@@ -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 HttpRedirectMethod = 'GET' | 'POST';
3810
+ type Method = 'GET' | 'POST';
3811
3811
  type Operation = 'cancel' | 'capture' | 'refund';
3812
- 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';
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 returnUrl?: string;
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.HttpRedirectMethod;
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 | io.flow.adyen.v0.models.Applepay;
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';
@@ -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 label_fee?: io.flow.internal.v0.models.TieredFee;
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;
@@ -19169,6 +19129,7 @@ export declare type AccountProcessingRatesDeleted = io.flow.internal.v0.models.A
19169
19129
  export declare type AccountProcessingRatesForm = io.flow.internal.v0.models.AccountProcessingRatesForm;
19170
19130
  export declare type AccountProcessingRatesUpserted = io.flow.internal.v0.models.AccountProcessingRatesUpserted;
19171
19131
  export declare type AccountReference = io.flow.internal.v0.models.AccountReference;
19132
+ export declare type AccountSettingLabelFees = io.flow.internal.v0.models.AccountSettingLabelFees;
19172
19133
  export declare type AccountSettings = io.flow.internal.v0.models.AccountSettings;
19173
19134
  export declare type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted;
19174
19135
  export declare type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted;
package/dist/api.d.ts CHANGED
@@ -2238,7 +2238,7 @@ declare namespace io.flow.v0.enums {
2238
2238
  type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination';
2239
2239
  type EntityIdentifierType = 'ioss' | 'voec';
2240
2240
  type Environment = 'sandbox' | 'production';
2241
- type EventType = 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
2241
+ type EventType = 'transaction_upserted' | 'transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'catalog_item_upserted' | 'catalog_item_deleted' | 'catalog_item_upserted_v2' | 'catalog_item_deleted_v2' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'customer_upserted' | 'customer_deleted' | 'customer_address_book_contact_upserted' | 'customer_address_book_contact_deleted' | 'email_notification_upserted' | 'email_notification_deleted' | 'available_promotions_upserted' | 'available_promotions_deleted' | 'available_promotions_upserted_v2' | 'available_promotions_deleted_v2' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'currency_format_deleted' | 'currency_format_upserted' | 'experience_deleted' | 'experience_upserted' | 'experience_deleted_v2' | 'experience_upserted_v2' | 'country_status_upserted' | 'country_status_deleted' | 'experience_price_book_mapping_deleted' | 'experience_price_book_mapping_upserted' | 'experience_logistics_settings_upserted' | 'experience_logistics_settings_deleted' | 'item_margin_deleted_v2' | 'item_margin_upserted_v2' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'label_format_deleted' | 'label_format_upserted' | 'order_deleted' | 'order_upserted' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted' | 'order_identifier_upserted' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v2' | 'order_identifier_upserted_v3' | 'order_replacement_upserted' | 'order_replacement_deleted' | 'pricing_deleted' | 'pricing_upserted' | 'order_service_change_request' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'import_completed_v2' | 'import_failed_v2' | 'rule_upserted' | 'rule_deleted' | 'snapshot_upserted' | 'snapshot_deleted' | 'label_upserted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'local_item_upserted' | 'local_item_deleted' | 'checkout_optin_responses_upserted' | 'checkout_optin_responses_deleted' | 'browse_optin_responses_upserted' | 'browse_optin_responses_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'organization_default_configurations_upserted' | 'organization_default_configurations_deleted' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'payment_request_upserted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'return_upserted' | 'return_deleted' | 'return_upserted_v2' | 'return_deleted_v2' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted';
2242
2242
  type ExceptionType = 'open' | 'closed';
2243
2243
  type ExclusionRuleState = 'current' | 'deleting' | 'updating';
2244
2244
  type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
@@ -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 OnboardingDangerousGoods = 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances';
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,25 @@ 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
+ }
7990
+ interface ProductRestrictionResultDeleted {
7991
+ readonly discriminator: 'product_restriction_result_deleted';
7992
+ readonly event_id: string;
7993
+ readonly timestamp: string;
7994
+ readonly organization: string;
7995
+ readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
7996
+ }
7997
+ interface ProductRestrictionResultUpserted {
7998
+ readonly discriminator: 'product_restriction_result_upserted';
7999
+ readonly event_id: string;
8000
+ readonly timestamp: string;
8001
+ readonly organization: string;
8002
+ readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
8003
+ }
7980
8004
  interface PromotionTrigger {
7981
8005
  readonly type: io.flow.v0.enums.PromotionTriggerType;
7982
8006
  readonly min: io.flow.v0.models.Price;
@@ -9287,9 +9311,10 @@ declare namespace io.flow.v0.models {
9287
9311
  readonly average_order_weight?: number;
9288
9312
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
9289
9313
  readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
9290
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
9314
+ readonly dangerous_goods?: boolean;
9291
9315
  readonly default_country_of_origin?: string;
9292
9316
  readonly ratecard?: io.flow.v0.models.RatecardReference;
9317
+ readonly rate_card: string;
9293
9318
  readonly created_at: string;
9294
9319
  }
9295
9320
  interface ShopifyMerchantApplicationForm {
@@ -9313,9 +9338,10 @@ declare namespace io.flow.v0.models {
9313
9338
  readonly monthly_average_volume_amount?: number;
9314
9339
  readonly monthly_average_volume_currency?: string;
9315
9340
  readonly monthly_average_number_transactions?: number;
9316
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
9341
+ readonly dangerous_goods?: boolean;
9317
9342
  readonly default_country_of_origin?: string;
9318
9343
  readonly ratecard_id?: string;
9344
+ readonly rate_card: string;
9319
9345
  }
9320
9346
  interface ShopifyOrderAttributesForm {
9321
9347
  readonly attributes: Record<string, string>;
@@ -9724,10 +9750,10 @@ declare namespace io.flow.v0.models {
9724
9750
  interface ThirdPartyLogisticsPartner {
9725
9751
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
9726
9752
  readonly warehouse_url?: string;
9727
- readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
9728
- readonly pickup_location: io.flow.v0.models.BillingAddress;
9753
+ readonly third_party_logistics_pick_up_time_window?: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
9754
+ readonly pickup_location?: io.flow.v0.models.BillingAddress;
9729
9755
  readonly pickup_instructions?: string;
9730
- readonly operations_contact: io.flow.v0.models.Contact;
9756
+ readonly operations_contact: io.flow.v0.models.OperationsContact;
9731
9757
  }
9732
9758
  interface ThirdPartyLogisticsPickUpTimeWindow {
9733
9759
  readonly from: string;
@@ -9997,7 +10023,7 @@ declare namespace io.flow.v0.models {
9997
10023
  }
9998
10024
  interface Transaction {
9999
10025
  readonly id: string;
10000
- readonly shopify_transaction_id: string;
10026
+ readonly external_transaction_id?: string;
10001
10027
  readonly order: io.flow.v0.models.BillingChannelOrderReference;
10002
10028
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
10003
10029
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
@@ -10009,6 +10035,20 @@ declare namespace io.flow.v0.models {
10009
10035
  readonly net: number;
10010
10036
  readonly created_at: string;
10011
10037
  }
10038
+ interface TransactionDeleted {
10039
+ readonly discriminator: 'transaction_deleted';
10040
+ readonly event_id: string;
10041
+ readonly timestamp: string;
10042
+ readonly organization: string;
10043
+ readonly id: string;
10044
+ }
10045
+ interface TransactionUpserted {
10046
+ readonly discriminator: 'transaction_upserted';
10047
+ readonly event_id: string;
10048
+ readonly timestamp: string;
10049
+ readonly organization: string;
10050
+ readonly transaction: io.flow.v0.models.Transaction;
10051
+ }
10012
10052
  interface TransitEstimate {
10013
10053
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
10014
10054
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -10235,7 +10275,7 @@ declare namespace io.flow.v0.unions {
10235
10275
  type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement;
10236
10276
  type Document = io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument;
10237
10277
  type EmailNotificationData = io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder;
10238
- type Event = io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
10278
+ type Event = io.flow.v0.models.TransactionUpserted | io.flow.v0.models.TransactionDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.CatalogItemUpserted | io.flow.v0.models.CatalogItemDeleted | io.flow.v0.models.CatalogItemUpsertedV2 | io.flow.v0.models.CatalogItemDeletedV2 | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.CustomerUpserted | io.flow.v0.models.CustomerDeleted | io.flow.v0.models.CustomerAddressBookContactUpserted | io.flow.v0.models.CustomerAddressBookContactDeleted | io.flow.v0.models.EmailNotificationUpserted | io.flow.v0.models.EmailNotificationDeleted | io.flow.v0.models.AvailablePromotionsUpserted | io.flow.v0.models.AvailablePromotionsDeleted | io.flow.v0.models.AvailablePromotionsUpsertedV2 | io.flow.v0.models.AvailablePromotionsDeletedV2 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.CurrencyFormatDeleted | io.flow.v0.models.CurrencyFormatUpserted | io.flow.v0.models.ExperienceDeleted | io.flow.v0.models.ExperienceUpserted | io.flow.v0.models.ExperienceDeletedV2 | io.flow.v0.models.ExperienceUpsertedV2 | io.flow.v0.models.CountryStatusUpserted | io.flow.v0.models.CountryStatusDeleted | io.flow.v0.models.ExperiencePriceBookMappingDeleted | io.flow.v0.models.ExperiencePriceBookMappingUpserted | io.flow.v0.models.ExperienceLogisticsSettingsUpserted | io.flow.v0.models.ExperienceLogisticsSettingsDeleted | io.flow.v0.models.ItemMarginDeletedV2 | io.flow.v0.models.ItemMarginUpsertedV2 | io.flow.v0.models.ItemSalesMarginDeleted | io.flow.v0.models.ItemSalesMarginUpserted | io.flow.v0.models.LabelFormatDeleted | io.flow.v0.models.LabelFormatUpserted | io.flow.v0.models.OrderDeleted | io.flow.v0.models.OrderUpserted | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeleted | io.flow.v0.models.OrderIdentifierUpserted | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderReplacementUpserted | io.flow.v0.models.OrderReplacementDeleted | io.flow.v0.models.PricingDeleted | io.flow.v0.models.PricingUpserted | io.flow.v0.models.OrderServiceChangeRequest | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.ImportCompletedV2 | io.flow.v0.models.ImportFailedV2 | io.flow.v0.models.RuleUpserted | io.flow.v0.models.RuleDeleted | io.flow.v0.models.SnapshotUpserted | io.flow.v0.models.SnapshotDeleted | io.flow.v0.models.LabelUpserted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LocalItemUpserted | io.flow.v0.models.LocalItemDeleted | io.flow.v0.models.CheckoutOptinResponsesUpserted | io.flow.v0.models.CheckoutOptinResponsesDeleted | io.flow.v0.models.BrowseOptinResponsesUpserted | io.flow.v0.models.BrowseOptinResponsesDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.OrganizationDefaultConfigurationsUpserted | io.flow.v0.models.OrganizationDefaultConfigurationsDeleted | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ReturnUpserted | io.flow.v0.models.ReturnDeleted | io.flow.v0.models.ReturnUpsertedV2 | io.flow.v0.models.ReturnDeletedV2 | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted;
10239
10279
  type ExpandableCard = io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary;
10240
10280
  type ExpandableCenter = io.flow.v0.models.Center | io.flow.v0.models.CenterReference;
10241
10281
  type ExpandableExperience = io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference;
@@ -11084,13 +11124,13 @@ export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInvent
11084
11124
  export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
11085
11125
  export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
11086
11126
  export declare type NumberRange = io.flow.v0.models.NumberRange;
11087
- export declare type OnboardingDangerousGoods = io.flow.v0.enums.OnboardingDangerousGoods;
11088
11127
  export declare type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
11089
11128
  export declare type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
11090
11129
  export declare type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;
11091
11130
  export declare type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails;
11092
11131
  export declare type OnlineAuthorizationUpsertedV2 = io.flow.v0.models.OnlineAuthorizationUpsertedV2;
11093
11132
  export declare type OnlinePaymentAuthorizationForm = io.flow.v0.models.OnlinePaymentAuthorizationForm;
11133
+ export declare type OperationsContact = io.flow.v0.models.OperationsContact;
11094
11134
  export declare type OptinResponse = io.flow.v0.models.OptinResponse;
11095
11135
  export declare type OptinResponseType = io.flow.v0.enums.OptinResponseType;
11096
11136
  export declare type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
@@ -11430,6 +11470,9 @@ export declare type PricingSettings = io.flow.v0.models.PricingSettings;
11430
11470
  export declare type PricingUpserted = io.flow.v0.models.PricingUpserted;
11431
11471
  export declare type PricingVersion = io.flow.v0.models.PricingVersion;
11432
11472
  export declare type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
11473
+ export declare type ProductRestrictionResult = io.flow.v0.models.ProductRestrictionResult;
11474
+ export declare type ProductRestrictionResultDeleted = io.flow.v0.models.ProductRestrictionResultDeleted;
11475
+ export declare type ProductRestrictionResultUpserted = io.flow.v0.models.ProductRestrictionResultUpserted;
11433
11476
  export declare type Promotion = io.flow.v0.unions.Promotion;
11434
11477
  export declare type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
11435
11478
  export declare type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
@@ -11817,7 +11860,9 @@ export declare type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
11817
11860
  export declare type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
11818
11861
  export declare type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
11819
11862
  export declare type Transaction = io.flow.v0.models.Transaction;
11863
+ export declare type TransactionDeleted = io.flow.v0.models.TransactionDeleted;
11820
11864
  export declare type TransactionSource = io.flow.v0.enums.TransactionSource;
11865
+ export declare type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
11821
11866
  export declare type TransitEstimate = io.flow.v0.models.TransitEstimate;
11822
11867
  export declare type TransitWindow = io.flow.v0.models.TransitWindow;
11823
11868
  export declare type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.9",
3
+ "version": "11.24.11",
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": "2c34ff8301880723d58bb85263b4fdd12a908540"
28
+ "gitHead": "442c8c1cfdf187703263b47ae75b433a5336e679"
29
29
  }
@@ -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 HttpRedirectMethod = 'GET' | 'POST';
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 returnUrl?: string;
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.HttpRedirectMethod;
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 {
@@ -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 label_fee?: io.flow.internal.v0.models.TieredFee;
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;
@@ -25160,6 +25113,8 @@ export type AccountProcessingRatesForm =
25160
25113
  export type AccountProcessingRatesUpserted =
25161
25114
  io.flow.internal.v0.models.AccountProcessingRatesUpserted;
25162
25115
  export type AccountReference = io.flow.internal.v0.models.AccountReference;
25116
+ export type AccountSettingLabelFees =
25117
+ io.flow.internal.v0.models.AccountSettingLabelFees;
25163
25118
  export type AccountSettings = io.flow.internal.v0.models.AccountSettings;
25164
25119
  export type AccountSettingsDeleted =
25165
25120
  io.flow.internal.v0.models.AccountSettingsDeleted;
package/src/api.ts CHANGED
@@ -2998,6 +2998,8 @@ declare namespace io.flow.v0.enums {
2998
2998
  type EntityIdentifierType = 'ioss' | 'voec';
2999
2999
  type Environment = 'sandbox' | 'production';
3000
3000
  type EventType =
3001
+ | 'transaction_upserted'
3002
+ | 'transaction_deleted'
3001
3003
  | 'attribute_upserted'
3002
3004
  | 'attribute_deleted'
3003
3005
  | 'attribute_upserted_v2'
@@ -3164,6 +3166,8 @@ declare namespace io.flow.v0.enums {
3164
3166
  | 'ratecard_lane_deleted'
3165
3167
  | 'ratecard_upserted'
3166
3168
  | 'ratecard_deleted'
3169
+ | 'product_restriction_result_upserted'
3170
+ | 'product_restriction_result_deleted'
3167
3171
  | 'return_upserted'
3168
3172
  | 'return_deleted'
3169
3173
  | 'return_upserted_v2'
@@ -3185,7 +3189,8 @@ declare namespace io.flow.v0.enums {
3185
3189
  | 'processing'
3186
3190
  | 'rate_lock'
3187
3191
  | 'duty_guarantee'
3188
- | 'revenue_share';
3192
+ | 'revenue_share'
3193
+ | 'transfer';
3189
3194
  type FlowBehavior = 'view_consumer_data';
3190
3195
  type FlowEntity = 'flow-usa' | 'flow-irl' | 'flow-can';
3191
3196
  type FlowRole =
@@ -3272,36 +3277,27 @@ declare namespace io.flow.v0.enums {
3272
3277
  | 'unsupported_currency';
3273
3278
  type MerchantOfRecord = 'flow' | 'organization';
3274
3279
  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
3280
  type OnboardingTradeSector =
3300
- | 'apparel_and_accessories'
3301
- | 'beauty_and_cosmetics'
3281
+ | 'apparel'
3282
+ | 'accessories'
3283
+ | 'arts_and_entertainment'
3284
+ | 'animals_and_pet_supplies'
3285
+ | 'baby_and_toddler'
3286
+ | 'business_and_industrial'
3287
+ | 'camera_and_optics'
3302
3288
  | 'electronics'
3303
- | 'food_or_perishables'
3304
- | 'jewellery_and_watches'
3289
+ | 'furniture'
3290
+ | 'food_beverages_and_tobacco'
3291
+ | 'health_and_beauty'
3292
+ | 'home_and_garden'
3293
+ | 'hardware'
3294
+ | 'jewelry'
3295
+ | 'luggage_and_bags'
3296
+ | 'media'
3297
+ | 'office_supplies'
3298
+ | 'sporting_goods'
3299
+ | 'toys_and_games'
3300
+ | 'vehicles_and_parts'
3305
3301
  | 'paper_and_art'
3306
3302
  | 'sports_and_fitness'
3307
3303
  | 'toys_hobbies_gifts'
@@ -8265,6 +8261,13 @@ declare namespace io.flow.v0.models {
8265
8261
  readonly key?: string;
8266
8262
  }
8267
8263
 
8264
+ interface OperationsContact {
8265
+ readonly full_name?: string;
8266
+ readonly company?: string;
8267
+ readonly email?: string;
8268
+ readonly phone?: string;
8269
+ }
8270
+
8268
8271
  interface OptinResponse {
8269
8272
  readonly key: string;
8270
8273
  readonly value: io.flow.v0.enums.OptinResponseType;
@@ -10232,6 +10235,28 @@ declare namespace io.flow.v0.models {
10232
10235
  readonly source: io.flow.v0.enums.DeliveryWindowComponentSource;
10233
10236
  }
10234
10237
 
10238
+ interface ProductRestrictionResult {
10239
+ readonly product_id: string;
10240
+ readonly item_numbers: string[];
10241
+ readonly prohibited_regions: string[];
10242
+ }
10243
+
10244
+ interface ProductRestrictionResultDeleted {
10245
+ readonly discriminator: 'product_restriction_result_deleted';
10246
+ readonly event_id: string;
10247
+ readonly timestamp: string;
10248
+ readonly organization: string;
10249
+ readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
10250
+ }
10251
+
10252
+ interface ProductRestrictionResultUpserted {
10253
+ readonly discriminator: 'product_restriction_result_upserted';
10254
+ readonly event_id: string;
10255
+ readonly timestamp: string;
10256
+ readonly organization: string;
10257
+ readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult;
10258
+ }
10259
+
10235
10260
  interface PromotionTrigger {
10236
10261
  readonly type: io.flow.v0.enums.PromotionTriggerType;
10237
10262
  readonly min: io.flow.v0.models.Price;
@@ -11747,9 +11772,10 @@ declare namespace io.flow.v0.models {
11747
11772
  readonly average_order_weight?: number;
11748
11773
  readonly package_dimensions?: io.flow.v0.models.Dimension[];
11749
11774
  readonly monthly_average?: io.flow.v0.models.MonthlyAverage;
11750
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
11775
+ readonly dangerous_goods?: boolean;
11751
11776
  readonly default_country_of_origin?: string;
11752
11777
  readonly ratecard?: io.flow.v0.models.RatecardReference;
11778
+ readonly rate_card: string;
11753
11779
  readonly created_at: string;
11754
11780
  }
11755
11781
 
@@ -11774,9 +11800,10 @@ declare namespace io.flow.v0.models {
11774
11800
  readonly monthly_average_volume_amount?: number;
11775
11801
  readonly monthly_average_volume_currency?: string;
11776
11802
  readonly monthly_average_number_transactions?: number;
11777
- readonly dangerous_goods?: io.flow.v0.enums.OnboardingDangerousGoods[];
11803
+ readonly dangerous_goods?: boolean;
11778
11804
  readonly default_country_of_origin?: string;
11779
11805
  readonly ratecard_id?: string;
11806
+ readonly rate_card: string;
11780
11807
  }
11781
11808
 
11782
11809
  interface ShopifyOrderAttributesForm {
@@ -12252,10 +12279,10 @@ declare namespace io.flow.v0.models {
12252
12279
  interface ThirdPartyLogisticsPartner {
12253
12280
  readonly warehouse_address: io.flow.v0.models.BillingAddress;
12254
12281
  readonly warehouse_url?: string;
12255
- readonly third_party_logistics_pick_up_time_window: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
12256
- readonly pickup_location: io.flow.v0.models.BillingAddress;
12282
+ readonly third_party_logistics_pick_up_time_window?: io.flow.v0.models.ThirdPartyLogisticsPickUpTimeWindow;
12283
+ readonly pickup_location?: io.flow.v0.models.BillingAddress;
12257
12284
  readonly pickup_instructions?: string;
12258
- readonly operations_contact: io.flow.v0.models.Contact;
12285
+ readonly operations_contact: io.flow.v0.models.OperationsContact;
12259
12286
  }
12260
12287
 
12261
12288
  interface ThirdPartyLogisticsPickUpTimeWindow {
@@ -12567,7 +12594,7 @@ declare namespace io.flow.v0.models {
12567
12594
 
12568
12595
  interface Transaction {
12569
12596
  readonly id: string;
12570
- readonly shopify_transaction_id: string;
12597
+ readonly external_transaction_id?: string;
12571
12598
  readonly order: io.flow.v0.models.BillingChannelOrderReference;
12572
12599
  readonly statement?: io.flow.v0.models.BillingChannelStatementReference;
12573
12600
  readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference;
@@ -12580,6 +12607,22 @@ declare namespace io.flow.v0.models {
12580
12607
  readonly created_at: string;
12581
12608
  }
12582
12609
 
12610
+ interface TransactionDeleted {
12611
+ readonly discriminator: 'transaction_deleted';
12612
+ readonly event_id: string;
12613
+ readonly timestamp: string;
12614
+ readonly organization: string;
12615
+ readonly id: string;
12616
+ }
12617
+
12618
+ interface TransactionUpserted {
12619
+ readonly discriminator: 'transaction_upserted';
12620
+ readonly event_id: string;
12621
+ readonly timestamp: string;
12622
+ readonly organization: string;
12623
+ readonly transaction: io.flow.v0.models.Transaction;
12624
+ }
12625
+
12583
12626
  interface TransitEstimate {
12584
12627
  readonly origin: io.flow.v0.enums.DeliveryWindowLocation;
12585
12628
  readonly destination: io.flow.v0.enums.DeliveryWindowLocation;
@@ -12909,6 +12952,8 @@ declare namespace io.flow.v0.unions {
12909
12952
  | io.flow.v0.models.EmailNotificationDataRefund
12910
12953
  | io.flow.v0.models.EmailNotificationAbandonedOrder;
12911
12954
  type Event =
12955
+ | io.flow.v0.models.TransactionUpserted
12956
+ | io.flow.v0.models.TransactionDeleted
12912
12957
  | io.flow.v0.models.AttributeUpserted
12913
12958
  | io.flow.v0.models.AttributeDeleted
12914
12959
  | io.flow.v0.models.AttributeUpsertedV2
@@ -13075,6 +13120,8 @@ declare namespace io.flow.v0.unions {
13075
13120
  | io.flow.v0.models.RatecardLaneDeleted
13076
13121
  | io.flow.v0.models.RatecardUpserted
13077
13122
  | io.flow.v0.models.RatecardDeleted
13123
+ | io.flow.v0.models.ProductRestrictionResultUpserted
13124
+ | io.flow.v0.models.ProductRestrictionResultDeleted
13078
13125
  | io.flow.v0.models.ReturnUpserted
13079
13126
  | io.flow.v0.models.ReturnDeleted
13080
13127
  | io.flow.v0.models.ReturnUpsertedV2
@@ -14313,8 +14360,6 @@ export type NoInventoryReservationErrorItem =
14313
14360
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
14314
14361
  export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
14315
14362
  export type NumberRange = io.flow.v0.models.NumberRange;
14316
- export type OnboardingDangerousGoods =
14317
- io.flow.v0.enums.OnboardingDangerousGoods;
14318
14363
  export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector;
14319
14364
  export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
14320
14365
  export type OnlineAuthorizationDeletedV2 =
@@ -14325,6 +14370,7 @@ export type OnlineAuthorizationUpsertedV2 =
14325
14370
  io.flow.v0.models.OnlineAuthorizationUpsertedV2;
14326
14371
  export type OnlinePaymentAuthorizationForm =
14327
14372
  io.flow.v0.models.OnlinePaymentAuthorizationForm;
14373
+ export type OperationsContact = io.flow.v0.models.OperationsContact;
14328
14374
  export type OptinResponse = io.flow.v0.models.OptinResponse;
14329
14375
  export type OptinResponseType = io.flow.v0.enums.OptinResponseType;
14330
14376
  export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates;
@@ -14768,6 +14814,12 @@ export type PricingSettings = io.flow.v0.models.PricingSettings;
14768
14814
  export type PricingUpserted = io.flow.v0.models.PricingUpserted;
14769
14815
  export type PricingVersion = io.flow.v0.models.PricingVersion;
14770
14816
  export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate;
14817
+ export type ProductRestrictionResult =
14818
+ io.flow.v0.models.ProductRestrictionResult;
14819
+ export type ProductRestrictionResultDeleted =
14820
+ io.flow.v0.models.ProductRestrictionResultDeleted;
14821
+ export type ProductRestrictionResultUpserted =
14822
+ io.flow.v0.models.ProductRestrictionResultUpserted;
14771
14823
  export type Promotion = io.flow.v0.unions.Promotion;
14772
14824
  export type PromotionTrigger = io.flow.v0.models.PromotionTrigger;
14773
14825
  export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm;
@@ -15242,7 +15294,9 @@ export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty;
15242
15294
  export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName;
15243
15295
  export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus;
15244
15296
  export type Transaction = io.flow.v0.models.Transaction;
15297
+ export type TransactionDeleted = io.flow.v0.models.TransactionDeleted;
15245
15298
  export type TransactionSource = io.flow.v0.enums.TransactionSource;
15299
+ export type TransactionUpserted = io.flow.v0.models.TransactionUpserted;
15246
15300
  export type TransitEstimate = io.flow.v0.models.TransitEstimate;
15247
15301
  export type TransitWindow = io.flow.v0.models.TransitWindow;
15248
15302
  export type UnharmonizedItemExportType =