@flowio/types 11.24.20 → 11.24.22

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.
@@ -1509,6 +1509,10 @@ declare namespace io.flow.payment.v0.models {
1509
1509
  readonly validation_url: string;
1510
1510
  readonly display_name?: string;
1511
1511
  }
1512
+ interface AuthorizationCode {
1513
+ readonly result_code: string;
1514
+ readonly code: string;
1515
+ }
1512
1516
  interface AuthorizationCopyForm {
1513
1517
  readonly discriminator: 'authorization_copy_form';
1514
1518
  readonly source_authorization_key: string;
@@ -1542,6 +1546,7 @@ declare namespace io.flow.payment.v0.models {
1542
1546
  readonly cvv?: io.flow.payment.v0.models.Cvv;
1543
1547
  readonly three_d_secure?: io.flow.payment.v0.models.ThreeDSecure;
1544
1548
  readonly description?: io.flow.payment.v0.models.AuthorizationResultDescription;
1549
+ readonly authorization_code?: io.flow.payment.v0.models.AuthorizationCode;
1545
1550
  }
1546
1551
  interface AuthorizationResultActionGet {
1547
1552
  readonly discriminator: 'authorization_result_action_get';
@@ -1960,6 +1965,7 @@ declare namespace io.flow.payment.v0.models {
1960
1965
  readonly payment_id: string;
1961
1966
  readonly payment_method?: string;
1962
1967
  readonly payment_state?: string;
1968
+ readonly payer_id?: string;
1963
1969
  readonly payer_email?: string;
1964
1970
  readonly payer_status?: string;
1965
1971
  readonly approval_url?: string;
@@ -3854,9 +3860,9 @@ declare namespace io.flow.adyen.v0.enums {
3854
3860
  type Contract = 'RECURRING';
3855
3861
  type DeviceChannel = 'app' | 'browser';
3856
3862
  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';
3857
- type Method = 'GET' | 'POST';
3863
+ type HttpRedirectMethod = 'GET' | 'POST';
3858
3864
  type Operation = 'cancel' | 'capture' | 'refund';
3859
- 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';
3865
+ 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';
3860
3866
  type RecurringProcessingModel = 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile';
3861
3867
  type ResultCode = 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper';
3862
3868
  type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto';
@@ -3875,6 +3881,10 @@ declare namespace io.flow.adyen.v0.models {
3875
3881
  readonly value: number;
3876
3882
  readonly currency: string;
3877
3883
  }
3884
+ interface Applepay {
3885
+ readonly type: 'applepay';
3886
+ readonly applePayToken: string;
3887
+ }
3878
3888
  interface Authentication {
3879
3889
  readonly 'threeds2.fingerprintToken'?: string;
3880
3890
  readonly 'threeds2.challengeToken'?: string;
@@ -3901,6 +3911,8 @@ declare namespace io.flow.adyen.v0.models {
3901
3911
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
3902
3912
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
3903
3913
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
3914
+ readonly mcc?: string;
3915
+ readonly metadata?: any;
3904
3916
  }
3905
3917
  interface AuthorizeRequest3D {
3906
3918
  readonly merchantAccount: string;
@@ -4034,6 +4046,12 @@ declare namespace io.flow.adyen.v0.models {
4034
4046
  readonly details: any;
4035
4047
  readonly paymentData?: string;
4036
4048
  }
4049
+ interface PaymentDetailsV663Ds2Challenge {
4050
+ readonly 'threeds2.challengeResult': string;
4051
+ }
4052
+ interface PaymentDetailsV663Ds2Fingerprint {
4053
+ readonly 'threeds2.fingerprint': string;
4054
+ }
4037
4055
  interface PaymentRequest {
4038
4056
  readonly reference: string;
4039
4057
  readonly merchantAccount: string;
@@ -4055,7 +4073,11 @@ declare namespace io.flow.adyen.v0.models {
4055
4073
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
4056
4074
  readonly origin?: string;
4057
4075
  readonly channel?: io.flow.adyen.v0.enums.Channel;
4058
- readonly returnURL?: string;
4076
+ readonly returnUrl?: string;
4077
+ readonly mcc?: string;
4078
+ readonly metadata?: any;
4079
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4080
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4059
4081
  }
4060
4082
  interface PaymentResponse {
4061
4083
  readonly resultCode: io.flow.adyen.v0.enums.ResultCode;
@@ -4070,19 +4092,43 @@ declare namespace io.flow.adyen.v0.models {
4070
4092
  interface PaymentResponseAdditionalData {
4071
4093
  readonly authCode?: string;
4072
4094
  readonly avsResultRaw?: string;
4095
+ readonly avsResult?: string;
4073
4096
  readonly cvcResultRaw?: string;
4097
+ readonly cvcResult?: string;
4074
4098
  readonly liabilityShift?: string;
4075
4099
  readonly threeDAuthenticated?: string;
4076
4100
  readonly threeDAuthenticatedResponse?: string;
4077
4101
  readonly threeDOffered?: string;
4078
4102
  readonly threeDOfferedResponse?: string;
4103
+ readonly threeDSVersion?: string;
4104
+ readonly eci?: string;
4105
+ readonly scaExemptionRequested?: string;
4106
+ readonly paymentMethod?: string;
4107
+ readonly paymentMethodVariant?: string;
4108
+ readonly tokenTxVariant?: string;
4109
+ readonly acquirerCode?: string;
4110
+ readonly acquirerAccountCode?: string;
4111
+ readonly cardPaymentMethod?: string;
4112
+ readonly coBrandedWith?: string;
4113
+ readonly cardIssuingCountry?: string;
4114
+ readonly cardIssuingCurrency?: string;
4115
+ readonly cardIssuingBank?: string;
4116
+ readonly cardBin?: string;
4117
+ readonly issuerBin?: string;
4118
+ readonly cardSummary?: string;
4119
+ readonly untokenisedCardSummary?: string;
4120
+ readonly ownerName?: string;
4121
+ readonly bankName?: string;
4122
+ readonly issuerCountry?: string;
4123
+ readonly iban?: string;
4124
+ readonly bic?: string;
4079
4125
  }
4080
4126
  interface Recurring {
4081
4127
  readonly contract: io.flow.adyen.v0.enums.Contract;
4082
4128
  }
4083
4129
  interface Redirect {
4084
4130
  readonly data?: io.flow.adyen.v0.models.RedirectData;
4085
- readonly method?: io.flow.adyen.v0.enums.Method;
4131
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
4086
4132
  readonly url?: string;
4087
4133
  }
4088
4134
  interface RedirectData {
@@ -4103,6 +4149,13 @@ declare namespace io.flow.adyen.v0.models {
4103
4149
  readonly number: string;
4104
4150
  readonly cvc?: string;
4105
4151
  }
4152
+ interface SdkV3OnCompleteData {
4153
+ readonly details: any;
4154
+ readonly payment_data?: string;
4155
+ }
4156
+ interface SdkV3OnCompleteResult {
4157
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
4158
+ }
4106
4159
  interface ThreeDSecureData {
4107
4160
  readonly authenticationResponse?: string;
4108
4161
  readonly cavv?: string;
@@ -4128,7 +4181,7 @@ declare namespace io.flow.adyen.v0.models {
4128
4181
  }
4129
4182
  declare namespace io.flow.adyen.v0.unions {
4130
4183
  type BrowserInfo = io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2;
4131
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
4184
+ type PaymentMethodData = io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay;
4132
4185
  }
4133
4186
  declare namespace io.flow.order.management.v0.enums {
4134
4187
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -9763,7 +9816,7 @@ declare namespace io.flow.internal.v0.enums {
9763
9816
  type DutySelectionRule = 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate';
9764
9817
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
9765
9818
  type EmptyAttribute = 'irrelevant';
9766
- 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_rates_published_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | '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';
9819
+ 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' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'exclusion_rule_upserted' | 'exclusion_rule_deleted' | 'exclusion_rule_export_request' | 'catalog_item_region_availabilities_published' | 'return_policy_upserted' | 'return_policy_deleted' | 'return_policy_item_result_upserted' | 'return_policy_item_result_deleted' | '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_rates_published_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | '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';
9767
9820
  type ExperienceImportType = 'experience_with_settings';
9768
9821
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
9769
9822
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
@@ -9795,7 +9848,7 @@ declare namespace io.flow.internal.v0.enums {
9795
9848
  type LabelBillingStrategy = 'quote' | 'carrier';
9796
9849
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
9797
9850
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
9798
- type LabelTransactionType = 'billable_label' | 'fee';
9851
+ type LabelTransactionType = 'billable_label' | 'fee' | 'revenue_share';
9799
9852
  type LiabilityType = 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties';
9800
9853
  type MainTransactionStatus = 'scheduled' | 'pending_fulfillment_proof';
9801
9854
  type ManualReviewRuleStatus = 'active' | 'archived';
@@ -10007,6 +10060,7 @@ declare namespace io.flow.internal.v0.models {
10007
10060
  interface AccountSettingLabelFees {
10008
10061
  readonly flow?: io.flow.internal.v0.models.TieredFee;
10009
10062
  readonly organization?: io.flow.internal.v0.models.TieredFee;
10063
+ readonly revenue_share?: number;
10010
10064
  }
10011
10065
  interface AccountSettings {
10012
10066
  readonly id: string;
@@ -10998,10 +11052,24 @@ declare namespace io.flow.internal.v0.models {
10998
11052
  readonly default_country_of_origin?: string;
10999
11053
  readonly default_hs_code?: string;
11000
11054
  }
11055
+ interface CalculatorOrganizationSettingsDeleted {
11056
+ readonly discriminator: 'calculator_organization_settings_deleted';
11057
+ readonly event_id: string;
11058
+ readonly timestamp: string;
11059
+ readonly organization: string;
11060
+ readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings;
11061
+ }
11001
11062
  interface CalculatorOrganizationSettingsForm {
11002
11063
  readonly default_country_of_origin?: string;
11003
11064
  readonly default_hs_code?: string;
11004
11065
  }
11066
+ interface CalculatorOrganizationSettingsUpserted {
11067
+ readonly discriminator: 'calculator_organization_settings_upserted';
11068
+ readonly event_id: string;
11069
+ readonly timestamp: string;
11070
+ readonly organization: string;
11071
+ readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings;
11072
+ }
11005
11073
  interface CarrierAccount {
11006
11074
  readonly id: string;
11007
11075
  readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
@@ -11068,9 +11136,11 @@ declare namespace io.flow.internal.v0.models {
11068
11136
  }
11069
11137
  interface CenterDefaults {
11070
11138
  readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
11139
+ readonly shipping_address_contact: io.flow.common.v0.models.Contact;
11071
11140
  }
11072
11141
  interface CenterDefaultsForm {
11073
11142
  readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
11143
+ readonly shipping_address_contact: io.flow.common.v0.models.Contact;
11074
11144
  }
11075
11145
  interface CenterQueryBuilder {
11076
11146
  readonly placeholder: string;
@@ -16726,15 +16796,6 @@ declare namespace io.flow.internal.v0.models {
16726
16796
  readonly type: io.flow.common.v0.enums.ChangeType;
16727
16797
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
16728
16798
  }
16729
- interface OrganizationRestrictionProductSummary {
16730
- readonly organization: io.flow.common.v0.models.OrganizationSummary;
16731
- readonly earliest_date: string;
16732
- readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
16733
- readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
16734
- readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16735
- readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
16736
- readonly total: number;
16737
- }
16738
16799
  interface OrganizationRestrictionSummary {
16739
16800
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
16740
16801
  readonly earliest_date: string;
@@ -17669,6 +17730,19 @@ declare namespace io.flow.internal.v0.models {
17669
17730
  readonly positive_keywords: string[];
17670
17731
  readonly negative_keywords: string[];
17671
17732
  }
17733
+ interface RestrictionOrganization {
17734
+ readonly id: string;
17735
+ readonly name: string;
17736
+ readonly environment: io.flow.common.v0.enums.Environment;
17737
+ readonly created_at: string;
17738
+ }
17739
+ interface RestrictionOrganizationDecisionSummary {
17740
+ readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
17741
+ readonly earliest_pending_date: string;
17742
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
17743
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
17744
+ readonly count: number;
17745
+ }
17672
17746
  interface RestrictionPending {
17673
17747
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17674
17748
  readonly count: number;
@@ -17715,6 +17789,7 @@ declare namespace io.flow.internal.v0.models {
17715
17789
  }
17716
17790
  interface RestrictionRuleMetadata {
17717
17791
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
17792
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
17718
17793
  readonly count: number;
17719
17794
  }
17720
17795
  interface RestrictionRuleSummary {
@@ -17723,7 +17798,7 @@ declare namespace io.flow.internal.v0.models {
17723
17798
  readonly description: string;
17724
17799
  }
17725
17800
  interface RestrictionStatusMetadata {
17726
- readonly status?: io.flow.internal.v0.enums.RestrictionStatus;
17801
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
17727
17802
  readonly count: number;
17728
17803
  }
17729
17804
  interface ResyncByDestinations {
@@ -19144,7 +19219,7 @@ declare namespace io.flow.internal.v0.unions {
19144
19219
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
19145
19220
  type DisputeDetails = io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal;
19146
19221
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
19147
- 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.DutyRatesPublishedV2 | 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;
19222
+ 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.CalculatorOrganizationSettingsUpserted | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted | 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.DutyRatesPublishedV2 | 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;
19148
19223
  type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
19149
19224
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
19150
19225
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
@@ -19393,7 +19468,9 @@ export declare type BrowserBundlePaymentMethods = io.flow.internal.v0.models.Bro
19393
19468
  export declare type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
19394
19469
  export declare type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
19395
19470
  export declare type CalculatorOrganizationSettings = io.flow.internal.v0.models.CalculatorOrganizationSettings;
19471
+ export declare type CalculatorOrganizationSettingsDeleted = io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted;
19396
19472
  export declare type CalculatorOrganizationSettingsForm = io.flow.internal.v0.models.CalculatorOrganizationSettingsForm;
19473
+ export declare type CalculatorOrganizationSettingsUpserted = io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted;
19397
19474
  export declare type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
19398
19475
  export declare type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
19399
19476
  export declare type CarrierAccountUpserted = io.flow.internal.v0.models.CarrierAccountUpserted;
@@ -20640,7 +20717,6 @@ export declare type OrganizationPaymentSetting = io.flow.internal.v0.models.Orga
20640
20717
  export declare type OrganizationPaymentSettingForm = io.flow.internal.v0.models.OrganizationPaymentSettingForm;
20641
20718
  export declare type OrganizationPaymentSettingVersion = io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
20642
20719
  export declare type OrganizationPaymentStatus = io.flow.internal.v0.enums.OrganizationPaymentStatus;
20643
- export declare type OrganizationRestrictionProductSummary = io.flow.internal.v0.models.OrganizationRestrictionProductSummary;
20644
20720
  export declare type OrganizationRestrictionSummary = io.flow.internal.v0.models.OrganizationRestrictionSummary;
20645
20721
  export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
20646
20722
  export declare type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
@@ -20811,6 +20887,8 @@ export declare type RestrictionItemReview = io.flow.internal.v0.models.Restricti
20811
20887
  export declare type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm;
20812
20888
  export declare type RestrictionKeywordMetadata = io.flow.internal.v0.models.RestrictionKeywordMetadata;
20813
20889
  export declare type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords;
20890
+ export declare type RestrictionOrganization = io.flow.internal.v0.models.RestrictionOrganization;
20891
+ export declare type RestrictionOrganizationDecisionSummary = io.flow.internal.v0.models.RestrictionOrganizationDecisionSummary;
20814
20892
  export declare type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
20815
20893
  export declare type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
20816
20894
  export declare type RestrictionProductDecisionForm = io.flow.internal.v0.models.RestrictionProductDecisionForm;
package/dist/api.d.ts CHANGED
@@ -1741,6 +1741,7 @@ declare namespace io.flow.v0.enums {
1741
1741
  type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
1742
1742
  type MerchantOfRecord = 'flow' | 'organization';
1743
1743
  type Method = 'post';
1744
+ type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
1744
1745
  type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
1745
1746
  type OptinResponseType = 'not_shown' | 'opted_in' | 'opted_out';
1746
1747
  type OrderChangeSource = 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier';
@@ -1825,7 +1826,7 @@ declare namespace io.flow.v0.enums {
1825
1826
  type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
1826
1827
  type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA';
1827
1828
  type TradeAgreementStatus = 'supported' | 'not_supported';
1828
- type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'platform_fee' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'order' | 'virtual_card_capture' | 'virtual_card_refund';
1829
+ type TransactionSource = 'capture' | 'refund' | 'dispute' | 'adjustment' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'platform_fee' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund';
1829
1830
  type UnitOfMeasurement = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound';
1830
1831
  type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute';
1831
1832
  type UpdatePolicy = 'auto' | 'queue' | 'discard';
@@ -2269,6 +2270,10 @@ declare namespace io.flow.v0.models {
2269
2270
  readonly type: 'adyen_v4';
2270
2271
  readonly result: any;
2271
2272
  }
2273
+ interface AuthorizationCode {
2274
+ readonly result_code: string;
2275
+ readonly code: string;
2276
+ }
2272
2277
  interface AuthorizationCopyForm {
2273
2278
  readonly discriminator: 'authorization_copy_form';
2274
2279
  readonly source_authorization_key: string;
@@ -2309,6 +2314,7 @@ declare namespace io.flow.v0.models {
2309
2314
  readonly cvv?: io.flow.v0.models.Cvv;
2310
2315
  readonly three_d_secure?: io.flow.v0.models.ThreeDSecure;
2311
2316
  readonly description?: io.flow.v0.models.AuthorizationResultDescription;
2317
+ readonly authorization_code?: io.flow.v0.models.AuthorizationCode;
2312
2318
  }
2313
2319
  interface AuthorizationResultActionGet {
2314
2320
  readonly discriminator: 'authorization_result_action_get';
@@ -5714,6 +5720,10 @@ declare namespace io.flow.v0.models {
5714
5720
  readonly requested_quantity: number;
5715
5721
  readonly available_quantity: number;
5716
5722
  }
5723
+ interface NoPayout {
5724
+ readonly discriminator: 'no_payout';
5725
+ readonly placeholder?: string;
5726
+ }
5717
5727
  interface NotificationDeletedV2 {
5718
5728
  readonly discriminator: 'notification_deleted_v2';
5719
5729
  readonly event_id: string;
@@ -7175,9 +7185,10 @@ declare namespace io.flow.v0.models {
7175
7185
  readonly payment: io.flow.v0.unions.Payment;
7176
7186
  }
7177
7187
  interface Payout {
7188
+ readonly discriminator: 'payout';
7178
7189
  readonly status: io.flow.v0.models.PayoutStatus;
7179
7190
  readonly amount: number;
7180
- readonly sent_on: string;
7191
+ readonly sent_on?: string;
7181
7192
  }
7182
7193
  interface PayoutStatus {
7183
7194
  readonly code: io.flow.v0.enums.PayoutStatusCode;
@@ -7188,6 +7199,7 @@ declare namespace io.flow.v0.models {
7188
7199
  readonly payment_id: string;
7189
7200
  readonly payment_method?: string;
7190
7201
  readonly payment_state?: string;
7202
+ readonly payer_id?: string;
7191
7203
  readonly payer_email?: string;
7192
7204
  readonly payer_status?: string;
7193
7205
  readonly approval_url?: string;
@@ -8789,6 +8801,7 @@ declare namespace io.flow.v0.models {
8789
8801
  readonly discriminator: 'shopify_merchant_application';
8790
8802
  readonly id: string;
8791
8803
  readonly organization_id: string;
8804
+ readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
8792
8805
  readonly company?: io.flow.v0.models.MerchantInfo;
8793
8806
  readonly indirect_tax_number?: string;
8794
8807
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -8811,6 +8824,7 @@ declare namespace io.flow.v0.models {
8811
8824
  readonly ratecard?: io.flow.v0.models.RatecardReference;
8812
8825
  readonly rate_card: string;
8813
8826
  readonly created_at: string;
8827
+ readonly activated_at?: string;
8814
8828
  }
8815
8829
  interface ShopifyMerchantApplicationForm {
8816
8830
  readonly discriminator: 'shopify_merchant_application_form';
@@ -8838,6 +8852,14 @@ declare namespace io.flow.v0.models {
8838
8852
  readonly ratecard_id?: string;
8839
8853
  readonly rate_card: string;
8840
8854
  }
8855
+ interface ShopifyMerchantApplicationPutForm {
8856
+ readonly discriminator: 'shopify_merchant_application_put_form';
8857
+ readonly status?: io.flow.v0.enums.OnboardingApplicationStatus;
8858
+ }
8859
+ interface ShopifyMerchantApplicationsSummary {
8860
+ readonly discriminator: 'shopify_merchant_applications_summary';
8861
+ readonly total: number;
8862
+ }
8841
8863
  interface ShopifyOrderAttributesForm {
8842
8864
  readonly attributes: Record<string, string>;
8843
8865
  }
@@ -8946,7 +8968,7 @@ declare namespace io.flow.v0.models {
8946
8968
  readonly id: string;
8947
8969
  readonly account: io.flow.v0.models.AccountReference;
8948
8970
  readonly ending_balance: number;
8949
- readonly payout?: io.flow.v0.models.Payout;
8971
+ readonly settlement: io.flow.v0.unions.Settlement;
8950
8972
  readonly attachments: io.flow.v0.models.Attachment[];
8951
8973
  }
8952
8974
  interface StatementDeleted {
@@ -9806,6 +9828,8 @@ declare namespace io.flow.v0.unions {
9806
9828
  type LocalizedPrice = io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal;
9807
9829
  type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
9808
9830
  type MerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
9831
+ type MerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
9832
+ type MerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
9809
9833
  type OnlineAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails;
9810
9834
  type OrderInformation = io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails;
9811
9835
  type OrderNumberGenerator = io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix;
@@ -9846,6 +9870,7 @@ declare namespace io.flow.v0.unions {
9846
9870
  type ServiceFee = io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee;
9847
9871
  type Session = io.flow.v0.models.OrganizationSession;
9848
9872
  type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization;
9873
+ type Settlement = io.flow.v0.models.NoPayout | io.flow.v0.models.Payout;
9849
9874
  type ShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm;
9850
9875
  type ShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm | io.flow.v0.models.SinglePackageShippingNotificationForm | io.flow.v0.models.SummaryShippingNotificationForm;
9851
9876
  type ShopifyCartAddForm = io.flow.v0.models.ShopifyCartAddSingleForm | io.flow.v0.models.ShopifyCartAddMultipleForm;
@@ -9940,6 +9965,7 @@ export declare type AuthenticationTechnique = io.flow.v0.enums.AuthenticationTec
9940
9965
  export declare type Authorization = io.flow.v0.unions.Authorization;
9941
9966
  export declare type AuthorizationActionResultAdyenV3 = io.flow.v0.models.AuthorizationActionResultAdyenV3;
9942
9967
  export declare type AuthorizationActionResultAdyenV4 = io.flow.v0.models.AuthorizationActionResultAdyenV4;
9968
+ export declare type AuthorizationCode = io.flow.v0.models.AuthorizationCode;
9943
9969
  export declare type AuthorizationCopyForm = io.flow.v0.models.AuthorizationCopyForm;
9944
9970
  export declare type AuthorizationDeclineCode = io.flow.v0.enums.AuthorizationDeclineCode;
9945
9971
  export declare type AuthorizationDeletedV2 = io.flow.v0.models.AuthorizationDeletedV2;
@@ -10610,6 +10636,8 @@ export declare type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV
10610
10636
  export declare type MembershipVersion = io.flow.v0.models.MembershipVersion;
10611
10637
  export declare type MerchantApplication = io.flow.v0.unions.MerchantApplication;
10612
10638
  export declare type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
10639
+ export declare type MerchantApplicationPutForm = io.flow.v0.unions.MerchantApplicationPutForm;
10640
+ export declare type MerchantApplicationsSummary = io.flow.v0.unions.MerchantApplicationsSummary;
10613
10641
  export declare type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
10614
10642
  export declare type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm;
10615
10643
  export declare type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError;
@@ -10635,9 +10663,11 @@ export declare type Name = io.flow.v0.models.Name;
10635
10663
  export declare type NameForm = io.flow.v0.models.NameForm;
10636
10664
  export declare type NoInventoryReservationError = io.flow.v0.models.NoInventoryReservationError;
10637
10665
  export declare type NoInventoryReservationErrorItem = io.flow.v0.models.NoInventoryReservationErrorItem;
10666
+ export declare type NoPayout = io.flow.v0.models.NoPayout;
10638
10667
  export declare type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
10639
10668
  export declare type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
10640
10669
  export declare type NumberRange = io.flow.v0.models.NumberRange;
10670
+ export declare type OnboardingApplicationStatus = io.flow.v0.enums.OnboardingApplicationStatus;
10641
10671
  export declare type OnboardingMerchantPickupWindow = io.flow.v0.models.OnboardingMerchantPickupWindow;
10642
10672
  export declare type OnboardingMerchantScheduledPickup = io.flow.v0.models.OnboardingMerchantScheduledPickup;
10643
10673
  export declare type OnboardingMerchantTime = io.flow.v0.models.OnboardingMerchantTime;
@@ -11164,6 +11194,7 @@ export declare type SessionPutForm = io.flow.v0.models.SessionPutForm;
11164
11194
  export declare type SessionReference = io.flow.v0.models.SessionReference;
11165
11195
  export declare type SessionVisit = io.flow.v0.models.SessionVisit;
11166
11196
  export declare type SessionVisitor = io.flow.v0.models.SessionVisitor;
11197
+ export declare type Settlement = io.flow.v0.unions.Settlement;
11167
11198
  export declare type ShipmentIntegrationType = io.flow.v0.enums.ShipmentIntegrationType;
11168
11199
  export declare type ShipmentRecipient = io.flow.v0.enums.ShipmentRecipient;
11169
11200
  export declare type ShipmentWindow = io.flow.v0.models.ShipmentWindow;
@@ -11236,6 +11267,8 @@ export declare type ShopifyLocationFlowCenterMappingForm = io.flow.v0.models.Sho
11236
11267
  export declare type ShopifyLocationReference = io.flow.v0.models.ShopifyLocationReference;
11237
11268
  export declare type ShopifyMerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
11238
11269
  export declare type ShopifyMerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm;
11270
+ export declare type ShopifyMerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm;
11271
+ export declare type ShopifyMerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary;
11239
11272
  export declare type ShopifyOrderAttributesForm = io.flow.v0.models.ShopifyOrderAttributesForm;
11240
11273
  export declare type ShopifyOrderDeliveryMetafield = io.flow.v0.models.ShopifyOrderDeliveryMetafield;
11241
11274
  export declare type ShopifyOrderDeliveryMetafieldItem = io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.20",
3
+ "version": "11.24.22",
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": "fdff09214debd93ef272d05c24a88e5c108deded"
28
+ "gitHead": "864d87fe3c12ee52be8ba5f1e8867318d1bec420"
29
29
  }
@@ -2035,6 +2035,11 @@ declare namespace io.flow.payment.v0.models {
2035
2035
  readonly display_name?: string;
2036
2036
  }
2037
2037
 
2038
+ interface AuthorizationCode {
2039
+ readonly result_code: string;
2040
+ readonly code: string;
2041
+ }
2042
+
2038
2043
  interface AuthorizationCopyForm {
2039
2044
  readonly discriminator: 'authorization_copy_form';
2040
2045
  readonly source_authorization_key: string;
@@ -2073,6 +2078,7 @@ declare namespace io.flow.payment.v0.models {
2073
2078
  readonly cvv?: io.flow.payment.v0.models.Cvv;
2074
2079
  readonly three_d_secure?: io.flow.payment.v0.models.ThreeDSecure;
2075
2080
  readonly description?: io.flow.payment.v0.models.AuthorizationResultDescription;
2081
+ readonly authorization_code?: io.flow.payment.v0.models.AuthorizationCode;
2076
2082
  }
2077
2083
 
2078
2084
  interface AuthorizationResultActionGet {
@@ -2552,6 +2558,7 @@ declare namespace io.flow.payment.v0.models {
2552
2558
  readonly payment_id: string;
2553
2559
  readonly payment_method?: string;
2554
2560
  readonly payment_state?: string;
2561
+ readonly payer_id?: string;
2555
2562
  readonly payer_email?: string;
2556
2563
  readonly payer_status?: string;
2557
2564
  readonly approval_url?: string;
@@ -5254,7 +5261,7 @@ declare namespace io.flow.adyen.v0.enums {
5254
5261
  | 'SECOND_CHARGEBACK'
5255
5262
  | 'PREARBITRATION_WON'
5256
5263
  | 'PREARBITRATION_LOST';
5257
- type Method = 'GET' | 'POST';
5264
+ type HttpRedirectMethod = 'GET' | 'POST';
5258
5265
  type Operation = 'cancel' | 'capture' | 'refund';
5259
5266
  type PaymentMethod =
5260
5267
  | 'ach'
@@ -5263,6 +5270,7 @@ declare namespace io.flow.adyen.v0.enums {
5263
5270
  | 'amex'
5264
5271
  | 'bankTransfer_IBAN'
5265
5272
  | 'bcmc'
5273
+ | 'bcmc_mobile'
5266
5274
  | 'cartebancaire'
5267
5275
  | 'cup'
5268
5276
  | 'diners'
@@ -5325,6 +5333,11 @@ declare namespace io.flow.adyen.v0.models {
5325
5333
  readonly currency: string;
5326
5334
  }
5327
5335
 
5336
+ interface Applepay {
5337
+ readonly type: 'applepay';
5338
+ readonly applePayToken: string;
5339
+ }
5340
+
5328
5341
  interface Authentication {
5329
5342
  readonly 'threeds2.fingerprintToken'?: string;
5330
5343
  readonly 'threeds2.challengeToken'?: string;
@@ -5352,6 +5365,8 @@ declare namespace io.flow.adyen.v0.models {
5352
5365
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5353
5366
  readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData;
5354
5367
  readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel;
5368
+ readonly mcc?: string;
5369
+ readonly metadata?: any /*object*/;
5355
5370
  }
5356
5371
 
5357
5372
  interface AuthorizeRequest3D {
@@ -5508,6 +5523,14 @@ declare namespace io.flow.adyen.v0.models {
5508
5523
  readonly paymentData?: string;
5509
5524
  }
5510
5525
 
5526
+ interface PaymentDetailsV663Ds2Challenge {
5527
+ readonly 'threeds2.challengeResult': string;
5528
+ }
5529
+
5530
+ interface PaymentDetailsV663Ds2Fingerprint {
5531
+ readonly 'threeds2.fingerprint': string;
5532
+ }
5533
+
5511
5534
  interface PaymentRequest {
5512
5535
  readonly reference: string;
5513
5536
  readonly merchantAccount: string;
@@ -5529,7 +5552,11 @@ declare namespace io.flow.adyen.v0.models {
5529
5552
  readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo;
5530
5553
  readonly origin?: string;
5531
5554
  readonly channel?: io.flow.adyen.v0.enums.Channel;
5532
- readonly returnURL?: string;
5555
+ readonly returnUrl?: string;
5556
+ readonly mcc?: string;
5557
+ readonly metadata?: any /*object*/;
5558
+ readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5559
+ readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5533
5560
  }
5534
5561
 
5535
5562
  interface PaymentResponse {
@@ -5546,12 +5573,36 @@ declare namespace io.flow.adyen.v0.models {
5546
5573
  interface PaymentResponseAdditionalData {
5547
5574
  readonly authCode?: string;
5548
5575
  readonly avsResultRaw?: string;
5576
+ readonly avsResult?: string;
5549
5577
  readonly cvcResultRaw?: string;
5578
+ readonly cvcResult?: string;
5550
5579
  readonly liabilityShift?: string;
5551
5580
  readonly threeDAuthenticated?: string;
5552
5581
  readonly threeDAuthenticatedResponse?: string;
5553
5582
  readonly threeDOffered?: string;
5554
5583
  readonly threeDOfferedResponse?: string;
5584
+ readonly threeDSVersion?: string;
5585
+ readonly eci?: string;
5586
+ readonly scaExemptionRequested?: string;
5587
+ readonly paymentMethod?: string;
5588
+ readonly paymentMethodVariant?: string;
5589
+ readonly tokenTxVariant?: string;
5590
+ readonly acquirerCode?: string;
5591
+ readonly acquirerAccountCode?: string;
5592
+ readonly cardPaymentMethod?: string;
5593
+ readonly coBrandedWith?: string;
5594
+ readonly cardIssuingCountry?: string;
5595
+ readonly cardIssuingCurrency?: string;
5596
+ readonly cardIssuingBank?: string;
5597
+ readonly cardBin?: string;
5598
+ readonly issuerBin?: string;
5599
+ readonly cardSummary?: string;
5600
+ readonly untokenisedCardSummary?: string;
5601
+ readonly ownerName?: string;
5602
+ readonly bankName?: string;
5603
+ readonly issuerCountry?: string;
5604
+ readonly iban?: string;
5605
+ readonly bic?: string;
5555
5606
  }
5556
5607
 
5557
5608
  interface Recurring {
@@ -5560,7 +5611,7 @@ declare namespace io.flow.adyen.v0.models {
5560
5611
 
5561
5612
  interface Redirect {
5562
5613
  readonly data?: io.flow.adyen.v0.models.RedirectData;
5563
- readonly method?: io.flow.adyen.v0.enums.Method;
5614
+ readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod;
5564
5615
  readonly url?: string;
5565
5616
  }
5566
5617
 
@@ -5585,6 +5636,15 @@ declare namespace io.flow.adyen.v0.models {
5585
5636
  readonly cvc?: string;
5586
5637
  }
5587
5638
 
5639
+ interface SdkV3OnCompleteData {
5640
+ readonly details: any /*object*/;
5641
+ readonly payment_data?: string;
5642
+ }
5643
+
5644
+ interface SdkV3OnCompleteResult {
5645
+ readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData;
5646
+ }
5647
+
5588
5648
  interface ThreeDSecureData {
5589
5649
  readonly authenticationResponse?: string;
5590
5650
  readonly cavv?: string;
@@ -5616,7 +5676,9 @@ declare namespace io.flow.adyen.v0.unions {
5616
5676
  type BrowserInfo =
5617
5677
  | io.flow.adyen.v0.models.BrowserInfo3Ds1
5618
5678
  | io.flow.adyen.v0.models.BrowserInfo3Ds2;
5619
- type PaymentMethodData = io.flow.adyen.v0.models.Scheme;
5679
+ type PaymentMethodData =
5680
+ | io.flow.adyen.v0.models.Scheme
5681
+ | io.flow.adyen.v0.models.Applepay;
5620
5682
  }
5621
5683
 
5622
5684
  declare namespace io.flow.order.management.v0.enums {
@@ -13035,6 +13097,8 @@ declare namespace io.flow.internal.v0.enums {
13035
13097
  | 'bank_payment_deleted'
13036
13098
  | 'bank_payment_upserted_v2'
13037
13099
  | 'bank_payment_deleted_v2'
13100
+ | 'calculator_organization_settings_upserted'
13101
+ | 'calculator_organization_settings_deleted'
13038
13102
  | 'carrier_account_upserted'
13039
13103
  | 'catalog_import_request'
13040
13104
  | 'exclusion_rule_upserted'
@@ -13290,7 +13354,7 @@ declare namespace io.flow.internal.v0.enums {
13290
13354
  type LabelBillingStrategy = 'quote' | 'carrier';
13291
13355
  type LabelCancellationErrorCode = 'already_used' | 'carrier_unsupported';
13292
13356
  type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled';
13293
- type LabelTransactionType = 'billable_label' | 'fee';
13357
+ type LabelTransactionType = 'billable_label' | 'fee' | 'revenue_share';
13294
13358
  type LiabilityType =
13295
13359
  | 'full_value_tax'
13296
13360
  | 'low_value_goods_tax'
@@ -13731,6 +13795,7 @@ declare namespace io.flow.internal.v0.models {
13731
13795
  interface AccountSettingLabelFees {
13732
13796
  readonly flow?: io.flow.internal.v0.models.TieredFee;
13733
13797
  readonly organization?: io.flow.internal.v0.models.TieredFee;
13798
+ readonly revenue_share?: number;
13734
13799
  }
13735
13800
 
13736
13801
  interface AccountSettings {
@@ -14882,11 +14947,27 @@ declare namespace io.flow.internal.v0.models {
14882
14947
  readonly default_hs_code?: string;
14883
14948
  }
14884
14949
 
14950
+ interface CalculatorOrganizationSettingsDeleted {
14951
+ readonly discriminator: 'calculator_organization_settings_deleted';
14952
+ readonly event_id: string;
14953
+ readonly timestamp: string;
14954
+ readonly organization: string;
14955
+ readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings;
14956
+ }
14957
+
14885
14958
  interface CalculatorOrganizationSettingsForm {
14886
14959
  readonly default_country_of_origin?: string;
14887
14960
  readonly default_hs_code?: string;
14888
14961
  }
14889
14962
 
14963
+ interface CalculatorOrganizationSettingsUpserted {
14964
+ readonly discriminator: 'calculator_organization_settings_upserted';
14965
+ readonly event_id: string;
14966
+ readonly timestamp: string;
14967
+ readonly organization: string;
14968
+ readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings;
14969
+ }
14970
+
14890
14971
  interface CarrierAccount {
14891
14972
  readonly id: string;
14892
14973
  readonly carrier: io.flow.fulfillment.v0.models.CarrierReference;
@@ -14964,10 +15045,12 @@ declare namespace io.flow.internal.v0.models {
14964
15045
 
14965
15046
  interface CenterDefaults {
14966
15047
  readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
15048
+ readonly shipping_address_contact: io.flow.common.v0.models.Contact;
14967
15049
  }
14968
15050
 
14969
15051
  interface CenterDefaultsForm {
14970
15052
  readonly packaging: io.flow.fulfillment.v0.models.Packaging[];
15053
+ readonly shipping_address_contact: io.flow.common.v0.models.Contact;
14971
15054
  }
14972
15055
 
14973
15056
  interface CenterQueryBuilder {
@@ -21599,16 +21682,6 @@ declare namespace io.flow.internal.v0.models {
21599
21682
  readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
21600
21683
  }
21601
21684
 
21602
- interface OrganizationRestrictionProductSummary {
21603
- readonly organization: io.flow.common.v0.models.OrganizationSummary;
21604
- readonly earliest_date: string;
21605
- readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
21606
- readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
21607
- readonly positive_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21608
- readonly negative_keywords: io.flow.internal.v0.models.RestrictionKeywordMetadata[];
21609
- readonly total: number;
21610
- }
21611
-
21612
21685
  interface OrganizationRestrictionSummary {
21613
21686
  readonly organization: io.flow.common.v0.models.OrganizationSummary;
21614
21687
  readonly earliest_date: string;
@@ -22678,6 +22751,21 @@ declare namespace io.flow.internal.v0.models {
22678
22751
  readonly negative_keywords: string[];
22679
22752
  }
22680
22753
 
22754
+ interface RestrictionOrganization {
22755
+ readonly id: string;
22756
+ readonly name: string;
22757
+ readonly environment: io.flow.common.v0.enums.Environment;
22758
+ readonly created_at: string;
22759
+ }
22760
+
22761
+ interface RestrictionOrganizationDecisionSummary {
22762
+ readonly organization: io.flow.internal.v0.models.RestrictionOrganization;
22763
+ readonly earliest_pending_date: string;
22764
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
22765
+ readonly rules: io.flow.internal.v0.models.RestrictionRuleMetadata[];
22766
+ readonly count: number;
22767
+ }
22768
+
22681
22769
  interface RestrictionPending {
22682
22770
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22683
22771
  readonly count: number;
@@ -22730,6 +22818,7 @@ declare namespace io.flow.internal.v0.models {
22730
22818
 
22731
22819
  interface RestrictionRuleMetadata {
22732
22820
  readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary;
22821
+ readonly statuses: io.flow.internal.v0.models.RestrictionStatusMetadata[];
22733
22822
  readonly count: number;
22734
22823
  }
22735
22824
 
@@ -22740,7 +22829,7 @@ declare namespace io.flow.internal.v0.models {
22740
22829
  }
22741
22830
 
22742
22831
  interface RestrictionStatusMetadata {
22743
- readonly status?: io.flow.internal.v0.enums.RestrictionStatus;
22832
+ readonly status: io.flow.internal.v0.enums.RestrictionStatus;
22744
22833
  readonly count: number;
22745
22834
  }
22746
22835
 
@@ -24759,6 +24848,8 @@ declare namespace io.flow.internal.v0.unions {
24759
24848
  | io.flow.internal.v0.models.BankPaymentDeleted
24760
24849
  | io.flow.internal.v0.models.BankPaymentUpsertedV2
24761
24850
  | io.flow.internal.v0.models.BankPaymentDeletedV2
24851
+ | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted
24852
+ | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted
24762
24853
  | io.flow.internal.v0.models.CarrierAccountUpserted
24763
24854
  | io.flow.internal.v0.models.CatalogImportRequest
24764
24855
  | io.flow.internal.v0.models.ExclusionRuleUpserted
@@ -25542,8 +25633,12 @@ export type CalculatedTaxAmount =
25542
25633
  export type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
25543
25634
  export type CalculatorOrganizationSettings =
25544
25635
  io.flow.internal.v0.models.CalculatorOrganizationSettings;
25636
+ export type CalculatorOrganizationSettingsDeleted =
25637
+ io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted;
25545
25638
  export type CalculatorOrganizationSettingsForm =
25546
25639
  io.flow.internal.v0.models.CalculatorOrganizationSettingsForm;
25640
+ export type CalculatorOrganizationSettingsUpserted =
25641
+ io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted;
25547
25642
  export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount;
25548
25643
  export type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm;
25549
25644
  export type CarrierAccountUpserted =
@@ -27727,8 +27822,6 @@ export type OrganizationPaymentSettingVersion =
27727
27822
  io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
27728
27823
  export type OrganizationPaymentStatus =
27729
27824
  io.flow.internal.v0.enums.OrganizationPaymentStatus;
27730
- export type OrganizationRestrictionProductSummary =
27731
- io.flow.internal.v0.models.OrganizationRestrictionProductSummary;
27732
27825
  export type OrganizationRestrictionSummary =
27733
27826
  io.flow.internal.v0.models.OrganizationRestrictionSummary;
27734
27827
  export type OrganizationSettings =
@@ -28009,6 +28102,10 @@ export type RestrictionKeywordMetadata =
28009
28102
  io.flow.internal.v0.models.RestrictionKeywordMetadata;
28010
28103
  export type RestrictionKeywords =
28011
28104
  io.flow.internal.v0.models.RestrictionKeywords;
28105
+ export type RestrictionOrganization =
28106
+ io.flow.internal.v0.models.RestrictionOrganization;
28107
+ export type RestrictionOrganizationDecisionSummary =
28108
+ io.flow.internal.v0.models.RestrictionOrganizationDecisionSummary;
28012
28109
  export type RestrictionPending = io.flow.internal.v0.models.RestrictionPending;
28013
28110
  export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct;
28014
28111
  export type RestrictionProductDecisionForm =
package/src/api.ts CHANGED
@@ -2569,6 +2569,12 @@ declare namespace io.flow.v0.enums {
2569
2569
  | 'unsupported_currency';
2570
2570
  type MerchantOfRecord = 'flow' | 'organization';
2571
2571
  type Method = 'post';
2572
+ type OnboardingApplicationStatus =
2573
+ | 'to_do'
2574
+ | 'in_progress'
2575
+ | 'on_hold'
2576
+ | 'rejected'
2577
+ | 'accepted';
2572
2578
  type OnboardingTradeSector =
2573
2579
  | 'accessories'
2574
2580
  | 'animals_and_pet_supplies'
@@ -2968,11 +2974,13 @@ declare namespace io.flow.v0.enums {
2968
2974
  | 'dispute'
2969
2975
  | 'adjustment'
2970
2976
  | 'shipping_label'
2977
+ | 'shipping_label_service'
2978
+ | 'shipping_label_revenue_share'
2971
2979
  | 'platform_fee'
2972
2980
  | 'other_adjustment'
2973
2981
  | 'tax_adjustment'
2974
2982
  | 'channel'
2975
- | 'order'
2983
+ | 'order_service'
2976
2984
  | 'virtual_card_capture'
2977
2985
  | 'virtual_card_refund';
2978
2986
  type UnitOfMeasurement =
@@ -3506,6 +3514,11 @@ declare namespace io.flow.v0.models {
3506
3514
  readonly result: any /*object*/;
3507
3515
  }
3508
3516
 
3517
+ interface AuthorizationCode {
3518
+ readonly result_code: string;
3519
+ readonly code: string;
3520
+ }
3521
+
3509
3522
  interface AuthorizationCopyForm {
3510
3523
  readonly discriminator: 'authorization_copy_form';
3511
3524
  readonly source_authorization_key: string;
@@ -3552,6 +3565,7 @@ declare namespace io.flow.v0.models {
3552
3565
  readonly cvv?: io.flow.v0.models.Cvv;
3553
3566
  readonly three_d_secure?: io.flow.v0.models.ThreeDSecure;
3554
3567
  readonly description?: io.flow.v0.models.AuthorizationResultDescription;
3568
+ readonly authorization_code?: io.flow.v0.models.AuthorizationCode;
3555
3569
  }
3556
3570
 
3557
3571
  interface AuthorizationResultActionGet {
@@ -7520,6 +7534,11 @@ declare namespace io.flow.v0.models {
7520
7534
  readonly available_quantity: number;
7521
7535
  }
7522
7536
 
7537
+ interface NoPayout {
7538
+ readonly discriminator: 'no_payout';
7539
+ readonly placeholder?: string;
7540
+ }
7541
+
7523
7542
  interface NotificationDeletedV2 {
7524
7543
  readonly discriminator: 'notification_deleted_v2';
7525
7544
  readonly event_id: string;
@@ -9229,9 +9248,10 @@ declare namespace io.flow.v0.models {
9229
9248
  }
9230
9249
 
9231
9250
  interface Payout {
9251
+ readonly discriminator: 'payout';
9232
9252
  readonly status: io.flow.v0.models.PayoutStatus;
9233
9253
  readonly amount: number;
9234
- readonly sent_on: string;
9254
+ readonly sent_on?: string;
9235
9255
  }
9236
9256
 
9237
9257
  interface PayoutStatus {
@@ -9244,6 +9264,7 @@ declare namespace io.flow.v0.models {
9244
9264
  readonly payment_id: string;
9245
9265
  readonly payment_method?: string;
9246
9266
  readonly payment_state?: string;
9267
+ readonly payer_id?: string;
9247
9268
  readonly payer_email?: string;
9248
9269
  readonly payer_status?: string;
9249
9270
  readonly approval_url?: string;
@@ -11102,6 +11123,7 @@ declare namespace io.flow.v0.models {
11102
11123
  readonly discriminator: 'shopify_merchant_application';
11103
11124
  readonly id: string;
11104
11125
  readonly organization_id: string;
11126
+ readonly status: io.flow.v0.enums.OnboardingApplicationStatus;
11105
11127
  readonly company?: io.flow.v0.models.MerchantInfo;
11106
11128
  readonly indirect_tax_number?: string;
11107
11129
  readonly parent_company?: io.flow.v0.models.MerchantInfo;
@@ -11124,6 +11146,7 @@ declare namespace io.flow.v0.models {
11124
11146
  readonly ratecard?: io.flow.v0.models.RatecardReference;
11125
11147
  readonly rate_card: string;
11126
11148
  readonly created_at: string;
11149
+ readonly activated_at?: string;
11127
11150
  }
11128
11151
 
11129
11152
  interface ShopifyMerchantApplicationForm {
@@ -11153,6 +11176,16 @@ declare namespace io.flow.v0.models {
11153
11176
  readonly rate_card: string;
11154
11177
  }
11155
11178
 
11179
+ interface ShopifyMerchantApplicationPutForm {
11180
+ readonly discriminator: 'shopify_merchant_application_put_form';
11181
+ readonly status?: io.flow.v0.enums.OnboardingApplicationStatus;
11182
+ }
11183
+
11184
+ interface ShopifyMerchantApplicationsSummary {
11185
+ readonly discriminator: 'shopify_merchant_applications_summary';
11186
+ readonly total: number;
11187
+ }
11188
+
11156
11189
  interface ShopifyOrderAttributesForm {
11157
11190
  readonly attributes: Record<string, string>;
11158
11191
  }
@@ -11278,7 +11311,7 @@ declare namespace io.flow.v0.models {
11278
11311
  readonly id: string;
11279
11312
  readonly account: io.flow.v0.models.AccountReference;
11280
11313
  readonly ending_balance: number;
11281
- readonly payout?: io.flow.v0.models.Payout;
11314
+ readonly settlement: io.flow.v0.unions.Settlement;
11282
11315
  readonly attachments: io.flow.v0.models.Attachment[];
11283
11316
  }
11284
11317
 
@@ -12568,6 +12601,10 @@ declare namespace io.flow.v0.unions {
12568
12601
  type MerchantApplication = io.flow.v0.models.ShopifyMerchantApplication;
12569
12602
  type MerchantApplicationForm =
12570
12603
  io.flow.v0.models.ShopifyMerchantApplicationForm;
12604
+ type MerchantApplicationPutForm =
12605
+ io.flow.v0.models.ShopifyMerchantApplicationPutForm;
12606
+ type MerchantApplicationsSummary =
12607
+ io.flow.v0.models.ShopifyMerchantApplicationsSummary;
12571
12608
  type OnlineAuthorizationDetails =
12572
12609
  | io.flow.v0.models.CryptopayAuthorizationDetails
12573
12610
  | io.flow.v0.models.PaypalAuthorizationDetails
@@ -12708,6 +12745,7 @@ declare namespace io.flow.v0.unions {
12708
12745
  type Session = io.flow.v0.models.OrganizationSession;
12709
12746
  type SessionAuthorization =
12710
12747
  io.flow.v0.models.OrganizationSessionAuthorization;
12748
+ type Settlement = io.flow.v0.models.NoPayout | io.flow.v0.models.Payout;
12711
12749
  type ShippingLabelForm =
12712
12750
  | io.flow.v0.models.DetailedShippingLabelForm
12713
12751
  | io.flow.v0.models.SummaryShippingLabelForm;
@@ -12853,6 +12891,7 @@ export type AuthorizationActionResultAdyenV3 =
12853
12891
  io.flow.v0.models.AuthorizationActionResultAdyenV3;
12854
12892
  export type AuthorizationActionResultAdyenV4 =
12855
12893
  io.flow.v0.models.AuthorizationActionResultAdyenV4;
12894
+ export type AuthorizationCode = io.flow.v0.models.AuthorizationCode;
12856
12895
  export type AuthorizationCopyForm = io.flow.v0.models.AuthorizationCopyForm;
12857
12896
  export type AuthorizationDeclineCode =
12858
12897
  io.flow.v0.enums.AuthorizationDeclineCode;
@@ -13692,6 +13731,10 @@ export type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2;
13692
13731
  export type MembershipVersion = io.flow.v0.models.MembershipVersion;
13693
13732
  export type MerchantApplication = io.flow.v0.unions.MerchantApplication;
13694
13733
  export type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm;
13734
+ export type MerchantApplicationPutForm =
13735
+ io.flow.v0.unions.MerchantApplicationPutForm;
13736
+ export type MerchantApplicationsSummary =
13737
+ io.flow.v0.unions.MerchantApplicationsSummary;
13695
13738
  export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance;
13696
13739
  export type MerchantGiftCardBalanceForm =
13697
13740
  io.flow.v0.models.MerchantGiftCardBalanceForm;
@@ -13729,9 +13772,12 @@ export type NoInventoryReservationError =
13729
13772
  io.flow.v0.models.NoInventoryReservationError;
13730
13773
  export type NoInventoryReservationErrorItem =
13731
13774
  io.flow.v0.models.NoInventoryReservationErrorItem;
13775
+ export type NoPayout = io.flow.v0.models.NoPayout;
13732
13776
  export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
13733
13777
  export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
13734
13778
  export type NumberRange = io.flow.v0.models.NumberRange;
13779
+ export type OnboardingApplicationStatus =
13780
+ io.flow.v0.enums.OnboardingApplicationStatus;
13735
13781
  export type OnboardingMerchantPickupWindow =
13736
13782
  io.flow.v0.models.OnboardingMerchantPickupWindow;
13737
13783
  export type OnboardingMerchantScheduledPickup =
@@ -14389,6 +14435,7 @@ export type SessionPutForm = io.flow.v0.models.SessionPutForm;
14389
14435
  export type SessionReference = io.flow.v0.models.SessionReference;
14390
14436
  export type SessionVisit = io.flow.v0.models.SessionVisit;
14391
14437
  export type SessionVisitor = io.flow.v0.models.SessionVisitor;
14438
+ export type Settlement = io.flow.v0.unions.Settlement;
14392
14439
  export type ShipmentIntegrationType = io.flow.v0.enums.ShipmentIntegrationType;
14393
14440
  export type ShipmentRecipient = io.flow.v0.enums.ShipmentRecipient;
14394
14441
  export type ShipmentWindow = io.flow.v0.models.ShipmentWindow;
@@ -14500,6 +14547,10 @@ export type ShopifyMerchantApplication =
14500
14547
  io.flow.v0.models.ShopifyMerchantApplication;
14501
14548
  export type ShopifyMerchantApplicationForm =
14502
14549
  io.flow.v0.models.ShopifyMerchantApplicationForm;
14550
+ export type ShopifyMerchantApplicationPutForm =
14551
+ io.flow.v0.models.ShopifyMerchantApplicationPutForm;
14552
+ export type ShopifyMerchantApplicationsSummary =
14553
+ io.flow.v0.models.ShopifyMerchantApplicationsSummary;
14503
14554
  export type ShopifyOrderAttributesForm =
14504
14555
  io.flow.v0.models.ShopifyOrderAttributesForm;
14505
14556
  export type ShopifyOrderDeliveryMetafield =