declare namespace io.flow.google.pay.v0.enums { type AuthMethod = 'PAN_ONLY' | 'CRYPTOGRAM_3DS'; type BillingAddressFormat = 'MIN' | 'FULL'; type CardGateway = 'adyen' | 'stripe'; type CardNetwork = 'AMEX' | 'DISCOVER' | 'JCB' | 'MASTERCARD' | 'VISA'; type PaymentMethodType = 'CARD'; type TokenizationType = 'PAYMENT_GATEWAY' | 'DIRECT'; type TotalPriceStatus = 'NOT_CURRENTLY_KNOWN' | 'ESTIMATED' | 'FINAL'; } declare namespace io.flow.google.pay.v0.models { interface Address { readonly name: string; readonly postalCode: string; readonly countryCode: string; readonly phoneNumber: string; readonly companyName: string; readonly address1: string; readonly address2: string; readonly address3: string; readonly locality: string; readonly administrativeArea: string; readonly sortingCode: string; } interface BillingAddressParameters { readonly format?: io.flow.google.pay.v0.enums.BillingAddressFormat; readonly phoneNumberRequired?: boolean; } interface CardAdyenTokenizationParameters { readonly gateway: string; readonly gatewayMerchantId: string; } interface CardDirectTokenizationParameters { readonly protocolVersion: string; readonly publicKey: string; } interface CardPaymentMethodDataInfo { readonly cardDetails: string; readonly cardNetwork: string; readonly billingAddress?: io.flow.google.pay.v0.models.Address; } interface CardPaymentMethodParameters { readonly allowedAuthMethods: io.flow.google.pay.v0.enums.AuthMethod[]; readonly allowedCardNetworks: io.flow.google.pay.v0.enums.CardNetwork[]; readonly billingAddressRequired?: boolean; readonly billingAddressParameters?: io.flow.google.pay.v0.models.BillingAddressParameters; } interface DirectPaymentMethodToken { readonly discriminator: 'direct_payment_method_token'; readonly protocolVersion: string; readonly signature: string; readonly signedMessage: string; } interface EncryptedMessage { readonly messageExpiration: string; readonly messageId: string; readonly paymentMethod: io.flow.google.pay.v0.models.PaymentMethod; readonly paymentMethodDetails: io.flow.google.pay.v0.models.PaymentMethodDetails; } interface MerchantInfo { readonly merchantId: string; readonly merchantName?: string; readonly authJwt?: string; } interface PaymentData { readonly apiVersion: number; readonly apiVersionMinor: number; readonly paymentMethodData: io.flow.google.pay.v0.models.PaymentMethodData; readonly email?: string; readonly shippingAddress?: io.flow.google.pay.v0.models.Address; } interface PaymentDataRequest { readonly apiVersion: number; readonly apiVersionMinor: number; readonly merchantInfo: io.flow.google.pay.v0.models.MerchantInfo; readonly allowedPaymentMethods: io.flow.google.pay.v0.models.PaymentMethod[]; readonly transactionInfo: io.flow.google.pay.v0.models.TransactionInfo; readonly emailRequired?: boolean; readonly shippingAddressRequired?: boolean; readonly shippingAddressParameters?: io.flow.google.pay.v0.models.ShippingAddressParameters; } interface PaymentMethod { readonly type: io.flow.google.pay.v0.enums.PaymentMethodType; readonly parameters: io.flow.google.pay.v0.models.CardPaymentMethodParameters; readonly tokenizationSpecification: io.flow.google.pay.v0.models.PaymentMethodTokenizationSpecification; } interface PaymentMethodData { readonly type: io.flow.google.pay.v0.enums.PaymentMethodType; readonly description: string; readonly info: io.flow.google.pay.v0.models.CardPaymentMethodDataInfo; readonly tokenizationData: io.flow.google.pay.v0.models.PaymentMethodTokenizationData; } interface PaymentMethodDetails { readonly pan: string; readonly expirationMonth: number; readonly expirationYear: number; readonly authMethod: io.flow.google.pay.v0.enums.AuthMethod; readonly cryptogram?: string; readonly eciIndicator?: string; } interface PaymentMethodTokenizationData { readonly type: string; readonly token?: string; } interface PaymentMethodTokenizationSpecification { readonly type: io.flow.google.pay.v0.enums.TokenizationType; readonly parameters: any /*object*/; } interface ShippingAddressParameters { readonly allowedCountryCodes?: string[]; } interface SignedMessage { readonly encryptedMessage: string; readonly ephemeralPublicKey: string; readonly tag: string; } interface StripePaymentMethodToken { readonly discriminator: 'stripe_payment_method_token'; readonly token: io.flow.stripe.v0.models.Token; } interface TransactionInfo { readonly totalPriceStatus: io.flow.google.pay.v0.enums.TotalPriceStatus; readonly totalPrice?: string; readonly currencyCode?: string; } } declare namespace io.flow.google.pay.v0.unions { type PaymentMethodToken = | io.flow.google.pay.v0.models.DirectPaymentMethodToken | io.flow.google.pay.v0.models.StripePaymentMethodToken; } declare namespace io.flow.RESERVED_WORD_return.v0.enums { type ReturnStatus = 'open' | 'refunded'; type ReturnTrackingStatus = | 'awaiting_customs_clearance' | 'cancel_requested' | 'canceled' | 'collection_attempt_failed' | 'customs_clearance_completed' | 'delivered_to_retailer' | 'in_transit_to_local_hub' | 'in_transit_to_retailer' | 'parcel_added_to_pallet' | 'parcel_delayed' | 'parcel_extracted_from_pallet' | 'parcel_lost' | 'parcel_processed_by_retailer' | 'parcel_under_investigation' | 'processed_by_local_hub' | 'received_at_local_hub' | 'received_by_the_carrier' | 'return_registered_online'; } declare namespace io.flow.RESERVED_WORD_return.v0.models { interface Return { readonly id: string; readonly key: string; readonly order?: io.flow.RESERVED_WORD_return.v0.models.ReturnOrderReference; readonly service: io.flow.fulfillment.v0.models.ServiceSummary; readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[]; readonly labels?: io.flow.label.v0.models.ShippingLabel[]; readonly origin: io.flow.fulfillment.v0.models.ShippingAddress; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly source: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource; readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus; readonly tracking_status_timestamp?: string; readonly carrier_tracking_number?: string; } interface ReturnForm { readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[]; readonly tier_id?: string; readonly order_number?: string; readonly service?: string; readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress; readonly key?: string; readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress; readonly center_key?: string; readonly source?: io.flow.RESERVED_WORD_return.v0.unions.ReturnSource; readonly tracking_status?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus; readonly tracking_status_timestamp?: string; readonly carrier_tracking_number?: string; } interface ReturnItemReference { readonly number: string; } interface ReturnLineItem { readonly item_number: string; readonly order_number?: string; readonly quantity: number; readonly reason?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason; readonly notes?: string; readonly attributes?: Record; } interface ReturnOrderReference { readonly number: string; } interface ReturnReason { readonly name: string; } interface ReturnReasonForm { readonly name?: string; } interface ReturnReasonPutForm { readonly name?: string; } interface ReturnSourceExternalVendor { readonly discriminator: 'return_source_external_vendor'; readonly key: string; } interface ReturnSourceFlow { readonly discriminator: 'return_source_flow'; readonly attributes?: Record; } interface ReturnVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly return: io.flow.RESERVED_WORD_return.v0.models.Return; } } declare namespace io.flow.RESERVED_WORD_return.v0.unions { type ReturnSource = | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor; } declare namespace io.flow.payment.gateway.v0.enums { type InlineWindowViewportSize = | 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive'; type PaymentActionType = | 'redirect' | 'redirect_get' | 'redirect_post' | 'select_payment_option' | 'use_sdk_klarna_v1' | 'use_sdk_applepay_js' | 'use_sdk_googlepay' | 'use_sdk_paypal' | 'use_sdk_stripe_v3' | 'use_sdk_adyen_v3' | 'use_sdk_adyen_v4' | 'execute_script' | 'display_inline_window'; type PaymentFailureCode = | 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined'; type PaymentMethodDataOptionType = 'ideal_issuer_option'; type PaymentRequestReviewCheckStatus = 'passed' | 'failed'; type PaymentRequestReviewCheckType = | 'restricted_party_screening' | 'fraud_suspicious_behavior' | 'fraud_suspicious_past_activity' | 'fraud_risky_velocity' | 'fraud_previous_chargebacks' | 'order_restricted_goods' | 'order_unsupported_destination' | 'order_missing_information' | 'order_domestic' | 'order_mismatched_currencies' | 'order_missing'; type PaymentRequestReviewStatus = 'pending' | 'approved' | 'rejected'; type PaymentStatus = | 'requires_payment_method' | 'requires_action' | 'processing' | 'cancelled' | 'expired' | 'authorized' | 'reversed' | 'captured' | 'refunded' | 'in_dispute' | 'charged_back'; type PaymentType = | 'card' | 'klarna' | 'googlepay' | 'paypal' | 'applepay' | 'ideal' | 'sofort' | 'afterpay' | 'bancontact' | 'twint' | 'przelewy24' | 'mobilepay' | 'grabpay' | 'vipps' | 'kcp_creditcard'; } declare namespace io.flow.payment.gateway.v0.models { interface ActionDisplayInlineWindow { readonly type: 'display_inline_window'; readonly expires_at?: string; readonly method: string; readonly url: string; readonly data?: any /*object*/; readonly window_size?: io.flow.payment.gateway.v0.enums.InlineWindowViewportSize; } interface ActionExecuteScript { readonly type: 'execute_script'; readonly expires_at?: string; readonly script: string; } interface ActionRedirect { readonly type: 'redirect'; readonly expires_at?: string; readonly method: string; readonly url: string; readonly data?: any /*object*/; } interface ActionSelectPaymentOption { readonly type: 'select_payment_option'; readonly expires_at?: string; readonly options: io.flow.payment.gateway.v0.models.PaymentMethodDataPaymentOption[]; readonly option_type: io.flow.payment.gateway.v0.enums.PaymentMethodDataOptionType; } interface ActionUseSdkAdyenV3 { readonly type: 'use_sdk_adyen_v3'; readonly expires_at?: string; readonly origin_key: string; readonly authentication_token: io.flow.payment.gateway.v0.unions.SdkAdyenV3AuthenticationToken; } interface ActionUseSdkAdyenV4 { readonly type: 'use_sdk_adyen_v4'; readonly expires_at?: string; readonly client_key: string; readonly action: any /*object*/; } interface ActionUseSdkApplepayJsCompleteValidation { readonly type: 'use_sdk_applepay_js_complete_validation'; readonly expires_at?: string; readonly payment_session: any /*object*/; } interface ActionUseSdkApplepayJsCreateSession { readonly type: 'use_sdk_applepay_js_create_session'; readonly expires_at?: string; readonly merchant_identifier: string; readonly payment_data_request: io.flow.apple.pay.v0.models.ApplePayPaymentInfo; } interface ActionUseSdkGooglepay { readonly type: 'use_sdk_googlepay'; readonly expires_at?: string; readonly payment_data_request: io.flow.google.pay.v0.models.PaymentDataRequest; } interface ActionUseSdkKlarnaV1 { readonly type: 'use_sdk_klarna_v1'; readonly expires_at?: string; readonly client_token: string; readonly payment_method_categories: io.flow.payment.gateway.v0.models.KlarnaPaymentCategory[]; } interface ActionUseSdkPaypal { readonly type: 'use_sdk_paypal'; readonly expires_at?: string; readonly payment_id: string; } interface ActionUseSdkStripeV3 { readonly type: 'use_sdk_stripe_v3'; readonly expires_at?: string; readonly client_secret: string; readonly publishable_key: string; } interface ActionWait { readonly type: 'wait'; readonly expires_at?: string; } interface AdyenV3ChallengeToken { readonly type: 'token'; readonly challenge_token: string; } interface AdyenV3FingerprintToken { readonly type: 'fingerprint'; readonly fingerprint_token: string; } interface AuthorizationActionResultAdyenV3 { readonly type: 'adyen_v3'; readonly result: any /*object*/; } interface AuthorizationActionResultAdyenV4 { readonly type: 'adyen_v4'; readonly result: any /*object*/; } interface DeviceFingerprintDetailsBrowser { readonly type: 'browser'; readonly accept?: string; readonly java_enabled: boolean; readonly color_depth: number; readonly screen_height: number; readonly screen_width: number; readonly time_zone_offset: number; } interface KlarnaPaymentCategory { readonly id: string; readonly name: string; readonly standard_asset_url?: string; readonly descriptive_asset_url?: string; } interface OrderDetails { readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[]; readonly shipping?: io.flow.payment.gateway.v0.models.Shipping; readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[]; readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax; readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty; readonly reference?: string; } interface OrderInformationDetails { readonly type: 'details'; readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails; readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling; readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddressShipping; } interface OrderInformationFlow { readonly type: 'flow'; readonly order_number: string; readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling; } interface PaymentAddress { readonly streets: string[]; readonly city: string; readonly province?: string; readonly postal?: string; readonly country: string; } interface PaymentAddressBilling { readonly contact: io.flow.payment.gateway.v0.models.PaymentContactBilling; readonly location: io.flow.payment.gateway.v0.models.PaymentAddress; } interface PaymentAddressShipping { readonly contact: io.flow.payment.gateway.v0.models.PaymentContactShipping; readonly location: io.flow.payment.gateway.v0.models.PaymentAddress; } interface PaymentAuthorization { readonly id: string; readonly payment_method_summary: io.flow.payment.gateway.v0.unions.PaymentMethodSummary; readonly captures: io.flow.payment.gateway.v0.models.PaymentCapture[]; readonly refunds: io.flow.payment.gateway.v0.models.PaymentRefund[]; readonly reversals: io.flow.payment.gateway.v0.models.PaymentReversal[]; readonly created_at: string; readonly updated_at: string; readonly status: io.flow.payment.gateway.v0.models.PaymentAuthorizationStatus; readonly amount: number; readonly currency: string; readonly base_amount?: number; readonly base_currency?: string; readonly reference?: string; } interface PaymentAuthorizationStatus { readonly status: io.flow.payment.v0.enums.AuthorizationStatus; readonly reason?: io.flow.payment.v0.enums.AuthorizationDeclineCode; } interface PaymentCapture { readonly id: string; readonly amount: number; readonly currency: string; readonly base_amount?: number; readonly base_currency?: string; readonly reference?: string; readonly created_at: string; readonly updated_at: string; readonly status: io.flow.payment.gateway.v0.models.PaymentCaptureStatus; } interface PaymentCaptureForm { readonly amount?: number; readonly currency?: string; readonly reference?: string; readonly attributes?: Record; } interface PaymentCaptureOptionAutomaticImmediate { readonly type: 'automatic_immediate'; readonly placeholder?: string; } interface PaymentCaptureOptionManual { readonly type: 'manual'; readonly placeholder?: string; } interface PaymentCaptureStatus { readonly status: io.flow.payment.v0.enums.CaptureStatus; readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode; } interface PaymentContactBilling { readonly first_name?: string; readonly last_name: string; readonly company?: string; readonly email?: string; readonly phone?: string; } interface PaymentContactShipping { readonly first_name?: string; readonly last_name: string; readonly email: string; readonly phone?: string; } interface PaymentDiscount { readonly amount: number; readonly name?: string; readonly code?: string; } interface PaymentDuty { readonly amount: number; readonly name?: string; } interface PaymentFailure { readonly authorization_id?: string; readonly failure_code: io.flow.payment.gateway.v0.enums.PaymentFailureCode; readonly failure_message: string; } interface PaymentInformation { readonly amount_refundable?: number; readonly amount_refunded?: number; readonly refundable_before?: string; readonly amount_capturable?: number; readonly amount_captured?: number; readonly capturable_before?: string; readonly authorizations: io.flow.payment.gateway.v0.models.PaymentAuthorization[]; } interface PaymentMethodActionCancellation { readonly reason_code?: io.flow.payment.gateway.v0.enums.PaymentFailureCode; readonly data?: any /*object*/; } interface PaymentMethodBrand { readonly id: string; readonly name: string; readonly images: io.flow.reference.v0.models.PaymentMethodImages; } interface PaymentMethodCardNumberCipher { readonly type: 'cipher'; readonly cipher: string; } interface PaymentMethodCardNumberCleartext { readonly type: 'cleartext'; readonly number: string; } interface PaymentMethodCardPciDetails { readonly type: 'card_pci_details'; readonly card_number: io.flow.payment.gateway.v0.unions.CardNumber; readonly expiration_month: number; readonly expiration_year: number; readonly name: string; } interface PaymentMethodCardToken { readonly type: 'token'; readonly token: string; } interface PaymentMethodDataAuthorizeApplepay { readonly type: 'authorize_applepay'; readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeApplepayResult; } interface PaymentMethodDataAuthorizeApplepayResultFailure { readonly type: 'failure'; readonly message: string; } interface PaymentMethodDataAuthorizeApplepayResultSuccess { readonly type: 'success'; readonly token: string; } interface PaymentMethodDataAuthorizeCard { readonly type: 'authorize_card'; readonly card_data: io.flow.payment.gateway.v0.unions.PaymentMethodCard; readonly device_fingerprint_details: io.flow.payment.gateway.v0.unions.DeviceFingerprintDetails; readonly cvv?: string; readonly stored_details_card?: io.flow.payment.gateway.v0.unions.PaymentMethodStoredDetailsCard; readonly reference?: string; } interface PaymentMethodDataAuthorizeGooglepay { readonly type: 'authorize_googlepay'; readonly payment_data: any /*object*/; } interface PaymentMethodDataAuthorizeKlarna { readonly type: 'authorize_klarna'; readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeKlarnaResult; } interface PaymentMethodDataAuthorizeKlarnaResultFailure { readonly type: 'failure'; readonly placeholder?: string; } interface PaymentMethodDataAuthorizeKlarnaResultSuccess { readonly type: 'success'; readonly authorization_token: string; } interface PaymentMethodDataAuthorizePaypal { readonly type: 'authorize_paypal'; readonly payment_id: string; readonly payer_id: string; } interface PaymentMethodDataCompleteAuthorizationCard { readonly type: 'complete_authorization_card'; readonly action_result: io.flow.payment.gateway.v0.unions.CardAuthorizationActionResult; } interface PaymentMethodDataInitAfterpay { readonly type: 'init_afterpay'; readonly reference?: string; } interface PaymentMethodDataInitApplepay { readonly type: 'init_applepay'; readonly reference?: string; } interface PaymentMethodDataInitBancontact { readonly type: 'init_bancontact'; readonly reference?: string; } interface PaymentMethodDataInitGooglepay { readonly type: 'init_googlepay'; readonly reference?: string; } interface PaymentMethodDataInitGrabpay { readonly type: 'init_grabpay'; readonly reference?: string; } interface PaymentMethodDataInitIdeal { readonly type: 'init_ideal'; readonly issuer?: string; readonly reference?: string; } interface PaymentMethodDataInitKcpCreditcard { readonly type: 'init_kcp_creditcard'; readonly reference?: string; } interface PaymentMethodDataInitKlarna { readonly type: 'init_klarna'; readonly reference?: string; } interface PaymentMethodDataInitMobilepay { readonly type: 'init_mobilepay'; readonly reference?: string; } interface PaymentMethodDataInitPaypal { readonly type: 'init_paypal'; readonly reference?: string; } interface PaymentMethodDataInitPrzelewy24 { readonly type: 'init_przelewy24'; readonly reference?: string; } interface PaymentMethodDataInitSofort { readonly type: 'init_sofort'; readonly reference?: string; } interface PaymentMethodDataInitTwint { readonly type: 'init_twint'; readonly reference?: string; } interface PaymentMethodDataInitVipps { readonly type: 'init_vipps'; readonly reference?: string; } interface PaymentMethodDataOptionLogoSvg { readonly type: 'svg'; readonly url: string; } interface PaymentMethodDataPaymentOption { readonly id: string; readonly name: string; readonly logo?: io.flow.payment.gateway.v0.unions.PaymentMethodDataOptionLogo[]; } interface PaymentMethodDataSelectedPaymentOption { readonly type: 'select_option'; readonly option_id: string; } interface PaymentMethodDataValidateApplepay { readonly type: 'validate_applepay'; readonly validation_url: string; } interface PaymentMethodStoredDetailsCardInitial { readonly type: 'initial'; readonly reference?: string; } interface PaymentMethodStoredDetailsCardSubsequent { readonly type: 'subsequent'; readonly reference?: string; readonly previous_transaction_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard; } interface PaymentMethodSummaryAfterpay { readonly type: 'afterpay'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryApplepay { readonly type: 'applepay'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryBancontact { readonly type: 'bancontact'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryCard { readonly type: 'card'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; readonly last_four: string; readonly card_type: io.flow.payment.v0.enums.CardType; readonly id: string; readonly reference?: string; readonly transaction_details?: io.flow.payment.v0.models.TransactionDetailsCard; } interface PaymentMethodSummaryGooglepay { readonly type: 'googlepay'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryGrabpay { readonly type: 'grabpay'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryIdeal { readonly type: 'ideal'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; readonly issuer?: string; } interface PaymentMethodSummaryKcpCreditcard { readonly type: 'kcp_creditcard'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryKlarna { readonly type: 'klarna'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryMobilepay { readonly type: 'mobilepay'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryPaypal { readonly type: 'paypal'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryPrzelewy24 { readonly type: 'przelewy24'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummarySofort { readonly type: 'sofort'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryTwint { readonly type: 'twint'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryVipps { readonly type: 'vipps'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; } interface PaymentOrderDetailsLineItem { readonly id?: string; readonly description: string; readonly quantity: number; readonly amount: number; readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax; readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty; readonly product_url?: string; readonly image_url?: string; readonly category?: string; readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[]; } interface PaymentPaymentMethod { readonly id: string; readonly name: string; readonly type: io.flow.payment.gateway.v0.enums.PaymentType; readonly brands: io.flow.payment.gateway.v0.models.PaymentMethodBrand[]; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; readonly images: io.flow.reference.v0.models.PaymentMethodImages; readonly possible_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[]; } interface PaymentRefund { readonly id: string; readonly amount: number; readonly currency: string; readonly base_amount?: number; readonly base_currency?: string; readonly reference?: string; readonly created_at: string; readonly updated_at: string; readonly status: io.flow.payment.gateway.v0.models.PaymentRefundStatus; } interface PaymentRefundForm { readonly amount?: number; readonly currency?: string; readonly reference?: string; } interface PaymentRefundStatus { readonly status: io.flow.payment.v0.enums.RefundStatus; readonly reason?: io.flow.payment.v0.enums.RefundDeclineCode; } interface PaymentRequest { readonly id: string; readonly status: io.flow.payment.gateway.v0.enums.PaymentStatus; readonly created_at: string; readonly updated_at: string; readonly available_payment_methods: io.flow.payment.gateway.v0.models.PaymentPaymentMethod[]; readonly last_payment_failure?: io.flow.payment.gateway.v0.models.PaymentFailure; readonly next_action?: io.flow.payment.gateway.v0.unions.Action; readonly amount: number; readonly currency: string; readonly base_amount?: number; readonly base_currency?: string; readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation; readonly device_details: io.flow.payment.v0.unions.DeviceDetails; readonly locale?: string; readonly return_url: string; readonly attributes?: Record; readonly reference?: string; readonly payment_information: io.flow.payment.gateway.v0.models.PaymentInformation; readonly supported_actions: io.flow.payment.gateway.v0.enums.PaymentActionType[]; readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption; readonly review?: io.flow.payment.gateway.v0.models.PaymentRequestReview; readonly client_secret?: string; } interface PaymentRequestCancellationReasonOrderMissing { readonly type: 'order_missing'; readonly description?: string; } interface PaymentRequestForm { readonly amount: number; readonly currency: string; readonly order_information: io.flow.payment.gateway.v0.unions.OrderInformation; readonly device_details: io.flow.payment.v0.unions.DeviceDetails; readonly locale?: string; readonly return_url: string; readonly attributes?: Record; readonly reference?: string; readonly payment_method_data?: io.flow.payment.gateway.v0.unions.PaymentMethodData; readonly supported_actions?: io.flow.payment.gateway.v0.enums.PaymentActionType[]; readonly payment_capture_option?: io.flow.payment.gateway.v0.unions.PaymentCaptureOption; } interface PaymentRequestReference { readonly id: string; readonly reference?: string; } interface PaymentRequestReview { readonly status: io.flow.payment.gateway.v0.enums.PaymentRequestReviewStatus; readonly checks: io.flow.payment.gateway.v0.models.PaymentRequestReviewCheck[]; } interface PaymentRequestReviewCheck { readonly type: io.flow.payment.gateway.v0.enums.PaymentRequestReviewCheckType; readonly status: io.flow.payment.gateway.v0.enums.PaymentRequestReviewCheckStatus; } interface PaymentReversal { readonly id: string; readonly amount: number; readonly currency: string; readonly base_amount?: number; readonly base_currency?: string; readonly reference?: string; readonly created_at: string; readonly updated_at: string; readonly status: io.flow.payment.gateway.v0.models.PaymentReversalStatus; } interface PaymentReversalForm { readonly amount?: number; readonly currency?: string; readonly reference?: string; } interface PaymentReversalStatus { readonly status: io.flow.payment.v0.enums.ReversalStatus; readonly reason?: io.flow.payment.v0.enums.ReversalErrorCode; } interface PaymentTax { readonly amount: number; readonly name?: string; } interface Shipping { readonly description: string; readonly amount: number; readonly tax?: io.flow.payment.gateway.v0.models.PaymentTax; readonly duty?: io.flow.payment.gateway.v0.models.PaymentDuty; readonly discounts?: io.flow.payment.gateway.v0.models.PaymentDiscount[]; } } declare namespace io.flow.payment.gateway.v0.unions { type Action = | io.flow.payment.gateway.v0.models.ActionRedirect | io.flow.payment.gateway.v0.models.ActionUseSdkKlarnaV1 | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.payment.gateway.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.payment.gateway.v0.models.ActionUseSdkGooglepay | io.flow.payment.gateway.v0.models.ActionUseSdkPaypal | io.flow.payment.gateway.v0.models.ActionUseSdkStripeV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV3 | io.flow.payment.gateway.v0.models.ActionUseSdkAdyenV4 | io.flow.payment.gateway.v0.models.ActionSelectPaymentOption | io.flow.payment.gateway.v0.models.ActionExecuteScript | io.flow.payment.gateway.v0.models.ActionDisplayInlineWindow | io.flow.payment.gateway.v0.models.ActionWait; type CardAuthorizationActionResult = | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV3 | io.flow.payment.gateway.v0.models.AuthorizationActionResultAdyenV4; type CardNumber = | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCleartext | io.flow.payment.gateway.v0.models.PaymentMethodCardNumberCipher; type DeviceFingerprintDetails = io.flow.payment.gateway.v0.models.DeviceFingerprintDetailsBrowser; type OrderInformation = | io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails; type PaymentCaptureOption = | io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual; type PaymentMethodCard = | io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken; type PaymentMethodData = | io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitSofort | io.flow.payment.gateway.v0.models.PaymentMethodDataInitTwint | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.payment.gateway.v0.models.PaymentMethodDataInitMobilepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitKcpCreditcard | io.flow.payment.gateway.v0.models.PaymentMethodDataInitBancontact | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGrabpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitVipps | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard; type PaymentMethodDataAuthorizeApplepayResult = | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure; type PaymentMethodDataAuthorizeKlarnaResult = | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure; type PaymentMethodDataOptionLogo = io.flow.payment.gateway.v0.models.PaymentMethodDataOptionLogoSvg; type PaymentMethodStoredDetailsCard = | io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.payment.gateway.v0.models.PaymentMethodStoredDetailsCardSubsequent; type PaymentMethodSummary = | io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryTwint | io.flow.payment.gateway.v0.models.PaymentMethodSummaryVipps | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.payment.gateway.v0.models.PaymentMethodSummaryMobilepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKcpCreditcard | io.flow.payment.gateway.v0.models.PaymentMethodSummarySofort | io.flow.payment.gateway.v0.models.PaymentMethodSummaryBancontact | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGrabpay; type PaymentRequestCancellationReason = io.flow.payment.gateway.v0.models.PaymentRequestCancellationReasonOrderMissing; type SdkAdyenV3AuthenticationToken = | io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken; } declare namespace io.flow.channel.currency.v0.models { interface ChannelCurrencyPair { readonly id: string; readonly base: string; readonly target: string; readonly rate: io.flow.channel.currency.v0.models.ChannelCurrencyRate; } interface ChannelCurrencyRate { readonly id: string; readonly value: number; } interface ChannelRate { readonly placeholder?: string; } } declare namespace io.flow.ftp.v0.enums { type FtpFileSource = 'flow' | 'organization'; } declare namespace io.flow.ftp.v0.models { interface FtpAccount { readonly server: io.flow.ftp.v0.models.FtpServer; readonly user: io.flow.ftp.v0.models.FtpUser; } interface FtpFile { readonly id: string; readonly source: io.flow.ftp.v0.enums.FtpFileSource; readonly name: string; readonly directory: string; readonly url: string; readonly created_at: string; } interface FtpFileForm { readonly url: string; readonly directory: string; readonly name?: string; } interface FtpFolder { readonly id: string; readonly path: string; readonly webhook: boolean; readonly description?: string; } interface FtpFolderForm { readonly path: string; readonly webhook: boolean; readonly description?: string; } interface FtpOrganizationSettings { readonly enabled: boolean; readonly emails: string[]; readonly account?: io.flow.ftp.v0.models.FtpAccount; } interface FtpOrganizationSettingsForm { readonly enabled: boolean; readonly emails: string[]; } interface FtpServer { readonly hostname: string; } interface FtpUser { readonly username: string; readonly password?: string; } } declare namespace io.flow.channel.v0.enums { type ChannelCurrencyCapability = | 'payment_authorizations' | 'settlement_currency'; } declare namespace io.flow.channel.v0.models { interface Channel { readonly id: string; readonly name: string; readonly environment: io.flow.common.v0.enums.Environment; readonly organization_id_prefix?: string; } interface ChannelAuthorization { readonly placeholder?: string; } interface ChannelAuthorizationForm { readonly channel_id: string; } interface ChannelCurrency { readonly id: string; readonly currency: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[]; } interface ChannelOrganization { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly key: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly name: string; readonly slug?: string; readonly defaults: io.flow.common.v0.models.OrganizationDefaults; readonly attributes?: Record; } interface ChannelOrganizationAuthorization { readonly placeholder?: string; } interface ChannelOrganizationAuthorizationForm { readonly channel_id: string; readonly organization_id: string; } interface ChannelOrganizationForm { readonly key: string; readonly name?: string; readonly slug?: string; readonly defaults: io.flow.common.v0.models.OrganizationDefaults; readonly attributes?: Record; } interface ChannelOrganizationPutForm { readonly name?: string; readonly slug?: string; readonly defaults: io.flow.common.v0.models.OrganizationDefaults; readonly attributes?: Record; } } declare namespace io.flow.restrictions.v0.enums { type RestrictedReviewStatus = 'in_review' | 'reviewed'; type RestrictionDecision = 'accept' | 'reject' | 'escalate' | 'review'; type RestrictionDecisionReason = 'manual_dispute' | 'operations_decision'; type RestrictionEnvironment = 'sandbox' | 'production' | 'qa'; type ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed'; } declare namespace io.flow.restrictions.v0.models { interface CarrierRestrictions { readonly carrier: string; readonly regions: string[]; } interface NeedsActionAttributes { readonly reason_code: string; readonly category_metafield_handles: string[]; readonly require_msds?: boolean; } interface ProductRestrictionResult { readonly id: string; readonly product_id: string; readonly item_numbers: string[]; readonly prohibited_regions: string[]; readonly sellability_restricted_regions?: string[]; readonly reasons_per_region?: io.flow.restrictions.v0.models.ReasonsPerRegion[]; readonly review_status?: io.flow.restrictions.v0.enums.ReviewStatus; readonly rules?: string[]; readonly updated_by?: string; readonly product_restriction_id?: string; readonly hs_code?: string; readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellabilityRegionResult[]; readonly needs_action_attributes?: io.flow.restrictions.v0.models.NeedsActionAttributes[]; readonly fingerprint?: string; readonly restriction_created_at?: string; readonly first_reviewed_at?: string; readonly seconds_to_first_review?: number; } interface ReasonsPerRegion { readonly region: string; readonly reasons: string[]; readonly review_status: io.flow.restrictions.v0.enums.RestrictedReviewStatus; } interface RestrictionDecisionsForm { readonly organization_id: string; readonly rule_decisions: io.flow.restrictions.v0.models.RestrictionRuleDecisionForm[]; } interface RestrictionRuleDecisionForm { readonly product_id: string; readonly reason_code: string; readonly decision: io.flow.restrictions.v0.enums.RestrictionDecision; readonly decision_reason: io.flow.restrictions.v0.enums.RestrictionDecisionReason; } } declare namespace io.flow.fulfillment.v0.enums { type CenterCapability = | 'international' | 'domestic' | 'crossdock' | 'commercial_invoice'; type DeliveryOptionCostDetailComponentKey = | 'ratecard_base_cost' | 'ratecard_ddp_fee' | 'ratecard_fuel_surcharge' | 'ratecard_oversized_shipment_fee' | 'ratecard_rural_shipment_fee' | 'ratecard_emergency_situation_surcharge_fee' | 'ratecard_peak_surcharge_fee' | 'ratecard_duties_taxes_paid_surcharge_fee' | 'center_commercial_invoice_fee' | 'center_inbound_carton_fee' | 'center_outbound_carton_fee'; type DeliveryOptionCostDetailSource = 'center' | 'ratecard'; type DeliveryWindowComponentSource = | 'flow' | 'organization' | 'carrier' | 'center' | 'mixed'; type DeliveryWindowLocation = 'center' | 'crossdock' | 'customer'; type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service'; type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock'; type LaneDirection = 'outbound' | 'return'; type LanePreselectPreference = 'lowest_cost' | 'default_tier'; type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority'; type PhysicalDeliverySpecialSerivce = | 'cold_storage' | 'hazardous' | 'perishable'; type PreferredServiceSelectionStrategy = | 'calculated_rate' | 'flat_rate' | 'custom_rate'; type QuoteErrorCode = | 'generic_error' | 'items_not_available' | 'shipping_unavailable'; type RatecardOwner = 'flow' | 'organization'; type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice'; type ShippingConfigurationType = 'default' | 'variant'; type Strategy = 'range' | 'from' | 'to'; type SurchargeResponsibleParty = 'organization' | 'customer'; type TierAvailability = 'always' | 'backup'; type TierEstimateType = 'calculated' | 'custom'; type TierStrategy = 'fastest' | 'lowest_cost'; type ZeroAmountIndicator = 'zero' | 'free'; } declare namespace io.flow.fulfillment.v0.models { interface AmountMargin { readonly discriminator: 'amount_margin'; readonly margin: io.flow.common.v0.models.Price; } interface AmountMarginForm { readonly discriminator: 'amount_margin_form'; readonly margin: io.flow.common.v0.models.Money; } interface AtCost { readonly discriminator: 'at_cost'; readonly ignore?: string; } interface AvailableService { readonly service: string; readonly scheduled_pickups?: io.flow.fulfillment.v0.models.ScheduledPickup[]; readonly lead_days?: io.flow.fulfillment.v0.models.NumberRange; } interface CarrierReference { readonly id: string; } interface Center { readonly discriminator: 'center'; readonly id: string; readonly key: string; readonly address: io.flow.fulfillment.v0.models.ShippingAddress; readonly packaging: io.flow.fulfillment.v0.models.Packaging[]; readonly name: string; readonly services: io.flow.fulfillment.v0.models.AvailableService[]; readonly schedule: io.flow.common.v0.models.Schedule; readonly timezone: string; readonly capabilities?: io.flow.fulfillment.v0.enums.CenterCapability[]; readonly partner_center?: io.flow.fulfillment.v0.models.PartnerCenter; } interface CenterForm { readonly address: io.flow.fulfillment.v0.models.ShippingAddress; readonly packaging: io.flow.fulfillment.v0.models.Packaging[]; readonly name: string; readonly services: io.flow.fulfillment.v0.models.AvailableService[]; readonly schedule: io.flow.common.v0.models.Schedule; readonly timezone?: string; readonly key?: string; readonly capabilities?: io.flow.fulfillment.v0.enums.CenterCapability[]; readonly partner_center_form?: io.flow.fulfillment.v0.models.PartnerCenterForm; } interface CenterReference { readonly discriminator: 'center_reference'; readonly organization_id: string; readonly center_key: string; } interface CenterSummary { readonly id: string; readonly key: string; readonly address?: io.flow.fulfillment.v0.models.ShippingAddress; } interface CenterVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly center: io.flow.fulfillment.v0.models.Center; } interface CommercialInvoiceFee { readonly discriminator: 'commercial_invoice_fee'; readonly amount: io.flow.common.v0.models.Money; } interface CountryAvailability { readonly status: io.flow.fulfillment.v0.enums.ItemAvailabilityStatus; readonly countries: string[]; } interface CountryShippingPricing { readonly pricing: io.flow.fulfillment.v0.models.ItemShippingPricing; readonly countries: string[]; } interface DeliveryItem { readonly id?: string; readonly number: string; readonly quantity: number; readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange; readonly price?: io.flow.common.v0.models.MoneyWithOptionalBase; readonly attributes?: Record; readonly center?: string; readonly line_number?: number; } interface DeliveryOption { readonly id: string; readonly cost: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly price: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails; readonly service: io.flow.fulfillment.v0.models.ServiceSummary; readonly actual_service?: io.flow.fulfillment.v0.models.ServiceSummary; readonly tier: io.flow.fulfillment.v0.models.TierSummary; readonly window: io.flow.fulfillment.v0.models.DeliveryWindow; readonly rule_outcome?: io.flow.fulfillment.v0.unions.TierRuleOutcome; readonly weight?: io.flow.fulfillment.v0.models.OptionWeightEstimates; readonly send_to?: io.flow.fulfillment.v0.models.ShippingAddress; readonly surcharge?: io.flow.fulfillment.v0.models.PriceWithBaseAndDetails; readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner; } interface DeliveryOptionCostComponent { readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey; readonly currency: string; readonly amount: number; readonly label: string; readonly base?: io.flow.common.v0.models.Price; } interface DeliveryOptionCostDetail { readonly source: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailSource; readonly ratecard_id?: string; readonly currency: string; readonly amount: number; readonly label: string; readonly base?: io.flow.common.v0.models.Price; readonly components: io.flow.fulfillment.v0.models.DeliveryOptionCostComponent[]; } interface DeliveryOptionForm { readonly delivery: string; readonly items: io.flow.fulfillment.v0.models.QuoteLineItemForm[]; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; } interface DeliveryOptionReference { readonly id: string; } interface DeliveryOptionSummary { readonly id: string; readonly cost: io.flow.common.v0.models.Price; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly price: io.flow.common.v0.models.Price; readonly service: io.flow.fulfillment.v0.models.ServiceReference; readonly tier: io.flow.fulfillment.v0.models.TierReference; readonly window: io.flow.common.v0.models.DatetimeRange; } interface DeliveryOptionVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly delivery_option: io.flow.fulfillment.v0.models.DeliveryOptionSummary; } interface DeliverySummary { readonly id: string; readonly items: io.flow.common.v0.models.LineItemForm[]; } interface DeliveryVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly delivery: io.flow.fulfillment.v0.models.DeliverySummary; } interface DeliveryWindow { readonly from: string; readonly to: string; readonly timezone?: string; readonly label?: string; readonly min_days?: number; readonly max_days?: number; } interface DeliveryWindowComponent { readonly from: string; readonly to: string; readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource; } interface DeliveryWindowComponents { readonly shipment_estimate: io.flow.fulfillment.v0.models.DeliveryWindowComponent; readonly transit_estimate: io.flow.fulfillment.v0.models.DeliveryWindowComponent; } interface DeliveryWindowComponentsV2 { readonly processing_estimates: io.flow.fulfillment.v0.models.ProcessingEstimate[]; readonly transit_estimates: io.flow.fulfillment.v0.models.TransitEstimate[]; } interface DeliveryWindowSummary { readonly country: string; readonly delivery_window: io.flow.fulfillment.v0.models.DeliveryWindow; } interface DigitalDelivery { readonly discriminator: 'digital_delivery'; readonly id: string; readonly key?: string; readonly items: io.flow.fulfillment.v0.models.DeliveryItem[]; readonly prices?: io.flow.order.price.v0.models.OrderPriceDetail[]; readonly total?: io.flow.catalog.v0.models.LocalizedTotal; } interface EstimatedWindow { readonly from: number; readonly to: number; readonly unit: io.flow.common.v0.enums.UnitOfTime; } interface FlatRate { readonly discriminator: 'flat_rate'; readonly price: io.flow.common.v0.models.Price; readonly zero_amount_indicator?: io.flow.fulfillment.v0.enums.ZeroAmountIndicator; } interface FlatRateForm { readonly discriminator: 'flat_rate_form'; readonly price: io.flow.common.v0.models.Money; readonly zero_amount_indicator?: io.flow.fulfillment.v0.enums.ZeroAmountIndicator; } interface FulfillmentExperienceReference { readonly id: string; readonly currency: string; } interface InboundCartonFee { readonly discriminator: 'inbound_carton_fee'; readonly amount: io.flow.common.v0.models.Money; } interface ItemShippingPricing { readonly min: io.flow.common.v0.models.Price; readonly max?: io.flow.common.v0.models.Price; } interface NumberRange { readonly min: number; readonly max: number; } interface OptionWeightEstimates { readonly gravitational: io.flow.common.v0.models.Measurement; readonly dimensional: io.flow.common.v0.models.Measurement; } interface OutboundCartonFee { readonly discriminator: 'outbound_carton_fee'; readonly amount: io.flow.common.v0.models.Money; } interface Packaging { readonly dimensions: io.flow.common.v0.models.Dimensions; readonly name?: string; readonly number?: string; } interface PartnerCenter { readonly partner_reference: io.flow.common.v0.models.PartnerReference; readonly number?: string; readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[]; } interface PartnerCenterForm { readonly partner_id: string; readonly number?: string; readonly fees?: io.flow.fulfillment.v0.unions.PartnerCenterFee[]; } interface PercentMargin { readonly discriminator: 'percent_margin'; readonly percentage: number; } interface PhysicalDelivery { readonly discriminator: 'physical_delivery'; readonly id: string; readonly key?: string; readonly center?: io.flow.fulfillment.v0.models.CenterSummary; readonly fulfillment_routing?: io.flow.fulfillment.v0.enums.FulfillmentRouting; readonly ship_from_country?: string; readonly items: io.flow.fulfillment.v0.models.DeliveryItem[]; readonly options: io.flow.fulfillment.v0.models.DeliveryOption[]; readonly special_services?: io.flow.fulfillment.v0.enums.PhysicalDeliverySpecialSerivce[]; readonly prices?: io.flow.order.price.v0.models.OrderPriceDetail[]; readonly total?: io.flow.catalog.v0.models.LocalizedTotal; readonly goods_supply?: io.flow.common.v0.enums.GoodsSupply; readonly merchant_of_record_flow_entity?: io.flow.merchant.of.record.v0.enums.FlowEntity; readonly preferred_service?: io.flow.fulfillment.v0.models.PhysicalDeliveryPreferredService; } interface PhysicalDeliveryPreferredService { readonly id: string; readonly selection_stratey: io.flow.fulfillment.v0.enums.PreferredServiceSelectionStrategy; } interface PriceWithBaseAndDetails { readonly currency: string; readonly amount: number; readonly label: string; readonly base?: io.flow.common.v0.models.Price; readonly details?: io.flow.fulfillment.v0.models.DeliveryOptionCostDetail[]; } interface ProcessingEstimate { readonly location: io.flow.fulfillment.v0.enums.DeliveryWindowLocation; readonly min_date: string; readonly max_date: string; readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource; } interface Quote { readonly id: string; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[]; readonly selections: io.flow.fulfillment.v0.models.DeliveryOptionReference[]; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly delivered_duties: io.flow.common.v0.enums.DeliveredDuty[]; } interface QuoteError { readonly code: io.flow.fulfillment.v0.enums.QuoteErrorCode; readonly messages: string[]; readonly item_numbers?: string[]; } interface QuoteForm { readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly experience: string; readonly items: io.flow.fulfillment.v0.models.QuoteLineItemForm[]; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly delivered_duties?: io.flow.common.v0.enums.DeliveredDuty[]; readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection; } interface QuoteLineItemForm { readonly number: string; readonly quantity: number; readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange; readonly price: io.flow.common.v0.models.MoneyWithBase; readonly attributes?: Record; readonly center?: string; } interface QuoteSummary { readonly id: string; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; } interface QuoteVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly quote: io.flow.fulfillment.v0.models.QuoteSummary; } interface ScheduledPickup { readonly day_of_week: io.flow.common.v0.enums.DayOfWeek; readonly hour_of_day: string; readonly minute_of_hour: string; } interface ServiceReference { readonly id: string; } interface ServiceSummary { readonly discriminator: 'service_summary'; readonly id: string; readonly carrier: io.flow.fulfillment.v0.models.CarrierReference; readonly name: string; readonly center_code?: string; } interface ServiceUnknown { readonly discriminator: 'service_unknown'; readonly name: string; } interface ShippingAddress { readonly contact: io.flow.common.v0.models.Contact; readonly location: io.flow.common.v0.models.Address; readonly center_key?: string; readonly center_reference?: io.flow.fulfillment.v0.models.CenterReference; readonly service?: io.flow.fulfillment.v0.models.ServiceSummary; } interface ShippingConfiguration { readonly id: string; readonly name: string; readonly key: string; readonly type: io.flow.fulfillment.v0.enums.ShippingConfigurationType; readonly shipping_lanes: io.flow.fulfillment.v0.models.ShippingLane[]; } interface ShippingConfigurationCopy { readonly original: io.flow.fulfillment.v0.models.ShippingConfigurationReference; readonly new: io.flow.fulfillment.v0.models.ShippingConfigurationReference; } interface ShippingConfigurationCopyForm { readonly name: string; } interface ShippingConfigurationForm { readonly name: string; } interface ShippingConfigurationItemAvailability { readonly id: string; readonly item: io.flow.common.v0.models.ItemReference; readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationSummary; readonly availabilities: io.flow.fulfillment.v0.models.CountryAvailability[]; } interface ShippingConfigurationItemShippingPricing { readonly id: string; readonly item: io.flow.common.v0.models.ItemReference; readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationSummary; readonly country_shipping_pricings: io.flow.fulfillment.v0.models.CountryShippingPricing[]; } interface ShippingConfigurationReference { readonly key: string; } interface ShippingConfigurationSummary { readonly id: string; readonly name: string; readonly key: string; readonly type: io.flow.fulfillment.v0.enums.ShippingConfigurationType; } interface ShippingConfigurationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfiguration; } interface ShippingLane { readonly id: string; readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference; readonly region: string; readonly centers: io.flow.fulfillment.v0.unions.ExpandableCenter[]; readonly tiers: io.flow.fulfillment.v0.models.Tier[]; readonly query: io.flow.query.builder.v0.models.Query; readonly strategy: io.flow.fulfillment.v0.enums.LaneStrategy; readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection; readonly preference?: io.flow.fulfillment.v0.enums.LanePreselectPreference; } interface ShippingLaneDefaultTier { readonly id: string; readonly tier: io.flow.fulfillment.v0.models.TierReference; } interface ShippingLaneDefaultTierForm { readonly tier_id: string; } interface ShippingLaneForm { readonly from: string; readonly to: string; readonly strategy?: io.flow.fulfillment.v0.enums.LaneStrategy; readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection; readonly preference?: io.flow.fulfillment.v0.enums.LanePreselectPreference; } interface ShippingLaneSummary { readonly shipping_lane_id: string; readonly region: string; readonly centers: io.flow.fulfillment.v0.unions.ExpandableCenter[]; } interface ShippingLaneVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly shipping_lane: io.flow.fulfillment.v0.models.ShippingLane; } interface SurchargeResponsiblePartyDisplay { readonly name: string; readonly responsible_party: io.flow.fulfillment.v0.enums.SurchargeResponsibleParty; } interface SurchargeSetting { readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey; readonly responsible_party: io.flow.fulfillment.v0.enums.SurchargeResponsibleParty; } interface SurchargeSettingDisplay { readonly name: string; readonly description: string; readonly key: io.flow.fulfillment.v0.enums.DeliveryOptionCostDetailComponentKey; readonly available: io.flow.fulfillment.v0.models.SurchargeResponsiblePartyDisplay[]; } interface Tier { readonly id: string; readonly direction: io.flow.fulfillment.v0.enums.LaneDirection; readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType; readonly name: string; readonly message?: string; readonly rules: io.flow.fulfillment.v0.models.TierRule[]; readonly services: io.flow.reference.v0.models.CarrierService[]; readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy; readonly visibility: io.flow.common.v0.enums.Visibility; readonly currency: string; readonly description?: string; readonly display?: io.flow.fulfillment.v0.models.TierDisplay; readonly shipping_lane?: string; readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[]; readonly lane?: io.flow.fulfillment.v0.models.ShippingLaneSummary; readonly settings?: io.flow.fulfillment.v0.models.TierSettings; } interface TierDisplay { readonly estimate: io.flow.fulfillment.v0.models.TierEstimate; } interface TierDisplayForm { readonly estimate?: io.flow.fulfillment.v0.models.TierEstimate; } interface TierEstimate { readonly type: io.flow.fulfillment.v0.enums.TierEstimateType; readonly label?: string; } interface TierForm { readonly currency: string; readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType; readonly name: string; readonly message?: string; readonly rules: io.flow.fulfillment.v0.models.TierRuleForm[]; readonly services: string[]; readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy; readonly visibility: io.flow.common.v0.enums.Visibility; readonly description?: string; readonly direction?: io.flow.fulfillment.v0.enums.LaneDirection; readonly display?: io.flow.fulfillment.v0.models.TierDisplayForm; readonly shipping_lane: string; readonly surcharge_settings?: io.flow.fulfillment.v0.models.SurchargeSetting[]; readonly settings?: io.flow.fulfillment.v0.models.TierSettings; } interface TierReference { readonly id: string; } interface TierRule { readonly id: string; readonly position: number; readonly query: string; readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcome; } interface TierRuleForm { readonly position?: number; readonly query: string; readonly outcome: io.flow.fulfillment.v0.unions.TierRuleOutcomeForm; } interface TierRuleVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly tier_rule: io.flow.fulfillment.v0.models.TierRule; } interface TierSettings { readonly availability: io.flow.fulfillment.v0.enums.TierAvailability; } interface TierSummary { readonly id: string; readonly experience?: io.flow.fulfillment.v0.models.FulfillmentExperienceReference; readonly integration: io.flow.fulfillment.v0.enums.ShipmentIntegrationType; readonly name: string; readonly services: string[]; readonly strategy: io.flow.fulfillment.v0.enums.TierStrategy; readonly visibility: io.flow.common.v0.enums.Visibility; readonly currency: string; readonly display?: io.flow.fulfillment.v0.models.TierDisplay; readonly message?: string; readonly settings?: io.flow.fulfillment.v0.models.TierSettings; } interface TierVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly tier: io.flow.fulfillment.v0.models.TierSummary; } interface TransitEstimate { readonly origin: io.flow.fulfillment.v0.enums.DeliveryWindowLocation; readonly destination: io.flow.fulfillment.v0.enums.DeliveryWindowLocation; readonly min_date: string; readonly max_date: string; readonly source: io.flow.fulfillment.v0.enums.DeliveryWindowComponentSource; } } declare namespace io.flow.fulfillment.v0.unions { type Delivery = | io.flow.fulfillment.v0.models.DigitalDelivery | io.flow.fulfillment.v0.models.PhysicalDelivery; type ExpandableCenter = | io.flow.fulfillment.v0.models.Center | io.flow.fulfillment.v0.models.CenterReference; type PartnerCenterFee = | io.flow.fulfillment.v0.models.CommercialInvoiceFee | io.flow.fulfillment.v0.models.InboundCartonFee | io.flow.fulfillment.v0.models.OutboundCartonFee; type ServiceDescription = | io.flow.fulfillment.v0.models.ServiceSummary | io.flow.fulfillment.v0.models.ServiceUnknown; type TierRuleOutcome = | io.flow.fulfillment.v0.models.AmountMargin | io.flow.fulfillment.v0.models.AtCost | io.flow.fulfillment.v0.models.FlatRate | io.flow.fulfillment.v0.models.PercentMargin; type TierRuleOutcomeForm = | io.flow.fulfillment.v0.models.AmountMarginForm | io.flow.fulfillment.v0.models.FlatRateForm | io.flow.fulfillment.v0.models.AtCost | io.flow.fulfillment.v0.models.PercentMargin; } declare namespace io.flow.RESERVED_WORD_export.v0.enums { type ExportStatus = 'created' | 'processing' | 'completed' | 'failed'; type ItemIdentifier = 'item_number' | 'sku'; } declare namespace io.flow.RESERVED_WORD_export.v0.models { interface AccountOrdersExportType { readonly discriminator: 'account_orders_export_type'; readonly statement_id?: string; readonly transaction_summary_id?: string; readonly transaction_created_from?: string; readonly transaction_created_to?: string; readonly transaction_created_on_or_after?: string; readonly transaction_created_after?: string; readonly transaction_created_on_or_before?: string; readonly transaction_created_before?: string; readonly transaction_posted_from?: string; readonly transaction_posted_to?: string; readonly transaction_posted_on_or_after?: string; readonly transaction_posted_after?: string; readonly transaction_posted_on_or_before?: string; readonly transaction_posted_before?: string; } interface AccountTransactionsExportType { readonly discriminator: 'account_transactions_export_type'; readonly statement_id?: string; readonly transaction_summary_id?: string; readonly created_from?: string; readonly created_to?: string; readonly created_on_or_after?: string; readonly created_after?: string; readonly created_on_or_before?: string; readonly created_before?: string; readonly posted_from?: string; readonly posted_to?: string; readonly posted_on_or_after?: string; readonly posted_after?: string; readonly posted_on_or_before?: string; readonly posted_before?: string; } interface AnalyticsExportType { readonly discriminator: 'analytics_export_type'; readonly from?: string; readonly to?: string; readonly region?: string; readonly interval?: io.flow.common.v0.enums.UnitOfTime; } interface CatalogItemExportType { readonly discriminator: 'catalog_item_export_type'; readonly numbers?: string[]; readonly q?: string; readonly sort?: string; } interface CsvPriceBookItemExportRowByItemNumber { readonly item_number: string; readonly price_book_key: string; readonly price_book_item_key: string; readonly item_name: string; readonly amount: number; readonly item_attributes?: Record; readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule; } interface CsvPriceBookItemExportRowBySku { readonly sku: string; readonly price_book_key: string; readonly price_book_item_key: string; readonly item_name: string; readonly amount: number; readonly item_attributes?: Record; readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule; } interface ExclusionRulesExportType { readonly discriminator: 'exclusion_rules_export_type'; readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[]; readonly sort?: string; } interface ExperienceExportType { readonly discriminator: 'experience_export_type'; readonly organization_id: string; readonly ids?: string[]; readonly keys?: string[]; } interface Export { readonly id: string; readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType; readonly status: io.flow.RESERVED_WORD_export.v0.enums.ExportStatus; readonly organization_q: string; readonly created_at: string; readonly started_at?: string; readonly completed_at?: string; readonly url?: string; readonly deliveries: io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[]; } interface ExportDeliveryEmail { readonly discriminator: 'export_delivery_email'; readonly email: string; } interface ExportForm { readonly type: io.flow.RESERVED_WORD_export.v0.unions.ExportType; readonly emails?: string[]; readonly organization_q?: string; } interface ExportLocalizedItemPrices { readonly organization: io.flow.common.v0.models.OrganizationReference; readonly experience: io.flow.common.v0.models.ExperienceSummary; readonly item: io.flow.common.v0.models.CatalogItemReference; readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail; readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus; readonly rates?: io.flow.currency.v0.models.Rate[]; } interface ExportLocalizedItemPricesDetail { readonly item: io.flow.catalog.v0.models.LocalizedItemPrice; readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat; readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty; readonly shipping_price?: io.flow.common.v0.models.Price; readonly price_attributes: Record< string, io.flow.common.v0.models.PriceWithBase >; } interface ExportVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly export: io.flow.RESERVED_WORD_export.v0.models.Export; } interface HarmonizationHs10ExportType { readonly discriminator: 'harmonization_hs10_export_type'; readonly origin?: string; readonly destination?: string; readonly numbers?: string[]; readonly has_codes?: boolean; readonly has_origins?: boolean; readonly sort?: string; } interface HarmonizationHs6ExportType { readonly discriminator: 'harmonization_hs6_export_type'; readonly numbers?: string[]; readonly has_codes?: boolean; readonly sort?: string; } interface HarmonizationOverviewExportType { readonly discriminator: 'harmonization_overview_export_type'; readonly origin?: string; readonly destination?: string; readonly sort?: string; } interface HarmonizationTariffCodesExportType { readonly discriminator: 'harmonization_tariff_codes_export_type'; readonly sort?: string; } interface LandedCostItem { readonly number: string; readonly origin: string; readonly destination: string; } interface LocalizedItemPricesExportType { readonly discriminator: 'localized_item_prices_export_type'; readonly since?: string; } interface MarketingFeedsExportType { readonly discriminator: 'marketing_feeds_export_type'; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly feed_ids: string[]; } interface OrderExportType { readonly discriminator: 'order_export_type'; readonly numbers?: string[]; readonly min_hours_since_submitted_at?: number; readonly submitted_on_or_before?: string; readonly submitted_on_or_after?: string; readonly status?: io.flow.experience.v0.enums.OrderStatus; readonly has_tracking_label?: boolean; readonly sort?: string; } interface PriceBookItemExportType { readonly discriminator: 'price_book_item_export_type'; readonly price_book_key?: string; readonly item_numbers?: string[]; readonly start_date?: string; readonly end_date?: string; readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier; } interface ScheduledExport { readonly id: string; readonly user: io.flow.common.v0.models.UserReference; readonly organization_q: string; readonly hour: number; readonly minute: number; readonly timezone: string; readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[]; readonly last_sent_at?: string; } interface ScheduledExportForm { readonly user_id: string; readonly organization_q: string; readonly hour: number; readonly minute: number; readonly timezone: string; readonly types: io.flow.RESERVED_WORD_export.v0.unions.ExportType[]; } interface SolidusProductExportType { readonly discriminator: 'solidus_product_export_type'; readonly numbers?: string[]; readonly sort?: string; } interface SolidusVariantExportType { readonly discriminator: 'solidus_variant_export_type'; readonly numbers?: string[]; readonly sort?: string; } interface UnharmonizedItemExportType { readonly discriminator: 'unharmonized_item_export_type'; readonly sort?: string; } } declare namespace io.flow.RESERVED_WORD_export.v0.unions { type ExportDelivery = io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail; type ExportType = | io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationTariffCodesExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType | io.flow.RESERVED_WORD_export.v0.models.MarketingFeedsExportType | io.flow.RESERVED_WORD_export.v0.models.ExclusionRulesExportType; } declare namespace io.flow.payment.v0.enums { type AddressVerificationResultFieldCode = | 'matched' | 'not_available' | 'not_checked' | 'not_matched'; type AuthorizationDeclineCode = | 'expired' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_address' | 'invalid_token_type' | 'invalid_token' | 'no_account' | 'avs' | 'cvv' | 'fraud' | 'duplicate' | 'not_supported' | 'unknown' | 'online_payment_error'; type AuthorizationOption = 'store_card'; type AuthorizationResultActionType = 'native' | 'redirect' | 'wait'; type AuthorizationStatus = | 'initiated' | 'pending' | 'expired' | 'authorized' | 'review' | 'declined' | 'reversed'; type AvsCode = 'match' | 'partial' | 'unsupported' | 'no_match'; type CaptureDeclineCode = 'expired' | 'insufficient_funds' | 'unknown'; type CaptureStatus = | 'initiated' | 'pending' | 'succeeded' | 'failed' | 'canceled'; type CardErrorCode = | 'invalid_address' | 'invalid_currency' | 'invalid_name' | 'invalid_number' | 'invalid_expiration' | 'invalid_token_type' | 'avs' | 'cvv' | 'fraud' | 'unknown'; type CardType = | 'american_express' | 'cartes_bancaires' | 'china_union_pay' | 'dankort' | 'diners_club' | 'discover' | 'jcb' | 'maestro' | 'mastercard' | 'visa'; type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match'; type CvvResultCode = | 'matched' | 'not_available' | 'not_checked' | 'not_matched'; type PaymentErrorCode = | 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown'; type PaymentFeeType = 'fx' | 'mor' | 'sp' | 'mor_tax'; type PaymentSourceConfirmationActionType = | 'cvv' | 'billing_address' | 'number'; type RefundDeclineCode = 'expired' | 'insufficient_funds' | 'unknown'; type RefundFailureCategory = | 'amount_too_high' | 'amount_too_low' | 'not_enough_balance' | 'insufficient_funds' | 'refund_period_expired' | 'dispute' | 'not_captured' | 'unsupported_payment_method' | 'unsupported_partial_refund' | 'invalid_currency' | 'card_no_longer_valid' | 'general'; type RefundStatus = 'pending' | 'succeeded' | 'failed' | 'canceled'; type ReversalErrorCode = | 'amount_exceeds_balance' | 'authorization_declined' | 'authorization_expired' | 'invalid_authorization' | 'invalid_key' | 'invalid_amount' | 'invalid_currency' | 'no_remaining_balance' | 'partial_reversal_not_supported' | 'unknown'; type ReversalStatus = 'pending' | 'processed' | 'failed'; type StoredMethodUsageStep = 'initial' | 'subsequent'; type ThreeDSecureCode = 'verified' | 'not_verified' | 'failed'; type ThreedsTwoChallengeViewport = | 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen'; type TokenType = 'permanent' | 'one_time'; type TransferStatus = 'succeeded' | 'canceled'; type TransferType = | 'payout_to_merchant' | 'disputed_amount_to_merchant' | 'duties_and_taxes_adjustment_to_merchant' | 'disputed_amount_from_merchant' | 'duties_and_taxes_adjustment_from_merchant' | 'refund_from_merchant'; } declare namespace io.flow.payment.v0.models { interface AchAuthorizationForm { readonly discriminator: 'ach_authorization_form'; readonly account_owner_name: string; readonly account_number: string; readonly routing_number: string; readonly billing_address: io.flow.common.v0.models.BillingAddress; readonly order_number?: string; readonly amount: number; readonly currency: string; readonly key?: string; readonly attributes?: Record; readonly ip?: string; } interface AddressVerificationResult { readonly street_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode; readonly postal_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode; readonly name_code: io.flow.payment.v0.enums.AddressVerificationResultFieldCode; readonly raw?: string; } interface AdyenChallengeShopperData { readonly discriminator: 'adyen_challenge_shopper_data'; readonly challenge_token: string; } interface AdyenIdentifyShopperData { readonly discriminator: 'adyen_identify_shopper_data'; readonly fingerprint_token: string; } interface AdyenNativeActionDetails { readonly discriminator: 'adyen_native_action_details'; readonly origin_key?: string; readonly data?: io.flow.payment.v0.unions.AdyenNativeData; } interface ApplePayMerchantValidationPayload { readonly discriminator: 'apple_pay_merchant_validation_payload'; readonly validation_url: string; readonly display_name?: string; } interface ApplepaySdkCreateResultActionDetails { readonly discriminator: 'applepay_sdk_create_result_action_details'; readonly merchant_identifier: string; readonly payment_data_request: any /*object*/; } interface ApplepaySdkValidateResultActionDetails { readonly discriminator: 'applepay_sdk_validate_result_action_details'; readonly payment_session: any /*object*/; } interface AuthorizationCode { readonly result_code: string; readonly code: string; } interface AuthorizationCopyForm { readonly discriminator: 'authorization_copy_form'; readonly source_authorization_key: string; readonly amount: number; readonly currency: string; readonly attributes?: Record; } interface AuthorizationError { readonly code: io.flow.payment.v0.enums.AuthorizationDeclineCode; readonly messages: string[]; readonly avs?: io.flow.payment.v0.models.Avs; readonly cvv?: io.flow.payment.v0.models.Cvv; } interface AuthorizationOrderReference { readonly discriminator: 'flow_order'; readonly number: string; } interface AuthorizationPayload { readonly parameters: io.flow.payment.v0.unions.AuthorizationPayloadParameters; } interface AuthorizationReference { readonly id: string; readonly key: string; readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference; } interface AuthorizationResult { readonly status: io.flow.payment.v0.enums.AuthorizationStatus; readonly action?: io.flow.payment.v0.unions.AuthorizationResultAction; readonly decline_code?: io.flow.payment.v0.enums.AuthorizationDeclineCode; readonly avs?: io.flow.payment.v0.models.Avs; readonly cvv?: io.flow.payment.v0.models.Cvv; readonly three_d_secure?: io.flow.payment.v0.models.ThreeDSecure; readonly description?: io.flow.payment.v0.models.AuthorizationResultDescription; readonly authorization_code?: io.flow.payment.v0.models.AuthorizationCode; } interface AuthorizationResultActionGet { readonly discriminator: 'authorization_result_action_get'; readonly type: io.flow.payment.v0.enums.AuthorizationResultActionType; readonly url?: string; readonly details?: io.flow.payment.v0.unions.AuthorizationResultActionDetails; } interface AuthorizationResultActionNative { readonly discriminator: 'authorization_result_action_native'; readonly type: io.flow.payment.v0.enums.AuthorizationResultActionType; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly details?: io.flow.payment.v0.unions.AuthorizationResultActionDetails; } interface AuthorizationResultActionPost { readonly discriminator: 'authorization_result_action_post'; readonly type: io.flow.payment.v0.enums.AuthorizationResultActionType; readonly url: string; readonly parameters: any /*object*/; } interface AuthorizationResultActionWait { readonly discriminator: 'authorization_result_action_wait'; readonly type: io.flow.payment.v0.enums.AuthorizationResultActionType; } interface AuthorizationResultDescription { readonly display: string; } interface AuthorizationRetry { readonly id: string; readonly authorization_request_id: string; readonly authorization_id: string; readonly organization_id: string; readonly attempt: number; readonly last_failure_code: string; readonly created_at: string; readonly updated_at: string; } interface AuthorizationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly authorization: io.flow.payment.v0.unions.Authorization; } interface Avs { readonly code: io.flow.payment.v0.enums.AvsCode; readonly name?: boolean; readonly address?: boolean; readonly postal?: boolean; readonly description?: string; } interface BrowserInfo { readonly origin?: string; readonly language?: string; readonly java_enabled?: boolean; readonly color_depth?: number; readonly screen_height?: number; readonly screen_width?: number; readonly time_zone_offset?: number; readonly user_agent?: string; readonly accept?: string; } interface BrowserInlineActionConfiguration { readonly discriminator: 'browser_inline_action_configuration'; readonly inline_notification_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls; readonly action_configuration?: io.flow.payment.v0.unions.BrowserActionConfiguration; } interface Capture { readonly id: string; readonly key: string; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly requested?: io.flow.common.v0.models.Money; readonly created_at: string; readonly attributes?: Record; readonly status?: io.flow.payment.v0.enums.CaptureStatus; readonly base?: io.flow.common.v0.models.Money; readonly fees?: io.flow.payment.v0.models.PaymentFee[]; } interface CaptureError { readonly code: io.flow.error.v0.enums.GenericErrorCode; readonly messages: string[]; readonly decline_code: io.flow.payment.v0.enums.CaptureDeclineCode; } interface CaptureForm { readonly authorization_id: string; readonly key?: string; readonly amount?: number; readonly currency?: string; readonly attributes?: Record; } interface CaptureIdentifier { readonly id: string; readonly capture: io.flow.payment.v0.models.CaptureReference; readonly name: string; readonly identifier: string; readonly primary: boolean; } interface CaptureReference { readonly discriminator: 'capture_reference'; readonly id: string; readonly key: string; } interface CaptureVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly capture: io.flow.payment.v0.models.Capture; } interface Card { readonly discriminator: 'card'; readonly id: string; readonly token: string; readonly type: io.flow.payment.v0.enums.CardType; readonly expiration: io.flow.payment.v0.models.Expiration; readonly iin: string; readonly issuer?: io.flow.payment.v0.models.IssuerSummary; readonly last4: string; readonly name: string; readonly address?: io.flow.common.v0.models.BillingAddress; } interface CardAuthorization { readonly discriminator: 'card_authorization'; readonly id: string; readonly key: string; readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord; readonly method?: io.flow.reference.v0.models.PaymentMethod; readonly card: io.flow.payment.v0.unions.ExpandableCard; readonly amount: number; readonly currency: string; readonly requested?: io.flow.common.v0.models.Money; readonly customer: io.flow.common.v0.models.OrderCustomer; readonly attributes: Record; readonly destination?: io.flow.common.v0.models.Address; readonly billing_address?: io.flow.common.v0.models.BillingAddress; readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference; readonly payment_order_reference?: io.flow.payment.v0.unions.PaymentOrderReference; readonly ip?: string; readonly result: io.flow.payment.v0.models.AuthorizationResult; readonly created_at: string; readonly expires_at?: string; readonly base?: io.flow.common.v0.models.Money; readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor; readonly stored_method_usage_step?: io.flow.payment.v0.enums.StoredMethodUsageStep; readonly authorized_at?: string; readonly authorization_request_id?: string; } interface CardBrowserActionConfiguration { readonly discriminator: 'card_browser_action_configuration'; readonly viewport: io.flow.payment.v0.enums.ThreedsTwoChallengeViewport; } interface CardConfirmationSummary { readonly discriminator: 'card_confirmation_summary'; readonly type?: io.flow.payment.v0.enums.CardType; readonly funding_type?: string; readonly expiration?: io.flow.payment.v0.models.Expiration; readonly iin?: string; readonly issuer?: io.flow.payment.v0.models.IssuerSummary; readonly last4?: string; } interface CardError { readonly code: io.flow.payment.v0.enums.CardErrorCode; readonly messages: string[]; readonly avs?: io.flow.payment.v0.models.Avs; readonly cvv?: io.flow.payment.v0.models.Cvv; } interface CardForm { readonly number?: string; readonly cipher?: string; readonly expiration_month: number; readonly expiration_year: number; readonly name: string; readonly cvv: string; readonly address?: io.flow.common.v0.models.BillingAddress; readonly ip?: string; readonly challenge_text?: string; readonly challenge_cipher?: string; readonly token_type?: io.flow.payment.v0.enums.TokenType; readonly requested_currency?: string; readonly metadata?: io.flow.payment.v0.models.CardMetadata; } interface CardMetadata { readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord; } interface CardNonceForm { readonly token: string; } interface CardPaymentSource { readonly discriminator: 'card_payment_source'; readonly id: string; readonly actions?: io.flow.payment.v0.models.PaymentSourceConfirmationAction[]; readonly summary: io.flow.payment.v0.models.CardPaymentSourceSummary; } interface CardPaymentSourceAuthorizationForm { readonly discriminator: 'card_payment_source_authorization_form'; readonly key?: string; readonly card_payment_source_id: string; readonly order_number: string; readonly amount: number; readonly currency: string; readonly browser_info?: io.flow.payment.v0.models.BrowserInfo; readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration; } interface CardPaymentSourceForm { readonly discriminator: 'card_payment_source_form'; readonly customer_number: string; readonly card_id: string; } interface CardPaymentSourceSummary { readonly customer_number: string; readonly card: io.flow.payment.v0.models.CardSummary; } interface CardReference { readonly discriminator: 'card_reference'; readonly id: string; readonly token: string; } interface CardSummary { readonly discriminator: 'card_summary'; readonly id: string; readonly type: io.flow.payment.v0.enums.CardType; readonly expiration: io.flow.payment.v0.models.Expiration; readonly iin: string; readonly issuer?: io.flow.payment.v0.models.IssuerSummary; readonly last4: string; readonly name: string; readonly address?: io.flow.common.v0.models.BillingAddress; } interface CardTokenForm { readonly token: string; } interface CardVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly card: io.flow.payment.v0.models.Card; } interface CryptopayAuthorizationDetails { readonly discriminator: 'cryptopay_authorization_details'; readonly payment_id: string; } interface Cvv { readonly code: io.flow.payment.v0.enums.CvvCode; readonly description?: string; } interface CvvResult { readonly code: io.flow.payment.v0.enums.CvvResultCode; readonly raw?: string; } interface DeviceDetailsBrowser { readonly type: 'browser'; readonly user_agent: string; readonly origin: string; readonly accept_language?: string; readonly ip?: string; readonly time_zone_offset?: number; readonly date_string?: string; readonly navigator_language?: string; readonly navigator_hardware_concurrency?: number; readonly cookie_created_at?: number; readonly session_duration?: number; readonly fingerprint?: string; readonly fraud_references?: Record; } interface DirectAuthorizationForm { readonly discriminator: 'direct_authorization_form'; readonly token: string; readonly amount: number; readonly currency: string; readonly customer?: io.flow.common.v0.models.OrderCustomer; readonly key?: string; readonly cvv?: string; readonly attributes?: Record; readonly destination?: io.flow.common.v0.models.Address; readonly billing_address?: io.flow.common.v0.models.BillingAddress; readonly ip?: string; readonly options?: io.flow.payment.v0.enums.AuthorizationOption[]; readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls; readonly browser_info?: io.flow.payment.v0.models.BrowserInfo; readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration; } interface DirectDebit { readonly discriminator: 'direct_debit'; readonly bank_name?: string; readonly bic?: string; readonly iban?: string; readonly routing_number?: string; readonly last4?: string; readonly account_holder_name?: string; } interface DisputeReference { readonly discriminator: 'dispute_reference'; readonly id: string; readonly key: string; } interface ExchangedMoney { readonly fx_rate: number; readonly money: io.flow.common.v0.models.Money; } interface Expiration { readonly month: number; readonly year: number; } interface ExternalCard { readonly discriminator: 'external_card'; readonly id: string; readonly type?: io.flow.payment.v0.enums.CardType; } interface GooglePayAuthorizationPayload { readonly discriminator: 'google_pay_authorization_payload'; readonly payload: any /*object*/; } interface IdentifierForm { readonly primary?: boolean; readonly name: string; } interface InlineAuthorizationDetails { readonly discriminator: 'inline_authorization_details'; readonly id: string; readonly client_token?: string; readonly parameters?: any /*object*/; } interface InlineAuthorizationForm { readonly discriminator: 'inline_authorization_form'; readonly method: string; readonly issuer?: io.flow.payment.v0.models.IssuerReference; readonly order_number: string; readonly amount: number; readonly currency: string; readonly billing_address?: io.flow.common.v0.models.BillingAddress; readonly key?: string; readonly attributes?: Record; readonly ip?: string; readonly payload?: io.flow.payment.v0.models.AuthorizationPayload; } interface IssuerReference { readonly id: string; } interface IssuerSummary { readonly iin: string; readonly name?: string; readonly country?: string; } interface IssuerV1 { readonly iin: string; readonly card_brand: string; readonly card_type?: string; readonly name?: string; readonly country?: string; } interface KlarnaPaymentMethodCategory { readonly id: string; readonly name?: string; readonly standard_asset_url?: string; readonly descriptive_asset_url?: string; } interface KlarnaSdkAuthorizationResultActionDetails { readonly discriminator: 'klarna_sdk_authorization_result_action_details'; readonly client_token: string; readonly payment_method_categories: io.flow.payment.v0.models.KlarnaPaymentMethodCategory[]; } interface MerchantOfRecordAuthorizationForm { readonly discriminator: 'merchant_of_record_authorization_form'; readonly token: string; readonly order_number: string; readonly amount?: number; readonly currency?: string; readonly key?: string; readonly cvv?: string; readonly attributes?: Record; readonly ip?: string; readonly options?: io.flow.payment.v0.enums.AuthorizationOption[]; readonly redirect_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls; readonly browser_info?: io.flow.payment.v0.models.BrowserInfo; readonly inline_action_configuration?: io.flow.payment.v0.unions.InlineActionConfiguration; } interface MerchantOfRecordPaymentForm { readonly discriminator: 'merchant_of_record_payment_form'; readonly method: string; readonly order_number: string; readonly amount: number; readonly currency: string; } interface OnlineAuthorization { readonly discriminator: 'online_authorization'; readonly id: string; readonly key: string; readonly method?: io.flow.reference.v0.models.PaymentMethod; readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord; readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails; readonly payment?: any /*object*/; readonly amount: number; readonly currency: string; readonly requested?: io.flow.common.v0.models.Money; readonly customer: io.flow.common.v0.models.OrderCustomer; readonly attributes: Record; readonly destination?: io.flow.common.v0.models.Address; readonly billing_address?: io.flow.common.v0.models.BillingAddress; readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference; readonly payment_order_reference?: io.flow.payment.v0.unions.PaymentOrderReference; readonly ip?: string; readonly result: io.flow.payment.v0.models.AuthorizationResult; readonly created_at: string; readonly expires_at?: string; readonly base?: io.flow.common.v0.models.Money; readonly processor?: io.flow.payment.v0.unions.ExpandablePaymentProcessor; readonly confirmation_details?: io.flow.payment.v0.unions.ConfirmationDetails; readonly authorized_at?: string; readonly authorization_request_id?: string; } interface OnlinePaymentAuthorizationForm { readonly discriminator: 'online_payment_authorization_form'; readonly payment_id: string; readonly key?: string; } interface PaymentCryptopay { readonly discriminator: 'payment_cryptopay'; readonly id: string; readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference; readonly amount: number; readonly currency: string; readonly created_at?: string; readonly cryptopay: io.flow.payment.v0.unions.OnlineAuthorizationDetails; } interface PaymentError { readonly code: string; readonly messages: string[]; readonly codes: io.flow.payment.v0.enums.PaymentErrorCode[]; } interface PaymentFee { readonly type: io.flow.payment.v0.enums.PaymentFeeType; readonly money: io.flow.common.v0.models.Money; readonly base?: io.flow.common.v0.models.Money; } interface PaymentPaymentRequestReference { readonly discriminator: 'payment_request'; readonly payment_request_id: string; } interface PaymentPaypal { readonly discriminator: 'payment_paypal'; readonly id: string; readonly order?: io.flow.payment.v0.models.AuthorizationOrderReference; readonly amount: number; readonly currency: string; readonly created_at?: string; readonly paypal: io.flow.payment.v0.unions.OnlineAuthorizationDetails; } interface PaymentProcessor { readonly discriminator: 'payment_processor'; readonly processor: string; readonly operation_identifier?: io.flow.payment.v0.models.PaymentProcessorIdentifier; readonly account?: io.flow.payment.v0.models.PaymentProcessorAccount; readonly transaction_details?: io.flow.payment.v0.unions.PaymentProcessorTransactionDetails; } interface PaymentProcessorAccount { readonly organization: string; readonly key: string; readonly identifier: io.flow.payment.v0.models.PaymentProcessorIdentifier; readonly parent_account?: io.flow.payment.v0.models.PaymentProcessorAccountReference; } interface PaymentProcessorAccountReference { readonly organization: string; readonly key: string; } interface PaymentProcessorIdentifier { readonly id: string; readonly label: string; } interface PaymentProcessorReference { readonly discriminator: 'payment_processor_reference'; readonly processor: string; } interface PaymentProcessorTransactionDetailsApm { readonly discriminator: 'apm'; readonly transaction_identifier?: string; readonly capture_identifier?: string; readonly method_type?: string; readonly result_status?: string; readonly reason_code?: string; } interface PaymentProcessorTransactionDetailsCard { readonly discriminator: 'card'; readonly transaction_identifier?: string; readonly method_type?: string; readonly result_status?: string; readonly reason_code?: string; readonly avs_result_code?: string; readonly cvv_result_code?: string; readonly threeds_result_code?: string; } interface PaymentReference { readonly id: string; } interface PaymentSourceConfirmationAction { readonly type: io.flow.payment.v0.enums.PaymentSourceConfirmationActionType; } interface PaymentVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly payment: io.flow.payment.v0.unions.Payment; } interface PaypalAuthorizationDetails { readonly discriminator: 'paypal_authorization_details'; readonly payment_id: string; readonly internal_payment_id?: string; readonly payment_method?: string; readonly payment_state?: string; readonly payer_id?: string; readonly payer_email?: string; readonly payer_status?: string; readonly approval_url?: string; } interface PaypalAuthorizationForm { readonly discriminator: 'paypal_authorization_form'; readonly paypal_payment_id: string; readonly paypal_payer_id: string; readonly key?: string; readonly attributes?: Record; readonly ip?: string; } interface PostPaymentRedirectUrls { readonly success: string; readonly failure?: string; } interface PublicKey { readonly id: string; } interface RedirectAuthorizationDetails { readonly discriminator: 'redirect_authorization_details'; readonly id: string; readonly payment_redirect_url: string; } interface RedirectAuthorizationForm { readonly discriminator: 'redirect_authorization_form'; readonly method: string; readonly issuer?: io.flow.payment.v0.models.IssuerReference; readonly order_number: string; readonly amount: number; readonly currency: string; readonly redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls; readonly key?: string; readonly attributes?: Record; readonly ip?: string; } interface Refund { readonly id: string; readonly key: string; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly requested?: io.flow.common.v0.models.Money; readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[]; readonly created_at: string; readonly attributes?: Record; readonly status?: io.flow.payment.v0.enums.RefundStatus; readonly base?: io.flow.common.v0.models.Money; readonly failure_category?: io.flow.payment.v0.enums.RefundFailureCategory; readonly failure_psp_reason?: string; } interface RefundCapture { readonly id: string; readonly refund: io.flow.payment.v0.models.Refund; readonly capture: io.flow.payment.v0.models.Capture; readonly amount: number; readonly currency: string; readonly base: io.flow.common.v0.models.Money; readonly status?: io.flow.payment.v0.enums.RefundStatus; } interface RefundCaptureSummary { readonly capture: io.flow.payment.v0.models.Capture; readonly amount: number; } interface RefundError { readonly code: io.flow.error.v0.enums.GenericErrorCode; readonly messages: string[]; readonly decline_code: io.flow.payment.v0.enums.RefundDeclineCode; } interface RefundForm { readonly authorization_id?: string; readonly capture_id?: string; readonly order_number?: string; readonly key?: string; readonly amount?: number; readonly currency?: string; readonly rma_key?: string; readonly attributes?: Record; } interface RefundIdentifier { readonly id: string; readonly refund: io.flow.payment.v0.models.RefundReference; readonly name: string; readonly identifier: string; readonly primary: boolean; } interface RefundOrderSummary { readonly order_number: string; readonly currency: string; readonly captured: number; readonly refunded: number; readonly amounts: io.flow.payment.v0.models.RefundOrderSummaryAmounts; } interface RefundOrderSummaryAmounts { readonly balance: number; readonly balance_excluding_shipping?: number; readonly shipping?: number; } interface RefundReference { readonly discriminator: 'refund_reference'; readonly id: string; readonly key: string; } interface RefundVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly refund: io.flow.payment.v0.models.Refund; } interface Reversal { readonly id: string; readonly key: string; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly status: io.flow.payment.v0.enums.ReversalStatus; readonly amount: number; readonly currency: string; readonly requested: io.flow.common.v0.models.Money; readonly created_at: string; readonly attributes: Record; readonly base?: io.flow.common.v0.models.Money; } interface ReversalError { readonly code: string; readonly messages: string[]; readonly codes: io.flow.payment.v0.enums.ReversalErrorCode[]; } interface ReversalForm { readonly key?: string; readonly authorization_id: string; readonly amount?: number; readonly currency?: string; readonly attributes?: Record; } interface ReversalPutForm { readonly authorization_id: string; readonly amount?: number; readonly currency?: string; readonly attributes?: Record; } interface ReversalVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly reversal: io.flow.payment.v0.models.Reversal; } interface SelectIssuerOptionActionDetails { readonly discriminator: 'select_issuer_option_action_details'; readonly issuer_options: io.flow.payment.v0.models.IssuerReference[]; } interface StripeAuthenticationData { readonly discriminator: 'stripe_authentication_data'; readonly secret_key_reference: string; } interface StripeAuthenticationDataForm { readonly discriminator: 'stripe_authentication_data_form'; readonly account_id: string; readonly secret_key: string; readonly key?: string; } interface StripeAuthorizationResultActionDetails { readonly discriminator: 'stripe_authorization_result_action_details'; readonly client_secret?: string; readonly payment_method_id?: string; readonly publishable_key?: string; } interface ThreeDSecure { readonly code: io.flow.payment.v0.enums.ThreeDSecureCode; readonly description?: string; readonly eci?: string; readonly liability_sift?: boolean; readonly version?: string; readonly authenticated?: boolean; readonly authenticated_result?: string; readonly offered?: boolean; readonly offered_result?: string; readonly sca_exemption?: string; } interface ThreedsChallengeActionDetails { readonly discriminator: 'threeds_challenge_action_details'; readonly threeds_challenge_action: io.flow.payment.v0.unions.ThreedsChallengeAction; readonly expires_at: string; } interface ThreedsIdentifyActionDetails { readonly discriminator: 'threeds_identify_action_details'; readonly threeds_identify_action: io.flow.payment.v0.unions.ThreedsIdentifyAction; readonly expires_at: string; } interface ThreedsTwoChallengeRequest { readonly discriminator: 'threeds_two_challenge_request'; readonly acs_url: string; readonly challenge_request: string; readonly session_data?: string; } interface ThreedsTwoMethod { readonly discriminator: 'threeds_two_method'; readonly method: string; } interface TransactionDetailsCard { readonly type: 'card'; readonly address_verification_result?: io.flow.payment.v0.models.AddressVerificationResult; readonly cvv_result?: io.flow.payment.v0.models.CvvResult; readonly network_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard; } interface TransactionNetworkDetailsCard { readonly network_transaction_id?: string; readonly network?: io.flow.payment.v0.enums.CardType; } interface Transfer { readonly id: string; readonly type: io.flow.payment.v0.enums.TransferType; readonly base: io.flow.common.v0.models.Money; readonly status: io.flow.payment.v0.enums.TransferStatus; readonly created_at: string; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly transferred_at: string; } interface VirtualCard { readonly id: string; readonly key: string; readonly number?: string; readonly cvv?: string; readonly limit: io.flow.common.v0.models.Price; readonly type: io.flow.payment.v0.enums.CardType; readonly expiration: io.flow.payment.v0.models.Expiration; readonly iin: string; readonly last4: string; readonly name: string; readonly attributes?: Record; } interface VirtualCardCapture { readonly id: string; readonly issuer: io.flow.payment.v0.models.IssuerV1; readonly virtual_card: io.flow.payment.v0.models.VirtualCardReference; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly created_at: string; } interface VirtualCardCaptureVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly virtual_card_capture: io.flow.payment.v0.models.VirtualCardCapture; } interface VirtualCardReference { readonly id: string; } interface VirtualCardRefund { readonly id: string; readonly issuer: io.flow.payment.v0.models.IssuerV1; readonly virtual_card: io.flow.payment.v0.models.VirtualCardReference; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly created_at: string; } interface VirtualCardRefundVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly virtual_card_refund: io.flow.payment.v0.models.VirtualCardRefund; } interface VirtualCardVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly virtual_card: io.flow.payment.v0.models.VirtualCard; } } declare namespace io.flow.payment.v0.unions { type AdyenNativeData = | io.flow.payment.v0.models.AdyenIdentifyShopperData | io.flow.payment.v0.models.AdyenChallengeShopperData; type Authorization = | io.flow.payment.v0.models.CardAuthorization | io.flow.payment.v0.models.OnlineAuthorization; type AuthorizationForm = | io.flow.payment.v0.models.AuthorizationCopyForm | io.flow.payment.v0.models.DirectAuthorizationForm | io.flow.payment.v0.models.MerchantOfRecordAuthorizationForm | io.flow.payment.v0.models.PaypalAuthorizationForm | io.flow.payment.v0.models.RedirectAuthorizationForm | io.flow.payment.v0.models.InlineAuthorizationForm | io.flow.payment.v0.models.AchAuthorizationForm | io.flow.payment.v0.models.CardPaymentSourceAuthorizationForm | io.flow.payment.v0.models.OnlinePaymentAuthorizationForm; type AuthorizationPayloadParameters = | io.flow.payment.v0.models.GooglePayAuthorizationPayload | io.flow.payment.v0.models.ApplePayMerchantValidationPayload; type AuthorizationResultAction = | io.flow.payment.v0.models.AuthorizationResultActionGet | io.flow.payment.v0.models.AuthorizationResultActionPost | io.flow.payment.v0.models.AuthorizationResultActionWait | io.flow.payment.v0.models.AuthorizationResultActionNative; type AuthorizationResultActionDetails = | io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails | io.flow.payment.v0.models.ApplepaySdkCreateResultActionDetails | io.flow.payment.v0.models.ApplepaySdkValidateResultActionDetails | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.payment.v0.models.SelectIssuerOptionActionDetails; type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration; type ConfirmationDetails = | io.flow.payment.v0.models.DirectDebit | io.flow.payment.v0.models.CardConfirmationSummary; type DeviceDetails = io.flow.payment.v0.models.DeviceDetailsBrowser; type ExpandableCard = | io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary | io.flow.payment.v0.models.ExternalCard; type ExpandablePaymentProcessor = | io.flow.payment.v0.models.PaymentProcessor | io.flow.payment.v0.models.PaymentProcessorReference; type GatewayAuthenticationData = io.flow.payment.v0.models.StripeAuthenticationData; type GatewayAuthenticationDataForm = io.flow.payment.v0.models.StripeAuthenticationDataForm; type InlineActionConfiguration = io.flow.payment.v0.models.BrowserInlineActionConfiguration; type OnlineAuthorizationDetails = | io.flow.payment.v0.models.CryptopayAuthorizationDetails | io.flow.payment.v0.models.PaypalAuthorizationDetails | io.flow.payment.v0.models.RedirectAuthorizationDetails | io.flow.payment.v0.models.InlineAuthorizationDetails; type Payment = | io.flow.payment.v0.models.PaymentPaypal | io.flow.payment.v0.models.PaymentCryptopay; type PaymentForm = io.flow.payment.v0.models.MerchantOfRecordPaymentForm; type PaymentOrderReference = | io.flow.payment.v0.models.AuthorizationOrderReference | io.flow.payment.v0.models.PaymentPaymentRequestReference; type PaymentProcessorTransactionDetails = | io.flow.payment.v0.models.PaymentProcessorTransactionDetailsCard | io.flow.payment.v0.models.PaymentProcessorTransactionDetailsApm; type PaymentSource = io.flow.payment.v0.models.CardPaymentSource; type PaymentSourceForm = io.flow.payment.v0.models.CardPaymentSourceForm; type ThreedsChallengeAction = io.flow.payment.v0.models.ThreedsTwoChallengeRequest; type ThreedsIdentifyAction = io.flow.payment.v0.models.ThreedsTwoMethod; type TransactionDetails = io.flow.payment.v0.models.TransactionDetailsCard; type TransferReference = | io.flow.payment.v0.models.CaptureReference | io.flow.payment.v0.models.RefundReference | io.flow.payment.v0.models.DisputeReference; } declare namespace io.flow.field.validation.v0.models { interface FieldValidationMax { readonly discriminator: 'max'; readonly length: number; } interface FieldValidationMin { readonly discriminator: 'min'; readonly length: number; } interface FieldValidationPattern { readonly discriminator: 'pattern'; readonly pattern: string; } interface FieldValidationRequired { readonly discriminator: 'required'; readonly placeholder?: string; } interface FieldValidationRequiredIfPresent { readonly discriminator: 'required_if_present'; readonly placeholder?: string; } } declare namespace io.flow.field.validation.v0.unions { type FieldValidationRule = | io.flow.field.validation.v0.models.FieldValidationRequired | io.flow.field.validation.v0.models.FieldValidationRequiredIfPresent | io.flow.field.validation.v0.models.FieldValidationMin | io.flow.field.validation.v0.models.FieldValidationMax | io.flow.field.validation.v0.models.FieldValidationPattern; } declare namespace io.flow.stripe.v0.enums { type AccountType = 'platform' | 'custom' | 'standard' | 'express'; type ApplePayType = 'apple_pay' | 'apple_pay_later'; type BalanceTransactionType = | 'adjustment' | 'advance' | 'advance_funding' | 'anticipation_repayment' | 'application_fee' | 'application_fee_refund' | 'charge' | 'climate_order_purchase' | 'climate_order_refund' | 'connect_collection_transfer' | 'contribution' | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_dispute' | 'issuing_transaction' | 'obligation_outbound' | 'obligation_reversal_inbound' | 'payment' | 'payment_failure_refund' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payment_refund' | 'payment_reversal' | 'payment_unreconciled' | 'payout' | 'payout_cancel' | 'payout_failure' | 'refund' | 'refund_failure' | 'reserve_transaction' | 'reserved_funds' | 'stripe_fee' | 'stripe_fx_fee' | 'tax_fee' | 'topup' | 'topup_reversal' | 'transfer' | 'transfer_cancel' | 'transfer_failure' | 'transfer_refund'; type BankIdeal = | 'abn_amro' | 'asn_bank' | 'bunq' | 'handelsbanken' | 'ing' | 'knab' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe'; type BicIdeal = | 'ABNANL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U'; type CancellationReason = | 'abandoned' | 'automatic' | 'duplicate' | 'failed_invoice' | 'fraudulent' | 'requested_by_customer' | 'void_invoice'; type CapabilityStatus = | 'active' | 'disabled' | 'inactive' | 'pending' | 'unrequested'; type CaptureMethod = 'automatic' | 'manual'; type CardBrand = | 'American Express' | 'MasterCard' | 'Discover' | 'JCB' | 'Diners Club' | 'Unknown'; type CardFundingType = 'credit' | 'debit' | 'prepaid' | 'unknown'; type CardNetwork = | 'amex' | 'cartes_bancaires' | 'diners' | 'discover' | 'eftpos_au' | 'interac' | 'jcb' | 'mastercard' | 'unionpay' | 'visa' | 'unknown'; type CheckOutcome = 'pass' | 'fail' | 'unavailable' | 'unchecked'; type CodeVerificationStatus = 'pending' | 'succeeded' | 'failed'; type ConfirmationMethod = 'automatic' | 'manual'; type ConnectReportBalanceReportingCategory = | 'anticipation_repayment' | 'climate_order_purchase' | 'climate_order_refund' | 'contribution' | 'currency_conversion' | 'fee' | 'other_adjustment' | 'payment_network_reserve_hold' | 'payment_network_reserve_release' | 'payout' | 'payout_minimum_balance_hold' | 'payout_minimum_balance_release' | 'payout_reversal' | 'risk_reserved_funds' | 'stripe_balance_payment_debit' | 'stripe_balance_payment_debit_reversal' | 'topup' | 'topup_reversal' | 'unreconciled_customer_funds'; type ConnectReportConnectReportingCategory = | 'advance' | 'advance_funding' | 'connect_collection_transfer' | 'connect_reserved_funds' | 'platform_earning' | 'platform_earning_refund' | 'transfer' | 'transfer_reversal'; type ConnectReportIssuingReportingCategory = | 'issuing_authorization_hold' | 'issuing_authorization_release' | 'issuing_disbursement' | 'issuing_dispute' | 'issuing_dispute_fraud_liability_debit' | 'issuing_dispute_provisional_credit' | 'issuing_dispute_provisional_credit_reversal' | 'issuing_transaction'; type ConnectReportPaymentReportingCategory = | 'charge' | 'charge_failure' | 'dispute' | 'dispute_reversal' | 'partial_capture_reversal' | 'refund' | 'refund_failure'; type DeclineCode = | 'approve_with_id' | 'call_issuer' | 'card_not_supported' | 'card_velocity_exceeded' | 'currency_not_supported' | 'do_not_honor' | 'do_not_try_again' | 'duplicate_transaction' | 'expired_card' | 'fraudulent' | 'generic_decline' | 'incorrect_number' | 'incorrect_cvc' | 'incorrect_pin' | 'incorrect_zip' | 'insufficient_funds' | 'invalid_account' | 'invalid_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_number' | 'invalid_pin' | 'issuer_not_available' | 'lost_card' | 'new_account_information_available' | 'no_action_taken' | 'not_permitted' | 'pickup_card' | 'pin_try_exceeded' | 'processing_error' | 'reenter_transaction' | 'restricted_card' | 'revocation_of_all_authorizations' | 'revocation_of_authorization' | 'security_violation' | 'service_not_allowed' | 'stolen_card' | 'stop_payment_order' | 'testmode_decline' | 'transaction_not_allowed' | 'try_again_later' | 'withdrawal_count_limit_exceeded' | 'previously_declined_do_not_retry' | 'highest_risk_level' | 'requested_block_on_incorrect_cvc'; type DisputeEventType = | 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated'; type DisputePaymentMethodDetailsCardCaseType = 'chargeback' | 'inquiry'; type DisputePaymentMethodDetailsType = 'card' | 'klarna' | 'paypal'; type DisputeReason = | 'bank_cannot_process' | 'check_returned' | 'credit_not_processed' | 'customer_initiated' | 'debit_not_authorized' | 'duplicate' | 'fraudulent' | 'general' | 'incorrect_account_details' | 'insufficient_funds' | 'product_not_received' | 'product_unacceptable' | 'subscription_canceled' | 'unrecognized'; type DisputeStatus = | 'warning_needs_response' | 'warning_under_review' | 'warning_closed' | 'needs_response' | 'under_review' | 'won' | 'lost'; type EarlyFraudWarningEventType = 'radar.early_fraud_warning'; type EarlyFraudWarningType = | 'card_never_received' | 'fraudulent_card_application' | 'made_with_counterfeit_card' | 'made_with_lost_card' | 'made_with_stolen_card' | 'unauthorized_use_of_card' | 'misc'; type ErrorCode = | 'invalid_number' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_cvc' | 'invalid_swipe_data' | 'country_code_invalid' | 'email_invalid' | 'postal_code_invalid' | 'invalid_characters' | 'url_invalid' | 'invalid_charge_amount' | 'incorrect_number' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_zip' | 'card_declined' | 'expired_card' | 'missing' | 'processing_error' | 'account_closed' | 'amount_too_small' | 'amount_too_large' | 'api_key_expired' | 'authentication_required' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'insufficient_funds' | 'intent_invalid_state' | 'livemode_mismatch' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_unexpected_state' | 'payment_intent_invalid_parameter' | 'payment_method_billing_details_address_missing' | 'payment_method_customer_decline' | 'payment_method_currency_mismatch' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'platform_api_key_expired' | 'refund_disputed_payment' | 'testmode_charges_only' | 'tls_version_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state'; type ErrorType = | 'api_connection_error' | 'api_error' | 'authentication_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | 'rate_limit_error' | 'validation_error'; type EventType = | 'capability.updated' | 'charge.captured' | 'charge.failed' | 'charge.pending' | 'charge.refunded' | 'charge.expired' | 'charge.succeeded' | 'charge.updated' | 'charge.refund.updated' | 'charge.dispute.closed' | 'charge.dispute.created' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated' | 'payment_intent.created' | 'payment_intent.amount_capturable_updated' | 'payment_intent.payment_failed' | 'payment_intent.succeeded' | 'payment_intent.requires_action' | 'payment_intent.canceled' | 'payment_intent.processing' | 'source.canceled' | 'source.chargeable' | 'source.failed'; type ExtendedAuthorizationStatus = 'enabled' | 'disabled'; type FeatureAvailability = 'available' | 'unavailable'; type KlarnaPaymentMethodCategoryType = | 'direct_bank_transfer' | 'direct_debit' | 'pay_later' | 'pay_now' | 'pay_over_time'; type KlarnaProduct = 'payment'; type NetworkStatus = | 'approved_by_network' | 'declined_by_network' | 'not_sent_to_network' | 'reversed_after_approval'; type NextActionType = 'redirect_to_url' | 'use_stripe_sdk'; type OrderItemType = 'sku' | 'tax' | 'shipping' | 'discount'; type PaymentIntentStatus = | 'canceled' | 'processing' | 'requires_action' | 'requires_capture' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded'; type PaymentMethodCategoryKlarna = | 'pay_later' | 'pay_now' | 'pay_with_financing' | 'pay_in_installments'; type PaymentMethodType = | 'card' | 'card_present' | 'ideal' | 'klarna' | 'bancontact'; type PaymentOutcomeType = | 'authorized' | 'manual_review' | 'issuer_declined' | 'blocked' | 'invalid'; type PaymentStatus = 'succeeded' | 'pending' | 'failed'; type PreferredLanguageBancontact = 'de' | 'en' | 'fr' | 'nl'; type PreferredLocaleKlarna = | 'de-AT' | 'en-AT' | 'nl-BE' | 'fr-BE' | 'en-BE' | 'de-DE' | 'en-DE' | 'da-DK' | 'en-DK' | 'es-ES' | 'en-ES' | 'fi-FI' | 'sv-FI' | 'en-FI' | 'en-GB' | 'en-IE' | 'it-IT' | 'en-IT' | 'nl-NL' | 'en-NL' | 'nb-NO' | 'en-NO' | 'sv-SE' | 'en-SE' | 'en-US' | 'es-US' | 'fr-FR' | 'en-FR' | 'cs-CZ' | 'en-CZ' | 'el-GR' | 'en-GR' | 'en-AU' | 'en-NZ' | 'en-CA' | 'fr-CA' | 'pl-PL' | 'en-PL' | 'pt-PT' | 'en-PT' | 'de-CH' | 'fr-CH' | 'it-CH' | 'en-CH'; type RefundFailureReason = | 'charge_for_pending_refund_disputed' | 'declined' | 'expired_or_canceled_card' | 'insufficient_funds' | 'lost_or_stolen_card' | 'merchant_request' | 'unknown'; type RefundReason = 'duplicate' | 'fraudulent' | 'requested_by_customer'; type RefundStatus = 'succeeded' | 'failed' | 'pending' | 'canceled'; type ReportingReportRunStatus = 'pending' | 'succeeded' | 'failed'; type ReportingReportType = | 'ending_balance_reconciliation.itemized.1' | 'ending_balance_reconciliation.itemized.2' | 'ending_balance_reconciliation.itemized.3' | 'ending_balance_reconciliation.itemized.4' | 'payout_reconciliation.itemized.5' | 'payout_reconciliation.by_id.itemized.1' | 'payout_reconciliation.by_id.itemized.2' | 'payout_reconciliation.by_id.itemized.3' | 'payout_reconciliation.by_id.itemized.4' | 'payout_reconciliation.by_id.summary.1' | 'ending_balance_reconciliation.summary.1' | 'payout_reconciliation.itemized.1' | 'payout_reconciliation.itemized.2' | 'payout_reconciliation.itemized.3' | 'payout_reconciliation.itemized.4' | 'payout_reconciliation.summary.1'; type RequestThreeDSecureType = 'automatic' | 'any'; type RequestedCapabilities = | 'card_payments' | 'legacy_payments' | 'transfers'; type SetupFutureUsage = 'on_session' | 'off_session'; type ShopifyPaymentStripeEventType = | 'charge.captured' | 'charge.dispute.created' | 'charge.dispute.closed' | 'charge.dispute.funds_reinstated' | 'charge.dispute.funds_withdrawn' | 'charge.dispute.updated' | 'charge.expired' | 'charge.failed' | 'charge.pending' | 'charge.refund.updated' | 'charge.refunded' | 'charge.succeeded' | 'charge.updated' | 'payment_intent.amount_capturable_updated' | 'payment_intent.canceled' | 'payment_intent.created' | 'payment_intent.partially_funded' | 'payment_intent.payment_failed' | 'payment_intent.processing' | 'payment_intent.requires_action' | 'payment_intent.succeeded' | 'transfer.created' | 'transfer.reversed' | 'transfer.updated' | 'reporting.report_run.succeeded' | 'reporting.report_type.updated' | 'reporting.report_type.failed'; type SourceFlow = 'redirect' | 'receiver' | 'code_verification' | 'none'; type SourceStatus = | 'canceled' | 'chargeable' | 'consumed' | 'failed' | 'pending'; type SourceType = | 'ach_credit_transfer' | 'ach_debit' | 'alipay' | 'bancontact' | 'bitcoin' | 'card' | 'eps' | 'giropay' | 'ideal' | 'klarna' | 'multibanco' | 'p24' | 'sepa_debit' | 'sofort' | 'three_d_secure'; type SourceUsageType = 'reusable' | 'single_use'; type StoredCredentialTransactionType = | 'setup_on_session' | 'setup_off_session_recurring' | 'setup_off_session_unscheduled' | 'stored_on_session' | 'stored_on_session_recurring' | 'stored_on_session_unscheduled'; type ThreeDSecureSupport = | 'required' | 'recommended' | 'optional' | 'not_supported'; type ThreeDsAuthenticationFlow = 'challenge' | 'frictionless'; type ThreeDsResult = | 'authenticated' | 'attempt_acknowledged' | 'exempted' | 'not_supported' | 'failed' | 'processing_error'; type ThreeDsResultReason = | 'card_not_enrolled' | 'network_not_supported' | 'abandoned' | 'canceled' | 'rejected' | 'bypassed' | 'protocol_error'; type TokenType = 'account' | 'bank_account' | 'card' | 'pii'; type UseStripeSdkType = 'three_d_secure_redirect' | 'stripe_3ds2_fingerprint'; } declare namespace io.flow.stripe.v0.models { interface Account { readonly id: string; readonly object: string; readonly business_logo?: string; readonly business_name?: string; readonly business_url?: string; readonly charges_enabled?: boolean; readonly country?: string; readonly created?: number; readonly debit_negative_balances?: boolean; readonly default_currency?: string; readonly details_submitted?: boolean; readonly display_name?: string; readonly email?: string; readonly keys?: io.flow.stripe.v0.models.Keys; readonly legal_entity?: io.flow.stripe.v0.models.LegalEntity; readonly payout_statement_descriptor?: string; readonly payouts_enabled?: boolean; readonly product_description?: string; readonly statement_descriptor?: string; readonly timezone?: string; readonly tos_acceptance?: io.flow.stripe.v0.models.TosAcceptance; readonly type?: io.flow.stripe.v0.enums.AccountType; } interface AccountRequest { readonly type: io.flow.stripe.v0.enums.AccountType; readonly country?: string; readonly business_name?: string; readonly legal_entity?: io.flow.stripe.v0.models.LegalEntity; readonly payout_statement_descriptor?: string; readonly tos_acceptance?: io.flow.stripe.v0.models.TosAcceptance; readonly requested_capabilities?: io.flow.stripe.v0.enums.RequestedCapabilities[]; } interface Address { readonly city?: string; readonly country?: string; readonly line1?: string; readonly line2?: string; readonly postal_code?: string; readonly state?: string; } interface ApplePay { readonly type: 'apple_pay'; readonly apple_pay: io.flow.stripe.v0.models.ApplePayInformation; readonly dynamic_last4?: string; } interface ApplePayInformation { readonly type: io.flow.stripe.v0.enums.ApplePayType; } interface Capability { readonly id: string; readonly account: string; readonly requested: boolean; readonly requirements: any /*object*/; readonly status: io.flow.stripe.v0.enums.CapabilityStatus; readonly object: string; readonly future_requirements: any /*object*/; readonly requested_at?: number; } interface Card { readonly id: string; readonly object: string; readonly address_city?: string; readonly address_country?: string; readonly address_line1?: string; readonly address_line1_check?: io.flow.stripe.v0.enums.CheckOutcome; readonly address_line2?: string; readonly address_state?: string; readonly address_zip?: string; readonly address_zip_check?: io.flow.stripe.v0.enums.CheckOutcome; readonly brand?: io.flow.stripe.v0.enums.CardBrand; readonly country?: string; readonly currency?: string; readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome; readonly dynamic_last4?: string; readonly exp_month: number; readonly exp_year: number; readonly fingerprint?: string; readonly funding?: io.flow.stripe.v0.enums.CardFundingType; readonly last4?: string; readonly name?: string; readonly tokenization_method?: string; } interface CardChecks { readonly address_line1_check?: io.flow.stripe.v0.enums.CheckOutcome; readonly address_postal_code_check?: io.flow.stripe.v0.enums.CheckOutcome; readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome; } interface CardNetworks { readonly available?: string[]; readonly preferred?: string; } interface CardRequest { readonly object: string; readonly exp_month: string; readonly exp_year: string; readonly number: string; readonly cvc?: string; readonly name?: string; readonly address_city?: string; readonly address_country?: string; readonly address_line1?: string; readonly address_line2?: string; readonly address_state?: string; readonly address_zip?: string; readonly currency?: string; } interface Charge { readonly id: string; readonly amount: number; readonly amount_refunded: number; readonly authorization_code?: string; readonly captured: boolean; readonly created: number; readonly currency: string; readonly customer?: string; readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome; readonly disputed?: boolean; readonly paid: boolean; readonly refunded: boolean; readonly refunds?: io.flow.stripe.v0.models.Refunds; readonly source: io.flow.stripe.v0.models.Source; readonly status: io.flow.stripe.v0.enums.PaymentStatus; readonly balance_transaction?: string; readonly destination?: string; readonly dispute?: string; readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode; readonly failure_message?: string; readonly on_behalf_of?: string; readonly review?: string; readonly source_transfer?: string; readonly transfer?: string; readonly transfer_group?: string; readonly payment_intent?: string; readonly calculated_statement_descriptor?: string; readonly statement_descriptor?: string; readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails; readonly payment_method?: string; } interface ChargeDestination { readonly account: string; readonly amount?: string; } interface ChargeRequest { readonly amount: number; readonly currency: string; readonly capture: boolean; readonly description?: string; readonly destination?: io.flow.stripe.v0.models.ChargeDestination; readonly customer?: string; readonly source?: string; readonly statement_descriptor?: string; readonly statement_descriptor_suffix?: string; readonly metadata?: io.flow.stripe.v0.models.Metadata; readonly on_behalf_of?: string; readonly transfer_data?: io.flow.stripe.v0.models.TransferData; } interface ChargeSourceOptional { readonly id: string; readonly amount: number; readonly amount_refunded: number; readonly authorization_code?: string; readonly captured: boolean; readonly disputed?: boolean; readonly created: number; readonly currency: string; readonly customer?: string; readonly outcome?: io.flow.stripe.v0.models.PaymentOutcome; readonly paid: boolean; readonly refunded: boolean; readonly refunds?: io.flow.stripe.v0.models.Refunds; readonly source?: io.flow.stripe.v0.models.Source; readonly status: io.flow.stripe.v0.enums.PaymentStatus; readonly balance_transaction?: string; readonly destination?: string; readonly dispute?: string; readonly failure_code?: io.flow.stripe.v0.enums.ErrorCode; readonly failure_message?: string; readonly on_behalf_of?: string; readonly review?: string; readonly source_transfer?: string; readonly transfer?: string; readonly transfer_group?: string; readonly payment_intent?: string; readonly calculated_statement_descriptor?: string; readonly statement_descriptor?: string; readonly payment_method_details?: io.flow.stripe.v0.unions.PaymentMethodDetails; readonly payment_method?: string; } interface CodeVerification { readonly attempts_remaining: number; readonly status: io.flow.stripe.v0.enums.CodeVerificationStatus; } interface Customer { readonly id: string; readonly object: string; readonly account_balance: number; readonly created: number; readonly default_source: string; readonly livemode: boolean; readonly currency?: string; readonly description?: string; } interface CustomerRequest { readonly source: string; readonly description?: string; } interface Dispute { readonly id: string; readonly amount: number; readonly charge: string; readonly currency: string; readonly evidence: io.flow.stripe.v0.models.DisputeEvidence; readonly metadata: Record; readonly payment_intent?: string; readonly reason: io.flow.stripe.v0.enums.DisputeReason; readonly status: io.flow.stripe.v0.enums.DisputeStatus; readonly object: string; readonly balance_transactions: io.flow.stripe.v0.models.DisputeBalanceTransaction[]; readonly created: number; readonly evidence_details: io.flow.stripe.v0.models.DisputeEvidenceDetails; readonly is_charge_refundable: boolean; readonly livemode: boolean; readonly payment_method_details?: io.flow.stripe.v0.models.DisputePaymentMethodDetails; } interface DisputeBalanceTransaction { readonly payment_intent?: string; readonly id: string; readonly object: string; readonly amount: number; readonly available_on: number; readonly created: number; readonly currency: string; readonly description?: string; readonly exchange_rate?: number; readonly fee?: number; readonly fee_details: io.flow.stripe.v0.models.DisputeBalanceTransactionFeeDetails[]; readonly net: number; readonly reporting_category: string; readonly source?: string; readonly status: string; readonly type: io.flow.stripe.v0.enums.BalanceTransactionType; } interface DisputeBalanceTransactionFeeDetails { readonly amount: number; readonly application?: string; readonly currency: string; readonly description?: string; readonly type: string; } interface DisputeEvidence { readonly access_activity_log?: string; readonly billing_address?: string; readonly cancellation_policy?: string; readonly cancellation_policy_disclosure?: string; readonly cancellation_rebuttal?: string; readonly customer_communication?: string; readonly customer_email_address?: string; readonly customer_name?: string; readonly 'evidence.customer_purchase_ip'?: string; readonly customer_signature?: string; readonly duplicate_charge_documentation?: string; readonly duplicate_charge_explanation?: string; readonly duplicate_charge_id?: string; readonly product_description?: string; readonly receipt?: string; readonly refund_policy?: string; readonly refund_policy_disclosure?: string; readonly refund_refusal_explanation?: string; readonly service_date?: string; readonly service_documentation?: string; readonly shipping_address?: string; readonly shipping_carrier?: string; readonly shipping_date?: string; readonly shipping_documentation?: string; readonly shipping_tracking_number?: string; readonly uncategorized_file?: string; readonly uncategorized_text?: string; } interface DisputeEvidenceDetails { readonly due_by?: number; readonly has_evidence: boolean; readonly past_due: boolean; readonly submission_count: number; } interface DisputePaymentMethodDetails { readonly card?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard; readonly klarna?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna; readonly paypal?: io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal; readonly type: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType; } interface DisputePaymentMethodDetailsCard { readonly brand: string; readonly case_type?: io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType; readonly network_reason_code?: string; } interface DisputePaymentMethodDetailsKlarna { readonly reason_code?: string; } interface DisputePaymentMethodDetailsPaypal { readonly case_id?: string; readonly reason_code?: string; } interface Error { readonly error: io.flow.stripe.v0.models.StripeError; } interface ExtendedAuthorization { readonly status?: io.flow.stripe.v0.enums.ExtendedAuthorizationStatus; } interface IncrementalAuthorization { readonly status?: io.flow.stripe.v0.enums.FeatureAvailability; } interface Keys { readonly secret?: string; readonly publishable?: string; } interface KlarnaAttachment { readonly marketplace_seller_info?: io.flow.stripe.v0.models.KlarnaMarketplaceSellerInfo[]; } interface KlarnaDobForm { readonly day: number; readonly month: number; readonly year: number; } interface KlarnaMarketplaceSellerInfo { readonly sub_merchant_id?: string; readonly product_category?: string; } interface LegalEntity { readonly additional_owners?: io.flow.stripe.v0.models.Owner[]; } interface MarketplaceSellerInfo { readonly name: string; readonly id?: string; readonly product_category?: string; } interface Masterpass { readonly type: 'masterpass'; readonly masterpass: io.flow.stripe.v0.models.MasterpassInformation; readonly dynamic_last4?: string; } interface MasterpassInformation { readonly billing_address?: io.flow.stripe.v0.models.Address; readonly email?: string; readonly name?: string; readonly shipping_address?: io.flow.stripe.v0.models.Address; } interface Metadata { readonly order_number?: string; readonly authorization_id?: string; readonly organization_id?: string; readonly payment_request_id?: string; readonly payment_request_order_reference?: string; } interface Multicapture { readonly status?: io.flow.stripe.v0.enums.FeatureAvailability; } interface NetworkTokenUsed { readonly used?: boolean; } interface NextAction { readonly type: io.flow.stripe.v0.enums.NextActionType; readonly use_stripe_sdk?: any /*object*/; readonly redirect_to_url?: io.flow.stripe.v0.models.RedirectToUrl; } interface Order { readonly currency?: string; readonly coupon?: string; readonly customer?: string; readonly email?: string; readonly items?: io.flow.stripe.v0.models.OrderItem[]; readonly shipping?: io.flow.stripe.v0.models.Shipping; } interface OrderItem { readonly object?: string; readonly amount: number; readonly currency: string; readonly description?: string; readonly parent?: string; readonly quantity?: number; readonly type: io.flow.stripe.v0.enums.OrderItemType; } interface OrderItemRequest { readonly amount: number; readonly currency: string; readonly description?: string; readonly parent?: string; readonly quantity?: number; readonly type: io.flow.stripe.v0.enums.OrderItemType; } interface OrderRequest { readonly currency?: string; readonly coupon?: string; readonly customer?: string; readonly email?: string; readonly items?: io.flow.stripe.v0.models.OrderItemRequest[]; readonly shipping?: io.flow.stripe.v0.models.Shipping; } interface Overcapture { readonly maximum_amount_capturable?: number; readonly status?: io.flow.stripe.v0.enums.FeatureAvailability; } interface Owner { readonly address?: io.flow.stripe.v0.models.Address; readonly email?: string; readonly name?: string; readonly phone?: string; readonly verified_address?: io.flow.stripe.v0.models.Address; readonly verified_email?: string; readonly verified_name?: string; readonly verified_phone?: string; } interface PaymentDetails { readonly marketplace_seller_info?: io.flow.stripe.v0.models.MarketplaceSellerInfo; } interface PaymentIntent { readonly id: string; readonly object: string; readonly amount: number; readonly amount_capturable: number; readonly amount_received: number; readonly application?: string; readonly application_fee_amount?: number; readonly canceled_at?: number; readonly cancellation_reason?: io.flow.stripe.v0.enums.CancellationReason; readonly capture_method: io.flow.stripe.v0.enums.CaptureMethod; readonly charges?: io.flow.stripe.v0.models.PaymentIntentCharges; readonly client_secret: string; readonly confirmation_method: io.flow.stripe.v0.enums.ConfirmationMethod; readonly created: number; readonly currency: string; readonly customer?: string; readonly description?: string; readonly invoice?: string; readonly last_payment_error?: io.flow.stripe.v0.models.StripeError; readonly livemode: boolean; readonly metadata?: io.flow.stripe.v0.models.Metadata; readonly next_action?: io.flow.stripe.v0.models.NextAction; readonly on_behalf_of?: string; readonly payment_method?: string; readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions; readonly payment_method_types: string[]; readonly receipt_email?: string; readonly review?: string; readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage; readonly source?: io.flow.stripe.v0.models.Source; readonly statement_descriptor?: string; readonly statement_descriptor_suffix?: string; readonly status: io.flow.stripe.v0.enums.PaymentIntentStatus; readonly transfer_data?: io.flow.stripe.v0.models.TransferData; readonly transfer_group?: string; readonly shipping?: io.flow.stripe.v0.models.PaymentIntentShipping; } interface PaymentIntentCancellationForm { readonly cancellation_reason?: io.flow.stripe.v0.enums.CancellationReason; } interface PaymentIntentCaptureForm { readonly amount_to_capture: number; readonly application_fee_amount?: number; readonly statement_descriptor?: string; readonly statement_descriptor_suffix?: string; readonly transfer_data?: io.flow.stripe.v0.models.TransferData; } interface PaymentIntentCharges { readonly object: string; readonly data: io.flow.stripe.v0.models.ChargeSourceOptional[]; readonly has_more: boolean; readonly url?: string; } interface PaymentIntentConfirmationForm { readonly off_session?: boolean; readonly payment_method?: string; readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData; readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm; readonly payment_method_types?: string[]; readonly receipt_email?: string; readonly save_payment_method?: boolean; readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage; } interface PaymentIntentForm { readonly amount: number; readonly currency: string; readonly application_fee_amount?: number; readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod; readonly confirm?: boolean; readonly confirmation_method?: io.flow.stripe.v0.enums.ConfirmationMethod; readonly customer?: string; readonly description?: string; readonly off_session?: boolean; readonly metadata?: io.flow.stripe.v0.models.Metadata; readonly on_behalf_of?: string; readonly payment_method?: string; readonly payment_method_data?: io.flow.stripe.v0.unions.PaymentMethodData; readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptionsForm; readonly payment_method_types?: string[]; readonly receipt_email?: string; readonly return_url?: string; readonly save_payment_method?: boolean; readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage; readonly statement_descriptor?: string; readonly statement_descriptor_suffix?: string; readonly transfer_data?: io.flow.stripe.v0.models.TransferData; readonly transfer_group?: string; readonly shipping?: io.flow.stripe.v0.models.PaymentIntentShipping; } interface PaymentIntentShipping { readonly address: io.flow.stripe.v0.models.Address; readonly name: string; readonly phone?: string; } interface PaymentIntentUpdateForm { readonly amount: number; readonly currency: string; readonly application_fee_amount?: number; readonly customer?: string; readonly description?: string; readonly payment_method?: string; readonly payment_method_types?: string[]; readonly receipt_email?: string; readonly save_payment_method?: boolean; readonly statement_descriptor?: string; readonly statement_descriptor_suffix?: string; readonly transfer_data?: io.flow.stripe.v0.models.TransferData; readonly transfer_group?: string; } interface PaymentIntents { readonly object: string; readonly data: io.flow.stripe.v0.models.PaymentIntent[]; readonly has_more: boolean; readonly url?: string; } interface PaymentMethod { readonly id: string; readonly object: string; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly bancontact?: any /*object*/; readonly card?: io.flow.stripe.v0.models.PaymentMethodCardDetails; readonly card_present?: any /*object*/; readonly ideal?: any /*object*/; readonly klarna?: any /*object*/; readonly created: number; readonly customer?: string; readonly livemode: boolean; readonly type?: string; } interface PaymentMethodBillingDetails { readonly address: io.flow.stripe.v0.models.Address; readonly email?: string; readonly name?: string; readonly phone?: string; } interface PaymentMethodCardDetails { readonly brand?: io.flow.stripe.v0.enums.CardBrand; readonly checks?: io.flow.stripe.v0.models.CardChecks; readonly country?: string; readonly exp_month?: number; readonly exp_year?: number; readonly fingerprint?: string; readonly funding?: io.flow.stripe.v0.enums.CardFundingType; readonly last4?: string; readonly networks?: io.flow.stripe.v0.models.CardNetworks; readonly three_d_secure_usage?: io.flow.stripe.v0.models.ThreeDSecureUsage; } interface PaymentMethodCardForm { readonly exp_month: string; readonly exp_year: string; readonly number: string; readonly cvc?: string; } interface PaymentMethodDataBancontact { readonly type: 'bancontact'; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly metadata?: any /*object*/; } interface PaymentMethodDataCard { readonly type: 'card'; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly metadata?: any /*object*/; readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm; } interface PaymentMethodDataIdeal { readonly type: 'ideal'; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly metadata?: any /*object*/; readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm; } interface PaymentMethodDataKlarna { readonly type: 'klarna'; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly metadata?: any /*object*/; readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm; } interface PaymentMethodDetailsBancontact { readonly type: 'bancontact'; readonly bancontact: io.flow.stripe.v0.models.PaymentMethodDetailsBancontactInformation; } interface PaymentMethodDetailsBancontactInformation { readonly bank_code?: string; readonly bank_name?: string; readonly bic?: string; readonly generated_sepa_debit?: string; readonly generated_sepa_debit_mandate?: string; readonly iban_last4?: string; readonly preferred_language?: io.flow.stripe.v0.enums.PreferredLanguageBancontact; readonly verified_name?: string; } interface PaymentMethodDetailsCard { readonly type: 'card'; readonly card: io.flow.stripe.v0.models.PaymentMethodDetailsCardInformation; } interface PaymentMethodDetailsCardInformation { readonly brand?: string; readonly checks?: io.flow.stripe.v0.models.CardChecks; readonly country?: string; readonly exp_month?: number; readonly exp_year?: number; readonly fingerprint?: string; readonly funding?: io.flow.stripe.v0.enums.CardFundingType; readonly installments?: io.flow.stripe.v0.models.Plan; readonly last4?: string; readonly mandate?: string; readonly network?: io.flow.stripe.v0.enums.CardNetwork; readonly network_token?: io.flow.stripe.v0.models.NetworkTokenUsed; readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecureCharge; readonly capture_before?: number; readonly description?: string; readonly iin?: string; readonly issuer?: string; readonly wallet?: io.flow.stripe.v0.unions.CardWallet; readonly network_transaction_id?: string; readonly extended_authorization?: io.flow.stripe.v0.models.ExtendedAuthorization; readonly incremental_authorization?: io.flow.stripe.v0.models.IncrementalAuthorization; readonly multicapture?: io.flow.stripe.v0.models.Multicapture; readonly overcapture?: io.flow.stripe.v0.models.Overcapture; } interface PaymentMethodDetailsIdeal { readonly type: 'ideal'; readonly ideal: io.flow.stripe.v0.models.PaymentMethodDetailsIdealInformation; } interface PaymentMethodDetailsIdealInformation { readonly bank?: io.flow.stripe.v0.enums.BankIdeal; readonly bic?: io.flow.stripe.v0.enums.BicIdeal; readonly generated_sepa_debit?: string; readonly generated_sepa_debit_mandate?: string; readonly iban_last4?: string; readonly verified_name?: string; } interface PaymentMethodDetailsKlarna { readonly type: 'klarna'; readonly klarna: io.flow.stripe.v0.models.PaymentMethodDetailsKlarnaInformation; } interface PaymentMethodDetailsKlarnaInformation { readonly payment_method_category?: io.flow.stripe.v0.enums.PaymentMethodCategoryKlarna; readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna; } interface PaymentMethodFormBancontact { readonly type: 'bancontact'; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly metadata?: any /*object*/; readonly bancontact: any /*object*/; } interface PaymentMethodFormCard { readonly type: 'card'; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly metadata?: any /*object*/; readonly card: io.flow.stripe.v0.models.PaymentMethodCardForm; } interface PaymentMethodFormIdeal { readonly type: 'ideal'; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly metadata?: any /*object*/; readonly ideal: io.flow.stripe.v0.models.PaymentMethodIdealForm; } interface PaymentMethodFormKlarna { readonly type: 'klarna'; readonly billing_details?: io.flow.stripe.v0.models.PaymentMethodBillingDetails; readonly metadata?: any /*object*/; readonly klarna: io.flow.stripe.v0.models.PaymentMethodKlarnaForm; } interface PaymentMethodIdealForm { readonly bank?: string; } interface PaymentMethodKlarnaForm { readonly dob?: io.flow.stripe.v0.models.KlarnaDobForm; } interface PaymentMethodOptions { readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCard; readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdeal; readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarna; readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontact; } interface PaymentMethodOptionsBancontact { readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact; } interface PaymentMethodOptionsBancontactForm { readonly preferred_language: io.flow.stripe.v0.enums.PreferredLanguageBancontact; } interface PaymentMethodOptionsCard { readonly network?: string; readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType; readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType; readonly mcc?: string; readonly capture_before?: number; } interface PaymentMethodOptionsCardForm { readonly network?: string; readonly request_three_d_secure?: io.flow.stripe.v0.enums.RequestThreeDSecureType; readonly stored_credential_transaction_type?: io.flow.stripe.v0.enums.StoredCredentialTransactionType; readonly mcc?: string; } interface PaymentMethodOptionsForm { readonly card?: io.flow.stripe.v0.models.PaymentMethodOptionsCardForm; readonly ideal?: io.flow.stripe.v0.models.PaymentMethodOptionsIdealForm; readonly klarna?: io.flow.stripe.v0.models.PaymentMethodOptionsKlarnaForm; readonly bancontact?: io.flow.stripe.v0.models.PaymentMethodOptionsBancontactForm; } interface PaymentMethodOptionsIdeal { readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage; } interface PaymentMethodOptionsIdealForm { readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage; } interface PaymentMethodOptionsKlarna { readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod; readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna; readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage; readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails; } interface PaymentMethodOptionsKlarnaForm { readonly capture_method?: io.flow.stripe.v0.enums.CaptureMethod; readonly preferred_locale?: io.flow.stripe.v0.enums.PreferredLocaleKlarna; readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage; readonly payment_details?: io.flow.stripe.v0.models.PaymentDetails; } interface PaymentOutcome { readonly network_status?: io.flow.stripe.v0.enums.NetworkStatus; readonly risk_level?: string; readonly seller_message?: string; readonly reason?: string; readonly type?: io.flow.stripe.v0.enums.PaymentOutcomeType; } interface Plan { readonly count?: number; readonly interval?: string; readonly type?: string; } interface Receiver { readonly address?: string; readonly amount_charged?: number; readonly amount_received?: number; readonly amount_returned?: number; } interface Redirect { readonly failure_reason?: string; readonly return_url?: string; readonly status?: string; readonly url?: string; } interface RedirectToUrl { readonly return_url: string; readonly url: string; } interface Refund { readonly id: string; readonly object: string; readonly amount: number; readonly charge: string; readonly payment_intent?: string; readonly created: number; readonly currency: string; readonly status: io.flow.stripe.v0.enums.RefundStatus; readonly balance_transaction?: string; readonly failure_balance_transaction?: string; readonly failure_reason?: io.flow.stripe.v0.enums.RefundFailureReason; readonly reason?: io.flow.stripe.v0.enums.RefundReason; readonly receipt_number?: string; } interface RefundRequest { readonly charge: string; readonly payment_intent?: string; readonly amount?: number; readonly reason?: io.flow.stripe.v0.enums.RefundReason; readonly refund_application_fee?: boolean; readonly reverse_transfer?: boolean; readonly metadata?: io.flow.stripe.v0.models.Metadata; } interface Refunds { readonly object: string; readonly data: io.flow.stripe.v0.models.Refund[]; readonly has_more: boolean; readonly total_count: number; readonly url: string; } interface ReportRunParameters { readonly interval_start: number; readonly interval_end: number; readonly columns?: string[]; readonly payout?: string; readonly connected_account?: string; readonly reporting_category?: string; } interface ReportingReportRun { readonly id: string; readonly object: string; readonly created: number; readonly error?: string; readonly livemode: boolean; readonly status: io.flow.stripe.v0.enums.ReportingReportRunStatus; readonly result?: io.flow.stripe.v0.models.ReportingReportRunResult; readonly succeeded_at?: number; } interface ReportingReportRunForm { readonly report_type: io.flow.stripe.v0.enums.ReportingReportType; readonly parameters: io.flow.stripe.v0.models.ReportRunParameters; } interface ReportingReportRunResult { readonly id: string; readonly object: string; readonly created: number; readonly expires_at: number; readonly filename: string; readonly links: any /*object*/; readonly purpose: string; readonly size: number; readonly title: string; readonly type: string; readonly url: string; } interface ReportingReportRuns { readonly object: string; readonly data: io.flow.stripe.v0.models.ReportingReportRun[]; readonly has_more: boolean; readonly url?: string; } interface Shipping { readonly address: io.flow.stripe.v0.models.Address; readonly name?: string; readonly phone?: string; } interface ShopifyPaymentStripeEvent { readonly id: string; readonly api_version?: string; readonly data: io.flow.stripe.v0.models.ShopifyPaymentStripeEventData; readonly request?: any /*object*/; readonly type: io.flow.stripe.v0.enums.ShopifyPaymentStripeEventType; readonly object: string; readonly account?: string; readonly created: number; readonly livemode: boolean; readonly pending_webhooks: number; } interface ShopifyPaymentStripeEventData { readonly object?: any /*object*/; readonly previous_attributes?: any /*object*/; } interface Source { readonly id: string; readonly object: string; readonly amount?: number; readonly card?: io.flow.stripe.v0.models.SourceCard; readonly client_secret?: string; readonly code_verification?: io.flow.stripe.v0.models.CodeVerification; readonly created: number; readonly currency?: string; readonly flow: io.flow.stripe.v0.enums.SourceFlow; readonly klarna?: io.flow.stripe.v0.models.SourceKlarna; readonly livemode: boolean; readonly owner?: io.flow.stripe.v0.models.Owner; readonly receiver?: io.flow.stripe.v0.models.Receiver; readonly redirect?: io.flow.stripe.v0.models.Redirect; readonly statement_descriptor?: string; readonly status: io.flow.stripe.v0.enums.SourceStatus; readonly type: io.flow.stripe.v0.enums.SourceType; readonly usage: io.flow.stripe.v0.enums.SourceUsageType; readonly source_order?: io.flow.stripe.v0.models.SourceOrder; } interface SourceCard { readonly exp_month: number; readonly exp_year: number; readonly brand?: io.flow.stripe.v0.enums.CardBrand; readonly card_automatically_updated?: boolean; readonly country?: string; readonly cvc_check?: io.flow.stripe.v0.enums.CheckOutcome; readonly fingerprint?: string; readonly funding?: io.flow.stripe.v0.enums.CardFundingType; readonly last4?: string; readonly three_d_secure?: io.flow.stripe.v0.enums.ThreeDSecureSupport; readonly address_line1_check?: io.flow.stripe.v0.enums.CheckOutcome; readonly address_zip_check?: io.flow.stripe.v0.enums.CheckOutcome; readonly tokenization_method?: string; readonly dynamic_last4?: string; } interface SourceCardRequest { readonly exp_month: string; readonly exp_year: string; readonly number: string; readonly cvc?: string; } interface SourceKlarna { readonly first_name?: string; readonly last_name?: string; readonly client_token: string; readonly payment_method_categories?: string; readonly purchase_country?: string; readonly shipping_first_name?: string; readonly shipping_last_name?: string; readonly locale?: string; readonly pay_later_name?: string; readonly pay_later_asset_urls_standard?: string; readonly pay_later_asset_urls_descriptive?: string; readonly pay_now_name?: string; readonly pay_now_asset_urls_standard?: string; readonly pay_now_asset_urls_descriptive?: string; readonly pay_over_time_name?: string; readonly pay_over_time_asset_urls_standard?: string; readonly pay_over_time_asset_urls_descriptive?: string; readonly direct_bank_transfer_name?: string; readonly direct_bank_transfer_asset_urls_standard?: string; readonly direct_bank_transfer_asset_urls_descriptive?: string; readonly direct_debit_name?: string; readonly direct_debit_asset_urls_standard?: string; readonly direct_debit_asset_urls_descriptive?: string; } interface SourceKlarnaRequest { readonly first_name?: string; readonly last_name?: string; readonly purchase_country?: string; readonly product?: io.flow.stripe.v0.enums.KlarnaProduct; readonly attachment?: string; readonly shipping_first_name?: string; readonly shipping_last_name?: string; readonly locale?: string; } interface SourceOrder { readonly amount?: number; readonly currency?: string; readonly email?: string; readonly items?: io.flow.stripe.v0.models.OrderItem[]; readonly shipping?: io.flow.stripe.v0.models.Shipping; } interface SourceOrderRequest { readonly items?: io.flow.stripe.v0.models.OrderItemRequest[]; readonly shipping?: io.flow.stripe.v0.models.Shipping; } interface SourceRequest { readonly type?: io.flow.stripe.v0.enums.SourceType; readonly amount?: number; readonly card?: io.flow.stripe.v0.models.SourceCardRequest; readonly currency?: string; readonly flow?: io.flow.stripe.v0.enums.SourceFlow; readonly klarna?: io.flow.stripe.v0.models.SourceKlarnaRequest; readonly order?: io.flow.stripe.v0.models.OrderRequest; readonly owner?: io.flow.stripe.v0.models.Owner; readonly receiver?: io.flow.stripe.v0.models.Receiver; readonly redirect?: io.flow.stripe.v0.models.Redirect; readonly statement_descriptor?: string; readonly three_d_secure?: io.flow.stripe.v0.models.ThreeDSecure; readonly token?: string; readonly usage: io.flow.stripe.v0.enums.SourceUsageType; readonly source_order?: io.flow.stripe.v0.models.SourceOrderRequest; readonly metadata?: io.flow.stripe.v0.models.Metadata; } interface Stripe3Ds2Fingerprint { readonly type: io.flow.stripe.v0.enums.UseStripeSdkType; readonly three_d_secure_2_source: string; readonly directory_server_name?: string; readonly server_transaction_id?: string; readonly three_ds_method_url?: string; readonly three_ds_optimizations?: string; readonly directory_server_encryption?: any /*object*/; } interface StripeDisputeEvent { readonly id: string; readonly api_version?: string; readonly data: io.flow.stripe.v0.models.StripeDisputeEventData; readonly request?: any /*object*/; readonly type: io.flow.stripe.v0.enums.DisputeEventType; readonly object: string; readonly account?: string; readonly created: number; readonly livemode: boolean; readonly pending_webhooks: number; } interface StripeDisputeEventData { readonly object: io.flow.stripe.v0.models.Dispute; readonly previous_attributes?: any /*object*/; } interface StripeEarlyFraudWarningEvent { readonly id: string; readonly object: io.flow.stripe.v0.enums.EarlyFraudWarningEventType; readonly actionable: boolean; readonly charge: string; readonly created: number; readonly fraud_type: io.flow.stripe.v0.enums.EarlyFraudWarningType; readonly livemode: boolean; readonly payment_intent?: string; } interface StripeError { readonly type: io.flow.stripe.v0.enums.ErrorType; readonly charge?: string; readonly message?: string; readonly code?: io.flow.stripe.v0.enums.ErrorCode; readonly decline_code?: io.flow.stripe.v0.enums.DeclineCode; readonly param?: string; readonly payment_intent?: io.flow.stripe.v0.models.PaymentIntent; readonly payment_method?: io.flow.stripe.v0.models.PaymentMethod; } interface StripeEvent { readonly id: string; readonly object: string; readonly api_version?: string; readonly created: number; readonly data: io.flow.stripe.v0.models.StripeEventData; readonly livemode: boolean; readonly pending_webhooks: number; readonly request?: io.flow.stripe.v0.models.StripeEventRequest; readonly type: string; } interface StripeEventData { readonly object?: any /*object*/; readonly previous_attributes?: any /*object*/; } interface StripeEventRequest { readonly id?: string; readonly idempotency_key?: string; } interface ThreeDSecure { readonly card: string; readonly customer?: string; } interface ThreeDSecureCharge { readonly authenticated?: boolean; readonly authentication_flow?: io.flow.stripe.v0.enums.ThreeDsAuthenticationFlow; readonly electronic_commerce_indicator?: string; readonly exemption_indicator?: string; readonly result?: io.flow.stripe.v0.enums.ThreeDsResult; readonly result_reason?: io.flow.stripe.v0.enums.ThreeDsResultReason; readonly succeeded?: boolean; readonly transaction_id?: string; readonly version?: string; } interface ThreeDSecureRedirect { readonly type: io.flow.stripe.v0.enums.UseStripeSdkType; readonly stripe_js: string; } interface ThreeDSecureUsage { readonly supported?: boolean; } interface Token { readonly id: string; readonly object: string; readonly client_ip: string; readonly created: number; readonly livemode: boolean; readonly type: io.flow.stripe.v0.enums.TokenType; readonly used: boolean; readonly card?: io.flow.stripe.v0.models.Card; } interface TosAcceptance { readonly date?: number; readonly ip?: string; readonly user_agent?: string; } interface TransferData { readonly amount?: number; readonly destination?: string; } interface VisaCheckout { readonly type: 'visa_checkout'; readonly visa_checkout: io.flow.stripe.v0.models.VisaCheckoutInformation; readonly dynamic_last4?: string; } interface VisaCheckoutInformation { readonly billing_address?: io.flow.stripe.v0.models.Address; readonly email?: string; readonly name?: string; readonly shipping_address?: io.flow.stripe.v0.models.Address; } } declare namespace io.flow.stripe.v0.unions { type CardWallet = | io.flow.stripe.v0.models.Masterpass | io.flow.stripe.v0.models.ApplePay | io.flow.stripe.v0.models.VisaCheckout; type ConnectReportReportingCategory = | { discriminator: 'connect_report_payment_reporting_category'; value: io.flow.stripe.v0.enums.ConnectReportPaymentReportingCategory; } | { discriminator: 'connect_report_balance_reporting_category'; value: io.flow.stripe.v0.enums.ConnectReportBalanceReportingCategory; } | { discriminator: 'connect_report_issuing_reporting_category'; value: io.flow.stripe.v0.enums.ConnectReportIssuingReportingCategory; } | { discriminator: 'connect_report_connect_reporting_category'; value: io.flow.stripe.v0.enums.ConnectReportConnectReportingCategory; }; type PaymentMethodData = | io.flow.stripe.v0.models.PaymentMethodDataCard | io.flow.stripe.v0.models.PaymentMethodDataIdeal | io.flow.stripe.v0.models.PaymentMethodDataKlarna | io.flow.stripe.v0.models.PaymentMethodDataBancontact; type PaymentMethodDetails = | io.flow.stripe.v0.models.PaymentMethodDetailsCard | io.flow.stripe.v0.models.PaymentMethodDetailsIdeal | io.flow.stripe.v0.models.PaymentMethodDetailsKlarna | io.flow.stripe.v0.models.PaymentMethodDetailsBancontact; type PaymentMethodForm = | io.flow.stripe.v0.models.PaymentMethodFormCard | io.flow.stripe.v0.models.PaymentMethodFormIdeal | io.flow.stripe.v0.models.PaymentMethodFormKlarna | io.flow.stripe.v0.models.PaymentMethodFormBancontact; } declare namespace io.flow.label.v0.enums { type CommercialInvoiceMode = 'direct' | 'indirect'; type CostEstimateSource = 'flow' | 'channel'; type Direction = 'outbound' | 'return'; type LabelRequestMethod = | 'flow_web_sync' | 'channel_web_async' | 'direct_api_sync' | 'direct_api_async' | 'bridge_api_sync' | 'partner_api_sync' | 'notification_requiring_crossdock' | 'flow_simulation_sync' | 'autogenerated' | 'legacy_shopify_graphql_server'; type LabelTriggerMethod = 'autogenerated' | 'on_demand'; type OriginLocationSource = | 'public_hub_code' | 'merchant_hub_code_override' | 'shopify' | 'fallback_location'; type PackageDimensionsSource = | 'provided' | 'item_dimensions_estimated' | 'dimensions_estimated' | 'default_item_dimensions_estimated'; type ShipmentRecipient = 'customer' | 'return' | 'crossdock'; type ShippingCostGuarantee = 'guaranteed' | 'non_guaranteed'; type ShippingLabelErrorCode = | 'generic_error' | 'cancelled_order' | 'carrier_outage' | 'catalog_issue' | 'invalid_destination' | 'invalid_origin' | 'invalid_shipping_parameters' | 'merchant_error' | 'order_not_found' | 'order_processing' | 'restricted_item' | 'unsupported_lane'; type TrackingNumberType = 'flow' | 'carrier'; } declare namespace io.flow.label.v0.models { interface AdditionalServicesRequested { readonly name: string; readonly description?: string; } interface BridgeManifest { readonly id: string; readonly service: io.flow.fulfillment.v0.models.ServiceSummary; readonly pdf: string; readonly data: string; } interface BridgeManifestForm { readonly order_numbers: string[]; } interface BridgeShippingLabelForm { readonly discriminator: 'bridge_shipping_label_form'; readonly order_number: string; readonly items?: io.flow.common.v0.models.LineItemForm[]; readonly package?: io.flow.label.v0.models.ShippingLabelPackage; readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress; readonly direction?: io.flow.label.v0.enums.Direction; readonly reference_id?: string; readonly origin_location_source?: io.flow.label.v0.enums.OriginLocationSource; readonly hub_code?: string; } interface CrossdockShipment { readonly partner_id: string; readonly center_id: string; readonly tracking_id: string; readonly order_number: string; readonly status: string; } interface DetailedShippingLabelForm { readonly discriminator: 'detailed_shipping_label_form'; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly origin: io.flow.fulfillment.v0.models.ShippingAddress; readonly package: io.flow.label.v0.models.ShippingLabelPackage; readonly attributes?: Record; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly direction?: io.flow.label.v0.enums.Direction; readonly order_number: string; readonly service?: string; readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient; readonly package_dimensions_source?: io.flow.label.v0.enums.PackageDimensionsSource; readonly origin_location_source?: io.flow.label.v0.enums.OriginLocationSource; readonly reference_id?: string; readonly shipping_date_time?: string; } interface DetailedShippingNotificationForm { readonly discriminator: 'detailed_shipping_notification_form'; readonly key?: string; readonly attributes?: Record; readonly carrier_tracking_number: string; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly order_number: string; readonly package: io.flow.label.v0.models.ShippingLabelPackage; readonly service: string; readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress; readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient; } interface FulfillmentNotification { readonly id: string; readonly order_number: string; readonly carrier_name: string; readonly carrier_tracking_number: string; readonly items: io.flow.common.v0.models.LineItemForm[]; readonly created_at: string; } interface FulfillmentNotificationForm { readonly order_number: string; readonly carrier_name: string; readonly carrier_tracking_number: string; readonly items: io.flow.common.v0.models.LineItemForm[]; } interface LabelOrderSummary { readonly id: string; readonly number: string; } interface LabelProcessingModification { readonly id: string; readonly modifications: string[]; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly destination_provided_to_carrier?: io.flow.fulfillment.v0.models.ShippingAddress; } interface LabelReference { readonly id: string; } interface Manifest { readonly id: string; readonly timestamp: string; readonly shipping_labels: io.flow.label.v0.models.ShippingLabelSummary[]; readonly pdf?: string; readonly service?: io.flow.fulfillment.v0.models.ServiceSummary; } interface ManifestForm { readonly tracking_numbers: string[]; readonly service?: string; } interface ShippingLabel { readonly id: string; readonly hop?: io.flow.label.v0.models.ShippingLabelHopSummary; readonly reference_id?: string; readonly attributes: Record; readonly carrier_tracking_number: string; readonly carrier_tracking_number_url: string; readonly cost_estimate_source?: io.flow.label.v0.enums.CostEstimateSource; readonly cost?: io.flow.common.v0.models.Price; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly taxes_owed?: io.flow.common.v0.models.Money; readonly duties_owed?: io.flow.common.v0.models.Money; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly flow_tracking_number: string; readonly flow_tracking_number_url: string; readonly origin: io.flow.fulfillment.v0.models.ShippingAddress; readonly service: io.flow.fulfillment.v0.models.ServiceSummary; readonly window: io.flow.common.v0.models.DatetimeRange; readonly label?: io.flow.label.v0.models.ShippingLabelDocument; readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument; readonly return?: io.flow.label.v0.models.ShippingLabelDocument; readonly order?: io.flow.label.v0.models.LabelOrderSummary; readonly package?: io.flow.label.v0.models.ShippingLabelPackage; readonly package_dimension_source?: io.flow.label.v0.enums.PackageDimensionsSource; readonly order_identifier?: string; readonly fulfillment_key?: string; readonly shipment_recipient: io.flow.label.v0.enums.ShipmentRecipient; readonly label_request_method?: io.flow.label.v0.enums.LabelRequestMethod; readonly label_trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod; readonly additional_services_requested?: io.flow.label.v0.models.AdditionalServicesRequested[]; readonly created_at?: string; readonly updated_at?: string; readonly direction?: io.flow.label.v0.enums.Direction; readonly shipping_cost_guarantee?: io.flow.label.v0.enums.ShippingCostGuarantee; readonly delivery_window_days_from?: number; readonly delivery_window_days_to?: number; } interface ShippingLabelDocument { readonly zpl?: string; readonly zpl_url?: string; readonly pdf?: string; readonly pdf_data?: string; readonly png?: string; readonly html?: string; readonly required: boolean; } interface ShippingLabelError { readonly code: io.flow.label.v0.enums.ShippingLabelErrorCode; readonly messages: string[]; } interface ShippingLabelHopCostItemizedEstimate { readonly units: io.flow.trueup.v0.models.LabelUnits; readonly base: io.flow.trueup.v0.models.LabelBase; readonly surcharges: io.flow.trueup.v0.models.LabelSurcharge[]; } interface ShippingLabelHopSummary { readonly lane: io.flow.label.v0.models.ShippingLabelLaneSummary; readonly cost: io.flow.common.v0.models.Money; readonly itemized_estimate?: io.flow.label.v0.models.ShippingLabelHopCostItemizedEstimate; } interface ShippingLabelLaneSummary { readonly id?: string; readonly ratecard: io.flow.label.v0.models.ShippingLabelRatecardSummary; readonly weight_break?: number; readonly dim_factor?: number; } interface ShippingLabelPackage { readonly dimensions: io.flow.common.v0.models.Dimension; readonly volumetric_weight?: number; readonly items: io.flow.common.v0.models.LineItemForm[]; readonly reference_number?: string; } interface ShippingLabelRatecardSummary { readonly id?: string; readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner; readonly rate_level_key?: string; readonly glbe_shipping_method_id?: string; readonly glbe_proposition_name?: string; readonly channel_revenue_share_percentage?: number; readonly shopify_grc_gid?: string; } interface ShippingLabelSummary { readonly id: string; readonly flow_tracking_number: string; readonly carrier_tracking_number: string; } interface ShippingLabelVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly shipping_label: io.flow.label.v0.models.ShippingLabel; } interface ShippingNotification { readonly id: string; readonly key: string; readonly attributes: Record; readonly carrier_tracking_number: string; readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress; readonly flow_tracking_number: string; readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress; readonly package?: io.flow.label.v0.models.ShippingLabelPackage; readonly service: io.flow.fulfillment.v0.unions.ServiceDescription; readonly window?: io.flow.common.v0.models.DatetimeRange; readonly order?: io.flow.label.v0.models.LabelOrderSummary; readonly order_identifier?: string; readonly fulfillment_key?: string; readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient; readonly created_at?: string; readonly updated_at?: string; } interface ShippingNotificationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly shipping_notification: io.flow.label.v0.models.ShippingNotification; } interface SinglePackageShippingNotificationForm { readonly discriminator: 'single_package_shipping_notification_form'; readonly fulfillment_key: string; readonly carrier_tracking_number: string; readonly package_dimensions?: io.flow.common.v0.models.Dimension; readonly service?: string; readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient; } interface SummaryShippingLabelForm { readonly discriminator: 'summary_shipping_label_form'; readonly order_number: string; readonly items: io.flow.common.v0.models.LineItemForm[]; readonly center_key?: string; readonly direction?: io.flow.label.v0.enums.Direction; readonly reference_id?: string; } interface SummaryShippingNotificationForm { readonly discriminator: 'summary_shipping_notification_form'; readonly order_number: string; readonly items: io.flow.common.v0.models.LineItemForm[]; readonly service: string; readonly carrier_tracking_number: string; readonly key?: string; readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient; } } declare namespace io.flow.label.v0.unions { type ShippingLabelForm = | io.flow.label.v0.models.DetailedShippingLabelForm | io.flow.label.v0.models.SummaryShippingLabelForm | io.flow.label.v0.models.BridgeShippingLabelForm; type ShippingNotificationForm = | io.flow.label.v0.models.DetailedShippingNotificationForm | io.flow.label.v0.models.SinglePackageShippingNotificationForm | io.flow.label.v0.models.SummaryShippingNotificationForm; } declare namespace io.flow.external.paypal.v1.enums { type AdjudicationType = | 'DENY_BUYER' | 'PAYOUT_TO_BUYER' | 'PAYOUT_TO_SELLER' | 'RECOVER_FROM_SELLER'; type AffectedParty = 'SELLER' | 'BUYER'; type AllowedPaymentMethod = | 'INSTANT_FUNDING_SOURCE' | 'UNRESTRICTED' | 'IMMEDIATE_PAY'; type CancellationMode = | 'CANCELLED_PAYPAL_BILLING_AGREEMENT' | 'WEBSITE' | 'PHONE' | 'EMAIL' | 'WRITTEN' | 'IN_PERSON'; type CarrierName = | 'UPS' | 'USPS' | 'FEDEX' | 'AIRBORNE_EXPRESS' | 'DHL' | 'AIRSURE' | 'ROYAL_MAIL' | 'PARCELFORCE' | 'SWIFTAIR' | 'OTHER' | 'UK_PARCELFORCE' | 'UK_ROYALMAIL_SPECIAL' | 'UK_ROYALMAIL_RECORDED' | 'UK_ROYALMAIL_INT_SIGNED' | 'UK_ROYALMAIL_AIRSURE' | 'UK_UPS' | 'UK_FEDEX' | 'UK_AIRBORNE_EXPRESS' | 'UK_DHL' | 'UK_OTHER' | 'UK_CANNOT_PROV_TRACK' | 'CA_CANADA_POST' | 'CA_PUROLATOR' | 'CA_CANPAR' | 'CA_LOOMIS' | 'CA_TNT' | 'CA_OTHER' | 'CA_CANNOT_PROV_TRACK' | 'DE_DP_DHL_WITHIN_EUROPE' | 'DE_DP_DHL_T_AND_T_EXPRESS' | 'DE_DHL_DP_INTL_SHIPMENTS' | 'DE_GLS' | 'DE_DPD_DELISTACK' | 'DE_HERMES' | 'DE_UPS' | 'DE_FEDEX' | 'DE_TNT' | 'DE_OTHER' | 'FR_CHRONOPOST' | 'FR_COLIPOSTE' | 'FR_DHL' | 'FR_UPS' | 'FR_FEDEX' | 'FR_TNT' | 'FR_GLS' | 'FR_OTHER' | 'IT_POSTE_ITALIA' | 'IT_DHL' | 'IT_UPS' | 'IT_FEDEX' | 'IT_TNT' | 'IT_GLS' | 'IT_OTHER' | 'AU_AUSTRALIA_POST_EP_PLAT' | 'AU_AUSTRALIA_POST_EPARCEL' | 'AU_AUSTRALIA_POST_EMS' | 'AU_DHL' | 'AU_STAR_TRACK_EXPRESS' | 'AU_UPS' | 'AU_FEDEX' | 'AU_TNT' | 'AU_TOLL_IPEC' | 'AU_OTHER' | 'FR_SUIVI' | 'IT_EBOOST_SDA' | 'ES_CORREOS_DE_ESPANA' | 'ES_DHL' | 'ES_UPS' | 'ES_FEDEX' | 'ES_TNT' | 'ES_OTHER' | 'AT_AUSTRIAN_POST_EMS' | 'AT_AUSTRIAN_POST_PPRIME' | 'BE_CHRONOPOST' | 'BE_TAXIPOST' | 'CH_SWISS_POST_EXPRES' | 'CH_SWISS_POST_PRIORITY' | 'CN_CHINA_POST' | 'HK_HONGKONG_POST' | 'IE_AN_POST_SDS_EMS' | 'IE_AN_POST_SDS_PRIORITY' | 'IE_AN_POST_REGISTERED' | 'IE_AN_POST_SWIFTPOST' | 'IN_INDIAPOST' | 'JP_JAPANPOST' | 'KR_KOREA_POST' | 'NL_TPG' | 'SG_SINGPOST' | 'TW_CHUNGHWA_POST' | 'CN_CHINA_POST_EMS' | 'CN_FEDEX' | 'CN_TNT' | 'CN_UPS' | 'CN_OTHER' | 'NL_TNT' | 'NL_DHL' | 'NL_UPS' | 'NL_FEDEX' | 'NL_KIALA' | 'BE_KIALA' | 'PL_POCZTA_POLSKA' | 'PL_POCZTEX' | 'PL_GLS' | 'PL_MASTERLINK' | 'PL_TNT' | 'PL_DHL' | 'PL_UPS' | 'PL_FEDEX' | 'JP_SAGAWA_KYUU_BIN' | 'JP_NITTSU_PELICAN_BIN' | 'JP_KURO_NEKO_YAMATO_UNYUU' | 'JP_TNT' | 'JP_DHL' | 'JP_UPS' | 'JP_FEDEX' | 'NL_PICKUP' | 'NL_INTANGIBLE' | 'NL_ABC_MAIL' | 'HK_FOUR_PX_EXPRESS' | 'HK_FLYT_EXPRESS'; type DisputeChannel = 'INTERNAL' | 'EXTERNAL'; type DisputeLifeCycleStage = | 'INQUIRY' | 'CHARGEBACK' | 'PRE_ARBITRATION' | 'ARBITRATION'; type DisputeMerchantContactedMode = | 'WEBSITE' | 'PHONE' | 'EMAIL' | 'WRITTEN' | 'IN_PERSON'; type DisputeMerchantContactedOutcome = 'NO_RESPONSE' | 'FIXED' | 'NOT_FIXED'; type DisputeOutcomeCode = | 'RESOLVED_BUYER_FAVOUR' | 'RESOLVED_SELLER_FAVOUR' | 'RESOLVED_WITH_PAYOUT' | 'CANCELED_BY_BUYER' | 'ACCEPTED' | 'DENIED' | 'NONE'; type DisputeReason = | 'MERCHANDISE_OR_SERVICE_NOT_RECEIVED' | 'MERCHANDISE_OR_SERVICE_NOT_AS_DESCRIBED' | 'UNAUTHORISED' | 'CREDIT_NOT_PROCESSED' | 'DUPLICATE_TRANSACTION' | 'INCORRECT_AMOUNT' | 'PAYMENT_BY_OTHER_MEANS' | 'CANCELED_RECURRING_BILLING' | 'PROBLEM_WITH_REMITTANCE' | 'OTHER'; type DisputeStatus = | 'OPEN' | 'WAITING_FOR_BUYER_RESPONSE' | 'WAITING_FOR_SELLER_RESPONSE' | 'UNDER_REVIEW' | 'RESOLVED' | 'OTHER'; type EventType = | 'PAYMENT.AUTHORIZATION.CREATED' | 'PAYMENT.AUTHORIZATION.VOIDED' | 'PAYMENT.CAPTURE.DECLINED' | 'PAYMENT.CAPTURE.COMPLETED' | 'PAYMENT.CAPTURE.PENDING' | 'PAYMENT.CAPTURE.REVERSED' | 'PAYMENT.CAPTURE.DENIED' | 'PAYMENT.ORDER.CANCELLED' | 'PAYMENT.ORDER.CREATED' | 'PAYMENT.SALE.COMPLETED' | 'PAYMENT.SALE.DENIED' | 'PAYMENT.SALE.PENDING' | 'PAYMENT.SALE.REFUNDED' | 'PAYMENT.SALE.REVERSED' | 'PAYMENTS.PAYMENT.CREATED' | 'CHECKOUT.ORDER.APPROVED' | 'CHECKOUT.CHECKOUT.BUYER-APPROVED' | 'CHECKOUT.ORDER.COMPLETED' | 'CUSTOMER.DISPUTE.CREATED' | 'CUSTOMER.DISPUTE.RESOLVED' | 'CUSTOMER.DISPUTE.UPDATED' | 'CHECKOUT.PAYMENT-APPROVAL.REVERSED'; type EvidenceType = | 'PROOF_OF_FULFILLMENT' | 'PROOF_OF_REFUND' | 'PROOF_OF_DELIVERY_SIGNATURE' | 'PROOF_OF_RECEIPT_COPY' | 'RETURN_POLICY' | 'BILLING_AGREEMENT' | 'PROOF_OF_RESHIPMENT' | 'ITEM_DESCRIPTION' | 'POLICE_REPORT' | 'AFFIDAVIT' | 'PAID_WITH_OTHER_METHOD' | 'COPY_OF_CONTRACT' | 'TERMINAL_ATM_RECEIPT' | 'PRICE_DIFFERENCE_REASON' | 'SOURCE_CONVERSION_RATE' | 'BANK_STATEMENT' | 'CREDIT_DUE_REASON' | 'REQUEST_CREDIT_RECEIPT' | 'PROOF_OF_RETURN' | 'CREATE' | 'CHANGE_REASON' | 'PROOF_OF_REFUND_OUTSIDE_PAYPAL' | 'RECEIPT_OF_MERCHANDISE' | 'CUSTOMS_DOCUMENT' | 'CUSTOMS_FEE_RECEIPT' | 'INFORMATION_ON_RESOLUTION' | 'ADDITIONAL_INFORMATION_OF_ITEM' | 'DETAILS_OF_PURCHASE' | 'PROOF_OF_SIGNIFICANT_DIFFERENCE' | 'PROOF_OF_SOFTWARE_OR_SERVICE_NOT_AS_DESCRIBED' | 'PROOF_OF_CONFISCATION' | 'PROOF_OF_DAMAGE' | 'COPY_OF_LAW_ENFORCEMENT_AGENCY_REPORT' | 'ADDITIONAL_PROOF_OF_SHIPMENT' | 'PROOF_OF_DENIAL_BY_CARRIER' | 'THIRDPARTY_PROOF_FOR_DAMAGE_OR_SIGNIFICANT_DIFFERENCE' | 'VALID_SUPPORTING_DOCUMENT' | 'LEGIBLE_SUPPORTING_DOCUMENT' | 'RETURN_TRACKING_INFORMATION' | 'DELIVERY_RECEIPT' | 'PROOF_OF_INSTORE_RECEIPT' | 'ADDITIONAL_TRACKING_INFORMATION' | 'PROOF_OF_SHIPMENT_POSTAGE' | 'ONLINE_TRACKING_INFORMATION' | 'PROOF_OF_INSTORE_REFUND' | 'PROOF_FOR_SOFTWARE_OR_SERVICE_DELIVERED' | 'RETURN_ADDRESS_FOR_SHIPPING' | 'COPY_OF_THE_EPARCEL_MANIFEST' | 'COPY_OF_SHIPPING_MANIFEST' | 'APPEAL_AFFIDAVIT' | 'RECEIPT_OF_REPLACEMENT' | 'COPY_OF_DRIVERS_LICENSE' | 'ACCOUNT_CHANGE_INFORMATION' | 'DELIVERY_ADDRESS' | 'CONFIRMATION_OF_RESOLUTION' | 'MERCHANT_RESPONSE' | 'PERMISSION_DESCRIPTION' | 'STATUS_OF_MERCHANDISE' | 'LOST_CARD_DETAILS' | 'LAST_VALID_TRANSACTION_DETAILS' | 'ADDITIONAL_PROOF_OF_RETURN' | 'OTHER'; type FailureReason = | 'UNABLE_TO_COMPLETE_TRANSACTION' | 'INVALID_PAYMENT_METHOD' | 'PAYER_CANNOT_PAY' | 'CANNOT_PAY_THIS_PAYEE' | 'REDIRECT_REQUIRED' | 'PAYEE_FILTER_RESTRICTIONS'; type GrantType = 'client_credentials'; type HttpMethod = | 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'CONNECT' | 'OPTIONS' | 'PATCH'; type Intent = 'sale' | 'authorize' | 'order'; type IssueType = 'PRODUCT' | 'SERVICE'; type MessagePoster = 'BUYER' | 'SELLER' | 'ARBITER'; type MoneyMovementReason = | 'DISPUTE_SETTLEMENT_FEE' | 'DISPUTE_SETTLEMENT' | 'DISPUTE_FEE' | 'CHARGEBACK_FEE'; type MoneyMovementType = 'DEBIT' | 'CREDIT'; type OfferType = | 'REFUND' | 'REFUND_WITH_RETURN' | 'REFUND_WITH_REPLACEMENT' | 'REPLACEMENT_WITHOUT_REFUND'; type OtherMeansPaymentMethod = | 'CASH' | 'CREDIT_CARD' | 'CHECK' | 'PAYPAL' | 'DEBIT_CARD' | 'GIFT_CARD' | 'BANK_TRANSFER'; type PayerStatus = 'VERIFIED' | 'UNVERIFIED'; type PaymentMethod = 'paypal'; type PaymentPattern = | 'CUSTOMER_PRESENT_ONETIME_PURCHASE' | 'CUSTOMER_NOT_PRESENT_RECURRING' | 'CUSTOMER_PRESENT_RECURRING_FIRST' | 'CUSTOMER_PRESENT_ONETIME_PURCHASE_VAULTED' | 'CUSTOMER_NOT_PRESENT_ONETIME_PURCHASE_VAULTED'; type ProductReceived = 'YES' | 'NO' | 'RETURNED'; type RefundState = 'pending' | 'completed' | 'cancelled' | 'failed'; type ReportingBalanceAffectingRecordsOnly = 'Y' | 'N'; type ReportingTransactionField = | 'transaction_info' | 'payer_info' | 'shipping_info' | 'auction_info' | 'cart_info' | 'incentive_info' | 'store_info'; type ReportingTransactionStatus = 'D' | 'P' | 'S' | 'V'; type ReturnAcknowledgementType = | 'ITEM_RECEIVED' | 'ITEM_NOT_RECEIVED' | 'DAMAGED' | 'EMPTY_PACKAGE_OR_DIFFERENT' | 'MISSING_ITEMS'; type ReturnMode = 'SHIPPED' | 'IN_PERSON'; type SaleState = | 'pending' | 'completed' | 'denied' | 'partially_refunded' | 'refunded'; type ServiceStarted = 'YES' | 'NO' | 'RETURNED'; type ShippingDisplayPreference = | 'NO_SHIPPING' | 'GET_FROM_FILE' | 'SET_PROVIDED_ADDRESS'; type State = 'created' | 'approved' | 'failed'; type SubReason = 'DAMAGED' | 'DIFFERENT' | 'INCOMPLETE' | 'OTHER'; type SupportingInfoSource = | 'SUBMITTED_BY_BUYER' | 'SUBMITTED_BY_SELLER' | 'SUBMITTED_BY_PARTNER'; type TransactionStatus = | 'COMPLETED' | 'UNCLAIMED' | 'DENIED' | 'FAILED' | 'HELD' | 'PENDING' | 'PARTIALLY_REFUNDED' | 'REFUNDED' | 'REVERSED' | 'CANCELLED'; type UserActionPrompt = 'commit' | 'continue'; } declare namespace io.flow.external.paypal.v1.models { interface AcknowledgeReturnItem { readonly acknowledgement_types?: io.flow.external.paypal.v1.models.AcknowledgementType[]; } interface AcknowledgementType { readonly acknowledgement_type?: io.flow.external.paypal.v1.enums.ReturnAcknowledgementType; } interface AddressDetails { readonly street_number?: string; readonly street_name?: string; readonly street_type?: string; readonly delivery_service?: string; readonly building_name?: string; readonly sub_building?: string; } interface AddressPortable { readonly address_line_1?: string; readonly address_line_2?: string; readonly address_line_3?: string; readonly admin_area_4?: string; readonly admin_area_3?: string; readonly admin_area_2?: string; readonly admin_area_1?: string; readonly postal_code?: string; readonly country_code: string; readonly address_details?: io.flow.external.paypal.v1.models.AddressDetails; } interface Adjudication { readonly type: io.flow.external.paypal.v1.enums.AdjudicationType; readonly adjudication_time: string; readonly reason?: string; readonly dispute_life_cycle_stage?: io.flow.external.paypal.v1.enums.DisputeLifeCycleStage; } interface AgreedRefundDetails { readonly merchant_agreed_refund?: boolean; readonly merchant_agreed_refund_time?: string; } interface AllowedResponseOptions { readonly acknowledge_return_item?: io.flow.external.paypal.v1.models.AcknowledgeReturnItem; } interface ApplicationContext { readonly brand_name?: string; readonly locale?: string; readonly payment_pattern?: io.flow.external.paypal.v1.enums.PaymentPattern; readonly shipping_preference?: io.flow.external.paypal.v1.enums.ShippingDisplayPreference; readonly user_action?: io.flow.external.paypal.v1.enums.UserActionPrompt; } interface BillingDisputesProperties { readonly duplicate_transaction?: io.flow.external.paypal.v1.models.DuplicateTransaction; readonly incorrect_transaction_amount?: io.flow.external.paypal.v1.models.IncorrectTransactionAmount; readonly payment_by_other_means?: io.flow.external.paypal.v1.models.PaymentByOtherMeans; readonly credit_not_processed?: io.flow.external.paypal.v1.models.CreditNotProcessed; readonly canceled_recurring_billing?: io.flow.external.paypal.v1.models.CanceledRecurringBilling; } interface Buyer { readonly name?: string; } interface CanceledRecurringBilling { readonly expected_refund?: io.flow.external.paypal.v1.models.DisputeMoney; readonly cancellation_details?: io.flow.external.paypal.v1.models.CancellationDetails; } interface CancellationDetails { readonly cancellation_date?: string; readonly cancellation_number?: string; readonly cancelled?: boolean; readonly cancellation_mode?: io.flow.external.paypal.v1.enums.CancellationMode; } interface CommunicationDetails { readonly email?: string; readonly note?: string; readonly time_posted?: string; } interface CreditNotProcessed { readonly issue_type?: io.flow.external.paypal.v1.enums.IssueType; readonly expected_refund?: io.flow.external.paypal.v1.models.DisputeMoney; readonly cancellation_details?: io.flow.external.paypal.v1.models.CancellationDetails; readonly product_details?: io.flow.external.paypal.v1.models.ProductDetails; readonly service_details?: io.flow.external.paypal.v1.models.ServiceDetails; readonly agreed_refund_details?: io.flow.external.paypal.v1.models.AgreedRefundDetails; } interface Dispute { readonly dispute_id: string; readonly create_time: string; readonly update_time: string; readonly disputed_transactions: io.flow.external.paypal.v1.models.TransactionInfo[]; readonly reason: io.flow.external.paypal.v1.enums.DisputeReason; readonly status: io.flow.external.paypal.v1.enums.DisputeStatus; readonly dispute_amount: io.flow.external.paypal.v1.models.DisputeMoney; readonly fee_policy?: any /*object*/; readonly external_reason_code?: string; readonly dispute_outcome?: io.flow.external.paypal.v1.models.DisputeOutcome; readonly ajudications?: io.flow.external.paypal.v1.models.Adjudication[]; readonly money_movements?: io.flow.external.paypal.v1.models.MoneyMovement[]; readonly dispute_life_cycle_stage: io.flow.external.paypal.v1.enums.DisputeLifeCycleStage; readonly dispute_channel: io.flow.external.paypal.v1.enums.DisputeChannel; readonly messages?: io.flow.external.paypal.v1.models.Message[]; readonly extensions?: io.flow.external.paypal.v1.models.DisputeExtension; readonly evidences?: io.flow.external.paypal.v1.models.Evidence[]; readonly buyer_response_due_date?: string; readonly seller_response_due_date?: string; readonly offer?: io.flow.external.paypal.v1.models.Offer; readonly refund_details?: io.flow.external.paypal.v1.models.RefundDetails; readonly communication_details?: io.flow.external.paypal.v1.models.CommunicationDetails; readonly supporting_info?: io.flow.external.paypal.v1.models.SupportingInfo; readonly allowed_response_options?: io.flow.external.paypal.v1.models.AllowedResponseOptions; readonly links?: io.flow.external.paypal.v1.models.Link[]; readonly previous_status?: io.flow.external.paypal.v1.enums.DisputeStatus; } interface DisputeExtension { readonly merchant_contacted?: boolean; readonly merchant_contacted_outcome?: io.flow.external.paypal.v1.enums.DisputeMerchantContactedOutcome; readonly merchant_contacted_time?: string; readonly merchant_contacted_mode?: io.flow.external.paypal.v1.enums.DisputeMerchantContactedMode; readonly buyer_contacted_time?: string; readonly buyer_contacted_channel?: string; readonly billing_dispute_properties?: io.flow.external.paypal.v1.models.BillingDisputesProperties; readonly merchandize_dispute_properties?: io.flow.external.paypal.v1.models.MerchandiseDisputeProperties; } interface DisputeList { readonly items: io.flow.external.paypal.v1.models.DisputeSummary[]; readonly links: io.flow.external.paypal.v1.models.Link[]; } interface DisputeMoney { readonly currency_code: string; readonly value: string; } interface DisputeOutcome { readonly outcome_code?: io.flow.external.paypal.v1.enums.DisputeOutcomeCode; readonly amount_refunded?: io.flow.external.paypal.v1.models.DisputeMoney; } interface DisputeSummary { readonly dispute_id: string; readonly create_time: string; readonly update_time: string; readonly reason: io.flow.external.paypal.v1.enums.DisputeReason; readonly status: io.flow.external.paypal.v1.enums.DisputeStatus; readonly dispute_amount: io.flow.external.paypal.v1.models.DisputeMoney; readonly dispute_life_cycle_stage: io.flow.external.paypal.v1.enums.DisputeLifeCycleStage; readonly links: io.flow.external.paypal.v1.models.Link[]; } interface Document { readonly name?: string; } interface DuplicateTransaction { readonly received_duplicate?: boolean; readonly original_transaction?: io.flow.external.paypal.v1.models.TransactionInfo; } interface Error { readonly name?: string; readonly message?: string; readonly information_link?: string; readonly debug_id?: string; readonly details?: io.flow.external.paypal.v1.models.ErrorValidationDetail[]; } interface ErrorValidationDetail { readonly field: string; readonly issue: string; } interface Evidence { readonly evidence_type?: io.flow.external.paypal.v1.enums.EvidenceType; readonly evidence_info?: io.flow.external.paypal.v1.models.EvidenceInfo; readonly documents?: io.flow.external.paypal.v1.models.Document[]; readonly notes?: string; readonly item_id?: string; } interface EvidenceInfo { readonly tracking_info?: io.flow.external.paypal.v1.models.TrackingInfo[]; readonly refund_ids?: io.flow.external.paypal.v1.models.RefundId[]; } interface ExecuteRequest { readonly payer_id: string; readonly transactions?: io.flow.external.paypal.v1.models.Transaction[]; } interface IncorrectTransactionAmount { readonly correct_transaction_amount?: io.flow.external.paypal.v1.models.DisputeMoney; readonly correct_transaction_time?: string; } interface Item { readonly name: string; readonly description?: string; readonly quantity: string; readonly price: string; readonly tax: string; readonly sku: string; readonly currency: string; } interface ItemInfo { readonly item_id?: string; readonly item_description?: string; readonly item_quantity?: string; readonly partner_transaction_id?: string; readonly reason?: io.flow.external.paypal.v1.enums.DisputeReason; readonly dispute_amount?: io.flow.external.paypal.v1.models.DisputeMoney; readonly notes?: string; } interface ItemList { readonly items: io.flow.external.paypal.v1.models.Item[]; readonly shipping_address?: io.flow.external.paypal.v1.models.ShippingAddress; } interface Link { readonly href: string; readonly rel: string; readonly method: string; } interface LinkResponse { readonly links?: io.flow.external.paypal.v1.models.Link[]; } interface MerchandiseDisputeProperties { readonly issue_type?: io.flow.external.paypal.v1.enums.IssueType; readonly product_details?: io.flow.external.paypal.v1.models.ProductDetails; readonly service_details?: io.flow.external.paypal.v1.models.ServiceDetails; readonly return_shipping_address?: io.flow.external.paypal.v1.models.AddressPortable; } interface Message { readonly posted_by?: io.flow.external.paypal.v1.enums.MessagePoster; readonly time_posted?: string; readonly content?: string; } interface Money { readonly currency_code?: string; readonly value?: string; } interface MoneyMovement { readonly affected_party?: io.flow.external.paypal.v1.enums.AffectedParty; readonly amount?: io.flow.external.paypal.v1.models.DisputeMoney; readonly initiated_time?: string; readonly type?: io.flow.external.paypal.v1.enums.MoneyMovementType; readonly reason?: io.flow.external.paypal.v1.enums.MoneyMovementReason; } interface Offer { readonly buyer_requested_amount?: io.flow.external.paypal.v1.models.DisputeMoney; readonly seller_offered_amount?: io.flow.external.paypal.v1.models.DisputeMoney; readonly offer_type?: io.flow.external.paypal.v1.enums.OfferType; } interface Payer { readonly payment_method: io.flow.external.paypal.v1.enums.PaymentMethod; readonly payer_info?: io.flow.external.paypal.v1.models.PayerInfo; readonly status?: io.flow.external.paypal.v1.enums.PayerStatus; } interface PayerInfo { readonly email?: string; readonly first_name?: string; readonly last_name?: string; readonly payer_id?: string; readonly shipping_address?: io.flow.external.paypal.v1.models.ShippingAddress; } interface PaymentByOtherMeans { readonly charge_different_from_original?: boolean; readonly received_duplicate?: boolean; readonly payment_method?: io.flow.external.paypal.v1.enums.OtherMeansPaymentMethod; readonly payment_instrument_suffix?: string; } interface PaymentOptions { readonly allowed_payment_method: io.flow.external.paypal.v1.enums.AllowedPaymentMethod; } interface PaymentRequest { readonly intent: io.flow.external.paypal.v1.enums.Intent; readonly payer: io.flow.external.paypal.v1.models.Payer; readonly transactions: io.flow.external.paypal.v1.models.Transaction[]; readonly experience_profile_id?: string; readonly note_to_payer?: string; readonly redirect_urls: io.flow.external.paypal.v1.models.RedirectUrls; readonly application_context?: io.flow.external.paypal.v1.models.ApplicationContext; } interface PaymentResponse { readonly id: string; readonly intent: io.flow.external.paypal.v1.enums.Intent; readonly payer: io.flow.external.paypal.v1.models.Payer; readonly transactions: any /*object*/[]; readonly state: io.flow.external.paypal.v1.enums.State; readonly experience_profile_id?: string; readonly note_to_payer?: string; readonly failure_reason?: io.flow.external.paypal.v1.enums.FailureReason; readonly create_time: string; readonly update_time?: string; readonly links: io.flow.external.paypal.v1.models.Link[]; readonly application_context?: io.flow.external.paypal.v1.models.ApplicationContext; } interface PaypalDisputeEvent { readonly id: string; readonly resource_type: string; readonly event_type: string; readonly summary: string; readonly event_version: string; readonly create_time: string; readonly resource: io.flow.external.paypal.v1.models.Dispute; } interface ProductDetails { readonly description?: string; readonly product_received?: io.flow.external.paypal.v1.enums.ProductReceived; readonly product_received_time?: string; readonly sub_reasons?: io.flow.external.paypal.v1.enums.SubReason[]; readonly purchase_url?: string; readonly return_details?: io.flow.external.paypal.v1.models.ReturnDetails; } interface ProvideEvidenceForm { readonly evidences?: io.flow.external.paypal.v1.models.Evidence[]; readonly return_shipping_address?: io.flow.external.paypal.v1.models.AddressPortable; } interface RedirectUrls { readonly cancel_url: string; readonly return_url: string; } interface Refund { readonly id: string; readonly amount?: io.flow.external.paypal.v1.models.SimpleAmount; readonly state: io.flow.external.paypal.v1.enums.RefundState; readonly sale_id: string; readonly invoice_number?: string; readonly capture_id?: string; readonly parent_payment?: string; readonly reason_code?: string; readonly refund_reason_code?: string; readonly refund_funding_type?: string; readonly refund_from_received_amount?: io.flow.external.paypal.v1.models.Money; readonly refund_from_transaction_fee?: io.flow.external.paypal.v1.models.Money; readonly total_refunded_amount?: io.flow.external.paypal.v1.models.Money; readonly refund_to_payer?: io.flow.external.paypal.v1.models.Money; readonly custom?: string; readonly create_time?: string; readonly update_time?: string; } interface RefundDetails { readonly allowed_refund_amount?: io.flow.external.paypal.v1.models.DisputeMoney; } interface RefundId { readonly refund_id?: string; } interface RefundRequest { readonly amount: io.flow.external.paypal.v1.models.SimpleAmount; readonly invoice_number: string; } interface ReportingTransaction { readonly transaction_details: io.flow.external.paypal.v1.models.ReportingTransactionDetails[]; readonly links: io.flow.external.paypal.v1.models.Link[]; } interface ReportingTransactionDetails { readonly transaction_info: io.flow.external.paypal.v1.models.ReportingTransactionInfo; } interface ReportingTransactionInfo { readonly paypal_account_id?: string; readonly transaction_id?: string; readonly paypal_reference_id?: string; readonly paypal_reference_id_type?: string; readonly transaction_event_code: string; readonly transaction_initiation_date: string; readonly transaction_updated_date: string; readonly transaction_status: io.flow.external.paypal.v1.enums.ReportingTransactionStatus; readonly transaction_subject?: string; readonly invoice_id?: string; readonly custom_field?: string; readonly protection_eligibility?: string; readonly instrument_type?: string; } interface ReturnDetails { readonly return_time?: string; readonly mode?: io.flow.external.paypal.v1.enums.ReturnMode; readonly receipt?: boolean; readonly return_confirmation_number?: string; readonly returned?: boolean; } interface Sale { readonly id: string; readonly state: io.flow.external.paypal.v1.enums.SaleState; readonly parent_payment: string; readonly invoice_number?: string; readonly amount?: io.flow.external.paypal.v1.models.SimpleAmount; readonly payment_mode?: string; readonly reason_code?: string; readonly protection_eligibility?: string; readonly protection_eligibility_type?: string; readonly receipt_id?: string; readonly soft_descriptor?: string; readonly exchange_rate?: string; readonly payment_hold_status?: string; readonly payment_hold_reasons?: string[]; readonly transaction_fee?: io.flow.external.paypal.v1.models.Money; readonly receivable_amount?: io.flow.external.paypal.v1.models.Money; readonly custom?: string; readonly create_time?: string; readonly update_time?: string; } interface Seller { readonly email?: string; readonly merchant_id?: string; readonly name?: string; } interface ServiceDetails { readonly description?: string; readonly service_started?: io.flow.external.paypal.v1.enums.ServiceStarted; readonly note?: string; readonly sub_reasons?: io.flow.external.paypal.v1.enums.SubReason[]; readonly purchase_url?: string; } interface ShippingAddress { readonly recipient_name?: string; readonly line1: string; readonly line2?: string; readonly city?: string; readonly country_code: string; readonly postal_code?: string; readonly phone?: string; readonly state?: string; } interface SimpleAmount { readonly total: string; readonly currency: string; } interface SupportingInfo { readonly notes?: string; readonly source?: io.flow.external.paypal.v1.enums.SupportingInfoSource; readonly provided_time?: string; } interface Token { readonly access_token: string; readonly token_type: string; readonly app_id: string; readonly expires_in: number; readonly scope?: string; } interface TokenErrorResponse { readonly error: string; readonly error_description: string; } interface TokenForm { readonly grant_type: io.flow.external.paypal.v1.enums.GrantType; } interface TrackingInfo { readonly carrier_name: io.flow.external.paypal.v1.enums.CarrierName; readonly carrier_name_other?: string; readonly tracking_url?: string; readonly tracking_number: string; } interface Transaction { readonly amount: io.flow.external.paypal.v1.models.TransactionAmount; readonly description?: string; readonly payee?: any /*object*/; readonly custom?: string; readonly payment_options?: io.flow.external.paypal.v1.models.PaymentOptions; readonly item_list?: io.flow.external.paypal.v1.models.ItemList; readonly invoice_number?: string; readonly soft_descriptor?: string; readonly reference_id?: string; } interface TransactionAmount { readonly total: string; readonly currency: string; readonly details: io.flow.external.paypal.v1.models.TransactionDetails; } interface TransactionDetails { readonly subtotal: string; readonly tax: string; readonly shipping: string; readonly handling_fee: string; readonly shipping_discount: string; readonly insurance: string; } interface TransactionInfo { readonly buyer_transaction_id?: string; readonly seller_transaction_id: string; readonly reference_id?: string; readonly create_time?: string; readonly transaction_status?: io.flow.external.paypal.v1.enums.TransactionStatus; readonly gross_amount?: io.flow.external.paypal.v1.models.DisputeMoney; readonly invoice_number: string; readonly custom?: string; readonly buyer?: io.flow.external.paypal.v1.models.Buyer; readonly seller: io.flow.external.paypal.v1.models.Seller; readonly items?: io.flow.external.paypal.v1.models.ItemInfo[]; } interface WebhookEvent { readonly id: string; readonly resource_type: string; readonly event_type: string; readonly summary: string; readonly event_version: string; readonly create_time: string; readonly resource: any /*object*/; } } declare namespace io.flow.bitpay.v0.enums { type ExceptionStatus = 'paidPartial' | 'paidOver' | 'paidLate'; type InvoiceStatus = | 'new' | 'paid' | 'confirmed' | 'complete' | 'expired' | 'invalid'; type RefundStatus = 'pending' | 'success' | 'failure'; type TransactionSpeed = 'low' | 'medium' | 'high'; type WebhookEventName = | 'invoice_created' | 'invoice_receivedPayment' | 'invoice_paidInFull' | 'invoice_expired' | 'invoice_confirmed' | 'invoice_completed' | 'invoice_refunded' | 'invoice_markedInvalid' | 'invoice_paidAfterExpiration' | 'invoice_expiredPartial' | 'invoice_blockedByTierLimit' | 'invoice_manuallyNotified' | 'invoice_failedToConfirm' | 'invoice_latePayment' | 'invoice_adjustmentComplete' | 'invoice_refundComplete' | 'payoutRequest_funded' | 'payoutRequest_completed' | 'payoutRequest_cancelled' | 'org_completedSetup'; } declare namespace io.flow.bitpay.v0.models { interface ErrorResponse { readonly error: string; } interface Invoice { readonly price: number; readonly currency: string; readonly posData?: string; readonly notificationURL?: string; readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed; readonly fullNotifications?: boolean; readonly notificationEmail?: string; readonly redirectURL?: string; readonly orderId?: string; readonly itemDesc?: string; readonly itemCode?: string; readonly physical?: boolean; readonly buyerName?: string; readonly buyerAddress1?: string; readonly buyerAddress2?: string; readonly buyerCity?: string; readonly buyerState?: string; readonly buyerZip?: string; readonly buyerCountry?: string; readonly buyerEmail?: string; readonly buyerPhone?: string; } interface InvoiceRefund { readonly token: string; readonly refundEmail: string; readonly amount: number; readonly currency: string; } interface InvoiceRefundResponse { readonly facade: string; readonly data: io.flow.bitpay.v0.models.InvoiceRefundResponseData[]; } interface InvoiceRefundResponseData { readonly id: string; readonly requestDate: string; readonly status: io.flow.bitpay.v0.enums.RefundStatus; readonly results: any /*object*/; readonly params: io.flow.bitpay.v0.models.InvoiceRefundResponseDataParams; readonly token: string; } interface InvoiceRefundResponseDataParams { readonly bitcoinAddress: string; readonly purchaserNotifyEmail?: string; readonly email?: string; readonly currency: string; readonly amount: number; readonly requesterEmail?: string; readonly requesterType?: string; readonly token?: string; } interface InvoiceRefundResponseResultsParams { readonly merchantName: string; readonly numericId: string; readonly type: string; } interface InvoiceRequest { readonly token: string; readonly guid?: string; readonly price: number; readonly currency: string; readonly posData?: string; readonly notificationURL?: string; readonly transactionSpeed?: io.flow.bitpay.v0.enums.TransactionSpeed; readonly fullNotifications?: boolean; readonly extendedNotifications?: boolean; readonly redirectURL?: string; readonly orderId?: string; readonly physical?: boolean; readonly buyerName?: string; readonly buyerAddress1?: string; readonly buyerAddress2?: string; readonly buyerCity?: string; readonly buyerState?: string; readonly buyerZip?: string; readonly buyerCountry?: string; readonly buyerEmail?: string; readonly buyerPhone?: string; } interface InvoiceResponse { readonly facade: string; readonly data: io.flow.bitpay.v0.models.InvoiceResponseData; } interface InvoiceResponseData { readonly id: string; readonly guid: string; readonly invoiceTime: number; readonly expirationTime: number; readonly currentTime: number; readonly url: string; readonly posData?: string; readonly status: io.flow.bitpay.v0.enums.InvoiceStatus; readonly exceptionStatus: any /*json*/; readonly price: number; readonly currency: string; readonly amountPaid: number; readonly paymentSubtotals: any /*object*/; readonly paymentTotals: any /*object*/; readonly exchangeRates: any /*object*/; readonly transactionCurrency?: string; readonly supportedTransactionCurrencies: any /*object*/; readonly paymentCodes: any /*object*/; readonly token: string; } interface InvoiceWebhookResponse { readonly event: io.flow.bitpay.v0.models.WebhookEvent; readonly data: io.flow.bitpay.v0.models.InvoiceResponseData; } interface RefundRequest { readonly token: string; readonly refundEmail: string; readonly amount: number; readonly currency: string; } interface RefundResponse { readonly success: boolean; } interface WebhookEvent { readonly code: number; readonly name: io.flow.bitpay.v0.enums.WebhookEventName; } } declare namespace io.flow.brickftp.v0.enums { type AuthenticationMethod = 'password' | 'ldap' | 'oauth_google'; type BehaviorType = 'lock_subfolders' | 'webhook'; type GrantPermissionSetting = | 'full' | 'read' | 'write' | 'preview' | 'read+write' | 'preview+write'; type SslRequiredSetting = | 'use_system_setting' | 'always_require' | 'never_require'; type WebhookEventAction = | 'create' | 'read' | 'update' | 'destroy' | 'move' | 'copy'; type WebhookEventInterface = | 'web' | 'ftp' | 'robot' | 'jsapi' | 'restapi' | 'sftp' | 'dav'; type WebhookEventType = 'directory' | 'file'; } declare namespace io.flow.brickftp.v0.models { interface Behavior { readonly id: number; readonly path: string; readonly behavior: io.flow.brickftp.v0.enums.BehaviorType; readonly value: any /*object*/; } interface BehaviorForm { readonly path: string; readonly behavior: io.flow.brickftp.v0.enums.BehaviorType; readonly value: string[]; } interface Directory { readonly type: 'directory'; readonly path: string; readonly display_name: string; readonly mtime: string; readonly permissions: string; } interface Empty { readonly none?: string; } interface Error { readonly error: string; } interface File { readonly path: string; readonly display_name: string; readonly size: number; readonly mtime: string; readonly permissions: string; readonly download_uri: string; } interface FileCopyForm { readonly type: 'file_copy_form'; readonly 'copy-destination': string; } interface FileMoveForm { readonly type: 'file_move_form'; readonly 'move-destination': string; } interface FileSummary { readonly type: 'file'; readonly path: string; readonly display_name: string; readonly size: number; readonly mtime: string; readonly permissions: string; } interface FileUploadComplete { readonly path: string; readonly size: number; readonly mtime: string; } interface FileUploadEndForm { readonly type: 'file_upload_end_form'; readonly action: string; readonly ref: string; } interface FileUploadMetadata { readonly ref: string; readonly path: string; readonly action: string; readonly ask_about_overwrites: boolean; readonly http_method: string; readonly upload_uri: string; } interface FileUploadStartForm { readonly type: 'file_upload_start_form'; readonly action: string; } interface User { readonly id: number; readonly username: string; readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod; readonly name?: string; readonly email?: string; readonly notes?: string; readonly user_root: string; readonly time_zone: string; readonly restapi_permission: boolean; readonly ftp_permission: boolean; readonly sftp_permission: boolean; readonly dav_permission: boolean; readonly self_managed: boolean; readonly require_password_change: boolean; readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting; } interface UserForm { readonly username: string; readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod; readonly password: string; readonly name?: string; readonly email?: string; readonly notes?: string; readonly user_root: string; readonly time_zone?: string; readonly grant_permission: io.flow.brickftp.v0.enums.GrantPermissionSetting; readonly restapi_permission: boolean; readonly ftp_permission: boolean; readonly sftp_permission: boolean; readonly dav_permission: boolean; readonly self_managed: boolean; readonly require_password_change: boolean; readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting; } } declare namespace io.flow.brickftp.v0.unions { type FileForm = | io.flow.brickftp.v0.models.FileUploadStartForm | io.flow.brickftp.v0.models.FileUploadEndForm | io.flow.brickftp.v0.models.FileCopyForm | io.flow.brickftp.v0.models.FileMoveForm; type Node = | io.flow.brickftp.v0.models.Directory | io.flow.brickftp.v0.models.FileSummary; } declare namespace io.flow.units.v0.enums { type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter'; type UnitOfVolume = | 'cubic_inch' | 'cubic_foot' | 'cubic_millimeter' | 'cubic_centimeter' | 'cubic_meter'; type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound'; } declare namespace io.flow.shopify.markets.internal.v0.enums { type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know'; type ApiCallReferenceId = | 'duty_rates_data_event' | 'integration_test' | 'unit_test'; type ChannelOrderFulfillmentStatusCode = | 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled'; type GraphqlServiceTypes = | 'order_update_mutation' | 'shipping_address_validation' | 'inventory_item' | 'product_bundle' | 'shopify_location' | 'shopify_order' | 'sync_product_catalog' | 'shopify_webhook' | 'guaranteed_shipping_state'; type ProductStatus = 'active' | 'archived' | 'draft' | 'unlisted'; type SellabilityStatus = 'complete' | 'incomplete'; type ShopifyMarketsDangerousGoods = | 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances'; type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know'; type ShopifyMarketsTradeSector = | 'apparel_and_accessories' | 'beauty_and_cosmetics' | 'electronics' | 'food_or_perishables' | 'jewellery_and_watches' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other'; } declare namespace io.flow.shopify.markets.internal.v0.models { interface BulkDutyUpdateValidationError { readonly message: string; readonly reason: string; readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface ChannelOrderSummary { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly external_order_reference: string; readonly order_number: string; readonly fulfullment_details: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummaryFulfillmentDetails; } interface ChannelOrderSummaryFulfillmentDetails { readonly fulfillment_status: io.flow.shopify.markets.internal.v0.enums.ChannelOrderFulfillmentStatusCode; readonly timestamp: string; } interface ChannelOrganizationIdentifier { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly identifier: string; } interface ChannelOrganizationPublicationOwner { readonly owner: io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner; } interface ChannelOrganizationPublicationOwnerPutForm { readonly owner: io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner; } interface ChannelOrganizationSellabilityStatus { readonly status: io.flow.shopify.markets.internal.v0.enums.SellabilityStatus; } interface ChannelOrganizationSellabilityStatusPutForm { readonly status: io.flow.shopify.markets.internal.v0.enums.SellabilityStatus; } interface FlowShopValidationError { readonly message: string; readonly reason: string; readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface GenericValidationError { readonly message: string; readonly reason: string; readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface InventoryItemWrapper { readonly inventory_item_id: number; readonly shopify_shop_id: number; readonly shopify_inventory_item: io.flow.shopify.external.v0.models.ShopifyInventoryItemSummary; readonly deleted_at?: string; } interface MarketsOrder { readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder; readonly flow_authorization?: io.flow.payment.v0.unions.Authorization; } interface MarketsOrderSummary { readonly id: string; } interface OrderSettings { readonly tax_and_duty_inclusivity_setting?: io.flow.experience.v0.enums.TaxAndDutyInclusivitySetting; } interface OrderTaxAndDutyInclusivitySetting { readonly id: string; readonly organization_id: string; readonly shopify_order_id: string; readonly order_number: string; readonly tax_and_duty_inclusivity_setting: io.flow.experience.v0.enums.TaxAndDutyInclusivitySetting; } interface OrderValidationError { readonly message: string; readonly reason: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason; readonly action?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceErrorAction; readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface PaymentRequestAuthorization { readonly payment_request_id: string; readonly authorization_id: string; } interface ProductRestrictionResultValidationError { readonly message: string; readonly reason: string; readonly next_action_from: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface ShippingLane { readonly origin: string; readonly destination: string; } interface ShopifyHs10Code { readonly country_code?: string; readonly code: string; } interface ShopifyHs10Codes { readonly id: string; readonly item_number: string; readonly codes: io.flow.shopify.markets.internal.v0.models.ShopifyHs10Code[]; } interface ShopifyInventoryItem { readonly organization_id: string; readonly inventory_item_id: number; readonly variant_id: number; readonly updated_at: string; } interface ShopifyMarketsBestSellingProduct { readonly id: string; } interface ShopifyMarketsDiscrepancy { readonly organization_id: string; readonly count: number; } interface ShopifyMarketsDiscrepancyData { readonly total_count: number; readonly discrepancies: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancy[]; } interface ShopifyMarketsEvent { readonly placeholder?: any /*json*/; } interface ShopifyMarketsIncorporationCountry { readonly country: string; readonly state?: string; readonly province?: string; readonly jurisdiction?: string; } interface ShopifyMarketsInternalOrderMetrics { readonly total_order_count: number; } interface ShopifyMarketsOrdersMetrics { readonly id: string; readonly range: io.flow.common.v0.models.DatetimeRange; readonly shopify: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShopifyOrderMetrics; readonly internal: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsInternalOrderMetrics; readonly discrepancy_data: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsDiscrepancyData; readonly organization_metrics?: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics[]; } interface ShopifyMarketsOrganizationOrderMetrics { readonly organization_id: string; readonly shopify_order_count: number; readonly internal_order_count: number; readonly discrepancy_count?: number; } interface ShopifyMarketsQueuedRecord { readonly id: string; readonly type: string; readonly type_id: string; readonly organization_id: string; readonly environment?: string; readonly num_attempts: number; readonly next_attempt_at: string; readonly errors?: string[]; readonly stacktrace?: string; } interface ShopifyMarketsShop { readonly id: string; readonly shopify_shop_id?: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly domain: string; readonly myshopify_domain: string; readonly organization_id: string; readonly shop: string; readonly created_at: string; readonly shared_secret_masked: string; readonly api_key_masked?: string; readonly api_password_masked?: string; readonly access_token_masked?: string; readonly shopify_plan_name?: io.flow.shopify.external.v0.enums.ShopifyPlanName; readonly catalog_publication_owner?: io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner; readonly fast_sellability_completed_at?: string; } interface ShopifyMarketsShopAccessToken { readonly myshopify_domain: string; readonly access_token: string; } interface ShopifyMarketsShopForm { readonly shop: string; readonly domain: string; readonly myshopify_domain: string; readonly shared_secret: string; readonly api_key?: string; readonly api_password?: string; readonly access_token?: string; readonly shopify_plan_name?: io.flow.shopify.external.v0.enums.ShopifyPlanName; readonly catalog_publication_owner?: io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner; } interface ShopifyMarketsShopSummary { readonly organization: io.flow.common.v0.models.OrganizationSummary; readonly channel: io.flow.common.v0.models.ChannelReference; } interface ShopifyMarketsShopifyOrderMetrics { readonly total_order_count: number; } interface ShopifyMarketsSubsidiaryCompany { readonly legal_name?: string; readonly incorporation_country?: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsIncorporationCountry; } interface ShopifyMarketsWebhookRegistration { readonly id: string; readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse; } interface ShopifyMerchantMarketCountry { readonly code: string; readonly actively_managing: boolean; readonly enabled: boolean; } interface ShopifyMerchantMarkets { readonly id: string; readonly organization_id: string; readonly countries: io.flow.shopify.markets.internal.v0.models.ShopifyMerchantMarketCountry[]; } interface ShopifyOrderCancelForm { readonly note?: string; } interface ShopifyOrderCancelResponse { readonly shopify_order_cancellation_id: string; readonly shopify_order_id: number; readonly message: string; } interface ShopifyOrderDestinationForm { readonly destination: io.flow.common.v0.models.Address; readonly order_note?: string; } interface ShopifyOrderRiskAssessment { readonly id: string; readonly risk_level: string; readonly assessment_created_at: string; } interface ShopifyProductBundle { readonly id: string; readonly underlying: io.flow.shopify.markets.internal.v0.models.ShopifyProductBundleUnderlying; } interface ShopifyProductBundleUnderlying { readonly product_ids: string[]; } interface ShopifyProductTaxonomyAttribute { readonly id: string; readonly handle: string; readonly name: string; readonly friendly_id: string; readonly description?: string; } interface ShopifyProductTaxonomyAttributeValue { readonly id: string; readonly attribute_id: string; readonly handle: string; readonly name: string; readonly friendly_id: string; } interface ShopifyProductWrapper { readonly shopify_product: io.flow.shopify.external.v0.models.Product; readonly deleted_at?: string; } interface ShopifyShopStatistics { readonly id: string; readonly initial_catalog_synced_at?: string; readonly catalog_sync_duration?: number; readonly restrictions_sync_duration?: number; readonly classifications_sync_duration?: number; readonly catalog_products_count?: number; readonly initial_product_restrictions_synced_at?: string; } interface ShopifyTestOrder { readonly id: string; readonly submitted_at: string; } interface ThirdPartyLogisticsPartner { readonly warehouse_address: io.flow.common.v0.models.BillingAddress; readonly warehouse_url?: string; } interface ThirdPartyLogisticsPickUpTimeWindow { readonly from: string; readonly to: string; } interface Webhook { readonly placeholder?: any /*json*/; } } declare namespace io.flow.consumer.invoice.v0.enums { type B2BInvoiceType = 'self_bill_invoice' | 'invoice'; type ConsumerInvoiceCustomerType = | 'business_eu_verified' | 'business_non_verified' | 'individual'; type ConsumerInvoiceDocumentType = 'pdf'; type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid'; type FeeInvoiceType = | 'mor_invoice' | 'label_invoice' | 'mor_credit_memo' | 'label_credit_memo'; type TaxJurisdictionType = 'country' | 'province'; type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax'; } declare namespace io.flow.consumer.invoice.v0.models { interface B2BCreditMemo { readonly id: string; readonly number: string; readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity; readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly invoice: io.flow.consumer.invoice.v0.models.B2BInvoiceReference; readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[]; readonly tax_lines?: io.flow.consumer.invoice.v0.models.InvoiceTaxLine[]; readonly tax?: io.flow.common.v0.models.Money; readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly b2b_invoice_type: io.flow.consumer.invoice.v0.enums.B2BInvoiceType; readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference; readonly order?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary; readonly voids_b2b_invoice?: boolean; } interface B2BCreditNote { readonly id: string; readonly number: string; readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly debit_note: io.flow.consumer.invoice.v0.models.B2BDebitNoteReference; readonly order?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary; readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference; readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly voids_b2b_debit_note?: boolean; } interface B2BDebitNote { readonly id: string; readonly number: string; readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity; readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly order: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary; readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference; readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; } interface B2BDebitNoteReference { readonly id: string; readonly key: string; readonly number: string; } interface B2BInvoice { readonly id: string; readonly number: string; readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity; readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly order: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary; readonly economic_title_location: io.flow.merchant.of.record.v0.enums.EconomicTitleLocation; readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference; readonly destination?: io.flow.experience.v0.models.OrderAddress; readonly tax: io.flow.common.v0.models.Money; readonly tax_lines?: io.flow.consumer.invoice.v0.models.InvoiceTaxLine[]; readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly estimated_delivery_date?: string; readonly b2b_invoice_type: io.flow.consumer.invoice.v0.enums.B2BInvoiceType; } interface B2BInvoiceReference { readonly id: string; readonly key: string; readonly number: string; } interface ConsumerInvoice { readonly id: string; readonly number: string; readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly order: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary; readonly entity: io.flow.common.v0.models.MerchantOfRecordEntity; readonly payments: io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment[]; readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference; readonly destination: io.flow.experience.v0.models.OrderAddress; readonly billing_address?: io.flow.common.v0.models.BillingAddress; readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration; readonly customer_type?: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceCustomerType; readonly estimated_delivery_date?: string; } interface ConsumerInvoiceCenterReference { readonly id: string; readonly key: string; readonly name: string; readonly address: io.flow.common.v0.models.Address; } interface ConsumerInvoiceDocument { readonly type: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceDocumentType; readonly language: string; readonly url: string; } interface ConsumerInvoiceForm { readonly order_number: string; readonly attributes?: Record; } interface ConsumerInvoiceFormByOrder { readonly attributes?: Record; } interface ConsumerInvoiceLevy { readonly rate: number; readonly value: io.flow.common.v0.models.Price; } interface ConsumerInvoiceLevyForm { readonly rate: number; readonly amount: number; } interface ConsumerInvoiceLineDiscount { readonly discriminator: 'discount'; readonly line_id?: string; readonly price: io.flow.common.v0.models.Price; } interface ConsumerInvoiceLineDiscountForm { readonly discriminator: 'discount'; readonly price: number; } interface ConsumerInvoiceLineItem { readonly discriminator: 'item'; readonly line_id?: string; readonly item: io.flow.common.v0.models.ItemReference; readonly description: string; readonly quantity: number; readonly unit_price: io.flow.common.v0.models.Price; readonly unit_discount?: io.flow.common.v0.models.Price; readonly unit_tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy; readonly unit_duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy; } interface ConsumerInvoiceLineItemForm { readonly discriminator: 'item'; readonly item_number: string; readonly quantity: number; readonly unit_price: number; readonly unit_discount?: number; readonly unit_tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm; readonly unit_duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm; } interface ConsumerInvoiceLineShipping { readonly discriminator: 'shipping'; readonly line_id?: string; readonly price: io.flow.common.v0.models.Price; readonly discount?: io.flow.common.v0.models.Price; readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy; readonly duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy; } interface ConsumerInvoiceLineShippingForm { readonly discriminator: 'shipping'; readonly price: number; readonly discount?: number; readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm; readonly duty?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm; } interface ConsumerInvoiceLineShippingPassThrough { readonly discriminator: 'shipping_pass_through'; readonly line_id?: string; readonly price: io.flow.common.v0.models.Price; } interface ConsumerInvoiceLineTip { readonly discriminator: 'tip'; readonly line_id?: string; readonly price: io.flow.common.v0.models.Price; readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy; } interface ConsumerInvoiceLineTipForm { readonly discriminator: 'tip'; readonly price: number; readonly tax?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm; } interface ConsumerInvoiceOrderSummary { readonly id: string; readonly number: string; readonly submitted_at: string; } interface ConsumerInvoicePayment { readonly date: string; readonly description: string; readonly value: io.flow.common.v0.models.Price; readonly billing_address?: io.flow.common.v0.models.BillingAddress; } interface ConsumerInvoiceReference { readonly id: string; readonly key: string; readonly number: string; } interface CreditMemo { readonly id: string; readonly number?: string; readonly status: io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly invoice: io.flow.consumer.invoice.v0.models.ConsumerInvoiceReference; readonly entity: io.flow.common.v0.models.MerchantOfRecordEntity; readonly payments: io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment[]; readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration; readonly center?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference; readonly order?: io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary; } interface CreditMemoForm { readonly refund_id?: string; readonly refund_key?: string; readonly refund_identifier?: string; readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLineForm[]; readonly attributes?: Record; } interface FeeInvoice { readonly id: string; readonly number: string; readonly invoice_type: io.flow.consumer.invoice.v0.enums.FeeInvoiceType; readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity; readonly date: string; readonly b2b_tax_transaction_id: string; readonly order_number: string; readonly tax: io.flow.common.v0.models.Money; readonly tax_lines?: io.flow.consumer.invoice.v0.models.InvoiceTaxLine[]; readonly lines: io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument[]; } interface InvoiceExport { readonly id: string; } interface InvoiceExportForm { readonly date_from?: string; readonly date_to?: string; } interface InvoiceTaxLine { readonly line_id: string; readonly tax_breakdown: io.flow.consumer.invoice.v0.models.TaxBreakdown[]; } interface TaxBreakdown { readonly label: string; readonly calculated_tax: io.flow.common.v0.models.Money; readonly rate: number; readonly line_total: io.flow.common.v0.models.Money; readonly jurisdiction_type: io.flow.consumer.invoice.v0.enums.TaxJurisdictionType; } } declare namespace io.flow.consumer.invoice.v0.unions { type ConsumerInvoiceLine = | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItem | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscount | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShipping | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShippingPassThrough | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineTip; type ConsumerInvoiceLineForm = | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItemForm | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShippingForm | io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineTipForm; } declare namespace io.flow.adyen.v0.enums { type Channel = 'web'; type Contract = 'RECURRING'; type DeviceChannel = 'app' | 'browser'; type DisputeStatus = | 'Accepted' | 'Expired' | 'Lost' | 'Pending' | 'Responded' | 'Undefended' | 'Unresponded' | 'Won'; 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' | 'INFORMATION_SUPPLIED' | 'DISPUTE_DEFENSE_PERIOD_ENDED' | 'ISSUER_RESPONSE_TIMEFRAME_EXPIRED'; type HttpRedirectMethod = 'GET' | 'POST'; type LifecycleStage = 'INQUIRY' | 'CHARGEBACK'; type Operation = 'cancel' | 'capture' | 'refund'; type PaymentMethod = | 'ach' | 'alipay' | 'alipay_hk' | 'alipay_wap' | 'amex' | 'bankTransfer_IBAN' | 'bcmc' | 'bcmc_mobile' | 'blik' | 'cartebancaire' | 'cup' | 'diners' | 'directEbanking' | 'discover' | 'dotpay' | 'dragonpay_ebanking' | 'dragonpay_gcash' | 'dragonpay_otc_banking' | 'ebanking_FI' | 'gcash' | 'giropay' | 'grabpay_MY' | 'grabpay_PH' | 'grabpay_SG' | 'ideal' | 'interac' | 'jcb' | 'kakaopay' | 'kcp_banktransfer' | 'kcp_creditcard' | 'kcp_payco' | 'maestro' | 'mbway' | 'mc' | 'mobilepay' | 'molpay_points' | 'multibanco' | 'onlineBanking_PL' | 'paywithgoogle' | 'qiwiwallet' | 'sepadirectdebit' | 'trustly' | 'trustpay' | 'twint' | 'unionpay' | 'vipps' | 'visa' | 'wechatpay' | 'unknowncard'; type PaymentRecordType = | 'Authorised' | 'AuthorisedPending' | 'Cancelled' | 'CaptureFailed' | 'Chargeback' | 'SecondChargeback' | 'ChargebackExternally' | 'ChargebackExternallyWithInfo' | 'ChargebackReversed' | 'ChargebackReversedExternallyWithInfo' | 'Error' | 'Expired' | 'PaidOut' | 'PaidOutExternally' | 'PaidOutExternallyWithInfo' | 'PaidOutReversed' | 'PayoutAuthorised' | 'PayoutError' | 'PayoutFailed' | 'Received' | 'ReceivedPayout' | 'RefundAuthorised' | 'Refunded' | 'RefundedBulk' | 'RefundedExternally' | 'RefundedExternallyWithInfo' | 'RefundFailed' | 'RefundedInInstallments' | 'RefundedInstallment' | 'RefundedReversed' | 'RefundNotProcessed' | 'Refused' | 'RefusedPayout' | 'Retried' | 'SentForPayout' | 'SentForRefund' | 'SentForSettle' | 'Settled' | 'SettledBulk' | 'SettledExternally' | 'SettledExternallyWithInfo' | 'SettledInInstallments' | 'SettledInstallment' | 'SettledReversed' | 'SuspendInstallment' | 'AdvancedInstallment' | 'AdvancedInstallmentCancelled' | 'OpenInstallment' | 'CloseInstallment'; type RecurringProcessingModel = | 'Subscription' | 'CardOnFile' | 'UnscheduledCardOnFile'; type ResultCode = | 'Authorised' | 'Cancelled' | 'Error' | 'Refused' | 'Received' | 'RedirectShopper' | 'Pending' | 'ChallengeShopper' | 'IdentifyShopper'; type ShopperInteraction = 'Ecommerce' | 'ContAuth' | 'POS' | 'Moto'; type ThreedsCompletionIndicator = 'Y' | 'N'; } declare namespace io.flow.adyen.v0.models { interface Address { readonly street?: string; readonly houseNumberOrName: string; readonly city?: string; readonly postalCode?: string; readonly stateOrProvince?: string; readonly country?: string; } interface AdyenDisputeEvent { readonly live: string; readonly notificationItems: io.flow.adyen.v0.models.OuterNotificationRequestItem[]; } interface Amount { readonly value: number; readonly currency: string; } interface Applepay { readonly type: 'applepay'; readonly applePayToken: string; } interface Authentication { readonly 'threeds2.fingerprintToken'?: string; readonly 'threeds2.challengeToken'?: string; } interface AuthorizeRequest { readonly reference: string; readonly merchantAccount: string; readonly amount: io.flow.adyen.v0.models.Amount; readonly card?: io.flow.adyen.v0.models.Card; readonly shopperStatement?: string; readonly shopperIP?: string; readonly shopperReference?: string; readonly shopperEmail?: string; readonly recurring?: io.flow.adyen.v0.models.Recurring; readonly selectedRecurringDetailReference?: string; readonly deliveryAddress?: io.flow.adyen.v0.models.Address; readonly billingAddress?: io.flow.adyen.v0.models.Address; readonly merchantOrderReference?: string; readonly shopperInteraction: io.flow.adyen.v0.enums.ShopperInteraction; readonly bankAccount?: io.flow.adyen.v0.models.BankAccount; readonly additionalData?: io.flow.adyen.v0.models.AuthorizeRequestAdditionalData; readonly mpiData?: io.flow.adyen.v0.models.ThreeDSecureData; readonly selectedBrand?: string; readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo; readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData; readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel; readonly mcc?: string; readonly metadata?: any /*object*/; readonly captureDelayHours?: number; } interface AuthorizeRequest3D { readonly merchantAccount: string; readonly md: string; readonly paResponse: string; readonly shopperIP?: string; } interface AuthorizeRequest3Ds2 { readonly merchantAccount: string; readonly threeDS2Token: string; readonly threeDS2RequestData?: io.flow.adyen.v0.models.Threeds2RequestData; readonly threeDS2Result?: io.flow.adyen.v0.models.Threeds2Result; } interface AuthorizeRequestAdditionalData { readonly manualCapture?: boolean; readonly 'paywithgoogle.token'?: string; } interface AuthorizeResponse { readonly pspReference: string; readonly resultCode: io.flow.adyen.v0.enums.ResultCode; readonly authCode?: string; readonly refusalReason?: string; readonly cvcResult?: number; readonly avsResult?: number; readonly additionalData?: any /*object*/; readonly issuerUrl?: string; readonly md?: string; readonly paRequest?: string; } interface BankAccount { readonly countryCode: string; readonly ownerName: string; readonly bankLocationId: string; readonly bankAccountNumber: string; readonly bankName?: string; readonly bic?: string; } interface BrowserInfo3Ds1 { readonly discriminator: 'browser_info_3ds1'; readonly userAgent: string; readonly acceptHeader: string; } interface BrowserInfo3Ds2 { readonly discriminator: 'browser_info_3ds2'; readonly userAgent: string; readonly acceptHeader: string; readonly language: string; readonly javaEnabled: boolean; readonly colorDepth: number; readonly screenHeight: number; readonly screenWidth: number; readonly timeZoneOffset: number; } interface CancelRequest { readonly merchantAccount: string; readonly originalReference: string; readonly reference: string; } interface CancelResponse { readonly pspReference: string; readonly response: string; } interface Card { readonly expiryMonth: string; readonly expiryYear: string; readonly holderName: string; readonly number: string; readonly cvc?: string; readonly billingAddress?: io.flow.adyen.v0.models.Address; } interface ChallengeShopperAdditionalData { readonly 'threeds2.threeDS2Token': string; readonly 'threeds2.threeDS2ResponseData.threeDSServerTransID': string; readonly 'threeds2.threeDS2ResponseData.acsTransID': string; readonly 'threeds2.threeDS2ResponseData.messageVersion': string; } interface ChargebackNotificationAdditionalData { readonly chargebackReasonCode?: string; readonly modificationMerchantReferences: string; readonly chargebackSchemeCode?: string; readonly defensePeriodEndsAt?: string; readonly disputeStatus?: io.flow.adyen.v0.enums.DisputeStatus; readonly defendable?: string; } interface Error { readonly status: number; readonly errorCode: string; readonly message: string; readonly errorType: string; readonly pspReference?: string; } interface IdentifyShopperAdditionalData { readonly 'threeds2.fingerprintToken': string; readonly 'threeds2.threeDSServerTransID': string; readonly 'threeds2.threeDSMethodURL': string; } interface InnerNotificationRequestItem { readonly additionalData?: any /*object*/; readonly amount: io.flow.adyen.v0.models.Amount; readonly pspReference: string; readonly originalReference?: string; readonly eventCode: io.flow.adyen.v0.enums.EventCode; readonly eventDate: string; readonly merchantAccountCode: string; readonly operations?: io.flow.adyen.v0.enums.Operation[]; readonly merchantReference: string; readonly paymentMethod?: io.flow.adyen.v0.enums.PaymentMethod; readonly reason?: string; readonly success: string; readonly lifecycleStage?: io.flow.adyen.v0.enums.LifecycleStage; } interface ModificationRequest { readonly merchantAccount: string; readonly modificationAmount: io.flow.adyen.v0.models.Amount; readonly originalReference: string; readonly reference: string; } interface ModificationResponse { readonly pspReference: string; readonly response: string; } interface NotificationRequest { readonly live: string; readonly notificationItems: io.flow.adyen.v0.models.OuterNotificationRequestItem[]; } interface NotificationResponse { readonly notificationResponse: string; } interface OriginKeysRequest { readonly originDomains: string[]; } interface OriginKeysResponse { readonly originKeys: Record; } interface OuterNotificationRequestItem { readonly NotificationRequestItem: io.flow.adyen.v0.models.InnerNotificationRequestItem; } interface PaymentDetails { readonly details: any /*json*/; readonly paymentData?: string; } interface PaymentDetailsV663Ds2Challenge { readonly 'threeds2.challengeResult': string; } interface PaymentDetailsV663Ds2Fingerprint { readonly 'threeds2.fingerprint': string; } interface PaymentRequest { readonly reference: string; readonly merchantAccount: string; readonly amount: io.flow.adyen.v0.models.Amount; readonly paymentMethod?: io.flow.adyen.v0.unions.PaymentMethodData; readonly shopperStatement?: string; readonly shopperIP?: string; readonly shopperReference?: string; readonly shopperEmail?: string; readonly recurringExpiry?: string; readonly recurringFrequency?: string; readonly recurringProcessingModel?: io.flow.adyen.v0.enums.RecurringProcessingModel; readonly deliveryAddress?: io.flow.adyen.v0.models.Address; readonly billingAddress?: io.flow.adyen.v0.models.Address; readonly merchantOrderReference?: string; readonly shopperInteraction?: io.flow.adyen.v0.enums.ShopperInteraction; readonly additionalData?: io.flow.adyen.v0.models.ThreedsAdditionalData; readonly mpiData?: io.flow.adyen.v0.models.ThreeDSecureData; readonly browserInfo?: io.flow.adyen.v0.unions.BrowserInfo; readonly origin?: string; readonly channel?: io.flow.adyen.v0.enums.Channel; readonly returnUrl?: string; readonly mcc?: string; readonly metadata?: any /*object*/; readonly redirectToIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod; readonly redirectFromIssuerMethod?: io.flow.adyen.v0.enums.HttpRedirectMethod; readonly storePaymentMethod?: boolean; readonly captureDelayHours?: number; } interface PaymentResponse { readonly resultCode: io.flow.adyen.v0.enums.ResultCode; readonly pspReference?: string; readonly refusalReason?: string; readonly additionalData?: io.flow.adyen.v0.models.PaymentResponseAdditionalData; readonly authentication?: io.flow.adyen.v0.models.Authentication; readonly paymentData?: string; readonly refusalReasonCode?: string; readonly redirect?: io.flow.adyen.v0.models.Redirect; } interface PaymentResponseAdditionalData { readonly authCode?: string; readonly avsResultRaw?: string; readonly avsResult?: string; readonly cvcResultRaw?: string; readonly cvcResult?: string; readonly refusalReasonRaw?: string; readonly liabilityShift?: string; readonly threeDAuthenticated?: string; readonly threeDAuthenticatedResponse?: string; readonly threeDOffered?: string; readonly threeDOfferedResponse?: string; readonly threeDSVersion?: string; readonly eci?: string; readonly cavv?: string; readonly scaExemptionRequested?: string; readonly paymentMethod?: string; readonly paymentMethodVariant?: string; readonly tokenTxVariant?: string; readonly acquirerCode?: string; readonly acquirerAccountCode?: string; readonly cardPaymentMethod?: string; readonly coBrandedWith?: string; readonly cardIssuingCountry?: string; readonly cardIssuingCurrency?: string; readonly cardIssuingBank?: string; readonly cardBin?: string; readonly issuerBin?: string; readonly cardSummary?: string; readonly untokenisedCardSummary?: string; readonly expiryDate?: string; readonly cardHolderName?: string; readonly fundingSource?: string; readonly ownerName?: string; readonly bankName?: string; readonly issuerCountry?: string; readonly iban?: string; readonly bic?: string; readonly iDealConsumerAccountNumber?: string; readonly iDealConsumerBIC?: string; readonly iDealConsumerCity?: string; readonly iDealConsumerIBAN?: string; readonly iDealConsumerName?: string; readonly iDealTransactionId?: string; readonly 'recurring.recurringDetailReference'?: string; readonly 'recurring.shopperReference'?: string; readonly networkTxReference?: string; readonly PaymentAccountReference?: string; readonly 'networkToken.available'?: string; readonly 'networkToken.bin'?: string; readonly 'networkToken.tokenSummary'?: string; } interface Recurring { readonly contract: io.flow.adyen.v0.enums.Contract; } interface Redirect { readonly data?: io.flow.adyen.v0.models.RedirectData; readonly method?: io.flow.adyen.v0.enums.HttpRedirectMethod; readonly url?: string; } interface RedirectData { readonly PaReq?: string; readonly TermUrl?: string; readonly MD?: string; } interface RequestForInformationAdditionalData { readonly rfiSchemeCode: string; readonly modificationMerchantReferences: string; readonly rfiReasonCode: string; } interface Scheme { readonly type: 'scheme'; readonly expiryMonth: string; readonly expiryYear: string; readonly holderName: string; readonly number: string; readonly cvc?: string; readonly storedPaymentMethodId?: string; readonly networkPaymentReference?: string; } interface SdkV3OnCompleteData { readonly details: any /*object*/; readonly payment_data?: string; } interface SdkV3OnCompleteResult { readonly data: io.flow.adyen.v0.models.SdkV3OnCompleteData; } interface ThreeDSecureData { readonly authenticationResponse?: string; readonly cavv?: string; readonly cavvAlgorithm?: string; readonly directoryResponse?: string; readonly dsTransID?: string; readonly eci?: string; readonly threeDSVersion?: string; readonly xid?: string; } interface Threeds2RequestData { readonly deviceChannel?: io.flow.adyen.v0.enums.DeviceChannel; readonly notificationURL?: string; readonly threeDSCompInd?: io.flow.adyen.v0.enums.ThreedsCompletionIndicator; } interface Threeds2Result { readonly transStatus: string; } interface ThreedsAdditionalData { readonly executeThreeD?: boolean; readonly allow3DS2?: boolean; readonly manualCapture?: boolean; } } declare namespace io.flow.adyen.v0.unions { type BrowserInfo = | io.flow.adyen.v0.models.BrowserInfo3Ds1 | io.flow.adyen.v0.models.BrowserInfo3Ds2; type PaymentMethodData = | io.flow.adyen.v0.models.Scheme | io.flow.adyen.v0.models.Applepay; } declare namespace io.flow.order.management.v0.enums { type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel'; type FulfillmentItemQuantityStatus = 'new' | 'shipped' | 'cancelled'; type OrderChangeSource = | 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier'; } declare namespace io.flow.order.management.v0.models { interface Fulfillment { readonly organization: string; readonly key: string; readonly number: string; readonly items: io.flow.order.management.v0.models.FulfillmentItem[]; readonly center?: io.flow.fulfillment.v0.models.CenterSummary; } interface FulfillmentCancellationForm { readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource; readonly reason: io.flow.order.management.v0.enums.CancelReason; readonly lines: io.flow.order.management.v0.models.FulfillmentLineCancelForm[]; } interface FulfillmentCompleteCancellationForm { readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource; readonly reason: io.flow.order.management.v0.enums.CancelReason; } interface FulfillmentItem { readonly item_number: string; readonly line_number: number; readonly quantities: io.flow.order.management.v0.models.FulfillmentItemQuantity[]; } interface FulfillmentItemQuantity { readonly status: io.flow.order.management.v0.enums.FulfillmentItemQuantityStatus; readonly quantity: number; } interface FulfillmentLineCancelForm { readonly item_number?: string; readonly line_number?: string; readonly quantity: number; } interface OrderPlacedDetails { readonly id: string; readonly order: io.flow.experience.v0.models.Order; readonly allocation: io.flow.experience.v0.models.AllocationV2; } } declare namespace io.flow.shopify.external.v0.enums { type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other'; type DiscountStatus = 'enabled' | 'disabled' | 'depleted'; type DiscountType = 'fixed_amount' | 'percentage' | 'shipping'; type DiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other'; type Event = | 'cart' | 'checkout' | 'collection' | 'customer' | 'customer_saved_search' | 'fulfillment' | 'fulfillment_event' | 'order' | 'order_transaction' | 'product' | 'refund' | 'shop'; type FinancialStatusType = | 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided'; type Format = 'json' | 'xml'; type FulfillmentService = 'manual' | 'gift_card'; type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial'; type GraphqlWeightUnit = 'GRAMS' | 'KILOGRAMS' | 'OUNCES' | 'POUNDS'; type InventoryBehaviour = | 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy'; type InventoryManagement = 'blank' | 'shopify'; type InventoryPolicy = 'deny' | 'continue'; type KindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund'; type LocalizedPrice = | 'localized_item_price' | 'localized_item_vat' | 'localized_item_duty' | 'localized_total'; type OrderStatusType = 'open' | 'closed' | 'cancelled' | 'any'; type PriceRuleAllocationMethod = 'across' | 'each'; type PriceRuleCustomerSelection = 'all' | 'prerequisite'; type PriceRuleTargetSelection = 'all' | 'entitled'; type PriceRuleTargetType = 'line_item' | 'shipping_line'; type PriceRuleValueType = 'fixed_amount' | 'percentage'; type PublishedScope = 'global'; type RestockType = 'no_restock' | 'cancel' | 'return'; type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled'; type ShopifyDiscountPaginationDirection = 'next' | 'prev'; type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled'; type ShopifyPlanName = | 'basic' | 'business' | 'cancelled' | 'dormant' | 'enterprise' | 'fraudulent' | 'frozen' | 'npo_full' | 'npo_lite' | 'open_learning' | 'paid_trial' | 'professional' | 'retail' | 'shopify_alumni' | 'shopify_plus' | 'staff' | 'staff_business' | 'starter' | 'starter_2022' | 'unlimited'; type ShopifyProcessingMethodType = | 'checkout' | 'direct' | 'manual' | 'offsite' | 'express'; type ShopifyTransactionErrorCode = | 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card'; type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error'; type Topic = | 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/edited' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update'; type ValueType = 'string' | 'integer'; type WeightUnit = 'g' | 'kg' | 'oz' | 'lb'; } declare namespace io.flow.shopify.external.v0.models { interface Collection { readonly id: number; readonly handle: string; readonly title: string; readonly updated_at: string; readonly products_count: number; readonly collection_type: string; } interface CollectionWebhook { readonly id: number; readonly handle?: string; readonly title?: string; readonly published?: boolean; readonly published_at?: string; readonly updated_at?: string; } interface Count { readonly count: number; } interface GraphqlInferredProductCategory { readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory; } interface GraphqlInventoryItem { readonly id: string; readonly tracked: boolean; readonly requiresShipping?: boolean; readonly measurement: io.flow.shopify.external.v0.models.GraphqlMeasurement; } interface GraphqlMeasurement { readonly weight?: io.flow.shopify.external.v0.models.GraphqlWeight; } interface GraphqlMetafield { readonly id: string; readonly key: string; readonly value: string; readonly type?: string; } interface GraphqlMetaobject { readonly id: string; readonly displayName: string; readonly fields: io.flow.shopify.external.v0.models.GraphqlMetaobjectField[]; } interface GraphqlMetaobjectField { readonly key: string; readonly value?: string; readonly type?: string; } interface GraphqlOption { readonly id: string; readonly values: string[]; readonly name: string; readonly position: number; } interface GraphqlProduct { readonly id: string; readonly legacyResourceId: string; readonly handle: string; readonly variants?: io.flow.shopify.external.v0.models.GraphqlProductVariant[]; readonly images: io.flow.shopify.external.v0.models.GraphqlProductImage[]; readonly title: string; readonly vendor?: string; readonly descriptionHtml?: string; readonly productType?: string; readonly status?: string; readonly options: io.flow.shopify.external.v0.models.GraphqlOption[]; readonly tags?: string[]; readonly templateSuffix?: string; readonly publishedAt?: string; readonly createdAt: string; readonly updatedAt: string; readonly hasVariantsThatRequiresComponents?: boolean; readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory; readonly inferredProductCategory?: io.flow.shopify.external.v0.models.GraphqlInferredProductCategory; readonly metafields?: io.flow.shopify.external.v0.models.GraphqlMetafield[]; } interface GraphqlProductImage { readonly id: string; readonly url: string; readonly altText?: string; } interface GraphqlProductVariant { readonly id: string; readonly legacyResourceId: string; readonly sku?: string; readonly price: string; readonly title: string; readonly taxable: boolean; readonly compareAtPrice?: string; readonly barcode?: string; readonly compliance?: io.flow.shopify.external.v0.models.VariantCompliance[]; readonly inventoryPolicy: io.flow.shopify.external.v0.enums.InventoryPolicy; readonly inventoryQuantity?: number; readonly image?: io.flow.shopify.external.v0.models.GraphqlVariantImage; readonly inventoryItem: io.flow.shopify.external.v0.models.GraphqlInventoryItem; } interface GraphqlTaxonomyCategory { readonly id?: string; readonly name: string; readonly fullName: string; } interface GraphqlVariantImage { readonly id: string; } interface GraphqlWeight { readonly unit: io.flow.shopify.external.v0.enums.GraphqlWeightUnit; readonly value: number; } interface Metafield { readonly id: number; readonly key: string; readonly namespace: string; readonly value: string; readonly type: io.flow.shopify.external.v0.enums.ValueType; readonly description?: string; readonly owner_id: number; readonly owner_resource: string; } interface MetafieldForm { readonly key: string; readonly namespace: string; readonly value: string; readonly type: io.flow.shopify.external.v0.enums.ValueType; readonly description?: string; } interface Option { readonly id: number; readonly product_id: number; readonly name: string; readonly position: number; } interface PriceRule { readonly id: number; readonly value_type: io.flow.shopify.external.v0.enums.PriceRuleValueType; readonly target_type: io.flow.shopify.external.v0.enums.PriceRuleTargetType; readonly value: number; readonly starts_at: string; readonly ends_at?: string; readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange; readonly prerequisite_shipping_price_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange; readonly usage_limit?: number; readonly entitled_product_ids: number[]; readonly entitled_variant_ids: number[]; readonly entitled_collection_ids: number[]; readonly entitled_country_ids: number[]; readonly allocation_method: io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod; readonly once_per_customer: boolean; readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection; readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection; readonly customer_segment_prerequisite_ids?: number[]; readonly prerequisite_customer_ids?: number[]; readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange; readonly prerequisite_product_ids?: number[]; readonly prerequisite_variant_ids?: number[]; readonly prerequisite_collection_ids?: number[]; readonly prerequisite_to_entitlement_quantity_ratio?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementQuantityRatio; readonly prerequisite_to_entitlement_purchase?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementPurchase; readonly allocation_limit?: number; readonly title?: string; readonly created_at?: string; readonly updated_at?: string; } interface PriceRuleDiscountCode { readonly id: number; readonly price_rule_id: number; readonly code: string; readonly usage_count: number; readonly created_at: string; readonly updated_at: string; } interface PriceRuleForm { readonly price_rule: io.flow.shopify.external.v0.models.PriceRule; } interface PriceRuleGreaterThanRange { readonly greater_than?: number; readonly greater_than_or_equal_to?: number; } interface PriceRuleLessThanRange { readonly less_than?: number; readonly less_than_or_equal_to?: number; } interface PriceRulePrerequisiteToEntitlementPurchase { readonly prerequisite_amount?: string; } interface PriceRulePrerequisiteToEntitlementQuantityRatio { readonly prerequisite_quantity?: number; readonly entitled_quantity?: number; } interface Product { readonly id: number; readonly handle: string; readonly variants?: io.flow.shopify.external.v0.models.ProductVariant[]; readonly images: io.flow.shopify.external.v0.models.ProductImage[]; readonly title: string; readonly vendor?: string; readonly body_html?: string; readonly product_type?: string; readonly status?: string; readonly options: io.flow.shopify.external.v0.models.Option[]; readonly tags?: string; readonly template_suffix?: string; readonly published_scope?: io.flow.shopify.external.v0.enums.PublishedScope; readonly published_at?: string; readonly created_at: string; readonly updated_at: string; readonly has_variants_that_requires_components?: boolean; readonly category?: io.flow.shopify.external.v0.models.RestTaxonomyCategory; readonly metafields?: io.flow.shopify.external.v0.models.ProductMetafield[]; readonly variant_gids?: io.flow.shopify.external.v0.models.ProductVariantGid[]; } interface ProductDelete { readonly id: number; } interface ProductImage { readonly id: number; readonly product_id: number; readonly variant_ids: number[]; readonly src?: string; readonly position?: number; readonly created_at?: string; readonly updated_at?: string; readonly alt?: string; } interface ProductMetafield { readonly id: number; readonly namespace: string; readonly key: string; readonly value: string; readonly created_at: string; readonly updated_at: string; readonly type: string; readonly admin_graphql_api_id: string; } interface ProductVariant { readonly id: number; readonly sku?: string; readonly product_id: number; readonly price: number; readonly title: string; readonly taxable: boolean; readonly compare_at_price?: number; readonly grams?: number; readonly image_id?: number; readonly barcode?: string; readonly barcodes?: io.flow.shopify.external.v0.models.VariantBarcode[]; readonly compliance?: io.flow.shopify.external.v0.models.VariantCompliance[]; readonly fulfillment_service?: io.flow.shopify.external.v0.enums.FulfillmentService; readonly inventory_management?: io.flow.shopify.external.v0.enums.InventoryManagement; readonly inventory_policy: io.flow.shopify.external.v0.enums.InventoryPolicy; readonly weight?: number; readonly weight_unit?: io.flow.shopify.external.v0.enums.WeightUnit; readonly inventory_item_id?: number; readonly inventory_quantity?: number; readonly metafield?: io.flow.shopify.external.v0.models.MetafieldForm[]; readonly option1?: string; readonly option2?: string; readonly option3?: string; readonly requires_shipping?: boolean; readonly metafields?: io.flow.shopify.external.v0.models.Metafield[]; } interface ProductVariantGid { readonly admin_graphql_api_id: string; readonly updated_at: string; } interface RequestMetafieldForm { readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm; } interface RequestShopifyGiftCard { readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCardForm; } interface RequestShopifyRefundForm { readonly refund: io.flow.shopify.external.v0.models.ShopifyRefundForm; } interface RequestShopifyTransactionForm { readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransactionForm; } interface ResponseCollection { readonly collection: io.flow.shopify.external.v0.models.Collection; } interface ResponseMetafield { readonly metafield: io.flow.shopify.external.v0.models.Metafield; } interface ResponseMetafields { readonly metafields: io.flow.shopify.external.v0.models.Metafield[]; } interface ResponseOrdersWrapper { readonly orders: io.flow.shopify.external.v0.models.ShopifyOrder[]; } interface ResponsePriceRule { readonly price_rule: io.flow.shopify.external.v0.models.PriceRule; } interface ResponsePriceRuleDiscountCode { readonly discount_code: io.flow.shopify.external.v0.models.PriceRuleDiscountCode; } interface ResponsePriceRuleDiscountCodes { readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[]; } interface ResponsePriceRules { readonly price_rules: io.flow.shopify.external.v0.models.PriceRule[]; } interface ResponseProduct { readonly product: io.flow.shopify.external.v0.models.Product; } interface ResponseProducts { readonly products: io.flow.shopify.external.v0.models.Product[]; } interface ResponseShopifyGiftCard { readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCard; } interface ResponseShopifyGiftCards { readonly gift_cards: io.flow.shopify.external.v0.models.ShopifyGiftCard[]; } interface ResponseShopifyRefundSingle { readonly refund: io.flow.shopify.external.v0.models.ShopifyRefund; } interface ResponseShopifyTransaction { readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransaction[]; } interface ResponseShopifyTransactionSingle { readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransaction; } interface ResponseSmartCollection { readonly smart_collections: io.flow.shopify.external.v0.models.SmartCollection[]; } interface ResponseVariant { readonly variant: io.flow.shopify.external.v0.models.ProductVariant; } interface RestTaxonomyCategory { readonly name: string; readonly full_name: string; readonly admin_graphql_api_id?: string; } interface Shop { readonly id: number; readonly domain: string; readonly myshopify_domain: string; readonly name: string; readonly primary_locale: string; readonly currency: string; readonly country_code: string; } interface ShopResponse { readonly shop: io.flow.shopify.external.v0.models.Shop; } interface ShopifyAddress { readonly id?: number; readonly address1?: string; readonly address2?: string; readonly city?: string; readonly company?: string; readonly country?: string; readonly country_code?: string; readonly default?: boolean; readonly first_name?: string; readonly last_name?: string; readonly latitude?: number; readonly longitude?: number; readonly name?: string; readonly phone?: string; readonly province?: string; readonly province_code?: string; readonly zip?: string; } interface ShopifyAttribute { readonly name: string; readonly value: string; } interface ShopifyCartItemDiscount { readonly amount: number; readonly title: string; } interface ShopifyClientDetail { readonly accept_language?: boolean; readonly browser_height?: number; readonly browser_ip?: string; readonly browser_width?: number; readonly session_hash?: string; readonly user_agent?: string; } interface ShopifyCountryHarmonizedSystemCode { readonly country_code: string; readonly harmonized_system_code: string; } interface ShopifyCustomer { readonly id: number; readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[]; readonly created_at: string; readonly tags: string; readonly tax_exempt: boolean; readonly verified_email: boolean; readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState; readonly accepts_marketing?: boolean; readonly default_address?: any /*object*/; readonly email?: string; readonly first_name?: string; readonly last_name?: string; readonly last_order_id?: number; readonly last_order_name?: string; readonly note?: string; readonly orders_count?: number; readonly phone?: string; readonly total_spent?: string; readonly updated_at?: string; } interface ShopifyCustomerAddress { readonly id: number; readonly customer_id: number; readonly default: boolean; readonly address1?: string; readonly address2?: string; readonly city?: string; readonly company?: string; readonly first_name?: string; readonly last_name?: string; readonly name?: string; readonly phone?: string; readonly country?: string; readonly country_code?: string; readonly country_name?: string; readonly province?: string; readonly province_code?: string; readonly zip?: string; } interface ShopifyCustomerDelete { readonly id: number; } interface ShopifyCustomersResponseWrapper { readonly customers: io.flow.shopify.external.v0.models.ShopifyCustomer[]; } interface ShopifyDiscountApplication { readonly type: string; readonly key: string; readonly title: string; readonly description?: string; readonly value: string; readonly created_at: string; readonly value_type: string; readonly allocation_method: string; readonly target_selection: string; readonly target_type: string; readonly total_allocated_amount: number; } interface ShopifyDiscountCode { readonly amount: string; readonly code: string; readonly type: io.flow.shopify.external.v0.enums.DiscountType; } interface ShopifyError { readonly errors: any /*object*/; } interface ShopifyExternalCart { readonly token?: string; readonly note?: string; readonly attributes?: any /*object*/; readonly items_subtotal_price?: number; readonly total_price: number; readonly total_weight: number; readonly total_discount: number; readonly original_total_price: number; readonly item_count: number; readonly requires_shipping: boolean; readonly currency?: string; readonly items: io.flow.shopify.external.v0.models.ShopifyExternalCartItem[]; readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[]; } interface ShopifyExternalCartItem { readonly id: number; readonly title: string; readonly key?: string; readonly price: number; readonly line_price: number; readonly final_price: number; readonly final_line_price: number; readonly original_price: number; readonly original_line_price: number; readonly total_discount: number; readonly discounted_price: number; readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[]; readonly taxable: boolean; readonly quantity: number; readonly sku?: string; readonly grams?: number; readonly vendor?: string; readonly properties?: any /*object*/; readonly variant_id?: number; readonly gift_card: boolean; readonly url: string; readonly image?: string; readonly handle: string; readonly requires_shipping: boolean; readonly product_id: number; readonly product_title: string; readonly product_description?: string; readonly product_type: string; readonly variant_title?: string; readonly variant_options?: string[]; readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[]; } interface ShopifyFulfillment { readonly location_id: number; readonly created_at?: string; readonly id?: number; readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItem[]; readonly order_id?: number; readonly receipt?: any /*object*/; readonly status?: string; readonly tracking_company?: string; readonly tracking_number?: string; readonly tracking_numbers?: string[]; readonly tracking_url?: string; readonly tracking_urls?: string[]; readonly updated_at?: string; readonly notify_customer?: boolean; } interface ShopifyFulfillmentWrapper { readonly fulfillment: io.flow.shopify.external.v0.models.ShopifyFulfillment; } interface ShopifyGiftCard { readonly id: number; readonly balance: number; readonly currency: string; readonly initial_value: number; readonly last_characters: string; readonly created_at: string; readonly updated_at: string; readonly api_client_id?: number; readonly code?: string; readonly customer_id?: number; readonly disabled_at?: string; readonly expires_on?: string; readonly line_item_id?: number; readonly note?: string; readonly order_id?: number; readonly template_suffix?: string; readonly user_id?: number; } interface ShopifyGiftCardAdjustment { readonly id: number; readonly gift_card_id: number; readonly number: number; readonly amount: number; readonly created_at: string; readonly processed_at: string; readonly note?: string; readonly remote_transaction_ref?: string; readonly remote_transaction_url?: string; readonly api_client_id?: number; readonly user_id?: number; readonly order_transaction_id?: number; } interface ShopifyGiftCardAdjustmentForm { readonly amount: number; readonly note?: string; readonly order_transaction_id?: number; readonly processed_at?: string; } interface ShopifyGiftCardAdjustmentFormWrapper { readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm; } interface ShopifyGiftCardAdjustmentResponseWrapper { readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment; } interface ShopifyGiftCardAdjustmentsResponseWrapper { readonly adjustments: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment[]; } interface ShopifyGiftCardForm { readonly initial_value: number; readonly code?: string; readonly note?: string; readonly template_suffix?: string; } interface ShopifyInventoryItem { readonly id: number; readonly tracked: boolean; readonly sku?: string; readonly cost?: string; readonly country_code_of_origin?: string; readonly created_at: string; readonly updated_at?: string; } interface ShopifyInventoryItemDelete { readonly id: number; } interface ShopifyInventoryItemSummary { readonly country_code_of_origin?: string; readonly country_harmonized_system_codes?: io.flow.shopify.external.v0.models.ShopifyCountryHarmonizedSystemCode[]; readonly harmonized_system_code?: string; readonly updated_at: string; readonly requires_shipping: boolean; } interface ShopifyInventoryLevel { readonly inventory_item_id: number; readonly location_id: number; readonly updated_at: string; readonly available?: number; } interface ShopifyInventoryLevelDisconnect { readonly inventory_item_id: number; readonly location_id: number; } interface ShopifyInventoryLevelResponseWrapper { readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[]; } interface ShopifyLineItem { readonly id: number; readonly quantity: number; readonly fulfillable_quantity?: number; readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType; readonly grams?: number; readonly price?: string; readonly product_id?: number; readonly requires_shipping: boolean; readonly sku?: string; readonly title?: string; readonly variant_id?: number; readonly variant_title?: string; readonly vendor?: string; readonly name?: string; readonly gift_card: boolean; readonly properties: io.flow.shopify.external.v0.models.ShopifyProperty[]; readonly taxable: boolean; readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[]; readonly total_discount?: string; } interface ShopifyLineItemForm { readonly fulfillable_quantity?: number; readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType; readonly grams?: number; readonly price?: string; readonly product_id?: number; readonly quantity?: number; readonly requires_shipping: boolean; readonly sku?: string; readonly title?: string; readonly variant_id?: number; readonly variant_title?: string; readonly vendor?: string; readonly name?: string; readonly gift_card: boolean; readonly properties?: io.flow.shopify.external.v0.models.ShopifyProperty[]; readonly taxable: boolean; readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[]; readonly total_discount?: string; readonly id?: number; } interface ShopifyLineLevelDiscountAllocation { readonly amount: number; readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication; } interface ShopifyLocation { readonly active: boolean; readonly address1?: string; readonly address2?: string; readonly city?: string; readonly country?: string; readonly country_code?: string; readonly created_at: string; readonly id: number; readonly legacy: boolean; readonly name: string; readonly phone?: string; readonly province?: string; readonly province_code?: string; readonly updated_at?: string; readonly zip?: string; readonly localized_country_name?: string; readonly localized_province_name?: string; } interface ShopifyLocationDelete { readonly id: number; } interface ShopifyLocationsResponseWrapper { readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[]; } interface ShopifyOrder { readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress; readonly browser_ip?: string; readonly buyer_accepts_marketing: boolean; readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason; readonly cancelled_at?: string; readonly cart_token?: string; readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail; readonly closed_at?: string; readonly created_at?: string; readonly currency?: string; readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer; readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[]; readonly email?: string; readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType; readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[]; readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType; readonly id?: number; readonly landing_site?: string; readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[]; readonly location_id?: number; readonly name?: string; readonly note?: string; readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[]; readonly number?: number; readonly order_number?: number; readonly payment_gateway_names: string[]; readonly processed_at?: string; readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType; readonly referring_site?: string; readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[]; readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress; readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[]; readonly source_name?: string; readonly subtotal_price?: string; readonly tags?: string; readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[]; readonly taxes_included: boolean; readonly token?: string; readonly total_discounts?: string; readonly total_line_items_price?: string; readonly total_price?: string; readonly total_tax?: string; readonly total_weight?: number; readonly updated_at?: string; readonly user_id?: number; readonly order_status_url?: string; readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour; readonly gateway?: string; readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[]; readonly send_receipt?: boolean; readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[]; } interface ShopifyOrderCount { readonly count: number; } interface ShopifyOrderCustomer { readonly email?: string; readonly first_name?: string; readonly last_name?: string; readonly phone?: string; } interface ShopifyOrderWrapper { readonly order: io.flow.shopify.external.v0.models.ShopifyOrder; } interface ShopifyPaymentDetail { readonly avs_result_code?: string; readonly credit_card_bin?: string; readonly credit_card_company: string; readonly credit_card_number: string; readonly cvv_result_code?: string; } interface ShopifyProperty { readonly name: string; readonly value: any /*json*/; } interface ShopifyRefund { readonly id: number; readonly order_id: number; readonly created_at: string; readonly processed_at: string; readonly note?: string; readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[]; readonly restock?: boolean; readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[]; readonly user_id?: number; } interface ShopifyRefundForm { readonly note?: string; readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason; readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[]; readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[]; readonly currency: string; } interface ShopifyRefundLineItem { readonly id: number; readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem; readonly line_item_id: number; readonly quantity: number; readonly restock_type: io.flow.shopify.external.v0.enums.RestockType; readonly location_id?: number; readonly subtotal?: number; readonly total_tax?: number; } interface ShopifyRefundLineItemForm { readonly line_item_id: number; readonly quantity: number; readonly restock_type: io.flow.shopify.external.v0.enums.RestockType; readonly location_id?: number; } interface ShopifyShippingLine { readonly code: string; readonly price: string; readonly source: string; readonly title: string; readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[]; readonly carrier_identifier?: string; } interface ShopifyShopUpdate { readonly id: number; readonly plan_display_name: string; readonly plan_name: io.flow.shopify.external.v0.enums.ShopifyPlanName; } interface ShopifyTaxLine { readonly price: string; readonly rate: number; readonly title: string; } interface ShopifyTransaction { readonly id: number; readonly order_id: number; readonly amount: number; readonly kind: io.flow.shopify.external.v0.enums.KindType; readonly gateway: string; readonly currency: string; readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus; readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail; readonly receipt: any /*object*/; readonly authorization?: string; readonly created_at: string; readonly device_id?: number; readonly gift_card_id?: number; readonly source_name: string; readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode; readonly test: boolean; readonly parent_id?: number; readonly user_id?: number; } interface ShopifyTransactionForm { readonly amount: number; readonly currency: string; readonly gateway: string; readonly kind: io.flow.shopify.external.v0.enums.KindType; readonly source: string; readonly authorization?: string; readonly gift_card_id?: number; readonly parent_id?: number; readonly receipt?: any /*object*/; } interface ShopifyTransactionGiftCardReceipt { readonly gift_card_id: number; readonly gift_card_last_characters: string; } interface ShopifyWebhookCustomersRedact { readonly shop_id: number; readonly shop_domain: string; readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer; readonly orders_to_redact?: number[]; } interface ShopifyWebhookCustomersRedactCustomer { readonly id: number; readonly email?: string; readonly phone?: string; } interface ShopifyWebhookOrder { readonly id?: number; readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[]; } interface ShopifyWebhookOrderCancelled { readonly id: number; } interface ShopifyWebhookOrderLineItem { readonly fulfillable_quantity?: number; readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType; readonly product_id?: number; readonly quantity?: number; readonly requires_shipping: boolean; readonly variant_id?: number; } interface ShopifyWebhookShopRedact { readonly shop_id: number; readonly shop_domain: string; } interface SmartCollection { readonly id: number; readonly handle: string; readonly title: string; readonly updated_at: string; } interface VariantBarcode { readonly value: string; readonly type?: string; } interface VariantCompliance { readonly key: string; readonly value: string; } interface Webhook { readonly address: string; readonly created_at: string; readonly format: io.flow.shopify.external.v0.enums.Format; readonly id: number; readonly topic: io.flow.shopify.external.v0.enums.Topic; readonly updated_at: string; readonly fields?: string[]; readonly metafield_namespaces?: string[]; } interface WebhookForm { readonly topic: io.flow.shopify.external.v0.enums.Topic; readonly address: string; readonly format: io.flow.shopify.external.v0.enums.Format; readonly metafield_namespaces?: string[]; } interface WebhookFormWrapper { readonly webhook: io.flow.shopify.external.v0.models.WebhookForm; } interface WebhookResponseList { readonly webhooks: io.flow.shopify.external.v0.models.Webhook[]; } interface WebhookResponseSingle { readonly webhook: io.flow.shopify.external.v0.models.Webhook; } } declare namespace io.flow.shopify.markets.v0.enums { type BulkOperationErrorCode = | 'access_denied' | 'internal_server_error' | 'timeout'; type BulkOperationStatus = | 'canceled' | 'canceling' | 'completed' | 'created' | 'expired' | 'failed' | 'running'; type BulkOperationType = 'mutation' | 'query'; type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other'; type FulfillmentOrderDeliveryMethodType = | 'local' | 'none' | 'pick_up' | 'retail' | 'shipping'; type IncotermDuties = 'DAP' | 'DDP'; type ShopifyDiscountValueType = 'fixed_amount' | 'percentage'; type ShopifyDiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other'; type ShopifyDraftOrderStatus = | 'open' | 'invoice_sent' | 'completed' | 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided'; type ShopifyOrderCancelReason = | 'customer' | 'fraud' | 'inventory' | 'declined' | 'other'; type ShopifyOrderDiscountAllocationMethod = 'across' | 'each' | 'one'; type ShopifyOrderDiscountApplicationTargetSelection = | 'all' | 'entitled' | 'explicit'; type ShopifyOrderDiscountApplicationTargetType = | 'line_item' | 'shipping_line'; type ShopifyOrderDiscountApplicationType = | 'automatic' | 'discount_code' | 'manual' | 'script'; type ShopifyOrderDiscountApplicationValueType = 'fixed_amount' | 'percentage'; type ShopifyOrderDiscountType = 'fixed_amount' | 'percentage' | 'shipping'; type ShopifyOrderFinancialStatusType = | 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided'; type ShopifyOrderFulfillmentOrderRequestStatus = | 'unsubmitted' | 'submitted' | 'accepted' | 'rejected' | 'cancellation_requested' | 'cancellation_accepted' | 'cancellation_rejected' | 'closed'; type ShopifyOrderFulfillmentOrderStatus = | 'open' | 'in_progress' | 'scheduled' | 'cancelled' | 'on_hold' | 'incomplete' | 'closed'; type ShopifyOrderFulfillmentShipmentStatus = | 'label_printed' | 'label_purchased' | 'attempted_delivery' | 'ready_for_pickup' | 'confirmed' | 'in_transit' | 'out_for_delivery' | 'delivered' | 'failure'; type ShopifyOrderFulfillmentStatus = | 'pending' | 'open' | 'success' | 'cancelled' | 'error' | 'failure'; type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial'; type ShopifyOrderInventoryBehaviour = | 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy'; type ShopifyOrderKindType = | 'authorization' | 'capture' | 'sale' | 'void' | 'refund'; type ShopifyOrderPaymentGatewayNames = | 'flow_commerce' | 'gift_card' | 'manual' | 'shopify_payments' | 'shop_cash' | 'shopify_store_credit'; type ShopifyOrderProcessingMethodType = | 'checkout' | 'direct' | 'manual' | 'offsite' | 'express' | 'deferred_payment'; type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return'; type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any'; type ShopifyOrderTransactionErrorCode = | 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card'; type ShopifyOrderTransactionStatus = | 'pending' | 'failure' | 'success' | 'error'; type ShopifyOrderValueType = 'string' | 'integer'; type ShopifyTaxExemptions = | 'EXEMPT_ALL' | 'CA_STATUS_CARD_EXEMPTION' | 'CA_DIPLOMAT_EXEMPTION' | 'CA_BC_RESELLER_EXEMPTION' | 'CA_MB_RESELLER_EXEMPTION' | 'CA_SK_RESELLER_EXEMPTION' | 'CA_BC_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_MB_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_NS_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_PE_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_SK_COMMERCIAL_FISHERY_EXEMPTION' | 'CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION' | 'CA_BC_SUB_CONTRACTOR_EXEMPTION' | 'CA_SK_SUB_CONTRACTOR_EXEMPTION' | 'CA_BC_CONTRACTOR_EXEMPTION' | 'CA_SK_CONTRACTOR_EXEMPTION' | 'CA_ON_PURCHASE_EXEMPTION' | 'CA_MB_FARMER_EXEMPTION' | 'CA_NS_FARMER_EXEMPTION' | 'CA_SK_FARMER_EXEMPTION'; type ShopifyWebhookFormat = 'json' | 'xml'; type ShopifyWebhookTopic = | 'customers/redact' | 'customers/data_request' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'orders/delete' | 'orders/edited' | 'orders/risk_assessment_changed' | 'products/create' | 'products/delete' | 'products/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'refunds/create' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'shop/redact' | 'themes/create' | 'themes/publish' | 'themes/update' | 'bulk_operations/finish' | 'shop/update' | 'managed_markets_adaptive_pricing/updated'; } declare namespace io.flow.shopify.markets.v0.models { interface FulfillmentOrderInternationalDuties { readonly incoterm?: io.flow.shopify.markets.v0.enums.IncotermDuties; } interface FulfillmentOrderLineItem { readonly id: number; readonly shop_id: number; readonly fulfillment_order_id: number; readonly line_item_id: number; readonly inventory_item_id?: number; readonly quantity: number; readonly fulfillable_quantity: number; readonly variant_id?: number; } interface ResponseShopifyTransactions { readonly transactions: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[]; } interface Shop { readonly id: number; readonly name: string; readonly email?: string; readonly domain: string; readonly province?: string; readonly country?: string; readonly address1?: string; readonly zip?: string; readonly city?: string; readonly source?: string; readonly phone?: string; readonly primary_locale?: string; readonly address2?: string; readonly created_at?: string; readonly updated_at?: string; readonly country_code?: string; readonly country_name?: string; readonly currency?: string; readonly customer_email?: string; readonly timezone?: string; readonly iana_timezone?: string; readonly shop_owner?: string; readonly money_format?: string; readonly money_with_currency_format?: string; readonly weight_unit?: string; readonly province_code?: string; readonly taxes_included?: boolean; readonly auto_configure_tax_inclusivity?: boolean; readonly tax_shipping?: boolean; readonly county_taxes?: boolean; readonly has_discounts?: boolean; readonly has_gift_cards?: boolean; readonly myshopify_domain: string; readonly money_in_emails_format?: string; readonly money_with_currency_in_emails_format?: string; readonly eligible_for_payments?: boolean; } interface ShopWrapper { readonly shop: io.flow.shopify.markets.v0.models.Shop; } interface ShopifyAdaptivePricingDestination { readonly country_code: string; readonly updated_at: string; readonly tax_and_duty_coefficient: string; readonly fees_coefficient: string; readonly merchant_subsidy_amount: string; readonly merchant_subsidy_currency: string; readonly adaptive_pricing_enabled: boolean; readonly adaptive_shipping_enabled: boolean; } interface ShopifyAdaptivePricingDestinationsWrapper { readonly destinations: io.flow.shopify.markets.v0.models.ShopifyAdaptivePricingDestination[]; } interface ShopifyAppliedDiscount { readonly title?: string; readonly description?: string; readonly value?: string; readonly value_type?: io.flow.shopify.markets.v0.enums.ShopifyDiscountValueType; readonly amount?: number; } interface ShopifyBulkOperationsFinish { readonly admin_graphql_api_id: string; readonly completed_at?: string; readonly created_at: string; readonly error_code?: io.flow.shopify.markets.v0.enums.BulkOperationErrorCode; readonly status: io.flow.shopify.markets.v0.enums.BulkOperationStatus; readonly type: io.flow.shopify.markets.v0.enums.BulkOperationType; } interface ShopifyCountryHarmonizedSystemCode { readonly country_code: string; readonly harmonized_system_code: string; } interface ShopifyDraftOrder { readonly applied_discount: io.flow.shopify.markets.v0.models.ShopifyAppliedDiscount; readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress; readonly completed_at?: string; readonly created_at?: string; readonly currency?: string; readonly customer?: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer; readonly email?: string; readonly id?: number; readonly invoice_sent_at?: string; readonly invoice_url?: string; readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[]; readonly name?: string; readonly note?: string; readonly note_attributes: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[]; readonly order_id: io.flow.shopify.markets.v0.models.ShopifyOrderId; readonly payment_terms: io.flow.shopify.markets.v0.models.ShopifyPaymentTerms; readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress; readonly shipping_lines: io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine[]; readonly source_name?: string; readonly subtotal_price?: string; readonly status?: io.flow.shopify.markets.v0.enums.ShopifyDraftOrderStatus; readonly tags?: string; readonly tax_exemptions?: io.flow.shopify.markets.v0.enums.ShopifyTaxExemptions[]; readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[]; readonly taxes_included: boolean; readonly total_price?: string; readonly total_tax?: string; readonly updated_at?: string; } interface ShopifyDraftOrderCount { readonly count: number; } interface ShopifyDraftOrdersWrapper { readonly draft_orders: io.flow.shopify.markets.v0.models.ShopifyDraftOrder[]; } interface ShopifyError { readonly errors: any /*object*/; } interface ShopifyFulfillmentOrder { readonly id?: number; readonly assigned_location_id?: number; readonly international_duties?: io.flow.shopify.markets.v0.models.FulfillmentOrderInternationalDuties; readonly line_items?: io.flow.shopify.markets.v0.models.FulfillmentOrderLineItem[]; readonly order_id?: number; } interface ShopifyFulfillmentOrderLineItem { readonly line_item_id: number; } interface ShopifyFulfillmentOrderOld { readonly assigned_location_id: number; readonly line_items: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrderLineItem[]; } interface ShopifyFulfillmentOrdersWrapper { readonly fulfillment_orders: io.flow.shopify.markets.v0.models.ShopifyFulfillmentOrder[]; } interface ShopifyInventoryItem { readonly id: number; readonly cost?: string; readonly country_code_of_origin?: string; readonly country_harmonized_system_codes?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[]; readonly harmonized_system_code?: string; readonly province_code_of_origin?: string; readonly sku?: string; readonly tracked?: boolean; readonly requires_shipping: boolean; readonly created_at: string; readonly updated_at: string; } interface ShopifyInventoryItemForm { readonly harmonized_system_code?: string; readonly country_harmonized_system_codes?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[]; } interface ShopifyInventoryItemFormWrapper { readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItemForm; } interface ShopifyInventoryItemWrapper { readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItem; } interface ShopifyInventoryItemsWrapper { readonly inventory_items: io.flow.shopify.markets.v0.models.ShopifyInventoryItem[]; } interface ShopifyLocation { readonly active: boolean; readonly address1?: string; readonly address2?: string; readonly city?: string; readonly country?: string; readonly country_code?: string; readonly created_at: string; readonly id: number; readonly legacy: boolean; readonly name: string; readonly phone?: string; readonly province?: string; readonly province_code?: string; readonly updated_at?: string; readonly zip?: string; readonly localized_country_name?: string; readonly localized_province_name?: string; } interface ShopifyLocationDelete { readonly id: number; } interface ShopifyLocationsResponseWrapper { readonly locations: io.flow.shopify.markets.v0.models.ShopifyLocation[]; } interface ShopifyOrder { readonly id: number; readonly order_number: number; readonly checkout_id?: number; readonly checkout_token?: string; readonly billing_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress; readonly browser_ip?: string; readonly buyer_accepts_marketing: boolean; readonly cancel_reason?: io.flow.shopify.markets.v0.enums.ShopifyOrderCancelReason; readonly cancelled_at?: string; readonly cart_token?: string; readonly client_details?: io.flow.shopify.markets.v0.models.ShopifyOrderClientDetail; readonly closed_at?: string; readonly created_at: string; readonly currency: string; readonly total_discounts_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly current_total_discounts_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly current_total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly original_total_duties_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly total_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly current_total_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly subtotal_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly current_subtotal_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly total_tax_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly current_total_tax_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly total_line_items_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly customer?: io.flow.shopify.markets.v0.models.ShopifyOrderCustomer; readonly customer_locale?: string; readonly discount_applications: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountApplication[]; readonly discount_codes: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountCode[]; readonly email?: string; readonly financial_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFinancialStatusType; readonly fulfillments: io.flow.shopify.markets.v0.models.ShopifyOrderFulfillment[]; readonly fulfillment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType; readonly landing_site?: string; readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[]; readonly location_id?: number; readonly name: string; readonly note?: string; readonly note_attributes: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[]; readonly number?: number; readonly payment_gateway_names: string[]; readonly processed_at?: string; readonly processing_method?: io.flow.shopify.markets.v0.enums.ShopifyOrderProcessingMethodType; readonly referring_site?: string; readonly refunds: io.flow.shopify.markets.v0.models.ShopifyOrderRefund[]; readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress; readonly shipping_lines: io.flow.shopify.markets.v0.models.ShopifyOrderShippingLine[]; readonly source_name?: string; readonly tags?: string; readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[]; readonly taxes_included: boolean; readonly test?: boolean; readonly token?: string; readonly total_weight?: number; readonly updated_at?: string; readonly user_id?: number; readonly order_status_url?: string; readonly inventory_behaviour?: io.flow.shopify.markets.v0.enums.ShopifyOrderInventoryBehaviour; readonly gateway?: string; readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[]; readonly send_receipt?: boolean; readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafield[]; readonly merchant_of_record_app_id?: number; readonly total_shipping_price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly current_shipping_price_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly total_tip_received?: string; } interface ShopifyOrderAddress { readonly id?: number; readonly address1?: string; readonly address2?: string; readonly city?: string; readonly company?: string; readonly country?: string; readonly country_code?: string; readonly default?: boolean; readonly first_name?: string; readonly last_name?: string; readonly latitude?: number; readonly longitude?: number; readonly name?: string; readonly phone?: string; readonly province?: string; readonly province_code?: string; readonly zip?: string; } interface ShopifyOrderAttribute { readonly name: string; readonly value: any /*json*/; } interface ShopifyOrderCancellationForm { readonly refund: io.flow.shopify.markets.v0.models.ShopifyRefund; } interface ShopifyOrderClientDetail { readonly accept_language?: string; readonly browser_height?: number; readonly browser_ip?: string; readonly browser_width?: number; readonly session_hash?: string; readonly user_agent?: string; } interface ShopifyOrderCount { readonly count: number; } interface ShopifyOrderCustomer { readonly id?: number; readonly email?: string; readonly accepts_marketing?: boolean; readonly created_at?: string; readonly updated_at?: string; readonly first_name?: string; readonly last_name?: string; readonly state?: string; readonly note?: string; readonly verified_email?: boolean; readonly multipass_identifier?: string; readonly tax_exempt?: boolean; readonly tax_exemptions?: any /*json*/[]; readonly phone?: string; readonly tags?: string; readonly currency?: string; readonly addresses?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress; readonly default_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress; } interface ShopifyOrderDiscountAllocation { readonly amount: string; readonly discount_application_index: number; readonly amount_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; } interface ShopifyOrderDiscountApplication { readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationType; readonly allocation_method: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountAllocationMethod; readonly code?: string; readonly description?: string; readonly target_selection: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationTargetSelection; readonly target_type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationTargetType; readonly title?: string; readonly value: string; readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountApplicationValueType; } interface ShopifyOrderDiscountCode { readonly amount: string; readonly code: string; readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderDiscountType; } interface ShopifyOrderDuty { readonly id: number; readonly harmonized_system_code?: string; readonly country_code_of_origin?: string; readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[]; } interface ShopifyOrderEdit { readonly id: number; readonly created_at: string; readonly notify_customer: boolean; readonly order_id: number; readonly staff_note?: string; readonly user_id?: number; readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItems; readonly discounts: any /*object*/; readonly shipping_lines: any /*object*/; readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderEditShippingAddress; } interface ShopifyOrderEditLineItems { readonly additions: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItemsChange[]; readonly removals: io.flow.shopify.markets.v0.models.ShopifyOrderEditLineItemsChange[]; } interface ShopifyOrderEditLineItemsChange { readonly id: number; readonly delta: number; } interface ShopifyOrderEditShippingAddress { readonly changed: boolean; } interface ShopifyOrderEditWrapper { readonly order_edit: io.flow.shopify.markets.v0.models.ShopifyOrderEdit; } interface ShopifyOrderFulfillment { readonly created_at?: string; readonly id?: number; readonly line_items: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem[]; readonly location_id: number; readonly name: string; readonly notify_customer?: boolean; readonly order_id?: number; readonly receipt?: any /*object*/; readonly service: string; readonly shipment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentShipmentStatus; readonly status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatus; readonly tracking_company?: string; readonly tracking_number?: string; readonly tracking_numbers?: string[]; readonly tracking_urls?: string[]; readonly updated_at?: string; readonly variant_inventory_management?: string; } interface ShopifyOrderId { readonly id: number; } interface ShopifyOrderLineItem { readonly current_quantity?: number; readonly fulfillable_quantity?: number; readonly fulfillment_status?: io.flow.shopify.markets.v0.enums.ShopifyOrderFulfillmentStatusType; readonly grams?: number; readonly id: number; readonly price?: string; readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly product_id?: number; readonly quantity: number; readonly requires_shipping: boolean; readonly sku?: string; readonly title?: string; readonly variant_id?: number; readonly variant_title?: string; readonly vendor?: string; readonly name: string; readonly gift_card: boolean; readonly properties: io.flow.shopify.markets.v0.models.ShopifyOrderProperty[]; readonly taxable: boolean; readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[]; readonly tip_payment_gateway?: string; readonly tip_payment_method?: string; readonly total_discount?: string; readonly total_discount_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly discount_allocations?: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountAllocation[]; readonly variant_inventory_management?: string; readonly product_exists?: boolean; readonly duties: io.flow.shopify.markets.v0.models.ShopifyOrderDuty[]; } interface ShopifyOrderMetafield { readonly id: number; readonly key: string; readonly namespace: string; readonly value: string; readonly value_type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType; readonly description?: string; readonly owner_id: number; readonly owner_resource: string; } interface ShopifyOrderMetafieldForm { readonly key: string; readonly namespace: string; readonly value: string; readonly type: io.flow.shopify.markets.v0.enums.ShopifyOrderValueType; readonly description?: string; } interface ShopifyOrderMoney { readonly amount: number; readonly currency_code: string; } interface ShopifyOrderMoneySet { readonly shop_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney; readonly presentment_money: io.flow.shopify.markets.v0.models.ShopifyOrderMoney; } interface ShopifyOrderOriginLocation { readonly id: number; readonly country_code: string; readonly province_code: string; readonly name: string; readonly address1: string; readonly address2: string; readonly city: string; readonly zip: string; } interface ShopifyOrderPaymentDetail { readonly avs_result_code?: string; readonly credit_card_bin?: string; readonly credit_card_company: string; readonly credit_card_number: string; readonly cvv_result_code?: string; } interface ShopifyOrderProperty { readonly name: string; readonly value: any /*json*/; } interface ShopifyOrderRefund { readonly id: number; readonly order_id: number; readonly created_at: string; readonly processed_at: string; readonly note?: string; readonly refund_line_items?: io.flow.shopify.markets.v0.models.ShopifyOrderRefundLineItem[]; readonly restock?: boolean; readonly transactions?: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction[]; readonly user_id?: number; } interface ShopifyOrderRefundLineItem { readonly id: number; readonly line_item: io.flow.shopify.markets.v0.models.ShopifyOrderLineItem; readonly line_item_id: number; readonly quantity: number; readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType; readonly location_id?: number; readonly subtotal?: number; readonly total_tax?: number; readonly total_tax_set?: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; } interface ShopifyOrderRiskAssessmentChanged { readonly order_id: number; readonly risk_level: string; readonly created_at: string; } interface ShopifyOrderShippingLine { readonly code?: string; readonly price: string; readonly source?: string; readonly title: string; readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[]; readonly carrier_identifier?: string; readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly discounted_price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly discount_allocations?: io.flow.shopify.markets.v0.models.ShopifyOrderDiscountAllocation[]; } interface ShopifyOrderTaxLine { readonly price_set: io.flow.shopify.markets.v0.models.ShopifyOrderMoneySet; readonly rate: number; readonly title: string; } interface ShopifyOrderTransaction { readonly id: number; readonly order_id: number; readonly amount: number; readonly kind: io.flow.shopify.markets.v0.enums.ShopifyOrderKindType; readonly gateway: string; readonly currency: string; readonly status?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionStatus; readonly payment_details?: io.flow.shopify.markets.v0.models.ShopifyOrderPaymentDetail; readonly receipt?: any /*object*/; readonly authorization?: string; readonly created_at: string; readonly device_id?: number; readonly gift_card_id?: number; readonly source_name: string; readonly error_code?: io.flow.shopify.markets.v0.enums.ShopifyOrderTransactionErrorCode; readonly test: boolean; readonly parent_id?: number; readonly user_id?: number; } interface ShopifyOrderUpdateForm { readonly order: io.flow.shopify.markets.v0.models.ShopifyUpdateOrder; } interface ShopifyOrderWrapper { readonly order: io.flow.shopify.markets.v0.models.ShopifyOrder; } interface ShopifyOrdersWrapper { readonly orders: io.flow.shopify.markets.v0.models.ShopifyOrder[]; } interface ShopifyPaymentSchedules { readonly amount?: number; readonly currency?: string; readonly issued_at?: string; readonly due_at?: string; readonly completed_at?: string; readonly expected_payment_method?: string; } interface ShopifyPaymentTerms { readonly amount?: number; readonly currency?: string; readonly payment_terms_name?: string; readonly payment_terms_type?: number; readonly due_in_days?: number; readonly payment_schedules?: io.flow.shopify.markets.v0.models.ShopifyPaymentSchedules; } interface ShopifyProductVariantInventoryItemWrapper { readonly product_id: number; readonly variant_id: number; readonly harmonized_system_code: string; readonly country_harmonized_system_codes: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[]; } interface ShopifyRefund { readonly notify_x: boolean; readonly note?: string; readonly discrepancy_reason?: io.flow.shopify.markets.v0.enums.ShopifyDiscrepancyReason; readonly shipping: io.flow.shopify.markets.v0.models.ShopifyRefundShipping; readonly refund_line_items: io.flow.shopify.markets.v0.models.ShopifyRefundLineItem[]; readonly transactions: io.flow.shopify.markets.v0.models.ShopifyRefundTransaction[]; readonly currency: string; } interface ShopifyRefundLineItem { readonly line_item_id: number; readonly quantity: number; readonly restock_type: io.flow.shopify.markets.v0.enums.ShopifyOrderRestockType; readonly location_id?: number; } interface ShopifyRefundShipping { readonly full_refund?: boolean; readonly amount?: number; } interface ShopifyRefundTransaction { readonly parent_id: number; readonly amount: string; readonly currency: string; readonly kind: string; readonly gateway: string; } interface ShopifyUpdateOrder { readonly id: number; readonly shipping_address?: io.flow.shopify.markets.v0.models.ShopifyOrderAddress; readonly note_attributes?: io.flow.shopify.markets.v0.models.ShopifyOrderAttribute[]; readonly metafields?: io.flow.shopify.markets.v0.models.ShopifyOrderMetafieldForm[]; readonly note?: string; } interface ShopifyWebhookCustomersDataRequest { readonly shop_id: number; readonly shop_domain: string; readonly orders_requested: number[]; readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer; readonly data_request: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersDataRequestId; } interface ShopifyWebhookCustomersDataRequestId { readonly id: number; } interface ShopifyWebhookCustomersRedact { readonly shop_id: number; readonly shop_domain: string; readonly customer: io.flow.shopify.markets.v0.models.ShopifyWebhookCustomersRedactCustomer; readonly orders_to_redact?: number[]; } interface ShopifyWebhookCustomersRedactCustomer { readonly id: number; readonly email?: string; readonly phone?: string; } interface ShopifyWebhookRequest { readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic; readonly address: string; readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat; } interface ShopifyWebhookRequestWrapper { readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookRequest; } interface ShopifyWebhookResponse { readonly id: number; readonly address: string; readonly topic: io.flow.shopify.markets.v0.enums.ShopifyWebhookTopic; readonly created_at: string; readonly updated_at: string; readonly format: io.flow.shopify.markets.v0.enums.ShopifyWebhookFormat; readonly fields: any /*json*/[]; readonly metafield_namespaces: any /*json*/[]; readonly api_version: string; readonly private_metafield_namespaces: any /*json*/[]; } interface ShopifyWebhookResponseWrapper { readonly webhook: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse; } interface ShopifyWebhookShopRedact { readonly shop_id: number; readonly shop_domain: string; } interface ShopifyWebhooksResponseWrapper { readonly webhooks: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse[]; } } declare namespace io.flow.channel.shopify.internal.v0.enums { type CatalogPublicationOwner = 'shopify' | 'globale'; type ShopifyService = 'payment' | 'duty_tax_calculator' | 'sellability'; } declare namespace io.flow.channel.shopify.internal.v0.models { interface ChannelOrganizationShopify { readonly organization: io.flow.channel.v0.models.ChannelOrganization; readonly tokens: io.flow.channel.shopify.internal.v0.models.ShopifyChannelOrganizationTokens[]; } interface ChannelOrganizationShopifyForm { readonly form: io.flow.channel.v0.models.ChannelOrganizationPutForm; readonly metadata: io.flow.channel.shopify.internal.v0.models.ShopifyMetadata; } interface ChannelOrganizationShopifyPostForm { readonly form: io.flow.channel.v0.models.ChannelOrganizationForm; readonly metadata: io.flow.channel.shopify.internal.v0.models.ShopifyMetadata; } interface ShopifyCatalogPublication { readonly owner: io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner; } interface ShopifyChannelOrganizationToken { readonly cleartext: string; } interface ShopifyChannelOrganizationTokens { readonly token: io.flow.channel.shopify.internal.v0.models.ShopifyChannelOrganizationToken; readonly service: io.flow.channel.shopify.internal.v0.enums.ShopifyService; } interface ShopifyMetadata { readonly domain: string; readonly myshopify_domain: string; readonly catalog_publication?: io.flow.channel.shopify.internal.v0.models.ShopifyCatalogPublication; readonly token: string; } } declare namespace io.flow.order.price.v0.enums { type OrderPriceCoefficientType = 'item_shipping'; type OrderPriceDetailComponentKey = | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'shipping_discount' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge' | 'emergency_situation_surcharge' | 'peak_surcharge' | 'duties_taxes_paid_surcharge' | 'tip'; type OrderPriceDetailKey = | 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges' | 'tip'; type OrderPriceFeeType = | 'service' | 'fx' | 'tax' | 'duties' | 'tax_and_duties' | 'product' | 'mor_tax'; type OrderPriceSubsidyType = 'shipping_subsidy'; } declare namespace io.flow.order.price.v0.models { interface OrderPriceCoefficient { readonly type: io.flow.order.price.v0.enums.OrderPriceCoefficientType; readonly value: number; readonly price: io.flow.common.v0.models.PriceWithBase; } interface OrderPriceDetail { readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.common.v0.models.Price; readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[]; readonly name?: string; readonly rate?: number; readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy; readonly rate_label?: string; readonly breakdown?: io.flow.order.price.v0.models.OrderPriceDetailBreakdown; } interface OrderPriceDetailBreakdown { readonly purchase_price: io.flow.order.price.v0.models.PurchasePriceBreakdown; readonly fees: io.flow.order.price.v0.models.OrderPriceFee[]; } interface OrderPriceDetailComponent { readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.common.v0.models.Price; readonly name?: string; } interface OrderPriceFee { readonly key: string; readonly value: io.flow.common.v0.models.PriceWithBase; readonly type: io.flow.order.price.v0.enums.OrderPriceFeeType; } interface OrderPriceSubsidy { readonly type: io.flow.order.price.v0.enums.OrderPriceSubsidyType; readonly price: io.flow.common.v0.models.PriceWithBase; } interface PurchasePriceBreakdown { readonly total_price: io.flow.common.v0.models.PriceWithBase; readonly product_price: io.flow.common.v0.models.PriceWithBase; readonly fees: io.flow.order.price.v0.models.OrderPriceFee[]; readonly coefficients?: io.flow.order.price.v0.models.OrderPriceCoefficient[]; readonly subsidies?: io.flow.order.price.v0.models.OrderPriceSubsidy[]; } } declare namespace io.flow.channel.internal.v0.enums { type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept'; type ChannelOrderAcceptanceFailureReasonCode = | 'channel_order_mor_invalid' | 'channel_order_does_not_exist'; type ChannelOrderAcceptanceNextActionFrom = | 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team'; type ChannelOrderAcceptanceRejectionReason = | 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_allocation_duties_mismatch' | 'order_missing' | 'order_cancelled' | 'organization_deactivated'; type ChannelOrderAcceptanceStatus = | 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted'; type ChannelService = | 'payment' | 'duty_tax_calculator' | 'sellability' | 'all'; type OrderPaymentSourceType = 'globale' | 'third_party'; } declare namespace io.flow.channel.internal.v0.models { interface ChannelCurrencyForm { readonly currency: string; readonly channel_id: string; readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[]; } interface ChannelForm { readonly name: string; readonly environment: io.flow.common.v0.enums.Environment; readonly organization_id_prefix?: string; } interface ChannelMembership { readonly id: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly user: io.flow.common.v0.unions.ExpandableUser; readonly role?: io.flow.common.v0.enums.Role; } interface ChannelMembershipForm { readonly channel_id: string; readonly user_id: string; readonly role?: io.flow.common.v0.enums.Role; } interface ChannelMembershipPutForm { readonly role?: io.flow.common.v0.enums.Role; } interface ChannelOrderAcceptance { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly channel_id: string; readonly external_order_reference: string; readonly payment_request_id?: string; readonly order_payment_request_ids?: string[]; readonly order_edit_payment_request_ids?: string[]; readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus; readonly reasons: io.flow.channel.internal.v0.models.ChannelOrderAcceptanceReason[]; readonly next_action_from?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; readonly order_created_at?: string; readonly order_updated_at?: string; readonly order_edit_summary?: io.flow.channel.internal.v0.models.OrderEditSummary; readonly payment_source?: io.flow.channel.internal.v0.enums.OrderPaymentSourceType; readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary; } interface ChannelOrderAcceptanceDetails { readonly order_acceptance: io.flow.channel.internal.v0.models.ChannelOrderAcceptance; readonly external_order: any /*object*/; } interface ChannelOrderAcceptanceFailure { readonly id: string; readonly organization_id: string; readonly channel_id: string; readonly payment_request_id: string; readonly code: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode; readonly reason: string; } interface ChannelOrderAcceptanceForm { readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus; } interface ChannelOrderAcceptanceReason { readonly description: string; readonly rejection_reason?: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceRejectionReason; } interface ChannelOrderTaxAndDutyInclusivitySetting { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly order_number: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly tax_and_duty_inclusivity_setting: io.flow.experience.v0.enums.TaxAndDutyInclusivitySetting; } interface ChannelOrganizationDomains { readonly internal: string; readonly external: string; } interface ChannelOrganizationInstallation { readonly organization: io.flow.channel.v0.models.ChannelOrganization; readonly tokens: io.flow.channel.internal.v0.models.ChannelOrganizationToken[]; } interface ChannelOrganizationInstallationPostForm { readonly form: io.flow.channel.v0.models.ChannelOrganizationForm; readonly metadata: io.flow.channel.internal.v0.models.ChannelOrganizationMetadata; } interface ChannelOrganizationMetadata { readonly domain: io.flow.channel.internal.v0.models.ChannelOrganizationDomains; readonly token: string; } interface ChannelOrganizationToken { readonly token: io.flow.channel.internal.v0.models.ChannelOrganizationTokenBody; readonly service: io.flow.channel.internal.v0.enums.ChannelService; } interface ChannelOrganizationTokenBody { readonly cleartext: string; } interface ChannelShopStatistics { readonly id: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly initial_catalog_synced_at?: string; readonly catalog_sync_duration?: number; readonly catalog_products_count?: number; } interface ExternalOrderSummary { readonly id: string; readonly edit_ids: string[]; readonly created_at?: string; } interface FlowChannelOrganization { readonly placeholder?: string; } interface OrderEditSummary { readonly edited_at: string; } } declare namespace io.flow.partner.v0.enums { type LabelFormat = 'pdf' | 'zpl' | 'all'; } declare namespace io.flow.partner.v0.models { interface BridgeHub { readonly hub_code: string; readonly address: io.flow.fulfillment.v0.models.ShippingAddress; } interface BridgeLabelForm { readonly discriminator: 'bridge_label_form'; readonly organization: string; readonly order_number: string; readonly package: io.flow.partner.v0.models.BridgeLabelPackage; readonly hub?: io.flow.partner.v0.models.BridgeHub; } interface BridgeLabelPackage { readonly dimensions?: io.flow.common.v0.models.Dimension; readonly items: io.flow.common.v0.models.LineItemForm[]; readonly reference_number: string; } interface DetailedLabelForm { readonly discriminator: 'detailed_label_form'; readonly organization: string; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly order_number: string; readonly origin: io.flow.fulfillment.v0.models.ShippingAddress; readonly package: io.flow.label.v0.models.ShippingLabelPackage; readonly service?: string; readonly references?: string[]; } interface Label { readonly id: string; readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference; readonly order_number: string; readonly package: io.flow.label.v0.models.ShippingLabelPackage; readonly carrier_tracking_number: string; readonly carrier_tracking_number_url: string; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly flow_tracking_number: string; readonly flow_tracking_number_url: string; readonly origin: io.flow.fulfillment.v0.models.ShippingAddress; readonly service: io.flow.fulfillment.v0.models.ServiceSummary; readonly window: io.flow.common.v0.models.DatetimeRange; readonly zpl?: string; readonly pdf?: string; readonly png?: string; readonly commercial_invoice?: string; readonly references?: string[]; readonly label?: io.flow.label.v0.models.ShippingLabelDocument; readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument; readonly cost?: io.flow.common.v0.models.Price; readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient; } interface PartnerBridgeManifest { readonly id: string; readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference; readonly service: io.flow.fulfillment.v0.models.ServiceSummary; readonly pdf: string; readonly data: string; } interface PartnerBridgeManifestForm { readonly order_numbers: string[]; } interface PartnerFulfillment { readonly organization: string; readonly key: string; readonly number: string; readonly items: io.flow.order.management.v0.models.FulfillmentItem[]; readonly center?: io.flow.fulfillment.v0.models.CenterSummary[]; } interface PartnerFulfillmentCancellationForm { readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource; readonly reason: io.flow.order.management.v0.enums.CancelReason; readonly lines: io.flow.order.management.v0.models.FulfillmentLineCancelForm[]; } interface PartnerFulfillmentCompleteCancellationForm { readonly change_source: io.flow.order.management.v0.enums.OrderChangeSource; readonly reason: io.flow.order.management.v0.enums.CancelReason; } interface PartnerManifest { readonly id: string; readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference; readonly service?: io.flow.fulfillment.v0.models.ServiceSummary; readonly timestamp: string; readonly shipping_labels: io.flow.label.v0.models.ShippingLabelSummary[]; readonly pdf?: string; } interface PartnerManifestForm { readonly tracking_numbers: string[]; readonly service?: string; } interface PartnerOrderIdentifier { readonly id: string; readonly organization: io.flow.partner.v0.models.PartnerOrganizationReference; readonly order: io.flow.partner.v0.models.PartnerOrderReference; readonly number: string; } interface PartnerOrderIdentifierForm { readonly number: string; readonly order_number: string; } interface PartnerOrderIdentifierPutForm { readonly order_number: string; } interface PartnerOrderReference { readonly id: string; readonly number: string; } interface PartnerOrganizationReference { readonly id: string; } interface PartnerTrackingSubscription { readonly id: string; readonly carrier_tracking_number: string; readonly carrier_id: string; readonly source: string; readonly reference_key: string; readonly created_at: string; } interface SummaryLabelForm { readonly discriminator: 'summary_label_form'; readonly organization: string; readonly order_number: string; readonly items?: io.flow.common.v0.models.LineItemForm[]; readonly package?: io.flow.label.v0.models.ShippingLabelPackage; readonly center_key?: string; } } declare namespace io.flow.partner.v0.unions { type LabelForm = | io.flow.partner.v0.models.DetailedLabelForm | io.flow.partner.v0.models.SummaryLabelForm | io.flow.partner.v0.models.BridgeLabelForm; } declare namespace io.flow.common.v0.enums { type AttributeDataType = | 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array'; type AvailabilityStatus = 'enabled' | 'disabled'; type Calendar = 'weekdays' | 'everyday'; type Capability = 'crossdock'; type ChangeType = 'insert' | 'update' | 'delete'; type CurrencyLabelFormatter = | 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix'; type CurrencySymbolFormat = 'narrow' | 'primary'; type DayOfWeek = | 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'; type DeliveredDuty = 'paid' | 'unpaid'; type DiscountTarget = 'item' | 'shipping'; type EntityIdentifierType = 'ioss' | 'voec' | 'zaz'; type Environment = 'sandbox' | 'production'; type ExceptionType = 'open' | 'closed'; type GoodsSupply = 'export' | 'intra_community' | 'local'; type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays'; type IncludedLevyKey = 'duty' | 'vat' | 'vat_and_duty' | 'none'; type Incoterm = | 'EXW' | 'FCA' | 'CPT' | 'CIP' | 'DAT' | 'DAP' | 'DDP' | 'FAS' | 'FOB' | 'CFR' | 'CIF' | 'DAF' | 'DES' | 'DEQ' | 'DDU'; type InputSpecificationType = 'text' | 'number'; type MarginType = 'fixed' | 'percent'; type MeasurementSystem = 'imperial' | 'metric'; type MerchantOfRecord = 'flow' | 'organization'; type OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed'; type OrganizationStatus = | 'active' | 'inactive' | 'deactivated' | 'provisioned'; type OrganizationType = 'standalone' | 'channel'; type PriceBookStatus = 'draft' | 'published' | 'archived'; type Role = 'admin' | 'member'; type RoundingMethod = 'up' | 'down' | 'nearest'; type RoundingType = 'pattern' | 'multiple'; type ScheduleExceptionStatus = 'Open' | 'Closed'; type SortDirection = 'ascending' | 'descending'; type UnitOfMeasurement = | 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'cubic_inch' | 'cubic_foot' | 'cubic_millimeter' | 'cubic_centimeter' | 'cubic_meter' | 'gram' | 'kilogram' | 'meter' | 'ounce' | 'pound'; type UnitOfTime = 'year' | 'month' | 'week' | 'day' | 'hour' | 'minute'; type UserStatus = 'pending' | 'active' | 'inactive'; type ValueAddedService = 'Hazardous Material'; type Visibility = 'public' | 'private'; } declare namespace io.flow.common.v0.models { interface Address { readonly text?: string; readonly streets?: string[]; readonly street_number?: string; readonly city?: string; readonly province?: string; readonly postal?: string; readonly country?: string; readonly latitude?: string; readonly longitude?: string; } interface BillingAddress { readonly name?: io.flow.common.v0.models.Name; readonly streets?: string[]; readonly city?: string; readonly province?: string; readonly postal?: string; readonly country?: string; readonly company?: string; } interface CatalogItemReference { readonly id: string; readonly number: string; } interface CatalogItemSummary { readonly number: string; readonly name: string; readonly attributes: Record; } interface ChannelReference { readonly id: string; } interface CheckoutReference { readonly id: string; } interface Contact { readonly name: io.flow.common.v0.models.Name; readonly company?: string; readonly email?: string; readonly phone?: string; } interface CustomerInvoice { readonly address?: io.flow.common.v0.models.BillingAddress; } interface CustomerReference { readonly number: string; } interface DatetimeRange { readonly from: string; readonly to: string; } interface Dimension { readonly depth?: io.flow.common.v0.models.Measurement; readonly diameter?: io.flow.common.v0.models.Measurement; readonly length?: io.flow.common.v0.models.Measurement; readonly weight?: io.flow.common.v0.models.Measurement; readonly width?: io.flow.common.v0.models.Measurement; } interface Dimensions { readonly product?: io.flow.common.v0.models.Dimension; readonly packaging?: io.flow.common.v0.models.Dimension; } interface DiscountForm { readonly offer: io.flow.common.v0.unions.DiscountOffer; readonly target?: io.flow.common.v0.enums.DiscountTarget; readonly label?: string; } interface DiscountOfferFixed { readonly discriminator: 'discount_offer_fixed'; readonly money: io.flow.common.v0.models.Money; } interface DiscountOfferPercent { readonly discriminator: 'discount_offer_percent'; readonly percent: number; } interface DiscountsForm { readonly discounts: io.flow.common.v0.models.DiscountForm[]; } interface Duration { readonly unit: io.flow.common.v0.enums.UnitOfTime; readonly value: number; } interface EntityIdentifier { readonly name: io.flow.common.v0.enums.EntityIdentifierType; readonly number: string; readonly issuing_country?: string; } interface Exception { readonly type: io.flow.common.v0.enums.ExceptionType; readonly datetime_range: io.flow.common.v0.models.DatetimeRange; } interface ExperienceSummary { readonly id: string; readonly key: string; readonly name: string; readonly country?: string; readonly currency?: string; readonly language?: string; } interface IncludedLevies { readonly key: io.flow.common.v0.enums.IncludedLevyKey; readonly label: string; } interface InputForm { readonly values?: Record; } interface InputFormSpecification { readonly inputs?: io.flow.common.v0.models.InputSpecification[]; readonly limitations?: io.flow.common.v0.models.InputSpecificationLimitations; } interface InputSpecification { readonly type: io.flow.common.v0.enums.InputSpecificationType; readonly name: string; readonly display_text?: string; } interface InputSpecificationLimitationMax { readonly discriminator: 'input_specification_limitation_max'; readonly max: number; } interface InputSpecificationLimitations { readonly limitations?: io.flow.common.v0.unions.InputSpecificationLimitation[]; } interface ItemReference { readonly number: string; } interface LineItem { readonly number: string; readonly quantity: number; readonly price: io.flow.common.v0.models.Money; readonly attributes: Record; readonly center?: string; readonly discount?: io.flow.common.v0.models.Money; } interface LineItemAttributesForm { readonly attributes: Record; } interface LineItemForm { readonly number: string; readonly quantity: number; readonly line_item_identifier?: string; readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange; readonly price?: io.flow.common.v0.models.Money; readonly attributes?: Record; readonly center?: string; readonly discount?: io.flow.common.v0.models.Money; readonly discounts?: io.flow.common.v0.models.DiscountsForm; } interface LineItemQuantityForm { readonly quantity: number; } interface LogoImageSetStatic { readonly discriminator: 'static'; readonly small?: io.flow.common.v0.models.LogoImageStatic; readonly medium: io.flow.common.v0.models.LogoImageStatic; readonly large?: io.flow.common.v0.models.LogoImageStatic; } interface LogoImageStatic { readonly url: string; readonly width: number; readonly height: number; } interface LogoImageSvg { readonly discriminator: 'svg'; readonly url: string; } interface Margin { readonly type: io.flow.common.v0.enums.MarginType; readonly value: number; } interface Measurement { readonly value: string; readonly units: io.flow.common.v0.enums.UnitOfMeasurement; } interface MerchantOfRecordEntity { readonly organization: io.flow.common.v0.models.OrganizationReference; readonly name: string; readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration; readonly identifiers?: io.flow.common.v0.models.EntityIdentifier[]; readonly streets: string[]; readonly city: string; readonly province?: string; readonly postal?: string; readonly country: string; readonly phone?: string; readonly email?: string; } interface MerchantOfRecordEntityRegistration { readonly number: string; readonly country: string; readonly province_number?: string; readonly province?: string; } interface Money { readonly amount: number; readonly currency: string; } interface MoneyWithBase { readonly currency: string; readonly amount: number; readonly base: io.flow.common.v0.models.Money; } interface MoneyWithOptionalBase { readonly currency: string; readonly amount: number; readonly base?: io.flow.common.v0.models.Money; } interface Name { readonly first?: string; readonly last?: string; } interface OrderCustomer { readonly name: io.flow.common.v0.models.Name; readonly number?: string; readonly phone?: string; readonly email?: string; readonly address?: io.flow.common.v0.models.BillingAddress; readonly invoice?: io.flow.common.v0.models.CustomerInvoice; } interface OrderCustomerForm { readonly name?: io.flow.common.v0.models.Name; readonly number?: string; readonly phone?: string; readonly email?: string; readonly address?: io.flow.common.v0.models.BillingAddress; readonly invoice?: io.flow.common.v0.models.CustomerInvoice; } interface Organization { readonly discriminator: 'organization'; readonly id: string; readonly name: string; readonly environment: io.flow.common.v0.enums.Environment; readonly parent?: io.flow.common.v0.models.OrganizationReference; readonly defaults?: io.flow.common.v0.models.OrganizationDefaults; readonly created_at?: string; readonly status?: io.flow.common.v0.enums.OrganizationStatus; readonly type?: io.flow.common.v0.enums.OrganizationType; readonly channel?: io.flow.common.v0.models.ChannelReference; readonly attributes?: Record; } interface OrganizationDefaults { readonly country: string; readonly base_currency: string; readonly language: string; readonly locale: string; readonly timezone: string; } interface OrganizationReference { readonly discriminator: 'organization_reference'; readonly id: string; readonly channel?: io.flow.common.v0.models.ChannelReference; } interface OrganizationSummary { readonly id: string; readonly name: string; readonly environment: io.flow.common.v0.enums.Environment; } interface PartnerReference { readonly id: string; } interface Price { readonly amount: number; readonly currency: string; readonly label: string; } interface PriceForm { readonly amount: number; readonly currency: string; } interface PriceSourceCatalog { readonly discriminator: 'catalog'; readonly price: io.flow.common.v0.models.Money; } interface PriceSourcePriceBook { readonly discriminator: 'price_book'; readonly price: io.flow.common.v0.models.Money; readonly includes: io.flow.common.v0.models.IncludedLevies; readonly price_book_reference: io.flow.common.v0.models.PriceSourcePriceBookReference; } interface PriceSourcePriceBookReference { readonly id: string; readonly key: string; } interface PriceSourceProvided { readonly discriminator: 'provided'; readonly price: io.flow.common.v0.models.Money; } interface PriceWithBase { readonly currency: string; readonly amount: number; readonly label: string; readonly base?: io.flow.common.v0.models.Price; } interface RepeatDaily { readonly discriminator: 'repeat_daily'; readonly interval: number; } interface RepeatHourly { readonly discriminator: 'repeat_hourly'; readonly interval: number; } interface RepeatMonthly { readonly discriminator: 'repeat_monthly'; readonly interval: number; readonly days: number[]; } interface RepeatWeekly { readonly discriminator: 'repeat_weekly'; readonly interval: number; readonly days_of_week: io.flow.common.v0.enums.DayOfWeek[]; } interface Rounding { readonly type: io.flow.common.v0.enums.RoundingType; readonly method: io.flow.common.v0.enums.RoundingMethod; readonly value: number; } interface Schedule { readonly calendar?: io.flow.common.v0.enums.Calendar; readonly holiday: io.flow.common.v0.enums.HolidayCalendar; readonly exception: io.flow.common.v0.models.Exception[]; readonly cutoff?: string; readonly min_lead_time?: number; readonly max_lead_time?: number; } interface SessionReference { readonly id: string; } interface User { readonly discriminator: 'user'; readonly id: string; readonly email?: string; readonly name: io.flow.common.v0.models.Name; readonly status: io.flow.common.v0.enums.UserStatus; } interface UserReference { readonly discriminator: 'user_reference'; readonly id: string; } interface Zone { readonly postals?: string[]; readonly provinces?: string[]; readonly country: string; } } declare namespace io.flow.common.v0.unions { type DiscountOffer = | io.flow.common.v0.models.DiscountOfferFixed | io.flow.common.v0.models.DiscountOfferPercent; type ExpandableOrganization = | io.flow.common.v0.models.Organization | io.flow.common.v0.models.OrganizationReference; type ExpandableUser = | io.flow.common.v0.models.User | io.flow.common.v0.models.UserReference; type InputSpecificationLimitation = io.flow.common.v0.models.InputSpecificationLimitationMax; type LogoImage = | io.flow.common.v0.models.LogoImageSvg | io.flow.common.v0.models.LogoImageSetStatic; type PriceSource = | io.flow.common.v0.models.PriceSourcePriceBook | io.flow.common.v0.models.PriceSourceCatalog | io.flow.common.v0.models.PriceSourceProvided; type RepeatSchedule = | io.flow.common.v0.models.RepeatHourly | io.flow.common.v0.models.RepeatDaily | io.flow.common.v0.models.RepeatWeekly | io.flow.common.v0.models.RepeatMonthly; } declare namespace io.flow.shopify.markets.internal.event.v0.enums { type ShopifyIncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED'; } declare namespace io.flow.shopify.markets.internal.event.v0.models { interface ChannelOrderSummaryDeleted { readonly discriminator: 'channel_order_summary_deleted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly id: string; } interface ChannelOrderSummaryUpserted { readonly discriminator: 'channel_order_summary_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_order_summary: io.flow.shopify.markets.internal.v0.models.ChannelOrderSummary; } interface ChannelOrganizationIdentifierDeleted { readonly discriminator: 'channel_organization_identifier_deleted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly id: string; } interface ChannelOrganizationIdentifierUpserted { readonly discriminator: 'channel_organization_identifier_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_organization_identifier: io.flow.shopify.markets.internal.v0.models.ChannelOrganizationIdentifier; } interface OrderTaxAndDutyInclusivitySettingDeleted { readonly discriminator: 'order_tax_and_duty_inclusivity_setting_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrderTaxAndDutyInclusivitySettingUpserted { readonly discriminator: 'order_tax_and_duty_inclusivity_setting_upserted'; readonly event_id: string; readonly timestamp: string; readonly order_tax_and_duty_inclusivity_setting: io.flow.shopify.markets.internal.v0.models.OrderTaxAndDutyInclusivitySetting; } interface ShopifyIncotermIncludes { readonly duties: boolean; readonly taxes: boolean; } interface ShopifyIncotermSummaryErrorData { readonly id: string; readonly shopify_order_id: string; readonly order_number: string; readonly configuration: io.flow.shopify.markets.internal.event.v0.enums.ShopifyIncotermConfiguration; readonly includes: io.flow.shopify.markets.internal.event.v0.models.ShopifyIncotermIncludes; readonly reason: string; readonly order_submitted_at: string; } interface ShopifyIncotermSummaryErrorPublished { readonly discriminator: 'shopify_incoterm_summary_error_published'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly data: io.flow.shopify.markets.internal.event.v0.models.ShopifyIncotermSummaryErrorData; } interface ShopifyMarketsBestSellingProductDeleted { readonly discriminator: 'shopify_markets_best_selling_product_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMarketsBestSellingProductUpserted { readonly discriminator: 'shopify_markets_best_selling_product_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_best_selling_product: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsBestSellingProduct; } interface ShopifyMarketsMetricsDeleted { readonly discriminator: 'shopify_markets_metrics_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ShopifyMarketsMetricsUpserted { readonly discriminator: 'shopify_markets_metrics_upserted'; readonly event_id: string; readonly timestamp: string; readonly shopify_markets_metrics: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrdersMetrics; } interface ShopifyMarketsOrder { readonly id: string; readonly model: io.flow.shopify.markets.v0.models.ShopifyOrder; } interface ShopifyMarketsOrderDeleted { readonly discriminator: 'shopify_markets_order_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder; } interface ShopifyMarketsOrderUpserted { readonly discriminator: 'shopify_markets_order_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder; } interface ShopifyMarketsShopDeleted { readonly discriminator: 'shopify_markets_shop_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMarketsShopStatisticsDeleted { readonly discriminator: 'shopify_markets_shop_statistics_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMarketsShopStatisticsUpserted { readonly discriminator: 'shopify_markets_shop_statistics_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_shop_statistics: io.flow.shopify.markets.internal.v0.models.ShopifyShopStatistics; } interface ShopifyMarketsShopUpserted { readonly discriminator: 'shopify_markets_shop_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_shop: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShop; } interface ShopifyMarketsWebhookRegistrationDeleted { readonly discriminator: 'shopify_markets_webhook_registration_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMarketsWebhookRegistrationUpserted { readonly discriminator: 'shopify_markets_webhook_registration_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly registration: io.flow.shopify.markets.internal.v0.models.ShopifyMarketsWebhookRegistration; } interface ShopifyMerchantMarketsDeleted { readonly discriminator: 'shopify_merchant_markets_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMerchantMarketsUpserted { readonly discriminator: 'shopify_merchant_markets_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_merchant_markets: io.flow.shopify.markets.internal.v0.models.ShopifyMerchantMarkets; } interface ShopifyOrderRiskAssessmentDeleted { readonly discriminator: 'shopify_order_risk_assessment_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyOrderRiskAssessmentUpserted { readonly discriminator: 'shopify_order_risk_assessment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly assessment: io.flow.shopify.markets.internal.v0.models.ShopifyOrderRiskAssessment; } interface ShopifyOrderTransaction { readonly id: string; readonly model: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction; } interface ShopifyOrderTransactionDeleted { readonly discriminator: 'shopify_order_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyOrderTransactionUpserted { readonly discriminator: 'shopify_order_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transaction: io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransaction; } interface ShopifyProductBundleDeleted { readonly discriminator: 'shopify_product_bundle_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyProductBundleUpserted { readonly discriminator: 'shopify_product_bundle_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_product_bundle: io.flow.shopify.markets.internal.v0.models.ShopifyProductBundle; } interface ShopifyProductTaxonomyAttributeDeleted { readonly discriminator: 'shopify_product_taxonomy_attribute_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ShopifyProductTaxonomyAttributeUpserted { readonly discriminator: 'shopify_product_taxonomy_attribute_upserted'; readonly event_id: string; readonly timestamp: string; readonly shopify_product_taxonomy_attribute: io.flow.shopify.markets.internal.v0.models.ShopifyProductTaxonomyAttribute; } interface ShopifyProductTaxonomyAttributeValueDeleted { readonly discriminator: 'shopify_product_taxonomy_attribute_value_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ShopifyProductTaxonomyAttributeValueUpserted { readonly discriminator: 'shopify_product_taxonomy_attribute_value_upserted'; readonly event_id: string; readonly timestamp: string; readonly shopify_product_taxonomy_attribute_value: io.flow.shopify.markets.internal.v0.models.ShopifyProductTaxonomyAttributeValue; } interface ShopifyTestOrderDeleted { readonly discriminator: 'shopify_test_order_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyTestOrderUpserted { readonly discriminator: 'shopify_test_order_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_test_order: io.flow.shopify.markets.internal.v0.models.ShopifyTestOrder; } } declare namespace io.flow.shopify.markets.internal.event.v0.unions { type ShopifyMarketsInternalEvent = | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrderDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsWebhookRegistrationDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsShopStatisticsDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductTaxonomyAttributeUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductTaxonomyAttributeDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductTaxonomyAttributeValueUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductTaxonomyAttributeValueDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsMetricsDeleted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryUpserted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrderSummaryDeleted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierUpserted | io.flow.shopify.markets.internal.event.v0.models.ChannelOrganizationIdentifierDeleted | io.flow.shopify.markets.internal.event.v0.models.OrderTaxAndDutyInclusivitySettingUpserted | io.flow.shopify.markets.internal.event.v0.models.OrderTaxAndDutyInclusivitySettingDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductBundleUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyProductBundleDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyIncotermSummaryErrorPublished | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsBestSellingProductUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsBestSellingProductDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderRiskAssessmentDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyTestOrderUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyTestOrderDeleted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMerchantMarketsUpserted | io.flow.shopify.markets.internal.event.v0.models.ShopifyMerchantMarketsDeleted; } declare namespace io.flow.experience.v0.enums { type AddressFieldName = | 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number'; type CreditPaymentErrorCode = | 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount'; type DeliveredDutyDisplayType = 'all' | 'single'; type DiscountRuleStatus = 'active' | 'scheduled' | 'expired'; type DiscountRuleSubsidyTarget = 'vat' | 'duty'; type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed'; type ExperienceCountryStatus = 'enabled' | 'disabled'; type ExperiencePaymentMethodTag = 'display'; type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived'; type IncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED'; type OrderErrorCode = | 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed'; type OrderPaymentSourceType = 'globale' | 'third_party'; type OrderPaymentType = | 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery'; type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping'; type OrderRefundSummaryPartialCharged = | 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage'; type OrderStatus = 'open' | 'submitted'; type OrderStorage = 'do_not_persist' | 'persist'; type OrderType = 'standard' | 'replacement' | 'edit'; type OrganizationPaymentMethodTag = 'deny'; type PaymentMethodRuleContentKey = 'description'; type PriceFacetBoundary = 'min' | 'max'; type PricingType = 'inclusive_pricing' | 'inclusive_pricing_with_shipping'; type PromotionTriggerType = 'automatic' | 'order_subtotal'; type TaxAndDutyInclusivitySetting = | 'duty_exclusive_tax_exclusive' | 'duty_inclusive_tax_exclusive' | 'duty_exclusive_tax_inclusive' | 'duty_inclusive_tax_inclusive'; } declare namespace io.flow.experience.v0.models { interface AddressConfiguration { readonly country: string; readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation; readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[]; readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[]; readonly province_type?: io.flow.reference.v0.enums.ProvinceType; readonly postal_type?: io.flow.reference.v0.enums.PostalType; } interface AddressConfigurationFieldPlacement { readonly name: io.flow.experience.v0.enums.AddressFieldName; } interface AddressConfigurationFormat { readonly placements: io.flow.experience.v0.models.AddressConfigurationFieldPlacement[]; } interface AddressConfigurationProvince { readonly value: string; readonly name: string; readonly translations?: io.flow.experience.v0.models.AddressConfigurationProvinceTranslation[]; } interface AddressConfigurationProvinceTranslation { readonly locale: io.flow.experience.v0.models.AddressConfigurationProvinceTranslationLocale; readonly name: string; } interface AddressConfigurationProvinceTranslationLocale { readonly id: string; readonly name: string; readonly language: string; } interface AddressFieldValidation { readonly first_name: io.flow.field.validation.v0.unions.FieldValidationRule[]; readonly last_name: io.flow.field.validation.v0.unions.FieldValidationRule[]; readonly street_1: io.flow.field.validation.v0.unions.FieldValidationRule[]; readonly street_2: io.flow.field.validation.v0.unions.FieldValidationRule[]; readonly city: io.flow.field.validation.v0.unions.FieldValidationRule[]; readonly province: io.flow.field.validation.v0.unions.FieldValidationRule[]; readonly postal: io.flow.field.validation.v0.unions.FieldValidationRule[]; readonly phone: io.flow.field.validation.v0.unions.FieldValidationRule[]; readonly vat_registration_number: io.flow.field.validation.v0.unions.FieldValidationRule[]; } interface Allocation { readonly order: io.flow.experience.v0.models.AllocationOrderSummary; readonly details: io.flow.experience.v0.unions.AllocationDetail[]; } interface AllocationDetailComponent { readonly discriminator: 'allocation_detail_component'; readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey; readonly total: io.flow.common.v0.models.PriceWithBase; readonly price?: io.flow.common.v0.models.PriceWithBase; } interface AllocationLevyComponent { readonly discriminator: 'allocation_levy_component'; readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey; readonly total: io.flow.common.v0.models.PriceWithBase; readonly rate: number; readonly name: string; readonly price?: io.flow.common.v0.models.PriceWithBase; readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy; readonly basis?: io.flow.common.v0.models.MoneyWithBase; } interface AllocationLineDetail { readonly discriminator: 'allocation_line_detail'; readonly id?: string; readonly number: string; readonly quantity: number; readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey; readonly price: io.flow.common.v0.models.PriceWithBase; readonly total: io.flow.common.v0.models.PriceWithBase; readonly included: io.flow.experience.v0.unions.AllocationComponent[]; readonly not_included: io.flow.experience.v0.unions.AllocationComponent[]; } interface AllocationLineSummary { readonly line_items: io.flow.experience.v0.models.AllocationLineSummaryLineItem[]; readonly shipping: io.flow.experience.v0.models.AllocationLineSummaryShipping; readonly subtotal: io.flow.common.v0.models.MoneyWithBase; readonly discount: io.flow.common.v0.models.MoneyWithBase; readonly duties: io.flow.common.v0.models.MoneyWithBase; readonly tax: io.flow.common.v0.models.MoneyWithBase; readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase; readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase; readonly total: io.flow.common.v0.models.MoneyWithBase; } interface AllocationLineSummaryLineItem { readonly item_number: string; readonly line_number?: string; readonly subtotal: io.flow.common.v0.models.MoneyWithBase; readonly discount: io.flow.common.v0.models.MoneyWithBase; readonly duties: io.flow.common.v0.models.MoneyWithBase; readonly tax: io.flow.common.v0.models.MoneyWithBase; readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase; readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase; readonly total: io.flow.common.v0.models.MoneyWithBase; } interface AllocationLineSummaryShipping { readonly subtotal: io.flow.common.v0.models.MoneyWithBase; readonly discount: io.flow.common.v0.models.MoneyWithBase; readonly duties: io.flow.common.v0.models.MoneyWithBase; readonly tax: io.flow.common.v0.models.MoneyWithBase; readonly tax_subsidy: io.flow.common.v0.models.MoneyWithBase; readonly duties_subsidy: io.flow.common.v0.models.MoneyWithBase; readonly total: io.flow.common.v0.models.MoneyWithBase; } interface AllocationOrderDetail { readonly discriminator: 'allocation_order_detail'; readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey; readonly total: io.flow.common.v0.models.PriceWithBase; readonly included: io.flow.experience.v0.unions.AllocationComponent[]; readonly not_included: io.flow.experience.v0.unions.AllocationComponent[]; } interface AllocationOrderSummary { readonly id: string; readonly number: string; readonly submitted_at?: string; } interface AllocationV2 { readonly id: string; readonly order: io.flow.experience.v0.models.AllocationOrderSummary; readonly details: io.flow.experience.v0.unions.AllocationDetail[]; readonly total: io.flow.catalog.v0.models.LocalizedTotal; } interface AvailablePromotion { readonly id: string; readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference; readonly region: io.flow.experience.v0.models.RegionReference; readonly promotions: io.flow.experience.v0.unions.Promotion[]; } interface CheckoutAttribute { readonly id: string; readonly experience: io.flow.experience.v0.models.ExperienceReference; readonly key: string; readonly name: string; readonly attribute_keys: string[]; readonly position: number; } interface CheckoutAttributeForm { readonly key: string; readonly name?: string; readonly experience_key: string; readonly attribute_keys: string[]; readonly position?: number; } interface CheckoutItemContent { readonly item: io.flow.catalog.v0.models.Item; readonly name: string; readonly description?: string; readonly attributes: io.flow.experience.v0.models.CheckoutItemContentAttribute[]; readonly image?: io.flow.catalog.v0.models.Image; } interface CheckoutItemContentAttribute { readonly key: string; readonly name: string; readonly value: string; } interface CountryStatus { readonly id: string; readonly country: string; readonly status: io.flow.experience.v0.enums.ExperienceCountryStatus; } interface CountryStatusForm { readonly status: io.flow.experience.v0.enums.ExperienceCountryStatus; } interface CreditPayment { readonly id: string; readonly order: io.flow.experience.v0.unions.ExpandableOrder; readonly key: string; readonly description: string; readonly value: io.flow.common.v0.models.PriceWithBase; readonly original: io.flow.experience.v0.models.OriginalPrices; readonly attributes: Record; } interface CreditPaymentError { readonly code: io.flow.experience.v0.enums.CreditPaymentErrorCode; readonly messages: string[]; readonly codes: io.flow.experience.v0.enums.CreditPaymentErrorCode[]; } interface CreditPaymentForm { readonly order_number: string; readonly description: string; readonly amount: number; readonly max: number; readonly currency: string; readonly attributes?: Record; } interface CreditPaymentVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly credit_payment: io.flow.experience.v0.models.CreditPayment; } interface DatetimeWithTimezone { readonly datetime: string; readonly timezone: string; } interface DeliveredDutySetting { readonly default: io.flow.common.v0.enums.DeliveredDuty; readonly available: io.flow.common.v0.enums.DeliveredDuty[]; readonly display?: io.flow.experience.v0.enums.DeliveredDutyDisplayType; } interface DestinationContactDetail { readonly title: string; readonly country: string; readonly import_identifier: string; } interface Discount { readonly discriminator: 'discount'; readonly id: string; readonly code?: string; readonly label: string; readonly price: io.flow.common.v0.models.PriceWithBase; readonly attributes?: Record; } interface DiscountRule { readonly offers: io.flow.experience.v0.models.DiscountRuleOffer[]; } interface DiscountRuleOffer { readonly discount: io.flow.common.v0.unions.DiscountOffer; readonly entitlement: io.flow.experience.v0.unions.DiscountRuleEntitlement; } interface DiscountRuleSettings { readonly id: string; readonly name: string; readonly from_with_tz: io.flow.experience.v0.models.DatetimeWithTimezone; readonly to_with_tz?: io.flow.experience.v0.models.DatetimeWithTimezone; readonly status: io.flow.experience.v0.enums.DiscountRuleStatus; readonly experience_keys: string[]; readonly rule: io.flow.experience.v0.models.DiscountRule; } interface DiscountRuleSettingsForm { readonly name: string; readonly from_with_tz: io.flow.experience.v0.models.DatetimeWithTimezone; readonly to_with_tz?: io.flow.experience.v0.models.DatetimeWithTimezone; readonly experience_keys: string[]; readonly rule: io.flow.experience.v0.models.DiscountRule; } interface DiscountRuleSubsidyEntitlement { readonly discriminator: 'subsidy'; readonly targets: io.flow.experience.v0.enums.DiscountRuleSubsidyTarget[]; } interface EditSummary { readonly id: string; readonly edited_at: string; } interface Experience { readonly discriminator: 'experience'; readonly id: string; readonly key: string; readonly name: string; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly region: io.flow.experience.v0.models.RegionReference; readonly country: string; readonly currency: string; readonly language: string; readonly measurement_system: io.flow.common.v0.enums.MeasurementSystem; readonly subcatalog: io.flow.catalog.v0.models.SubcatalogReference; readonly position: number; readonly settings: io.flow.experience.v0.models.ExperienceSettings; readonly status?: io.flow.experience.v0.enums.ExperienceStatus; } interface ExperienceCheckoutConfigurationSettings { readonly configuration: io.flow.experience.v0.models.ExperienceConfigurationReference; } interface ExperienceCheckoutSettings { readonly id: string; readonly experience: io.flow.experience.v0.models.ExperienceOverview; readonly checkout_configuration: io.flow.experience.v0.models.ExperienceConfigurationReference; } interface ExperienceCheckoutSettingsForm { readonly checkout_configuration_id: string; } interface ExperienceClone { readonly id: string; readonly source_experience: io.flow.experience.v0.models.ExperienceReference; readonly cloned_experience?: io.flow.experience.v0.models.ExperienceReference; readonly status: io.flow.experience.v0.enums.ExperienceCloneStatus; } interface ExperienceCloneForm { readonly name?: string; } interface ExperienceConfigurationReference { readonly id: string; } interface ExperienceCurrencyFormat { readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat; readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[]; } interface ExperienceCurrencyFormatForm { readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat; readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[]; } interface ExperienceDefaults { readonly key: string; readonly name: string; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly country: string; readonly currency: string; readonly language: string; readonly measurement_system: io.flow.common.v0.enums.MeasurementSystem; } interface ExperienceForm { readonly region_id: string; readonly name: string; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly country?: string; readonly currency?: string; readonly language?: string; readonly key?: string; readonly position?: number; readonly measurement_system?: io.flow.common.v0.enums.MeasurementSystem; readonly subcatalog_id?: string; } interface ExperienceGeo { readonly key: string; readonly name: string; readonly region: io.flow.experience.v0.models.RegionReference; readonly country: string; readonly currency: string; readonly language: string; readonly measurement_system: io.flow.common.v0.enums.MeasurementSystem; } interface ExperienceLogisticsSettings { readonly id: string; readonly experience: io.flow.experience.v0.models.ExperienceOverview; readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference; } interface ExperienceLogisticsSettingsPutForm { readonly shipping_configuration_key: string; } interface ExperienceLogisticsSummary { readonly outbound?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary; readonly return?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary; } interface ExperienceLogisticsTierSummary { readonly prices: io.flow.experience.v0.models.ExperienceLogisticsTierSummaryPrices; } interface ExperienceLogisticsTierSummaryPrices { readonly minimum: io.flow.common.v0.models.Price; } interface ExperienceOverview { readonly id: string; readonly key: string; } interface ExperiencePaymentMethodRule { readonly experience_key: string; readonly payment_method_rules: io.flow.experience.v0.models.PaymentMethodRule[]; } interface ExperiencePaymentMethodRuleForm { readonly payment_method_id: string; readonly tags: io.flow.experience.v0.enums.ExperiencePaymentMethodTag[]; readonly q?: string; } interface ExperiencePriceBookMapping { readonly id: string; readonly experience: io.flow.experience.v0.models.ExperienceReference; readonly price_book: io.flow.price.v0.models.PriceBookReference; readonly position: number; } interface ExperiencePriceBookMappingForm { readonly price_book_key: string; readonly position?: number; } interface ExperiencePriceBookMappingPutForm { readonly price_books: io.flow.experience.v0.models.ExperiencePriceBookMappingForm[]; } interface ExperiencePriceConversion { readonly request: io.flow.experience.v0.models.ExperiencePriceConversionRequest; readonly price: io.flow.common.v0.models.PriceWithBase; } interface ExperiencePriceConversionRequest { readonly value: number; readonly base: string; readonly local: string; } interface ExperiencePriceConversionResponse { readonly prices: io.flow.experience.v0.models.ExperiencePriceConversion[]; } interface ExperiencePriceFacetConversion { readonly request: io.flow.experience.v0.models.ExperiencePriceFacetConversionRequest; readonly price: io.flow.common.v0.models.PriceWithBase; } interface ExperiencePriceFacetConversionRequest { readonly boundary: io.flow.experience.v0.enums.PriceFacetBoundary; readonly value: number; readonly base: string; readonly local: string; } interface ExperiencePriceFacetConversionResponse { readonly facets: io.flow.experience.v0.models.ExperiencePriceFacetConversion[]; } interface ExperienceReference { readonly discriminator: 'experience_reference'; readonly key: string; } interface ExperienceSettings { readonly delivered_duty: io.flow.experience.v0.models.DeliveredDutySetting; readonly pricing_settings?: io.flow.experience.v0.models.PricingSettings; readonly logistics_settings?: io.flow.experience.v0.models.LogisticsSettings; readonly checkout_settings?: io.flow.experience.v0.models.ExperienceCheckoutConfigurationSettings; } interface ExperienceStatusForm { readonly status: io.flow.experience.v0.enums.ExperienceStatus; } interface ExperienceVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly experience: io.flow.experience.v0.models.Experience; } interface FreeShipping { readonly discriminator: 'free_shipping'; readonly trigger: io.flow.experience.v0.models.PromotionTrigger; readonly max?: io.flow.common.v0.models.Price; } interface FreeShippingOrderPromotion { readonly discriminator: 'free_shipping_order_promotion'; readonly id: string; readonly order: io.flow.experience.v0.unions.ExpandableOrder; readonly key: string; readonly trigger: io.flow.experience.v0.models.OrderPromotionTrigger; readonly max?: io.flow.common.v0.models.Price; readonly attributes: Record; } interface FreeShippingOrderPromotionForm { readonly discriminator: 'free_shipping_order_promotion_form'; readonly trigger: io.flow.experience.v0.models.PromotionTriggerForm; readonly max?: io.flow.common.v0.models.PriceForm; readonly attributes?: Record; } interface IncotermIncludes { readonly duties: boolean; readonly taxes: boolean; } interface IncotermSummary { readonly configuration: io.flow.experience.v0.enums.IncotermConfiguration; readonly includes: io.flow.experience.v0.models.IncotermIncludes; readonly reason?: string; } interface ItemMargin { readonly id: string; readonly key: string; readonly name: string; readonly q: string; readonly fixed: number; readonly percent: number; readonly position: number; readonly experience?: io.flow.experience.v0.models.ExperienceReference; } interface ItemMarginPostForm { readonly name: string; readonly q: string; readonly key?: string; readonly fixed?: number; readonly percent?: number; readonly position?: number; } interface ItemMarginPutForm { readonly name: string; readonly q: string; readonly fixed?: number; readonly percent?: number; readonly position?: number; } interface ItemMarginVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly item_margin: io.flow.experience.v0.models.ItemMargin; } interface Line { readonly id?: string; readonly item_number: string; readonly quantity: number; readonly price: io.flow.common.v0.models.PriceWithBase; readonly total: io.flow.common.v0.models.PriceWithBase; readonly attributes?: Record; } interface LocalizedLineItem { readonly id?: string; readonly number: string; readonly name: string; readonly quantity: number; readonly image?: io.flow.experience.v0.models.OrderSummaryImage; readonly center?: string; readonly price?: io.flow.common.v0.models.Money; readonly discount?: io.flow.experience.v0.models.LocalizedLineItemDiscount; readonly discounts?: io.flow.experience.v0.models.LocalizedLineItemDiscount[]; readonly attributes?: Record; readonly local: io.flow.catalog.v0.models.Local; readonly shipment_estimate?: io.flow.common.v0.models.DatetimeRange; readonly price_source?: io.flow.common.v0.unions.PriceSource; readonly breakdown?: io.flow.order.price.v0.models.OrderPriceDetailBreakdown; } interface LocalizedLineItemDiscount { readonly amount: number; readonly currency: string; readonly label?: string; readonly base?: io.flow.common.v0.models.Price; readonly requested?: io.flow.common.v0.models.Money; readonly discount_label?: string; } interface LogisticsSettings { readonly shipping_configuration: io.flow.fulfillment.v0.models.ShippingConfigurationReference; } interface Order { readonly discriminator: 'order'; readonly id: string; readonly number: string; readonly order_type?: io.flow.experience.v0.enums.OrderType; readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord; readonly experience?: io.flow.experience.v0.unions.ExpandableExperience; readonly customer: io.flow.common.v0.models.OrderCustomer; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly destination: io.flow.experience.v0.models.OrderAddress; readonly expires_at: string; readonly items: io.flow.experience.v0.models.LocalizedLineItem[]; readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[]; readonly selections: string[]; readonly prices: io.flow.order.price.v0.models.OrderPriceDetail[]; readonly total: io.flow.catalog.v0.models.LocalizedTotal; readonly attributes: Record; readonly submitted_at?: string; readonly lines?: io.flow.experience.v0.models.Line[]; readonly identifiers?: string[]; readonly promotions?: io.flow.experience.v0.models.Promotions; readonly payments?: io.flow.experience.v0.models.OrderPayment[]; readonly balance?: io.flow.catalog.v0.models.LocalizedTotal; readonly rules?: io.flow.experience.v0.models.OrderRulesSummary; readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration; readonly geo?: io.flow.experience.v0.models.OrderGeo; readonly device_details?: io.flow.payment.v0.unions.DeviceDetails; readonly destination_contact_details?: io.flow.experience.v0.models.DestinationContactDetail[]; readonly incoterm_summary?: io.flow.experience.v0.models.IncotermSummary; readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType; readonly edits?: io.flow.experience.v0.models.EditSummary[]; readonly rates?: io.flow.experience.v0.models.OrderRate[]; readonly pricing_type?: io.flow.experience.v0.enums.PricingType; } interface OrderAddress { readonly text?: string; readonly streets?: string[]; readonly city?: string; readonly province?: string; readonly postal?: string; readonly country?: string; readonly latitude?: string; readonly longitude?: string; readonly contact?: io.flow.common.v0.models.Contact; } interface OrderBuilder { readonly order?: io.flow.experience.v0.models.Order; readonly errors?: io.flow.experience.v0.models.OrderError[]; } interface OrderBuilderAttributesForm { readonly attributes: Record; } interface OrderBuilderCustomerForm { readonly customer: io.flow.common.v0.models.OrderCustomerForm; } interface OrderBuilderCustomerInvoiceAddressForm { readonly address: io.flow.common.v0.models.BillingAddress; } interface OrderBuilderDeliveredDutyForm { readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; } interface OrderBuilderDestinationCountryForm { readonly country: string; } interface OrderBuilderDestinationForm { readonly destination: io.flow.experience.v0.models.OrderAddress; } interface OrderBuilderSelectionsForm { readonly selections: string[]; } interface OrderDestinationPutForm { readonly destination: io.flow.experience.v0.models.OrderAddress; } interface OrderError { readonly code: io.flow.experience.v0.enums.OrderErrorCode; readonly messages: string[]; readonly numbers?: string[]; readonly destination_country?: io.flow.reference.v0.models.Country; readonly threshold?: io.flow.experience.v0.models.ValueThresholdExceededDetails; } interface OrderEstimate { readonly id: string; readonly items: io.flow.experience.v0.models.LocalizedLineItem[]; readonly destination: io.flow.experience.v0.models.OrderAddress; readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[]; readonly prices: io.flow.order.price.v0.models.OrderPriceDetail[]; readonly selections: string[]; readonly total: io.flow.catalog.v0.models.LocalizedTotal; readonly lines?: io.flow.experience.v0.models.Line[]; readonly promotions?: io.flow.experience.v0.models.Promotions; } interface OrderEstimateForm { readonly items: io.flow.common.v0.models.LineItemForm[]; readonly destination?: io.flow.experience.v0.models.OrderAddress; readonly selections?: string[]; } interface OrderForm { readonly customer?: io.flow.common.v0.models.OrderCustomerForm; readonly items: io.flow.common.v0.models.LineItemForm[]; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly number?: string; readonly destination?: io.flow.experience.v0.models.OrderAddress; readonly discount?: io.flow.common.v0.models.Money; readonly discounts?: io.flow.common.v0.models.DiscountsForm; readonly attributes?: Record; readonly authorization_keys?: string[]; readonly options?: io.flow.experience.v0.models.OrderOptions; readonly device_details?: io.flow.payment.v0.unions.DeviceDetails; readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType; } interface OrderGeo { readonly ip?: string; readonly country: string; readonly currency?: string; readonly language?: string; } interface OrderIdentifier { readonly id: string; readonly order: io.flow.experience.v0.models.OrderReference; readonly name: string; readonly identifier: string; readonly primary: boolean; readonly number?: string; } interface OrderIdentifierForm { readonly order: string; readonly name?: string; readonly identifier?: string; readonly number?: string; readonly primary?: boolean; } interface OrderIdentifierPutForm { readonly order: string; readonly name?: string; readonly primary?: boolean; } interface OrderIdentifierVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly order_identifier: io.flow.experience.v0.models.OrderIdentifier; } interface OrderNumberGeneratorDefaults { readonly starts_with: number; readonly min_hex_length: number; readonly min_starts_with: number; } interface OrderNumberGeneratorFixedLength { readonly length: number; readonly padding: string; } interface OrderNumberGeneratorGeneratedNumber { readonly number: string; } interface OrderNumberGeneratorHexadecimal { readonly discriminator: 'hexadecimal'; readonly length: number; } interface OrderNumberGeneratorPrefixSuffix { readonly discriminator: 'prefix_suffix'; readonly prefix?: string; readonly starts_with?: number; readonly suffix?: string; readonly fixed_length?: io.flow.experience.v0.models.OrderNumberGeneratorFixedLength; } interface OrderNumberGeneratorUuid { readonly discriminator: 'uuid'; readonly prefix?: string; } interface OrderNumberReference { readonly number: string; } interface OrderOptions { readonly storage: io.flow.experience.v0.enums.OrderStorage; } interface OrderPayment { readonly id: string; readonly type: io.flow.experience.v0.enums.OrderPaymentType; readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord; readonly reference: string; readonly description: string; readonly total: io.flow.common.v0.models.PriceWithBase; readonly address?: io.flow.common.v0.models.BillingAddress; readonly date?: string; readonly attributes?: Record; readonly method?: string; } interface OrderPromotionTrigger { readonly type: io.flow.experience.v0.enums.PromotionTriggerType; readonly min?: io.flow.common.v0.models.Price; } interface OrderPutForm { readonly order_type?: io.flow.experience.v0.enums.OrderType; readonly items: io.flow.common.v0.models.LineItemForm[]; readonly customer?: io.flow.common.v0.models.OrderCustomerForm; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly selections?: string[]; readonly destination?: io.flow.experience.v0.models.OrderAddress; readonly discount?: io.flow.common.v0.models.Money; readonly discounts?: io.flow.common.v0.models.DiscountsForm; readonly attributes?: Record; readonly authorization_keys?: string[]; readonly options?: io.flow.experience.v0.models.OrderOptions; readonly device_details?: io.flow.payment.v0.unions.DeviceDetails; readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType; } interface OrderRate { readonly from: string; readonly to: string; readonly rate: number; } interface OrderReference { readonly discriminator: 'order_reference'; readonly id: string; readonly number: string; } interface OrderRefundSummary { readonly currency: string; readonly amounts: io.flow.experience.v0.models.OrderRefundSummaryAmounts; } interface OrderRefundSummaryAmounts { readonly balance: number; readonly item_subtotal: number; readonly discount?: number; readonly refund_total: number; readonly shipping: number; readonly vat: number; readonly duty: number; } interface OrderRefundSummaryFullForm { readonly discriminator: 'order_refund_summary_full_form'; readonly includes: io.flow.experience.v0.enums.OrderRefundSummaryIncludes[]; } interface OrderRefundSummaryItem { readonly number: string; readonly quantity_to_refund: number; } interface OrderRefundSummaryPartialForm { readonly discriminator: 'order_refund_summary_partial_form'; readonly includes: io.flow.experience.v0.models.OrderRefundSummaryPartialIncludes[]; readonly items: io.flow.experience.v0.models.OrderRefundSummaryItem[]; } interface OrderRefundSummaryPartialIncludes { readonly key: io.flow.experience.v0.enums.OrderRefundSummaryIncludes; readonly charged: io.flow.experience.v0.enums.OrderRefundSummaryPartialCharged; } interface OrderReplacement { readonly id: string; readonly parent_order: io.flow.experience.v0.models.Order; readonly replacement_order: io.flow.experience.v0.models.Order; } interface OrderReplacementForm { readonly items?: io.flow.common.v0.models.LineItemForm[]; } interface OrderRuleReference { readonly id: string; readonly key: string; } interface OrderRulesSummary { readonly applied: io.flow.experience.v0.models.OrderRuleReference[]; } interface OrderServiceChange { readonly id: string; readonly from: io.flow.reference.v0.models.CarrierService; readonly to: io.flow.reference.v0.models.CarrierService; } interface OrderServiceChangeForm { readonly from_service_id: string; readonly to_service_id: string; } interface OrderServiceChangeRequestData { readonly id: string; readonly source_url: string; readonly filename?: string; } interface OrderSubmissionForm { readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[]; } interface OrderSubmissionIdentifierForm { readonly identifier: string; readonly name?: string; readonly primary?: boolean; } interface OrderSummary { readonly number: string; readonly subtotal: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly shipping?: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly tax?: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly duty?: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly insurance?: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly discount?: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly surcharges?: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly adjustment?: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly total: io.flow.experience.v0.models.OrderSummaryPriceDetail; readonly lines: io.flow.experience.v0.models.OrderSummaryLineItem[]; readonly identifiers?: Record; readonly attributes?: Record; } interface OrderSummaryImage { readonly url: string; } interface OrderSummaryItem { readonly number: string; readonly name: string; readonly description?: string; readonly attributes: io.flow.experience.v0.models.CheckoutItemContentAttribute[]; readonly image?: io.flow.experience.v0.models.OrderSummaryImage; readonly price: io.flow.common.v0.models.Price; readonly discount?: io.flow.common.v0.models.Price; readonly tax?: io.flow.experience.v0.models.OrderSummaryLevy; readonly duty?: io.flow.experience.v0.models.OrderSummaryLevy; readonly price_attributes: Record; } interface OrderSummaryLevy { readonly rate: number; readonly rate_label?: string; readonly value: io.flow.common.v0.models.Price; } interface OrderSummaryLineItem { readonly id?: string; readonly item: io.flow.experience.v0.models.OrderSummaryItem; readonly quantity: number; readonly discount?: io.flow.common.v0.models.Price; readonly tax?: io.flow.experience.v0.models.OrderSummaryLevy; readonly duty?: io.flow.experience.v0.models.OrderSummaryLevy; readonly total: io.flow.common.v0.models.Price; readonly price_attributes: Record; readonly attributes?: Record; } interface OrderSummaryPriceDetail { readonly price: io.flow.common.v0.models.Price; readonly name?: string; readonly rate?: number; readonly rate_label?: string; } interface OrderVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly order: io.flow.experience.v0.models.Order; } interface OrderWithDiscountsForm { readonly order: io.flow.experience.v0.models.OrderForm; readonly discounts: string[]; } interface OriginalPrices { readonly value: io.flow.common.v0.models.Price; readonly max: io.flow.common.v0.models.Price; } interface PaymentMethodIssuer { readonly id: string; readonly name: string; readonly logo?: io.flow.common.v0.unions.LogoImage; } interface PaymentMethodRule { readonly tags: io.flow.experience.v0.unions.PaymentMethodTag[]; readonly payment_method: io.flow.reference.v0.models.PaymentMethod; readonly display_position: number; readonly content?: io.flow.experience.v0.models.PaymentMethodRuleContent[]; readonly issuers?: io.flow.experience.v0.models.PaymentMethodIssuer[]; readonly programs?: any /*object*/[]; readonly q?: io.flow.query.builder.v0.models.Query; } interface PaymentMethodRuleContent { readonly key: io.flow.experience.v0.enums.PaymentMethodRuleContentKey; readonly value: string; } interface PricingSettings { readonly editable: boolean; readonly default_tax_display: io.flow.price.v0.enums.PricingLevySetting; readonly default_duty_display: io.flow.price.v0.enums.PricingLevySetting; } interface PricingVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly pricing: io.flow.price.v0.models.Pricing; } interface PromotionTrigger { readonly type: io.flow.experience.v0.enums.PromotionTriggerType; readonly min: io.flow.common.v0.models.Price; readonly remaining: io.flow.common.v0.models.Price; } interface PromotionTriggerForm { readonly type: io.flow.experience.v0.enums.PromotionTriggerType; readonly min?: io.flow.common.v0.models.PriceForm; } interface Promotions { readonly applied: io.flow.experience.v0.unions.Promotion[]; readonly available: io.flow.experience.v0.unions.Promotion[]; } interface RegionReference { readonly id: string; } interface ValueThresholdExceededDetails { readonly local: io.flow.common.v0.models.Price; readonly original: io.flow.common.v0.models.Price; } } declare namespace io.flow.experience.v0.unions { type AllocationComponent = | io.flow.experience.v0.models.AllocationDetailComponent | io.flow.experience.v0.models.AllocationLevyComponent; type AllocationDetail = | io.flow.experience.v0.models.AllocationLineDetail | io.flow.experience.v0.models.AllocationOrderDetail; type DiscountRuleEntitlement = io.flow.experience.v0.models.DiscountRuleSubsidyEntitlement; type ExpandableExperience = | io.flow.experience.v0.models.Experience | io.flow.experience.v0.models.ExperienceReference; type ExpandableOrder = | io.flow.experience.v0.models.Order | io.flow.experience.v0.models.OrderReference; type OrderNumberGenerator = | io.flow.experience.v0.models.OrderNumberGeneratorUuid | io.flow.experience.v0.models.OrderNumberGeneratorHexadecimal | io.flow.experience.v0.models.OrderNumberGeneratorPrefixSuffix; type OrderPromotion = io.flow.experience.v0.models.FreeShippingOrderPromotion; type OrderPromotionForm = io.flow.experience.v0.models.FreeShippingOrderPromotionForm; type OrderRefundSummaryForm = | io.flow.experience.v0.models.OrderRefundSummaryFullForm | io.flow.experience.v0.models.OrderRefundSummaryPartialForm; type PaymentMethodTag = | { discriminator: 'organization_payment_method_tag'; value: io.flow.experience.v0.enums.OrganizationPaymentMethodTag; } | { discriminator: 'experience_payment_method_tag'; value: io.flow.experience.v0.enums.ExperiencePaymentMethodTag; }; type Promotion = | io.flow.experience.v0.models.FreeShipping | io.flow.experience.v0.models.Discount; } declare namespace io.flow.payment.request.bundle.v0.models { interface PaymentRequestBilling { readonly fees: io.flow.payment.request.bundle.v0.models.PaymentRequestBillingFees; readonly currency_rate?: io.flow.payment.request.bundle.v0.models.PaymentRequestBillingCurrencyRate; } interface PaymentRequestBillingCurrencyRate { readonly base_amount: number; readonly base_currency: string; } interface PaymentRequestBillingFees { readonly mor_fee_rate?: number; readonly fx_fee_rate?: number; } interface PaymentRequestBundle { readonly payment_request: io.flow.payment.gateway.v0.models.PaymentRequest; readonly billing: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling; } interface PaymentRequestBundleForm { readonly payment_request: io.flow.payment.gateway.v0.models.PaymentRequestForm; readonly billing: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling; } } declare namespace io.flow.ratecard.v0.models { interface AdditionalHandlingServiceFee { readonly discriminator: 'additional_handling_service_fee'; readonly length_girth_threshold?: number; readonly length_threshold?: number; readonly width_threshold?: number; readonly dimensional_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly weight_threshold?: number; readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly amount: io.flow.common.v0.models.Money; } interface CrossdockRatecardFee { readonly discriminator: 'crossdock_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; } interface DdpRatecardFee { readonly discriminator: 'ddp_ratecard_fee'; readonly amount: number; } interface DimensionEstimate { readonly id: string; readonly q: string; readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions; readonly position: number; readonly block_bulk_update?: boolean; } interface DimensionEstimateForm { readonly q: string; readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions; readonly position?: number; readonly block_bulk_update?: boolean; } interface DimensionEstimateVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate; } interface DutiesTaxesPaidSurchargeRatecardFee { readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; readonly starts_at?: string; readonly ends_at?: string; } interface DutiesTaxesPaidSurchargeServiceFee { readonly discriminator: 'duties_taxes_paid_surcharge_service_fee'; readonly amount: io.flow.common.v0.models.Money; readonly destination_countries?: string[]; readonly starts_at?: string; readonly ends_at?: string; } interface EeiFilingRatecardFee { readonly discriminator: 'eei_filing_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; } interface EeiFilingServiceFee { readonly discriminator: 'eei_filing_service_fee'; readonly amount: io.flow.common.v0.models.Money; readonly value_threshold: io.flow.common.v0.models.Money; } interface EmergencySituationSurchargeRatecardFee { readonly discriminator: 'emergency_situation_surcharge_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; } interface EmergencySituationSurchargeServiceFee { readonly discriminator: 'emergency_situation_surcharge_service_fee'; readonly amount: io.flow.common.v0.models.Money; readonly origin_region?: io.flow.ratecard.v0.models.RatecardRegionReference; readonly destination_region?: io.flow.ratecard.v0.models.RatecardRegionReference; readonly destination_regions?: io.flow.ratecard.v0.models.RatecardRegionReference[]; readonly interval_unit?: io.flow.common.v0.enums.UnitOfMeasurement; } interface EstimatedDimensions { readonly depth: io.flow.common.v0.models.Measurement; readonly length: io.flow.common.v0.models.Measurement; readonly weight: io.flow.common.v0.models.Measurement; readonly width: io.flow.common.v0.models.Measurement; } interface FeeWeight { readonly weight: number; readonly unit: io.flow.common.v0.enums.UnitOfMeasurement; } interface FixedCurrencyConversionRatecardFee { readonly discriminator: 'fixed_currency_conversion_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; } interface FixedCurrencyConversionServiceFee { readonly discriminator: 'fixed_currency_conversion_service_fee'; readonly conditions: io.flow.ratecard.v0.models.FixedFeeCondition[]; } interface FixedDdpRatecardFee { readonly discriminator: 'fixed_ddp_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; } interface FixedDdpServiceFee { readonly discriminator: 'fixed_ddp_service_fee'; readonly conditions: io.flow.ratecard.v0.models.FixedFeeCondition[]; } interface FixedFeeCondition { readonly countries: string[]; readonly amount: io.flow.common.v0.models.Money; } interface FuelSurchargeAmountByWeightServiceFee { readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee'; readonly amount: io.flow.common.v0.models.Money; readonly weight: io.flow.ratecard.v0.models.FeeWeight; readonly regions?: string[]; readonly starts_at?: string; readonly ends_at?: string; } interface FuelSurchargeByWeight { readonly discriminator: 'fuel_surcharge_by_weight'; readonly amount: number; readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement; } interface FuelSurchargePercent { readonly discriminator: 'fuel_surcharge_percent'; readonly percent: number; } interface FuelSurchargeRatecardFee { readonly discriminator: 'fuel_surcharge_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; readonly fuel_surcharge_rate?: io.flow.ratecard.v0.unions.FuelSurchargeRate; } interface FuelSurchargeServiceFee { readonly discriminator: 'fuel_surcharge_service_fee'; readonly percent: number; } interface Hop { readonly hop_number: number; readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate; } interface HopEstimate { readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress; readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress; readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary; readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow; readonly currency: string; readonly amount: number; readonly fees: io.flow.ratecard.v0.unions.RatecardFee[]; readonly total: number; } interface HopEstimateV2 { readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress; readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress; readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary; readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow; readonly currency: string; readonly amount: number; readonly fees: io.flow.ratecard.v0.unions.RatecardFee[]; readonly weight_break?: number; readonly total: number; readonly lane: io.flow.ratecard.v0.models.LaneSummary; } interface HopV2 { readonly hop_number: number; readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimateV2; } interface LaneSummary { readonly id: string; readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary; readonly dim_factor: number; } interface LargePackageServiceFee { readonly discriminator: 'large_package_service_fee'; readonly length_girth_threshold?: number; readonly dimensional_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly weight_threshold?: number; readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly amount: io.flow.common.v0.models.Money; } interface OversizePieceSurchargeRatecardFee { readonly discriminator: 'oversize_piece_surcharge_ratecard_fee'; readonly dimensional_threshold?: number; readonly dimensional_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly weight_threshold?: number; readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly amount: io.flow.common.v0.models.Money; } interface OversizePieceSurchargeServiceFee { readonly discriminator: 'oversize_piece_surcharge_service_fee'; readonly dimensional_threshold?: number; readonly dimensional_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly weight_threshold?: number; readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly amount: io.flow.common.v0.models.Money; } interface OverweightPieceSurchargeServiceFee { readonly discriminator: 'overweight_piece_surcharge_service_fee'; readonly weight_threshold?: number; readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly amount: io.flow.common.v0.models.Money; } interface PeakSurchargeByWeightServiceFee { readonly discriminator: 'peak_surcharge_by_weight_service_fee'; readonly amount: io.flow.common.v0.models.Money; readonly weight: io.flow.ratecard.v0.models.FeeWeight; readonly regions?: string[]; readonly starts_at?: string; readonly ends_at?: string; } interface PeakSurchargeRatecardFee { readonly discriminator: 'peak_surcharge_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; readonly starts_at?: string; readonly ends_at?: string; } interface PeakSurchargeServiceFee { readonly discriminator: 'peak_surcharge_service_fee'; readonly amount: io.flow.common.v0.models.Money; readonly starts_at?: string; readonly ends_at?: string; readonly regions?: string[]; readonly dependent_service_fees?: string[]; } interface Ratecard { readonly id: string; readonly number: string; readonly rate_level_key?: string; readonly direction: io.flow.label.v0.enums.Direction; readonly effective_at: string; readonly effective_until?: string; readonly origination_zones: io.flow.common.v0.models.Zone[]; readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary; readonly published_at?: string; readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner; readonly glbe_shipping_method_id?: string; readonly glbe_proposition_name?: string; readonly channel_revenue_share_percentage?: number; readonly channel_id?: string; } interface RatecardCarrierSummary { readonly id: string; readonly name: string; } interface RatecardData { readonly dhlParcelDistributionCenter?: string; readonly glbeRatecardMetadataLaneIdentifier?: string; readonly pickupCenter?: string; } interface RatecardEffectiveUntilForm { readonly effective_until?: string; } interface RatecardEstimateForm { readonly origin_address: io.flow.common.v0.models.Address; readonly destination_address: io.flow.common.v0.models.Address; readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly service?: string; readonly weight?: number; readonly length?: number; readonly width?: number; readonly depth?: number; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly line_items?: io.flow.common.v0.models.LineItemForm[]; readonly center_id?: string; readonly taxes_owed?: io.flow.common.v0.models.Money; readonly duties_owed?: io.flow.common.v0.models.Money; readonly commercial_invoice_mode?: io.flow.label.v0.enums.CommercialInvoiceMode; } interface RatecardEstimateV1 { readonly discriminator: 'ratecard_estimate_v1'; readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary; readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow; readonly currency: string; readonly amount: number; readonly fees: io.flow.ratecard.v0.unions.RatecardFee[]; readonly total: number; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly dimensional_weight?: io.flow.common.v0.models.Measurement; readonly gravitational_weight?: io.flow.common.v0.models.Measurement; readonly line_items?: io.flow.common.v0.models.LineItemForm[]; } interface RatecardEstimateV2 { readonly discriminator: 'ratecard_estimate_v2'; readonly hops: io.flow.ratecard.v0.models.Hop[]; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly dimensional_weight?: io.flow.common.v0.models.Measurement; readonly gravitational_weight?: io.flow.common.v0.models.Measurement; readonly line_items?: io.flow.common.v0.models.LineItemForm[]; readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner; } interface RatecardEstimateV3 { readonly discriminator: 'ratecard_estimate_v3'; readonly hops: io.flow.ratecard.v0.models.Hop[]; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly dimensional_weight?: io.flow.common.v0.models.Measurement; readonly gravitational_weight?: io.flow.common.v0.models.Measurement; readonly line_items?: io.flow.common.v0.models.LineItemForm[]; readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary; } interface RatecardEstimateV4 { readonly discriminator: 'ratecard_estimate_v4'; readonly hops: io.flow.ratecard.v0.models.HopV2[]; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly distance_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement; readonly weight_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement; readonly dimensional_weight?: io.flow.common.v0.models.Measurement; readonly gravitational_weight?: io.flow.common.v0.models.Measurement; readonly ratecard_id?: string; readonly glbe_shipping_method_id?: string; readonly glbe_proposition_name?: string; readonly channel_revenue_share_percentage?: number; readonly rate_level_key?: string; readonly line_items?: io.flow.common.v0.models.LineItemForm[]; } interface RatecardFeeSummary { readonly ratecard_fee: io.flow.ratecard.v0.unions.RatecardFee; readonly source_service_fees: string[]; } interface RatecardForm { readonly direction: io.flow.label.v0.enums.Direction; readonly effective_at: string; readonly published_at?: string; readonly origination_zones: io.flow.common.v0.models.Zone[]; readonly service: string; readonly number?: string; readonly rate_level_key?: string; readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner; readonly glbe_shipping_method_id?: string; readonly glbe_proposition_name?: string; readonly channel_revenue_share_percentage?: number; readonly channel_id?: string; readonly data?: io.flow.ratecard.v0.models.RatecardData; } interface RatecardLane { readonly id: string; readonly ratecard: io.flow.ratecard.v0.models.RatecardSummary; readonly currency: string; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow; readonly destination: io.flow.common.v0.models.Zone; readonly dim_factor: number; readonly fees: io.flow.ratecard.v0.unions.RatecardFee[]; readonly origin: io.flow.common.v0.models.Zone; readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary; readonly rates: io.flow.ratecard.v0.models.RatecardRate[]; readonly rounding: io.flow.common.v0.models.Rounding; readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement; readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement; } interface RatecardLaneForm { readonly ratecard_id: string; readonly currency: string; readonly destination: io.flow.common.v0.models.Zone; readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly dim_factor: number; readonly fees: io.flow.ratecard.v0.unions.RatecardFee[]; readonly origin: io.flow.common.v0.models.Zone; readonly rounding: io.flow.common.v0.models.Rounding; readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[]; readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement; readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement; } interface RatecardLaneVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane; } interface RatecardRate { readonly amount: number; readonly weight: number; } interface RatecardRateForm { readonly amount: number; readonly weight: number; } interface RatecardReference { readonly id: string; } interface RatecardRegionReference { readonly id: string; } interface RatecardServiceSummary { readonly id: string; readonly name: string; readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary; } interface RatecardSummary { readonly id: string; readonly number: string; readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner; } interface RatecardVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly ratecard: io.flow.ratecard.v0.models.Ratecard; } interface RemoteAreaByWeightServiceFee { readonly discriminator: 'remote_area_by_weight_service_fee'; readonly amount: io.flow.common.v0.models.Money; readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement; } interface RemoteAreaRatecardFee { readonly discriminator: 'remote_area_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; } interface RemoteAreaServiceFee { readonly discriminator: 'remote_area_service_fee'; readonly amount: io.flow.common.v0.models.Money; } interface ReturnPackageRatecardFee { readonly discriminator: 'return_package_ratecard_fee'; readonly amount: number; } interface SecurityRatecardFee { readonly discriminator: 'security_ratecard_fee'; readonly amount: io.flow.common.v0.models.Money; } interface SecurityServiceFee { readonly discriminator: 'security_service_fee'; readonly amount: io.flow.common.v0.models.Money; readonly countries: string[]; } interface ShipmentWindow { readonly from: number; readonly to: number; } interface ShippingRateEstimate { readonly origin_address: io.flow.common.v0.models.Address; readonly destination_address: io.flow.common.v0.models.Address; readonly shipping_date_time: string; readonly services: string[]; readonly available: io.flow.ratecard.v0.models.ShippingRateEstimateAvailable[]; readonly unavailable?: io.flow.ratecard.v0.models.ShippingRateEstimateUnavailable[]; } interface ShippingRateEstimateAvailable { readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow; readonly total_amount: io.flow.common.v0.models.Money; readonly base_amount: io.flow.common.v0.models.Money; readonly fees: io.flow.ratecard.v0.unions.RatecardFee[]; readonly dimensional_weight?: io.flow.common.v0.models.Measurement; readonly gravitational_weight?: io.flow.common.v0.models.Measurement; readonly weight_break?: number; } interface ShippingRateEstimateRequest { readonly carrier_id: string; readonly origin_address: io.flow.common.v0.models.Address; readonly destination_address: io.flow.common.v0.models.Address; readonly package_dimensions: io.flow.common.v0.models.Dimension; readonly shipping_date_time: string; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly duties_owed?: io.flow.common.v0.models.Money; readonly taxes_owed?: io.flow.common.v0.models.Money; readonly line_items?: io.flow.common.v0.models.LineItemForm[]; } interface ShippingRateEstimateUnavailable { readonly service: string; readonly reason: string; } } declare namespace io.flow.ratecard.v0.unions { type FuelSurchargeRate = | io.flow.ratecard.v0.models.FuelSurchargePercent | io.flow.ratecard.v0.models.FuelSurchargeByWeight; type RatecardEstimate = | io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2 | io.flow.ratecard.v0.models.RatecardEstimateV3 | io.flow.ratecard.v0.models.RatecardEstimateV4; type RatecardFee = | io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizePieceSurchargeRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.ratecard.v0.models.PeakSurchargeRatecardFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeRatecardFee | io.flow.ratecard.v0.models.SecurityRatecardFee | io.flow.ratecard.v0.models.EeiFilingRatecardFee | io.flow.ratecard.v0.models.FixedDdpRatecardFee | io.flow.ratecard.v0.models.FixedCurrencyConversionRatecardFee; type ServiceFee = | io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee | io.flow.ratecard.v0.models.EmergencySituationSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeServiceFee | io.flow.ratecard.v0.models.PeakSurchargeByWeightServiceFee | io.flow.ratecard.v0.models.DutiesTaxesPaidSurchargeServiceFee | io.flow.ratecard.v0.models.OversizePieceSurchargeServiceFee | io.flow.ratecard.v0.models.OverweightPieceSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaByWeightServiceFee | io.flow.ratecard.v0.models.AdditionalHandlingServiceFee | io.flow.ratecard.v0.models.LargePackageServiceFee | io.flow.ratecard.v0.models.SecurityServiceFee | io.flow.ratecard.v0.models.FixedDdpServiceFee | io.flow.ratecard.v0.models.FixedCurrencyConversionServiceFee | io.flow.ratecard.v0.models.EeiFilingServiceFee; } declare namespace io.flow.token.v0.models { interface ChannelToken { readonly discriminator: 'channel_token'; readonly id: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly user: io.flow.common.v0.models.UserReference; readonly partial: string; readonly cleartext?: string; readonly created_at: string; readonly description?: string; } interface ChannelTokenForm { readonly channel_id: string; readonly description?: string; } interface ChannelTokenReference { readonly discriminator: 'channel_token_reference'; readonly id: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly user: io.flow.common.v0.models.UserReference; } interface Cleartext { readonly value: string; } interface OrganizationToken { readonly discriminator: 'organization_token'; readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly user: io.flow.common.v0.models.UserReference; readonly environment: io.flow.common.v0.enums.Environment; readonly partial: string; readonly created_at: string; readonly description?: string; } interface OrganizationTokenForm { readonly environment: io.flow.common.v0.enums.Environment; readonly description?: string; } interface OrganizationTokenFormV2 { readonly organization_id: string; readonly description?: string; } interface OrganizationTokenReference { readonly discriminator: 'organization_token_reference'; readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly environment: io.flow.common.v0.enums.Environment; readonly user: io.flow.common.v0.models.UserReference; } interface OrganizationTokenV2 { readonly discriminator: 'organization_token_v2'; readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly user: io.flow.common.v0.models.UserReference; readonly partial: string; readonly cleartext?: string; readonly created_at: string; readonly description?: string; } interface OrganizationTokenV2Reference { readonly discriminator: 'organization_token_v2_reference'; readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; } interface PartnerToken { readonly discriminator: 'partner_token'; readonly id: string; readonly partner: io.flow.token.v0.models.TokenPartnerReference; readonly user: io.flow.common.v0.models.UserReference; readonly environment: io.flow.common.v0.enums.Environment; readonly partial: string; readonly created_at: string; readonly description?: string; } interface PartnerTokenForm { readonly environment: io.flow.common.v0.enums.Environment; readonly description?: string; } interface PartnerTokenReference { readonly discriminator: 'partner_token_reference'; readonly id: string; readonly partner: io.flow.token.v0.models.TokenPartnerReference; readonly environment: io.flow.common.v0.enums.Environment; readonly user: io.flow.common.v0.models.UserReference; } interface TokenAuthenticationForm { readonly token: string; } interface TokenPartnerReference { readonly id: string; } interface TokenRbacAuthenticationForm { readonly token: string; readonly method: string; readonly path_pattern: string; readonly path: string; } interface TokenValidation { readonly status: string; } interface TokenValidationForm { readonly token: string; } } declare namespace io.flow.token.v0.unions { type Token = | io.flow.token.v0.models.ChannelToken | io.flow.token.v0.models.OrganizationToken | io.flow.token.v0.models.OrganizationTokenV2 | io.flow.token.v0.models.PartnerToken; type TokenReference = | io.flow.token.v0.models.ChannelTokenReference | io.flow.token.v0.models.OrganizationTokenReference | io.flow.token.v0.models.OrganizationTokenV2Reference | io.flow.token.v0.models.PartnerTokenReference; } declare namespace io.flow.catalog.exclusion.v0.enums { type ExclusionRuleState = 'current' | 'deleting' | 'updating'; } declare namespace io.flow.catalog.exclusion.v0.models { interface ExclusionRule { readonly id: string; readonly q: string; readonly query: io.flow.query.builder.v0.models.Query; readonly regions: io.flow.reference.v0.models.Region[]; readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus; readonly description?: string; readonly statistics: io.flow.catalog.exclusion.v0.models.ExclusionRuleStatistic; } interface ExclusionRuleForm { readonly q: string; readonly regions: string[]; readonly description?: string; } interface ExclusionRuleStatistic { readonly state: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState; readonly number_items: number; } interface ExclusionRuleVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule; } } declare namespace io.flow.crypto.v0.enums { type ErrorType = | 'authentication_error' | 'invalid_request_error' | 'rate_limit_error'; type PaymentStatus = 'pending' | 'succeeded' | 'cancelled'; type ReasonType = 'duplicate' | 'fraudulent' | 'requested_by_customer'; type RefundStatus = 'pending' | 'succeeded'; type WebhookEventName = | 'payment.created' | 'payment.fulfilled' | 'payment.captured' | 'payment.refund_requested' | 'payment.refund_transferred'; type WebhookObjectType = 'event'; } declare namespace io.flow.crypto.v0.models { interface CryptoEvent { readonly id: string; readonly object_type: io.flow.crypto.v0.enums.WebhookObjectType; readonly type: io.flow.crypto.v0.enums.WebhookEventName; readonly created: number; readonly data: any /*object*/; } interface CryptoPaymentInfo { readonly publishable_key: string; } interface Error { readonly type?: io.flow.crypto.v0.enums.ErrorType; readonly code?: string; readonly param?: string; } interface ErrorResponse { readonly error?: io.flow.crypto.v0.models.Error; } interface Payment { readonly id: string; readonly amount: number; readonly amount_refunded: number; readonly created: number; readonly crypto_currency: string; readonly crypto_amount: string; readonly currency: string; readonly customer_id?: string; readonly data_url: string; readonly description?: string; readonly live_mode: boolean; readonly metadata?: any /*object*/; readonly order_id?: string; readonly recipient: string; readonly refunded: boolean; readonly status: io.flow.crypto.v0.enums.PaymentStatus; } interface PaymentRequest { readonly amount: number; readonly currency: string; readonly customer_id?: string; readonly description?: string; readonly metadata?: any /*object*/; readonly order_id?: string; } interface Refund { readonly id: string; readonly status: io.flow.crypto.v0.enums.RefundStatus; readonly payment_id: string; readonly currency: string; readonly amount: number; readonly debit_currency: string; readonly debit_amount: number; readonly reason?: io.flow.crypto.v0.enums.ReasonType; readonly description?: string; readonly created: number; } interface RefundRequest { readonly payment_id: string; readonly amount: number; readonly reason?: io.flow.crypto.v0.enums.ReasonType; readonly description?: string; } interface WebhookPayment { readonly object: io.flow.crypto.v0.models.Payment; } interface WebhookRefund { readonly object: io.flow.crypto.v0.models.Refund; } } declare namespace io.flow.error.v0.enums { type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error'; } declare namespace io.flow.error.v0.models { interface GenericError { readonly code: io.flow.error.v0.enums.GenericErrorCode; readonly messages: string[]; } } declare namespace io.flow.shopify.external.v2.v0.models { interface CountryHarmonizedSystemCodeConnection { readonly nodes: io.flow.shopify.external.v2.v0.models.CountryHarmonizedSystemCodeNode[]; } interface CountryHarmonizedSystemCodeNode { readonly harmonizedSystemCode?: string; readonly countryCode?: string; } interface EventError { readonly message: string; } interface FieldsChanged { readonly added: string[]; readonly updated: string[]; readonly removed: string[]; } interface ImageConnection { readonly nodes: io.flow.shopify.external.v2.v0.models.ImageNode[]; } interface ImageNode { readonly id?: string; readonly url?: string; } interface InventoryItemData { readonly shop: io.flow.shopify.external.v2.v0.models.ShopNode; readonly inventoryItem?: io.flow.shopify.external.v2.v0.models.InventoryItemNode; } interface InventoryItemDeleteData { readonly shop: io.flow.shopify.external.v2.v0.models.ShopNode; readonly inventoryItem?: io.flow.shopify.external.v2.v0.models.InventoryItemNode; } interface InventoryItemDeleteEvent { readonly topic: string; readonly action: string; readonly handle: string; readonly data: io.flow.shopify.external.v2.v0.models.InventoryItemDeleteData; readonly fields_changed?: io.flow.shopify.external.v2.v0.models.FieldsChanged; readonly errors?: io.flow.shopify.external.v2.v0.models.EventError[]; readonly query_variables: io.flow.shopify.external.v2.v0.models.InventoryItemQueryVariables; } interface InventoryItemEvent { readonly topic: string; readonly action: string; readonly handle: string; readonly data: io.flow.shopify.external.v2.v0.models.InventoryItemData; readonly fields_changed?: io.flow.shopify.external.v2.v0.models.FieldsChanged; readonly errors?: io.flow.shopify.external.v2.v0.models.EventError[]; readonly query_variables: io.flow.shopify.external.v2.v0.models.InventoryItemQueryVariables; } interface InventoryItemNode { readonly id?: string; readonly countryCodeOfOrigin?: string; readonly harmonizedSystemCode?: string; readonly updatedAt?: string; readonly countryHarmonizedSystemCodes?: io.flow.shopify.external.v2.v0.models.CountryHarmonizedSystemCodeConnection; readonly requiresShipping?: boolean; readonly variants?: io.flow.shopify.external.v2.v0.models.VariantConnection; } interface InventoryItemQueryVariables { readonly inventoryItemId: string; } interface MetafieldConnection { readonly nodes: io.flow.shopify.external.v2.v0.models.MetafieldNode[]; } interface MetafieldNode { readonly namespace?: string; readonly key: string; readonly value?: string; readonly type?: string; readonly references?: io.flow.shopify.external.v2.v0.models.MetafieldReferenceConnection; } interface MetafieldReferenceConnection { readonly edges: io.flow.shopify.external.v2.v0.models.MetafieldReferenceEdge[]; } interface MetafieldReferenceEdge { readonly node?: io.flow.shopify.external.v2.v0.models.MetaobjectNode; } interface MetaobjectNode { readonly id: string; readonly type?: string; readonly displayName?: string; readonly fields: io.flow.shopify.external.v0.models.GraphqlMetaobjectField[]; } interface ProductData { readonly shop: io.flow.shopify.external.v2.v0.models.ShopNode; readonly product?: io.flow.shopify.external.v2.v0.models.ProductNode; readonly productVariant?: io.flow.shopify.external.v2.v0.models.VariantNode; } interface ProductEvent { readonly topic: string; readonly action: string; readonly handle: string; readonly data: io.flow.shopify.external.v2.v0.models.ProductData; readonly fields_changed?: io.flow.shopify.external.v2.v0.models.FieldsChanged; readonly errors?: io.flow.shopify.external.v2.v0.models.EventError[]; readonly query_variables: io.flow.shopify.external.v2.v0.models.ProductQueryVariables; } interface ProductNode { readonly id: string; readonly handle?: string; readonly title?: string; readonly productType?: string; readonly vendor?: string; readonly status?: string; readonly createdAt?: string; readonly updatedAt?: string; readonly publishedAt?: string; readonly hasVariantsThatRequiresComponents?: boolean; readonly descriptionHtml?: string; readonly tags?: string[]; readonly category?: io.flow.shopify.external.v0.models.GraphqlTaxonomyCategory; readonly inferredProductCategory?: io.flow.shopify.external.v0.models.GraphqlInferredProductCategory; readonly images?: io.flow.shopify.external.v2.v0.models.ImageConnection; readonly metafields?: io.flow.shopify.external.v2.v0.models.MetafieldConnection; readonly variants?: io.flow.shopify.external.v2.v0.models.VariantConnection; } interface ProductQueryVariables { readonly productId: string; readonly variantsId?: string; } interface SelectedOptionNode { readonly name: string; readonly value: string; } interface ShopNode { readonly id: string; readonly currencyCode?: string; readonly myshopifyDomain?: string; } interface VariantBarcodeConnection { readonly nodes: io.flow.shopify.external.v2.v0.models.VariantBarcodeNode[]; } interface VariantBarcodeNode { readonly value: string; readonly type?: string; } interface VariantConnection { readonly nodes: io.flow.shopify.external.v2.v0.models.VariantNode[]; } interface VariantImageNode { readonly id?: string; readonly url?: string; } interface VariantNode { readonly id: string; readonly sku?: string; readonly price?: string; readonly title?: string; readonly selectedOptions?: io.flow.shopify.external.v2.v0.models.SelectedOptionNode[]; readonly barcodes?: io.flow.shopify.external.v2.v0.models.VariantBarcodeConnection; readonly taxable?: boolean; readonly image?: io.flow.shopify.external.v2.v0.models.VariantImageNode; readonly inventoryItem?: io.flow.shopify.external.v2.v0.models.InventoryItemNode; readonly createdAt?: string; readonly updatedAt?: string; readonly product?: io.flow.shopify.external.v2.v0.models.ProductNode; } } declare namespace io.flow.shopify.merchant.config.v0.models { interface Company { readonly discriminator: 'company'; readonly legal_name: string; readonly incorporation_country: string; readonly incorporation_jurisdiction: string; readonly tax_registration_number: string; } interface CountryOfOrigin { readonly country: io.flow.reference.v0.models.Country; } interface CountryOfOriginForm { readonly country: string; } interface Individual { readonly discriminator: 'individual'; readonly legal_name: string; readonly tax_registration_number?: string; readonly date_of_birth: string; } interface KnowYourBusinessUsa { readonly discriminator: 'know_your_business_usa'; readonly id: string; readonly organization_id: string; readonly shop?: io.flow.merchant.onboarding.v0.models.Shop; readonly primary_entity: io.flow.shopify.merchant.config.v0.unions.Entity; readonly parent_company?: io.flow.shopify.merchant.config.v0.models.Company; readonly ultimate_parent_company?: io.flow.shopify.merchant.config.v0.models.Company; readonly ultimate_beneficiary_owner: io.flow.shopify.merchant.config.v0.models.Individual; readonly business_url: string; readonly business_address: io.flow.common.v0.models.Address; } interface KnowYourBusinessUsaForm { readonly discriminator: 'know_your_business_usa_form'; readonly primary_entity: io.flow.shopify.merchant.config.v0.unions.Entity; readonly parent_company?: io.flow.shopify.merchant.config.v0.models.Company; readonly ultimate_parent_company?: io.flow.shopify.merchant.config.v0.models.Company; readonly ultimate_beneficiary_owner: io.flow.shopify.merchant.config.v0.models.Individual; readonly business_url: string; readonly business_address: io.flow.common.v0.models.Address; } interface PackageDimensions { readonly dimensions: io.flow.common.v0.models.Dimension[]; } interface PackageDimensionsForm { readonly dimensions: io.flow.common.v0.models.Dimension[]; } } declare namespace io.flow.shopify.merchant.config.v0.unions { type Entity = | io.flow.shopify.merchant.config.v0.models.Company | io.flow.shopify.merchant.config.v0.models.Individual; type KnowYourBusiness = io.flow.shopify.merchant.config.v0.models.KnowYourBusinessUsa; type KnowYourBusinessForm = io.flow.shopify.merchant.config.v0.models.KnowYourBusinessUsaForm; } declare namespace io.flow.price.v0.enums { type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat'; type LevyStrategy = 'minimum' | 'average' | 'maximum'; type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination'; type PriceDetailComponentKey = | 'base_price' | 'discount' | 'currency_margin' | 'percent_item_margin' | 'fixed_item_margin' | 'duties_item_price' | 'duties_added_margin' | 'duties_rounding' | 'duties_deminimis' | 'vat_item_price' | 'vat_added_margin' | 'vat_rounding' | 'vat_duties_item_price' | 'vat_duties_added_margin' | 'vat_duties_rounding' | 'vat_deminimis' | 'item_price_percent_sales_margin' | 'margins_percent_sales_margin' | 'rounding_percent_sales_margin' | 'vat_percent_sales_margin' | 'vat_duty_percent_sales_margin' | 'duty_percent_sales_margin'; type PriceDetailKey = | 'item_price' | 'margins' | 'vat' | 'duty' | 'rounding' | 'adjustment'; type PricingLevySetting = 'included' | 'displayed' | 'ignored'; } declare namespace io.flow.price.v0.models { interface CurrencyFormat { readonly symbol: io.flow.common.v0.enums.CurrencySymbolFormat; readonly label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[]; } interface DeminimisPerItem { readonly discriminator: 'deminimis_per_item'; readonly currency: string; readonly minimum?: number; readonly maximum?: number; } interface DeminimisSimple { readonly discriminator: 'deminimis_simple'; readonly value?: number; readonly currency: string; readonly components: io.flow.price.v0.enums.LevyComponent[]; readonly minimum?: number; } interface Duty { readonly rate: number; readonly components: io.flow.price.v0.enums.LevyComponent[]; readonly deminimis?: io.flow.price.v0.unions.Deminimis; readonly name?: string; } interface LocalPriceDetails { readonly base: io.flow.price.v0.models.PriceDetails; readonly local: io.flow.price.v0.models.PriceDetails; readonly discount?: io.flow.price.v0.models.PriceDetail; readonly local_before_discount?: io.flow.price.v0.models.PriceDetail; } interface PriceBook { readonly id: string; readonly key: string; readonly currency: string; readonly name: string; readonly includes: io.flow.common.v0.models.IncludedLevies; readonly status: io.flow.common.v0.enums.PriceBookStatus; } interface PriceBookForm { readonly currency: string; readonly name: string; readonly includes: io.flow.common.v0.enums.IncludedLevyKey; readonly status?: io.flow.common.v0.enums.PriceBookStatus; } interface PriceBookItem { readonly id: string; readonly key: string; readonly price_book: io.flow.price.v0.models.PriceBookReference; readonly price: io.flow.common.v0.models.Price; readonly item_number: string; readonly schedule: io.flow.price.v0.models.PriceBookItemSchedule; readonly item_attributes?: Record; } interface PriceBookItemForm { readonly price_book_key: string; readonly item_number: string; readonly amount: number; readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule; readonly item_attributes?: Record; } interface PriceBookItemQueryForm { readonly price_book_key: string; readonly item_query: string; readonly amount: number; readonly schedule?: io.flow.price.v0.models.PriceBookItemSchedule; readonly item_attributes?: Record; } interface PriceBookItemSchedule { readonly starts_at: string; readonly ends_at?: string; } interface PriceBookReference { readonly id: string; readonly key: string; } interface PriceCheck { readonly display: io.flow.price.v0.models.LocalPriceDetails; readonly final: io.flow.price.v0.models.LocalPriceDetails; } interface PriceDetail { readonly key: io.flow.price.v0.enums.PriceDetailKey; readonly components: io.flow.price.v0.models.PriceDetailComponent[]; readonly amount: number; readonly label: string; readonly name?: string; readonly basis?: number; } interface PriceDetailComponent { readonly key: io.flow.price.v0.enums.PriceDetailComponentKey; readonly amount: number; readonly label: string; readonly name?: string; } interface PriceDetails { readonly currency: string; readonly item_price: io.flow.price.v0.models.PriceDetail; readonly margins: io.flow.price.v0.models.PriceDetail; readonly vat: io.flow.price.v0.models.PriceDetail; readonly duty: io.flow.price.v0.models.PriceDetail; readonly rounding: io.flow.price.v0.models.PriceDetail; readonly price: io.flow.common.v0.models.Price; readonly total: io.flow.common.v0.models.Price; readonly adjustment?: io.flow.price.v0.models.PriceDetail; } interface PriceEquation { readonly contracted_rate: number; readonly rate: number; readonly pricing: io.flow.price.v0.models.Pricing; readonly base_price: number; readonly discount: number; readonly fixed_margin: number; readonly percent_margin: number; readonly insurance: number; readonly freight: number; readonly duty?: io.flow.price.v0.models.Duty; readonly tax?: io.flow.price.v0.models.Tax; readonly percent_sales_margin: number; } interface Pricing { readonly vat: io.flow.price.v0.enums.PricingLevySetting; readonly duty: io.flow.price.v0.enums.PricingLevySetting; readonly rounding?: io.flow.common.v0.models.Rounding; } interface Tax { readonly name: string; readonly rate: number; readonly components: io.flow.price.v0.enums.LevyComponent[]; readonly deminimis?: io.flow.price.v0.unions.Deminimis; } } declare namespace io.flow.price.v0.unions { type Deminimis = | io.flow.price.v0.models.DeminimisSimple | io.flow.price.v0.models.DeminimisPerItem; } declare namespace io.flow.trueup.v0.enums { type CarrierChargeReason = 'return_to_origin' | 'rejection' | 'other'; type TrueupSurchargeType = | 'fuel' | 'remote_area' | 'oversize' | 'duties_paid' | 'emergency' | 'peak' | 'address_correction' | 'security' | 'eei_filing' | 'fixed_ddp' | 'fixed_currency_conversion' | 'prohibited_item' | 'undeliverable_shipment' | 'signature_required' | 'direct_delivery' | 'saturday_stop' | 'residential_extended_area_pickup' | 'package_level_detail' | 'pickup'; } declare namespace io.flow.trueup.v0.models { interface DeadWeight { readonly weight: number; } interface DimensionalWeight { readonly weight: number; readonly length?: number; readonly width?: number; readonly height?: number; } interface LabelBase { readonly amount: number; readonly weight: number; } interface LabelSurcharge { readonly amount: number; readonly type: io.flow.trueup.v0.enums.TrueupSurchargeType; readonly detail: io.flow.trueup.v0.unions.LabelSurchargeDetail; } interface LabelSurchargeDetailFlat { readonly discriminator: 'flat'; readonly placeholder?: string; } interface LabelSurchargeDetailPerWeightUnit { readonly discriminator: 'per_weight_unit'; readonly fee: number; } interface LabelSurchargeDetailPercentage { readonly discriminator: 'percentage'; readonly percentage: number; } interface LabelUnits { readonly currency: string; readonly weight: io.flow.units.v0.enums.UnitOfWeight; readonly length: io.flow.units.v0.enums.UnitOfLength; } } declare namespace io.flow.trueup.v0.unions { type LabelSurchargeDetail = | io.flow.trueup.v0.models.LabelSurchargeDetailFlat | io.flow.trueup.v0.models.LabelSurchargeDetailPercentage | io.flow.trueup.v0.models.LabelSurchargeDetailPerWeightUnit; } declare namespace io.flow.reference.v0.enums { type PaymentMethodCapability = 'credit' | 'debit'; type PaymentMethodType = 'card' | 'online' | 'offline'; type PostalType = 'eircode' | 'pin' | 'postal' | 'zip'; type ProvinceType = | 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other'; } declare namespace io.flow.reference.v0.models { interface Carrier { readonly id: string; readonly name: string; readonly tracking_url: string; } interface CarrierService { readonly id: string; readonly carrier: io.flow.reference.v0.models.Carrier; readonly name: string; } interface Country { readonly name: string; readonly iso_3166_2: string; readonly iso_3166_3: string; readonly languages: string[]; readonly measurement_system: string; readonly default_currency?: string; readonly default_language?: string; readonly timezones: string[]; readonly default_delivered_duty?: string; } interface Currency { readonly name: string; readonly iso_4217_3: string; readonly number_decimals: number; readonly symbols?: io.flow.reference.v0.models.CurrencySymbols; readonly default_locale?: string; } interface CurrencySymbols { readonly primary: string; readonly narrow?: string; } interface Language { readonly name: string; readonly iso_639_2: string; } interface Locale { readonly id: string; readonly name: string; readonly country: string; readonly language: string; readonly numbers: io.flow.reference.v0.models.LocaleNumbers; } interface LocaleNumbers { readonly decimal: string; readonly group: string; } interface LocalizedTranslation { readonly locale: io.flow.reference.v0.models.Locale; readonly name: string; } interface PaymentMethod { readonly id: string; readonly type: io.flow.reference.v0.enums.PaymentMethodType; readonly name: string; readonly images: io.flow.reference.v0.models.PaymentMethodImages; readonly regions: string[]; readonly capabilities?: io.flow.reference.v0.enums.PaymentMethodCapability[]; } interface PaymentMethodImage { readonly url: string; readonly width: number; readonly height: number; } interface PaymentMethodImages { readonly small: io.flow.reference.v0.models.PaymentMethodImage; readonly medium: io.flow.reference.v0.models.PaymentMethodImage; readonly large: io.flow.reference.v0.models.PaymentMethodImage; } interface Province { readonly id: string; readonly iso_3166_2: string; readonly name: string; readonly country: string; readonly province_type: io.flow.reference.v0.enums.ProvinceType; readonly translations?: io.flow.reference.v0.models.LocalizedTranslation[]; } interface Region { readonly id: string; readonly name: string; readonly countries: string[]; readonly currencies: string[]; readonly languages: string[]; readonly measurement_systems: string[]; readonly timezones: string[]; } interface Timezone { readonly name: string; readonly description: string; readonly offset: number; } } declare namespace io.flow.product.v0.models { interface Product { readonly organization_id: string; readonly number: string; readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly inferred_taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[]; readonly item_numbers: string[]; readonly highest_value_item_number?: string; readonly updated_at: string; readonly deleted_at?: string; } interface ProductTaxonomyCategory { readonly name: string; readonly full_name: string; readonly id?: string; } interface ProductTaxonomyData { readonly key: string; readonly value: string[]; readonly value_obj?: io.flow.product.v0.models.ProductTaxonomyValue[]; } interface ProductTaxonomyValue { readonly handle: string; readonly name: string; } } declare namespace io.flow.tracking.v0.enums { type SubstatusCode = | 'Delivered_001' | 'Delivered_002' | 'Delivered_003' | 'Delivered_004' | 'AvailableForPickup_001' | 'Exception_001' | 'Exception_002' | 'Exception_003' | 'Exception_004' | 'Exception_005' | 'Exception_006' | 'Exception_007' | 'Exception_008' | 'Exception_009' | 'Exception_010' | 'Exception_011' | 'Exception_012' | 'Exception_013' | 'AttemptFail_001' | 'AttemptFail_002' | 'AttemptFail_003' | 'InTransit_001' | 'InTransit_002' | 'InTransit_003' | 'InTransit_004' | 'InTransit_005' | 'InTransit_006' | 'InTransit_007' | 'InTransit_008' | 'InTransit_009' | 'InfoReceived_001' | 'OutForDelivery_001' | 'OutForDelivery_003' | 'OutForDelivery_004' | 'Pending_001' | 'Pending_002' | 'Pending_003' | 'Pending_004' | 'Pending_005' | 'Pending_006' | 'Expired_001'; type TrackingStatus = | 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped'; } declare namespace io.flow.tracking.v0.models { interface LabelTrackingCarrierService { readonly carrier_id: string; readonly service_id?: string; } interface LabelTrackingSummary { readonly id: string; readonly carrier_service: io.flow.tracking.v0.models.LabelTrackingCarrierService; readonly carrier_tracking_number: string; readonly order_number?: string; readonly label?: io.flow.label.v0.models.LabelReference; readonly in_transit: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate; readonly delivered?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate; readonly rejected?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate; readonly returned?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate; readonly crossed_border?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate; readonly destroyed?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate; readonly return_reversal?: io.flow.tracking.v0.models.LabelTrackingSummaryUpdate; } interface LabelTrackingSummaryUpdate { readonly timestamp: string; readonly created_at?: string; } interface Tracking { readonly id: string; readonly labels: io.flow.tracking.v0.models.TrackingLabel[]; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly attributes: Record; readonly url: string; readonly window?: io.flow.common.v0.models.DatetimeRange; readonly order_number?: string; } interface TrackingEvent { readonly id: string; readonly address: io.flow.common.v0.models.Address; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly timestamp: string; readonly description?: string; readonly aggregator_status_code?: string; readonly created_at?: string; } interface TrackingEventForm { readonly tracking_label_id: string; readonly timestamp: string; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly description?: string; readonly address?: string; } interface TrackingEventSummary { readonly id: string; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly timestamp: string; } interface TrackingEventVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly tracking_event: io.flow.tracking.v0.models.TrackingEventSummary; } interface TrackingForm { readonly status?: io.flow.tracking.v0.enums.TrackingStatus; readonly order_number?: string; readonly attributes?: Record; readonly window?: io.flow.common.v0.models.DatetimeRange; } interface TrackingLabel { readonly id: string; readonly carrier: string; readonly carrier_tracking_number: string; readonly events: io.flow.tracking.v0.models.TrackingEvent[]; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly timestamp: string; readonly delivery_estimate?: string; readonly description?: string; } interface TrackingLabelForm { readonly tracking_id: string; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly carrier: string; readonly service_id?: string; readonly carrier_tracking_number: string; readonly delivery_estimate?: string; readonly description?: string; readonly timestamp?: string; readonly cost?: io.flow.common.v0.models.Money; readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner; } interface TrackingLabelSummary { readonly id: string; readonly tracking: io.flow.tracking.v0.models.TrackingSummary; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly carrier: string; readonly tracking_number: string; } interface TrackingLabelVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly tracking_label: io.flow.tracking.v0.models.TrackingLabelSummary; } interface TrackingSummary { readonly id: string; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly order_number?: string; } interface TrackingVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly tracking: io.flow.tracking.v0.models.TrackingSummary; } } declare namespace io.flow.merchant.onboarding.v0.enums { type LogisticsFormatPreference = | 'shopify_console' | 'existing_3pl_integration' | 'byo_integration'; type OnboardingApplicationStatus = | 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted'; 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'; type RegionType = 'state' | 'province' | 'jurisdiction'; } declare namespace io.flow.merchant.onboarding.v0.models { interface CommonMerchantApplication { readonly discriminator: 'common_merchant_application'; readonly id: string; readonly organization_id: string; readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference; readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus; readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo; readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax; readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner; readonly business_url?: string; readonly business_description?: string; readonly business_address?: io.flow.common.v0.models.Address; readonly refund_percentage?: number; readonly chargeback_percentage?: number; readonly beneficiary_details?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingBeneficiaryDetails; readonly other_trade_sector?: string; readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact; readonly average_order_weight?: number; readonly average_order_weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly package_dimensions?: io.flow.common.v0.models.Dimension[]; readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage; readonly default_country_of_origin?: string; readonly rate_card: string; readonly shop?: io.flow.merchant.onboarding.v0.models.Shop; readonly created_at: string; readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money; readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money; readonly average_order_value?: io.flow.common.v0.models.Money; readonly mcc_codes?: number[]; } interface CommonMerchantApplicationForm { readonly discriminator: 'common_merchant_application_form'; readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo; readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax; readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner; readonly business_url?: string; readonly business_description?: string; readonly business_address?: io.flow.common.v0.models.Address; readonly refund_percentage?: number; readonly chargeback_percentage?: number; readonly beneficiary_details?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingBeneficiaryDetails; readonly other_trade_sector?: string; readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact; readonly average_order_weight?: number; readonly average_order_weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly package_dimensions?: io.flow.common.v0.models.Dimension[]; readonly monthly_average_volume_amount?: number; readonly monthly_average_volume_currency?: string; readonly monthly_average_number_transactions?: number; readonly default_country_of_origin?: string; readonly shop?: io.flow.merchant.onboarding.v0.models.Shop; readonly rate_card?: string; readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money; readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money; readonly average_order_value?: io.flow.common.v0.models.Money; readonly mcc_codes?: number[]; } interface CommonMerchantApplicationPutForm { readonly discriminator: 'common_merchant_application_put_form'; readonly status?: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus; } interface CommonMerchantApplicationsSummary { readonly discriminator: 'common_merchant_applications_summary'; readonly total: number; } interface IndirectTax { readonly number?: string; readonly id?: string; } interface LogisticsFormat { readonly preference: io.flow.merchant.onboarding.v0.enums.LogisticsFormatPreference; readonly description?: string; } interface MerchantInfo { readonly legal_name?: string; readonly country: string; readonly region?: io.flow.merchant.onboarding.v0.enums.RegionType; readonly region_value?: string; readonly category_code?: string; readonly description?: string; } interface MerchantOnboardingAddress { readonly full_name?: string; readonly streets?: string[]; readonly city?: string; readonly province?: string; readonly postal?: string; readonly country?: string; } interface MerchantOnboardingBeneficiaryDetails { readonly name?: string; readonly address?: io.flow.common.v0.models.Address; readonly phone?: string; readonly email?: string; readonly bank_account_number?: string; readonly bank_routing_number?: string; readonly bank_name?: string; readonly bank_address?: io.flow.common.v0.models.Address; } interface MonthlyAverage { readonly volume?: io.flow.merchant.onboarding.v0.models.MonthlyAverageVolume; readonly number_transactions?: number; } interface MonthlyAverageVolume { readonly amount?: number; readonly currency?: string; } interface OnboardingMerchantPickupWindow { readonly from: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime; readonly to: io.flow.merchant.onboarding.v0.models.OnboardingMerchantTime; } interface OnboardingMerchantScheduledPickup { readonly day_of_week: io.flow.common.v0.enums.DayOfWeek; readonly window: io.flow.merchant.onboarding.v0.models.OnboardingMerchantPickupWindow; readonly instructions?: string; } interface OnboardingMerchantTime { readonly hour_of_day: string; readonly minute_of_hour: string; readonly timezone?: string; } interface OnboardingOrganizationReference { readonly id: string; readonly status: io.flow.common.v0.enums.OrganizationStatus; } interface OperationsContact { readonly company?: string; readonly email?: string; readonly phone?: string; readonly address?: io.flow.common.v0.models.Address; } interface Shop { readonly name: string; readonly id: string; } interface ShopifyMerchantApplication { readonly discriminator: 'shopify_merchant_application'; readonly id: string; readonly organization_id: string; readonly organization_reference: io.flow.merchant.onboarding.v0.models.OnboardingOrganizationReference; readonly status: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus; readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo; readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax; readonly beneficiary?: string; readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner; readonly business_url?: string; readonly business_description?: string; readonly business_address?: io.flow.common.v0.models.Address; readonly refund_percentage?: number; readonly chargeback_percentage?: number; readonly bank_account_number?: string; readonly aba_routing_transit_number?: string; readonly other_trade_sector?: string; readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[]; readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact; readonly average_order_weight?: number; readonly average_order_weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly package_dimensions?: io.flow.common.v0.models.Dimension[]; readonly monthly_average?: io.flow.merchant.onboarding.v0.models.MonthlyAverage; readonly default_country_of_origin?: string; readonly ratecard?: io.flow.ratecard.v0.models.RatecardReference; readonly rate_card: string; readonly created_at: string; readonly activated_at?: string; readonly status_updated_at?: string; readonly shop?: io.flow.merchant.onboarding.v0.models.Shop; readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money; readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money; readonly average_order_value?: io.flow.common.v0.models.Money; readonly glbe_merchant_guid?: string; readonly mcc_codes?: number[]; } interface ShopifyMerchantApplicationForm { readonly discriminator: 'shopify_merchant_application_form'; readonly company?: io.flow.merchant.onboarding.v0.models.MerchantInfo; readonly indirect_tax?: io.flow.merchant.onboarding.v0.models.IndirectTax; readonly beneficiary?: string; readonly ultimate_beneficiary_owner?: io.flow.merchant.onboarding.v0.models.UltimateBeneficiaryOwner; readonly business_url?: string; readonly business_description?: string; readonly business_address?: io.flow.common.v0.models.Address; readonly refund_percentage?: number; readonly chargeback_percentage?: number; readonly bank_account_number?: string; readonly aba_routing_transit_number?: string; readonly other_trade_sector?: string; readonly third_party_logistics_partners?: io.flow.merchant.onboarding.v0.models.ThirdPartyLogisticsPartner[]; readonly center_contact?: io.flow.merchant.onboarding.v0.models.OperationsContact; readonly average_order_weight?: number; readonly average_order_weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement; readonly package_dimensions?: io.flow.common.v0.models.Dimension[]; readonly monthly_average_volume_amount?: number; readonly monthly_average_volume_currency?: string; readonly monthly_average_number_transactions?: number; readonly default_country_of_origin?: string; readonly ratecard_id?: string; readonly rate_card: string; readonly shop?: io.flow.merchant.onboarding.v0.models.Shop; readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money; readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money; readonly average_order_value?: io.flow.common.v0.models.Money; readonly mcc_codes?: number[]; } interface ShopifyMerchantApplicationPutForm { readonly discriminator: 'shopify_merchant_application_put_form'; readonly status?: io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus; } interface ShopifyMerchantApplicationsSummary { readonly discriminator: 'shopify_merchant_applications_summary'; readonly total: number; } interface ThirdPartyLogisticsPartner { readonly warehouse_address: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress; readonly warehouse_url?: string; readonly location?: io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress; readonly scheduled_pickups?: io.flow.merchant.onboarding.v0.models.OnboardingMerchantScheduledPickup[]; readonly operations_contact: io.flow.merchant.onboarding.v0.models.OperationsContact; readonly center_id?: string; } interface UltimateBeneficiaryOwner { readonly name: string; readonly dob: string; } } declare namespace io.flow.merchant.onboarding.v0.unions { type MerchantApplication = | io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplication | io.flow.merchant.onboarding.v0.models.CommonMerchantApplication; type MerchantApplicationForm = | io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationForm | io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationForm; type MerchantApplicationPutForm = | io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationPutForm | io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationPutForm; type MerchantApplicationsSummary = | io.flow.merchant.onboarding.v0.models.ShopifyMerchantApplicationsSummary | io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationsSummary; } declare namespace io.flow.catalog.v0.enums { type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis'; type AttributeIntent = | 'brand' | 'color' | 'countries_of_origin' | 'product_id' | 'fulfillment_method' | 'hazardous' | 'price' | 'size' | 'sku' | 'taxability' | 'consumer_url' | 'gtin' | 'mpn' | 'facet' | 'eccn' | 'returnable' | 'searchable' | 'barcode' | 'min_days_to_ship' | 'max_days_to_ship' | 'commercial_invoice_item_number' | 'include_in_product_feeds'; type CpscAttribute = | 'certification_id' | 'citation_codes' | 'manufactured_date' | 'manufactured_location' | 'product_test_date' | 'test_lab_name' | 'point_of_contact' | 'certification_version' | 'certification_product_id' | 'certificate_type' | 'lab_type' | 'taxonomy_reference'; type FulfillmentMethodType = 'fulfillment_method'; type FulfillmentMethodValue = 'digital' | 'physical'; type ImageTag = 'thumbnail' | 'checkout'; type ReturnItemStatus = 'returnable' | 'non-returnable'; type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted'; type TaxabilityType = 'tax_rule'; type TaxabilityValue = 'exempt'; type UpdatePolicy = 'auto' | 'queue' | 'discard'; } declare namespace io.flow.catalog.v0.models { interface AdjustmentReason { readonly key: io.flow.catalog.v0.enums.AdjustmentReasonKey; readonly label: string; } interface Attribute { readonly id: string; readonly key: string; readonly options: io.flow.catalog.v0.models.Options; readonly label?: string; readonly intent?: io.flow.catalog.v0.enums.AttributeIntent; readonly type?: io.flow.common.v0.enums.AttributeDataType; readonly position?: number; } interface AttributeForm { readonly key: string; readonly options: io.flow.catalog.v0.models.Options; readonly label?: string; readonly intent?: io.flow.catalog.v0.enums.AttributeIntent; readonly type?: io.flow.common.v0.enums.AttributeDataType; readonly position?: number; } interface AttributeVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly attribute: io.flow.catalog.v0.models.Attribute; } interface Catalog { readonly id: string; } interface CatalogReference { readonly id: string; } interface CatalogStatistics { readonly id: string; readonly items: number; readonly categories: number; } interface CatalogVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly catalog: io.flow.catalog.v0.models.Catalog; } interface FlowItemIndexMetadata { readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus; } interface Image { readonly url: string; readonly tags: io.flow.catalog.v0.enums.ImageTag[]; readonly attributes?: Record; } interface ImageForm { readonly url: string; readonly tags?: io.flow.catalog.v0.enums.ImageTag[]; readonly attributes?: Record; } interface Item { readonly id: string; readonly number: string; readonly locale: string; readonly name: string; readonly price: io.flow.common.v0.models.Price; readonly categories: string[]; readonly description?: string; readonly attributes: Record; readonly dimensions: io.flow.common.v0.models.Dimensions; readonly images: io.flow.catalog.v0.models.Image[]; readonly local?: io.flow.catalog.v0.models.Local; readonly created_at?: string; readonly updated_at?: string; readonly deleted_at?: string; } interface ItemAttributesPatchForm { readonly attributes: Record; } interface ItemForm { readonly number: string; readonly locale: string; readonly name: string; readonly currency: string; readonly price: number; readonly categories?: string[]; readonly description?: string; readonly attributes?: Record; readonly dimensions?: io.flow.common.v0.models.Dimensions; readonly images?: io.flow.catalog.v0.models.ImageForm[]; readonly deleted_at?: string; } interface ItemFormOverlay { readonly id: string; readonly number: string; readonly key: string; readonly position: number; readonly price?: io.flow.common.v0.models.Price; readonly categories?: string[]; readonly description?: string; readonly attributes?: Record; readonly dimensions?: io.flow.common.v0.models.Dimensions; readonly images?: io.flow.catalog.v0.models.ImageForm[]; readonly deleted_at?: string; } interface ItemFormOverlayForm { readonly number: string; readonly price?: number; readonly currency?: string; readonly position?: number; readonly categories?: string[]; readonly description?: string; readonly attributes?: Record; readonly dimensions?: io.flow.common.v0.models.Dimensions; readonly images?: io.flow.catalog.v0.models.ImageForm[]; readonly deleted_at?: string; } interface ItemPriceUpdateForm { readonly number: string; readonly currency?: string; readonly price: number; readonly attributes: Record; } interface ItemPriceUpdatePutForm { readonly currency?: string; readonly price: number; readonly attributes: Record; } interface ItemStatistics { readonly items: number; readonly categories: number; } interface ItemVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly item: io.flow.catalog.v0.models.Item; } interface Local { readonly experience: io.flow.common.v0.models.ExperienceSummary; readonly prices: io.flow.catalog.v0.unions.LocalizedPrice[]; readonly rates: io.flow.currency.v0.models.Rate[]; readonly spot_rates: any /*object*/[]; readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus; readonly attributes?: Record; readonly price_attributes?: Record< string, io.flow.common.v0.models.PriceWithBase >; } interface LocalizedAdjustment { readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.common.v0.models.Price; readonly reason: io.flow.catalog.v0.models.AdjustmentReason; } interface LocalizedItemDuty { readonly key: 'localized_item_duty'; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.common.v0.models.Price; readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment; readonly basis?: io.flow.common.v0.models.MoneyWithBase; } interface LocalizedItemPrice { readonly key: 'localized_item_price'; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.common.v0.models.Price; readonly includes?: io.flow.common.v0.models.IncludedLevies; } interface LocalizedItemVat { readonly key: 'localized_item_vat'; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.common.v0.models.Price; readonly name: string; readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment; readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy; readonly basis?: io.flow.common.v0.models.MoneyWithBase; } interface LocalizedTotal { readonly key: 'localized_total'; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.common.v0.models.Price; readonly breakdown?: io.flow.order.price.v0.models.OrderPriceDetailBreakdown; } interface Options { readonly required: boolean; readonly show_in_catalog: boolean; readonly show_in_harmonization: boolean; } interface Subcatalog { readonly discriminator: 'subcatalog'; readonly id: string; readonly catalog: io.flow.catalog.v0.models.Catalog; readonly settings: io.flow.catalog.v0.models.SubcatalogSettings; } interface SubcatalogForm { readonly settings?: io.flow.catalog.v0.models.SubcatalogSettingsForm; } interface SubcatalogItem { readonly id: string; readonly item: io.flow.catalog.v0.models.Item; readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus; } interface SubcatalogItemVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly subcatalog_item: io.flow.catalog.v0.models.SubcatalogItem; } interface SubcatalogReference { readonly discriminator: 'subcatalog_reference'; readonly id: string; } interface SubcatalogSettings { readonly update_policy: io.flow.catalog.v0.enums.UpdatePolicy; } interface SubcatalogSettingsForm { readonly update_policy?: io.flow.catalog.v0.enums.UpdatePolicy; } interface SubcatalogStatistics { readonly excluded: io.flow.catalog.v0.models.ItemStatistics; readonly included: io.flow.catalog.v0.models.ItemStatistics; readonly restricted: io.flow.catalog.v0.models.ItemStatistics; readonly queue: io.flow.catalog.v0.models.ItemStatistics; readonly catalog: io.flow.catalog.v0.models.CatalogStatistics; } interface SubcatalogVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly subcatalog: io.flow.catalog.v0.models.Subcatalog; } } declare namespace io.flow.catalog.v0.unions { type ExpandableSubcatalog = | io.flow.catalog.v0.models.Subcatalog | io.flow.catalog.v0.models.SubcatalogReference; type LocalizedPrice = | io.flow.catalog.v0.models.LocalizedItemPrice | io.flow.catalog.v0.models.LocalizedItemVat | io.flow.catalog.v0.models.LocalizedItemDuty | io.flow.catalog.v0.models.LocalizedTotal; } declare namespace io.flow.inventory.v0.enums { type Aggregate = 'maximum' | 'minimum'; type InventoryStatus = 'has_inventory' | 'no_inventory'; type UpdateType = 'change' | 'set'; } declare namespace io.flow.inventory.v0.models { interface ExternalApiTimeoutReservationError { readonly code: 'external_api_timeout'; readonly messages: string[]; } interface GenericReservationError { readonly code: 'generic_reservation_error'; readonly messages: string[]; } interface InventoryBackorder { readonly discriminator: 'inventory_backorder'; readonly quantity: number; } interface InventoryCenterReference { readonly key: string; } interface InventoryCheckResponse { readonly items: io.flow.inventory.v0.models.InventoryCheckResponseItem[]; } interface InventoryCheckResponseItem { readonly number: string; readonly quantity: number; readonly inventory_status: io.flow.inventory.v0.enums.InventoryStatus; } interface InventoryExperienceReference { readonly key: string; } interface InventoryFollowEcommercePlatform { readonly discriminator: 'inventory_follow_ecommerce_platform'; readonly quantity: number; } interface InventoryItemReference { readonly number: string; } interface InventoryRequest { readonly items: io.flow.inventory.v0.models.InventoryRequestItem[]; } interface InventoryRequestItem { readonly number: string; readonly quantity: number; } interface InventoryRule { readonly id: string; readonly position: number; readonly query: string; readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy; } interface InventoryRuleForm { readonly position: number; readonly query: string; readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy; } interface InventoryRuleVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule; } interface InventorySnapshot { readonly id: string; readonly available: number; readonly center: io.flow.inventory.v0.models.InventoryCenterReference; readonly item: io.flow.inventory.v0.models.InventoryItemReference; readonly quantity: number; } interface InventorySnapshotVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot; } interface InventoryStock { readonly discriminator: 'inventory_stock'; readonly quantity: number; } interface InventoryUnlimited { readonly discriminator: 'inventory_unlimited'; readonly placeholder: string; } interface InventoryUpdate { readonly id: string; readonly idempotency_key: string; readonly center: io.flow.inventory.v0.models.InventoryCenterReference; readonly item: io.flow.inventory.v0.models.InventoryItemReference; readonly notes: any /*object*/; readonly quantity: number; readonly type: io.flow.inventory.v0.enums.UpdateType; } interface InventoryUpdateForm { readonly center: string; readonly idempotency_key: string; readonly item_number: string; readonly quantity: number; readonly type: io.flow.inventory.v0.enums.UpdateType; readonly notes?: any /*object*/; } interface InventoryUpdateVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate; } interface NoInventoryReservationError { readonly code: 'no_inventory'; readonly messages: string[]; readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[]; } interface NoInventoryReservationErrorItem { readonly number: string; readonly requested_quantity: number; readonly available_quantity: number; } interface PfsInventoryCheckResponse { readonly items: Record< string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem >; } interface PfsInventoryCheckResponseItem { readonly number: string; readonly ats: number; readonly in_stock: boolean; } interface PfsInventoryStatus { readonly status: string; } interface Reservation { readonly id: string; readonly key: string; readonly order?: io.flow.inventory.v0.models.ReservationOrderReference; readonly items: io.flow.inventory.v0.models.ReservationItem[]; readonly reserved_until?: string; } interface ReservationForm { readonly order_number?: string; readonly items: io.flow.inventory.v0.models.ReservationItemForm[]; } interface ReservationItem { readonly item: io.flow.inventory.v0.models.ReservationItemReference; readonly quantity: number; } interface ReservationItemForm { readonly item_number: string; readonly quantity: number; } interface ReservationItemReference { readonly number: string; } interface ReservationOrderReference { readonly number: string; } } declare namespace io.flow.inventory.v0.unions { type InventoryStrategy = | io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited | io.flow.inventory.v0.models.InventoryFollowEcommercePlatform; type ReservationError = | io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError; } declare namespace io.flow.permission.v0.enums { type AuthenticationTechnique = | 'anonymous' | 'session' | 'token' | 'partner_token' | 'user'; type FlowBehavior = 'view_consumer_data'; type FlowRole = | 'organization_admin' | 'organization_merchant' | 'organization_customer_service' | 'organization_fulfillment' | 'organization_marketing' | 'organization_finance' | 'organization_classification' | 'flow_operations' | 'channel_admin' | 'channel_organization_admin'; type PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; } declare namespace io.flow.permission.v0.models { interface BehaviorAudit { readonly behavior: io.flow.permission.v0.enums.FlowBehavior; readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[]; readonly roles: io.flow.permission.v0.enums.FlowRole[]; } interface PermissionAudit { readonly routes: io.flow.permission.v0.models.RouteAudit[]; readonly behaviors: io.flow.permission.v0.models.BehaviorAudit[]; } interface PermissionCheck { readonly authentication_technique: io.flow.permission.v0.enums.AuthenticationTechnique; readonly user?: io.flow.common.v0.unions.ExpandableUser; readonly roles: io.flow.permission.v0.enums.FlowRole[]; readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[]; readonly routes: io.flow.permission.v0.models.PermittedRoute[]; } interface PermittedRoute { readonly method: io.flow.permission.v0.enums.PermittedHttpMethod; readonly path: string; } interface RouteAudit { readonly method: io.flow.permission.v0.enums.PermittedHttpMethod; readonly path: string; readonly authentication_techniques: io.flow.permission.v0.enums.AuthenticationTechnique[]; readonly roles: io.flow.permission.v0.enums.FlowRole[]; } interface SimplePermissionCheck { readonly behaviors: io.flow.permission.v0.enums.FlowBehavior[]; } } declare namespace io.flow.query.builder.v0.enums { type AvailableFilterFormat = | 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass'; } declare namespace io.flow.query.builder.v0.models { interface AvailableFilterStructured { readonly discriminator: 'structured'; readonly field: string; readonly operators: string[]; readonly format: io.flow.query.builder.v0.enums.AvailableFilterFormat; readonly valid_values?: string[]; readonly placeholder?: string; } interface AvailableFilterUnstructured { readonly discriminator: 'unstructured'; readonly placeholder?: string; } interface Query { readonly q: string; readonly filters: io.flow.query.builder.v0.unions.QueryFilter[]; } interface QueryBuilder { readonly q: string; readonly filters: io.flow.query.builder.v0.unions.QueryFilter[]; readonly available: io.flow.query.builder.v0.unions.AvailableFilter[]; } interface QueryBuilderFilterForm { readonly discriminator: 'filter'; readonly filters: io.flow.query.builder.v0.unions.QueryFilterForm[]; } interface QueryBuilderQueryForm { readonly discriminator: 'query'; readonly q: string; } interface QueryFilterStructured { readonly discriminator: 'structured'; readonly q: string; readonly field: string; readonly operator: string; readonly values: string[]; } interface QueryFilterStructuredForm { readonly discriminator: 'structured'; readonly field: string; readonly operator: string; readonly values: string[]; } interface QueryFilterUnstructured { readonly discriminator: 'unstructured'; readonly q: string; } interface QueryFilterUnstructuredForm { readonly discriminator: 'unstructured'; readonly q: string; } } declare namespace io.flow.query.builder.v0.unions { type AvailableFilter = | io.flow.query.builder.v0.models.AvailableFilterStructured | io.flow.query.builder.v0.models.AvailableFilterUnstructured; type QueryBuilderForm = | io.flow.query.builder.v0.models.QueryBuilderFilterForm | io.flow.query.builder.v0.models.QueryBuilderQueryForm; type QueryFilter = | io.flow.query.builder.v0.models.QueryFilterStructured | io.flow.query.builder.v0.models.QueryFilterUnstructured; type QueryFilterForm = | io.flow.query.builder.v0.models.QueryFilterStructuredForm | io.flow.query.builder.v0.models.QueryFilterUnstructuredForm; } declare namespace io.flow.item.v0.models { interface LocalItem { readonly id: string; readonly experience: io.flow.common.v0.models.ExperienceSummary; readonly center?: io.flow.fulfillment.v0.models.CenterSummary; readonly item: io.flow.common.v0.models.CatalogItemReference; readonly pricing: io.flow.item.v0.models.LocalItemPricing; readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus; readonly attributes?: Record; } interface LocalItemAttributePricing { readonly pretax_price: io.flow.common.v0.models.PriceWithBase; readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat; readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty; readonly price: io.flow.catalog.v0.models.LocalizedItemPrice; } interface LocalItemPricing { readonly price: io.flow.catalog.v0.models.LocalizedItemPrice; readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat; readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty; readonly shipping?: io.flow.common.v0.models.Price; readonly attributes: Record; readonly price_attributes?: Record< string, io.flow.item.v0.models.LocalItemAttributePricing >; } } declare namespace io.flow.billing.v0.enums { type FeeDeductionType = | 'duty_guarantee' | 'mor' | 'fraud' | 'tax' | 'duty' | 'tax_and_duty' | 'product' | 'tax_and_duty_fx_diff' | 'fx' | 'processing' | 'rate_lock' | 'transfer' | 'negative_balance_guarantee' | 'sp' | 'rev_share'; type PayoutAttachmentType = 'transactions'; type PayoutStatusFailureCode = | 'invalid_account_number' | 'account_closed' | 'could_not_process'; type PendingPayoutTransactionReasonCode = | 'waiting_for_full_refund' | 'waiting_for_fulfillment' | 'waiting_for_in_transit' | 'waiting_for_next_payout_date' | 'waiting_for_tracking_info' | 'waiting_for_positive_account_balance' | 'unfulfilled_amount_greater_than_negative_balance' | 'account_payment_hold'; type StatementAttachmentType = 'csv' | 'pdf'; type StatementStatusCode = 'scheduled' | 'sent' | 'failed' | 'paid'; type TaxDutyTransactionReasonCode = | 'post_capture' | 'post_fulfilment' | 'manual_payment_or_gift_card' | 'order_edit' | 'mixed_fulfilment_non_lvg' | 'lvg_refund' | 'us_inbound_tax_refund' | 'order_cancellation_above_de_min' | 'wyol_shipment_above_de_min' | 'wyol_shipment_lvg' | 'full_refund_without_shipment' | 'unfulfilled_order_above_de_min' | 'order_cancellation_without_capture' | 'order_cancellation_marked_as_paid' | 'order_cancellation_after_capture' | 'order_rejection' | 'order_cancellation_lvg'; type TransactionSource = | 'capture' | 'refund' | 'dispute' | 'adjustment' | 'reversal' | 'shipping_label' | 'shipping_label_service' | 'shipping_label_revenue_share' | 'trueup' | 'trueup_base' | 'trueup_surcharge' | 'carrier_charge' | 'carrier_charge_revenue_share' | 'platform_fee' | 'tax' | 'duty' | 'withholding' | 'other_adjustment' | 'tax_adjustment' | 'channel' | 'channel_billed' | 'order_service' | 'virtual_card_capture' | 'virtual_card_refund' | 'failed_payout' | 'tax_refund' | 'duty_refund' | 'non_l4l_tax_duty_fx' | 'merchant_payout' | 'merchant_refund' | 'ge_revenue_share' | 'merchant_fee' | 'b2b_tax' | 'b2b_tax_refund' | 'b2b_fee_mor_tax' | 'b2b_fee_shipping_tax' | 'flat_rate_label' | 'flat_rate_label_subsidy' | 'credit_refund'; type TrueupSource = | 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups' | 'fedex'; type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance'; } declare namespace io.flow.billing.v0.models { interface AccountIdReference { readonly id: string; } interface AccountReference { readonly id: string; readonly currency: string; } interface Attachment { readonly type: io.flow.billing.v0.enums.StatementAttachmentType; readonly url: string; } interface BankAccountFormInfo { readonly discriminator: 'info'; readonly info: io.flow.billing.bank.account.v0.unions.BankAccountInfo; } interface BankAccountFormSimple { readonly discriminator: 'simple'; readonly routing_number: string; readonly account_number: string; } interface BankAccountReference { readonly id: string; } interface BankAccountSummary { readonly last4: string; } interface BillingChannelOrderSummary { readonly organization: io.flow.billing.v0.models.BillingChannelOrganizationSummary; readonly number: string; readonly identifiers?: Record; } interface BillingChannelOrganizationSummary { readonly id: string; } interface BillingChannelPaymentRequestReference { readonly id: string; readonly reference?: string; } interface BillingChannelStatementReference { readonly id: string; } interface BillingDiscount { readonly amount: number; readonly description?: string; } interface ChannelBankAccount { readonly id: string; readonly key: string; readonly last4: string; } interface ChannelDefaultBankAccount { readonly id: string; readonly bank_account: io.flow.billing.v0.models.BankAccountReference; } interface ChannelPayout { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly status: io.flow.billing.v0.unions.PayoutStatus; readonly bank_account?: io.flow.billing.v0.models.BankAccountSummary; readonly amount: number; readonly attachments: io.flow.billing.v0.models.PayoutAttachment[]; readonly created_at: string; readonly updated_at: string; } interface ChannelPendingPayoutTransaction { readonly id: string; readonly reason: io.flow.billing.v0.models.PendingPayoutTransactionReason; readonly timeout?: io.flow.billing.v0.models.PendingPayoutTransactionTimeout; readonly created_at: string; readonly updated_at: string; readonly deleted_at?: string; } interface ChannelStatement { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly ending_balance: number; readonly settlement: io.flow.billing.v0.unions.Settlement; readonly attachments: io.flow.billing.v0.models.Attachment[]; readonly created_at: string; readonly period?: io.flow.common.v0.models.DatetimeRange; } interface ChannelTransaction { readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference; readonly id: string; readonly account: io.flow.billing.v0.models.AccountIdReference; readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata; readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary; readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference; readonly currency: string; readonly source: io.flow.billing.v0.enums.TransactionSource; readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.billing.v0.models.FeeDeduction[]; readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[]; readonly discounts: io.flow.billing.v0.models.BillingDiscount[]; readonly net: number; readonly identifiers: Record; readonly created_at: string; readonly updated_at: string; } interface DefaultBankAccountForm { readonly bank_account_id: string; } interface FeeDeduction { readonly type: io.flow.billing.v0.enums.FeeDeductionType; readonly amount: number; readonly description?: string; } interface FlowTransaction { readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference; readonly id: string; readonly account: io.flow.billing.v0.models.AccountIdReference; readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata; readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary; readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference; readonly currency: string; readonly source: io.flow.billing.v0.enums.TransactionSource; readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.billing.v0.models.FeeDeduction[]; readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[]; readonly discounts: io.flow.billing.v0.models.BillingDiscount[]; readonly net: number; readonly identifiers: Record; readonly created_at: string; readonly updated_at: string; } interface OrganizationBankAccount { readonly id: string; readonly key: string; readonly last4: string; } interface OrganizationDefaultBankAccount { readonly id: string; readonly bank_account: io.flow.billing.v0.models.BankAccountReference; } interface OrganizationPayout { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly status: io.flow.billing.v0.unions.PayoutStatus; readonly bank_account?: io.flow.billing.v0.models.BankAccountSummary; readonly amount: number; readonly attachments: io.flow.billing.v0.models.PayoutAttachment[]; readonly created_at: string; readonly updated_at: string; } interface OrganizationPendingPayoutTransaction { readonly id: string; readonly reason: io.flow.billing.v0.models.PendingPayoutTransactionReason; readonly timeout?: io.flow.billing.v0.models.PendingPayoutTransactionTimeout; readonly created_at: string; readonly updated_at: string; readonly deleted_at?: string; } interface ParentTransactionSummary { readonly id: string; readonly source: io.flow.billing.v0.enums.TransactionSource; } interface PayoutAttachment { readonly type: io.flow.billing.v0.enums.PayoutAttachmentType; readonly url: string; } interface PayoutReference { readonly id: string; } interface PayoutStatusFailed { readonly code: 'failed'; readonly timestamp: string; readonly reason: io.flow.billing.v0.enums.PayoutStatusFailureCode; } interface PayoutStatusPaid { readonly code: 'paid'; readonly timestamp: string; } interface PayoutStatusScheduled { readonly code: 'scheduled'; readonly placeholder?: string; } interface PayoutStatusSent { readonly code: 'sent'; readonly timestamp: string; } interface PayoutTransaction { readonly id: string; readonly account: io.flow.billing.v0.models.AccountIdReference; readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata; readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary; readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference; readonly currency: string; readonly source: io.flow.billing.v0.enums.TransactionSource; readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.billing.v0.models.FeeDeduction[]; readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[]; readonly discounts: io.flow.billing.v0.models.BillingDiscount[]; readonly net: number; readonly identifiers: Record; readonly created_at: string; readonly updated_at: string; } interface PendingPayoutTransactionReason { readonly code: io.flow.billing.v0.enums.PendingPayoutTransactionReasonCode; readonly created_at: string; } interface PendingPayoutTransactionTimeout { readonly created_at: string; } interface SettlementNoPayout { readonly discriminator: 'no_payout'; readonly placeholder?: string; } interface SettlementPayout { readonly discriminator: 'payout'; readonly status: io.flow.billing.v0.unions.PayoutStatus; readonly amount: number; readonly sent_on?: string; } interface Statement { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly ending_balance: number; readonly settlement: io.flow.billing.v0.unions.Settlement; readonly attachments: io.flow.billing.v0.models.Attachment[]; readonly created_at: string; readonly period?: io.flow.common.v0.models.DatetimeRange; } interface StatementStatusForm { readonly code: io.flow.billing.v0.enums.StatementStatusCode; readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode; } interface Transaction { readonly statement?: io.flow.billing.v0.models.BillingChannelStatementReference; readonly id: string; readonly account: io.flow.billing.v0.models.AccountIdReference; readonly metadata?: io.flow.billing.v0.unions.TransactionMetadata; readonly order?: io.flow.billing.v0.models.BillingChannelOrderSummary; readonly payment_request?: io.flow.billing.v0.models.BillingChannelPaymentRequestReference; readonly currency: string; readonly source: io.flow.billing.v0.enums.TransactionSource; readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.billing.v0.models.FeeDeduction[]; readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[]; readonly discounts: io.flow.billing.v0.models.BillingDiscount[]; readonly net: number; readonly identifiers: Record; readonly created_at: string; readonly updated_at: string; } interface TransactionMetadataCarrierCharge { readonly discriminator: 'carrier_charge'; readonly reason: io.flow.trueup.v0.enums.CarrierChargeReason; readonly label_created_at: string; readonly carrier_id: string; readonly carrier_tracking_number: string; readonly revenue_share_percentage?: number; readonly outbound?: io.flow.billing.v0.models.TransactionMetadataOutboundTransaction; } interface TransactionMetadataChannel { readonly discriminator: 'channel'; readonly method: string; readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata; readonly organization_transaction: io.flow.billing.v0.models.TransactionMetadataChannelOrganizationTransaction; } interface TransactionMetadataChannelCardMetadata { readonly type: io.flow.payment.v0.enums.CardType; readonly issuer: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary; } interface TransactionMetadataChannelCardMetadataIssuerSummary { readonly iin: string; readonly country: string; } interface TransactionMetadataChannelOrganizationTransaction { readonly id: string; readonly metadata: io.flow.billing.v0.models.TransactionMetadataPaymentTransaction; } interface TransactionMetadataFailedPayout { readonly discriminator: 'failed_payout'; readonly failed_payout: io.flow.billing.v0.models.TransactionMetadataFailedPayoutReference; } interface TransactionMetadataFailedPayoutReference { readonly id: string; } interface TransactionMetadataFlatRateLabel { readonly discriminator: 'flat_rate_label'; readonly flat_rate?: number; readonly coefficient?: number; } interface TransactionMetadataManual { readonly discriminator: 'manual'; readonly description: string; readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction; readonly url?: string; readonly recoup?: boolean; } interface TransactionMetadataMerchantFee { readonly discriminator: 'merchant_fee'; readonly items: io.flow.billing.v0.models.TransactionMetadataMerchantFeeItem[]; } interface TransactionMetadataMerchantFeeItem { readonly type: string; readonly amount: number; readonly local_amount?: number; readonly description?: string; } interface TransactionMetadataOriginalTransaction { readonly id: string; } interface TransactionMetadataOutboundTransaction { readonly transaction_id: string; } interface TransactionMetadataPaymentTransaction { readonly discriminator: 'payment_transaction'; readonly id?: string; readonly key?: string; } interface TransactionMetadataShippingLabel { readonly discriminator: 'shipping_label'; readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod; readonly carrier: io.flow.billing.v0.models.TransactionMetadataShippingLabelCarrier; readonly revenue_share_percentage?: number; readonly actual?: io.flow.billing.v0.models.TransactionMetadataTrueupData; } interface TransactionMetadataShippingLabelCarrier { readonly id: string; readonly service_id?: string; readonly tracking_number: string; } interface TransactionMetadataTaxDuty { readonly discriminator: 'transaction_tax_duty'; readonly reason_code: io.flow.billing.v0.enums.TaxDutyTransactionReasonCode; readonly local_currency?: string; readonly actual?: io.flow.billing.v0.models.TransactionMetadataTaxDutyActual; readonly estimate?: io.flow.billing.v0.models.TransactionMetadataTaxDutyEstimate; readonly delta?: io.flow.billing.v0.models.TransactionMetadataTaxDutyDelta; } interface TransactionMetadataTaxDutyActual { readonly base?: number; readonly local?: number; } interface TransactionMetadataTaxDutyDelta { readonly base?: number; readonly local?: number; } interface TransactionMetadataTaxDutyEstimate { readonly base?: number; readonly local?: number; } interface TransactionMetadataTrueup { readonly discriminator: 'trueup'; readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction; readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupData; readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupData; } interface TransactionMetadataTrueupBase { readonly discriminator: 'trueup_base'; readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction; readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupBaseData; readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupBaseData; } interface TransactionMetadataTrueupBaseData { readonly source: io.flow.billing.v0.enums.TrueupSource; readonly weights: io.flow.billing.v0.models.TrueupLabelWeights; readonly units: io.flow.billing.v0.models.TrueupLabelUnits; readonly base: io.flow.billing.v0.models.TrueupLabelBaseV2; readonly fuel?: io.flow.billing.v0.models.TrueupLabelFuel; readonly total: number; } interface TransactionMetadataTrueupData { readonly source: io.flow.billing.v0.enums.TrueupSource; readonly units: io.flow.billing.v0.models.TrueupLabelUnits; readonly base: io.flow.billing.v0.models.TrueupLabelBase; readonly surcharges: io.flow.billing.v0.models.TrueupLabelSurcharge[]; readonly total: number; readonly dead?: io.flow.trueup.v0.models.DeadWeight; readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight; } interface TransactionMetadataTrueupSurcharge { readonly discriminator: 'trueup_surcharge'; readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction; readonly estimate: io.flow.billing.v0.models.TransactionMetadataTrueupSurchargeData; readonly actual: io.flow.billing.v0.models.TransactionMetadataTrueupSurchargeData; } interface TransactionMetadataTrueupSurchargeData { readonly source: io.flow.billing.v0.enums.TrueupSource; readonly surcharge: io.flow.billing.v0.models.TrueupLabelSurcharge; } interface TransactionReference { readonly id: string; } interface TrueupLabelBase { readonly amount: number; readonly weight: number; } interface TrueupLabelBaseV2 { readonly amount: number; } interface TrueupLabelBaseWeight { readonly weight: number; } interface TrueupLabelFuel { readonly amount: number; readonly percentage?: number; readonly per_weight_unit?: number; } interface TrueupLabelSurcharge { readonly amount: number; readonly type: io.flow.trueup.v0.enums.TrueupSurchargeType; readonly percentage?: number; readonly per_weight_unit?: number; } interface TrueupLabelUnits { readonly weight: io.flow.units.v0.enums.UnitOfWeight; readonly length?: io.flow.units.v0.enums.UnitOfLength; } interface TrueupLabelWeights { readonly base: io.flow.billing.v0.models.TrueupLabelBaseWeight; readonly dead?: io.flow.trueup.v0.models.DeadWeight; readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight; } interface WithholdingDeduction { readonly type: io.flow.billing.v0.enums.WithholdingDeductionType; readonly amount: number; readonly description?: string; } } declare namespace io.flow.billing.v0.unions { type BankAccountForm = | io.flow.billing.v0.models.BankAccountFormInfo | io.flow.billing.v0.models.BankAccountFormSimple; type PayoutStatus = | io.flow.billing.v0.models.PayoutStatusScheduled | io.flow.billing.v0.models.PayoutStatusSent | io.flow.billing.v0.models.PayoutStatusFailed | io.flow.billing.v0.models.PayoutStatusPaid; type Settlement = | io.flow.billing.v0.models.SettlementNoPayout | io.flow.billing.v0.models.SettlementPayout; type TransactionMetadata = | io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup | io.flow.billing.v0.models.TransactionMetadataTrueupBase | io.flow.billing.v0.models.TransactionMetadataTrueupSurcharge | io.flow.billing.v0.models.TransactionMetadataCarrierCharge | io.flow.billing.v0.models.TransactionMetadataManual | io.flow.billing.v0.models.TransactionMetadataFailedPayout | io.flow.billing.v0.models.TransactionMetadataPaymentTransaction | io.flow.billing.v0.models.TransactionMetadataTaxDuty | io.flow.billing.v0.models.TransactionMetadataMerchantFee | io.flow.billing.v0.models.TransactionMetadataFlatRateLabel; } declare namespace io.flow.harmonization.v0.enums { type TaxApplicability = 'none' | 'all'; type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate'; } declare namespace io.flow.harmonization.v0.models { interface HarmonizationTariffCode { readonly tariff_code: string; readonly destination: string; } interface HarmonizedCategoryReference { readonly id: string; } interface HarmonizedItem { readonly id: string; readonly number: string; readonly name: string; readonly categories: string[]; readonly attributes: Record; readonly description?: string; } interface HarmonizedItemForm { readonly name: string; readonly number: string; readonly currency: string; readonly price: number; readonly categories?: string[]; readonly description?: string; readonly attributes?: Record; } interface HarmonizedItemPutForm { readonly name: string; readonly currency: string; readonly price: number; readonly categories?: string[]; readonly description?: string; readonly attributes?: Record; } interface HarmonizedItemReference { readonly id: string; readonly number: string; readonly description?: string; } interface HarmonizedLandedCost { readonly address: io.flow.common.v0.models.Address; readonly items: io.flow.harmonization.v0.models.HarmonizedLandedCostItem[]; } interface HarmonizedLandedCostForm { readonly address: io.flow.common.v0.models.Address; readonly item_numbers: string[]; readonly source_address?: io.flow.common.v0.models.Address; readonly order_number?: string; readonly line_items?: io.flow.common.v0.models.LineItem[]; readonly billing_address?: io.flow.common.v0.models.BillingAddress; } interface HarmonizedLandedCostItem { readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference; readonly duty: io.flow.price.v0.models.Duty; readonly tax: io.flow.price.v0.models.Tax; readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability; readonly origin?: string; readonly hs_code?: string; readonly tariff_code?: string; readonly customs_description?: string; readonly source_address?: io.flow.common.v0.models.Address; } interface Hs10 { readonly id: string; readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference; readonly origin: string; readonly destination: string; readonly code: string; } interface Hs10Version { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly hs10: io.flow.harmonization.v0.models.Hs10; } interface Hs6 { readonly id: string; readonly item: io.flow.harmonization.v0.models.HarmonizedItemReference; readonly code: string; } interface LaneLandedCost { readonly origin: string; readonly destination: string; readonly tariff_code: string; readonly effective_duty: io.flow.price.v0.models.Duty; readonly tax: io.flow.price.v0.models.Tax; } interface TariffCodes { readonly item_number: string; readonly product_id: string; readonly hs6_code: string; readonly codes: io.flow.harmonization.v0.models.HarmonizationTariffCode[]; } interface TaxRegistration { readonly id: string; readonly key: string; readonly number: string; readonly timestamp: string; readonly result: io.flow.harmonization.v0.enums.TaxVerificationResult; readonly result_reason?: string; readonly name?: string; readonly address?: string; readonly company_name?: string; } } declare namespace io.flow.catalog.RESERVED_WORD_return.v0.enums { type ReturnPolicyState = 'current' | 'deleting' | 'updating'; } declare namespace io.flow.catalog.RESERVED_WORD_return.v0.models { interface ReturnPolicy { readonly id: string; readonly q: string; readonly query: io.flow.query.builder.v0.models.Query; readonly status: io.flow.catalog.v0.enums.ReturnItemStatus; readonly description?: string; readonly statistics: io.flow.catalog.RESERVED_WORD_return.v0.models.ReturnPolicyStatistic; } interface ReturnPolicyForm { readonly q: string; readonly description?: string; } interface ReturnPolicyItemResult { readonly id: string; readonly organization_id: string; readonly catalog_item_id: string; readonly return_policy_id: string; readonly status: io.flow.catalog.v0.enums.ReturnItemStatus; } interface ReturnPolicyStatistic { readonly state: io.flow.catalog.RESERVED_WORD_return.v0.enums.ReturnPolicyState; readonly number_items: number; } interface ReturnPolicyVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly return_policy: io.flow.catalog.RESERVED_WORD_return.v0.models.ReturnPolicy; } } declare namespace io.flow.apple.pay.v0.enums { type ApplePayContactField = | 'email' | 'name' | 'phone' | 'postalAddress' | 'phoneticName'; type ApplePayLineItemType = 'final' | 'pending'; type ApplePayMerchantCapability = | 'supports3DS' | 'supportsCredit' | 'supportsDebit' | 'supportsEMV'; type ApplePayShippingType = | 'shipping' | 'delivery' | 'storePickup' | 'servicePickup'; type ApplePaySupportedNetworks = | 'amex' | 'chinaUnionPay' | 'discover' | 'jcb' | 'masterCard' | 'privateLabel' | 'visa'; } declare namespace io.flow.apple.pay.v0.models { interface ApplePayLineItem { readonly label: string; readonly type: io.flow.apple.pay.v0.enums.ApplePayLineItemType; readonly amount: string; } interface ApplePayPaymentContact { readonly email_address?: string; readonly family_name?: string; readonly given_name?: string; readonly phone_number?: string; readonly phonetic_familyName?: string; readonly phonetic_givenName?: string; readonly address_lines?: string[]; readonly locality?: string; readonly sub_locality?: string; readonly administrative_area?: string; readonly sub_administrative_area?: string; readonly postal_code?: string; readonly country?: string; readonly country_code?: string; } interface ApplePayPaymentData { readonly applicationPrimaryAccountNumber: string; readonly applicationExpirationDate: string; readonly currencyCode: string; readonly transactionAmount: number; readonly cardholderName?: string; readonly deviceManufacturerIdentifier: string; readonly paymentDataType: string; readonly paymentData: any /*object*/; } interface ApplePayPaymentInfo { readonly total: io.flow.apple.pay.v0.models.ApplePayLineItem; readonly line_items?: io.flow.apple.pay.v0.models.ApplePayLineItem[]; readonly country_code: string; readonly currency_code: string; readonly merchant_capabilities: io.flow.apple.pay.v0.enums.ApplePayMerchantCapability[]; readonly shipping_methods?: io.flow.apple.pay.v0.models.ApplePayShippingMethod[]; readonly shipping_type?: io.flow.apple.pay.v0.enums.ApplePayShippingType; readonly supported_countries?: string[]; readonly supported_networks: io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks[]; readonly required_billingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[]; readonly required_shippingContactFields?: io.flow.apple.pay.v0.enums.ApplePayContactField[]; readonly billing_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact; readonly shipping_contact?: io.flow.apple.pay.v0.models.ApplePayPaymentContact; readonly application_data?: string; } interface ApplePayShippingMethod { readonly label: string; readonly detail: string; readonly amount: string; readonly identifier: string; } } declare namespace io.flow.merchant.of.record.v0.enums { type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination'; type FlowEntity = | 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa' | 'ge-can' | 'ge-can-ship' | 'ge-gbr' | 'ge-irl'; } declare namespace io.flow.organization.onboarding.state.v0.enums { type MerchantDisabledReason = 'merchant_deactivated' | 'merchant_rejected'; type MerchantRejectedReason = | 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review'; type OnboardingBlockedReason = | 'street_address_is_blank_3pl' | 'street_address_is_po_box_3pl' | 'business_street_address_is_blank' | 'business_street_address_is_po_box' | 'exception_merchant' | 'application_missing' | 'missing_logistics_contact_info'; } declare namespace io.flow.organization.onboarding.state.v0.models { interface ActivationPutForm { readonly placeholder?: boolean; } interface DeactivationPutForm { readonly reason: string; readonly deactivate_at?: string; } interface InComplianceReview { readonly discriminator: 'in_compliance_review'; readonly placeholder?: boolean; } interface MerchantActivated { readonly discriminator: 'merchant_activated'; readonly placeholder?: boolean; } interface MerchantDeactivated { readonly discriminator: 'merchant_deactivated'; readonly reason: string; readonly deactivate_at?: string; } interface MerchantDisabled { readonly discriminator: 'merchant_disabled'; readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantDisabledReason; } interface MerchantRejected { readonly discriminator: 'merchant_rejected'; readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantRejectedReason; readonly description?: string; readonly deactivate_at?: string; } interface OnboardingStateTransition { readonly id: string; readonly state: io.flow.organization.onboarding.state.v0.unions.OnboardingState; readonly started_at: string; } interface OrganizationOnboardingState { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly transitions: io.flow.organization.onboarding.state.v0.models.OnboardingStateTransition[]; readonly current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState; readonly started_at?: string; readonly time_blocked?: number; readonly time_in_setup?: number; readonly blocked_since?: string; readonly completed_at?: string; readonly onboarding_started_at?: string; } interface RejectionPutForm { readonly reason: io.flow.organization.onboarding.state.v0.enums.MerchantRejectedReason; readonly description: string; } interface SetupBlocked { readonly discriminator: 'setup_blocked'; readonly reasons: io.flow.organization.onboarding.state.v0.enums.OnboardingBlockedReason[]; } interface SetupCompleted { readonly discriminator: 'setup_completed'; readonly third_party_logistics_guid?: string; } interface SetupInProgress { readonly discriminator: 'setup_in_progress'; readonly placeholder?: boolean; } } declare namespace io.flow.organization.onboarding.state.v0.unions { type OnboardingState = | io.flow.organization.onboarding.state.v0.models.InComplianceReview | io.flow.organization.onboarding.state.v0.models.SetupInProgress | io.flow.organization.onboarding.state.v0.models.MerchantRejected | io.flow.organization.onboarding.state.v0.models.SetupBlocked | io.flow.organization.onboarding.state.v0.models.SetupCompleted | io.flow.organization.onboarding.state.v0.models.MerchantActivated | io.flow.organization.onboarding.state.v0.models.MerchantDeactivated | io.flow.organization.onboarding.state.v0.models.MerchantDisabled; } declare namespace io.flow.fraud.v0.enums { type FraudEmailRuleDecision = 'approved' | 'declined'; type FraudLiability = 'flow' | 'organization'; type FraudStatus = 'pending' | 'approved' | 'declined' | 'review'; } declare namespace io.flow.fraud.v0.models { interface FraudEmailRule { readonly id?: string; readonly email: string; readonly decision: io.flow.fraud.v0.enums.FraudEmailRuleDecision; } interface FraudEmailRuleForm { readonly rule: io.flow.fraud.v0.models.FraudEmailRule; } interface FraudFlowOrderReference { readonly discriminator: 'flow_order'; readonly reference: io.flow.experience.v0.models.OrderReference; } interface FraudPaymentRequestReference { readonly discriminator: 'payment_request'; readonly reference: io.flow.payment.gateway.v0.models.PaymentRequestReference; } interface OrderFraudStatus { readonly order: io.flow.experience.v0.models.OrderReference; readonly status: io.flow.fraud.v0.enums.FraudStatus; } } declare namespace io.flow.fraud.v0.unions { type FraudOrderReference = | io.flow.fraud.v0.models.FraudFlowOrderReference | io.flow.fraud.v0.models.FraudPaymentRequestReference; } declare namespace io.flow.sellability.v0.enums { type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups'; type SellabilityErrorCode = | 'insufficient_details' | 'ineligible_category' | 'wait_for_high_fidelity' | 'external_service_unavailable'; type SellabilityReprocessPolicy = 'default' | 'force'; type SellabilityRequestStatus = 'commit'; type SellabilityResultErrorCode = | 'insufficient_details' | 'ineligible_category' | 'wait_for_high_fidelity' | 'external_service_unavailable' | 'generic_error' | 'catalog_processing_threshold'; type SellabilityResultStatus = 'in_review' | 'succeeded' | 'failed'; type SellabilityScreeningMode = 'pre_onboarding' | 'default_on' | 'active'; } declare namespace io.flow.sellability.v0.models { interface ProductSellability { readonly discriminator: 'product_sellability'; readonly shop_id: string; readonly product_id?: string; readonly request_id: string; readonly hs6_code: string; readonly restricted_regions: io.flow.sellability.v0.models.SellabilityRegionResult[]; } interface ProductSellabilityForm { readonly discriminator: 'product_sellability_form'; readonly shop_id: string; readonly product_id?: string; readonly name: string; readonly price: io.flow.common.v0.models.Money; readonly description: string; readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory; readonly status?: io.flow.sellability.v0.enums.SellabilityRequestStatus; readonly dry_run?: boolean; } interface ProductSellabilityResult { readonly id: string; readonly merchant_id?: string; readonly product_id: string; readonly restricted_regions: io.flow.sellability.v0.models.SellabilityRestrictedRegion[]; readonly restricted_reasons: io.flow.sellability.v0.models.SellabilityRestrictedReason[]; readonly needs_action_attributes?: io.flow.sellability.v0.models.SellabilityNeedsActionAttributes[]; readonly request_id?: string; readonly hs6_code?: string; } interface SellabilityError { readonly discriminator: 'sellability_error'; readonly code: io.flow.sellability.v0.enums.SellabilityErrorCode; readonly messages: string[]; } interface SellabilityNeedsActionAttributes { readonly reason_code: string; readonly category_metafield_handles: string[]; readonly category_metafield_ids: string[]; readonly require_msds?: boolean; } interface SellabilityReasonWithRegions { readonly reason: string; readonly regions: string[]; readonly review_status?: string; } interface SellabilityRegionResult { readonly type: io.flow.sellability.v0.enums.RuleEffectType; readonly regions: string[]; } interface SellabilityRegionWithReasons { readonly region: string; readonly reasons: string[]; } interface SellabilityRestrictedReason { readonly type: io.flow.sellability.v0.enums.RuleEffectType; readonly reasons_with_regions: io.flow.sellability.v0.models.SellabilityReasonWithRegions[]; } interface SellabilityRestrictedRegion { readonly type: io.flow.sellability.v0.enums.RuleEffectType; readonly regions: string[]; } interface SellabilityScreening { readonly discriminator: 'sellability_screening'; readonly product_sellability_result?: io.flow.sellability.v0.models.ProductSellabilityResult; readonly request_id: string; readonly status: io.flow.sellability.v0.enums.SellabilityResultStatus; readonly error_code?: io.flow.sellability.v0.enums.SellabilityResultErrorCode; readonly error_message?: string; } interface SellabilityScreeningForm { readonly discriminator: 'sellability_screening_form'; readonly merchant_id: string; readonly product_id: string; readonly name: string; readonly price: io.flow.common.v0.models.Money; readonly description: string; readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory; readonly inferred_taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly mode: io.flow.sellability.v0.enums.SellabilityScreeningMode; readonly reprocess_policy?: io.flow.sellability.v0.enums.SellabilityReprocessPolicy; readonly catalog_size?: number; readonly relative_ranking?: number; readonly shipping_origin_regions?: string[]; readonly dry_run?: boolean; } interface SellablilityRegionResult { readonly type: io.flow.sellability.v0.enums.RuleEffectType; readonly regions: string[]; } } declare namespace io.flow.sellability.v0.unions { type SellabilityRequest = | io.flow.sellability.v0.models.ProductSellabilityForm | io.flow.sellability.v0.models.SellabilityScreeningForm; type SellabilityResponse = | io.flow.sellability.v0.models.ProductSellability | io.flow.sellability.v0.models.SellabilityError | io.flow.sellability.v0.models.SellabilityScreening; } declare namespace io.flow.currency.v0.models { interface Rate { readonly id: string; readonly base: string; readonly target: string; readonly effective_at: string; readonly value: number; } interface RateForm { readonly base: string; readonly target: string; readonly effective_at: string; } interface RateVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly rate: io.flow.currency.v0.models.Rate; } } declare namespace io.flow.organization.v0.enums { type CountryPickerSource = 'experience' | 'destination'; type EcommercePlatformType = | 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea'; type InvitationErrorCode = 'expired' | 'invalid_email'; } declare namespace io.flow.organization.v0.models { interface CountryPicker { readonly id: string; readonly source: io.flow.organization.v0.enums.CountryPickerSource; } interface CountryPickerForm { readonly source: io.flow.organization.v0.enums.CountryPickerSource; } interface EcommercePlatform { readonly id: string; readonly type: io.flow.organization.v0.enums.EcommercePlatformType; readonly version?: string; } interface EcommercePlatformForm { readonly type: io.flow.organization.v0.enums.EcommercePlatformType; readonly version?: string; } interface Invitation { readonly id: string; readonly organization: io.flow.common.v0.unions.ExpandableOrganization; readonly email: string; readonly name: io.flow.common.v0.models.Name; readonly role?: io.flow.common.v0.enums.Role; readonly roles?: io.flow.permission.v0.enums.FlowRole[]; readonly expiration: string; } interface InvitationError { readonly code: io.flow.organization.v0.enums.InvitationErrorCode; readonly messages: string[]; } interface InvitationForm { readonly organization: string; readonly email: string; readonly name?: io.flow.common.v0.models.Name; readonly role?: io.flow.common.v0.enums.Role; readonly roles?: io.flow.permission.v0.enums.FlowRole[]; } interface InvitationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly invitation: io.flow.organization.v0.models.Invitation; } interface Membership { readonly id: string; readonly organization: io.flow.common.v0.unions.ExpandableOrganization; readonly user: io.flow.common.v0.unions.ExpandableUser; readonly role?: io.flow.common.v0.enums.Role; readonly roles: io.flow.permission.v0.enums.FlowRole[]; } interface MembershipForm { readonly organization: string; readonly user: string; readonly role?: io.flow.common.v0.enums.Role; readonly roles?: io.flow.permission.v0.enums.FlowRole[]; } interface MembershipPutForm { readonly role?: io.flow.common.v0.enums.Role; readonly roles?: io.flow.permission.v0.enums.FlowRole[]; } interface MembershipVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly membership: io.flow.organization.v0.models.Membership; } interface OrganizationAuthorization { readonly role?: io.flow.common.v0.enums.Role; readonly environment: io.flow.common.v0.enums.Environment; } interface OrganizationAuthorizationForm { readonly organization: string; readonly environment: io.flow.common.v0.enums.Environment; } interface OrganizationForm { readonly id?: string; readonly name?: string; readonly environment: io.flow.common.v0.enums.Environment; readonly parent_id?: string; readonly defaults?: io.flow.common.v0.models.OrganizationDefaults; readonly status?: io.flow.common.v0.enums.OrganizationStatus; readonly type?: io.flow.common.v0.enums.OrganizationType; } interface OrganizationPutForm { readonly name?: string; readonly environment?: io.flow.common.v0.enums.Environment; readonly parent_id?: string; readonly defaults?: io.flow.common.v0.models.OrganizationDefaults; readonly status?: io.flow.common.v0.enums.OrganizationStatus; } interface OrganizationTaxRegistration { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationSummary; readonly address: io.flow.common.v0.models.BillingAddress; readonly registration: io.flow.organization.v0.models.TaxRegistrationDetail; readonly self_billing_agreement: io.flow.organization.v0.models.SelfBillingAgreement; } interface OrganizationTaxRegistrationForm { readonly tax_number: string; readonly country: string; readonly province?: string; readonly self_billing_agreement_effective_at: string; readonly self_billing_agreement_expires_at?: string; readonly legal_name?: string; } interface OrganizationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly organization: io.flow.common.v0.models.Organization; } interface RegionSetting { readonly id: string; readonly region: string; readonly status: io.flow.common.v0.enums.AvailabilityStatus; } interface RegionSettingForm { readonly status: io.flow.common.v0.enums.AvailabilityStatus; } interface SelfBillingAgreement { readonly effective_at: string; readonly expires_at: string; } interface TaxRegistrationDetail { readonly tax_number: string; readonly country: string; readonly tax_code: string; readonly province?: string; readonly legal_name?: string; } } declare namespace io.flow.billing.bank.account.v0.models { interface BankAccountInfoCan { readonly discriminator: 'can'; readonly routing_number: string; readonly account_number: string; } interface BankAccountInfoFra { readonly discriminator: 'fra'; readonly swift_code: string; readonly iban: string; } interface BankAccountInfoGbr { readonly discriminator: 'gbr'; readonly swift_code: string; readonly iban: string; } interface BankAccountInfoIta { readonly discriminator: 'ita'; readonly swift_code: string; readonly iban: string; } interface BankAccountInfoKor { readonly discriminator: 'kor'; readonly name: string; readonly bank_account_number: string; readonly bank_routing_number: string; readonly bank_name: string; } interface BankAccountInfoKorV2 { readonly discriminator: 'kor_v2'; readonly name: string; readonly bank_account_number: string; readonly bank_routing_number: string; readonly bank_name: string; } interface BankAccountInfoUsa { readonly discriminator: 'usa'; readonly routing_number: string; readonly account_number: string; } } declare namespace io.flow.billing.bank.account.v0.unions { type BankAccountInfo = | io.flow.billing.bank.account.v0.models.BankAccountInfoUsa | io.flow.billing.bank.account.v0.models.BankAccountInfoCan | io.flow.billing.bank.account.v0.models.BankAccountInfoGbr | io.flow.billing.bank.account.v0.models.BankAccountInfoFra | io.flow.billing.bank.account.v0.models.BankAccountInfoIta | io.flow.billing.bank.account.v0.models.BankAccountInfoKor | io.flow.billing.bank.account.v0.models.BankAccountInfoKorV2; } declare namespace io.flow.internal.v0.enums { type AccountCurrencyFilter = 'GBP' | 'CAD' | 'USD' | 'KRW'; type AccountPaymentHoldReason = | 'fraudulent' | 'frozen' | 'invalid_bank_account'; type AccountSettingLiabilitiesMethod = 'withholding' | 'transaction'; type AccountType = 'channel' | 'organization'; type AdjustmentTransactionType = 'adjustment' | 'reversal'; type AdyenIntegrationType = | 'hosted_payment_page' | 'checkout_payments_api' | 'classic_authorise_api'; type AiReviewBatchItemOutcome = | 'succeeded' | 'errored' | 'expired' | 'canceled' | 'undecided' | 'unparseable' | 'missing' | 'batch_failed' | 'batch_timed_out'; type AiReviewBatchStatus = | 'pending' | 'processing' | 'canceling' | 'completed' | 'failed' | 'timed_out' | 'published'; type AiReviewConsumer = 'restrictions' | 'sellability' | 'harmonization'; type AiReviewFailureReason = | 'item_errored' | 'item_expired' | 'item_unparseable' | 'item_image_fetch_failed' | 'item_undecided' | 'batch_failed' | 'batch_timed_out'; type AiReviewType = 'pv_review_general' | 'pv_review_dg_hazmat' | 'pc_review'; type AmruthaItemType = 'physical' | 'digital'; type AnyDangerousGoods = 'yes' | 'no' | 'i_dont_know'; type ApiCallReferenceId = | 'duty_rates_data_event' | 'integration_test' | 'unit_test'; type ApplicablePreferentialRate = 'baby' | 'children'; type AthenaDailyopsIntentLevel = 'low_intent' | 'high_intent'; type AutoRestrictRule = | 'prr-3ce7d556f2464314ab0a3e8eee33e0ce' | 'prr-599c6246a1a24752aeb85e8f79030781' | 'prr-79e41878ea564f9c81cc432a0e84703f' | 'prr-f29c26dc09e04536bc77f9c32786ed70' | 'prr-b186129720f0446eb452a68518437c95' | 'prr-36e1603f56e54eb889792637c29eed40' | 'prr-7ead2cc4bf2840a3a9b50d222eb0ed7e' | 'prr-ec2f3d608b7e43a49de88ac40e6b50a8' | 'prr-04ed078c39ca4447b171f767d71a481d' | 'prr-bb664a76d6d64a17843e720e6ccd401a' | 'prr-8ce63afcd48641eb9d44e04117348a96' | 'prr-76544617791b4ce8af96b3a7879474c6' | 'prr-566cc67167944bc4bd08167aa9c0beba' | 'prr-74e1320efb7741cf9ace400b69800f9b'; type B2BFeeMorTaxTriggerType = 'capture' | 'order' | 'settings'; type B2BFeeShippingTaxTriggerType = 'label' | 'trueup'; type B2BTaxLedgerDocumentType = | 'b2b_invoice' | 'b2b_credit_memo' | 'mor_invoice' | 'mor_credit_memo' | 'label_invoice' | 'label_credit_memo'; type B2BTaxRateType = 'basic' | 'preferential' | 'exempt'; type BankAccountStatus = 'on_hold' | 'not_on_hold'; type BankPaymentPromiseCompletedMethod = 'credit' | 'time'; type BankPaymentStatusCode = 'scheduled' | 'sent' | 'failed' | 'paid'; type BillingAllocationKey = | 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge'; type BillingMetricKey = | 'adjustment_transactions_count' | 'adjustment_transactions_total' | 'capture_transactions_count' | 'capture_transactions_reconcile_payments_count' | 'capture_transactions_ignored_fraud_count' | 'capture_transactions_ignored_fully_refunded_count' | 'capture_transactions_ignored_other_count' | 'capture_transactions_ignored_previously_processed_count' | 'capture_transactions_succeeded_then_failed_count' | 'capture_transactions_succeeded_then_failed_total' | 'capture_transactions_succeeded_then_failed_same_day_count' | 'capture_transactions_succeeded_then_failed_same_day_total' | 'capture_queued_count' | 'capture_transactions_total' | 'carrier_charge_transactions_count' | 'carrier_charge_transactions_total' | 'channel_transactions_processing_count' | 'channel_transactions_processing_total' | 'channel_transactions_adjustment_count' | 'channel_transactions_adjustment_total' | 'channel_transactions_reversal_count' | 'channel_transactions_reversal_total' | 'channel_billed_transactions_count' | 'channel_billed_transactions_total' | 'credit_payment_transactions_count' | 'credit_payment_transactions_total' | 'duty_to_labels_ratio' | 'duty_transactions_count' | 'duty_transactions_total' | 'fully_subsidized_order_transactions_count' | 'fully_subsidized_order_transactions_total' | 'billable_label_transactions_count' | 'billable_label_transactions_count_for_unique_orders' | 'billable_label_transactions_count_with_revenue_share' | 'billable_label_transactions_count_without_revenue_share' | 'billable_label_transactions_total' | 'revenue_share_label_transactions_count' | 'revenue_share_label_transactions_count_for_unique_orders' | 'revenue_share_label_transactions_total' | 'manual_transactions_count' | 'manual_transactions_total' | 'order_transactions_count' | 'order_transactions_total' | 'refund_transactions_count' | 'refund_transactions_reconcile_payments_count' | 'refund_transactions_ignored_fraud_count' | 'refund_transactions_ignored_fully_refunded_count' | 'refund_transactions_ignored_other_count' | 'refund_transactions_ignored_previously_processed_count' | 'refund_queued_count' | 'refund_transactions_total' | 'refund_transactions_succeeded_then_failed_count' | 'refund_transactions_succeeded_then_failed_total' | 'refund_transactions_succeeded_then_failed_same_day_count' | 'refund_transactions_succeeded_then_failed_same_day_total' | 'reversal_order_cancellations_transactions_count' | 'reversal_order_cancellations_transactions_total' | 'reversal_external_fulfillment_transactions_count' | 'reversal_external_fulfillment_transactions_total' | 'reversal_other_transactions_count' | 'reversal_other_transactions_total' | 'reversal_all_transactions_count' | 'reversal_all_transactions_total' | 'tax_to_labels_ratio' | 'tax_transactions_count' | 'tax_transactions_total' | 'transfer_transactions_count' | 'transfer_transactions_total' | 'trueup_transactions_count' | 'trueup_transactions_total' | 'fulfillments_count' | 'fulfilled_via_replacement_order_count' | 'percentage_orders_with_fulfillment_proof_2_weeks' | 'percentage_orders_with_fulfillment_proof_4_weeks' | 'percentage_orders_with_fulfillment_proof_6_weeks' | 'percentage_orders_with_fulfillment_proof_all' | 'pending_payouts_max_age_in_millis' | 'shipping_notifications_count' | 'queued_capture_unprocessed_count' | 'queued_refund_unprocessed_count' | 'queued_label_invoice_request_unprocessed_count' | 'queued_other_unprocessed_count' | 'task_snooze_count' | 'task_snooze_ending_in_48_hours_count' | 'payouts_scheduled_count' | 'payouts_scheduled_total' | 'payouts_sent_count' | 'payouts_sent_total' | 'payouts_failed_count' | 'payouts_failed_total' | 'average_payout_amount' | 'capture_transaction_with_zero_fees_and_no_channel_transaction_count' | 'percentage_billable_label_transactions_with_carrier_charge_10_days' | 'percentage_billable_label_transactions_with_carrier_charge_20_days' | 'percentage_billable_label_transactions_with_carrier_charge_30_days' | 'percentage_billable_label_transactions_with_carrier_charge_60_days' | 'percentage_billable_label_transactions_with_carrier_charge_90_days' | 'percentage_bank_account_inserts' | 'percentage_bank_account_updates' | 'percentage_bank_account_unique_updates' | 'percentage_bank_account_deletes' | 'negative_balance_number_accounts' | 'negative_balance_number_accounts_with_order_in_past_30_days' | 'negative_balance_number_accounts_without_order_in_past_30_days' | 'negative_balance_number_offboarded_accounts' | 'negative_balance_number_active_accounts_with_balance_over_1000' | 'negative_balance_total' | 'negative_balance_total_with_order_in_past_30_days' | 'negative_balance_total_without_order_in_past_30_days' | 'negative_balance_total_offboarded_accounts' | 'negative_balance_single_account_max' | 'negative_balance_single_active_account_max' | 'negative_balance_fee_total' | 'accounts_with_payment_holds_count' | 'accounts_with_payment_holds_pending_payment_promise_count' | 'accounts_with_payment_holds_pending_payment_promise_total' | 'edited_order_tax_amount_exceeding_transaction' | 'edited_order_duty_amount_exceeding_transaction' | 'negative_balance_scheduled_count' | 'negative_balance_scheduled_total' | 'negative_balance_sent_count' | 'negative_balance_sent_total' | 'negative_balance_failed_count' | 'negative_balance_failed_total' | 'negative_debit_success_rate' | 'current_attempt_merchant_count' | 'current_attempt_amount_total' | 'current_attempt_failed_merchant_count' | 'current_attempt_failed_amount_total' | 'current_attempt_success_ratio' | 'first_attempt_merchant_count' | 'first_attempt_amount_total' | 'first_attempt_failed_merchant_count' | 'first_attempt_failed_amount_total' | 'first_attempt_success_ratio' | 'second_attempt_merchant_count' | 'second_attempt_amount_total' | 'second_attempt_failed_merchant_count' | 'second_attempt_failed_amount_total' | 'second_attempt_success_ratio' | 'third_attempt_merchant_count' | 'third_attempt_amount_total' | 'third_attempt_failed_merchant_count' | 'third_attempt_failed_amount_total' | 'third_attempt_success_ratio' | 'fourth_plus_attempt_merchant_count' | 'fourth_plus_attempt_amount_total' | 'fourth_plus_attempt_failed_merchant_count' | 'fourth_plus_attempt_failed_amount_total' | 'fourth_plus_attempt_success_ratio' | 'ge_revenue_share_standard_transactions_count' | 'ge_revenue_share_standard_transactions_total' | 'ge_revenue_share_standard_transactions_percentage' | 'ge_revenue_share_shopify_plus_transactions_count' | 'ge_revenue_share_shopify_plus_transactions_total' | 'ge_revenue_share_shopify_plus_transactions_percentage' | 'non_l4l_tax_duty_fx_transactions_count' | 'non_l4l_tax_duty_fx_transactions_total' | 'non_l4l_tax_duty_fx_transactions_percentage' | 'sp_adjustment_transactions_count' | 'sp_adjustment_transactions_total' | 'sp_billable_label_transactions_count' | 'sp_billable_label_transactions_count_for_unique_orders' | 'sp_billable_label_transactions_total' | 'capture_transactions_standard_count' | 'capture_transactions_standard_total' | 'capture_transactions_shopify_plus_count' | 'capture_transactions_shopify_plus_total' | 'sp_capture_transactions_count' | 'sp_capture_transactions_total' | 'sp_carrier_charge_transactions_count' | 'sp_carrier_charge_transactions_total' | 'sp_channel_transactions_count' | 'sp_channel_transactions_total' | 'sp_duty_transactions_count' | 'sp_duty_transactions_total' | 'sp_manual_transactions_count' | 'sp_manual_transactions_total' | 'sp_refund_transactions_count' | 'sp_refund_transactions_total' | 'sp_reversal_transactions_count' | 'sp_reversal_transactions_total' | 'sp_revenue_share_label_transactions_count' | 'sp_revenue_share_label_transactions_count_for_unique_orders' | 'sp_revenue_share_label_transactions_total' | 'sp_tax_transactions_count' | 'sp_tax_transactions_total' | 'sp_transfer_transactions_count' | 'sp_transfer_transactions_total' | 'sp_trueup_transactions_count' | 'sp_trueup_transactions_total'; type BillingStatementAttachmentKey = | 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'channel_billed' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'label' | 'order_service' | 'tax' | 'duty' | 'trueup' | 'carrier_charge' | 'all'; type BillingTransactionStatus = 'pending_proof' | 'posted'; type BillingTransactionType = | 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'reversal' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment' | 'dispute' | 'channel' | 'label' | 'order' | 'channel_billed' | 'tax' | 'duty' | 'trueup' | 'carrier_charge' | 'non_l4l_tax_duty_fx' | 'tax_refund' | 'duty_refund' | 'ge_revenue_share' | 'merchant_fee' | 'merchant_payout' | 'merchant_refund' | 'b2b_tax' | 'b2b_tax_refund' | 'b2b_fee_mor_tax' | 'b2b_fee_shipping_tax' | 'flat_rate_label' | 'flat_rate_label_subsidy' | 'credit_refund'; type BojanaItemType = 'physical' | 'digital'; type CalculatorEngine = | 'dtce_with_deminimis' | 'dtce_with_inclusive_pricing' | 'dtce_and_us_tax'; type CarrierChargeTransactionType = | 'adjustment' | 'reversal' | 'charge' | 'revenue_share'; type CarrierChargeType = 'label' | 'tax' | 'other'; type CarrierDocumentType = 'commercial_invoice'; type CarrierFileType = 'freight' | 'tax'; type CarrierLabelGenerationMethod = 'direct' | 'easypost'; type CarrierValidationStatus = 'success' | 'error'; type CatalogImportType = | 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import'; type CatalogPublicationOwner = 'shopify' | 'globale'; type ChannelBilledTransactionType = | 'adjustment' | 'reversal' | 'channel_initiated'; type ChannelOrderAcceptanceErrorAction = 'auto_reject' | 'auto_accept'; type ChannelOrderAcceptanceFailureReasonCode = | 'channel_order_mor_invalid' | 'channel_order_does_not_exist'; type ChannelOrderAcceptanceNextActionFrom = | 'cx_team' | 'core_team' | 'core_team_investigate' | 'mex_team' | 'payments_team' | 'tc_team' | 'logistics_team'; type ChannelOrderAcceptanceRejectionReason = | 'unsupported_origin_country' | 'unsupported_destination_country' | 'domestic_order' | 'order_contains_gift_card' | 'order_contains_restricted_goods' | 'missing_order_information' | 'missing_classification_information' | 'unsupported_payment_information' | 'unsupported_shop_currency' | 'unsupported_free_order' | 'extracting_distribution_info_failed' | 'shipping_estimation_failed' | 'payment_authorization_failed' | 'unsupported_subsidized_order' | 'unsupported_virtual_goods' | 'non_matching_currencies' | 'unsupported_order_edit' | 'order_allocation_duties_mismatch' | 'order_missing' | 'order_cancelled' | 'organization_deactivated'; type ChannelOrderAcceptanceStatus = | 'accepted' | 'rejected' | 'review' | 'edit_review' | 'edit_accepted'; type ChannelOrderFulfillmentStatusCode = | 'unfulfilled' | 'fulfilled' | 'partial' | 'cancelled'; type ChannelService = | 'payment' | 'duty_tax_calculator' | 'sellability' | 'all'; type ChannelTransactionTriggerType = 'capture' | 'order'; type ChannelTransactionType = | 'adjustment' | 'reversal' | 'processing' | 'order'; type ChapterCheckStatus = 'apparel_like' | 'similar' | 'does_not_match'; type ChargeEstimateSource = 'global-e' | 'shopify'; type ChargeInputType = | 'fuelsc' | 'incoterm_ddp' | 'delivery_confirmation' | 'base_charge' | 'package_pickup' | 'insurance' | 'usps_first_mile' | 'oversize_piece' | 'incoterm_dap' | 'emergency_situation' | 'remote_area_delivery' | 'customs_clearance_surcharge' | 'security_surcharge' | 'duties_fx_surcharge' | 'electronic_export_information_surcharge' | 'additional_handling' | 'large_package_surcharge' | 'peak_surcharge' | 'fuel_surcharge' | 'delivery_area_surcharge'; type ChargebackPaymentStatus = 'captured' | 'refunded'; type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed'; type CheckoutAssetType = 'stylesheet' | 'javascript'; type CheckoutPromptBehavior = 'always' | 'incomplete'; type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple'; type CheckoutUrlType = | 'continue_shopping' | 'confirmation' | 'invalid_checkout'; type ChenglinItemType = 'physical' | 'digital'; type ClassificationDecision = 'Accept' | 'Reject'; type ClassificationErrorCode = 'generic_error'; type ClassificationFailureReason = | 'low_confidence' | 'timeout' | 'missing_hs6_code' | 'invalid_price'; type ClassificationPlatform = | 'GlobalE' | 'Flow' | 'FlowOnboarding' | 'Borderfree'; type ClassificationScope = 'Item' | 'Product' | 'Bucket'; type ClassificationSource = 'sellability'; type ClassificationType = 'None' | 'Manual' | 'ML' | 'System'; type ClothingAgeClassification = | 'None' | 'AgeKidsGeneral' | 'Age0_10' | 'Age10_13' | 'Age13_14'; type CommercialInvoiceVersion = 'v2_2_1'; type Company = 'globale' | 'flow'; type ComplianceType = 'weee'; type ConnectReportPaymentTransferType = | 'ManagedMarketsRefundDebit' | 'ManagedMarketsDutiesAndTaxesAdjustmentDebit' | 'ManagedMarketsDisputedAmountDebit'; type ConnectReportTransferTransferType = | 'ManagedMarketsChargeCredit' | 'ManagedMarketsDisputeWonAmountCredit' | 'ManagedMarketsDutiesAndTaxesAdjustmentCredit'; type ConorItemType = 'digital' | 'physical'; type CpscCertificateType = 'GCC' | 'CPC'; type CpscFileType = 'GeRegistered' | 'PreRegistered'; type CpscLabType = 'ITL' | 'LAB' | 'NOL'; type CpscLotNumberAssignedBy = 'Seller' | 'Manufacturer'; type CpscPointOfContactType = | 'Importer' | 'Manufacturer' | 'Laboratory' | 'Broker' | 'Other'; type CpscPrimaryProductIdType = | 'GTIN' | 'UPC' | 'SKU' | 'Model Number' | 'Serial Number' | 'Registered Number' | 'Alternate Identifier'; type CpscYesNo = 'Y' | 'N'; type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped'; type DebugAccountingTransactionType = 'fulfillment'; type DeliveredDutyOptionMessageType = 'warning' | 'notification'; type DeminimisAdjustmentType = 'none' | 'duty' | 'vat' | 'vat_and_duty'; type DiscountRequestOrderEntitlementKey = 'subtotal'; type DisputeBillable = 'flow' | 'organization'; type DisputeCategory = 'friendly_fraud' | 'true_fraud' | 'processing_error'; type DisputeDefenseOutcome = 'defended' | 'undefended' | 'undefendable'; type DisputeEvidence = 'proof_of_delivery' | 'proof_of_fulfillment' | 'other'; type DisputeImportStatus = 'new' | 'processing' | 'completed' | 'failed'; type DisputeImportType = 'adyen_dispute' | 'paypal_dispute'; type DisputeLiability = 'flow' | 'organization'; type DisputeProcessor = 'adyen' | 'paypal' | 'stripe'; type DisputeReportingCategory = | 'charge_issues' | 'delivery' | 'fraud' | 'general' | 'product' | 'returns'; type DisputeStatus = 'pending' | 'won' | 'lost' | 'refunded' | 'expired'; type DisputeTransactionType = 'adjustment' | 'dispute'; type DisputeType = 'chargeback'; type DutyCompoundExpressionType = 'sum' | 'max' | 'min'; type DutyExemptItemTypes = | 'gift_card' | 'service' | 'digital_item' | 'personalization'; type DutyRateSource = | 'tariff_code_rate' | 'compound_rate' | 'csv_fallback_rate' | 'hardcoded_rate'; type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair'; type DutySelectionRule = | 'lookup_by_tariff_code' | 'lookup_by_hs6_code' | 'fallback_for_jurisdiction' | 'domestic_sale' | 'intra_community_sale' | 'reimport' | 'override' | 'preferential_rate'; type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat'; type DutyTransactionType = 'adjustment' | 'reversal' | 'duty' | 'refund'; type DutyVarianceStatus = 'acceptable' | 'exceeded'; type EmptyAttribute = 'irrelevant'; type ErpFileType = 'vendor'; type EvaluationCheckResult = 'pass' | 'fail'; 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' | 'adyen_dispute_upserted' | 'adyen_dispute_deleted' | 'agent_review_decision_upserted' | 'agent_review_decision_deleted' | 'ai_review_batch_submitted' | 'ai_review_result_upserted' | 'ai_review_result_deleted' | 'ai_review_request_failed' | 'fulfillment_upserted' | 'fulfillment_deleted' | 'merchant_upserted' | 'merchant_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_v2' | 'channel_account_deleted' | 'organization_account_upserted_v2' | 'organization_account_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'fulfillment_status_upserted' | 'fulfillment_status_deleted' | '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_upserted_v2' | 'bank_payment_deleted_v2' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'order_transaction_upserted' | 'order_transaction_deleted' | 'label_transaction_upserted' | 'label_transaction_deleted' | 'ge_revenue_share_transaction_upserted' | 'ge_revenue_share_transaction_deleted' | 'non_l4l_tax_duty_fx_transaction_upserted' | 'non_l4l_tax_duty_fx_transaction_deleted' | 'transaction_adjustment_upserted' | 'transaction_adjustment_deleted' | 'channel_billed_transaction_upserted' | 'channel_billed_transaction_deleted' | 'tax_transaction_upserted' | 'tax_transaction_deleted' | 'duty_transaction_upserted' | 'duty_transaction_deleted' | 'transaction_statement_upserted' | 'transaction_statement_deleted' | 'bank_account_upserted' | 'bank_account_deleted' | 'posting_proof_upserted' | 'posting_proof_deleted' | 'bank_payment_promise_upserted' | 'bank_payment_promise_deleted' | 'account_payment_hold_upserted' | 'account_payment_hold_deleted' | 'flat_rate_label_transaction_upserted' | 'flat_rate_label_transaction_deleted' | 'daily_value_upserted' | 'daily_value_deleted' | 'revenue_record_upserted' | 'revenue_record_deleted' | 'other_record_upserted' | 'other_record_deleted' | 'sales_payment_record_upserted' | 'sales_payment_record_deleted' | 'calculator_organization_settings_upserted' | 'calculator_organization_settings_deleted' | 'carrier_account_upserted_v2' | 'carrier_account_deleted' | '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' | 'catalog_settings_upserted' | 'catalog_settings_deleted' | 'channel_order_acceptance_upserted' | 'channel_order_acceptance_deleted' | 'channel_order_acceptance_failed' | 'channel_shop_statistics_upserted' | 'channel_shop_statistics_deleted' | 'channel_order_tax_and_duty_inclusivity_setting_upserted' | 'channel_order_tax_and_duty_inclusivity_setting_deleted' | 'commercial_invoice_internal_upserted' | 'commercial_invoice_internal_deleted' | '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' | 'dispute_upserted' | 'dispute_deleted' | 'duty_rates_published_v2' | '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' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_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' | 'standalone_attachment_upserted' | 'standalone_attachment_deleted' | 'platform_fee_change_upserted' | 'platform_fee_change_deleted' | 'organization_bank_account_upserted' | 'organization_bank_account_deleted' | 'billing_csv_transaction_upserted' | 'billing_csv_transaction_deleted' | 'label_invoice_request_upserted' | 'label_invoice_request_deleted' | 'carrier_charge_upserted' | 'carrier_charge_deleted' | 'bank_payment_order_upserted' | 'bank_payment_order_deleted' | 'shipping_cost_upserted' | 'shipping_cost_deleted' | 'mor_cost_upserted' | 'mor_cost_deleted' | 'flat_rate_label_reversal_upserted' | 'flat_rate_label_reversal_deleted' | 'flat_rate_label_subsidy_upserted' | 'flat_rate_label_subsidy_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'fraud_review_authorization_upserted' | 'fraud_review_authorization_deleted' | 'fraud_pending_review_authorization_upserted' | 'fraud_pending_review_authorization_deleted' | 'fraud_review_authorization_decision_upserted' | 'fraud_review_authorization_decision_deleted' | 'fraud_provider_configuration_upserted' | 'fraud_provider_configuration_deleted' | 'manual_review_rule_upserted' | 'manual_review_rule_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'center_defaults_upserted' | 'center_defaults_deleted' | 'fulfillment_fallbacks_upserted' | 'fulfillment_fallbacks_deleted' | 'quote_upserted' | 'quote_deleted' | 'guaranteed_shipping_calibrated_output_upserted' | 'guaranteed_shipping_calibrated_output_deleted' | 'outbound_shipping_cost_upserted' | 'outbound_shipping_cost_deleted' | 'average_order_value_upserted' | 'average_order_value_deleted' | 'guaranteed_shipping_published_output_upserted' | 'guaranteed_shipping_published_output_deleted' | 'guaranteed_shipping_settings_upserted' | 'guaranteed_shipping_settings_deleted' | 'guaranteed_shipping_settings_update_upserted' | 'guaranteed_shipping_settings_update_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'harmonization_codes_import' | 'harmonize_fully_request_v2' | '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' | 'merchant_override_upserted' | 'merchant_override_deleted' | 'harmonization_classification_statistics_published' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'label_request_error_upserted' | 'label_request_error_deleted' | 'order_validation_failure_upserted' | 'order_validation_failure_deleted' | 'order_validation_upserted' | 'order_validation_deleted' | 'label_creation_job_upserted' | 'label_creation_job_deleted' | 'guaranteed_shipping_order_guarantee_upserted' | 'guaranteed_shipping_order_guarantee_deleted' | 'eu_product_identifier_check_upserted' | 'eu_product_identifier_check_deleted' | 'label_tracking_summary_upserted' | 'label_tracking_summary_deleted' | 'logistics_capabilities_upserted' | 'logistics_capabilities_deleted' | 'localized_item_prices_export_request' | 'order_combined_shipment_upserted' | 'order_combined_shipment_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'organization_business_entity_deleted' | 'organization_business_entity_upserted' | 'organization_status_change_upserted' | 'organization_status_change_deleted' | 'organization_deactivation_upserted' | 'organization_deactivation_deleted' | 'merchant_guid_assignment_upserted' | 'merchant_guid_assignment_deleted' | 'organization_metadata_upserted' | 'organization_metadata_deleted' | 'partner_organization_settings_upserted' | 'partner_organization_settings_deleted' | 'unassigned_merchant_guid_upserted' | 'unassigned_merchant_guid_deleted' | 'partner_tracking_subscription_upserted' | 'partner_tracking_subscription_deleted' | 'partner_request_upserted' | 'partner_request_deleted' | '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' | 'authorization_bundle_upserted' | 'authorization_bundle_deleted' | 'organization_payment_setting_upserted' | 'organization_payment_setting_deleted' | 'order_refund_transaction_upserted' | 'order_refund_transaction_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'paypal_dispute_upserted' | 'paypal_dispute_deleted' | 'preonboarding_sellability_result_inserted' | 'preonboarding_sellability_result_updated' | 'preonboarding_sellability_result_deleted' | 'product_restriction_rule_decision_upserted' | 'product_restriction_rule_decision_deleted' | 'product_restriction_state_inserted' | 'product_restriction_state_updated' | 'product_restriction_state_deleted' | 'product_sellability_result_inserted' | 'product_sellability_result_updated' | 'product_sellability_result_deleted' | 'order_rates_published_v3' | 'ratecard_dimension_estimate_upserted' | 'ratecard_dimension_estimate_deleted' | 'ratecard_service_fee_upserted' | 'ratecard_service_fee_deleted' | 'ratecard_rate_level_upserted' | 'ratecard_rate_level_deleted' | 'ratecard_rate_level_ratecard_upserted' | 'ratecard_rate_level_ratecard_deleted' | 'ratecard_rate_level_organization_upserted' | 'ratecard_rate_level_organization_deleted' | 'restriction_organization_status_upserted' | 'restriction_organization_status_deleted' | 'organization_restriction_status_upserted' | 'organization_restriction_status_deleted' | 'screening_status_change_upserted' | 'screening_status_change_deleted' | 'restrictions_dailyops_upserted' | 'restrictions_dailyops_deleted' | 'restrictions_athena_dailyops_pc_pv_upserted' | 'restrictions_athena_dailyops_pc_pv_deleted' | 'restrictions_athena_dailyops_fs_upserted' | 'restrictions_athena_dailyops_fs_deleted' | 'restriction_rule_upserted' | 'restriction_rule_deleted' | 'restriction_rule_effect_upserted' | 'restriction_rule_effect_deleted' | 'restriction_rule_side_effect_upserted' | 'restriction_rule_side_effect_deleted' | 'taxonomy_category_hs6_ref_upserted' | 'taxonomy_category_hs6_ref_deleted' | 'preonboarding_merchant_upserted' | 'preonboarding_merchant_deleted' | 'unserviceable_taxonomy_category_upserted' | 'unserviceable_taxonomy_category_deleted' | 'sellability_pending_verification_upserted' | 'sellability_pending_verification_deleted' | 'shopify_hs10_codes_upserted' | 'shopify_hs10_codes_deleted' | 'shopify_markets_order_upserted' | 'shopify_markets_order_deleted' | 'shopify_markets_shop_upserted' | 'shopify_markets_shop_deleted' | 'shopify_markets_webhook_registration_upserted' | 'shopify_markets_webhook_registration_deleted' | 'shopify_markets_shop_statistics_upserted' | 'shopify_markets_shop_statistics_deleted' | 'shopify_product_taxonomy_attribute_upserted' | 'shopify_product_taxonomy_attribute_deleted' | 'shopify_product_taxonomy_attribute_value_upserted' | 'shopify_product_taxonomy_attribute_value_deleted' | 'shopify_markets_metrics_upserted' | 'shopify_markets_metrics_deleted' | 'channel_order_summary_upserted' | 'channel_order_summary_deleted' | 'channel_organization_identifier_upserted' | 'channel_organization_identifier_deleted' | 'order_tax_and_duty_inclusivity_setting_upserted' | 'order_tax_and_duty_inclusivity_setting_deleted' | 'shopify_product_bundle_upserted' | 'shopify_product_bundle_deleted' | 'shopify_incoterm_summary_error_published' | 'shopify_markets_best_selling_product_upserted' | 'shopify_markets_best_selling_product_deleted' | 'shopify_order_risk_assessment_upserted' | 'shopify_order_risk_assessment_deleted' | 'shopify_order_transaction_upserted' | 'shopify_order_transaction_deleted' | 'shopify_test_order_upserted' | 'shopify_test_order_deleted' | 'shopify_merchant_markets_upserted' | 'shopify_merchant_markets_deleted' | 'shopify_product_create_upserted' | 'shopify_product_create_deleted' | 'shopify_product_update_upserted' | 'shopify_product_update_deleted' | 'shopify_product_delete_upserted' | 'shopify_product_delete_deleted' | 'shopify_inventory_item_create_upserted' | 'shopify_inventory_item_create_deleted' | 'shopify_inventory_item_update_upserted' | 'shopify_inventory_item_update_deleted' | 'shopify_inventory_item_delete_upserted' | 'shopify_inventory_item_delete_deleted' | 'shopify_product_data_create_v2' | 'shopify_product_data_update_v2' | 'shopify_product_metafields_update_v2' | 'shopify_product_variant_data_v2' | 'shopify_product_variant_components_v2' | 'shopify_product_data_delete_v2' | 'shopify_inventory_item_update_v2' | 'shopify_inventory_item_delete_v2' | 'shopify_monitoring_order_monitor_event_upserted' | 'shopify_monitoring_order_monitor_event_deleted' | 'shopify_merchant_plan_upserted' | 'shopify_merchant_plan_deleted' | 'shopify_dispute_upserted' | 'shopify_dispute_deleted' | 'shopify_report_file_upserted' | 'shopify_report_file_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' | 'stripe_dispute_upserted' | 'stripe_dispute_deleted' | 'stripe_connect_report_record_upserted' | 'stripe_connect_report_record_deleted' | 'liability_remittance_plan_upserted' | 'liability_remittance_plan_deleted' | 'b2b_tax_transaction_upserted' | 'b2b_tax_transaction_deleted' | 'gabriel_item_upserted' | 'gabriel_item_deleted' | 'chenglin_item_upserted' | 'chenglin_item_deleted' | 'bojana_item_upserted' | 'bojana_item_deleted' | 'raveena_item_upserted' | 'raveena_item_deleted' | 'mahesh_item_upserted' | 'mahesh_item_deleted' | 'john_strong_item_upserted' | 'john_strong_item_deleted' | 'tracking_processing_error_upserted' | 'tracking_processing_error_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_assurance_analysis_upserted' | 'tracking_assurance_analysis_deleted' | 'tracking_assurance_job_upserted' | 'tracking_assurance_job_deleted' | 'tracking_subscription_upserted' | 'tracking_subscription_deleted' | 'tracking_carrier_return_label_upserted' | 'tracking_carrier_return_label_deleted' | 'tracking_label_dimensions_upserted' | 'tracking_label_dimensions_deleted' | 'user_upserted_v2' | 'user_deleted_v2'; type ExperienceImportType = 'experience_with_settings'; type ExperienceOrderAction = 'submit' | 'refund_gift_cards'; type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order'; type ExportContentType = 'item' | 'price_book_item'; type FeatureScope = 'global' | 'organization'; type FeatureStatus = 'draft' | 'active' | 'archived'; type FeatureType = 'boolean' | 'decimal' | 'string'; type FeesSource = 'settings' | 'authorization_bundle'; type FileType = 'pdf'; type FlatRateLabelGuaranteeStatus = 'active' | 'void'; type FlatRateLabelTransactionType = | 'adjustment' | 'reversal' | 'fee' | 'subsidy'; type FraudProvider = | 'flow' | 'forter' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none'; type FraudProviderStatus = 'active' | 'archived'; type FraudReviewResponsibleParty = 'flow' | 'organization'; type GabrielItemType = 'physical' | 'digital'; type GeIngestionFileStatus = 'pending' | 'processed'; type GeRevenueShareTransactionType = | 'adjustment' | 'reversal' | 'revenue_share'; type GoogleAnalyticsPlugin = 'ec'; type GraphqlServiceTypes = | 'order_update_mutation' | 'shipping_address_validation' | 'inventory_item' | 'product_bundle' | 'shopify_location' | 'shopify_order' | 'sync_product_catalog' | 'shopify_webhook' | 'guaranteed_shipping_state'; type GuaranteedShippingOrderGuaranteeState = 'confirmed' | 'voided'; type GuaranteedShippingPublicationStatus = | 'published' | 'not_found' | 'superseded'; type HarmonizationDecisionSource = | 'human' | 'system' | 'legacy_model' | 'enterprise_model' | 'merchant'; type Hs6CodeSource = 'sellability' | 'classification' | 'human'; type HttpMethod = 'get' | 'post'; type InternalPaymentEntityType = | 'authorization' | 'capture' | 'refund' | 'dispute'; type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT'; type ItemClassificationStatus = | 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted' | 'pending'; type ItemHarmonizationStatus = | 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'exempt' | 'manual_classification_required' | 'unserviceable_taxonomy'; type ItemQuantityAction = | 'fulfillment_ship' | 'fulfillment_cancel' | 'fulfillment_generate_label'; type ItemType = 'standard' | 'multi_product'; type JohnStrongItemType = 'physical' | 'digital'; type JournalOperation = 'insert' | 'update' | 'delete'; type KeywordType = 'positive' | 'negative'; type LabelBillingStrategy = 'quote' | 'carrier'; type LabelCreationStatus = 'success' | 'error' | 'pending' | 'cancelled'; type LabelEventMedium = 'webhook' | 'pull' | 'post'; type LabelEventSource = 'aftership' | 'carrier' | 'flow'; type LabelRequestErrorHandlingResponsibility = | 'merchant' | 'merchant_integration' | 'shopify_integration' | 'globale_cx' | 'globale_address_repair' | 'merchant_operations' | 'globale_system' | 'carrier'; type LabelRequestResultOrganizationType = | 'all' | 'cafe24_production' | 'shopify_production' | 'sandbox'; type LabelRequestResultState = 'success' | 'failure'; type LabelTransactionType = | 'adjustment' | 'reversal' | 'billable_label' | 'fee' | 'revenue_share'; type LedgerReportType = | 'periodic_mor_jurisdiction_report' | 'periodic_mor_jurisdiction_sandbox_report'; type LedgerReportUrlType = 'sharepoint' | 's3'; type LiabilityType = | 'full_value_tax' | 'low_value_goods_tax' | 'high_value_goods_tax' | 'duties'; type LogisticsCapability = 'logistics_address_correction'; type LogisticsPayoutResolutionMethod = | 'order_combined_shipment' | 'intransit_label_event' | 'shipping_notification'; type MaheshItemType = 'physical' | 'digital'; type MailClass = 'standard' | 'express'; type ManualReviewRuleStatus = 'active' | 'archived'; type ManualTransactionCategory = | 'cancelled_order_refund' | 'client_accepted_chargeback' | 'fee_reimbursement' | 'platform_fee' | 'shipping_true_up' | 'tax_credit' | 'carrier_credit' | 'negative_balance_guarantee' | 'bank_payment_failure' | 'non_fraud_chargeback' | 'v1_migration_neg_balance_settlement'; type MerchantFeeTransactionType = 'adjustment' | 'reversal' | 'fee'; type MerchantOfRecord = | 'global_e_united_states' | 'global_e_united_kingdom' | 'global_e_canada' | 'global_e_netherlands' | 'uk_global_e_canada' | 'uk_global_e_netherlands' | 'uk_global_e_united_states' | 'ca_global_e_united_kingdom' | 'ca_global_e_netherlands' | 'ca_global_e_united_states'; type MerchantOverrideStatus = | 'pending' | 'in_review' | 'accepted' | 'rejected'; type MixedBagWeight = '0' | '1' | '2'; type NatureOfSale = | 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title'; type NoLiabilityReasonCode = | 'zero_basis' | 'zero_rate_on_goods' | 'zero_rate_on_sale' | 'goods_above_value_threshold' | 'goods_below_value_threshold' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_by_trade_agreement'; type NonL4LTaxDutyFxTransactionType = 'adjustment' | 'reversal' | 'fee'; type OnboardingAuditMessageLevel = 'info' | 'warning' | 'error'; type OnboardingAuditResult = 'pass' | 'warning' | 'fail'; type OnboardingAuditThemeKey = | 'billing' | 'b2b_invoicing' | 'catalog' | 'currency' | 'checkout' | 'fraud' | 'logistics' | 'payments' | 'integration_partner' | 'dtce' | 'restrictions' | 'organization_status' | 'miscellaneous'; type OnboardingAutomationProcessState = | 'not_started' | 'in_progress' | 'success' | 'failed'; type OnboardingAutomationTaskState = | 'not_started' | 'in_progress' | 'success' | 'failed'; type OnboardingStateSource = | 'unknown' | 'unit_test' | 'api' | 'api_activation' | 'api_reject' | 'audit_auto_activation' | 'api_deactivation' | 'api_sandbox_setup' | 'api_internal' | 'api_internal_block' | 'api_internal_unblock' | 'api_internal_delete_transaction' | 'onboarding_application' | 'organization_state_change' | 'restriction_organization_status'; type OrderAction = | 'consumer_submit' | 'fraud_review_accept' | 'fraud_review_decline' | 'payment_fully_authorize' | 'payment_fully_capture'; type OrderAddressValidationStatus = 'success' | 'failed'; type OrderAttributeIntent = 'discount_code'; type OrderCancellationInitiatedBy = 'flow' | 'organization'; type OrderChargeTrigger = | 'first_shipment' | 'last_shipment' | 'shipment_exhausted'; type OrderLifecycleEvent = 'order_placed' | 'ready_to_fulfill'; type OrderPaymentSourceType = 'globale' | 'third_party'; type OrderTransactionType = 'adjustment' | 'reversal' | 'order_service'; type OrderValidationStatus = | 'success' | 'failed' | 'label_created' | 'unresolvable' | 'cancelled' | 'breached'; type OrganizationCapability = 'organization' | 'flow' | 'dynamic'; type OrganizationMetricType = 'organization_restriction_status'; type OrganizationPaymentStatus = 'active' | 'archived'; type OrganizationPromotionStatus = 'in_progress' | 'completed' | 'failed'; type OrganizationRestrictionApprovalStatus = 'ready' | 'not-ready'; type OrganizationRestrictionNoteType = | 'internal' | 'rejection_reason' | 'additional_rejection_info'; type OrganizationRestrictionReviewType = | 'all_pending' | 'pending_verification'; type OrganizationRestrictionRiskLevel = '5' | '15'; type OrganizationRestrictionScreeningStatus = | 'in_review' | 'fully_reviewed' | 'rejected' | 'unscreened'; type OrganizationSource = 'smb' | 'enterprise'; type OutputStyle = 'flow' | 'shopify_p1'; type Owner = 'flow' | 'organization'; type PaymentShortUrlDiscriminator = 'adyen_3ds2'; type PaymentSummaryStatus = | 'authorized' | 'canceled' | 'declined' | 'expired' | 'failed' | 'pending' | 'processed' | 'reversed' | 'review' | 'succeeded'; type PaymentSummaryType = | 'authorization' | 'capture' | 'refund' | 'reversal' | 'credit'; type PaymentTerm = 'net7' | 'net15' | 'net30'; type PendingRecordType = 'verification' | 'classification' | 'restriction'; type PreferredBillingSchedule = 'monthly' | 'bi-monthly'; type PreonboardingClassificationDecision = 'Accept' | 'Reject'; type PreonboardingClassificationPlatform = 'FlowOnboarding'; type PreonboardingClassificationType = 'None' | 'Manual' | 'ML' | 'System'; type PreonboardingRequestStatus = | 'pending' | 'completed' | 'failed' | 'discarded'; type PriceSelector = 'minimum' | 'maximum'; type ProcessingTransactionType = | 'adjustment' | 'reversal' | 'capture' | 'refund' | 'fully_subsidized_order' | 'credit_payment' | 'credit_refund'; type Processor = | 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto'; type ProcessorEntityStatus = 'active' | 'draft' | 'archived'; type ProductStatus = 'active' | 'archived' | 'draft' | 'unlisted'; type PvDecision = 'uphold' | 'remove'; type RateLevelKey = | 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa'; type RateSource = 'calculated' | 'market'; type RaveenaItemType = 'physical' | 'digital'; type RedirectReason = 'three_d_secure'; type RefundTransactionPaymentType = 'globale' | 'third_party' | 'credit'; type RejectionReason = | 'merchant_policy' | 'previous_chargebacks' | 'restricted_party_screening' | 'risky_velocity' | 'suspicious_behavior' | 'suspicious_past_activity'; type RemediateTaxDutyArm = 'non_lvg' | 'lvg_full_refund'; type ReportFileStatus = 'processing' | 'failed' | 'succeeded'; type ReportFileType = 'stripe_connect_report'; type ReportInterval = 'hourly' | 'daily' | 'weekly' | 'monthly'; type ReportPaymentType = 'credit' | 'debit'; type ReportStatus = | 'created' | 'completed' | 'completed_no_records' | 'failed'; type ReportType = | 'sales_record' | 'refund_record' | 'other_record' | 'pending_record' | 'trueup_overview' | 'non_channel_payment_bank_account' | 'scheduled_payment' | 'scheduled_payment_citi' | 'scheduled_payment_citi_krw' | 'scheduled_payment_citi_krw_txt' | 'scheduled_payment_citi_uk_xml' | 'account_quarterly_balances' | 'invariants' | 'payments' | 'reconcile_not_recorded' | 'products_record' | 'disputes' | 'sales_payments_record'; type ReportingFulfillmentIsVirtual = 'all' | 'mixed' | 'none'; type ReportingScheme = | 'immediate_reporting_to_tax_authority' | 'periodic_reporting_to_tax_authority' | 'paid_at_border' | 'paid_on_delivery'; type RequestedBankPaymentStatusCode = 'processed' | 'failed'; type ResponsibleParty = 'flow' | 'organization'; type RestrictionAction = 'prohibited' | 'restricted'; type RestrictionAttributeConditionMultipleOperator = 'in' | 'not_in'; type RestrictionAttributeConditionSingleOperator = 'equals' | 'not_equals'; type RestrictionAttributeOperator = 'and' | 'or'; type RestrictionAttributeResult = | 'pending_classification' | 'pending_verification' | 'accepted' | 'restricted'; type RestrictionDecision = 'accept' | 'escalate' | 'reject' | 'review'; type RestrictionOrganizationChannel = | 'shopify' | 'enterprise' | 'shopify-sandbox' | 'enterprise-sandbox' | 'enterprise-qa' | 'globale' | 'globale-sandbox' | 'cafe24' | 'cafe24-sandbox'; type RestrictionOrganizationSource = 'smb' | 'enterprise'; type RestrictionRuleActivationStatus = | 'draft' | 'active' | 'inactive' | 'deactivated'; type RestrictionRuleCommunityExemption = | 'domestic_exemption' | 'intra_eu_exemption'; type RestrictionRuleEvaluationMode = | 'all_screenings' | 'first_screening_only'; type RestrictionRuleExceptionAction = 'allow' | 'deny'; type RestrictionRuleReviewLane = | 'pending_verification' | 'pending_restriction'; type RestrictionStateReviewStatus = 'reviewed' | 'in_review'; type RestrictionStatus = | 'pending' | 'in_review' | 'escalated' | 'accepted' | 'restricted'; type RevenueRecordType = 'pending' | 'sales' | 'refund'; type RiskCheck = 'three_d_secure'; type RiskEvaluation = | 'Pending' | 'High-Risk' | 'Low-Risk' | 'Restricted-Party' | 'none'; type SellabilityCheckStatus = | 'more_restrictive' | 'less_restrictive' | 'similar' | 'regions_differ' | 'rules_differ'; type SellabilityDecisionSource = | 'fast_screen_sellable' | 'fast_screen_restricted_everywhere' | 'fast_screen_hs_chapter_exception' | 'fast_screen_active_mode' | 'unserviceable_taxonomy' | 'insufficient_details' | 'pending_classification' | 'pending_agent_review' | 'screen_failed' | 'classification' | 'agent_review' | 'staging_dropped'; type SellabilityInternalMatchType = | 'positive_keyword' | 'auto_restricted' | 'sellability_auto_restricted' | 'sellability_scoped_criterion'; type SellabilityRuleScreeningState = | 'no_match' | 'positive_keyword' | 'keyword_cancelled' | 'auto_review_restricted' | 'auto_review_accepted' | 'sellability_auto_review_restricted' | 'sellability_auto_review_accepted' | 'sellability_positive_keyword' | 'below_value_threshold'; type SellabilityStatus = 'complete' | 'incomplete'; type ShopifyCallbackErrorCode = | 'UNKNOWN' | 'SYSTEM_ERROR' | 'THIRD_PARTY_SYSTEM_ERROR' | 'TIMEOUT' | 'VERSION_MISMATCH' | 'INVALID_AUTHENTICATION' | 'RATE_LIMIT_EXCEEDED' | 'TEMPORARILY_UNAVAILABLE' | 'FAILED_VALIDATION' | 'INVALID_FORMAT' | 'MISSING_VALUE' | 'OUT_OF_RANGE' | 'OVER_LIMIT' | 'UNDER_LIMIT' | 'UNAUTHORIZED' | 'NOT_FOUND' | 'EXPIRED'; type ShopifyChargeCode = | 'transport_cost' | 'above_threshold' | 'additional_handling' | 'customs_additional_fees' | 'customs_clearance' | 'customs_duties' | 'customs_regulatory_fee' | 'customs_duty' | 'customs_taxes' | 'dangerous_goods' | 'delivery_area_surcharge' | 'duties_fx_surcharge' | 'discount' | 'eei_filing' | 'elevated_risk_area_surcharge' | 'emergency_situation_surcharge' | 'environmental_surcharge' | 'fuel_surcharge' | 'oversize_piece_surcharge' | 'packaging' | 'pickup_area_surcharge' | 'peak_surcharge' | 'remote_delivery_area_surcharge' | 'residential_surcharge' | 'security_surcharge' | 'shipper_intercept' | 'address_correction' | 'undeliverable' | 'unknown' | 'prohibited_item' | 'trade_restriction_surcharge' | 'processing' | 'delivery' | 'notification' | 'broker_notification' | 'delivery_confirmation' | 'signature_required' | 'tax_gst' | 'tax_hst' | 'tax_pst' | 'tax_vat' | 'discount_tax' | 'incoterm_ddp'; type ShopifyDeliveryMethodType = 'SHIPPING' | 'PICKUP_POINT'; type ShopifyDimensionUnit = 'cm' | 'ft' | 'in' | 'm' | 'mm'; type ShopifyIncoterm = 'DAP' | 'DDP'; type ShopifyIncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED'; type ShopifyMarketsDangerousGoods = | 'aerosols' | 'air_bag_inflators_or_seat_belt_pretensioners' | 'alcoholic_beverages_containing_more_than_24_percent_alcohol_by_volume' | 'batteries' | 'carbon_dioxide_or_dry_ice' | 'corrosives' | 'cannabidiol_products' | 'cologne_or_perfume' | 'currency_or_gift_cards_or_monetary_instruments' | 'exotic_leather_goods' | 'environmental_waste' | 'explosives_or_ammunition' | 'flammable_liquids' | 'gases' | 'hazardous_or_combustible_materials' | 'infectious_or_biological_substances' | 'knives' | 'matches_or_lighter_or_lighter_refills' | 'nail_polish' | 'oxidizing_materials_or_organic_peroxides' | 'pornography' | 'prohibited_carriage' | 'pesticides_or_toxic_herbicides_or_insecticides_or_poisonous_toxic_substances'; type ShopifyMarketsHtsNumberAvailable = 'yes' | 'no' | 'i_dont_know'; type ShopifyMarketsQueuedRecordType = | 'card_payment' | 'flow_shop' | 'online_payment' | 'order_update' | 'order_edit' | 'product_sync' | 'webhook_registrations' | 'channel_organization_identifier' | 'bulk_product_ingestion' | 'bulk_duty_update'; type ShopifyMarketsTradeSector = | 'apparel_and_accessories' | 'beauty_and_cosmetics' | 'electronics' | 'food_or_perishables' | 'jewellery_and_watches' | 'paper_and_art' | 'sports_and_fitness' | 'toys_hobbies_gifts' | 'other'; type ShopifyMonitoringMonitorReviewStatus = 'in_review' | 'reviewed'; type ShopifyMonitoringTrackingField = | 'tracking_number' | 'carrier_service' | 'tracking_url'; type ShopifyPackageType = | 'BOX' | 'ENVELOPE' | 'SOFT_PACK' | 'TUBE' | 'CARRIER_PACKAGING'; type ShopifyPlanType = 'standard' | 'shopify_plus'; type ShopifyService = 'payment' | 'duty_tax_calculator' | 'sellability'; type ShopifyShipmentOptionCode = | 'adult_signature_required' | 'delivery_confirmation' | 'insurance' | 'named_person_only' | 'no_neighbour_delivery' | 'pickup' | 'package_pickup' | 'signature_required' | 'proof_of_age' | 'proof_of_age_16' | 'proof_of_age_18' | 'proof_of_age_19' | 'proof_of_age_21' | 'incoterm_ddp' | 'incoterm_dap' | 'usps_first_mile'; type ShopifyUnavailableRateReasonCode = | 'SERVICE_NOT_AVAILABLE' | 'TEMPORARILY_UNAVAILABLE' | 'TIMEOUT' | 'RATE_LIMIT_EXCEEDED' | 'SYSTEM_ERROR' | 'THIRD_PARTY_SYSTEM_ERROR' | 'FAILED_VALIDATION' | 'INVALID_FORMAT' | 'MISSING_VALUE' | 'OUT_OF_RANGE'; type ShopifyWeightUnit = 'g' | 'kg' | 'lb' | 'oz'; type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision'; type SnoozeNextActionWith = 'customer_service' | 'engineering'; type SnoozeSourceType = 'task' | 'invariant'; type SourceTypeFilter = 'organization' | 'channel'; type StatementTransferTransactionLocation = 'transactions_file' | 'summary'; type StatisticType = | 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness'; type SubscriptionFrequency = 'yearly' | 'monthly'; type SuggestionAction = 'accept' | 'validate' | 'review'; type TariffEligibilityType = 'rex'; type TaskProcessorKey = | 'order_messenger' | 'harmonization' | 'fraud_review' | 'carrier_account' | 'payment' | 'rate_levels' | 'center_defaults' | 'item_dimensions' | 'center'; type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier'; type TaxTransactionType = 'adjustment' | 'reversal' | 'tax' | 'refund'; type TaxonomyCategoryClassificationAlignment = | 'aligned' | 'not_aligned' | 'product_missing_category' | 'config_missing_category' | 'product_not_found'; type TrackingIntegrationType = 'api' | 'bulk' | 'aftership'; type TrackingLabelDimensionsSource = 'aftership' | 'carrier_api'; type TrackingProcessingFailureClassification = | 'tracking_expired' | 'expired_tracking_number_new_event' | 'new_tracking_number_expired_event' | 'origin_mismatch' | 'destination_mismatch' | 'other'; type TransactionPostingMethod = 'time' | 'proof'; type TransferMethod = 'ach'; type TrueupTransactionType = 'adjustment' | 'reversal' | 'trueup'; type UnclassifiedProductStatus = | 'ignored' | 'escalated' | 'requeued' | 'unverified' | 'queued' | 'unconfident'; } declare namespace io.flow.internal.v0.models { interface Acceptance { readonly accepted_by: io.flow.common.v0.models.UserReference; readonly accepted_at: string; } interface AccountContact { readonly id: string; readonly email: string; readonly first_name?: string; readonly last_name?: string; readonly phone?: string; readonly account?: io.flow.internal.v0.models.SimpleAccountReference; } interface AccountContactDeleted { readonly discriminator: 'account_contact_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface AccountContactForm { readonly email: string; readonly first_name?: string; readonly last_name?: string; readonly phone?: string; } interface AccountContactUpserted { readonly discriminator: 'account_contact_upserted'; readonly event_id: string; readonly timestamp: string; readonly account_contact: io.flow.internal.v0.models.AccountContact; } interface AccountDeletedV2 { readonly discriminator: 'account_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface AccountDepositRule { readonly target: number; readonly rate: number; } interface AccountDepositRuleForm { readonly target: number; readonly rate: number; } interface AccountOrdersExportRequest { readonly discriminator: 'account_orders_export_request'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly export_id: string; readonly account_id?: string; readonly statement_id?: string; readonly transaction_type?: io.flow.internal.v0.enums.BillingTransactionType; readonly transaction_status?: io.flow.internal.v0.enums.BillingTransactionStatus; readonly transaction_posted_from?: string; readonly transaction_posted_to?: string; readonly transaction_posted_on_or_after?: string; readonly transaction_posted_after?: string; readonly transaction_posted_on_or_before?: string; readonly transaction_posted_before?: string; readonly transaction_created_from?: string; readonly transaction_created_to?: string; readonly transaction_created_on_or_after?: string; readonly transaction_created_after?: string; readonly transaction_created_on_or_before?: string; readonly transaction_created_before?: string; } interface AccountOrigin { readonly country: string; } interface AccountPaymentHold { readonly id: string; readonly account: io.flow.internal.v0.models.SimpleAccountReference; readonly reason: io.flow.internal.v0.enums.AccountPaymentHoldReason; } interface AccountPaymentHoldDeleted { readonly discriminator: 'account_payment_hold_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface AccountPaymentHoldForm { readonly account_id: string; readonly reason: io.flow.internal.v0.enums.AccountPaymentHoldReason; } interface AccountPaymentHoldUpserted { readonly discriminator: 'account_payment_hold_upserted'; readonly event_id: string; readonly timestamp: string; readonly account_payment_hold: io.flow.internal.v0.models.AccountPaymentHold; } interface AccountProcessingRateForm { readonly query: string; readonly capture: number; readonly refund: number; readonly fraud: number; } interface AccountProcessingRates { readonly id: string; readonly query: string; readonly capture: number; readonly refund: number; readonly fraud: number; readonly position: number; } interface AccountProcessingRatesDeleted { readonly discriminator: 'account_processing_rates_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface AccountProcessingRatesForm { readonly processing_rates: io.flow.internal.v0.models.AccountProcessingRateForm[]; } interface AccountProcessingRatesUpserted { readonly discriminator: 'account_processing_rates_upserted'; readonly event_id: string; readonly timestamp: string; readonly rates: io.flow.internal.v0.models.AccountProcessingRates; } interface AccountReference { readonly id: string; } interface AccountSettingLabelFees { readonly flow?: io.flow.internal.v0.models.TieredFee; readonly organization?: io.flow.internal.v0.models.TieredFee; } interface AccountSettings { readonly id: string; readonly days_until_posted: number; readonly logistics: io.flow.internal.v0.enums.ResponsibleParty; readonly include_transaction_created_at: boolean; readonly include_order_exchange_rate: boolean; readonly send_statements_to_flow_ftp_server: boolean; readonly invoicing_terms?: io.flow.internal.v0.enums.PaymentTerm; readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod; readonly b2b_tax_remittance_days?: number; readonly merchant_of_record_fee?: number; readonly merchant_of_record_fee_create_on_order?: boolean; readonly duty_guarantee_fee?: number; readonly transfer_fee?: number; readonly negative_balance_fee?: number; readonly order_service_fee?: io.flow.internal.v0.models.TieredFee; readonly label_fees?: io.flow.internal.v0.models.AccountSettingLabelFees; readonly revenue_share_rate?: number; readonly charge_label_cost_directly: boolean; readonly transaction_posting_method: io.flow.internal.v0.enums.TransactionPostingMethod; readonly statement_transfer_transaction_location: io.flow.internal.v0.enums.StatementTransferTransactionLocation; readonly fees_source: io.flow.internal.v0.enums.FeesSource; readonly require_payment_request: boolean; readonly round_individual_transactions: boolean; readonly liabilities_method: io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod; readonly enable_fee_reversals: boolean; readonly record_reason_for_transactions_pending_payout: boolean; readonly enable_negative_debits: boolean; readonly enable_statement_pdf: boolean; readonly enable_shipping_label_revenue_share?: boolean; readonly enable_carrier_charge_revenue_share?: boolean; readonly always_charge_organization_for_trueup?: boolean; } interface AccountSettingsDeleted { readonly discriminator: 'account_settings_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface AccountSettingsUpserted { readonly discriminator: 'account_settings_upserted'; readonly event_id: string; readonly timestamp: string; readonly settings: io.flow.internal.v0.models.AccountSettings; } interface AccountSource { readonly id: string; readonly type: io.flow.internal.v0.enums.AccountType; } interface AccountStatistics { readonly transfers: io.flow.common.v0.models.Price; readonly balance: io.flow.common.v0.models.Price; readonly pending: io.flow.common.v0.models.Price; readonly additional_balances?: io.flow.internal.v0.models.AccountStatisticsAdditionalBalances; } interface AccountStatisticsAdditionalBalances { readonly on_hold: io.flow.common.v0.models.Price; } interface AccountSummary { readonly id: string; readonly currency: string; readonly source: io.flow.internal.v0.models.AccountSource; } interface AccountTransactionsExportRequest { readonly discriminator: 'account_transactions_export_request'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly export_id: string; readonly account_id?: string; readonly statement_id?: string; readonly status?: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_from?: string; readonly posted_to?: string; readonly posted_on_or_after?: string; readonly posted_after?: string; readonly posted_on_or_before?: string; readonly posted_before?: string; readonly created_from?: string; readonly created_to?: string; readonly created_on_or_after?: string; readonly created_after?: string; readonly created_on_or_before?: string; readonly created_before?: string; } interface AccountUpserted { readonly discriminator: 'account_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly account: io.flow.internal.v0.models.OrganizationAccount; } interface AccountUpsertedV2 { readonly discriminator: 'account_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly account: io.flow.internal.v0.models.FlowAccount; } interface AccountingPendingOrderMetadata { readonly discriminator: 'accounting_pending_order_metadata'; readonly order: io.flow.internal.v0.models.OrderReference; readonly fulfillment_id: string; } interface AccountingReturnMetadata { readonly discriminator: 'accounting_return_metadata'; readonly transactions_until: string; readonly refund?: io.flow.payment.v0.models.RefundReference; readonly tax_reversal?: io.flow.internal.v0.models.TransactionReference; readonly duty_reversal?: io.flow.internal.v0.models.TransactionReference; readonly flat_rate_reversal?: io.flow.internal.v0.models.TransactionReference; readonly flat_rate_subsidy_reversal?: io.flow.internal.v0.models.TransactionReference; } interface ActionQuantity { readonly action: io.flow.internal.v0.enums.ItemQuantityAction; readonly quantity: number; } interface AdditionalImportTax { readonly name?: string; readonly additional_import_tax_value?: io.flow.common.v0.models.Money; readonly rate?: number; } interface AdjustmentAmountFixed { readonly discriminator: 'fixed'; readonly amount: io.flow.common.v0.models.Money; } interface AdjustmentAmountPercentage { readonly discriminator: 'percentage'; readonly percentage: number; } interface AdjustmentDetailsAmountFixed { readonly amount: io.flow.common.v0.models.Money; } interface AdjustmentDetailsAmountPercentage { readonly percentage: number; } interface AdjustmentDetailsProcessingTransaction { readonly discriminator: 'processing_transaction'; readonly withholdings?: io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionWithholding[]; readonly fees?: io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionFee[]; } interface AdjustmentDetailsProcessingTransactionFee { readonly type: io.flow.billing.v0.enums.FeeDeductionType; readonly amount: io.flow.internal.v0.unions.AdjustmentAmount; } interface AdjustmentDetailsProcessingTransactionWithholding { readonly type: io.flow.billing.v0.enums.WithholdingDeductionType; readonly amount: io.flow.internal.v0.unions.AdjustmentAmount; } interface AdyenAccount { readonly discriminator: 'adyen_account'; readonly id: string; readonly organization_id: string; readonly key: string; readonly owner: io.flow.internal.v0.enums.Owner; readonly name: string; readonly ui_reference: string; readonly authentication: io.flow.internal.v0.models.AdyenAuthentication; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface AdyenAccountModificationForm { readonly discriminator: 'adyen_account_modification_form'; readonly owner: io.flow.internal.v0.enums.Owner; readonly name: string; readonly ui_reference: string; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface AdyenAccountPutForm { readonly discriminator: 'adyen_account_put_form'; readonly owner?: io.flow.internal.v0.enums.Owner; readonly name: string; readonly ui_reference: string; readonly authentication: io.flow.internal.v0.models.AdyenAuthenticationForm; readonly country: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface AdyenAuthentication { readonly username: string; readonly password_reference: string; readonly signature_secret_reference: string; } interface AdyenAuthenticationDataReference { readonly account_id: string; readonly merchant_account: string; readonly origin_key?: string; readonly integration_type?: io.flow.internal.v0.enums.AdyenIntegrationType; } interface AdyenAuthenticationForm { readonly username: string; readonly password: string; readonly signature_secret: string; } interface AdyenAuthorizationDeleted { readonly discriminator: 'adyen_authorization_deleted'; readonly event_id: string; readonly timestamp: string; readonly authorization: io.flow.internal.v0.models.AdyenInternalAuthorization; } interface AdyenAuthorizationUpserted { readonly discriminator: 'adyen_authorization_upserted'; readonly event_id: string; readonly timestamp: string; readonly authorization: io.flow.internal.v0.models.AdyenInternalAuthorization; } interface AdyenCancelDeleted { readonly discriminator: 'adyen_cancel_deleted'; readonly event_id: string; readonly timestamp: string; readonly cancel: io.flow.internal.v0.models.AdyenInternalCancel; } interface AdyenCancelUpserted { readonly discriminator: 'adyen_cancel_upserted'; readonly event_id: string; readonly timestamp: string; readonly cancel: io.flow.internal.v0.models.AdyenInternalCancel; } interface AdyenCaptureDeleted { readonly discriminator: 'adyen_capture_deleted'; readonly event_id: string; readonly timestamp: string; readonly capture: io.flow.internal.v0.models.AdyenInternalCapture; } interface AdyenCaptureUpserted { readonly discriminator: 'adyen_capture_upserted'; readonly event_id: string; readonly timestamp: string; readonly capture: io.flow.internal.v0.models.AdyenInternalCapture; } interface AdyenDisputeDeleted { readonly discriminator: 'adyen_dispute_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface AdyenDisputeUpserted { readonly discriminator: 'adyen_dispute_upserted'; readonly event_id: string; readonly timestamp: string; readonly dispute: io.flow.internal.v0.models.AdyenInternalDispute; } interface AdyenInternalAuthorization { readonly id: string; readonly flow_authorization_id: string; readonly merchant_account: string; readonly request?: any /*object*/; readonly psp_reference?: string; readonly result_code: string; readonly auth_code?: string; readonly refusal_reason?: string; readonly cvc_result?: number; readonly avs_result?: number; readonly payment_amount?: number; readonly payment_currency?: string; readonly skin_code?: string; readonly session_validity?: string; readonly brand_code?: string; readonly issuer_id?: string; readonly post_payment_success_redirect_url?: string; readonly post_payment_failure_redirect_url?: string; readonly payment_redirect_url?: string; } interface AdyenInternalCancel { readonly id: string; readonly flow_authorization_id: string; readonly flow_reversal_id?: string; readonly merchant_account: string; readonly request: any /*object*/; readonly psp_reference: string; readonly response: string; } interface AdyenInternalCapture { readonly id: string; readonly flow_capture_id: string; readonly merchant_account: string; readonly request?: any /*object*/; readonly psp_reference: string; readonly response: string; } interface AdyenInternalDispute { readonly id: string; readonly amount: number; readonly currency: string; readonly psp_reference: string; readonly original_reference?: string; readonly event_code: string; readonly event_date: string; readonly chargeback_reason_code?: string; readonly modification_merchant_references?: string; readonly chargeback_scheme_code?: string; readonly defense_period_ends_at?: string; readonly dispute_status?: string; readonly defendable?: string; readonly merchant_account_code: string; readonly operations?: string[]; readonly merchant_reference: string; readonly payment_method?: string; readonly reason?: string; readonly success: string; readonly livemode: boolean; readonly updated_by_user_id: string; readonly created_at: string; readonly updated_at: string; } interface AdyenInternalRefund { readonly id: string; readonly flow_refund_id: string; readonly merchant_account: string; readonly request?: any /*object*/; readonly psp_reference: string; readonly response: string; } interface AdyenMerchant { readonly discriminator: 'adyen_merchant'; readonly id: string; readonly key: string; readonly organization_id: string; readonly external_id: string; readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface AdyenMerchantAccount { readonly id: string; readonly accountId: string; readonly organization_id: string; readonly merchant_account: string; } interface AdyenMerchantAccountDeleted { readonly discriminator: 'adyen_merchant_account_deleted'; readonly event_id: string; readonly timestamp: string; readonly adyen_merchant_account: io.flow.internal.v0.models.AdyenMerchantAccount; } interface AdyenMerchantAccountUpserted { readonly discriminator: 'adyen_merchant_account_upserted'; readonly event_id: string; readonly timestamp: string; readonly adyen_merchant_account: io.flow.internal.v0.models.AdyenMerchantAccount; } interface AdyenMerchantModificationForm { readonly discriminator: 'adyen_merchant_modification_form'; readonly external_id: string; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface AdyenMerchantPutForm { readonly discriminator: 'adyen_merchant_put_form'; readonly organization_id: string; readonly external_id: string; readonly country: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface AdyenPaymentDetailsForm { readonly fingerprint?: string; readonly challenge_result?: string; } interface AdyenRefundDeleted { readonly discriminator: 'adyen_refund_deleted'; readonly event_id: string; readonly timestamp: string; readonly refund: io.flow.internal.v0.models.AdyenInternalRefund; } interface AdyenRefundForm { readonly discriminator: 'adyen_refund_form'; readonly amount: number; readonly authorization_id: string; readonly capture_id: string; readonly currency: string; readonly psp_reference: string; readonly key?: string; } interface AdyenRefundUpserted { readonly discriminator: 'adyen_refund_upserted'; readonly event_id: string; readonly timestamp: string; readonly refund: io.flow.internal.v0.models.AdyenInternalRefund; } interface AfterpayAccount { readonly discriminator: 'afterpay_account'; readonly id: string; readonly organization_id: string; readonly key: string; readonly owner: io.flow.internal.v0.enums.Owner; readonly country: string; readonly authentication: io.flow.internal.v0.models.AfterpayAuthentication; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface AfterpayAccountModificationForm { readonly discriminator: 'afterpay_account_modification_form'; readonly owner: io.flow.internal.v0.enums.Owner; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface AfterpayAccountPutForm { readonly discriminator: 'afterpay_account_put_form'; readonly owner?: io.flow.internal.v0.enums.Owner; readonly country: string; readonly authentication: io.flow.internal.v0.models.AfterpayAuthenticationForm; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface AfterpayAuthentication { readonly username: string; readonly password_reference: string; } interface AfterpayAuthenticationDataReference { readonly account_id: string; } interface AfterpayAuthenticationForm { readonly username: string; readonly password: string; } interface AfterpayAuthorization { readonly id: string; readonly flow_authorization_id: string; readonly request: any /*object*/; readonly post_payment_success_redirect_url?: string; readonly post_payment_failure_redirect_url?: string; readonly payment_redirect_url?: string; readonly token?: string; readonly token_expiration?: string; readonly result_code?: string; } interface AfterpayAuthorizationDeleted { readonly discriminator: 'afterpay_authorization_deleted'; readonly event_id: string; readonly timestamp: string; readonly afterpay_authorization: io.flow.internal.v0.models.AfterpayAuthorization; } interface AfterpayAuthorizationUpserted { readonly discriminator: 'afterpay_authorization_upserted'; readonly event_id: string; readonly timestamp: string; readonly afterpay_authorization: io.flow.internal.v0.models.AfterpayAuthorization; } interface AfterpayCapture { readonly id: string; readonly afterpay_id: string; readonly flow_capture_id: string; readonly order_status: string; readonly total_amount: number; readonly total_amount_currency: string; readonly merchant_reference: string; readonly events: any /*object*/[]; readonly order_details: any /*object*/; } interface AfterpayCaptureDeleted { readonly discriminator: 'afterpay_capture_deleted'; readonly event_id: string; readonly timestamp: string; readonly afterpay_capture: io.flow.internal.v0.models.AfterpayCapture; } interface AfterpayCaptureUpserted { readonly discriminator: 'afterpay_capture_upserted'; readonly event_id: string; readonly timestamp: string; readonly afterpay_capture: io.flow.internal.v0.models.AfterpayCapture; } interface AfterpayRefund { readonly id: string; readonly flow_refund_id: string; readonly amount: number; readonly currency: string; readonly request: any /*object*/; readonly afterpay_refund_id?: string; readonly refunded_at?: string; readonly request_id?: string; readonly merchant_reference?: string; readonly response?: any /*object*/; } interface AfterpayRefundDeleted { readonly discriminator: 'afterpay_refund_deleted'; readonly event_id: string; readonly timestamp: string; readonly afterpay_refund: io.flow.internal.v0.models.AfterpayRefund; } interface AfterpayRefundUpserted { readonly discriminator: 'afterpay_refund_upserted'; readonly event_id: string; readonly timestamp: string; readonly afterpay_refund: io.flow.internal.v0.models.AfterpayRefund; } interface AftershipWebhook { readonly placeholder?: boolean; } interface AgentReviewDecision { readonly id: string; readonly decision_id: string; readonly organization_id: string; readonly review_type: io.flow.internal.v0.enums.AiReviewType; readonly rule_id?: string; readonly ai_model: string; readonly prompt_id: string; readonly prompt_version: string; readonly ai_decision: io.flow.internal.v0.enums.PvDecision; readonly ai_confidence: number; readonly confidence_threshold: number; readonly ai_reasoning: string; readonly request_context?: any /*json*/; readonly reviewed_at: string; readonly applied_at?: string; } interface AgentReviewDecisionDeleted { readonly discriminator: 'agent_review_decision_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface AgentReviewDecisionUpserted { readonly discriminator: 'agent_review_decision_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly agent_review_decision: io.flow.internal.v0.models.AgentReviewDecision; } interface AgentReviewDetail { readonly decision_id: string; readonly ai_model: string; readonly ai_decision: string; readonly ai_confidence: number; readonly ai_reasoning: string; readonly reviewed_at: string; } interface AiReviewBatchSubmitted { readonly discriminator: 'ai_review_batch_submitted'; readonly event_id: string; readonly timestamp: string; readonly consumer: io.flow.internal.v0.enums.AiReviewConsumer; readonly items: io.flow.internal.v0.models.ReviewRequestItem[]; } interface AiReviewFailedItem { readonly review_id: string; readonly organization_id: string; } interface AiReviewRequestFailed { readonly discriminator: 'ai_review_request_failed'; readonly event_id: string; readonly timestamp: string; readonly consumer: io.flow.internal.v0.enums.AiReviewConsumer; readonly review_type: io.flow.internal.v0.enums.AiReviewType; readonly reason: io.flow.internal.v0.enums.AiReviewFailureReason; readonly items: io.flow.internal.v0.models.AiReviewFailedItem[]; } interface AiReviewResult { readonly review_id: string; readonly organization_id: string; readonly consumer: io.flow.internal.v0.enums.AiReviewConsumer; readonly review_type: io.flow.internal.v0.enums.AiReviewType; readonly ai_output: io.flow.internal.v0.unions.AiOutput; readonly ai_model: string; readonly prompt_id: string; readonly prompt_version: string; } interface AiReviewResultDeleted { readonly discriminator: 'ai_review_result_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; readonly organization: string; } interface AiReviewResultUpserted { readonly discriminator: 'ai_review_result_upserted'; readonly event_id: string; readonly timestamp: string; readonly ai_review_result: io.flow.internal.v0.models.AiReviewResult; } interface AllItemsExport { readonly discriminator: 'all_items_export'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly export_id: string; } interface AllocationItemReference { readonly number: string; } interface AllowedLabels { readonly name: string; readonly labels: Record; } interface AmruthaItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.AmruthaItemType; readonly added_on: string; } interface AmruthaItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.AmruthaItemType; readonly added_on: string; } interface ApplePayAuthorizationPayload { readonly discriminator: 'apple_pay_authorization_payload'; readonly apple_pay_token: string; } interface ApplyAtValueForm { readonly value: string; } interface AttemptStatistics { readonly merchant_count: number; readonly amount: number; readonly failed_merchant_count: number; readonly failed_amount: number; readonly success_ratio: number; } interface AttributeLabel { readonly value: string; readonly unverified: boolean; } interface AttributeRule { readonly restriction_attribute_rules: io.flow.internal.v0.models.RestrictionAttributeRule[]; readonly default_result?: io.flow.internal.v0.enums.RestrictionAttributeResult; readonly require_msds?: boolean; } interface AuthenticationForm { readonly password: string; } interface AuthorizationBundle { readonly id: string; readonly organization_id: string; readonly authorization_reference: io.flow.payment.v0.models.AuthorizationReference; readonly payment_request_reference: io.flow.payment.gateway.v0.models.PaymentRequestReference; readonly billing?: io.flow.payment.request.bundle.v0.models.PaymentRequestBilling; } interface AuthorizationBundleDeleted { readonly discriminator: 'authorization_bundle_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface AuthorizationBundleUpserted { readonly discriminator: 'authorization_bundle_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly authorization_bundle: io.flow.internal.v0.models.AuthorizationBundle; } interface AuthorizationMetadata { readonly limit?: number; } interface AuthorizationParameters { readonly method: string; readonly parameters: any /*object*/; } interface AuthorizationParametersForm { readonly order_number: string; readonly amount: number; readonly currency: string; readonly billing_address?: io.flow.common.v0.models.BillingAddress; readonly ip?: string; readonly origin_url?: string; } interface AuthorizedChargeStatus { readonly line_item_charges: io.flow.internal.v0.models.AuthorizedLineItemCharge[]; readonly order_charges: io.flow.internal.v0.unions.AuthorizedOrderCharge[]; readonly authorized: io.flow.common.v0.models.PriceWithBase; readonly captured: io.flow.common.v0.models.PriceWithBase; readonly cancelled: io.flow.common.v0.models.PriceWithBase; readonly refunded: io.flow.common.v0.models.PriceWithBase; } interface AuthorizedLineItemCharge { readonly item: io.flow.common.v0.models.CatalogItemReference; readonly line_number?: number; readonly price: io.flow.common.v0.models.PriceWithBase; readonly taxes: io.flow.common.v0.models.PriceWithBase; readonly duties: io.flow.common.v0.models.PriceWithBase; } interface AuthorizedShippingCharge { readonly discriminator: 'authorized_shipping_charge'; readonly price: io.flow.common.v0.models.PriceWithBase; readonly charge_trigger: io.flow.internal.v0.enums.OrderChargeTrigger; } interface AutoAcceptKeywordCancelling { readonly accept_keyword: string; readonly negative_keywords: string[]; } interface AutoReviewCriteria { readonly hs_code?: string; readonly keywords?: string[]; readonly action?: io.flow.internal.v0.enums.RestrictionStatus; readonly shipping_origin_countries?: string[]; readonly disqualifying_keywords?: string[]; } interface AverageOrderValue { readonly id: string; readonly channel_id: string; readonly organization_id: string; readonly amount: io.flow.common.v0.models.Money; readonly updated_at: number; readonly run_id: string; readonly model_version: string; readonly model_diagnostics?: string; } interface AverageOrderValueDeleted { readonly discriminator: 'average_order_value_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly id: string; } interface AverageOrderValueUpserted { readonly discriminator: 'average_order_value_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly average_order_value: io.flow.internal.v0.models.AverageOrderValue; } interface B2BFeeMorTaxTriggerMetadata { readonly discriminator: 'b2b_fee_mor_tax_trigger_metadata'; readonly trigger_type: io.flow.internal.v0.enums.B2BFeeMorTaxTriggerType; } interface B2BFeeShippingTaxTriggerMetadata { readonly discriminator: 'b2b_fee_shipping_tax_trigger_metadata'; readonly trigger_type: io.flow.internal.v0.enums.B2BFeeShippingTaxTriggerType; } interface B2BTaxLedger { readonly id: string; readonly total_amount: io.flow.internal.v0.models.TaxTypeTotal; readonly tax_amount: io.flow.common.v0.models.Money; readonly tax_type: io.flow.consumer.invoice.v0.enums.TaxType; readonly tax_rate: number; readonly tax_rate_type: io.flow.internal.v0.enums.B2BTaxRateType; readonly organization_id: string; readonly organization_country: string; readonly organization_province?: string; readonly mor_tax_number: string; readonly mor_country: string; readonly mor_province?: string; readonly document_id: string; readonly document_type: io.flow.internal.v0.enums.B2BTaxLedgerDocumentType; readonly document_date: string; readonly ledger_report_id?: string; readonly voids_invoice_number?: string; readonly document_number?: string; } interface B2BTaxLedgerForm { readonly total_amount: io.flow.internal.v0.models.TaxTypeTotal; readonly tax_amount: io.flow.common.v0.models.Money; readonly tax_type: io.flow.consumer.invoice.v0.enums.TaxType; readonly tax_rate: number; readonly tax_rate_type: io.flow.internal.v0.enums.B2BTaxRateType; readonly organization_id: string; readonly organization_country: string; readonly organization_province?: string; readonly mor_tax_number: string; readonly mor_country: string; readonly mor_province?: string; readonly document_id: string; readonly document_type: io.flow.internal.v0.enums.B2BTaxLedgerDocumentType; readonly document_date: string; readonly ledger_report_id?: string; readonly voids_invoice_number?: string; readonly document_number?: string; } interface B2BTaxTransaction { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly transaction_source_id: string; readonly transaction_type: io.flow.internal.v0.enums.B2BTaxLedgerDocumentType; readonly transaction_date: string; readonly currency: string; readonly buyer: io.flow.common.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.common.v0.models.MerchantOfRecordEntity; readonly taxable_items: io.flow.internal.v0.models.B2BTransactionTaxableItem[]; readonly taxable_amount_total: io.flow.common.v0.models.Money; readonly tax_total: io.flow.common.v0.models.Money; readonly total: io.flow.common.v0.models.Money; readonly document_number?: string; } interface B2BTaxTransactionDeleted { readonly discriminator: 'b2b_tax_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface B2BTaxTransactionUpserted { readonly discriminator: 'b2b_tax_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly b2b_tax_transaction: io.flow.internal.v0.models.B2BTaxTransaction; } interface B2BTransactionTaxLine { readonly tax_type: io.flow.consumer.invoice.v0.enums.TaxType; readonly tax_rate: number; readonly tax_amount: io.flow.common.v0.models.Money; readonly tax_rate_type: io.flow.internal.v0.enums.B2BTaxRateType; } interface B2BTransactionTaxableItem { readonly line_item_reference: string; readonly label: string; readonly taxable_amount: io.flow.common.v0.models.Money; readonly total: io.flow.common.v0.models.Money; readonly taxes: io.flow.internal.v0.models.B2BTransactionTaxLine[]; } interface BankAccount { readonly status: io.flow.internal.v0.enums.BankAccountStatus; readonly hold_created_at?: string; readonly updated_at: string; readonly last4: string; } interface BankAccountDeleted { readonly discriminator: 'bank_account_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface BankAccountReference { readonly id: string; } interface BankAccountSnapshot { readonly id: string; readonly source_id: string; readonly source_type: string; readonly key: string; readonly created_at: string; readonly updated_at: string; } interface BankAccountUpserted { readonly discriminator: 'bank_account_upserted'; readonly event_id: string; readonly timestamp: string; readonly bank_account: io.flow.internal.v0.models.BankAccountSnapshot; } interface BankPayment { readonly id: string; readonly key: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly reference?: string; readonly sent_on?: string; readonly status: io.flow.billing.v0.unions.PayoutStatus; readonly expected_delivery_by?: string; readonly attributes?: Record; readonly total: io.flow.common.v0.models.Price; readonly created_at?: string; readonly failed_on?: string; } interface BankPaymentDeletedV2 { readonly discriminator: 'bank_payment_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface BankPaymentDetail { readonly id: string; readonly source_type: io.flow.internal.v0.enums.AccountType; readonly source_id: string; readonly status: io.flow.internal.v0.enums.BankPaymentStatusCode; readonly processed: boolean; readonly amount: number; readonly currency: string; readonly created_at: string; readonly payment_transactions_url?: string; readonly statement_attachments: io.flow.internal.v0.models.BankPaymentDetailAttachment[]; } interface BankPaymentDetailAttachment { readonly statement: io.flow.internal.v0.models.BillingStatementReference; readonly statement_url?: string; readonly statement_transactions_url?: string; } interface BankPaymentForm { readonly account_id: string; readonly reference?: string; readonly sent_on?: string; readonly expected_delivery_by?: string; readonly amount: number; readonly currency: string; readonly transfer_transaction_ids: string[]; readonly attributes?: Record; } interface BankPaymentOrder { readonly id: string; readonly payment: io.flow.internal.v0.models.BankPaymentReference; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; } interface BankPaymentOrderDeleted { readonly discriminator: 'bank_payment_order_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface BankPaymentOrderUpserted { readonly discriminator: 'bank_payment_order_upserted'; readonly event_id: string; readonly timestamp: string; readonly bank_payment_order: io.flow.internal.v0.models.BankPaymentOrder; } interface BankPaymentPromise { readonly id: string; readonly account_id: string; readonly statement_id: string; readonly transfer_transaction_id: string; readonly completed_at?: string; readonly created_at: string; } interface BankPaymentPromiseDeleted { readonly discriminator: 'bank_payment_promise_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface BankPaymentPromiseUpserted { readonly discriminator: 'bank_payment_promise_upserted'; readonly event_id: string; readonly timestamp: string; readonly bank_payment_promise: io.flow.internal.v0.models.BankPaymentPromise; } interface BankPaymentReference { readonly id: string; } interface BankPaymentStatusForm { readonly code: io.flow.internal.v0.enums.BankPaymentStatusCode; readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode; } interface BankPaymentStatusImport { readonly id: string; readonly created_at: string; readonly result?: io.flow.internal.v0.models.BankPaymentStatusImportResult; } interface BankPaymentStatusImportForm { readonly forms: io.flow.internal.v0.models.BankPaymentStatusSingleForm[]; } interface BankPaymentStatusImportResult { readonly processed_at: string; readonly number_lines_successful: number; readonly number_lines_with_errors: number; readonly errors_url?: string; } interface BankPaymentStatusProcessedImportForm { readonly forms: io.flow.internal.v0.models.BankPaymentStatusProcessedSingleForm[]; } interface BankPaymentStatusProcessedSingleForm { readonly payment_id: string; readonly code: io.flow.internal.v0.enums.RequestedBankPaymentStatusCode; readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode; } interface BankPaymentStatusSentImportForm { readonly payment_ids: string[]; } interface BankPaymentStatusSingleForm { readonly payment_id: string; readonly code: io.flow.internal.v0.enums.BankPaymentStatusCode; readonly failure_reason?: io.flow.billing.v0.enums.PayoutStatusFailureCode; } interface BankPaymentUpserted { readonly discriminator: 'bank_payment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly bank_payment: io.flow.internal.v0.models.BankPayment; } interface BankPaymentUpsertedV2 { readonly discriminator: 'bank_payment_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly bank_payment: io.flow.internal.v0.models.BankPayment; } interface Base64CarrierDocumentContent { readonly discriminator: 'base_64_carrier_document_content'; readonly base64_string: string; readonly file_type: io.flow.internal.v0.enums.FileType; } interface BillingAuthorizationReference { readonly id: string; } interface BillingCsvTransactionDeleted { readonly discriminator: 'billing_csv_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface BillingCsvTransactionUpserted { readonly discriminator: 'billing_csv_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly transaction: io.flow.internal.v0.models.CsvTransaction; } interface BillingInvoiceSummary { readonly id: string; readonly url: string; } interface BillingLabelSummary { readonly id: string; readonly flow_tracking_number: string; readonly carrier_id: string; readonly carrier_tracking_number: string; } interface BillingLabelTrackingSummaryReference { readonly id: string; } interface BillingOrderDestination { readonly city?: string; readonly province?: string; readonly postal?: string; readonly country: string; } interface BillingOrderSummary { readonly number: string; readonly submitted_at: string; readonly primary_identifier?: string; readonly identifiers?: Record; readonly destination?: io.flow.internal.v0.models.BillingOrderDestination; } interface BillingOrderTransactionOrderReference { readonly organization: io.flow.common.v0.models.OrganizationReference; readonly number: string; } interface BillingOrganizationProcessingRates { readonly id: string; readonly query: string; readonly capture: number; readonly refund: number; readonly fraud: number; readonly position: number; } interface BillingOrganizationProcessingRatesDeleted { readonly discriminator: 'billing_organization_processing_rates_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface BillingOrganizationProcessingRatesUpserted { readonly discriminator: 'billing_organization_processing_rates_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly rates: io.flow.internal.v0.models.BillingOrganizationProcessingRates; } interface BillingOrganizationSettings { readonly id: string; readonly days_until_posted: number; readonly logistics: io.flow.internal.v0.enums.ResponsibleParty; readonly include_transaction_created_at: boolean; readonly include_order_exchange_rate: boolean; readonly send_statements_to_flow_ftp_server: boolean; readonly invoicing_terms?: io.flow.internal.v0.enums.PaymentTerm; readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod; readonly b2b_tax_remittance_days?: number; readonly mor_fee?: number; readonly duty_guarantee_fee?: number; readonly negative_balance_fee?: number; readonly order_service_fee?: io.flow.internal.v0.models.TieredFee; readonly label_fee?: io.flow.internal.v0.models.TieredFee; } interface BillingOrganizationSettingsDeleted { readonly discriminator: 'billing_organization_settings_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface BillingOrganizationSettingsUpserted { readonly discriminator: 'billing_organization_settings_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly settings: io.flow.internal.v0.models.BillingOrganizationSettings; } interface BillingSandboxSetup { readonly description: string; } interface BillingStatementAttachment { readonly key: io.flow.internal.v0.enums.BillingStatementAttachmentKey; readonly name: string; readonly url: string; } interface BillingStatementDeleted { readonly discriminator: 'billing_statement_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface BillingStatementReference { readonly id: string; } interface BillingStatementSummary { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly period: io.flow.common.v0.models.DatetimeRange; readonly totals: io.flow.internal.v0.models.BillingStatementTotals; readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[]; } interface BillingStatementTotals { readonly starting_balance: io.flow.common.v0.models.Price; readonly subscription: io.flow.common.v0.models.Price; readonly transfer: io.flow.common.v0.models.Price; readonly invoice: io.flow.common.v0.models.Price; readonly manual: io.flow.common.v0.models.Price; readonly adjustment: io.flow.common.v0.models.Price; readonly capture: io.flow.common.v0.models.Price; readonly refund: io.flow.common.v0.models.Price; readonly reversal: io.flow.common.v0.models.Price; readonly credit_payment: io.flow.common.v0.models.Price; readonly fully_subsidized_order: io.flow.common.v0.models.Price; readonly virtual_card_capture: io.flow.common.v0.models.Price; readonly virtual_card_refund: io.flow.common.v0.models.Price; readonly tax_remittance: io.flow.common.v0.models.Price; readonly dispute: io.flow.common.v0.models.Price; readonly channel: io.flow.common.v0.models.Price; readonly label: io.flow.common.v0.models.Price; readonly order: io.flow.common.v0.models.Price; readonly channel_billed: io.flow.common.v0.models.Price; readonly tax: io.flow.common.v0.models.Price; readonly duty: io.flow.common.v0.models.Price; readonly trueup: io.flow.common.v0.models.Price; readonly carrier_charge: io.flow.common.v0.models.Price; readonly duty_refund: io.flow.common.v0.models.Price; readonly ge_revenue_share: io.flow.common.v0.models.Price; readonly non_l4l_tax_duty_fx: io.flow.common.v0.models.Price; readonly ending_balance: io.flow.common.v0.models.Price; readonly tax_refund: io.flow.common.v0.models.Price; readonly b2b_tax: io.flow.common.v0.models.Price; readonly b2b_tax_refund: io.flow.common.v0.models.Price; readonly merchant_fee: io.flow.common.v0.models.Price; readonly b2b_fee_mor_tax: io.flow.common.v0.models.Price; readonly b2b_fee_shipping_tax: io.flow.common.v0.models.Price; readonly flat_rate_label: io.flow.common.v0.models.Price; readonly flat_rate_label_subsidy: io.flow.common.v0.models.Price; } interface BillingStatementUpserted { readonly discriminator: 'billing_statement_upserted'; readonly event_id: string; readonly timestamp: string; readonly statement: io.flow.internal.v0.models.BillingStatementSummary; } interface BillingTransaction { readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly created_at: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; } interface BitpayAccount { readonly discriminator: 'bitpay_account'; readonly id: string; readonly organization_id: string; readonly key: string; readonly owner: io.flow.internal.v0.enums.Owner; readonly authentication: io.flow.internal.v0.models.BitpayAuthentication; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface BitpayAccountModificationForm { readonly discriminator: 'bitpay_account_modification_form'; readonly owner: io.flow.internal.v0.enums.Owner; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface BitpayAccountPutForm { readonly discriminator: 'bitpay_account_put_form'; readonly owner?: io.flow.internal.v0.enums.Owner; readonly authentication: io.flow.internal.v0.models.BitpayAuthenticationForm; readonly country: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface BitpayAuthentication { readonly api_token: string; readonly public_key: string; readonly secret_key_reference: string; } interface BitpayAuthenticationDataReference { readonly id: string; } interface BitpayAuthenticationForm { readonly api_token: string; readonly public_key: string; readonly secret_key: string; } interface BojanaItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.BojanaItemType; readonly added_on: string; } interface BojanaItemDeleted { readonly discriminator: 'bojana_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface BojanaItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.BojanaItemType; readonly added_on: string; } interface BojanaItemUpserted { readonly discriminator: 'bojana_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly item: io.flow.internal.v0.models.BojanaItem; } interface BooleanFeatureDefaultValue { readonly discriminator: 'boolean'; readonly value: boolean; } interface BooleanFeatureRule { readonly discriminator: 'boolean'; readonly id: string; readonly query: string; readonly value: boolean; readonly position: number; } interface BooleanFeatureRuleForm { readonly discriminator: 'boolean'; readonly query: string; readonly value: boolean; } interface BooleanFeatureValue { readonly discriminator: 'boolean'; readonly feature: io.flow.internal.v0.models.FeatureReference; readonly value: boolean; } interface BrickWebhookEvent { readonly id: string; readonly action: io.flow.brickftp.v0.enums.WebhookEventAction; readonly interface: io.flow.brickftp.v0.enums.WebhookEventInterface; readonly path: string; readonly destination?: string; readonly at: string; readonly username: string; readonly type: io.flow.brickftp.v0.enums.WebhookEventType; } interface BrickWebhookEventResponse { readonly status: string; } interface BulkClassificationAction { readonly discriminator: 'bulk'; readonly actions: io.flow.internal.v0.models.SingleClassificationAction[]; } interface BulkDutyUpdateValidationError { readonly message: string; readonly reason: string; readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface Cafe24MarketsWebhook { readonly placeholder?: any /*json*/; } interface CalculationStampingLineItem { readonly id?: string; readonly hs_code?: string; readonly duty: io.flow.common.v0.models.Money; readonly duty_rate: number; readonly sales_tax: io.flow.common.v0.models.Money; readonly sales_tax_rate: number; readonly additional_tax?: io.flow.common.v0.models.Money; readonly additional_tax_rate?: number; readonly fixed_fee?: io.flow.common.v0.models.Money; readonly fixed_fee_tax?: io.flow.common.v0.models.Money; readonly total: io.flow.common.v0.models.Money; } interface CalculationStampingShippingLine { readonly first_ship_from?: string; readonly duty?: number; readonly duty_rate?: number; readonly tax?: number; readonly tax_rate?: number; readonly price?: number; readonly duty_rate_on_shipping?: number; readonly tax_rate_on_shipping?: number; readonly import_fee?: number; } interface CalculationStep { readonly discriminator: 'calculation_step'; readonly primary_identifier: string; readonly line_item: io.flow.internal.v0.models.CalculationStampingLineItem[]; readonly shipping_line_item: io.flow.internal.v0.models.CalculationStampingShippingLine; readonly total: io.flow.internal.v0.models.CalculationTotal; readonly explanation?: string; } interface CalculationTotal { readonly customs_value_name: string; readonly customs_value_amount: io.flow.common.v0.models.Money; readonly additional_import_included?: boolean; readonly additional_import_value?: io.flow.common.v0.models.Money; readonly duty: io.flow.common.v0.models.Money; readonly sales_tax: io.flow.common.v0.models.Money; readonly additional_tax_import_included: boolean; readonly additional_tax?: io.flow.common.v0.models.Money; readonly additional_import_tax?: io.flow.internal.v0.models.AdditionalImportTax[]; readonly fixed_fee?: io.flow.common.v0.models.Money; readonly fixed_fee_tax?: io.flow.common.v0.models.Money; } interface CalculatorDtcePostBody { readonly products: io.flow.internal.v0.models.CalculatorDtceProduct[]; readonly countryCodeFrom: string; readonly countryCodeTo: string; readonly classification: string; readonly shippingCost: number; readonly insuranceCost: number; readonly totalShipmentWeight: number; readonly currencyCode: string; readonly outputCurrencyCode: string; readonly explanation: boolean; readonly responseFormat: number; readonly requestId: string; readonly provinceCode?: string; } interface CalculatorDtceProduct { readonly origin: string; readonly hsCode: string; readonly sku: string; readonly value: number; readonly weight: number; readonly quantity: number; readonly reference?: string; } interface CalculatorOrganizationSettings { readonly id: string; readonly default_country_of_origin?: string; readonly default_hs_code?: string; } interface CalculatorOrganizationSettingsCountryOfOriginForm { readonly country_of_origin: string; } interface CalculatorOrganizationSettingsDeleted { readonly discriminator: 'calculator_organization_settings_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface CalculatorOrganizationSettingsForm { readonly default_country_of_origin?: string; readonly default_hs_code?: string; } interface CalculatorOrganizationSettingsHsCodeForm { readonly default_hs_code: string; } interface CalculatorOrganizationSettingsUpserted { readonly discriminator: 'calculator_organization_settings_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly calculator_organization_settings: io.flow.internal.v0.models.CalculatorOrganizationSettings; } interface CallRecord { readonly id: string; readonly request_body?: string; } interface CarrierAccount { readonly id: string; readonly carrier: io.flow.fulfillment.v0.models.CarrierReference; readonly credentials: io.flow.internal.v0.unions.CarrierCredentials; readonly q?: string; readonly position: number; } interface CarrierAccountDeleted { readonly discriminator: 'carrier_account_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface CarrierAccountForm { readonly carrier_id: string; readonly credentials: io.flow.internal.v0.unions.CarrierCredentials; readonly q?: string; readonly position: number; } interface CarrierAccountUpsertedV2 { readonly discriminator: 'carrier_account_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly carrier_account: io.flow.internal.v0.models.CarrierAccount; } interface CarrierAccountValidation { readonly organization: string; readonly status: io.flow.internal.v0.enums.CarrierValidationStatus; readonly error_message?: string; } interface CarrierCharge { readonly id: string; readonly type: io.flow.internal.v0.enums.CarrierChargeType; readonly label_invoice_request_id?: string; readonly organization_id: string; readonly order_number: string; readonly carrier_id: string; readonly carrier_tracking_number: string; readonly label_created_at: string; readonly units: io.flow.internal.v0.models.CarrierChargeUnits; readonly base?: io.flow.trueup.v0.models.LabelBase; readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm; readonly total: number; readonly dead?: io.flow.trueup.v0.models.DeadWeight; readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight; readonly attributes?: Record; readonly outbound_carrier_charge_id?: string; readonly reason?: io.flow.trueup.v0.enums.CarrierChargeReason; } interface CarrierChargeDeleted { readonly discriminator: 'carrier_charge_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface CarrierChargeFormLabel { readonly discriminator: 'label'; readonly id: string; readonly label_invoice_request_id: string; readonly units: io.flow.internal.v0.models.CarrierChargeUnits; readonly base: io.flow.trueup.v0.models.LabelBase; readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm; readonly total: number; readonly dead?: io.flow.trueup.v0.models.DeadWeight; readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight; readonly attributes?: Record; } interface CarrierChargeFormOther { readonly discriminator: 'other'; readonly id: string; readonly label_invoice_request_id?: string; readonly reason: io.flow.trueup.v0.enums.CarrierChargeReason; readonly organization_id: string; readonly order_number: string; readonly carrier_id: string; readonly carrier_tracking_number: string; readonly label_created_at: string; readonly units: io.flow.internal.v0.models.CarrierChargeUnits; readonly base: io.flow.trueup.v0.models.LabelBase; readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm; readonly total: number; readonly dead?: io.flow.trueup.v0.models.DeadWeight; readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight; readonly attributes?: Record; readonly outbound_carrier_charge_id?: string; } interface CarrierChargeReference { readonly id: string; } interface CarrierChargeTransaction { readonly discriminator: 'carrier_charge_transaction'; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly label_created_at: string; readonly outbound_carrier_charge_id?: io.flow.internal.v0.models.CarrierChargeReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface CarrierChargeUnits { readonly currency: string; readonly weight?: io.flow.units.v0.enums.UnitOfWeight; readonly length?: io.flow.units.v0.enums.UnitOfLength; } interface CarrierChargeUpserted { readonly discriminator: 'carrier_charge_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly carrier_charge: io.flow.internal.v0.models.CarrierCharge; } interface CarrierDocument { readonly document_type: io.flow.internal.v0.enums.CarrierDocumentType; readonly document_content: io.flow.internal.v0.unions.CarrierDocumentContent; } interface CarrierEstimate { readonly carrier_service_id: string; readonly cost: io.flow.common.v0.models.Money; readonly min_delivery_days?: number; readonly max_delivery_days?: number; readonly model_diagnostics?: string; } interface CarrierFile { readonly id: string; readonly type: io.flow.internal.v0.enums.CarrierFileType; readonly url: string; readonly attributes?: Record; readonly created_at: string; readonly result?: io.flow.internal.v0.models.CarrierFileResult; } interface CarrierFileForm { readonly url: string; readonly type: io.flow.internal.v0.enums.CarrierFileType; readonly attributes?: Record; } interface CarrierFileResult { readonly processed_at: string; readonly number_lines_successful: number; readonly number_lines_with_errors: number; readonly errors_url?: string; } interface CarrierInvoice { readonly number: string; readonly timestamp: string; } interface CarrierTaxForm { readonly id: string; readonly label_invoice_request_id: string; readonly units: io.flow.internal.v0.models.CarrierTaxUnits; readonly surcharges: io.flow.internal.v0.models.LabelSurchargeForm; readonly total: number; readonly attributes?: Record; } interface CarrierTaxUnits { readonly currency: string; } interface CatalogImportRequest { readonly discriminator: 'catalog_import_request'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly import_id: string; readonly type: io.flow.internal.v0.enums.CatalogImportType; readonly source_url: string; readonly filename?: string; } interface CatalogItemBatchIndexTask { readonly discriminator: 'catalog_item_batch_index_task'; readonly catalog_id: string; readonly catalog_item_ids: string; } interface CatalogItemDeleteIndexTask { readonly discriminator: 'catalog_item_delete_index_task'; readonly catalog_id: string; readonly catalog_item_id: string; } interface CatalogItemIndexTask { readonly discriminator: 'catalog_item_index_task'; readonly catalog_id: string; readonly catalog_item_id: string; } interface CatalogItemRegionAvailabilities { readonly region: string; readonly states: io.flow.catalog.v0.enums.SubcatalogItemStatus[]; } interface CatalogItemRegionAvailabilitiesData { readonly item_number: string; readonly availabilities: io.flow.internal.v0.models.CatalogItemRegionAvailabilities[]; } interface CatalogItemRegionAvailabilitiesPublished { readonly discriminator: 'catalog_item_region_availabilities_published'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly data: io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData; } interface CatalogSettings { readonly id: string; readonly mixed_bag_weight: io.flow.internal.v0.enums.MixedBagWeight; } interface CatalogSettingsDeleted { readonly discriminator: 'catalog_settings_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface CatalogSettingsPutForm { readonly mixed_bag_weight: io.flow.internal.v0.enums.MixedBagWeight; } interface CatalogSettingsUpserted { readonly discriminator: 'catalog_settings_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly catalog_settings: io.flow.internal.v0.models.CatalogSettings; } interface CenterDefaults { readonly id: string; readonly packaging: io.flow.fulfillment.v0.models.Packaging[]; readonly shipping_address_contact: io.flow.common.v0.models.Contact; readonly location_fallback?: io.flow.common.v0.models.Address; } interface CenterDefaultsDeleted { readonly discriminator: 'center_defaults_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface CenterDefaultsForm { readonly packaging: io.flow.fulfillment.v0.models.Packaging[]; readonly shipping_address_contact: io.flow.common.v0.models.Contact; readonly location_fallback?: io.flow.common.v0.models.Address; } interface CenterDefaultsUpserted { readonly discriminator: 'center_defaults_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly center_defaults: io.flow.internal.v0.models.CenterDefaults; } interface ChangeSettingsIndexTask { readonly discriminator: 'change_settings_index_task'; readonly name: string; } interface ChannelAccount { readonly channel: io.flow.common.v0.models.ChannelReference; readonly id: string; readonly key?: string; readonly origin?: io.flow.internal.v0.models.AccountOrigin; readonly currency: string; readonly updated_at: string; readonly timezone: io.flow.reference.v0.models.Timezone; readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule; readonly payment_conditions?: string; readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRule; readonly center_key?: string; readonly statistics: io.flow.internal.v0.models.AccountStatistics; readonly next_statement: io.flow.internal.v0.models.NextBillingStatement; readonly bank_account?: io.flow.internal.v0.models.BankAccountReference; readonly created_at: string; } interface ChannelAccountDeleted { readonly discriminator: 'channel_account_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ChannelAccountUpsertedV2 { readonly discriminator: 'channel_account_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly channel_account: io.flow.internal.v0.models.ChannelAccount; } interface ChannelBilledTransaction { readonly discriminator: 'channel_billed_transaction'; readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface ChannelBilledTransactionDeleted { readonly discriminator: 'channel_billed_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ChannelBilledTransactionPair { readonly id: string; readonly key: string; readonly attributes?: Record; readonly organization_transaction: io.flow.internal.v0.models.ChannelBilledTransactionReference; readonly channel_transaction: io.flow.internal.v0.models.ChannelBilledTransactionReference; } interface ChannelBilledTransactionPairForm { readonly channel_id: string; readonly organization_id: string; readonly amount: number; readonly currency: string; readonly description: string; readonly order_number?: string; readonly attributes?: Record; } interface ChannelBilledTransactionReference { readonly id: string; } interface ChannelBilledTransactionUpserted { readonly discriminator: 'channel_billed_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_billed_transaction: io.flow.internal.v0.models.ChannelBilledTransaction; } interface ChannelBillingStatement { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly period: io.flow.common.v0.models.DatetimeRange; readonly totals: io.flow.internal.v0.models.BillingStatementTotals; readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[]; } interface ChannelCurrencyForm { readonly currency: string; readonly channel_id: string; readonly capabilities: io.flow.channel.v0.enums.ChannelCurrencyCapability[]; } interface ChannelCurrencyPairInternal { readonly channel_currency_pair: io.flow.channel.currency.v0.models.ChannelCurrencyPair; } interface ChannelCurrencySetting { readonly id: string; readonly channel_id: string; readonly target: string; readonly margin: number; readonly rate_lock: io.flow.common.v0.models.Duration; } interface ChannelCurrencySettingDeleted { readonly discriminator: 'channel_currency_setting_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ChannelCurrencySettingForm { readonly channel_id: string; readonly target: string; readonly margin: number; readonly rate_lock: io.flow.common.v0.models.Duration; } interface ChannelCurrencySettingUpserted { readonly discriminator: 'channel_currency_setting_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_currency_setting: io.flow.internal.v0.models.ChannelCurrencySetting; } interface ChannelDebugTransaction { readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails; readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued; } interface ChannelForm { readonly name: string; readonly environment: io.flow.common.v0.enums.Environment; readonly organization_id_prefix?: string; } interface ChannelFulfillment { readonly org_id: string; readonly flow_order_number: string; readonly shopify_order_number: string; readonly legal_name?: string; readonly flow_tracking_status?: io.flow.tracking.v0.enums.TrackingStatus; readonly order_items: io.flow.experience.v0.models.LocalizedLineItem[]; readonly label_items: io.flow.experience.v0.models.LocalizedLineItem[]; readonly carrier?: io.flow.reference.v0.models.CarrierService; readonly tracking_numbers?: string[]; } interface ChannelMembership { readonly id: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly user: io.flow.common.v0.unions.ExpandableUser; readonly role?: io.flow.common.v0.enums.Role; } interface ChannelMembershipForm { readonly channel_id: string; readonly user_id: string; readonly role?: io.flow.common.v0.enums.Role; } interface ChannelMembershipPutForm { readonly role?: io.flow.common.v0.enums.Role; } interface ChannelOrder { readonly org_id: string; readonly flow_order_number: string; readonly shopify_order_number: string; readonly order_submission_date?: string; readonly order_item_count: number; readonly total: io.flow.catalog.v0.models.LocalizedTotal; readonly merchant_total: number; readonly tracking_numbers?: string[]; readonly carrier?: io.flow.reference.v0.models.CarrierService; readonly duty_paid: boolean; readonly shop_id?: string; } interface ChannelOrderAcceptance { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly channel_id: string; readonly external_order_reference: string; readonly payment_request_id?: string; readonly order_payment_request_ids?: string[]; readonly order_edit_payment_request_ids?: string[]; readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus; readonly reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[]; readonly next_action_from?: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; readonly order_created_at?: string; readonly order_updated_at?: string; readonly order_edit_summary?: io.flow.internal.v0.models.OrderEditSummary; readonly payment_source?: io.flow.internal.v0.enums.OrderPaymentSourceType; readonly external_order_summary?: io.flow.internal.v0.models.ExternalOrderSummary; } interface ChannelOrderAcceptanceDeleted { readonly discriminator: 'channel_order_acceptance_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance; } interface ChannelOrderAcceptanceDetails { readonly order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance; readonly external_order: any /*object*/; } interface ChannelOrderAcceptanceFailed { readonly discriminator: 'channel_order_acceptance_failed'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly channel_order_acceptance_failure: io.flow.internal.v0.models.ChannelOrderAcceptanceFailure; } interface ChannelOrderAcceptanceFailure { readonly id: string; readonly organization_id: string; readonly channel_id: string; readonly payment_request_id: string; readonly code: io.flow.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode; readonly reason: string; } interface ChannelOrderAcceptanceForm { readonly status: io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus; } interface ChannelOrderAcceptanceReason { readonly description: string; readonly rejection_reason?: io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason; } interface ChannelOrderAcceptanceUpserted { readonly discriminator: 'channel_order_acceptance_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly channel_order_acceptance: io.flow.internal.v0.models.ChannelOrderAcceptance; } interface ChannelOrderSummary { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly external_order_reference: string; readonly order_number: string; readonly fulfullment_details: io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails; } interface ChannelOrderSummaryDeleted { readonly discriminator: 'channel_order_summary_deleted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly id: string; } interface ChannelOrderSummaryFulfillmentDetails { readonly fulfillment_status: io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode; readonly timestamp: string; } interface ChannelOrderSummaryUpserted { readonly discriminator: 'channel_order_summary_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_order_summary: io.flow.internal.v0.models.ChannelOrderSummary; } interface ChannelOrderTaxAndDutyInclusivitySetting { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly order_number: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly tax_and_duty_inclusivity_setting: io.flow.experience.v0.enums.TaxAndDutyInclusivitySetting; } interface ChannelOrderTaxAndDutyInclusivitySettingDeleted { readonly discriminator: 'channel_order_tax_and_duty_inclusivity_setting_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ChannelOrderTaxAndDutyInclusivitySettingUpserted { readonly discriminator: 'channel_order_tax_and_duty_inclusivity_setting_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_order_tax_and_duty_inclusivity_setting: io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySetting; } interface ChannelOrganizationDomains { readonly internal: string; readonly external: string; } interface ChannelOrganizationIdentifier { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly identifier: string; } interface ChannelOrganizationIdentifierDeleted { readonly discriminator: 'channel_organization_identifier_deleted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly id: string; } interface ChannelOrganizationIdentifierUpserted { readonly discriminator: 'channel_organization_identifier_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_organization_identifier: io.flow.internal.v0.models.ChannelOrganizationIdentifier; } interface ChannelOrganizationInstallation { readonly organization: io.flow.channel.v0.models.ChannelOrganization; readonly tokens: io.flow.internal.v0.models.ChannelOrganizationToken[]; } interface ChannelOrganizationInstallationPostForm { readonly form: io.flow.channel.v0.models.ChannelOrganizationForm; readonly metadata: io.flow.internal.v0.models.ChannelOrganizationMetadata; } interface ChannelOrganizationMetadata { readonly domain: io.flow.internal.v0.models.ChannelOrganizationDomains; readonly token: string; } interface ChannelOrganizationPublicationOwner { readonly owner: io.flow.internal.v0.enums.CatalogPublicationOwner; } interface ChannelOrganizationPublicationOwnerPutForm { readonly owner: io.flow.internal.v0.enums.CatalogPublicationOwner; } interface ChannelOrganizationSellabilityStatus { readonly status: io.flow.internal.v0.enums.SellabilityStatus; } interface ChannelOrganizationSellabilityStatusPutForm { readonly status: io.flow.internal.v0.enums.SellabilityStatus; } interface ChannelOrganizationShopify { readonly organization: io.flow.channel.v0.models.ChannelOrganization; readonly tokens: io.flow.internal.v0.models.ShopifyChannelOrganizationTokens[]; } interface ChannelOrganizationShopifyForm { readonly form: io.flow.channel.v0.models.ChannelOrganizationPutForm; readonly metadata: io.flow.internal.v0.models.ShopifyMetadata; } interface ChannelOrganizationShopifyPostForm { readonly form: io.flow.channel.v0.models.ChannelOrganizationForm; readonly metadata: io.flow.internal.v0.models.ShopifyMetadata; } interface ChannelOrganizationToken { readonly token: io.flow.internal.v0.models.ChannelOrganizationTokenBody; readonly service: io.flow.internal.v0.enums.ChannelService; } interface ChannelOrganizationTokenBody { readonly cleartext: string; } interface ChannelRateMetadataIdentity { readonly discriminator: 'channel_rate_metadata_identity'; readonly currency: string; } interface ChannelRateMetadataRate { readonly discriminator: 'channel_rate_metadata_rate'; readonly id: string; readonly base: string; readonly target: string; readonly spot_rate: number; readonly flow_margin: number; readonly flow_rate: number; readonly journal_id?: string; readonly effective_at: string; readonly timestamp?: string; } interface ChannelShop { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly channel: io.flow.common.v0.models.ChannelReference; readonly external_id: string; readonly name: string; readonly domains: io.flow.internal.v0.models.ChannelOrganizationDomains; } interface ChannelShopForm { readonly channel_id: string; readonly external_id: string; readonly name: string; readonly domains: io.flow.internal.v0.models.ChannelOrganizationDomains; readonly tokens: io.flow.internal.v0.models.Tokens; } interface ChannelShopStatistics { readonly id: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly initial_catalog_synced_at?: string; readonly catalog_sync_duration?: number; readonly catalog_products_count?: number; } interface ChannelShopStatisticsDeleted { readonly discriminator: 'channel_shop_statistics_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ChannelShopStatisticsUpserted { readonly discriminator: 'channel_shop_statistics_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_shop_statistics: io.flow.internal.v0.models.ChannelShopStatistics; } interface ChannelTransaction { readonly discriminator: 'channel_transaction'; readonly transaction: io.flow.internal.v0.models.TransactionReference; readonly fees: io.flow.internal.v0.models.Fee[]; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface ChannelTransactionDeleted { readonly discriminator: 'channel_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ChannelTransactionRate { readonly from: string; readonly to: string; readonly value: number; readonly timestamp: string; } interface ChannelTransactionTriggerMetadata { readonly discriminator: 'channel_transaction_trigger_metadata'; readonly trigger_type: io.flow.internal.v0.enums.ChannelTransactionTriggerType; } interface ChannelTransactionUpserted { readonly discriminator: 'channel_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_transaction: io.flow.internal.v0.models.ChannelTransaction; } interface ChapterCheckResult { readonly status: io.flow.internal.v0.enums.ChapterCheckStatus; readonly result: io.flow.internal.v0.enums.EvaluationCheckResult; readonly current_chapter: string; readonly merchant_chapter: string; } interface ChargeInput { readonly charge_input_code: io.flow.internal.v0.enums.ChargeInputType; readonly price: io.flow.common.v0.models.Money; readonly charge_input_source: io.flow.internal.v0.enums.ChargeEstimateSource; } interface Chargeback { readonly id: string; readonly key: string; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly base?: io.flow.common.v0.models.Money; readonly chargeback_issued_at: string; readonly created_at: string; readonly payment_status: io.flow.internal.v0.enums.ChargebackPaymentStatus; readonly process_status: io.flow.internal.v0.enums.ChargebackProcessStatus; readonly processor: io.flow.internal.v0.enums.Processor; readonly processor_reason: string; readonly processor_status: string; readonly processor_reference?: string; readonly provider_reference?: string; readonly provider_reason_code?: string; } interface ChargebackDeleted { readonly discriminator: 'chargeback_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly chargeback: io.flow.internal.v0.models.Chargeback; } interface ChargebackUpserted { readonly discriminator: 'chargeback_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly chargeback: io.flow.internal.v0.models.Chargeback; } interface ChargebackVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly chargeback: io.flow.internal.v0.models.Chargeback; } interface CheckoutAnalytics { readonly trackers: io.flow.internal.v0.unions.Tracker[]; readonly use_base_currency: boolean; } interface CheckoutAsset { readonly url: string; readonly type: io.flow.internal.v0.enums.CheckoutAssetType; } interface CheckoutBehavior { readonly shipping_address: io.flow.internal.v0.models.CheckoutBehaviorShippingAddress; readonly shipping_method: io.flow.internal.v0.models.CheckoutBehaviorShippingMethod; readonly customer_info: io.flow.internal.v0.models.CheckoutBehaviorCustomerInfo; } interface CheckoutBehaviorCustomerInfo { readonly email: io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail; } interface CheckoutBehaviorCustomerInfoEmail { readonly prompt: io.flow.internal.v0.enums.CheckoutPromptBehavior; } interface CheckoutBehaviorShippingAddress { readonly prompt: io.flow.internal.v0.enums.CheckoutPromptBehavior; } interface CheckoutBehaviorShippingMethod { readonly prompt: io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior; } interface CheckoutConfiguration { readonly id: string; readonly behavior: io.flow.internal.v0.models.CheckoutBehavior; readonly settings: io.flow.internal.v0.models.CheckoutSettings; readonly analytics?: io.flow.internal.v0.models.CheckoutAnalytics; readonly domain?: string; } interface CheckoutConfigurationForm { readonly behavior: io.flow.internal.v0.models.CheckoutBehavior; readonly settings: io.flow.internal.v0.models.CheckoutSettings; readonly analytics?: io.flow.internal.v0.models.CheckoutAnalytics; readonly domain?: string; } interface CheckoutConfigurationReference { readonly id: string; } interface CheckoutSettings { readonly session_persistence_timeout?: io.flow.common.v0.models.Duration; readonly session_persistence_attribute_keys?: string[]; readonly locales?: string[]; readonly urls?: io.flow.internal.v0.models.CheckoutUrl[]; readonly assets?: io.flow.internal.v0.models.CheckoutAsset[]; } interface CheckoutUrl { readonly url: string; readonly type: io.flow.internal.v0.enums.CheckoutUrlType; } interface ChenglinItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.GabrielItemType; readonly added_on: string; } interface ChenglinItemDeleted { readonly discriminator: 'chenglin_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ChenglinItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.GabrielItemType; readonly added_on: string; } interface ChenglinItemUpserted { readonly discriminator: 'chenglin_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly item: io.flow.internal.v0.models.ChenglinItem; } interface Cipher { readonly id: string; readonly attributes: Record; } interface CipherForm { readonly text: string; readonly attributes?: Record; readonly password?: string; } interface CipherReference { readonly id: string; } interface ClassicPaymentRedirectForm { readonly MD: string; readonly PaRes: string; } interface Classification { readonly discriminator: 'classification'; readonly product_id: string; readonly description?: string; readonly items: io.flow.common.v0.models.CatalogItemSummary[]; readonly images: io.flow.catalog.v0.models.Image[]; readonly categories: string[]; readonly model_id?: string; readonly classified_by?: string; readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization; readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus; readonly suggested_action?: io.flow.internal.v0.enums.ItemClassificationAction; readonly score?: number; } interface ClassificationActionFormUndo { readonly discriminator: 'undo'; readonly item_classification_ids: string[]; readonly user: string; } interface ClassificationDetails { readonly updated_by_user_id: string; readonly organization_id: string; readonly product_id: string; readonly product_name: string; readonly product_categories: string; readonly product_description: string; readonly current_classification: string; readonly hs6: string; readonly hs6_description: string; readonly url: string; readonly item_type: string; readonly material: string; readonly gender: string; readonly construction: string; } interface ClassificationError { readonly discriminator: 'classification_error'; readonly code: io.flow.internal.v0.enums.ClassificationErrorCode; readonly messages: string[]; readonly form: io.flow.internal.v0.unions.ClassificationForm; } interface ClassificationFormWrapper { readonly classifications: io.flow.internal.v0.unions.ClassificationForm[]; } interface ClassificationItem { readonly id: string; readonly organization_id: string; readonly number: string; readonly name: string; readonly description: string; readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus; readonly customs_description_suggestions: io.flow.internal.v0.models.CustomsDescriptionSuggestion[]; } interface ClassificationMerchant { readonly MerchantId: string; readonly PlatformId: io.flow.internal.v0.enums.ClassificationPlatform; readonly Name: string; readonly DateLastUpdated?: string; readonly Order: number; } interface ClassificationMerchantEnvelope { readonly messageType: string[]; readonly message: io.flow.internal.v0.models.ClassificationMerchant; } interface ClassificationProduct { readonly organization_id: string; readonly product_id?: string; readonly description: string; readonly items: io.flow.internal.v0.models.ClassificationItem[]; readonly images: string[]; readonly categories: string[]; readonly attributes: Record; readonly next_id?: io.flow.internal.v0.models.ClassificationProductId; } interface ClassificationProductHarmonization { readonly product_labels?: io.flow.internal.v0.models.ProductLabels; readonly customs_description?: string; readonly hs6_code?: string; readonly hs6_description?: string; readonly status?: io.flow.internal.v0.enums.ItemHarmonizationStatus; } interface ClassificationProductId { readonly organization_id: string; readonly product_id: string; } interface ClassificationProductRequest { readonly MerchantId: string; readonly ProductName: string; readonly ProductDescription: string; readonly ProductIdInternal: string; readonly ProductIdExternal: string; readonly ProductGroupCode?: string; readonly ProductUrl?: string; readonly ProductImage?: string; readonly ProductAttributes: Record; readonly Categories?: string[]; readonly PlatformId: io.flow.internal.v0.enums.ClassificationPlatform; } interface ClassificationProductRequestEnvelope { readonly messageType: string[]; readonly message: io.flow.internal.v0.models.ClassificationProductRequest; } interface ClassificationProductResult { readonly productId: string; readonly merchantId: string; readonly platformId: io.flow.internal.v0.enums.ClassificationPlatform; readonly hsCode?: string; readonly probability?: number; readonly classificationDecision: io.flow.internal.v0.enums.ClassificationDecision; readonly classificationType: io.flow.internal.v0.enums.ClassificationType; readonly clothingAgeClassification?: io.flow.internal.v0.enums.ClothingAgeClassification; } interface ClassificationProductResultEnvelope { readonly messageType: string[]; readonly message: io.flow.internal.v0.models.ClassificationProductResult; } interface ClassificationProductSummary { readonly product_id: string; readonly organization_id: string; readonly description: string; readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus; readonly suggestion_count: number; } interface ClassificationProductSummaryPage { readonly page: io.flow.internal.v0.models.ClassificationProductSummary[]; readonly next_cursor?: string; } interface ClassificationRequeueRequest { readonly message: string; } interface ClassificationStatistics { readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus; readonly number_of_items: number; } interface ClassificationSummaryReportPayload { readonly organization_id?: string; readonly product_id?: string; readonly date_from?: string; readonly date_to?: string; readonly email: string; readonly limit: number; } interface ClassificationWrapper { readonly classifications: io.flow.internal.v0.unions.ClassificationResponse[]; } interface ClassifiedProduct { readonly product_id: string; readonly organization_id: string; readonly classification: string; readonly classification_model_id: string; } interface ClassifiedProductDetail { readonly product_id: string; readonly description?: string; readonly items: io.flow.common.v0.models.CatalogItemSummary[]; readonly images: io.flow.catalog.v0.models.Image[]; readonly categories: string[]; readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization; readonly status: io.flow.internal.v0.enums.ItemClassificationStatus; readonly classified_by: string; } interface CliLogEntry { readonly id: string; readonly user: io.flow.common.v0.models.UserReference; readonly task: string; } interface CliLogEntryForm { readonly user_id: string; readonly task: string; } interface CommercialInvoiceComparison { readonly urls: string[]; } interface CommercialInvoiceInternal { readonly id: string; readonly label_id: string; readonly organization_id: string; readonly order_number: string; readonly invoice_reference: string; readonly signature_url: string; readonly signature_date: string; readonly signature_name?: string; readonly line_items: io.flow.internal.v0.models.InvoiceLineItem[]; readonly currency: string; readonly delivered_duty: string; readonly transaction_date: string; readonly origin: io.flow.fulfillment.v0.models.ShippingAddress; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly billing_address?: io.flow.fulfillment.v0.models.ShippingAddress; readonly service: string; readonly flow_tracking_number: string; readonly rex_number?: string; readonly wee_number?: string; readonly business_gst_numbers: string[]; readonly destination_gst_numbers?: string[]; readonly vat_name: string; readonly shipping_price: string; readonly shipment_recipient?: string; readonly eu_preferential_origin?: string; readonly customs_master_file_number?: string; readonly merchant_of_record_entity?: io.flow.common.v0.models.MerchantOfRecordEntity; readonly notes_export_declaration?: string; readonly notes_import_duty_taxes_due?: string; readonly invoice_date: string; readonly goods_value: number; readonly total_taxes: number; readonly total_duties: number; readonly customs_value: number; readonly total_value: number; readonly show_gst_exemption_column: boolean; readonly show_eccn: boolean; readonly show_manufacturer_id: boolean; readonly show_us_out_verbiage: boolean; readonly commercial_invoice_mode: string; readonly show_us_outbound_signature: boolean; readonly show_us_outbound_stamp: boolean; readonly invoice_url?: string; readonly invoice_number?: string; } interface CommercialInvoiceInternalDeleted { readonly discriminator: 'commercial_invoice_internal_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface CommercialInvoiceInternalUpserted { readonly discriminator: 'commercial_invoice_internal_upserted'; readonly event_id: string; readonly timestamp: string; readonly invoice: io.flow.internal.v0.models.CommercialInvoiceInternal; } interface CommercialInvoiceSummary { readonly id: string; readonly label_id: string; readonly line_items: io.flow.internal.v0.models.InvoiceLineItem[]; } interface CompanyReference { readonly id: string; } interface Compliance { readonly id: string; readonly destination: string; readonly data: io.flow.internal.v0.unions.ComplianceData; } interface Components { readonly vat: io.flow.common.v0.models.Price; readonly duty: io.flow.common.v0.models.Price; readonly freight: io.flow.common.v0.models.Price; readonly insurance: io.flow.common.v0.models.Price; } interface ConorItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.ConorItemType; readonly added_on: string; } interface ConorItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.ConorItemType; readonly added_on: string; } interface ConsoleLabelRequestForm { readonly discriminator: 'console_label_request_form'; readonly order_number: string; readonly destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly service?: string; readonly bypass_house_number_validation?: boolean; } interface ConsoleMarkUnresolvableForm { readonly discriminator: 'console_mark_unresolvable_form'; readonly order_number: string; readonly service?: string; readonly note?: string; } interface CourthouseProductSummary { readonly organization: io.flow.common.v0.models.OrganizationSummary; readonly product_id: string; readonly items: io.flow.common.v0.models.CatalogItemSummary[]; readonly product_harmonization: io.flow.internal.v0.models.ClassificationProductHarmonization; } interface CpscProductRegistration { readonly product_update: boolean; readonly current_version_id?: string; readonly new_version_id: string; readonly primary_product_id: string; readonly primary_product_id_type: io.flow.internal.v0.enums.CpscPrimaryProductIdType; readonly gtin?: string; readonly upc?: string; readonly sku?: string; readonly model_number?: string; readonly serial_number?: string; readonly registered_number?: string; readonly alternate_identifier?: string; readonly certificate_type: io.flow.internal.v0.enums.CpscCertificateType; readonly product_name: string; readonly trade_brand_name?: string; readonly product_description?: string; readonly product_color?: string; readonly product_style?: string; readonly manufacturer_is_new?: io.flow.internal.v0.enums.CpscYesNo; readonly manufacturer_gln?: string; readonly manufacturer_alternate_id?: string; readonly manufacturer_name?: string; readonly small_batch_manufacturer_cpsc_id?: string; readonly manufacturer_address_line_1?: string; readonly manufacturer_address_line_2?: string; readonly manufacturer_apt_suite_number?: string; readonly manufacturer_city?: string; readonly manufacturer_state_province?: string; readonly manufacturer_country?: string; readonly manufacturer_zip_postal_code?: string; readonly manufacturer_phone?: string; readonly manufacturer_email?: string; readonly manufacture_date: string; readonly production_start_date?: string; readonly production_end_date?: string; readonly lot_number?: string; readonly lot_number_assigned_by?: io.flow.internal.v0.enums.CpscLotNumberAssignedBy; readonly lab_1_type: io.flow.internal.v0.enums.CpscLabType; readonly lab_1_is_new?: io.flow.internal.v0.enums.CpscYesNo; readonly lab_1_cpsc_id?: string; readonly lab_1_alternate_id?: string; readonly lab_1_gln?: string; readonly lab_1_name?: string; readonly lab_1_address_line_1?: string; readonly lab_1_address_line_2?: string; readonly lab_1_apt_suite_number?: string; readonly lab_1_city?: string; readonly lab_1_state_province?: string; readonly lab_1_country?: string; readonly lab_1_zip_postal_code?: string; readonly lab_1_phone?: string; readonly lab_1_email?: string; readonly lab_1_citation_codes: string; readonly lab_1_test_report_id?: string; readonly lab_1_test_url?: string; readonly lab_1_test_report_access_key?: string; readonly lab_1_is_component?: boolean; readonly lab_1_component_description?: string; readonly last_test_date?: string; readonly poc_for_test_records: io.flow.internal.v0.enums.CpscPointOfContactType; readonly poc_is_new?: io.flow.internal.v0.enums.CpscYesNo; readonly poc_alternate_id?: string; readonly poc_gln?: string; readonly poc_name?: string; readonly poc_address_line_1?: string; readonly poc_address_line_2?: string; readonly poc_apt_suite_number?: string; readonly poc_city?: string; readonly poc_state_province?: string; readonly poc_country?: string; readonly poc_zip_postal_code?: string; readonly poc_phone?: string; readonly poc_email?: string; } interface CpscQueueEnvelope { readonly messageType: string[]; readonly message: io.flow.internal.v0.models.CpscQueueMessage; } interface CpscQueueMessage { readonly filePath: string; readonly merchantId: string; readonly fileType: io.flow.internal.v0.enums.CpscFileType; } interface CryptoAccount { readonly discriminator: 'crypto_account'; readonly id: string; readonly organization_id: string; readonly key: string; readonly owner: io.flow.internal.v0.enums.Owner; readonly authentication: io.flow.internal.v0.models.CryptoAuthentication; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface CryptoAccountModificationForm { readonly discriminator: 'crypto_account_modification_form'; readonly owner: io.flow.internal.v0.enums.Owner; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface CryptoAccountPutForm { readonly discriminator: 'crypto_account_put_form'; readonly owner?: io.flow.internal.v0.enums.Owner; readonly authentication: io.flow.internal.v0.models.CryptoAuthenticationForm; readonly country: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface CryptoAuthentication { readonly public_key: string; readonly secret_key_reference: string; readonly signature_secret_reference: string; } interface CryptoAuthenticationForm { readonly public_key: string; readonly secret_key: string; readonly signature_secret: string; } interface CsvTransaction { readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly account: io.flow.internal.v0.models.OtherRecordAccount; readonly metadata?: io.flow.internal.v0.models.OtherRecordMetadata; readonly order?: io.flow.internal.v0.models.OtherRecordOrderSummary; readonly currency: string; readonly source: io.flow.billing.v0.enums.TransactionSource; readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.internal.v0.models.OtherRecordFees; readonly withholdings: io.flow.internal.v0.models.OtherRecordWithholdings; readonly discount: io.flow.internal.v0.models.OtherRecordDiscount; readonly net: number; readonly identifiers: io.flow.internal.v0.models.OtherRecordIdentifiers; readonly revenue_share_percentage?: number; readonly revenue_share_plan?: string; readonly created_at: string; readonly updated_at: string; readonly posted_at?: string; } interface CurrencyInternalRate { readonly id: string; readonly organization_id: string; readonly base: string; readonly target: string; readonly effective_at: string; readonly spot_rate: number; readonly flow_margin: number; readonly flow_rate: number; readonly organization_margin: number; readonly organization_rate: number; readonly rate_lock_unit: string; readonly rate_lock_value: number; readonly created_at: string; readonly updated_at: string; readonly updated_by_user_id: string; } interface CustomsDescriptionStatistics { readonly message: string; readonly default_customs_description_total: number; readonly new_customs_description_total: number; readonly phrase_status_duty_requested_total: number; readonly phrase_status_classified_total: number; readonly mismatching_hs6_total: number; readonly mismatching_hs6: Record; } interface CustomsDescriptionSuggestion { readonly model_id: string; readonly suggestion: string; readonly value: number; } interface CustomsDescriptionTariffCodeDuty { readonly id: string; readonly customs_description: string; readonly status: string; readonly harmonization_code?: string; readonly tariff_codes?: Record< string, io.flow.internal.v0.models.TariffCodeDuty >; readonly tariff_codes_metadata?: Record; } interface CustomsDescriptionTariffCodeDutyForm { readonly customs_description: string; readonly harmonization_code?: string; readonly tariff_codes?: Record< string, io.flow.internal.v0.models.TariffCodeDuty >; } interface CustomsDetails { readonly tariff_eligibility_data: io.flow.internal.v0.unions.TariffEligibilityData[]; readonly compliance_data: io.flow.internal.v0.unions.ComplianceData[]; readonly item_customs_details: io.flow.internal.v0.models.ItemCustomsDetails[]; } interface CustomsDetailsForm { readonly destination: io.flow.common.v0.models.Address; readonly item_numbers: string[]; readonly ship_from: io.flow.common.v0.models.Address; } interface CustomsProductAttributeLabel { readonly value: string; } interface CustomsProductLabels { readonly item_type: string; readonly gender?: io.flow.internal.v0.models.CustomsProductAttributeLabel; readonly material?: io.flow.internal.v0.models.CustomsProductAttributeLabel; readonly construction?: io.flow.internal.v0.models.CustomsProductAttributeLabel; } interface DailyValue { readonly id: string; readonly key: io.flow.internal.v0.enums.BillingMetricKey; readonly value: number; readonly date: string; } interface DailyValueDeleted { readonly discriminator: 'daily_value_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface DailyValueUpserted { readonly discriminator: 'daily_value_upserted'; readonly event_id: string; readonly timestamp: string; readonly daily_value: io.flow.internal.v0.models.DailyValue; } interface Database { readonly name: string; } interface DebugAccountingTransaction { readonly type: io.flow.internal.v0.enums.DebugAccountingTransactionType; readonly type_id: string; readonly transaction_id: string; } interface DebugAdjustment { readonly transaction_id: string; readonly original_transaction: io.flow.internal.v0.models.DebugOriginalTransactionSummary; readonly description: string; } interface DebugBankingDetails { readonly merchant: io.flow.internal.v0.models.MerchantDetails; readonly account: io.flow.internal.v0.models.BankAccount; } interface DebugDetails { readonly labels: io.flow.internal.v0.models.DebugLabel[]; readonly captures: io.flow.internal.v0.models.DebugPaymentTransactionSummary[]; readonly refunds: io.flow.internal.v0.models.DebugPaymentTransactionSummary[]; readonly allocation: io.flow.experience.v0.models.AllocationV2; readonly adjustments: io.flow.internal.v0.models.DebugAdjustment[]; } interface DebugFulfillmentDelta { readonly posted_transactions_net: number; readonly fulfillments_net: number; readonly delta_amount: number; readonly delta_percent: number; } interface DebugLabel { readonly carrier_id: string; readonly carrier_tracking_number: string; readonly label_tracking_summary_id?: string; readonly label_id?: string; readonly cost_estimate?: io.flow.label.v0.models.ShippingLabelHopSummary; readonly transactions?: io.flow.internal.v0.models.DebugLabelTransactionSummary[]; } interface DebugLabelTransactionSummary { readonly id: string; readonly type: string; } interface DebugOrder { readonly organization_id: string; readonly number: string; readonly prices: io.flow.order.price.v0.models.OrderPriceDetail[]; readonly total: io.flow.common.v0.models.MoneyWithBase; readonly identifiers?: Record; readonly submitted_at?: string; readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType; } interface DebugOrderTransaction { readonly order: io.flow.internal.v0.models.DebugOrder; readonly debug: io.flow.internal.v0.models.DebugDetails; readonly transactions: io.flow.internal.v0.models.DebugOrderTransactionDetails[]; readonly reporting: io.flow.internal.v0.models.ReportingDetails; readonly banking?: io.flow.internal.v0.models.DebugBankingDetails; } interface DebugOrderTransactionDetails { readonly transaction: io.flow.billing.v0.models.Transaction; readonly payout_details?: io.flow.billing.v0.unions.PayoutStatus; } interface DebugOrderTransactionForm { readonly order_id?: string; readonly organization_id?: string; readonly order_number?: string; readonly transaction_id?: string; readonly capture_id?: string; readonly refund_id?: string; readonly order_identifier?: io.flow.internal.v0.models.DebugOrderTransactionFormOrderIdentifier; readonly authorization_id?: string; readonly posting_proof_id?: string; readonly label_tracking_summary_id?: string; readonly shipping_notification_id?: string; readonly external_fulfillment_proof_id?: string; readonly order_cancellation_id?: string; } interface DebugOrderTransactionFormOrderIdentifier { readonly key?: string; readonly value?: string; } interface DebugOriginalTransactionSummary { readonly id: string; readonly source: io.flow.billing.v0.enums.TransactionSource; } interface DebugPaymentTransactionSummary { readonly id: string; readonly type: string; readonly processing_transaction_id?: string; readonly queue_errors?: string[]; readonly ignore_reason?: string; } interface DebugTransactionDetails { readonly transaction: io.flow.billing.v0.models.Transaction; readonly status: io.flow.internal.v0.models.DebugTransactionDetailsStatus; readonly payout?: io.flow.billing.v0.models.PendingPayoutTransactionReason; readonly fx?: io.flow.internal.v0.models.DebugTransactionFx; } interface DebugTransactionDetailsStatus { readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly description: string; } interface DebugTransactionFx { readonly timestamp?: string; readonly market: io.flow.internal.v0.models.DebugTransactionFxRate[]; readonly order_effective_rate?: io.flow.internal.v0.models.DebugTransactionFxRate; readonly transaction_effective_rate?: io.flow.internal.v0.models.DebugTransactionFxRate; } interface DebugTransactionFxRate { readonly base: string; readonly target: string; readonly value: number; } interface DebugTransactionQueued { readonly id: string; readonly reasons: string[]; } interface Decision { readonly id: string; readonly status: string; readonly old_status: string; readonly description: string; readonly category?: string; readonly shop_url?: string; } interface DeclineReasonChannelOrderAcceptance { readonly discriminator: 'channel_order_acceptance'; readonly decline_reasons: io.flow.internal.v0.models.ChannelOrderAcceptanceReason[]; } interface DeclineReasonFraud { readonly discriminator: 'fraud'; readonly rejection_reason: io.flow.internal.v0.enums.RejectionReason; } interface DecryptCipherForm { readonly id: string; readonly password: string; } interface DecryptedCipher { readonly id: string; readonly cleartext: string; readonly attributes: Record; } interface DeleteIndexTask { readonly discriminator: 'delete_index_task'; readonly name: string; } interface DeleteTransitionsPutForm { readonly transition_ids: string[]; } interface DeliveredDutyOption { readonly methods: io.flow.common.v0.enums.DeliveredDuty[]; readonly message?: io.flow.internal.v0.models.DeliveredDutyOptionMessage; readonly selectable: boolean; } interface DeliveredDutyOptionMessage { readonly type: io.flow.internal.v0.enums.DeliveredDutyOptionMessageType; readonly text: string; } interface DeliveredDutyOptions { readonly options: io.flow.internal.v0.models.DeliveredDutyOption[]; readonly message?: io.flow.internal.v0.models.DeliveredDutyOptionsMessage; } interface DeliveredDutyOptionsMessage { readonly title: string; readonly content: string; readonly type: io.flow.internal.v0.enums.DeliveredDutyOptionMessageType; } interface DeliveredDutyPreference { readonly methods: io.flow.common.v0.enums.DeliveredDuty[]; readonly default: io.flow.common.v0.enums.DeliveredDuty; readonly display: io.flow.experience.v0.enums.DeliveredDutyDisplayType; } interface DeliveredDutyPreferenceForm { readonly methods: io.flow.common.v0.enums.DeliveredDuty[]; readonly default?: io.flow.common.v0.enums.DeliveredDuty; readonly display?: io.flow.experience.v0.enums.DeliveredDutyDisplayType; } interface DestinationDutyComparison { readonly country: string; readonly current_duty?: number; readonly merchant_duty?: number; readonly current_error?: number; readonly merchant_error?: number; } interface DestinationError { readonly id: string; readonly failed_at: string; readonly error: string; readonly destination: io.flow.common.v0.models.Address; } interface DgClassAssessment { readonly dg_class: string; readonly decision: io.flow.internal.v0.enums.PvDecision; readonly confidence: number; readonly reasoning: string; } interface DgReviewContext { readonly discriminator: 'dg_review_context'; readonly organization_id: string; readonly item_name: string; readonly item_description?: string; readonly image_url?: string; readonly hs_code?: string; readonly categories?: string; readonly price?: string; } interface DgReviewOutput { readonly discriminator: 'dg_review_output'; readonly assessments: io.flow.internal.v0.models.DgClassAssessment[]; } interface Dhl { readonly discriminator: 'dhl'; readonly export_account_number: string; readonly import_account_number: string; readonly password: string; readonly site_id: string; } interface DhlEcommerce { readonly discriminator: 'dhl_ecommerce'; readonly client_id_v4: string; readonly client_secret_v4: string; readonly distribution_center: string; readonly pickup_account_number: string; readonly pickup_name: string; } interface DimensionEstimateOpsInput { readonly organization_id: string; readonly length_units?: io.flow.common.v0.enums.UnitOfMeasurement; readonly length_value?: string; readonly width_units?: io.flow.common.v0.enums.UnitOfMeasurement; readonly width_value?: string; readonly depth_units?: io.flow.common.v0.enums.UnitOfMeasurement; readonly depth_value?: string; readonly weight_units?: io.flow.common.v0.enums.UnitOfMeasurement; readonly weight_value?: string; } interface Discount { readonly amount: number; readonly description?: string; } interface DiscountCode { readonly code: string; } interface DiscountRequestForm { readonly order_form?: io.flow.internal.v0.models.DiscountRequestOrderForm; } interface DiscountRequestOfferFixedAmountForm { readonly discriminator: 'discount_request_offer_fixed_amount_form'; readonly amount: number; readonly currency: string; } interface DiscountRequestOrderEntitlementForm { readonly entitlement_key: io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey; readonly offer_form: io.flow.internal.v0.unions.DiscountRequestOfferForm; } interface DiscountRequestOrderForm { readonly order_entitlement_forms: io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm[]; } interface Dispute { readonly id: string; readonly organization_id: string; readonly order?: io.flow.internal.v0.models.DisputeOrderReference; readonly authorization: io.flow.internal.v0.models.DisputeAuthorizationReference; readonly processor: io.flow.internal.v0.enums.DisputeProcessor; readonly key: string; readonly total: io.flow.common.v0.models.Money; readonly type: io.flow.internal.v0.enums.DisputeType; readonly category: io.flow.internal.v0.enums.DisputeCategory; readonly reporting_category?: io.flow.internal.v0.enums.DisputeReportingCategory; readonly reason: string; readonly code?: string; readonly status: io.flow.internal.v0.enums.DisputeStatus; readonly liability: io.flow.internal.v0.enums.DisputeLiability; readonly billable: io.flow.internal.v0.enums.DisputeBillable; readonly defense_outcome?: io.flow.internal.v0.enums.DisputeDefenseOutcome; readonly details: io.flow.internal.v0.unions.DisputeDetails; readonly payment_method?: io.flow.reference.v0.models.PaymentMethod; readonly issued_at: string; readonly expires_at?: string; readonly defended_at?: string; readonly created_at: string; readonly updated_at?: string; } interface DisputeAuthorizationReference { readonly id: string; readonly key: string; } interface DisputeDeleted { readonly discriminator: 'dispute_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface DisputeDetail { readonly authorization: io.flow.internal.v0.models.SearchAuthorization; readonly dispute: io.flow.internal.v0.models.Dispute; } interface DisputeDetailsAdyen { readonly discriminator: 'adyen'; readonly psp_reference: string; readonly dispute_psp_reference: string; } interface DisputeDetailsPaypal { readonly discriminator: 'paypal'; readonly original_transaction_id: string; readonly transaction_invoice_id: string; readonly case_id: string; readonly dispute_channel?: string; } interface DisputeDetailsStripe { readonly discriminator: 'stripe'; readonly payment_intent_id?: string; readonly charge_id: string; readonly dispute_id: string; } interface DisputeImport { readonly id: string; readonly type: io.flow.internal.v0.enums.DisputeImportType; readonly status: io.flow.internal.v0.enums.DisputeImportStatus; readonly url: string; readonly errors?: io.flow.internal.v0.models.DisputeImportErrors; readonly created_at: string; } interface DisputeImportError { readonly message: string; } interface DisputeImportErrors { readonly count: number; } interface DisputeImportForm { readonly url: string; readonly type: io.flow.internal.v0.enums.DisputeImportType; } interface DisputeOrderReference { readonly number: string; } interface DisputeOrganizationReference { readonly id: string; } interface DisputeOverrideUpdateForm { readonly billable?: io.flow.internal.v0.enums.DisputeBillable; readonly reporting_category?: io.flow.internal.v0.enums.DisputeReportingCategory; readonly category?: io.flow.internal.v0.enums.DisputeCategory; readonly status?: io.flow.internal.v0.enums.DisputeStatus; readonly defense_outcome?: io.flow.internal.v0.enums.DisputeDefenseOutcome; readonly defended_at?: string; } interface DisputeRecord { readonly id: string; readonly organization: io.flow.internal.v0.models.ReportingOrganizationSummary; readonly authorization: io.flow.internal.v0.models.ReportingAuthorizationReference; readonly order: io.flow.internal.v0.models.ReportingOrderSummary; readonly status: io.flow.internal.v0.enums.DisputeStatus; readonly processor: io.flow.internal.v0.enums.DisputeProcessor; readonly reporting_category?: io.flow.internal.v0.enums.DisputeReportingCategory; readonly defense_outcome?: io.flow.internal.v0.enums.DisputeDefenseOutcome; readonly chargeback_amount: io.flow.common.v0.models.MoneyWithBase; } interface DisputeStatusForm { readonly status: io.flow.internal.v0.enums.DisputeStatus; } interface DisputeTransaction { readonly discriminator: 'dispute_transaction'; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface DisputeUpserted { readonly discriminator: 'dispute_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly dispute: io.flow.internal.v0.models.Dispute; } interface DutiedItemsExport { readonly discriminator: 'dutied_items_export'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly export_id: string; readonly origin?: string; readonly destination: string; readonly item_numbers?: string[]; } interface Duties { readonly duty_rate: io.flow.price.v0.models.Duty; readonly duty_rate_v2?: io.flow.internal.v0.models.DutyRate; } interface DutyCompoundExpression { readonly discriminator: 'duty_compound_expression'; readonly type: io.flow.internal.v0.enums.DutyCompoundExpressionType; readonly left: io.flow.internal.v0.unions.DutyExpression; readonly right: io.flow.internal.v0.unions.DutyExpression; } interface DutyInternalRate { readonly id: string; readonly hs6: string; readonly origin: string; readonly destination: string; readonly tariff_code: string; readonly name: string; readonly long_name?: string; readonly duty_expression: io.flow.internal.v0.unions.DutyExpression; readonly source: io.flow.internal.v0.enums.DutyRateSource; readonly position: number; } interface DutyRate { readonly id: string; readonly raw_id: string; readonly destination: string; readonly origin: string; readonly tariff_code: string; readonly expression: io.flow.internal.v0.unions.DutyExpression; readonly parser_version: string; readonly created_at: string; } interface DutyRateItemSummary { readonly number: string; readonly product_id?: string; } interface DutyRateSummary { readonly tariff_code: string; readonly origin: string; readonly destination: string; } interface DutyRatesDataSummary { readonly id: string; readonly item_summary: io.flow.internal.v0.models.DutyRateItemSummary; readonly hs6_code: string; readonly summaries: io.flow.internal.v0.models.DutyRateSummary[]; } interface DutyRatesPublishedV2 { readonly discriminator: 'duty_rates_published_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly data: io.flow.internal.v0.models.DutyRatesDataSummary; } interface DutyRaw { readonly id: string; readonly request_destination: string; readonly request_origin: string; readonly request_tariff_code: string; readonly response_destination?: string; readonly response_origin?: string; readonly response_tariff_code?: string; readonly rates: string; readonly version: string; readonly created_at: string; } interface DutySimpleExpression { readonly discriminator: 'duty_simple_expression'; readonly type: io.flow.internal.v0.enums.DutySimpleExpressionType; readonly value: number; readonly unit_of_measure?: io.flow.internal.v0.enums.DutyRateUnitOfMeasure; } interface DutyTransaction { readonly discriminator: 'duty_transaction'; readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface DutyTransactionDeleted { readonly discriminator: 'duty_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface DutyTransactionUpserted { readonly discriminator: 'duty_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly duty_transaction: io.flow.internal.v0.models.DutyTransaction; } interface DutyVarianceResult { readonly status: io.flow.internal.v0.enums.DutyVarianceStatus; readonly result: io.flow.internal.v0.enums.EvaluationCheckResult; readonly destinations: io.flow.internal.v0.models.DestinationDutyComparison[]; } interface EmailForm { readonly to: string[]; readonly cc?: string[]; readonly bcc?: string[]; } interface EmailModificationForm { readonly email?: string; } interface EmptyClassificationForm { readonly discriminator: 'empty_classification_form'; readonly product_id: string; readonly harmonization_status: io.flow.internal.v0.enums.ItemHarmonizationStatus; } interface Encryption { readonly id: string; readonly key: io.flow.internal.v0.models.KeyReference; readonly iv: string; readonly cipher: string; readonly passphrase_ids: string[]; } interface EnrichedLineItemForm { readonly form: io.flow.common.v0.models.LineItemForm; readonly customs_product_name?: string; readonly tariff_code?: string; readonly customs_description?: string; readonly hs_description?: string; readonly country_of_origin: string; readonly price_composition_rate: number; readonly duty_composition_rate: number; readonly export_control_classification_number: string; readonly sub_item_number?: string; readonly item_type?: string; readonly material?: string; readonly construction?: string; readonly gender?: string; } interface EnrichedShippingLabelPackage { readonly dimensions: io.flow.common.v0.models.Dimension; readonly items: io.flow.internal.v0.models.EnrichedLineItemForm[]; readonly reference_number?: string; } interface EntityReference { readonly id: string; } interface EntityReferenceNumber { readonly short_name: string; readonly number: string; readonly issuing_country?: io.flow.reference.v0.models.Country; readonly display_name?: string; } interface ErpFlowFile { readonly id: string; readonly type: io.flow.internal.v0.enums.ErpFileType; readonly url: string; readonly created_at: string; } interface ErpFlowFileForm { readonly type: io.flow.internal.v0.enums.ErpFileType; } interface ErpFlowVendor { readonly company: io.flow.internal.v0.models.CompanyReference; readonly entity: io.flow.internal.v0.models.EntityReference; readonly acc_des: string; readonly country_name: string; readonly acng_code: string; readonly code: string; readonly branch: string; readonly trial_bal_code: string; readonly sec_name: string; readonly branch_des: string; readonly state_a: string; readonly bank_code: string; readonly id: string; readonly tax_code?: string; readonly tax_code_2?: string; readonly debit_entry_code?: string; readonly credit_entry_code?: string; readonly vat_flag?: string; readonly w_tax_percent?: string; readonly iban?: string; readonly confirmed_date?: string; readonly w_tax_date?: string; readonly w_tax_num_expl?: string; readonly phone?: string; readonly address?: string; readonly address_a?: string; readonly address_2?: string; readonly address_3?: string; readonly state_name?: string; readonly zip?: string; readonly pay_account?: string; readonly comp_num?: string; readonly w_tax_num?: string; readonly vat_num?: string; readonly orig_acc_name?: string; readonly form_1099_code?: string; readonly state?: string; readonly fax?: string; readonly details?: string; readonly state_code?: string; readonly tax_office_code?: string; readonly pay_code?: string; readonly eacc_des?: string; readonly acng_des?: string; } interface ErpPriorityFile { readonly name: string; readonly id: string; readonly type: io.flow.internal.v0.enums.ErpFileType; readonly url: string; readonly created_at: string; } interface ErpPriorityFileForm { readonly type: io.flow.internal.v0.enums.ErpFileType; readonly name: string; readonly url: string; } interface ErpPriorityVendor { readonly id: string; readonly acc_des?: string; readonly tax_code?: string; readonly tax_code_2?: string; readonly debit_entry_code?: string; readonly credit_entry_code?: string; readonly vat_flag?: string; readonly country_name?: string; readonly w_tax_percent?: string; readonly iban?: string; readonly confirmed_date?: string; readonly w_tax_date?: string; readonly w_tax_num_expl?: string; readonly acng_code?: string; readonly phone?: string; readonly address?: string; readonly address_a?: string; readonly address_2?: string; readonly address_3?: string; readonly state_name?: string; readonly code?: string; readonly zip?: string; readonly pay_account?: string; readonly comp_num?: string; readonly w_tax_num?: string; readonly vat_num?: string; readonly orig_acc_name?: string; readonly branch?: string; readonly form_1099_code?: string; readonly trial_bal_code?: string; readonly sec_name?: string; readonly state?: string; readonly state_a?: string; readonly fax?: string; readonly details?: string; readonly bank_code?: string; readonly state_code?: string; readonly tax_office_code?: string; readonly pay_code?: string; readonly eacc_des?: string; readonly acng_des?: string; readonly branch_des?: string; } interface ErpPriorityVendorForm { readonly company?: io.flow.internal.v0.enums.Company; readonly acc_des?: string; readonly tax_code?: string; readonly tax_code_2?: string; readonly vat_flag?: string; readonly country_name?: string; readonly w_tax_percent?: string; readonly iban?: string; readonly confirmed_date?: string; readonly w_tax_date?: string; readonly w_tax_num_expl?: string; readonly acng_code?: string; readonly phone?: string; readonly address?: string; readonly address_a?: string; readonly address_2?: string; readonly address_3?: string; readonly state_name?: string; readonly code?: string; readonly zip?: string; readonly pay_account?: string; readonly comp_num?: string; readonly w_tax_num?: string; readonly vat_num?: string; readonly orig_acc_name?: string; readonly branch?: string; readonly form_1099_code?: string; readonly trial_bal_code?: string; readonly sec_name?: string; readonly state?: string; readonly state_a?: string; readonly fax?: string; readonly details?: string; readonly bank_code?: string; readonly state_code?: string; readonly tax_office_code?: string; readonly pay_code?: string; readonly eacc_des?: string; readonly acng_des?: string; readonly branch_des?: string; readonly debit_entry_code?: string; readonly credit_entry_code?: string; } interface ErpVendor { readonly placeholder?: string; } interface ErpVendorStatus { readonly entities: io.flow.internal.v0.models.ErpVendorStatusEntity[]; readonly latest_flow_file?: io.flow.internal.v0.models.ErpVendorStatusFlowFile; readonly latest_priority_file?: io.flow.internal.v0.models.ErpVendorStatusPriorityFile; } interface ErpVendorStatusEntity { readonly entity: io.flow.internal.v0.models.EntityReference; readonly number_differences: number; } interface ErpVendorStatusFlowFile { readonly url: string; readonly created_at: string; } interface ErpVendorStatusPriorityFile { readonly name: string; readonly url: string; readonly created_at: string; readonly errors?: string[]; readonly processed_at?: string; } interface EuProductIdentifierCheck { readonly id: string; readonly order_number: string; readonly item_number: string; readonly destination_country: string; readonly hs_code: string; readonly merchant_product_id?: string; readonly standardized_product_id?: string; readonly nonstandardized_manufacturer_product_id?: string; readonly blocked: boolean; } interface EuProductIdentifierCheckDeleted { readonly discriminator: 'eu_product_identifier_check_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface EuProductIdentifierCheckUpserted { readonly discriminator: 'eu_product_identifier_check_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly eu_product_identifier_check: io.flow.internal.v0.models.EuProductIdentifierCheck; } interface EvaluationResults { readonly chapter_result: io.flow.internal.v0.models.ChapterCheckResult; readonly sellability_result: io.flow.internal.v0.models.SellabilityCheckResult; readonly duty_variance_result: io.flow.internal.v0.models.DutyVarianceResult; readonly taxonomy_alignment_result?: io.flow.internal.v0.models.TaxonomyAlignmentCheckResult; } interface ExclusionRuleDeleted { readonly discriminator: 'exclusion_rule_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule; } interface ExclusionRuleExportRequest { readonly discriminator: 'exclusion_rule_export_request'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly internal_exclusion_rule_form: io.flow.internal.v0.models.InternalExclusionRuleForm; } interface ExclusionRuleUpserted { readonly discriminator: 'exclusion_rule_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly exclusion_rule: io.flow.catalog.exclusion.v0.models.ExclusionRule; } interface ExperienceExportRequest { readonly discriminator: 'experience_export_request'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ids?: string[]; readonly keys?: string[]; readonly export_id: string; } interface ExperienceImportRequest { readonly discriminator: 'experience_import_request'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly import_id: string; readonly type: io.flow.internal.v0.enums.ExperienceImportType; readonly source_url: string; readonly filename?: string; } interface ExperienceOrderActionRule { readonly trigger: io.flow.internal.v0.enums.ExperienceOrderActionTrigger; readonly actions: io.flow.internal.v0.enums.ExperienceOrderAction[]; } interface ExperienceSessionReference { readonly id: string; } interface ExplicitStatement { readonly id: string; readonly statement: io.flow.internal.v0.models.BillingStatementReference; readonly reason: string; } interface ExplicitStatementFormAllPendingPostedTransactions { readonly discriminator: 'all_pending_posted_transactions'; readonly account_id: string; readonly reason: string; } interface ExplicitStatementFormTransactionIds { readonly discriminator: 'transaction_ids'; readonly account_id: string; readonly reason: string; readonly transaction_ids: string[]; } interface ExportCompleted { readonly discriminator: 'export_completed'; readonly event_id: string; readonly timestamp: string; readonly export_id: string; readonly url: string; } interface ExportFailed { readonly discriminator: 'export_failed'; readonly event_id: string; readonly timestamp: string; readonly export_id: string; readonly error: string; } interface ExportScheduleDaily { readonly discriminator: 'export_schedule_daily'; readonly at: io.flow.internal.v0.models.TimeWithTimezone; } interface ExportScheduleRepeated { readonly discriminator: 'export_schedule_repeated'; readonly start_at: io.flow.internal.v0.models.TimeWithTimezone; readonly repeat_every_minutes: number; readonly count: number; } interface ExportTrackingLabel { readonly id: string; readonly carrier: string; readonly carrier_tracking_number: string; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly created_at: string; readonly delivery_estimate?: string; readonly description?: string; } interface ExportTrackingLabelEvent { readonly id: string; readonly address?: io.flow.common.v0.models.Address; readonly carrier: string; readonly carrier_timestamp: string; readonly carrier_tracking_number: string; readonly flow_tracking_number: string; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly delivery_estimate?: string; readonly description?: string; readonly order_number?: string; readonly raw_carrier_event_code?: string; readonly aggregator_status_code?: string; readonly created_at?: string; readonly source?: io.flow.internal.v0.enums.LabelEventSource; readonly medium?: io.flow.internal.v0.enums.LabelEventMedium; } interface ExternalFulfillmentProof { readonly id: string; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly responsible_party: io.flow.internal.v0.enums.ResponsibleParty; readonly tracking: io.flow.internal.v0.models.ExternalFulfillmentProofTracking[]; } interface ExternalFulfillmentProofForm { readonly responsible_party: io.flow.internal.v0.enums.ResponsibleParty; readonly tracking?: io.flow.internal.v0.models.ExternalFulfillmentProofTrackingForm[]; } interface ExternalFulfillmentProofTracking { readonly carrier_id?: string; readonly service_id?: string; readonly carrier_tracking_number?: string; readonly fulfilled_via_replacement_order?: boolean; } interface ExternalFulfillmentProofTrackingForm { readonly carrier_id?: string; readonly service_id?: string; readonly carrier_tracking_number?: string; readonly fulfilled_via_replacement_order?: boolean; } interface ExternalOrderSummary { readonly id: string; readonly edit_ids: string[]; readonly created_at?: string; } interface ExternalRatecardLink { readonly external_ratecard_id: string; readonly flow_ratecard_ids: string[]; } interface ExternalRatecardLinkResponse { readonly external_ratecard_id: string; readonly flow_ratecard_ids: string[]; } interface FacebookPixel { readonly discriminator: 'facebook_pixel'; readonly name?: string; readonly tracker_id: string; } interface FailedDimensionEstimateOpsInputWithReason { readonly organization_id: string; readonly length_units?: io.flow.common.v0.enums.UnitOfMeasurement; readonly length_value?: string; readonly width_units?: io.flow.common.v0.enums.UnitOfMeasurement; readonly width_value?: string; readonly depth_units?: io.flow.common.v0.enums.UnitOfMeasurement; readonly depth_value?: string; readonly weight_units?: io.flow.common.v0.enums.UnitOfMeasurement; readonly weight_value?: string; readonly reason?: string; } interface Feature { readonly id: string; readonly key: string; readonly name: string; readonly description?: string; readonly scope: io.flow.internal.v0.enums.FeatureScope; readonly released_at?: string; readonly status: io.flow.internal.v0.enums.FeatureStatus; readonly type: io.flow.internal.v0.enums.FeatureType; readonly rules: io.flow.internal.v0.unions.FeatureRule[]; readonly default?: io.flow.internal.v0.unions.FeatureDefaultValue; } interface FeatureContextForm { readonly experience_key?: string; readonly geo?: io.flow.internal.v0.models.FeatureGeoForm; } interface FeatureDeleted { readonly discriminator: 'feature_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly feature: io.flow.internal.v0.models.Feature; } interface FeatureForm { readonly name: string; readonly description?: string; readonly status?: io.flow.internal.v0.enums.FeatureStatus; readonly type: io.flow.internal.v0.enums.FeatureType; readonly rules: io.flow.internal.v0.unions.FeatureRuleForm[]; readonly default?: io.flow.internal.v0.unions.FeatureDefaultValue; } interface FeatureGeoForm { readonly country?: string; readonly currency?: string; readonly language?: string; readonly locale?: string; readonly region?: string; } interface FeatureReference { readonly id: string; readonly key: string; } interface FeatureReleaseForm { readonly released_at?: string; } interface FeatureStatusForm { readonly status: io.flow.internal.v0.enums.FeatureStatus; } interface FeatureTaskDataSyncFeature { readonly discriminator: 'feature_task_data_sync_feature'; readonly feature_id: string; } interface FeatureTaskDataSyncOrganization { readonly discriminator: 'feature_task_data_sync_organization'; readonly organization_id: string; } interface FeatureUpserted { readonly discriminator: 'feature_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly feature: io.flow.internal.v0.models.Feature; } interface FeatureValueForm { readonly feature_query: string; readonly context: io.flow.internal.v0.models.FeatureContextForm; } interface FeatureValueResult { readonly values: io.flow.internal.v0.unions.FeatureValue[]; } interface Fedex { readonly discriminator: 'fedex'; readonly key: string; readonly password: string; readonly account_number: string; readonly meter_number: string; } interface FedexApi { readonly discriminator: 'fedex_api'; readonly client_id: string; readonly client_secret: string; readonly account_number: string; } interface FedexCarrierLabelAttributes { readonly discriminator: 'fedex_carrier_label_attributes'; readonly origin_location_id?: string; readonly destination_location_id?: string; } interface FedexCrossborder { readonly discriminator: 'fedex_crossborder'; readonly api_key: string; readonly api_url: string; } interface Fee { readonly value: io.flow.common.v0.models.Price; readonly description?: string; } interface Fees { readonly processing?: io.flow.internal.v0.models.Fee; readonly rate_lock: io.flow.internal.v0.models.Fee; readonly mor?: io.flow.internal.v0.models.Fee; readonly tax?: io.flow.internal.v0.models.Fee; readonly duty?: io.flow.internal.v0.models.Fee; readonly tax_and_duty?: io.flow.internal.v0.models.Fee; readonly product?: io.flow.internal.v0.models.Fee; readonly tax_and_duty_fx_diff?: io.flow.internal.v0.models.Fee; readonly fx?: io.flow.internal.v0.models.Fee; readonly duty_guarantee?: io.flow.internal.v0.models.Fee; readonly transfer?: io.flow.internal.v0.models.Fee; readonly negative_balance?: io.flow.internal.v0.models.Fee; readonly sp?: io.flow.internal.v0.models.Fee; readonly revenue_share?: io.flow.internal.v0.models.Fee; } interface FinanceBankAccount { readonly id: string; readonly accounts: io.flow.internal.v0.models.AccountSummary[]; readonly last4: string; readonly info: io.flow.billing.bank.account.v0.unions.BankAccountInfo; readonly owner?: io.flow.internal.v0.models.FinanceBankAccountOwner; } interface FinanceBankAccountOwner { readonly name: string; } interface FinanceBankPayment { readonly id: string; readonly account: io.flow.internal.v0.models.AccountSummary; readonly last4?: string; readonly info?: io.flow.billing.bank.account.v0.unions.BankAccountInfo; readonly owner?: io.flow.internal.v0.models.FinanceBankAccountOwner; } interface FinancialMerchantCategory { readonly id: string; readonly iso_18245_4: string; readonly title: string; readonly category_group: string; readonly description?: string; } interface FiservAccount { readonly discriminator: 'fiserv_account'; readonly id: string; readonly organization_id: string; readonly key: string; readonly owner: io.flow.internal.v0.enums.Owner; readonly region: string; readonly authentication: io.flow.internal.v0.models.FiservAuthentication; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface FiservAccountModificationForm { readonly discriminator: 'fiserv_account_modification_form'; readonly owner: io.flow.internal.v0.enums.Owner; readonly region: string; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface FiservAccountPutForm { readonly discriminator: 'fiserv_account_put_form'; readonly owner?: io.flow.internal.v0.enums.Owner; readonly region: string; readonly authentication: io.flow.internal.v0.models.FiservAuthenticationForm; readonly country: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface FiservAuthentication { readonly public_key: string; readonly secret_key_reference: string; } interface FiservAuthenticationDataReference { readonly account_id: string; readonly store_id: string; } interface FiservAuthenticationForm { readonly public_key: string; readonly secret_key: string; } interface FiservMerchant { readonly discriminator: 'fiserv_merchant'; readonly id: string; readonly key: string; readonly organization_id: string; readonly external_id: string; readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference; readonly base_currency: string; readonly funding_currency: string; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface FiservMerchantModificationForm { readonly discriminator: 'fiserv_merchant_modification_form'; readonly external_id: string; readonly base_currency: string; readonly funding_currency: string; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface FiservMerchantPutForm { readonly discriminator: 'fiserv_merchant_put_form'; readonly organization_id: string; readonly external_id: string; readonly base_currency: string; readonly funding_currency: string; readonly country: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface FlatRate { readonly mail_class: io.flow.internal.v0.enums.MailClass; readonly carrier_id: string; readonly service_id: string; readonly price: io.flow.common.v0.models.Money; readonly free_shipping_threshold?: io.flow.common.v0.models.Money; readonly min_delivery_days?: number; readonly max_delivery_days?: number; } interface FlatRateLabelReversal { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly amount: io.flow.common.v0.models.Money; readonly tax: io.flow.common.v0.models.Money; } interface FlatRateLabelReversalDeleted { readonly discriminator: 'flat_rate_label_reversal_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FlatRateLabelReversalUpserted { readonly discriminator: 'flat_rate_label_reversal_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly flat_rate_label_reversal: io.flow.internal.v0.models.FlatRateLabelReversal; } interface FlatRateLabelSubsidy { readonly id: string; readonly source: io.flow.billing.v0.enums.TransactionSource; readonly organization_id: string; readonly order_number: string; readonly amount: io.flow.common.v0.models.Money; readonly tax: io.flow.common.v0.models.Money; } interface FlatRateLabelSubsidyDeleted { readonly discriminator: 'flat_rate_label_subsidy_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FlatRateLabelSubsidyUpserted { readonly discriminator: 'flat_rate_label_subsidy_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly flat_rate_label_subsidy: io.flow.internal.v0.models.FlatRateLabelSubsidy; } interface FlatRateLabelTransaction { readonly discriminator: 'flat_rate_label_transaction'; readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface FlatRateLabelTransactionDeleted { readonly discriminator: 'flat_rate_label_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface FlatRateLabelTransactionUpserted { readonly discriminator: 'flat_rate_label_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly flat_rate_label_transaction: io.flow.internal.v0.models.FlatRateLabelTransaction; } interface FlowAccount { readonly source: io.flow.internal.v0.models.AccountSource; readonly id: string; readonly key?: string; readonly origin?: io.flow.internal.v0.models.AccountOrigin; readonly currency: string; readonly updated_at: string; readonly timezone: io.flow.reference.v0.models.Timezone; readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule; readonly payment_conditions?: string; readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRule; readonly center_key?: string; readonly statistics: io.flow.internal.v0.models.AccountStatistics; readonly next_statement: io.flow.internal.v0.models.NextBillingStatement; readonly bank_account?: io.flow.internal.v0.models.BankAccountReference; readonly created_at: string; } interface FlowBillingStatement { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly period: io.flow.common.v0.models.DatetimeRange; readonly totals: io.flow.internal.v0.models.BillingStatementTotals; readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[]; } interface FlowChannelOrganization { readonly placeholder?: string; } interface FlowLabProject { readonly id: string; readonly key: string; readonly title: string; } interface FlowLabProjectPostForm { readonly key: string; readonly title: string; } interface FlowLabProjectPutForm { readonly title: string; } interface FlowLabelSetting { readonly id: string; readonly organization: string; readonly default_contents: string; } interface FlowLabelSettingForm { readonly organization: string; readonly default_contents: string; } interface FlowShopValidationError { readonly message: string; readonly reason: string; readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface FraudAuthorizationSummary { readonly fraud_review_authorization: io.flow.internal.v0.models.FraudReviewAuthorization; readonly fraud_pending_review_authorization?: io.flow.internal.v0.models.FraudPendingReviewAuthorization; readonly fraud_review_authorization_decision?: io.flow.internal.v0.models.FraudReviewAuthorizationDecision; } interface FraudPendingReview { readonly id: string; readonly fraud_review_id: string; readonly order: io.flow.experience.v0.models.OrderReference; readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference; readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus; readonly apply_at?: string; readonly liability?: io.flow.fraud.v0.enums.FraudLiability; } interface FraudPendingReviewAuthorization { readonly id: string; readonly fraud_review_authorization_id: string; readonly order: io.flow.experience.v0.models.OrderReference; readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference; readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus; readonly apply_at?: string; readonly liability?: io.flow.fraud.v0.enums.FraudLiability; } interface FraudPendingReviewAuthorizationDeleted { readonly discriminator: 'fraud_pending_review_authorization_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FraudPendingReviewAuthorizationUpserted { readonly discriminator: 'fraud_pending_review_authorization_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fraud_pending_review_authorization: io.flow.internal.v0.models.FraudPendingReviewAuthorization; } interface FraudPendingReviewDeleted { readonly discriminator: 'fraud_pending_review_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FraudPendingReviewDetail { readonly organization: io.flow.common.v0.models.OrganizationSummary; readonly fraud_review_id: string; readonly order: io.flow.experience.v0.models.OrderReference; readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus; readonly liability: io.flow.fraud.v0.enums.FraudLiability; readonly submitted_at: string; readonly customer: io.flow.common.v0.models.OrderCustomer; readonly destination: io.flow.experience.v0.models.OrderAddress; readonly amount: number; readonly currency: string; readonly details_url: string; readonly provider: io.flow.internal.v0.enums.FraudProvider; readonly apply_at?: string; readonly display: boolean; } interface FraudPendingReviewUpserted { readonly discriminator: 'fraud_pending_review_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly fraud_pending_review: io.flow.internal.v0.models.FraudPendingReview; } interface FraudProviderConfigurationDeleted { readonly discriminator: 'fraud_provider_configuration_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly configuration: io.flow.internal.v0.unions.FraudProviderConfiguration; } interface FraudProviderConfigurationFormRiskified { readonly discriminator: 'riskified'; readonly external_id: string; readonly status: io.flow.internal.v0.enums.FraudProviderStatus; } interface FraudProviderConfigurationRiskified { readonly discriminator: 'riskified'; readonly key: string; readonly external_id: string; readonly status: io.flow.internal.v0.enums.FraudProviderStatus; } interface FraudProviderConfigurationUpserted { readonly discriminator: 'fraud_provider_configuration_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly configuration: io.flow.internal.v0.unions.FraudProviderConfiguration; } interface FraudReview { readonly id: string; readonly organization_id: string; readonly order: io.flow.experience.v0.models.OrderReference; readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference; readonly status: io.flow.fraud.v0.enums.FraudStatus; readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty; readonly description?: string; readonly risk_evaluation?: io.flow.internal.v0.enums.RiskEvaluation; readonly liability?: io.flow.fraud.v0.enums.FraudLiability; readonly status_updated_at?: string; readonly attributes?: Record; readonly provider?: io.flow.internal.v0.enums.FraudProvider; readonly payment_authorization_id?: string; readonly decline_reason?: io.flow.internal.v0.unions.DeclineReason; readonly created_at?: string; } interface FraudReviewAuthorization { readonly id: string; readonly organization_id: string; readonly order: io.flow.experience.v0.models.OrderReference; readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference; readonly status: io.flow.fraud.v0.enums.FraudStatus; readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty; readonly description?: string; readonly risk_evaluation?: io.flow.internal.v0.enums.RiskEvaluation; readonly liability?: io.flow.fraud.v0.enums.FraudLiability; readonly status_updated_at?: string; readonly attributes?: Record; readonly provider?: io.flow.internal.v0.enums.FraudProvider; readonly payment_authorization_id?: string; readonly decline_reason?: io.flow.internal.v0.unions.DeclineReason; readonly created_at?: string; } interface FraudReviewAuthorizationDecision { readonly id: string; readonly fraud_review_authorization_id: string; readonly order: io.flow.experience.v0.models.OrderReference; readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference; readonly status: io.flow.fraud.v0.enums.FraudStatus; readonly created_at: string; readonly liability?: io.flow.fraud.v0.enums.FraudLiability; readonly updated_by_user?: io.flow.common.v0.models.UserReference; } interface FraudReviewAuthorizationDecisionDeleted { readonly discriminator: 'fraud_review_authorization_decision_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FraudReviewAuthorizationDecisionUpserted { readonly discriminator: 'fraud_review_authorization_decision_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fraud_review_authorization_decision: io.flow.internal.v0.models.FraudReviewAuthorizationDecision; } interface FraudReviewAuthorizationDeleted { readonly discriminator: 'fraud_review_authorization_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FraudReviewAuthorizationUpserted { readonly discriminator: 'fraud_review_authorization_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fraud_review_authorization: io.flow.internal.v0.models.FraudReviewAuthorization; } interface FraudReviewDecision { readonly id: string; readonly fraud_review_id: string; readonly order: io.flow.experience.v0.models.OrderReference; readonly fraud_order_reference?: io.flow.fraud.v0.unions.FraudOrderReference; readonly status: io.flow.fraud.v0.enums.FraudStatus; readonly created_at: string; readonly liability?: io.flow.fraud.v0.enums.FraudLiability; readonly updated_by_user?: io.flow.common.v0.models.UserReference; } interface FraudReviewDecisionDeleted { readonly discriminator: 'fraud_review_decision_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FraudReviewDecisionForm { readonly status: io.flow.fraud.v0.enums.FraudStatus; } interface FraudReviewDecisionUpserted { readonly discriminator: 'fraud_review_decision_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly fraud_review_decision: io.flow.internal.v0.models.FraudReviewDecision; } interface FraudReviewDeleted { readonly discriminator: 'fraud_review_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface FraudReviewUpserted { readonly discriminator: 'fraud_review_upserted'; readonly event_id: string; readonly timestamp: string; readonly fraud_review: io.flow.internal.v0.models.FraudReview; } interface FraudReviewVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly fraud_review: io.flow.internal.v0.models.FraudReview; } interface FraudSummary { readonly discriminator: 'fraud_summary'; readonly fraud_review: io.flow.internal.v0.models.FraudReview; readonly fraud_pending_review?: io.flow.internal.v0.models.FraudPendingReview; readonly fraud_review_decision?: io.flow.internal.v0.models.FraudReviewDecision; readonly fraud_review_authorizations?: io.flow.internal.v0.models.FraudAuthorizationSummary[]; } interface FtpFileDeleted { readonly discriminator: 'ftp_file_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FtpFileToProcessUploaded { readonly discriminator: 'ftp_file_to_process_uploaded'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ftp_file: io.flow.ftp.v0.models.FtpFile; readonly emails: string[]; } interface FtpFileUpserted { readonly discriminator: 'ftp_file_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ftp_file: io.flow.ftp.v0.models.FtpFile; } interface Fulfillment { readonly id: string; readonly order: io.flow.internal.v0.models.OrderSummary; readonly shopper: io.flow.internal.v0.models.ShopperSummary; readonly remittance: io.flow.internal.v0.models.RemittanceResponsibility; readonly payment?: io.flow.internal.v0.models.PaymentSummary; readonly merchant: io.flow.internal.v0.models.MerchantSummary; readonly sequence_number: number; readonly posting_cutoff: string; readonly trigger?: io.flow.internal.v0.unions.FulfillmentTrigger; readonly fulfilled_at: string; readonly carrier?: io.flow.internal.v0.models.FulfillmentCarrier; readonly owner: io.flow.internal.v0.enums.ResponsibleParty; readonly origin?: io.flow.internal.v0.models.FulfillmentOrigin; readonly business?: io.flow.internal.v0.models.FulfillmentBusiness; readonly completes_order: boolean; } interface FulfillmentActionForm { readonly discriminator: 'fulfillment_action_form'; readonly fulfillment_key: string; readonly actions: io.flow.internal.v0.models.LineActionQuantities[]; } interface FulfillmentBusiness { readonly vat_registration_number: string; } interface FulfillmentCarrier { readonly id: string; readonly service_id?: string; readonly tracking_number?: string; } interface FulfillmentDeleted { readonly discriminator: 'fulfillment_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FulfillmentFallbacks { readonly id: string; readonly packaging: io.flow.fulfillment.v0.models.Packaging[]; readonly contact: io.flow.common.v0.models.Contact; readonly location?: io.flow.common.v0.models.Address; } interface FulfillmentFallbacksDeleted { readonly discriminator: 'fulfillment_fallbacks_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FulfillmentFallbacksUpserted { readonly discriminator: 'fulfillment_fallbacks_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fulfillment_fallbacks: io.flow.internal.v0.models.FulfillmentFallbacks; } interface FulfillmentOrigin { readonly country: string; readonly province_code?: string; } interface FulfillmentProofExternalFulfillmentProofReference { readonly discriminator: 'external_fulfillment'; readonly id: string; readonly carrier_id?: string; readonly carrier_service_id?: string; readonly carrier_tracking_number?: string; readonly label_id?: string; readonly created_at?: string; } interface FulfillmentProofLabelTrackingReference { readonly discriminator: 'label_tracking'; readonly id: string; readonly carrier_id?: string; readonly carrier_service_id?: string; readonly carrier_tracking_number?: string; readonly label_id?: string; readonly created_at?: string; } interface FulfillmentProofOrderCombinedShipmentReference { readonly discriminator: 'order_combined_shipment'; readonly id: string; readonly carrier_id?: string; readonly carrier_service_id?: string; readonly carrier_tracking_number?: string; readonly label_id?: string; readonly created_at?: string; } interface FulfillmentProofShippingNotificationReference { readonly discriminator: 'shipping_notification'; readonly id: string; readonly carrier_id?: string; readonly carrier_service_id?: string; readonly carrier_tracking_number?: string; readonly label_id?: string; readonly created_at?: string; } interface FulfillmentReference { readonly id: string; } interface FulfillmentShopperBreakdown { readonly shipping: io.flow.internal.v0.models.ReportingMonetaryValue; readonly fees: io.flow.internal.v0.models.ReportingShopperFees; readonly product: io.flow.internal.v0.models.ReportingMonetaryValue; readonly subtotal: io.flow.internal.v0.models.ReportingMonetaryValue; readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue; readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue; readonly tips?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly discount: io.flow.internal.v0.models.ReportingMonetaryValue; readonly total: io.flow.internal.v0.models.ReportingMonetaryValue; } interface FulfillmentStatusDeleted { readonly discriminator: 'fulfillment_status_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FulfillmentStatusSummary { readonly id: string; readonly order_number: string; readonly organization_id: string; readonly fulfilled_at: string; readonly sequence_number: number; readonly completes_order: boolean; readonly trigger?: io.flow.internal.v0.unions.FulfillmentTrigger; } interface FulfillmentStatusUpserted { readonly discriminator: 'fulfillment_status_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fulfillment: io.flow.internal.v0.models.FulfillmentStatusSummary; } interface FulfillmentSubsidyBreakdown { readonly tax: number; readonly duty: number; readonly total: number; } interface FulfillmentTriggerProof { readonly discriminator: 'by_proof'; readonly proof: io.flow.internal.v0.unions.FulfillmentProof; } interface FulfillmentTriggerTime { readonly discriminator: 'by_time'; readonly placeholder?: string; } interface FulfillmentUpserted { readonly discriminator: 'fulfillment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fulfillment: io.flow.internal.v0.models.Fulfillment; } interface FxFee { readonly base: io.flow.common.v0.models.Money; readonly local: io.flow.common.v0.models.Money; } interface FxRevenueRecognition { readonly id: string; readonly organization: io.flow.internal.v0.models.FxRevenueRecognitionOrganization; readonly account: io.flow.internal.v0.models.FxRevenueRecognitionAccount; readonly fx: io.flow.internal.v0.models.FxFee; readonly spot_rate: io.flow.internal.v0.models.FxRevenueRecognitionRate; readonly created_at: string; readonly order: io.flow.internal.v0.models.FxRevenueRecognitionOrder; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; readonly source: io.flow.internal.v0.models.FxRevenueRecognitionSource; readonly reporting_date?: string; } interface FxRevenueRecognitionAccount { readonly value: io.flow.common.v0.models.Money; readonly spot_rate: io.flow.internal.v0.models.FxRevenueRecognitionAccountRate; } interface FxRevenueRecognitionAccountRate { readonly value: number; } interface FxRevenueRecognitionOrder { readonly number: string; readonly submitted_at: string; } interface FxRevenueRecognitionOrganization { readonly id: string; } interface FxRevenueRecognitionRate { readonly value: number; readonly margin: number; readonly timestamp: string; } interface FxRevenueRecognitionSource { readonly id: string; readonly local: io.flow.common.v0.models.Money; readonly transaction_created_at: string; } interface GabrielItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.GabrielItemType; readonly added_on: string; } interface GabrielItemDeleted { readonly discriminator: 'gabriel_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface GabrielItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.GabrielItemType; readonly added_on: string; } interface GabrielItemUpserted { readonly discriminator: 'gabriel_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly item: io.flow.internal.v0.models.GabrielItem; } interface GeRevenueShareTransaction { readonly discriminator: 'ge_revenue_share_transaction'; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly ge_revenue_share: io.flow.internal.v0.models.Fee; readonly capture_id: string; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface GeRevenueShareTransactionDeleted { readonly discriminator: 'ge_revenue_share_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface GeRevenueShareTransactionUpserted { readonly discriminator: 'ge_revenue_share_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly ge_revenue_share_transaction: io.flow.internal.v0.models.GeRevenueShareTransaction; } interface GenerateLoadMultipleOrgs { readonly discriminator: 'generate_load_multiple_orgs'; readonly organization_ids: string[]; readonly num_events: number; } interface GenerateLoadRate { readonly organization_ids: string[]; readonly events_per_second: number; readonly duration_seconds: number; } interface GenerateLoadSingleOrg { readonly discriminator: 'generate_load_single_org'; readonly organization_id: string; readonly num_events: number; } interface GenericValidationError { readonly message: string; readonly reason: string; readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface GiftCard { readonly id: string; readonly number: string; readonly pin?: string; readonly balance: io.flow.common.v0.models.Price; readonly display_label: string; readonly applied_balance: io.flow.common.v0.models.Price; } interface GiftCardAuthorizationError { readonly code: io.flow.error.v0.enums.GenericErrorCode; readonly messages: string[]; readonly gift_card_program: io.flow.internal.v0.models.GiftCardProgram; } interface GiftCardForm { readonly number: string; readonly pin?: string; } interface GiftCardProgram { readonly title: string; readonly input_specification?: io.flow.common.v0.models.InputFormSpecification; readonly cards: io.flow.internal.v0.models.GiftCard[]; } interface GoogleAnalytics { readonly discriminator: 'google_analytics'; readonly name?: string; readonly tracker_id: string; readonly plugins: io.flow.internal.v0.enums.GoogleAnalyticsPlugin[]; readonly linker?: io.flow.internal.v0.models.GoogleLinker; } interface GoogleGlobalSiteTag { readonly discriminator: 'google_global_site_tag'; readonly name?: string; readonly tracker_id: string; readonly linker?: io.flow.internal.v0.models.GoogleLinker; } interface GoogleLinker { readonly domains: string[]; } interface GoogleShoppingAccountParameters { readonly website_url: string; } interface GoogleShoppingSetting { readonly id: string; readonly merchant_id: string; readonly created_by_email: string; } interface GoogleTagManager { readonly discriminator: 'google_tag_manager'; readonly tracker_id: string; } interface GuaranteedShippingCalibratedOutput { readonly id: string; readonly organization_id: string; readonly channel_id: string; readonly destination_country: string; readonly coefficient: number; readonly flat_rates: io.flow.internal.v0.models.FlatRate[]; readonly effective_at: string; readonly subsidy_previews?: io.flow.internal.v0.models.SubsidyPreview[]; } interface GuaranteedShippingCalibratedOutputDeleted { readonly discriminator: 'guaranteed_shipping_calibrated_output_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface GuaranteedShippingCalibratedOutputUpserted { readonly discriminator: 'guaranteed_shipping_calibrated_output_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly guaranteed_shipping_calibrated_output: io.flow.internal.v0.models.GuaranteedShippingCalibratedOutput; } interface GuaranteedShippingCalibration { readonly channel_id: string; readonly organization_id: string; readonly destination_country?: string; } interface GuaranteedShippingCalibrationForm { readonly lanes: io.flow.internal.v0.models.GuaranteedShippingCalibrationLaneForm[]; } interface GuaranteedShippingCalibrationLaneForm { readonly channel_id: string; readonly organization_id: string; readonly destination_country?: string; } interface GuaranteedShippingOrderGuarantee { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly guarantee_state: io.flow.internal.v0.enums.GuaranteedShippingOrderGuaranteeState; readonly label_id?: string; readonly notification_id?: string; readonly decided_at?: string; } interface GuaranteedShippingOrderGuaranteeDeleted { readonly discriminator: 'guaranteed_shipping_order_guarantee_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface GuaranteedShippingOrderGuaranteeUpserted { readonly discriminator: 'guaranteed_shipping_order_guarantee_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly guaranteed_shipping_order_guarantee: io.flow.internal.v0.models.GuaranteedShippingOrderGuarantee; } interface GuaranteedShippingPublication { readonly channel_id: string; readonly organization_id: string; readonly destination_country: string; readonly inputs_updated_at: string; readonly status: io.flow.internal.v0.enums.GuaranteedShippingPublicationStatus; } interface GuaranteedShippingPublicationForm { readonly lanes: io.flow.internal.v0.models.GuaranteedShippingPublicationLaneForm[]; } interface GuaranteedShippingPublicationLaneForm { readonly channel_id: string; readonly organization_id: string; readonly destination_country: string; readonly inputs_updated_at: string; } interface GuaranteedShippingPublishedOutput { readonly id: string; readonly organization_id: string; readonly channel_id: string; readonly destination_country: string; readonly coefficient: number; readonly flat_rates: io.flow.internal.v0.models.FlatRate[]; readonly merchant_subsidy: io.flow.common.v0.models.Money; readonly subsidy_previews?: io.flow.internal.v0.models.SubsidyPreview[]; readonly coefficients_source_updated_at: number; readonly outbound_shipping_cost_source_updated_at: number; readonly average_order_value_source_updated_at: number; readonly target_flat_rates_source_updated_at: number; readonly published_at: number; } interface GuaranteedShippingPublishedOutputDeleted { readonly discriminator: 'guaranteed_shipping_published_output_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface GuaranteedShippingPublishedOutputUpserted { readonly discriminator: 'guaranteed_shipping_published_output_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly guaranteed_shipping_published_output: io.flow.internal.v0.models.GuaranteedShippingPublishedOutput; } interface GuaranteedShippingSettings { readonly coefficients_updated_at: number; readonly channel_id: string; readonly organization_id: string; readonly destination_country: string; readonly tax_and_duty_coefficient: number; readonly fees_coefficient: number; readonly merchant_subsidy: io.flow.common.v0.models.Money; readonly created_at: number; readonly guaranteed_pricing_enabled: boolean; readonly guaranteed_shipping_enabled: boolean; } interface GuaranteedShippingSettingsDeleted { readonly discriminator: 'guaranteed_shipping_settings_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly id: string; } interface GuaranteedShippingSettingsDestinationUpdate { readonly country: string; readonly updated_at: string; readonly tax_and_duty_coefficient: number; readonly fees_coefficient: number; readonly merchant_subsidy: io.flow.common.v0.models.Money; readonly guaranteed_pricing_enabled: boolean; readonly guaranteed_shipping_enabled: boolean; } interface GuaranteedShippingSettingsUpdate { readonly channel_id: string; readonly organization_id: string; readonly destination_updates: io.flow.internal.v0.models.GuaranteedShippingSettingsDestinationUpdate[]; } interface GuaranteedShippingSettingsUpdateDeleted { readonly discriminator: 'guaranteed_shipping_settings_update_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly id: string; } interface GuaranteedShippingSettingsUpdateUpserted { readonly discriminator: 'guaranteed_shipping_settings_update_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly guaranteed_shipping_settings_update: io.flow.internal.v0.models.GuaranteedShippingSettingsUpdate; } interface GuaranteedShippingSettingsUpserted { readonly discriminator: 'guaranteed_shipping_settings_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly guaranteed_shipping_settings: io.flow.internal.v0.models.GuaranteedShippingSettings; } interface HarmonizationClassificationStatisticsData { readonly statistics: io.flow.internal.v0.models.ClassificationStatistics; } interface HarmonizationClassificationStatisticsPublished { readonly discriminator: 'harmonization_classification_statistics_published'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly data: io.flow.internal.v0.models.HarmonizationClassificationStatisticsData; } interface HarmonizationCodesImport { readonly discriminator: 'harmonization_codes_import'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly import_id: string; readonly source_url: string; readonly filename?: string; } interface HarmonizationColumnSetting { readonly column: string; readonly position: number; readonly displayed: boolean; } interface HarmonizationItemClassification { readonly id: string; readonly organization_id: string; readonly item_summary: io.flow.internal.v0.models.HarmonizationItemSummary; readonly customs_description: string; readonly status: io.flow.internal.v0.enums.ItemClassificationStatus; readonly ml_model: io.flow.internal.v0.models.HarmonizationMlModelSummary; readonly labels?: io.flow.internal.v0.models.ProductLabels; readonly created_at: string; readonly updated_at: string; readonly updated_by_user_id: string; readonly hs6_code?: string; readonly hs6_description?: string; } interface HarmonizationItemSummary { readonly number: string; readonly product_id?: string; readonly product_name?: string; } interface HarmonizationMlModelSummary { readonly id?: string; readonly customs_description?: string; readonly score?: number; } interface HarmonizationThreshold { readonly id: string; readonly chapter: number; readonly value: number; readonly updated_at: string; } interface HarmonizationThresholdForm { readonly chapter: number; readonly value: number; } interface HarmonizationUnclassifiedStatistics { readonly organization: io.flow.common.v0.models.OrganizationSummary; readonly statistics: io.flow.internal.v0.models.UnclassifiedProductStatistic[]; } interface HarmonizeFullyRequestV2 { readonly discriminator: 'harmonize_fully_request_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly item_number: string; } interface HarmonizedItemsHs6Export { readonly discriminator: 'harmonized_items_hs6_export'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly export_id: string; } interface Hs6 { readonly code: string; readonly description: string; } interface Hs6Metadata { readonly description?: string; readonly classification_source?: io.flow.internal.v0.enums.ClassificationSource; } interface ImportCompleted { readonly discriminator: 'import_completed'; readonly event_id: string; readonly timestamp: string; readonly import_id: string; readonly number_successful: number; readonly number_errors: number; readonly results_url?: string; } interface ImportFailed { readonly discriminator: 'import_failed'; readonly event_id: string; readonly timestamp: string; readonly import_id: string; readonly error: string; } interface InternalAdyenAuthorizationDetails { readonly discriminator: 'internal_adyen_authorization_details'; readonly adyen_authentication_data: io.flow.internal.v0.models.AdyenAuthenticationDataReference; } interface InternalAfterpayAuthorizationDetails { readonly discriminator: 'internal_afterpay_authorization_details'; readonly afterpay_authentication_data: io.flow.internal.v0.models.AfterpayAuthenticationDataReference; } interface InternalAuthorization { readonly id: string; readonly processor: io.flow.internal.v0.enums.Processor; } interface InternalAuthorizationDeleted { readonly discriminator: 'internal_authorization_deleted'; readonly event_id: string; readonly timestamp: string; readonly internal_authorization: io.flow.internal.v0.models.InternalAuthorization; } interface InternalAuthorizationUpserted { readonly discriminator: 'internal_authorization_upserted'; readonly event_id: string; readonly timestamp: string; readonly internal_authorization: io.flow.internal.v0.models.InternalAuthorization; } interface InternalBitpayAuthorizationDetails { readonly discriminator: 'internal_bitpay_authorization_details'; readonly bitpay_authentication_data: io.flow.internal.v0.models.BitpayAuthenticationDataReference; } interface InternalChannelRate { readonly id: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly base: string; readonly target: string; readonly effective_at: string; readonly spot_rate: number; readonly flow_margin: number; readonly flow_rate: number; readonly rate_lock: io.flow.common.v0.models.Duration; } interface InternalChannelRateDeleted { readonly discriminator: 'internal_channel_rate_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface InternalChannelRateUpserted { readonly discriminator: 'internal_channel_rate_upserted'; readonly event_id: string; readonly timestamp: string; readonly rate: io.flow.internal.v0.models.InternalChannelRate; } interface InternalDebugTransaction { readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails; readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued; } interface InternalExclusionRuleForm { readonly id: string; readonly export_id: string; readonly states?: io.flow.catalog.exclusion.v0.enums.ExclusionRuleState[]; readonly sort?: string; } interface InternalFiservAuthorizationDetails { readonly discriminator: 'internal_fiserv_authorization_details'; readonly fiserv_authentication_data: io.flow.internal.v0.models.FiservAuthenticationDataReference; } interface InternalItem { readonly id: string; readonly organization: string; readonly catalog: string; readonly name: string; readonly number: string; readonly currency: string; readonly price: number; readonly categories: string[]; readonly attributes: Record; readonly sku?: string; readonly barcode?: string; } interface InternalItemForm { readonly id: string; readonly item_form: io.flow.catalog.v0.models.ItemForm; } interface InternalOrder { readonly order: io.flow.experience.v0.models.Order; readonly session?: io.flow.common.v0.models.SessionReference; readonly rates: io.flow.internal.v0.models.RateDataV3[]; readonly environment?: io.flow.common.v0.enums.Environment; readonly discount?: io.flow.common.v0.models.Money; } interface InternalPaymentRequest { readonly payment_request: io.flow.payment.gateway.v0.models.PaymentRequest; readonly actual_action?: io.flow.payment.gateway.v0.unions.Action; } interface InternalPaymentRequestVerification { readonly placeholder?: string; } interface InternalPaypalAuthorizationDetails { readonly discriminator: 'internal_paypal_authorization_details'; readonly paypal_authentication_data: io.flow.internal.v0.models.PaypalAccountReference; } interface InternalStripeAuthorizationDetails { readonly discriminator: 'internal_stripe_authorization_details'; readonly stripe_authentication_data: io.flow.internal.v0.models.StripeAuthenticationDataReference; } interface InternalTransactionDetailsCard { readonly type: 'card'; readonly address_verification_result?: io.flow.payment.v0.models.AddressVerificationResult; readonly cvv_result?: io.flow.payment.v0.models.CvvResult; readonly network_details?: io.flow.payment.v0.models.TransactionNetworkDetailsCard; } interface Invariant { readonly name: string; readonly count: number; readonly fired_at: string; readonly sql: string; } interface InventoryItemWrapper { readonly inventory_item_id: number; readonly shopify_shop_id: number; readonly shopify_inventory_item: io.flow.shopify.external.v0.models.ShopifyInventoryItemSummary; readonly deleted_at?: string; } interface Invoice { readonly id: string; readonly number: string; readonly date: string; readonly terms: io.flow.internal.v0.enums.PaymentTerm; readonly due_date: string; readonly lines: io.flow.internal.v0.models.InvoiceLine[]; readonly total: io.flow.common.v0.models.Price; } interface InvoiceData { readonly organization_id: string; readonly order_number: string; readonly invoice_reference: string; readonly signature_url: string; readonly signature_date: string; readonly signature_name: string; readonly line_items: io.flow.internal.v0.models.InvoiceDataLineItem[]; readonly currency: io.flow.reference.v0.models.Currency; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly delivered_duty_text: string; readonly transaction_date: string; readonly origin: io.flow.internal.v0.models.ValidatedAddress; readonly destination: io.flow.internal.v0.models.ValidatedAddress; readonly billing_address?: io.flow.internal.v0.models.ValidatedAddress; readonly service: io.flow.reference.v0.models.CarrierService; readonly flow_tracking_number: string; readonly rex_number?: string; readonly weee_number?: string; readonly business_gst_numbers: io.flow.internal.v0.models.EntityReferenceNumber[]; readonly destination_identification_numbers?: io.flow.internal.v0.models.EntityReferenceNumber[]; readonly vat_name: string; readonly item_identifier_column_name: string; readonly feature_show_merchant_id: boolean; readonly shipping_pricing: io.flow.internal.v0.models.ShippingPricing; readonly shipment_recipient?: io.flow.label.v0.enums.ShipmentRecipient; readonly eu_preferential_origin?: string; readonly customs_master_file_number?: string; readonly merchant_of_record_entity?: io.flow.common.v0.models.MerchantOfRecordEntity; readonly weight_measured?: string; readonly notes_export_declaration?: string; readonly notes_import_duty_taxes_due?: string; readonly invoice_id: string; readonly invoice_date: string; readonly invoice_number?: string; readonly invoice_version: io.flow.internal.v0.enums.CommercialInvoiceVersion; readonly shipping_price: number; readonly goods_value: number; readonly total_taxes: number; readonly total_duties: number; readonly customs_value: number; readonly total_value: number; readonly usa_exporter_identifier_number_if_value_over_threshold?: string; } interface InvoiceDataLineItem { readonly i: number; readonly number: string; readonly quantity: number; readonly description: string; readonly tariff_code: string; readonly country_of_origin: string; readonly display_country_of_origin: string; readonly remitter: io.flow.internal.v0.enums.TaxParty; readonly gst_paid_text: string; readonly unit_price: number; readonly vat_price: number; readonly duty_price: number; readonly discount_price: number; readonly total_price: number; readonly export_control_classification_number: string; readonly manufacturer_id?: string; readonly display_number: string; readonly item_type?: string; readonly construction?: string; readonly gender?: string; readonly material?: string; readonly url?: string; readonly preferential_rate_statement?: string; readonly merchant_product_id?: string; readonly standardized_product_id?: string; readonly nonstandardized_manufacturer_product_id?: string; } interface InvoiceInfoForm { readonly invoice_number: string; readonly invoice_date: string; readonly currency_code: string; readonly invoice_amount: string; readonly control_id?: string; } interface InvoiceLine { readonly id: string; readonly description: string; readonly value: io.flow.common.v0.models.Price; } interface InvoiceLineItem { readonly number: string; readonly description: string; readonly quantity: number; readonly tariff_code: string; readonly gst_exemption_code: string; readonly country_of_origin: string; readonly unit_price: number; readonly total_price: number; readonly manufacturer_id?: string; readonly export_control_classification_number: string; readonly preferential_rate_statement?: string; } interface InvoiceTransaction { readonly discriminator: 'invoice_transaction'; readonly invoice: io.flow.internal.v0.models.Invoice; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface Issuer { readonly id: string; readonly iin: string; readonly name?: string; readonly country?: string; readonly brand?: string; readonly type?: string; readonly category?: string; readonly website?: string; readonly phone?: string; } interface IssuerDeleted { readonly discriminator: 'issuer_deleted'; readonly event_id: string; readonly timestamp: string; readonly issuer: io.flow.internal.v0.models.Issuer; } interface IssuerUpserted { readonly discriminator: 'issuer_upserted'; readonly event_id: string; readonly timestamp: string; readonly issuer: io.flow.internal.v0.models.Issuer; } interface ItemClassification { readonly id?: string; readonly organization: string; readonly uid: string; readonly action: io.flow.internal.v0.enums.SuggestionAction; readonly main_material: Record; readonly gender: Record; readonly construction: Record; readonly item: Record; readonly model_id: string; } interface ItemClassificationForm { readonly organization: string; readonly uid: string; readonly name: string; readonly description: string; readonly categories: string[]; readonly attributes?: Record; } interface ItemClassificationSummary { readonly item: io.flow.common.v0.models.CatalogItemSummary; readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus; readonly origin?: string; readonly hs6?: string; readonly customs_description?: string; } interface ItemClassificationV2 { readonly uid: string; readonly prediction: io.flow.internal.v0.models.Prediction; readonly score: number; readonly action: io.flow.internal.v0.enums.SuggestionAction; readonly model_id: string; } interface ItemCustomsDetails { readonly item_number: string; readonly product_title?: string; readonly sanitized_product_title?: string; readonly sanitized_rule_ids?: string[]; readonly sub_item_number?: string; readonly customs_description?: string; readonly origin: string; readonly hs6?: string; readonly hs_description?: string; readonly tariff_code?: string; readonly duty: io.flow.price.v0.models.Duty; readonly price_composition_rate: number; readonly duty_composition_rate: number; readonly export_control_classification_number?: string; readonly labels?: io.flow.internal.v0.models.CustomsProductLabels; readonly applicable_preferential_rate?: io.flow.internal.v0.enums.ApplicablePreferentialRate; } interface ItemDimensionEstimate { readonly id: string; readonly item: io.flow.common.v0.models.ItemReference; readonly q: string; readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions; } interface ItemFilterResponse { readonly filter: string; readonly responses: io.flow.internal.v0.models.ItemFilterValueResponse[]; } interface ItemFilterValueResponse { readonly value: string; readonly items: io.flow.catalog.v0.models.Item[]; } interface ItemFilterValuesForm { readonly filter: string; readonly values: string[]; } interface ItemFormImportRequest { readonly discriminator: 'item_form_import_request'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly internal_item_form: io.flow.internal.v0.models.InternalItemForm; } interface ItemHarmonization { readonly id: string; readonly organization_id: string; readonly item_number: string; readonly item_name?: string; readonly item_attributes?: Record; readonly product_id?: string; readonly phrase_id?: string; readonly customs_description?: string; readonly primary_country_of_origin?: string; readonly countries_of_origin?: string[]; readonly hs6?: string; readonly item_type?: io.flow.internal.v0.enums.ItemType; readonly price_amount?: number; readonly status: io.flow.internal.v0.enums.ItemHarmonizationStatus; readonly tariffs?: Record< string, io.flow.internal.v0.models.TariffCodeDuty >; readonly decision_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource; readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope; readonly classification_resource_id?: string; readonly taxonomy_category_classification_alignment?: io.flow.internal.v0.enums.TaxonomyCategoryClassificationAlignment; readonly created_at?: string; readonly updated_at?: string; readonly updated_by_user_id?: string; } interface ItemHarmonizationDeleted { readonly discriminator: 'item_harmonization_deleted'; readonly event_id: string; readonly timestamp: string; readonly item_harmonization: io.flow.internal.v0.models.ItemHarmonization; } interface ItemHarmonizationUpserted { readonly discriminator: 'item_harmonization_upserted'; readonly event_id: string; readonly timestamp: string; readonly item_harmonization: io.flow.internal.v0.models.ItemHarmonization; } interface ItemHs6 { readonly item_number: string; readonly product_id?: string; readonly hs6: string; readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope; readonly classification_resource_id?: string; } interface ItemHs6Override { readonly item_number: string; readonly hs6: string; readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope; } interface ItemHs6OverrideForm { readonly item_number: string; readonly hs6: string; readonly hs6_description?: string; } interface ItemHs6OverrideRejection { readonly item_number: string; readonly message: string; } interface ItemHs6OverrideResult { readonly applied: io.flow.internal.v0.models.ItemHs6Override[]; readonly rejected: io.flow.internal.v0.models.ItemHs6OverrideRejection[]; } interface ItemHs6OverridesForm { readonly items: io.flow.internal.v0.models.ItemHs6OverrideForm[]; } interface ItemQueryResponse { readonly q: string; readonly items: io.flow.catalog.v0.models.Item[]; } interface ItemRestriction { readonly id: string; readonly organization: string; readonly item: io.flow.common.v0.models.CatalogItemSummary; readonly regions: io.flow.reference.v0.models.Region[]; } interface ItemRestrictionPostForm { readonly item_numbers: string[]; readonly regions: string[]; } interface ItemRestrictionPutForm { readonly item_number: string; readonly regions: string[]; } interface ItemRestrictionVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly item_restriction: io.flow.internal.v0.models.ItemRestriction; } interface ItemSalesMargin { readonly id: string; readonly key: string; readonly name: string; readonly q: string; readonly fixed: number; readonly percent: number; readonly position: number; } interface ItemSalesMarginDeleted { readonly discriminator: 'item_sales_margin_deleted'; readonly event_id: string; readonly timestamp: string; readonly item_sales_margin_id: string; readonly organization_id: string; readonly experience_key: string; } interface ItemSalesMarginPostForm { readonly name: string; readonly q: string; readonly key: string; readonly fixed?: number; readonly percent?: number; readonly position?: number; } interface ItemSalesMarginPutForm { readonly name: string; readonly q: string; readonly fixed?: number; readonly percent?: number; readonly position?: number; } interface ItemSalesMarginUpserted { readonly discriminator: 'item_sales_margin_upserted'; readonly event_id: string; readonly timestamp: string; readonly item_sales_margin_id: string; readonly organization_id: string; readonly experience_key: string; readonly name: string; readonly q: string; readonly fixed: number; readonly percent: number; readonly position: number; } interface ItemSalesMarginVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly item_sales_margin: io.flow.internal.v0.models.ItemSalesMargin; } interface ItemSummary { readonly number: string; readonly fulfillment_method: io.flow.catalog.v0.enums.FulfillmentMethodValue; readonly country_of_origin?: string; readonly tarriff_code?: string; readonly inferred?: boolean; } interface ItemValuesForm { readonly values: string[]; } interface JohnStrongItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.JohnStrongItemType; readonly added_on: string; } interface JohnStrongItemDeleted { readonly discriminator: 'john_strong_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface JohnStrongItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.JohnStrongItemType; readonly added_on: string; } interface JohnStrongItemUpserted { readonly discriminator: 'john_strong_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly item: io.flow.internal.v0.models.JohnStrongItem; } interface Journal { readonly name: string; readonly queued: number; readonly failed: number; } interface JournalFailure { readonly journal_id: number; readonly operation: io.flow.internal.v0.enums.JournalOperation; readonly created_at: string; readonly failed_at: string; readonly error: string; readonly organization_id?: string; } interface Key { readonly id: string; readonly created_at: string; } interface KeyReference { readonly id: string; } interface KeywordCancelling { readonly positive_keyword: string; readonly negative_keywords: string[]; } interface KlarnaAuthorizationParameters { readonly discriminator: 'klarna_authorization_parameters'; readonly client_token: string; readonly payment_method_categories: io.flow.internal.v0.models.KlarnaPaymentMethodCategory[]; } interface KlarnaPaymentMethodCategory { readonly id: string; readonly name?: string; readonly standard_asset_urls?: string; readonly descriptive_asset_urls?: string; } interface LabProjectSettings { readonly id: string; readonly flow_lab_project_key: string; readonly terms?: io.flow.internal.v0.models.Acceptance; } interface LabProjectSettingsForm { readonly terms?: io.flow.internal.v0.models.LabProjectSettingsFormAcceptance; } interface LabProjectSettingsFormAcceptance { readonly accepted: boolean; } interface LabelAliases { readonly name: string; readonly aliases: string[]; } interface LabelAssociation { readonly items: Record; readonly genders: Record; readonly materials: Record; readonly constructions: Record; } interface LabelCreationJob { readonly id: string; readonly reference_id: string; readonly status: io.flow.internal.v0.enums.LabelCreationStatus; readonly label_url?: string; readonly commercial_invoice_url?: string; readonly service_id?: string; readonly carrier_tracking_number?: string; readonly flow_tracking_number?: string; readonly label_id?: string; readonly errors: string[]; } interface LabelCreationJobDeleted { readonly discriminator: 'label_creation_job_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface LabelCreationJobSummary { readonly reference_id: string; readonly status: io.flow.internal.v0.enums.LabelCreationStatus; } interface LabelCreationJobUpserted { readonly discriminator: 'label_creation_job_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly label_creation_job: io.flow.internal.v0.models.LabelCreationJob; } interface LabelCreationRequestForm { readonly organization: string; readonly shipping_label_form: io.flow.label.v0.unions.ShippingLabelForm; readonly shipment_cost?: io.flow.common.v0.models.Money; readonly charges?: io.flow.internal.v0.models.ChargeInput[]; readonly reference_id?: string; } interface LabelDestination { readonly country: string; readonly postal?: string; } interface LabelInvoiceRequest { readonly id: string; readonly label: io.flow.internal.v0.models.TrueupLabelSummary; readonly units: io.flow.trueup.v0.models.LabelUnits; readonly base: io.flow.trueup.v0.models.LabelBase; readonly surcharges: io.flow.trueup.v0.models.LabelSurcharge[]; readonly total: number; readonly destination: io.flow.internal.v0.models.LabelDestination; readonly metadata: io.flow.internal.v0.models.LabelMetadata; readonly created_at: string; } interface LabelInvoiceRequestDeleted { readonly discriminator: 'label_invoice_request_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface LabelInvoiceRequestUpserted { readonly discriminator: 'label_invoice_request_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly label_invoice_request: io.flow.internal.v0.models.LabelInvoiceRequest; } interface LabelMetadata { readonly ratecard: io.flow.internal.v0.models.MetadataRatecard; readonly dead?: io.flow.trueup.v0.models.DeadWeight; readonly dimensional?: io.flow.trueup.v0.models.DimensionalWeight; } interface LabelRequestError { readonly id: string; readonly order_number: string; readonly created_at: string; readonly reference_id: string; readonly label_request_method?: io.flow.label.v0.enums.LabelRequestMethod; readonly label_trigger_method?: io.flow.label.v0.enums.LabelTriggerMethod; readonly order_identifier: string[]; readonly suggested_responsibility: io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility; readonly carrier_id?: string; readonly service_id?: string; readonly errors: string[]; readonly direction?: io.flow.label.v0.enums.Direction; readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress; readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress; } interface LabelRequestErrorDeleted { readonly discriminator: 'label_request_error_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface LabelRequestErrorUpserted { readonly discriminator: 'label_request_error_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly label_request_error: io.flow.internal.v0.models.LabelRequestError; } interface LabelRequestResult { readonly id: string; readonly created_at: string; readonly state: io.flow.internal.v0.enums.LabelRequestResultState; readonly organization_id: string; readonly order_number: string; readonly label_request_method: io.flow.label.v0.enums.LabelRequestMethod; readonly carrier_id?: string; readonly carrier_tracking_number?: string; readonly url?: string; readonly error?: string; readonly suggested_responsibility?: io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility; readonly origin_country?: string; readonly destination_country?: string; readonly reference_id?: string; readonly logistics_integration_provider?: string; readonly tax_lrp_liabilities?: io.flow.internal.v0.models.Liability[]; readonly channel_id?: string; } interface LabelSummary { readonly id: string; readonly commercial_invoice?: string; readonly pdf?: string; readonly png?: string; readonly recipient?: io.flow.label.v0.enums.ShipmentRecipient; readonly package?: io.flow.label.v0.models.ShippingLabelPackage; readonly label?: io.flow.label.v0.models.ShippingLabelDocument; readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument; readonly carrier_tracking_number?: string; readonly carrier_tracking_number_url?: string; readonly service?: io.flow.reference.v0.models.CarrierService; } interface LabelSurchargeForm { readonly all?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly base_and_fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly fuel?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly remote_area?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly oversize?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly duties_paid?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly emergency?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly peak?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly address_correction?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly security?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly eei_filing?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly fixed_ddp?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly fixed_currency_conversion?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly prohibited_item?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly undeliverable_shipment?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly signature_required?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly direct_delivery?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly saturday_stop?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly residential_extended_area_pickup?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly package_level_detail?: io.flow.internal.v0.models.LabelSurchargeSingleForm; readonly pickup?: io.flow.internal.v0.models.LabelSurchargeSingleForm; } interface LabelSurchargeSingleForm { readonly amount: number; readonly percentage?: number; readonly fee_per_weight_unit?: number; } interface LabelTaxonomy { readonly discriminator: 'item'; readonly item_type: string; readonly aliases: string[]; readonly construction: io.flow.internal.v0.unions.ClassificationLabelAttribute; readonly gender: io.flow.internal.v0.unions.ClassificationLabelAttribute; readonly material: io.flow.internal.v0.unions.ClassificationLabelAttribute; } interface LabelTrackingSummaryDeleted { readonly discriminator: 'label_tracking_summary_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface LabelTrackingSummaryUpserted { readonly discriminator: 'label_tracking_summary_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly summary: io.flow.tracking.v0.models.LabelTrackingSummary; } interface LabelTransaction { readonly discriminator: 'label_transaction'; readonly label: io.flow.internal.v0.models.BillingLabelSummary; readonly tracking: io.flow.internal.v0.models.BillingLabelTrackingSummaryReference; readonly gross_value: io.flow.common.v0.models.Price; readonly discount: io.flow.internal.v0.models.Discount; readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface LabelTransactionDeleted { readonly discriminator: 'label_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface LabelTransactionUpserted { readonly discriminator: 'label_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly label_transaction: io.flow.internal.v0.models.LabelTransaction; } interface LabelsPrediction { readonly main_material: string; readonly gender: string; readonly construction: string; readonly product_type: string; } interface LandedCostItem { readonly number: string; readonly origin: string; readonly destination: string; } interface Landmark { readonly discriminator: 'landmark'; readonly username: string; readonly password: string; readonly client_id: string; readonly region: string; } interface LastFailureSummary { readonly label_request_method: io.flow.label.v0.enums.LabelRequestMethod; readonly label_trigger_method: io.flow.label.v0.enums.LabelTriggerMethod; readonly suggested_responsibility: io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility; readonly errors: string[]; } interface LedgerReport { readonly id: string; readonly mor_tax_number: string; readonly jurisdiction: string; readonly start_date: string; readonly end_date: string; readonly report_type: io.flow.internal.v0.enums.LedgerReportType; readonly urls: io.flow.internal.v0.models.LedgerReportUrl[]; } interface LedgerReportUrl { readonly url: string; readonly type: io.flow.internal.v0.enums.LedgerReportUrlType; } interface LevyRateSummary { readonly id: string; readonly number: string; readonly destination: io.flow.common.v0.models.Address; readonly items: io.flow.harmonization.v0.models.HarmonizedLandedCostItem[]; readonly tax_registration?: io.flow.harmonization.v0.models.TaxRegistration; } interface LevyRateSummaryUpserted { readonly discriminator: 'levy_rate_summary_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly summary: io.flow.internal.v0.models.LevyRateSummary; } interface Liability { readonly delivery_key: string; readonly tax_jurisdiction: string; readonly liability_type: io.flow.internal.v0.enums.LiabilityType; readonly reporting_scheme: io.flow.internal.v0.enums.ReportingScheme; readonly nature_of_sale: io.flow.internal.v0.enums.NatureOfSale; readonly liable_party: io.flow.internal.v0.enums.TaxParty; readonly funding_party: io.flow.internal.v0.enums.TaxParty; readonly reporting_party: io.flow.internal.v0.enums.TaxParty; readonly remitting_party: io.flow.internal.v0.enums.TaxParty; readonly seller?: io.flow.common.v0.models.MerchantOfRecordEntity; readonly buyer?: io.flow.common.v0.models.MerchantOfRecordEntity; readonly importer?: io.flow.internal.v0.models.LiabilityPartyDetails; readonly exporter?: io.flow.internal.v0.models.LiabilityPartyDetails; readonly amount: io.flow.internal.v0.models.LiabilityMoney; readonly rate: number; readonly name: string; readonly basis: io.flow.internal.v0.models.LiabilityMoney; readonly items: io.flow.internal.v0.models.LiabilityItem[]; readonly tax_number_short_name: string; } interface LiabilityItem { readonly item_number?: string; readonly line_number?: string; readonly description: string; readonly code?: string; readonly amount: io.flow.internal.v0.models.LiabilityMoney; readonly rate: number; readonly basis: io.flow.internal.v0.models.LiabilityMoney; readonly included_components: io.flow.price.v0.enums.LevyComponent[]; readonly no_liability_reason_code?: io.flow.internal.v0.enums.NoLiabilityReasonCode; } interface LiabilityMoney { readonly local: io.flow.common.v0.models.Money; readonly base: io.flow.common.v0.models.Money; readonly remittance: io.flow.common.v0.models.Money; } interface LiabilityPartyDetails { readonly eori_number?: string; } interface LiabilityRemittancePlan { readonly id: string; readonly organization: string; readonly order_number: string; readonly liabilities: io.flow.internal.v0.models.Liability[]; readonly total_tax: io.flow.common.v0.models.MoneyWithBase; } interface LiabilityRemittancePlanDeleted { readonly discriminator: 'liability_remittance_plan_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_number: string; readonly liability_remittance_plan: io.flow.internal.v0.models.LiabilityRemittancePlan; } interface LiabilityRemittancePlanUpserted { readonly discriminator: 'liability_remittance_plan_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_number: string; readonly liability_remittance_plan: io.flow.internal.v0.models.LiabilityRemittancePlan; } interface LineActionForm { readonly discriminator: 'line_action_form'; readonly actions: io.flow.internal.v0.models.LineActionQuantities[]; } interface LineActionQuantities { readonly item_number?: string; readonly line_number?: number; readonly action_quantity: io.flow.internal.v0.models.ActionQuantity[]; } interface LocalizedItemPricesExportRequest { readonly discriminator: 'localized_item_prices_export_request'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly export_id: string; readonly since?: string; } interface LocalizedItemsExportSettings { readonly content_type: io.flow.internal.v0.enums.ExportContentType; readonly full_export_schedule?: io.flow.internal.v0.unions.ExportSchedule; readonly delta_export_schedule?: io.flow.internal.v0.unions.ExportSchedule; } interface LocalizedPriceBookItemData { readonly organization: io.flow.common.v0.models.OrganizationReference; readonly experience: io.flow.common.v0.models.ExperienceSummary; readonly item: io.flow.common.v0.models.CatalogItemReference; readonly prices: io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail; readonly status?: io.flow.catalog.v0.enums.SubcatalogItemStatus; readonly price_book_key: string; readonly price_book_item_price: io.flow.common.v0.models.Price; readonly price_start_date: string; readonly price_end_date?: string; } interface LogisticsCapabilities { readonly id: string; readonly capabilities: io.flow.internal.v0.enums.LogisticsCapability[]; } interface LogisticsCapabilitiesDeleted { readonly discriminator: 'logistics_capabilities_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface LogisticsCapabilitiesForm { readonly capabilities: io.flow.internal.v0.enums.LogisticsCapability[]; } interface LogisticsCapabilitiesUpserted { readonly discriminator: 'logistics_capabilities_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly logistics_capabilities: io.flow.internal.v0.models.LogisticsCapabilities; } interface LogisticsPayoutRequest { readonly organization_id: string; readonly order_number: string; readonly carrier: string; readonly carrier_tracking_number: string; readonly dry_run: boolean; readonly payout_resolution_method: io.flow.internal.v0.enums.LogisticsPayoutResolutionMethod; readonly label_id?: string; readonly combined_shipment_order_number?: string; } interface LogisticsPayoutRequestForm { readonly organization_id: string; readonly order_identifier: string; readonly carrier_id?: string; readonly carrier_name?: string; readonly carrier_tracking_number?: string; readonly external_reference_number?: string; } interface LostChargeback { readonly id: string; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; } interface LoyaltyProgram { readonly title: string; readonly message?: io.flow.internal.v0.models.LoyaltyProgramMessage; readonly input_specification?: io.flow.common.v0.models.InputFormSpecification; readonly rewards?: io.flow.internal.v0.models.LoyaltyProgramRewards; } interface LoyaltyProgramMessage { readonly content: string; } interface LoyaltyProgramReward { readonly id: string; readonly label: string; } interface LoyaltyProgramRewards { readonly applied: io.flow.internal.v0.models.LoyaltyProgramReward[]; } interface MaheshItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.MaheshItemType; readonly added_on: string; } interface MaheshItemDeleted { readonly discriminator: 'mahesh_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface MaheshItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.MaheshItemType; readonly added_on: string; } interface MaheshItemUpserted { readonly discriminator: 'mahesh_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly item: io.flow.internal.v0.models.MaheshItem; } interface MainTransaction { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly value: io.flow.common.v0.models.Price; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly paid_at?: string; readonly posted_at?: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly channel_statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; readonly original_at?: string; readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType; } interface MainTransactionDeleted { readonly discriminator: 'main_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly main_transaction: io.flow.internal.v0.models.MainTransaction; } interface MainTransactionDeletedV2 { readonly discriminator: 'main_transaction_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface MainTransactionUpserted { readonly discriminator: 'main_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly main_transaction: io.flow.internal.v0.models.MainTransaction; } interface MainTransactionUpsertedV2 { readonly discriminator: 'main_transaction_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly main_transaction: io.flow.internal.v0.models.MainTransaction; } interface ManualReviewRule { readonly id: string; readonly responsible_party: io.flow.internal.v0.enums.FraudReviewResponsibleParty; readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus; readonly duration: io.flow.common.v0.models.Duration; readonly emails: string[]; } interface ManualReviewRuleDeleted { readonly discriminator: 'manual_review_rule_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ManualReviewRuleForm { readonly status: io.flow.internal.v0.enums.ManualReviewRuleStatus; readonly duration: io.flow.common.v0.models.Duration; readonly emails: string[]; } interface ManualReviewRuleUpserted { readonly discriminator: 'manual_review_rule_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly rule: io.flow.internal.v0.models.ManualReviewRule; } interface ManualTransaction { readonly discriminator: 'manual_transaction'; readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory; readonly original_transaction?: io.flow.internal.v0.models.TransactionReference; readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly attributes?: Record; readonly recoup?: boolean; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface ManualTransactionForm { readonly amount: number; readonly currency?: string; readonly description: string; readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory; readonly order?: io.flow.internal.v0.models.ManualTransactionFormOrder; readonly original_transaction_id?: string; readonly recoup?: boolean; readonly attributes?: Record; } interface ManualTransactionFormOrder { readonly organization_id: string; readonly number: string; } interface MarkedAsFinal { readonly products: boolean; readonly shipping: boolean; } interface MarketsOrder { readonly shopify_order: io.flow.shopify.markets.v0.models.ShopifyOrder; readonly flow_authorization?: io.flow.payment.v0.unions.Authorization; } interface MarketsOrderSummary { readonly id: string; } interface Merchant { readonly id: string; readonly account: io.flow.internal.v0.models.AccountReference; } interface MerchantApplicationSummaries { readonly summaries: io.flow.internal.v0.models.MerchantApplicationSummary[]; readonly total: number; } interface MerchantApplicationSummary { readonly merchant_application: io.flow.merchant.onboarding.v0.unions.MerchantApplication; readonly organization_reference: io.flow.common.v0.models.Organization; } interface MerchantDeleted { readonly discriminator: 'merchant_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface MerchantDetails { readonly name: string; } interface MerchantFeeTransaction { readonly discriminator: 'merchant_fee_transaction'; readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface MerchantFees { readonly duty_guarantee: number; readonly mor: number; readonly fraud: number; readonly fx: number; readonly processing: number; readonly rate_lock: number; readonly transfer: number; readonly product_fee?: number; readonly estimated_tax?: number; readonly estimated_duty?: number; readonly estimated_duties_and_taxes?: number; readonly td_fx_diff?: number; readonly total: number; } interface MerchantGuidAssignment { readonly id: string; readonly merchant_guid: string; readonly created_at: string; } interface MerchantGuidAssignmentDeleted { readonly discriminator: 'merchant_guid_assignment_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface MerchantGuidAssignmentUpserted { readonly discriminator: 'merchant_guid_assignment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly merchant_guid_assignment: io.flow.internal.v0.models.MerchantGuidAssignment; } interface MerchantHubOverride { readonly id: string; readonly organization_id: string; readonly code: string; readonly contact: io.flow.common.v0.models.Contact; readonly location: io.flow.common.v0.models.Address; } interface MerchantHubOverrideForm { readonly code: string; readonly contact: io.flow.common.v0.models.Contact; readonly location: io.flow.common.v0.models.Address; } interface MerchantOfRecordEntitySettings { readonly id: string; readonly merchant_of_record_entity: io.flow.common.v0.models.MerchantOfRecordEntity; readonly starts_at: string; readonly ends_at?: string; readonly center?: string; readonly currency?: string; } interface MerchantOfRecordEntitySettingsForm { readonly name: string; readonly vat?: io.flow.common.v0.models.MerchantOfRecordEntityRegistration; readonly streets: string[]; readonly city: string; readonly province?: string; readonly postal?: string; readonly country: string; readonly phone?: string; readonly email?: string; readonly starts_at: string; readonly ends_at?: string; readonly center?: string; readonly currency?: string; } interface MerchantOverride { readonly id: string; readonly organization_id: string; readonly item_number: string; readonly status: io.flow.internal.v0.enums.MerchantOverrideStatus; readonly hs6_code: string; readonly merchant_hs6_code: string; readonly evaluation_results?: io.flow.internal.v0.models.EvaluationResults; readonly created_at: string; readonly updated_at: string; readonly updated_by_user_id: string; } interface MerchantOverrideDecisionForm { readonly id: string; readonly status: io.flow.internal.v0.enums.MerchantOverrideStatus; } interface MerchantOverrideDeleted { readonly discriminator: 'merchant_override_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface MerchantOverrideUpserted { readonly discriminator: 'merchant_override_upserted'; readonly event_id: string; readonly timestamp: string; readonly merchant_override: io.flow.internal.v0.models.MerchantOverride; } interface MerchantSearchResult { readonly organization_id: string; readonly shop_name?: string; readonly shop_id?: string; readonly legal_name?: string; readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState; readonly shop_domain?: string; } interface MerchantSubsidies { readonly fees: io.flow.internal.v0.models.ShopperFees; readonly tax: number; readonly duty: number; readonly total: number; } interface MerchantSummary { readonly subsidies: io.flow.internal.v0.models.MerchantSubsidies; readonly fees: io.flow.internal.v0.models.MerchantFees; readonly transactions: io.flow.internal.v0.models.MerchantTransactions; readonly total: number; } interface MerchantSurcharge { readonly type: io.flow.trueup.v0.enums.TrueupSurchargeType; readonly amount: number; } interface MerchantTransactions { readonly adjustment: number; readonly reversal: number; readonly tax: number; readonly duty: number; readonly freight: number; readonly base_amount?: number; readonly surcharges?: io.flow.internal.v0.models.MerchantSurcharge[]; readonly freight_guaranteed?: number; readonly freight_non_guaranteed?: number; readonly freight_subsidy?: number; readonly total: number; readonly tax_refund?: number; readonly tax_reversal?: number; readonly duty_reversal?: number; readonly flat_rate_reversal?: number; readonly flat_rate_subsidy_reversal?: number; readonly tax_reversal_for_lvg_order?: boolean; readonly duty_reversal_for_lvg_order?: boolean; } interface MerchantUpserted { readonly discriminator: 'merchant_upserted'; readonly event_id: string; readonly timestamp: string; readonly merchant: io.flow.internal.v0.models.Merchant; } interface MessageStamp { readonly discriminator: 'message_stamp'; readonly message: string; } interface MetadataProposition { readonly shipping_method: io.flow.internal.v0.models.ShippingMethodReference; readonly name: string; } interface MetadataRatecard { readonly id: string; readonly proposition: io.flow.internal.v0.models.MetadataProposition; } interface MockCarrierChargeForm { readonly surcharge_type?: io.flow.trueup.v0.enums.TrueupSurchargeType; readonly surcharge_amount?: number; } interface MorCostDeleted { readonly discriminator: 'mor_cost_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface MorCostSummary { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly amount: io.flow.common.v0.models.Money; readonly tax: io.flow.common.v0.models.Money; } interface MorCostUpserted { readonly discriminator: 'mor_cost_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly mor_cost: io.flow.internal.v0.models.MorCostSummary; } interface NegativeDebitMetrics { readonly current_attempt: io.flow.internal.v0.models.AttemptStatistics; readonly first_attempt: io.flow.internal.v0.models.AttemptStatistics; readonly second_attempt: io.flow.internal.v0.models.AttemptStatistics; readonly third_attempt: io.flow.internal.v0.models.AttemptStatistics; readonly forth_plus_attempts: io.flow.internal.v0.models.AttemptStatistics; } interface NextBillingStatement { readonly date: string; readonly amount: io.flow.common.v0.models.Price; readonly conditions?: string; } interface NoClassificationForm { readonly discriminator: 'no_classification_form'; readonly harmonization_status: io.flow.internal.v0.enums.ItemHarmonizationStatus; } interface NonChannelPaymentBankAccount { readonly payment: io.flow.internal.v0.models.ReportPayment; readonly bank_account: io.flow.internal.v0.models.ReportBankAccount; readonly account: io.flow.internal.v0.models.ReportAccount; } interface NonL4LTaxDutyFxFeeMetadata { readonly discriminator: 'non_l4l_tax_duty_fx_fee_metadata'; readonly tax?: io.flow.internal.v0.models.TransactionReference; readonly duty?: io.flow.internal.v0.models.TransactionReference; } interface NonL4LTaxDutyFxTransaction { readonly discriminator: 'non_l4l_tax_duty_fx_transaction'; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly fx: io.flow.internal.v0.models.Fee; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface NonL4LTaxDutyFxTransactionDeleted { readonly discriminator: 'non_l4l_tax_duty_fx_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface NonL4LTaxDutyFxTransactionUpserted { readonly discriminator: 'non_l4l_tax_duty_fx_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly non_l4l_tax_duty_fx_transaction: io.flow.internal.v0.models.NonL4LTaxDutyFxTransaction; } interface Notification { readonly order: io.flow.internal.v0.models.Decision; } interface OnboardingAuditMessage { readonly message: string; readonly level: io.flow.internal.v0.enums.OnboardingAuditMessageLevel; } interface OnboardingAuditReport { readonly organization: io.flow.common.v0.models.Organization; readonly result: io.flow.internal.v0.enums.OnboardingAuditResult; readonly theme_reports: io.flow.internal.v0.models.OnboardingAuditThemeReport[]; } interface OnboardingAuditReportLine { readonly description: string; readonly result: io.flow.internal.v0.enums.OnboardingAuditResult; readonly messages: io.flow.internal.v0.models.OnboardingAuditMessage[]; readonly execution_time_ms?: number; } interface OnboardingAuditThemeReport { readonly name: string; readonly key: io.flow.internal.v0.enums.OnboardingAuditThemeKey; readonly result: io.flow.internal.v0.enums.OnboardingAuditResult; readonly lines: io.flow.internal.v0.models.OnboardingAuditReportLine[]; } interface OnboardingOrganization { readonly age: number; readonly setup_time: number; readonly compliance_approved: boolean; readonly compliance_full_review_required: boolean; readonly application_received?: string; readonly legal_name?: string; readonly shop_name?: string; readonly organization_id: string; readonly onboarding_current_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState; readonly setup_completed_at?: string; readonly activated_at?: string; readonly gmv: number; readonly health_score?: number; readonly audit_result?: io.flow.internal.v0.enums.OnboardingAuditResult; readonly blocked_since?: string; readonly onboarding_segment?: string; readonly country?: string; } interface OnboardingStateForm { readonly onboarding_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState; readonly transitioned_at?: string; } interface OneTimeTokenRedemptionForm { readonly token: string; } interface OnlineAuthorizationCompleted { readonly discriminator: 'online_authorization_completed'; readonly id: string; readonly organization: string; readonly key: string; readonly expires_at: string; } interface OrderActionability { readonly action: io.flow.internal.v0.enums.OrderAction[]; readonly lines: io.flow.internal.v0.models.LineActionQuantities[]; } interface OrderAddressValidation { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly service_id: string; readonly status: io.flow.internal.v0.enums.OrderAddressValidationStatus; readonly destination_street1?: string; readonly destination_street2?: string; readonly destination_city?: string; readonly destination_postal?: string; readonly destination_state?: string; readonly destination_country: string; } interface OrderAttribute { readonly id: string; readonly key: string; readonly type: io.flow.common.v0.enums.AttributeDataType; readonly intent?: io.flow.internal.v0.enums.OrderAttributeIntent; } interface OrderAttributeDeleted { readonly discriminator: 'order_attribute_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrderAttributeUpserted { readonly discriminator: 'order_attribute_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly attribute: io.flow.internal.v0.models.OrderAttribute; } interface OrderCancellation { readonly id: string; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly evidence: io.flow.internal.v0.unions.OrderCancellationEvidence; } interface OrderCancellationEvidenceFullyRefundedNotFulfilled { readonly discriminator: 'fully_refunded_not_fulfilled'; readonly placeholder?: string; } interface OrderCancellationEvidenceManual { readonly discriminator: 'manual'; readonly description: string; } interface OrderCancellationEvidenceReturnToSender { readonly discriminator: 'return_to_sender'; readonly initiated_by: io.flow.internal.v0.enums.OrderCancellationInitiatedBy; } interface OrderCancellationForm { readonly evidence: io.flow.internal.v0.unions.OrderCancellationEvidence; } interface OrderCombinedShipment { readonly id: string; readonly label_id: string; readonly carrier_id: string; readonly service_id: string; readonly order_number: string; readonly provided_carrier_name?: string; readonly carrier_tracking_number: string; } interface OrderCombinedShipmentDeleted { readonly discriminator: 'order_combined_shipment_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrderCombinedShipmentForm { readonly order_number: string; readonly provided_carrier_name?: string; readonly carrier_tracking_number: string; } interface OrderCombinedShipmentUpserted { readonly discriminator: 'order_combined_shipment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_combined_shipment: io.flow.internal.v0.models.OrderCombinedShipment; } interface OrderDetail { readonly order: io.flow.experience.v0.models.Order; readonly status: io.flow.experience.v0.enums.OrderStatus; readonly transactions: io.flow.internal.v0.unions.TransactionSummary[]; readonly trackings: io.flow.internal.v0.models.SearchTrackingSummary[]; readonly returns: io.flow.internal.v0.models.ReturnSummary[]; readonly notes: io.flow.internal.v0.models.OrderNote[]; readonly submitted_at?: string; readonly created_at: string; readonly updated_at: string; readonly shopify_order_id?: string; readonly disputes: io.flow.internal.v0.models.DisputeDetail[]; } interface OrderEditSummary { readonly edited_at: string; } interface OrderFulfillmentDeleted { readonly discriminator: 'order_fulfillment_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly key: string; } interface OrderFulfillmentUpserted { readonly discriminator: 'order_fulfillment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly key: string; readonly order_number: string; readonly items: io.flow.order.management.v0.models.FulfillmentItem[]; readonly center?: io.flow.fulfillment.v0.models.CenterSummary; } interface OrderNote { readonly id: string; readonly note: string; readonly user: io.flow.common.v0.models.User; readonly created_at: string; readonly updated_at: string; } interface OrderNoteForm { readonly note: string; } interface OrderPaymentAuthorization { readonly placeholder: string; } interface OrderRatesDataV3 { readonly organization: string; readonly order_id: string; readonly order_number: string; readonly order_total: io.flow.catalog.v0.models.LocalizedTotal; readonly rates: io.flow.internal.v0.models.RateDataV3[]; } interface OrderRatesPublishedV3 { readonly discriminator: 'order_rates_published_v3'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly data: io.flow.internal.v0.models.OrderRatesDataV3; } interface OrderReference { readonly organization: io.flow.common.v0.models.OrganizationReference; readonly number: string; } interface OrderRefundTransaction { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly price: io.flow.common.v0.models.PriceWithBase; readonly refunded_at?: string; readonly payment_type?: io.flow.internal.v0.enums.RefundTransactionPaymentType; } interface OrderRefundTransactionDeleted { readonly discriminator: 'order_refund_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrderRefundTransactionUpserted { readonly discriminator: 'order_refund_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transaction: io.flow.internal.v0.models.OrderRefundTransaction; } interface OrderRevenueRegionChart { readonly total: io.flow.common.v0.models.Price; readonly period: io.flow.common.v0.models.DatetimeRange; readonly data: io.flow.internal.v0.models.OrderRevenueRegionDataPoint[]; } interface OrderRevenueRegionDataPoint { readonly region: io.flow.reference.v0.models.Region; readonly count: number; readonly revenue: io.flow.common.v0.models.Price; } interface OrderRevenueTimelineChart { readonly total: io.flow.common.v0.models.Price; readonly period: io.flow.common.v0.models.DatetimeRange; readonly data: io.flow.internal.v0.models.OrderRevenueTimelineDataPoint[]; } interface OrderRevenueTimelineDataPoint { readonly timestamp: string; readonly count: number; readonly revenue: io.flow.common.v0.models.Price; readonly period?: io.flow.common.v0.models.DatetimeRange; } interface OrderServiceChangeCsvForm { readonly order_number: string; readonly from_service_id: string; readonly to_service_id: string; } interface OrderSettings { readonly tax_and_duty_inclusivity_setting?: io.flow.experience.v0.enums.TaxAndDutyInclusivitySetting; } interface OrderSummary { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly number: string; readonly type: io.flow.experience.v0.enums.OrderType; readonly submitted_at: string; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly currency: string; } interface OrderTaxAndDutyInclusivitySetting { readonly id: string; readonly organization_id: string; readonly shopify_order_id: string; readonly order_number: string; readonly tax_and_duty_inclusivity_setting: io.flow.experience.v0.enums.TaxAndDutyInclusivitySetting; } interface OrderTaxAndDutyInclusivitySettingDeleted { readonly discriminator: 'order_tax_and_duty_inclusivity_setting_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrderTaxAndDutyInclusivitySettingUpserted { readonly discriminator: 'order_tax_and_duty_inclusivity_setting_upserted'; readonly event_id: string; readonly timestamp: string; readonly order_tax_and_duty_inclusivity_setting: io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySetting; } interface OrderTransaction { readonly discriminator: 'order_transaction'; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface OrderTransactionDeleted { readonly discriminator: 'order_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface OrderTransactionUpserted { readonly discriminator: 'order_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly order_transaction: io.flow.internal.v0.models.OrderTransaction; } interface OrderValidation { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly service_id: string; readonly status: io.flow.internal.v0.enums.OrderValidationStatus; readonly updated_by_user_id: string; readonly created_at: string; readonly resolved_at?: string; readonly last_failure?: io.flow.internal.v0.models.LastFailureSummary; readonly sla_breach_at?: string; readonly capabilities_at_creation?: io.flow.internal.v0.enums.LogisticsCapability[]; readonly first_globale_address_repair_failure_at?: string; } interface OrderValidationDeleted { readonly discriminator: 'order_validation_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrderValidationError { readonly message: string; readonly reason: io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason; readonly action?: io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction; readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface OrderValidationFailure { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly service_id: string; readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress; readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress; readonly label_request_method: io.flow.label.v0.enums.LabelRequestMethod; readonly label_trigger_method: io.flow.label.v0.enums.LabelTriggerMethod; readonly suggested_responsibility: io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility; readonly errors: string[]; } interface OrderValidationFailureDeleted { readonly discriminator: 'order_validation_failure_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrderValidationFailureSummary { readonly organization_id: string; readonly order_number: string; readonly service_id: string; readonly status: io.flow.internal.v0.enums.OrderValidationStatus; readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress; readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress; readonly error: string; readonly request_method: string; readonly created_at: string; readonly cancelled_at?: string; readonly resolved_at?: string; readonly environment: io.flow.common.v0.enums.Environment; } interface OrderValidationFailureUpserted { readonly discriminator: 'order_validation_failure_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_validation_failure: io.flow.internal.v0.models.OrderValidationFailure; } interface OrderValidationUpserted { readonly discriminator: 'order_validation_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_validation: io.flow.internal.v0.models.OrderValidation; } interface OrganizationAccount { readonly organization: io.flow.common.v0.models.OrganizationReference; readonly id: string; readonly key?: string; readonly origin?: io.flow.internal.v0.models.AccountOrigin; readonly currency: string; readonly updated_at: string; readonly timezone: io.flow.reference.v0.models.Timezone; readonly payment_schedule: io.flow.common.v0.unions.RepeatSchedule; readonly payment_conditions?: string; readonly deposit_rule?: io.flow.internal.v0.models.AccountDepositRule; readonly center_key?: string; readonly statistics: io.flow.internal.v0.models.AccountStatistics; readonly next_statement: io.flow.internal.v0.models.NextBillingStatement; readonly bank_account?: io.flow.internal.v0.models.BankAccountReference; readonly created_at: string; } interface OrganizationAccountDeleted { readonly discriminator: 'organization_account_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface OrganizationAccountUpsertedV2 { readonly discriminator: 'organization_account_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization_account: io.flow.internal.v0.models.OrganizationAccount; } interface OrganizationBankAccountDeleted { readonly discriminator: 'organization_bank_account_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrganizationBankAccountUpserted { readonly discriminator: 'organization_bank_account_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly organization_bank_account: io.flow.billing.v0.models.OrganizationBankAccount; } interface OrganizationBillingStatement { readonly id: string; readonly account: io.flow.billing.v0.models.AccountReference; readonly period: io.flow.common.v0.models.DatetimeRange; readonly totals: io.flow.internal.v0.models.BillingStatementTotals; readonly attachments: io.flow.internal.v0.models.BillingStatementAttachment[]; } interface OrganizationBusinessEntity { readonly id: string; readonly name: string; readonly streets: string[]; readonly city: string; readonly province?: string; readonly postal?: string; readonly country: string; } interface OrganizationBusinessEntityDeleted { readonly discriminator: 'organization_business_entity_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly business_entity: io.flow.internal.v0.models.OrganizationBusinessEntity; readonly id: string; } interface OrganizationBusinessEntityUpserted { readonly discriminator: 'organization_business_entity_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly business_entity: io.flow.internal.v0.models.OrganizationBusinessEntity; } interface OrganizationCurrencySetting { readonly id: string; readonly organization: string; readonly target: string; readonly margin: number; readonly rate_lock: io.flow.common.v0.models.Duration; } interface OrganizationCurrencySettingDeleted { readonly discriminator: 'organization_currency_setting_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface OrganizationCurrencySettingForm { readonly organization: string; readonly target: string; readonly margin: number; readonly rate_lock: io.flow.common.v0.models.Duration; } interface OrganizationCurrencySettingUpserted { readonly discriminator: 'organization_currency_setting_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting; } interface OrganizationCurrencySettingVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly organization_currency_setting: io.flow.internal.v0.models.OrganizationCurrencySetting; } interface OrganizationDeactivation { readonly id: string; readonly deactivate_at: string; readonly created_at: string; readonly reason?: string; readonly processed_at?: string; } interface OrganizationDeactivationDeleted { readonly discriminator: 'organization_deactivation_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrganizationDeactivationForm { readonly deactivate_at: string; readonly reason?: string; } interface OrganizationDeactivationUpserted { readonly discriminator: 'organization_deactivation_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly organization_deactivation: io.flow.internal.v0.models.OrganizationDeactivation; } interface OrganizationDebugTransaction { readonly debug?: io.flow.internal.v0.models.DebugTransactionDetails; readonly queue?: io.flow.internal.v0.models.DebugTransactionQueued; } interface OrganizationInvitationAcceptForm { readonly email: string; } interface OrganizationMembershipCopy { readonly from: string; readonly to: string; readonly number_memberships: number; } interface OrganizationMembershipCopyForm { readonly from: string; readonly to: string; } interface OrganizationMetadata { readonly id: string; readonly organization_id: string; readonly pending_restriction_count: number; readonly pending_verification_count: number; readonly pending_classification_count?: number; readonly oldest_pending_restriction_date?: string; readonly oldest_pending_verification_date?: string; readonly oldest_pending_classification_date?: string; readonly product_count: number; readonly restricted_product_count: number; readonly last_order_submitted_at?: string; } interface OrganizationMetadataDeleted { readonly discriminator: 'organization_metadata_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrganizationMetadataUpserted { readonly discriminator: 'organization_metadata_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly organization_metadata: io.flow.internal.v0.models.OrganizationMetadata; } interface OrganizationOnboardingStateAdjustmentResult { readonly organization_onboarding_state?: io.flow.organization.onboarding.state.v0.models.OrganizationOnboardingState; } interface OrganizationOnboardingStateAuditResult { readonly organization: string; readonly validation_errors: string[]; } interface OrganizationPaymentSetting { readonly id: string; readonly organization_id: string; readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption; readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus; readonly checkout_domain?: string; readonly merchant_category_code?: string; readonly payment_statement_suffix?: string; readonly payment_statement_condensed?: string; readonly created_at: string; readonly updated_at: string; } interface OrganizationPaymentSettingDeleted { readonly discriminator: 'organization_payment_setting_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrganizationPaymentSettingForm { readonly default_capture_option: io.flow.payment.gateway.v0.unions.PaymentCaptureOption; readonly status: io.flow.internal.v0.enums.OrganizationPaymentStatus; readonly checkout_domain?: string; readonly merchant_category_code?: string; readonly payment_statement_suffix?: string; } interface OrganizationPaymentSettingUpserted { readonly discriminator: 'organization_payment_setting_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting; } interface OrganizationPaymentSettingVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting; } interface OrganizationPromotion { readonly status: io.flow.internal.v0.enums.OrganizationPromotionStatus; readonly prod_org: string; } interface OrganizationPromotionWarning { readonly prod_org: string; readonly message: string; } interface OrganizationRestrictionNoteForm { readonly note: string; readonly note_type: io.flow.internal.v0.enums.OrganizationRestrictionNoteType; } interface OrganizationRestrictionScreeningDecisionForm { readonly organization_id: string; readonly approval_status: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus; readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus; readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType; readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel; readonly hs_code?: string; readonly merchant_category_code?: string; readonly notes?: io.flow.internal.v0.models.OrganizationRestrictionNoteForm[]; readonly screening_first_viewed_at?: string; readonly onboarding_first_viewed_at?: string; } interface OrganizationRestrictionStatus { readonly id: string; readonly organization_id: string; readonly approval: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus; readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus; readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel; readonly selective_review_start_date?: string; readonly selective_review_end_date?: string; readonly full_review_start_date?: string; readonly full_review_end_date?: string; readonly merchant_category_code?: string; readonly reason?: string; readonly screening_first_viewed_at?: string; readonly onboarding_first_viewed_at?: string; readonly updated_at: string; } interface OrganizationRestrictionStatusDeleted { readonly discriminator: 'organization_restriction_status_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface OrganizationRestrictionStatusNote { readonly id: string; readonly note: string; readonly note_type: io.flow.internal.v0.enums.OrganizationRestrictionNoteType; readonly created_at: string; readonly updated_by: io.flow.common.v0.models.User; readonly updated_at: string; } interface OrganizationRestrictionStatusUpserted { readonly discriminator: 'organization_restriction_status_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization_restriction_status: io.flow.internal.v0.models.OrganizationRestrictionStatus; } interface OrganizationSettings { readonly default_currency_format_symbol: io.flow.common.v0.enums.CurrencySymbolFormat; readonly default_currency_label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[]; readonly order_action_rules: io.flow.internal.v0.models.ExperienceOrderActionRule[]; readonly respect_item_margins_on_override: boolean; readonly respect_item_sales_margins_on_override: boolean; readonly respect_session_currency: boolean; } interface OrganizationSettingsForm { readonly default_currency_format_symbol: io.flow.common.v0.enums.CurrencySymbolFormat; readonly default_currency_label_formatters: io.flow.common.v0.enums.CurrencyLabelFormatter[]; readonly order_action_rules?: io.flow.internal.v0.models.ExperienceOrderActionRule[]; readonly respect_item_margins_on_override: boolean; readonly respect_item_sales_margins_on_override: boolean; readonly respect_session_currency: boolean; } interface OrganizationStatusChange { readonly id: string; readonly previous_status?: io.flow.common.v0.enums.OrganizationStatus; readonly status: io.flow.common.v0.enums.OrganizationStatus; readonly status_set_at: string; } interface OrganizationStatusChangeDeleted { readonly discriminator: 'organization_status_change_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrganizationStatusChangeUpserted { readonly discriminator: 'organization_status_change_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly organization_status_change: io.flow.internal.v0.models.OrganizationStatusChange; } interface OrganizationsAuditCheckReport { readonly organization_id: string; readonly organization_status: io.flow.common.v0.enums.OrganizationStatus; readonly onboarding_state: io.flow.organization.onboarding.state.v0.unions.OnboardingState; readonly audit_result: io.flow.internal.v0.enums.OnboardingAuditResult; } interface OtherRecord { readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly account: io.flow.internal.v0.models.OtherRecordAccount; readonly metadata?: io.flow.internal.v0.models.OtherRecordMetadata; readonly order?: io.flow.internal.v0.models.OtherRecordOrderSummary; readonly currency: string; readonly source: io.flow.billing.v0.enums.TransactionSource; readonly parent?: io.flow.billing.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.internal.v0.models.OtherRecordFees; readonly withholdings: io.flow.internal.v0.models.OtherRecordWithholdings; readonly discount: io.flow.internal.v0.models.OtherRecordDiscount; readonly net: number; readonly identifiers: io.flow.internal.v0.models.OtherRecordIdentifiers; readonly revenue_share_percentage?: number; readonly revenue_share_plan?: string; readonly created_at: string; readonly updated_at: string; readonly posted_at?: string; } interface OtherRecordAccount { readonly id: string; readonly merchant?: io.flow.internal.v0.models.OtherRecordMerchantReference; readonly environment: io.flow.common.v0.enums.Environment; readonly source: io.flow.internal.v0.models.OtherRecordAccountSourceSummary; } interface OtherRecordAccountSourceSummary { readonly id: string; readonly type: io.flow.internal.v0.enums.AccountType; } interface OtherRecordDeleted { readonly discriminator: 'other_record_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface OtherRecordDiscount { readonly amount: number; readonly description?: string; } interface OtherRecordFees { readonly duty_guarantee: number; readonly mor: number; readonly fraud: number; readonly fx: number; readonly processing: number; readonly rate_lock: number; readonly transfer: number; readonly negative_balance: number; } interface OtherRecordIdentifiers { readonly reference_id?: string; } interface OtherRecordMerchantReference { readonly id: string; } interface OtherRecordMetadata { readonly channel?: io.flow.internal.v0.models.OtherRecordMetadataChannel; readonly shipping_label?: io.flow.internal.v0.models.OtherRecordMetadataShippingLabel; readonly shipping_label_revenue_share?: io.flow.internal.v0.models.OtherRecordMetadataShippingLabelRevenueShare; readonly trueup?: io.flow.internal.v0.models.OtherRecordMetadataTrueup; readonly carrier_charge?: io.flow.internal.v0.models.OtherRecordMetadataCarrierCharge; readonly manual?: io.flow.internal.v0.models.OtherRecordMetadataManual; readonly failed_payout?: io.flow.internal.v0.models.OtherRecordMetadataFailedPayout; } interface OtherRecordMetadataCarrierCharge { readonly reason: io.flow.trueup.v0.enums.CarrierChargeReason; readonly label_created_at: string; readonly carrier_id: string; readonly carrier_tracking_number: string; readonly revenue_share_percentage?: number; readonly outbound_transaction_id?: string; } interface OtherRecordMetadataChannel { readonly method: string; readonly card?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata; } interface OtherRecordMetadataFailedPayout { readonly failed_payment: io.flow.billing.v0.models.TransactionMetadataFailedPayoutReference; } interface OtherRecordMetadataManual { readonly description: string; readonly original?: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction; readonly category?: io.flow.internal.v0.enums.ManualTransactionCategory; readonly url?: string; } interface OtherRecordMetadataShippingLabel { readonly request_method?: io.flow.label.v0.enums.LabelRequestMethod; } interface OtherRecordMetadataShippingLabelRevenueShare { readonly label_id: string; readonly base_amount?: number; readonly percentage?: number; } interface OtherRecordMetadataTrueup { readonly original: io.flow.billing.v0.models.TransactionMetadataOriginalTransaction; readonly label_transaction_id: string; readonly label_invoice_request_id: string; readonly carrier_charge_id: string; readonly subtype?: string; } interface OtherRecordOrderSummary { readonly organization: io.flow.internal.v0.models.OtherRecordOrganizationSummary; readonly number: string; readonly identifiers: io.flow.internal.v0.models.OtherRecordOrderSummaryIdentifiers; readonly destination_province?: string; } interface OtherRecordOrderSummaryIdentifiers { readonly shopify_order_id?: string; } interface OtherRecordOrganizationSummary { readonly id: string; readonly status?: io.flow.common.v0.enums.OrganizationStatus; } interface OtherRecordUpserted { readonly discriminator: 'other_record_upserted'; readonly event_id: string; readonly timestamp: string; readonly other_record: io.flow.internal.v0.models.OtherRecord; } interface OtherRecordWithholdings { readonly tax: number; readonly duty: number; readonly freight: number; readonly insurance: number; } interface OutboundShippingCost { readonly id: string; readonly channel_id: string; readonly organization_id: string; readonly destination_country: string; readonly carrier_estimates: io.flow.internal.v0.models.CarrierEstimate[]; readonly updated_at: number; readonly run_id: string; readonly model_version: string; } interface OutboundShippingCostDeleted { readonly discriminator: 'outbound_shipping_cost_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly id: string; } interface OutboundShippingCostUpserted { readonly discriminator: 'outbound_shipping_cost_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly outbound_shipping_cost: io.flow.internal.v0.models.OutboundShippingCost; } interface Partner { readonly id: string; readonly name: string; readonly environment: io.flow.common.v0.enums.Environment; readonly parent_id?: string; } interface PartnerAuthorization { readonly role: io.flow.common.v0.enums.Role; readonly environment: io.flow.common.v0.enums.Environment; } interface PartnerAuthorizationForm { readonly partner: string; readonly environment: io.flow.common.v0.enums.Environment; } interface PartnerForm { readonly id?: string; readonly name?: string; readonly environment: io.flow.common.v0.enums.Environment; readonly parent_id?: string; } interface PartnerMembership { readonly id: string; readonly user: io.flow.common.v0.unions.ExpandableUser; readonly role: io.flow.common.v0.enums.Role; } interface PartnerMembershipForm { readonly user: string; readonly role: io.flow.common.v0.enums.Role; } interface PartnerMembershipPutForm { readonly role: io.flow.common.v0.enums.Role; } interface PartnerMembershipSummary { readonly id: string; readonly user: io.flow.common.v0.models.UserReference; readonly role: io.flow.common.v0.enums.Role; } interface PartnerMembershipVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly partner_membership: io.flow.internal.v0.models.PartnerMembershipSummary; } interface PartnerOrganizationAuthorization { readonly id: string; readonly partner: io.flow.internal.v0.models.Partner; } interface PartnerOrganizationAuthorizationForm { readonly partner: string; } interface PartnerOrganizationSettings { readonly id: string; readonly label_format: io.flow.partner.v0.enums.LabelFormat; readonly glbe_merchant_guid: string; } interface PartnerOrganizationSettingsDeleted { readonly discriminator: 'partner_organization_settings_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface PartnerOrganizationSettingsForm { readonly label_format: io.flow.partner.v0.enums.LabelFormat; readonly glbe_merchant_guid?: string; } interface PartnerOrganizationSettingsUpserted { readonly discriminator: 'partner_organization_settings_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly partner_organization_settings: io.flow.internal.v0.models.PartnerOrganizationSettings; } interface PartnerRequest { readonly id: string; readonly partner_id: string; readonly organization_id: string; readonly method: string; readonly path: string; readonly request_id: string; readonly parameters?: Record; readonly request_body?: any /*object*/; readonly response_body?: any /*object*/; readonly reference_id?: string; } interface PartnerRequestDeleted { readonly discriminator: 'partner_request_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface PartnerRequestUpserted { readonly discriminator: 'partner_request_upserted'; readonly event_id: string; readonly timestamp: string; readonly partner_request: io.flow.internal.v0.models.PartnerRequest; } interface PartnerTrackingSubscriptionDeleted { readonly discriminator: 'partner_tracking_subscription_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface PartnerTrackingSubscriptionUpserted { readonly discriminator: 'partner_tracking_subscription_upserted'; readonly event_id: string; readonly timestamp: string; readonly partner_tracking_subscription: io.flow.partner.v0.models.PartnerTrackingSubscription; } interface Passphrase { readonly id: string; readonly tribe: io.flow.internal.v0.models.Tribe; readonly salt: string; readonly iv: string; readonly challenge_cipher: string; readonly challenge_text: string; } interface PassphraseForm { readonly tribe: string; readonly current_password?: string; readonly new_password: string; } interface PassphraseSummary { readonly id: string; readonly tribe: io.flow.internal.v0.models.Tribe; } interface PaymentIs { readonly lvg: boolean; readonly manual: boolean; readonly managed_pricing?: boolean; } interface PaymentMethodDetail { readonly method: io.flow.reference.v0.models.PaymentMethod; readonly method_options?: io.flow.internal.v0.models.PaymentMethodOption[]; } interface PaymentMethodOption { readonly id: string; readonly name: string; readonly logo?: io.flow.common.v0.unions.LogoImage; } interface PaymentOrganizationSettings { readonly id: string; readonly enable_auto_capture: boolean; readonly link_capture_to_vcc: boolean; readonly purge_ciphers: boolean; readonly domain?: string; readonly merchant_category_code?: number; readonly payment_statement_suffix?: string; readonly payment_statement_condensed?: string; } interface PaymentOrganizationSettingsPutForm { readonly enable_auto_capture?: boolean; readonly link_capture_to_vcc?: boolean; readonly purge_ciphers?: boolean; readonly domain?: string; readonly merchant_category_code?: number; readonly payment_statement_suffix?: string; } interface PaymentProcessorAccountDeleted { readonly discriminator: 'payment_processor_account_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; readonly account: io.flow.internal.v0.unions.ProcessorAccount; } interface PaymentProcessorAccountUpserted { readonly discriminator: 'payment_processor_account_upserted'; readonly event_id: string; readonly timestamp: string; readonly id: string; readonly account: io.flow.internal.v0.unions.ProcessorAccount; } interface PaymentProcessorMerchantDeleted { readonly discriminator: 'payment_processor_merchant_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; readonly merchant: io.flow.internal.v0.unions.ProcessorMerchant; } interface PaymentProcessorMerchantUpserted { readonly discriminator: 'payment_processor_merchant_upserted'; readonly event_id: string; readonly timestamp: string; readonly id: string; readonly merchant: io.flow.internal.v0.unions.ProcessorMerchant; } interface PaymentRequestAuthorization { readonly payment_request_id: string; readonly authorization_id: string; } interface PaymentShortUrl { readonly id: string; readonly key: string; readonly original_url: string; readonly organization_id: string; readonly discriminator: io.flow.internal.v0.enums.PaymentShortUrlDiscriminator; readonly created_at: string; readonly updated_at: string; readonly expires_at: string; } interface PaymentSummary { readonly psp: number; readonly credit: number; readonly subsidized: number; readonly manual: number; readonly cod: number; readonly total: number; } interface PaymentSummaryV2 { readonly discriminator: 'payment_summary_v2'; readonly id: string; readonly key: string; readonly type: io.flow.internal.v0.enums.PaymentSummaryType; readonly description: string; readonly timestamp: string; readonly local: io.flow.common.v0.models.Price; readonly requested: io.flow.common.v0.models.Price; readonly details?: io.flow.internal.v0.unions.PaymentSummaryDetails; readonly status?: io.flow.internal.v0.enums.PaymentSummaryStatus; } interface PayoutStatusCounts { readonly scheduled: number; readonly sent: number; readonly failed: number; } interface PaypalAccount { readonly discriminator: 'paypal_account'; readonly id: string; readonly organization_id: string; readonly key: string; readonly owner: io.flow.internal.v0.enums.Owner; readonly country: string; readonly authentication: io.flow.internal.v0.models.PaypalAuthentication; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface PaypalAccountModificationForm { readonly discriminator: 'paypal_account_modification_form'; readonly owner: io.flow.internal.v0.enums.Owner; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface PaypalAccountPutForm { readonly discriminator: 'paypal_account_put_form'; readonly owner?: io.flow.internal.v0.enums.Owner; readonly country: string; readonly authentication: io.flow.internal.v0.models.PaypalAuthenticationForm; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface PaypalAccountReference { readonly id: string; readonly flow_merchant_id?: string; } interface PaypalAuthentication { readonly username: string; readonly password_reference: string; } interface PaypalAuthenticationForm { readonly username: string; readonly password: string; } interface PaypalAuthorizationPayload { readonly discriminator: 'paypal_authorization_payload'; readonly payment_id: string; readonly payer_id: string; } interface PaypalDisputeDeleted { readonly discriminator: 'paypal_dispute_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface PaypalDisputeUpserted { readonly discriminator: 'paypal_dispute_upserted'; readonly event_id: string; readonly timestamp: string; readonly dispute: io.flow.internal.v0.models.PaypalInternalDispute; } interface PaypalExecutionDeleted { readonly discriminator: 'paypal_execution_deleted'; readonly event_id: string; readonly timestamp: string; readonly execution: io.flow.internal.v0.models.PaypalInternalExecution; } interface PaypalExecutionUpserted { readonly discriminator: 'paypal_execution_upserted'; readonly event_id: string; readonly timestamp: string; readonly execution: io.flow.internal.v0.models.PaypalInternalExecution; } interface PaypalInternalDispute { readonly id: string; readonly dispute_id: string; readonly create_time: string; readonly update_time: string; readonly buyer_transaction_id?: string; readonly seller_transaction_id?: string; readonly transaction_reference_id?: string; readonly transaction_create_time?: string; readonly transaction_status?: string; readonly transaction_gross_amount?: string; readonly transaction_gross_currency?: string; readonly transaction_invoice_number?: string; readonly transaction_custom?: string; readonly buyer_name?: string; readonly seller_merchant_id?: string; readonly seller_merchant_name?: string; readonly items?: any /*object*/[]; readonly other_disputed_transactions?: any /*object*/[]; readonly reason: string; readonly status: string; readonly dispute_amount: string; readonly dispute_currency: string; readonly dispute_outcome_code?: string; readonly dispute_outcome_amount_refunded?: string; readonly dispute_outcome_currency?: string; readonly dispute_life_cycle_stage: string; readonly dispute_channel: string; readonly messages?: any /*object*/[]; readonly evidences?: any /*object*/[]; readonly buyer_response_due_date?: string; readonly seller_response_due_date?: string; readonly offer?: any /*object*/; readonly communication_details?: any /*object*/; readonly links?: any /*object*/[]; readonly previous_status?: string; readonly updated_by_user_id: string; readonly created_at: string; readonly updated_at: string; } interface PaypalInternalExecution { readonly id: string; readonly currency: string; readonly total: number; readonly intent: string; readonly payer: any /*object*/; readonly transactions: any /*object*/[]; readonly state: string; readonly sale_id?: string; readonly experience_profile_id?: string; readonly note_to_payer?: string; readonly redirect_urls: any /*object*/[]; readonly failure_reason?: string; readonly create_time: string; readonly update_time: string; readonly links: any /*object*/[]; readonly paypal_payment_id: string; readonly paypal_payer_id: string; readonly flow_payment_id: string; readonly flow_authorization_id: string; } interface PaypalInternalPayment { readonly id: string; readonly currency: string; readonly total: number; readonly intent: string; readonly payer: any /*object*/; readonly transactions: any /*object*/[]; readonly state: string; readonly experience_profile_id?: string; readonly note_to_payer?: string; readonly redirect_urls: any /*object*/[]; readonly failure_reason?: string; readonly create_time: string; readonly update_time: string; readonly links: any /*object*/[]; readonly flow_payment_id: string; } interface PaypalInternalRefund { readonly id: string; readonly paypal_execution_id: string; readonly flow_refund_id: string; readonly amount: any /*object*/; readonly state: string; readonly sale_id: string; readonly invoice_number: string; readonly capture_id?: string; readonly parent_payment?: string; readonly reason_code?: string; readonly refund_reason_code?: string; readonly refund_funding_type?: string; readonly create_time: string; readonly update_time?: string; readonly response: any /*object*/; } interface PaypalMerchant { readonly discriminator: 'paypal_merchant'; readonly id: string; readonly key: string; readonly organization_id: string; readonly external_id: string; readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface PaypalMerchantModificationForm { readonly discriminator: 'paypal_merchant_modification_form'; readonly external_id: string; readonly country: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface PaypalMerchantPutForm { readonly discriminator: 'paypal_merchant_put_form'; readonly organization_id: string; readonly external_id: string; readonly country: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface PaypalPaymentDeleted { readonly discriminator: 'paypal_payment_deleted'; readonly event_id: string; readonly timestamp: string; readonly payment: io.flow.internal.v0.models.PaypalInternalPayment; } interface PaypalPaymentUpserted { readonly discriminator: 'paypal_payment_upserted'; readonly event_id: string; readonly timestamp: string; readonly payment: io.flow.internal.v0.models.PaypalInternalPayment; } interface PaypalRefundDeleted { readonly discriminator: 'paypal_refund_deleted'; readonly event_id: string; readonly timestamp: string; readonly refund: io.flow.internal.v0.models.PaypalInternalRefund; } interface PaypalRefundUpserted { readonly discriminator: 'paypal_refund_upserted'; readonly event_id: string; readonly timestamp: string; readonly refund: io.flow.internal.v0.models.PaypalInternalRefund; } interface PcReviewContext { readonly discriminator: 'pc_review_context'; readonly organization_id: string; readonly item_name: string; readonly item_description?: string; readonly categories?: string; readonly taxonomy_category?: string; readonly image_url?: string; } interface PcReviewOutput { readonly discriminator: 'pc_review_output'; readonly hs_code: string; readonly alternates: string[]; readonly confidence: number; readonly reasoning: string; } interface PendingBankPayment { readonly id: string; readonly account: io.flow.internal.v0.models.AccountSummary; readonly total: io.flow.common.v0.models.Price; readonly details: io.flow.internal.v0.models.PendingBankPaymentDetail[]; } interface PendingBankPaymentDetail { readonly transaction: io.flow.internal.v0.models.TransactionReference; readonly statement: io.flow.internal.v0.models.BillingStatementReference; } interface PendingOrder { readonly id: string; readonly order: io.flow.internal.v0.models.OrderSummary; readonly shopper: io.flow.internal.v0.models.ShopperSummary; readonly merchant: io.flow.internal.v0.models.MerchantSummary; readonly payment?: io.flow.internal.v0.models.PaymentSummary; readonly remittance: io.flow.internal.v0.models.RemittanceResponsibility; readonly sequence_number: number; readonly posting_cutoff: string; } interface PlatformFeeChange { readonly organization_id: string; readonly key: string; readonly platform_fee: io.flow.internal.v0.unions.PlatformFee; readonly starts_at: string; } interface PlatformFeeChangeDeleted { readonly discriminator: 'platform_fee_change_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface PlatformFeeChangeForm { readonly platform_fee: io.flow.internal.v0.unions.PlatformFee; readonly starts_at: string; } interface PlatformFeeChangeUpserted { readonly discriminator: 'platform_fee_change_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly platform_fee_change: io.flow.internal.v0.models.PlatformFeeChange; } interface PlatformFeeDisabled { readonly discriminator: 'platform_fee_disabled'; readonly attributes?: Record; } interface PlatformFeeFlat { readonly discriminator: 'platform_fee_flat'; readonly amount: number; readonly currency: string; readonly frequency: io.flow.internal.v0.enums.SubscriptionFrequency; } interface PlatformFeePause { readonly discriminator: 'platform_fee_pause'; readonly attributes?: Record; } interface PlatformFeePercentage { readonly discriminator: 'platform_fee_percentage'; readonly tiers: io.flow.internal.v0.models.PlatformFeePercentageTier[]; } interface PlatformFeePercentageTier { readonly minimum_amount_base: number; readonly rate: number; } interface PostingProof { readonly id: string; readonly organization_id: string; readonly order_number: string; readonly sequence_number: number; readonly proof_key: string; readonly proof_discriminator: string; readonly created_at: string; } interface PostingProofDeleted { readonly discriminator: 'posting_proof_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface PostingProofUpserted { readonly discriminator: 'posting_proof_upserted'; readonly event_id: string; readonly timestamp: string; readonly posting_proof: io.flow.internal.v0.models.PostingProof; } interface Prediction { readonly main_material: string; readonly gender: string; readonly construction?: string; readonly item: string; } interface PreonboardingClassificationRabbitmqEnvelope { readonly messageType: string[]; readonly message: io.flow.internal.v0.models.PreonboardingClassificationRabbitmqMessage; } interface PreonboardingClassificationRabbitmqMessage { readonly MerchantId: string; readonly ProductName: string; readonly ProductDescription: string; readonly ProductIdInternal: string; readonly ProductIdExternal: string; readonly ProductGroupCode?: string; readonly ProductUrl?: string; readonly ProductImage?: string; readonly ProductAttributes: Record; readonly Categories?: string[]; readonly PlatformId: io.flow.internal.v0.enums.PreonboardingClassificationPlatform; } interface PreonboardingClassificationRequest { readonly id: string; readonly merchant_id: string; readonly product_id: string; readonly channel: string; readonly request_id: string; readonly status: io.flow.internal.v0.enums.PreonboardingRequestStatus; readonly name: string; readonly price: io.flow.common.v0.models.Money; readonly description: string; readonly relative_ranking: number; readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly fingerprint: string; readonly screening_mode?: io.flow.sellability.v0.enums.SellabilityScreeningMode; } interface PreonboardingClassificationResult { readonly id: string; readonly merchant_id: string; readonly product_id: string; readonly channel: string; readonly hs6_code?: string; readonly probability?: number; readonly classification_decision: io.flow.internal.v0.enums.PreonboardingClassificationDecision; readonly classification_type: io.flow.internal.v0.enums.PreonboardingClassificationType; readonly model_id?: string; } interface PreonboardingMerchant { readonly id: string; readonly merchant_id: string; readonly channel: string; readonly catalog_size: number; readonly processed_product_count: number; readonly last_request: string; readonly screening_mode?: io.flow.sellability.v0.enums.SellabilityScreeningMode; readonly updated_by_user_id: string; } interface PreonboardingMerchantDeleted { readonly discriminator: 'preonboarding_merchant_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface PreonboardingMerchantUpserted { readonly discriminator: 'preonboarding_merchant_upserted'; readonly event_id: string; readonly timestamp: string; readonly preonboarding_merchant: io.flow.internal.v0.models.PreonboardingMerchant; } interface PreonboardingSellabilityResult { readonly id?: string; readonly merchant_id: string; readonly product_id: string; readonly channel: string; readonly request_id: string; readonly status: io.flow.sellability.v0.enums.SellabilityResultStatus; readonly error_code?: io.flow.sellability.v0.enums.SellabilityResultErrorCode; readonly hs6_code?: string; readonly hs6_code_source?: io.flow.internal.v0.enums.Hs6CodeSource; readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellabilityRestrictedRegion[]; readonly rule_ids?: string[]; readonly matching_positive_keywords?: string[]; readonly matching_sellability_positive_keywords?: string[]; readonly matching_sellability_scoped_criteria?: io.flow.internal.v0.unions.SellabilityScopedCriterionMatch[]; readonly classification_failure_reason?: io.flow.internal.v0.enums.ClassificationFailureReason; readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly inferred_taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly effective_taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly fingerprint: string; readonly screening_mode?: io.flow.sellability.v0.enums.SellabilityScreeningMode; readonly decision_source?: io.flow.internal.v0.enums.SellabilityDecisionSource; readonly rule_matches?: io.flow.internal.v0.models.SellabilityRuleMatch[]; readonly rule_screenings?: io.flow.internal.v0.models.SellabilityRuleScreening[]; readonly name?: string; readonly description?: string; readonly price?: io.flow.common.v0.models.Money; readonly relative_ranking?: number; readonly created_at?: string; readonly shipping_origin_regions?: string[]; } interface PreonboardingSellabilityResultDeleted { readonly discriminator: 'preonboarding_sellability_result_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface PreonboardingSellabilityResultInserted { readonly discriminator: 'preonboarding_sellability_result_inserted'; readonly event_id: string; readonly timestamp: string; readonly preonboarding_sellability_result: io.flow.internal.v0.models.PreonboardingSellabilityResult; } interface PreonboardingSellabilityResultUpdated { readonly discriminator: 'preonboarding_sellability_result_updated'; readonly event_id: string; readonly timestamp: string; readonly previous_preonboarding_sellability_result: io.flow.internal.v0.models.PreonboardingSellabilityResult; readonly preonboarding_sellability_result: io.flow.internal.v0.models.PreonboardingSellabilityResult; } interface PriceInclusivity { readonly tax?: boolean; readonly duty?: boolean; } interface PrioritizedCenterReference { readonly center_key: string; readonly position: number; } interface ProcessingTransaction { readonly discriminator: 'processing_transaction'; readonly merchant_of_record: io.flow.common.v0.enums.MerchantOfRecord; readonly logistics_responsibility: io.flow.internal.v0.enums.ResponsibleParty[]; readonly original_at?: string; readonly reference: string; readonly psp_reference_id: string; readonly reference_id: string; readonly reference_key: string; readonly primary_identifier?: string; readonly payment_method: string; readonly original: io.flow.common.v0.models.PriceWithBase; readonly original_base_at_spot_rate?: io.flow.common.v0.models.Price; readonly fees: io.flow.internal.v0.models.Fees; readonly components?: io.flow.internal.v0.models.Components; readonly withholdings: io.flow.internal.v0.models.Components; readonly parent_transaction_id?: string; readonly order?: io.flow.internal.v0.models.BillingOrderSummary; readonly spot_rate: number; readonly flow_rate: number; readonly flow_margin: number; readonly revenue_share?: io.flow.common.v0.models.Price; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface ProcessingTransactionDeleted { readonly discriminator: 'processing_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly processing_transaction: io.flow.internal.v0.models.ProcessingTransaction; } interface ProcessingTransactionReference { readonly id: string; } interface ProcessingTransactionUpserted { readonly discriminator: 'processing_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly processing_transaction: io.flow.internal.v0.models.ProcessingTransaction; } interface ProcessorAccountReference { readonly id: string; readonly organization_id: string; readonly key: string; readonly processor: io.flow.internal.v0.enums.Processor; readonly country: string; readonly owner: io.flow.internal.v0.enums.Owner; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; } interface ProcessorEntityStatusForm { readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface ProcessorMerchantReference { readonly id: string; readonly organization_id: string; readonly key: string; readonly processor: io.flow.internal.v0.enums.Processor; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; } interface ProductClassification { readonly organization_id: string; readonly product_id: string; readonly description: string; readonly items: io.flow.internal.v0.models.ClassificationItem[]; readonly images: string[]; readonly categories: string[]; readonly attributes: Record; readonly labels: io.flow.internal.v0.models.ProductLabels; readonly model_version: string; readonly current_customs_description?: string; readonly customs_description?: string; readonly hs6_code?: string; readonly hs6_description?: string; readonly next_id?: io.flow.internal.v0.models.ClassificationProductId; } interface ProductClassificationForm { readonly discriminator: 'product_classification_form'; readonly initial_customs_description?: string; readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization; readonly model_version?: string; } interface ProductClassificationJudgementForm { readonly organization_id: string; readonly product_id: string; readonly classification_model_id?: string; readonly classification: string; readonly action: io.flow.internal.v0.enums.ItemClassificationAction; } interface ProductClassificationResult { readonly classified_product: io.flow.internal.v0.models.ClassifiedProduct; readonly next_product?: io.flow.internal.v0.models.ClassificationProductId; } interface ProductCurrencies { readonly transaction: string; readonly destination: string; } interface ProductDetailSettingsForm { readonly keys: string[]; } interface ProductHarmonization { readonly product_labels: io.flow.internal.v0.models.ProductLabels; readonly customs_description: string; readonly hs6_code?: string; readonly hs6_description?: string; } interface ProductHarmonizationForm { readonly product_labels: io.flow.internal.v0.models.ProductLabels; readonly customs_description?: string; } interface ProductLabels { readonly item_type: string; readonly gender?: io.flow.internal.v0.models.AttributeLabel; readonly material?: io.flow.internal.v0.models.AttributeLabel; readonly construction?: io.flow.internal.v0.models.AttributeLabel; } interface ProductListSettingsForm { readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[]; } interface ProductRecord { readonly organization_id: string; readonly order_number: string; readonly fulfillment_id: string; readonly currencies: io.flow.internal.v0.models.ProductCurrencies; readonly products: io.flow.internal.v0.models.ProductTransaction[]; } interface ProductRestrictionResultValidationError { readonly message: string; readonly reason: string; readonly next_action_from: io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; } interface ProductRestrictionRuleDecision { readonly id: string; readonly organization_id: string; readonly product_restriction_id: string; readonly rule_id: string; readonly status: io.flow.internal.v0.enums.RestrictionStatus; readonly matching_positive_keywords: string[]; readonly matching_negative_keywords: string[]; readonly updated_by_user_id: string; readonly flagged_for_keywords_at?: string; readonly automatically_restricted_at?: string; readonly auto_reviewed_at?: string; readonly auto_review_status?: io.flow.internal.v0.enums.RestrictionStatus; readonly manually_reviewed_at?: string; readonly manually_reviewed_by?: string; readonly cause_rule_id?: string; } interface ProductRestrictionRuleDecisionDeleted { readonly discriminator: 'product_restriction_rule_decision_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ProductRestrictionRuleDecisionUpserted { readonly discriminator: 'product_restriction_rule_decision_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly product_restriction_rule_decision: io.flow.internal.v0.models.ProductRestrictionRuleDecision; } interface ProductRestrictionState { readonly id: string; readonly organization_id: string; readonly product_number: string; readonly review_status: io.flow.internal.v0.enums.RestrictionStateReviewStatus; readonly pending_restriction_count?: number; readonly pending_verification_count?: number; readonly pending_classification_count?: number; readonly oldest_pending_restriction_date?: string; readonly oldest_pending_verification_date?: string; readonly oldest_pending_classification_date?: string; } interface ProductRestrictionStateDeleted { readonly discriminator: 'product_restriction_state_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly product_restriction_state: io.flow.internal.v0.models.ProductRestrictionState; } interface ProductRestrictionStateInserted { readonly discriminator: 'product_restriction_state_inserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly product_restriction_state: io.flow.internal.v0.models.ProductRestrictionState; } interface ProductRestrictionStateUpdated { readonly discriminator: 'product_restriction_state_updated'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly previous_product_restriction_state: io.flow.internal.v0.models.ProductRestrictionState; readonly product_restriction_state: io.flow.internal.v0.models.ProductRestrictionState; } interface ProductReviewHistory { readonly product_id: string; readonly reviews: io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision[]; } interface ProductSellabilityInternal { readonly shop_id: string; readonly product_id?: string; readonly request_id: string; readonly hs6_code: string; readonly restricted_regions: io.flow.sellability.v0.models.SellabilityRegionResult[]; readonly rule_ids: string[]; } interface ProductSellabilityInternalForm { readonly name: string; readonly price: io.flow.common.v0.models.Money; readonly description: string; readonly hs6_code: string; readonly categories: string[]; readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly shipping_origin_countries?: string[]; } interface ProductSellabilityInternalResult { readonly restricted_regions: io.flow.sellability.v0.models.SellabilityRegionResult[]; readonly rule_matches: io.flow.internal.v0.models.ProductSellabilityInternalRuleMatch[]; readonly rule_screenings: io.flow.internal.v0.models.ProductSellabilityInternalRuleScreening[]; readonly matching_positive_keywords?: string[]; readonly matching_sellability_positive_keywords?: string[]; readonly matching_sellability_scoped_criteria?: io.flow.internal.v0.unions.SellabilityScopedCriterionMatch[]; } interface ProductSellabilityInternalRuleMatch { readonly rule_id: string; readonly match_types: io.flow.internal.v0.enums.SellabilityInternalMatchType[]; } interface ProductSellabilityInternalRuleScreening { readonly rule_id: string; readonly status: io.flow.internal.v0.enums.RestrictionStatus; readonly states: io.flow.internal.v0.enums.SellabilityRuleScreeningState[]; } interface ProductSellabilityResult { readonly id?: string; readonly shop_id: string; readonly product_number: string; readonly request_id: string; readonly hs6_code: string; readonly restricted_regions?: string[]; readonly restricted_regions_by_type?: io.flow.sellability.v0.models.SellabilityRegionResult[]; readonly rule_ids?: string[]; readonly taxonomy_category?: string; readonly fingerprint?: string; readonly processed_at?: string; } interface ProductSellabilityResultDeleted { readonly discriminator: 'product_sellability_result_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ProductSellabilityResultInserted { readonly discriminator: 'product_sellability_result_inserted'; readonly event_id: string; readonly timestamp: string; readonly product_sellability_result: io.flow.internal.v0.models.ProductSellabilityResult; } interface ProductSellabilityResultUpdated { readonly discriminator: 'product_sellability_result_updated'; readonly event_id: string; readonly timestamp: string; readonly previous_product_sellability_result: io.flow.internal.v0.models.ProductSellabilityResult; readonly product_sellability_result: io.flow.internal.v0.models.ProductSellabilityResult; } interface ProductTransaction { readonly transaction_amount: number; readonly destination_amount: number; readonly quantity: number; } interface ProofOfPostingExternallyFulfilled { readonly discriminator: 'external'; readonly external_fulfillment_proof_id: string; } interface ProofOfPostingFulfilled { readonly discriminator: 'fulfilled'; readonly label_tracking_summary_id: string; } interface ProofOfPostingOrderCancellation { readonly discriminator: 'order_cancellation'; readonly order_cancellation_id: string; } interface ProofOfPostingOrderCombinedShipment { readonly discriminator: 'order_combined_shipment'; readonly order_combined_shipment_id: string; } interface ProofOfPostingShippingNotification { readonly discriminator: 'shipping_notification'; readonly shipping_notification_id: string; } interface ProofOfPostingSynthetic { readonly discriminator: 'synthetic'; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly created_at: string; } interface ProofOfPostingTimeElapsed { readonly discriminator: 'time_elapsed'; readonly order: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly created_at: string; } interface PspDistribution { readonly processor: io.flow.internal.v0.enums.Processor; readonly percentage: number; } interface PspRoutingDistribution { readonly name: string; readonly environment?: io.flow.common.v0.enums.Environment; readonly payment_methods: string[]; readonly countries: string[]; readonly currencies: string[]; readonly region?: string; readonly mcc?: string; readonly is_returning_card?: boolean; readonly priority: number; readonly distributions: io.flow.internal.v0.models.PspDistribution[]; } interface PspRoutingDistributionRevision { readonly id: string; readonly description?: string; readonly psp_routing_distributions: io.flow.internal.v0.models.PspRoutingDistribution[]; readonly created_at: string; readonly updated_at: string; } interface PspRoutingDistributionRevisionForm { readonly previous_revision?: string; readonly description?: string; readonly psp_routing_distributions: io.flow.internal.v0.models.PspRoutingDistribution[]; } interface PublicHub { readonly id: string; readonly code: string; readonly third_party_logistics_reference: string; readonly contact: io.flow.common.v0.models.Contact; readonly location: io.flow.common.v0.models.Address; } interface PublicHubForm { readonly code: string; readonly third_party_logistics_reference: string; readonly contact: io.flow.common.v0.models.Contact; readonly location: io.flow.common.v0.models.Address; } interface PvReviewContext { readonly discriminator: 'pv_review_context'; readonly organization_id: string; readonly item_name: string; readonly item_description?: string; readonly image_url?: string; readonly rule_name: string; readonly rule_reason_code: string; readonly hs_code?: string; readonly categories?: string; readonly price?: string; readonly matching_positive_keywords: string[]; readonly matching_negative_keywords: string[]; } interface PvReviewOutput { readonly discriminator: 'pv_review_output'; readonly decision: io.flow.internal.v0.enums.PvDecision; readonly confidence: number; readonly reasoning: string; } interface Quote { readonly id: string; readonly base: string; readonly target: string; readonly value: number; readonly effective_at: string; readonly expires_at: string; } interface QuoteDeleted { readonly discriminator: 'quote_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface QuoteUpserted { readonly discriminator: 'quote_upserted'; readonly event_id: string; readonly timestamp: string; readonly quote: io.flow.internal.v0.models.Quote; } interface RateAndRuleItem { readonly item_reference: string; readonly hs_code: string; readonly origin: string; readonly ship_from_address: io.flow.common.v0.models.Address; readonly duty: io.flow.price.v0.models.Duty; readonly tax: io.flow.price.v0.models.Tax; readonly duty_selection_rule: io.flow.internal.v0.enums.DutySelectionRule; } interface RateAndRuleItemForm { readonly item_reference: string; readonly hs_code: string; readonly origin: string; readonly ship_from_address: io.flow.common.v0.models.Address; } interface RateAndRuleLookup { readonly address: io.flow.common.v0.models.Address; readonly effective_date: string; readonly items: io.flow.internal.v0.models.RateAndRuleItem[]; } interface RateAndRuleLookupForm { readonly address: io.flow.common.v0.models.Address; readonly effective_date: string; readonly items: io.flow.internal.v0.models.RateAndRuleItemForm[]; } interface RateData { readonly base: string; readonly target: string; readonly effective_at: string; readonly spot_rate: number; readonly flow_margin: number; readonly flow_rate: number; readonly organization_margin: number; readonly organization_rate: number; readonly rate_lock_unit: string; readonly rate_lock_value: number; } interface RateDataV3 { readonly base: string; readonly target: string; readonly source: io.flow.internal.v0.enums.RateSource; readonly spot_rate: number; readonly flow_margin: number; readonly flow_rate: number; readonly organization_margin: number; readonly organization_rate: number; readonly rate_lock: io.flow.common.v0.models.Duration; } interface RateDeleted { readonly discriminator: 'rate_deleted'; readonly event_id: string; readonly timestamp: string; readonly rate_id: string; } interface RateDeletedV2 { readonly discriminator: 'rate_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly rate: io.flow.internal.v0.models.CurrencyInternalRate; } interface RateDestinationFreshnessSummary { readonly destination: io.flow.reference.v0.models.Country; readonly percentage_updated: number; } interface RateFreshnessSummary { readonly discriminator: 'rate-freshness'; readonly key: string; readonly updated_since: string; readonly destination_freshness_summaries: io.flow.internal.v0.models.RateDestinationFreshnessSummary[]; } interface RateFreshnessSummaryDeleted { readonly discriminator: 'rate_freshness_summary_deleted'; readonly event_id: string; readonly timestamp: string; readonly rate_freshness_summary: io.flow.internal.v0.models.RateFreshnessSummary; } interface RateFreshnessSummaryUpserted { readonly discriminator: 'rate_freshness_summary_upserted'; readonly event_id: string; readonly timestamp: string; readonly rate_freshness_summary: io.flow.internal.v0.models.RateFreshnessSummary; } interface RateLevel { readonly id: string; readonly name: string; readonly key: string; } interface RateLevelForm { readonly name: string; readonly key: string; } interface RateLevelOrganization { readonly id: string; readonly organization_id: string; readonly rate_level_id: string; readonly effective_at: string; } interface RateLevelOrganizationForm { readonly rate_level_id: string; readonly effective_at: string; } interface RateLevelRatecard { readonly id: string; readonly ratecard_id: string; readonly rate_level_id: string; } interface RateLevelRatecardForm { readonly ratecard_id: string; } interface RateLevelWithEffective { readonly id: string; readonly name: string; readonly effective_at: string; readonly key: string; } interface RateNameSummary { readonly name: string; readonly long_name?: string; readonly matching_rates_percentage: number; } interface RateSourceCompositionSummary { readonly rate_name: string; readonly percentage_composition: number; } interface RateSourceSummary { readonly discriminator: 'rate-source'; readonly key: string; readonly destination: io.flow.reference.v0.models.Country; readonly rate_source_composition_summaries: io.flow.internal.v0.models.RateSourceCompositionSummary[]; } interface RateSourceSummaryDeleted { readonly discriminator: 'rate_source_summary_deleted'; readonly event_id: string; readonly timestamp: string; readonly rate_source_summary: io.flow.internal.v0.models.RateSourceSummary; } interface RateSourceSummaryUpserted { readonly discriminator: 'rate_source_summary_upserted'; readonly event_id: string; readonly timestamp: string; readonly rate_source_summary: io.flow.internal.v0.models.RateSourceSummary; } interface RateUpserted { readonly discriminator: 'rate_upserted'; readonly event_id: string; readonly timestamp: string; readonly rate_id: string; readonly organization_id: string; readonly base: string; readonly target: string; readonly effective_at: string; readonly spot_rate: number; readonly flow_margin: number; readonly flow_rate: number; readonly organization_margin: number; readonly organization_rate: number; readonly rate_lock_unit: string; readonly rate_lock_value: number; } interface RateUpsertedV2 { readonly discriminator: 'rate_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly rate: io.flow.internal.v0.models.CurrencyInternalRate; } interface RateWithFees { readonly amount: number; readonly weight: number; readonly fees: io.flow.ratecard.v0.unions.RatecardFee[]; } interface RatecardDimensionEstimateDeleted { readonly discriminator: 'ratecard_dimension_estimate_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly estimate: io.flow.ratecard.v0.models.DimensionEstimate; } interface RatecardDimensionEstimateUpserted { readonly discriminator: 'ratecard_dimension_estimate_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly estimate: io.flow.ratecard.v0.models.DimensionEstimate; } interface RatecardInternalServiceFee { readonly id: string; readonly service_id: string; readonly created_at: string; readonly updated_at: string; readonly fees: io.flow.ratecard.v0.unions.ServiceFee[]; } interface RatecardInternalSummary { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly number: string; } interface RatecardRateLevelDeleted { readonly discriminator: 'ratecard_rate_level_deleted'; readonly event_id: string; readonly timestamp: string; readonly rate_level: io.flow.internal.v0.models.RateLevel; } interface RatecardRateLevelOrganizationDeleted { readonly discriminator: 'ratecard_rate_level_organization_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly rate_level_organization: io.flow.internal.v0.models.RateLevelOrganization; } interface RatecardRateLevelOrganizationUpserted { readonly discriminator: 'ratecard_rate_level_organization_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly rate_level_organization: io.flow.internal.v0.models.RateLevelOrganization; } interface RatecardRateLevelRatecardDeleted { readonly discriminator: 'ratecard_rate_level_ratecard_deleted'; readonly event_id: string; readonly timestamp: string; readonly rate_level_ratecard: io.flow.internal.v0.models.RateLevelRatecard; } interface RatecardRateLevelRatecardUpserted { readonly discriminator: 'ratecard_rate_level_ratecard_upserted'; readonly event_id: string; readonly timestamp: string; readonly rate_level_ratecard: io.flow.internal.v0.models.RateLevelRatecard; } interface RatecardRateLevelUpserted { readonly discriminator: 'ratecard_rate_level_upserted'; readonly event_id: string; readonly timestamp: string; readonly rate_level: io.flow.internal.v0.models.RateLevel; } interface RatecardServiceFeeDeleted { readonly discriminator: 'ratecard_service_fee_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee; } interface RatecardServiceFeeUpserted { readonly discriminator: 'ratecard_service_fee_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee; } interface RatesChanged { readonly event_id: string; readonly timestamp: string; readonly hs6: string; readonly origin: io.flow.reference.v0.models.Country; readonly destination: io.flow.reference.v0.models.Country; } interface RatesNamesSummary { readonly origin: io.flow.reference.v0.models.Country; readonly destination: io.flow.reference.v0.models.Country; readonly summaries: io.flow.internal.v0.models.RateNameSummary[]; } interface RaveenaItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.RaveenaItemType; readonly added_on: string; } interface RaveenaItemDeleted { readonly discriminator: 'raveena_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface RaveenaItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.internal.v0.enums.RaveenaItemType; readonly added_on: string; } interface RaveenaItemUpserted { readonly discriminator: 'raveena_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly item: io.flow.internal.v0.models.RaveenaItem; } interface RecordReference { readonly id: string; } interface Redirect { readonly id: string; readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls; readonly reason: io.flow.internal.v0.enums.RedirectReason; } interface RedirectActionCompleted { readonly discriminator: 'redirect_action_completed'; readonly id: string; readonly organization: string; readonly key: string; readonly expires_at: string; readonly post_payment_redirect_urls: io.flow.payment.v0.models.PostPaymentRedirectUrls; readonly inline_notification_urls?: io.flow.payment.v0.models.PostPaymentRedirectUrls; } interface RegisteredExporterTariffEligibilityData { readonly discriminator: 'rex'; readonly number: string; } interface RegisteredExporterTariffEligibilityForm { readonly discriminator: 'rex'; readonly number: string; } interface RemediateTaxDutyMetadata { readonly discriminator: 'remediate_tax_duty_metadata'; readonly arm: io.flow.internal.v0.enums.RemediateTaxDutyArm; } interface RemittanceResponsibility { readonly tax: io.flow.internal.v0.enums.ResponsibleParty; readonly duty: io.flow.internal.v0.enums.ResponsibleParty; } interface Report { readonly id: string; readonly status: io.flow.internal.v0.enums.ReportStatus; readonly type: io.flow.internal.v0.enums.ReportType; readonly from?: string; readonly to?: string; readonly payment_type?: io.flow.internal.v0.enums.ReportPaymentType; readonly url?: string; readonly processed_at?: string; } interface ReportAccount { readonly id: string; readonly currency: string; readonly source: io.flow.internal.v0.models.AccountSource; } interface ReportAmountRange { readonly min?: number; readonly max?: number; } interface ReportBankAccount { readonly id?: string; readonly last4?: string; } interface ReportBankAccountCleartext { readonly type: string; readonly routing_number: string; readonly account_number: string; readonly bank_name?: string; } interface ReportFile { readonly id: string; readonly processor: string; readonly report_file_type: io.flow.internal.v0.enums.ReportFileType; readonly merchant_of_record_identifier: io.flow.internal.v0.enums.MerchantOfRecord; readonly file_name: string; readonly status: io.flow.internal.v0.enums.ReportFileStatus; readonly failure_reason?: string; } interface ReportFilter { readonly source_type?: io.flow.internal.v0.enums.SourceTypeFilter; readonly order_payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType; readonly amount_range?: io.flow.internal.v0.models.ReportAmountRange; readonly account_currencies?: io.flow.internal.v0.enums.AccountCurrencyFilter[]; readonly channel_id?: string; } interface ReportForm { readonly type: io.flow.internal.v0.enums.ReportType; readonly from?: string; readonly to?: string; readonly payment_type?: io.flow.internal.v0.enums.ReportPaymentType; readonly organizations?: io.flow.internal.v0.models.ReportOrganizationReference[]; readonly orders?: io.flow.internal.v0.models.ReportOrderReference[]; readonly recipients?: string[]; readonly filter?: io.flow.internal.v0.models.ReportFilter; } interface ReportMerchant { readonly id: string; } interface ReportOrderReference { readonly organization_id: string; readonly order_number: string; } interface ReportOrganizationReference { readonly organization_id: string; } interface ReportOwner { readonly name: string; } interface ReportPayment { readonly id: string; readonly amount: number; readonly created_at: string; } interface ReportRecordError { readonly id: string; readonly file_id: string; readonly line_number: number; readonly failure_reason: string; } interface ReportRecordRetryQueue { readonly id: string; readonly report_file_type: io.flow.internal.v0.enums.ReportFileType; readonly type: io.flow.internal.v0.enums.InternalPaymentEntityType; readonly report_record_id: string; readonly dependent_source_id: string; } interface ReportRuleDecision { readonly rule_id: string; readonly rule_name: string; readonly status: io.flow.internal.v0.enums.RestrictionStatus; readonly count: number; } interface ReportSummary { readonly task_id: string; } interface ReportingAuthorizationReference { readonly id: string; } interface ReportingBusiness { readonly vat_registration_number: string; readonly name?: string; } interface ReportingConversionRates { readonly merchant: number; readonly entity: number; readonly destination_country?: number; readonly usd: number; readonly eur: number; readonly guaranteed?: number; readonly spot?: number; } interface ReportingCountry { readonly code: string; readonly is_eu: boolean; } interface ReportingCurrencies { readonly transaction: string; readonly merchant: string; readonly entity: string; readonly destination_country?: string; } interface ReportingDebug { readonly console_order_link: string; readonly allocation_order_totals_delta?: number; readonly allocation_order_item_discount_delta?: number; readonly missing_item_subsidies?: io.flow.internal.v0.models.ReportingDebugMissingSubsidies; readonly missing_shipping_subsidies?: io.flow.internal.v0.models.ReportingDebugMissingSubsidies; } interface ReportingDebugMissingSubsidies { readonly price?: boolean; readonly tax?: boolean; readonly duty?: boolean; } interface ReportingDestination { readonly country: io.flow.internal.v0.models.ReportingCountry; readonly province?: io.flow.internal.v0.models.ReportingProvince; } interface ReportingDetails { readonly accounting_transactions?: any /*object*/[]; readonly fulfillments?: any /*object*/[]; readonly fulfillment_delta?: io.flow.internal.v0.models.DebugFulfillmentDelta; readonly sales_records?: any /*object*/[]; readonly refund_records?: any /*object*/[]; } interface ReportingFees { readonly mor: io.flow.internal.v0.models.ReportingMonetaryValue; readonly fx: io.flow.internal.v0.models.ReportingMonetaryValue; readonly sp: io.flow.internal.v0.models.ReportingMonetaryValue; readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ReportingFreight { readonly guaranteed?: io.flow.internal.v0.models.ReportingFreightGuaranteed; readonly subsidy?: io.flow.internal.v0.models.ReportingFreightSubsidy; } interface ReportingFreightGuaranteed { readonly amount: io.flow.internal.v0.models.ReportingMonetaryValue; readonly coefficient: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ReportingFreightSubsidy { readonly amount: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ReportingFulfillment { readonly id: string; readonly sequence_number: number; readonly fulfilled_at: string; readonly completes_order: boolean; readonly refund?: io.flow.internal.v0.models.ReportingRefundReference; readonly value: io.flow.internal.v0.models.FulfillmentShopperBreakdown; readonly dispatch_country?: io.flow.internal.v0.models.ReportingCountry; readonly destination?: io.flow.internal.v0.models.ReportingDestination; readonly payment?: io.flow.internal.v0.models.ReportingPayment; readonly shipment?: io.flow.internal.v0.models.ReportingShipment; readonly is: io.flow.internal.v0.models.ReportingFulfillmentIs; readonly has: io.flow.internal.v0.models.ReportingFulfillmentHas; readonly fx: io.flow.internal.v0.models.ReportingFx; readonly business?: io.flow.internal.v0.models.ReportingBusiness; } interface ReportingFulfillmentHas { readonly zero_vat_product: boolean; } interface ReportingFulfillmentIs { readonly replacement: boolean; readonly virtual: io.flow.internal.v0.enums.ReportingFulfillmentIsVirtual; readonly duties_guaranteed: boolean; readonly wyol: boolean; readonly b2b: boolean; readonly domestic: boolean; readonly combined_shipment?: boolean; readonly order_cancelled?: boolean; readonly lvg?: boolean; readonly tax_inclusive?: boolean; readonly duty_inclusive?: boolean; readonly manual_payment?: boolean; readonly manual_capture?: boolean; readonly partial_fulfillment?: boolean; readonly partial_refund?: boolean; readonly credit_payment?: boolean; } interface ReportingFx { readonly shipping: io.flow.internal.v0.models.ReportingFxValue; readonly fees: io.flow.internal.v0.models.ReportingFxValue; readonly product: io.flow.internal.v0.models.ReportingFxValue; readonly tax: io.flow.internal.v0.models.ReportingFxValue; readonly duty: io.flow.internal.v0.models.ReportingFxValue; readonly tips?: io.flow.internal.v0.models.ReportingFxValue; readonly total: io.flow.internal.v0.models.ReportingFxValue; } interface ReportingFxValue { readonly usd: number; readonly merchant?: number; } interface ReportingMerchantBreakdown { readonly subsidies: io.flow.internal.v0.models.ReportingMerchantSubsidies; readonly fees: io.flow.internal.v0.models.ReportingMerchantFees; readonly transactions: io.flow.internal.v0.models.ReportingMerchantTransactions; } interface ReportingMerchantFees { readonly duty_guarantee: io.flow.internal.v0.models.ReportingMonetaryValue; readonly mor: io.flow.internal.v0.models.ReportingMonetaryValue; readonly fraud: io.flow.internal.v0.models.ReportingMonetaryValue; readonly fx: io.flow.internal.v0.models.ReportingMonetaryValue; readonly processing: io.flow.internal.v0.models.ReportingMonetaryValue; readonly rate_lock: io.flow.internal.v0.models.ReportingMonetaryValue; readonly transfer: io.flow.internal.v0.models.ReportingMonetaryValue; readonly product_fee?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly estimated_tax?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly estimated_duty?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly estimated_duties_and_taxes?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly td_fx_diff?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ReportingMerchantFreight { readonly base_amount?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly surcharges?: io.flow.internal.v0.models.ReportingMerchantFreightSurcharges; } interface ReportingMerchantFreightSurcharges { readonly duties_paid?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly fixed_ddp?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly fixed_currency_conversion?: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ReportingMerchantSubsidies { readonly shipping: io.flow.internal.v0.models.ReportingMonetaryValue; readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue; readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue; readonly ccf: io.flow.internal.v0.models.ReportingMonetaryValue; readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ReportingMerchantTransactions { readonly adjustment: io.flow.internal.v0.models.ReportingMonetaryValue; readonly reversal: io.flow.internal.v0.models.ReportingMonetaryValue; readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue; readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue; readonly freight: io.flow.internal.v0.models.ReportingMonetaryValue; readonly freight_breakdown?: io.flow.internal.v0.models.ReportingMerchantFreight; readonly freight_guaranteed?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly freight_non_guaranteed?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly freight_subsidy?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly discount?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly tax_refund?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly duty_refund?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly tax_reversal?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly duty_reversal?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly flat_rate_reversal?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly flat_rate_subsidy_reversal?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly tax_reversal_for_lvg_order?: boolean; readonly duty_reversal_for_lvg_order?: boolean; } interface ReportingMonetaryValue { readonly transaction: number; readonly merchant: number; readonly entity: number; readonly destination_country?: number; readonly usd: number; readonly eur: number; } interface ReportingOrderSummary { readonly id: string; readonly number: string; readonly submitted_at: string; readonly payment_source?: io.flow.experience.v0.enums.OrderPaymentSourceType; readonly is_edited?: boolean; } interface ReportingOrganizationSummary { readonly id: string; readonly name: string; } interface ReportingPayment { readonly psp: io.flow.internal.v0.models.ReportingMonetaryValue; readonly credit: io.flow.internal.v0.models.ReportingMonetaryValue; readonly subsidized: io.flow.internal.v0.models.ReportingMonetaryValue; readonly manual: io.flow.internal.v0.models.ReportingMonetaryValue; readonly cod: io.flow.internal.v0.models.ReportingMonetaryValue; readonly total: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ReportingProvince { readonly code?: string; readonly name: string; } interface ReportingReconciliation { readonly date: string; readonly month: number; readonly year: number; } interface ReportingRefundReference { readonly id: string; } interface ReportingShipment { readonly remittance?: io.flow.internal.v0.models.RemittanceResponsibility; readonly carrier: string; readonly tracking_number?: string; } interface ReportingShopperFees { readonly fuel: io.flow.internal.v0.models.ReportingMonetaryValue; readonly remote_area: io.flow.internal.v0.models.ReportingMonetaryValue; readonly oversize: io.flow.internal.v0.models.ReportingMonetaryValue; readonly ccf: io.flow.internal.v0.models.ReportingMonetaryValue; readonly emergency: io.flow.internal.v0.models.ReportingMonetaryValue; readonly peak: io.flow.internal.v0.models.ReportingMonetaryValue; readonly total?: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ReportingUsd { readonly usd: number; } interface ReportingVatRemittance { readonly currency: string; readonly rate: io.flow.internal.v0.models.ReportingVatRemittanceRate; } interface ReportingVatRemittanceRate { readonly entity: number; } interface ReportingVendor { readonly id: string; } interface RequeueRequestForm { readonly product_ids?: string[]; readonly hs6_codes?: string[]; readonly preferred_item_type?: string; readonly ignore_classification_status: boolean; readonly select_mismatching_item_types: boolean; } interface RescreenRestrictionsProducts { readonly placeholder?: boolean; } interface RestrictionAttributeConditionMultiple { readonly discriminator: 'multiple'; readonly attribute: string; readonly operator: io.flow.internal.v0.enums.RestrictionAttributeConditionMultipleOperator; readonly values: string[]; } interface RestrictionAttributeConditionSingle { readonly discriminator: 'single'; readonly attribute: string; readonly operator: io.flow.internal.v0.enums.RestrictionAttributeConditionSingleOperator; readonly value: string; } interface RestrictionAttributeRule { readonly conditions: io.flow.internal.v0.unions.RestrictionAttributeRuleCondition[]; readonly operator?: io.flow.internal.v0.enums.RestrictionAttributeOperator; readonly result: io.flow.internal.v0.enums.RestrictionAttributeResult; } interface RestrictionBlanketOrganizationExemption { readonly id: string; readonly organization_id: string; readonly description: string; readonly is_all_rules_exempt: boolean; readonly exempt_regions?: string[]; readonly excluded_rules?: string[]; } interface RestrictionBlanketOrganizationExemptionForm { readonly organization_id: string; readonly description: string; readonly is_all_rules_exempt: boolean; readonly exempt_regions?: string[]; readonly excluded_rules?: string[]; } interface RestrictionCategory { readonly category: string; } interface RestrictionFilter { readonly users: io.flow.common.v0.models.User[]; readonly rules: io.flow.internal.v0.models.RestrictionRuleSummary[]; readonly positive_keywords: string[]; readonly negative_keywords: string[]; } interface RestrictionHistoryItemReviewDecision { readonly id: string; readonly product_restriction_id: string; readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary; readonly keywords: io.flow.internal.v0.models.RestrictionKeywords; readonly status: io.flow.internal.v0.enums.RestrictionStatus; readonly cause_rule_id?: string; readonly created_at: string; readonly updated_at: string; readonly updated_by?: io.flow.common.v0.models.User; readonly agent_review_status?: string; readonly agent_reviewed_at?: string; readonly agent_confidence?: number; readonly agent_confidence_threshold?: number; } interface RestrictionItem { readonly id: string; readonly organization_id: string; readonly restriction_product_id: string; readonly product_id: string; readonly item_numbers: string[]; readonly primary_item_number?: string; readonly name: string; readonly price: io.flow.common.v0.models.Price; readonly hs_code?: string; readonly hs_code_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource; readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope; readonly classification_resource_id?: string; readonly description: string; readonly category?: string; readonly categories: string[]; readonly images: io.flow.catalog.v0.models.Image[]; readonly thumbnails: io.flow.catalog.v0.models.Image[]; readonly url?: string; readonly review: io.flow.internal.v0.models.RestrictionItemReview; readonly created_at: string; readonly updated_at: string; readonly channel?: string; } interface RestrictionItemRequestForm { readonly status?: io.flow.internal.v0.enums.RestrictionStatus; readonly statuses?: io.flow.internal.v0.enums.RestrictionStatus[]; readonly rule_ids?: string[]; readonly user_ids?: string[]; readonly exclude_items_with_pc?: boolean; readonly category?: string; readonly product_name_query?: string; readonly hs6?: string; readonly positive_keywords?: string[]; readonly negative_keywords?: string[]; readonly product_id?: string; readonly escalated_only?: boolean; } interface RestrictionItemReview { readonly id: string; readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary; readonly status: io.flow.internal.v0.enums.RestrictionStatus; readonly cause_rule_id?: string; readonly keywords: io.flow.internal.v0.models.RestrictionKeywords; readonly date?: string; readonly updated_by?: io.flow.common.v0.models.User; readonly created_at: string; readonly agent_review_status?: string; readonly agent_reviewed_at?: string; readonly agent_confidence?: number; readonly agent_confidence_threshold?: number; readonly updated_at: string; } interface RestrictionItemReviewDecisionForm { readonly restriction_item_id: string; readonly decision: io.flow.internal.v0.enums.RestrictionDecision; } interface RestrictionItemReviewSummary { readonly rule: io.flow.internal.v0.models.RestrictionRuleSummary; readonly status: io.flow.internal.v0.enums.RestrictionStatus; readonly updated_at: string; } interface RestrictionKeywords { readonly positive_keywords: string[]; readonly negative_keywords: string[]; } interface RestrictionOrganization { readonly id: string; readonly name: string; readonly environment: io.flow.restrictions.v0.enums.RestrictionEnvironment; readonly url?: string; readonly approval_status?: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus; readonly screening_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus; readonly review_type?: io.flow.internal.v0.enums.OrganizationRestrictionReviewType; readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel; readonly hs_code?: string; readonly merchant_category_code?: string; readonly notes: io.flow.internal.v0.models.OrganizationRestrictionStatusNote[]; readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money; readonly last_year_domestic_gmv?: io.flow.common.v0.models.Money; } interface RestrictionOrganizationDecisionSummary { readonly organization: io.flow.internal.v0.models.RestrictionOrganization; readonly earliest_pending_date: string; readonly date: string; readonly counts: io.flow.internal.v0.models.RestrictionSummaryCounts; } interface RestrictionOrganizationStatus { readonly id: string; readonly organization_id: string; readonly approval: io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus; readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus; readonly risk_level?: io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel; readonly selective_review_start_date?: string; readonly selective_review_end_date?: string; readonly full_review_start_date?: string; readonly full_review_end_date?: string; readonly reason?: string; readonly updated_at: string; } interface RestrictionOrganizationStatusDeleted { readonly discriminator: 'restriction_organization_status_deleted'; readonly event_id: string; readonly timestamp: string; readonly restriction_organization_status: io.flow.internal.v0.models.RestrictionOrganizationStatus; } interface RestrictionOrganizationStatusUpserted { readonly discriminator: 'restriction_organization_status_upserted'; readonly event_id: string; readonly timestamp: string; readonly restriction_organization_status: io.flow.internal.v0.models.RestrictionOrganizationStatus; } interface RestrictionOrganizationSummary { readonly id: string; readonly name: string; readonly environment: io.flow.restrictions.v0.enums.RestrictionEnvironment; readonly source: io.flow.internal.v0.enums.OrganizationSource; } interface RestrictionProduct { readonly id: string; readonly organization_id: string; readonly product_id: string; readonly name: string; readonly price: io.flow.common.v0.models.Price; readonly item_numbers: string[]; readonly primary_item_number?: string; readonly description: string; readonly category?: string; readonly categories: string[]; readonly images: io.flow.catalog.v0.models.Image[]; readonly thumbnails: io.flow.catalog.v0.models.Image[]; readonly hs_code?: string; readonly hs_code_source?: io.flow.internal.v0.enums.HarmonizationDecisionSource; readonly classification_scope?: io.flow.internal.v0.enums.ClassificationScope; readonly classification_resource_id?: string; readonly item_classification_resource_ids?: Record; readonly item_variant_names?: Record; readonly url?: string; readonly reviews: io.flow.internal.v0.models.RestrictionItemReview[]; readonly created_at: string; readonly updated_at: string; readonly taxonomy_category?: io.flow.product.v0.models.ProductTaxonomyCategory; readonly taxonomy_data?: io.flow.product.v0.models.ProductTaxonomyData[]; readonly channel?: string; } interface RestrictionProductDecisionForm { readonly rule_decisions: io.flow.internal.v0.models.RestrictionRuleDecisionForm[]; } interface RestrictionProductRequestForm { readonly restricted_rules?: string[]; readonly accepted_rules?: string[]; readonly positive_keywords?: string[]; readonly negative_keywords?: string[]; readonly user_ids?: string[]; readonly category?: string; readonly product_name_query?: string; readonly hs6?: string; readonly product_id?: string; } interface RestrictionProductSummary { readonly product_id?: string; readonly name: string; readonly restrictions: io.flow.internal.v0.models.RestrictionItemReviewSummary[]; readonly prohibited_regions?: string[]; readonly fatal_restricted_regions: string[]; readonly fatal_review_pending_regions: string[]; } interface RestrictionRule { readonly id: string; readonly name: string; readonly description: string; readonly action: io.flow.internal.v0.enums.RestrictionAction; readonly regions: string[]; readonly positive_keywords: string[]; readonly negative_keywords: string[]; readonly value_threshold_usd?: number; readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[]; readonly source: io.flow.internal.v0.enums.RestrictionOrganizationSource; readonly sellability_positive_keywords?: string[]; readonly community_exemption: io.flow.internal.v0.enums.RestrictionRuleCommunityExemption[]; readonly reason_code: string; readonly attribute_names?: string[]; readonly attribute_rule_conditions?: io.flow.internal.v0.models.AttributeRule; readonly keyword_cancelling?: io.flow.internal.v0.models.KeywordCancelling[]; readonly auto_accept_keyword_cancelling?: io.flow.internal.v0.models.AutoAcceptKeywordCancelling[]; readonly sellability_auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[]; readonly sellability_keyword_cancelling?: io.flow.internal.v0.models.KeywordCancelling[]; readonly sellability_auto_accept_keyword_cancelling?: io.flow.internal.v0.models.AutoAcceptKeywordCancelling[]; readonly sellability_scoped_criteria?: io.flow.internal.v0.unions.SellabilityScopedCriterion[]; readonly activation_status: io.flow.internal.v0.enums.RestrictionRuleActivationStatus; readonly evaluation_mode: io.flow.internal.v0.enums.RestrictionRuleEvaluationMode; readonly settings?: io.flow.internal.v0.models.RestrictionRuleSettings; } interface RestrictionRuleDecisionForm { readonly rule_id: string; readonly decision: io.flow.internal.v0.enums.RestrictionDecision; readonly product_id: string; } interface RestrictionRuleDeleted { readonly discriminator: 'restriction_rule_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface RestrictionRuleEffect { readonly id: string; readonly rule_id: string; readonly effect: io.flow.sellability.v0.enums.RuleEffectType; readonly regions: string[]; readonly description?: string; } interface RestrictionRuleEffectDeleted { readonly discriminator: 'restriction_rule_effect_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface RestrictionRuleEffectForm { readonly rule_id: string; readonly effect: io.flow.sellability.v0.enums.RuleEffectType; readonly regions: string[]; readonly description?: string; } interface RestrictionRuleEffectUpserted { readonly discriminator: 'restriction_rule_effect_upserted'; readonly event_id: string; readonly timestamp: string; readonly restriction_rule_effect: io.flow.internal.v0.models.RestrictionRuleEffect; } interface RestrictionRuleForm { readonly name: string; readonly description: string; readonly action: io.flow.internal.v0.enums.RestrictionAction; readonly regions: string[]; readonly positive_keywords: string[]; readonly negative_keywords: string[]; readonly value_threshold_usd?: number; readonly auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[]; readonly source: io.flow.internal.v0.enums.RestrictionOrganizationSource; readonly sellability_positive_keywords?: string[]; readonly community_exemption: io.flow.internal.v0.enums.RestrictionRuleCommunityExemption[]; readonly reason_code: string; readonly attribute_names?: string[]; readonly attribute_rule_conditions?: io.flow.internal.v0.models.AttributeRule; readonly keyword_cancelling?: io.flow.internal.v0.models.KeywordCancelling[]; readonly auto_accept_keyword_cancelling?: io.flow.internal.v0.models.AutoAcceptKeywordCancelling[]; readonly sellability_auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[]; readonly sellability_keyword_cancelling?: io.flow.internal.v0.models.KeywordCancelling[]; readonly sellability_auto_accept_keyword_cancelling?: io.flow.internal.v0.models.AutoAcceptKeywordCancelling[]; readonly sellability_scoped_criteria?: io.flow.internal.v0.unions.SellabilityScopedCriterion[]; readonly activation_status: io.flow.internal.v0.enums.RestrictionRuleActivationStatus; readonly evaluation_mode: io.flow.internal.v0.enums.RestrictionRuleEvaluationMode; readonly settings?: io.flow.internal.v0.models.RestrictionRuleSettings; } interface RestrictionRuleLaneExemption { readonly id: string; readonly rule_id: string; readonly description: string; readonly origin_regions: string[]; readonly destination_regions: string[]; } interface RestrictionRuleLaneExemptionForm { readonly rule_id: string; readonly description: string; readonly origin_regions: string[]; readonly destination_regions: string[]; } interface RestrictionRuleOrganizationExemption { readonly id: string; readonly organization_id: string; readonly rule_id: string; readonly description: string; readonly exempt_regions?: string[]; readonly ignored_keywords?: string[]; readonly additional_keywords?: string[]; readonly community_exemption_override?: io.flow.internal.v0.enums.RestrictionRuleCommunityExemption[]; readonly is_rule_active?: boolean; readonly ignored_auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[]; readonly additional_auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[]; } interface RestrictionRuleOrganizationExemptionForm { readonly organization_id: string; readonly rule_id: string; readonly description: string; readonly exempt_regions?: string[]; readonly ignored_keywords?: string[]; readonly additional_keywords?: string[]; readonly community_exemption_override?: io.flow.internal.v0.enums.RestrictionRuleCommunityExemption[]; readonly is_rule_active?: boolean; readonly ignored_auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[]; readonly additional_auto_review_criteria?: io.flow.internal.v0.models.AutoReviewCriteria[]; } interface RestrictionRuleOverride { readonly id: string; readonly organization_id: string; readonly rule_id: string; readonly value_threshold_usd: number; } interface RestrictionRuleSettings { readonly requires_review_to_unrestrict?: boolean; readonly review_lane?: io.flow.internal.v0.enums.RestrictionRuleReviewLane; } interface RestrictionRuleSideEffect { readonly id: string; readonly rule_id: string; readonly target_rule_id: string; readonly action: io.flow.internal.v0.enums.RestrictionStatus; readonly description?: string; } interface RestrictionRuleSideEffectDeleted { readonly discriminator: 'restriction_rule_side_effect_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface RestrictionRuleSideEffectUpserted { readonly discriminator: 'restriction_rule_side_effect_upserted'; readonly event_id: string; readonly timestamp: string; readonly restriction_rule_side_effect: io.flow.internal.v0.models.RestrictionRuleSideEffect; } interface RestrictionRuleSummary { readonly id: string; readonly name: string; readonly description: string; } interface RestrictionRuleUpserted { readonly discriminator: 'restriction_rule_upserted'; readonly event_id: string; readonly timestamp: string; readonly restriction_rule: io.flow.internal.v0.models.RestrictionRule; } interface RestrictionSummaryCounts { readonly pending_restriction_count: number; readonly pending_verification_count: number; readonly pending_classification_count: number; } interface RestrictionsAthenaDailyopsFs { readonly id: string; readonly report_date: string; readonly num_products_with_fs_result?: number; readonly num_products_sellable_somewhere_by_fs?: number; readonly num_products_restricted_somewhere_by_fs?: number; readonly num_products_with_false_allows_by_fs?: number; readonly num_products_with_false_restricts_by_fs?: number; readonly daily_num_products_with_fs_result?: number; readonly daily_num_products_sellable_somewhere_by_fs?: number; readonly daily_num_products_restricted_somewhere_by_fs?: number; readonly daily_num_products_with_false_allows_by_fs?: number; readonly daily_num_products_with_false_restricts_by_fs?: number; } interface RestrictionsAthenaDailyopsFsDeleted { readonly discriminator: 'restrictions_athena_dailyops_fs_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface RestrictionsAthenaDailyopsFsUpserted { readonly discriminator: 'restrictions_athena_dailyops_fs_upserted'; readonly event_id: string; readonly timestamp: string; readonly restrictions_athena_dailyops_fs: io.flow.internal.v0.models.RestrictionsAthenaDailyopsFs; } interface RestrictionsAthenaDailyopsPcPv { readonly id: string; readonly report_date: string; readonly intent_level: io.flow.internal.v0.enums.AthenaDailyopsIntentLevel; readonly num_orgs_setup_complete_with_pvs: number; readonly num_products_setup_complete_with_pvs: number; readonly num_orgs_transacting_with_pvs: number; readonly num_products_transacting_with_pvs: number; readonly num_orgs_setup_complete_with_pcs: number; readonly num_products_setup_complete_with_pcs: number; readonly num_orgs_transacting_with_pcs: number; readonly num_products_transacting_with_pcs: number; readonly oldest_pv_product_date_setup_complete?: string; readonly oldest_pv_product_date_transacting?: string; readonly oldest_pc_product_date_setup_complete?: string; readonly oldest_pc_product_date_transacting?: string; readonly oldest_insufficient_details_pv_active?: string; readonly oldest_insufficient_details_pv_transacting?: string; readonly num_pv_inflow_net_new: number; readonly num_pv_outflow_human_decisions: number; readonly num_pv_outflow_auto_review_decisions: number; readonly num_pv_outflow_side_effect_decisions: number; readonly num_pending_decisions_transacting: number; readonly pv_decisions_setup_complete: number; } interface RestrictionsAthenaDailyopsPcPvDeleted { readonly discriminator: 'restrictions_athena_dailyops_pc_pv_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface RestrictionsAthenaDailyopsPcPvUpserted { readonly discriminator: 'restrictions_athena_dailyops_pc_pv_upserted'; readonly event_id: string; readonly timestamp: string; readonly restrictions_athena_dailyops_pc_pv: io.flow.internal.v0.models.RestrictionsAthenaDailyopsPcPv; } interface RestrictionsDailyops { readonly id: string; readonly report_date: string; readonly num_orgs_setup_complete_with_pvs: number; readonly num_products_setup_complete_with_pvs: number; readonly num_orgs_transacting_with_pvs: number; readonly num_products_transacting_with_pvs: number; readonly num_orgs_setup_complete_with_pcs: number; readonly num_products_setup_complete_with_pcs: number; readonly num_orgs_transacting_with_pcs: number; readonly num_products_transacting_with_pcs: number; readonly oldest_pv_product_date_setup_complete: string; readonly oldest_pv_product_date_transacting: string; readonly oldest_pc_product_date_setup_complete: string; readonly oldest_pc_product_date_transacting: string; readonly percent_products_reviewed_transacting?: number; readonly num_pv_inflow_net_new: number; readonly num_pv_outflow_human_decisions: number; readonly num_pv_outflow_auto_review_decisions: number; readonly num_pv_outflow_side_effect_decisions: number; readonly num_pending_decisions_transacting: number; readonly oldest_insufficient_details_pv_active?: string; readonly oldest_insufficient_details_pv_transacting?: string; readonly num_products_with_fs_result?: number; readonly num_products_sellable_somewhere_by_fs?: number; readonly num_products_restricted_somewhere_by_fs?: number; readonly num_products_with_false_allows_by_fs?: number; readonly num_products_with_false_restricts_by_fs?: number; readonly daily_num_products_with_fs_result?: number; readonly daily_num_products_sellable_somewhere_by_fs?: number; readonly daily_num_products_restricted_somewhere_by_fs?: number; readonly daily_num_products_with_false_allows_by_fs?: number; readonly daily_num_products_with_false_restricts_by_fs?: number; readonly num_unserviceable_taxonomy_decisions_created?: number; } interface RestrictionsDailyopsDeleted { readonly discriminator: 'restrictions_dailyops_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface RestrictionsDailyopsUpserted { readonly discriminator: 'restrictions_dailyops_upserted'; readonly event_id: string; readonly timestamp: string; readonly restrictions_dailyops: io.flow.internal.v0.models.RestrictionsDailyops; } interface ResyncByDestinations { readonly destinations: io.flow.reference.v0.models.Country[]; } interface ResyncByHs6Destinations { readonly hs6_code: string; readonly destinations: io.flow.reference.v0.models.Country[]; } interface ResyncByHs6Origin { readonly hs6_code: string; readonly origin: io.flow.reference.v0.models.Country; } interface ResyncFallbackRates { readonly destinations: io.flow.reference.v0.models.Country[]; } interface Return { readonly id: string; readonly order: io.flow.internal.v0.models.OrderSummary; readonly shopper: io.flow.internal.v0.models.ShopperSummary; readonly merchant: io.flow.internal.v0.models.MerchantSummary; readonly remittance: io.flow.internal.v0.models.RemittanceResponsibility; readonly payment?: io.flow.internal.v0.models.PaymentSummary; readonly sequence_number: number; readonly posting_cutoff: string; readonly trigger: io.flow.internal.v0.unions.ReturnTrigger; readonly returned_at: string; readonly completes_order: boolean; } interface ReturnPolicyDeleted { readonly discriminator: 'return_policy_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly return_policy: io.flow.catalog.RESERVED_WORD_return.v0.models.ReturnPolicy; } interface ReturnPolicyItemResultDeleted { readonly discriminator: 'return_policy_item_result_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly result: io.flow.catalog.RESERVED_WORD_return.v0.models.ReturnPolicyItemResult; } interface ReturnPolicyItemResultUpserted { readonly discriminator: 'return_policy_item_result_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly result: io.flow.catalog.RESERVED_WORD_return.v0.models.ReturnPolicyItemResult; } interface ReturnPolicyUpserted { readonly discriminator: 'return_policy_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly return_policy: io.flow.catalog.RESERVED_WORD_return.v0.models.ReturnPolicy; } interface ReturnSummary { readonly id: string; readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[]; readonly key: string; readonly tracking_summary?: io.flow.internal.v0.models.SearchTrackingSummary; } interface ReturnTriggerCreditRefund { readonly discriminator: 'by_credit_refund'; readonly order_refund_transaction_id: string; } interface ReturnTriggerRefund { readonly discriminator: 'by_refund'; readonly refund: io.flow.payment.v0.models.RefundReference; } interface ReturnTriggerReversal { readonly discriminator: 'by_reversal'; readonly reversal: io.flow.internal.v0.models.TransactionReference; } interface RevenueRecord { readonly id: string; readonly organization: io.flow.internal.v0.models.ReportingOrganizationSummary; readonly parent?: io.flow.internal.v0.models.RecordReference; readonly type: io.flow.internal.v0.enums.RevenueRecordType; readonly order: io.flow.internal.v0.models.ReportingOrderSummary; readonly vendor: io.flow.internal.v0.models.ReportingVendor; readonly currencies: io.flow.internal.v0.models.ReportingCurrencies; readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates; readonly reconciliation: io.flow.internal.v0.models.ReportingReconciliation; readonly merchant: io.flow.internal.v0.models.ReportingMerchantBreakdown; readonly fulfillment: io.flow.internal.v0.models.ReportingFulfillment; readonly vat_remittance: io.flow.internal.v0.models.ReportingVatRemittance; readonly marked_as_final: io.flow.internal.v0.models.MarkedAsFinal; readonly debug: io.flow.internal.v0.models.ReportingDebug; } interface RevenueRecordDeleted { readonly discriminator: 'revenue_record_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface RevenueRecordUpserted { readonly discriminator: 'revenue_record_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly revenue_record: io.flow.internal.v0.models.RevenueRecord; } interface ReviewRequestItem { readonly review_type: io.flow.internal.v0.enums.AiReviewType; readonly review_id: string; readonly context: io.flow.internal.v0.unions.AiReviewContext; } interface RoutingAccount { readonly discriminator: 'routing_account'; readonly processor: io.flow.internal.v0.enums.Processor; readonly processor_account: io.flow.internal.v0.models.ProcessorAccountReference; } interface RoutingMerchant { readonly discriminator: 'routing_merchant'; readonly processor: io.flow.internal.v0.enums.Processor; readonly processor_account: io.flow.internal.v0.models.ProcessorAccountReference; readonly processor_merchant: io.flow.internal.v0.models.ProcessorMerchantReference; } interface RoutingProcessor { readonly discriminator: 'routing_processor'; readonly processor: io.flow.internal.v0.enums.Processor; } interface SalesPaymentRecord { readonly id: string; readonly organization: io.flow.internal.v0.models.ReportingOrganizationSummary; readonly vendor?: io.flow.internal.v0.models.ReportingVendor; readonly order: io.flow.internal.v0.models.ReportingOrderSummary; readonly order_total: io.flow.internal.v0.models.ReportingMonetaryValue; readonly shopper_breakdown: io.flow.internal.v0.models.ShopperBreakdown; readonly payment: io.flow.internal.v0.models.ReportingPayment; readonly tax?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly duty?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly fees: io.flow.internal.v0.models.ReportingFees; readonly freight?: io.flow.internal.v0.models.ReportingFreight; readonly conversion_rate: io.flow.internal.v0.models.ReportingConversionRates; readonly payment_is: io.flow.internal.v0.models.PaymentIs; readonly price_inclusivity?: io.flow.internal.v0.models.PriceInclusivity; readonly destination_country: string; readonly destination_province?: string; readonly fulfilled_at?: string; readonly reconciliation?: io.flow.internal.v0.models.ReportingReconciliation; readonly is_eu_destination?: boolean; readonly debug_url?: string; } interface SalesPaymentRecordDeleted { readonly discriminator: 'sales_payment_record_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface SalesPaymentRecordUpserted { readonly discriminator: 'sales_payment_record_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly sales_payment_record: io.flow.internal.v0.models.SalesPaymentRecord; } interface SandboxSetup { readonly requested_by: string; } interface SandboxSetupForm { readonly requested_by: string; } interface ScheduledPayment { readonly payment: io.flow.internal.v0.models.ReportPayment; readonly bank_account: io.flow.internal.v0.models.ReportBankAccountCleartext; readonly account: io.flow.internal.v0.models.ReportAccount; readonly merchant: io.flow.internal.v0.models.ReportMerchant; readonly owner: io.flow.internal.v0.models.ReportOwner; readonly description: string; } interface Screen { readonly id: string; readonly q: string; readonly name: string; readonly key: string; readonly country?: string; readonly other_names?: string[]; } interface ScreenForm { readonly q: string; readonly key: string; readonly country?: string; } interface ScreeningStatusChange { readonly id: string; readonly previous_status?: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus; readonly status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus; readonly reason?: string; readonly status_set_at: string; } interface ScreeningStatusChangeDeleted { readonly discriminator: 'screening_status_change_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ScreeningStatusChangeUpserted { readonly discriminator: 'screening_status_change_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly screening_status_change: io.flow.internal.v0.models.ScreeningStatusChange; } interface SearchAuthorization { readonly discriminator: 'search_authorization'; readonly result: io.flow.payment.v0.models.AuthorizationResult; readonly method: string; readonly customer?: io.flow.common.v0.models.OrderCustomer; readonly address?: io.flow.common.v0.models.Address; readonly processor?: io.flow.payment.v0.models.PaymentProcessor; } interface SearchCustomerSummary { readonly name: io.flow.common.v0.models.Name; readonly email?: string; } interface SearchExperienceSummary { readonly discriminator: 'search_experience_summary'; readonly key: string; readonly name: string; readonly status: io.flow.experience.v0.enums.ExperienceStatus; } interface SearchItemSummary { readonly discriminator: 'search_item_summary'; readonly number: string; readonly name: string; } interface SearchOrderSummary { readonly discriminator: 'search_order_summary'; readonly number: string; readonly customer: io.flow.internal.v0.models.SearchCustomerSummary; readonly destination_country?: string; readonly submitted_at?: string; } interface SearchProviderExport { readonly name: string; } interface SearchTrackingSummary { readonly timestamp: string; readonly description: string; readonly number: string; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly label: io.flow.internal.v0.models.LabelSummary; } interface SellabilityCheckResult { readonly status: io.flow.internal.v0.enums.SellabilityCheckStatus; readonly result: io.flow.internal.v0.enums.EvaluationCheckResult; readonly current_rule_ids?: string[]; readonly current_restricted_regions?: io.flow.sellability.v0.models.SellabilityRegionResult[]; readonly merchant_rule_ids?: string[]; readonly merchant_restricted_regions?: io.flow.sellability.v0.models.SellabilityRegionResult[]; readonly current_error?: io.flow.sellability.v0.models.SellabilityError[]; readonly merchant_error?: io.flow.sellability.v0.models.SellabilityError[]; } interface SellabilityPendingVerification { readonly id: string; readonly merchant_id: string; readonly product_id: string; readonly channel: string; readonly request_id: string; readonly name: string; readonly description: string; readonly taxonomy_category?: string; readonly hs6_code?: string; readonly price?: string; readonly rule_id: string; readonly reason_code: string; readonly matching_keywords?: string; readonly status: string; readonly agent_decision?: string; readonly agent_reasoning?: string; readonly created_at: string; readonly updated_at: string; } interface SellabilityPendingVerificationDeleted { readonly discriminator: 'sellability_pending_verification_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface SellabilityPendingVerificationUpserted { readonly discriminator: 'sellability_pending_verification_upserted'; readonly event_id: string; readonly timestamp: string; readonly sellability_pending_verification: io.flow.internal.v0.models.SellabilityPendingVerification; } interface SellabilityRuleMatch { readonly reason_code: string; readonly match_types: io.flow.internal.v0.enums.SellabilityInternalMatchType[]; } interface SellabilityRuleScreening { readonly reason_code: string; readonly status: io.flow.internal.v0.enums.RestrictionStatus; readonly states: io.flow.internal.v0.enums.SellabilityRuleScreeningState[]; } interface ServiceFees { readonly ratecard: io.flow.internal.v0.models.RatecardInternalSummary; readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[]; } interface ServiceFeesForm { readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[]; } interface SessionOrderData { readonly id: string; readonly session: io.flow.common.v0.models.SessionReference; readonly attributes: Record; readonly customer: io.flow.common.v0.models.OrderCustomer; readonly destination: io.flow.experience.v0.models.OrderAddress; } interface SetupBlockPutForm { readonly reasons: io.flow.organization.onboarding.state.v0.enums.OnboardingBlockedReason[]; } interface SfExpress { readonly discriminator: 'sf_express'; readonly checkword: string; readonly customer_code: string; readonly product_code: string; readonly customer_id: string; } interface ShipmentCostSummary { readonly lane_id?: string; readonly ratecard_id?: string; readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner; readonly glbe_shipping_method_id?: string; readonly glbe_proposition_name?: string; readonly weight_break?: number; readonly channel_revenue_share_percentage?: number; readonly rate_level_key?: string; readonly cost_estimate_source: io.flow.label.v0.enums.CostEstimateSource; readonly cost: io.flow.common.v0.models.Money; readonly dim_factor: number; } interface ShippingCostDeleted { readonly discriminator: 'shipping_cost_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShippingCostSummary { readonly id: string; readonly source: io.flow.billing.v0.enums.TransactionSource; readonly organization_id: string; readonly order_number: string; readonly amount: io.flow.common.v0.models.Money; readonly tax: io.flow.common.v0.models.Money; readonly label_id?: string; readonly shipping_label?: io.flow.label.v0.models.ShippingLabelSummary; readonly base?: io.flow.trueup.v0.models.LabelBase; readonly surcharges?: io.flow.trueup.v0.models.LabelSurcharge[]; } interface ShippingCostUpserted { readonly discriminator: 'shipping_cost_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shipping_cost: io.flow.internal.v0.models.ShippingCostSummary; } interface ShippingLane { readonly origin: string; readonly destination: string; } interface ShippingMethodReference { readonly id: string; } interface ShippingPricing { readonly freight_cost: number; readonly customer_price: number; } interface ShippingRateEstimateAvailableInternal { readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow; readonly total_amount: io.flow.common.v0.models.Money; readonly base_amount: io.flow.common.v0.models.Money; readonly fees: io.flow.ratecard.v0.unions.RatecardFee[]; readonly dimensional_weight?: io.flow.common.v0.models.Measurement; readonly gravitational_weight?: io.flow.common.v0.models.Measurement; readonly weight_break?: number; readonly ratecard_id?: string; readonly lane_id?: string; readonly rate_level_key?: string; readonly glbe_shipping_method_id?: string; readonly glbe_proposition_name?: string; readonly channel_revenue_share_percentage?: number; readonly distance_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement; readonly weight_unit_of_measurement?: io.flow.common.v0.enums.UnitOfMeasurement; } interface ShippingRateEstimateInternal { readonly channel_id: string; readonly organization_id: string; readonly service: string; readonly origin_address: io.flow.common.v0.models.Address; readonly destination_address: io.flow.common.v0.models.Address; readonly shipping_date_time: string; readonly available: io.flow.internal.v0.models.ShippingRateEstimateAvailableInternal[]; } interface ShippingRateEstimateRequestInternal { readonly channel_id: string; readonly organization_id: string; readonly origin_address: io.flow.common.v0.models.Address; readonly destination_address: io.flow.common.v0.models.Address; readonly package_dimensions: io.flow.common.v0.models.Dimension; readonly shipping_date_time: string; readonly service: string; readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty; readonly duties_owed?: io.flow.common.v0.models.Money; readonly taxes_owed?: io.flow.common.v0.models.Money; readonly line_items?: io.flow.common.v0.models.LineItemForm[]; readonly include_unpublished?: boolean; } interface ShopifyAddress { readonly address1: string; readonly city: string; readonly country_code: string; readonly address2?: string; readonly postal_code?: string; readonly province?: string; } interface ShopifyCallbackError { readonly errors: io.flow.internal.v0.models.ShopifyCallbackErrorItem[]; } interface ShopifyCallbackErrorItem { readonly code: io.flow.internal.v0.enums.ShopifyCallbackErrorCode; readonly message: string; readonly field?: string; } interface ShopifyCatalogPublication { readonly owner: io.flow.internal.v0.enums.CatalogPublicationOwner; } interface ShopifyChannelOrganizationToken { readonly cleartext: string; } interface ShopifyChannelOrganizationTokens { readonly token: io.flow.internal.v0.models.ShopifyChannelOrganizationToken; readonly service: io.flow.internal.v0.enums.ShopifyService; } interface ShopifyContactDetails { readonly company?: string; readonly email?: string; readonly name?: string; readonly phone?: string; } interface ShopifyCost { readonly subtotal: io.flow.internal.v0.models.ShopifyMoney; readonly tax: io.flow.internal.v0.models.ShopifyMoney; readonly total: io.flow.internal.v0.models.ShopifyMoney; } interface ShopifyDispute { readonly id: string; readonly organization_id: string; readonly authorization_id: string; readonly amount: number; readonly currency: string; readonly status: string; readonly category: string; readonly attributes?: Record; readonly external_reference_id: string; readonly issued_at: string; readonly updated_at: string; } interface ShopifyDisputeDeleted { readonly discriminator: 'shopify_dispute_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyDisputeUpserted { readonly discriminator: 'shopify_dispute_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly dispute: io.flow.internal.v0.models.ShopifyDispute; } interface ShopifyHs10Code { readonly country_code?: string; readonly code: string; } interface ShopifyHs10Codes { readonly id: string; readonly item_number: string; readonly codes: io.flow.internal.v0.models.ShopifyHs10Code[]; } interface ShopifyHs10CodesDeleted { readonly discriminator: 'shopify_hs10_codes_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyHs10CodesUpserted { readonly discriminator: 'shopify_hs10_codes_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_hs10_codes: io.flow.internal.v0.models.ShopifyHs10Codes; } interface ShopifyIncotermIncludes { readonly duties: boolean; readonly taxes: boolean; } interface ShopifyIncotermSummaryErrorData { readonly id: string; readonly shopify_order_id: string; readonly order_number: string; readonly configuration: io.flow.internal.v0.enums.ShopifyIncotermConfiguration; readonly includes: io.flow.internal.v0.models.ShopifyIncotermIncludes; readonly reason: string; readonly order_submitted_at: string; } interface ShopifyIncotermSummaryErrorPublished { readonly discriminator: 'shopify_incoterm_summary_error_published'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly data: io.flow.internal.v0.models.ShopifyIncotermSummaryErrorData; } interface ShopifyInventoryItem { readonly organization_id: string; readonly inventory_item_id: number; readonly variant_id: number; readonly updated_at: string; } interface ShopifyInventoryItemCreateDeleted { readonly discriminator: 'shopify_inventory_item_create_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyInventoryItemCreateUpserted { readonly discriminator: 'shopify_inventory_item_create_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_inventory_item_create: io.flow.internal.v0.models.ShopifyInventoryItemCreateWebhookEvent; } interface ShopifyInventoryItemCreateWebhookEvent { readonly id: string; readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItem; } interface ShopifyInventoryItemDeleteDeleted { readonly discriminator: 'shopify_inventory_item_delete_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyInventoryItemDeleteUpserted { readonly discriminator: 'shopify_inventory_item_delete_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_inventory_item_delete: io.flow.internal.v0.models.ShopifyInventoryItemDeleteWebhookEvent; } interface ShopifyInventoryItemDeleteV2 { readonly discriminator: 'shopify_inventory_item_delete_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly triggered_at: string; readonly webhook_id: string; readonly inventory_item_id: string; readonly product_id?: string; readonly event: io.flow.shopify.external.v2.v0.models.InventoryItemDeleteEvent; } interface ShopifyInventoryItemDeleteWebhookEvent { readonly id: string; readonly inventory_item_delete: io.flow.shopify.external.v0.models.ShopifyInventoryItemDelete; } interface ShopifyInventoryItemUpdateDeleted { readonly discriminator: 'shopify_inventory_item_update_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyInventoryItemUpdateUpserted { readonly discriminator: 'shopify_inventory_item_update_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_inventory_item_update: io.flow.internal.v0.models.ShopifyInventoryItemUpdateWebhookEvent; } interface ShopifyInventoryItemUpdateV2 { readonly discriminator: 'shopify_inventory_item_update_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly triggered_at: string; readonly webhook_id: string; readonly inventory_item_id: string; readonly product_id?: string; readonly variant_id?: string; readonly event: io.flow.shopify.external.v2.v0.models.InventoryItemEvent; } interface ShopifyInventoryItemUpdateWebhookEvent { readonly id: string; readonly inventory_item: io.flow.shopify.markets.v0.models.ShopifyInventoryItem; } interface ShopifyMarketsBestSellingProduct { readonly id: string; } interface ShopifyMarketsBestSellingProductDeleted { readonly discriminator: 'shopify_markets_best_selling_product_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMarketsBestSellingProductUpserted { readonly discriminator: 'shopify_markets_best_selling_product_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_best_selling_product: io.flow.internal.v0.models.ShopifyMarketsBestSellingProduct; } interface ShopifyMarketsDiscrepancy { readonly organization_id: string; readonly count: number; } interface ShopifyMarketsDiscrepancyData { readonly total_count: number; readonly discrepancies: io.flow.internal.v0.models.ShopifyMarketsDiscrepancy[]; } interface ShopifyMarketsEvent { readonly placeholder?: any /*json*/; } interface ShopifyMarketsIncorporationCountry { readonly country: string; readonly state?: string; readonly province?: string; readonly jurisdiction?: string; } interface ShopifyMarketsInternalOrderMetrics { readonly total_order_count: number; } interface ShopifyMarketsMetricsDeleted { readonly discriminator: 'shopify_markets_metrics_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ShopifyMarketsMetricsUpserted { readonly discriminator: 'shopify_markets_metrics_upserted'; readonly event_id: string; readonly timestamp: string; readonly shopify_markets_metrics: io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics; } interface ShopifyMarketsOrder { readonly id: string; readonly model: io.flow.shopify.markets.v0.models.ShopifyOrder; } interface ShopifyMarketsOrderDeleted { readonly discriminator: 'shopify_markets_order_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder; } interface ShopifyMarketsOrderUpserted { readonly discriminator: 'shopify_markets_order_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_order: io.flow.internal.v0.models.ShopifyMarketsOrder; } interface ShopifyMarketsOrderVersionWithShopId { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly shopify_markets_order: io.flow.shopify.markets.internal.event.v0.models.ShopifyMarketsOrder; readonly shop_id?: string; } interface ShopifyMarketsOrdersMetrics { readonly id: string; readonly range: io.flow.common.v0.models.DatetimeRange; readonly shopify: io.flow.internal.v0.models.ShopifyMarketsShopifyOrderMetrics; readonly internal: io.flow.internal.v0.models.ShopifyMarketsInternalOrderMetrics; readonly discrepancy_data: io.flow.internal.v0.models.ShopifyMarketsDiscrepancyData; readonly organization_metrics?: io.flow.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics[]; } interface ShopifyMarketsOrganizationOrderMetrics { readonly organization_id: string; readonly shopify_order_count: number; readonly internal_order_count: number; readonly discrepancy_count?: number; } interface ShopifyMarketsQueuedRecord { readonly id: string; readonly type: string; readonly type_id: string; readonly organization_id: string; readonly environment?: string; readonly num_attempts: number; readonly next_attempt_at: string; readonly errors?: string[]; readonly stacktrace?: string; } interface ShopifyMarketsShop { readonly id: string; readonly shopify_shop_id?: string; readonly channel: io.flow.common.v0.models.ChannelReference; readonly domain: string; readonly myshopify_domain: string; readonly organization_id: string; readonly shop: string; readonly created_at: string; readonly shared_secret_masked: string; readonly api_key_masked?: string; readonly api_password_masked?: string; readonly access_token_masked?: string; readonly shopify_plan_name?: io.flow.shopify.external.v0.enums.ShopifyPlanName; readonly catalog_publication_owner?: io.flow.internal.v0.enums.CatalogPublicationOwner; readonly fast_sellability_completed_at?: string; } interface ShopifyMarketsShopAccessToken { readonly myshopify_domain: string; readonly access_token: string; } interface ShopifyMarketsShopDeleted { readonly discriminator: 'shopify_markets_shop_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMarketsShopForm { readonly shop: string; readonly domain: string; readonly myshopify_domain: string; readonly shared_secret: string; readonly api_key?: string; readonly api_password?: string; readonly access_token?: string; readonly shopify_plan_name?: io.flow.shopify.external.v0.enums.ShopifyPlanName; readonly catalog_publication_owner?: io.flow.internal.v0.enums.CatalogPublicationOwner; } interface ShopifyMarketsShopStatisticsDeleted { readonly discriminator: 'shopify_markets_shop_statistics_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMarketsShopStatisticsUpserted { readonly discriminator: 'shopify_markets_shop_statistics_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_shop_statistics: io.flow.internal.v0.models.ShopifyShopStatistics; } interface ShopifyMarketsShopSummary { readonly organization: io.flow.common.v0.models.OrganizationSummary; readonly channel: io.flow.common.v0.models.ChannelReference; } interface ShopifyMarketsShopUpserted { readonly discriminator: 'shopify_markets_shop_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_markets_shop: io.flow.internal.v0.models.ShopifyMarketsShop; } interface ShopifyMarketsShopifyOrderMetrics { readonly total_order_count: number; } interface ShopifyMarketsSubsidiaryCompany { readonly legal_name?: string; readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry; } interface ShopifyMarketsWebhookRegistration { readonly id: string; readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse; } interface ShopifyMarketsWebhookRegistrationDeleted { readonly discriminator: 'shopify_markets_webhook_registration_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMarketsWebhookRegistrationUpserted { readonly discriminator: 'shopify_markets_webhook_registration_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly registration: io.flow.internal.v0.models.ShopifyMarketsWebhookRegistration; } interface ShopifyMeasurements { readonly dimension_unit: io.flow.internal.v0.enums.ShopifyDimensionUnit; readonly height: number; readonly length: number; readonly width: number; readonly weight: number; readonly weight_unit: io.flow.internal.v0.enums.ShopifyWeightUnit; } interface ShopifyMerchantMarketCountry { readonly code: string; readonly actively_managing: boolean; readonly enabled: boolean; } interface ShopifyMerchantMarkets { readonly id: string; readonly organization_id: string; readonly countries: io.flow.internal.v0.models.ShopifyMerchantMarketCountry[]; } interface ShopifyMerchantMarketsDeleted { readonly discriminator: 'shopify_merchant_markets_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyMerchantMarketsUpserted { readonly discriminator: 'shopify_merchant_markets_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_merchant_markets: io.flow.internal.v0.models.ShopifyMerchantMarkets; } interface ShopifyMerchantPlan { readonly id: string; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly plan: io.flow.internal.v0.enums.ShopifyPlanType; } interface ShopifyMerchantPlanDeleted { readonly discriminator: 'shopify_merchant_plan_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ShopifyMerchantPlanUpserted { readonly discriminator: 'shopify_merchant_plan_upserted'; readonly event_id: string; readonly timestamp: string; readonly shopify_merchant_plan: io.flow.internal.v0.models.ShopifyMerchantPlan; } interface ShopifyMetadata { readonly domain: string; readonly myshopify_domain: string; readonly catalog_publication?: io.flow.internal.v0.models.ShopifyCatalogPublication; readonly token: string; } interface ShopifyMoney { readonly amount: number; readonly currency_code: string; } interface ShopifyMonitoringCarrierService { readonly service: string; } interface ShopifyMonitoringFulfillmentExternal { readonly discriminator: 'fulfillment_external'; readonly shopify_fulfillment_id: string; readonly flow_tracking_numbers: io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber[]; readonly flow_carrier_service: io.flow.internal.v0.models.ShopifyMonitoringCarrierService[]; readonly shopify_tracking_number: io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber; readonly shopify_carrier_service?: io.flow.internal.v0.models.ShopifyMonitoringCarrierService; readonly fulfillment_created_at?: string; readonly flow_label_id?: string; } interface ShopifyMonitoringFulfillmentMissingDetails { readonly discriminator: 'fulfillment_missing_details'; readonly shopify_fulfillment_id: string; readonly missing_details: io.flow.internal.v0.enums.ShopifyMonitoringTrackingField[]; } interface ShopifyMonitoringOrderMonitor { readonly id: string; readonly organization_reference: io.flow.common.v0.models.OrganizationReference; readonly order_number: string; readonly monitor: io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType; } interface ShopifyMonitoringOrderMonitorEventDeleted { readonly discriminator: 'shopify_monitoring_order_monitor_event_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_monitor: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor; } interface ShopifyMonitoringOrderMonitorEventUpserted { readonly discriminator: 'shopify_monitoring_order_monitor_event_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_monitor: io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor; } interface ShopifyMonitoringTrackingNumber { readonly number: string; } interface ShopifyMonitoringTrackingUrl { readonly url: string; } interface ShopifyOrderCancelForm { readonly note?: string; } interface ShopifyOrderCancelResponse { readonly shopify_order_cancellation_id: string; readonly shopify_order_id: number; readonly message: string; } interface ShopifyOrderDestinationForm { readonly destination: io.flow.common.v0.models.Address; readonly order_note?: string; } interface ShopifyOrderRiskAssessment { readonly id: string; readonly risk_level: string; readonly assessment_created_at: string; } interface ShopifyOrderRiskAssessmentDeleted { readonly discriminator: 'shopify_order_risk_assessment_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyOrderRiskAssessmentUpserted { readonly discriminator: 'shopify_order_risk_assessment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly assessment: io.flow.internal.v0.models.ShopifyOrderRiskAssessment; } interface ShopifyOrderTransaction { readonly id: string; readonly model: io.flow.shopify.markets.v0.models.ShopifyOrderTransaction; } interface ShopifyOrderTransactionDeleted { readonly discriminator: 'shopify_order_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyOrderTransactionUpserted { readonly discriminator: 'shopify_order_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transaction: io.flow.internal.v0.models.ShopifyOrderTransaction; } interface ShopifyPartnerWebhook { readonly placeholder?: boolean; } interface ShopifyPartnerWebhookRaw { readonly placeholder?: boolean; } interface ShopifyProductBundle { readonly id: string; readonly underlying: io.flow.internal.v0.models.ShopifyProductBundleUnderlying; } interface ShopifyProductBundleDeleted { readonly discriminator: 'shopify_product_bundle_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyProductBundleUnderlying { readonly product_ids: string[]; } interface ShopifyProductBundleUpserted { readonly discriminator: 'shopify_product_bundle_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_product_bundle: io.flow.internal.v0.models.ShopifyProductBundle; } interface ShopifyProductCreateDeleted { readonly discriminator: 'shopify_product_create_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyProductCreateUpserted { readonly discriminator: 'shopify_product_create_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_product_create: io.flow.internal.v0.models.ShopifyProductCreateWebhookEvent; } interface ShopifyProductCreateWebhookEvent { readonly id: string; readonly product: io.flow.shopify.external.v0.models.Product; } interface ShopifyProductDataCreateV2 { readonly discriminator: 'shopify_product_data_create_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly triggered_at: string; readonly webhook_id: string; readonly product_id: string; readonly variant_id?: string; readonly event: io.flow.shopify.external.v2.v0.models.ProductEvent; } interface ShopifyProductDataDeleteV2 { readonly discriminator: 'shopify_product_data_delete_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly triggered_at: string; readonly webhook_id: string; readonly product_id: string; readonly variant_id?: string; readonly event: io.flow.shopify.external.v2.v0.models.ProductEvent; } interface ShopifyProductDataUpdateV2 { readonly discriminator: 'shopify_product_data_update_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly triggered_at: string; readonly webhook_id: string; readonly product_id: string; readonly variant_id?: string; readonly event: io.flow.shopify.external.v2.v0.models.ProductEvent; } interface ShopifyProductDeleteDeleted { readonly discriminator: 'shopify_product_delete_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyProductDeleteUpserted { readonly discriminator: 'shopify_product_delete_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_product_delete: io.flow.internal.v0.models.ShopifyProductDeleteWebhookEvent; } interface ShopifyProductDeleteWebhookEvent { readonly id: string; readonly product_delete: io.flow.shopify.external.v0.models.ProductDelete; } interface ShopifyProductMetafieldsUpdateV2 { readonly discriminator: 'shopify_product_metafields_update_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly triggered_at: string; readonly webhook_id: string; readonly product_id: string; readonly variant_id?: string; readonly event: io.flow.shopify.external.v2.v0.models.ProductEvent; } interface ShopifyProductTaxonomyAttribute { readonly id: string; readonly handle: string; readonly name: string; readonly friendly_id: string; readonly description?: string; } interface ShopifyProductTaxonomyAttributeDeleted { readonly discriminator: 'shopify_product_taxonomy_attribute_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ShopifyProductTaxonomyAttributeUpserted { readonly discriminator: 'shopify_product_taxonomy_attribute_upserted'; readonly event_id: string; readonly timestamp: string; readonly shopify_product_taxonomy_attribute: io.flow.internal.v0.models.ShopifyProductTaxonomyAttribute; } interface ShopifyProductTaxonomyAttributeValue { readonly id: string; readonly attribute_id: string; readonly handle: string; readonly name: string; readonly friendly_id: string; } interface ShopifyProductTaxonomyAttributeValueDeleted { readonly discriminator: 'shopify_product_taxonomy_attribute_value_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ShopifyProductTaxonomyAttributeValueUpserted { readonly discriminator: 'shopify_product_taxonomy_attribute_value_upserted'; readonly event_id: string; readonly timestamp: string; readonly shopify_product_taxonomy_attribute_value: io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeValue; } interface ShopifyProductUpdateDeleted { readonly discriminator: 'shopify_product_update_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyProductUpdateUpserted { readonly discriminator: 'shopify_product_update_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_product_update: io.flow.internal.v0.models.ShopifyProductUpdateWebhookEvent; } interface ShopifyProductUpdateWebhookEvent { readonly id: string; readonly product: io.flow.shopify.external.v0.models.Product; readonly domain: string; readonly api_version: string; } interface ShopifyProductVariantComponentsV2 { readonly discriminator: 'shopify_product_variant_components_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly triggered_at: string; readonly webhook_id: string; readonly product_id: string; readonly variant_id?: string; readonly event: io.flow.shopify.external.v2.v0.models.ProductEvent; } interface ShopifyProductVariantDataV2 { readonly discriminator: 'shopify_product_variant_data_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly triggered_at: string; readonly webhook_id: string; readonly product_id: string; readonly variant_id?: string; readonly event: io.flow.shopify.external.v2.v0.models.ProductEvent; } interface ShopifyProductWrapper { readonly shopify_product: io.flow.shopify.external.v0.models.Product; readonly deleted_at?: string; } interface ShopifyRateCustomsDetail { readonly incoterm: io.flow.internal.v0.enums.ShopifyIncoterm; readonly net_value: io.flow.internal.v0.models.ShopifyMoney; } interface ShopifyRatePickupPoint { readonly partner_reference_id: string; } interface ShopifyReportFileDeleted { readonly discriminator: 'shopify_report_file_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ShopifyReportFileUpserted { readonly discriminator: 'shopify_report_file_upserted'; readonly event_id: string; readonly timestamp: string; readonly shopify_report_file: io.flow.internal.v0.models.ReportFile; } interface ShopifyShipmentRateAvailable { readonly carrier_service_id: string; readonly total_charges: io.flow.internal.v0.models.ShopifyCost; readonly charges: io.flow.internal.v0.models.ShopifyShipmentRateCharge[]; readonly shipment_options: io.flow.internal.v0.models.ShopifyShipmentRateOption[]; readonly expected_delivery_date?: string; readonly guaranteed_delivery_date?: string; readonly incoterm?: io.flow.internal.v0.enums.ShopifyIncoterm; } interface ShopifyShipmentRateCharge { readonly code: io.flow.internal.v0.enums.ShopifyChargeCode; readonly cost: io.flow.internal.v0.models.ShopifyCost; } interface ShopifyShipmentRateOption { readonly code: io.flow.internal.v0.enums.ShopifyShipmentOptionCode; readonly cost: io.flow.internal.v0.models.ShopifyCost; readonly optional?: boolean; } interface ShopifyShipmentRatePackage { readonly type: io.flow.internal.v0.enums.ShopifyPackageType; readonly measurements: io.flow.internal.v0.models.ShopifyMeasurements; } interface ShopifyShipmentRateReason { readonly code: io.flow.internal.v0.enums.ShopifyUnavailableRateReasonCode; readonly field?: string; readonly message?: string; } interface ShopifyShipmentRateRequest { readonly idempotency_key: string; readonly webhook_id: string; readonly test: boolean; readonly shipper: io.flow.internal.v0.models.ShopifyShipmentRateShipper; readonly shipment: io.flow.internal.v0.models.ShopifyShipmentRateShipment; } interface ShopifyShipmentRateResponse { readonly rates: io.flow.internal.v0.models.ShopifyShipmentRateAvailable[]; readonly unavailable_rates: io.flow.internal.v0.models.ShopifyShipmentRateUnavailable[]; } interface ShopifyShipmentRateShipment { readonly carrier_id: string; readonly delivery_method_type: io.flow.internal.v0.enums.ShopifyDeliveryMethodType; readonly shipping_date_time: string; readonly return: boolean; readonly origin: io.flow.internal.v0.models.ShopifyShippingLocation; readonly destination: io.flow.internal.v0.models.ShopifyShippingLocation; readonly package: io.flow.internal.v0.models.ShopifyShipmentRatePackage; readonly pickup_point?: io.flow.internal.v0.models.ShopifyRatePickupPoint; readonly customs_detail?: io.flow.internal.v0.models.ShopifyRateCustomsDetail; } interface ShopifyShipmentRateShipper { readonly account_id: string; readonly carrier_account_reference_id: string; readonly byoa: boolean; } interface ShopifyShipmentRateUnavailable { readonly carrier_service_id: string; readonly reasons: io.flow.internal.v0.models.ShopifyShipmentRateReason[]; } interface ShopifyShippingLocation { readonly address: io.flow.internal.v0.models.ShopifyAddress; readonly contact_details: io.flow.internal.v0.models.ShopifyContactDetails; } interface ShopifyShopStatistics { readonly id: string; readonly initial_catalog_synced_at?: string; readonly catalog_sync_duration?: number; readonly restrictions_sync_duration?: number; readonly classifications_sync_duration?: number; readonly catalog_products_count?: number; readonly initial_product_restrictions_synced_at?: string; } interface ShopifyStoreDetail { readonly shopify_domain: string; readonly shop_id: string; } interface ShopifyStripeEvent { readonly id: string; readonly request?: any /*object*/; } interface ShopifyTaxonomyAlignmentConfig { readonly id: string; readonly taxonomy_category: string; readonly allowable_hs_prefixes: string[]; readonly default_hs6_code?: string; readonly auto_correct: boolean; readonly created_at: string; readonly updated_at: string; readonly updated_by_user_id: string; } interface ShopifyTaxonomyAlignmentConfigForm { readonly taxonomy_category: string; readonly allowable_hs_prefixes: string[]; readonly default_hs6_code?: string; readonly auto_correct: boolean; } interface ShopifyTestOrder { readonly id: string; readonly submitted_at: string; } interface ShopifyTestOrderDeleted { readonly discriminator: 'shopify_test_order_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShopifyTestOrderUpserted { readonly discriminator: 'shopify_test_order_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shopify_test_order: io.flow.internal.v0.models.ShopifyTestOrder; } interface ShopperBreakdown { readonly product: io.flow.internal.v0.models.ReportingMonetaryValue; readonly product_purchase_price?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly tax: io.flow.internal.v0.models.ReportingMonetaryValue; readonly duty: io.flow.internal.v0.models.ReportingMonetaryValue; readonly discount: io.flow.internal.v0.models.ReportingMonetaryValue; readonly subtotal?: io.flow.internal.v0.models.ReportingMonetaryValue; readonly total: io.flow.internal.v0.models.ReportingMonetaryValue; } interface ShopperFees { readonly fuel: number; readonly remote_area: number; readonly oversize: number; readonly ccf: number; readonly emergency: number; readonly peak: number; readonly total: number; } interface ShopperFreight { readonly price: number; readonly discount: number; readonly tax: number; readonly duty: number; readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown; readonly total: number; } interface ShopperLine { readonly item: io.flow.internal.v0.models.ItemSummary; readonly quantity: number; readonly unit_price: number; readonly price: number; readonly discount: number; readonly tax: number; readonly duty: number; readonly subsidies: io.flow.internal.v0.models.FulfillmentSubsidyBreakdown; readonly total: number; } interface ShopperLines { readonly lines: io.flow.internal.v0.models.ShopperLine[]; readonly total: number; } interface ShopperSummary { readonly product: io.flow.internal.v0.models.ShopperLines; readonly fees: io.flow.internal.v0.models.ShopperFees; readonly freight: io.flow.internal.v0.models.ShopperFreight; readonly tips?: number; readonly order_discount: number; readonly total: number; } interface SimpleAccountReference { readonly id: string; } interface SimplifiedItemLabel { readonly discriminator: 'item'; readonly item_type: string; } interface SimplifiedTaxonomyCategory { readonly discriminator: 'category'; readonly category: string; readonly children: io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy[]; } interface SingleClassificationAction { readonly discriminator: 'single'; readonly organization: string; readonly item_classification_id: string; readonly item_summary: io.flow.internal.v0.models.HarmonizationItemSummary; readonly customs_description: string; readonly labels?: io.flow.internal.v0.models.ProductLabels; readonly updated_at: string; } interface SingleClassificationForm { readonly discriminator: 'single_classification_form'; readonly product_id: string; readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonizationForm; readonly initial_customs_description?: string; } interface SnapchatPixel { readonly discriminator: 'snapchat_pixel'; readonly name?: string; readonly tracker_id: string; } interface Snooze { readonly id: string; readonly until: string; readonly reason: string; readonly next_action_with: io.flow.internal.v0.enums.SnoozeNextActionWith; readonly source: io.flow.internal.v0.models.SnoozeSource; } interface SnoozeForm { readonly until: string; readonly reason: string; readonly next_action_with: io.flow.internal.v0.enums.SnoozeNextActionWith; readonly source_type: io.flow.internal.v0.enums.SnoozeSourceType; readonly source_id: string; } interface SnoozeSource { readonly type: io.flow.internal.v0.enums.SnoozeSourceType; readonly id: string; } interface SpotRate { readonly id: string; readonly effective_at: string; readonly base: string; readonly target: string; readonly value: number; } interface SpotRateDeleted { readonly discriminator: 'spot_rate_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface SpotRateMetadataIdentity { readonly discriminator: 'spot_rate_metadata_identity'; readonly currency: string; } interface SpotRateMetadataRate { readonly discriminator: 'spot_rate_metadata_rate'; readonly id: string; readonly base: string; readonly target: string; readonly value: number; readonly journal_id?: string; readonly effective_at: string; readonly timestamp?: string; } interface SpotRateUpserted { readonly discriminator: 'spot_rate_upserted'; readonly event_id: string; readonly timestamp: string; readonly spot_rate: io.flow.internal.v0.models.SpotRate; } interface SpotRateVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.common.v0.enums.ChangeType; readonly spot_rate: io.flow.internal.v0.models.SpotRate; } interface StandaloneAttachment { readonly id: string; readonly statement: io.flow.internal.v0.models.BillingStatementReference; readonly key: io.flow.internal.v0.enums.BillingStatementAttachmentKey; readonly name: string; readonly url: string; } interface StandaloneAttachmentDeleted { readonly discriminator: 'standalone_attachment_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface StandaloneAttachmentUpserted { readonly discriminator: 'standalone_attachment_upserted'; readonly event_id: string; readonly timestamp: string; readonly attachment: io.flow.internal.v0.models.StandaloneAttachment; } interface StatementCreationMetadata { readonly discriminator: 'statement_creation_metadata'; readonly period: io.flow.common.v0.models.DatetimeRange; } interface StringFeatureDefaultValue { readonly discriminator: 'string'; readonly value: string; } interface StringFeatureRule { readonly discriminator: 'string'; readonly id: string; readonly query: string; readonly value: string; readonly position: number; } interface StringFeatureRuleForm { readonly discriminator: 'string'; readonly query: string; readonly value: string; } interface StringFeatureValue { readonly discriminator: 'string'; readonly feature: io.flow.internal.v0.models.FeatureReference; readonly value: string; } interface StripeAccount { readonly discriminator: 'stripe_account'; readonly id: string; readonly organization_id: string; readonly key: string; readonly owner: io.flow.internal.v0.enums.Owner; readonly name: string; readonly external_id: string; readonly country: string; readonly authentication: io.flow.internal.v0.models.StripeAuthentication; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface StripeAccountModificationForm { readonly discriminator: 'stripe_account_modification_form'; readonly owner: io.flow.internal.v0.enums.Owner; readonly name: string; readonly external_id: string; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface StripeAccountPutForm { readonly discriminator: 'stripe_account_put_form'; readonly owner?: io.flow.internal.v0.enums.Owner; readonly name: string; readonly external_id: string; readonly country: string; readonly authentication: io.flow.internal.v0.models.StripeAuthenticationForm; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface StripeAuthentication { readonly public_key: string; readonly secret_key_reference: string; } interface StripeAuthenticationDataReference { readonly id: string; } interface StripeAuthenticationForm { readonly public_key: string; readonly secret_key: string; } interface StripeAuthorizationDeleted { readonly discriminator: 'stripe_authorization_deleted'; readonly event_id: string; readonly timestamp: string; readonly authorization: io.flow.internal.v0.models.StripeInternalAuthorization; } interface StripeAuthorizationUpserted { readonly discriminator: 'stripe_authorization_upserted'; readonly event_id: string; readonly timestamp: string; readonly authorization: io.flow.internal.v0.models.StripeInternalAuthorization; } interface StripeCaptureDeleted { readonly discriminator: 'stripe_capture_deleted'; readonly event_id: string; readonly timestamp: string; readonly capture: io.flow.internal.v0.models.StripeInternalCapture; } interface StripeCaptureUpserted { readonly discriminator: 'stripe_capture_upserted'; readonly event_id: string; readonly timestamp: string; readonly capture: io.flow.internal.v0.models.StripeInternalCapture; } interface StripeConnectReportRecord { readonly id: string; readonly file_id: string; readonly line_number: number; readonly created_utc: string; readonly charge_id?: string; readonly payment_intent_id?: string; readonly gross: number; readonly fee: number; readonly net: number; readonly currency: string; readonly connected_account: string; readonly reporting_category: io.flow.stripe.v0.unions.ConnectReportReportingCategory; readonly dispute_reason?: string; readonly available_on_utc: string; readonly automatic_payout_effective_at_utc?: string; readonly source_id?: string; readonly customer_facing_amount?: number; readonly customer_facing_currency?: string; readonly payment_method_type?: string; readonly card_brand?: string; readonly statement_descriptor?: string; readonly metadata?: io.flow.internal.v0.unions.StripeConnectReportRecordMetadata; } interface StripeConnectReportRecordDeleted { readonly discriminator: 'stripe_connect_report_record_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface StripeConnectReportRecordPaymentMetadata { readonly discriminator: 'stripe_connect_report_record_payment_metadata'; readonly shop_id?: number; readonly shop_plan?: io.flow.internal.v0.enums.ShopifyPlanType; readonly checkout_id?: string; readonly order_id?: number; readonly order_transaction_id?: number; readonly transfer_type?: io.flow.internal.v0.enums.ConnectReportPaymentTransferType; readonly transfer_exchange_rate?: number; readonly charge_total?: number; readonly charge_currency?: string; readonly charge_exchange_rate?: number; readonly refund_exchange_rate?: number; readonly duties?: number; readonly import_taxes?: number; readonly mor_fees?: number; readonly mor_foreign_exchange_fees?: number; readonly sp_processing_fees?: number; readonly mor_fees_tax?: number; } interface StripeConnectReportRecordTransferMetadata { readonly discriminator: 'stripe_connect_report_record_transfer_metadata'; readonly shop_id?: number; readonly order_id?: number; readonly order_transaction_id?: number; readonly transfer_type?: io.flow.internal.v0.enums.ConnectReportTransferTransferType; readonly charge_total?: number; readonly charge_currency?: string; readonly charge_exchange_rate?: number; readonly duties?: number; readonly import_taxes?: number; readonly mor_fees?: number; readonly mor_foreign_exchange_fees?: number; readonly sp_processing_fees?: number; readonly merchant_account_currency?: string; readonly amount_in_merchant_account_currency?: number; readonly payout_exchange_rate?: number; } interface StripeConnectReportRecordUpserted { readonly discriminator: 'stripe_connect_report_record_upserted'; readonly event_id: string; readonly timestamp: string; readonly record: io.flow.internal.v0.models.StripeConnectReportRecord; } interface StripeDisputeDeleted { readonly discriminator: 'stripe_dispute_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface StripeDisputeUpserted { readonly discriminator: 'stripe_dispute_upserted'; readonly event_id: string; readonly timestamp: string; readonly dispute: io.flow.internal.v0.models.StripeInternalDispute; } interface StripeInternalAuthorization { readonly id: string; readonly flow_authorization_id: string; readonly account_name: string; readonly charge_id: string; readonly request: any /*object*/; readonly response: any /*object*/; readonly post_payment_success_redirect_url?: string; readonly post_payment_failure_redirect_url?: string; readonly payment_redirect_url?: string; } interface StripeInternalCapture { readonly id: string; readonly flow_capture_id: string; readonly account_name: string; readonly charge_id: string; readonly request: any /*object*/; readonly response: any /*object*/; } interface StripeInternalDispute { readonly id: string; readonly stripe_id: string; readonly amount: number; readonly charge_id: string; readonly currency: string; readonly evidence: any /*object*/; readonly metadata: any /*object*/; readonly payment_intent_id?: string; readonly reason: string; readonly status: string; readonly connected_account?: string; readonly balance_transactions: any /*object*/[]; readonly dispute_created_at: string; readonly dispute_expires_at?: string; readonly has_evidence?: boolean; readonly past_due?: boolean; readonly submission_count?: number; readonly is_charge_refundable: boolean; readonly live_mode: boolean; readonly payment_method_type?: string; readonly payment_method_reason_code?: string; readonly payment_method_card_brand?: string; readonly updated_by_user_id: string; readonly created_at: string; readonly updated_at: string; } interface StripeInternalRefund { readonly id: string; readonly flow_refund_id: string; readonly account_name: string; readonly refund_id: string; readonly charge_id: string; readonly request: any /*object*/; readonly response: any /*object*/; } interface StripeInternalReversal { readonly id: string; readonly flow_authorization_id: string; readonly account_name: string; readonly refund_id: string; readonly request: any /*object*/; readonly response: any /*object*/; } interface StripeMerchant { readonly discriminator: 'stripe_merchant'; readonly id: string; readonly key: string; readonly organization_id: string; readonly external_id: string; readonly processor_account_reference: io.flow.internal.v0.models.ProcessorAccountReference; readonly name: string; readonly account_type: io.flow.stripe.v0.enums.AccountType; readonly country: string; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly organization_capability: io.flow.internal.v0.enums.OrganizationCapability; readonly created_at: string; readonly updated_at: string; } interface StripeMerchantForm { readonly discriminator: 'stripe_merchant_form'; readonly key?: string; readonly organization_id: string; readonly name: string; readonly account_type: io.flow.stripe.v0.enums.AccountType; readonly country: string; readonly payment_statement: string; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; } interface StripeMerchantModificationForm { readonly discriminator: 'stripe_merchant_modification_form'; readonly external_id: string; readonly name: string; readonly account_type: io.flow.stripe.v0.enums.AccountType; readonly status: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly country: string; } interface StripeMerchantPutForm { readonly discriminator: 'stripe_merchant_put_form'; readonly organization_id: string; readonly external_id: string; readonly name: string; readonly account_type: io.flow.stripe.v0.enums.AccountType; readonly status?: io.flow.internal.v0.enums.ProcessorEntityStatus; readonly country: string; readonly organization_capability?: io.flow.internal.v0.enums.OrganizationCapability; } interface StripeRefundDeleted { readonly discriminator: 'stripe_refund_deleted'; readonly event_id: string; readonly timestamp: string; readonly refund: io.flow.internal.v0.models.StripeInternalRefund; } interface StripeRefundUpserted { readonly discriminator: 'stripe_refund_upserted'; readonly event_id: string; readonly timestamp: string; readonly refund: io.flow.internal.v0.models.StripeInternalRefund; } interface StripeReversalDeleted { readonly discriminator: 'stripe_reversal_deleted'; readonly event_id: string; readonly timestamp: string; readonly reversal: io.flow.internal.v0.models.StripeInternalReversal; } interface StripeReversalUpserted { readonly discriminator: 'stripe_reversal_upserted'; readonly event_id: string; readonly timestamp: string; readonly reversal: io.flow.internal.v0.models.StripeInternalReversal; } interface SubmittedOrderUpserted { readonly discriminator: 'submitted_order_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order: io.flow.experience.v0.models.Order; readonly session?: io.flow.internal.v0.models.ExperienceSessionReference; } interface Subscription { readonly id: string; readonly organization: string; readonly value: io.flow.common.v0.models.Price; readonly frequency: io.flow.internal.v0.enums.SubscriptionFrequency; readonly starts_at: string; readonly created_at: string; } interface SubscriptionTransaction { readonly discriminator: 'subscription_transaction'; readonly period: io.flow.common.v0.models.DatetimeRange; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface SubsidyPreview { readonly merchant_subsidy: io.flow.common.v0.models.Money; readonly coefficient: number; readonly flat_rates: io.flow.internal.v0.models.FlatRate[]; } interface SupportedLabels { readonly discriminator: 'supported_labels'; readonly values: io.flow.internal.v0.models.LabelAliases[]; } interface TariffCodeDuty { readonly tariff_code: string; readonly duties: Record; } interface TariffEligibility { readonly id: string; readonly data: io.flow.internal.v0.unions.TariffEligibilityData; } interface Task { readonly type: string; readonly type_id: string; readonly source_type?: string; readonly source_id?: string; readonly environment: io.flow.common.v0.enums.Environment; readonly created_at: string; readonly num_attempts: number; readonly next_attempt_at: string; readonly errors?: string[]; readonly stacktrace?: string; readonly snooze_id?: string; } interface TaskImport { readonly discriminator: 'task_import'; readonly import_id: string; } interface TaskItemUpserted { readonly discriminator: 'task_item_upserted'; readonly catalog_id: string; readonly item_id: string; } interface TaskProcessQueuedEvent { readonly discriminator: 'task_process_queued_event'; readonly event_discriminator: string; readonly event_id: string; } interface TaskSummarizeCode { readonly discriminator: 'task_summarize_code'; readonly catalog_id: string; readonly origin: string; readonly destination: string; readonly code: string; } interface TaxDutyReasonCodeMetadata { readonly discriminator: 'tax_duty_reason_code_metadata'; readonly reason_code: io.flow.billing.v0.enums.TaxDutyTransactionReasonCode; } interface TaxRemittanceTransaction { readonly discriminator: 'tax_remittance_transaction'; readonly order: io.flow.internal.v0.models.BillingOrderSummary; readonly invoice: io.flow.internal.v0.models.BillingInvoiceSummary; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface TaxRemittanceTransactionDeleted { readonly discriminator: 'tax_remittance_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface TaxRemittanceTransactionUpserted { readonly discriminator: 'tax_remittance_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transaction: io.flow.internal.v0.models.TaxRemittanceTransaction; } interface TaxTransaction { readonly discriminator: 'tax_transaction'; readonly order?: io.flow.internal.v0.models.BillingOrderTransactionOrderReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface TaxTransactionDeleted { readonly discriminator: 'tax_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TaxTransactionUpserted { readonly discriminator: 'tax_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly tax_transaction: io.flow.internal.v0.models.TaxTransaction; } interface TaxTypeTotal { readonly value: io.flow.common.v0.models.Money; } interface TaxonomyAlignmentCheckResult { readonly status: io.flow.internal.v0.enums.TaxonomyCategoryClassificationAlignment; readonly result: io.flow.internal.v0.enums.EvaluationCheckResult; readonly merchant_taxonomy_status: io.flow.internal.v0.enums.TaxonomyCategoryClassificationAlignment; readonly current_taxonomy_status: io.flow.internal.v0.enums.TaxonomyCategoryClassificationAlignment; } interface TaxonomyCategory { readonly discriminator: 'category'; readonly name: string; readonly children: io.flow.internal.v0.unions.ClassificationTaxonomy[]; } interface TaxonomyCategoryHs6Ref { readonly id: string; readonly taxonomy_category: string; readonly taxonomy_category_id?: string; readonly hs6: string; readonly updated_by_user_id: string; } interface TaxonomyCategoryHs6RefDeleted { readonly discriminator: 'taxonomy_category_hs6_ref_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TaxonomyCategoryHs6RefUpserted { readonly discriminator: 'taxonomy_category_hs6_ref_upserted'; readonly event_id: string; readonly timestamp: string; readonly taxonomy_category_hs6_ref: io.flow.internal.v0.models.TaxonomyCategoryHs6Ref; } interface TaxonomyNode { readonly id: string; readonly children?: io.flow.internal.v0.models.TaxonomyNode[]; } interface TaxonomyPositiveKeywords { readonly type: 'taxonomy_positive_keywords'; readonly taxonomy_categories: io.flow.product.v0.models.ProductTaxonomyCategory[]; readonly positive_keywords: string[]; } interface TaxonomyPositiveKeywordsMatch { readonly type: 'taxonomy_positive_keywords_match'; readonly taxonomy_category: io.flow.product.v0.models.ProductTaxonomyCategory; readonly positive_keywords: string[]; } interface TechOnboardingDescription { readonly description: string; } interface Test { readonly id: string; readonly name: string; } interface TestForm { readonly name: string; } interface ThirdPartyLogisticsPartner { readonly warehouse_address: io.flow.common.v0.models.BillingAddress; readonly warehouse_url?: string; } interface ThirdPartyLogisticsPickUpTimeWindow { readonly from: string; readonly to: string; } interface TieredFee { readonly currency: string; readonly tiers: io.flow.internal.v0.models.TieredFeeTier[]; } interface TieredFeeTier { readonly count: number; readonly amount: number; } interface TimeToClassify { readonly discriminator: 'time-to-classify'; readonly key: string; readonly from: string; readonly to: string; readonly organization_id: string; readonly average_hours: number; readonly median_hours: number; readonly percentile_75_hours: number; readonly percentile_90_hours: number; readonly percentile_99_hours: number; } interface TimeToClassifyAggregated { readonly discriminator: 'time-to-classify-aggregated'; readonly key: string; readonly from: string; readonly to: string; readonly average_hours: number; readonly median_hours: number; readonly percentile_75_hours: number; readonly percentile_90_hours: number; readonly percentile_99_hours: number; } interface TimeToClassifyAggregatedDeleted { readonly discriminator: 'time_to_classify_aggregated_deleted'; readonly event_id: string; readonly timestamp: string; readonly time_to_classify_aggregated: io.flow.internal.v0.models.TimeToClassifyAggregated; } interface TimeToClassifyAggregatedUpserted { readonly discriminator: 'time_to_classify_aggregated_upserted'; readonly event_id: string; readonly timestamp: string; readonly time_to_classify_aggregated: io.flow.internal.v0.models.TimeToClassifyAggregated; } interface TimeToClassifyDeleted { readonly discriminator: 'time_to_classify_deleted'; readonly event_id: string; readonly timestamp: string; readonly time_to_classify: io.flow.internal.v0.models.TimeToClassify; } interface TimeToClassifyUpserted { readonly discriminator: 'time_to_classify_upserted'; readonly event_id: string; readonly timestamp: string; readonly time_to_classify: io.flow.internal.v0.models.TimeToClassify; } interface TimeWithTimezone { readonly time: string; readonly timezone: string; } interface Tokens { readonly webhook_signature_verification: string; readonly api: string; } interface TrackingAssuranceAnalysis { readonly id: string; readonly job_id: string; readonly label_id: string; readonly order_number: string; readonly carrier_tracking_number: string; readonly flow_tracking_number: string; readonly carrier_status: string; readonly aftership_status: string; readonly flow_status: string; readonly earliest_carrier_event_date?: string; readonly latest_carrier_event_date: string; readonly latest_aftership_event_date: string; readonly latest_flow_event_date: string; readonly label_created_at: string; readonly carrier_id: string; readonly carrier_origin_country?: string; readonly label_origin_country: string; readonly label_destination_country: string; readonly carrier_destination_country?: string; } interface TrackingAssuranceAnalysisDeleted { readonly discriminator: 'tracking_assurance_analysis_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface TrackingAssuranceAnalysisUpserted { readonly discriminator: 'tracking_assurance_analysis_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly analysis: io.flow.internal.v0.models.TrackingAssuranceAnalysis; } interface TrackingAssuranceJob { readonly id: string; readonly created_at: string; } interface TrackingAssuranceJobDeleted { readonly discriminator: 'tracking_assurance_job_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TrackingAssuranceJobUpserted { readonly discriminator: 'tracking_assurance_job_upserted'; readonly event_id: string; readonly timestamp: string; readonly job: io.flow.internal.v0.models.TrackingAssuranceJob; } interface TrackingCarrierReturnLabel { readonly id: string; readonly carrier_tracking_number: string; readonly alternate_tracking_numbers: string[]; readonly carrier_id: string; readonly outbound_label_id?: string; readonly s3file?: string; readonly origin?: any /*object*/; readonly destination?: any /*object*/; } interface TrackingCarrierReturnLabelDeleted { readonly discriminator: 'tracking_carrier_return_label_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TrackingCarrierReturnLabelUpserted { readonly discriminator: 'tracking_carrier_return_label_upserted'; readonly event_id: string; readonly timestamp: string; readonly tracking_carrier_return_label: io.flow.internal.v0.models.TrackingCarrierReturnLabel; } interface TrackingDebugForceTransitForm { readonly description: string; } interface TrackingDebugLabel { readonly in_transit_location?: io.flow.internal.v0.models.TrackingDebugLabelLocation; readonly delivery_location?: io.flow.internal.v0.models.TrackingDebugLabelLocation; readonly events: io.flow.internal.v0.models.TrackingDebugLabelEvent[]; } interface TrackingDebugLabelEvent { readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly raw_carrier_event_code?: string; readonly location?: io.flow.internal.v0.models.TrackingDebugLabelLocation; } interface TrackingDebugLabelEventUpsertForm { readonly carrier_tracking_number?: string; readonly label_id?: string; readonly organization_id?: string; readonly order_number?: string; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly description?: string; readonly timestamp?: string; } interface TrackingDebugLabelLocation { readonly country: string; } interface TrackingDeleted { readonly discriminator: 'tracking_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tracking: io.flow.tracking.v0.models.Tracking; } interface TrackingEvent { readonly timestamp: string; readonly carrier_status_code: string; readonly location?: string; readonly description?: string; } interface TrackingLabelDeleted { readonly discriminator: 'tracking_label_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tracking_label: io.flow.internal.v0.models.ExportTrackingLabel; } interface TrackingLabelDimensions { readonly id: string; readonly organization_id: string; readonly tracking_label_id: string; readonly source: io.flow.internal.v0.enums.TrackingLabelDimensionsSource; readonly created_at: string; readonly dimensions: io.flow.common.v0.models.Dimensions; } interface TrackingLabelDimensionsDeleted { readonly discriminator: 'tracking_label_dimensions_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface TrackingLabelDimensionsUpserted { readonly discriminator: 'tracking_label_dimensions_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tracking_label_dimensions: io.flow.internal.v0.models.TrackingLabelDimensions; } interface TrackingLabelEventDeletedV2 { readonly discriminator: 'tracking_label_event_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent; } interface TrackingLabelEventUpsertedV2 { readonly discriminator: 'tracking_label_event_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tracking_label_event: io.flow.internal.v0.models.ExportTrackingLabelEvent; } interface TrackingLabelUpserted { readonly discriminator: 'tracking_label_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tracking_label: io.flow.internal.v0.models.ExportTrackingLabel; } interface TrackingProcessingError { readonly id: string; readonly aftership_webhook_id: string; readonly carrier_id: string; readonly carrier_tracking_number: string; readonly organization_id?: string; readonly tracking_label_id?: string; readonly errors: string[]; readonly failure_classification: io.flow.internal.v0.enums.TrackingProcessingFailureClassification; } interface TrackingProcessingErrorDeleted { readonly discriminator: 'tracking_processing_error_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TrackingProcessingErrorUpserted { readonly discriminator: 'tracking_processing_error_upserted'; readonly event_id: string; readonly timestamp: string; readonly tracking_processing_error: io.flow.internal.v0.models.TrackingProcessingError; } interface TrackingRequest { readonly carrier: string; readonly carrier_tracking_number: string; readonly flow_tracking_number: string; readonly credentials: io.flow.internal.v0.unions.CarrierCredentials; } interface TrackingResponse { readonly carrier: string; readonly carrier_tracking_number: string; readonly flow_tracking_number: string; readonly tracking_events: io.flow.internal.v0.models.TrackingEvent[]; } interface TrackingSubscription { readonly id: string; readonly organization_id: string; readonly carrier_tracking_number: string; readonly carrier_id: string; readonly label_id: string; readonly label_origin: io.flow.fulfillment.v0.models.ShippingAddress; readonly label_destination: io.flow.fulfillment.v0.models.ShippingAddress; readonly status: io.flow.tracking.v0.enums.TrackingStatus; readonly events: io.flow.tracking.v0.models.TrackingEvent[]; readonly external_reference_key?: string; readonly external_reference_source?: string; } interface TrackingSubscriptionDeleted { readonly discriminator: 'tracking_subscription_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TrackingSubscriptionUpserted { readonly discriminator: 'tracking_subscription_upserted'; readonly event_id: string; readonly timestamp: string; readonly tracking_subscription: io.flow.internal.v0.models.TrackingSubscription; } interface TrackingUpserted { readonly discriminator: 'tracking_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tracking: io.flow.tracking.v0.models.Tracking; } interface TrackingWebhook { readonly placeholder?: boolean; } interface TransactionAdjustment { readonly id: string; readonly original_transaction: io.flow.internal.v0.models.TransactionReference; readonly adjustment_transaction?: io.flow.internal.v0.models.TransactionReference; readonly description: string; readonly details: io.flow.internal.v0.unions.AdjustmentDetails; } interface TransactionAdjustmentDeleted { readonly discriminator: 'transaction_adjustment_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TransactionAdjustmentForm { readonly original_transaction_id: string; readonly description: string; readonly details: io.flow.internal.v0.unions.AdjustmentDetails; readonly type?: io.flow.internal.v0.enums.AdjustmentTransactionType; } interface TransactionAdjustmentUpserted { readonly discriminator: 'transaction_adjustment_upserted'; readonly event_id: string; readonly timestamp: string; readonly transaction_adjustment: io.flow.internal.v0.models.TransactionAdjustment; } interface TransactionReference { readonly id: string; } interface TransactionStatement { readonly id: string; readonly statement: io.flow.internal.v0.models.BillingStatementReference; } interface TransactionStatementDeleted { readonly discriminator: 'transaction_statement_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TransactionStatementUpserted { readonly discriminator: 'transaction_statement_upserted'; readonly event_id: string; readonly timestamp: string; readonly transaction_statement: io.flow.internal.v0.models.TransactionStatement; } interface TransferTransaction { readonly discriminator: 'transfer_transaction'; readonly method: io.flow.internal.v0.enums.TransferMethod; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface TransferTransactionDeleted { readonly discriminator: 'transfer_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transfer_transaction: io.flow.internal.v0.models.TransferTransaction; } interface TransferTransactionDeletedV2 { readonly discriminator: 'transfer_transaction_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface TransferTransactionUpserted { readonly discriminator: 'transfer_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transfer_transaction: io.flow.internal.v0.models.TransferTransaction; } interface TransferTransactionUpsertedV2 { readonly discriminator: 'transfer_transaction_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly transfer_transaction: io.flow.internal.v0.models.TransferTransaction; } interface Tribe { readonly id: string; readonly description: string; } interface TrueupLabelSummary { readonly id: string; readonly organization: io.flow.common.v0.models.OrganizationReference; readonly order_number: string; readonly carrier_id: string; readonly carrier_service_id: string; readonly carrier_tracking_number: string; readonly flow_tracking_number: string; readonly source: io.flow.label.v0.enums.CostEstimateSource; readonly created_at: string; } interface TrueupTransaction { readonly discriminator: 'trueup_transaction'; readonly label_transaction: io.flow.internal.v0.models.TransactionReference; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface UnassignedMerchantGuid { readonly id: string; readonly merchant_guid: string; readonly created_at: string; } interface UnassignedMerchantGuidDeleted { readonly discriminator: 'unassigned_merchant_guid_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface UnassignedMerchantGuidUpserted { readonly discriminator: 'unassigned_merchant_guid_upserted'; readonly event_id: string; readonly timestamp: string; readonly unassigned_merchant_guid: io.flow.internal.v0.models.UnassignedMerchantGuid; } interface UnclassifiedProductStatistic { readonly status: io.flow.internal.v0.enums.UnclassifiedProductStatus; readonly number_of_items: number; } interface UnclassifiedProductsPurgeRequest { readonly num_deleted_products: Record; } interface UnclassifiedProductsSummary { readonly waiting_for_classification: Record; readonly unverified: Record; } interface UnharmonizedItemsExport { readonly discriminator: 'unharmonized_items_export'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly export_id: string; } interface UnphrasedProductsExport { readonly message: string; } interface UnserviceableTaxonomyCategory { readonly id: string; readonly taxonomy_category: string; readonly taxonomy_category_id?: string; readonly updated_by_user_id: string; } interface UnserviceableTaxonomyCategoryDeleted { readonly discriminator: 'unserviceable_taxonomy_category_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface UnserviceableTaxonomyCategoryUpserted { readonly discriminator: 'unserviceable_taxonomy_category_upserted'; readonly event_id: string; readonly timestamp: string; readonly unserviceable_taxonomy_category: io.flow.internal.v0.models.UnserviceableTaxonomyCategory; } interface Ups { readonly discriminator: 'ups'; readonly client_id: string; readonly client_secret: string; readonly account_number: string; } interface UsdSpotRate { readonly id: string; readonly effective_at: string; readonly target: string; readonly value: number; } interface UsdSpotRateDeleted { readonly discriminator: 'usd_spot_rate_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface UsdSpotRateUpserted { readonly discriminator: 'usd_spot_rate_upserted'; readonly event_id: string; readonly timestamp: string; readonly usd_spot_rate: io.flow.internal.v0.models.UsdSpotRate; } interface UserDeletedV2 { readonly discriminator: 'user_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly user: io.flow.common.v0.models.User; } interface UserOneTimeToken { readonly user: io.flow.common.v0.models.UserReference; readonly token: string; } interface UserProductDetailSettings { readonly keys: string[]; } interface UserProductListSettings { readonly column_settings: io.flow.internal.v0.models.HarmonizationColumnSetting[]; } interface UserStatusForm { readonly status: io.flow.common.v0.enums.UserStatus; } interface UserStatusRule { readonly id: string; readonly domain: string; readonly status: io.flow.common.v0.enums.UserStatus; } interface UserStatusRuleForm { readonly domain: string; readonly status: io.flow.common.v0.enums.UserStatus; } interface UserUpsertedV2 { readonly discriminator: 'user_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly user: io.flow.common.v0.models.User; } interface ValidatedAddress { readonly company_name: string; readonly person_name: string; readonly phone: string; readonly email: string; readonly original_streets: string[]; readonly city: string; readonly province: string; readonly postal: string; readonly country: io.flow.reference.v0.models.Country; readonly original_address: io.flow.fulfillment.v0.models.ShippingAddress; } interface ValidatedShippingData { readonly organization: string; readonly reference_id?: string; readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty; readonly merchant_of_record_entity?: io.flow.common.v0.models.MerchantOfRecordEntity; readonly destination: io.flow.internal.v0.models.ValidatedAddress; readonly origin: io.flow.internal.v0.models.ValidatedAddress; readonly service: io.flow.reference.v0.models.CarrierService; readonly package: io.flow.internal.v0.models.EnrichedShippingLabelPackage; readonly total_catalog_item_value: io.flow.common.v0.models.Money; readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement; readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement; readonly flow_tracking_number: string; readonly center?: io.flow.fulfillment.v0.models.Center; readonly catalog_items: io.flow.internal.v0.models.InternalItem[]; readonly order: io.flow.experience.v0.models.Order; readonly window: io.flow.common.v0.models.DatetimeRange; readonly id: string; readonly shipment_recipient: io.flow.label.v0.enums.ShipmentRecipient; readonly request_id: string; readonly commercial_invoice_data?: io.flow.internal.v0.models.InvoiceData; readonly order_identifier?: string; readonly fulfillment_key?: string; readonly rex_number?: string; readonly weee_number?: string; readonly liability_remittance_plan?: io.flow.internal.v0.models.LiabilityRemittancePlan; readonly shipment_cost_summary?: io.flow.internal.v0.models.ShipmentCostSummary; readonly shipping_label_hop_cost_itemized_estimate?: io.flow.label.v0.models.ShippingLabelHopCostItemizedEstimate; readonly additional_services_requested?: io.flow.label.v0.models.AdditionalServicesRequested[]; readonly provided_charges?: io.flow.internal.v0.models.ChargeInput[]; readonly direction?: io.flow.label.v0.enums.Direction; readonly package_dimensions_source: io.flow.label.v0.enums.PackageDimensionsSource; readonly shipping_date_time?: string; readonly delivery_window_days_from?: number; readonly delivery_window_days_to?: number; } interface VirtualCardTransaction { readonly discriminator: 'virtual_card_transaction'; readonly virtual_card: io.flow.payment.v0.models.VirtualCardReference; readonly authorization: io.flow.payment.v0.models.AuthorizationReference; readonly original: io.flow.common.v0.models.PriceWithBase; readonly processing_fee: io.flow.internal.v0.models.Fee; readonly id: string; readonly type: io.flow.internal.v0.enums.BillingTransactionType; readonly status: io.flow.internal.v0.enums.BillingTransactionStatus; readonly posted_at?: string; readonly value: io.flow.common.v0.models.Price; readonly description: string; readonly statement?: io.flow.internal.v0.models.BillingStatementReference; readonly created_at: string; } interface WasteElectricalAndElectronicEquipmentComplianceData { readonly discriminator: 'weee'; readonly label: string; readonly number: string; } interface WasteElectricalAndElectronicEquipmentComplianceForm { readonly discriminator: 'weee'; readonly label: string; readonly number: string; } interface Webhook { readonly placeholder?: any /*json*/; } interface WholeOrderActionForm { readonly discriminator: 'whole_order_action_form'; readonly action: io.flow.internal.v0.enums.OrderAction; } } declare namespace io.flow.internal.v0.unions { type AdjustmentAmount = | io.flow.internal.v0.models.AdjustmentAmountPercentage | io.flow.internal.v0.models.AdjustmentAmountFixed; type AdjustmentDetails = | io.flow.internal.v0.models.AdjustmentAmountPercentage | io.flow.internal.v0.models.AdjustmentAmountFixed | io.flow.internal.v0.models.AdjustmentDetailsProcessingTransaction; type AiOutput = | io.flow.internal.v0.models.PvReviewOutput | io.flow.internal.v0.models.DgReviewOutput | io.flow.internal.v0.models.PcReviewOutput; type AiReviewContext = | io.flow.internal.v0.models.PvReviewContext | io.flow.internal.v0.models.DgReviewContext | io.flow.internal.v0.models.PcReviewContext; type AuthorizationPayload = | io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload; type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge; type CalculatorStamp = | io.flow.internal.v0.models.MessageStamp | io.flow.internal.v0.models.CalculationStep; type CarrierChargeForm = | io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.CarrierChargeFormOther; type CarrierCredentials = | io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex | io.flow.internal.v0.models.FedexApi; type CarrierDocumentContent = io.flow.internal.v0.models.Base64CarrierDocumentContent; type CarrierLabelAttributes = io.flow.internal.v0.models.FedexCarrierLabelAttributes; type ChannelRateMetadata = | io.flow.internal.v0.models.ChannelRateMetadataIdentity | io.flow.internal.v0.models.ChannelRateMetadataRate; type ClassificationAction = | io.flow.internal.v0.models.SingleClassificationAction | io.flow.internal.v0.models.BulkClassificationAction; type ClassificationActionForm = io.flow.internal.v0.models.ClassificationActionFormUndo; type ClassificationForm = | io.flow.internal.v0.models.SingleClassificationForm | io.flow.internal.v0.models.EmptyClassificationForm; type ClassificationJudgementForm = | io.flow.internal.v0.models.ProductClassificationForm | io.flow.internal.v0.models.NoClassificationForm; type ClassificationLabelAttribute = | { discriminator: 'empty_attribute'; value: io.flow.internal.v0.enums.EmptyAttribute; } | io.flow.internal.v0.models.SupportedLabels; type ClassificationResponse = | io.flow.internal.v0.models.Classification | io.flow.internal.v0.models.ClassificationError; type ClassificationTaxonomy = | io.flow.internal.v0.models.TaxonomyCategory | io.flow.internal.v0.models.LabelTaxonomy; type ComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData; type ComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm; type ConsoleLabelValidationForm = | io.flow.internal.v0.models.ConsoleLabelRequestForm | io.flow.internal.v0.models.ConsoleMarkUnresolvableForm; type DeclineReason = | io.flow.internal.v0.models.DeclineReasonChannelOrderAcceptance | io.flow.internal.v0.models.DeclineReasonFraud; type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm; type DisputeDetails = | io.flow.internal.v0.models.DisputeDetailsAdyen | io.flow.internal.v0.models.DisputeDetailsPaypal | io.flow.internal.v0.models.DisputeDetailsStripe; type DutyExpression = | io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression; 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.AdyenDisputeUpserted | io.flow.internal.v0.models.AdyenDisputeDeleted | io.flow.internal.v0.models.AgentReviewDecisionUpserted | io.flow.internal.v0.models.AgentReviewDecisionDeleted | io.flow.internal.v0.models.AiReviewBatchSubmitted | io.flow.internal.v0.models.AiReviewResultUpserted | io.flow.internal.v0.models.AiReviewResultDeleted | io.flow.internal.v0.models.AiReviewRequestFailed | io.flow.internal.v0.models.FulfillmentUpserted | io.flow.internal.v0.models.FulfillmentDeleted | io.flow.internal.v0.models.MerchantUpserted | io.flow.internal.v0.models.MerchantDeleted | 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.ChannelAccountUpsertedV2 | io.flow.internal.v0.models.ChannelAccountDeleted | io.flow.internal.v0.models.OrganizationAccountUpsertedV2 | io.flow.internal.v0.models.OrganizationAccountDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.FulfillmentStatusUpserted | io.flow.internal.v0.models.FulfillmentStatusDeleted | 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.BankPaymentUpsertedV2 | io.flow.internal.v0.models.BankPaymentDeletedV2 | io.flow.internal.v0.models.ChannelTransactionUpserted | io.flow.internal.v0.models.ChannelTransactionDeleted | io.flow.internal.v0.models.OrderTransactionUpserted | io.flow.internal.v0.models.OrderTransactionDeleted | io.flow.internal.v0.models.LabelTransactionUpserted | io.flow.internal.v0.models.LabelTransactionDeleted | io.flow.internal.v0.models.GeRevenueShareTransactionUpserted | io.flow.internal.v0.models.GeRevenueShareTransactionDeleted | io.flow.internal.v0.models.NonL4LTaxDutyFxTransactionUpserted | io.flow.internal.v0.models.NonL4LTaxDutyFxTransactionDeleted | io.flow.internal.v0.models.TransactionAdjustmentUpserted | io.flow.internal.v0.models.TransactionAdjustmentDeleted | io.flow.internal.v0.models.ChannelBilledTransactionUpserted | io.flow.internal.v0.models.ChannelBilledTransactionDeleted | io.flow.internal.v0.models.TaxTransactionUpserted | io.flow.internal.v0.models.TaxTransactionDeleted | io.flow.internal.v0.models.DutyTransactionUpserted | io.flow.internal.v0.models.DutyTransactionDeleted | io.flow.internal.v0.models.TransactionStatementUpserted | io.flow.internal.v0.models.TransactionStatementDeleted | io.flow.internal.v0.models.BankAccountUpserted | io.flow.internal.v0.models.BankAccountDeleted | io.flow.internal.v0.models.PostingProofUpserted | io.flow.internal.v0.models.PostingProofDeleted | io.flow.internal.v0.models.BankPaymentPromiseUpserted | io.flow.internal.v0.models.BankPaymentPromiseDeleted | io.flow.internal.v0.models.AccountPaymentHoldUpserted | io.flow.internal.v0.models.AccountPaymentHoldDeleted | io.flow.internal.v0.models.FlatRateLabelTransactionUpserted | io.flow.internal.v0.models.FlatRateLabelTransactionDeleted | io.flow.internal.v0.models.DailyValueUpserted | io.flow.internal.v0.models.DailyValueDeleted | io.flow.internal.v0.models.RevenueRecordUpserted | io.flow.internal.v0.models.RevenueRecordDeleted | io.flow.internal.v0.models.OtherRecordUpserted | io.flow.internal.v0.models.OtherRecordDeleted | io.flow.internal.v0.models.SalesPaymentRecordUpserted | io.flow.internal.v0.models.SalesPaymentRecordDeleted | io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted | io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted | io.flow.internal.v0.models.CarrierAccountUpsertedV2 | io.flow.internal.v0.models.CarrierAccountDeleted | 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.CatalogSettingsUpserted | io.flow.internal.v0.models.CatalogSettingsDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted | io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted | io.flow.internal.v0.models.ChannelOrderAcceptanceFailed | io.flow.internal.v0.models.ChannelShopStatisticsUpserted | io.flow.internal.v0.models.ChannelShopStatisticsDeleted | io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySettingUpserted | io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySettingDeleted | io.flow.internal.v0.models.CommercialInvoiceInternalUpserted | io.flow.internal.v0.models.CommercialInvoiceInternalDeleted | 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.DisputeUpserted | io.flow.internal.v0.models.DisputeDeleted | io.flow.internal.v0.models.DutyRatesPublishedV2 | 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.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | 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.StandaloneAttachmentUpserted | io.flow.internal.v0.models.StandaloneAttachmentDeleted | io.flow.internal.v0.models.PlatformFeeChangeUpserted | io.flow.internal.v0.models.PlatformFeeChangeDeleted | io.flow.internal.v0.models.OrganizationBankAccountUpserted | io.flow.internal.v0.models.OrganizationBankAccountDeleted | io.flow.internal.v0.models.BillingCsvTransactionUpserted | io.flow.internal.v0.models.BillingCsvTransactionDeleted | io.flow.internal.v0.models.LabelInvoiceRequestUpserted | io.flow.internal.v0.models.LabelInvoiceRequestDeleted | io.flow.internal.v0.models.CarrierChargeUpserted | io.flow.internal.v0.models.CarrierChargeDeleted | io.flow.internal.v0.models.BankPaymentOrderUpserted | io.flow.internal.v0.models.BankPaymentOrderDeleted | io.flow.internal.v0.models.ShippingCostUpserted | io.flow.internal.v0.models.ShippingCostDeleted | io.flow.internal.v0.models.MorCostUpserted | io.flow.internal.v0.models.MorCostDeleted | io.flow.internal.v0.models.FlatRateLabelReversalUpserted | io.flow.internal.v0.models.FlatRateLabelReversalDeleted | io.flow.internal.v0.models.FlatRateLabelSubsidyUpserted | io.flow.internal.v0.models.FlatRateLabelSubsidyDeleted | 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.FraudReviewAuthorizationUpserted | io.flow.internal.v0.models.FraudReviewAuthorizationDeleted | io.flow.internal.v0.models.FraudPendingReviewAuthorizationUpserted | io.flow.internal.v0.models.FraudPendingReviewAuthorizationDeleted | io.flow.internal.v0.models.FraudReviewAuthorizationDecisionUpserted | io.flow.internal.v0.models.FraudReviewAuthorizationDecisionDeleted | io.flow.internal.v0.models.FraudProviderConfigurationUpserted | io.flow.internal.v0.models.FraudProviderConfigurationDeleted | io.flow.internal.v0.models.ManualReviewRuleUpserted | io.flow.internal.v0.models.ManualReviewRuleDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.CenterDefaultsUpserted | io.flow.internal.v0.models.CenterDefaultsDeleted | io.flow.internal.v0.models.FulfillmentFallbacksUpserted | io.flow.internal.v0.models.FulfillmentFallbacksDeleted | io.flow.internal.v0.models.QuoteUpserted | io.flow.internal.v0.models.QuoteDeleted | io.flow.internal.v0.models.GuaranteedShippingCalibratedOutputUpserted | io.flow.internal.v0.models.GuaranteedShippingCalibratedOutputDeleted | io.flow.internal.v0.models.OutboundShippingCostUpserted | io.flow.internal.v0.models.OutboundShippingCostDeleted | io.flow.internal.v0.models.AverageOrderValueUpserted | io.flow.internal.v0.models.AverageOrderValueDeleted | io.flow.internal.v0.models.GuaranteedShippingPublishedOutputUpserted | io.flow.internal.v0.models.GuaranteedShippingPublishedOutputDeleted | io.flow.internal.v0.models.GuaranteedShippingSettingsUpserted | io.flow.internal.v0.models.GuaranteedShippingSettingsDeleted | io.flow.internal.v0.models.GuaranteedShippingSettingsUpdateUpserted | io.flow.internal.v0.models.GuaranteedShippingSettingsUpdateDeleted | 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.HarmonizationCodesImport | io.flow.internal.v0.models.HarmonizeFullyRequestV2 | 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.MerchantOverrideUpserted | io.flow.internal.v0.models.MerchantOverrideDeleted | io.flow.internal.v0.models.HarmonizationClassificationStatisticsPublished | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LabelRequestErrorUpserted | io.flow.internal.v0.models.LabelRequestErrorDeleted | io.flow.internal.v0.models.OrderValidationFailureUpserted | io.flow.internal.v0.models.OrderValidationFailureDeleted | io.flow.internal.v0.models.OrderValidationUpserted | io.flow.internal.v0.models.OrderValidationDeleted | io.flow.internal.v0.models.LabelCreationJobUpserted | io.flow.internal.v0.models.LabelCreationJobDeleted | io.flow.internal.v0.models.GuaranteedShippingOrderGuaranteeUpserted | io.flow.internal.v0.models.GuaranteedShippingOrderGuaranteeDeleted | io.flow.internal.v0.models.EuProductIdentifierCheckUpserted | io.flow.internal.v0.models.EuProductIdentifierCheckDeleted | io.flow.internal.v0.models.LabelTrackingSummaryUpserted | io.flow.internal.v0.models.LabelTrackingSummaryDeleted | io.flow.internal.v0.models.LogisticsCapabilitiesUpserted | io.flow.internal.v0.models.LogisticsCapabilitiesDeleted | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OrderCombinedShipmentUpserted | io.flow.internal.v0.models.OrderCombinedShipmentDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrganizationBusinessEntityDeleted | io.flow.internal.v0.models.OrganizationBusinessEntityUpserted | io.flow.internal.v0.models.OrganizationStatusChangeUpserted | io.flow.internal.v0.models.OrganizationStatusChangeDeleted | io.flow.internal.v0.models.OrganizationDeactivationUpserted | io.flow.internal.v0.models.OrganizationDeactivationDeleted | io.flow.internal.v0.models.MerchantGuidAssignmentUpserted | io.flow.internal.v0.models.MerchantGuidAssignmentDeleted | io.flow.internal.v0.models.OrganizationMetadataUpserted | io.flow.internal.v0.models.OrganizationMetadataDeleted | io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted | io.flow.internal.v0.models.PartnerOrganizationSettingsDeleted | io.flow.internal.v0.models.UnassignedMerchantGuidUpserted | io.flow.internal.v0.models.UnassignedMerchantGuidDeleted | io.flow.internal.v0.models.PartnerTrackingSubscriptionUpserted | io.flow.internal.v0.models.PartnerTrackingSubscriptionDeleted | io.flow.internal.v0.models.PartnerRequestUpserted | io.flow.internal.v0.models.PartnerRequestDeleted | 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.AuthorizationBundleUpserted | io.flow.internal.v0.models.AuthorizationBundleDeleted | io.flow.internal.v0.models.OrganizationPaymentSettingUpserted | io.flow.internal.v0.models.OrganizationPaymentSettingDeleted | io.flow.internal.v0.models.OrderRefundTransactionUpserted | io.flow.internal.v0.models.OrderRefundTransactionDeleted | 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.PaypalDisputeUpserted | io.flow.internal.v0.models.PaypalDisputeDeleted | io.flow.internal.v0.models.PreonboardingSellabilityResultInserted | io.flow.internal.v0.models.PreonboardingSellabilityResultUpdated | io.flow.internal.v0.models.PreonboardingSellabilityResultDeleted | io.flow.internal.v0.models.ProductRestrictionRuleDecisionUpserted | io.flow.internal.v0.models.ProductRestrictionRuleDecisionDeleted | io.flow.internal.v0.models.ProductRestrictionStateInserted | io.flow.internal.v0.models.ProductRestrictionStateUpdated | io.flow.internal.v0.models.ProductRestrictionStateDeleted | io.flow.internal.v0.models.ProductSellabilityResultInserted | io.flow.internal.v0.models.ProductSellabilityResultUpdated | io.flow.internal.v0.models.ProductSellabilityResultDeleted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardDimensionEstimateUpserted | io.flow.internal.v0.models.RatecardDimensionEstimateDeleted | io.flow.internal.v0.models.RatecardServiceFeeUpserted | io.flow.internal.v0.models.RatecardServiceFeeDeleted | io.flow.internal.v0.models.RatecardRateLevelUpserted | io.flow.internal.v0.models.RatecardRateLevelDeleted | io.flow.internal.v0.models.RatecardRateLevelRatecardUpserted | io.flow.internal.v0.models.RatecardRateLevelRatecardDeleted | io.flow.internal.v0.models.RatecardRateLevelOrganizationUpserted | io.flow.internal.v0.models.RatecardRateLevelOrganizationDeleted | io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted | io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted | io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted | io.flow.internal.v0.models.OrganizationRestrictionStatusDeleted | io.flow.internal.v0.models.ScreeningStatusChangeUpserted | io.flow.internal.v0.models.ScreeningStatusChangeDeleted | io.flow.internal.v0.models.RestrictionsDailyopsUpserted | io.flow.internal.v0.models.RestrictionsDailyopsDeleted | io.flow.internal.v0.models.RestrictionsAthenaDailyopsPcPvUpserted | io.flow.internal.v0.models.RestrictionsAthenaDailyopsPcPvDeleted | io.flow.internal.v0.models.RestrictionsAthenaDailyopsFsUpserted | io.flow.internal.v0.models.RestrictionsAthenaDailyopsFsDeleted | io.flow.internal.v0.models.RestrictionRuleUpserted | io.flow.internal.v0.models.RestrictionRuleDeleted | io.flow.internal.v0.models.RestrictionRuleEffectUpserted | io.flow.internal.v0.models.RestrictionRuleEffectDeleted | io.flow.internal.v0.models.RestrictionRuleSideEffectUpserted | io.flow.internal.v0.models.RestrictionRuleSideEffectDeleted | io.flow.internal.v0.models.TaxonomyCategoryHs6RefUpserted | io.flow.internal.v0.models.TaxonomyCategoryHs6RefDeleted | io.flow.internal.v0.models.PreonboardingMerchantUpserted | io.flow.internal.v0.models.PreonboardingMerchantDeleted | io.flow.internal.v0.models.UnserviceableTaxonomyCategoryUpserted | io.flow.internal.v0.models.UnserviceableTaxonomyCategoryDeleted | io.flow.internal.v0.models.SellabilityPendingVerificationUpserted | io.flow.internal.v0.models.SellabilityPendingVerificationDeleted | io.flow.internal.v0.models.ShopifyHs10CodesUpserted | io.flow.internal.v0.models.ShopifyHs10CodesDeleted | io.flow.internal.v0.models.ShopifyMarketsOrderUpserted | io.flow.internal.v0.models.ShopifyMarketsOrderDeleted | io.flow.internal.v0.models.ShopifyMarketsShopUpserted | io.flow.internal.v0.models.ShopifyMarketsShopDeleted | io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationUpserted | io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationDeleted | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsUpserted | io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted | io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeUpserted | io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeDeleted | io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeValueUpserted | io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeValueDeleted | io.flow.internal.v0.models.ShopifyMarketsMetricsUpserted | io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted | io.flow.internal.v0.models.ChannelOrderSummaryUpserted | io.flow.internal.v0.models.ChannelOrderSummaryDeleted | io.flow.internal.v0.models.ChannelOrganizationIdentifierUpserted | io.flow.internal.v0.models.ChannelOrganizationIdentifierDeleted | io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySettingUpserted | io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySettingDeleted | io.flow.internal.v0.models.ShopifyProductBundleUpserted | io.flow.internal.v0.models.ShopifyProductBundleDeleted | io.flow.internal.v0.models.ShopifyIncotermSummaryErrorPublished | io.flow.internal.v0.models.ShopifyMarketsBestSellingProductUpserted | io.flow.internal.v0.models.ShopifyMarketsBestSellingProductDeleted | io.flow.internal.v0.models.ShopifyOrderRiskAssessmentUpserted | io.flow.internal.v0.models.ShopifyOrderRiskAssessmentDeleted | io.flow.internal.v0.models.ShopifyOrderTransactionUpserted | io.flow.internal.v0.models.ShopifyOrderTransactionDeleted | io.flow.internal.v0.models.ShopifyTestOrderUpserted | io.flow.internal.v0.models.ShopifyTestOrderDeleted | io.flow.internal.v0.models.ShopifyMerchantMarketsUpserted | io.flow.internal.v0.models.ShopifyMerchantMarketsDeleted | io.flow.internal.v0.models.ShopifyProductCreateUpserted | io.flow.internal.v0.models.ShopifyProductCreateDeleted | io.flow.internal.v0.models.ShopifyProductUpdateUpserted | io.flow.internal.v0.models.ShopifyProductUpdateDeleted | io.flow.internal.v0.models.ShopifyProductDeleteUpserted | io.flow.internal.v0.models.ShopifyProductDeleteDeleted | io.flow.internal.v0.models.ShopifyInventoryItemCreateUpserted | io.flow.internal.v0.models.ShopifyInventoryItemCreateDeleted | io.flow.internal.v0.models.ShopifyInventoryItemUpdateUpserted | io.flow.internal.v0.models.ShopifyInventoryItemUpdateDeleted | io.flow.internal.v0.models.ShopifyInventoryItemDeleteUpserted | io.flow.internal.v0.models.ShopifyInventoryItemDeleteDeleted | io.flow.internal.v0.models.ShopifyProductDataCreateV2 | io.flow.internal.v0.models.ShopifyProductDataUpdateV2 | io.flow.internal.v0.models.ShopifyProductMetafieldsUpdateV2 | io.flow.internal.v0.models.ShopifyProductVariantDataV2 | io.flow.internal.v0.models.ShopifyProductVariantComponentsV2 | io.flow.internal.v0.models.ShopifyProductDataDeleteV2 | io.flow.internal.v0.models.ShopifyInventoryItemUpdateV2 | io.flow.internal.v0.models.ShopifyInventoryItemDeleteV2 | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted | io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted | io.flow.internal.v0.models.ShopifyMerchantPlanUpserted | io.flow.internal.v0.models.ShopifyMerchantPlanDeleted | io.flow.internal.v0.models.ShopifyDisputeUpserted | io.flow.internal.v0.models.ShopifyDisputeDeleted | io.flow.internal.v0.models.ShopifyReportFileUpserted | io.flow.internal.v0.models.ShopifyReportFileDeleted | 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.StripeDisputeUpserted | io.flow.internal.v0.models.StripeDisputeDeleted | io.flow.internal.v0.models.StripeConnectReportRecordUpserted | io.flow.internal.v0.models.StripeConnectReportRecordDeleted | io.flow.internal.v0.models.LiabilityRemittancePlanUpserted | io.flow.internal.v0.models.LiabilityRemittancePlanDeleted | io.flow.internal.v0.models.B2BTaxTransactionUpserted | io.flow.internal.v0.models.B2BTaxTransactionDeleted | io.flow.internal.v0.models.GabrielItemUpserted | io.flow.internal.v0.models.GabrielItemDeleted | io.flow.internal.v0.models.ChenglinItemUpserted | io.flow.internal.v0.models.ChenglinItemDeleted | io.flow.internal.v0.models.BojanaItemUpserted | io.flow.internal.v0.models.BojanaItemDeleted | io.flow.internal.v0.models.RaveenaItemUpserted | io.flow.internal.v0.models.RaveenaItemDeleted | io.flow.internal.v0.models.MaheshItemUpserted | io.flow.internal.v0.models.MaheshItemDeleted | io.flow.internal.v0.models.JohnStrongItemUpserted | io.flow.internal.v0.models.JohnStrongItemDeleted | io.flow.internal.v0.models.TrackingProcessingErrorUpserted | io.flow.internal.v0.models.TrackingProcessingErrorDeleted | 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.TrackingAssuranceAnalysisUpserted | io.flow.internal.v0.models.TrackingAssuranceAnalysisDeleted | io.flow.internal.v0.models.TrackingAssuranceJobUpserted | io.flow.internal.v0.models.TrackingAssuranceJobDeleted | io.flow.internal.v0.models.TrackingSubscriptionUpserted | io.flow.internal.v0.models.TrackingSubscriptionDeleted | io.flow.internal.v0.models.TrackingCarrierReturnLabelUpserted | io.flow.internal.v0.models.TrackingCarrierReturnLabelDeleted | io.flow.internal.v0.models.TrackingLabelDimensionsUpserted | io.flow.internal.v0.models.TrackingLabelDimensionsDeleted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2; type ExplicitStatementForm = | io.flow.internal.v0.models.ExplicitStatementFormTransactionIds | io.flow.internal.v0.models.ExplicitStatementFormAllPendingPostedTransactions; type ExportSchedule = | io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated; type FeatureDefaultValue = | io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue; type FeatureRule = | io.flow.internal.v0.models.BooleanFeatureRule | io.flow.internal.v0.models.StringFeatureRule; type FeatureRuleForm = | io.flow.internal.v0.models.BooleanFeatureRuleForm | io.flow.internal.v0.models.StringFeatureRuleForm; type FeatureTaskData = | io.flow.internal.v0.models.FeatureTaskDataSyncFeature | io.flow.internal.v0.models.FeatureTaskDataSyncOrganization; type FeatureValue = | io.flow.internal.v0.models.BooleanFeatureValue | io.flow.internal.v0.models.StringFeatureValue; type FraudProviderConfiguration = io.flow.internal.v0.models.FraudProviderConfigurationRiskified; type FraudProviderConfigurationForm = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified; type FulfillmentProof = | io.flow.internal.v0.models.FulfillmentProofLabelTrackingReference | io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference | io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference | io.flow.internal.v0.models.FulfillmentProofOrderCombinedShipmentReference; type FulfillmentTrigger = | io.flow.internal.v0.models.FulfillmentTriggerProof | io.flow.internal.v0.models.FulfillmentTriggerTime; type GenerateLoad = | io.flow.internal.v0.models.GenerateLoadSingleOrg | io.flow.internal.v0.models.GenerateLoadMultipleOrgs; type GlobalSearchResult = | io.flow.internal.v0.models.SearchExperienceSummary | io.flow.internal.v0.models.SearchOrderSummary | io.flow.internal.v0.models.SearchItemSummary; type IndexTaskType = | io.flow.internal.v0.models.CatalogItemIndexTask | io.flow.internal.v0.models.CatalogItemBatchIndexTask | io.flow.internal.v0.models.CatalogItemDeleteIndexTask | io.flow.internal.v0.models.ChangeSettingsIndexTask | io.flow.internal.v0.models.DeleteIndexTask; type InlineAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters; type InternalAuthorizationDetails = | io.flow.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.internal.v0.models.InternalFiservAuthorizationDetails; type InternalHarmonizationStatistic = | io.flow.internal.v0.models.TimeToClassify | io.flow.internal.v0.models.TimeToClassifyAggregated | io.flow.internal.v0.models.RateSourceSummary | io.flow.internal.v0.models.RateFreshnessSummary; type InternalRefundForm = io.flow.internal.v0.models.AdyenRefundForm; type InternalTransactionDetails = io.flow.internal.v0.models.InternalTransactionDetailsCard; type OrderActionForm = | io.flow.internal.v0.models.WholeOrderActionForm | io.flow.internal.v0.models.LineActionForm | io.flow.internal.v0.models.FulfillmentActionForm; type OrderCancellationEvidence = | io.flow.internal.v0.models.OrderCancellationEvidenceManual | io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled | io.flow.internal.v0.models.OrderCancellationEvidenceReturnToSender; type PaymentRedirect = | io.flow.internal.v0.models.OnlineAuthorizationCompleted | io.flow.internal.v0.models.RedirectActionCompleted; type PaymentSummaryDetails = io.flow.internal.v0.models.SearchAuthorization; type PlatformFee = | io.flow.internal.v0.models.PlatformFeePause | io.flow.internal.v0.models.PlatformFeeFlat | io.flow.internal.v0.models.PlatformFeePercentage | io.flow.internal.v0.models.PlatformFeeDisabled; type ProcessorAccount = | io.flow.internal.v0.models.StripeAccount | io.flow.internal.v0.models.AdyenAccount | io.flow.internal.v0.models.PaypalAccount | io.flow.internal.v0.models.AfterpayAccount | io.flow.internal.v0.models.BitpayAccount | io.flow.internal.v0.models.FiservAccount | io.flow.internal.v0.models.CryptoAccount; type ProcessorAccountModificationForm = | io.flow.internal.v0.models.StripeAccountModificationForm | io.flow.internal.v0.models.AdyenAccountModificationForm | io.flow.internal.v0.models.PaypalAccountModificationForm | io.flow.internal.v0.models.AfterpayAccountModificationForm | io.flow.internal.v0.models.BitpayAccountModificationForm | io.flow.internal.v0.models.FiservAccountModificationForm | io.flow.internal.v0.models.CryptoAccountModificationForm; type ProcessorAccountPutForm = | io.flow.internal.v0.models.StripeAccountPutForm | io.flow.internal.v0.models.AdyenAccountPutForm | io.flow.internal.v0.models.PaypalAccountPutForm | io.flow.internal.v0.models.AfterpayAccountPutForm | io.flow.internal.v0.models.BitpayAccountPutForm | io.flow.internal.v0.models.FiservAccountPutForm | io.flow.internal.v0.models.CryptoAccountPutForm; type ProcessorMerchant = | io.flow.internal.v0.models.StripeMerchant | io.flow.internal.v0.models.AdyenMerchant | io.flow.internal.v0.models.FiservMerchant | io.flow.internal.v0.models.PaypalMerchant; type ProcessorMerchantForm = io.flow.internal.v0.models.StripeMerchantForm; type ProcessorMerchantModificationForm = | io.flow.internal.v0.models.StripeMerchantModificationForm | io.flow.internal.v0.models.AdyenMerchantModificationForm | io.flow.internal.v0.models.FiservMerchantModificationForm | io.flow.internal.v0.models.PaypalMerchantModificationForm; type ProcessorMerchantPutForm = | io.flow.internal.v0.models.StripeMerchantPutForm | io.flow.internal.v0.models.AdyenMerchantPutForm | io.flow.internal.v0.models.FiservMerchantPutForm | io.flow.internal.v0.models.PaypalMerchantPutForm; type ProofOfPosting = | io.flow.internal.v0.models.ProofOfPostingFulfilled | io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled | io.flow.internal.v0.models.ProofOfPostingShippingNotification | io.flow.internal.v0.models.ProofOfPostingOrderCancellation | io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment | io.flow.internal.v0.models.ProofOfPostingTimeElapsed | io.flow.internal.v0.models.ProofOfPostingSynthetic; type RestrictionAttributeRuleCondition = | io.flow.internal.v0.models.RestrictionAttributeConditionSingle | io.flow.internal.v0.models.RestrictionAttributeConditionMultiple; type ReturnTrigger = | io.flow.internal.v0.models.ReturnTriggerRefund | io.flow.internal.v0.models.ReturnTriggerReversal | io.flow.internal.v0.models.ReturnTriggerCreditRefund; type RoutingEntity = | io.flow.internal.v0.models.RoutingProcessor | io.flow.internal.v0.models.RoutingAccount | io.flow.internal.v0.models.RoutingMerchant; type SellabilityScopedCriterion = io.flow.internal.v0.models.TaxonomyPositiveKeywords; type SellabilityScopedCriterionMatch = io.flow.internal.v0.models.TaxonomyPositiveKeywordsMatch; type ShopifyMonitoringOrderMonitorType = | io.flow.internal.v0.models.ShopifyMonitoringFulfillmentExternal | io.flow.internal.v0.models.ShopifyMonitoringFulfillmentMissingDetails; type SimplifiedClassificationTaxonomy = | io.flow.internal.v0.models.SimplifiedTaxonomyCategory | io.flow.internal.v0.models.SimplifiedItemLabel; type SpotRateMetadata = | io.flow.internal.v0.models.SpotRateMetadataIdentity | io.flow.internal.v0.models.SpotRateMetadataRate; type StripeConnectReportRecordMetadata = | io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata | io.flow.internal.v0.models.StripeConnectReportRecordTransferMetadata; type TariffEligibilityData = io.flow.internal.v0.models.RegisteredExporterTariffEligibilityData; type TariffEligibilityForm = io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm; type TaskData = | io.flow.internal.v0.models.TaskProcessQueuedEvent | io.flow.internal.v0.models.TaskSummarizeCode | io.flow.internal.v0.models.TaskItemUpserted | io.flow.internal.v0.models.TaskImport; type TaskMetadata = | io.flow.internal.v0.models.StatementCreationMetadata | io.flow.internal.v0.models.AccountingPendingOrderMetadata | io.flow.internal.v0.models.TaxDutyReasonCodeMetadata | io.flow.internal.v0.models.AccountingReturnMetadata | io.flow.internal.v0.models.NonL4LTaxDutyFxFeeMetadata | io.flow.internal.v0.models.ChannelTransactionTriggerMetadata | io.flow.internal.v0.models.B2BFeeMorTaxTriggerMetadata | io.flow.internal.v0.models.B2BFeeShippingTaxTriggerMetadata | io.flow.internal.v0.models.RemediateTaxDutyMetadata; type Tracker = | io.flow.internal.v0.models.GoogleAnalytics | io.flow.internal.v0.models.GoogleGlobalSiteTag | io.flow.internal.v0.models.GoogleTagManager | io.flow.internal.v0.models.FacebookPixel | io.flow.internal.v0.models.SnapchatPixel; type Transaction = | io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction | io.flow.internal.v0.models.DisputeTransaction | io.flow.internal.v0.models.ChannelTransaction | io.flow.internal.v0.models.LabelTransaction | io.flow.internal.v0.models.OrderTransaction | io.flow.internal.v0.models.ChannelBilledTransaction | io.flow.internal.v0.models.TaxTransaction | io.flow.internal.v0.models.DutyTransaction | io.flow.internal.v0.models.TrueupTransaction | io.flow.internal.v0.models.CarrierChargeTransaction | io.flow.internal.v0.models.NonL4LTaxDutyFxTransaction | io.flow.internal.v0.models.GeRevenueShareTransaction | io.flow.internal.v0.models.MerchantFeeTransaction | io.flow.internal.v0.models.FlatRateLabelTransaction; type TransactionSummary = | io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary; } export type Acceptance = io.flow.internal.v0.models.Acceptance; export type AccountContact = io.flow.internal.v0.models.AccountContact; export type AccountContactDeleted = io.flow.internal.v0.models.AccountContactDeleted; export type AccountContactForm = io.flow.internal.v0.models.AccountContactForm; export type AccountContactUpserted = io.flow.internal.v0.models.AccountContactUpserted; export type AccountCurrencyFilter = io.flow.internal.v0.enums.AccountCurrencyFilter; export type AccountDeletedV2 = io.flow.internal.v0.models.AccountDeletedV2; export type AccountDepositRule = io.flow.internal.v0.models.AccountDepositRule; export type AccountDepositRuleForm = io.flow.internal.v0.models.AccountDepositRuleForm; export type AccountOrdersExportRequest = io.flow.internal.v0.models.AccountOrdersExportRequest; export type AccountOrigin = io.flow.internal.v0.models.AccountOrigin; export type AccountPaymentHold = io.flow.internal.v0.models.AccountPaymentHold; export type AccountPaymentHoldDeleted = io.flow.internal.v0.models.AccountPaymentHoldDeleted; export type AccountPaymentHoldForm = io.flow.internal.v0.models.AccountPaymentHoldForm; export type AccountPaymentHoldReason = io.flow.internal.v0.enums.AccountPaymentHoldReason; export type AccountPaymentHoldUpserted = io.flow.internal.v0.models.AccountPaymentHoldUpserted; export type AccountProcessingRateForm = io.flow.internal.v0.models.AccountProcessingRateForm; export type AccountProcessingRates = io.flow.internal.v0.models.AccountProcessingRates; export type AccountProcessingRatesDeleted = io.flow.internal.v0.models.AccountProcessingRatesDeleted; export type AccountProcessingRatesForm = io.flow.internal.v0.models.AccountProcessingRatesForm; export type AccountProcessingRatesUpserted = io.flow.internal.v0.models.AccountProcessingRatesUpserted; export type AccountReference = io.flow.internal.v0.models.AccountReference; export type AccountSettingLabelFees = io.flow.internal.v0.models.AccountSettingLabelFees; export type AccountSettingLiabilitiesMethod = io.flow.internal.v0.enums.AccountSettingLiabilitiesMethod; export type AccountSettings = io.flow.internal.v0.models.AccountSettings; export type AccountSettingsDeleted = io.flow.internal.v0.models.AccountSettingsDeleted; export type AccountSettingsUpserted = io.flow.internal.v0.models.AccountSettingsUpserted; export type AccountSource = io.flow.internal.v0.models.AccountSource; export type AccountStatistics = io.flow.internal.v0.models.AccountStatistics; export type AccountStatisticsAdditionalBalances = io.flow.internal.v0.models.AccountStatisticsAdditionalBalances; export type AccountSummary = io.flow.internal.v0.models.AccountSummary; export type AccountTransactionsExportRequest = io.flow.internal.v0.models.AccountTransactionsExportRequest; export type AccountType = io.flow.internal.v0.enums.AccountType; export type AccountUpserted = io.flow.internal.v0.models.AccountUpserted; export type AccountUpsertedV2 = io.flow.internal.v0.models.AccountUpsertedV2; export type AccountingPendingOrderMetadata = io.flow.internal.v0.models.AccountingPendingOrderMetadata; export type AccountingReturnMetadata = io.flow.internal.v0.models.AccountingReturnMetadata; export type ActionQuantity = io.flow.internal.v0.models.ActionQuantity; export type AdditionalImportTax = io.flow.internal.v0.models.AdditionalImportTax; export type AdjustmentAmount = io.flow.internal.v0.unions.AdjustmentAmount; export type AdjustmentAmountFixed = io.flow.internal.v0.models.AdjustmentAmountFixed; export type AdjustmentAmountPercentage = io.flow.internal.v0.models.AdjustmentAmountPercentage; export type AdjustmentDetails = io.flow.internal.v0.unions.AdjustmentDetails; export type AdjustmentDetailsAmountFixed = io.flow.internal.v0.models.AdjustmentDetailsAmountFixed; export type AdjustmentDetailsAmountPercentage = io.flow.internal.v0.models.AdjustmentDetailsAmountPercentage; export type AdjustmentDetailsProcessingTransaction = io.flow.internal.v0.models.AdjustmentDetailsProcessingTransaction; export type AdjustmentDetailsProcessingTransactionFee = io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionFee; export type AdjustmentDetailsProcessingTransactionWithholding = io.flow.internal.v0.models.AdjustmentDetailsProcessingTransactionWithholding; export type AdjustmentTransactionType = io.flow.internal.v0.enums.AdjustmentTransactionType; export type AdyenAccount = io.flow.internal.v0.models.AdyenAccount; export type AdyenAccountModificationForm = io.flow.internal.v0.models.AdyenAccountModificationForm; export type AdyenAccountPutForm = io.flow.internal.v0.models.AdyenAccountPutForm; export type AdyenAuthentication = io.flow.internal.v0.models.AdyenAuthentication; export type AdyenAuthenticationDataReference = io.flow.internal.v0.models.AdyenAuthenticationDataReference; export type AdyenAuthenticationForm = io.flow.internal.v0.models.AdyenAuthenticationForm; export type AdyenAuthorizationDeleted = io.flow.internal.v0.models.AdyenAuthorizationDeleted; export type AdyenAuthorizationUpserted = io.flow.internal.v0.models.AdyenAuthorizationUpserted; export type AdyenCancelDeleted = io.flow.internal.v0.models.AdyenCancelDeleted; export type AdyenCancelUpserted = io.flow.internal.v0.models.AdyenCancelUpserted; export type AdyenCaptureDeleted = io.flow.internal.v0.models.AdyenCaptureDeleted; export type AdyenCaptureUpserted = io.flow.internal.v0.models.AdyenCaptureUpserted; export type AdyenDisputeDeleted = io.flow.internal.v0.models.AdyenDisputeDeleted; export type AdyenDisputeUpserted = io.flow.internal.v0.models.AdyenDisputeUpserted; export type AdyenIntegrationType = io.flow.internal.v0.enums.AdyenIntegrationType; export type AdyenInternalAuthorization = io.flow.internal.v0.models.AdyenInternalAuthorization; export type AdyenInternalCancel = io.flow.internal.v0.models.AdyenInternalCancel; export type AdyenInternalCapture = io.flow.internal.v0.models.AdyenInternalCapture; export type AdyenInternalDispute = io.flow.internal.v0.models.AdyenInternalDispute; export type AdyenInternalRefund = io.flow.internal.v0.models.AdyenInternalRefund; export type AdyenMerchant = io.flow.internal.v0.models.AdyenMerchant; export type AdyenMerchantAccount = io.flow.internal.v0.models.AdyenMerchantAccount; export type AdyenMerchantAccountDeleted = io.flow.internal.v0.models.AdyenMerchantAccountDeleted; export type AdyenMerchantAccountUpserted = io.flow.internal.v0.models.AdyenMerchantAccountUpserted; export type AdyenMerchantModificationForm = io.flow.internal.v0.models.AdyenMerchantModificationForm; export type AdyenMerchantPutForm = io.flow.internal.v0.models.AdyenMerchantPutForm; export type AdyenPaymentDetailsForm = io.flow.internal.v0.models.AdyenPaymentDetailsForm; export type AdyenRefundDeleted = io.flow.internal.v0.models.AdyenRefundDeleted; export type AdyenRefundForm = io.flow.internal.v0.models.AdyenRefundForm; export type AdyenRefundUpserted = io.flow.internal.v0.models.AdyenRefundUpserted; export type AfterpayAccount = io.flow.internal.v0.models.AfterpayAccount; export type AfterpayAccountModificationForm = io.flow.internal.v0.models.AfterpayAccountModificationForm; export type AfterpayAccountPutForm = io.flow.internal.v0.models.AfterpayAccountPutForm; export type AfterpayAuthentication = io.flow.internal.v0.models.AfterpayAuthentication; export type AfterpayAuthenticationDataReference = io.flow.internal.v0.models.AfterpayAuthenticationDataReference; export type AfterpayAuthenticationForm = io.flow.internal.v0.models.AfterpayAuthenticationForm; export type AfterpayAuthorization = io.flow.internal.v0.models.AfterpayAuthorization; export type AfterpayAuthorizationDeleted = io.flow.internal.v0.models.AfterpayAuthorizationDeleted; export type AfterpayAuthorizationUpserted = io.flow.internal.v0.models.AfterpayAuthorizationUpserted; export type AfterpayCapture = io.flow.internal.v0.models.AfterpayCapture; export type AfterpayCaptureDeleted = io.flow.internal.v0.models.AfterpayCaptureDeleted; export type AfterpayCaptureUpserted = io.flow.internal.v0.models.AfterpayCaptureUpserted; export type AfterpayRefund = io.flow.internal.v0.models.AfterpayRefund; export type AfterpayRefundDeleted = io.flow.internal.v0.models.AfterpayRefundDeleted; export type AfterpayRefundUpserted = io.flow.internal.v0.models.AfterpayRefundUpserted; export type AftershipWebhook = io.flow.internal.v0.models.AftershipWebhook; export type AgentReviewDecision = io.flow.internal.v0.models.AgentReviewDecision; export type AgentReviewDecisionDeleted = io.flow.internal.v0.models.AgentReviewDecisionDeleted; export type AgentReviewDecisionUpserted = io.flow.internal.v0.models.AgentReviewDecisionUpserted; export type AgentReviewDetail = io.flow.internal.v0.models.AgentReviewDetail; export type AiOutput = io.flow.internal.v0.unions.AiOutput; export type AiReviewBatchItemOutcome = io.flow.internal.v0.enums.AiReviewBatchItemOutcome; export type AiReviewBatchStatus = io.flow.internal.v0.enums.AiReviewBatchStatus; export type AiReviewBatchSubmitted = io.flow.internal.v0.models.AiReviewBatchSubmitted; export type AiReviewConsumer = io.flow.internal.v0.enums.AiReviewConsumer; export type AiReviewContext = io.flow.internal.v0.unions.AiReviewContext; export type AiReviewFailedItem = io.flow.internal.v0.models.AiReviewFailedItem; export type AiReviewFailureReason = io.flow.internal.v0.enums.AiReviewFailureReason; export type AiReviewRequestFailed = io.flow.internal.v0.models.AiReviewRequestFailed; export type AiReviewResult = io.flow.internal.v0.models.AiReviewResult; export type AiReviewResultDeleted = io.flow.internal.v0.models.AiReviewResultDeleted; export type AiReviewResultUpserted = io.flow.internal.v0.models.AiReviewResultUpserted; export type AiReviewType = io.flow.internal.v0.enums.AiReviewType; export type AllItemsExport = io.flow.internal.v0.models.AllItemsExport; export type AllocationItemReference = io.flow.internal.v0.models.AllocationItemReference; export type AllowedLabels = io.flow.internal.v0.models.AllowedLabels; export type AmruthaItem = io.flow.internal.v0.models.AmruthaItem; export type AmruthaItemForm = io.flow.internal.v0.models.AmruthaItemForm; export type AmruthaItemType = io.flow.internal.v0.enums.AmruthaItemType; export type AnyDangerousGoods = io.flow.internal.v0.enums.AnyDangerousGoods; export type ApiCallReferenceId = io.flow.internal.v0.enums.ApiCallReferenceId; export type ApplePayAuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload; export type ApplicablePreferentialRate = io.flow.internal.v0.enums.ApplicablePreferentialRate; export type ApplyAtValueForm = io.flow.internal.v0.models.ApplyAtValueForm; export type AthenaDailyopsIntentLevel = io.flow.internal.v0.enums.AthenaDailyopsIntentLevel; export type AttemptStatistics = io.flow.internal.v0.models.AttemptStatistics; export type AttributeLabel = io.flow.internal.v0.models.AttributeLabel; export type AttributeRule = io.flow.internal.v0.models.AttributeRule; export type AuthenticationForm = io.flow.internal.v0.models.AuthenticationForm; export type AuthorizationBundle = io.flow.internal.v0.models.AuthorizationBundle; export type AuthorizationBundleDeleted = io.flow.internal.v0.models.AuthorizationBundleDeleted; export type AuthorizationBundleUpserted = io.flow.internal.v0.models.AuthorizationBundleUpserted; export type AuthorizationMetadata = io.flow.internal.v0.models.AuthorizationMetadata; export type AuthorizationParameters = io.flow.internal.v0.models.AuthorizationParameters; export type AuthorizationParametersForm = io.flow.internal.v0.models.AuthorizationParametersForm; export type AuthorizationPayload = io.flow.internal.v0.unions.AuthorizationPayload; export type AuthorizedChargeStatus = io.flow.internal.v0.models.AuthorizedChargeStatus; export type AuthorizedLineItemCharge = io.flow.internal.v0.models.AuthorizedLineItemCharge; export type AuthorizedOrderCharge = io.flow.internal.v0.unions.AuthorizedOrderCharge; export type AuthorizedShippingCharge = io.flow.internal.v0.models.AuthorizedShippingCharge; export type AutoAcceptKeywordCancelling = io.flow.internal.v0.models.AutoAcceptKeywordCancelling; export type AutoRestrictRule = io.flow.internal.v0.enums.AutoRestrictRule; export type AutoReviewCriteria = io.flow.internal.v0.models.AutoReviewCriteria; export type AverageOrderValue = io.flow.internal.v0.models.AverageOrderValue; export type AverageOrderValueDeleted = io.flow.internal.v0.models.AverageOrderValueDeleted; export type AverageOrderValueUpserted = io.flow.internal.v0.models.AverageOrderValueUpserted; export type B2BFeeMorTaxTriggerMetadata = io.flow.internal.v0.models.B2BFeeMorTaxTriggerMetadata; export type B2BFeeMorTaxTriggerType = io.flow.internal.v0.enums.B2BFeeMorTaxTriggerType; export type B2BFeeShippingTaxTriggerMetadata = io.flow.internal.v0.models.B2BFeeShippingTaxTriggerMetadata; export type B2BFeeShippingTaxTriggerType = io.flow.internal.v0.enums.B2BFeeShippingTaxTriggerType; export type B2BTaxLedger = io.flow.internal.v0.models.B2BTaxLedger; export type B2BTaxLedgerDocumentType = io.flow.internal.v0.enums.B2BTaxLedgerDocumentType; export type B2BTaxLedgerForm = io.flow.internal.v0.models.B2BTaxLedgerForm; export type B2BTaxRateType = io.flow.internal.v0.enums.B2BTaxRateType; export type B2BTaxTransaction = io.flow.internal.v0.models.B2BTaxTransaction; export type B2BTaxTransactionDeleted = io.flow.internal.v0.models.B2BTaxTransactionDeleted; export type B2BTaxTransactionUpserted = io.flow.internal.v0.models.B2BTaxTransactionUpserted; export type B2BTransactionTaxLine = io.flow.internal.v0.models.B2BTransactionTaxLine; export type B2BTransactionTaxableItem = io.flow.internal.v0.models.B2BTransactionTaxableItem; export type BankAccount = io.flow.internal.v0.models.BankAccount; export type BankAccountDeleted = io.flow.internal.v0.models.BankAccountDeleted; export type BankAccountReference = io.flow.internal.v0.models.BankAccountReference; export type BankAccountSnapshot = io.flow.internal.v0.models.BankAccountSnapshot; export type BankAccountStatus = io.flow.internal.v0.enums.BankAccountStatus; export type BankAccountUpserted = io.flow.internal.v0.models.BankAccountUpserted; export type BankPayment = io.flow.internal.v0.models.BankPayment; export type BankPaymentDeletedV2 = io.flow.internal.v0.models.BankPaymentDeletedV2; export type BankPaymentDetail = io.flow.internal.v0.models.BankPaymentDetail; export type BankPaymentDetailAttachment = io.flow.internal.v0.models.BankPaymentDetailAttachment; export type BankPaymentForm = io.flow.internal.v0.models.BankPaymentForm; export type BankPaymentOrder = io.flow.internal.v0.models.BankPaymentOrder; export type BankPaymentOrderDeleted = io.flow.internal.v0.models.BankPaymentOrderDeleted; export type BankPaymentOrderUpserted = io.flow.internal.v0.models.BankPaymentOrderUpserted; export type BankPaymentPromise = io.flow.internal.v0.models.BankPaymentPromise; export type BankPaymentPromiseCompletedMethod = io.flow.internal.v0.enums.BankPaymentPromiseCompletedMethod; export type BankPaymentPromiseDeleted = io.flow.internal.v0.models.BankPaymentPromiseDeleted; export type BankPaymentPromiseUpserted = io.flow.internal.v0.models.BankPaymentPromiseUpserted; export type BankPaymentReference = io.flow.internal.v0.models.BankPaymentReference; export type BankPaymentStatusCode = io.flow.internal.v0.enums.BankPaymentStatusCode; export type BankPaymentStatusForm = io.flow.internal.v0.models.BankPaymentStatusForm; export type BankPaymentStatusImport = io.flow.internal.v0.models.BankPaymentStatusImport; export type BankPaymentStatusImportForm = io.flow.internal.v0.models.BankPaymentStatusImportForm; export type BankPaymentStatusImportResult = io.flow.internal.v0.models.BankPaymentStatusImportResult; export type BankPaymentStatusProcessedImportForm = io.flow.internal.v0.models.BankPaymentStatusProcessedImportForm; export type BankPaymentStatusProcessedSingleForm = io.flow.internal.v0.models.BankPaymentStatusProcessedSingleForm; export type BankPaymentStatusSentImportForm = io.flow.internal.v0.models.BankPaymentStatusSentImportForm; export type BankPaymentStatusSingleForm = io.flow.internal.v0.models.BankPaymentStatusSingleForm; export type BankPaymentUpserted = io.flow.internal.v0.models.BankPaymentUpserted; export type BankPaymentUpsertedV2 = io.flow.internal.v0.models.BankPaymentUpsertedV2; export type Base64CarrierDocumentContent = io.flow.internal.v0.models.Base64CarrierDocumentContent; export type BillingAllocationKey = io.flow.internal.v0.enums.BillingAllocationKey; export type BillingAuthorizationReference = io.flow.internal.v0.models.BillingAuthorizationReference; export type BillingCsvTransactionDeleted = io.flow.internal.v0.models.BillingCsvTransactionDeleted; export type BillingCsvTransactionUpserted = io.flow.internal.v0.models.BillingCsvTransactionUpserted; export type BillingInvoiceSummary = io.flow.internal.v0.models.BillingInvoiceSummary; export type BillingLabelSummary = io.flow.internal.v0.models.BillingLabelSummary; export type BillingLabelTrackingSummaryReference = io.flow.internal.v0.models.BillingLabelTrackingSummaryReference; export type BillingMetricKey = io.flow.internal.v0.enums.BillingMetricKey; export type BillingOrderDestination = io.flow.internal.v0.models.BillingOrderDestination; export type BillingOrderSummary = io.flow.internal.v0.models.BillingOrderSummary; export type BillingOrderTransactionOrderReference = io.flow.internal.v0.models.BillingOrderTransactionOrderReference; export type BillingOrganizationProcessingRates = io.flow.internal.v0.models.BillingOrganizationProcessingRates; export type BillingOrganizationProcessingRatesDeleted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesDeleted; export type BillingOrganizationProcessingRatesUpserted = io.flow.internal.v0.models.BillingOrganizationProcessingRatesUpserted; export type BillingOrganizationSettings = io.flow.internal.v0.models.BillingOrganizationSettings; export type BillingOrganizationSettingsDeleted = io.flow.internal.v0.models.BillingOrganizationSettingsDeleted; export type BillingOrganizationSettingsUpserted = io.flow.internal.v0.models.BillingOrganizationSettingsUpserted; export type BillingSandboxSetup = io.flow.internal.v0.models.BillingSandboxSetup; export type BillingStatementAttachment = io.flow.internal.v0.models.BillingStatementAttachment; export type BillingStatementAttachmentKey = io.flow.internal.v0.enums.BillingStatementAttachmentKey; export type BillingStatementDeleted = io.flow.internal.v0.models.BillingStatementDeleted; export type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference; export type BillingStatementSummary = io.flow.internal.v0.models.BillingStatementSummary; export type BillingStatementTotals = io.flow.internal.v0.models.BillingStatementTotals; export type BillingStatementUpserted = io.flow.internal.v0.models.BillingStatementUpserted; export type BillingTransaction = io.flow.internal.v0.models.BillingTransaction; export type BillingTransactionStatus = io.flow.internal.v0.enums.BillingTransactionStatus; export type BillingTransactionType = io.flow.internal.v0.enums.BillingTransactionType; export type BitpayAccount = io.flow.internal.v0.models.BitpayAccount; export type BitpayAccountModificationForm = io.flow.internal.v0.models.BitpayAccountModificationForm; export type BitpayAccountPutForm = io.flow.internal.v0.models.BitpayAccountPutForm; export type BitpayAuthentication = io.flow.internal.v0.models.BitpayAuthentication; export type BitpayAuthenticationDataReference = io.flow.internal.v0.models.BitpayAuthenticationDataReference; export type BitpayAuthenticationForm = io.flow.internal.v0.models.BitpayAuthenticationForm; export type BojanaItem = io.flow.internal.v0.models.BojanaItem; export type BojanaItemDeleted = io.flow.internal.v0.models.BojanaItemDeleted; export type BojanaItemForm = io.flow.internal.v0.models.BojanaItemForm; export type BojanaItemType = io.flow.internal.v0.enums.BojanaItemType; export type BojanaItemUpserted = io.flow.internal.v0.models.BojanaItemUpserted; export type BooleanFeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue; export type BooleanFeatureRule = io.flow.internal.v0.models.BooleanFeatureRule; export type BooleanFeatureRuleForm = io.flow.internal.v0.models.BooleanFeatureRuleForm; export type BooleanFeatureValue = io.flow.internal.v0.models.BooleanFeatureValue; export type BrickWebhookEvent = io.flow.internal.v0.models.BrickWebhookEvent; export type BrickWebhookEventResponse = io.flow.internal.v0.models.BrickWebhookEventResponse; export type BulkClassificationAction = io.flow.internal.v0.models.BulkClassificationAction; export type BulkDutyUpdateValidationError = io.flow.internal.v0.models.BulkDutyUpdateValidationError; export type Cafe24MarketsWebhook = io.flow.internal.v0.models.Cafe24MarketsWebhook; export type CalculationStampingLineItem = io.flow.internal.v0.models.CalculationStampingLineItem; export type CalculationStampingShippingLine = io.flow.internal.v0.models.CalculationStampingShippingLine; export type CalculationStep = io.flow.internal.v0.models.CalculationStep; export type CalculationTotal = io.flow.internal.v0.models.CalculationTotal; export type CalculatorDtcePostBody = io.flow.internal.v0.models.CalculatorDtcePostBody; export type CalculatorDtceProduct = io.flow.internal.v0.models.CalculatorDtceProduct; export type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine; export type CalculatorOrganizationSettings = io.flow.internal.v0.models.CalculatorOrganizationSettings; export type CalculatorOrganizationSettingsCountryOfOriginForm = io.flow.internal.v0.models.CalculatorOrganizationSettingsCountryOfOriginForm; export type CalculatorOrganizationSettingsDeleted = io.flow.internal.v0.models.CalculatorOrganizationSettingsDeleted; export type CalculatorOrganizationSettingsForm = io.flow.internal.v0.models.CalculatorOrganizationSettingsForm; export type CalculatorOrganizationSettingsHsCodeForm = io.flow.internal.v0.models.CalculatorOrganizationSettingsHsCodeForm; export type CalculatorOrganizationSettingsUpserted = io.flow.internal.v0.models.CalculatorOrganizationSettingsUpserted; export type CalculatorStamp = io.flow.internal.v0.unions.CalculatorStamp; export type CallRecord = io.flow.internal.v0.models.CallRecord; export type CarrierAccount = io.flow.internal.v0.models.CarrierAccount; export type CarrierAccountDeleted = io.flow.internal.v0.models.CarrierAccountDeleted; export type CarrierAccountForm = io.flow.internal.v0.models.CarrierAccountForm; export type CarrierAccountUpsertedV2 = io.flow.internal.v0.models.CarrierAccountUpsertedV2; export type CarrierAccountValidation = io.flow.internal.v0.models.CarrierAccountValidation; export type CarrierCharge = io.flow.internal.v0.models.CarrierCharge; export type CarrierChargeDeleted = io.flow.internal.v0.models.CarrierChargeDeleted; export type CarrierChargeForm = io.flow.internal.v0.unions.CarrierChargeForm; export type CarrierChargeFormLabel = io.flow.internal.v0.models.CarrierChargeFormLabel; export type CarrierChargeFormOther = io.flow.internal.v0.models.CarrierChargeFormOther; export type CarrierChargeReference = io.flow.internal.v0.models.CarrierChargeReference; export type CarrierChargeTransaction = io.flow.internal.v0.models.CarrierChargeTransaction; export type CarrierChargeTransactionType = io.flow.internal.v0.enums.CarrierChargeTransactionType; export type CarrierChargeType = io.flow.internal.v0.enums.CarrierChargeType; export type CarrierChargeUnits = io.flow.internal.v0.models.CarrierChargeUnits; export type CarrierChargeUpserted = io.flow.internal.v0.models.CarrierChargeUpserted; export type CarrierCredentials = io.flow.internal.v0.unions.CarrierCredentials; export type CarrierDocument = io.flow.internal.v0.models.CarrierDocument; export type CarrierDocumentContent = io.flow.internal.v0.unions.CarrierDocumentContent; export type CarrierDocumentType = io.flow.internal.v0.enums.CarrierDocumentType; export type CarrierEstimate = io.flow.internal.v0.models.CarrierEstimate; export type CarrierFile = io.flow.internal.v0.models.CarrierFile; export type CarrierFileForm = io.flow.internal.v0.models.CarrierFileForm; export type CarrierFileResult = io.flow.internal.v0.models.CarrierFileResult; export type CarrierFileType = io.flow.internal.v0.enums.CarrierFileType; export type CarrierInvoice = io.flow.internal.v0.models.CarrierInvoice; export type CarrierLabelAttributes = io.flow.internal.v0.unions.CarrierLabelAttributes; export type CarrierLabelGenerationMethod = io.flow.internal.v0.enums.CarrierLabelGenerationMethod; export type CarrierTaxForm = io.flow.internal.v0.models.CarrierTaxForm; export type CarrierTaxUnits = io.flow.internal.v0.models.CarrierTaxUnits; export type CarrierValidationStatus = io.flow.internal.v0.enums.CarrierValidationStatus; export type CatalogImportRequest = io.flow.internal.v0.models.CatalogImportRequest; export type CatalogImportType = io.flow.internal.v0.enums.CatalogImportType; export type CatalogItemBatchIndexTask = io.flow.internal.v0.models.CatalogItemBatchIndexTask; export type CatalogItemDeleteIndexTask = io.flow.internal.v0.models.CatalogItemDeleteIndexTask; export type CatalogItemIndexTask = io.flow.internal.v0.models.CatalogItemIndexTask; export type CatalogItemRegionAvailabilities = io.flow.internal.v0.models.CatalogItemRegionAvailabilities; export type CatalogItemRegionAvailabilitiesData = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesData; export type CatalogItemRegionAvailabilitiesPublished = io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished; export type CatalogPublicationOwner = io.flow.internal.v0.enums.CatalogPublicationOwner; export type CatalogSettings = io.flow.internal.v0.models.CatalogSettings; export type CatalogSettingsDeleted = io.flow.internal.v0.models.CatalogSettingsDeleted; export type CatalogSettingsPutForm = io.flow.internal.v0.models.CatalogSettingsPutForm; export type CatalogSettingsUpserted = io.flow.internal.v0.models.CatalogSettingsUpserted; export type CenterDefaults = io.flow.internal.v0.models.CenterDefaults; export type CenterDefaultsDeleted = io.flow.internal.v0.models.CenterDefaultsDeleted; export type CenterDefaultsForm = io.flow.internal.v0.models.CenterDefaultsForm; export type CenterDefaultsUpserted = io.flow.internal.v0.models.CenterDefaultsUpserted; export type ChangeSettingsIndexTask = io.flow.internal.v0.models.ChangeSettingsIndexTask; export type ChannelAccount = io.flow.internal.v0.models.ChannelAccount; export type ChannelAccountDeleted = io.flow.internal.v0.models.ChannelAccountDeleted; export type ChannelAccountUpsertedV2 = io.flow.internal.v0.models.ChannelAccountUpsertedV2; export type ChannelBilledTransaction = io.flow.internal.v0.models.ChannelBilledTransaction; export type ChannelBilledTransactionDeleted = io.flow.internal.v0.models.ChannelBilledTransactionDeleted; export type ChannelBilledTransactionPair = io.flow.internal.v0.models.ChannelBilledTransactionPair; export type ChannelBilledTransactionPairForm = io.flow.internal.v0.models.ChannelBilledTransactionPairForm; export type ChannelBilledTransactionReference = io.flow.internal.v0.models.ChannelBilledTransactionReference; export type ChannelBilledTransactionType = io.flow.internal.v0.enums.ChannelBilledTransactionType; export type ChannelBilledTransactionUpserted = io.flow.internal.v0.models.ChannelBilledTransactionUpserted; export type ChannelBillingStatement = io.flow.internal.v0.models.ChannelBillingStatement; export type ChannelCurrencyForm = io.flow.internal.v0.models.ChannelCurrencyForm; export type ChannelCurrencyPairInternal = io.flow.internal.v0.models.ChannelCurrencyPairInternal; export type ChannelCurrencySetting = io.flow.internal.v0.models.ChannelCurrencySetting; export type ChannelCurrencySettingDeleted = io.flow.internal.v0.models.ChannelCurrencySettingDeleted; export type ChannelCurrencySettingForm = io.flow.internal.v0.models.ChannelCurrencySettingForm; export type ChannelCurrencySettingUpserted = io.flow.internal.v0.models.ChannelCurrencySettingUpserted; export type ChannelDebugTransaction = io.flow.internal.v0.models.ChannelDebugTransaction; export type ChannelForm = io.flow.internal.v0.models.ChannelForm; export type ChannelFulfillment = io.flow.internal.v0.models.ChannelFulfillment; export type ChannelMembership = io.flow.internal.v0.models.ChannelMembership; export type ChannelMembershipForm = io.flow.internal.v0.models.ChannelMembershipForm; export type ChannelMembershipPutForm = io.flow.internal.v0.models.ChannelMembershipPutForm; export type ChannelOrder = io.flow.internal.v0.models.ChannelOrder; export type ChannelOrderAcceptance = io.flow.internal.v0.models.ChannelOrderAcceptance; export type ChannelOrderAcceptanceDeleted = io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted; export type ChannelOrderAcceptanceDetails = io.flow.internal.v0.models.ChannelOrderAcceptanceDetails; export type ChannelOrderAcceptanceErrorAction = io.flow.internal.v0.enums.ChannelOrderAcceptanceErrorAction; export type ChannelOrderAcceptanceFailed = io.flow.internal.v0.models.ChannelOrderAcceptanceFailed; export type ChannelOrderAcceptanceFailure = io.flow.internal.v0.models.ChannelOrderAcceptanceFailure; export type ChannelOrderAcceptanceFailureReasonCode = io.flow.internal.v0.enums.ChannelOrderAcceptanceFailureReasonCode; export type ChannelOrderAcceptanceForm = io.flow.internal.v0.models.ChannelOrderAcceptanceForm; export type ChannelOrderAcceptanceNextActionFrom = io.flow.internal.v0.enums.ChannelOrderAcceptanceNextActionFrom; export type ChannelOrderAcceptanceReason = io.flow.internal.v0.models.ChannelOrderAcceptanceReason; export type ChannelOrderAcceptanceRejectionReason = io.flow.internal.v0.enums.ChannelOrderAcceptanceRejectionReason; export type ChannelOrderAcceptanceStatus = io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus; export type ChannelOrderAcceptanceUpserted = io.flow.internal.v0.models.ChannelOrderAcceptanceUpserted; export type ChannelOrderFulfillmentStatusCode = io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode; export type ChannelOrderSummary = io.flow.internal.v0.models.ChannelOrderSummary; export type ChannelOrderSummaryDeleted = io.flow.internal.v0.models.ChannelOrderSummaryDeleted; export type ChannelOrderSummaryFulfillmentDetails = io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails; export type ChannelOrderSummaryUpserted = io.flow.internal.v0.models.ChannelOrderSummaryUpserted; export type ChannelOrderTaxAndDutyInclusivitySetting = io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySetting; export type ChannelOrderTaxAndDutyInclusivitySettingDeleted = io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySettingDeleted; export type ChannelOrderTaxAndDutyInclusivitySettingUpserted = io.flow.internal.v0.models.ChannelOrderTaxAndDutyInclusivitySettingUpserted; export type ChannelOrganizationDomains = io.flow.internal.v0.models.ChannelOrganizationDomains; export type ChannelOrganizationIdentifier = io.flow.internal.v0.models.ChannelOrganizationIdentifier; export type ChannelOrganizationIdentifierDeleted = io.flow.internal.v0.models.ChannelOrganizationIdentifierDeleted; export type ChannelOrganizationIdentifierUpserted = io.flow.internal.v0.models.ChannelOrganizationIdentifierUpserted; export type ChannelOrganizationInstallation = io.flow.internal.v0.models.ChannelOrganizationInstallation; export type ChannelOrganizationInstallationPostForm = io.flow.internal.v0.models.ChannelOrganizationInstallationPostForm; export type ChannelOrganizationMetadata = io.flow.internal.v0.models.ChannelOrganizationMetadata; export type ChannelOrganizationPublicationOwner = io.flow.internal.v0.models.ChannelOrganizationPublicationOwner; export type ChannelOrganizationPublicationOwnerPutForm = io.flow.internal.v0.models.ChannelOrganizationPublicationOwnerPutForm; export type ChannelOrganizationSellabilityStatus = io.flow.internal.v0.models.ChannelOrganizationSellabilityStatus; export type ChannelOrganizationSellabilityStatusPutForm = io.flow.internal.v0.models.ChannelOrganizationSellabilityStatusPutForm; export type ChannelOrganizationShopify = io.flow.internal.v0.models.ChannelOrganizationShopify; export type ChannelOrganizationShopifyForm = io.flow.internal.v0.models.ChannelOrganizationShopifyForm; export type ChannelOrganizationShopifyPostForm = io.flow.internal.v0.models.ChannelOrganizationShopifyPostForm; export type ChannelOrganizationToken = io.flow.internal.v0.models.ChannelOrganizationToken; export type ChannelOrganizationTokenBody = io.flow.internal.v0.models.ChannelOrganizationTokenBody; export type ChannelRateMetadata = io.flow.internal.v0.unions.ChannelRateMetadata; export type ChannelRateMetadataIdentity = io.flow.internal.v0.models.ChannelRateMetadataIdentity; export type ChannelRateMetadataRate = io.flow.internal.v0.models.ChannelRateMetadataRate; export type ChannelService = io.flow.internal.v0.enums.ChannelService; export type ChannelShop = io.flow.internal.v0.models.ChannelShop; export type ChannelShopForm = io.flow.internal.v0.models.ChannelShopForm; export type ChannelShopStatistics = io.flow.internal.v0.models.ChannelShopStatistics; export type ChannelShopStatisticsDeleted = io.flow.internal.v0.models.ChannelShopStatisticsDeleted; export type ChannelShopStatisticsUpserted = io.flow.internal.v0.models.ChannelShopStatisticsUpserted; export type ChannelTransaction = io.flow.internal.v0.models.ChannelTransaction; export type ChannelTransactionDeleted = io.flow.internal.v0.models.ChannelTransactionDeleted; export type ChannelTransactionRate = io.flow.internal.v0.models.ChannelTransactionRate; export type ChannelTransactionTriggerMetadata = io.flow.internal.v0.models.ChannelTransactionTriggerMetadata; export type ChannelTransactionTriggerType = io.flow.internal.v0.enums.ChannelTransactionTriggerType; export type ChannelTransactionType = io.flow.internal.v0.enums.ChannelTransactionType; export type ChannelTransactionUpserted = io.flow.internal.v0.models.ChannelTransactionUpserted; export type ChapterCheckResult = io.flow.internal.v0.models.ChapterCheckResult; export type ChapterCheckStatus = io.flow.internal.v0.enums.ChapterCheckStatus; export type ChargeEstimateSource = io.flow.internal.v0.enums.ChargeEstimateSource; export type ChargeInput = io.flow.internal.v0.models.ChargeInput; export type ChargeInputType = io.flow.internal.v0.enums.ChargeInputType; export type Chargeback = io.flow.internal.v0.models.Chargeback; export type ChargebackDeleted = io.flow.internal.v0.models.ChargebackDeleted; export type ChargebackPaymentStatus = io.flow.internal.v0.enums.ChargebackPaymentStatus; export type ChargebackProcessStatus = io.flow.internal.v0.enums.ChargebackProcessStatus; export type ChargebackUpserted = io.flow.internal.v0.models.ChargebackUpserted; export type ChargebackVersion = io.flow.internal.v0.models.ChargebackVersion; export type CheckoutAnalytics = io.flow.internal.v0.models.CheckoutAnalytics; export type CheckoutAsset = io.flow.internal.v0.models.CheckoutAsset; export type CheckoutAssetType = io.flow.internal.v0.enums.CheckoutAssetType; export type CheckoutBehavior = io.flow.internal.v0.models.CheckoutBehavior; export type CheckoutBehaviorCustomerInfo = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfo; export type CheckoutBehaviorCustomerInfoEmail = io.flow.internal.v0.models.CheckoutBehaviorCustomerInfoEmail; export type CheckoutBehaviorShippingAddress = io.flow.internal.v0.models.CheckoutBehaviorShippingAddress; export type CheckoutBehaviorShippingMethod = io.flow.internal.v0.models.CheckoutBehaviorShippingMethod; export type CheckoutConfiguration = io.flow.internal.v0.models.CheckoutConfiguration; export type CheckoutConfigurationForm = io.flow.internal.v0.models.CheckoutConfigurationForm; export type CheckoutConfigurationReference = io.flow.internal.v0.models.CheckoutConfigurationReference; export type CheckoutPromptBehavior = io.flow.internal.v0.enums.CheckoutPromptBehavior; export type CheckoutSettings = io.flow.internal.v0.models.CheckoutSettings; export type CheckoutShippingMethodPromptBehavior = io.flow.internal.v0.enums.CheckoutShippingMethodPromptBehavior; export type CheckoutUrl = io.flow.internal.v0.models.CheckoutUrl; export type CheckoutUrlType = io.flow.internal.v0.enums.CheckoutUrlType; export type ChenglinItem = io.flow.internal.v0.models.ChenglinItem; export type ChenglinItemDeleted = io.flow.internal.v0.models.ChenglinItemDeleted; export type ChenglinItemForm = io.flow.internal.v0.models.ChenglinItemForm; export type ChenglinItemType = io.flow.internal.v0.enums.ChenglinItemType; export type ChenglinItemUpserted = io.flow.internal.v0.models.ChenglinItemUpserted; export type Cipher = io.flow.internal.v0.models.Cipher; export type CipherForm = io.flow.internal.v0.models.CipherForm; export type CipherReference = io.flow.internal.v0.models.CipherReference; export type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm; export type Classification = io.flow.internal.v0.models.Classification; export type ClassificationAction = io.flow.internal.v0.unions.ClassificationAction; export type ClassificationActionForm = io.flow.internal.v0.unions.ClassificationActionForm; export type ClassificationActionFormUndo = io.flow.internal.v0.models.ClassificationActionFormUndo; export type ClassificationDecision = io.flow.internal.v0.enums.ClassificationDecision; export type ClassificationDetails = io.flow.internal.v0.models.ClassificationDetails; export type ClassificationError = io.flow.internal.v0.models.ClassificationError; export type ClassificationErrorCode = io.flow.internal.v0.enums.ClassificationErrorCode; export type ClassificationFailureReason = io.flow.internal.v0.enums.ClassificationFailureReason; export type ClassificationForm = io.flow.internal.v0.unions.ClassificationForm; export type ClassificationFormWrapper = io.flow.internal.v0.models.ClassificationFormWrapper; export type ClassificationItem = io.flow.internal.v0.models.ClassificationItem; export type ClassificationJudgementForm = io.flow.internal.v0.unions.ClassificationJudgementForm; export type ClassificationLabelAttribute = io.flow.internal.v0.unions.ClassificationLabelAttribute; export type ClassificationMerchant = io.flow.internal.v0.models.ClassificationMerchant; export type ClassificationMerchantEnvelope = io.flow.internal.v0.models.ClassificationMerchantEnvelope; export type ClassificationPlatform = io.flow.internal.v0.enums.ClassificationPlatform; export type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct; export type ClassificationProductHarmonization = io.flow.internal.v0.models.ClassificationProductHarmonization; export type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId; export type ClassificationProductRequest = io.flow.internal.v0.models.ClassificationProductRequest; export type ClassificationProductRequestEnvelope = io.flow.internal.v0.models.ClassificationProductRequestEnvelope; export type ClassificationProductResult = io.flow.internal.v0.models.ClassificationProductResult; export type ClassificationProductResultEnvelope = io.flow.internal.v0.models.ClassificationProductResultEnvelope; export type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary; export type ClassificationProductSummaryPage = io.flow.internal.v0.models.ClassificationProductSummaryPage; export type ClassificationRequeueRequest = io.flow.internal.v0.models.ClassificationRequeueRequest; export type ClassificationResponse = io.flow.internal.v0.unions.ClassificationResponse; export type ClassificationScope = io.flow.internal.v0.enums.ClassificationScope; export type ClassificationSource = io.flow.internal.v0.enums.ClassificationSource; export type ClassificationStatistics = io.flow.internal.v0.models.ClassificationStatistics; export type ClassificationSummaryReportPayload = io.flow.internal.v0.models.ClassificationSummaryReportPayload; export type ClassificationTaxonomy = io.flow.internal.v0.unions.ClassificationTaxonomy; export type ClassificationType = io.flow.internal.v0.enums.ClassificationType; export type ClassificationWrapper = io.flow.internal.v0.models.ClassificationWrapper; export type ClassifiedProduct = io.flow.internal.v0.models.ClassifiedProduct; export type ClassifiedProductDetail = io.flow.internal.v0.models.ClassifiedProductDetail; export type CliLogEntry = io.flow.internal.v0.models.CliLogEntry; export type CliLogEntryForm = io.flow.internal.v0.models.CliLogEntryForm; export type ClothingAgeClassification = io.flow.internal.v0.enums.ClothingAgeClassification; export type CommercialInvoiceComparison = io.flow.internal.v0.models.CommercialInvoiceComparison; export type CommercialInvoiceInternal = io.flow.internal.v0.models.CommercialInvoiceInternal; export type CommercialInvoiceInternalDeleted = io.flow.internal.v0.models.CommercialInvoiceInternalDeleted; export type CommercialInvoiceInternalUpserted = io.flow.internal.v0.models.CommercialInvoiceInternalUpserted; export type CommercialInvoiceSummary = io.flow.internal.v0.models.CommercialInvoiceSummary; export type CommercialInvoiceVersion = io.flow.internal.v0.enums.CommercialInvoiceVersion; export type Company = io.flow.internal.v0.enums.Company; export type CompanyReference = io.flow.internal.v0.models.CompanyReference; export type Compliance = io.flow.internal.v0.models.Compliance; export type ComplianceData = io.flow.internal.v0.unions.ComplianceData; export type ComplianceForm = io.flow.internal.v0.unions.ComplianceForm; export type ComplianceType = io.flow.internal.v0.enums.ComplianceType; export type Components = io.flow.internal.v0.models.Components; export type ConnectReportPaymentTransferType = io.flow.internal.v0.enums.ConnectReportPaymentTransferType; export type ConnectReportTransferTransferType = io.flow.internal.v0.enums.ConnectReportTransferTransferType; export type ConorItem = io.flow.internal.v0.models.ConorItem; export type ConorItemForm = io.flow.internal.v0.models.ConorItemForm; export type ConorItemType = io.flow.internal.v0.enums.ConorItemType; export type ConsoleLabelRequestForm = io.flow.internal.v0.models.ConsoleLabelRequestForm; export type ConsoleLabelValidationForm = io.flow.internal.v0.unions.ConsoleLabelValidationForm; export type ConsoleMarkUnresolvableForm = io.flow.internal.v0.models.ConsoleMarkUnresolvableForm; export type CourthouseProductSummary = io.flow.internal.v0.models.CourthouseProductSummary; export type CpscCertificateType = io.flow.internal.v0.enums.CpscCertificateType; export type CpscFileType = io.flow.internal.v0.enums.CpscFileType; export type CpscLabType = io.flow.internal.v0.enums.CpscLabType; export type CpscLotNumberAssignedBy = io.flow.internal.v0.enums.CpscLotNumberAssignedBy; export type CpscPointOfContactType = io.flow.internal.v0.enums.CpscPointOfContactType; export type CpscPrimaryProductIdType = io.flow.internal.v0.enums.CpscPrimaryProductIdType; export type CpscProductRegistration = io.flow.internal.v0.models.CpscProductRegistration; export type CpscQueueEnvelope = io.flow.internal.v0.models.CpscQueueEnvelope; export type CpscQueueMessage = io.flow.internal.v0.models.CpscQueueMessage; export type CpscYesNo = io.flow.internal.v0.enums.CpscYesNo; export type CrossdockTrackingStatus = io.flow.internal.v0.enums.CrossdockTrackingStatus; export type CryptoAccount = io.flow.internal.v0.models.CryptoAccount; export type CryptoAccountModificationForm = io.flow.internal.v0.models.CryptoAccountModificationForm; export type CryptoAccountPutForm = io.flow.internal.v0.models.CryptoAccountPutForm; export type CryptoAuthentication = io.flow.internal.v0.models.CryptoAuthentication; export type CryptoAuthenticationForm = io.flow.internal.v0.models.CryptoAuthenticationForm; export type CsvTransaction = io.flow.internal.v0.models.CsvTransaction; export type CurrencyInternalRate = io.flow.internal.v0.models.CurrencyInternalRate; export type CustomsDescriptionStatistics = io.flow.internal.v0.models.CustomsDescriptionStatistics; export type CustomsDescriptionSuggestion = io.flow.internal.v0.models.CustomsDescriptionSuggestion; export type CustomsDescriptionTariffCodeDuty = io.flow.internal.v0.models.CustomsDescriptionTariffCodeDuty; export type CustomsDescriptionTariffCodeDutyForm = io.flow.internal.v0.models.CustomsDescriptionTariffCodeDutyForm; export type CustomsDetails = io.flow.internal.v0.models.CustomsDetails; export type CustomsDetailsForm = io.flow.internal.v0.models.CustomsDetailsForm; export type CustomsProductAttributeLabel = io.flow.internal.v0.models.CustomsProductAttributeLabel; export type CustomsProductLabels = io.flow.internal.v0.models.CustomsProductLabels; export type DailyValue = io.flow.internal.v0.models.DailyValue; export type DailyValueDeleted = io.flow.internal.v0.models.DailyValueDeleted; export type DailyValueUpserted = io.flow.internal.v0.models.DailyValueUpserted; export type Database = io.flow.internal.v0.models.Database; export type DebugAccountingTransaction = io.flow.internal.v0.models.DebugAccountingTransaction; export type DebugAccountingTransactionType = io.flow.internal.v0.enums.DebugAccountingTransactionType; export type DebugAdjustment = io.flow.internal.v0.models.DebugAdjustment; export type DebugBankingDetails = io.flow.internal.v0.models.DebugBankingDetails; export type DebugDetails = io.flow.internal.v0.models.DebugDetails; export type DebugFulfillmentDelta = io.flow.internal.v0.models.DebugFulfillmentDelta; export type DebugLabel = io.flow.internal.v0.models.DebugLabel; export type DebugLabelTransactionSummary = io.flow.internal.v0.models.DebugLabelTransactionSummary; export type DebugOrder = io.flow.internal.v0.models.DebugOrder; export type DebugOrderTransaction = io.flow.internal.v0.models.DebugOrderTransaction; export type DebugOrderTransactionDetails = io.flow.internal.v0.models.DebugOrderTransactionDetails; export type DebugOrderTransactionForm = io.flow.internal.v0.models.DebugOrderTransactionForm; export type DebugOrderTransactionFormOrderIdentifier = io.flow.internal.v0.models.DebugOrderTransactionFormOrderIdentifier; export type DebugOriginalTransactionSummary = io.flow.internal.v0.models.DebugOriginalTransactionSummary; export type DebugPaymentTransactionSummary = io.flow.internal.v0.models.DebugPaymentTransactionSummary; export type DebugTransactionDetails = io.flow.internal.v0.models.DebugTransactionDetails; export type DebugTransactionDetailsStatus = io.flow.internal.v0.models.DebugTransactionDetailsStatus; export type DebugTransactionFx = io.flow.internal.v0.models.DebugTransactionFx; export type DebugTransactionFxRate = io.flow.internal.v0.models.DebugTransactionFxRate; export type DebugTransactionQueued = io.flow.internal.v0.models.DebugTransactionQueued; export type Decision = io.flow.internal.v0.models.Decision; export type DeclineReason = io.flow.internal.v0.unions.DeclineReason; export type DeclineReasonChannelOrderAcceptance = io.flow.internal.v0.models.DeclineReasonChannelOrderAcceptance; export type DeclineReasonFraud = io.flow.internal.v0.models.DeclineReasonFraud; export type DecryptCipherForm = io.flow.internal.v0.models.DecryptCipherForm; export type DecryptedCipher = io.flow.internal.v0.models.DecryptedCipher; export type DeleteIndexTask = io.flow.internal.v0.models.DeleteIndexTask; export type DeleteTransitionsPutForm = io.flow.internal.v0.models.DeleteTransitionsPutForm; export type DeliveredDutyOption = io.flow.internal.v0.models.DeliveredDutyOption; export type DeliveredDutyOptionMessage = io.flow.internal.v0.models.DeliveredDutyOptionMessage; export type DeliveredDutyOptionMessageType = io.flow.internal.v0.enums.DeliveredDutyOptionMessageType; export type DeliveredDutyOptions = io.flow.internal.v0.models.DeliveredDutyOptions; export type DeliveredDutyOptionsMessage = io.flow.internal.v0.models.DeliveredDutyOptionsMessage; export type DeliveredDutyPreference = io.flow.internal.v0.models.DeliveredDutyPreference; export type DeliveredDutyPreferenceForm = io.flow.internal.v0.models.DeliveredDutyPreferenceForm; export type DeminimisAdjustmentType = io.flow.internal.v0.enums.DeminimisAdjustmentType; export type DestinationDutyComparison = io.flow.internal.v0.models.DestinationDutyComparison; export type DestinationError = io.flow.internal.v0.models.DestinationError; export type DgClassAssessment = io.flow.internal.v0.models.DgClassAssessment; export type DgReviewContext = io.flow.internal.v0.models.DgReviewContext; export type DgReviewOutput = io.flow.internal.v0.models.DgReviewOutput; export type Dhl = io.flow.internal.v0.models.Dhl; export type DhlEcommerce = io.flow.internal.v0.models.DhlEcommerce; export type DimensionEstimateOpsInput = io.flow.internal.v0.models.DimensionEstimateOpsInput; export type Discount = io.flow.internal.v0.models.Discount; export type DiscountCode = io.flow.internal.v0.models.DiscountCode; export type DiscountRequestForm = io.flow.internal.v0.models.DiscountRequestForm; export type DiscountRequestOfferFixedAmountForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm; export type DiscountRequestOfferForm = io.flow.internal.v0.unions.DiscountRequestOfferForm; export type DiscountRequestOrderEntitlementForm = io.flow.internal.v0.models.DiscountRequestOrderEntitlementForm; export type DiscountRequestOrderEntitlementKey = io.flow.internal.v0.enums.DiscountRequestOrderEntitlementKey; export type DiscountRequestOrderForm = io.flow.internal.v0.models.DiscountRequestOrderForm; export type Dispute = io.flow.internal.v0.models.Dispute; export type DisputeAuthorizationReference = io.flow.internal.v0.models.DisputeAuthorizationReference; export type DisputeBillable = io.flow.internal.v0.enums.DisputeBillable; export type DisputeCategory = io.flow.internal.v0.enums.DisputeCategory; export type DisputeDefenseOutcome = io.flow.internal.v0.enums.DisputeDefenseOutcome; export type DisputeDeleted = io.flow.internal.v0.models.DisputeDeleted; export type DisputeDetail = io.flow.internal.v0.models.DisputeDetail; export type DisputeDetails = io.flow.internal.v0.unions.DisputeDetails; export type DisputeDetailsAdyen = io.flow.internal.v0.models.DisputeDetailsAdyen; export type DisputeDetailsPaypal = io.flow.internal.v0.models.DisputeDetailsPaypal; export type DisputeDetailsStripe = io.flow.internal.v0.models.DisputeDetailsStripe; export type DisputeEvidence = io.flow.internal.v0.enums.DisputeEvidence; export type DisputeImport = io.flow.internal.v0.models.DisputeImport; export type DisputeImportError = io.flow.internal.v0.models.DisputeImportError; export type DisputeImportErrors = io.flow.internal.v0.models.DisputeImportErrors; export type DisputeImportForm = io.flow.internal.v0.models.DisputeImportForm; export type DisputeImportStatus = io.flow.internal.v0.enums.DisputeImportStatus; export type DisputeImportType = io.flow.internal.v0.enums.DisputeImportType; export type DisputeLiability = io.flow.internal.v0.enums.DisputeLiability; export type DisputeOrderReference = io.flow.internal.v0.models.DisputeOrderReference; export type DisputeOrganizationReference = io.flow.internal.v0.models.DisputeOrganizationReference; export type DisputeOverrideUpdateForm = io.flow.internal.v0.models.DisputeOverrideUpdateForm; export type DisputeProcessor = io.flow.internal.v0.enums.DisputeProcessor; export type DisputeRecord = io.flow.internal.v0.models.DisputeRecord; export type DisputeReportingCategory = io.flow.internal.v0.enums.DisputeReportingCategory; export type DisputeStatus = io.flow.internal.v0.enums.DisputeStatus; export type DisputeStatusForm = io.flow.internal.v0.models.DisputeStatusForm; export type DisputeTransaction = io.flow.internal.v0.models.DisputeTransaction; export type DisputeTransactionType = io.flow.internal.v0.enums.DisputeTransactionType; export type DisputeType = io.flow.internal.v0.enums.DisputeType; export type DisputeUpserted = io.flow.internal.v0.models.DisputeUpserted; export type DutiedItemsExport = io.flow.internal.v0.models.DutiedItemsExport; export type Duties = io.flow.internal.v0.models.Duties; export type DutyCompoundExpression = io.flow.internal.v0.models.DutyCompoundExpression; export type DutyCompoundExpressionType = io.flow.internal.v0.enums.DutyCompoundExpressionType; export type DutyExemptItemTypes = io.flow.internal.v0.enums.DutyExemptItemTypes; export type DutyExpression = io.flow.internal.v0.unions.DutyExpression; export type DutyInternalRate = io.flow.internal.v0.models.DutyInternalRate; export type DutyRate = io.flow.internal.v0.models.DutyRate; export type DutyRateItemSummary = io.flow.internal.v0.models.DutyRateItemSummary; export type DutyRateSource = io.flow.internal.v0.enums.DutyRateSource; export type DutyRateSummary = io.flow.internal.v0.models.DutyRateSummary; export type DutyRateUnitOfMeasure = io.flow.internal.v0.enums.DutyRateUnitOfMeasure; export type DutyRatesDataSummary = io.flow.internal.v0.models.DutyRatesDataSummary; export type DutyRatesPublishedV2 = io.flow.internal.v0.models.DutyRatesPublishedV2; export type DutyRaw = io.flow.internal.v0.models.DutyRaw; export type DutySelectionRule = io.flow.internal.v0.enums.DutySelectionRule; export type DutySimpleExpression = io.flow.internal.v0.models.DutySimpleExpression; export type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType; export type DutyTransaction = io.flow.internal.v0.models.DutyTransaction; export type DutyTransactionDeleted = io.flow.internal.v0.models.DutyTransactionDeleted; export type DutyTransactionType = io.flow.internal.v0.enums.DutyTransactionType; export type DutyTransactionUpserted = io.flow.internal.v0.models.DutyTransactionUpserted; export type DutyVarianceResult = io.flow.internal.v0.models.DutyVarianceResult; export type DutyVarianceStatus = io.flow.internal.v0.enums.DutyVarianceStatus; export type EmailForm = io.flow.internal.v0.models.EmailForm; export type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm; export type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute; export type EmptyClassificationForm = io.flow.internal.v0.models.EmptyClassificationForm; export type Encryption = io.flow.internal.v0.models.Encryption; export type EnrichedLineItemForm = io.flow.internal.v0.models.EnrichedLineItemForm; export type EnrichedShippingLabelPackage = io.flow.internal.v0.models.EnrichedShippingLabelPackage; export type EntityReference = io.flow.internal.v0.models.EntityReference; export type EntityReferenceNumber = io.flow.internal.v0.models.EntityReferenceNumber; export type ErpFileType = io.flow.internal.v0.enums.ErpFileType; export type ErpFlowFile = io.flow.internal.v0.models.ErpFlowFile; export type ErpFlowFileForm = io.flow.internal.v0.models.ErpFlowFileForm; export type ErpFlowVendor = io.flow.internal.v0.models.ErpFlowVendor; export type ErpPriorityFile = io.flow.internal.v0.models.ErpPriorityFile; export type ErpPriorityFileForm = io.flow.internal.v0.models.ErpPriorityFileForm; export type ErpPriorityVendor = io.flow.internal.v0.models.ErpPriorityVendor; export type ErpPriorityVendorForm = io.flow.internal.v0.models.ErpPriorityVendorForm; export type ErpVendor = io.flow.internal.v0.models.ErpVendor; export type ErpVendorStatus = io.flow.internal.v0.models.ErpVendorStatus; export type ErpVendorStatusEntity = io.flow.internal.v0.models.ErpVendorStatusEntity; export type ErpVendorStatusFlowFile = io.flow.internal.v0.models.ErpVendorStatusFlowFile; export type ErpVendorStatusPriorityFile = io.flow.internal.v0.models.ErpVendorStatusPriorityFile; export type EuProductIdentifierCheck = io.flow.internal.v0.models.EuProductIdentifierCheck; export type EuProductIdentifierCheckDeleted = io.flow.internal.v0.models.EuProductIdentifierCheckDeleted; export type EuProductIdentifierCheckUpserted = io.flow.internal.v0.models.EuProductIdentifierCheckUpserted; export type EvaluationCheckResult = io.flow.internal.v0.enums.EvaluationCheckResult; export type EvaluationResults = io.flow.internal.v0.models.EvaluationResults; export type Event = io.flow.internal.v0.unions.Event; export type EventType = io.flow.internal.v0.enums.EventType; export type ExclusionRuleDeleted = io.flow.internal.v0.models.ExclusionRuleDeleted; export type ExclusionRuleExportRequest = io.flow.internal.v0.models.ExclusionRuleExportRequest; export type ExclusionRuleUpserted = io.flow.internal.v0.models.ExclusionRuleUpserted; export type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest; export type ExperienceImportRequest = io.flow.internal.v0.models.ExperienceImportRequest; export type ExperienceImportType = io.flow.internal.v0.enums.ExperienceImportType; export type ExperienceOrderAction = io.flow.internal.v0.enums.ExperienceOrderAction; export type ExperienceOrderActionRule = io.flow.internal.v0.models.ExperienceOrderActionRule; export type ExperienceOrderActionTrigger = io.flow.internal.v0.enums.ExperienceOrderActionTrigger; export type ExperienceSessionReference = io.flow.internal.v0.models.ExperienceSessionReference; export type ExplicitStatement = io.flow.internal.v0.models.ExplicitStatement; export type ExplicitStatementForm = io.flow.internal.v0.unions.ExplicitStatementForm; export type ExplicitStatementFormAllPendingPostedTransactions = io.flow.internal.v0.models.ExplicitStatementFormAllPendingPostedTransactions; export type ExplicitStatementFormTransactionIds = io.flow.internal.v0.models.ExplicitStatementFormTransactionIds; export type ExportCompleted = io.flow.internal.v0.models.ExportCompleted; export type ExportContentType = io.flow.internal.v0.enums.ExportContentType; export type ExportFailed = io.flow.internal.v0.models.ExportFailed; export type ExportSchedule = io.flow.internal.v0.unions.ExportSchedule; export type ExportScheduleDaily = io.flow.internal.v0.models.ExportScheduleDaily; export type ExportScheduleRepeated = io.flow.internal.v0.models.ExportScheduleRepeated; export type ExportTrackingLabel = io.flow.internal.v0.models.ExportTrackingLabel; export type ExportTrackingLabelEvent = io.flow.internal.v0.models.ExportTrackingLabelEvent; export type ExternalFulfillmentProof = io.flow.internal.v0.models.ExternalFulfillmentProof; export type ExternalFulfillmentProofForm = io.flow.internal.v0.models.ExternalFulfillmentProofForm; export type ExternalFulfillmentProofTracking = io.flow.internal.v0.models.ExternalFulfillmentProofTracking; export type ExternalFulfillmentProofTrackingForm = io.flow.internal.v0.models.ExternalFulfillmentProofTrackingForm; export type ExternalOrderSummary = io.flow.internal.v0.models.ExternalOrderSummary; export type ExternalRatecardLink = io.flow.internal.v0.models.ExternalRatecardLink; export type ExternalRatecardLinkResponse = io.flow.internal.v0.models.ExternalRatecardLinkResponse; export type FacebookPixel = io.flow.internal.v0.models.FacebookPixel; export type FailedDimensionEstimateOpsInputWithReason = io.flow.internal.v0.models.FailedDimensionEstimateOpsInputWithReason; export type Feature = io.flow.internal.v0.models.Feature; export type FeatureContextForm = io.flow.internal.v0.models.FeatureContextForm; export type FeatureDefaultValue = io.flow.internal.v0.unions.FeatureDefaultValue; export type FeatureDeleted = io.flow.internal.v0.models.FeatureDeleted; export type FeatureForm = io.flow.internal.v0.models.FeatureForm; export type FeatureGeoForm = io.flow.internal.v0.models.FeatureGeoForm; export type FeatureReference = io.flow.internal.v0.models.FeatureReference; export type FeatureReleaseForm = io.flow.internal.v0.models.FeatureReleaseForm; export type FeatureRule = io.flow.internal.v0.unions.FeatureRule; export type FeatureRuleForm = io.flow.internal.v0.unions.FeatureRuleForm; export type FeatureScope = io.flow.internal.v0.enums.FeatureScope; export type FeatureStatus = io.flow.internal.v0.enums.FeatureStatus; export type FeatureStatusForm = io.flow.internal.v0.models.FeatureStatusForm; export type FeatureTaskData = io.flow.internal.v0.unions.FeatureTaskData; export type FeatureTaskDataSyncFeature = io.flow.internal.v0.models.FeatureTaskDataSyncFeature; export type FeatureTaskDataSyncOrganization = io.flow.internal.v0.models.FeatureTaskDataSyncOrganization; export type FeatureType = io.flow.internal.v0.enums.FeatureType; export type FeatureUpserted = io.flow.internal.v0.models.FeatureUpserted; export type FeatureValue = io.flow.internal.v0.unions.FeatureValue; export type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm; export type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult; export type Fedex = io.flow.internal.v0.models.Fedex; export type FedexApi = io.flow.internal.v0.models.FedexApi; export type FedexCarrierLabelAttributes = io.flow.internal.v0.models.FedexCarrierLabelAttributes; export type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder; export type Fee = io.flow.internal.v0.models.Fee; export type Fees = io.flow.internal.v0.models.Fees; export type FeesSource = io.flow.internal.v0.enums.FeesSource; export type FileType = io.flow.internal.v0.enums.FileType; export type FinanceBankAccount = io.flow.internal.v0.models.FinanceBankAccount; export type FinanceBankAccountOwner = io.flow.internal.v0.models.FinanceBankAccountOwner; export type FinanceBankPayment = io.flow.internal.v0.models.FinanceBankPayment; export type FinancialMerchantCategory = io.flow.internal.v0.models.FinancialMerchantCategory; export type FiservAccount = io.flow.internal.v0.models.FiservAccount; export type FiservAccountModificationForm = io.flow.internal.v0.models.FiservAccountModificationForm; export type FiservAccountPutForm = io.flow.internal.v0.models.FiservAccountPutForm; export type FiservAuthentication = io.flow.internal.v0.models.FiservAuthentication; export type FiservAuthenticationDataReference = io.flow.internal.v0.models.FiservAuthenticationDataReference; export type FiservAuthenticationForm = io.flow.internal.v0.models.FiservAuthenticationForm; export type FiservMerchant = io.flow.internal.v0.models.FiservMerchant; export type FiservMerchantModificationForm = io.flow.internal.v0.models.FiservMerchantModificationForm; export type FiservMerchantPutForm = io.flow.internal.v0.models.FiservMerchantPutForm; export type FlatRate = io.flow.internal.v0.models.FlatRate; export type FlatRateLabelGuaranteeStatus = io.flow.internal.v0.enums.FlatRateLabelGuaranteeStatus; export type FlatRateLabelReversal = io.flow.internal.v0.models.FlatRateLabelReversal; export type FlatRateLabelReversalDeleted = io.flow.internal.v0.models.FlatRateLabelReversalDeleted; export type FlatRateLabelReversalUpserted = io.flow.internal.v0.models.FlatRateLabelReversalUpserted; export type FlatRateLabelSubsidy = io.flow.internal.v0.models.FlatRateLabelSubsidy; export type FlatRateLabelSubsidyDeleted = io.flow.internal.v0.models.FlatRateLabelSubsidyDeleted; export type FlatRateLabelSubsidyUpserted = io.flow.internal.v0.models.FlatRateLabelSubsidyUpserted; export type FlatRateLabelTransaction = io.flow.internal.v0.models.FlatRateLabelTransaction; export type FlatRateLabelTransactionDeleted = io.flow.internal.v0.models.FlatRateLabelTransactionDeleted; export type FlatRateLabelTransactionType = io.flow.internal.v0.enums.FlatRateLabelTransactionType; export type FlatRateLabelTransactionUpserted = io.flow.internal.v0.models.FlatRateLabelTransactionUpserted; export type FlowAccount = io.flow.internal.v0.models.FlowAccount; export type FlowBillingStatement = io.flow.internal.v0.models.FlowBillingStatement; export type FlowChannelOrganization = io.flow.internal.v0.models.FlowChannelOrganization; export type FlowLabProject = io.flow.internal.v0.models.FlowLabProject; export type FlowLabProjectPostForm = io.flow.internal.v0.models.FlowLabProjectPostForm; export type FlowLabProjectPutForm = io.flow.internal.v0.models.FlowLabProjectPutForm; export type FlowLabelSetting = io.flow.internal.v0.models.FlowLabelSetting; export type FlowLabelSettingForm = io.flow.internal.v0.models.FlowLabelSettingForm; export type FlowShopValidationError = io.flow.internal.v0.models.FlowShopValidationError; export type FraudAuthorizationSummary = io.flow.internal.v0.models.FraudAuthorizationSummary; export type FraudPendingReview = io.flow.internal.v0.models.FraudPendingReview; export type FraudPendingReviewAuthorization = io.flow.internal.v0.models.FraudPendingReviewAuthorization; export type FraudPendingReviewAuthorizationDeleted = io.flow.internal.v0.models.FraudPendingReviewAuthorizationDeleted; export type FraudPendingReviewAuthorizationUpserted = io.flow.internal.v0.models.FraudPendingReviewAuthorizationUpserted; export type FraudPendingReviewDeleted = io.flow.internal.v0.models.FraudPendingReviewDeleted; export type FraudPendingReviewDetail = io.flow.internal.v0.models.FraudPendingReviewDetail; export type FraudPendingReviewUpserted = io.flow.internal.v0.models.FraudPendingReviewUpserted; export type FraudProvider = io.flow.internal.v0.enums.FraudProvider; export type FraudProviderConfiguration = io.flow.internal.v0.unions.FraudProviderConfiguration; export type FraudProviderConfigurationDeleted = io.flow.internal.v0.models.FraudProviderConfigurationDeleted; export type FraudProviderConfigurationForm = io.flow.internal.v0.unions.FraudProviderConfigurationForm; export type FraudProviderConfigurationFormRiskified = io.flow.internal.v0.models.FraudProviderConfigurationFormRiskified; export type FraudProviderConfigurationRiskified = io.flow.internal.v0.models.FraudProviderConfigurationRiskified; export type FraudProviderConfigurationUpserted = io.flow.internal.v0.models.FraudProviderConfigurationUpserted; export type FraudProviderStatus = io.flow.internal.v0.enums.FraudProviderStatus; export type FraudReview = io.flow.internal.v0.models.FraudReview; export type FraudReviewAuthorization = io.flow.internal.v0.models.FraudReviewAuthorization; export type FraudReviewAuthorizationDecision = io.flow.internal.v0.models.FraudReviewAuthorizationDecision; export type FraudReviewAuthorizationDecisionDeleted = io.flow.internal.v0.models.FraudReviewAuthorizationDecisionDeleted; export type FraudReviewAuthorizationDecisionUpserted = io.flow.internal.v0.models.FraudReviewAuthorizationDecisionUpserted; export type FraudReviewAuthorizationDeleted = io.flow.internal.v0.models.FraudReviewAuthorizationDeleted; export type FraudReviewAuthorizationUpserted = io.flow.internal.v0.models.FraudReviewAuthorizationUpserted; export type FraudReviewDecision = io.flow.internal.v0.models.FraudReviewDecision; export type FraudReviewDecisionDeleted = io.flow.internal.v0.models.FraudReviewDecisionDeleted; export type FraudReviewDecisionForm = io.flow.internal.v0.models.FraudReviewDecisionForm; export type FraudReviewDecisionUpserted = io.flow.internal.v0.models.FraudReviewDecisionUpserted; export type FraudReviewDeleted = io.flow.internal.v0.models.FraudReviewDeleted; export type FraudReviewResponsibleParty = io.flow.internal.v0.enums.FraudReviewResponsibleParty; export type FraudReviewUpserted = io.flow.internal.v0.models.FraudReviewUpserted; export type FraudReviewVersion = io.flow.internal.v0.models.FraudReviewVersion; export type FraudSummary = io.flow.internal.v0.models.FraudSummary; export type FtpFileDeleted = io.flow.internal.v0.models.FtpFileDeleted; export type FtpFileToProcessUploaded = io.flow.internal.v0.models.FtpFileToProcessUploaded; export type FtpFileUpserted = io.flow.internal.v0.models.FtpFileUpserted; export type Fulfillment = io.flow.internal.v0.models.Fulfillment; export type FulfillmentActionForm = io.flow.internal.v0.models.FulfillmentActionForm; export type FulfillmentBusiness = io.flow.internal.v0.models.FulfillmentBusiness; export type FulfillmentCarrier = io.flow.internal.v0.models.FulfillmentCarrier; export type FulfillmentDeleted = io.flow.internal.v0.models.FulfillmentDeleted; export type FulfillmentFallbacks = io.flow.internal.v0.models.FulfillmentFallbacks; export type FulfillmentFallbacksDeleted = io.flow.internal.v0.models.FulfillmentFallbacksDeleted; export type FulfillmentFallbacksUpserted = io.flow.internal.v0.models.FulfillmentFallbacksUpserted; export type FulfillmentOrigin = io.flow.internal.v0.models.FulfillmentOrigin; export type FulfillmentProof = io.flow.internal.v0.unions.FulfillmentProof; export type FulfillmentProofExternalFulfillmentProofReference = io.flow.internal.v0.models.FulfillmentProofExternalFulfillmentProofReference; export type FulfillmentProofLabelTrackingReference = io.flow.internal.v0.models.FulfillmentProofLabelTrackingReference; export type FulfillmentProofOrderCombinedShipmentReference = io.flow.internal.v0.models.FulfillmentProofOrderCombinedShipmentReference; export type FulfillmentProofShippingNotificationReference = io.flow.internal.v0.models.FulfillmentProofShippingNotificationReference; export type FulfillmentReference = io.flow.internal.v0.models.FulfillmentReference; export type FulfillmentShopperBreakdown = io.flow.internal.v0.models.FulfillmentShopperBreakdown; export type FulfillmentStatusDeleted = io.flow.internal.v0.models.FulfillmentStatusDeleted; export type FulfillmentStatusSummary = io.flow.internal.v0.models.FulfillmentStatusSummary; export type FulfillmentStatusUpserted = io.flow.internal.v0.models.FulfillmentStatusUpserted; export type FulfillmentSubsidyBreakdown = io.flow.internal.v0.models.FulfillmentSubsidyBreakdown; export type FulfillmentTrigger = io.flow.internal.v0.unions.FulfillmentTrigger; export type FulfillmentTriggerProof = io.flow.internal.v0.models.FulfillmentTriggerProof; export type FulfillmentTriggerTime = io.flow.internal.v0.models.FulfillmentTriggerTime; export type FulfillmentUpserted = io.flow.internal.v0.models.FulfillmentUpserted; export type FxFee = io.flow.internal.v0.models.FxFee; export type FxRevenueRecognition = io.flow.internal.v0.models.FxRevenueRecognition; export type FxRevenueRecognitionAccount = io.flow.internal.v0.models.FxRevenueRecognitionAccount; export type FxRevenueRecognitionAccountRate = io.flow.internal.v0.models.FxRevenueRecognitionAccountRate; export type FxRevenueRecognitionOrder = io.flow.internal.v0.models.FxRevenueRecognitionOrder; export type FxRevenueRecognitionOrganization = io.flow.internal.v0.models.FxRevenueRecognitionOrganization; export type FxRevenueRecognitionRate = io.flow.internal.v0.models.FxRevenueRecognitionRate; export type FxRevenueRecognitionSource = io.flow.internal.v0.models.FxRevenueRecognitionSource; export type GabrielItem = io.flow.internal.v0.models.GabrielItem; export type GabrielItemDeleted = io.flow.internal.v0.models.GabrielItemDeleted; export type GabrielItemForm = io.flow.internal.v0.models.GabrielItemForm; export type GabrielItemType = io.flow.internal.v0.enums.GabrielItemType; export type GabrielItemUpserted = io.flow.internal.v0.models.GabrielItemUpserted; export type GeIngestionFileStatus = io.flow.internal.v0.enums.GeIngestionFileStatus; export type GeRevenueShareTransaction = io.flow.internal.v0.models.GeRevenueShareTransaction; export type GeRevenueShareTransactionDeleted = io.flow.internal.v0.models.GeRevenueShareTransactionDeleted; export type GeRevenueShareTransactionType = io.flow.internal.v0.enums.GeRevenueShareTransactionType; export type GeRevenueShareTransactionUpserted = io.flow.internal.v0.models.GeRevenueShareTransactionUpserted; export type GenerateLoad = io.flow.internal.v0.unions.GenerateLoad; export type GenerateLoadMultipleOrgs = io.flow.internal.v0.models.GenerateLoadMultipleOrgs; export type GenerateLoadRate = io.flow.internal.v0.models.GenerateLoadRate; export type GenerateLoadSingleOrg = io.flow.internal.v0.models.GenerateLoadSingleOrg; export type GenericValidationError = io.flow.internal.v0.models.GenericValidationError; export type GiftCard = io.flow.internal.v0.models.GiftCard; export type GiftCardAuthorizationError = io.flow.internal.v0.models.GiftCardAuthorizationError; export type GiftCardForm = io.flow.internal.v0.models.GiftCardForm; export type GiftCardProgram = io.flow.internal.v0.models.GiftCardProgram; export type GlobalSearchResult = io.flow.internal.v0.unions.GlobalSearchResult; export type GoogleAnalytics = io.flow.internal.v0.models.GoogleAnalytics; export type GoogleAnalyticsPlugin = io.flow.internal.v0.enums.GoogleAnalyticsPlugin; export type GoogleGlobalSiteTag = io.flow.internal.v0.models.GoogleGlobalSiteTag; export type GoogleLinker = io.flow.internal.v0.models.GoogleLinker; export type GoogleShoppingAccountParameters = io.flow.internal.v0.models.GoogleShoppingAccountParameters; export type GoogleShoppingSetting = io.flow.internal.v0.models.GoogleShoppingSetting; export type GoogleTagManager = io.flow.internal.v0.models.GoogleTagManager; export type GraphqlServiceTypes = io.flow.internal.v0.enums.GraphqlServiceTypes; export type GuaranteedShippingCalibratedOutput = io.flow.internal.v0.models.GuaranteedShippingCalibratedOutput; export type GuaranteedShippingCalibratedOutputDeleted = io.flow.internal.v0.models.GuaranteedShippingCalibratedOutputDeleted; export type GuaranteedShippingCalibratedOutputUpserted = io.flow.internal.v0.models.GuaranteedShippingCalibratedOutputUpserted; export type GuaranteedShippingCalibration = io.flow.internal.v0.models.GuaranteedShippingCalibration; export type GuaranteedShippingCalibrationForm = io.flow.internal.v0.models.GuaranteedShippingCalibrationForm; export type GuaranteedShippingCalibrationLaneForm = io.flow.internal.v0.models.GuaranteedShippingCalibrationLaneForm; export type GuaranteedShippingOrderGuarantee = io.flow.internal.v0.models.GuaranteedShippingOrderGuarantee; export type GuaranteedShippingOrderGuaranteeDeleted = io.flow.internal.v0.models.GuaranteedShippingOrderGuaranteeDeleted; export type GuaranteedShippingOrderGuaranteeState = io.flow.internal.v0.enums.GuaranteedShippingOrderGuaranteeState; export type GuaranteedShippingOrderGuaranteeUpserted = io.flow.internal.v0.models.GuaranteedShippingOrderGuaranteeUpserted; export type GuaranteedShippingPublication = io.flow.internal.v0.models.GuaranteedShippingPublication; export type GuaranteedShippingPublicationForm = io.flow.internal.v0.models.GuaranteedShippingPublicationForm; export type GuaranteedShippingPublicationLaneForm = io.flow.internal.v0.models.GuaranteedShippingPublicationLaneForm; export type GuaranteedShippingPublicationStatus = io.flow.internal.v0.enums.GuaranteedShippingPublicationStatus; export type GuaranteedShippingPublishedOutput = io.flow.internal.v0.models.GuaranteedShippingPublishedOutput; export type GuaranteedShippingPublishedOutputDeleted = io.flow.internal.v0.models.GuaranteedShippingPublishedOutputDeleted; export type GuaranteedShippingPublishedOutputUpserted = io.flow.internal.v0.models.GuaranteedShippingPublishedOutputUpserted; export type GuaranteedShippingSettings = io.flow.internal.v0.models.GuaranteedShippingSettings; export type GuaranteedShippingSettingsDeleted = io.flow.internal.v0.models.GuaranteedShippingSettingsDeleted; export type GuaranteedShippingSettingsDestinationUpdate = io.flow.internal.v0.models.GuaranteedShippingSettingsDestinationUpdate; export type GuaranteedShippingSettingsUpdate = io.flow.internal.v0.models.GuaranteedShippingSettingsUpdate; export type GuaranteedShippingSettingsUpdateDeleted = io.flow.internal.v0.models.GuaranteedShippingSettingsUpdateDeleted; export type GuaranteedShippingSettingsUpdateUpserted = io.flow.internal.v0.models.GuaranteedShippingSettingsUpdateUpserted; export type GuaranteedShippingSettingsUpserted = io.flow.internal.v0.models.GuaranteedShippingSettingsUpserted; export type HarmonizationClassificationStatisticsData = io.flow.internal.v0.models.HarmonizationClassificationStatisticsData; export type HarmonizationClassificationStatisticsPublished = io.flow.internal.v0.models.HarmonizationClassificationStatisticsPublished; export type HarmonizationCodesImport = io.flow.internal.v0.models.HarmonizationCodesImport; export type HarmonizationColumnSetting = io.flow.internal.v0.models.HarmonizationColumnSetting; export type HarmonizationDecisionSource = io.flow.internal.v0.enums.HarmonizationDecisionSource; export type HarmonizationItemClassification = io.flow.internal.v0.models.HarmonizationItemClassification; export type HarmonizationItemSummary = io.flow.internal.v0.models.HarmonizationItemSummary; export type HarmonizationMlModelSummary = io.flow.internal.v0.models.HarmonizationMlModelSummary; export type HarmonizationThreshold = io.flow.internal.v0.models.HarmonizationThreshold; export type HarmonizationThresholdForm = io.flow.internal.v0.models.HarmonizationThresholdForm; export type HarmonizationUnclassifiedStatistics = io.flow.internal.v0.models.HarmonizationUnclassifiedStatistics; export type HarmonizeFullyRequestV2 = io.flow.internal.v0.models.HarmonizeFullyRequestV2; export type HarmonizedItemsHs6Export = io.flow.internal.v0.models.HarmonizedItemsHs6Export; export type Hs6 = io.flow.internal.v0.models.Hs6; export type Hs6CodeSource = io.flow.internal.v0.enums.Hs6CodeSource; export type Hs6Metadata = io.flow.internal.v0.models.Hs6Metadata; export type HttpMethod = io.flow.internal.v0.enums.HttpMethod; export type ImportCompleted = io.flow.internal.v0.models.ImportCompleted; export type ImportFailed = io.flow.internal.v0.models.ImportFailed; export type IndexTaskType = io.flow.internal.v0.unions.IndexTaskType; export type InlineAuthorizationParameters = io.flow.internal.v0.unions.InlineAuthorizationParameters; export type InternalAdyenAuthorizationDetails = io.flow.internal.v0.models.InternalAdyenAuthorizationDetails; export type InternalAfterpayAuthorizationDetails = io.flow.internal.v0.models.InternalAfterpayAuthorizationDetails; export type InternalAuthorization = io.flow.internal.v0.models.InternalAuthorization; export type InternalAuthorizationDeleted = io.flow.internal.v0.models.InternalAuthorizationDeleted; export type InternalAuthorizationDetails = io.flow.internal.v0.unions.InternalAuthorizationDetails; export type InternalAuthorizationUpserted = io.flow.internal.v0.models.InternalAuthorizationUpserted; export type InternalBitpayAuthorizationDetails = io.flow.internal.v0.models.InternalBitpayAuthorizationDetails; export type InternalChannelRate = io.flow.internal.v0.models.InternalChannelRate; export type InternalChannelRateDeleted = io.flow.internal.v0.models.InternalChannelRateDeleted; export type InternalChannelRateUpserted = io.flow.internal.v0.models.InternalChannelRateUpserted; export type InternalDebugTransaction = io.flow.internal.v0.models.InternalDebugTransaction; export type InternalExclusionRuleForm = io.flow.internal.v0.models.InternalExclusionRuleForm; export type InternalFiservAuthorizationDetails = io.flow.internal.v0.models.InternalFiservAuthorizationDetails; export type InternalHarmonizationStatistic = io.flow.internal.v0.unions.InternalHarmonizationStatistic; export type InternalItem = io.flow.internal.v0.models.InternalItem; export type InternalItemForm = io.flow.internal.v0.models.InternalItemForm; export type InternalOrder = io.flow.internal.v0.models.InternalOrder; export type InternalPaymentEntityType = io.flow.internal.v0.enums.InternalPaymentEntityType; export type InternalPaymentRequest = io.flow.internal.v0.models.InternalPaymentRequest; export type InternalPaymentRequestVerification = io.flow.internal.v0.models.InternalPaymentRequestVerification; export type InternalPaypalAuthorizationDetails = io.flow.internal.v0.models.InternalPaypalAuthorizationDetails; export type InternalRefundForm = io.flow.internal.v0.unions.InternalRefundForm; export type InternalStripeAuthorizationDetails = io.flow.internal.v0.models.InternalStripeAuthorizationDetails; export type InternalTransactionDetails = io.flow.internal.v0.unions.InternalTransactionDetails; export type InternalTransactionDetailsCard = io.flow.internal.v0.models.InternalTransactionDetailsCard; export type Invariant = io.flow.internal.v0.models.Invariant; export type InventoryItemWrapper = io.flow.internal.v0.models.InventoryItemWrapper; export type Invoice = io.flow.internal.v0.models.Invoice; export type InvoiceData = io.flow.internal.v0.models.InvoiceData; export type InvoiceDataLineItem = io.flow.internal.v0.models.InvoiceDataLineItem; export type InvoiceInfoForm = io.flow.internal.v0.models.InvoiceInfoForm; export type InvoiceLine = io.flow.internal.v0.models.InvoiceLine; export type InvoiceLineItem = io.flow.internal.v0.models.InvoiceLineItem; export type InvoiceTransaction = io.flow.internal.v0.models.InvoiceTransaction; export type Issuer = io.flow.internal.v0.models.Issuer; export type IssuerDeleted = io.flow.internal.v0.models.IssuerDeleted; export type IssuerUpserted = io.flow.internal.v0.models.IssuerUpserted; export type ItemClassification = io.flow.internal.v0.models.ItemClassification; export type ItemClassificationAction = io.flow.internal.v0.enums.ItemClassificationAction; export type ItemClassificationForm = io.flow.internal.v0.models.ItemClassificationForm; export type ItemClassificationStatus = io.flow.internal.v0.enums.ItemClassificationStatus; export type ItemClassificationSummary = io.flow.internal.v0.models.ItemClassificationSummary; export type ItemClassificationV2 = io.flow.internal.v0.models.ItemClassificationV2; export type ItemCustomsDetails = io.flow.internal.v0.models.ItemCustomsDetails; export type ItemDimensionEstimate = io.flow.internal.v0.models.ItemDimensionEstimate; export type ItemFilterResponse = io.flow.internal.v0.models.ItemFilterResponse; export type ItemFilterValueResponse = io.flow.internal.v0.models.ItemFilterValueResponse; export type ItemFilterValuesForm = io.flow.internal.v0.models.ItemFilterValuesForm; export type ItemFormImportRequest = io.flow.internal.v0.models.ItemFormImportRequest; export type ItemHarmonization = io.flow.internal.v0.models.ItemHarmonization; export type ItemHarmonizationDeleted = io.flow.internal.v0.models.ItemHarmonizationDeleted; export type ItemHarmonizationStatus = io.flow.internal.v0.enums.ItemHarmonizationStatus; export type ItemHarmonizationUpserted = io.flow.internal.v0.models.ItemHarmonizationUpserted; export type ItemHs6 = io.flow.internal.v0.models.ItemHs6; export type ItemHs6Override = io.flow.internal.v0.models.ItemHs6Override; export type ItemHs6OverrideForm = io.flow.internal.v0.models.ItemHs6OverrideForm; export type ItemHs6OverrideRejection = io.flow.internal.v0.models.ItemHs6OverrideRejection; export type ItemHs6OverrideResult = io.flow.internal.v0.models.ItemHs6OverrideResult; export type ItemHs6OverridesForm = io.flow.internal.v0.models.ItemHs6OverridesForm; export type ItemQuantityAction = io.flow.internal.v0.enums.ItemQuantityAction; export type ItemQueryResponse = io.flow.internal.v0.models.ItemQueryResponse; export type ItemRestriction = io.flow.internal.v0.models.ItemRestriction; export type ItemRestrictionPostForm = io.flow.internal.v0.models.ItemRestrictionPostForm; export type ItemRestrictionPutForm = io.flow.internal.v0.models.ItemRestrictionPutForm; export type ItemRestrictionVersion = io.flow.internal.v0.models.ItemRestrictionVersion; export type ItemSalesMargin = io.flow.internal.v0.models.ItemSalesMargin; export type ItemSalesMarginDeleted = io.flow.internal.v0.models.ItemSalesMarginDeleted; export type ItemSalesMarginPostForm = io.flow.internal.v0.models.ItemSalesMarginPostForm; export type ItemSalesMarginPutForm = io.flow.internal.v0.models.ItemSalesMarginPutForm; export type ItemSalesMarginUpserted = io.flow.internal.v0.models.ItemSalesMarginUpserted; export type ItemSalesMarginVersion = io.flow.internal.v0.models.ItemSalesMarginVersion; export type ItemSummary = io.flow.internal.v0.models.ItemSummary; export type ItemType = io.flow.internal.v0.enums.ItemType; export type ItemValuesForm = io.flow.internal.v0.models.ItemValuesForm; export type JohnStrongItem = io.flow.internal.v0.models.JohnStrongItem; export type JohnStrongItemDeleted = io.flow.internal.v0.models.JohnStrongItemDeleted; export type JohnStrongItemForm = io.flow.internal.v0.models.JohnStrongItemForm; export type JohnStrongItemType = io.flow.internal.v0.enums.JohnStrongItemType; export type JohnStrongItemUpserted = io.flow.internal.v0.models.JohnStrongItemUpserted; export type Journal = io.flow.internal.v0.models.Journal; export type JournalFailure = io.flow.internal.v0.models.JournalFailure; export type JournalOperation = io.flow.internal.v0.enums.JournalOperation; export type Key = io.flow.internal.v0.models.Key; export type KeyReference = io.flow.internal.v0.models.KeyReference; export type KeywordCancelling = io.flow.internal.v0.models.KeywordCancelling; export type KeywordType = io.flow.internal.v0.enums.KeywordType; export type KlarnaAuthorizationParameters = io.flow.internal.v0.models.KlarnaAuthorizationParameters; export type KlarnaPaymentMethodCategory = io.flow.internal.v0.models.KlarnaPaymentMethodCategory; export type LabProjectSettings = io.flow.internal.v0.models.LabProjectSettings; export type LabProjectSettingsForm = io.flow.internal.v0.models.LabProjectSettingsForm; export type LabProjectSettingsFormAcceptance = io.flow.internal.v0.models.LabProjectSettingsFormAcceptance; export type LabelAliases = io.flow.internal.v0.models.LabelAliases; export type LabelAssociation = io.flow.internal.v0.models.LabelAssociation; export type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy; export type LabelCreationJob = io.flow.internal.v0.models.LabelCreationJob; export type LabelCreationJobDeleted = io.flow.internal.v0.models.LabelCreationJobDeleted; export type LabelCreationJobSummary = io.flow.internal.v0.models.LabelCreationJobSummary; export type LabelCreationJobUpserted = io.flow.internal.v0.models.LabelCreationJobUpserted; export type LabelCreationRequestForm = io.flow.internal.v0.models.LabelCreationRequestForm; export type LabelCreationStatus = io.flow.internal.v0.enums.LabelCreationStatus; export type LabelDestination = io.flow.internal.v0.models.LabelDestination; export type LabelEventMedium = io.flow.internal.v0.enums.LabelEventMedium; export type LabelEventSource = io.flow.internal.v0.enums.LabelEventSource; export type LabelInvoiceRequest = io.flow.internal.v0.models.LabelInvoiceRequest; export type LabelInvoiceRequestDeleted = io.flow.internal.v0.models.LabelInvoiceRequestDeleted; export type LabelInvoiceRequestUpserted = io.flow.internal.v0.models.LabelInvoiceRequestUpserted; export type LabelMetadata = io.flow.internal.v0.models.LabelMetadata; export type LabelRequestError = io.flow.internal.v0.models.LabelRequestError; export type LabelRequestErrorDeleted = io.flow.internal.v0.models.LabelRequestErrorDeleted; export type LabelRequestErrorHandlingResponsibility = io.flow.internal.v0.enums.LabelRequestErrorHandlingResponsibility; export type LabelRequestErrorUpserted = io.flow.internal.v0.models.LabelRequestErrorUpserted; export type LabelRequestResult = io.flow.internal.v0.models.LabelRequestResult; export type LabelRequestResultOrganizationType = io.flow.internal.v0.enums.LabelRequestResultOrganizationType; export type LabelRequestResultState = io.flow.internal.v0.enums.LabelRequestResultState; export type LabelSummary = io.flow.internal.v0.models.LabelSummary; export type LabelSurchargeForm = io.flow.internal.v0.models.LabelSurchargeForm; export type LabelSurchargeSingleForm = io.flow.internal.v0.models.LabelSurchargeSingleForm; export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy; export type LabelTrackingSummaryDeleted = io.flow.internal.v0.models.LabelTrackingSummaryDeleted; export type LabelTrackingSummaryUpserted = io.flow.internal.v0.models.LabelTrackingSummaryUpserted; export type LabelTransaction = io.flow.internal.v0.models.LabelTransaction; export type LabelTransactionDeleted = io.flow.internal.v0.models.LabelTransactionDeleted; export type LabelTransactionType = io.flow.internal.v0.enums.LabelTransactionType; export type LabelTransactionUpserted = io.flow.internal.v0.models.LabelTransactionUpserted; export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction; export type LandedCostItem = io.flow.internal.v0.models.LandedCostItem; export type Landmark = io.flow.internal.v0.models.Landmark; export type LastFailureSummary = io.flow.internal.v0.models.LastFailureSummary; export type LedgerReport = io.flow.internal.v0.models.LedgerReport; export type LedgerReportType = io.flow.internal.v0.enums.LedgerReportType; export type LedgerReportUrl = io.flow.internal.v0.models.LedgerReportUrl; export type LedgerReportUrlType = io.flow.internal.v0.enums.LedgerReportUrlType; export type LevyRateSummary = io.flow.internal.v0.models.LevyRateSummary; export type LevyRateSummaryUpserted = io.flow.internal.v0.models.LevyRateSummaryUpserted; export type Liability = io.flow.internal.v0.models.Liability; export type LiabilityItem = io.flow.internal.v0.models.LiabilityItem; export type LiabilityMoney = io.flow.internal.v0.models.LiabilityMoney; export type LiabilityPartyDetails = io.flow.internal.v0.models.LiabilityPartyDetails; export type LiabilityRemittancePlan = io.flow.internal.v0.models.LiabilityRemittancePlan; export type LiabilityRemittancePlanDeleted = io.flow.internal.v0.models.LiabilityRemittancePlanDeleted; export type LiabilityRemittancePlanUpserted = io.flow.internal.v0.models.LiabilityRemittancePlanUpserted; export type LiabilityType = io.flow.internal.v0.enums.LiabilityType; export type LineActionForm = io.flow.internal.v0.models.LineActionForm; export type LineActionQuantities = io.flow.internal.v0.models.LineActionQuantities; export type LocalizedItemPricesExportRequest = io.flow.internal.v0.models.LocalizedItemPricesExportRequest; export type LocalizedItemsExportSettings = io.flow.internal.v0.models.LocalizedItemsExportSettings; export type LocalizedPriceBookItemData = io.flow.internal.v0.models.LocalizedPriceBookItemData; export type LogisticsCapabilities = io.flow.internal.v0.models.LogisticsCapabilities; export type LogisticsCapabilitiesDeleted = io.flow.internal.v0.models.LogisticsCapabilitiesDeleted; export type LogisticsCapabilitiesForm = io.flow.internal.v0.models.LogisticsCapabilitiesForm; export type LogisticsCapabilitiesUpserted = io.flow.internal.v0.models.LogisticsCapabilitiesUpserted; export type LogisticsCapability = io.flow.internal.v0.enums.LogisticsCapability; export type LogisticsPayoutRequest = io.flow.internal.v0.models.LogisticsPayoutRequest; export type LogisticsPayoutRequestForm = io.flow.internal.v0.models.LogisticsPayoutRequestForm; export type LogisticsPayoutResolutionMethod = io.flow.internal.v0.enums.LogisticsPayoutResolutionMethod; export type LostChargeback = io.flow.internal.v0.models.LostChargeback; export type LoyaltyProgram = io.flow.internal.v0.models.LoyaltyProgram; export type LoyaltyProgramMessage = io.flow.internal.v0.models.LoyaltyProgramMessage; export type LoyaltyProgramReward = io.flow.internal.v0.models.LoyaltyProgramReward; export type LoyaltyProgramRewards = io.flow.internal.v0.models.LoyaltyProgramRewards; export type MaheshItem = io.flow.internal.v0.models.MaheshItem; export type MaheshItemDeleted = io.flow.internal.v0.models.MaheshItemDeleted; export type MaheshItemForm = io.flow.internal.v0.models.MaheshItemForm; export type MaheshItemType = io.flow.internal.v0.enums.MaheshItemType; export type MaheshItemUpserted = io.flow.internal.v0.models.MaheshItemUpserted; export type MailClass = io.flow.internal.v0.enums.MailClass; export type MainTransaction = io.flow.internal.v0.models.MainTransaction; export type MainTransactionDeleted = io.flow.internal.v0.models.MainTransactionDeleted; export type MainTransactionDeletedV2 = io.flow.internal.v0.models.MainTransactionDeletedV2; export type MainTransactionUpserted = io.flow.internal.v0.models.MainTransactionUpserted; export type MainTransactionUpsertedV2 = io.flow.internal.v0.models.MainTransactionUpsertedV2; export type ManualReviewRule = io.flow.internal.v0.models.ManualReviewRule; export type ManualReviewRuleDeleted = io.flow.internal.v0.models.ManualReviewRuleDeleted; export type ManualReviewRuleForm = io.flow.internal.v0.models.ManualReviewRuleForm; export type ManualReviewRuleStatus = io.flow.internal.v0.enums.ManualReviewRuleStatus; export type ManualReviewRuleUpserted = io.flow.internal.v0.models.ManualReviewRuleUpserted; export type ManualTransaction = io.flow.internal.v0.models.ManualTransaction; export type ManualTransactionCategory = io.flow.internal.v0.enums.ManualTransactionCategory; export type ManualTransactionForm = io.flow.internal.v0.models.ManualTransactionForm; export type ManualTransactionFormOrder = io.flow.internal.v0.models.ManualTransactionFormOrder; export type MarkedAsFinal = io.flow.internal.v0.models.MarkedAsFinal; export type MarketsOrder = io.flow.internal.v0.models.MarketsOrder; export type MarketsOrderSummary = io.flow.internal.v0.models.MarketsOrderSummary; export type Merchant = io.flow.internal.v0.models.Merchant; export type MerchantApplicationSummaries = io.flow.internal.v0.models.MerchantApplicationSummaries; export type MerchantApplicationSummary = io.flow.internal.v0.models.MerchantApplicationSummary; export type MerchantDeleted = io.flow.internal.v0.models.MerchantDeleted; export type MerchantDetails = io.flow.internal.v0.models.MerchantDetails; export type MerchantFeeTransaction = io.flow.internal.v0.models.MerchantFeeTransaction; export type MerchantFeeTransactionType = io.flow.internal.v0.enums.MerchantFeeTransactionType; export type MerchantFees = io.flow.internal.v0.models.MerchantFees; export type MerchantGuidAssignment = io.flow.internal.v0.models.MerchantGuidAssignment; export type MerchantGuidAssignmentDeleted = io.flow.internal.v0.models.MerchantGuidAssignmentDeleted; export type MerchantGuidAssignmentUpserted = io.flow.internal.v0.models.MerchantGuidAssignmentUpserted; export type MerchantHubOverride = io.flow.internal.v0.models.MerchantHubOverride; export type MerchantHubOverrideForm = io.flow.internal.v0.models.MerchantHubOverrideForm; export type MerchantOfRecord = io.flow.internal.v0.enums.MerchantOfRecord; export type MerchantOfRecordEntitySettings = io.flow.internal.v0.models.MerchantOfRecordEntitySettings; export type MerchantOfRecordEntitySettingsForm = io.flow.internal.v0.models.MerchantOfRecordEntitySettingsForm; export type MerchantOverride = io.flow.internal.v0.models.MerchantOverride; export type MerchantOverrideDecisionForm = io.flow.internal.v0.models.MerchantOverrideDecisionForm; export type MerchantOverrideDeleted = io.flow.internal.v0.models.MerchantOverrideDeleted; export type MerchantOverrideStatus = io.flow.internal.v0.enums.MerchantOverrideStatus; export type MerchantOverrideUpserted = io.flow.internal.v0.models.MerchantOverrideUpserted; export type MerchantSearchResult = io.flow.internal.v0.models.MerchantSearchResult; export type MerchantSubsidies = io.flow.internal.v0.models.MerchantSubsidies; export type MerchantSummary = io.flow.internal.v0.models.MerchantSummary; export type MerchantSurcharge = io.flow.internal.v0.models.MerchantSurcharge; export type MerchantTransactions = io.flow.internal.v0.models.MerchantTransactions; export type MerchantUpserted = io.flow.internal.v0.models.MerchantUpserted; export type MessageStamp = io.flow.internal.v0.models.MessageStamp; export type MetadataProposition = io.flow.internal.v0.models.MetadataProposition; export type MetadataRatecard = io.flow.internal.v0.models.MetadataRatecard; export type MixedBagWeight = io.flow.internal.v0.enums.MixedBagWeight; export type MockCarrierChargeForm = io.flow.internal.v0.models.MockCarrierChargeForm; export type MorCostDeleted = io.flow.internal.v0.models.MorCostDeleted; export type MorCostSummary = io.flow.internal.v0.models.MorCostSummary; export type MorCostUpserted = io.flow.internal.v0.models.MorCostUpserted; export type NatureOfSale = io.flow.internal.v0.enums.NatureOfSale; export type NegativeDebitMetrics = io.flow.internal.v0.models.NegativeDebitMetrics; export type NextBillingStatement = io.flow.internal.v0.models.NextBillingStatement; export type NoClassificationForm = io.flow.internal.v0.models.NoClassificationForm; export type NoLiabilityReasonCode = io.flow.internal.v0.enums.NoLiabilityReasonCode; export type NonChannelPaymentBankAccount = io.flow.internal.v0.models.NonChannelPaymentBankAccount; export type NonL4LTaxDutyFxFeeMetadata = io.flow.internal.v0.models.NonL4LTaxDutyFxFeeMetadata; export type NonL4LTaxDutyFxTransaction = io.flow.internal.v0.models.NonL4LTaxDutyFxTransaction; export type NonL4LTaxDutyFxTransactionDeleted = io.flow.internal.v0.models.NonL4LTaxDutyFxTransactionDeleted; export type NonL4LTaxDutyFxTransactionType = io.flow.internal.v0.enums.NonL4LTaxDutyFxTransactionType; export type NonL4LTaxDutyFxTransactionUpserted = io.flow.internal.v0.models.NonL4LTaxDutyFxTransactionUpserted; export type Notification = io.flow.internal.v0.models.Notification; export type OnboardingAuditMessage = io.flow.internal.v0.models.OnboardingAuditMessage; export type OnboardingAuditMessageLevel = io.flow.internal.v0.enums.OnboardingAuditMessageLevel; export type OnboardingAuditReport = io.flow.internal.v0.models.OnboardingAuditReport; export type OnboardingAuditReportLine = io.flow.internal.v0.models.OnboardingAuditReportLine; export type OnboardingAuditResult = io.flow.internal.v0.enums.OnboardingAuditResult; export type OnboardingAuditThemeKey = io.flow.internal.v0.enums.OnboardingAuditThemeKey; export type OnboardingAuditThemeReport = io.flow.internal.v0.models.OnboardingAuditThemeReport; export type OnboardingAutomationProcessState = io.flow.internal.v0.enums.OnboardingAutomationProcessState; export type OnboardingAutomationTaskState = io.flow.internal.v0.enums.OnboardingAutomationTaskState; export type OnboardingOrganization = io.flow.internal.v0.models.OnboardingOrganization; export type OnboardingStateForm = io.flow.internal.v0.models.OnboardingStateForm; export type OnboardingStateSource = io.flow.internal.v0.enums.OnboardingStateSource; export type OneTimeTokenRedemptionForm = io.flow.internal.v0.models.OneTimeTokenRedemptionForm; export type OnlineAuthorizationCompleted = io.flow.internal.v0.models.OnlineAuthorizationCompleted; export type OrderAction = io.flow.internal.v0.enums.OrderAction; export type OrderActionForm = io.flow.internal.v0.unions.OrderActionForm; export type OrderActionability = io.flow.internal.v0.models.OrderActionability; export type OrderAddressValidation = io.flow.internal.v0.models.OrderAddressValidation; export type OrderAddressValidationStatus = io.flow.internal.v0.enums.OrderAddressValidationStatus; export type OrderAttribute = io.flow.internal.v0.models.OrderAttribute; export type OrderAttributeDeleted = io.flow.internal.v0.models.OrderAttributeDeleted; export type OrderAttributeIntent = io.flow.internal.v0.enums.OrderAttributeIntent; export type OrderAttributeUpserted = io.flow.internal.v0.models.OrderAttributeUpserted; export type OrderCancellation = io.flow.internal.v0.models.OrderCancellation; export type OrderCancellationEvidence = io.flow.internal.v0.unions.OrderCancellationEvidence; export type OrderCancellationEvidenceFullyRefundedNotFulfilled = io.flow.internal.v0.models.OrderCancellationEvidenceFullyRefundedNotFulfilled; export type OrderCancellationEvidenceManual = io.flow.internal.v0.models.OrderCancellationEvidenceManual; export type OrderCancellationEvidenceReturnToSender = io.flow.internal.v0.models.OrderCancellationEvidenceReturnToSender; export type OrderCancellationForm = io.flow.internal.v0.models.OrderCancellationForm; export type OrderCancellationInitiatedBy = io.flow.internal.v0.enums.OrderCancellationInitiatedBy; export type OrderChargeTrigger = io.flow.internal.v0.enums.OrderChargeTrigger; export type OrderCombinedShipment = io.flow.internal.v0.models.OrderCombinedShipment; export type OrderCombinedShipmentDeleted = io.flow.internal.v0.models.OrderCombinedShipmentDeleted; export type OrderCombinedShipmentForm = io.flow.internal.v0.models.OrderCombinedShipmentForm; export type OrderCombinedShipmentUpserted = io.flow.internal.v0.models.OrderCombinedShipmentUpserted; export type OrderDetail = io.flow.internal.v0.models.OrderDetail; export type OrderEditSummary = io.flow.internal.v0.models.OrderEditSummary; export type OrderFulfillmentDeleted = io.flow.internal.v0.models.OrderFulfillmentDeleted; export type OrderFulfillmentUpserted = io.flow.internal.v0.models.OrderFulfillmentUpserted; export type OrderLifecycleEvent = io.flow.internal.v0.enums.OrderLifecycleEvent; export type OrderNote = io.flow.internal.v0.models.OrderNote; export type OrderNoteForm = io.flow.internal.v0.models.OrderNoteForm; export type OrderPaymentAuthorization = io.flow.internal.v0.models.OrderPaymentAuthorization; export type OrderPaymentSourceType = io.flow.internal.v0.enums.OrderPaymentSourceType; export type OrderRatesDataV3 = io.flow.internal.v0.models.OrderRatesDataV3; export type OrderRatesPublishedV3 = io.flow.internal.v0.models.OrderRatesPublishedV3; export type OrderReference = io.flow.internal.v0.models.OrderReference; export type OrderRefundTransaction = io.flow.internal.v0.models.OrderRefundTransaction; export type OrderRefundTransactionDeleted = io.flow.internal.v0.models.OrderRefundTransactionDeleted; export type OrderRefundTransactionUpserted = io.flow.internal.v0.models.OrderRefundTransactionUpserted; export type OrderRevenueRegionChart = io.flow.internal.v0.models.OrderRevenueRegionChart; export type OrderRevenueRegionDataPoint = io.flow.internal.v0.models.OrderRevenueRegionDataPoint; export type OrderRevenueTimelineChart = io.flow.internal.v0.models.OrderRevenueTimelineChart; export type OrderRevenueTimelineDataPoint = io.flow.internal.v0.models.OrderRevenueTimelineDataPoint; export type OrderServiceChangeCsvForm = io.flow.internal.v0.models.OrderServiceChangeCsvForm; export type OrderSettings = io.flow.internal.v0.models.OrderSettings; export type OrderSummary = io.flow.internal.v0.models.OrderSummary; export type OrderTaxAndDutyInclusivitySetting = io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySetting; export type OrderTaxAndDutyInclusivitySettingDeleted = io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySettingDeleted; export type OrderTaxAndDutyInclusivitySettingUpserted = io.flow.internal.v0.models.OrderTaxAndDutyInclusivitySettingUpserted; export type OrderTransaction = io.flow.internal.v0.models.OrderTransaction; export type OrderTransactionDeleted = io.flow.internal.v0.models.OrderTransactionDeleted; export type OrderTransactionType = io.flow.internal.v0.enums.OrderTransactionType; export type OrderTransactionUpserted = io.flow.internal.v0.models.OrderTransactionUpserted; export type OrderValidation = io.flow.internal.v0.models.OrderValidation; export type OrderValidationDeleted = io.flow.internal.v0.models.OrderValidationDeleted; export type OrderValidationError = io.flow.internal.v0.models.OrderValidationError; export type OrderValidationFailure = io.flow.internal.v0.models.OrderValidationFailure; export type OrderValidationFailureDeleted = io.flow.internal.v0.models.OrderValidationFailureDeleted; export type OrderValidationFailureSummary = io.flow.internal.v0.models.OrderValidationFailureSummary; export type OrderValidationFailureUpserted = io.flow.internal.v0.models.OrderValidationFailureUpserted; export type OrderValidationStatus = io.flow.internal.v0.enums.OrderValidationStatus; export type OrderValidationUpserted = io.flow.internal.v0.models.OrderValidationUpserted; export type OrganizationAccount = io.flow.internal.v0.models.OrganizationAccount; export type OrganizationAccountDeleted = io.flow.internal.v0.models.OrganizationAccountDeleted; export type OrganizationAccountUpsertedV2 = io.flow.internal.v0.models.OrganizationAccountUpsertedV2; export type OrganizationBankAccountDeleted = io.flow.internal.v0.models.OrganizationBankAccountDeleted; export type OrganizationBankAccountUpserted = io.flow.internal.v0.models.OrganizationBankAccountUpserted; export type OrganizationBillingStatement = io.flow.internal.v0.models.OrganizationBillingStatement; export type OrganizationBusinessEntity = io.flow.internal.v0.models.OrganizationBusinessEntity; export type OrganizationBusinessEntityDeleted = io.flow.internal.v0.models.OrganizationBusinessEntityDeleted; export type OrganizationBusinessEntityUpserted = io.flow.internal.v0.models.OrganizationBusinessEntityUpserted; export type OrganizationCapability = io.flow.internal.v0.enums.OrganizationCapability; export type OrganizationCurrencySetting = io.flow.internal.v0.models.OrganizationCurrencySetting; export type OrganizationCurrencySettingDeleted = io.flow.internal.v0.models.OrganizationCurrencySettingDeleted; export type OrganizationCurrencySettingForm = io.flow.internal.v0.models.OrganizationCurrencySettingForm; export type OrganizationCurrencySettingUpserted = io.flow.internal.v0.models.OrganizationCurrencySettingUpserted; export type OrganizationCurrencySettingVersion = io.flow.internal.v0.models.OrganizationCurrencySettingVersion; export type OrganizationDeactivation = io.flow.internal.v0.models.OrganizationDeactivation; export type OrganizationDeactivationDeleted = io.flow.internal.v0.models.OrganizationDeactivationDeleted; export type OrganizationDeactivationForm = io.flow.internal.v0.models.OrganizationDeactivationForm; export type OrganizationDeactivationUpserted = io.flow.internal.v0.models.OrganizationDeactivationUpserted; export type OrganizationDebugTransaction = io.flow.internal.v0.models.OrganizationDebugTransaction; export type OrganizationInvitationAcceptForm = io.flow.internal.v0.models.OrganizationInvitationAcceptForm; export type OrganizationMembershipCopy = io.flow.internal.v0.models.OrganizationMembershipCopy; export type OrganizationMembershipCopyForm = io.flow.internal.v0.models.OrganizationMembershipCopyForm; export type OrganizationMetadata = io.flow.internal.v0.models.OrganizationMetadata; export type OrganizationMetadataDeleted = io.flow.internal.v0.models.OrganizationMetadataDeleted; export type OrganizationMetadataUpserted = io.flow.internal.v0.models.OrganizationMetadataUpserted; export type OrganizationMetricType = io.flow.internal.v0.enums.OrganizationMetricType; export type OrganizationOnboardingStateAdjustmentResult = io.flow.internal.v0.models.OrganizationOnboardingStateAdjustmentResult; export type OrganizationOnboardingStateAuditResult = io.flow.internal.v0.models.OrganizationOnboardingStateAuditResult; export type OrganizationPaymentSetting = io.flow.internal.v0.models.OrganizationPaymentSetting; export type OrganizationPaymentSettingDeleted = io.flow.internal.v0.models.OrganizationPaymentSettingDeleted; export type OrganizationPaymentSettingForm = io.flow.internal.v0.models.OrganizationPaymentSettingForm; export type OrganizationPaymentSettingUpserted = io.flow.internal.v0.models.OrganizationPaymentSettingUpserted; export type OrganizationPaymentSettingVersion = io.flow.internal.v0.models.OrganizationPaymentSettingVersion; export type OrganizationPaymentStatus = io.flow.internal.v0.enums.OrganizationPaymentStatus; export type OrganizationPromotion = io.flow.internal.v0.models.OrganizationPromotion; export type OrganizationPromotionStatus = io.flow.internal.v0.enums.OrganizationPromotionStatus; export type OrganizationPromotionWarning = io.flow.internal.v0.models.OrganizationPromotionWarning; export type OrganizationRestrictionApprovalStatus = io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus; export type OrganizationRestrictionNoteForm = io.flow.internal.v0.models.OrganizationRestrictionNoteForm; export type OrganizationRestrictionNoteType = io.flow.internal.v0.enums.OrganizationRestrictionNoteType; export type OrganizationRestrictionReviewType = io.flow.internal.v0.enums.OrganizationRestrictionReviewType; export type OrganizationRestrictionRiskLevel = io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel; export type OrganizationRestrictionScreeningDecisionForm = io.flow.internal.v0.models.OrganizationRestrictionScreeningDecisionForm; export type OrganizationRestrictionScreeningStatus = io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus; export type OrganizationRestrictionStatus = io.flow.internal.v0.models.OrganizationRestrictionStatus; export type OrganizationRestrictionStatusDeleted = io.flow.internal.v0.models.OrganizationRestrictionStatusDeleted; export type OrganizationRestrictionStatusNote = io.flow.internal.v0.models.OrganizationRestrictionStatusNote; export type OrganizationRestrictionStatusUpserted = io.flow.internal.v0.models.OrganizationRestrictionStatusUpserted; export type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings; export type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm; export type OrganizationSource = io.flow.internal.v0.enums.OrganizationSource; export type OrganizationStatusChange = io.flow.internal.v0.models.OrganizationStatusChange; export type OrganizationStatusChangeDeleted = io.flow.internal.v0.models.OrganizationStatusChangeDeleted; export type OrganizationStatusChangeUpserted = io.flow.internal.v0.models.OrganizationStatusChangeUpserted; export type OrganizationsAuditCheckReport = io.flow.internal.v0.models.OrganizationsAuditCheckReport; export type OtherRecord = io.flow.internal.v0.models.OtherRecord; export type OtherRecordAccount = io.flow.internal.v0.models.OtherRecordAccount; export type OtherRecordAccountSourceSummary = io.flow.internal.v0.models.OtherRecordAccountSourceSummary; export type OtherRecordDeleted = io.flow.internal.v0.models.OtherRecordDeleted; export type OtherRecordDiscount = io.flow.internal.v0.models.OtherRecordDiscount; export type OtherRecordFees = io.flow.internal.v0.models.OtherRecordFees; export type OtherRecordIdentifiers = io.flow.internal.v0.models.OtherRecordIdentifiers; export type OtherRecordMerchantReference = io.flow.internal.v0.models.OtherRecordMerchantReference; export type OtherRecordMetadata = io.flow.internal.v0.models.OtherRecordMetadata; export type OtherRecordMetadataCarrierCharge = io.flow.internal.v0.models.OtherRecordMetadataCarrierCharge; export type OtherRecordMetadataChannel = io.flow.internal.v0.models.OtherRecordMetadataChannel; export type OtherRecordMetadataFailedPayout = io.flow.internal.v0.models.OtherRecordMetadataFailedPayout; export type OtherRecordMetadataManual = io.flow.internal.v0.models.OtherRecordMetadataManual; export type OtherRecordMetadataShippingLabel = io.flow.internal.v0.models.OtherRecordMetadataShippingLabel; export type OtherRecordMetadataShippingLabelRevenueShare = io.flow.internal.v0.models.OtherRecordMetadataShippingLabelRevenueShare; export type OtherRecordMetadataTrueup = io.flow.internal.v0.models.OtherRecordMetadataTrueup; export type OtherRecordOrderSummary = io.flow.internal.v0.models.OtherRecordOrderSummary; export type OtherRecordOrderSummaryIdentifiers = io.flow.internal.v0.models.OtherRecordOrderSummaryIdentifiers; export type OtherRecordOrganizationSummary = io.flow.internal.v0.models.OtherRecordOrganizationSummary; export type OtherRecordUpserted = io.flow.internal.v0.models.OtherRecordUpserted; export type OtherRecordWithholdings = io.flow.internal.v0.models.OtherRecordWithholdings; export type OutboundShippingCost = io.flow.internal.v0.models.OutboundShippingCost; export type OutboundShippingCostDeleted = io.flow.internal.v0.models.OutboundShippingCostDeleted; export type OutboundShippingCostUpserted = io.flow.internal.v0.models.OutboundShippingCostUpserted; export type OutputStyle = io.flow.internal.v0.enums.OutputStyle; export type Owner = io.flow.internal.v0.enums.Owner; export type Partner = io.flow.internal.v0.models.Partner; export type PartnerAuthorization = io.flow.internal.v0.models.PartnerAuthorization; export type PartnerAuthorizationForm = io.flow.internal.v0.models.PartnerAuthorizationForm; export type PartnerForm = io.flow.internal.v0.models.PartnerForm; export type PartnerMembership = io.flow.internal.v0.models.PartnerMembership; export type PartnerMembershipForm = io.flow.internal.v0.models.PartnerMembershipForm; export type PartnerMembershipPutForm = io.flow.internal.v0.models.PartnerMembershipPutForm; export type PartnerMembershipSummary = io.flow.internal.v0.models.PartnerMembershipSummary; export type PartnerMembershipVersion = io.flow.internal.v0.models.PartnerMembershipVersion; export type PartnerOrganizationAuthorization = io.flow.internal.v0.models.PartnerOrganizationAuthorization; export type PartnerOrganizationAuthorizationForm = io.flow.internal.v0.models.PartnerOrganizationAuthorizationForm; export type PartnerOrganizationSettings = io.flow.internal.v0.models.PartnerOrganizationSettings; export type PartnerOrganizationSettingsDeleted = io.flow.internal.v0.models.PartnerOrganizationSettingsDeleted; export type PartnerOrganizationSettingsForm = io.flow.internal.v0.models.PartnerOrganizationSettingsForm; export type PartnerOrganizationSettingsUpserted = io.flow.internal.v0.models.PartnerOrganizationSettingsUpserted; export type PartnerRequest = io.flow.internal.v0.models.PartnerRequest; export type PartnerRequestDeleted = io.flow.internal.v0.models.PartnerRequestDeleted; export type PartnerRequestUpserted = io.flow.internal.v0.models.PartnerRequestUpserted; export type PartnerTrackingSubscriptionDeleted = io.flow.internal.v0.models.PartnerTrackingSubscriptionDeleted; export type PartnerTrackingSubscriptionUpserted = io.flow.internal.v0.models.PartnerTrackingSubscriptionUpserted; export type Passphrase = io.flow.internal.v0.models.Passphrase; export type PassphraseForm = io.flow.internal.v0.models.PassphraseForm; export type PassphraseSummary = io.flow.internal.v0.models.PassphraseSummary; export type PaymentIs = io.flow.internal.v0.models.PaymentIs; export type PaymentMethodDetail = io.flow.internal.v0.models.PaymentMethodDetail; export type PaymentMethodOption = io.flow.internal.v0.models.PaymentMethodOption; export type PaymentOrganizationSettings = io.flow.internal.v0.models.PaymentOrganizationSettings; export type PaymentOrganizationSettingsPutForm = io.flow.internal.v0.models.PaymentOrganizationSettingsPutForm; export type PaymentProcessorAccountDeleted = io.flow.internal.v0.models.PaymentProcessorAccountDeleted; export type PaymentProcessorAccountUpserted = io.flow.internal.v0.models.PaymentProcessorAccountUpserted; export type PaymentProcessorMerchantDeleted = io.flow.internal.v0.models.PaymentProcessorMerchantDeleted; export type PaymentProcessorMerchantUpserted = io.flow.internal.v0.models.PaymentProcessorMerchantUpserted; export type PaymentRedirect = io.flow.internal.v0.unions.PaymentRedirect; export type PaymentRequestAuthorization = io.flow.internal.v0.models.PaymentRequestAuthorization; export type PaymentShortUrl = io.flow.internal.v0.models.PaymentShortUrl; export type PaymentShortUrlDiscriminator = io.flow.internal.v0.enums.PaymentShortUrlDiscriminator; export type PaymentSummary = io.flow.internal.v0.models.PaymentSummary; export type PaymentSummaryDetails = io.flow.internal.v0.unions.PaymentSummaryDetails; export type PaymentSummaryStatus = io.flow.internal.v0.enums.PaymentSummaryStatus; export type PaymentSummaryType = io.flow.internal.v0.enums.PaymentSummaryType; export type PaymentSummaryV2 = io.flow.internal.v0.models.PaymentSummaryV2; export type PaymentTerm = io.flow.internal.v0.enums.PaymentTerm; export type PayoutStatusCounts = io.flow.internal.v0.models.PayoutStatusCounts; export type PaypalAccount = io.flow.internal.v0.models.PaypalAccount; export type PaypalAccountModificationForm = io.flow.internal.v0.models.PaypalAccountModificationForm; export type PaypalAccountPutForm = io.flow.internal.v0.models.PaypalAccountPutForm; export type PaypalAccountReference = io.flow.internal.v0.models.PaypalAccountReference; export type PaypalAuthentication = io.flow.internal.v0.models.PaypalAuthentication; export type PaypalAuthenticationForm = io.flow.internal.v0.models.PaypalAuthenticationForm; export type PaypalAuthorizationPayload = io.flow.internal.v0.models.PaypalAuthorizationPayload; export type PaypalDisputeDeleted = io.flow.internal.v0.models.PaypalDisputeDeleted; export type PaypalDisputeUpserted = io.flow.internal.v0.models.PaypalDisputeUpserted; export type PaypalExecutionDeleted = io.flow.internal.v0.models.PaypalExecutionDeleted; export type PaypalExecutionUpserted = io.flow.internal.v0.models.PaypalExecutionUpserted; export type PaypalInternalDispute = io.flow.internal.v0.models.PaypalInternalDispute; export type PaypalInternalExecution = io.flow.internal.v0.models.PaypalInternalExecution; export type PaypalInternalPayment = io.flow.internal.v0.models.PaypalInternalPayment; export type PaypalInternalRefund = io.flow.internal.v0.models.PaypalInternalRefund; export type PaypalMerchant = io.flow.internal.v0.models.PaypalMerchant; export type PaypalMerchantModificationForm = io.flow.internal.v0.models.PaypalMerchantModificationForm; export type PaypalMerchantPutForm = io.flow.internal.v0.models.PaypalMerchantPutForm; export type PaypalPaymentDeleted = io.flow.internal.v0.models.PaypalPaymentDeleted; export type PaypalPaymentUpserted = io.flow.internal.v0.models.PaypalPaymentUpserted; export type PaypalRefundDeleted = io.flow.internal.v0.models.PaypalRefundDeleted; export type PaypalRefundUpserted = io.flow.internal.v0.models.PaypalRefundUpserted; export type PcReviewContext = io.flow.internal.v0.models.PcReviewContext; export type PcReviewOutput = io.flow.internal.v0.models.PcReviewOutput; export type PendingBankPayment = io.flow.internal.v0.models.PendingBankPayment; export type PendingBankPaymentDetail = io.flow.internal.v0.models.PendingBankPaymentDetail; export type PendingOrder = io.flow.internal.v0.models.PendingOrder; export type PendingRecordType = io.flow.internal.v0.enums.PendingRecordType; export type PlatformFee = io.flow.internal.v0.unions.PlatformFee; export type PlatformFeeChange = io.flow.internal.v0.models.PlatformFeeChange; export type PlatformFeeChangeDeleted = io.flow.internal.v0.models.PlatformFeeChangeDeleted; export type PlatformFeeChangeForm = io.flow.internal.v0.models.PlatformFeeChangeForm; export type PlatformFeeChangeUpserted = io.flow.internal.v0.models.PlatformFeeChangeUpserted; export type PlatformFeeDisabled = io.flow.internal.v0.models.PlatformFeeDisabled; export type PlatformFeeFlat = io.flow.internal.v0.models.PlatformFeeFlat; export type PlatformFeePause = io.flow.internal.v0.models.PlatformFeePause; export type PlatformFeePercentage = io.flow.internal.v0.models.PlatformFeePercentage; export type PlatformFeePercentageTier = io.flow.internal.v0.models.PlatformFeePercentageTier; export type PostingProof = io.flow.internal.v0.models.PostingProof; export type PostingProofDeleted = io.flow.internal.v0.models.PostingProofDeleted; export type PostingProofUpserted = io.flow.internal.v0.models.PostingProofUpserted; export type Prediction = io.flow.internal.v0.models.Prediction; export type PreferredBillingSchedule = io.flow.internal.v0.enums.PreferredBillingSchedule; export type PreonboardingClassificationDecision = io.flow.internal.v0.enums.PreonboardingClassificationDecision; export type PreonboardingClassificationPlatform = io.flow.internal.v0.enums.PreonboardingClassificationPlatform; export type PreonboardingClassificationRabbitmqEnvelope = io.flow.internal.v0.models.PreonboardingClassificationRabbitmqEnvelope; export type PreonboardingClassificationRabbitmqMessage = io.flow.internal.v0.models.PreonboardingClassificationRabbitmqMessage; export type PreonboardingClassificationRequest = io.flow.internal.v0.models.PreonboardingClassificationRequest; export type PreonboardingClassificationResult = io.flow.internal.v0.models.PreonboardingClassificationResult; export type PreonboardingClassificationType = io.flow.internal.v0.enums.PreonboardingClassificationType; export type PreonboardingMerchant = io.flow.internal.v0.models.PreonboardingMerchant; export type PreonboardingMerchantDeleted = io.flow.internal.v0.models.PreonboardingMerchantDeleted; export type PreonboardingMerchantUpserted = io.flow.internal.v0.models.PreonboardingMerchantUpserted; export type PreonboardingRequestStatus = io.flow.internal.v0.enums.PreonboardingRequestStatus; export type PreonboardingSellabilityResult = io.flow.internal.v0.models.PreonboardingSellabilityResult; export type PreonboardingSellabilityResultDeleted = io.flow.internal.v0.models.PreonboardingSellabilityResultDeleted; export type PreonboardingSellabilityResultInserted = io.flow.internal.v0.models.PreonboardingSellabilityResultInserted; export type PreonboardingSellabilityResultUpdated = io.flow.internal.v0.models.PreonboardingSellabilityResultUpdated; export type PriceInclusivity = io.flow.internal.v0.models.PriceInclusivity; export type PriceSelector = io.flow.internal.v0.enums.PriceSelector; export type PrioritizedCenterReference = io.flow.internal.v0.models.PrioritizedCenterReference; export type ProcessingTransaction = io.flow.internal.v0.models.ProcessingTransaction; export type ProcessingTransactionDeleted = io.flow.internal.v0.models.ProcessingTransactionDeleted; export type ProcessingTransactionReference = io.flow.internal.v0.models.ProcessingTransactionReference; export type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType; export type ProcessingTransactionUpserted = io.flow.internal.v0.models.ProcessingTransactionUpserted; export type Processor = io.flow.internal.v0.enums.Processor; export type ProcessorAccount = io.flow.internal.v0.unions.ProcessorAccount; export type ProcessorAccountModificationForm = io.flow.internal.v0.unions.ProcessorAccountModificationForm; export type ProcessorAccountPutForm = io.flow.internal.v0.unions.ProcessorAccountPutForm; export type ProcessorAccountReference = io.flow.internal.v0.models.ProcessorAccountReference; export type ProcessorEntityStatus = io.flow.internal.v0.enums.ProcessorEntityStatus; export type ProcessorEntityStatusForm = io.flow.internal.v0.models.ProcessorEntityStatusForm; export type ProcessorMerchant = io.flow.internal.v0.unions.ProcessorMerchant; export type ProcessorMerchantForm = io.flow.internal.v0.unions.ProcessorMerchantForm; export type ProcessorMerchantModificationForm = io.flow.internal.v0.unions.ProcessorMerchantModificationForm; export type ProcessorMerchantPutForm = io.flow.internal.v0.unions.ProcessorMerchantPutForm; export type ProcessorMerchantReference = io.flow.internal.v0.models.ProcessorMerchantReference; export type ProductClassification = io.flow.internal.v0.models.ProductClassification; export type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm; export type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm; export type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult; export type ProductCurrencies = io.flow.internal.v0.models.ProductCurrencies; export type ProductDetailSettingsForm = io.flow.internal.v0.models.ProductDetailSettingsForm; export type ProductHarmonization = io.flow.internal.v0.models.ProductHarmonization; export type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm; export type ProductLabels = io.flow.internal.v0.models.ProductLabels; export type ProductListSettingsForm = io.flow.internal.v0.models.ProductListSettingsForm; export type ProductRecord = io.flow.internal.v0.models.ProductRecord; export type ProductRestrictionResultValidationError = io.flow.internal.v0.models.ProductRestrictionResultValidationError; export type ProductRestrictionRuleDecision = io.flow.internal.v0.models.ProductRestrictionRuleDecision; export type ProductRestrictionRuleDecisionDeleted = io.flow.internal.v0.models.ProductRestrictionRuleDecisionDeleted; export type ProductRestrictionRuleDecisionUpserted = io.flow.internal.v0.models.ProductRestrictionRuleDecisionUpserted; export type ProductRestrictionState = io.flow.internal.v0.models.ProductRestrictionState; export type ProductRestrictionStateDeleted = io.flow.internal.v0.models.ProductRestrictionStateDeleted; export type ProductRestrictionStateInserted = io.flow.internal.v0.models.ProductRestrictionStateInserted; export type ProductRestrictionStateUpdated = io.flow.internal.v0.models.ProductRestrictionStateUpdated; export type ProductReviewHistory = io.flow.internal.v0.models.ProductReviewHistory; export type ProductSellabilityInternal = io.flow.internal.v0.models.ProductSellabilityInternal; export type ProductSellabilityInternalForm = io.flow.internal.v0.models.ProductSellabilityInternalForm; export type ProductSellabilityInternalResult = io.flow.internal.v0.models.ProductSellabilityInternalResult; export type ProductSellabilityInternalRuleMatch = io.flow.internal.v0.models.ProductSellabilityInternalRuleMatch; export type ProductSellabilityInternalRuleScreening = io.flow.internal.v0.models.ProductSellabilityInternalRuleScreening; export type ProductSellabilityResult = io.flow.internal.v0.models.ProductSellabilityResult; export type ProductSellabilityResultDeleted = io.flow.internal.v0.models.ProductSellabilityResultDeleted; export type ProductSellabilityResultInserted = io.flow.internal.v0.models.ProductSellabilityResultInserted; export type ProductSellabilityResultUpdated = io.flow.internal.v0.models.ProductSellabilityResultUpdated; export type ProductStatus = io.flow.internal.v0.enums.ProductStatus; export type ProductTransaction = io.flow.internal.v0.models.ProductTransaction; export type ProofOfPosting = io.flow.internal.v0.unions.ProofOfPosting; export type ProofOfPostingExternallyFulfilled = io.flow.internal.v0.models.ProofOfPostingExternallyFulfilled; export type ProofOfPostingFulfilled = io.flow.internal.v0.models.ProofOfPostingFulfilled; export type ProofOfPostingOrderCancellation = io.flow.internal.v0.models.ProofOfPostingOrderCancellation; export type ProofOfPostingOrderCombinedShipment = io.flow.internal.v0.models.ProofOfPostingOrderCombinedShipment; export type ProofOfPostingShippingNotification = io.flow.internal.v0.models.ProofOfPostingShippingNotification; export type ProofOfPostingSynthetic = io.flow.internal.v0.models.ProofOfPostingSynthetic; export type ProofOfPostingTimeElapsed = io.flow.internal.v0.models.ProofOfPostingTimeElapsed; export type PspDistribution = io.flow.internal.v0.models.PspDistribution; export type PspRoutingDistribution = io.flow.internal.v0.models.PspRoutingDistribution; export type PspRoutingDistributionRevision = io.flow.internal.v0.models.PspRoutingDistributionRevision; export type PspRoutingDistributionRevisionForm = io.flow.internal.v0.models.PspRoutingDistributionRevisionForm; export type PublicHub = io.flow.internal.v0.models.PublicHub; export type PublicHubForm = io.flow.internal.v0.models.PublicHubForm; export type PvDecision = io.flow.internal.v0.enums.PvDecision; export type PvReviewContext = io.flow.internal.v0.models.PvReviewContext; export type PvReviewOutput = io.flow.internal.v0.models.PvReviewOutput; export type Quote = io.flow.internal.v0.models.Quote; export type QuoteDeleted = io.flow.internal.v0.models.QuoteDeleted; export type QuoteUpserted = io.flow.internal.v0.models.QuoteUpserted; export type RateAndRuleItem = io.flow.internal.v0.models.RateAndRuleItem; export type RateAndRuleItemForm = io.flow.internal.v0.models.RateAndRuleItemForm; export type RateAndRuleLookup = io.flow.internal.v0.models.RateAndRuleLookup; export type RateAndRuleLookupForm = io.flow.internal.v0.models.RateAndRuleLookupForm; export type RateData = io.flow.internal.v0.models.RateData; export type RateDataV3 = io.flow.internal.v0.models.RateDataV3; export type RateDeleted = io.flow.internal.v0.models.RateDeleted; export type RateDeletedV2 = io.flow.internal.v0.models.RateDeletedV2; export type RateDestinationFreshnessSummary = io.flow.internal.v0.models.RateDestinationFreshnessSummary; export type RateFreshnessSummary = io.flow.internal.v0.models.RateFreshnessSummary; export type RateFreshnessSummaryDeleted = io.flow.internal.v0.models.RateFreshnessSummaryDeleted; export type RateFreshnessSummaryUpserted = io.flow.internal.v0.models.RateFreshnessSummaryUpserted; export type RateLevel = io.flow.internal.v0.models.RateLevel; export type RateLevelForm = io.flow.internal.v0.models.RateLevelForm; export type RateLevelKey = io.flow.internal.v0.enums.RateLevelKey; export type RateLevelOrganization = io.flow.internal.v0.models.RateLevelOrganization; export type RateLevelOrganizationForm = io.flow.internal.v0.models.RateLevelOrganizationForm; export type RateLevelRatecard = io.flow.internal.v0.models.RateLevelRatecard; export type RateLevelRatecardForm = io.flow.internal.v0.models.RateLevelRatecardForm; export type RateLevelWithEffective = io.flow.internal.v0.models.RateLevelWithEffective; export type RateNameSummary = io.flow.internal.v0.models.RateNameSummary; export type RateSource = io.flow.internal.v0.enums.RateSource; export type RateSourceCompositionSummary = io.flow.internal.v0.models.RateSourceCompositionSummary; export type RateSourceSummary = io.flow.internal.v0.models.RateSourceSummary; export type RateSourceSummaryDeleted = io.flow.internal.v0.models.RateSourceSummaryDeleted; export type RateSourceSummaryUpserted = io.flow.internal.v0.models.RateSourceSummaryUpserted; export type RateUpserted = io.flow.internal.v0.models.RateUpserted; export type RateUpsertedV2 = io.flow.internal.v0.models.RateUpsertedV2; export type RateWithFees = io.flow.internal.v0.models.RateWithFees; export type RatecardDimensionEstimateDeleted = io.flow.internal.v0.models.RatecardDimensionEstimateDeleted; export type RatecardDimensionEstimateUpserted = io.flow.internal.v0.models.RatecardDimensionEstimateUpserted; export type RatecardInternalServiceFee = io.flow.internal.v0.models.RatecardInternalServiceFee; export type RatecardInternalSummary = io.flow.internal.v0.models.RatecardInternalSummary; export type RatecardRateLevelDeleted = io.flow.internal.v0.models.RatecardRateLevelDeleted; export type RatecardRateLevelOrganizationDeleted = io.flow.internal.v0.models.RatecardRateLevelOrganizationDeleted; export type RatecardRateLevelOrganizationUpserted = io.flow.internal.v0.models.RatecardRateLevelOrganizationUpserted; export type RatecardRateLevelRatecardDeleted = io.flow.internal.v0.models.RatecardRateLevelRatecardDeleted; export type RatecardRateLevelRatecardUpserted = io.flow.internal.v0.models.RatecardRateLevelRatecardUpserted; export type RatecardRateLevelUpserted = io.flow.internal.v0.models.RatecardRateLevelUpserted; export type RatecardServiceFeeDeleted = io.flow.internal.v0.models.RatecardServiceFeeDeleted; export type RatecardServiceFeeUpserted = io.flow.internal.v0.models.RatecardServiceFeeUpserted; export type RatesChanged = io.flow.internal.v0.models.RatesChanged; export type RatesNamesSummary = io.flow.internal.v0.models.RatesNamesSummary; export type RaveenaItem = io.flow.internal.v0.models.RaveenaItem; export type RaveenaItemDeleted = io.flow.internal.v0.models.RaveenaItemDeleted; export type RaveenaItemForm = io.flow.internal.v0.models.RaveenaItemForm; export type RaveenaItemType = io.flow.internal.v0.enums.RaveenaItemType; export type RaveenaItemUpserted = io.flow.internal.v0.models.RaveenaItemUpserted; export type RecordReference = io.flow.internal.v0.models.RecordReference; export type Redirect = io.flow.internal.v0.models.Redirect; export type RedirectActionCompleted = io.flow.internal.v0.models.RedirectActionCompleted; export type RedirectReason = io.flow.internal.v0.enums.RedirectReason; export type RefundTransactionPaymentType = io.flow.internal.v0.enums.RefundTransactionPaymentType; export type RegisteredExporterTariffEligibilityData = io.flow.internal.v0.models.RegisteredExporterTariffEligibilityData; export type RegisteredExporterTariffEligibilityForm = io.flow.internal.v0.models.RegisteredExporterTariffEligibilityForm; export type RejectionReason = io.flow.internal.v0.enums.RejectionReason; export type RemediateTaxDutyArm = io.flow.internal.v0.enums.RemediateTaxDutyArm; export type RemediateTaxDutyMetadata = io.flow.internal.v0.models.RemediateTaxDutyMetadata; export type RemittanceResponsibility = io.flow.internal.v0.models.RemittanceResponsibility; export type Report = io.flow.internal.v0.models.Report; export type ReportAccount = io.flow.internal.v0.models.ReportAccount; export type ReportAmountRange = io.flow.internal.v0.models.ReportAmountRange; export type ReportBankAccount = io.flow.internal.v0.models.ReportBankAccount; export type ReportBankAccountCleartext = io.flow.internal.v0.models.ReportBankAccountCleartext; export type ReportFile = io.flow.internal.v0.models.ReportFile; export type ReportFileStatus = io.flow.internal.v0.enums.ReportFileStatus; export type ReportFileType = io.flow.internal.v0.enums.ReportFileType; export type ReportFilter = io.flow.internal.v0.models.ReportFilter; export type ReportForm = io.flow.internal.v0.models.ReportForm; export type ReportInterval = io.flow.internal.v0.enums.ReportInterval; export type ReportMerchant = io.flow.internal.v0.models.ReportMerchant; export type ReportOrderReference = io.flow.internal.v0.models.ReportOrderReference; export type ReportOrganizationReference = io.flow.internal.v0.models.ReportOrganizationReference; export type ReportOwner = io.flow.internal.v0.models.ReportOwner; export type ReportPayment = io.flow.internal.v0.models.ReportPayment; export type ReportPaymentType = io.flow.internal.v0.enums.ReportPaymentType; export type ReportRecordError = io.flow.internal.v0.models.ReportRecordError; export type ReportRecordRetryQueue = io.flow.internal.v0.models.ReportRecordRetryQueue; export type ReportRuleDecision = io.flow.internal.v0.models.ReportRuleDecision; export type ReportStatus = io.flow.internal.v0.enums.ReportStatus; export type ReportSummary = io.flow.internal.v0.models.ReportSummary; export type ReportType = io.flow.internal.v0.enums.ReportType; export type ReportingAuthorizationReference = io.flow.internal.v0.models.ReportingAuthorizationReference; export type ReportingBusiness = io.flow.internal.v0.models.ReportingBusiness; export type ReportingConversionRates = io.flow.internal.v0.models.ReportingConversionRates; export type ReportingCountry = io.flow.internal.v0.models.ReportingCountry; export type ReportingCurrencies = io.flow.internal.v0.models.ReportingCurrencies; export type ReportingDebug = io.flow.internal.v0.models.ReportingDebug; export type ReportingDebugMissingSubsidies = io.flow.internal.v0.models.ReportingDebugMissingSubsidies; export type ReportingDestination = io.flow.internal.v0.models.ReportingDestination; export type ReportingDetails = io.flow.internal.v0.models.ReportingDetails; export type ReportingFees = io.flow.internal.v0.models.ReportingFees; export type ReportingFreight = io.flow.internal.v0.models.ReportingFreight; export type ReportingFreightGuaranteed = io.flow.internal.v0.models.ReportingFreightGuaranteed; export type ReportingFreightSubsidy = io.flow.internal.v0.models.ReportingFreightSubsidy; export type ReportingFulfillment = io.flow.internal.v0.models.ReportingFulfillment; export type ReportingFulfillmentHas = io.flow.internal.v0.models.ReportingFulfillmentHas; export type ReportingFulfillmentIs = io.flow.internal.v0.models.ReportingFulfillmentIs; export type ReportingFulfillmentIsVirtual = io.flow.internal.v0.enums.ReportingFulfillmentIsVirtual; export type ReportingFx = io.flow.internal.v0.models.ReportingFx; export type ReportingFxValue = io.flow.internal.v0.models.ReportingFxValue; export type ReportingMerchantBreakdown = io.flow.internal.v0.models.ReportingMerchantBreakdown; export type ReportingMerchantFees = io.flow.internal.v0.models.ReportingMerchantFees; export type ReportingMerchantFreight = io.flow.internal.v0.models.ReportingMerchantFreight; export type ReportingMerchantFreightSurcharges = io.flow.internal.v0.models.ReportingMerchantFreightSurcharges; export type ReportingMerchantSubsidies = io.flow.internal.v0.models.ReportingMerchantSubsidies; export type ReportingMerchantTransactions = io.flow.internal.v0.models.ReportingMerchantTransactions; export type ReportingMonetaryValue = io.flow.internal.v0.models.ReportingMonetaryValue; export type ReportingOrderSummary = io.flow.internal.v0.models.ReportingOrderSummary; export type ReportingOrganizationSummary = io.flow.internal.v0.models.ReportingOrganizationSummary; export type ReportingPayment = io.flow.internal.v0.models.ReportingPayment; export type ReportingProvince = io.flow.internal.v0.models.ReportingProvince; export type ReportingReconciliation = io.flow.internal.v0.models.ReportingReconciliation; export type ReportingRefundReference = io.flow.internal.v0.models.ReportingRefundReference; export type ReportingScheme = io.flow.internal.v0.enums.ReportingScheme; export type ReportingShipment = io.flow.internal.v0.models.ReportingShipment; export type ReportingShopperFees = io.flow.internal.v0.models.ReportingShopperFees; export type ReportingUsd = io.flow.internal.v0.models.ReportingUsd; export type ReportingVatRemittance = io.flow.internal.v0.models.ReportingVatRemittance; export type ReportingVatRemittanceRate = io.flow.internal.v0.models.ReportingVatRemittanceRate; export type ReportingVendor = io.flow.internal.v0.models.ReportingVendor; export type RequestedBankPaymentStatusCode = io.flow.internal.v0.enums.RequestedBankPaymentStatusCode; export type RequeueRequestForm = io.flow.internal.v0.models.RequeueRequestForm; export type RescreenRestrictionsProducts = io.flow.internal.v0.models.RescreenRestrictionsProducts; export type ResponsibleParty = io.flow.internal.v0.enums.ResponsibleParty; export type RestrictionAction = io.flow.internal.v0.enums.RestrictionAction; export type RestrictionAttributeConditionMultiple = io.flow.internal.v0.models.RestrictionAttributeConditionMultiple; export type RestrictionAttributeConditionMultipleOperator = io.flow.internal.v0.enums.RestrictionAttributeConditionMultipleOperator; export type RestrictionAttributeConditionSingle = io.flow.internal.v0.models.RestrictionAttributeConditionSingle; export type RestrictionAttributeConditionSingleOperator = io.flow.internal.v0.enums.RestrictionAttributeConditionSingleOperator; export type RestrictionAttributeOperator = io.flow.internal.v0.enums.RestrictionAttributeOperator; export type RestrictionAttributeResult = io.flow.internal.v0.enums.RestrictionAttributeResult; export type RestrictionAttributeRule = io.flow.internal.v0.models.RestrictionAttributeRule; export type RestrictionAttributeRuleCondition = io.flow.internal.v0.unions.RestrictionAttributeRuleCondition; export type RestrictionBlanketOrganizationExemption = io.flow.internal.v0.models.RestrictionBlanketOrganizationExemption; export type RestrictionBlanketOrganizationExemptionForm = io.flow.internal.v0.models.RestrictionBlanketOrganizationExemptionForm; export type RestrictionCategory = io.flow.internal.v0.models.RestrictionCategory; export type RestrictionDecision = io.flow.internal.v0.enums.RestrictionDecision; export type RestrictionFilter = io.flow.internal.v0.models.RestrictionFilter; export type RestrictionHistoryItemReviewDecision = io.flow.internal.v0.models.RestrictionHistoryItemReviewDecision; export type RestrictionItem = io.flow.internal.v0.models.RestrictionItem; export type RestrictionItemRequestForm = io.flow.internal.v0.models.RestrictionItemRequestForm; export type RestrictionItemReview = io.flow.internal.v0.models.RestrictionItemReview; export type RestrictionItemReviewDecisionForm = io.flow.internal.v0.models.RestrictionItemReviewDecisionForm; export type RestrictionItemReviewSummary = io.flow.internal.v0.models.RestrictionItemReviewSummary; export type RestrictionKeywords = io.flow.internal.v0.models.RestrictionKeywords; export type RestrictionOrganization = io.flow.internal.v0.models.RestrictionOrganization; export type RestrictionOrganizationChannel = io.flow.internal.v0.enums.RestrictionOrganizationChannel; export type RestrictionOrganizationDecisionSummary = io.flow.internal.v0.models.RestrictionOrganizationDecisionSummary; export type RestrictionOrganizationSource = io.flow.internal.v0.enums.RestrictionOrganizationSource; export type RestrictionOrganizationStatus = io.flow.internal.v0.models.RestrictionOrganizationStatus; export type RestrictionOrganizationStatusDeleted = io.flow.internal.v0.models.RestrictionOrganizationStatusDeleted; export type RestrictionOrganizationStatusUpserted = io.flow.internal.v0.models.RestrictionOrganizationStatusUpserted; export type RestrictionOrganizationSummary = io.flow.internal.v0.models.RestrictionOrganizationSummary; export type RestrictionProduct = io.flow.internal.v0.models.RestrictionProduct; export type RestrictionProductDecisionForm = io.flow.internal.v0.models.RestrictionProductDecisionForm; export type RestrictionProductRequestForm = io.flow.internal.v0.models.RestrictionProductRequestForm; export type RestrictionProductSummary = io.flow.internal.v0.models.RestrictionProductSummary; export type RestrictionRule = io.flow.internal.v0.models.RestrictionRule; export type RestrictionRuleActivationStatus = io.flow.internal.v0.enums.RestrictionRuleActivationStatus; export type RestrictionRuleCommunityExemption = io.flow.internal.v0.enums.RestrictionRuleCommunityExemption; export type RestrictionRuleDecisionForm = io.flow.internal.v0.models.RestrictionRuleDecisionForm; export type RestrictionRuleDeleted = io.flow.internal.v0.models.RestrictionRuleDeleted; export type RestrictionRuleEffect = io.flow.internal.v0.models.RestrictionRuleEffect; export type RestrictionRuleEffectDeleted = io.flow.internal.v0.models.RestrictionRuleEffectDeleted; export type RestrictionRuleEffectForm = io.flow.internal.v0.models.RestrictionRuleEffectForm; export type RestrictionRuleEffectUpserted = io.flow.internal.v0.models.RestrictionRuleEffectUpserted; export type RestrictionRuleEvaluationMode = io.flow.internal.v0.enums.RestrictionRuleEvaluationMode; export type RestrictionRuleExceptionAction = io.flow.internal.v0.enums.RestrictionRuleExceptionAction; export type RestrictionRuleForm = io.flow.internal.v0.models.RestrictionRuleForm; export type RestrictionRuleLaneExemption = io.flow.internal.v0.models.RestrictionRuleLaneExemption; export type RestrictionRuleLaneExemptionForm = io.flow.internal.v0.models.RestrictionRuleLaneExemptionForm; export type RestrictionRuleOrganizationExemption = io.flow.internal.v0.models.RestrictionRuleOrganizationExemption; export type RestrictionRuleOrganizationExemptionForm = io.flow.internal.v0.models.RestrictionRuleOrganizationExemptionForm; export type RestrictionRuleOverride = io.flow.internal.v0.models.RestrictionRuleOverride; export type RestrictionRuleReviewLane = io.flow.internal.v0.enums.RestrictionRuleReviewLane; export type RestrictionRuleSettings = io.flow.internal.v0.models.RestrictionRuleSettings; export type RestrictionRuleSideEffect = io.flow.internal.v0.models.RestrictionRuleSideEffect; export type RestrictionRuleSideEffectDeleted = io.flow.internal.v0.models.RestrictionRuleSideEffectDeleted; export type RestrictionRuleSideEffectUpserted = io.flow.internal.v0.models.RestrictionRuleSideEffectUpserted; export type RestrictionRuleSummary = io.flow.internal.v0.models.RestrictionRuleSummary; export type RestrictionRuleUpserted = io.flow.internal.v0.models.RestrictionRuleUpserted; export type RestrictionStateReviewStatus = io.flow.internal.v0.enums.RestrictionStateReviewStatus; export type RestrictionStatus = io.flow.internal.v0.enums.RestrictionStatus; export type RestrictionSummaryCounts = io.flow.internal.v0.models.RestrictionSummaryCounts; export type RestrictionsAthenaDailyopsFs = io.flow.internal.v0.models.RestrictionsAthenaDailyopsFs; export type RestrictionsAthenaDailyopsFsDeleted = io.flow.internal.v0.models.RestrictionsAthenaDailyopsFsDeleted; export type RestrictionsAthenaDailyopsFsUpserted = io.flow.internal.v0.models.RestrictionsAthenaDailyopsFsUpserted; export type RestrictionsAthenaDailyopsPcPv = io.flow.internal.v0.models.RestrictionsAthenaDailyopsPcPv; export type RestrictionsAthenaDailyopsPcPvDeleted = io.flow.internal.v0.models.RestrictionsAthenaDailyopsPcPvDeleted; export type RestrictionsAthenaDailyopsPcPvUpserted = io.flow.internal.v0.models.RestrictionsAthenaDailyopsPcPvUpserted; export type RestrictionsDailyops = io.flow.internal.v0.models.RestrictionsDailyops; export type RestrictionsDailyopsDeleted = io.flow.internal.v0.models.RestrictionsDailyopsDeleted; export type RestrictionsDailyopsUpserted = io.flow.internal.v0.models.RestrictionsDailyopsUpserted; export type ResyncByDestinations = io.flow.internal.v0.models.ResyncByDestinations; export type ResyncByHs6Destinations = io.flow.internal.v0.models.ResyncByHs6Destinations; export type ResyncByHs6Origin = io.flow.internal.v0.models.ResyncByHs6Origin; export type ResyncFallbackRates = io.flow.internal.v0.models.ResyncFallbackRates; export type Return = io.flow.internal.v0.models.Return; export type ReturnPolicyDeleted = io.flow.internal.v0.models.ReturnPolicyDeleted; export type ReturnPolicyItemResultDeleted = io.flow.internal.v0.models.ReturnPolicyItemResultDeleted; export type ReturnPolicyItemResultUpserted = io.flow.internal.v0.models.ReturnPolicyItemResultUpserted; export type ReturnPolicyUpserted = io.flow.internal.v0.models.ReturnPolicyUpserted; export type ReturnSummary = io.flow.internal.v0.models.ReturnSummary; export type ReturnTrigger = io.flow.internal.v0.unions.ReturnTrigger; export type ReturnTriggerCreditRefund = io.flow.internal.v0.models.ReturnTriggerCreditRefund; export type ReturnTriggerRefund = io.flow.internal.v0.models.ReturnTriggerRefund; export type ReturnTriggerReversal = io.flow.internal.v0.models.ReturnTriggerReversal; export type RevenueRecord = io.flow.internal.v0.models.RevenueRecord; export type RevenueRecordDeleted = io.flow.internal.v0.models.RevenueRecordDeleted; export type RevenueRecordType = io.flow.internal.v0.enums.RevenueRecordType; export type RevenueRecordUpserted = io.flow.internal.v0.models.RevenueRecordUpserted; export type ReviewRequestItem = io.flow.internal.v0.models.ReviewRequestItem; export type RiskCheck = io.flow.internal.v0.enums.RiskCheck; export type RiskEvaluation = io.flow.internal.v0.enums.RiskEvaluation; export type RoutingAccount = io.flow.internal.v0.models.RoutingAccount; export type RoutingEntity = io.flow.internal.v0.unions.RoutingEntity; export type RoutingMerchant = io.flow.internal.v0.models.RoutingMerchant; export type RoutingProcessor = io.flow.internal.v0.models.RoutingProcessor; export type SalesPaymentRecord = io.flow.internal.v0.models.SalesPaymentRecord; export type SalesPaymentRecordDeleted = io.flow.internal.v0.models.SalesPaymentRecordDeleted; export type SalesPaymentRecordUpserted = io.flow.internal.v0.models.SalesPaymentRecordUpserted; export type SandboxSetup = io.flow.internal.v0.models.SandboxSetup; export type SandboxSetupForm = io.flow.internal.v0.models.SandboxSetupForm; export type ScheduledPayment = io.flow.internal.v0.models.ScheduledPayment; export type Screen = io.flow.internal.v0.models.Screen; export type ScreenForm = io.flow.internal.v0.models.ScreenForm; export type ScreeningStatusChange = io.flow.internal.v0.models.ScreeningStatusChange; export type ScreeningStatusChangeDeleted = io.flow.internal.v0.models.ScreeningStatusChangeDeleted; export type ScreeningStatusChangeUpserted = io.flow.internal.v0.models.ScreeningStatusChangeUpserted; export type SearchAuthorization = io.flow.internal.v0.models.SearchAuthorization; export type SearchCustomerSummary = io.flow.internal.v0.models.SearchCustomerSummary; export type SearchExperienceSummary = io.flow.internal.v0.models.SearchExperienceSummary; export type SearchItemSummary = io.flow.internal.v0.models.SearchItemSummary; export type SearchOrderSummary = io.flow.internal.v0.models.SearchOrderSummary; export type SearchProviderExport = io.flow.internal.v0.models.SearchProviderExport; export type SearchTrackingSummary = io.flow.internal.v0.models.SearchTrackingSummary; export type SellabilityCheckResult = io.flow.internal.v0.models.SellabilityCheckResult; export type SellabilityCheckStatus = io.flow.internal.v0.enums.SellabilityCheckStatus; export type SellabilityDecisionSource = io.flow.internal.v0.enums.SellabilityDecisionSource; export type SellabilityInternalMatchType = io.flow.internal.v0.enums.SellabilityInternalMatchType; export type SellabilityPendingVerification = io.flow.internal.v0.models.SellabilityPendingVerification; export type SellabilityPendingVerificationDeleted = io.flow.internal.v0.models.SellabilityPendingVerificationDeleted; export type SellabilityPendingVerificationUpserted = io.flow.internal.v0.models.SellabilityPendingVerificationUpserted; export type SellabilityRuleMatch = io.flow.internal.v0.models.SellabilityRuleMatch; export type SellabilityRuleScreening = io.flow.internal.v0.models.SellabilityRuleScreening; export type SellabilityRuleScreeningState = io.flow.internal.v0.enums.SellabilityRuleScreeningState; export type SellabilityScopedCriterion = io.flow.internal.v0.unions.SellabilityScopedCriterion; export type SellabilityScopedCriterionMatch = io.flow.internal.v0.unions.SellabilityScopedCriterionMatch; export type SellabilityStatus = io.flow.internal.v0.enums.SellabilityStatus; export type ServiceFees = io.flow.internal.v0.models.ServiceFees; export type ServiceFeesForm = io.flow.internal.v0.models.ServiceFeesForm; export type SessionOrderData = io.flow.internal.v0.models.SessionOrderData; export type SetupBlockPutForm = io.flow.internal.v0.models.SetupBlockPutForm; export type SfExpress = io.flow.internal.v0.models.SfExpress; export type ShipmentCostSummary = io.flow.internal.v0.models.ShipmentCostSummary; export type ShippingCostDeleted = io.flow.internal.v0.models.ShippingCostDeleted; export type ShippingCostSummary = io.flow.internal.v0.models.ShippingCostSummary; export type ShippingCostUpserted = io.flow.internal.v0.models.ShippingCostUpserted; export type ShippingLane = io.flow.internal.v0.models.ShippingLane; export type ShippingMethodReference = io.flow.internal.v0.models.ShippingMethodReference; export type ShippingPricing = io.flow.internal.v0.models.ShippingPricing; export type ShippingRateEstimateAvailableInternal = io.flow.internal.v0.models.ShippingRateEstimateAvailableInternal; export type ShippingRateEstimateInternal = io.flow.internal.v0.models.ShippingRateEstimateInternal; export type ShippingRateEstimateRequestInternal = io.flow.internal.v0.models.ShippingRateEstimateRequestInternal; export type ShopifyAddress = io.flow.internal.v0.models.ShopifyAddress; export type ShopifyCallbackError = io.flow.internal.v0.models.ShopifyCallbackError; export type ShopifyCallbackErrorCode = io.flow.internal.v0.enums.ShopifyCallbackErrorCode; export type ShopifyCallbackErrorItem = io.flow.internal.v0.models.ShopifyCallbackErrorItem; export type ShopifyCatalogPublication = io.flow.internal.v0.models.ShopifyCatalogPublication; export type ShopifyChannelOrganizationToken = io.flow.internal.v0.models.ShopifyChannelOrganizationToken; export type ShopifyChannelOrganizationTokens = io.flow.internal.v0.models.ShopifyChannelOrganizationTokens; export type ShopifyChargeCode = io.flow.internal.v0.enums.ShopifyChargeCode; export type ShopifyContactDetails = io.flow.internal.v0.models.ShopifyContactDetails; export type ShopifyCost = io.flow.internal.v0.models.ShopifyCost; export type ShopifyDeliveryMethodType = io.flow.internal.v0.enums.ShopifyDeliveryMethodType; export type ShopifyDimensionUnit = io.flow.internal.v0.enums.ShopifyDimensionUnit; export type ShopifyDispute = io.flow.internal.v0.models.ShopifyDispute; export type ShopifyDisputeDeleted = io.flow.internal.v0.models.ShopifyDisputeDeleted; export type ShopifyDisputeUpserted = io.flow.internal.v0.models.ShopifyDisputeUpserted; export type ShopifyHs10Code = io.flow.internal.v0.models.ShopifyHs10Code; export type ShopifyHs10Codes = io.flow.internal.v0.models.ShopifyHs10Codes; export type ShopifyHs10CodesDeleted = io.flow.internal.v0.models.ShopifyHs10CodesDeleted; export type ShopifyHs10CodesUpserted = io.flow.internal.v0.models.ShopifyHs10CodesUpserted; export type ShopifyIncoterm = io.flow.internal.v0.enums.ShopifyIncoterm; export type ShopifyIncotermConfiguration = io.flow.internal.v0.enums.ShopifyIncotermConfiguration; export type ShopifyIncotermIncludes = io.flow.internal.v0.models.ShopifyIncotermIncludes; export type ShopifyIncotermSummaryErrorData = io.flow.internal.v0.models.ShopifyIncotermSummaryErrorData; export type ShopifyIncotermSummaryErrorPublished = io.flow.internal.v0.models.ShopifyIncotermSummaryErrorPublished; export type ShopifyInventoryItem = io.flow.internal.v0.models.ShopifyInventoryItem; export type ShopifyInventoryItemCreateDeleted = io.flow.internal.v0.models.ShopifyInventoryItemCreateDeleted; export type ShopifyInventoryItemCreateUpserted = io.flow.internal.v0.models.ShopifyInventoryItemCreateUpserted; export type ShopifyInventoryItemCreateWebhookEvent = io.flow.internal.v0.models.ShopifyInventoryItemCreateWebhookEvent; export type ShopifyInventoryItemDeleteDeleted = io.flow.internal.v0.models.ShopifyInventoryItemDeleteDeleted; export type ShopifyInventoryItemDeleteUpserted = io.flow.internal.v0.models.ShopifyInventoryItemDeleteUpserted; export type ShopifyInventoryItemDeleteV2 = io.flow.internal.v0.models.ShopifyInventoryItemDeleteV2; export type ShopifyInventoryItemDeleteWebhookEvent = io.flow.internal.v0.models.ShopifyInventoryItemDeleteWebhookEvent; export type ShopifyInventoryItemUpdateDeleted = io.flow.internal.v0.models.ShopifyInventoryItemUpdateDeleted; export type ShopifyInventoryItemUpdateUpserted = io.flow.internal.v0.models.ShopifyInventoryItemUpdateUpserted; export type ShopifyInventoryItemUpdateV2 = io.flow.internal.v0.models.ShopifyInventoryItemUpdateV2; export type ShopifyInventoryItemUpdateWebhookEvent = io.flow.internal.v0.models.ShopifyInventoryItemUpdateWebhookEvent; export type ShopifyMarketsBestSellingProduct = io.flow.internal.v0.models.ShopifyMarketsBestSellingProduct; export type ShopifyMarketsBestSellingProductDeleted = io.flow.internal.v0.models.ShopifyMarketsBestSellingProductDeleted; export type ShopifyMarketsBestSellingProductUpserted = io.flow.internal.v0.models.ShopifyMarketsBestSellingProductUpserted; export type ShopifyMarketsDangerousGoods = io.flow.internal.v0.enums.ShopifyMarketsDangerousGoods; export type ShopifyMarketsDiscrepancy = io.flow.internal.v0.models.ShopifyMarketsDiscrepancy; export type ShopifyMarketsDiscrepancyData = io.flow.internal.v0.models.ShopifyMarketsDiscrepancyData; export type ShopifyMarketsEvent = io.flow.internal.v0.models.ShopifyMarketsEvent; export type ShopifyMarketsHtsNumberAvailable = io.flow.internal.v0.enums.ShopifyMarketsHtsNumberAvailable; export type ShopifyMarketsIncorporationCountry = io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry; export type ShopifyMarketsInternalOrderMetrics = io.flow.internal.v0.models.ShopifyMarketsInternalOrderMetrics; export type ShopifyMarketsMetricsDeleted = io.flow.internal.v0.models.ShopifyMarketsMetricsDeleted; export type ShopifyMarketsMetricsUpserted = io.flow.internal.v0.models.ShopifyMarketsMetricsUpserted; export type ShopifyMarketsOrder = io.flow.internal.v0.models.ShopifyMarketsOrder; export type ShopifyMarketsOrderDeleted = io.flow.internal.v0.models.ShopifyMarketsOrderDeleted; export type ShopifyMarketsOrderUpserted = io.flow.internal.v0.models.ShopifyMarketsOrderUpserted; export type ShopifyMarketsOrderVersionWithShopId = io.flow.internal.v0.models.ShopifyMarketsOrderVersionWithShopId; export type ShopifyMarketsOrdersMetrics = io.flow.internal.v0.models.ShopifyMarketsOrdersMetrics; export type ShopifyMarketsOrganizationOrderMetrics = io.flow.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics; export type ShopifyMarketsQueuedRecord = io.flow.internal.v0.models.ShopifyMarketsQueuedRecord; export type ShopifyMarketsQueuedRecordType = io.flow.internal.v0.enums.ShopifyMarketsQueuedRecordType; export type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarketsShop; export type ShopifyMarketsShopAccessToken = io.flow.internal.v0.models.ShopifyMarketsShopAccessToken; export type ShopifyMarketsShopDeleted = io.flow.internal.v0.models.ShopifyMarketsShopDeleted; export type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm; export type ShopifyMarketsShopStatisticsDeleted = io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted; export type ShopifyMarketsShopStatisticsUpserted = io.flow.internal.v0.models.ShopifyMarketsShopStatisticsUpserted; export type ShopifyMarketsShopSummary = io.flow.internal.v0.models.ShopifyMarketsShopSummary; export type ShopifyMarketsShopUpserted = io.flow.internal.v0.models.ShopifyMarketsShopUpserted; export type ShopifyMarketsShopifyOrderMetrics = io.flow.internal.v0.models.ShopifyMarketsShopifyOrderMetrics; export type ShopifyMarketsSubsidiaryCompany = io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany; export type ShopifyMarketsTradeSector = io.flow.internal.v0.enums.ShopifyMarketsTradeSector; export type ShopifyMarketsWebhookRegistration = io.flow.internal.v0.models.ShopifyMarketsWebhookRegistration; export type ShopifyMarketsWebhookRegistrationDeleted = io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationDeleted; export type ShopifyMarketsWebhookRegistrationUpserted = io.flow.internal.v0.models.ShopifyMarketsWebhookRegistrationUpserted; export type ShopifyMeasurements = io.flow.internal.v0.models.ShopifyMeasurements; export type ShopifyMerchantMarketCountry = io.flow.internal.v0.models.ShopifyMerchantMarketCountry; export type ShopifyMerchantMarkets = io.flow.internal.v0.models.ShopifyMerchantMarkets; export type ShopifyMerchantMarketsDeleted = io.flow.internal.v0.models.ShopifyMerchantMarketsDeleted; export type ShopifyMerchantMarketsUpserted = io.flow.internal.v0.models.ShopifyMerchantMarketsUpserted; export type ShopifyMerchantPlan = io.flow.internal.v0.models.ShopifyMerchantPlan; export type ShopifyMerchantPlanDeleted = io.flow.internal.v0.models.ShopifyMerchantPlanDeleted; export type ShopifyMerchantPlanUpserted = io.flow.internal.v0.models.ShopifyMerchantPlanUpserted; export type ShopifyMetadata = io.flow.internal.v0.models.ShopifyMetadata; export type ShopifyMoney = io.flow.internal.v0.models.ShopifyMoney; export type ShopifyMonitoringCarrierService = io.flow.internal.v0.models.ShopifyMonitoringCarrierService; export type ShopifyMonitoringFulfillmentExternal = io.flow.internal.v0.models.ShopifyMonitoringFulfillmentExternal; export type ShopifyMonitoringFulfillmentMissingDetails = io.flow.internal.v0.models.ShopifyMonitoringFulfillmentMissingDetails; export type ShopifyMonitoringMonitorReviewStatus = io.flow.internal.v0.enums.ShopifyMonitoringMonitorReviewStatus; export type ShopifyMonitoringOrderMonitor = io.flow.internal.v0.models.ShopifyMonitoringOrderMonitor; export type ShopifyMonitoringOrderMonitorEventDeleted = io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventDeleted; export type ShopifyMonitoringOrderMonitorEventUpserted = io.flow.internal.v0.models.ShopifyMonitoringOrderMonitorEventUpserted; export type ShopifyMonitoringOrderMonitorType = io.flow.internal.v0.unions.ShopifyMonitoringOrderMonitorType; export type ShopifyMonitoringTrackingField = io.flow.internal.v0.enums.ShopifyMonitoringTrackingField; export type ShopifyMonitoringTrackingNumber = io.flow.internal.v0.models.ShopifyMonitoringTrackingNumber; export type ShopifyMonitoringTrackingUrl = io.flow.internal.v0.models.ShopifyMonitoringTrackingUrl; export type ShopifyOrderCancelForm = io.flow.internal.v0.models.ShopifyOrderCancelForm; export type ShopifyOrderCancelResponse = io.flow.internal.v0.models.ShopifyOrderCancelResponse; export type ShopifyOrderDestinationForm = io.flow.internal.v0.models.ShopifyOrderDestinationForm; export type ShopifyOrderRiskAssessment = io.flow.internal.v0.models.ShopifyOrderRiskAssessment; export type ShopifyOrderRiskAssessmentDeleted = io.flow.internal.v0.models.ShopifyOrderRiskAssessmentDeleted; export type ShopifyOrderRiskAssessmentUpserted = io.flow.internal.v0.models.ShopifyOrderRiskAssessmentUpserted; export type ShopifyOrderTransaction = io.flow.internal.v0.models.ShopifyOrderTransaction; export type ShopifyOrderTransactionDeleted = io.flow.internal.v0.models.ShopifyOrderTransactionDeleted; export type ShopifyOrderTransactionUpserted = io.flow.internal.v0.models.ShopifyOrderTransactionUpserted; export type ShopifyPackageType = io.flow.internal.v0.enums.ShopifyPackageType; export type ShopifyPartnerWebhook = io.flow.internal.v0.models.ShopifyPartnerWebhook; export type ShopifyPartnerWebhookRaw = io.flow.internal.v0.models.ShopifyPartnerWebhookRaw; export type ShopifyPlanType = io.flow.internal.v0.enums.ShopifyPlanType; export type ShopifyProductBundle = io.flow.internal.v0.models.ShopifyProductBundle; export type ShopifyProductBundleDeleted = io.flow.internal.v0.models.ShopifyProductBundleDeleted; export type ShopifyProductBundleUnderlying = io.flow.internal.v0.models.ShopifyProductBundleUnderlying; export type ShopifyProductBundleUpserted = io.flow.internal.v0.models.ShopifyProductBundleUpserted; export type ShopifyProductCreateDeleted = io.flow.internal.v0.models.ShopifyProductCreateDeleted; export type ShopifyProductCreateUpserted = io.flow.internal.v0.models.ShopifyProductCreateUpserted; export type ShopifyProductCreateWebhookEvent = io.flow.internal.v0.models.ShopifyProductCreateWebhookEvent; export type ShopifyProductDataCreateV2 = io.flow.internal.v0.models.ShopifyProductDataCreateV2; export type ShopifyProductDataDeleteV2 = io.flow.internal.v0.models.ShopifyProductDataDeleteV2; export type ShopifyProductDataUpdateV2 = io.flow.internal.v0.models.ShopifyProductDataUpdateV2; export type ShopifyProductDeleteDeleted = io.flow.internal.v0.models.ShopifyProductDeleteDeleted; export type ShopifyProductDeleteUpserted = io.flow.internal.v0.models.ShopifyProductDeleteUpserted; export type ShopifyProductDeleteWebhookEvent = io.flow.internal.v0.models.ShopifyProductDeleteWebhookEvent; export type ShopifyProductMetafieldsUpdateV2 = io.flow.internal.v0.models.ShopifyProductMetafieldsUpdateV2; export type ShopifyProductTaxonomyAttribute = io.flow.internal.v0.models.ShopifyProductTaxonomyAttribute; export type ShopifyProductTaxonomyAttributeDeleted = io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeDeleted; export type ShopifyProductTaxonomyAttributeUpserted = io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeUpserted; export type ShopifyProductTaxonomyAttributeValue = io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeValue; export type ShopifyProductTaxonomyAttributeValueDeleted = io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeValueDeleted; export type ShopifyProductTaxonomyAttributeValueUpserted = io.flow.internal.v0.models.ShopifyProductTaxonomyAttributeValueUpserted; export type ShopifyProductUpdateDeleted = io.flow.internal.v0.models.ShopifyProductUpdateDeleted; export type ShopifyProductUpdateUpserted = io.flow.internal.v0.models.ShopifyProductUpdateUpserted; export type ShopifyProductUpdateWebhookEvent = io.flow.internal.v0.models.ShopifyProductUpdateWebhookEvent; export type ShopifyProductVariantComponentsV2 = io.flow.internal.v0.models.ShopifyProductVariantComponentsV2; export type ShopifyProductVariantDataV2 = io.flow.internal.v0.models.ShopifyProductVariantDataV2; export type ShopifyProductWrapper = io.flow.internal.v0.models.ShopifyProductWrapper; export type ShopifyRateCustomsDetail = io.flow.internal.v0.models.ShopifyRateCustomsDetail; export type ShopifyRatePickupPoint = io.flow.internal.v0.models.ShopifyRatePickupPoint; export type ShopifyReportFileDeleted = io.flow.internal.v0.models.ShopifyReportFileDeleted; export type ShopifyReportFileUpserted = io.flow.internal.v0.models.ShopifyReportFileUpserted; export type ShopifyService = io.flow.internal.v0.enums.ShopifyService; export type ShopifyShipmentOptionCode = io.flow.internal.v0.enums.ShopifyShipmentOptionCode; export type ShopifyShipmentRateAvailable = io.flow.internal.v0.models.ShopifyShipmentRateAvailable; export type ShopifyShipmentRateCharge = io.flow.internal.v0.models.ShopifyShipmentRateCharge; export type ShopifyShipmentRateOption = io.flow.internal.v0.models.ShopifyShipmentRateOption; export type ShopifyShipmentRatePackage = io.flow.internal.v0.models.ShopifyShipmentRatePackage; export type ShopifyShipmentRateReason = io.flow.internal.v0.models.ShopifyShipmentRateReason; export type ShopifyShipmentRateRequest = io.flow.internal.v0.models.ShopifyShipmentRateRequest; export type ShopifyShipmentRateResponse = io.flow.internal.v0.models.ShopifyShipmentRateResponse; export type ShopifyShipmentRateShipment = io.flow.internal.v0.models.ShopifyShipmentRateShipment; export type ShopifyShipmentRateShipper = io.flow.internal.v0.models.ShopifyShipmentRateShipper; export type ShopifyShipmentRateUnavailable = io.flow.internal.v0.models.ShopifyShipmentRateUnavailable; export type ShopifyShippingLocation = io.flow.internal.v0.models.ShopifyShippingLocation; export type ShopifyShopStatistics = io.flow.internal.v0.models.ShopifyShopStatistics; export type ShopifyStoreDetail = io.flow.internal.v0.models.ShopifyStoreDetail; export type ShopifyStripeEvent = io.flow.internal.v0.models.ShopifyStripeEvent; export type ShopifyTaxonomyAlignmentConfig = io.flow.internal.v0.models.ShopifyTaxonomyAlignmentConfig; export type ShopifyTaxonomyAlignmentConfigForm = io.flow.internal.v0.models.ShopifyTaxonomyAlignmentConfigForm; export type ShopifyTestOrder = io.flow.internal.v0.models.ShopifyTestOrder; export type ShopifyTestOrderDeleted = io.flow.internal.v0.models.ShopifyTestOrderDeleted; export type ShopifyTestOrderUpserted = io.flow.internal.v0.models.ShopifyTestOrderUpserted; export type ShopifyUnavailableRateReasonCode = io.flow.internal.v0.enums.ShopifyUnavailableRateReasonCode; export type ShopifyWeightUnit = io.flow.internal.v0.enums.ShopifyWeightUnit; export type ShopperBreakdown = io.flow.internal.v0.models.ShopperBreakdown; export type ShopperFees = io.flow.internal.v0.models.ShopperFees; export type ShopperFreight = io.flow.internal.v0.models.ShopperFreight; export type ShopperLine = io.flow.internal.v0.models.ShopperLine; export type ShopperLines = io.flow.internal.v0.models.ShopperLines; export type ShopperSummary = io.flow.internal.v0.models.ShopperSummary; export type SimpleAccountReference = io.flow.internal.v0.models.SimpleAccountReference; export type SimpleRoundingStrategy = io.flow.internal.v0.enums.SimpleRoundingStrategy; export type SimplifiedClassificationTaxonomy = io.flow.internal.v0.unions.SimplifiedClassificationTaxonomy; export type SimplifiedItemLabel = io.flow.internal.v0.models.SimplifiedItemLabel; export type SimplifiedTaxonomyCategory = io.flow.internal.v0.models.SimplifiedTaxonomyCategory; export type SingleClassificationAction = io.flow.internal.v0.models.SingleClassificationAction; export type SingleClassificationForm = io.flow.internal.v0.models.SingleClassificationForm; export type SnapchatPixel = io.flow.internal.v0.models.SnapchatPixel; export type Snooze = io.flow.internal.v0.models.Snooze; export type SnoozeForm = io.flow.internal.v0.models.SnoozeForm; export type SnoozeNextActionWith = io.flow.internal.v0.enums.SnoozeNextActionWith; export type SnoozeSource = io.flow.internal.v0.models.SnoozeSource; export type SnoozeSourceType = io.flow.internal.v0.enums.SnoozeSourceType; export type SourceTypeFilter = io.flow.internal.v0.enums.SourceTypeFilter; export type SpotRate = io.flow.internal.v0.models.SpotRate; export type SpotRateDeleted = io.flow.internal.v0.models.SpotRateDeleted; export type SpotRateMetadata = io.flow.internal.v0.unions.SpotRateMetadata; export type SpotRateMetadataIdentity = io.flow.internal.v0.models.SpotRateMetadataIdentity; export type SpotRateMetadataRate = io.flow.internal.v0.models.SpotRateMetadataRate; export type SpotRateUpserted = io.flow.internal.v0.models.SpotRateUpserted; export type SpotRateVersion = io.flow.internal.v0.models.SpotRateVersion; export type StandaloneAttachment = io.flow.internal.v0.models.StandaloneAttachment; export type StandaloneAttachmentDeleted = io.flow.internal.v0.models.StandaloneAttachmentDeleted; export type StandaloneAttachmentUpserted = io.flow.internal.v0.models.StandaloneAttachmentUpserted; export type StatementCreationMetadata = io.flow.internal.v0.models.StatementCreationMetadata; export type StatementTransferTransactionLocation = io.flow.internal.v0.enums.StatementTransferTransactionLocation; export type StatisticType = io.flow.internal.v0.enums.StatisticType; export type StringFeatureDefaultValue = io.flow.internal.v0.models.StringFeatureDefaultValue; export type StringFeatureRule = io.flow.internal.v0.models.StringFeatureRule; export type StringFeatureRuleForm = io.flow.internal.v0.models.StringFeatureRuleForm; export type StringFeatureValue = io.flow.internal.v0.models.StringFeatureValue; export type StripeAccount = io.flow.internal.v0.models.StripeAccount; export type StripeAccountModificationForm = io.flow.internal.v0.models.StripeAccountModificationForm; export type StripeAccountPutForm = io.flow.internal.v0.models.StripeAccountPutForm; export type StripeAuthentication = io.flow.internal.v0.models.StripeAuthentication; export type StripeAuthenticationDataReference = io.flow.internal.v0.models.StripeAuthenticationDataReference; export type StripeAuthenticationForm = io.flow.internal.v0.models.StripeAuthenticationForm; export type StripeAuthorizationDeleted = io.flow.internal.v0.models.StripeAuthorizationDeleted; export type StripeAuthorizationUpserted = io.flow.internal.v0.models.StripeAuthorizationUpserted; export type StripeCaptureDeleted = io.flow.internal.v0.models.StripeCaptureDeleted; export type StripeCaptureUpserted = io.flow.internal.v0.models.StripeCaptureUpserted; export type StripeConnectReportRecord = io.flow.internal.v0.models.StripeConnectReportRecord; export type StripeConnectReportRecordDeleted = io.flow.internal.v0.models.StripeConnectReportRecordDeleted; export type StripeConnectReportRecordMetadata = io.flow.internal.v0.unions.StripeConnectReportRecordMetadata; export type StripeConnectReportRecordPaymentMetadata = io.flow.internal.v0.models.StripeConnectReportRecordPaymentMetadata; export type StripeConnectReportRecordTransferMetadata = io.flow.internal.v0.models.StripeConnectReportRecordTransferMetadata; export type StripeConnectReportRecordUpserted = io.flow.internal.v0.models.StripeConnectReportRecordUpserted; export type StripeDisputeDeleted = io.flow.internal.v0.models.StripeDisputeDeleted; export type StripeDisputeUpserted = io.flow.internal.v0.models.StripeDisputeUpserted; export type StripeInternalAuthorization = io.flow.internal.v0.models.StripeInternalAuthorization; export type StripeInternalCapture = io.flow.internal.v0.models.StripeInternalCapture; export type StripeInternalDispute = io.flow.internal.v0.models.StripeInternalDispute; export type StripeInternalRefund = io.flow.internal.v0.models.StripeInternalRefund; export type StripeInternalReversal = io.flow.internal.v0.models.StripeInternalReversal; export type StripeMerchant = io.flow.internal.v0.models.StripeMerchant; export type StripeMerchantForm = io.flow.internal.v0.models.StripeMerchantForm; export type StripeMerchantModificationForm = io.flow.internal.v0.models.StripeMerchantModificationForm; export type StripeMerchantPutForm = io.flow.internal.v0.models.StripeMerchantPutForm; export type StripeRefundDeleted = io.flow.internal.v0.models.StripeRefundDeleted; export type StripeRefundUpserted = io.flow.internal.v0.models.StripeRefundUpserted; export type StripeReversalDeleted = io.flow.internal.v0.models.StripeReversalDeleted; export type StripeReversalUpserted = io.flow.internal.v0.models.StripeReversalUpserted; export type SubmittedOrderUpserted = io.flow.internal.v0.models.SubmittedOrderUpserted; export type Subscription = io.flow.internal.v0.models.Subscription; export type SubscriptionFrequency = io.flow.internal.v0.enums.SubscriptionFrequency; export type SubscriptionTransaction = io.flow.internal.v0.models.SubscriptionTransaction; export type SubsidyPreview = io.flow.internal.v0.models.SubsidyPreview; export type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction; export type SupportedLabels = io.flow.internal.v0.models.SupportedLabels; export type TariffCodeDuty = io.flow.internal.v0.models.TariffCodeDuty; export type TariffEligibility = io.flow.internal.v0.models.TariffEligibility; export type TariffEligibilityData = io.flow.internal.v0.unions.TariffEligibilityData; export type TariffEligibilityForm = io.flow.internal.v0.unions.TariffEligibilityForm; export type TariffEligibilityType = io.flow.internal.v0.enums.TariffEligibilityType; export type Task = io.flow.internal.v0.models.Task; export type TaskData = io.flow.internal.v0.unions.TaskData; export type TaskImport = io.flow.internal.v0.models.TaskImport; export type TaskItemUpserted = io.flow.internal.v0.models.TaskItemUpserted; export type TaskMetadata = io.flow.internal.v0.unions.TaskMetadata; export type TaskProcessQueuedEvent = io.flow.internal.v0.models.TaskProcessQueuedEvent; export type TaskProcessorKey = io.flow.internal.v0.enums.TaskProcessorKey; export type TaskSummarizeCode = io.flow.internal.v0.models.TaskSummarizeCode; export type TaxDutyReasonCodeMetadata = io.flow.internal.v0.models.TaxDutyReasonCodeMetadata; export type TaxParty = io.flow.internal.v0.enums.TaxParty; export type TaxRemittanceTransaction = io.flow.internal.v0.models.TaxRemittanceTransaction; export type TaxRemittanceTransactionDeleted = io.flow.internal.v0.models.TaxRemittanceTransactionDeleted; export type TaxRemittanceTransactionUpserted = io.flow.internal.v0.models.TaxRemittanceTransactionUpserted; export type TaxTransaction = io.flow.internal.v0.models.TaxTransaction; export type TaxTransactionDeleted = io.flow.internal.v0.models.TaxTransactionDeleted; export type TaxTransactionType = io.flow.internal.v0.enums.TaxTransactionType; export type TaxTransactionUpserted = io.flow.internal.v0.models.TaxTransactionUpserted; export type TaxTypeTotal = io.flow.internal.v0.models.TaxTypeTotal; export type TaxonomyAlignmentCheckResult = io.flow.internal.v0.models.TaxonomyAlignmentCheckResult; export type TaxonomyCategory = io.flow.internal.v0.models.TaxonomyCategory; export type TaxonomyCategoryClassificationAlignment = io.flow.internal.v0.enums.TaxonomyCategoryClassificationAlignment; export type TaxonomyCategoryHs6Ref = io.flow.internal.v0.models.TaxonomyCategoryHs6Ref; export type TaxonomyCategoryHs6RefDeleted = io.flow.internal.v0.models.TaxonomyCategoryHs6RefDeleted; export type TaxonomyCategoryHs6RefUpserted = io.flow.internal.v0.models.TaxonomyCategoryHs6RefUpserted; export type TaxonomyNode = io.flow.internal.v0.models.TaxonomyNode; export type TaxonomyPositiveKeywords = io.flow.internal.v0.models.TaxonomyPositiveKeywords; export type TaxonomyPositiveKeywordsMatch = io.flow.internal.v0.models.TaxonomyPositiveKeywordsMatch; export type TechOnboardingDescription = io.flow.internal.v0.models.TechOnboardingDescription; export type Test = io.flow.internal.v0.models.Test; export type TestForm = io.flow.internal.v0.models.TestForm; export type ThirdPartyLogisticsPartner = io.flow.internal.v0.models.ThirdPartyLogisticsPartner; export type ThirdPartyLogisticsPickUpTimeWindow = io.flow.internal.v0.models.ThirdPartyLogisticsPickUpTimeWindow; export type TieredFee = io.flow.internal.v0.models.TieredFee; export type TieredFeeTier = io.flow.internal.v0.models.TieredFeeTier; export type TimeToClassify = io.flow.internal.v0.models.TimeToClassify; export type TimeToClassifyAggregated = io.flow.internal.v0.models.TimeToClassifyAggregated; export type TimeToClassifyAggregatedDeleted = io.flow.internal.v0.models.TimeToClassifyAggregatedDeleted; export type TimeToClassifyAggregatedUpserted = io.flow.internal.v0.models.TimeToClassifyAggregatedUpserted; export type TimeToClassifyDeleted = io.flow.internal.v0.models.TimeToClassifyDeleted; export type TimeToClassifyUpserted = io.flow.internal.v0.models.TimeToClassifyUpserted; export type TimeWithTimezone = io.flow.internal.v0.models.TimeWithTimezone; export type Tokens = io.flow.internal.v0.models.Tokens; export type Tracker = io.flow.internal.v0.unions.Tracker; export type TrackingAssuranceAnalysis = io.flow.internal.v0.models.TrackingAssuranceAnalysis; export type TrackingAssuranceAnalysisDeleted = io.flow.internal.v0.models.TrackingAssuranceAnalysisDeleted; export type TrackingAssuranceAnalysisUpserted = io.flow.internal.v0.models.TrackingAssuranceAnalysisUpserted; export type TrackingAssuranceJob = io.flow.internal.v0.models.TrackingAssuranceJob; export type TrackingAssuranceJobDeleted = io.flow.internal.v0.models.TrackingAssuranceJobDeleted; export type TrackingAssuranceJobUpserted = io.flow.internal.v0.models.TrackingAssuranceJobUpserted; export type TrackingCarrierReturnLabel = io.flow.internal.v0.models.TrackingCarrierReturnLabel; export type TrackingCarrierReturnLabelDeleted = io.flow.internal.v0.models.TrackingCarrierReturnLabelDeleted; export type TrackingCarrierReturnLabelUpserted = io.flow.internal.v0.models.TrackingCarrierReturnLabelUpserted; export type TrackingDebugForceTransitForm = io.flow.internal.v0.models.TrackingDebugForceTransitForm; export type TrackingDebugLabel = io.flow.internal.v0.models.TrackingDebugLabel; export type TrackingDebugLabelEvent = io.flow.internal.v0.models.TrackingDebugLabelEvent; export type TrackingDebugLabelEventUpsertForm = io.flow.internal.v0.models.TrackingDebugLabelEventUpsertForm; export type TrackingDebugLabelLocation = io.flow.internal.v0.models.TrackingDebugLabelLocation; export type TrackingDeleted = io.flow.internal.v0.models.TrackingDeleted; export type TrackingEvent = io.flow.internal.v0.models.TrackingEvent; export type TrackingIntegrationType = io.flow.internal.v0.enums.TrackingIntegrationType; export type TrackingLabelDeleted = io.flow.internal.v0.models.TrackingLabelDeleted; export type TrackingLabelDimensions = io.flow.internal.v0.models.TrackingLabelDimensions; export type TrackingLabelDimensionsDeleted = io.flow.internal.v0.models.TrackingLabelDimensionsDeleted; export type TrackingLabelDimensionsSource = io.flow.internal.v0.enums.TrackingLabelDimensionsSource; export type TrackingLabelDimensionsUpserted = io.flow.internal.v0.models.TrackingLabelDimensionsUpserted; export type TrackingLabelEventDeletedV2 = io.flow.internal.v0.models.TrackingLabelEventDeletedV2; export type TrackingLabelEventUpsertedV2 = io.flow.internal.v0.models.TrackingLabelEventUpsertedV2; export type TrackingLabelUpserted = io.flow.internal.v0.models.TrackingLabelUpserted; export type TrackingProcessingError = io.flow.internal.v0.models.TrackingProcessingError; export type TrackingProcessingErrorDeleted = io.flow.internal.v0.models.TrackingProcessingErrorDeleted; export type TrackingProcessingErrorUpserted = io.flow.internal.v0.models.TrackingProcessingErrorUpserted; export type TrackingProcessingFailureClassification = io.flow.internal.v0.enums.TrackingProcessingFailureClassification; export type TrackingRequest = io.flow.internal.v0.models.TrackingRequest; export type TrackingResponse = io.flow.internal.v0.models.TrackingResponse; export type TrackingSubscription = io.flow.internal.v0.models.TrackingSubscription; export type TrackingSubscriptionDeleted = io.flow.internal.v0.models.TrackingSubscriptionDeleted; export type TrackingSubscriptionUpserted = io.flow.internal.v0.models.TrackingSubscriptionUpserted; export type TrackingUpserted = io.flow.internal.v0.models.TrackingUpserted; export type TrackingWebhook = io.flow.internal.v0.models.TrackingWebhook; export type Transaction = io.flow.internal.v0.unions.Transaction; export type TransactionAdjustment = io.flow.internal.v0.models.TransactionAdjustment; export type TransactionAdjustmentDeleted = io.flow.internal.v0.models.TransactionAdjustmentDeleted; export type TransactionAdjustmentForm = io.flow.internal.v0.models.TransactionAdjustmentForm; export type TransactionAdjustmentUpserted = io.flow.internal.v0.models.TransactionAdjustmentUpserted; export type TransactionPostingMethod = io.flow.internal.v0.enums.TransactionPostingMethod; export type TransactionReference = io.flow.internal.v0.models.TransactionReference; export type TransactionStatement = io.flow.internal.v0.models.TransactionStatement; export type TransactionStatementDeleted = io.flow.internal.v0.models.TransactionStatementDeleted; export type TransactionStatementUpserted = io.flow.internal.v0.models.TransactionStatementUpserted; export type TransactionSummary = io.flow.internal.v0.unions.TransactionSummary; export type TransferMethod = io.flow.internal.v0.enums.TransferMethod; export type TransferTransaction = io.flow.internal.v0.models.TransferTransaction; export type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted; export type TransferTransactionDeletedV2 = io.flow.internal.v0.models.TransferTransactionDeletedV2; export type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted; export type TransferTransactionUpsertedV2 = io.flow.internal.v0.models.TransferTransactionUpsertedV2; export type Tribe = io.flow.internal.v0.models.Tribe; export type TrueupLabelSummary = io.flow.internal.v0.models.TrueupLabelSummary; export type TrueupTransaction = io.flow.internal.v0.models.TrueupTransaction; export type TrueupTransactionType = io.flow.internal.v0.enums.TrueupTransactionType; export type UnassignedMerchantGuid = io.flow.internal.v0.models.UnassignedMerchantGuid; export type UnassignedMerchantGuidDeleted = io.flow.internal.v0.models.UnassignedMerchantGuidDeleted; export type UnassignedMerchantGuidUpserted = io.flow.internal.v0.models.UnassignedMerchantGuidUpserted; export type UnclassifiedProductStatistic = io.flow.internal.v0.models.UnclassifiedProductStatistic; export type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus; export type UnclassifiedProductsPurgeRequest = io.flow.internal.v0.models.UnclassifiedProductsPurgeRequest; export type UnclassifiedProductsSummary = io.flow.internal.v0.models.UnclassifiedProductsSummary; export type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport; export type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport; export type UnserviceableTaxonomyCategory = io.flow.internal.v0.models.UnserviceableTaxonomyCategory; export type UnserviceableTaxonomyCategoryDeleted = io.flow.internal.v0.models.UnserviceableTaxonomyCategoryDeleted; export type UnserviceableTaxonomyCategoryUpserted = io.flow.internal.v0.models.UnserviceableTaxonomyCategoryUpserted; export type Ups = io.flow.internal.v0.models.Ups; export type UsdSpotRate = io.flow.internal.v0.models.UsdSpotRate; export type UsdSpotRateDeleted = io.flow.internal.v0.models.UsdSpotRateDeleted; export type UsdSpotRateUpserted = io.flow.internal.v0.models.UsdSpotRateUpserted; export type UserDeletedV2 = io.flow.internal.v0.models.UserDeletedV2; export type UserOneTimeToken = io.flow.internal.v0.models.UserOneTimeToken; export type UserProductDetailSettings = io.flow.internal.v0.models.UserProductDetailSettings; export type UserProductListSettings = io.flow.internal.v0.models.UserProductListSettings; export type UserStatusForm = io.flow.internal.v0.models.UserStatusForm; export type UserStatusRule = io.flow.internal.v0.models.UserStatusRule; export type UserStatusRuleForm = io.flow.internal.v0.models.UserStatusRuleForm; export type UserUpsertedV2 = io.flow.internal.v0.models.UserUpsertedV2; export type ValidatedAddress = io.flow.internal.v0.models.ValidatedAddress; export type ValidatedShippingData = io.flow.internal.v0.models.ValidatedShippingData; export type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction; export type WasteElectricalAndElectronicEquipmentComplianceData = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceData; export type WasteElectricalAndElectronicEquipmentComplianceForm = io.flow.internal.v0.models.WasteElectricalAndElectronicEquipmentComplianceForm; export type Webhook = io.flow.internal.v0.models.Webhook; export type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;