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.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.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.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.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.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.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.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.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.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.tech.onboarding.playground.v0.enums { type AmruthaItemType = 'physical' | 'digital'; type BojanaItemType = 'physical' | 'digital'; type ChenglinItemType = 'physical' | 'digital'; type ConorItemType = 'digital' | 'physical'; type GabrielItemType = 'physical' | 'digital'; type JohnStrongItemType = 'physical' | 'digital'; type MaheshItemType = 'physical' | 'digital'; type RaveenaItemType = 'physical' | 'digital'; } declare namespace io.flow.tech.onboarding.playground.v0.models { interface AmruthaItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.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.tech.onboarding.playground.v0.enums.AmruthaItemType; readonly added_on: string; } interface BojanaItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.BojanaItemType; readonly added_on: string; } interface BojanaItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.BojanaItemType; readonly added_on: string; } interface ChenglinItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType; readonly added_on: string; } interface ChenglinItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType; readonly added_on: string; } interface ConorItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.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.tech.onboarding.playground.v0.enums.ConorItemType; readonly added_on: string; } interface GabrielItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType; readonly added_on: string; } interface GabrielItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.GabrielItemType; readonly added_on: string; } interface JohnStrongItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.JohnStrongItemType; readonly added_on: string; } interface JohnStrongItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.JohnStrongItemType; readonly added_on: string; } interface MaheshItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.MaheshItemType; readonly added_on: string; } interface MaheshItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.MaheshItemType; readonly added_on: string; } interface RaveenaItem { readonly id: string; readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType; readonly added_on: string; } interface RaveenaItemForm { readonly number: string; readonly amount: io.flow.common.v0.models.Price; readonly description?: string; readonly type: io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType; readonly added_on: string; } interface TechOnboardingDescription { readonly description: string; } } 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.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.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.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.ben.test.internal.v0.models { 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 Test { readonly id: string; readonly name: string; } interface TestForm { readonly name: string; } } declare namespace io.flow.ben.test.internal.v0.unions { type GenerateLoad = | io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg | io.flow.ben.test.internal.v0.models.GenerateLoadMultipleOrgs; } 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.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.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.v0.enums { type AbandonedOrderPromotionStatus = 'active' | 'inactive'; type AbandonedOrderSettingStatus = 'active' | 'inactive'; type AddressFieldName = | 'first_name' | 'last_name' | 'street_1' | 'street_2' | 'city' | 'province' | 'postal' | 'country' | 'phone' | 'company' | 'vat_registration_number'; type AddressVerificationResultFieldCode = | 'matched' | 'not_available' | 'not_checked' | 'not_matched'; type AdjustmentReasonKey = 'duty_deminimis' | 'vat_deminimis'; type AttributeDataType = | 'boolean' | 'integer' | 'decimal' | 'string' | 'json_array'; 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 AuthenticationTechnique = | 'anonymous' | 'session' | 'token' | 'partner_token' | 'user'; 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 AvailabilityStatus = 'enabled' | 'disabled'; type AvailableFilterFormat = | 'boolean' | 'date' | 'money' | 'decimal' | 'string' | 'unit_of_length' | 'unit_of_mass'; type AvsCode = 'match' | 'partial' | 'unsupported' | 'no_match'; type B2BInvoiceType = 'self_bill_invoice' | 'invoice'; type Calendar = 'weekdays' | 'everyday'; type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel'; type Capability = 'crossdock'; 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 CarrierChargeReason = 'return_to_origin' | 'rejection' | 'other'; type CenterCapability = | 'international' | 'domestic' | 'crossdock' | 'commercial_invoice'; type ChangeType = 'insert' | 'update' | 'delete'; type ChannelCurrencyCapability = | 'payment_authorizations' | 'settlement_currency'; type ChannelShopifyOrderStateReasonCode = 'placeholder_reason_code'; type CommercialInvoiceMode = 'direct' | 'indirect'; type ConsumerInvoiceCustomerType = | 'business_eu_verified' | 'business_non_verified' | 'individual'; type ConsumerInvoiceDocumentType = 'pdf'; type ConsumerInvoiceStatus = 'pending' | 'available' | 'invalid'; type CostEstimateSource = 'flow' | 'channel'; type CountryPickerSource = 'experience' | 'destination'; 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 CreditPaymentErrorCode = | 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount'; type CurrencyLabelFormatter = | 'strip_trailing_zeros' | 'symbol_prefix' | 'symbol_suffix'; type CurrencySymbolFormat = 'narrow' | 'primary'; type CustomerAddressType = 'billing' | 'invoice' | 'shipping'; type CvvCode = 'match' | 'suspicious' | 'unsupported' | 'no_match'; type CvvResultCode = | 'matched' | 'not_available' | 'not_checked' | 'not_matched'; type DayOfWeek = | 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday'; type DeliveredDuty = 'paid' | 'unpaid'; type DeliveredDutyDisplayType = 'all' | 'single'; 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 Direction = 'outbound' | 'return'; type DiscountRuleStatus = 'active' | 'scheduled' | 'expired'; type DiscountRuleSubsidyTarget = 'vat' | 'duty'; type DiscountTarget = 'item' | 'shipping'; type DutyItemApprovalStatus = 'pending' | 'certified' | 'decertified'; type EcommercePlatformType = | 'commercetools' | 'custom' | 'hybris' | 'magento' | 'shopify' | 'shopify_markets' | 'sfcc' | 'solidus' | 'workarea'; type EconomicTitleLocation = 'high_seas' | 'origination' | 'destination'; type EntityIdentifierType = 'ioss' | 'voec' | 'zaz'; type Environment = 'sandbox' | 'production'; type EventType = | 'test_upserted' | 'generate_load' | 'amrutha_item_upserted' | 'amrutha_item_deleted' | 'transaction_upserted' | 'organization_transaction_upserted' | 'organization_transaction_deleted' | 'statement_upserted' | 'statement_deleted' | 'channel_transaction_upserted' | 'channel_transaction_deleted' | 'channel_transaction_deleted_v2' | 'channel_statement_upserted' | 'channel_statement_deleted' | 'channel_payout_upserted' | 'channel_payout_deleted' | 'organization_payout_upserted' | 'organization_payout_deleted' | 'channel_pending_payout_transaction_upserted' | 'channel_pending_payout_transaction_deleted' | 'organization_pending_payout_transaction_upserted' | 'organization_pending_payout_transaction_deleted' | 'attribute_upserted' | 'attribute_deleted' | 'attribute_upserted_v2' | 'attribute_deleted_v2' | 'catalog_upserted' | 'catalog_deleted' | 'subcatalog_upserted' | 'subcatalog_deleted' | 'subcatalog_item_upserted' | 'subcatalog_item_deleted' | 'catalog_statistics_upserted' | 'catalog_statistics_deleted' | 'item_inserted' | 'item_updated' | 'item_deleted' | 'channel_upserted' | 'channel_deleted' | 'channel_currency_upserted' | 'channel_currency_deleted' | 'channel_organization_upserted' | 'channel_organization_deleted' | 'channel_shopify_order_state_upserted' | 'channel_shopify_order_state_deleted' | 'b2b_invoice_upserted' | 'b2b_invoice_deleted' | 'b2b_credit_memo_upserted' | 'b2b_credit_memo_deleted' | 'consumer_invoice_upserted' | 'consumer_invoice_deleted' | 'credit_memo_upserted' | 'credit_memo_deleted' | 'fee_invoice_upserted' | 'fee_invoice_deleted' | 'crossdock_shipment_upserted' | 'rate_deleted' | 'rate_upserted' | 'rate_deleted_v3' | 'rate_upserted_v3' | 'allocation_deleted_v2' | 'allocation_upserted_v2' | 'order_deleted_v2' | 'order_upserted_v2' | 'order_identifier_deleted_v2' | 'order_identifier_upserted_v3' | 'order_state_upserted' | 'order_state_deleted' | 'fraud_status_changed' | 'center_upserted' | 'center_deleted' | 'shipping_configuration_upserted' | 'shipping_configuration_deleted' | 'tier_upserted_v2' | 'tier_deleted_v2' | 'shipping_lane_upserted' | 'shipping_lane_deleted' | 'shipping_configuration_item_availability_upserted' | 'shipping_configuration_item_availability_deleted' | 'shipping_configuration_item_shipping_pricing_upserted' | 'shipping_configuration_item_shipping_pricing_deleted' | 'ge_item_inserted' | 'ge_item_updated' | 'ge_item_deleted' | 'hs6_code_upserted' | 'hs6_code_deleted' | 'hs10_code_upserted' | 'hs10_code_deleted' | 'item_origin_upserted' | 'item_origin_deleted' | 'harmonized_landed_cost_upserted' | 'fully_harmonized_item_upserted' | 'tariff_codes_upserted' | 'tariff_codes_deleted' | 'label_deleted_v2' | 'label_upserted_v2' | 'notification_upserted_v2' | 'notification_deleted_v2' | 'manifested_label_upserted' | 'manifested_label_deleted' | 'label_processing_modification_upserted' | 'label_processing_modification_deleted' | 'merchant_application_upserted' | 'merchant_application_deleted' | 'order_placed' | 'order_placed_v2' | 'ready_to_fulfill' | 'ready_to_fulfill_v2' | 'membership_upserted_v2' | 'membership_deleted_v2' | 'organization_upserted' | 'organization_deleted' | 'organization_upserted_v2' | 'organization_deleted_v2' | 'ecommerce_platform_upserted' | 'ecommerce_platform_deleted' | 'tax_registration_upserted' | 'tax_registration_deleted' | 'organization_onboarding_state_upserted' | 'organization_onboarding_state_deleted' | 'authorization_deleted_v2' | 'authorization_status_changed' | 'card_authorization_upserted_v2' | 'card_authorization_deleted_v2' | 'online_authorization_upserted_v2' | 'online_authorization_deleted_v2' | 'capture_upserted_v2' | 'capture_deleted' | 'card_upserted_v2' | 'card_deleted' | 'payment_upserted' | 'payment_deleted' | 'refund_upserted_v2' | 'refund_deleted_v2' | 'refund_capture_upserted_v2' | 'reversal_upserted' | 'reversal_deleted' | 'capture_identifier_upserted' | 'capture_identifier_deleted' | 'refund_identifier_upserted' | 'refund_identifier_deleted' | 'virtual_card_capture_upserted' | 'virtual_card_capture_deleted' | 'virtual_card_refund_upserted' | 'virtual_card_refund_deleted' | 'authorization_retry_upserted' | 'authorization_retry_deleted' | 'transfer_upserted' | 'transfer_deleted' | 'payment_request_upserted' | 'payment_request_deleted' | 'price_book_upserted' | 'price_book_deleted' | 'price_book_item_upserted' | 'price_book_item_deleted' | 'product_inserted' | 'product_updated' | 'product_deleted' | 'organization_rates_published' | 'ratecard_lane_upserted' | 'ratecard_lane_deleted' | 'ratecard_upserted' | 'ratecard_deleted' | 'product_restriction_result_upserted' | 'product_restriction_result_deleted' | 'product_sellability_result_upserted' | 'product_sellability_result_deleted' | 'shopify_localization_setting_upserted' | 'shopify_localization_setting_deleted' | 'tracking_label_event_upserted' | 'tracking_label_event_upserted_v2'; type ExceptionType = 'open' | 'closed'; type ExclusionRuleState = 'current' | 'deleting' | 'updating'; type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed'; type ExperienceCountryStatus = 'enabled' | 'disabled'; type ExperiencePaymentMethodTag = 'display'; type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived'; type ExportStatus = 'created' | 'processing' | 'completed' | 'failed'; type ExporterOfRecord = 'flow' | 'organization'; 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 FeeInvoiceType = | 'mor_invoice' | 'label_invoice' | 'mor_credit_memo' | 'label_credit_memo'; type FlowBehavior = 'view_consumer_data'; type FlowEntity = | 'flow-usa' | 'flow-irl' | 'flow-can' | 'ge-usa' | 'ge-can' | 'ge-can-ship' | 'ge-gbr' | 'ge-irl'; 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 FraudEmailRuleDecision = 'approved' | 'declined'; type FraudLiability = 'flow' | 'organization'; type FraudStatus = 'pending' | 'approved' | 'declined' | 'review'; type FtpFileSource = 'flow' | 'organization'; type FulfillmentItemQuantityStatus = 'new' | 'shipped' | 'cancelled'; type FulfillmentMethodType = 'fulfillment_method'; type FulfillmentMethodValue = 'digital' | 'physical'; type FulfillmentRouting = 'fulfilled_from_center' | 'fulfillment_service'; type GeCatalogItemIngestionResponse = 'success' | 'failure'; type GeEventType = 'restriction_result' | 'ingestion_result'; type GenericErrorCode = 'generic_error' | 'client_error' | 'server_error'; type GoodsSupply = 'export' | 'intra_community' | 'local'; type HolidayCalendar = 'us_bank_holidays' | 'jewish_holidays'; type ImageTag = 'thumbnail' | 'checkout'; type ImportType = | 'catalog_items' | 'catalog_items_external' | 'customs_descriptions' | 'customs_description_tariffs' | 'experiences_with_settings' | 'harmonization_codes' | 'item_prices' | 'item_form_overlays' | 'price_book_items' | 'price_book_items_query' | 'ratecard_lanes' | 'order_service_changes'; 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 IncotermConfiguration = 'DDP' | 'DAP' | 'DDU' | 'UNSUPPORTED'; type InlineWindowViewportSize = | 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen' | 'responsive'; type InputSpecificationType = 'text' | 'number'; type InvitationErrorCode = 'expired' | 'invalid_email'; type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock'; type ItemIdentifier = 'item_number' | 'sku'; 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 LaneDirection = 'outbound' | 'return'; type LanePreselectPreference = 'lowest_cost' | 'default_tier'; type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority'; type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat'; type LevyInclusion = 'tax' | 'duty'; type LevyStrategy = 'minimum' | 'average' | 'maximum'; type LocationErrorCode = | 'address_required' | 'ip_invalid' | 'ip_required' | 'timezone_unavailable'; type LogisticsFormatPreference = | 'shopify_console' | 'existing_3pl_integration' | 'byo_integration'; type MarginType = 'fixed' | 'percent'; type MeasurementSystem = 'imperial' | 'metric'; type MerchantDisabledReason = 'merchant_deactivated' | 'merchant_rejected'; type MerchantGiftCardErrorCode = | 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency'; type MerchantOfRecord = 'flow' | 'organization'; type MerchantRejectedReason = | 'merchant_ubo_is_pep' | 'merchant_catalog_is_unsupportable' | 'merchant_failed_kyb_review'; type Method = 'post'; type OnboardingApplicationStatus = | 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted'; 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'; 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 OrderChangeSource = | 'consumer' | 'retailer' | 'fulfillment' | 'flow' | 'carrier'; 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 OrderMerchantOfRecord = 'flow' | 'organization' | 'mixed'; type OrderPaymentSourceType = 'globale' | 'third_party'; type OrderPaymentType = | 'card' | 'online' | 'credit' | 'external' | 'subsidized' | 'installment_plan' | 'cash_on_delivery'; 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'; type OrderRefundSummaryIncludes = 'duties' | 'vat' | 'shipping'; type OrderRefundSummaryPartialCharged = | 'per_item' | 'for_order' | 'by_value_percentage' | 'by_quantity_percentage'; type OrderStateStatus = 'pending' | 'accepted' | 'rejected'; type OrderStatus = 'open' | 'submitted'; type OrderStorage = 'do_not_persist' | 'persist'; type OrderType = 'standard' | 'replacement' | 'edit'; type OrganizationPaymentMethodTag = 'deny'; type OrganizationStatus = | 'active' | 'inactive' | 'deactivated' | 'provisioned'; type OrganizationType = 'standalone' | 'channel'; 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 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 PaymentErrorCode = | 'duplicate' | 'invalid_amount' | 'invalid_currency' | 'invalid_method' | 'invalid_order' | 'invalid_customer' | 'invalid_destination' | 'unknown'; type PaymentFailureCode = | 'action_expired' | 'action_cancelled' | 'action_failed' | 'authorization_declined' | 'not_supported' | 'fraudulent' | 'error' | 'payment_checks_declined'; type PaymentFeeType = 'fx' | 'mor' | 'sp' | 'mor_tax'; type PaymentMethodCapability = 'credit' | 'debit'; type PaymentMethodDataOptionType = 'ideal_issuer_option'; type PaymentMethodRuleContentKey = 'description'; type PaymentMethodType = 'card' | 'online' | 'offline'; 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 PaymentSourceConfirmationActionType = | 'cvv' | 'billing_address' | 'number'; 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'; 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 PermittedHttpMethod = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH'; type PhysicalDeliverySpecialSerivce = | 'cold_storage' | 'hazardous' | 'perishable'; type PostalType = 'eircode' | 'pin' | 'postal' | 'zip'; type PreferentialRateEligibility = 'baby_clothing' | 'kids_clothing'; type PreferredServiceSelectionStrategy = | 'calculated_rate' | 'flat_rate' | 'custom_rate'; type PriceAccuracy = 'calculated' | 'estimated_from_partial_destination'; type PriceBookStatus = 'draft' | 'published' | 'archived'; 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 PriceFacetBoundary = 'min' | 'max'; type PricingLevySetting = 'included' | 'displayed' | 'ignored'; type PricingType = 'inclusive_pricing' | 'inclusive_pricing_with_shipping'; type PromotionTriggerType = 'automatic' | 'order_subtotal'; type ProvinceType = | 'area' | 'city' | 'county' | 'department' | 'dependency' | 'district' | 'do_si' | 'emirate' | 'entity' | 'island' | 'municipality' | 'oblast' | 'outlying_area' | 'parish' | 'prefecture' | 'province' | 'state' | 'territory' | 'other'; type QuoteErrorCode = | 'generic_error' | 'items_not_available' | 'shipping_unavailable'; type RatecardOwner = 'flow' | 'organization'; 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 RegionType = 'state' | 'province' | 'jurisdiction'; type RestrictedReviewStatus = 'in_review' | 'reviewed'; type RestrictionDecision = 'accept' | 'reject' | 'escalate' | 'review'; type RestrictionDecisionReason = 'manual_dispute' | 'operations_decision'; type RestrictionEnvironment = 'sandbox' | 'production' | 'qa'; type ReturnItemStatus = 'returnable' | 'non-returnable'; type ReturnPolicyState = 'current' | 'deleting' | 'updating'; 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'; 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 ReviewStatus = 'high_risk_in_review' | 'low_risk_in_review' | 'reviewed'; type Role = 'admin' | 'member'; type RoundingMethod = 'up' | 'down' | 'nearest'; type RoundingType = 'pattern' | 'multiple'; type RuleEffectType = 'market' | 'dhl' | 'dhl_ecommerce' | 'ups'; type ScheduleExceptionStatus = 'Open' | 'Closed'; 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'; type ShipmentIntegrationType = 'direct' | 'information' | 'preadvice'; type ShipmentRecipient = 'customer' | 'return' | 'crossdock'; type ShippingConfigurationType = 'default' | 'variant'; 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 ShopifyGrant = | 'customer' | 'discount' | 'gift_card' | 'metafield' | 'order'; type ShopifyLocalizationMethod = 'api' | 'ssr'; type ShopifySyncCheck = 'localized_variants' | 'flow_variant_metafields'; type SortDirection = 'ascending' | 'descending'; type StatementAttachmentType = 'csv' | 'pdf'; type StatementStatusCode = 'scheduled' | 'sent' | 'failed' | 'paid'; type StoredMethodUsageStep = 'initial' | 'subsequent'; type Strategy = 'range' | 'from' | 'to'; type SubcatalogItemStatus = 'excluded' | 'included' | 'restricted'; 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 SurchargeResponsibleParty = 'organization' | 'customer'; type TaxAndDutyInclusivitySetting = | 'duty_exclusive_tax_exclusive' | 'duty_inclusive_tax_exclusive' | 'duty_exclusive_tax_inclusive' | 'duty_inclusive_tax_inclusive'; type TaxApplicability = 'none' | 'all'; type TaxDutyCalculatorValidationErrorCode = | 'generic_error' | 'destination_country_not_defined' | 'destination_address_iso3166_unrecognized' | 'line_item_shipfrom_shipto_country_invalid' | 'line_item_ship_from_invalid' | 'line_item_currency_iso4217_unrecognized' | 'line_quantity_invalid' | 'line_item_quantity_invalid' | 'line_item_unit_price_precision_invalid' | 'line_item_unit_price_negative' | 'line_item_discount_amount_precision_invalid' | 'line_item_discount_amount_positive' | 'line_item_country_of_origin_iso3166_unrecognized' | 'line_item_hs_code_invalid' | 'line_item_duty_provider_invalid' | 'shipping_unit_price_precision_invalid' | 'shipping_unit_price_negative' | 'shipping_discount_amount_precision_invalid' | 'shipping_discount_amount_invalid' | 'merchant_of_record_invalid' | 'wrong_unit_specified'; 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 TaxJurisdictionType = 'country' | 'province'; type TaxType = 'vat' | 'gst' | 'hst' | 'pst' | 'qst' | 'sales_tax'; type TaxVerificationResult = 'valid' | 'invalid' | 'unable_to_validate'; type TaxabilityType = 'tax_rule'; type TaxabilityValue = 'exempt'; type ThreeDSecureCode = 'verified' | 'not_verified' | 'failed'; type ThreedsTwoChallengeViewport = | 'xxx_small' | 'xx_small' | 'x_small' | 'small' | 'fullscreen'; type TierAvailability = 'always' | 'backup'; type TierEstimateType = 'calculated' | 'custom'; type TierStrategy = 'fastest' | 'lowest_cost'; type TokenType = 'permanent' | 'one_time'; type TrackingNumberType = 'flow' | 'carrier'; type TrackingStatus = | 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired' | 'unknown' | 'unmapped'; type TradeAgreementName = 'USMCA' | 'T-MEC' | 'CUSMA' | 'TCA'; type TradeAgreementStatus = 'supported' | 'not_supported'; 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 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'; type TrueupSource = | 'flow' | 'channel' | 'dhl-parcel' | 'dhl' | 'ups' | 'fedex'; 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'; type UnitOfLength = 'millimeter' | 'centimeter' | 'inch' | 'foot' | 'meter'; 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 UnitOfVolume = | 'cubic_inch' | 'cubic_foot' | 'cubic_millimeter' | 'cubic_centimeter' | 'cubic_meter'; type UnitOfWeight = 'gram' | 'kilogram' | 'ounce' | 'pound'; type UpdatePolicy = 'auto' | 'queue' | 'discard'; type UserStatus = 'pending' | 'active' | 'inactive'; type ValueAddedService = 'Hazardous Material'; type Visibility = 'public' | 'private'; type WebhookStatus = 'pending' | 'success' | 'failure' | 'ignored'; type WithholdingDeductionType = 'tax' | 'duty' | 'freight' | 'insurance'; type ZeroAmountIndicator = 'zero' | 'free'; type ZeroLevyReasonCode = | 'zero_basis' | 'zero_rate_on_goods' | 'value_rounds_to_zero' | 'order_below_de_minimis_threshold' | 'amount_below_de_minimis_threshold' | 'delivered_unpaid' | 'duty_free_domestic' | 'duty_free_intra_community' | 'duty_free_reimport' | 'duty_free_by_trade_agreement'; } declare namespace io.flow.v0.models { interface AbandonedOrderEmailSettings { readonly delay: io.flow.v0.models.Duration; readonly frequency: io.flow.v0.models.Duration; } interface AbandonedOrderPromotion { readonly id: string; readonly name: string; readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails; readonly status: io.flow.v0.enums.AbandonedOrderPromotionStatus; readonly starts_at?: string; readonly ends_at?: string; } interface AbandonedOrderPromotionDiscountDetails { readonly discriminator: 'abandoned_order_promotion_discount_details'; readonly discount_form: io.flow.v0.models.DiscountForm; readonly attributes: Record; } interface AbandonedOrderPromotionForm { readonly name: string; readonly promotion_details: io.flow.v0.unions.AbandonedOrderPromotionDetails; readonly status?: io.flow.v0.enums.AbandonedOrderPromotionStatus; readonly starts_at?: string; readonly ends_at?: string; } interface AbandonedOrderSettings { readonly email_settings: io.flow.v0.models.AbandonedOrderEmailSettings; readonly status: io.flow.v0.enums.AbandonedOrderSettingStatus; } interface AccountIdReference { readonly id: string; } 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 AccountReference { readonly id: string; readonly currency: 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 AchAuthorizationForm { readonly discriminator: 'ach_authorization_form'; readonly account_owner_name: string; readonly account_number: string; readonly routing_number: string; readonly billing_address: io.flow.v0.models.BillingAddress; readonly order_number?: string; readonly amount: number; readonly currency: string; readonly key?: string; readonly attributes?: Record; readonly ip?: string; } 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.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.v0.models.PaymentMethodDataPaymentOption[]; readonly option_type: io.flow.v0.enums.PaymentMethodDataOptionType; } interface ActionUseSdkAdyenV3 { readonly type: 'use_sdk_adyen_v3'; readonly expires_at?: string; readonly origin_key: string; readonly authentication_token: io.flow.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.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 ActivationPutForm { readonly placeholder?: boolean; } 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.v0.enums.UnitOfMeasurement; readonly weight_threshold?: number; readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly amount: io.flow.v0.models.Money; } interface AdditionalServicesRequested { readonly name: string; readonly description?: string; } 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 AddressConfiguration { readonly country: string; readonly field_validation: io.flow.v0.models.AddressFieldValidation; readonly provinces: io.flow.v0.models.AddressConfigurationProvince[]; readonly formats?: io.flow.v0.models.AddressConfigurationFormat[]; readonly province_type?: io.flow.v0.enums.ProvinceType; readonly postal_type?: io.flow.v0.enums.PostalType; } interface AddressConfigurationFieldPlacement { readonly name: io.flow.v0.enums.AddressFieldName; } interface AddressConfigurationFormat { readonly placements: io.flow.v0.models.AddressConfigurationFieldPlacement[]; } interface AddressConfigurationProvince { readonly value: string; readonly name: string; readonly translations?: io.flow.v0.models.AddressConfigurationProvinceTranslation[]; } interface AddressConfigurationProvinceTranslation { readonly locale: io.flow.v0.models.AddressConfigurationProvinceTranslationLocale; readonly name: string; } interface AddressConfigurationProvinceTranslationLocale { readonly id: string; readonly name: string; readonly language: string; } interface AddressFieldValidation { readonly first_name: io.flow.v0.unions.FieldValidationRule[]; readonly last_name: io.flow.v0.unions.FieldValidationRule[]; readonly street_1: io.flow.v0.unions.FieldValidationRule[]; readonly street_2: io.flow.v0.unions.FieldValidationRule[]; readonly city: io.flow.v0.unions.FieldValidationRule[]; readonly province: io.flow.v0.unions.FieldValidationRule[]; readonly postal: io.flow.v0.unions.FieldValidationRule[]; readonly phone: io.flow.v0.unions.FieldValidationRule[]; readonly vat_registration_number: io.flow.v0.unions.FieldValidationRule[]; } interface AddressSuggestion { readonly address: io.flow.v0.models.Address; readonly streets: boolean; readonly city: boolean; readonly province: boolean; readonly postal: boolean; readonly country: boolean; } interface AddressVerification { readonly address: io.flow.v0.models.Address; readonly valid: boolean; readonly suggestions: io.flow.v0.models.AddressSuggestion[]; } interface AddressVerificationResult { readonly street_code: io.flow.v0.enums.AddressVerificationResultFieldCode; readonly postal_code: io.flow.v0.enums.AddressVerificationResultFieldCode; readonly name_code: io.flow.v0.enums.AddressVerificationResultFieldCode; readonly raw?: string; } interface AdjustmentReason { readonly key: io.flow.v0.enums.AdjustmentReasonKey; readonly label: 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.v0.unions.AdyenNativeData; } interface AdyenV3ChallengeToken { readonly type: 'token'; readonly challenge_token: string; } interface AdyenV3FingerprintToken { readonly type: 'fingerprint'; readonly fingerprint_token: string; } interface Allocation { readonly order: io.flow.v0.models.AllocationOrderSummary; readonly details: io.flow.v0.unions.AllocationDetail[]; } interface AllocationDeletedV2 { readonly discriminator: 'allocation_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface AllocationDetailComponent { readonly discriminator: 'allocation_detail_component'; readonly key: io.flow.v0.enums.OrderPriceDetailComponentKey; readonly total: io.flow.v0.models.PriceWithBase; readonly price?: io.flow.v0.models.PriceWithBase; } interface AllocationLevyComponent { readonly discriminator: 'allocation_levy_component'; readonly key: io.flow.v0.enums.OrderPriceDetailComponentKey; readonly total: io.flow.v0.models.PriceWithBase; readonly rate: number; readonly name: string; readonly price?: io.flow.v0.models.PriceWithBase; readonly accuracy?: io.flow.v0.enums.PriceAccuracy; readonly basis?: io.flow.v0.models.MoneyWithBase; } interface AllocationLineDetail { readonly discriminator: 'allocation_line_detail'; readonly id?: string; readonly number: string; readonly quantity: number; readonly key: io.flow.v0.enums.OrderPriceDetailKey; readonly price: io.flow.v0.models.PriceWithBase; readonly total: io.flow.v0.models.PriceWithBase; readonly included: io.flow.v0.unions.AllocationComponent[]; readonly not_included: io.flow.v0.unions.AllocationComponent[]; } interface AllocationLineSummary { readonly line_items: io.flow.v0.models.AllocationLineSummaryLineItem[]; readonly shipping: io.flow.v0.models.AllocationLineSummaryShipping; readonly subtotal: io.flow.v0.models.MoneyWithBase; readonly discount: io.flow.v0.models.MoneyWithBase; readonly duties: io.flow.v0.models.MoneyWithBase; readonly tax: io.flow.v0.models.MoneyWithBase; readonly tax_subsidy: io.flow.v0.models.MoneyWithBase; readonly duties_subsidy: io.flow.v0.models.MoneyWithBase; readonly total: io.flow.v0.models.MoneyWithBase; } interface AllocationLineSummaryLineItem { readonly item_number: string; readonly line_number?: string; readonly subtotal: io.flow.v0.models.MoneyWithBase; readonly discount: io.flow.v0.models.MoneyWithBase; readonly duties: io.flow.v0.models.MoneyWithBase; readonly tax: io.flow.v0.models.MoneyWithBase; readonly tax_subsidy: io.flow.v0.models.MoneyWithBase; readonly duties_subsidy: io.flow.v0.models.MoneyWithBase; readonly total: io.flow.v0.models.MoneyWithBase; } interface AllocationLineSummaryShipping { readonly subtotal: io.flow.v0.models.MoneyWithBase; readonly discount: io.flow.v0.models.MoneyWithBase; readonly duties: io.flow.v0.models.MoneyWithBase; readonly tax: io.flow.v0.models.MoneyWithBase; readonly tax_subsidy: io.flow.v0.models.MoneyWithBase; readonly duties_subsidy: io.flow.v0.models.MoneyWithBase; readonly total: io.flow.v0.models.MoneyWithBase; } interface AllocationOrderDetail { readonly discriminator: 'allocation_order_detail'; readonly key: io.flow.v0.enums.OrderPriceDetailKey; readonly total: io.flow.v0.models.PriceWithBase; readonly included: io.flow.v0.unions.AllocationComponent[]; readonly not_included: io.flow.v0.unions.AllocationComponent[]; } interface AllocationOrderSummary { readonly id: string; readonly number: string; readonly submitted_at?: string; } interface AllocationUpsertedV2 { readonly discriminator: 'allocation_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly allocation: io.flow.v0.models.AllocationV2; } interface AllocationV2 { readonly id: string; readonly order: io.flow.v0.models.AllocationOrderSummary; readonly details: io.flow.v0.unions.AllocationDetail[]; readonly total: io.flow.v0.models.LocalizedTotal; } interface AmountMargin { readonly discriminator: 'amount_margin'; readonly margin: io.flow.v0.models.Price; } interface AmountMarginForm { readonly discriminator: 'amount_margin_form'; readonly margin: io.flow.v0.models.Money; } interface AmruthaItemDeleted { readonly discriminator: 'amrutha_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface AmruthaItemUpserted { readonly discriminator: 'amrutha_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly item: io.flow.tech.onboarding.playground.v0.models.AmruthaItem; } interface AnalyticsExportType { readonly discriminator: 'analytics_export_type'; readonly from?: string; readonly to?: string; readonly region?: string; readonly interval?: io.flow.v0.enums.UnitOfTime; } 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 AtCost { readonly discriminator: 'at_cost'; readonly ignore?: string; } interface Attachment { readonly type: io.flow.v0.enums.StatementAttachmentType; readonly url: string; } interface Attribute { readonly id: string; readonly key: string; readonly options: io.flow.v0.models.Options; readonly label?: string; readonly intent?: io.flow.v0.enums.AttributeIntent; readonly type?: io.flow.v0.enums.AttributeDataType; readonly position?: number; } interface AttributeDeleted { readonly discriminator: 'attribute_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly key: string; } interface AttributeDeletedV2 { readonly discriminator: 'attribute_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface AttributeForm { readonly key: string; readonly options: io.flow.v0.models.Options; readonly label?: string; readonly intent?: io.flow.v0.enums.AttributeIntent; readonly type?: io.flow.v0.enums.AttributeDataType; readonly position?: number; } interface AttributeUpserted { readonly discriminator: 'attribute_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly key: string; readonly label: string; readonly intent?: string; readonly type: string; } interface AttributeUpsertedV2 { readonly discriminator: 'attribute_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly attribute: io.flow.v0.models.Attribute; } interface AttributeVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly attribute: io.flow.v0.models.Attribute; } interface AuthenticationForm { readonly email: string; readonly password: string; } interface AuthorizationActionResultAdyenV3 { readonly type: 'adyen_v3'; readonly result: any /*object*/; } interface AuthorizationActionResultAdyenV4 { readonly type: 'adyen_v4'; readonly result: 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 AuthorizationDeletedV2 { readonly discriminator: 'authorization_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface AuthorizationError { readonly code: io.flow.v0.enums.AuthorizationDeclineCode; readonly messages: string[]; readonly avs?: io.flow.v0.models.Avs; readonly cvv?: io.flow.v0.models.Cvv; } interface AuthorizationOrderReference { readonly discriminator: 'flow_order'; readonly number: string; } interface AuthorizationPayload { readonly parameters: io.flow.v0.unions.AuthorizationPayloadParameters; } interface AuthorizationReference { readonly id: string; readonly key: string; readonly order?: io.flow.v0.models.AuthorizationOrderReference; } interface AuthorizationResult { readonly status: io.flow.v0.enums.AuthorizationStatus; readonly action?: io.flow.v0.unions.AuthorizationResultAction; readonly decline_code?: io.flow.v0.enums.AuthorizationDeclineCode; readonly avs?: io.flow.v0.models.Avs; readonly cvv?: io.flow.v0.models.Cvv; readonly three_d_secure?: io.flow.v0.models.ThreeDSecure; readonly description?: io.flow.v0.models.AuthorizationResultDescription; readonly authorization_code?: io.flow.v0.models.AuthorizationCode; } interface AuthorizationResultActionGet { readonly discriminator: 'authorization_result_action_get'; readonly type: io.flow.v0.enums.AuthorizationResultActionType; readonly url?: string; readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails; } interface AuthorizationResultActionNative { readonly discriminator: 'authorization_result_action_native'; readonly type: io.flow.v0.enums.AuthorizationResultActionType; readonly authorization: io.flow.v0.models.AuthorizationReference; readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails; } interface AuthorizationResultActionPost { readonly discriminator: 'authorization_result_action_post'; readonly type: io.flow.v0.enums.AuthorizationResultActionType; readonly url: string; readonly parameters: any /*object*/; } interface AuthorizationResultActionWait { readonly discriminator: 'authorization_result_action_wait'; readonly type: io.flow.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 AuthorizationRetryDeleted { readonly discriminator: 'authorization_retry_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface AuthorizationRetryUpserted { readonly discriminator: 'authorization_retry_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly authorization_retry: io.flow.v0.models.AuthorizationRetry; } interface AuthorizationStatusChanged { readonly discriminator: 'authorization_status_changed'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly authorization: io.flow.v0.unions.Authorization; } interface AuthorizationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly authorization: io.flow.v0.unions.Authorization; } interface AvailableFilterStructured { readonly discriminator: 'structured'; readonly field: string; readonly operators: string[]; readonly format: io.flow.v0.enums.AvailableFilterFormat; readonly valid_values?: string[]; readonly placeholder?: string; } interface AvailableFilterUnstructured { readonly discriminator: 'unstructured'; readonly placeholder?: string; } interface AvailablePromotion { readonly id: string; readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference; readonly region: io.flow.v0.models.RegionReference; readonly promotions: io.flow.v0.unions.Promotion[]; } interface AvailableService { readonly service: string; readonly scheduled_pickups?: io.flow.v0.models.ScheduledPickup[]; readonly lead_days?: io.flow.v0.models.NumberRange; } interface Avs { readonly code: io.flow.v0.enums.AvsCode; readonly name?: boolean; readonly address?: boolean; readonly postal?: boolean; readonly description?: string; } interface B2BCreditMemo { readonly id: string; readonly number: string; readonly buyer: io.flow.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.v0.models.MerchantOfRecordEntity; readonly status: io.flow.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly invoice: io.flow.v0.models.B2BInvoiceReference; readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[]; readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[]; readonly tax?: io.flow.v0.models.Money; readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType; readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference; readonly order?: io.flow.v0.models.ConsumerInvoiceOrderSummary; readonly voids_b2b_invoice?: boolean; } interface B2BCreditMemoDeleted { readonly discriminator: 'b2b_credit_memo_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo; } interface B2BCreditMemoUpserted { readonly discriminator: 'b2b_credit_memo_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly b2b_credit_memo: io.flow.v0.models.B2BCreditMemo; } interface B2BCreditNote { readonly id: string; readonly number: string; readonly status: io.flow.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly debit_note: io.flow.v0.models.B2BDebitNoteReference; readonly order?: io.flow.v0.models.ConsumerInvoiceOrderSummary; readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference; readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly voids_b2b_debit_note?: boolean; } interface B2BDebitNote { readonly id: string; readonly number: string; readonly buyer: io.flow.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.v0.models.MerchantOfRecordEntity; readonly status: io.flow.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly order: io.flow.v0.models.ConsumerInvoiceOrderSummary; readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference; readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.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.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.v0.models.MerchantOfRecordEntity; readonly status: io.flow.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly order: io.flow.v0.models.ConsumerInvoiceOrderSummary; readonly economic_title_location: io.flow.v0.enums.EconomicTitleLocation; readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference; readonly destination?: io.flow.v0.models.OrderAddress; readonly tax: io.flow.v0.models.Money; readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[]; readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly estimated_delivery_date?: string; readonly b2b_invoice_type: io.flow.v0.enums.B2BInvoiceType; } interface B2BInvoiceDeleted { readonly discriminator: 'b2b_invoice_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly b2b_invoice: io.flow.v0.models.B2BInvoice; } interface B2BInvoiceReference { readonly id: string; readonly key: string; readonly number: string; } interface B2BInvoiceUpserted { readonly discriminator: 'b2b_invoice_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly b2b_invoice: io.flow.v0.models.B2BInvoice; } interface BankAccountFormInfo { readonly discriminator: 'info'; readonly info: io.flow.v0.unions.BankAccountInfo; } interface BankAccountFormSimple { readonly discriminator: 'simple'; readonly routing_number: string; readonly account_number: string; } 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; } interface BankAccountReference { readonly id: string; } interface BankAccountSummary { readonly last4: string; } interface BehaviorAudit { readonly behavior: io.flow.v0.enums.FlowBehavior; readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[]; readonly roles: io.flow.v0.enums.FlowRole[]; } interface BillingAddress { readonly name?: io.flow.v0.models.Name; readonly streets?: string[]; readonly city?: string; readonly province?: string; readonly postal?: string; readonly country?: string; readonly company?: string; } interface BillingChannelOrderSummary { readonly organization: io.flow.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 BridgeManifest { readonly id: string; readonly service: io.flow.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.v0.models.LineItemForm[]; readonly package?: io.flow.v0.models.ShippingLabelPackage; readonly origin?: io.flow.v0.models.ShippingAddress; readonly direction?: io.flow.v0.enums.Direction; readonly reference_id?: string; readonly origin_location_source?: io.flow.v0.enums.OriginLocationSource; readonly hub_code?: 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.v0.models.PostPaymentRedirectUrls; readonly action_configuration?: io.flow.v0.unions.BrowserActionConfiguration; } interface Capture { readonly id: string; readonly key: string; readonly authorization: io.flow.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly requested?: io.flow.v0.models.Money; readonly created_at: string; readonly attributes?: Record; readonly status?: io.flow.v0.enums.CaptureStatus; readonly base?: io.flow.v0.models.Money; readonly fees?: io.flow.v0.models.PaymentFee[]; } interface CaptureDeleted { readonly discriminator: 'capture_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly capture: io.flow.v0.models.Capture; } interface CaptureError { readonly code: io.flow.v0.enums.GenericErrorCode; readonly messages: string[]; readonly decline_code: io.flow.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.v0.models.CaptureReference; readonly name: string; readonly identifier: string; readonly primary: boolean; } interface CaptureIdentifierDeleted { readonly discriminator: 'capture_identifier_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly identifier: io.flow.v0.models.CaptureIdentifier; } interface CaptureIdentifierUpserted { readonly discriminator: 'capture_identifier_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly identifier: io.flow.v0.models.CaptureIdentifier; } interface CaptureReference { readonly discriminator: 'capture_reference'; readonly id: string; readonly key: string; } interface CaptureUpsertedV2 { readonly discriminator: 'capture_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly capture: io.flow.v0.models.Capture; } interface CaptureVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly capture: io.flow.v0.models.Capture; } interface Card { readonly discriminator: 'card'; readonly id: string; readonly token: string; readonly type: io.flow.v0.enums.CardType; readonly expiration: io.flow.v0.models.Expiration; readonly iin: string; readonly issuer?: io.flow.v0.models.IssuerSummary; readonly last4: string; readonly name: string; readonly address?: io.flow.v0.models.BillingAddress; } interface CardAuthorization { readonly discriminator: 'card_authorization'; readonly id: string; readonly key: string; readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord; readonly method?: io.flow.v0.models.PaymentMethod; readonly card: io.flow.v0.unions.ExpandableCard; readonly amount: number; readonly currency: string; readonly requested?: io.flow.v0.models.Money; readonly customer: io.flow.v0.models.OrderCustomer; readonly attributes: Record; readonly destination?: io.flow.v0.models.Address; readonly billing_address?: io.flow.v0.models.BillingAddress; readonly order?: io.flow.v0.models.AuthorizationOrderReference; readonly payment_order_reference?: io.flow.v0.unions.PaymentOrderReference; readonly ip?: string; readonly result: io.flow.v0.models.AuthorizationResult; readonly created_at: string; readonly expires_at?: string; readonly base?: io.flow.v0.models.Money; readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor; readonly stored_method_usage_step?: io.flow.v0.enums.StoredMethodUsageStep; readonly authorized_at?: string; readonly authorization_request_id?: string; } interface CardAuthorizationDeletedV2 { readonly discriminator: 'card_authorization_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly authorization: io.flow.v0.models.CardAuthorization; } interface CardAuthorizationUpsertedV2 { readonly discriminator: 'card_authorization_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly authorization: io.flow.v0.models.CardAuthorization; } interface CardBrowserActionConfiguration { readonly discriminator: 'card_browser_action_configuration'; readonly viewport: io.flow.v0.enums.ThreedsTwoChallengeViewport; } interface CardConfirmationSummary { readonly discriminator: 'card_confirmation_summary'; readonly type?: io.flow.v0.enums.CardType; readonly funding_type?: string; readonly expiration?: io.flow.v0.models.Expiration; readonly iin?: string; readonly issuer?: io.flow.v0.models.IssuerSummary; readonly last4?: string; } interface CardDeleted { readonly discriminator: 'card_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface CardDeletedV2 { readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly card: io.flow.v0.models.Card; } interface CardError { readonly code: io.flow.v0.enums.CardErrorCode; readonly messages: string[]; readonly avs?: io.flow.v0.models.Avs; readonly cvv?: io.flow.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.v0.models.BillingAddress; readonly ip?: string; readonly challenge_text?: string; readonly challenge_cipher?: string; readonly token_type?: io.flow.v0.enums.TokenType; readonly requested_currency?: string; readonly metadata?: io.flow.v0.models.CardMetadata; } interface CardMetadata { readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord; } interface CardNonceForm { readonly token: string; } interface CardPaymentSource { readonly discriminator: 'card_payment_source'; readonly id: string; readonly actions?: io.flow.v0.models.PaymentSourceConfirmationAction[]; readonly summary: io.flow.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.v0.models.BrowserInfo; readonly inline_action_configuration?: io.flow.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.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.v0.enums.CardType; readonly expiration: io.flow.v0.models.Expiration; readonly iin: string; readonly issuer?: io.flow.v0.models.IssuerSummary; readonly last4: string; readonly name: string; readonly address?: io.flow.v0.models.BillingAddress; } interface CardTokenForm { readonly token: string; } interface CardUpsertedV2 { readonly discriminator: 'card_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly card: io.flow.v0.models.Card; } interface CardVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly card: io.flow.v0.models.Card; } interface Carrier { readonly id: string; readonly name: string; readonly tracking_url: string; } interface CarrierReference { readonly id: string; } interface CarrierRestrictions { readonly carrier: string; readonly regions: string[]; } interface CarrierService { readonly id: string; readonly carrier: io.flow.v0.models.Carrier; readonly name: string; } interface CartReference { readonly id: string; } interface Catalog { readonly id: string; } interface CatalogDeleted { readonly discriminator: 'catalog_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; } interface CatalogItemDocument { readonly discriminator: 'catalog_item_document'; readonly number: string; readonly name: string; readonly categories: string[]; readonly experiences: io.flow.v0.models.ExperienceSummary[]; readonly attributes: Record; readonly images: io.flow.v0.models.CatalogItemDocumentImages; } interface CatalogItemDocumentImages { readonly thumbnail?: io.flow.v0.models.Image; } interface CatalogItemExportType { readonly discriminator: 'catalog_item_export_type'; readonly numbers?: string[]; readonly q?: string; readonly sort?: string; } interface CatalogItemReference { readonly id: string; readonly number: string; } interface CatalogItemSummary { readonly number: string; readonly name: string; readonly attributes: Record; } interface CatalogPriceBookItemDocument { readonly price_book_key: string; readonly price_book_item_key: string; readonly catalog: io.flow.v0.models.CatalogItemSummary; readonly price?: io.flow.v0.models.Price; readonly amount: number; readonly starts_at: string; readonly ends_at?: string; } interface CatalogReference { readonly id: string; } interface CatalogStatistics { readonly id: string; readonly items: number; readonly categories: number; } interface CatalogStatisticsDeleted { readonly discriminator: 'catalog_statistics_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface CatalogStatisticsUpserted { readonly discriminator: 'catalog_statistics_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly statistics: io.flow.v0.models.CatalogStatistics; } interface CatalogUpserted { readonly discriminator: 'catalog_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; } interface CatalogVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly catalog: io.flow.v0.models.Catalog; } interface CategorySummary { readonly name?: string; readonly count: number; } interface Center { readonly discriminator: 'center'; readonly id: string; readonly key: string; readonly address: io.flow.v0.models.ShippingAddress; readonly packaging: io.flow.v0.models.Packaging[]; readonly name: string; readonly services: io.flow.v0.models.AvailableService[]; readonly schedule: io.flow.v0.models.Schedule; readonly timezone: string; readonly capabilities?: io.flow.v0.enums.CenterCapability[]; readonly partner_center?: io.flow.v0.models.PartnerCenter; } interface CenterDeleted { readonly discriminator: 'center_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly center: io.flow.v0.models.Center; } interface CenterForm { readonly address: io.flow.v0.models.ShippingAddress; readonly packaging: io.flow.v0.models.Packaging[]; readonly name: string; readonly services: io.flow.v0.models.AvailableService[]; readonly schedule: io.flow.v0.models.Schedule; readonly timezone?: string; readonly key?: string; readonly capabilities?: io.flow.v0.enums.CenterCapability[]; readonly partner_center_form?: io.flow.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.v0.models.ShippingAddress; } interface CenterUpserted { readonly discriminator: 'center_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly center: io.flow.v0.models.Center; } interface CenterVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly center: io.flow.v0.models.Center; } interface Channel { readonly id: string; readonly name: string; readonly environment: io.flow.v0.enums.Environment; readonly organization_id_prefix?: string; } interface ChannelAuthorization { readonly placeholder?: string; } interface ChannelAuthorizationForm { readonly channel_id: string; } interface ChannelBankAccount { readonly id: string; readonly key: string; readonly last4: string; } interface ChannelCurrency { readonly id: string; readonly currency: string; readonly channel: io.flow.v0.models.ChannelReference; readonly capabilities: io.flow.v0.enums.ChannelCurrencyCapability[]; } interface ChannelCurrencyDeleted { readonly discriminator: 'channel_currency_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ChannelCurrencyPair { readonly id: string; readonly base: string; readonly target: string; readonly rate: io.flow.v0.models.ChannelCurrencyRate; } interface ChannelCurrencyRate { readonly id: string; readonly value: number; } interface ChannelCurrencyUpserted { readonly discriminator: 'channel_currency_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_currency: io.flow.v0.models.ChannelCurrency; } interface ChannelDefaultBankAccount { readonly id: string; readonly bank_account: io.flow.v0.models.BankAccountReference; } interface ChannelDeleted { readonly discriminator: 'channel_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ChannelOrganization { readonly id: string; readonly organization: io.flow.v0.models.OrganizationReference; readonly key: string; readonly channel: io.flow.v0.models.ChannelReference; readonly name: string; readonly slug?: string; readonly defaults: io.flow.v0.models.OrganizationDefaults; readonly attributes?: Record; } interface ChannelOrganizationAuthorization { readonly placeholder?: string; } interface ChannelOrganizationAuthorizationForm { readonly channel_id: string; readonly organization_id: string; } interface ChannelOrganizationDeleted { readonly discriminator: 'channel_organization_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ChannelOrganizationForm { readonly key: string; readonly name?: string; readonly slug?: string; readonly defaults: io.flow.v0.models.OrganizationDefaults; readonly attributes?: Record; } interface ChannelOrganizationPutForm { readonly name?: string; readonly slug?: string; readonly defaults: io.flow.v0.models.OrganizationDefaults; readonly attributes?: Record; } interface ChannelOrganizationUpserted { readonly discriminator: 'channel_organization_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_organization: io.flow.v0.models.ChannelOrganization; } interface ChannelPayout { readonly id: string; readonly account: io.flow.v0.models.AccountReference; readonly status: io.flow.v0.unions.PayoutStatus; readonly bank_account?: io.flow.v0.models.BankAccountSummary; readonly amount: number; readonly attachments: io.flow.v0.models.PayoutAttachment[]; readonly created_at: string; readonly updated_at: string; } interface ChannelPayoutDeleted { readonly discriminator: 'channel_payout_deleted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly id: string; } interface ChannelPayoutUpserted { readonly discriminator: 'channel_payout_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly payout: io.flow.v0.models.ChannelPayout; } interface ChannelPendingPayoutTransaction { readonly id: string; readonly reason: io.flow.v0.models.PendingPayoutTransactionReason; readonly timeout?: io.flow.v0.models.PendingPayoutTransactionTimeout; readonly created_at: string; readonly updated_at: string; readonly deleted_at?: string; } interface ChannelPendingPayoutTransactionDeleted { readonly discriminator: 'channel_pending_payout_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly id: string; } interface ChannelPendingPayoutTransactionUpserted { readonly discriminator: 'channel_pending_payout_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_pending_payout_transaction: io.flow.v0.models.ChannelPendingPayoutTransaction; } interface ChannelRate { readonly placeholder?: string; } interface ChannelReference { readonly id: string; } interface ChannelShopifyOrderState { readonly id: string; readonly shopify_order_summary: io.flow.v0.models.ChannelShopifyOrderSummary; readonly status: io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus; readonly reasons?: io.flow.v0.models.ChannelShopifyOrderStateReason[]; readonly external_order_summary?: io.flow.channel.internal.v0.models.ExternalOrderSummary; } interface ChannelShopifyOrderStateDeleted { readonly discriminator: 'channel_shopify_order_state_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ChannelShopifyOrderStateReason { readonly code: io.flow.v0.enums.ChannelShopifyOrderStateReasonCode; readonly message: string; } interface ChannelShopifyOrderStateUpserted { readonly discriminator: 'channel_shopify_order_state_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_shopify_order_state: io.flow.v0.models.ChannelShopifyOrderState; } interface ChannelShopifyOrderSummary { readonly order_id: number; readonly shop_id: number; } interface ChannelStatement { readonly id: string; readonly account: io.flow.v0.models.AccountReference; readonly ending_balance: number; readonly settlement: io.flow.v0.unions.Settlement; readonly attachments: io.flow.v0.models.Attachment[]; readonly created_at: string; readonly period?: io.flow.v0.models.DatetimeRange; } interface ChannelStatementDeleted { readonly discriminator: 'channel_statement_deleted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_statement: io.flow.v0.models.ChannelStatement; } interface ChannelStatementUpserted { readonly discriminator: 'channel_statement_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_statement: io.flow.v0.models.ChannelStatement; } interface ChannelToken { readonly discriminator: 'channel_token'; readonly id: string; readonly channel: io.flow.v0.models.ChannelReference; readonly user: io.flow.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.v0.models.ChannelReference; readonly user: io.flow.v0.models.UserReference; } interface ChannelTransaction { readonly statement?: io.flow.v0.models.BillingChannelStatementReference; readonly id: string; readonly account: io.flow.v0.models.AccountIdReference; readonly metadata?: io.flow.v0.unions.TransactionMetadata; readonly order?: io.flow.v0.models.BillingChannelOrderSummary; readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference; readonly currency: string; readonly source: io.flow.v0.enums.TransactionSource; readonly parent?: io.flow.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.v0.models.FeeDeduction[]; readonly withholdings: io.flow.v0.models.WithholdingDeduction[]; readonly discounts: io.flow.v0.models.BillingDiscount[]; readonly net: number; readonly identifiers: Record; readonly created_at: string; readonly updated_at: string; } interface ChannelTransactionDeleted { readonly discriminator: 'channel_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_transaction: io.flow.v0.models.ChannelTransaction; } interface ChannelTransactionDeletedV2 { readonly discriminator: 'channel_transaction_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly id: string; } interface ChannelTransactionUpserted { readonly discriminator: 'channel_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel_id: string; readonly channel_transaction: io.flow.v0.models.ChannelTransaction; } interface ChannelUpserted { readonly discriminator: 'channel_upserted'; readonly event_id: string; readonly timestamp: string; readonly channel: io.flow.v0.models.Channel; } interface CheckoutAttribute { readonly id: string; readonly experience: io.flow.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.v0.models.Item; readonly name: string; readonly description?: string; readonly attributes: io.flow.v0.models.CheckoutItemContentAttribute[]; readonly image?: io.flow.v0.models.Image; } interface CheckoutItemContentAttribute { readonly key: string; readonly name: string; readonly value: string; } interface CheckoutReference { readonly id: string; } interface CheckoutToken { readonly id: string; readonly organization: io.flow.v0.models.OrganizationReference; readonly checkout: io.flow.v0.models.CheckoutReference; readonly order: io.flow.v0.models.OrderNumberReference; readonly urls: io.flow.v0.models.CheckoutUrls; readonly expires_at: string; readonly session: io.flow.v0.models.SessionReference; readonly customer?: io.flow.v0.models.CustomerReference; } interface CheckoutTokenOrderForm { readonly discriminator: 'checkout_token_order_form'; readonly order_form: io.flow.v0.models.OrderForm; readonly customer?: io.flow.v0.models.CustomerForm; readonly address_book?: io.flow.v0.models.CustomerAddressBookForm; readonly payment_sources?: io.flow.v0.unions.PaymentSourceForm[]; readonly session_id: string; readonly urls?: io.flow.v0.models.CheckoutUrlsForm; readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[]; } interface CheckoutTokenReferenceForm { readonly discriminator: 'checkout_token_reference_form'; readonly order_number: string; readonly session_id: string; readonly urls: io.flow.v0.models.CheckoutUrlsForm; } interface CheckoutUrls { readonly continue_shopping?: string; readonly confirmation?: string; readonly invalid_checkout?: string; } interface CheckoutUrlsForm { readonly continue_shopping?: string; readonly confirmation?: string; readonly invalid_checkout?: string; } interface Cleartext { readonly value: string; } interface CommercialInvoiceFee { readonly discriminator: 'commercial_invoice_fee'; readonly amount: io.flow.v0.models.Money; } interface CommonMerchantApplication { readonly discriminator: 'common_merchant_application'; readonly id: string; readonly organization_id: string; readonly organization_reference: io.flow.v0.models.OnboardingOrganizationReference; readonly status: io.flow.v0.enums.OnboardingApplicationStatus; readonly company?: io.flow.v0.models.MerchantInfo; readonly indirect_tax?: io.flow.v0.models.IndirectTax; readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner; readonly business_url?: string; readonly business_description?: string; readonly business_address?: io.flow.v0.models.Address; readonly refund_percentage?: number; readonly chargeback_percentage?: number; readonly beneficiary_details?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails; readonly other_trade_sector?: string; readonly center_contact?: io.flow.v0.models.OperationsContact; readonly average_order_weight?: number; readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly package_dimensions?: io.flow.v0.models.Dimension[]; readonly monthly_average?: io.flow.v0.models.MonthlyAverage; readonly default_country_of_origin?: string; readonly rate_card: string; readonly shop?: io.flow.v0.models.Shop; readonly created_at: string; readonly last_year_xborder_gmv?: io.flow.v0.models.Money; readonly last_month_xborder_gmv?: io.flow.v0.models.Money; readonly average_order_value?: io.flow.v0.models.Money; readonly mcc_codes?: number[]; } interface CommonMerchantApplicationForm { readonly discriminator: 'common_merchant_application_form'; readonly company?: io.flow.v0.models.MerchantInfo; readonly indirect_tax?: io.flow.v0.models.IndirectTax; readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner; readonly business_url?: string; readonly business_description?: string; readonly business_address?: io.flow.v0.models.Address; readonly refund_percentage?: number; readonly chargeback_percentage?: number; readonly beneficiary_details?: io.flow.v0.models.MerchantOnboardingBeneficiaryDetails; readonly other_trade_sector?: string; readonly center_contact?: io.flow.v0.models.OperationsContact; readonly average_order_weight?: number; readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly package_dimensions?: io.flow.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.v0.models.Shop; readonly rate_card?: string; readonly last_year_xborder_gmv?: io.flow.v0.models.Money; readonly last_month_xborder_gmv?: io.flow.v0.models.Money; readonly average_order_value?: io.flow.v0.models.Money; readonly mcc_codes?: number[]; } interface CommonMerchantApplicationPutForm { readonly discriminator: 'common_merchant_application_put_form'; readonly status?: io.flow.v0.enums.OnboardingApplicationStatus; } interface CommonMerchantApplicationsSummary { readonly discriminator: 'common_merchant_applications_summary'; readonly total: number; } interface Company { readonly discriminator: 'company'; readonly legal_name: string; readonly incorporation_country: string; readonly incorporation_jurisdiction: string; readonly tax_registration_number: string; } interface ConsumerInvoice { readonly id: string; readonly number: string; readonly status: io.flow.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly order: io.flow.v0.models.ConsumerInvoiceOrderSummary; readonly entity: io.flow.v0.models.MerchantOfRecordEntity; readonly payments: io.flow.v0.models.ConsumerInvoicePayment[]; readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference; readonly destination: io.flow.v0.models.OrderAddress; readonly billing_address?: io.flow.v0.models.BillingAddress; readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly tax_registration?: io.flow.v0.models.TaxRegistration; readonly customer_type?: io.flow.v0.enums.ConsumerInvoiceCustomerType; readonly estimated_delivery_date?: string; } interface ConsumerInvoiceCenterReference { readonly id: string; readonly key: string; readonly name: string; readonly address: io.flow.v0.models.Address; } interface ConsumerInvoiceDeleted { readonly discriminator: 'consumer_invoice_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly consumer_invoice: io.flow.v0.models.ConsumerInvoice; } interface ConsumerInvoiceDocument { readonly type: io.flow.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.v0.models.Price; } interface ConsumerInvoiceLevyForm { readonly rate: number; readonly amount: number; } interface ConsumerInvoiceLineDiscount { readonly discriminator: 'discount'; readonly line_id?: string; readonly price: io.flow.v0.models.Price; } interface ConsumerInvoiceLineDiscountForm { readonly discriminator: 'discount'; readonly price: number; } interface ConsumerInvoiceLineItem { readonly discriminator: 'item'; readonly line_id?: string; readonly item: io.flow.v0.models.ItemReference; readonly description: string; readonly quantity: number; readonly unit_price: io.flow.v0.models.Price; readonly unit_discount?: io.flow.v0.models.Price; readonly unit_tax?: io.flow.v0.models.ConsumerInvoiceLevy; readonly unit_duty?: io.flow.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.v0.models.ConsumerInvoiceLevyForm; readonly unit_duty?: io.flow.v0.models.ConsumerInvoiceLevyForm; } interface ConsumerInvoiceLineShipping { readonly discriminator: 'shipping'; readonly line_id?: string; readonly price: io.flow.v0.models.Price; readonly discount?: io.flow.v0.models.Price; readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy; readonly duty?: io.flow.v0.models.ConsumerInvoiceLevy; } interface ConsumerInvoiceLineShippingForm { readonly discriminator: 'shipping'; readonly price: number; readonly discount?: number; readonly tax?: io.flow.v0.models.ConsumerInvoiceLevyForm; readonly duty?: io.flow.v0.models.ConsumerInvoiceLevyForm; } interface ConsumerInvoiceLineShippingPassThrough { readonly discriminator: 'shipping_pass_through'; readonly line_id?: string; readonly price: io.flow.v0.models.Price; } interface ConsumerInvoiceLineTip { readonly discriminator: 'tip'; readonly line_id?: string; readonly price: io.flow.v0.models.Price; readonly tax?: io.flow.v0.models.ConsumerInvoiceLevy; } interface ConsumerInvoiceLineTipForm { readonly discriminator: 'tip'; readonly price: number; readonly tax?: io.flow.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.v0.models.Price; readonly billing_address?: io.flow.v0.models.BillingAddress; } interface ConsumerInvoiceReference { readonly id: string; readonly key: string; readonly number: string; } interface ConsumerInvoiceUpserted { readonly discriminator: 'consumer_invoice_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly consumer_invoice: io.flow.v0.models.ConsumerInvoice; } interface Contact { readonly name: io.flow.v0.models.Name; readonly company?: string; readonly email?: string; readonly phone?: 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 CountryAvailability { readonly status: io.flow.v0.enums.ItemAvailabilityStatus; readonly countries: string[]; } interface CountryDefaults { readonly country: string; readonly currency: string; readonly language: string; } interface CountryOfOrigin { readonly country: io.flow.v0.models.Country; } interface CountryOfOriginForm { readonly country: string; } interface CountryPicker { readonly id: string; readonly source: io.flow.v0.enums.CountryPickerSource; } interface CountryPickerForm { readonly source: io.flow.v0.enums.CountryPickerSource; } interface CountryShippingPricing { readonly pricing: io.flow.v0.models.ItemShippingPricing; readonly countries: string[]; } interface CountryStatus { readonly id: string; readonly country: string; readonly status: io.flow.v0.enums.ExperienceCountryStatus; } interface CountryStatusForm { readonly status: io.flow.v0.enums.ExperienceCountryStatus; } interface CreditMemo { readonly id: string; readonly number?: string; readonly status: io.flow.v0.enums.ConsumerInvoiceStatus; readonly date: string; readonly key: string; readonly invoice: io.flow.v0.models.ConsumerInvoiceReference; readonly entity: io.flow.v0.models.MerchantOfRecordEntity; readonly payments: io.flow.v0.models.ConsumerInvoicePayment[]; readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[]; readonly attributes: Record; readonly tax_registration?: io.flow.v0.models.TaxRegistration; readonly center?: io.flow.v0.models.ConsumerInvoiceCenterReference; readonly order?: io.flow.v0.models.ConsumerInvoiceOrderSummary; } interface CreditMemoDeleted { readonly discriminator: 'credit_memo_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly credit_memo: io.flow.v0.models.CreditMemo; } interface CreditMemoForm { readonly refund_id?: string; readonly refund_key?: string; readonly refund_identifier?: string; readonly lines: io.flow.v0.unions.ConsumerInvoiceLineForm[]; readonly attributes?: Record; } interface CreditMemoUpserted { readonly discriminator: 'credit_memo_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly credit_memo: io.flow.v0.models.CreditMemo; } interface CreditPayment { readonly id: string; readonly order: io.flow.v0.unions.ExpandableOrder; readonly key: string; readonly description: string; readonly value: io.flow.v0.models.PriceWithBase; readonly original: io.flow.v0.models.OriginalPrices; readonly attributes: Record; } interface CreditPaymentError { readonly code: io.flow.v0.enums.CreditPaymentErrorCode; readonly messages: string[]; readonly codes: io.flow.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.v0.enums.ChangeType; readonly credit_payment: io.flow.v0.models.CreditPayment; } interface CrossdockRatecardFee { readonly discriminator: 'crossdock_ratecard_fee'; readonly amount: io.flow.v0.models.Money; } interface CrossdockShipment { readonly partner_id: string; readonly center_id: string; readonly tracking_id: string; readonly order_number: string; readonly status: string; } interface CrossdockShipmentUpserted { readonly discriminator: 'crossdock_shipment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly crossdock_shipment: io.flow.v0.models.CrossdockShipment; } interface CryptopayAuthorizationDetails { readonly discriminator: 'cryptopay_authorization_details'; readonly payment_id: 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.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.v0.models.PriceBookItemSchedule; } interface Currency { readonly name: string; readonly iso_4217_3: string; readonly number_decimals: number; readonly symbols?: io.flow.v0.models.CurrencySymbols; readonly default_locale?: string; } interface CurrencyFormat { readonly symbol: io.flow.v0.enums.CurrencySymbolFormat; readonly label_formatters: io.flow.v0.enums.CurrencyLabelFormatter[]; } interface CurrencySymbols { readonly primary: string; readonly narrow?: string; } interface Customer { readonly id: string; readonly number: string; readonly email?: string; readonly name?: io.flow.v0.models.Name; readonly phone?: string; } interface CustomerAddressBook { readonly contacts: io.flow.v0.models.CustomerAddressBookContact[]; } interface CustomerAddressBookContact { readonly id: string; readonly address: io.flow.v0.models.Address; readonly contact: io.flow.v0.models.Contact; readonly address_preferences: io.flow.v0.models.CustomerAddressPreference[]; } interface CustomerAddressBookContactForm { readonly address: io.flow.v0.models.Address; readonly contact?: io.flow.v0.models.Contact; readonly address_preferences?: io.flow.v0.models.CustomerAddressPreference[]; } interface CustomerAddressBookForm { readonly contacts: io.flow.v0.models.CustomerAddressBookContactForm[]; } interface CustomerAddressPreference { readonly type: io.flow.v0.enums.CustomerAddressType; } interface CustomerBundle { readonly customer: io.flow.v0.models.Customer; readonly last_used?: io.flow.v0.models.CustomerLastUsed; } interface CustomerClientToken { readonly token: string; } interface CustomerForm { readonly number: string; readonly email?: string; readonly name?: io.flow.v0.models.Name; readonly phone?: string; } interface CustomerInvoice { readonly address?: io.flow.v0.models.BillingAddress; } interface CustomerLastUsed { readonly order: io.flow.v0.models.CustomerOrder; readonly payment: io.flow.v0.models.CustomerPayment; } interface CustomerOrder { readonly number: string; readonly destination: io.flow.v0.models.OrderAddress; readonly payments?: io.flow.v0.models.OrderPayment[]; readonly submitted_at?: string; } interface CustomerPayment { readonly payment_methods: io.flow.v0.models.PaymentMethod[]; } interface CustomerPurgeSettings { readonly id: string; readonly days_until_purge_unused: number; readonly days_until_purge_used: number; } interface CustomerPurgeSettingsForm { readonly days_until_purge_unused: number; readonly days_until_purge_used: number; } interface CustomerPutForm { readonly email?: string; readonly name?: io.flow.v0.models.Name; readonly phone?: string; } interface CustomerReference { readonly number: string; } interface CustomerToken { readonly id: string; readonly customer: io.flow.v0.models.CustomerReference; readonly token: string; } interface Cvv { readonly code: io.flow.v0.enums.CvvCode; readonly description?: string; } interface CvvResult { readonly code: io.flow.v0.enums.CvvResultCode; readonly raw?: string; } interface DatetimeRange { readonly from: string; readonly to: string; } interface DatetimeWithTimezone { readonly datetime: string; readonly timezone: string; } interface DdpRatecardFee { readonly discriminator: 'ddp_ratecard_fee'; readonly amount: number; } interface DeactivationPutForm { readonly reason: string; readonly deactivate_at?: string; } interface DeadWeight { readonly weight: number; } interface DefaultBankAccountForm { readonly bank_account_id: string; } interface DeliveredDutySetting { readonly default: io.flow.v0.enums.DeliveredDuty; readonly available: io.flow.v0.enums.DeliveredDuty[]; readonly display?: io.flow.v0.enums.DeliveredDutyDisplayType; } interface DeliveryItem { readonly id?: string; readonly number: string; readonly quantity: number; readonly shipment_estimate?: io.flow.v0.models.DatetimeRange; readonly price?: io.flow.v0.models.MoneyWithOptionalBase; readonly attributes?: Record; readonly center?: string; readonly line_number?: number; } interface DeliveryOption { readonly id: string; readonly cost: io.flow.v0.models.PriceWithBaseAndDetails; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly price: io.flow.v0.models.PriceWithBaseAndDetails; readonly service: io.flow.v0.models.ServiceSummary; readonly actual_service?: io.flow.v0.models.ServiceSummary; readonly tier: io.flow.v0.models.TierSummary; readonly window: io.flow.v0.models.DeliveryWindow; readonly rule_outcome?: io.flow.v0.unions.TierRuleOutcome; readonly weight?: io.flow.v0.models.OptionWeightEstimates; readonly send_to?: io.flow.v0.models.ShippingAddress; readonly surcharge?: io.flow.v0.models.PriceWithBaseAndDetails; readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner; } interface DeliveryOptionCostComponent { readonly key: io.flow.v0.enums.DeliveryOptionCostDetailComponentKey; readonly currency: string; readonly amount: number; readonly label: string; readonly base?: io.flow.v0.models.Price; } interface DeliveryOptionCostDetail { readonly source: io.flow.v0.enums.DeliveryOptionCostDetailSource; readonly ratecard_id?: string; readonly currency: string; readonly amount: number; readonly label: string; readonly base?: io.flow.v0.models.Price; readonly components: io.flow.v0.models.DeliveryOptionCostComponent[]; } interface DeliveryOptionForm { readonly delivery: string; readonly items: io.flow.v0.models.QuoteLineItemForm[]; readonly destination: io.flow.v0.models.ShippingAddress; } interface DeliveryOptionReference { readonly id: string; } interface DeliveryOptionSummary { readonly id: string; readonly cost: io.flow.v0.models.Price; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly price: io.flow.v0.models.Price; readonly service: io.flow.v0.models.ServiceReference; readonly tier: io.flow.v0.models.TierReference; readonly window: io.flow.v0.models.DatetimeRange; } interface DeliveryOptionVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly delivery_option: io.flow.v0.models.DeliveryOptionSummary; } interface DeliverySummary { readonly id: string; readonly items: io.flow.v0.models.LineItemForm[]; } interface DeliveryVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly delivery: io.flow.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.v0.enums.DeliveryWindowComponentSource; } interface DeliveryWindowComponents { readonly shipment_estimate: io.flow.v0.models.DeliveryWindowComponent; readonly transit_estimate: io.flow.v0.models.DeliveryWindowComponent; } interface DeliveryWindowComponentsV2 { readonly processing_estimates: io.flow.v0.models.ProcessingEstimate[]; readonly transit_estimates: io.flow.v0.models.TransitEstimate[]; } interface DeliveryWindowSummary { readonly country: string; readonly delivery_window: io.flow.v0.models.DeliveryWindow; } 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.v0.enums.LevyComponent[]; readonly minimum?: number; } interface DestinationContactDetail { readonly title: string; readonly country: string; readonly import_identifier: string; } interface DetailedShippingLabelForm { readonly discriminator: 'detailed_shipping_label_form'; readonly destination: io.flow.v0.models.ShippingAddress; readonly origin: io.flow.v0.models.ShippingAddress; readonly package: io.flow.v0.models.ShippingLabelPackage; readonly attributes?: Record; readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty; readonly direction?: io.flow.v0.enums.Direction; readonly order_number: string; readonly service?: string; readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient; readonly package_dimensions_source?: io.flow.v0.enums.PackageDimensionsSource; readonly origin_location_source?: io.flow.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.v0.models.ShippingAddress; readonly order_number: string; readonly package: io.flow.v0.models.ShippingLabelPackage; readonly service: string; readonly origin?: io.flow.v0.models.ShippingAddress; readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient; } 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 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 DigitalDelivery { readonly discriminator: 'digital_delivery'; readonly id: string; readonly key?: string; readonly items: io.flow.v0.models.DeliveryItem[]; readonly prices?: io.flow.v0.models.OrderPriceDetail[]; readonly total?: io.flow.v0.models.LocalizedTotal; } interface Dimension { readonly depth?: io.flow.v0.models.Measurement; readonly diameter?: io.flow.v0.models.Measurement; readonly length?: io.flow.v0.models.Measurement; readonly weight?: io.flow.v0.models.Measurement; readonly width?: io.flow.v0.models.Measurement; } interface DimensionEstimate { readonly id: string; readonly q: string; readonly dimensions: io.flow.v0.models.EstimatedDimensions; readonly position: number; readonly block_bulk_update?: boolean; } interface DimensionEstimateForm { readonly q: string; readonly dimensions: io.flow.v0.models.EstimatedDimensions; readonly position?: number; readonly block_bulk_update?: boolean; } interface DimensionEstimateVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly dimension_estimate: io.flow.v0.models.DimensionEstimate; } interface DimensionalWeight { readonly weight: number; readonly length?: number; readonly width?: number; readonly height?: number; } interface Dimensions { readonly product?: io.flow.v0.models.Dimension; readonly packaging?: io.flow.v0.models.Dimension; } interface DirectAuthorizationForm { readonly discriminator: 'direct_authorization_form'; readonly token: string; readonly amount: number; readonly currency: string; readonly customer?: io.flow.v0.models.OrderCustomer; readonly key?: string; readonly cvv?: string; readonly attributes?: Record; readonly destination?: io.flow.v0.models.Address; readonly billing_address?: io.flow.v0.models.BillingAddress; readonly ip?: string; readonly options?: io.flow.v0.enums.AuthorizationOption[]; readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls; readonly browser_info?: io.flow.v0.models.BrowserInfo; readonly inline_action_configuration?: io.flow.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 Discount { readonly discriminator: 'discount'; readonly id: string; readonly code?: string; readonly label: string; readonly price: io.flow.v0.models.PriceWithBase; readonly attributes?: Record; } interface DiscountForm { readonly offer: io.flow.v0.unions.DiscountOffer; readonly target?: io.flow.v0.enums.DiscountTarget; readonly label?: string; } interface DiscountOfferFixed { readonly discriminator: 'discount_offer_fixed'; readonly money: io.flow.v0.models.Money; } interface DiscountOfferPercent { readonly discriminator: 'discount_offer_percent'; readonly percent: number; } interface DiscountRule { readonly offers: io.flow.v0.models.DiscountRuleOffer[]; } interface DiscountRuleOffer { readonly discount: io.flow.v0.unions.DiscountOffer; readonly entitlement: io.flow.v0.unions.DiscountRuleEntitlement; } interface DiscountRuleSettings { readonly id: string; readonly name: string; readonly from_with_tz: io.flow.v0.models.DatetimeWithTimezone; readonly to_with_tz?: io.flow.v0.models.DatetimeWithTimezone; readonly status: io.flow.v0.enums.DiscountRuleStatus; readonly experience_keys: string[]; readonly rule: io.flow.v0.models.DiscountRule; } interface DiscountRuleSettingsForm { readonly name: string; readonly from_with_tz: io.flow.v0.models.DatetimeWithTimezone; readonly to_with_tz?: io.flow.v0.models.DatetimeWithTimezone; readonly experience_keys: string[]; readonly rule: io.flow.v0.models.DiscountRule; } interface DiscountRuleSubsidyEntitlement { readonly discriminator: 'subsidy'; readonly targets: io.flow.v0.enums.DiscountRuleSubsidyTarget[]; } interface DiscountsForm { readonly discounts: io.flow.v0.models.DiscountForm[]; } interface DisputeReference { readonly discriminator: 'dispute_reference'; readonly id: string; readonly key: string; } interface Duration { readonly unit: io.flow.v0.enums.UnitOfTime; readonly value: number; } interface DutiesTaxesPaidSurchargeRatecardFee { readonly discriminator: 'duties_taxes_paid_surcharge_ratecard_fee'; readonly amount: io.flow.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.v0.models.Money; readonly destination_countries?: string[]; readonly starts_at?: string; readonly ends_at?: string; } interface Duty { readonly rate: number; readonly components: io.flow.v0.enums.LevyComponent[]; readonly deminimis?: io.flow.v0.unions.Deminimis; readonly name?: string; } interface DutyItem { readonly number: string; readonly name: io.flow.v0.enums.TradeAgreementName; readonly product_id?: string; readonly sku?: string; readonly customs_description: string; readonly origin_criteria?: string; readonly approvals?: io.flow.v0.models.DutyItemApproval[]; } interface DutyItemApproval { readonly status: io.flow.v0.enums.DutyItemApprovalStatus; readonly trade_agreement: io.flow.v0.models.TradeAgreement; readonly certifier: io.flow.v0.models.TradeAgreementCertifier; readonly producer: io.flow.v0.models.DutyItemProducer; readonly effective_at: string; } interface DutyItemApprovalForm { readonly status: io.flow.v0.enums.DutyItemApprovalStatus; readonly trade_agreement_key: string; readonly trade_agreement_certifier_key: string; readonly producer_key: string; readonly effective_at: string; } interface DutyItemForm { readonly number: string; readonly name: io.flow.v0.enums.TradeAgreementName; readonly product_id?: string; readonly sku?: string; readonly customs_description: string; readonly origin_criteria?: string; } interface DutyItemProducer { readonly key: string; readonly name: string; readonly location: io.flow.v0.models.Address; readonly contact?: io.flow.v0.models.Contact; } interface EcommercePlatform { readonly id: string; readonly type: io.flow.v0.enums.EcommercePlatformType; readonly version?: string; } interface EcommercePlatformDeleted { readonly discriminator: 'ecommerce_platform_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform; } interface EcommercePlatformForm { readonly type: io.flow.v0.enums.EcommercePlatformType; readonly version?: string; } interface EcommercePlatformUpserted { readonly discriminator: 'ecommerce_platform_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ecommerce_platform: io.flow.v0.models.EcommercePlatform; } interface EditSummary { readonly id: string; readonly edited_at: string; } interface EeiFilingRatecardFee { readonly discriminator: 'eei_filing_ratecard_fee'; readonly amount: io.flow.v0.models.Money; } interface EeiFilingServiceFee { readonly discriminator: 'eei_filing_service_fee'; readonly amount: io.flow.v0.models.Money; readonly value_threshold: io.flow.v0.models.Money; } interface EmailAbandonedOrderPromotion { readonly discount_form: io.flow.v0.models.DiscountForm; readonly attributes: Record; } interface EmailAbandonedOrderUrls { readonly checkout: string; } interface EmailNotification { readonly id: string; readonly to: io.flow.v0.models.EmailRecipient; readonly created_at: string; readonly data: io.flow.v0.unions.EmailNotificationData; } interface EmailNotificationAbandonedOrder { readonly discriminator: 'abandoned_order'; readonly order: io.flow.v0.models.OrderSummary; readonly urls: io.flow.v0.models.EmailAbandonedOrderUrls; readonly promotion?: io.flow.v0.models.EmailAbandonedOrderPromotion; } interface EmailNotificationDataRefund { readonly discriminator: 'refund'; readonly order: io.flow.v0.models.OrderSummary; readonly return: io.flow.v0.models.OrderSummary; readonly payment: io.flow.v0.models.EmailPaymentSummary; } interface EmailNotificationForm { readonly to: io.flow.v0.models.EmailRecipient; readonly created_at: string; readonly data: io.flow.v0.unions.EmailNotificationData; } interface EmailPaymentSummary { readonly refund: io.flow.v0.models.Refund; } interface EmailRecipient { readonly email: string; readonly name?: io.flow.v0.models.Name; } interface EmailVerification { readonly email: string; } interface EmergencySituationSurchargeRatecardFee { readonly discriminator: 'emergency_situation_surcharge_ratecard_fee'; readonly amount: io.flow.v0.models.Money; } interface EmergencySituationSurchargeServiceFee { readonly discriminator: 'emergency_situation_surcharge_service_fee'; readonly amount: io.flow.v0.models.Money; readonly origin_region?: io.flow.v0.models.RatecardRegionReference; readonly destination_region?: io.flow.v0.models.RatecardRegionReference; readonly destination_regions?: io.flow.v0.models.RatecardRegionReference[]; readonly interval_unit?: io.flow.v0.enums.UnitOfMeasurement; } interface EntityIdentifier { readonly name: io.flow.v0.enums.EntityIdentifierType; readonly number: string; readonly issuing_country?: string; } interface EstimatedDimensions { readonly depth: io.flow.v0.models.Measurement; readonly length: io.flow.v0.models.Measurement; readonly weight: io.flow.v0.models.Measurement; readonly width: io.flow.v0.models.Measurement; } interface EstimatedWindow { readonly from: number; readonly to: number; readonly unit: io.flow.v0.enums.UnitOfTime; } interface Exception { readonly type: io.flow.v0.enums.ExceptionType; readonly datetime_range: io.flow.v0.models.DatetimeRange; } interface ExchangedMoney { readonly fx_rate: number; readonly money: io.flow.v0.models.Money; } interface ExclusionRule { readonly id: string; readonly q: string; readonly query: io.flow.v0.models.Query; readonly regions: io.flow.v0.models.Region[]; readonly status: io.flow.v0.enums.SubcatalogItemStatus; readonly description?: string; readonly statistics: io.flow.v0.models.ExclusionRuleStatistic; } interface ExclusionRuleForm { readonly q: string; readonly regions: string[]; readonly description?: string; } interface ExclusionRuleStatistic { readonly state: io.flow.v0.enums.ExclusionRuleState; readonly number_items: number; } interface ExclusionRuleVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly exclusion_rule: io.flow.v0.models.ExclusionRule; } interface ExclusionRulesExportType { readonly discriminator: 'exclusion_rules_export_type'; readonly states?: io.flow.v0.enums.ExclusionRuleState[]; readonly sort?: string; } interface Experience { readonly discriminator: 'experience'; readonly id: string; readonly key: string; readonly name: string; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly region: io.flow.v0.models.RegionReference; readonly country: string; readonly currency: string; readonly language: string; readonly measurement_system: io.flow.v0.enums.MeasurementSystem; readonly subcatalog: io.flow.v0.models.SubcatalogReference; readonly position: number; readonly settings: io.flow.v0.models.ExperienceSettings; readonly status?: io.flow.v0.enums.ExperienceStatus; } interface ExperienceCheckoutConfigurationSettings { readonly configuration: io.flow.v0.models.ExperienceConfigurationReference; } interface ExperienceCheckoutSettings { readonly id: string; readonly experience: io.flow.v0.models.ExperienceOverview; readonly checkout_configuration: io.flow.v0.models.ExperienceConfigurationReference; } interface ExperienceCheckoutSettingsForm { readonly checkout_configuration_id: string; } interface ExperienceClone { readonly id: string; readonly source_experience: io.flow.v0.models.ExperienceReference; readonly cloned_experience?: io.flow.v0.models.ExperienceReference; readonly status: io.flow.v0.enums.ExperienceCloneStatus; } interface ExperienceCloneForm { readonly name?: string; } interface ExperienceConfigurationReference { readonly id: string; } interface ExperienceCurrencyFormat { readonly symbol: io.flow.v0.enums.CurrencySymbolFormat; readonly label_formatters: io.flow.v0.enums.CurrencyLabelFormatter[]; } interface ExperienceCurrencyFormatForm { readonly symbol: io.flow.v0.enums.CurrencySymbolFormat; readonly label_formatters: io.flow.v0.enums.CurrencyLabelFormatter[]; } interface ExperienceDefaults { readonly key: string; readonly name: string; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly country: string; readonly currency: string; readonly language: string; readonly measurement_system: io.flow.v0.enums.MeasurementSystem; } interface ExperienceExportType { readonly discriminator: 'experience_export_type'; readonly organization_id: string; readonly ids?: string[]; readonly keys?: string[]; } interface ExperienceForm { readonly region_id: string; readonly name: string; readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty; readonly country?: string; readonly currency?: string; readonly language?: string; readonly key?: string; readonly position?: number; readonly measurement_system?: io.flow.v0.enums.MeasurementSystem; readonly subcatalog_id?: string; } interface ExperienceGeo { readonly key: string; readonly name: string; readonly region: io.flow.v0.models.RegionReference; readonly country: string; readonly currency: string; readonly language: string; readonly measurement_system: io.flow.v0.enums.MeasurementSystem; } interface ExperienceLogisticsSettings { readonly id: string; readonly experience: io.flow.v0.models.ExperienceOverview; readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference; } interface ExperienceLogisticsSettingsPutForm { readonly shipping_configuration_key: string; } interface ExperienceLogisticsSummary { readonly outbound?: io.flow.v0.models.ExperienceLogisticsTierSummary; readonly return?: io.flow.v0.models.ExperienceLogisticsTierSummary; } interface ExperienceLogisticsTierSummary { readonly prices: io.flow.v0.models.ExperienceLogisticsTierSummaryPrices; } interface ExperienceLogisticsTierSummaryPrices { readonly minimum: io.flow.v0.models.Price; } interface ExperienceOverview { readonly id: string; readonly key: string; } interface ExperiencePaymentMethodRule { readonly experience_key: string; readonly payment_method_rules: io.flow.v0.models.PaymentMethodRule[]; } interface ExperiencePaymentMethodRuleForm { readonly payment_method_id: string; readonly tags: io.flow.v0.enums.ExperiencePaymentMethodTag[]; readonly q?: string; } interface ExperiencePriceBookMapping { readonly id: string; readonly experience: io.flow.v0.models.ExperienceReference; readonly price_book: io.flow.v0.models.PriceBookReference; readonly position: number; } interface ExperiencePriceBookMappingForm { readonly price_book_key: string; readonly position?: number; } interface ExperiencePriceBookMappingPutForm { readonly price_books: io.flow.v0.models.ExperiencePriceBookMappingForm[]; } interface ExperiencePriceConversion { readonly request: io.flow.v0.models.ExperiencePriceConversionRequest; readonly price: io.flow.v0.models.PriceWithBase; } interface ExperiencePriceConversionRequest { readonly value: number; readonly base: string; readonly local: string; } interface ExperiencePriceConversionResponse { readonly prices: io.flow.v0.models.ExperiencePriceConversion[]; } interface ExperiencePriceFacetConversion { readonly request: io.flow.v0.models.ExperiencePriceFacetConversionRequest; readonly price: io.flow.v0.models.PriceWithBase; } interface ExperiencePriceFacetConversionRequest { readonly boundary: io.flow.v0.enums.PriceFacetBoundary; readonly value: number; readonly base: string; readonly local: string; } interface ExperiencePriceFacetConversionResponse { readonly facets: io.flow.v0.models.ExperiencePriceFacetConversion[]; } interface ExperienceReference { readonly discriminator: 'experience_reference'; readonly key: string; } interface ExperienceSettings { readonly delivered_duty: io.flow.v0.models.DeliveredDutySetting; readonly pricing_settings?: io.flow.v0.models.PricingSettings; readonly logistics_settings?: io.flow.v0.models.LogisticsSettings; readonly checkout_settings?: io.flow.v0.models.ExperienceCheckoutConfigurationSettings; } interface ExperienceStatusForm { readonly status: io.flow.v0.enums.ExperienceStatus; } interface ExperienceSummary { readonly id: string; readonly key: string; readonly name: string; readonly country?: string; readonly currency?: string; readonly language?: string; } interface ExperienceVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly experience: io.flow.v0.models.Experience; } interface Expiration { readonly month: number; readonly year: number; } interface Export { readonly id: string; readonly type: io.flow.v0.unions.ExportType; readonly status: io.flow.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.v0.unions.ExportDelivery[]; } interface ExportDeliveryEmail { readonly discriminator: 'export_delivery_email'; readonly email: string; } interface ExportForm { readonly type: io.flow.v0.unions.ExportType; readonly emails?: string[]; readonly organization_q?: string; } interface ExportLocalizedItemPrices { readonly organization: io.flow.v0.models.OrganizationReference; readonly experience: io.flow.v0.models.ExperienceSummary; readonly item: io.flow.v0.models.CatalogItemReference; readonly prices: io.flow.v0.models.ExportLocalizedItemPricesDetail; readonly status?: io.flow.v0.enums.SubcatalogItemStatus; readonly rates?: io.flow.v0.models.Rate[]; } interface ExportLocalizedItemPricesDetail { readonly item: io.flow.v0.models.LocalizedItemPrice; readonly vat?: io.flow.v0.models.LocalizedItemVat; readonly duty?: io.flow.v0.models.LocalizedItemDuty; readonly shipping_price?: io.flow.v0.models.Price; readonly price_attributes: Record; } interface ExportVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly export: io.flow.v0.models.Export; } interface ExternalCard { readonly discriminator: 'external_card'; readonly id: string; readonly type?: io.flow.v0.enums.CardType; } interface FeeDeduction { readonly type: io.flow.v0.enums.FeeDeductionType; readonly amount: number; readonly description?: string; } interface FeeInvoice { readonly id: string; readonly number: string; readonly invoice_type: io.flow.v0.enums.FeeInvoiceType; readonly buyer: io.flow.v0.models.MerchantOfRecordEntity; readonly seller: io.flow.v0.models.MerchantOfRecordEntity; readonly date: string; readonly b2b_tax_transaction_id: string; readonly order_number: string; readonly tax: io.flow.v0.models.Money; readonly tax_lines?: io.flow.v0.models.InvoiceTaxLine[]; readonly lines: io.flow.v0.unions.ConsumerInvoiceLine[]; readonly documents: io.flow.v0.models.ConsumerInvoiceDocument[]; } interface FeeInvoiceDeleted { readonly discriminator: 'fee_invoice_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface FeeInvoiceUpserted { readonly discriminator: 'fee_invoice_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly fee_invoice: io.flow.v0.models.FeeInvoice; } interface FeeWeight { readonly weight: number; readonly unit: io.flow.v0.enums.UnitOfMeasurement; } 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; } interface FixedCurrencyConversionRatecardFee { readonly discriminator: 'fixed_currency_conversion_ratecard_fee'; readonly amount: io.flow.v0.models.Money; } interface FixedCurrencyConversionServiceFee { readonly discriminator: 'fixed_currency_conversion_service_fee'; readonly conditions: io.flow.v0.models.FixedFeeCondition[]; } interface FixedDdpRatecardFee { readonly discriminator: 'fixed_ddp_ratecard_fee'; readonly amount: io.flow.v0.models.Money; } interface FixedDdpServiceFee { readonly discriminator: 'fixed_ddp_service_fee'; readonly conditions: io.flow.v0.models.FixedFeeCondition[]; } interface FixedFeeCondition { readonly countries: string[]; readonly amount: io.flow.v0.models.Money; } interface FlatRate { readonly discriminator: 'flat_rate'; readonly price: io.flow.v0.models.Price; readonly zero_amount_indicator?: io.flow.v0.enums.ZeroAmountIndicator; } interface FlatRateForm { readonly discriminator: 'flat_rate_form'; readonly price: io.flow.v0.models.Money; readonly zero_amount_indicator?: io.flow.v0.enums.ZeroAmountIndicator; } interface FlowCenterReference { readonly key: string; } interface FlowItemIndexMetadata { readonly status: io.flow.v0.enums.SubcatalogItemStatus; } interface FlowTransaction { readonly statement?: io.flow.v0.models.BillingChannelStatementReference; readonly id: string; readonly account: io.flow.v0.models.AccountIdReference; readonly metadata?: io.flow.v0.unions.TransactionMetadata; readonly order?: io.flow.v0.models.BillingChannelOrderSummary; readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference; readonly currency: string; readonly source: io.flow.v0.enums.TransactionSource; readonly parent?: io.flow.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.v0.models.FeeDeduction[]; readonly withholdings: io.flow.v0.models.WithholdingDeduction[]; readonly discounts: io.flow.v0.models.BillingDiscount[]; readonly net: number; readonly identifiers: Record; readonly created_at: string; readonly updated_at: string; } interface FraudEmailRule { readonly id?: string; readonly email: string; readonly decision: io.flow.v0.enums.FraudEmailRuleDecision; } interface FraudEmailRuleForm { readonly rule: io.flow.v0.models.FraudEmailRule; } interface FraudFlowOrderReference { readonly discriminator: 'flow_order'; readonly reference: io.flow.v0.models.OrderReference; } interface FraudPaymentRequestReference { readonly discriminator: 'payment_request'; readonly reference: io.flow.v0.models.PaymentRequestReference; } interface FraudStatusChanged { readonly discriminator: 'fraud_status_changed'; readonly event_id: string; readonly timestamp: string; readonly id: string; readonly organization: string; readonly order: io.flow.v0.models.OrderReference; readonly fraud_order_reference?: io.flow.v0.unions.FraudOrderReference; readonly status: io.flow.v0.enums.FraudStatus; } interface FreeShipping { readonly discriminator: 'free_shipping'; readonly trigger: io.flow.v0.models.PromotionTrigger; readonly max?: io.flow.v0.models.Price; } interface FreeShippingOrderPromotion { readonly discriminator: 'free_shipping_order_promotion'; readonly id: string; readonly order: io.flow.v0.unions.ExpandableOrder; readonly key: string; readonly trigger: io.flow.v0.models.OrderPromotionTrigger; readonly max?: io.flow.v0.models.Price; readonly attributes: Record; } interface FreeShippingOrderPromotionForm { readonly discriminator: 'free_shipping_order_promotion_form'; readonly trigger: io.flow.v0.models.PromotionTriggerForm; readonly max?: io.flow.v0.models.PriceForm; readonly attributes?: Record; } interface FtpAccount { readonly server: io.flow.v0.models.FtpServer; readonly user: io.flow.v0.models.FtpUser; } interface FtpFile { readonly id: string; readonly source: io.flow.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.v0.models.FtpAccount; } interface FtpOrganizationSettingsForm { readonly enabled: boolean; readonly emails: string[]; } interface FtpServer { readonly hostname: string; } interface FtpUser { readonly username: string; readonly password?: string; } interface FuelSurchargeAmountByWeightServiceFee { readonly discriminator: 'fuel_surcharge_amount_by_weight_service_fee'; readonly amount: io.flow.v0.models.Money; readonly weight: io.flow.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.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.v0.models.Money; readonly fuel_surcharge_rate?: io.flow.v0.unions.FuelSurchargeRate; } interface FuelSurchargeServiceFee { readonly discriminator: 'fuel_surcharge_service_fee'; readonly percent: number; } interface Fulfillment { readonly organization: string; readonly key: string; readonly number: string; readonly items: io.flow.v0.models.FulfillmentItem[]; readonly center?: io.flow.v0.models.CenterSummary; } interface FulfillmentCancellationForm { readonly change_source: io.flow.v0.enums.OrderChangeSource; readonly reason: io.flow.v0.enums.CancelReason; readonly lines: io.flow.v0.models.FulfillmentLineCancelForm[]; } interface FulfillmentCompleteCancellationForm { readonly change_source: io.flow.v0.enums.OrderChangeSource; readonly reason: io.flow.v0.enums.CancelReason; } interface FulfillmentExperienceReference { readonly id: string; readonly currency: string; } interface FulfillmentItem { readonly item_number: string; readonly line_number: number; readonly quantities: io.flow.v0.models.FulfillmentItemQuantity[]; } interface FulfillmentItemAllocationDetails { readonly item_number: string; readonly line_number: number; readonly levies: io.flow.v0.models.PriceWithBase; readonly total: io.flow.v0.models.PriceWithBase; } interface FulfillmentItemQuantity { readonly status: io.flow.v0.enums.FulfillmentItemQuantityStatus; readonly quantity: number; } interface FulfillmentLineCancelForm { readonly item_number?: string; readonly line_number?: string; readonly quantity: number; } interface FulfillmentNotification { readonly id: string; readonly order_number: string; readonly carrier_name: string; readonly carrier_tracking_number: string; readonly items: io.flow.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.v0.models.LineItemForm[]; } interface FullyHarmonizedItemUpserted { readonly discriminator: 'fully_harmonized_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly item_number: string; readonly customs_description: string; readonly hs6_code: string; readonly landed_costs: io.flow.v0.models.LaneLandedCost[]; } interface GeCatalogItemIngestionResult { readonly discriminator: 'ge_catalog_item_ingestion_result'; readonly event_id: string; readonly event_type: io.flow.v0.enums.GeEventType; readonly environment: io.flow.v0.enums.RestrictionEnvironment; readonly timestamp: string; readonly source: string; readonly response: io.flow.v0.enums.GeCatalogItemIngestionResponse; readonly message: string; } interface GeCatalogItemInput { readonly event_id: string; readonly number: string; readonly organization_id: string; readonly name: string; readonly description: string; readonly price: io.flow.v0.models.GeInputPrice; readonly attributes: io.flow.v0.models.GeInputAttributes; readonly locale: string; readonly id: string; readonly categories: string[]; readonly created_at: string; readonly updated_at: string; readonly images: string[]; } interface GeInputAttributes { readonly country_of_origin: string; readonly ge_hs6_code: string; readonly product_id: string; readonly ge_organization_name: string; readonly ge_shipping_origin_country?: string; readonly product_url?: string; } interface GeInputPrice { readonly amount: number; readonly currency: string; readonly label: string; } interface GeItemDeleted { readonly discriminator: 'ge_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly item: io.flow.v0.models.Item; } interface GeItemInserted { readonly discriminator: 'ge_item_inserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly item: io.flow.v0.models.Item; } interface GeItemUpdated { readonly discriminator: 'ge_item_updated'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly item: io.flow.v0.models.Item; } interface GeProductRestrictionResultDelete { readonly discriminator: 'ge_product_restriction_result_delete'; readonly organization: string; readonly event_id: string; readonly event_type: io.flow.v0.enums.GeEventType; readonly environment: io.flow.v0.enums.RestrictionEnvironment; readonly timestamp: string; readonly id: string; readonly operation: io.flow.v0.enums.ChangeType; } interface GeProductRestrictionResultUpsert { readonly discriminator: 'ge_product_restriction_result_upsert'; readonly organization: string; readonly event_id: string; readonly event_type: io.flow.v0.enums.GeEventType; readonly environment: io.flow.v0.enums.RestrictionEnvironment; readonly timestamp: string; readonly operation: io.flow.v0.enums.ChangeType; readonly ge_product_restriction_result: io.flow.v0.models.ProductRestrictionResult; } interface GenerateLoad { readonly discriminator: 'generate_load'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly test_name: string; readonly num_tests: number; } interface GenericError { readonly code: io.flow.v0.enums.GenericErrorCode; readonly messages: string[]; } interface GeoForm { readonly country: string; readonly currency: string; readonly language: string; readonly locale: string; readonly experience: string; } interface GooglePayAuthorizationPayload { readonly discriminator: 'google_pay_authorization_payload'; readonly payload: any /*object*/; } interface GraphqlRequest { readonly query: string; readonly operation_name?: string; readonly variables?: Record; } interface GraphqlResponse { readonly data?: any /*object*/; readonly errors?: any /*object*/[]; } interface HarmonizationDocument { readonly discriminator: 'harmonization_document'; readonly code: string; readonly categories: io.flow.v0.models.CategorySummary[]; readonly origin?: string; } 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 HarmonizationTariffCode { readonly tariff_code: string; readonly destination: string; } interface HarmonizationTariffCodesExportType { readonly discriminator: 'harmonization_tariff_codes_export_type'; readonly sort?: 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.v0.models.Address; readonly items: io.flow.v0.models.HarmonizedLandedCostItem[]; } interface HarmonizedLandedCostForm { readonly address: io.flow.v0.models.Address; readonly item_numbers: string[]; readonly source_address?: io.flow.v0.models.Address; readonly order_number?: string; readonly line_items?: io.flow.v0.models.LineItem[]; readonly billing_address?: io.flow.v0.models.BillingAddress; } interface HarmonizedLandedCostItem { readonly item: io.flow.v0.models.HarmonizedItemReference; readonly duty: io.flow.v0.models.Duty; readonly tax: io.flow.v0.models.Tax; readonly tax_applicability?: io.flow.v0.enums.TaxApplicability; readonly origin?: string; readonly hs_code?: string; readonly tariff_code?: string; readonly customs_description?: string; readonly source_address?: io.flow.v0.models.Address; } interface HarmonizedLandedCostUpserted { readonly discriminator: 'harmonized_landed_cost_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly landed_cost: io.flow.v0.models.HarmonizedLandedCost; } interface Header { readonly name: string; readonly value: string; } interface Healthcheck { readonly status: string; } interface Hop { readonly hop_number: number; readonly hop_estimate: io.flow.v0.models.HopEstimate; } interface HopEstimate { readonly origin_address: io.flow.v0.models.ShippingAddress; readonly destination_address: io.flow.v0.models.ShippingAddress; readonly service: io.flow.v0.models.RatecardServiceSummary; readonly shipment_window: io.flow.v0.models.ShipmentWindow; readonly currency: string; readonly amount: number; readonly fees: io.flow.v0.unions.RatecardFee[]; readonly total: number; } interface HopEstimateV2 { readonly origin_address: io.flow.v0.models.ShippingAddress; readonly destination_address: io.flow.v0.models.ShippingAddress; readonly service: io.flow.v0.models.RatecardServiceSummary; readonly shipment_window: io.flow.v0.models.ShipmentWindow; readonly currency: string; readonly amount: number; readonly fees: io.flow.v0.unions.RatecardFee[]; readonly weight_break?: number; readonly total: number; readonly lane: io.flow.v0.models.LaneSummary; } interface HopV2 { readonly hop_number: number; readonly hop_estimate: io.flow.v0.models.HopEstimateV2; } interface Hs10 { readonly id: string; readonly item: io.flow.v0.models.HarmonizedItemReference; readonly origin: string; readonly destination: string; readonly code: string; } interface Hs10CodeDeleted { readonly discriminator: 'hs10_code_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly number: string; readonly origin: string; readonly destination: string; } interface Hs10CodeUpserted { readonly discriminator: 'hs10_code_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly number: string; readonly origin: string; readonly destination: string; readonly code: string; } interface Hs10Version { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly hs10: io.flow.v0.models.Hs10; } interface Hs6 { readonly id: string; readonly item: io.flow.v0.models.HarmonizedItemReference; readonly code: string; } interface Hs6CodeDeleted { readonly discriminator: 'hs6_code_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly number: string; } interface Hs6CodeUpserted { readonly discriminator: 'hs6_code_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly number: string; readonly code: string; } interface IdentifierForm { readonly primary?: boolean; readonly name: string; } interface Image { readonly url: string; readonly tags: io.flow.v0.enums.ImageTag[]; readonly attributes?: Record; } interface ImageForm { readonly url: string; readonly tags?: io.flow.v0.enums.ImageTag[]; readonly attributes?: Record; } interface Import { readonly id: string; readonly type: io.flow.v0.enums.ImportType; readonly source_url: string; readonly filename: string; readonly status: io.flow.v0.enums.ExportStatus; readonly created_at: string; readonly started_at?: string; readonly completed_at?: string; readonly results?: io.flow.v0.models.ImportResults; readonly deliveries: io.flow.v0.unions.ExportDelivery[]; } interface ImportForm { readonly type: io.flow.v0.enums.ImportType; readonly source_url: string; readonly filename?: string; readonly emails?: string[]; } interface ImportResults { readonly number_successful: number; readonly number_errors: number; readonly url?: string; } interface ImportTemplate { readonly type: io.flow.v0.enums.ImportType; readonly documentation_url: string; } interface ImportTemplateExample { readonly url: string; } interface ImportTemplateForm { readonly type: io.flow.v0.enums.ImportType; } interface ImportVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly import: io.flow.v0.models.Import; } interface InComplianceReview { readonly discriminator: 'in_compliance_review'; readonly placeholder?: boolean; } interface InboundCartonFee { readonly discriminator: 'inbound_carton_fee'; readonly amount: io.flow.v0.models.Money; } interface IncludedLevies { readonly key: io.flow.v0.enums.IncludedLevyKey; readonly label: string; } interface IncotermIncludes { readonly duties: boolean; readonly taxes: boolean; } interface IncotermSummary { readonly configuration: io.flow.v0.enums.IncotermConfiguration; readonly includes: io.flow.v0.models.IncotermIncludes; readonly reason?: string; } interface IndirectTax { readonly number?: string; readonly id?: string; } interface Individual { readonly discriminator: 'individual'; readonly legal_name: string; readonly tax_registration_number?: string; readonly date_of_birth: 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.v0.models.IssuerReference; readonly order_number: string; readonly amount: number; readonly currency: string; readonly billing_address?: io.flow.v0.models.BillingAddress; readonly key?: string; readonly attributes?: Record; readonly ip?: string; readonly payload?: io.flow.v0.models.AuthorizationPayload; } interface InputForm { readonly values?: Record; } interface InputFormSpecification { readonly inputs?: io.flow.v0.models.InputSpecification[]; readonly limitations?: io.flow.v0.models.InputSpecificationLimitations; } interface InputSpecification { readonly type: io.flow.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.v0.unions.InputSpecificationLimitation[]; } interface Invitation { readonly id: string; readonly organization: io.flow.v0.unions.ExpandableOrganization; readonly email: string; readonly name: io.flow.v0.models.Name; readonly role?: io.flow.v0.enums.Role; readonly roles?: io.flow.v0.enums.FlowRole[]; readonly expiration: string; } interface InvitationError { readonly code: io.flow.v0.enums.InvitationErrorCode; readonly messages: string[]; } interface InvitationForm { readonly organization: string; readonly email: string; readonly name?: io.flow.v0.models.Name; readonly role?: io.flow.v0.enums.Role; readonly roles?: io.flow.v0.enums.FlowRole[]; } interface InvitationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly invitation: io.flow.v0.models.Invitation; } 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.v0.models.TaxBreakdown[]; } 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 Item { readonly id: string; readonly number: string; readonly locale: string; readonly name: string; readonly price: io.flow.v0.models.Price; readonly categories: string[]; readonly description?: string; readonly attributes: Record; readonly dimensions: io.flow.v0.models.Dimensions; readonly images: io.flow.v0.models.Image[]; readonly local?: io.flow.v0.models.Local; readonly created_at?: string; readonly updated_at?: string; readonly deleted_at?: string; } interface ItemAttributesPatchForm { readonly attributes: Record; } interface ItemDeleted { readonly discriminator: 'item_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly item: io.flow.v0.models.Item; } 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.v0.models.Dimensions; readonly images?: io.flow.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.v0.models.Price; readonly categories?: string[]; readonly description?: string; readonly attributes?: Record; readonly dimensions?: io.flow.v0.models.Dimensions; readonly images?: io.flow.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.v0.models.Dimensions; readonly images?: io.flow.v0.models.ImageForm[]; readonly deleted_at?: string; } interface ItemInserted { readonly discriminator: 'item_inserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly item: io.flow.v0.models.Item; } 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.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.v0.enums.ChangeType; readonly item_margin: io.flow.v0.models.ItemMargin; } interface ItemOriginDeleted { readonly discriminator: 'item_origin_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly number: string; readonly origin: string; } interface ItemOriginUpserted { readonly discriminator: 'item_origin_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly number: string; readonly origin: 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 ItemQuerySuggestion { readonly q: string; readonly count?: number; } interface ItemReference { readonly number: string; } interface ItemShippingPricing { readonly min: io.flow.v0.models.Price; readonly max?: io.flow.v0.models.Price; } interface ItemStatistics { readonly items: number; readonly categories: number; } interface ItemUpdated { readonly discriminator: 'item_updated'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly item: io.flow.v0.models.Item; } interface ItemVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly item: io.flow.v0.models.Item; } interface JsonpResponse { readonly status: number; readonly headers: Record; readonly body: any /*object*/; } interface KlarnaPaymentCategory { readonly id: string; readonly name: string; readonly standard_asset_url?: string; readonly descriptive_asset_url?: 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.v0.models.KlarnaPaymentMethodCategory[]; } interface KlaviyoLineItem { readonly content: io.flow.v0.models.CheckoutItemContent; readonly quantity: number; readonly price: io.flow.v0.models.PriceWithBase; readonly line_price: io.flow.v0.models.PriceWithBase; } interface KlaviyoOrderContent { readonly line_items: io.flow.v0.models.KlaviyoLineItem[]; readonly prices: io.flow.v0.models.KlaviyoOrderPrices; readonly checkout_url: string; } interface KlaviyoOrderPrices { readonly subtotal: io.flow.v0.models.PriceWithBase; readonly vat?: io.flow.v0.models.PriceWithBase; readonly duty?: io.flow.v0.models.PriceWithBase; readonly discount?: io.flow.v0.models.PriceWithBase; readonly shipping?: io.flow.v0.models.PriceWithBase; readonly insurance?: io.flow.v0.models.PriceWithBase; readonly total: io.flow.v0.models.PriceWithBase; } interface KnowYourBusinessUsa { readonly discriminator: 'know_your_business_usa'; readonly id: string; readonly organization_id: string; readonly shop?: io.flow.v0.models.Shop; readonly primary_entity: io.flow.v0.unions.Entity; readonly parent_company?: io.flow.v0.models.Company; readonly ultimate_parent_company?: io.flow.v0.models.Company; readonly ultimate_beneficiary_owner: io.flow.v0.models.Individual; readonly business_url: string; readonly business_address: io.flow.v0.models.Address; } interface KnowYourBusinessUsaForm { readonly discriminator: 'know_your_business_usa_form'; readonly primary_entity: io.flow.v0.unions.Entity; readonly parent_company?: io.flow.v0.models.Company; readonly ultimate_parent_company?: io.flow.v0.models.Company; readonly ultimate_beneficiary_owner: io.flow.v0.models.Individual; readonly business_url: string; readonly business_address: io.flow.v0.models.Address; } interface KubeHealthcheck { readonly status: string; } interface LabelBase { readonly amount: number; readonly weight: number; } interface LabelDeletedV2 { readonly discriminator: 'label_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly label: io.flow.v0.models.ShippingLabel; } interface LabelOrderSummary { readonly id: string; readonly number: string; } interface LabelProcessingModification { readonly id: string; readonly modifications: string[]; readonly destination: io.flow.v0.models.ShippingAddress; readonly destination_provided_to_carrier?: io.flow.v0.models.ShippingAddress; } interface LabelProcessingModificationDeleted { readonly discriminator: 'label_processing_modification_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface LabelProcessingModificationUpserted { readonly discriminator: 'label_processing_modification_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly label_processing_modification: io.flow.v0.models.LabelProcessingModification; } interface LabelReference { readonly id: string; } interface LabelSurcharge { readonly amount: number; readonly type: io.flow.v0.enums.TrueupSurchargeType; readonly detail: io.flow.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 LabelTrackingCarrierService { readonly carrier_id: string; readonly service_id?: string; } interface LabelTrackingSummary { readonly id: string; readonly carrier_service: io.flow.v0.models.LabelTrackingCarrierService; readonly carrier_tracking_number: string; readonly order_number?: string; readonly label?: io.flow.v0.models.LabelReference; readonly in_transit: io.flow.v0.models.LabelTrackingSummaryUpdate; readonly delivered?: io.flow.v0.models.LabelTrackingSummaryUpdate; readonly rejected?: io.flow.v0.models.LabelTrackingSummaryUpdate; readonly returned?: io.flow.v0.models.LabelTrackingSummaryUpdate; readonly crossed_border?: io.flow.v0.models.LabelTrackingSummaryUpdate; readonly destroyed?: io.flow.v0.models.LabelTrackingSummaryUpdate; readonly return_reversal?: io.flow.v0.models.LabelTrackingSummaryUpdate; } interface LabelTrackingSummaryUpdate { readonly timestamp: string; readonly created_at?: string; } interface LabelUnits { readonly currency: string; readonly weight: io.flow.v0.enums.UnitOfWeight; readonly length: io.flow.v0.enums.UnitOfLength; } interface LabelUpsertedV2 { readonly discriminator: 'label_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly label: io.flow.v0.models.ShippingLabel; } interface LandedCostItem { readonly number: string; readonly origin: string; readonly destination: string; } interface LaneLandedCost { readonly origin: string; readonly destination: string; readonly tariff_code: string; readonly effective_duty: io.flow.v0.models.Duty; readonly tax: io.flow.v0.models.Tax; } interface LaneSummary { readonly id: string; readonly ratecard: io.flow.v0.models.RatecardSummary; readonly dim_factor: number; } interface Language { readonly name: string; readonly iso_639_2: string; } interface LargePackageServiceFee { readonly discriminator: 'large_package_service_fee'; readonly length_girth_threshold?: number; readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly weight_threshold?: number; readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly amount: io.flow.v0.models.Money; } interface Line { readonly id?: string; readonly item_number: string; readonly quantity: number; readonly price: io.flow.v0.models.PriceWithBase; readonly total: io.flow.v0.models.PriceWithBase; readonly attributes?: Record; } interface LineItem { readonly number: string; readonly quantity: number; readonly price: io.flow.v0.models.Money; readonly attributes: Record; readonly center?: string; readonly discount?: io.flow.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.v0.models.DatetimeRange; readonly price?: io.flow.v0.models.Money; readonly attributes?: Record; readonly center?: string; readonly discount?: io.flow.v0.models.Money; readonly discounts?: io.flow.v0.models.DiscountsForm; } interface LineItemQuantityForm { readonly quantity: number; } interface Link { readonly url: string; } interface Local { readonly experience: io.flow.v0.models.ExperienceSummary; readonly prices: io.flow.v0.unions.LocalizedPrice[]; readonly rates: io.flow.v0.models.Rate[]; readonly spot_rates: any /*object*/[]; readonly status: io.flow.v0.enums.SubcatalogItemStatus; readonly attributes?: Record; readonly price_attributes?: Record; } interface LocalItem { readonly id: string; readonly experience: io.flow.v0.models.ExperienceSummary; readonly center?: io.flow.v0.models.CenterSummary; readonly item: io.flow.v0.models.CatalogItemReference; readonly pricing: io.flow.v0.models.LocalItemPricing; readonly status: io.flow.v0.enums.SubcatalogItemStatus; readonly attributes?: Record; } interface LocalItemAttributePricing { readonly pretax_price: io.flow.v0.models.PriceWithBase; readonly vat?: io.flow.v0.models.LocalizedItemVat; readonly duty?: io.flow.v0.models.LocalizedItemDuty; readonly price: io.flow.v0.models.LocalizedItemPrice; } interface LocalItemPricing { readonly price: io.flow.v0.models.LocalizedItemPrice; readonly vat?: io.flow.v0.models.LocalizedItemVat; readonly duty?: io.flow.v0.models.LocalizedItemDuty; readonly shipping?: io.flow.v0.models.Price; readonly attributes: Record; readonly price_attributes?: Record< string, io.flow.v0.models.LocalItemAttributePricing >; } interface LocalPriceDetails { readonly base: io.flow.v0.models.PriceDetails; readonly local: io.flow.v0.models.PriceDetails; readonly discount?: io.flow.v0.models.PriceDetail; readonly local_before_discount?: io.flow.v0.models.PriceDetail; } interface LocalSession { readonly country: io.flow.v0.models.Country; readonly currency: io.flow.v0.models.Currency; readonly language: io.flow.v0.models.Language; readonly locale: io.flow.v0.models.Locale; readonly experience: io.flow.v0.models.ExperienceGeo; } interface Locale { readonly id: string; readonly name: string; readonly country: string; readonly language: string; readonly numbers: io.flow.v0.models.LocaleNumbers; } interface LocaleNumbers { readonly decimal: string; readonly group: string; } interface LocalizedAdjustment { readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.v0.models.Price; readonly reason: io.flow.v0.models.AdjustmentReason; } interface LocalizedItemDuty { readonly key: 'localized_item_duty'; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.v0.models.Price; readonly adjustment?: io.flow.v0.models.LocalizedAdjustment; readonly basis?: io.flow.v0.models.MoneyWithBase; } interface LocalizedItemPrice { readonly key: 'localized_item_price'; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.v0.models.Price; readonly includes?: io.flow.v0.models.IncludedLevies; } interface LocalizedItemPricesExportType { readonly discriminator: 'localized_item_prices_export_type'; readonly since?: string; } interface LocalizedItemVat { readonly key: 'localized_item_vat'; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.v0.models.Price; readonly name: string; readonly adjustment?: io.flow.v0.models.LocalizedAdjustment; readonly accuracy?: io.flow.v0.enums.PriceAccuracy; readonly basis?: io.flow.v0.models.MoneyWithBase; } interface LocalizedLineItem { readonly id?: string; readonly number: string; readonly name: string; readonly quantity: number; readonly image?: io.flow.v0.models.OrderSummaryImage; readonly center?: string; readonly price?: io.flow.v0.models.Money; readonly discount?: io.flow.v0.models.LocalizedLineItemDiscount; readonly discounts?: io.flow.v0.models.LocalizedLineItemDiscount[]; readonly attributes?: Record; readonly local: io.flow.v0.models.Local; readonly shipment_estimate?: io.flow.v0.models.DatetimeRange; readonly price_source?: io.flow.v0.unions.PriceSource; readonly breakdown?: io.flow.v0.models.OrderPriceDetailBreakdown; } interface LocalizedLineItemDiscount { readonly amount: number; readonly currency: string; readonly label?: string; readonly base?: io.flow.v0.models.Price; readonly requested?: io.flow.v0.models.Money; readonly discount_label?: string; } interface LocalizedTotal { readonly key: 'localized_total'; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.v0.models.Price; readonly breakdown?: io.flow.v0.models.OrderPriceDetailBreakdown; } interface LocalizedTranslation { readonly locale: io.flow.v0.models.Locale; readonly name: string; } interface LocationError { readonly code: io.flow.v0.enums.LocationErrorCode; readonly messages: string[]; } interface LogisticsFormat { readonly preference: io.flow.v0.enums.LogisticsFormatPreference; readonly description?: string; } interface LogisticsSettings { readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference; } interface LogoImageSetStatic { readonly discriminator: 'static'; readonly small?: io.flow.v0.models.LogoImageStatic; readonly medium: io.flow.v0.models.LogoImageStatic; readonly large?: io.flow.v0.models.LogoImageStatic; } interface LogoImageStatic { readonly url: string; readonly width: number; readonly height: number; } interface LogoImageSvg { readonly discriminator: 'svg'; readonly url: string; } interface Manifest { readonly id: string; readonly timestamp: string; readonly shipping_labels: io.flow.v0.models.ShippingLabelSummary[]; readonly pdf?: string; readonly service?: io.flow.v0.models.ServiceSummary; } interface ManifestForm { readonly tracking_numbers: string[]; readonly service?: string; } interface ManifestedLabelDeleted { readonly discriminator: 'manifested_label_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface ManifestedLabelUpserted { readonly discriminator: 'manifested_label_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly manifest_id: string; readonly label_id: string; readonly flow_tracking_number: string; readonly carrier_tracking_number: string; readonly order_identifier?: string; readonly fulfillment_key?: string; } interface Margin { readonly type: io.flow.v0.enums.MarginType; readonly value: number; } interface MarketingFeedsExportType { readonly discriminator: 'marketing_feeds_export_type'; readonly organization: io.flow.v0.models.OrganizationReference; readonly feed_ids: string[]; } interface Measurement { readonly value: string; readonly units: io.flow.v0.enums.UnitOfMeasurement; } interface Membership { readonly id: string; readonly organization: io.flow.v0.unions.ExpandableOrganization; readonly user: io.flow.v0.unions.ExpandableUser; readonly role?: io.flow.v0.enums.Role; readonly roles: io.flow.v0.enums.FlowRole[]; } interface MembershipDeletedV2 { readonly discriminator: 'membership_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly membership: io.flow.v0.models.Membership; } interface MembershipForm { readonly organization: string; readonly user: string; readonly role?: io.flow.v0.enums.Role; readonly roles?: io.flow.v0.enums.FlowRole[]; } interface MembershipPutForm { readonly role?: io.flow.v0.enums.Role; readonly roles?: io.flow.v0.enums.FlowRole[]; } interface MembershipUpsertedV2 { readonly discriminator: 'membership_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly membership: io.flow.v0.models.Membership; } interface MembershipVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly membership: io.flow.v0.models.Membership; } interface MerchantActivated { readonly discriminator: 'merchant_activated'; readonly placeholder?: boolean; } interface MerchantApplicationDeleted { readonly discriminator: 'merchant_application_deleted'; readonly event_id: string; readonly timestamp: string; readonly merchant_application: io.flow.v0.unions.MerchantApplication; } interface MerchantApplicationUpserted { readonly discriminator: 'merchant_application_upserted'; readonly event_id: string; readonly timestamp: string; readonly merchant_application: io.flow.v0.unions.MerchantApplication; } interface MerchantDeactivated { readonly discriminator: 'merchant_deactivated'; readonly reason: string; readonly deactivate_at?: string; } interface MerchantDisabled { readonly discriminator: 'merchant_disabled'; readonly reason: io.flow.v0.enums.MerchantDisabledReason; } interface MerchantGiftCardBalance { readonly amount: number; readonly currency: string; } interface MerchantGiftCardBalanceForm { readonly number: string; } interface MerchantGiftCardError { readonly code: io.flow.v0.enums.MerchantGiftCardErrorCode; readonly messages?: string[]; } interface MerchantGiftCardRedemption { readonly id: string; } interface MerchantGiftCardRedemptionForm { readonly number: string; readonly amount: number; readonly currency: string; } interface MerchantGiftCardReversal { readonly id: string; } interface MerchantGiftCardReversalForm { readonly number: string; readonly amount: number; readonly currency: string; } interface MerchantInfo { readonly legal_name?: string; readonly country: string; readonly region?: io.flow.v0.enums.RegionType; readonly region_value?: string; readonly category_code?: string; readonly description?: string; } 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.v0.enums.AuthorizationOption[]; readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls; readonly browser_info?: io.flow.v0.models.BrowserInfo; readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration; } interface MerchantOfRecordEntity { readonly organization: io.flow.v0.models.OrganizationReference; readonly name: string; readonly vat?: io.flow.v0.models.MerchantOfRecordEntityRegistration; readonly identifiers?: io.flow.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 MerchantOfRecordPaymentForm { readonly discriminator: 'merchant_of_record_payment_form'; readonly method: string; readonly order_number: string; readonly amount: number; readonly currency: 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.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.v0.models.Address; } interface MerchantRejected { readonly discriminator: 'merchant_rejected'; readonly reason: io.flow.v0.enums.MerchantRejectedReason; readonly description?: string; readonly deactivate_at?: string; } interface Money { readonly amount: number; readonly currency: string; } interface MoneyWithBase { readonly currency: string; readonly amount: number; readonly base: io.flow.v0.models.Money; } interface MoneyWithOptionalBase { readonly currency: string; readonly amount: number; readonly base?: io.flow.v0.models.Money; } interface MonthlyAverage { readonly volume?: io.flow.v0.models.MonthlyAverageVolume; readonly number_transactions?: number; } interface MonthlyAverageVolume { readonly amount?: number; readonly currency?: string; } interface Name { readonly first?: string; readonly last?: string; } interface NameForm { readonly first?: string; readonly last?: string; } interface NeedsActionAttributes { readonly reason_code: string; readonly category_metafield_handles: string[]; readonly require_msds?: boolean; } interface NotificationDeletedV2 { readonly discriminator: 'notification_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly notification: io.flow.v0.models.ShippingNotification; } interface NotificationUpsertedV2 { readonly discriminator: 'notification_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly notification: io.flow.v0.models.ShippingNotification; } interface NumberRange { readonly min: number; readonly max: number; } interface OnboardingMerchantPickupWindow { readonly from: io.flow.v0.models.OnboardingMerchantTime; readonly to: io.flow.v0.models.OnboardingMerchantTime; } interface OnboardingMerchantScheduledPickup { readonly day_of_week: io.flow.v0.enums.DayOfWeek; readonly window: io.flow.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.v0.enums.OrganizationStatus; } interface OnboardingStateTransition { readonly id: string; readonly state: io.flow.v0.unions.OnboardingState; readonly started_at: string; } interface OnlineAuthorization { readonly discriminator: 'online_authorization'; readonly id: string; readonly key: string; readonly method?: io.flow.v0.models.PaymentMethod; readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord; readonly details?: io.flow.v0.unions.OnlineAuthorizationDetails; readonly payment?: any /*object*/; readonly amount: number; readonly currency: string; readonly requested?: io.flow.v0.models.Money; readonly customer: io.flow.v0.models.OrderCustomer; readonly attributes: Record; readonly destination?: io.flow.v0.models.Address; readonly billing_address?: io.flow.v0.models.BillingAddress; readonly order?: io.flow.v0.models.AuthorizationOrderReference; readonly payment_order_reference?: io.flow.v0.unions.PaymentOrderReference; readonly ip?: string; readonly result: io.flow.v0.models.AuthorizationResult; readonly created_at: string; readonly expires_at?: string; readonly base?: io.flow.v0.models.Money; readonly processor?: io.flow.v0.unions.ExpandablePaymentProcessor; readonly confirmation_details?: io.flow.v0.unions.ConfirmationDetails; readonly authorized_at?: string; readonly authorization_request_id?: string; } interface OnlineAuthorizationDeletedV2 { readonly discriminator: 'online_authorization_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly authorization: io.flow.v0.models.OnlineAuthorization; } interface OnlineAuthorizationUpsertedV2 { readonly discriminator: 'online_authorization_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly authorization: io.flow.v0.models.OnlineAuthorization; } interface OnlinePaymentAuthorizationForm { readonly discriminator: 'online_payment_authorization_form'; readonly payment_id: string; readonly key?: string; } interface OperationsContact { readonly company?: string; readonly email?: string; readonly phone?: string; readonly address?: io.flow.v0.models.Address; } interface OptionWeightEstimates { readonly gravitational: io.flow.v0.models.Measurement; readonly dimensional: io.flow.v0.models.Measurement; } interface Options { readonly required: boolean; readonly show_in_catalog: boolean; readonly show_in_harmonization: boolean; } interface Order { readonly discriminator: 'order'; readonly id: string; readonly number: string; readonly order_type?: io.flow.v0.enums.OrderType; readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord; readonly experience?: io.flow.v0.unions.ExpandableExperience; readonly customer: io.flow.v0.models.OrderCustomer; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly destination: io.flow.v0.models.OrderAddress; readonly expires_at: string; readonly items: io.flow.v0.models.LocalizedLineItem[]; readonly deliveries: io.flow.v0.unions.Delivery[]; readonly selections: string[]; readonly prices: io.flow.v0.models.OrderPriceDetail[]; readonly total: io.flow.v0.models.LocalizedTotal; readonly attributes: Record; readonly submitted_at?: string; readonly lines?: io.flow.v0.models.Line[]; readonly identifiers?: string[]; readonly promotions?: io.flow.v0.models.Promotions; readonly payments?: io.flow.v0.models.OrderPayment[]; readonly balance?: io.flow.v0.models.LocalizedTotal; readonly rules?: io.flow.v0.models.OrderRulesSummary; readonly tax_registration?: io.flow.v0.models.TaxRegistration; readonly geo?: io.flow.v0.models.OrderGeo; readonly device_details?: io.flow.v0.unions.DeviceDetails; readonly destination_contact_details?: io.flow.v0.models.DestinationContactDetail[]; readonly incoterm_summary?: io.flow.v0.models.IncotermSummary; readonly payment_source?: io.flow.v0.enums.OrderPaymentSourceType; readonly edits?: io.flow.v0.models.EditSummary[]; readonly rates?: io.flow.v0.models.OrderRate[]; readonly pricing_type?: io.flow.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.v0.models.Contact; } interface OrderBuilder { readonly order?: io.flow.v0.models.Order; readonly errors?: io.flow.v0.models.OrderError[]; } interface OrderBuilderAttributesForm { readonly attributes: Record; } interface OrderBuilderCustomerForm { readonly customer: io.flow.v0.models.OrderCustomerForm; } interface OrderBuilderCustomerInvoiceAddressForm { readonly address: io.flow.v0.models.BillingAddress; } interface OrderBuilderDeliveredDutyForm { readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; } interface OrderBuilderDestinationCountryForm { readonly country: string; } interface OrderBuilderDestinationForm { readonly destination: io.flow.v0.models.OrderAddress; } interface OrderBuilderSelectionsForm { readonly selections: string[]; } interface OrderCustomer { readonly name: io.flow.v0.models.Name; readonly number?: string; readonly phone?: string; readonly email?: string; readonly address?: io.flow.v0.models.BillingAddress; readonly invoice?: io.flow.v0.models.CustomerInvoice; } interface OrderCustomerForm { readonly name?: io.flow.v0.models.Name; readonly number?: string; readonly phone?: string; readonly email?: string; readonly address?: io.flow.v0.models.BillingAddress; readonly invoice?: io.flow.v0.models.CustomerInvoice; } interface OrderDeletedV2 { readonly discriminator: 'order_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order: io.flow.v0.models.Order; } interface OrderDestinationPutForm { readonly destination: io.flow.v0.models.OrderAddress; } interface OrderDetails { readonly line_items: io.flow.v0.models.PaymentOrderDetailsLineItem[]; readonly shipping?: io.flow.v0.models.Shipping; readonly discounts?: io.flow.v0.models.PaymentDiscount[]; readonly tax?: io.flow.v0.models.PaymentTax; readonly duty?: io.flow.v0.models.PaymentDuty; readonly reference?: string; } interface OrderError { readonly code: io.flow.v0.enums.OrderErrorCode; readonly messages: string[]; readonly numbers?: string[]; readonly destination_country?: io.flow.v0.models.Country; readonly threshold?: io.flow.v0.models.ValueThresholdExceededDetails; } interface OrderEstimate { readonly id: string; readonly items: io.flow.v0.models.LocalizedLineItem[]; readonly destination: io.flow.v0.models.OrderAddress; readonly deliveries: io.flow.v0.unions.Delivery[]; readonly prices: io.flow.v0.models.OrderPriceDetail[]; readonly selections: string[]; readonly total: io.flow.v0.models.LocalizedTotal; readonly lines?: io.flow.v0.models.Line[]; readonly promotions?: io.flow.v0.models.Promotions; } interface OrderEstimateForm { readonly items: io.flow.v0.models.LineItemForm[]; readonly destination?: io.flow.v0.models.OrderAddress; readonly selections?: 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.v0.enums.OrderStatus; readonly has_tracking_label?: boolean; readonly sort?: string; } interface OrderForm { readonly customer?: io.flow.v0.models.OrderCustomerForm; readonly items: io.flow.v0.models.LineItemForm[]; readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty; readonly number?: string; readonly destination?: io.flow.v0.models.OrderAddress; readonly discount?: io.flow.v0.models.Money; readonly discounts?: io.flow.v0.models.DiscountsForm; readonly attributes?: Record; readonly authorization_keys?: string[]; readonly options?: io.flow.v0.models.OrderOptions; readonly device_details?: io.flow.v0.unions.DeviceDetails; readonly payment_source?: io.flow.v0.enums.OrderPaymentSourceType; } interface OrderFraudStatus { readonly order: io.flow.v0.models.OrderReference; readonly status: io.flow.v0.enums.FraudStatus; } interface OrderGeo { readonly ip?: string; readonly country: string; readonly currency?: string; readonly language?: string; } interface OrderIdentifier { readonly id: string; readonly order: io.flow.v0.models.OrderReference; readonly name: string; readonly identifier: string; readonly primary: boolean; readonly number?: string; } interface OrderIdentifierDeletedV2 { readonly discriminator: 'order_identifier_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: 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 OrderIdentifierUpsertedV3 { readonly discriminator: 'order_identifier_upserted_v3'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly identifier: io.flow.v0.models.OrderIdentifier; } interface OrderIdentifierVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly order_identifier: io.flow.v0.models.OrderIdentifier; } interface OrderInformationDetails { readonly type: 'details'; readonly order_details: io.flow.v0.models.OrderDetails; readonly billing_address?: io.flow.v0.models.PaymentAddressBilling; readonly shipping_address?: io.flow.v0.models.PaymentAddressShipping; } interface OrderInformationFlow { readonly type: 'flow'; readonly order_number: string; readonly billing_address?: io.flow.v0.models.PaymentAddressBilling; } 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.v0.models.OrderNumberGeneratorFixedLength; } interface OrderNumberGeneratorUuid { readonly discriminator: 'uuid'; readonly prefix?: string; } interface OrderNumberReference { readonly number: string; } interface OrderOptions { readonly storage: io.flow.v0.enums.OrderStorage; } interface OrderPayment { readonly id: string; readonly type: io.flow.v0.enums.OrderPaymentType; readonly merchant_of_record?: io.flow.v0.enums.MerchantOfRecord; readonly reference: string; readonly description: string; readonly total: io.flow.v0.models.PriceWithBase; readonly address?: io.flow.v0.models.BillingAddress; readonly date?: string; readonly attributes?: Record; readonly method?: string; } interface OrderPlaced { readonly discriminator: 'order_placed'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_number: string; readonly order: io.flow.v0.models.Order; readonly allocation: io.flow.v0.models.AllocationV2; } interface OrderPlacedDetails { readonly id: string; readonly order: io.flow.v0.models.Order; readonly allocation: io.flow.v0.models.AllocationV2; } interface OrderPlacedV2 { readonly discriminator: 'order_placed_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_placed: io.flow.v0.models.OrderPlacedDetails; } interface OrderPriceCoefficient { readonly type: io.flow.v0.enums.OrderPriceCoefficientType; readonly value: number; readonly price: io.flow.v0.models.PriceWithBase; } interface OrderPriceDetail { readonly key: io.flow.v0.enums.OrderPriceDetailKey; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.v0.models.Price; readonly components: io.flow.v0.models.OrderPriceDetailComponent[]; readonly name?: string; readonly rate?: number; readonly accuracy?: io.flow.v0.enums.PriceAccuracy; readonly rate_label?: string; readonly breakdown?: io.flow.v0.models.OrderPriceDetailBreakdown; } interface OrderPriceDetailBreakdown { readonly purchase_price: io.flow.v0.models.PurchasePriceBreakdown; readonly fees: io.flow.v0.models.OrderPriceFee[]; } interface OrderPriceDetailComponent { readonly key: io.flow.v0.enums.OrderPriceDetailComponentKey; readonly currency: string; readonly amount: number; readonly label: string; readonly base: io.flow.v0.models.Price; readonly name?: string; } interface OrderPriceFee { readonly key: string; readonly value: io.flow.v0.models.PriceWithBase; readonly type: io.flow.v0.enums.OrderPriceFeeType; } interface OrderPriceSubsidy { readonly type: io.flow.v0.enums.OrderPriceSubsidyType; readonly price: io.flow.v0.models.PriceWithBase; } interface OrderPromotionTrigger { readonly type: io.flow.v0.enums.PromotionTriggerType; readonly min?: io.flow.v0.models.Price; } interface OrderPutForm { readonly order_type?: io.flow.v0.enums.OrderType; readonly items: io.flow.v0.models.LineItemForm[]; readonly customer?: io.flow.v0.models.OrderCustomerForm; readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty; readonly selections?: string[]; readonly destination?: io.flow.v0.models.OrderAddress; readonly discount?: io.flow.v0.models.Money; readonly discounts?: io.flow.v0.models.DiscountsForm; readonly attributes?: Record; readonly authorization_keys?: string[]; readonly options?: io.flow.v0.models.OrderOptions; readonly device_details?: io.flow.v0.unions.DeviceDetails; readonly payment_source?: io.flow.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.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.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.v0.models.OrderRefundSummaryPartialIncludes[]; readonly items: io.flow.v0.models.OrderRefundSummaryItem[]; } interface OrderRefundSummaryPartialIncludes { readonly key: io.flow.v0.enums.OrderRefundSummaryIncludes; readonly charged: io.flow.v0.enums.OrderRefundSummaryPartialCharged; } interface OrderReplacement { readonly id: string; readonly parent_order: io.flow.v0.models.Order; readonly replacement_order: io.flow.v0.models.Order; } interface OrderReplacementForm { readonly items?: io.flow.v0.models.LineItemForm[]; } interface OrderRuleReference { readonly id: string; readonly key: string; } interface OrderRulesSummary { readonly applied: io.flow.v0.models.OrderRuleReference[]; } interface OrderServiceChange { readonly id: string; readonly from: io.flow.v0.models.CarrierService; readonly to: io.flow.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 OrderState { readonly id: string; readonly order_number: string; readonly external_order_reference: string; readonly payment_requests: io.flow.v0.models.PaymentRequestReference[]; readonly status: io.flow.v0.enums.OrderStateStatus; readonly rejection_reasons?: io.flow.v0.unions.OrderStateRejectionReason[]; } interface OrderStateDeleted { readonly discriminator: 'order_state_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly id: string; } interface OrderStateRejectionReasonDomesticOrder { readonly discriminator: 'order_state_rejection_reason_domestic_order'; readonly destination_address: io.flow.v0.models.Address; } interface OrderStateRejectionReasonItemsEmpty { readonly discriminator: 'order_state_rejection_reason_items_empty'; readonly line_items: string[]; } interface OrderStateRejectionReasonOrderCancelled { readonly discriminator: 'order_state_rejection_reason_order_cancelled'; readonly channel_event_code: string; } interface OrderStateRejectionReasonOrganizationDeactivated { readonly discriminator: 'order_state_rejection_reason_organization_deactivated'; readonly deactivation_requested_at: string; readonly deactivated_at?: string; } interface OrderStateRejectionReasonPaymentFraud { readonly discriminator: 'order_state_rejection_reason_payment_fraud'; readonly payment_request_id: string; } interface OrderStateRejectionReasonRestrictedItem { readonly discriminator: 'order_state_rejection_reason_restricted_item'; readonly item_numbers: string[]; } interface OrderStateUpserted { readonly discriminator: 'order_state_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly order_state: io.flow.v0.models.OrderState; } interface OrderSubmissionForm { readonly identifiers?: io.flow.v0.models.OrderSubmissionIdentifierForm[]; } interface OrderSubmissionIdentifierForm { readonly identifier: string; readonly name?: string; readonly primary?: boolean; } interface OrderSummary { readonly number: string; readonly subtotal: io.flow.v0.models.OrderSummaryPriceDetail; readonly shipping?: io.flow.v0.models.OrderSummaryPriceDetail; readonly tax?: io.flow.v0.models.OrderSummaryPriceDetail; readonly duty?: io.flow.v0.models.OrderSummaryPriceDetail; readonly insurance?: io.flow.v0.models.OrderSummaryPriceDetail; readonly discount?: io.flow.v0.models.OrderSummaryPriceDetail; readonly surcharges?: io.flow.v0.models.OrderSummaryPriceDetail; readonly adjustment?: io.flow.v0.models.OrderSummaryPriceDetail; readonly total: io.flow.v0.models.OrderSummaryPriceDetail; readonly lines: io.flow.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.v0.models.CheckoutItemContentAttribute[]; readonly image?: io.flow.v0.models.OrderSummaryImage; readonly price: io.flow.v0.models.Price; readonly discount?: io.flow.v0.models.Price; readonly tax?: io.flow.v0.models.OrderSummaryLevy; readonly duty?: io.flow.v0.models.OrderSummaryLevy; readonly price_attributes: Record; } interface OrderSummaryLevy { readonly rate: number; readonly rate_label?: string; readonly value: io.flow.v0.models.Price; } interface OrderSummaryLineItem { readonly id?: string; readonly item: io.flow.v0.models.OrderSummaryItem; readonly quantity: number; readonly discount?: io.flow.v0.models.Price; readonly tax?: io.flow.v0.models.OrderSummaryLevy; readonly duty?: io.flow.v0.models.OrderSummaryLevy; readonly total: io.flow.v0.models.Price; readonly price_attributes: Record; readonly attributes?: Record; } interface OrderSummaryPriceDetail { readonly price: io.flow.v0.models.Price; readonly name?: string; readonly rate?: number; readonly rate_label?: string; } interface OrderUpsertedV2 { readonly discriminator: 'order_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order: io.flow.v0.models.Order; } interface OrderVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly order: io.flow.v0.models.Order; } interface OrderWithDiscountsForm { readonly order: io.flow.v0.models.OrderForm; readonly discounts: string[]; } interface Organization { readonly discriminator: 'organization'; readonly id: string; readonly name: string; readonly environment: io.flow.v0.enums.Environment; readonly parent?: io.flow.v0.models.OrganizationReference; readonly defaults?: io.flow.v0.models.OrganizationDefaults; readonly created_at?: string; readonly status?: io.flow.v0.enums.OrganizationStatus; readonly type?: io.flow.v0.enums.OrganizationType; readonly channel?: io.flow.v0.models.ChannelReference; readonly attributes?: Record; } interface OrganizationAuthorization { readonly role?: io.flow.v0.enums.Role; readonly environment: io.flow.v0.enums.Environment; } interface OrganizationAuthorizationForm { readonly organization: string; readonly environment: io.flow.v0.enums.Environment; } interface OrganizationBankAccount { readonly id: string; readonly key: string; readonly last4: string; } interface OrganizationDefaultBankAccount { readonly id: string; readonly bank_account: io.flow.v0.models.BankAccountReference; } interface OrganizationDefaults { readonly country: string; readonly base_currency: string; readonly language: string; readonly locale: string; readonly timezone: string; } interface OrganizationDeleted { readonly discriminator: 'organization_deleted'; readonly event_id: string; readonly timestamp: string; readonly id: string; } interface OrganizationDeletedV2 { readonly discriminator: 'organization_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: io.flow.v0.models.Organization; } interface OrganizationForm { readonly id?: string; readonly name?: string; readonly environment: io.flow.v0.enums.Environment; readonly parent_id?: string; readonly defaults?: io.flow.v0.models.OrganizationDefaults; readonly status?: io.flow.v0.enums.OrganizationStatus; readonly type?: io.flow.v0.enums.OrganizationType; } interface OrganizationOnboardingState { readonly id: string; readonly organization: io.flow.v0.models.OrganizationReference; readonly transitions: io.flow.v0.models.OnboardingStateTransition[]; readonly current_state: io.flow.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 OrganizationOnboardingStateDeleted { readonly discriminator: 'organization_onboarding_state_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly organization_onboarding_state: io.flow.v0.models.OrganizationOnboardingState; } interface OrganizationOnboardingStateUpserted { readonly discriminator: 'organization_onboarding_state_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly organization_onboarding_state: io.flow.v0.models.OrganizationOnboardingState; } interface OrganizationPayout { readonly id: string; readonly account: io.flow.v0.models.AccountReference; readonly status: io.flow.v0.unions.PayoutStatus; readonly bank_account?: io.flow.v0.models.BankAccountSummary; readonly amount: number; readonly attachments: io.flow.v0.models.PayoutAttachment[]; readonly created_at: string; readonly updated_at: string; } interface OrganizationPayoutDeleted { readonly discriminator: 'organization_payout_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrganizationPayoutUpserted { readonly discriminator: 'organization_payout_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly payout: io.flow.v0.models.OrganizationPayout; } interface OrganizationPendingPayoutTransaction { readonly id: string; readonly reason: io.flow.v0.models.PendingPayoutTransactionReason; readonly timeout?: io.flow.v0.models.PendingPayoutTransactionTimeout; readonly created_at: string; readonly updated_at: string; readonly deleted_at?: string; } interface OrganizationPendingPayoutTransactionDeleted { readonly discriminator: 'organization_pending_payout_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrganizationPendingPayoutTransactionUpserted { readonly discriminator: 'organization_pending_payout_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly organization_pending_payout_transaction: io.flow.v0.models.OrganizationPendingPayoutTransaction; } interface OrganizationPutForm { readonly name?: string; readonly environment?: io.flow.v0.enums.Environment; readonly parent_id?: string; readonly defaults?: io.flow.v0.models.OrganizationDefaults; readonly status?: io.flow.v0.enums.OrganizationStatus; } interface OrganizationRatesData { readonly rates: io.flow.v0.models.Rate[]; } interface OrganizationRatesPublished { readonly discriminator: 'organization_rates_published'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly data: io.flow.v0.models.OrganizationRatesData; } interface OrganizationReference { readonly discriminator: 'organization_reference'; readonly id: string; readonly channel?: io.flow.v0.models.ChannelReference; } interface OrganizationSession { readonly discriminator: 'organization_session'; readonly id: string; readonly organization: string; readonly visitor: io.flow.v0.models.SessionVisitor; readonly visit: io.flow.v0.models.SessionVisit; readonly environment: io.flow.v0.enums.Environment; readonly attributes: Record; readonly ip?: string; readonly local?: io.flow.v0.models.LocalSession; readonly geo?: io.flow.v0.models.SessionGeo; readonly experience?: io.flow.v0.models.ExperienceGeo; readonly format?: io.flow.v0.models.SessionFormat; } interface OrganizationSessionAuthorization { readonly discriminator: 'organization_session_authorization'; readonly organization: io.flow.v0.models.OrganizationReference; readonly environment: io.flow.v0.enums.Environment; } interface OrganizationSummary { readonly id: string; readonly name: string; readonly environment: io.flow.v0.enums.Environment; } interface OrganizationTaxRegistration { readonly id: string; readonly organization: io.flow.v0.models.OrganizationSummary; readonly address: io.flow.v0.models.BillingAddress; readonly registration: io.flow.v0.models.TaxRegistrationDetail; readonly self_billing_agreement: io.flow.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 OrganizationToken { readonly discriminator: 'organization_token'; readonly id: string; readonly organization: io.flow.v0.models.OrganizationReference; readonly user: io.flow.v0.models.UserReference; readonly environment: io.flow.v0.enums.Environment; readonly partial: string; readonly created_at: string; readonly description?: string; } interface OrganizationTokenForm { readonly environment: io.flow.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.v0.models.OrganizationReference; readonly environment: io.flow.v0.enums.Environment; readonly user: io.flow.v0.models.UserReference; } interface OrganizationTokenV2 { readonly discriminator: 'organization_token_v2'; readonly id: string; readonly organization: io.flow.v0.models.OrganizationReference; readonly user: io.flow.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.v0.models.OrganizationReference; } interface OrganizationTransactionDeleted { readonly discriminator: 'organization_transaction_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface OrganizationTransactionUpserted { readonly discriminator: 'organization_transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transaction: io.flow.v0.models.Transaction; } interface OrganizationUpserted { readonly discriminator: 'organization_upserted'; readonly event_id: string; readonly timestamp: string; readonly id: string; readonly name: string; readonly environment: string; readonly currencies: string[]; readonly parent_id?: string; readonly default_base_currency?: string; readonly default_country?: string; readonly default_language?: string; readonly default_locale?: string; readonly default_timezone?: string; } interface OrganizationUpsertedV2 { readonly discriminator: 'organization_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: io.flow.v0.models.Organization; } interface OrganizationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly organization: io.flow.v0.models.Organization; } interface OriginalPrices { readonly value: io.flow.v0.models.Price; readonly max: io.flow.v0.models.Price; } interface OutboundCartonFee { readonly discriminator: 'outbound_carton_fee'; readonly amount: io.flow.v0.models.Money; } interface OversizePieceSurchargeRatecardFee { readonly discriminator: 'oversize_piece_surcharge_ratecard_fee'; readonly dimensional_threshold?: number; readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly weight_threshold?: number; readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly amount: io.flow.v0.models.Money; } interface OversizePieceSurchargeServiceFee { readonly discriminator: 'oversize_piece_surcharge_service_fee'; readonly dimensional_threshold?: number; readonly dimensional_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly weight_threshold?: number; readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly amount: io.flow.v0.models.Money; } interface OverweightPieceSurchargeServiceFee { readonly discriminator: 'overweight_piece_surcharge_service_fee'; readonly weight_threshold?: number; readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly amount: io.flow.v0.models.Money; } interface PackageDimensions { readonly dimensions: io.flow.v0.models.Dimension[]; } interface PackageDimensionsForm { readonly dimensions: io.flow.v0.models.Dimension[]; } interface Packaging { readonly dimensions: io.flow.v0.models.Dimensions; readonly name?: string; readonly number?: string; } interface ParentTransactionSummary { readonly id: string; readonly source: io.flow.v0.enums.TransactionSource; } interface PartnerCenter { readonly partner_reference: io.flow.v0.models.PartnerReference; readonly number?: string; readonly fees?: io.flow.v0.unions.PartnerCenterFee[]; } interface PartnerCenterForm { readonly partner_id: string; readonly number?: string; readonly fees?: io.flow.v0.unions.PartnerCenterFee[]; } interface PartnerReference { readonly id: string; } interface PartnerToken { readonly discriminator: 'partner_token'; readonly id: string; readonly partner: io.flow.v0.models.TokenPartnerReference; readonly user: io.flow.v0.models.UserReference; readonly environment: io.flow.v0.enums.Environment; readonly partial: string; readonly created_at: string; readonly description?: string; } interface PartnerTokenForm { readonly environment: io.flow.v0.enums.Environment; readonly description?: string; } interface PartnerTokenReference { readonly discriminator: 'partner_token_reference'; readonly id: string; readonly partner: io.flow.v0.models.TokenPartnerReference; readonly environment: io.flow.v0.enums.Environment; readonly user: io.flow.v0.models.UserReference; } interface PasswordChangeForm { readonly current: string; readonly new: string; } interface PasswordResetForm { readonly token: string; readonly password: string; } interface PasswordResetRequestForm { readonly email: string; } interface PaymentAddress { readonly streets: string[]; readonly city: string; readonly province?: string; readonly postal?: string; readonly country: string; } interface PaymentAddressBilling { readonly contact: io.flow.v0.models.PaymentContactBilling; readonly location: io.flow.v0.models.PaymentAddress; } interface PaymentAddressShipping { readonly contact: io.flow.v0.models.PaymentContactShipping; readonly location: io.flow.v0.models.PaymentAddress; } interface PaymentAuthorization { readonly id: string; readonly payment_method_summary: io.flow.v0.unions.PaymentMethodSummary; readonly captures: io.flow.v0.models.PaymentCapture[]; readonly refunds: io.flow.v0.models.PaymentRefund[]; readonly reversals: io.flow.v0.models.PaymentReversal[]; readonly created_at: string; readonly updated_at: string; readonly status: io.flow.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.v0.enums.AuthorizationStatus; readonly reason?: io.flow.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.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.v0.enums.CaptureStatus; readonly reason?: io.flow.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 PaymentCryptopay { readonly discriminator: 'payment_cryptopay'; readonly id: string; readonly order?: io.flow.v0.models.AuthorizationOrderReference; readonly amount: number; readonly currency: string; readonly created_at?: string; readonly cryptopay: io.flow.v0.unions.OnlineAuthorizationDetails; } interface PaymentDeleted { readonly discriminator: 'payment_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface PaymentDiscount { readonly amount: number; readonly name?: string; readonly code?: string; } interface PaymentDuty { readonly amount: number; readonly name?: string; } interface PaymentError { readonly code: string; readonly messages: string[]; readonly codes: io.flow.v0.enums.PaymentErrorCode[]; } interface PaymentFailure { readonly authorization_id?: string; readonly failure_code: io.flow.v0.enums.PaymentFailureCode; readonly failure_message: string; } interface PaymentFee { readonly type: io.flow.v0.enums.PaymentFeeType; readonly money: io.flow.v0.models.Money; readonly base?: io.flow.v0.models.Money; } 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.v0.models.PaymentAuthorization[]; } interface PaymentMethod { readonly id: string; readonly type: io.flow.v0.enums.PaymentMethodType; readonly name: string; readonly images: io.flow.v0.models.PaymentMethodImages; readonly regions: string[]; readonly capabilities?: io.flow.v0.enums.PaymentMethodCapability[]; } interface PaymentMethodActionCancellation { readonly reason_code?: io.flow.v0.enums.PaymentFailureCode; readonly data?: any /*object*/; } interface PaymentMethodBrand { readonly id: string; readonly name: string; readonly images: io.flow.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.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.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.v0.unions.PaymentMethodCard; readonly device_fingerprint_details: io.flow.v0.unions.DeviceFingerprintDetails; readonly cvv?: string; readonly stored_details_card?: io.flow.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.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.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.v0.unions.PaymentMethodDataOptionLogo[]; } interface PaymentMethodDataSelectedPaymentOption { readonly type: 'select_option'; readonly option_id: string; } interface PaymentMethodDataValidateApplepay { readonly type: 'validate_applepay'; readonly validation_url: string; } interface PaymentMethodImage { readonly url: string; readonly width: number; readonly height: number; } interface PaymentMethodImages { readonly small: io.flow.v0.models.PaymentMethodImage; readonly medium: io.flow.v0.models.PaymentMethodImage; readonly large: io.flow.v0.models.PaymentMethodImage; } interface PaymentMethodIssuer { readonly id: string; readonly name: string; readonly logo?: io.flow.v0.unions.LogoImage; } interface PaymentMethodRule { readonly tags: io.flow.v0.unions.PaymentMethodTag[]; readonly payment_method: io.flow.v0.models.PaymentMethod; readonly display_position: number; readonly content?: io.flow.v0.models.PaymentMethodRuleContent[]; readonly issuers?: io.flow.v0.models.PaymentMethodIssuer[]; readonly programs?: any /*object*/[]; readonly q?: io.flow.v0.models.Query; } interface PaymentMethodRuleContent { readonly key: io.flow.v0.enums.PaymentMethodRuleContentKey; readonly value: string; } interface PaymentMethodStoredDetailsCardInitial { readonly type: 'initial'; readonly reference?: string; } interface PaymentMethodStoredDetailsCardSubsequent { readonly type: 'subsequent'; readonly reference?: string; readonly previous_transaction_details?: io.flow.v0.models.TransactionNetworkDetailsCard; } interface PaymentMethodSummaryAfterpay { readonly type: 'afterpay'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryApplepay { readonly type: 'applepay'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryBancontact { readonly type: 'bancontact'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryCard { readonly type: 'card'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; readonly last_four: string; readonly card_type: io.flow.v0.enums.CardType; readonly id: string; readonly reference?: string; readonly transaction_details?: io.flow.v0.models.TransactionDetailsCard; } interface PaymentMethodSummaryGooglepay { readonly type: 'googlepay'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryGrabpay { readonly type: 'grabpay'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryIdeal { readonly type: 'ideal'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; readonly issuer?: string; } interface PaymentMethodSummaryKcpCreditcard { readonly type: 'kcp_creditcard'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryKlarna { readonly type: 'klarna'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryMobilepay { readonly type: 'mobilepay'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryPaypal { readonly type: 'paypal'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryPrzelewy24 { readonly type: 'przelewy24'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummarySofort { readonly type: 'sofort'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryTwint { readonly type: 'twint'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentMethodSummaryVipps { readonly type: 'vipps'; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; } interface PaymentOrderDetailsLineItem { readonly id?: string; readonly description: string; readonly quantity: number; readonly amount: number; readonly tax?: io.flow.v0.models.PaymentTax; readonly duty?: io.flow.v0.models.PaymentDuty; readonly product_url?: string; readonly image_url?: string; readonly category?: string; readonly discounts?: io.flow.v0.models.PaymentDiscount[]; } interface PaymentPaymentMethod { readonly id: string; readonly name: string; readonly type: io.flow.v0.enums.PaymentType; readonly brands: io.flow.v0.models.PaymentMethodBrand[]; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; readonly images: io.flow.v0.models.PaymentMethodImages; readonly possible_actions: io.flow.v0.enums.PaymentActionType[]; } interface PaymentPaymentRequestReference { readonly discriminator: 'payment_request'; readonly payment_request_id: string; } interface PaymentPaypal { readonly discriminator: 'payment_paypal'; readonly id: string; readonly order?: io.flow.v0.models.AuthorizationOrderReference; readonly amount: number; readonly currency: string; readonly created_at?: string; readonly paypal: io.flow.v0.unions.OnlineAuthorizationDetails; } interface PaymentProcessor { readonly discriminator: 'payment_processor'; readonly processor: string; readonly operation_identifier?: io.flow.v0.models.PaymentProcessorIdentifier; readonly account?: io.flow.v0.models.PaymentProcessorAccount; readonly transaction_details?: io.flow.v0.unions.PaymentProcessorTransactionDetails; } interface PaymentProcessorAccount { readonly organization: string; readonly key: string; readonly identifier: io.flow.v0.models.PaymentProcessorIdentifier; readonly parent_account?: io.flow.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 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.v0.models.PaymentRefundStatus; } interface PaymentRefundForm { readonly amount?: number; readonly currency?: string; readonly reference?: string; } interface PaymentRefundStatus { readonly status: io.flow.v0.enums.RefundStatus; readonly reason?: io.flow.v0.enums.RefundDeclineCode; } interface PaymentRequest { readonly id: string; readonly status: io.flow.v0.enums.PaymentStatus; readonly created_at: string; readonly updated_at: string; readonly available_payment_methods: io.flow.v0.models.PaymentPaymentMethod[]; readonly last_payment_failure?: io.flow.v0.models.PaymentFailure; readonly next_action?: io.flow.v0.unions.Action; readonly amount: number; readonly currency: string; readonly base_amount?: number; readonly base_currency?: string; readonly order_information: io.flow.v0.unions.OrderInformation; readonly device_details: io.flow.v0.unions.DeviceDetails; readonly locale?: string; readonly return_url: string; readonly attributes?: Record; readonly reference?: string; readonly payment_information: io.flow.v0.models.PaymentInformation; readonly supported_actions: io.flow.v0.enums.PaymentActionType[]; readonly payment_capture_option?: io.flow.v0.unions.PaymentCaptureOption; readonly review?: io.flow.v0.models.PaymentRequestReview; readonly client_secret?: string; } interface PaymentRequestBilling { readonly fees: io.flow.v0.models.PaymentRequestBillingFees; readonly currency_rate?: io.flow.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.v0.models.PaymentRequest; readonly billing: io.flow.v0.models.PaymentRequestBilling; } interface PaymentRequestBundleForm { readonly payment_request: io.flow.v0.models.PaymentRequestForm; readonly billing: io.flow.v0.models.PaymentRequestBilling; } interface PaymentRequestCancellationReasonOrderMissing { readonly type: 'order_missing'; readonly description?: string; } interface PaymentRequestDeleted { readonly discriminator: 'payment_request_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface PaymentRequestForm { readonly amount: number; readonly currency: string; readonly order_information: io.flow.v0.unions.OrderInformation; readonly device_details: io.flow.v0.unions.DeviceDetails; readonly locale?: string; readonly return_url: string; readonly attributes?: Record; readonly reference?: string; readonly payment_method_data?: io.flow.v0.unions.PaymentMethodData; readonly supported_actions?: io.flow.v0.enums.PaymentActionType[]; readonly payment_capture_option?: io.flow.v0.unions.PaymentCaptureOption; } interface PaymentRequestReference { readonly id: string; readonly reference?: string; } interface PaymentRequestReview { readonly status: io.flow.v0.enums.PaymentRequestReviewStatus; readonly checks: io.flow.v0.models.PaymentRequestReviewCheck[]; } interface PaymentRequestReviewCheck { readonly type: io.flow.v0.enums.PaymentRequestReviewCheckType; readonly status: io.flow.v0.enums.PaymentRequestReviewCheckStatus; } interface PaymentRequestUpserted { readonly discriminator: 'payment_request_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly payment_request: io.flow.v0.models.PaymentRequest; } 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.v0.models.PaymentReversalStatus; } interface PaymentReversalForm { readonly amount?: number; readonly currency?: string; readonly reference?: string; } interface PaymentReversalStatus { readonly status: io.flow.v0.enums.ReversalStatus; readonly reason?: io.flow.v0.enums.ReversalErrorCode; } interface PaymentSourceConfirmationAction { readonly type: io.flow.v0.enums.PaymentSourceConfirmationActionType; } interface PaymentTax { readonly amount: number; readonly name?: string; } interface PaymentUpserted { readonly discriminator: 'payment_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly payment: io.flow.v0.unions.Payment; } interface PaymentVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly payment: io.flow.v0.unions.Payment; } interface PayoutAttachment { readonly type: io.flow.v0.enums.PayoutAttachmentType; readonly url: string; } interface PayoutReference { readonly id: string; } interface PayoutStatusFailed { readonly code: 'failed'; readonly timestamp: string; readonly reason: io.flow.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.v0.models.AccountIdReference; readonly metadata?: io.flow.v0.unions.TransactionMetadata; readonly order?: io.flow.v0.models.BillingChannelOrderSummary; readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference; readonly currency: string; readonly source: io.flow.v0.enums.TransactionSource; readonly parent?: io.flow.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.v0.models.FeeDeduction[]; readonly withholdings: io.flow.v0.models.WithholdingDeduction[]; readonly discounts: io.flow.v0.models.BillingDiscount[]; readonly net: number; readonly identifiers: Record; readonly created_at: string; readonly updated_at: string; } 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 PeakSurchargeByWeightServiceFee { readonly discriminator: 'peak_surcharge_by_weight_service_fee'; readonly amount: io.flow.v0.models.Money; readonly weight: io.flow.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.v0.models.Money; readonly starts_at?: string; readonly ends_at?: string; } interface PeakSurchargeServiceFee { readonly discriminator: 'peak_surcharge_service_fee'; readonly amount: io.flow.v0.models.Money; readonly starts_at?: string; readonly ends_at?: string; readonly regions?: string[]; readonly dependent_service_fees?: string[]; } interface PendingPayoutTransactionReason { readonly code: io.flow.v0.enums.PendingPayoutTransactionReasonCode; readonly created_at: string; } interface PendingPayoutTransactionTimeout { readonly created_at: string; } interface PercentMargin { readonly discriminator: 'percent_margin'; readonly percentage: number; } interface PermissionAudit { readonly routes: io.flow.v0.models.RouteAudit[]; readonly behaviors: io.flow.v0.models.BehaviorAudit[]; } interface PermissionCheck { readonly authentication_technique: io.flow.v0.enums.AuthenticationTechnique; readonly user?: io.flow.v0.unions.ExpandableUser; readonly roles: io.flow.v0.enums.FlowRole[]; readonly behaviors: io.flow.v0.enums.FlowBehavior[]; readonly routes: io.flow.v0.models.PermittedRoute[]; } interface PermittedRoute { readonly method: io.flow.v0.enums.PermittedHttpMethod; readonly path: string; } interface PhysicalDelivery { readonly discriminator: 'physical_delivery'; readonly id: string; readonly key?: string; readonly center?: io.flow.v0.models.CenterSummary; readonly fulfillment_routing?: io.flow.v0.enums.FulfillmentRouting; readonly ship_from_country?: string; readonly items: io.flow.v0.models.DeliveryItem[]; readonly options: io.flow.v0.models.DeliveryOption[]; readonly special_services?: io.flow.v0.enums.PhysicalDeliverySpecialSerivce[]; readonly prices?: io.flow.v0.models.OrderPriceDetail[]; readonly total?: io.flow.v0.models.LocalizedTotal; readonly goods_supply?: io.flow.v0.enums.GoodsSupply; readonly merchant_of_record_flow_entity?: io.flow.v0.enums.FlowEntity; readonly preferred_service?: io.flow.v0.models.PhysicalDeliveryPreferredService; } interface PhysicalDeliveryPreferredService { readonly id: string; readonly selection_stratey: io.flow.v0.enums.PreferredServiceSelectionStrategy; } interface PostPaymentRedirectUrls { readonly success: string; readonly failure?: string; } interface Price { readonly amount: number; readonly currency: string; readonly label: string; } interface PriceBook { readonly id: string; readonly key: string; readonly currency: string; readonly name: string; readonly includes: io.flow.v0.models.IncludedLevies; readonly status: io.flow.v0.enums.PriceBookStatus; } interface PriceBookDeleted { readonly discriminator: 'price_book_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface PriceBookForm { readonly currency: string; readonly name: string; readonly includes: io.flow.v0.enums.IncludedLevyKey; readonly status?: io.flow.v0.enums.PriceBookStatus; } interface PriceBookItem { readonly id: string; readonly key: string; readonly price_book: io.flow.v0.models.PriceBookReference; readonly price: io.flow.v0.models.Price; readonly item_number: string; readonly schedule: io.flow.v0.models.PriceBookItemSchedule; readonly item_attributes?: Record; } interface PriceBookItemDeleted { readonly discriminator: 'price_book_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: 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.v0.enums.ItemIdentifier; } interface PriceBookItemForm { readonly price_book_key: string; readonly item_number: string; readonly amount: number; readonly schedule?: io.flow.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.v0.models.PriceBookItemSchedule; readonly item_attributes?: Record; } interface PriceBookItemSchedule { readonly starts_at: string; readonly ends_at?: string; } interface PriceBookItemUpserted { readonly discriminator: 'price_book_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly price_book_item: io.flow.v0.models.PriceBookItem; } interface PriceBookReference { readonly id: string; readonly key: string; } interface PriceBookUpserted { readonly discriminator: 'price_book_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly price_book: io.flow.v0.models.PriceBook; } interface PriceCheck { readonly display: io.flow.v0.models.LocalPriceDetails; readonly final: io.flow.v0.models.LocalPriceDetails; } interface PriceDetail { readonly key: io.flow.v0.enums.PriceDetailKey; readonly components: io.flow.v0.models.PriceDetailComponent[]; readonly amount: number; readonly label: string; readonly name?: string; readonly basis?: number; } interface PriceDetailComponent { readonly key: io.flow.v0.enums.PriceDetailComponentKey; readonly amount: number; readonly label: string; readonly name?: string; } interface PriceDetails { readonly currency: string; readonly item_price: io.flow.v0.models.PriceDetail; readonly margins: io.flow.v0.models.PriceDetail; readonly vat: io.flow.v0.models.PriceDetail; readonly duty: io.flow.v0.models.PriceDetail; readonly rounding: io.flow.v0.models.PriceDetail; readonly price: io.flow.v0.models.Price; readonly total: io.flow.v0.models.Price; readonly adjustment?: io.flow.v0.models.PriceDetail; } interface PriceEquation { readonly contracted_rate: number; readonly rate: number; readonly pricing: io.flow.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.v0.models.Duty; readonly tax?: io.flow.v0.models.Tax; readonly percent_sales_margin: number; } interface PriceForm { readonly amount: number; readonly currency: string; } interface PriceSourceCatalog { readonly discriminator: 'catalog'; readonly price: io.flow.v0.models.Money; } interface PriceSourcePriceBook { readonly discriminator: 'price_book'; readonly price: io.flow.v0.models.Money; readonly includes: io.flow.v0.models.IncludedLevies; readonly price_book_reference: io.flow.v0.models.PriceSourcePriceBookReference; } interface PriceSourcePriceBookReference { readonly id: string; readonly key: string; } interface PriceSourceProvided { readonly discriminator: 'provided'; readonly price: io.flow.v0.models.Money; } interface PriceWithBase { readonly currency: string; readonly amount: number; readonly label: string; readonly base?: io.flow.v0.models.Price; } interface PriceWithBaseAndDetails { readonly currency: string; readonly amount: number; readonly label: string; readonly base?: io.flow.v0.models.Price; readonly details?: io.flow.v0.models.DeliveryOptionCostDetail[]; } interface Pricing { readonly vat: io.flow.v0.enums.PricingLevySetting; readonly duty: io.flow.v0.enums.PricingLevySetting; readonly rounding?: io.flow.v0.models.Rounding; } interface PricingSettings { readonly editable: boolean; readonly default_tax_display: io.flow.v0.enums.PricingLevySetting; readonly default_duty_display: io.flow.v0.enums.PricingLevySetting; } interface PricingVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly pricing: io.flow.v0.models.Pricing; } interface ProcessingEstimate { readonly location: io.flow.v0.enums.DeliveryWindowLocation; readonly min_date: string; readonly max_date: string; readonly source: io.flow.v0.enums.DeliveryWindowComponentSource; } interface Product { readonly organization_id: string; readonly number: string; readonly taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory; readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory; readonly taxonomy_data?: io.flow.v0.models.ProductTaxonomyData[]; readonly item_numbers: string[]; readonly highest_value_item_number?: string; readonly updated_at: string; readonly deleted_at?: string; } interface ProductDeleted { readonly discriminator: 'product_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly product: io.flow.v0.models.Product; } interface ProductInserted { readonly discriminator: 'product_inserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly product: io.flow.v0.models.Product; } 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.v0.models.ReasonsPerRegion[]; readonly review_status?: io.flow.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.v0.models.SellabilityRegionResult[]; readonly needs_action_attributes?: io.flow.v0.models.NeedsActionAttributes[]; readonly fingerprint?: string; readonly restriction_created_at?: string; readonly first_reviewed_at?: string; readonly seconds_to_first_review?: number; } interface ProductRestrictionResultDeleted { readonly discriminator: 'product_restriction_result_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ProductRestrictionResultUpserted { readonly discriminator: 'product_restriction_result_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly product_restriction_result: io.flow.v0.models.ProductRestrictionResult; } 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.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.v0.models.Money; readonly description: string; readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory; readonly status?: io.flow.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.v0.models.SellabilityRestrictedRegion[]; readonly restricted_reasons: io.flow.v0.models.SellabilityRestrictedReason[]; readonly needs_action_attributes?: io.flow.v0.models.SellabilityNeedsActionAttributes[]; readonly request_id?: string; readonly hs6_code?: string; } interface ProductSellabilityResultDeleted { readonly discriminator: 'product_sellability_result_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization?: string; readonly merchant?: string; readonly channel_id?: string; readonly id: string; } interface ProductSellabilityResultUpserted { readonly discriminator: 'product_sellability_result_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization?: string; readonly merchant?: string; readonly channel_id?: string; readonly product_sellability_result: io.flow.v0.models.ProductSellabilityResult; } 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.v0.models.ProductTaxonomyValue[]; } interface ProductTaxonomyValue { readonly handle: string; readonly name: string; } interface ProductUpdated { readonly discriminator: 'product_updated'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly product: io.flow.v0.models.Product; } interface PromotionTrigger { readonly type: io.flow.v0.enums.PromotionTriggerType; readonly min: io.flow.v0.models.Price; readonly remaining: io.flow.v0.models.Price; } interface PromotionTriggerForm { readonly type: io.flow.v0.enums.PromotionTriggerType; readonly min?: io.flow.v0.models.PriceForm; } interface Promotions { readonly applied: io.flow.v0.unions.Promotion[]; readonly available: io.flow.v0.unions.Promotion[]; } interface Province { readonly id: string; readonly iso_3166_2: string; readonly name: string; readonly country: string; readonly province_type: io.flow.v0.enums.ProvinceType; readonly translations?: io.flow.v0.models.LocalizedTranslation[]; } interface PublicKey { readonly id: string; } interface PurchasePriceBreakdown { readonly total_price: io.flow.v0.models.PriceWithBase; readonly product_price: io.flow.v0.models.PriceWithBase; readonly fees: io.flow.v0.models.OrderPriceFee[]; readonly coefficients?: io.flow.v0.models.OrderPriceCoefficient[]; readonly subsidies?: io.flow.v0.models.OrderPriceSubsidy[]; } interface Query { readonly q: string; readonly filters: io.flow.v0.unions.QueryFilter[]; } interface QueryBuilder { readonly q: string; readonly filters: io.flow.v0.unions.QueryFilter[]; readonly available: io.flow.v0.unions.AvailableFilter[]; } interface QueryBuilderFilterForm { readonly discriminator: 'filter'; readonly filters: io.flow.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; } interface Quote { readonly id: string; readonly destination: io.flow.v0.models.ShippingAddress; readonly deliveries: io.flow.v0.unions.Delivery[]; readonly selections: io.flow.v0.models.DeliveryOptionReference[]; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly delivered_duties: io.flow.v0.enums.DeliveredDuty[]; } interface QuoteError { readonly code: io.flow.v0.enums.QuoteErrorCode; readonly messages: string[]; readonly item_numbers?: string[]; } interface QuoteForm { readonly destination: io.flow.v0.models.ShippingAddress; readonly experience: string; readonly items: io.flow.v0.models.QuoteLineItemForm[]; readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty; readonly delivered_duties?: io.flow.v0.enums.DeliveredDuty[]; readonly direction?: io.flow.v0.enums.LaneDirection; } interface QuoteLineItemForm { readonly number: string; readonly quantity: number; readonly shipment_estimate?: io.flow.v0.models.DatetimeRange; readonly price: io.flow.v0.models.MoneyWithBase; readonly attributes?: Record; readonly center?: string; } interface QuoteSummary { readonly id: string; readonly destination: io.flow.v0.models.ShippingAddress; } interface QuoteVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly quote: io.flow.v0.models.QuoteSummary; } interface Rate { readonly id: string; readonly base: string; readonly target: string; readonly effective_at: string; readonly value: number; } interface RateDeleted { readonly discriminator: 'rate_deleted'; readonly event_id: string; readonly timestamp: string; readonly rate_id: string; } interface RateDeletedV3 { readonly discriminator: 'rate_deleted_v3'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly rate: io.flow.v0.models.Rate; } interface RateForm { readonly base: string; readonly target: string; readonly effective_at: string; } 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 value: number; } interface RateUpsertedV3 { readonly discriminator: 'rate_upserted_v3'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly rate: io.flow.v0.models.Rate; } interface RateVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly rate: io.flow.v0.models.Rate; } interface Ratecard { readonly id: string; readonly number: string; readonly rate_level_key?: string; readonly direction: io.flow.v0.enums.Direction; readonly effective_at: string; readonly effective_until?: string; readonly origination_zones: io.flow.v0.models.Zone[]; readonly service: io.flow.v0.models.RatecardServiceSummary; readonly published_at?: string; readonly ratecard_owner: io.flow.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 RatecardDeleted { readonly discriminator: 'ratecard_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ratecard: io.flow.v0.models.Ratecard; } interface RatecardEffectiveUntilForm { readonly effective_until?: string; } interface RatecardEstimateForm { readonly origin_address: io.flow.v0.models.Address; readonly destination_address: io.flow.v0.models.Address; readonly weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly distance_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly service?: string; readonly weight?: number; readonly length?: number; readonly width?: number; readonly depth?: number; readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty; readonly line_items?: io.flow.v0.models.LineItemForm[]; readonly center_id?: string; readonly taxes_owed?: io.flow.v0.models.Money; readonly duties_owed?: io.flow.v0.models.Money; readonly commercial_invoice_mode?: io.flow.v0.enums.CommercialInvoiceMode; } interface RatecardEstimateV1 { readonly discriminator: 'ratecard_estimate_v1'; readonly service: io.flow.v0.models.RatecardServiceSummary; readonly shipment_window: io.flow.v0.models.ShipmentWindow; readonly currency: string; readonly amount: number; readonly fees: io.flow.v0.unions.RatecardFee[]; readonly total: number; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly dimensional_weight?: io.flow.v0.models.Measurement; readonly gravitational_weight?: io.flow.v0.models.Measurement; readonly line_items?: io.flow.v0.models.LineItemForm[]; } interface RatecardEstimateV2 { readonly discriminator: 'ratecard_estimate_v2'; readonly hops: io.flow.v0.models.Hop[]; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly dimensional_weight?: io.flow.v0.models.Measurement; readonly gravitational_weight?: io.flow.v0.models.Measurement; readonly line_items?: io.flow.v0.models.LineItemForm[]; readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner; } interface RatecardEstimateV3 { readonly discriminator: 'ratecard_estimate_v3'; readonly hops: io.flow.v0.models.Hop[]; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly dimensional_weight?: io.flow.v0.models.Measurement; readonly gravitational_weight?: io.flow.v0.models.Measurement; readonly line_items?: io.flow.v0.models.LineItemForm[]; readonly ratecard: io.flow.v0.models.RatecardSummary; } interface RatecardEstimateV4 { readonly discriminator: 'ratecard_estimate_v4'; readonly hops: io.flow.v0.models.HopV2[]; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly distance_unit_of_measurement?: io.flow.v0.enums.UnitOfMeasurement; readonly weight_unit_of_measurement?: io.flow.v0.enums.UnitOfMeasurement; readonly dimensional_weight?: io.flow.v0.models.Measurement; readonly gravitational_weight?: io.flow.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.v0.models.LineItemForm[]; } interface RatecardFeeSummary { readonly ratecard_fee: io.flow.v0.unions.RatecardFee; readonly source_service_fees: string[]; } interface RatecardForm { readonly direction: io.flow.v0.enums.Direction; readonly effective_at: string; readonly published_at?: string; readonly origination_zones: io.flow.v0.models.Zone[]; readonly service: string; readonly number?: string; readonly rate_level_key?: string; readonly ratecard_owner?: io.flow.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.v0.models.RatecardData; } interface RatecardLane { readonly id: string; readonly ratecard: io.flow.v0.models.RatecardSummary; readonly currency: string; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly shipment_window: io.flow.v0.models.ShipmentWindow; readonly destination: io.flow.v0.models.Zone; readonly dim_factor: number; readonly fees: io.flow.v0.unions.RatecardFee[]; readonly origin: io.flow.v0.models.Zone; readonly service: io.flow.v0.models.RatecardServiceSummary; readonly rates: io.flow.v0.models.RatecardRate[]; readonly rounding: io.flow.v0.models.Rounding; readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement; readonly distance_unit: io.flow.v0.enums.UnitOfMeasurement; } interface RatecardLaneDeleted { readonly discriminator: 'ratecard_lane_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface RatecardLaneForm { readonly ratecard_id: string; readonly currency: string; readonly destination: io.flow.v0.models.Zone; readonly shipment_window: io.flow.v0.models.ShipmentWindow; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly dim_factor: number; readonly fees: io.flow.v0.unions.RatecardFee[]; readonly origin: io.flow.v0.models.Zone; readonly rounding: io.flow.v0.models.Rounding; readonly rates: io.flow.v0.models.RatecardRateForm[]; readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement; readonly distance_unit: io.flow.v0.enums.UnitOfMeasurement; } interface RatecardLaneUpserted { readonly discriminator: 'ratecard_lane_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ratecard_lane: io.flow.v0.models.RatecardLane; } interface RatecardLaneVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly ratecard_lane: io.flow.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.v0.models.RatecardCarrierSummary; } interface RatecardSummary { readonly id: string; readonly number: string; readonly ratecard_owner: io.flow.v0.enums.RatecardOwner; } interface RatecardUpserted { readonly discriminator: 'ratecard_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ratecard: io.flow.v0.models.Ratecard; } interface RatecardVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly ratecard: io.flow.v0.models.Ratecard; } interface ReadyToFulfill { readonly discriminator: 'ready_to_fulfill'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly order_number: string; readonly order: io.flow.v0.models.Order; readonly fulfillments?: io.flow.v0.models.Fulfillment[]; readonly fulfillment_item_allocation_details?: io.flow.v0.models.FulfillmentItemAllocationDetails[]; } interface ReadyToFulfillDetails { readonly id: string; readonly order_number: string; readonly order: io.flow.v0.models.Order; readonly fulfillments?: io.flow.v0.models.Fulfillment[]; readonly fulfillment_item_allocation_details?: io.flow.v0.models.FulfillmentItemAllocationDetails[]; } interface ReadyToFulfillV2 { readonly discriminator: 'ready_to_fulfill_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly ready_to_fulfill: io.flow.v0.models.ReadyToFulfillDetails; } interface ReasonsPerRegion { readonly region: string; readonly reasons: string[]; readonly review_status: io.flow.v0.enums.RestrictedReviewStatus; } 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.v0.models.IssuerReference; readonly order_number: string; readonly amount: number; readonly currency: string; readonly redirect_urls: io.flow.v0.models.PostPaymentRedirectUrls; readonly key?: string; readonly attributes?: Record; readonly ip?: string; } interface Refund { readonly id: string; readonly key: string; readonly authorization: io.flow.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly requested?: io.flow.v0.models.Money; readonly captures: io.flow.v0.models.RefundCaptureSummary[]; readonly created_at: string; readonly attributes?: Record; readonly status?: io.flow.v0.enums.RefundStatus; readonly base?: io.flow.v0.models.Money; readonly failure_category?: io.flow.v0.enums.RefundFailureCategory; readonly failure_psp_reason?: string; } interface RefundCapture { readonly id: string; readonly refund: io.flow.v0.models.Refund; readonly capture: io.flow.v0.models.Capture; readonly amount: number; readonly currency: string; readonly base: io.flow.v0.models.Money; readonly status?: io.flow.v0.enums.RefundStatus; } interface RefundCaptureSummary { readonly capture: io.flow.v0.models.Capture; readonly amount: number; } interface RefundCaptureUpsertedV2 { readonly discriminator: 'refund_capture_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly refund_capture: io.flow.v0.models.RefundCapture; } interface RefundDeletedV2 { readonly discriminator: 'refund_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly refund: io.flow.v0.models.Refund; } interface RefundError { readonly code: io.flow.v0.enums.GenericErrorCode; readonly messages: string[]; readonly decline_code: io.flow.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.v0.models.RefundReference; readonly name: string; readonly identifier: string; readonly primary: boolean; } interface RefundIdentifierDeleted { readonly discriminator: 'refund_identifier_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly identifier: io.flow.v0.models.RefundIdentifier; } interface RefundIdentifierUpserted { readonly discriminator: 'refund_identifier_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly identifier: io.flow.v0.models.RefundIdentifier; } interface RefundOrderSummary { readonly order_number: string; readonly currency: string; readonly captured: number; readonly refunded: number; readonly amounts: io.flow.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 RefundUpsertedV2 { readonly discriminator: 'refund_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly refund: io.flow.v0.models.Refund; } interface RefundVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly refund: io.flow.v0.models.Refund; } 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 RegionReference { readonly id: string; } interface RegionSetting { readonly id: string; readonly region: string; readonly status: io.flow.v0.enums.AvailabilityStatus; } interface RegionSettingForm { readonly status: io.flow.v0.enums.AvailabilityStatus; } interface RejectionPutForm { readonly reason: io.flow.v0.enums.MerchantRejectedReason; readonly description: string; } interface RemoteAreaByWeightServiceFee { readonly discriminator: 'remote_area_by_weight_service_fee'; readonly amount: io.flow.v0.models.Money; readonly weight_unit: io.flow.v0.enums.UnitOfMeasurement; } interface RemoteAreaRatecardFee { readonly discriminator: 'remote_area_ratecard_fee'; readonly amount: io.flow.v0.models.Money; } interface RemoteAreaServiceFee { readonly discriminator: 'remote_area_service_fee'; readonly amount: io.flow.v0.models.Money; } 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.v0.enums.DayOfWeek[]; } interface RestrictionDecisionsForm { readonly organization_id: string; readonly rule_decisions: io.flow.v0.models.RestrictionRuleDecisionForm[]; } interface RestrictionRuleDecisionForm { readonly product_id: string; readonly reason_code: string; readonly decision: io.flow.v0.enums.RestrictionDecision; readonly decision_reason: io.flow.v0.enums.RestrictionDecisionReason; } interface Return { readonly id: string; readonly key: string; readonly order?: io.flow.v0.models.ReturnOrderReference; readonly service: io.flow.v0.models.ServiceSummary; readonly items: io.flow.v0.models.ReturnLineItem[]; readonly labels?: io.flow.v0.models.ShippingLabel[]; readonly origin: io.flow.v0.models.ShippingAddress; readonly destination: io.flow.v0.models.ShippingAddress; readonly source: io.flow.v0.unions.ReturnSource; readonly tracking_status?: io.flow.v0.enums.ReturnTrackingStatus; readonly tracking_status_timestamp?: string; readonly carrier_tracking_number?: string; } interface ReturnForm { readonly items: io.flow.v0.models.ReturnLineItem[]; readonly tier_id?: string; readonly order_number?: string; readonly service?: string; readonly destination?: io.flow.v0.models.ShippingAddress; readonly key?: string; readonly origin?: io.flow.v0.models.ShippingAddress; readonly center_key?: string; readonly source?: io.flow.v0.unions.ReturnSource; readonly tracking_status?: io.flow.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.v0.models.ReturnReason; readonly notes?: string; readonly attributes?: Record; } interface ReturnOrderReference { readonly number: string; } interface ReturnPackageRatecardFee { readonly discriminator: 'return_package_ratecard_fee'; readonly amount: number; } interface ReturnPolicy { readonly id: string; readonly q: string; readonly query: io.flow.v0.models.Query; readonly status: io.flow.v0.enums.ReturnItemStatus; readonly description?: string; readonly statistics: io.flow.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.v0.enums.ReturnItemStatus; } interface ReturnPolicyStatistic { readonly state: io.flow.v0.enums.ReturnPolicyState; readonly number_items: number; } interface ReturnPolicyVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly return_policy: io.flow.v0.models.ReturnPolicy; } 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.v0.enums.ChangeType; readonly return: io.flow.v0.models.Return; } interface Reversal { readonly id: string; readonly key: string; readonly authorization: io.flow.v0.models.AuthorizationReference; readonly status: io.flow.v0.enums.ReversalStatus; readonly amount: number; readonly currency: string; readonly requested: io.flow.v0.models.Money; readonly created_at: string; readonly attributes: Record; readonly base?: io.flow.v0.models.Money; } interface ReversalDeleted { readonly discriminator: 'reversal_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly reversal: io.flow.v0.models.Reversal; } interface ReversalError { readonly code: string; readonly messages: string[]; readonly codes: io.flow.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 ReversalUpserted { readonly discriminator: 'reversal_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly reversal: io.flow.v0.models.Reversal; } interface ReversalVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly reversal: io.flow.v0.models.Reversal; } interface Romanization { readonly address?: io.flow.v0.models.Address; readonly contact?: io.flow.v0.models.Contact; } interface RomanizationForm { readonly address?: io.flow.v0.models.Address; readonly contact?: io.flow.v0.models.Contact; } interface Rounding { readonly type: io.flow.v0.enums.RoundingType; readonly method: io.flow.v0.enums.RoundingMethod; readonly value: number; } interface RouteAudit { readonly method: io.flow.v0.enums.PermittedHttpMethod; readonly path: string; readonly authentication_techniques: io.flow.v0.enums.AuthenticationTechnique[]; readonly roles: io.flow.v0.enums.FlowRole[]; } interface Schedule { readonly calendar?: io.flow.v0.enums.Calendar; readonly holiday: io.flow.v0.enums.HolidayCalendar; readonly exception: io.flow.v0.models.Exception[]; readonly cutoff?: string; readonly min_lead_time?: number; readonly max_lead_time?: number; } interface ScheduledExport { readonly id: string; readonly user: io.flow.v0.models.UserReference; readonly organization_q: string; readonly hour: number; readonly minute: number; readonly timezone: string; readonly types: io.flow.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.v0.unions.ExportType[]; } interface ScheduledPickup { readonly day_of_week: io.flow.v0.enums.DayOfWeek; readonly hour_of_day: string; readonly minute_of_hour: string; } interface SecurityRatecardFee { readonly discriminator: 'security_ratecard_fee'; readonly amount: io.flow.v0.models.Money; } interface SecurityServiceFee { readonly discriminator: 'security_service_fee'; readonly amount: io.flow.v0.models.Money; readonly countries: string[]; } interface SelectIssuerOptionActionDetails { readonly discriminator: 'select_issuer_option_action_details'; readonly issuer_options: io.flow.v0.models.IssuerReference[]; } interface SelfBillingAgreement { readonly effective_at: string; readonly expires_at: string; } interface SellabilityError { readonly discriminator: 'sellability_error'; readonly code: io.flow.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.v0.enums.RuleEffectType; readonly regions: string[]; } interface SellabilityRegionWithReasons { readonly region: string; readonly reasons: string[]; } interface SellabilityRestrictedReason { readonly type: io.flow.v0.enums.RuleEffectType; readonly reasons_with_regions: io.flow.v0.models.SellabilityReasonWithRegions[]; } interface SellabilityRestrictedRegion { readonly type: io.flow.v0.enums.RuleEffectType; readonly regions: string[]; } interface SellabilityScreening { readonly discriminator: 'sellability_screening'; readonly product_sellability_result?: io.flow.v0.models.ProductSellabilityResult; readonly request_id: string; readonly status: io.flow.v0.enums.SellabilityResultStatus; readonly error_code?: io.flow.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.v0.models.Money; readonly description: string; readonly taxonomy_category: io.flow.v0.models.ProductTaxonomyCategory; readonly inferred_taxonomy_category?: io.flow.v0.models.ProductTaxonomyCategory; readonly mode: io.flow.v0.enums.SellabilityScreeningMode; readonly reprocess_policy?: io.flow.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.v0.enums.RuleEffectType; readonly regions: string[]; } interface ServiceReference { readonly id: string; } interface ServiceSummary { readonly discriminator: 'service_summary'; readonly id: string; readonly carrier: io.flow.v0.models.CarrierReference; readonly name: string; readonly center_code?: string; } interface ServiceUnknown { readonly discriminator: 'service_unknown'; readonly name: string; } interface SessionAuthorizationForm { readonly session: string; } interface SessionCurrencyFormat { readonly symbol: io.flow.v0.enums.CurrencySymbolFormat; readonly label_formatters: io.flow.v0.enums.CurrencyLabelFormatter[]; } interface SessionExpirationConfig { readonly unit: io.flow.v0.enums.UnitOfTime; readonly value: number; } interface SessionForm { readonly ip?: string; readonly experience?: string; readonly country?: string; readonly currency?: string; readonly language?: string; readonly locale?: string; readonly attributes?: Record; } interface SessionFormat { readonly currency: io.flow.v0.models.SessionCurrencyFormat; } interface SessionGeo { readonly country: io.flow.v0.models.Country; readonly currency: io.flow.v0.models.Currency; readonly language: io.flow.v0.models.Language; readonly locale: io.flow.v0.models.Locale; } interface SessionPutForm { readonly ip?: string; readonly experience?: string; readonly country?: string; readonly currency?: string; readonly language?: string; readonly locale?: string; readonly attributes?: Record; } interface SessionReference { readonly id: string; } interface SessionVisit { readonly id: string; readonly expires_at: string; } interface SessionVisitor { readonly id: string; } interface SettlementNoPayout { readonly discriminator: 'no_payout'; readonly placeholder?: string; } interface SettlementPayout { readonly discriminator: 'payout'; readonly status: io.flow.v0.unions.PayoutStatus; readonly amount: number; readonly sent_on?: string; } interface SetupBlocked { readonly discriminator: 'setup_blocked'; readonly reasons: io.flow.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; } interface ShipmentWindow { readonly from: number; readonly to: number; } interface Shipping { readonly description: string; readonly amount: number; readonly tax?: io.flow.v0.models.PaymentTax; readonly duty?: io.flow.v0.models.PaymentDuty; readonly discounts?: io.flow.v0.models.PaymentDiscount[]; } interface ShippingAddress { readonly contact: io.flow.v0.models.Contact; readonly location: io.flow.v0.models.Address; readonly center_key?: string; readonly center_reference?: io.flow.v0.models.CenterReference; readonly service?: io.flow.v0.models.ServiceSummary; } interface ShippingConfiguration { readonly id: string; readonly name: string; readonly key: string; readonly type: io.flow.v0.enums.ShippingConfigurationType; readonly shipping_lanes: io.flow.v0.models.ShippingLane[]; } interface ShippingConfigurationCopy { readonly original: io.flow.v0.models.ShippingConfigurationReference; readonly new: io.flow.v0.models.ShippingConfigurationReference; } interface ShippingConfigurationCopyForm { readonly name: string; } interface ShippingConfigurationDeleted { readonly discriminator: 'shipping_configuration_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface ShippingConfigurationForm { readonly name: string; } interface ShippingConfigurationItemAvailability { readonly id: string; readonly item: io.flow.v0.models.ItemReference; readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationSummary; readonly availabilities: io.flow.v0.models.CountryAvailability[]; } interface ShippingConfigurationItemAvailabilityDeleted { readonly discriminator: 'shipping_configuration_item_availability_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization_id: string; readonly shipping_configuration_item_availability: io.flow.v0.models.ShippingConfigurationItemAvailability; } interface ShippingConfigurationItemAvailabilityUpserted { readonly discriminator: 'shipping_configuration_item_availability_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization_id: string; readonly shipping_configuration_item_availability: io.flow.v0.models.ShippingConfigurationItemAvailability; } interface ShippingConfigurationItemShippingPricing { readonly id: string; readonly item: io.flow.v0.models.ItemReference; readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationSummary; readonly country_shipping_pricings: io.flow.v0.models.CountryShippingPricing[]; } interface ShippingConfigurationItemShippingPricingDeleted { readonly discriminator: 'shipping_configuration_item_shipping_pricing_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization_id: string; readonly shipping_configuration_item_shipping_pricing: io.flow.v0.models.ShippingConfigurationItemShippingPricing; } interface ShippingConfigurationItemShippingPricingUpserted { readonly discriminator: 'shipping_configuration_item_shipping_pricing_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization_id: string; readonly shipping_configuration_item_shipping_pricing: io.flow.v0.models.ShippingConfigurationItemShippingPricing; } interface ShippingConfigurationReference { readonly key: string; } interface ShippingConfigurationSummary { readonly id: string; readonly name: string; readonly key: string; readonly type: io.flow.v0.enums.ShippingConfigurationType; } interface ShippingConfigurationUpserted { readonly discriminator: 'shipping_configuration_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shipping_configuration: io.flow.v0.models.ShippingConfiguration; } interface ShippingConfigurationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly shipping_configuration: io.flow.v0.models.ShippingConfiguration; } interface ShippingLabel { readonly id: string; readonly hop?: io.flow.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.v0.enums.CostEstimateSource; readonly cost?: io.flow.v0.models.Price; readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty; readonly taxes_owed?: io.flow.v0.models.Money; readonly duties_owed?: io.flow.v0.models.Money; readonly destination: io.flow.v0.models.ShippingAddress; readonly flow_tracking_number: string; readonly flow_tracking_number_url: string; readonly origin: io.flow.v0.models.ShippingAddress; readonly service: io.flow.v0.models.ServiceSummary; readonly window: io.flow.v0.models.DatetimeRange; readonly label?: io.flow.v0.models.ShippingLabelDocument; readonly invoice?: io.flow.v0.models.ShippingLabelDocument; readonly return?: io.flow.v0.models.ShippingLabelDocument; readonly order?: io.flow.v0.models.LabelOrderSummary; readonly package?: io.flow.v0.models.ShippingLabelPackage; readonly package_dimension_source?: io.flow.v0.enums.PackageDimensionsSource; readonly order_identifier?: string; readonly fulfillment_key?: string; readonly shipment_recipient: io.flow.v0.enums.ShipmentRecipient; readonly label_request_method?: io.flow.v0.enums.LabelRequestMethod; readonly label_trigger_method?: io.flow.v0.enums.LabelTriggerMethod; readonly additional_services_requested?: io.flow.v0.models.AdditionalServicesRequested[]; readonly created_at?: string; readonly updated_at?: string; readonly direction?: io.flow.v0.enums.Direction; readonly shipping_cost_guarantee?: io.flow.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.v0.enums.ShippingLabelErrorCode; readonly messages: string[]; } interface ShippingLabelHopCostItemizedEstimate { readonly units: io.flow.v0.models.LabelUnits; readonly base: io.flow.v0.models.LabelBase; readonly surcharges: io.flow.v0.models.LabelSurcharge[]; } interface ShippingLabelHopSummary { readonly lane: io.flow.v0.models.ShippingLabelLaneSummary; readonly cost: io.flow.v0.models.Money; readonly itemized_estimate?: io.flow.v0.models.ShippingLabelHopCostItemizedEstimate; } interface ShippingLabelLaneSummary { readonly id?: string; readonly ratecard: io.flow.v0.models.ShippingLabelRatecardSummary; readonly weight_break?: number; readonly dim_factor?: number; } interface ShippingLabelPackage { readonly dimensions: io.flow.v0.models.Dimension; readonly volumetric_weight?: number; readonly items: io.flow.v0.models.LineItemForm[]; readonly reference_number?: string; } interface ShippingLabelRatecardSummary { readonly id?: string; readonly ratecard_owner: io.flow.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.v0.enums.ChangeType; readonly shipping_label: io.flow.v0.models.ShippingLabel; } interface ShippingLane { readonly id: string; readonly shipping_configuration: io.flow.v0.models.ShippingConfigurationReference; readonly region: string; readonly centers: io.flow.v0.unions.ExpandableCenter[]; readonly tiers: io.flow.v0.models.Tier[]; readonly query: io.flow.v0.models.Query; readonly strategy: io.flow.v0.enums.LaneStrategy; readonly direction?: io.flow.v0.enums.LaneDirection; readonly preference?: io.flow.v0.enums.LanePreselectPreference; } interface ShippingLaneDefaultTier { readonly id: string; readonly tier: io.flow.v0.models.TierReference; } interface ShippingLaneDefaultTierForm { readonly tier_id: string; } interface ShippingLaneDeleted { readonly discriminator: 'shipping_lane_deleted'; readonly event_id: string; readonly timestamp: string; readonly shipping_lane: io.flow.v0.models.ShippingLane; } interface ShippingLaneForm { readonly from: string; readonly to: string; readonly strategy?: io.flow.v0.enums.LaneStrategy; readonly direction?: io.flow.v0.enums.LaneDirection; readonly preference?: io.flow.v0.enums.LanePreselectPreference; } interface ShippingLaneSummary { readonly shipping_lane_id: string; readonly region: string; readonly centers: io.flow.v0.unions.ExpandableCenter[]; } interface ShippingLaneUpserted { readonly discriminator: 'shipping_lane_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly shipping_lane: io.flow.v0.models.ShippingLane; } interface ShippingLaneVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly shipping_lane: io.flow.v0.models.ShippingLane; } interface ShippingNotification { readonly id: string; readonly key: string; readonly attributes: Record; readonly carrier_tracking_number: string; readonly destination?: io.flow.v0.models.ShippingAddress; readonly flow_tracking_number: string; readonly origin?: io.flow.v0.models.ShippingAddress; readonly package?: io.flow.v0.models.ShippingLabelPackage; readonly service: io.flow.v0.unions.ServiceDescription; readonly window?: io.flow.v0.models.DatetimeRange; readonly order?: io.flow.v0.models.LabelOrderSummary; readonly order_identifier?: string; readonly fulfillment_key?: string; readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient; readonly created_at?: string; readonly updated_at?: string; } interface ShippingNotificationVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly shipping_notification: io.flow.v0.models.ShippingNotification; } interface ShippingRateEstimate { readonly origin_address: io.flow.v0.models.Address; readonly destination_address: io.flow.v0.models.Address; readonly shipping_date_time: string; readonly services: string[]; readonly available: io.flow.v0.models.ShippingRateEstimateAvailable[]; readonly unavailable?: io.flow.v0.models.ShippingRateEstimateUnavailable[]; } interface ShippingRateEstimateAvailable { readonly service: io.flow.v0.models.RatecardServiceSummary; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly shipment_window: io.flow.v0.models.ShipmentWindow; readonly total_amount: io.flow.v0.models.Money; readonly base_amount: io.flow.v0.models.Money; readonly fees: io.flow.v0.unions.RatecardFee[]; readonly dimensional_weight?: io.flow.v0.models.Measurement; readonly gravitational_weight?: io.flow.v0.models.Measurement; readonly weight_break?: number; } interface ShippingRateEstimateRequest { readonly carrier_id: string; readonly origin_address: io.flow.v0.models.Address; readonly destination_address: io.flow.v0.models.Address; readonly package_dimensions: io.flow.v0.models.Dimension; readonly shipping_date_time: string; readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty; readonly duties_owed?: io.flow.v0.models.Money; readonly taxes_owed?: io.flow.v0.models.Money; readonly line_items?: io.flow.v0.models.LineItemForm[]; } interface ShippingRateEstimateUnavailable { readonly service: string; readonly reason: string; } interface Shop { readonly name: string; readonly id: string; } interface ShopifyCart { readonly id: string; readonly items: io.flow.v0.models.ShopifyCartItem[]; readonly item_count: number; readonly total_price: number; readonly local: io.flow.v0.models.ShopifyLocalCartMetadata; readonly attributes?: any /*object*/; readonly note?: string; readonly requires_shipping: boolean; readonly total_weight?: number; } interface ShopifyCartAddMultipleForm { readonly discriminator: 'shopify_cart_add_multiple_form'; readonly items: io.flow.v0.models.ShopifyCartAddSingleForm[]; readonly attributes?: Record; } interface ShopifyCartAddSingleForm { readonly discriminator: 'shopify_cart_add_single_form'; readonly id: number; readonly quantity: number; readonly properties?: Record; } interface ShopifyCartChangeForm { readonly quantity: number; readonly line?: number; readonly id?: number; readonly properties?: Record; } interface ShopifyCartConversion { readonly flow: io.flow.v0.models.ShopifyCartConversionFlowOrder; readonly shopify: io.flow.v0.models.ShopifyCartConversionShopifyCart; } interface ShopifyCartConversionFlowOrder { readonly order: io.flow.v0.models.Order; readonly errors?: io.flow.v0.models.OrderError[]; } interface ShopifyCartConversionShopifyCart { readonly cart: io.flow.shopify.external.v0.models.ShopifyExternalCart; } interface ShopifyCartItem { readonly id: string; readonly handle: string; readonly line_price: number; readonly price: number; readonly product_id: number; readonly product_title: string; readonly quantity: number; readonly title: string; readonly url: string; readonly variant_id: number; readonly local: io.flow.v0.models.ShopifyLocalCartItemMetadata; readonly gift_card: boolean; readonly image?: string; readonly product_description?: string; readonly product_type?: string; readonly properties?: Record; readonly requires_shipping: boolean; readonly sku?: string; readonly variant_title?: string; readonly variant_options?: string[]; readonly vendor?: string; } interface ShopifyCustomerMetafieldValue { readonly flow_consumer_id: string; } interface ShopifyItemEventBucket { readonly discriminator: 'shopify_item_event_bucket'; readonly range: io.flow.v0.models.DatetimeRange; readonly count: number; readonly data: io.flow.v0.models.ShopifyItemEventData[]; } interface ShopifyItemEventData { readonly created_at: string; readonly experience: io.flow.v0.models.ExperienceReference; readonly item: io.flow.v0.models.CatalogItemSummary; } interface ShopifyLine { readonly variant_id: number; readonly quantity: number; readonly price: io.flow.v0.models.ShopifyPrice; readonly total: io.flow.v0.models.ShopifyPrice; readonly price_source?: io.flow.v0.unions.PriceSource; } interface ShopifyLocalCartItemMetadata { readonly line_price: io.flow.v0.models.PriceWithBase; readonly price: io.flow.v0.models.PriceWithBase; } interface ShopifyLocalCartMetadata { readonly total_price: io.flow.v0.models.PriceWithBase; readonly promotions: io.flow.v0.models.Promotions; readonly rules?: io.flow.v0.models.OrderRulesSummary; readonly subtotal: io.flow.v0.models.PriceWithBase; readonly vat?: io.flow.v0.models.PriceWithBase; readonly duty?: io.flow.v0.models.PriceWithBase; readonly discount?: io.flow.v0.models.PriceWithBase; } interface ShopifyLocalPriceMetadata { readonly price: io.flow.v0.models.PriceWithBase; } interface ShopifyLocalizationSetting { readonly id: string; readonly method: io.flow.v0.enums.ShopifyLocalizationMethod; readonly datetime_range: io.flow.v0.models.DatetimeRange; } interface ShopifyLocalizationSettingDeleted { readonly discriminator: 'shopify_localization_setting_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization_id: string; readonly shopify_localization_setting: io.flow.v0.models.ShopifyLocalizationSetting; } interface ShopifyLocalizationSettingForm { readonly method: io.flow.v0.enums.ShopifyLocalizationMethod; readonly datetime_range: io.flow.v0.models.DatetimeRange; } interface ShopifyLocalizationSettingUpserted { readonly discriminator: 'shopify_localization_setting_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization_id: string; readonly shopify_localization_setting: io.flow.v0.models.ShopifyLocalizationSetting; } interface ShopifyLocalizedOrder { readonly id: number; readonly lines: io.flow.v0.models.ShopifyLine[]; readonly prices: io.flow.v0.models.ShopifyPrice[]; readonly total: io.flow.v0.models.ShopifyPrice; readonly allocation_details: io.flow.v0.unions.AllocationDetail[]; readonly merchant_of_record?: io.flow.v0.enums.OrderMerchantOfRecord; readonly merchant_of_record_entity?: io.flow.v0.models.MerchantOfRecordEntity; readonly incoterm?: io.flow.v0.enums.Incoterm; readonly flow_order_id?: string; readonly tax_registration?: io.flow.v0.models.TaxRegistration; readonly geo?: io.flow.v0.models.OrderGeo; } interface ShopifyLocalizedVariant { readonly id: number; readonly handle: string; readonly experience: io.flow.v0.models.ExperienceReference; readonly prices: io.flow.v0.models.ShopifyLocalizedVariantPrices; readonly status: io.flow.v0.enums.SubcatalogItemStatus; readonly inventory_status?: io.flow.v0.enums.ItemAvailabilityStatus; } interface ShopifyLocalizedVariantPrices { readonly item: io.flow.v0.models.ShopifyPrice; readonly compare_at?: io.flow.v0.models.ShopifyPrice; readonly vat?: io.flow.v0.models.ShopifyPrice; readonly duty?: io.flow.v0.models.ShopifyPrice; } interface ShopifyLocationFlowCenterMapping { readonly id: string; readonly shopify_location: io.flow.v0.models.ShopifyLocationReference; readonly flow_center: io.flow.v0.models.FlowCenterReference; } interface ShopifyLocationFlowCenterMappingForm { readonly shopify_location_id: number; readonly flow_center_key: string; } interface ShopifyLocationReference { readonly id: string; } interface ShopifyMerchantApplication { readonly discriminator: 'shopify_merchant_application'; readonly id: string; readonly organization_id: string; readonly organization_reference: io.flow.v0.models.OnboardingOrganizationReference; readonly status: io.flow.v0.enums.OnboardingApplicationStatus; readonly company?: io.flow.v0.models.MerchantInfo; readonly indirect_tax?: io.flow.v0.models.IndirectTax; readonly beneficiary?: string; readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner; readonly business_url?: string; readonly business_description?: string; readonly business_address?: io.flow.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.v0.models.ThirdPartyLogisticsPartner[]; readonly center_contact?: io.flow.v0.models.OperationsContact; readonly average_order_weight?: number; readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly package_dimensions?: io.flow.v0.models.Dimension[]; readonly monthly_average?: io.flow.v0.models.MonthlyAverage; readonly default_country_of_origin?: string; readonly ratecard?: io.flow.v0.models.RatecardReference; readonly rate_card: string; readonly created_at: string; readonly activated_at?: string; readonly status_updated_at?: string; readonly shop?: io.flow.v0.models.Shop; readonly last_year_xborder_gmv?: io.flow.v0.models.Money; readonly last_month_xborder_gmv?: io.flow.v0.models.Money; readonly average_order_value?: io.flow.v0.models.Money; readonly glbe_merchant_guid?: string; readonly mcc_codes?: number[]; } interface ShopifyMerchantApplicationForm { readonly discriminator: 'shopify_merchant_application_form'; readonly company?: io.flow.v0.models.MerchantInfo; readonly indirect_tax?: io.flow.v0.models.IndirectTax; readonly beneficiary?: string; readonly ultimate_beneficiary_owner?: io.flow.v0.models.UltimateBeneficiaryOwner; readonly business_url?: string; readonly business_description?: string; readonly business_address?: io.flow.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.v0.models.ThirdPartyLogisticsPartner[]; readonly center_contact?: io.flow.v0.models.OperationsContact; readonly average_order_weight?: number; readonly average_order_weight_unit?: io.flow.v0.enums.UnitOfMeasurement; readonly package_dimensions?: io.flow.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.v0.models.Shop; readonly last_year_xborder_gmv?: io.flow.v0.models.Money; readonly last_month_xborder_gmv?: io.flow.v0.models.Money; readonly average_order_value?: io.flow.v0.models.Money; readonly mcc_codes?: number[]; } interface ShopifyMerchantApplicationPutForm { readonly discriminator: 'shopify_merchant_application_put_form'; readonly status?: io.flow.v0.enums.OnboardingApplicationStatus; } interface ShopifyMerchantApplicationsSummary { readonly discriminator: 'shopify_merchant_applications_summary'; readonly total: number; } interface ShopifyOrderAttributesForm { readonly attributes: Record; } interface ShopifyOrderDeliveryMetafield { readonly key?: string; readonly items: io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem[]; readonly service: io.flow.v0.models.ServiceSummary; readonly window: io.flow.v0.models.DeliveryWindow; readonly liability?: io.flow.v0.enums.RatecardOwner; readonly cost?: io.flow.v0.models.MoneyWithOptionalBase; readonly prices?: io.flow.v0.models.ShopifyPrice[]; readonly total?: io.flow.v0.models.ShopifyPrice; readonly merchant_of_record_entity?: io.flow.v0.models.MerchantOfRecordEntity; } interface ShopifyOrderDeliveryMetafieldItem { readonly number: string; readonly quantity: number; } interface ShopifyOrderPriceAttributesMetafield { readonly item_number: string; readonly price_attributes: Record; } interface ShopifyOrderRomanizationMetafield { readonly destination: io.flow.v0.models.OrderAddress; readonly billing?: io.flow.v0.models.BillingAddress; } interface ShopifyPrice { readonly name: string; readonly amount: number; readonly cents: number; readonly currency: string; readonly label: string; readonly includes?: io.flow.v0.models.IncludedLevies; readonly local?: io.flow.v0.models.ShopifyLocalPriceMetadata; } interface ShopifyPrivateApp { readonly id: string; readonly api_key: string; readonly password: string; } interface ShopifyPrivateAppForm { readonly api_key: string; readonly password: string; } interface ShopifySyncStatus { readonly sync_check: io.flow.v0.enums.ShopifySyncCheck; readonly range: io.flow.v0.models.DatetimeRange; readonly interval_seconds: number; readonly total: number; readonly buckets: io.flow.v0.unions.ShopifyEventBucket[]; } interface ShopifyVariantFlowMetafield { readonly prices_item: string; readonly prices_currency: string; readonly prices_includes?: string; readonly prices_vat?: string; readonly prices_vat_name?: string; readonly prices_duty?: string; readonly prices_compare_at?: string; readonly prices_status: io.flow.v0.enums.SubcatalogItemStatus; readonly inventory_status?: io.flow.v0.enums.ItemAvailabilityStatus; } interface ShopifyVariantInventoryMetafield { readonly experience: io.flow.v0.models.ExperienceReference; readonly status: io.flow.v0.enums.ItemAvailabilityStatus; } interface SimplePermissionCheck { readonly behaviors: io.flow.v0.enums.FlowBehavior[]; } interface SinglePackageShippingNotificationForm { readonly discriminator: 'single_package_shipping_notification_form'; readonly fulfillment_key: string; readonly carrier_tracking_number: string; readonly package_dimensions?: io.flow.v0.models.Dimension; readonly service?: string; readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient; } 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 Statement { readonly id: string; readonly account: io.flow.v0.models.AccountReference; readonly ending_balance: number; readonly settlement: io.flow.v0.unions.Settlement; readonly attachments: io.flow.v0.models.Attachment[]; readonly created_at: string; readonly period?: io.flow.v0.models.DatetimeRange; } interface StatementDeleted { readonly discriminator: 'statement_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly statement: io.flow.v0.models.Statement; } interface StatementStatusForm { readonly code: io.flow.v0.enums.StatementStatusCode; readonly failure_reason?: io.flow.v0.enums.PayoutStatusFailureCode; } interface StatementUpserted { readonly discriminator: 'statement_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly statement: io.flow.v0.models.Statement; } interface StreetAddress { readonly streets?: string[]; readonly city?: string; readonly province?: string; readonly postal?: string; readonly country?: string; } 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 Subcatalog { readonly discriminator: 'subcatalog'; readonly id: string; readonly catalog: io.flow.v0.models.Catalog; readonly settings: io.flow.v0.models.SubcatalogSettings; } interface SubcatalogDeleted { readonly discriminator: 'subcatalog_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly subcatalog_id: string; } interface SubcatalogForm { readonly settings?: io.flow.v0.models.SubcatalogSettingsForm; } interface SubcatalogItem { readonly id: string; readonly item: io.flow.v0.models.Item; readonly status: io.flow.v0.enums.SubcatalogItemStatus; } interface SubcatalogItemDeleted { readonly discriminator: 'subcatalog_item_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly number: string; readonly subcatalog_id: string; } interface SubcatalogItemUpserted { readonly discriminator: 'subcatalog_item_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly number: string; readonly subcatalog_id: string; readonly status: string; } interface SubcatalogItemVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly subcatalog_item: io.flow.v0.models.SubcatalogItem; } interface SubcatalogReference { readonly discriminator: 'subcatalog_reference'; readonly id: string; } interface SubcatalogSettings { readonly update_policy: io.flow.v0.enums.UpdatePolicy; } interface SubcatalogSettingsForm { readonly update_policy?: io.flow.v0.enums.UpdatePolicy; } interface SubcatalogStatistics { readonly excluded: io.flow.v0.models.ItemStatistics; readonly included: io.flow.v0.models.ItemStatistics; readonly restricted: io.flow.v0.models.ItemStatistics; readonly queue: io.flow.v0.models.ItemStatistics; readonly catalog: io.flow.v0.models.CatalogStatistics; } interface SubcatalogUpserted { readonly discriminator: 'subcatalog_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly subcatalog_id: string; } interface SubcatalogVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly subcatalog: io.flow.v0.models.Subcatalog; } interface Suggestion { readonly label: string; readonly count: number; } interface SummaryShippingLabelForm { readonly discriminator: 'summary_shipping_label_form'; readonly order_number: string; readonly items: io.flow.v0.models.LineItemForm[]; readonly center_key?: string; readonly direction?: io.flow.v0.enums.Direction; readonly reference_id?: string; } interface SummaryShippingNotificationForm { readonly discriminator: 'summary_shipping_notification_form'; readonly order_number: string; readonly items: io.flow.v0.models.LineItemForm[]; readonly service: string; readonly carrier_tracking_number: string; readonly key?: string; readonly shipment_recipient?: io.flow.v0.enums.ShipmentRecipient; } interface SurchargeResponsiblePartyDisplay { readonly name: string; readonly responsible_party: io.flow.v0.enums.SurchargeResponsibleParty; } interface SurchargeSetting { readonly key: io.flow.v0.enums.DeliveryOptionCostDetailComponentKey; readonly responsible_party: io.flow.v0.enums.SurchargeResponsibleParty; } interface SurchargeSettingDisplay { readonly name: string; readonly description: string; readonly key: io.flow.v0.enums.DeliveryOptionCostDetailComponentKey; readonly available: io.flow.v0.models.SurchargeResponsiblePartyDisplay[]; } interface TariffCodes { readonly item_number: string; readonly product_id: string; readonly hs6_code: string; readonly codes: io.flow.v0.models.HarmonizationTariffCode[]; } interface TariffCodesDeleted { readonly discriminator: 'tariff_codes_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface TariffCodesUpserted { readonly discriminator: 'tariff_codes_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tariff_codes: io.flow.v0.models.TariffCodes; } interface Tax { readonly name: string; readonly rate: number; readonly components: io.flow.v0.enums.LevyComponent[]; readonly deminimis?: io.flow.v0.unions.Deminimis; } interface TaxBreakdown { readonly label: string; readonly calculated_tax: io.flow.v0.models.Money; readonly rate: number; readonly line_total: io.flow.v0.models.Money; readonly jurisdiction_type: io.flow.v0.enums.TaxJurisdictionType; } interface TaxDutyCalculatorValidationError { readonly code: io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode; readonly messages: string[]; } interface TaxDutyQuote { readonly id: string; readonly primary_identifier: string; readonly attributes?: Record; readonly merchant_of_record: io.flow.v0.enums.MerchantOfRecord; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly destination: io.flow.v0.models.StreetAddress; readonly quote_date: string; readonly currency: string; readonly lines: io.flow.v0.models.TaxDutyQuoteLineItem[]; readonly shipping: io.flow.v0.models.TaxDutyQuoteSimpleShipping[]; readonly total_values: io.flow.v0.models.TaxDutyQuoteValues; } interface TaxDutyQuoteFeeValue { readonly amount: number; readonly description: string; readonly amount_refundable_on_return: number; } interface TaxDutyQuoteForm { readonly primary_identifier: string; readonly attributes?: Record; readonly delivered_duty: io.flow.v0.enums.DeliveredDuty; readonly destination: io.flow.v0.models.StreetAddress; readonly currency: string; readonly lines: io.flow.v0.models.TaxDutyQuoteLineItemForm[]; readonly shipping: io.flow.v0.models.TaxDutyQuoteSimpleShippingForm[]; readonly includes?: io.flow.v0.enums.LevyInclusion[]; } interface TaxDutyQuoteLineItem { readonly primary_identifier: string; readonly attributes?: Record; readonly ship_from: io.flow.v0.models.StreetAddress; readonly quantity: number; readonly unit_values: io.flow.v0.models.TaxDutyQuoteValues; readonly country_of_origin: string; readonly hs_code: string; } interface TaxDutyQuoteLineItemForm { readonly primary_identifier: string; readonly attributes?: Record; readonly ship_from: io.flow.v0.models.StreetAddress; readonly quantity: number; readonly unit_price: number; readonly unit_weight?: io.flow.v0.models.Measurement; readonly country_of_origin?: string; readonly hs_code?: string; readonly includes: io.flow.v0.enums.LevyInclusion[]; readonly preferential_rate_eligibilities?: io.flow.v0.enums.PreferentialRateEligibility[]; } interface TaxDutyQuoteSimpleLevyValue { readonly discriminator: 'tax_duty_quote_simple_levy_value'; readonly amount: number; readonly rate: number; readonly description: string; readonly zero_levy_reason?: io.flow.v0.enums.ZeroLevyReasonCode[]; readonly amount_refundable_on_return: number; } interface TaxDutyQuoteSimpleShipping { readonly values: io.flow.v0.models.TaxDutyQuoteValues; readonly ship_from: io.flow.v0.models.StreetAddress; } interface TaxDutyQuoteSimpleShippingForm { readonly price: number; readonly includes: io.flow.v0.enums.LevyInclusion[]; readonly ship_from?: io.flow.v0.models.StreetAddress; } interface TaxDutyQuoteValues { readonly price: number; readonly duty: io.flow.v0.models.TaxDutyQuoteSimpleLevyValue; readonly tax: io.flow.v0.models.TaxDutyQuoteSimpleLevyValue; readonly fees: io.flow.v0.models.TaxDutyQuoteFeeValue; readonly total: number; } interface TaxRegistration { readonly id: string; readonly key: string; readonly number: string; readonly timestamp: string; readonly result: io.flow.v0.enums.TaxVerificationResult; readonly result_reason?: string; readonly name?: string; readonly address?: string; readonly company_name?: string; } interface TaxRegistrationDeleted { readonly discriminator: 'tax_registration_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface TaxRegistrationDetail { readonly tax_number: string; readonly country: string; readonly tax_code: string; readonly province?: string; readonly legal_name?: string; } interface TaxRegistrationUpserted { readonly discriminator: 'tax_registration_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tax_registration: io.flow.v0.models.OrganizationTaxRegistration; } interface TestUpserted { readonly discriminator: 'test_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly channel_id: string; readonly test: io.flow.ben.test.internal.v0.models.Test; } interface ThirdPartyLogisticsPartner { readonly warehouse_address: io.flow.v0.models.MerchantOnboardingAddress; readonly warehouse_url?: string; readonly location?: io.flow.v0.models.MerchantOnboardingAddress; readonly scheduled_pickups?: io.flow.v0.models.OnboardingMerchantScheduledPickup[]; readonly operations_contact: io.flow.v0.models.OperationsContact; readonly center_id?: string; } interface ThreeDSecure { readonly code: io.flow.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.v0.unions.ThreedsChallengeAction; readonly expires_at: string; } interface ThreedsIdentifyActionDetails { readonly discriminator: 'threeds_identify_action_details'; readonly threeds_identify_action: io.flow.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 Tier { readonly id: string; readonly direction: io.flow.v0.enums.LaneDirection; readonly integration: io.flow.v0.enums.ShipmentIntegrationType; readonly name: string; readonly message?: string; readonly rules: io.flow.v0.models.TierRule[]; readonly services: io.flow.v0.models.CarrierService[]; readonly strategy: io.flow.v0.enums.TierStrategy; readonly visibility: io.flow.v0.enums.Visibility; readonly currency: string; readonly description?: string; readonly display?: io.flow.v0.models.TierDisplay; readonly shipping_lane?: string; readonly surcharge_settings?: io.flow.v0.models.SurchargeSetting[]; readonly lane?: io.flow.v0.models.ShippingLaneSummary; readonly settings?: io.flow.v0.models.TierSettings; } interface TierDeletedV2 { readonly discriminator: 'tier_deleted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tier: io.flow.v0.models.Tier; } interface TierDisplay { readonly estimate: io.flow.v0.models.TierEstimate; } interface TierDisplayForm { readonly estimate?: io.flow.v0.models.TierEstimate; } interface TierEstimate { readonly type: io.flow.v0.enums.TierEstimateType; readonly label?: string; } interface TierForm { readonly currency: string; readonly integration: io.flow.v0.enums.ShipmentIntegrationType; readonly name: string; readonly message?: string; readonly rules: io.flow.v0.models.TierRuleForm[]; readonly services: string[]; readonly strategy: io.flow.v0.enums.TierStrategy; readonly visibility: io.flow.v0.enums.Visibility; readonly description?: string; readonly direction?: io.flow.v0.enums.LaneDirection; readonly display?: io.flow.v0.models.TierDisplayForm; readonly shipping_lane: string; readonly surcharge_settings?: io.flow.v0.models.SurchargeSetting[]; readonly settings?: io.flow.v0.models.TierSettings; } interface TierReference { readonly id: string; } interface TierRule { readonly id: string; readonly position: number; readonly query: string; readonly outcome: io.flow.v0.unions.TierRuleOutcome; } interface TierRuleForm { readonly position?: number; readonly query: string; readonly outcome: io.flow.v0.unions.TierRuleOutcomeForm; } interface TierRuleVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly tier_rule: io.flow.v0.models.TierRule; } interface TierSettings { readonly availability: io.flow.v0.enums.TierAvailability; } interface TierSummary { readonly id: string; readonly experience?: io.flow.v0.models.FulfillmentExperienceReference; readonly integration: io.flow.v0.enums.ShipmentIntegrationType; readonly name: string; readonly services: string[]; readonly strategy: io.flow.v0.enums.TierStrategy; readonly visibility: io.flow.v0.enums.Visibility; readonly currency: string; readonly display?: io.flow.v0.models.TierDisplay; readonly message?: string; readonly settings?: io.flow.v0.models.TierSettings; } interface TierUpsertedV2 { readonly discriminator: 'tier_upserted_v2'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly tier: io.flow.v0.models.Tier; } interface TierVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly tier: io.flow.v0.models.TierSummary; } interface Timezone { readonly name: string; readonly description: string; readonly offset: number; } 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; } interface Tracking { readonly id: string; readonly labels: io.flow.v0.models.TrackingLabel[]; readonly status: io.flow.v0.enums.TrackingStatus; readonly attributes: Record; readonly url: string; readonly window?: io.flow.v0.models.DatetimeRange; readonly order_number?: string; } interface TrackingEvent { readonly id: string; readonly address: io.flow.v0.models.Address; readonly status: io.flow.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.v0.enums.TrackingStatus; readonly description?: string; readonly address?: string; } interface TrackingEventSummary { readonly id: string; readonly status: io.flow.v0.enums.TrackingStatus; readonly timestamp: string; } interface TrackingEventVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly tracking_event: io.flow.v0.models.TrackingEventSummary; } interface TrackingForm { readonly status?: io.flow.v0.enums.TrackingStatus; readonly order_number?: string; readonly attributes?: Record; readonly window?: io.flow.v0.models.DatetimeRange; } interface TrackingLabel { readonly id: string; readonly carrier: string; readonly carrier_tracking_number: string; readonly events: io.flow.v0.models.TrackingEvent[]; readonly status: io.flow.v0.enums.TrackingStatus; readonly timestamp: string; readonly delivery_estimate?: string; readonly description?: string; } interface TrackingLabelEventUpserted { readonly discriminator: 'tracking_label_event_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly address: io.flow.v0.models.Address; readonly carrier: string; readonly carrier_timestamp: string; readonly carrier_tracking_number: string; readonly flow_tracking_number: string; readonly status: string; readonly delivery_estimate?: string; readonly description?: string; readonly order_number?: string; } 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.v0.models.TrackingLabelEventV2; } interface TrackingLabelEventV2 { readonly id: string; readonly carrier_id: string; readonly carrier_tracking_number: string; readonly carrier_tracking_url?: string; readonly label_id: string; readonly order_number?: string; readonly status: io.flow.v0.enums.TrackingStatus; readonly substatus?: io.flow.v0.enums.SubstatusCode; readonly carrier_timestamp: string; readonly description?: string; readonly delivery_estimate?: string; readonly address?: io.flow.v0.models.Address; } interface TrackingLabelForm { readonly tracking_id: string; readonly status: io.flow.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.v0.models.Money; readonly ratecard_owner?: io.flow.v0.enums.RatecardOwner; } interface TrackingLabelSummary { readonly id: string; readonly tracking: io.flow.v0.models.TrackingSummary; readonly status: io.flow.v0.enums.TrackingStatus; readonly carrier: string; readonly tracking_number: string; } interface TrackingLabelVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly tracking_label: io.flow.v0.models.TrackingLabelSummary; } interface TrackingSummary { readonly id: string; readonly status: io.flow.v0.enums.TrackingStatus; readonly order_number?: string; } interface TrackingVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly tracking: io.flow.v0.models.TrackingSummary; } interface TradeAgreement { readonly key: string; readonly name: io.flow.v0.enums.TradeAgreementName; readonly origins: string[]; readonly destinations: string[]; readonly ship_from?: string[]; readonly effective_at: string; readonly status: io.flow.v0.enums.TradeAgreementStatus; } interface TradeAgreementCertifier { readonly key: string; readonly name: string; readonly exporter_of_record: io.flow.v0.enums.ExporterOfRecord; readonly contact?: io.flow.v0.models.Contact; readonly address?: io.flow.v0.models.Address; readonly signature_url?: string; } interface TradeAgreementDuty { readonly trade_agreement: io.flow.v0.models.TradeAgreement; readonly duty: io.flow.v0.models.Duty; } interface Transaction { readonly statement?: io.flow.v0.models.BillingChannelStatementReference; readonly id: string; readonly account: io.flow.v0.models.AccountIdReference; readonly metadata?: io.flow.v0.unions.TransactionMetadata; readonly order?: io.flow.v0.models.BillingChannelOrderSummary; readonly payment_request?: io.flow.v0.models.BillingChannelPaymentRequestReference; readonly currency: string; readonly source: io.flow.v0.enums.TransactionSource; readonly parent?: io.flow.v0.models.ParentTransactionSummary; readonly gross: number; readonly fees: io.flow.v0.models.FeeDeduction[]; readonly withholdings: io.flow.v0.models.WithholdingDeduction[]; readonly discounts: io.flow.v0.models.BillingDiscount[]; readonly net: number; readonly identifiers: Record; readonly created_at: string; readonly updated_at: string; } interface TransactionDetailsCard { readonly type: 'card'; readonly address_verification_result?: io.flow.v0.models.AddressVerificationResult; readonly cvv_result?: io.flow.v0.models.CvvResult; readonly network_details?: io.flow.v0.models.TransactionNetworkDetailsCard; } interface TransactionMetadataCarrierCharge { readonly discriminator: 'carrier_charge'; readonly reason: io.flow.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.v0.models.TransactionMetadataOutboundTransaction; } interface TransactionMetadataChannel { readonly discriminator: 'channel'; readonly method: string; readonly card?: io.flow.v0.models.TransactionMetadataChannelCardMetadata; readonly organization_transaction: io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction; } interface TransactionMetadataChannelCardMetadata { readonly type: io.flow.v0.enums.CardType; readonly issuer: io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary; } interface TransactionMetadataChannelCardMetadataIssuerSummary { readonly iin: string; readonly country: string; } interface TransactionMetadataChannelOrganizationTransaction { readonly id: string; readonly metadata: io.flow.v0.models.TransactionMetadataPaymentTransaction; } interface TransactionMetadataFailedPayout { readonly discriminator: 'failed_payout'; readonly failed_payout: io.flow.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.v0.models.TransactionMetadataOriginalTransaction; readonly url?: string; readonly recoup?: boolean; } interface TransactionMetadataMerchantFee { readonly discriminator: 'merchant_fee'; readonly items: io.flow.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.v0.enums.LabelRequestMethod; readonly carrier: io.flow.v0.models.TransactionMetadataShippingLabelCarrier; readonly revenue_share_percentage?: number; readonly actual?: io.flow.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.v0.enums.TaxDutyTransactionReasonCode; readonly local_currency?: string; readonly actual?: io.flow.v0.models.TransactionMetadataTaxDutyActual; readonly estimate?: io.flow.v0.models.TransactionMetadataTaxDutyEstimate; readonly delta?: io.flow.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.v0.models.TransactionMetadataOriginalTransaction; readonly estimate: io.flow.v0.models.TransactionMetadataTrueupData; readonly actual: io.flow.v0.models.TransactionMetadataTrueupData; } interface TransactionMetadataTrueupBase { readonly discriminator: 'trueup_base'; readonly original: io.flow.v0.models.TransactionMetadataOriginalTransaction; readonly estimate: io.flow.v0.models.TransactionMetadataTrueupBaseData; readonly actual: io.flow.v0.models.TransactionMetadataTrueupBaseData; } interface TransactionMetadataTrueupBaseData { readonly source: io.flow.v0.enums.TrueupSource; readonly weights: io.flow.v0.models.TrueupLabelWeights; readonly units: io.flow.v0.models.TrueupLabelUnits; readonly base: io.flow.v0.models.TrueupLabelBaseV2; readonly fuel?: io.flow.v0.models.TrueupLabelFuel; readonly total: number; } interface TransactionMetadataTrueupData { readonly source: io.flow.v0.enums.TrueupSource; readonly units: io.flow.v0.models.TrueupLabelUnits; readonly base: io.flow.v0.models.TrueupLabelBase; readonly surcharges: io.flow.v0.models.TrueupLabelSurcharge[]; readonly total: number; readonly dead?: io.flow.v0.models.DeadWeight; readonly dimensional?: io.flow.v0.models.DimensionalWeight; } interface TransactionMetadataTrueupSurcharge { readonly discriminator: 'trueup_surcharge'; readonly original: io.flow.v0.models.TransactionMetadataOriginalTransaction; readonly estimate: io.flow.v0.models.TransactionMetadataTrueupSurchargeData; readonly actual: io.flow.v0.models.TransactionMetadataTrueupSurchargeData; } interface TransactionMetadataTrueupSurchargeData { readonly source: io.flow.v0.enums.TrueupSource; readonly surcharge: io.flow.v0.models.TrueupLabelSurcharge; } interface TransactionNetworkDetailsCard { readonly network_transaction_id?: string; readonly network?: io.flow.v0.enums.CardType; } interface TransactionReference { readonly id: string; } interface TransactionUpserted { readonly discriminator: 'transaction_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transaction: io.flow.v0.models.Transaction; } interface Transfer { readonly id: string; readonly type: io.flow.v0.enums.TransferType; readonly base: io.flow.v0.models.Money; readonly status: io.flow.v0.enums.TransferStatus; readonly created_at: string; readonly authorization: io.flow.v0.models.AuthorizationReference; readonly transferred_at: string; } interface TransferDeleted { readonly discriminator: 'transfer_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface TransferUpserted { readonly discriminator: 'transfer_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly transfer: io.flow.v0.models.Transfer; } interface TransitEstimate { readonly origin: io.flow.v0.enums.DeliveryWindowLocation; readonly destination: io.flow.v0.enums.DeliveryWindowLocation; readonly min_date: string; readonly max_date: string; readonly source: io.flow.v0.enums.DeliveryWindowComponentSource; } interface TransitWindow { readonly origin_country: string; readonly destination_country: string; readonly from: number; readonly to: number; } 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.v0.enums.TrueupSurchargeType; readonly percentage?: number; readonly per_weight_unit?: number; } interface TrueupLabelUnits { readonly weight: io.flow.v0.enums.UnitOfWeight; readonly length?: io.flow.v0.enums.UnitOfLength; } interface TrueupLabelWeights { readonly base: io.flow.v0.models.TrueupLabelBaseWeight; readonly dead?: io.flow.v0.models.DeadWeight; readonly dimensional?: io.flow.v0.models.DimensionalWeight; } interface UltimateBeneficiaryOwner { readonly name: string; readonly dob: string; } interface UnharmonizedItemExportType { readonly discriminator: 'unharmonized_item_export_type'; readonly sort?: string; } interface Upload { readonly id: string; readonly name: string; readonly url: string; readonly expiration: string; } interface User { readonly discriminator: 'user'; readonly id: string; readonly email?: string; readonly name: io.flow.v0.models.Name; readonly status: io.flow.v0.enums.UserStatus; } interface UserForm { readonly email?: string; readonly password?: string; readonly name?: io.flow.v0.models.NameForm; } interface UserPutForm { readonly email?: string; readonly name?: io.flow.v0.models.NameForm; } interface UserReference { readonly discriminator: 'user_reference'; readonly id: string; } interface UserVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly user: io.flow.v0.models.User; } interface ValueThresholdExceededDetails { readonly local: io.flow.v0.models.Price; readonly original: io.flow.v0.models.Price; } interface VirtualCard { readonly id: string; readonly key: string; readonly number?: string; readonly cvv?: string; readonly limit: io.flow.v0.models.Price; readonly type: io.flow.v0.enums.CardType; readonly expiration: io.flow.v0.models.Expiration; readonly iin: string; readonly last4: string; readonly name: string; readonly attributes?: Record; } interface VirtualCardCapture { readonly id: string; readonly issuer: io.flow.v0.models.IssuerV1; readonly virtual_card: io.flow.v0.models.VirtualCardReference; readonly authorization: io.flow.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly created_at: string; } interface VirtualCardCaptureDeleted { readonly discriminator: 'virtual_card_capture_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface VirtualCardCaptureUpserted { readonly discriminator: 'virtual_card_capture_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly capture: io.flow.v0.models.VirtualCardCapture; } interface VirtualCardCaptureVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly virtual_card_capture: io.flow.v0.models.VirtualCardCapture; } interface VirtualCardReference { readonly id: string; } interface VirtualCardRefund { readonly id: string; readonly issuer: io.flow.v0.models.IssuerV1; readonly virtual_card: io.flow.v0.models.VirtualCardReference; readonly authorization: io.flow.v0.models.AuthorizationReference; readonly amount: number; readonly currency: string; readonly created_at: string; } interface VirtualCardRefundDeleted { readonly discriminator: 'virtual_card_refund_deleted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; } interface VirtualCardRefundUpserted { readonly discriminator: 'virtual_card_refund_upserted'; readonly event_id: string; readonly timestamp: string; readonly organization: string; readonly id: string; readonly refund: io.flow.v0.models.VirtualCardRefund; } interface VirtualCardRefundVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly virtual_card_refund: io.flow.v0.models.VirtualCardRefund; } interface VirtualCardVersion { readonly id: string; readonly timestamp: string; readonly type: io.flow.v0.enums.ChangeType; readonly virtual_card: io.flow.v0.models.VirtualCard; } interface Webhook { readonly id: string; readonly url: string; readonly events: string[]; } interface WebhookDelivery { readonly id: string; readonly webhook: io.flow.v0.models.WebhookReference; readonly status: io.flow.v0.enums.WebhookStatus; readonly created_at: string; readonly latest?: io.flow.v0.models.WebhookRequest; readonly next_attempt_at?: string; } interface WebhookForm { readonly url: string; readonly events: string[]; } interface WebhookReference { readonly id: string; } interface WebhookRequest { readonly id: string; readonly headers: io.flow.v0.models.Header[]; readonly method: io.flow.v0.enums.Method; readonly body: string; readonly status: io.flow.v0.enums.WebhookStatus; readonly started_at?: string; readonly completed_at?: string; readonly duration_ms?: number; readonly response?: io.flow.v0.models.WebhookResponse; readonly error?: string; } interface WebhookRequestReference { readonly id: string; } interface WebhookResponse { readonly id: string; readonly request: io.flow.v0.models.WebhookRequestReference; readonly headers: io.flow.v0.models.Header[]; readonly body: string; readonly body_url?: string; readonly status: number; } interface WebhookSettings { readonly secret?: string; readonly retry_max_attempts: number; readonly retry_sleep_ms: number; readonly sleep_ms: number; } interface WithholdingDeduction { readonly type: io.flow.v0.enums.WithholdingDeductionType; readonly amount: number; readonly description?: string; } interface Zone { readonly postals?: string[]; readonly provinces?: string[]; readonly country: string; } } declare namespace io.flow.v0.unions { type AbandonedOrderPromotionDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails; type Action = | io.flow.v0.models.ActionRedirect | io.flow.v0.models.ActionUseSdkKlarnaV1 | io.flow.v0.models.ActionUseSdkApplepayJsCreateSession | io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation | io.flow.v0.models.ActionUseSdkGooglepay | io.flow.v0.models.ActionUseSdkPaypal | io.flow.v0.models.ActionUseSdkStripeV3 | io.flow.v0.models.ActionUseSdkAdyenV3 | io.flow.v0.models.ActionUseSdkAdyenV4 | io.flow.v0.models.ActionSelectPaymentOption | io.flow.v0.models.ActionExecuteScript | io.flow.v0.models.ActionDisplayInlineWindow | io.flow.v0.models.ActionWait; type AdyenNativeData = | io.flow.v0.models.AdyenIdentifyShopperData | io.flow.v0.models.AdyenChallengeShopperData; type AllocationComponent = | io.flow.v0.models.AllocationDetailComponent | io.flow.v0.models.AllocationLevyComponent; type AllocationDetail = | io.flow.v0.models.AllocationLineDetail | io.flow.v0.models.AllocationOrderDetail; type Authorization = | io.flow.v0.models.CardAuthorization | io.flow.v0.models.OnlineAuthorization; type AuthorizationForm = | io.flow.v0.models.AuthorizationCopyForm | io.flow.v0.models.DirectAuthorizationForm | io.flow.v0.models.MerchantOfRecordAuthorizationForm | io.flow.v0.models.PaypalAuthorizationForm | io.flow.v0.models.RedirectAuthorizationForm | io.flow.v0.models.InlineAuthorizationForm | io.flow.v0.models.AchAuthorizationForm | io.flow.v0.models.CardPaymentSourceAuthorizationForm | io.flow.v0.models.OnlinePaymentAuthorizationForm; type AuthorizationPayloadParameters = | io.flow.v0.models.GooglePayAuthorizationPayload | io.flow.v0.models.ApplePayMerchantValidationPayload; type AuthorizationResultAction = | io.flow.v0.models.AuthorizationResultActionGet | io.flow.v0.models.AuthorizationResultActionPost | io.flow.v0.models.AuthorizationResultActionWait | io.flow.v0.models.AuthorizationResultActionNative; type AuthorizationResultActionDetails = | io.flow.v0.models.AdyenNativeActionDetails | io.flow.v0.models.StripeAuthorizationResultActionDetails | io.flow.v0.models.ThreedsIdentifyActionDetails | io.flow.v0.models.ThreedsChallengeActionDetails | io.flow.v0.models.ApplepaySdkCreateResultActionDetails | io.flow.v0.models.ApplepaySdkValidateResultActionDetails | io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.v0.models.SelectIssuerOptionActionDetails; type AvailableFilter = | io.flow.v0.models.AvailableFilterStructured | io.flow.v0.models.AvailableFilterUnstructured; type BankAccountForm = | io.flow.v0.models.BankAccountFormInfo | io.flow.v0.models.BankAccountFormSimple; type BankAccountInfo = | io.flow.v0.models.BankAccountInfoUsa | io.flow.v0.models.BankAccountInfoCan | io.flow.v0.models.BankAccountInfoGbr | io.flow.v0.models.BankAccountInfoFra | io.flow.v0.models.BankAccountInfoIta | io.flow.v0.models.BankAccountInfoKor | io.flow.v0.models.BankAccountInfoKorV2; type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration; type CardAuthorizationActionResult = | io.flow.v0.models.AuthorizationActionResultAdyenV3 | io.flow.v0.models.AuthorizationActionResultAdyenV4; type CardNumber = | io.flow.v0.models.PaymentMethodCardNumberCleartext | io.flow.v0.models.PaymentMethodCardNumberCipher; type CheckoutTokenForm = | io.flow.v0.models.CheckoutTokenOrderForm | io.flow.v0.models.CheckoutTokenReferenceForm; type ConfirmationDetails = | io.flow.v0.models.DirectDebit | io.flow.v0.models.CardConfirmationSummary; type ConsumerInvoiceLine = | io.flow.v0.models.ConsumerInvoiceLineItem | io.flow.v0.models.ConsumerInvoiceLineDiscount | io.flow.v0.models.ConsumerInvoiceLineShipping | io.flow.v0.models.ConsumerInvoiceLineShippingPassThrough | io.flow.v0.models.ConsumerInvoiceLineTip; type ConsumerInvoiceLineForm = | io.flow.v0.models.ConsumerInvoiceLineItemForm | io.flow.v0.models.ConsumerInvoiceLineDiscountForm | io.flow.v0.models.ConsumerInvoiceLineShippingForm | io.flow.v0.models.ConsumerInvoiceLineTipForm; type Delivery = | io.flow.v0.models.DigitalDelivery | io.flow.v0.models.PhysicalDelivery; type Deminimis = | io.flow.v0.models.DeminimisSimple | io.flow.v0.models.DeminimisPerItem; type DeviceDetails = io.flow.v0.models.DeviceDetailsBrowser; type DeviceFingerprintDetails = io.flow.v0.models.DeviceFingerprintDetailsBrowser; type DiscountOffer = | io.flow.v0.models.DiscountOfferFixed | io.flow.v0.models.DiscountOfferPercent; type DiscountRuleEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement; type Document = | io.flow.v0.models.CatalogItemDocument | io.flow.v0.models.HarmonizationDocument; type EmailNotificationData = | io.flow.v0.models.EmailNotificationDataRefund | io.flow.v0.models.EmailNotificationAbandonedOrder; type Entity = io.flow.v0.models.Company | io.flow.v0.models.Individual; type Event = | io.flow.v0.models.TestUpserted | io.flow.v0.models.GenerateLoad | io.flow.v0.models.AmruthaItemUpserted | io.flow.v0.models.AmruthaItemDeleted | io.flow.v0.models.TransactionUpserted | io.flow.v0.models.OrganizationTransactionUpserted | io.flow.v0.models.OrganizationTransactionDeleted | io.flow.v0.models.StatementUpserted | io.flow.v0.models.StatementDeleted | io.flow.v0.models.ChannelTransactionUpserted | io.flow.v0.models.ChannelTransactionDeleted | io.flow.v0.models.ChannelTransactionDeletedV2 | io.flow.v0.models.ChannelStatementUpserted | io.flow.v0.models.ChannelStatementDeleted | io.flow.v0.models.ChannelPayoutUpserted | io.flow.v0.models.ChannelPayoutDeleted | io.flow.v0.models.OrganizationPayoutUpserted | io.flow.v0.models.OrganizationPayoutDeleted | io.flow.v0.models.ChannelPendingPayoutTransactionUpserted | io.flow.v0.models.ChannelPendingPayoutTransactionDeleted | io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted | io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted | io.flow.v0.models.AttributeUpserted | io.flow.v0.models.AttributeDeleted | io.flow.v0.models.AttributeUpsertedV2 | io.flow.v0.models.AttributeDeletedV2 | io.flow.v0.models.CatalogUpserted | io.flow.v0.models.CatalogDeleted | io.flow.v0.models.SubcatalogUpserted | io.flow.v0.models.SubcatalogDeleted | io.flow.v0.models.SubcatalogItemUpserted | io.flow.v0.models.SubcatalogItemDeleted | io.flow.v0.models.CatalogStatisticsUpserted | io.flow.v0.models.CatalogStatisticsDeleted | io.flow.v0.models.ItemInserted | io.flow.v0.models.ItemUpdated | io.flow.v0.models.ItemDeleted | io.flow.v0.models.ChannelUpserted | io.flow.v0.models.ChannelDeleted | io.flow.v0.models.ChannelCurrencyUpserted | io.flow.v0.models.ChannelCurrencyDeleted | io.flow.v0.models.ChannelOrganizationUpserted | io.flow.v0.models.ChannelOrganizationDeleted | io.flow.v0.models.ChannelShopifyOrderStateUpserted | io.flow.v0.models.ChannelShopifyOrderStateDeleted | io.flow.v0.models.B2BInvoiceUpserted | io.flow.v0.models.B2BInvoiceDeleted | io.flow.v0.models.B2BCreditMemoUpserted | io.flow.v0.models.B2BCreditMemoDeleted | io.flow.v0.models.ConsumerInvoiceUpserted | io.flow.v0.models.ConsumerInvoiceDeleted | io.flow.v0.models.CreditMemoUpserted | io.flow.v0.models.CreditMemoDeleted | io.flow.v0.models.FeeInvoiceUpserted | io.flow.v0.models.FeeInvoiceDeleted | io.flow.v0.models.CrossdockShipmentUpserted | io.flow.v0.models.RateDeleted | io.flow.v0.models.RateUpserted | io.flow.v0.models.RateDeletedV3 | io.flow.v0.models.RateUpsertedV3 | io.flow.v0.models.AllocationDeletedV2 | io.flow.v0.models.AllocationUpsertedV2 | io.flow.v0.models.OrderDeletedV2 | io.flow.v0.models.OrderUpsertedV2 | io.flow.v0.models.OrderIdentifierDeletedV2 | io.flow.v0.models.OrderIdentifierUpsertedV3 | io.flow.v0.models.OrderStateUpserted | io.flow.v0.models.OrderStateDeleted | io.flow.v0.models.FraudStatusChanged | io.flow.v0.models.CenterUpserted | io.flow.v0.models.CenterDeleted | io.flow.v0.models.ShippingConfigurationUpserted | io.flow.v0.models.ShippingConfigurationDeleted | io.flow.v0.models.TierUpsertedV2 | io.flow.v0.models.TierDeletedV2 | io.flow.v0.models.ShippingLaneUpserted | io.flow.v0.models.ShippingLaneDeleted | io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted | io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted | io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted | io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted | io.flow.v0.models.GeItemInserted | io.flow.v0.models.GeItemUpdated | io.flow.v0.models.GeItemDeleted | io.flow.v0.models.Hs6CodeUpserted | io.flow.v0.models.Hs6CodeDeleted | io.flow.v0.models.Hs10CodeUpserted | io.flow.v0.models.Hs10CodeDeleted | io.flow.v0.models.ItemOriginUpserted | io.flow.v0.models.ItemOriginDeleted | io.flow.v0.models.HarmonizedLandedCostUpserted | io.flow.v0.models.FullyHarmonizedItemUpserted | io.flow.v0.models.TariffCodesUpserted | io.flow.v0.models.TariffCodesDeleted | io.flow.v0.models.LabelDeletedV2 | io.flow.v0.models.LabelUpsertedV2 | io.flow.v0.models.NotificationUpsertedV2 | io.flow.v0.models.NotificationDeletedV2 | io.flow.v0.models.ManifestedLabelUpserted | io.flow.v0.models.ManifestedLabelDeleted | io.flow.v0.models.LabelProcessingModificationUpserted | io.flow.v0.models.LabelProcessingModificationDeleted | io.flow.v0.models.MerchantApplicationUpserted | io.flow.v0.models.MerchantApplicationDeleted | io.flow.v0.models.OrderPlaced | io.flow.v0.models.OrderPlacedV2 | io.flow.v0.models.ReadyToFulfill | io.flow.v0.models.ReadyToFulfillV2 | io.flow.v0.models.MembershipUpsertedV2 | io.flow.v0.models.MembershipDeletedV2 | io.flow.v0.models.OrganizationUpserted | io.flow.v0.models.OrganizationDeleted | io.flow.v0.models.OrganizationUpsertedV2 | io.flow.v0.models.OrganizationDeletedV2 | io.flow.v0.models.EcommercePlatformUpserted | io.flow.v0.models.EcommercePlatformDeleted | io.flow.v0.models.TaxRegistrationUpserted | io.flow.v0.models.TaxRegistrationDeleted | io.flow.v0.models.OrganizationOnboardingStateUpserted | io.flow.v0.models.OrganizationOnboardingStateDeleted | io.flow.v0.models.AuthorizationDeletedV2 | io.flow.v0.models.AuthorizationStatusChanged | io.flow.v0.models.CardAuthorizationUpsertedV2 | io.flow.v0.models.CardAuthorizationDeletedV2 | io.flow.v0.models.OnlineAuthorizationUpsertedV2 | io.flow.v0.models.OnlineAuthorizationDeletedV2 | io.flow.v0.models.CaptureUpsertedV2 | io.flow.v0.models.CaptureDeleted | io.flow.v0.models.CardUpsertedV2 | io.flow.v0.models.CardDeleted | io.flow.v0.models.PaymentUpserted | io.flow.v0.models.PaymentDeleted | io.flow.v0.models.RefundUpsertedV2 | io.flow.v0.models.RefundDeletedV2 | io.flow.v0.models.RefundCaptureUpsertedV2 | io.flow.v0.models.ReversalUpserted | io.flow.v0.models.ReversalDeleted | io.flow.v0.models.CaptureIdentifierUpserted | io.flow.v0.models.CaptureIdentifierDeleted | io.flow.v0.models.RefundIdentifierUpserted | io.flow.v0.models.RefundIdentifierDeleted | io.flow.v0.models.VirtualCardCaptureUpserted | io.flow.v0.models.VirtualCardCaptureDeleted | io.flow.v0.models.VirtualCardRefundUpserted | io.flow.v0.models.VirtualCardRefundDeleted | io.flow.v0.models.AuthorizationRetryUpserted | io.flow.v0.models.AuthorizationRetryDeleted | io.flow.v0.models.TransferUpserted | io.flow.v0.models.TransferDeleted | io.flow.v0.models.PaymentRequestUpserted | io.flow.v0.models.PaymentRequestDeleted | io.flow.v0.models.PriceBookUpserted | io.flow.v0.models.PriceBookDeleted | io.flow.v0.models.PriceBookItemUpserted | io.flow.v0.models.PriceBookItemDeleted | io.flow.v0.models.ProductInserted | io.flow.v0.models.ProductUpdated | io.flow.v0.models.ProductDeleted | io.flow.v0.models.OrganizationRatesPublished | io.flow.v0.models.RatecardLaneUpserted | io.flow.v0.models.RatecardLaneDeleted | io.flow.v0.models.RatecardUpserted | io.flow.v0.models.RatecardDeleted | io.flow.v0.models.ProductRestrictionResultUpserted | io.flow.v0.models.ProductRestrictionResultDeleted | io.flow.v0.models.ProductSellabilityResultUpserted | io.flow.v0.models.ProductSellabilityResultDeleted | io.flow.v0.models.ShopifyLocalizationSettingUpserted | io.flow.v0.models.ShopifyLocalizationSettingDeleted | io.flow.v0.models.TrackingLabelEventUpserted | io.flow.v0.models.TrackingLabelEventUpsertedV2; type ExpandableCard = | io.flow.v0.models.Card | io.flow.v0.models.CardReference | io.flow.v0.models.CardSummary | io.flow.v0.models.ExternalCard; type ExpandableCenter = | io.flow.v0.models.Center | io.flow.v0.models.CenterReference; type ExpandableExperience = | io.flow.v0.models.Experience | io.flow.v0.models.ExperienceReference; type ExpandableOrder = | io.flow.v0.models.Order | io.flow.v0.models.OrderReference; type ExpandableOrganization = | io.flow.v0.models.Organization | io.flow.v0.models.OrganizationReference; type ExpandablePaymentProcessor = | io.flow.v0.models.PaymentProcessor | io.flow.v0.models.PaymentProcessorReference; type ExpandableSubcatalog = | io.flow.v0.models.Subcatalog | io.flow.v0.models.SubcatalogReference; type ExpandableUser = | io.flow.v0.models.User | io.flow.v0.models.UserReference; type ExportDelivery = io.flow.v0.models.ExportDeliveryEmail; type ExportType = | io.flow.v0.models.AccountTransactionsExportType | io.flow.v0.models.AccountOrdersExportType | io.flow.v0.models.AnalyticsExportType | io.flow.v0.models.CatalogItemExportType | io.flow.v0.models.ExperienceExportType | io.flow.v0.models.HarmonizationOverviewExportType | io.flow.v0.models.HarmonizationHs6ExportType | io.flow.v0.models.HarmonizationHs10ExportType | io.flow.v0.models.HarmonizationTariffCodesExportType | io.flow.v0.models.UnharmonizedItemExportType | io.flow.v0.models.OrderExportType | io.flow.v0.models.PriceBookItemExportType | io.flow.v0.models.SolidusProductExportType | io.flow.v0.models.SolidusVariantExportType | io.flow.v0.models.LocalizedItemPricesExportType | io.flow.v0.models.MarketingFeedsExportType | io.flow.v0.models.ExclusionRulesExportType; type FieldValidationRule = | io.flow.v0.models.FieldValidationRequired | io.flow.v0.models.FieldValidationRequiredIfPresent | io.flow.v0.models.FieldValidationMin | io.flow.v0.models.FieldValidationMax | io.flow.v0.models.FieldValidationPattern; type FraudOrderReference = | io.flow.v0.models.FraudFlowOrderReference | io.flow.v0.models.FraudPaymentRequestReference; type FuelSurchargeRate = | io.flow.v0.models.FuelSurchargePercent | io.flow.v0.models.FuelSurchargeByWeight; type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData; type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm; type GeRestrictionEvent = | io.flow.v0.models.GeProductRestrictionResultUpsert | io.flow.v0.models.GeProductRestrictionResultDelete | io.flow.v0.models.GeCatalogItemIngestionResult; type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration; type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax; type KnowYourBusiness = io.flow.v0.models.KnowYourBusinessUsa; type KnowYourBusinessForm = io.flow.v0.models.KnowYourBusinessUsaForm; type LabelSurchargeDetail = | io.flow.v0.models.LabelSurchargeDetailFlat | io.flow.v0.models.LabelSurchargeDetailPercentage | io.flow.v0.models.LabelSurchargeDetailPerWeightUnit; type LocalizedPrice = | io.flow.v0.models.LocalizedItemPrice | io.flow.v0.models.LocalizedItemVat | io.flow.v0.models.LocalizedItemDuty | io.flow.v0.models.LocalizedTotal; type LogoImage = | io.flow.v0.models.LogoImageSvg | io.flow.v0.models.LogoImageSetStatic; type MerchantApplication = | io.flow.v0.models.ShopifyMerchantApplication | io.flow.v0.models.CommonMerchantApplication; type MerchantApplicationForm = | io.flow.v0.models.ShopifyMerchantApplicationForm | io.flow.v0.models.CommonMerchantApplicationForm; type MerchantApplicationPutForm = | io.flow.v0.models.ShopifyMerchantApplicationPutForm | io.flow.v0.models.CommonMerchantApplicationPutForm; type MerchantApplicationsSummary = | io.flow.v0.models.ShopifyMerchantApplicationsSummary | io.flow.v0.models.CommonMerchantApplicationsSummary; type OnboardingState = | io.flow.v0.models.InComplianceReview | io.flow.v0.models.SetupInProgress | io.flow.v0.models.MerchantRejected | io.flow.v0.models.SetupBlocked | io.flow.v0.models.SetupCompleted | io.flow.v0.models.MerchantActivated | io.flow.v0.models.MerchantDeactivated | io.flow.v0.models.MerchantDisabled; type OnlineAuthorizationDetails = | io.flow.v0.models.CryptopayAuthorizationDetails | io.flow.v0.models.PaypalAuthorizationDetails | io.flow.v0.models.RedirectAuthorizationDetails | io.flow.v0.models.InlineAuthorizationDetails; type OrderInformation = | io.flow.v0.models.OrderInformationFlow | io.flow.v0.models.OrderInformationDetails; type OrderNumberGenerator = | io.flow.v0.models.OrderNumberGeneratorUuid | io.flow.v0.models.OrderNumberGeneratorHexadecimal | io.flow.v0.models.OrderNumberGeneratorPrefixSuffix; type OrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion; type OrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm; type OrderRefundSummaryForm = | io.flow.v0.models.OrderRefundSummaryFullForm | io.flow.v0.models.OrderRefundSummaryPartialForm; type OrderStateRejectionReason = | io.flow.v0.models.OrderStateRejectionReasonRestrictedItem | io.flow.v0.models.OrderStateRejectionReasonDomesticOrder | io.flow.v0.models.OrderStateRejectionReasonItemsEmpty | io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated | io.flow.v0.models.OrderStateRejectionReasonPaymentFraud | io.flow.v0.models.OrderStateRejectionReasonOrderCancelled; type PartnerCenterFee = | io.flow.v0.models.CommercialInvoiceFee | io.flow.v0.models.InboundCartonFee | io.flow.v0.models.OutboundCartonFee; type Payment = | io.flow.v0.models.PaymentPaypal | io.flow.v0.models.PaymentCryptopay; type PaymentCaptureOption = | io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.v0.models.PaymentCaptureOptionManual; type PaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm; type PaymentMethodCard = | io.flow.v0.models.PaymentMethodCardPciDetails | io.flow.v0.models.PaymentMethodCardToken; type PaymentMethodData = | io.flow.v0.models.PaymentMethodDataInitKlarna | io.flow.v0.models.PaymentMethodDataInitAfterpay | io.flow.v0.models.PaymentMethodDataInitApplepay | io.flow.v0.models.PaymentMethodDataInitGooglepay | io.flow.v0.models.PaymentMethodDataInitPaypal | io.flow.v0.models.PaymentMethodDataInitIdeal | io.flow.v0.models.PaymentMethodDataInitSofort | io.flow.v0.models.PaymentMethodDataInitTwint | io.flow.v0.models.PaymentMethodDataInitPrzelewy24 | io.flow.v0.models.PaymentMethodDataInitMobilepay | io.flow.v0.models.PaymentMethodDataInitKcpCreditcard | io.flow.v0.models.PaymentMethodDataInitBancontact | io.flow.v0.models.PaymentMethodDataInitGrabpay | io.flow.v0.models.PaymentMethodDataInitVipps | io.flow.v0.models.PaymentMethodDataValidateApplepay | io.flow.v0.models.PaymentMethodDataAuthorizeCard | io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.v0.models.PaymentMethodDataSelectedPaymentOption | io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard; type PaymentMethodDataAuthorizeApplepayResult = | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure; type PaymentMethodDataAuthorizeKlarnaResult = | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure; type PaymentMethodDataOptionLogo = io.flow.v0.models.PaymentMethodDataOptionLogoSvg; type PaymentMethodStoredDetailsCard = | io.flow.v0.models.PaymentMethodStoredDetailsCardInitial | io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent; type PaymentMethodSummary = | io.flow.v0.models.PaymentMethodSummaryCard | io.flow.v0.models.PaymentMethodSummaryKlarna | io.flow.v0.models.PaymentMethodSummaryAfterpay | io.flow.v0.models.PaymentMethodSummaryApplepay | io.flow.v0.models.PaymentMethodSummaryGooglepay | io.flow.v0.models.PaymentMethodSummaryPaypal | io.flow.v0.models.PaymentMethodSummaryIdeal | io.flow.v0.models.PaymentMethodSummaryTwint | io.flow.v0.models.PaymentMethodSummaryVipps | io.flow.v0.models.PaymentMethodSummaryPrzelewy24 | io.flow.v0.models.PaymentMethodSummaryMobilepay | io.flow.v0.models.PaymentMethodSummaryKcpCreditcard | io.flow.v0.models.PaymentMethodSummarySofort | io.flow.v0.models.PaymentMethodSummaryBancontact | io.flow.v0.models.PaymentMethodSummaryGrabpay; type PaymentMethodTag = | { discriminator: 'organization_payment_method_tag'; value: io.flow.v0.enums.OrganizationPaymentMethodTag; } | { discriminator: 'experience_payment_method_tag'; value: io.flow.v0.enums.ExperiencePaymentMethodTag; }; type PaymentOrderReference = | io.flow.v0.models.AuthorizationOrderReference | io.flow.v0.models.PaymentPaymentRequestReference; type PaymentProcessorTransactionDetails = | io.flow.v0.models.PaymentProcessorTransactionDetailsCard | io.flow.v0.models.PaymentProcessorTransactionDetailsApm; type PaymentRequestCancellationReason = io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing; type PaymentSource = io.flow.v0.models.CardPaymentSource; type PaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm; type PayoutStatus = | io.flow.v0.models.PayoutStatusScheduled | io.flow.v0.models.PayoutStatusSent | io.flow.v0.models.PayoutStatusFailed | io.flow.v0.models.PayoutStatusPaid; type PriceSource = | io.flow.v0.models.PriceSourcePriceBook | io.flow.v0.models.PriceSourceCatalog | io.flow.v0.models.PriceSourceProvided; type Promotion = io.flow.v0.models.FreeShipping | io.flow.v0.models.Discount; type QueryBuilderForm = | io.flow.v0.models.QueryBuilderFilterForm | io.flow.v0.models.QueryBuilderQueryForm; type QueryFilter = | io.flow.v0.models.QueryFilterStructured | io.flow.v0.models.QueryFilterUnstructured; type QueryFilterForm = | io.flow.v0.models.QueryFilterStructuredForm | io.flow.v0.models.QueryFilterUnstructuredForm; type RatecardEstimate = | io.flow.v0.models.RatecardEstimateV1 | io.flow.v0.models.RatecardEstimateV2 | io.flow.v0.models.RatecardEstimateV3 | io.flow.v0.models.RatecardEstimateV4; type RatecardFee = | io.flow.v0.models.DdpRatecardFee | io.flow.v0.models.FuelSurchargeRatecardFee | io.flow.v0.models.OversizePieceSurchargeRatecardFee | io.flow.v0.models.ReturnPackageRatecardFee | io.flow.v0.models.CrossdockRatecardFee | io.flow.v0.models.RemoteAreaRatecardFee | io.flow.v0.models.EmergencySituationSurchargeRatecardFee | io.flow.v0.models.PeakSurchargeRatecardFee | io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee | io.flow.v0.models.SecurityRatecardFee | io.flow.v0.models.EeiFilingRatecardFee | io.flow.v0.models.FixedDdpRatecardFee | io.flow.v0.models.FixedCurrencyConversionRatecardFee; type RepeatSchedule = | io.flow.v0.models.RepeatHourly | io.flow.v0.models.RepeatDaily | io.flow.v0.models.RepeatWeekly | io.flow.v0.models.RepeatMonthly; type ReturnSource = | io.flow.v0.models.ReturnSourceFlow | io.flow.v0.models.ReturnSourceExternalVendor; type SdkAdyenV3AuthenticationToken = | io.flow.v0.models.AdyenV3FingerprintToken | io.flow.v0.models.AdyenV3ChallengeToken; type SellabilityRequest = | io.flow.v0.models.ProductSellabilityForm | io.flow.v0.models.SellabilityScreeningForm; type SellabilityResponse = | io.flow.v0.models.ProductSellability | io.flow.v0.models.SellabilityError | io.flow.v0.models.SellabilityScreening; type ServiceDescription = | io.flow.v0.models.ServiceSummary | io.flow.v0.models.ServiceUnknown; type ServiceFee = | io.flow.v0.models.FuelSurchargeServiceFee | io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee | io.flow.v0.models.RemoteAreaServiceFee | io.flow.v0.models.EmergencySituationSurchargeServiceFee | io.flow.v0.models.PeakSurchargeServiceFee | io.flow.v0.models.PeakSurchargeByWeightServiceFee | io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee | io.flow.v0.models.OversizePieceSurchargeServiceFee | io.flow.v0.models.OverweightPieceSurchargeServiceFee | io.flow.v0.models.RemoteAreaByWeightServiceFee | io.flow.v0.models.AdditionalHandlingServiceFee | io.flow.v0.models.LargePackageServiceFee | io.flow.v0.models.SecurityServiceFee | io.flow.v0.models.FixedDdpServiceFee | io.flow.v0.models.FixedCurrencyConversionServiceFee | io.flow.v0.models.EeiFilingServiceFee; type Session = io.flow.v0.models.OrganizationSession; type SessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization; type Settlement = | io.flow.v0.models.SettlementNoPayout | io.flow.v0.models.SettlementPayout; type ShippingLabelForm = | io.flow.v0.models.DetailedShippingLabelForm | io.flow.v0.models.SummaryShippingLabelForm | io.flow.v0.models.BridgeShippingLabelForm; type ShippingNotificationForm = | io.flow.v0.models.DetailedShippingNotificationForm | io.flow.v0.models.SinglePackageShippingNotificationForm | io.flow.v0.models.SummaryShippingNotificationForm; type ShopifyCartAddForm = | io.flow.v0.models.ShopifyCartAddSingleForm | io.flow.v0.models.ShopifyCartAddMultipleForm; type ShopifyEventBucket = io.flow.v0.models.ShopifyItemEventBucket; type TaxDutyQuoteLevyValue = io.flow.v0.models.TaxDutyQuoteSimpleLevyValue; type ThreedsChallengeAction = io.flow.v0.models.ThreedsTwoChallengeRequest; type ThreedsIdentifyAction = io.flow.v0.models.ThreedsTwoMethod; type TierRuleOutcome = | io.flow.v0.models.AmountMargin | io.flow.v0.models.AtCost | io.flow.v0.models.FlatRate | io.flow.v0.models.PercentMargin; type TierRuleOutcomeForm = | io.flow.v0.models.AmountMarginForm | io.flow.v0.models.FlatRateForm | io.flow.v0.models.AtCost | io.flow.v0.models.PercentMargin; type Token = | io.flow.v0.models.ChannelToken | io.flow.v0.models.OrganizationToken | io.flow.v0.models.OrganizationTokenV2 | io.flow.v0.models.PartnerToken; type TokenReference = | io.flow.v0.models.ChannelTokenReference | io.flow.v0.models.OrganizationTokenReference | io.flow.v0.models.OrganizationTokenV2Reference | io.flow.v0.models.PartnerTokenReference; type TransactionDetails = io.flow.v0.models.TransactionDetailsCard; type TransactionMetadata = | io.flow.v0.models.TransactionMetadataShippingLabel | io.flow.v0.models.TransactionMetadataChannel | io.flow.v0.models.TransactionMetadataTrueup | io.flow.v0.models.TransactionMetadataTrueupBase | io.flow.v0.models.TransactionMetadataTrueupSurcharge | io.flow.v0.models.TransactionMetadataCarrierCharge | io.flow.v0.models.TransactionMetadataManual | io.flow.v0.models.TransactionMetadataFailedPayout | io.flow.v0.models.TransactionMetadataPaymentTransaction | io.flow.v0.models.TransactionMetadataTaxDuty | io.flow.v0.models.TransactionMetadataMerchantFee | io.flow.v0.models.TransactionMetadataFlatRateLabel; type TransferReference = | io.flow.v0.models.CaptureReference | io.flow.v0.models.RefundReference | io.flow.v0.models.DisputeReference; } export type AbandonedOrderEmailSettings = io.flow.v0.models.AbandonedOrderEmailSettings; export type AbandonedOrderPromotion = io.flow.v0.models.AbandonedOrderPromotion; export type AbandonedOrderPromotionDetails = io.flow.v0.unions.AbandonedOrderPromotionDetails; export type AbandonedOrderPromotionDiscountDetails = io.flow.v0.models.AbandonedOrderPromotionDiscountDetails; export type AbandonedOrderPromotionForm = io.flow.v0.models.AbandonedOrderPromotionForm; export type AbandonedOrderPromotionStatus = io.flow.v0.enums.AbandonedOrderPromotionStatus; export type AbandonedOrderSettingStatus = io.flow.v0.enums.AbandonedOrderSettingStatus; export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings; export type AccountIdReference = io.flow.v0.models.AccountIdReference; export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType; export type AccountReference = io.flow.v0.models.AccountReference; export type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType; export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm; export type Action = io.flow.v0.unions.Action; export type ActionDisplayInlineWindow = io.flow.v0.models.ActionDisplayInlineWindow; export type ActionExecuteScript = io.flow.v0.models.ActionExecuteScript; export type ActionRedirect = io.flow.v0.models.ActionRedirect; export type ActionSelectPaymentOption = io.flow.v0.models.ActionSelectPaymentOption; export type ActionUseSdkAdyenV3 = io.flow.v0.models.ActionUseSdkAdyenV3; export type ActionUseSdkAdyenV4 = io.flow.v0.models.ActionUseSdkAdyenV4; export type ActionUseSdkApplepayJsCompleteValidation = io.flow.v0.models.ActionUseSdkApplepayJsCompleteValidation; export type ActionUseSdkApplepayJsCreateSession = io.flow.v0.models.ActionUseSdkApplepayJsCreateSession; export type ActionUseSdkGooglepay = io.flow.v0.models.ActionUseSdkGooglepay; export type ActionUseSdkKlarnaV1 = io.flow.v0.models.ActionUseSdkKlarnaV1; export type ActionUseSdkPaypal = io.flow.v0.models.ActionUseSdkPaypal; export type ActionUseSdkStripeV3 = io.flow.v0.models.ActionUseSdkStripeV3; export type ActionWait = io.flow.v0.models.ActionWait; export type ActivationPutForm = io.flow.v0.models.ActivationPutForm; export type AdditionalHandlingServiceFee = io.flow.v0.models.AdditionalHandlingServiceFee; export type AdditionalServicesRequested = io.flow.v0.models.AdditionalServicesRequested; export type Address = io.flow.v0.models.Address; export type AddressConfiguration = io.flow.v0.models.AddressConfiguration; export type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement; export type AddressConfigurationFormat = io.flow.v0.models.AddressConfigurationFormat; export type AddressConfigurationProvince = io.flow.v0.models.AddressConfigurationProvince; export type AddressConfigurationProvinceTranslation = io.flow.v0.models.AddressConfigurationProvinceTranslation; export type AddressConfigurationProvinceTranslationLocale = io.flow.v0.models.AddressConfigurationProvinceTranslationLocale; export type AddressFieldName = io.flow.v0.enums.AddressFieldName; export type AddressFieldValidation = io.flow.v0.models.AddressFieldValidation; export type AddressSuggestion = io.flow.v0.models.AddressSuggestion; export type AddressVerification = io.flow.v0.models.AddressVerification; export type AddressVerificationResult = io.flow.v0.models.AddressVerificationResult; export type AddressVerificationResultFieldCode = io.flow.v0.enums.AddressVerificationResultFieldCode; export type AdjustmentReason = io.flow.v0.models.AdjustmentReason; export type AdjustmentReasonKey = io.flow.v0.enums.AdjustmentReasonKey; export type AdyenChallengeShopperData = io.flow.v0.models.AdyenChallengeShopperData; export type AdyenIdentifyShopperData = io.flow.v0.models.AdyenIdentifyShopperData; export type AdyenNativeActionDetails = io.flow.v0.models.AdyenNativeActionDetails; export type AdyenNativeData = io.flow.v0.unions.AdyenNativeData; export type AdyenV3ChallengeToken = io.flow.v0.models.AdyenV3ChallengeToken; export type AdyenV3FingerprintToken = io.flow.v0.models.AdyenV3FingerprintToken; export type Allocation = io.flow.v0.models.Allocation; export type AllocationComponent = io.flow.v0.unions.AllocationComponent; export type AllocationDeletedV2 = io.flow.v0.models.AllocationDeletedV2; export type AllocationDetail = io.flow.v0.unions.AllocationDetail; export type AllocationDetailComponent = io.flow.v0.models.AllocationDetailComponent; export type AllocationLevyComponent = io.flow.v0.models.AllocationLevyComponent; export type AllocationLineDetail = io.flow.v0.models.AllocationLineDetail; export type AllocationLineSummary = io.flow.v0.models.AllocationLineSummary; export type AllocationLineSummaryLineItem = io.flow.v0.models.AllocationLineSummaryLineItem; export type AllocationLineSummaryShipping = io.flow.v0.models.AllocationLineSummaryShipping; export type AllocationOrderDetail = io.flow.v0.models.AllocationOrderDetail; export type AllocationOrderSummary = io.flow.v0.models.AllocationOrderSummary; export type AllocationUpsertedV2 = io.flow.v0.models.AllocationUpsertedV2; export type AllocationV2 = io.flow.v0.models.AllocationV2; export type AmountMargin = io.flow.v0.models.AmountMargin; export type AmountMarginForm = io.flow.v0.models.AmountMarginForm; export type AmruthaItemDeleted = io.flow.v0.models.AmruthaItemDeleted; export type AmruthaItemUpserted = io.flow.v0.models.AmruthaItemUpserted; export type AnalyticsExportType = io.flow.v0.models.AnalyticsExportType; export type ApplePayMerchantValidationPayload = io.flow.v0.models.ApplePayMerchantValidationPayload; export type ApplepaySdkCreateResultActionDetails = io.flow.v0.models.ApplepaySdkCreateResultActionDetails; export type ApplepaySdkValidateResultActionDetails = io.flow.v0.models.ApplepaySdkValidateResultActionDetails; export type AtCost = io.flow.v0.models.AtCost; export type Attachment = io.flow.v0.models.Attachment; export type Attribute = io.flow.v0.models.Attribute; export type AttributeDataType = io.flow.v0.enums.AttributeDataType; export type AttributeDeleted = io.flow.v0.models.AttributeDeleted; export type AttributeDeletedV2 = io.flow.v0.models.AttributeDeletedV2; export type AttributeForm = io.flow.v0.models.AttributeForm; export type AttributeIntent = io.flow.v0.enums.AttributeIntent; export type AttributeUpserted = io.flow.v0.models.AttributeUpserted; export type AttributeUpsertedV2 = io.flow.v0.models.AttributeUpsertedV2; export type AttributeVersion = io.flow.v0.models.AttributeVersion; export type AuthenticationForm = io.flow.v0.models.AuthenticationForm; export type AuthenticationTechnique = io.flow.v0.enums.AuthenticationTechnique; export type Authorization = io.flow.v0.unions.Authorization; export type AuthorizationActionResultAdyenV3 = io.flow.v0.models.AuthorizationActionResultAdyenV3; export type AuthorizationActionResultAdyenV4 = io.flow.v0.models.AuthorizationActionResultAdyenV4; export type AuthorizationCode = io.flow.v0.models.AuthorizationCode; export type AuthorizationCopyForm = io.flow.v0.models.AuthorizationCopyForm; export type AuthorizationDeclineCode = io.flow.v0.enums.AuthorizationDeclineCode; export type AuthorizationDeletedV2 = io.flow.v0.models.AuthorizationDeletedV2; export type AuthorizationError = io.flow.v0.models.AuthorizationError; export type AuthorizationForm = io.flow.v0.unions.AuthorizationForm; export type AuthorizationOption = io.flow.v0.enums.AuthorizationOption; export type AuthorizationOrderReference = io.flow.v0.models.AuthorizationOrderReference; export type AuthorizationPayload = io.flow.v0.models.AuthorizationPayload; export type AuthorizationPayloadParameters = io.flow.v0.unions.AuthorizationPayloadParameters; export type AuthorizationReference = io.flow.v0.models.AuthorizationReference; export type AuthorizationResult = io.flow.v0.models.AuthorizationResult; export type AuthorizationResultAction = io.flow.v0.unions.AuthorizationResultAction; export type AuthorizationResultActionDetails = io.flow.v0.unions.AuthorizationResultActionDetails; export type AuthorizationResultActionGet = io.flow.v0.models.AuthorizationResultActionGet; export type AuthorizationResultActionNative = io.flow.v0.models.AuthorizationResultActionNative; export type AuthorizationResultActionPost = io.flow.v0.models.AuthorizationResultActionPost; export type AuthorizationResultActionType = io.flow.v0.enums.AuthorizationResultActionType; export type AuthorizationResultActionWait = io.flow.v0.models.AuthorizationResultActionWait; export type AuthorizationResultDescription = io.flow.v0.models.AuthorizationResultDescription; export type AuthorizationRetry = io.flow.v0.models.AuthorizationRetry; export type AuthorizationRetryDeleted = io.flow.v0.models.AuthorizationRetryDeleted; export type AuthorizationRetryUpserted = io.flow.v0.models.AuthorizationRetryUpserted; export type AuthorizationStatus = io.flow.v0.enums.AuthorizationStatus; export type AuthorizationStatusChanged = io.flow.v0.models.AuthorizationStatusChanged; export type AuthorizationVersion = io.flow.v0.models.AuthorizationVersion; export type AvailabilityStatus = io.flow.v0.enums.AvailabilityStatus; export type AvailableFilter = io.flow.v0.unions.AvailableFilter; export type AvailableFilterFormat = io.flow.v0.enums.AvailableFilterFormat; export type AvailableFilterStructured = io.flow.v0.models.AvailableFilterStructured; export type AvailableFilterUnstructured = io.flow.v0.models.AvailableFilterUnstructured; export type AvailablePromotion = io.flow.v0.models.AvailablePromotion; export type AvailableService = io.flow.v0.models.AvailableService; export type Avs = io.flow.v0.models.Avs; export type AvsCode = io.flow.v0.enums.AvsCode; export type B2BCreditMemo = io.flow.v0.models.B2BCreditMemo; export type B2BCreditMemoDeleted = io.flow.v0.models.B2BCreditMemoDeleted; export type B2BCreditMemoUpserted = io.flow.v0.models.B2BCreditMemoUpserted; export type B2BCreditNote = io.flow.v0.models.B2BCreditNote; export type B2BDebitNote = io.flow.v0.models.B2BDebitNote; export type B2BDebitNoteReference = io.flow.v0.models.B2BDebitNoteReference; export type B2BInvoice = io.flow.v0.models.B2BInvoice; export type B2BInvoiceDeleted = io.flow.v0.models.B2BInvoiceDeleted; export type B2BInvoiceReference = io.flow.v0.models.B2BInvoiceReference; export type B2BInvoiceType = io.flow.v0.enums.B2BInvoiceType; export type B2BInvoiceUpserted = io.flow.v0.models.B2BInvoiceUpserted; export type BankAccountForm = io.flow.v0.unions.BankAccountForm; export type BankAccountFormInfo = io.flow.v0.models.BankAccountFormInfo; export type BankAccountFormSimple = io.flow.v0.models.BankAccountFormSimple; export type BankAccountInfo = io.flow.v0.unions.BankAccountInfo; export type BankAccountInfoCan = io.flow.v0.models.BankAccountInfoCan; export type BankAccountInfoFra = io.flow.v0.models.BankAccountInfoFra; export type BankAccountInfoGbr = io.flow.v0.models.BankAccountInfoGbr; export type BankAccountInfoIta = io.flow.v0.models.BankAccountInfoIta; export type BankAccountInfoKor = io.flow.v0.models.BankAccountInfoKor; export type BankAccountInfoKorV2 = io.flow.v0.models.BankAccountInfoKorV2; export type BankAccountInfoUsa = io.flow.v0.models.BankAccountInfoUsa; export type BankAccountReference = io.flow.v0.models.BankAccountReference; export type BankAccountSummary = io.flow.v0.models.BankAccountSummary; export type BehaviorAudit = io.flow.v0.models.BehaviorAudit; export type BillingAddress = io.flow.v0.models.BillingAddress; export type BillingChannelOrderSummary = io.flow.v0.models.BillingChannelOrderSummary; export type BillingChannelOrganizationSummary = io.flow.v0.models.BillingChannelOrganizationSummary; export type BillingChannelPaymentRequestReference = io.flow.v0.models.BillingChannelPaymentRequestReference; export type BillingChannelStatementReference = io.flow.v0.models.BillingChannelStatementReference; export type BillingDiscount = io.flow.v0.models.BillingDiscount; export type BridgeManifest = io.flow.v0.models.BridgeManifest; export type BridgeManifestForm = io.flow.v0.models.BridgeManifestForm; export type BridgeShippingLabelForm = io.flow.v0.models.BridgeShippingLabelForm; export type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration; export type BrowserInfo = io.flow.v0.models.BrowserInfo; export type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration; export type Calendar = io.flow.v0.enums.Calendar; export type CancelReason = io.flow.v0.enums.CancelReason; export type Capability = io.flow.v0.enums.Capability; export type Capture = io.flow.v0.models.Capture; export type CaptureDeclineCode = io.flow.v0.enums.CaptureDeclineCode; export type CaptureDeleted = io.flow.v0.models.CaptureDeleted; export type CaptureError = io.flow.v0.models.CaptureError; export type CaptureForm = io.flow.v0.models.CaptureForm; export type CaptureIdentifier = io.flow.v0.models.CaptureIdentifier; export type CaptureIdentifierDeleted = io.flow.v0.models.CaptureIdentifierDeleted; export type CaptureIdentifierUpserted = io.flow.v0.models.CaptureIdentifierUpserted; export type CaptureReference = io.flow.v0.models.CaptureReference; export type CaptureStatus = io.flow.v0.enums.CaptureStatus; export type CaptureUpsertedV2 = io.flow.v0.models.CaptureUpsertedV2; export type CaptureVersion = io.flow.v0.models.CaptureVersion; export type Card = io.flow.v0.models.Card; export type CardAuthorization = io.flow.v0.models.CardAuthorization; export type CardAuthorizationActionResult = io.flow.v0.unions.CardAuthorizationActionResult; export type CardAuthorizationDeletedV2 = io.flow.v0.models.CardAuthorizationDeletedV2; export type CardAuthorizationUpsertedV2 = io.flow.v0.models.CardAuthorizationUpsertedV2; export type CardBrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration; export type CardConfirmationSummary = io.flow.v0.models.CardConfirmationSummary; export type CardDeleted = io.flow.v0.models.CardDeleted; export type CardDeletedV2 = io.flow.v0.models.CardDeletedV2; export type CardError = io.flow.v0.models.CardError; export type CardErrorCode = io.flow.v0.enums.CardErrorCode; export type CardForm = io.flow.v0.models.CardForm; export type CardMetadata = io.flow.v0.models.CardMetadata; export type CardNonceForm = io.flow.v0.models.CardNonceForm; export type CardNumber = io.flow.v0.unions.CardNumber; export type CardPaymentSource = io.flow.v0.models.CardPaymentSource; export type CardPaymentSourceAuthorizationForm = io.flow.v0.models.CardPaymentSourceAuthorizationForm; export type CardPaymentSourceForm = io.flow.v0.models.CardPaymentSourceForm; export type CardPaymentSourceSummary = io.flow.v0.models.CardPaymentSourceSummary; export type CardReference = io.flow.v0.models.CardReference; export type CardSummary = io.flow.v0.models.CardSummary; export type CardTokenForm = io.flow.v0.models.CardTokenForm; export type CardType = io.flow.v0.enums.CardType; export type CardUpsertedV2 = io.flow.v0.models.CardUpsertedV2; export type CardVersion = io.flow.v0.models.CardVersion; export type Carrier = io.flow.v0.models.Carrier; export type CarrierChargeReason = io.flow.v0.enums.CarrierChargeReason; export type CarrierReference = io.flow.v0.models.CarrierReference; export type CarrierRestrictions = io.flow.v0.models.CarrierRestrictions; export type CarrierService = io.flow.v0.models.CarrierService; export type CartReference = io.flow.v0.models.CartReference; export type Catalog = io.flow.v0.models.Catalog; export type CatalogDeleted = io.flow.v0.models.CatalogDeleted; export type CatalogItemDocument = io.flow.v0.models.CatalogItemDocument; export type CatalogItemDocumentImages = io.flow.v0.models.CatalogItemDocumentImages; export type CatalogItemExportType = io.flow.v0.models.CatalogItemExportType; export type CatalogItemReference = io.flow.v0.models.CatalogItemReference; export type CatalogItemSummary = io.flow.v0.models.CatalogItemSummary; export type CatalogPriceBookItemDocument = io.flow.v0.models.CatalogPriceBookItemDocument; export type CatalogReference = io.flow.v0.models.CatalogReference; export type CatalogStatistics = io.flow.v0.models.CatalogStatistics; export type CatalogStatisticsDeleted = io.flow.v0.models.CatalogStatisticsDeleted; export type CatalogStatisticsUpserted = io.flow.v0.models.CatalogStatisticsUpserted; export type CatalogUpserted = io.flow.v0.models.CatalogUpserted; export type CatalogVersion = io.flow.v0.models.CatalogVersion; export type CategorySummary = io.flow.v0.models.CategorySummary; export type Center = io.flow.v0.models.Center; export type CenterCapability = io.flow.v0.enums.CenterCapability; export type CenterDeleted = io.flow.v0.models.CenterDeleted; export type CenterForm = io.flow.v0.models.CenterForm; export type CenterReference = io.flow.v0.models.CenterReference; export type CenterSummary = io.flow.v0.models.CenterSummary; export type CenterUpserted = io.flow.v0.models.CenterUpserted; export type CenterVersion = io.flow.v0.models.CenterVersion; export type ChangeType = io.flow.v0.enums.ChangeType; export type Channel = io.flow.v0.models.Channel; export type ChannelAuthorization = io.flow.v0.models.ChannelAuthorization; export type ChannelAuthorizationForm = io.flow.v0.models.ChannelAuthorizationForm; export type ChannelBankAccount = io.flow.v0.models.ChannelBankAccount; export type ChannelCurrency = io.flow.v0.models.ChannelCurrency; export type ChannelCurrencyCapability = io.flow.v0.enums.ChannelCurrencyCapability; export type ChannelCurrencyDeleted = io.flow.v0.models.ChannelCurrencyDeleted; export type ChannelCurrencyPair = io.flow.v0.models.ChannelCurrencyPair; export type ChannelCurrencyRate = io.flow.v0.models.ChannelCurrencyRate; export type ChannelCurrencyUpserted = io.flow.v0.models.ChannelCurrencyUpserted; export type ChannelDefaultBankAccount = io.flow.v0.models.ChannelDefaultBankAccount; export type ChannelDeleted = io.flow.v0.models.ChannelDeleted; export type ChannelOrganization = io.flow.v0.models.ChannelOrganization; export type ChannelOrganizationAuthorization = io.flow.v0.models.ChannelOrganizationAuthorization; export type ChannelOrganizationAuthorizationForm = io.flow.v0.models.ChannelOrganizationAuthorizationForm; export type ChannelOrganizationDeleted = io.flow.v0.models.ChannelOrganizationDeleted; export type ChannelOrganizationForm = io.flow.v0.models.ChannelOrganizationForm; export type ChannelOrganizationPutForm = io.flow.v0.models.ChannelOrganizationPutForm; export type ChannelOrganizationUpserted = io.flow.v0.models.ChannelOrganizationUpserted; export type ChannelPayout = io.flow.v0.models.ChannelPayout; export type ChannelPayoutDeleted = io.flow.v0.models.ChannelPayoutDeleted; export type ChannelPayoutUpserted = io.flow.v0.models.ChannelPayoutUpserted; export type ChannelPendingPayoutTransaction = io.flow.v0.models.ChannelPendingPayoutTransaction; export type ChannelPendingPayoutTransactionDeleted = io.flow.v0.models.ChannelPendingPayoutTransactionDeleted; export type ChannelPendingPayoutTransactionUpserted = io.flow.v0.models.ChannelPendingPayoutTransactionUpserted; export type ChannelRate = io.flow.v0.models.ChannelRate; export type ChannelReference = io.flow.v0.models.ChannelReference; export type ChannelShopifyOrderState = io.flow.v0.models.ChannelShopifyOrderState; export type ChannelShopifyOrderStateDeleted = io.flow.v0.models.ChannelShopifyOrderStateDeleted; export type ChannelShopifyOrderStateReason = io.flow.v0.models.ChannelShopifyOrderStateReason; export type ChannelShopifyOrderStateReasonCode = io.flow.v0.enums.ChannelShopifyOrderStateReasonCode; export type ChannelShopifyOrderStateUpserted = io.flow.v0.models.ChannelShopifyOrderStateUpserted; export type ChannelShopifyOrderSummary = io.flow.v0.models.ChannelShopifyOrderSummary; export type ChannelStatement = io.flow.v0.models.ChannelStatement; export type ChannelStatementDeleted = io.flow.v0.models.ChannelStatementDeleted; export type ChannelStatementUpserted = io.flow.v0.models.ChannelStatementUpserted; export type ChannelToken = io.flow.v0.models.ChannelToken; export type ChannelTokenForm = io.flow.v0.models.ChannelTokenForm; export type ChannelTokenReference = io.flow.v0.models.ChannelTokenReference; export type ChannelTransaction = io.flow.v0.models.ChannelTransaction; export type ChannelTransactionDeleted = io.flow.v0.models.ChannelTransactionDeleted; export type ChannelTransactionDeletedV2 = io.flow.v0.models.ChannelTransactionDeletedV2; export type ChannelTransactionUpserted = io.flow.v0.models.ChannelTransactionUpserted; export type ChannelUpserted = io.flow.v0.models.ChannelUpserted; export type CheckoutAttribute = io.flow.v0.models.CheckoutAttribute; export type CheckoutAttributeForm = io.flow.v0.models.CheckoutAttributeForm; export type CheckoutItemContent = io.flow.v0.models.CheckoutItemContent; export type CheckoutItemContentAttribute = io.flow.v0.models.CheckoutItemContentAttribute; export type CheckoutReference = io.flow.v0.models.CheckoutReference; export type CheckoutToken = io.flow.v0.models.CheckoutToken; export type CheckoutTokenForm = io.flow.v0.unions.CheckoutTokenForm; export type CheckoutTokenOrderForm = io.flow.v0.models.CheckoutTokenOrderForm; export type CheckoutTokenReferenceForm = io.flow.v0.models.CheckoutTokenReferenceForm; export type CheckoutUrls = io.flow.v0.models.CheckoutUrls; export type CheckoutUrlsForm = io.flow.v0.models.CheckoutUrlsForm; export type Cleartext = io.flow.v0.models.Cleartext; export type CommercialInvoiceFee = io.flow.v0.models.CommercialInvoiceFee; export type CommercialInvoiceMode = io.flow.v0.enums.CommercialInvoiceMode; export type CommonMerchantApplication = io.flow.v0.models.CommonMerchantApplication; export type CommonMerchantApplicationForm = io.flow.v0.models.CommonMerchantApplicationForm; export type CommonMerchantApplicationPutForm = io.flow.v0.models.CommonMerchantApplicationPutForm; export type CommonMerchantApplicationsSummary = io.flow.v0.models.CommonMerchantApplicationsSummary; export type Company = io.flow.v0.models.Company; export type ConfirmationDetails = io.flow.v0.unions.ConfirmationDetails; export type ConsumerInvoice = io.flow.v0.models.ConsumerInvoice; export type ConsumerInvoiceCenterReference = io.flow.v0.models.ConsumerInvoiceCenterReference; export type ConsumerInvoiceCustomerType = io.flow.v0.enums.ConsumerInvoiceCustomerType; export type ConsumerInvoiceDeleted = io.flow.v0.models.ConsumerInvoiceDeleted; export type ConsumerInvoiceDocument = io.flow.v0.models.ConsumerInvoiceDocument; export type ConsumerInvoiceDocumentType = io.flow.v0.enums.ConsumerInvoiceDocumentType; export type ConsumerInvoiceForm = io.flow.v0.models.ConsumerInvoiceForm; export type ConsumerInvoiceFormByOrder = io.flow.v0.models.ConsumerInvoiceFormByOrder; export type ConsumerInvoiceLevy = io.flow.v0.models.ConsumerInvoiceLevy; export type ConsumerInvoiceLevyForm = io.flow.v0.models.ConsumerInvoiceLevyForm; export type ConsumerInvoiceLine = io.flow.v0.unions.ConsumerInvoiceLine; export type ConsumerInvoiceLineDiscount = io.flow.v0.models.ConsumerInvoiceLineDiscount; export type ConsumerInvoiceLineDiscountForm = io.flow.v0.models.ConsumerInvoiceLineDiscountForm; export type ConsumerInvoiceLineForm = io.flow.v0.unions.ConsumerInvoiceLineForm; export type ConsumerInvoiceLineItem = io.flow.v0.models.ConsumerInvoiceLineItem; export type ConsumerInvoiceLineItemForm = io.flow.v0.models.ConsumerInvoiceLineItemForm; export type ConsumerInvoiceLineShipping = io.flow.v0.models.ConsumerInvoiceLineShipping; export type ConsumerInvoiceLineShippingForm = io.flow.v0.models.ConsumerInvoiceLineShippingForm; export type ConsumerInvoiceLineShippingPassThrough = io.flow.v0.models.ConsumerInvoiceLineShippingPassThrough; export type ConsumerInvoiceLineTip = io.flow.v0.models.ConsumerInvoiceLineTip; export type ConsumerInvoiceLineTipForm = io.flow.v0.models.ConsumerInvoiceLineTipForm; export type ConsumerInvoiceOrderSummary = io.flow.v0.models.ConsumerInvoiceOrderSummary; export type ConsumerInvoicePayment = io.flow.v0.models.ConsumerInvoicePayment; export type ConsumerInvoiceReference = io.flow.v0.models.ConsumerInvoiceReference; export type ConsumerInvoiceStatus = io.flow.v0.enums.ConsumerInvoiceStatus; export type ConsumerInvoiceUpserted = io.flow.v0.models.ConsumerInvoiceUpserted; export type Contact = io.flow.v0.models.Contact; export type CostEstimateSource = io.flow.v0.enums.CostEstimateSource; export type Country = io.flow.v0.models.Country; export type CountryAvailability = io.flow.v0.models.CountryAvailability; export type CountryDefaults = io.flow.v0.models.CountryDefaults; export type CountryOfOrigin = io.flow.v0.models.CountryOfOrigin; export type CountryOfOriginForm = io.flow.v0.models.CountryOfOriginForm; export type CountryPicker = io.flow.v0.models.CountryPicker; export type CountryPickerForm = io.flow.v0.models.CountryPickerForm; export type CountryPickerSource = io.flow.v0.enums.CountryPickerSource; export type CountryShippingPricing = io.flow.v0.models.CountryShippingPricing; export type CountryStatus = io.flow.v0.models.CountryStatus; export type CountryStatusForm = io.flow.v0.models.CountryStatusForm; export type CpscAttribute = io.flow.v0.enums.CpscAttribute; export type CreditMemo = io.flow.v0.models.CreditMemo; export type CreditMemoDeleted = io.flow.v0.models.CreditMemoDeleted; export type CreditMemoForm = io.flow.v0.models.CreditMemoForm; export type CreditMemoUpserted = io.flow.v0.models.CreditMemoUpserted; export type CreditPayment = io.flow.v0.models.CreditPayment; export type CreditPaymentError = io.flow.v0.models.CreditPaymentError; export type CreditPaymentErrorCode = io.flow.v0.enums.CreditPaymentErrorCode; export type CreditPaymentForm = io.flow.v0.models.CreditPaymentForm; export type CreditPaymentVersion = io.flow.v0.models.CreditPaymentVersion; export type CrossdockRatecardFee = io.flow.v0.models.CrossdockRatecardFee; export type CrossdockShipment = io.flow.v0.models.CrossdockShipment; export type CrossdockShipmentUpserted = io.flow.v0.models.CrossdockShipmentUpserted; export type CryptopayAuthorizationDetails = io.flow.v0.models.CryptopayAuthorizationDetails; export type CsvPriceBookItemExportRowByItemNumber = io.flow.v0.models.CsvPriceBookItemExportRowByItemNumber; export type CsvPriceBookItemExportRowBySku = io.flow.v0.models.CsvPriceBookItemExportRowBySku; export type Currency = io.flow.v0.models.Currency; export type CurrencyFormat = io.flow.v0.models.CurrencyFormat; export type CurrencyLabelFormatter = io.flow.v0.enums.CurrencyLabelFormatter; export type CurrencySymbolFormat = io.flow.v0.enums.CurrencySymbolFormat; export type CurrencySymbols = io.flow.v0.models.CurrencySymbols; export type Customer = io.flow.v0.models.Customer; export type CustomerAddressBook = io.flow.v0.models.CustomerAddressBook; export type CustomerAddressBookContact = io.flow.v0.models.CustomerAddressBookContact; export type CustomerAddressBookContactForm = io.flow.v0.models.CustomerAddressBookContactForm; export type CustomerAddressBookForm = io.flow.v0.models.CustomerAddressBookForm; export type CustomerAddressPreference = io.flow.v0.models.CustomerAddressPreference; export type CustomerAddressType = io.flow.v0.enums.CustomerAddressType; export type CustomerBundle = io.flow.v0.models.CustomerBundle; export type CustomerClientToken = io.flow.v0.models.CustomerClientToken; export type CustomerForm = io.flow.v0.models.CustomerForm; export type CustomerInvoice = io.flow.v0.models.CustomerInvoice; export type CustomerLastUsed = io.flow.v0.models.CustomerLastUsed; export type CustomerOrder = io.flow.v0.models.CustomerOrder; export type CustomerPayment = io.flow.v0.models.CustomerPayment; export type CustomerPurgeSettings = io.flow.v0.models.CustomerPurgeSettings; export type CustomerPurgeSettingsForm = io.flow.v0.models.CustomerPurgeSettingsForm; export type CustomerPutForm = io.flow.v0.models.CustomerPutForm; export type CustomerReference = io.flow.v0.models.CustomerReference; export type CustomerToken = io.flow.v0.models.CustomerToken; export type Cvv = io.flow.v0.models.Cvv; export type CvvCode = io.flow.v0.enums.CvvCode; export type CvvResult = io.flow.v0.models.CvvResult; export type CvvResultCode = io.flow.v0.enums.CvvResultCode; export type DatetimeRange = io.flow.v0.models.DatetimeRange; export type DatetimeWithTimezone = io.flow.v0.models.DatetimeWithTimezone; export type DayOfWeek = io.flow.v0.enums.DayOfWeek; export type DdpRatecardFee = io.flow.v0.models.DdpRatecardFee; export type DeactivationPutForm = io.flow.v0.models.DeactivationPutForm; export type DeadWeight = io.flow.v0.models.DeadWeight; export type DefaultBankAccountForm = io.flow.v0.models.DefaultBankAccountForm; export type DeliveredDuty = io.flow.v0.enums.DeliveredDuty; export type DeliveredDutyDisplayType = io.flow.v0.enums.DeliveredDutyDisplayType; export type DeliveredDutySetting = io.flow.v0.models.DeliveredDutySetting; export type Delivery = io.flow.v0.unions.Delivery; export type DeliveryItem = io.flow.v0.models.DeliveryItem; export type DeliveryOption = io.flow.v0.models.DeliveryOption; export type DeliveryOptionCostComponent = io.flow.v0.models.DeliveryOptionCostComponent; export type DeliveryOptionCostDetail = io.flow.v0.models.DeliveryOptionCostDetail; export type DeliveryOptionCostDetailComponentKey = io.flow.v0.enums.DeliveryOptionCostDetailComponentKey; export type DeliveryOptionCostDetailSource = io.flow.v0.enums.DeliveryOptionCostDetailSource; export type DeliveryOptionForm = io.flow.v0.models.DeliveryOptionForm; export type DeliveryOptionReference = io.flow.v0.models.DeliveryOptionReference; export type DeliveryOptionSummary = io.flow.v0.models.DeliveryOptionSummary; export type DeliveryOptionVersion = io.flow.v0.models.DeliveryOptionVersion; export type DeliverySummary = io.flow.v0.models.DeliverySummary; export type DeliveryVersion = io.flow.v0.models.DeliveryVersion; export type DeliveryWindow = io.flow.v0.models.DeliveryWindow; export type DeliveryWindowComponent = io.flow.v0.models.DeliveryWindowComponent; export type DeliveryWindowComponentSource = io.flow.v0.enums.DeliveryWindowComponentSource; export type DeliveryWindowComponents = io.flow.v0.models.DeliveryWindowComponents; export type DeliveryWindowComponentsV2 = io.flow.v0.models.DeliveryWindowComponentsV2; export type DeliveryWindowLocation = io.flow.v0.enums.DeliveryWindowLocation; export type DeliveryWindowSummary = io.flow.v0.models.DeliveryWindowSummary; export type Deminimis = io.flow.v0.unions.Deminimis; export type DeminimisPerItem = io.flow.v0.models.DeminimisPerItem; export type DeminimisSimple = io.flow.v0.models.DeminimisSimple; export type DestinationContactDetail = io.flow.v0.models.DestinationContactDetail; export type DetailedShippingLabelForm = io.flow.v0.models.DetailedShippingLabelForm; export type DetailedShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm; export type DeviceDetails = io.flow.v0.unions.DeviceDetails; export type DeviceDetailsBrowser = io.flow.v0.models.DeviceDetailsBrowser; export type DeviceFingerprintDetails = io.flow.v0.unions.DeviceFingerprintDetails; export type DeviceFingerprintDetailsBrowser = io.flow.v0.models.DeviceFingerprintDetailsBrowser; export type DigitalDelivery = io.flow.v0.models.DigitalDelivery; export type Dimension = io.flow.v0.models.Dimension; export type DimensionEstimate = io.flow.v0.models.DimensionEstimate; export type DimensionEstimateForm = io.flow.v0.models.DimensionEstimateForm; export type DimensionEstimateVersion = io.flow.v0.models.DimensionEstimateVersion; export type DimensionalWeight = io.flow.v0.models.DimensionalWeight; export type Dimensions = io.flow.v0.models.Dimensions; export type DirectAuthorizationForm = io.flow.v0.models.DirectAuthorizationForm; export type DirectDebit = io.flow.v0.models.DirectDebit; export type Direction = io.flow.v0.enums.Direction; export type Discount = io.flow.v0.models.Discount; export type DiscountForm = io.flow.v0.models.DiscountForm; export type DiscountOffer = io.flow.v0.unions.DiscountOffer; export type DiscountOfferFixed = io.flow.v0.models.DiscountOfferFixed; export type DiscountOfferPercent = io.flow.v0.models.DiscountOfferPercent; export type DiscountRule = io.flow.v0.models.DiscountRule; export type DiscountRuleEntitlement = io.flow.v0.unions.DiscountRuleEntitlement; export type DiscountRuleOffer = io.flow.v0.models.DiscountRuleOffer; export type DiscountRuleSettings = io.flow.v0.models.DiscountRuleSettings; export type DiscountRuleSettingsForm = io.flow.v0.models.DiscountRuleSettingsForm; export type DiscountRuleStatus = io.flow.v0.enums.DiscountRuleStatus; export type DiscountRuleSubsidyEntitlement = io.flow.v0.models.DiscountRuleSubsidyEntitlement; export type DiscountRuleSubsidyTarget = io.flow.v0.enums.DiscountRuleSubsidyTarget; export type DiscountTarget = io.flow.v0.enums.DiscountTarget; export type DiscountsForm = io.flow.v0.models.DiscountsForm; export type DisputeReference = io.flow.v0.models.DisputeReference; export type Document = io.flow.v0.unions.Document; export type Duration = io.flow.v0.models.Duration; export type DutiesTaxesPaidSurchargeRatecardFee = io.flow.v0.models.DutiesTaxesPaidSurchargeRatecardFee; export type DutiesTaxesPaidSurchargeServiceFee = io.flow.v0.models.DutiesTaxesPaidSurchargeServiceFee; export type Duty = io.flow.v0.models.Duty; export type DutyItem = io.flow.v0.models.DutyItem; export type DutyItemApproval = io.flow.v0.models.DutyItemApproval; export type DutyItemApprovalForm = io.flow.v0.models.DutyItemApprovalForm; export type DutyItemApprovalStatus = io.flow.v0.enums.DutyItemApprovalStatus; export type DutyItemForm = io.flow.v0.models.DutyItemForm; export type DutyItemProducer = io.flow.v0.models.DutyItemProducer; export type EcommercePlatform = io.flow.v0.models.EcommercePlatform; export type EcommercePlatformDeleted = io.flow.v0.models.EcommercePlatformDeleted; export type EcommercePlatformForm = io.flow.v0.models.EcommercePlatformForm; export type EcommercePlatformType = io.flow.v0.enums.EcommercePlatformType; export type EcommercePlatformUpserted = io.flow.v0.models.EcommercePlatformUpserted; export type EconomicTitleLocation = io.flow.v0.enums.EconomicTitleLocation; export type EditSummary = io.flow.v0.models.EditSummary; export type EeiFilingRatecardFee = io.flow.v0.models.EeiFilingRatecardFee; export type EeiFilingServiceFee = io.flow.v0.models.EeiFilingServiceFee; export type EmailAbandonedOrderPromotion = io.flow.v0.models.EmailAbandonedOrderPromotion; export type EmailAbandonedOrderUrls = io.flow.v0.models.EmailAbandonedOrderUrls; export type EmailNotification = io.flow.v0.models.EmailNotification; export type EmailNotificationAbandonedOrder = io.flow.v0.models.EmailNotificationAbandonedOrder; export type EmailNotificationData = io.flow.v0.unions.EmailNotificationData; export type EmailNotificationDataRefund = io.flow.v0.models.EmailNotificationDataRefund; export type EmailNotificationForm = io.flow.v0.models.EmailNotificationForm; export type EmailPaymentSummary = io.flow.v0.models.EmailPaymentSummary; export type EmailRecipient = io.flow.v0.models.EmailRecipient; export type EmailVerification = io.flow.v0.models.EmailVerification; export type EmergencySituationSurchargeRatecardFee = io.flow.v0.models.EmergencySituationSurchargeRatecardFee; export type EmergencySituationSurchargeServiceFee = io.flow.v0.models.EmergencySituationSurchargeServiceFee; export type Entity = io.flow.v0.unions.Entity; export type EntityIdentifier = io.flow.v0.models.EntityIdentifier; export type EntityIdentifierType = io.flow.v0.enums.EntityIdentifierType; export type Environment = io.flow.v0.enums.Environment; export type EstimatedDimensions = io.flow.v0.models.EstimatedDimensions; export type EstimatedWindow = io.flow.v0.models.EstimatedWindow; export type Event = io.flow.v0.unions.Event; export type EventType = io.flow.v0.enums.EventType; export type Exception = io.flow.v0.models.Exception; export type ExceptionType = io.flow.v0.enums.ExceptionType; export type ExchangedMoney = io.flow.v0.models.ExchangedMoney; export type ExclusionRule = io.flow.v0.models.ExclusionRule; export type ExclusionRuleForm = io.flow.v0.models.ExclusionRuleForm; export type ExclusionRuleState = io.flow.v0.enums.ExclusionRuleState; export type ExclusionRuleStatistic = io.flow.v0.models.ExclusionRuleStatistic; export type ExclusionRuleVersion = io.flow.v0.models.ExclusionRuleVersion; export type ExclusionRulesExportType = io.flow.v0.models.ExclusionRulesExportType; export type ExpandableCard = io.flow.v0.unions.ExpandableCard; export type ExpandableCenter = io.flow.v0.unions.ExpandableCenter; export type ExpandableExperience = io.flow.v0.unions.ExpandableExperience; export type ExpandableOrder = io.flow.v0.unions.ExpandableOrder; export type ExpandableOrganization = io.flow.v0.unions.ExpandableOrganization; export type ExpandablePaymentProcessor = io.flow.v0.unions.ExpandablePaymentProcessor; export type ExpandableSubcatalog = io.flow.v0.unions.ExpandableSubcatalog; export type ExpandableUser = io.flow.v0.unions.ExpandableUser; export type Experience = io.flow.v0.models.Experience; export type ExperienceCheckoutConfigurationSettings = io.flow.v0.models.ExperienceCheckoutConfigurationSettings; export type ExperienceCheckoutSettings = io.flow.v0.models.ExperienceCheckoutSettings; export type ExperienceCheckoutSettingsForm = io.flow.v0.models.ExperienceCheckoutSettingsForm; export type ExperienceClone = io.flow.v0.models.ExperienceClone; export type ExperienceCloneForm = io.flow.v0.models.ExperienceCloneForm; export type ExperienceCloneStatus = io.flow.v0.enums.ExperienceCloneStatus; export type ExperienceConfigurationReference = io.flow.v0.models.ExperienceConfigurationReference; export type ExperienceCountryStatus = io.flow.v0.enums.ExperienceCountryStatus; export type ExperienceCurrencyFormat = io.flow.v0.models.ExperienceCurrencyFormat; export type ExperienceCurrencyFormatForm = io.flow.v0.models.ExperienceCurrencyFormatForm; export type ExperienceDefaults = io.flow.v0.models.ExperienceDefaults; export type ExperienceExportType = io.flow.v0.models.ExperienceExportType; export type ExperienceForm = io.flow.v0.models.ExperienceForm; export type ExperienceGeo = io.flow.v0.models.ExperienceGeo; export type ExperienceLogisticsSettings = io.flow.v0.models.ExperienceLogisticsSettings; export type ExperienceLogisticsSettingsPutForm = io.flow.v0.models.ExperienceLogisticsSettingsPutForm; export type ExperienceLogisticsSummary = io.flow.v0.models.ExperienceLogisticsSummary; export type ExperienceLogisticsTierSummary = io.flow.v0.models.ExperienceLogisticsTierSummary; export type ExperienceLogisticsTierSummaryPrices = io.flow.v0.models.ExperienceLogisticsTierSummaryPrices; export type ExperienceOverview = io.flow.v0.models.ExperienceOverview; export type ExperiencePaymentMethodRule = io.flow.v0.models.ExperiencePaymentMethodRule; export type ExperiencePaymentMethodRuleForm = io.flow.v0.models.ExperiencePaymentMethodRuleForm; export type ExperiencePaymentMethodTag = io.flow.v0.enums.ExperiencePaymentMethodTag; export type ExperiencePriceBookMapping = io.flow.v0.models.ExperiencePriceBookMapping; export type ExperiencePriceBookMappingForm = io.flow.v0.models.ExperiencePriceBookMappingForm; export type ExperiencePriceBookMappingPutForm = io.flow.v0.models.ExperiencePriceBookMappingPutForm; export type ExperiencePriceConversion = io.flow.v0.models.ExperiencePriceConversion; export type ExperiencePriceConversionRequest = io.flow.v0.models.ExperiencePriceConversionRequest; export type ExperiencePriceConversionResponse = io.flow.v0.models.ExperiencePriceConversionResponse; export type ExperiencePriceFacetConversion = io.flow.v0.models.ExperiencePriceFacetConversion; export type ExperiencePriceFacetConversionRequest = io.flow.v0.models.ExperiencePriceFacetConversionRequest; export type ExperiencePriceFacetConversionResponse = io.flow.v0.models.ExperiencePriceFacetConversionResponse; export type ExperienceReference = io.flow.v0.models.ExperienceReference; export type ExperienceSettings = io.flow.v0.models.ExperienceSettings; export type ExperienceStatus = io.flow.v0.enums.ExperienceStatus; export type ExperienceStatusForm = io.flow.v0.models.ExperienceStatusForm; export type ExperienceSummary = io.flow.v0.models.ExperienceSummary; export type ExperienceVersion = io.flow.v0.models.ExperienceVersion; export type Expiration = io.flow.v0.models.Expiration; export type Export = io.flow.v0.models.Export; export type ExportDelivery = io.flow.v0.unions.ExportDelivery; export type ExportDeliveryEmail = io.flow.v0.models.ExportDeliveryEmail; export type ExportForm = io.flow.v0.models.ExportForm; export type ExportLocalizedItemPrices = io.flow.v0.models.ExportLocalizedItemPrices; export type ExportLocalizedItemPricesDetail = io.flow.v0.models.ExportLocalizedItemPricesDetail; export type ExportStatus = io.flow.v0.enums.ExportStatus; export type ExportType = io.flow.v0.unions.ExportType; export type ExportVersion = io.flow.v0.models.ExportVersion; export type ExporterOfRecord = io.flow.v0.enums.ExporterOfRecord; export type ExternalCard = io.flow.v0.models.ExternalCard; export type FeeDeduction = io.flow.v0.models.FeeDeduction; export type FeeDeductionType = io.flow.v0.enums.FeeDeductionType; export type FeeInvoice = io.flow.v0.models.FeeInvoice; export type FeeInvoiceDeleted = io.flow.v0.models.FeeInvoiceDeleted; export type FeeInvoiceType = io.flow.v0.enums.FeeInvoiceType; export type FeeInvoiceUpserted = io.flow.v0.models.FeeInvoiceUpserted; export type FeeWeight = io.flow.v0.models.FeeWeight; export type FieldValidationMax = io.flow.v0.models.FieldValidationMax; export type FieldValidationMin = io.flow.v0.models.FieldValidationMin; export type FieldValidationPattern = io.flow.v0.models.FieldValidationPattern; export type FieldValidationRequired = io.flow.v0.models.FieldValidationRequired; export type FieldValidationRequiredIfPresent = io.flow.v0.models.FieldValidationRequiredIfPresent; export type FieldValidationRule = io.flow.v0.unions.FieldValidationRule; export type FixedCurrencyConversionRatecardFee = io.flow.v0.models.FixedCurrencyConversionRatecardFee; export type FixedCurrencyConversionServiceFee = io.flow.v0.models.FixedCurrencyConversionServiceFee; export type FixedDdpRatecardFee = io.flow.v0.models.FixedDdpRatecardFee; export type FixedDdpServiceFee = io.flow.v0.models.FixedDdpServiceFee; export type FixedFeeCondition = io.flow.v0.models.FixedFeeCondition; export type FlatRate = io.flow.v0.models.FlatRate; export type FlatRateForm = io.flow.v0.models.FlatRateForm; export type FlowBehavior = io.flow.v0.enums.FlowBehavior; export type FlowCenterReference = io.flow.v0.models.FlowCenterReference; export type FlowEntity = io.flow.v0.enums.FlowEntity; export type FlowItemIndexMetadata = io.flow.v0.models.FlowItemIndexMetadata; export type FlowRole = io.flow.v0.enums.FlowRole; export type FlowTransaction = io.flow.v0.models.FlowTransaction; export type FraudEmailRule = io.flow.v0.models.FraudEmailRule; export type FraudEmailRuleDecision = io.flow.v0.enums.FraudEmailRuleDecision; export type FraudEmailRuleForm = io.flow.v0.models.FraudEmailRuleForm; export type FraudFlowOrderReference = io.flow.v0.models.FraudFlowOrderReference; export type FraudLiability = io.flow.v0.enums.FraudLiability; export type FraudOrderReference = io.flow.v0.unions.FraudOrderReference; export type FraudPaymentRequestReference = io.flow.v0.models.FraudPaymentRequestReference; export type FraudStatus = io.flow.v0.enums.FraudStatus; export type FraudStatusChanged = io.flow.v0.models.FraudStatusChanged; export type FreeShipping = io.flow.v0.models.FreeShipping; export type FreeShippingOrderPromotion = io.flow.v0.models.FreeShippingOrderPromotion; export type FreeShippingOrderPromotionForm = io.flow.v0.models.FreeShippingOrderPromotionForm; export type FtpAccount = io.flow.v0.models.FtpAccount; export type FtpFile = io.flow.v0.models.FtpFile; export type FtpFileForm = io.flow.v0.models.FtpFileForm; export type FtpFileSource = io.flow.v0.enums.FtpFileSource; export type FtpFolder = io.flow.v0.models.FtpFolder; export type FtpFolderForm = io.flow.v0.models.FtpFolderForm; export type FtpOrganizationSettings = io.flow.v0.models.FtpOrganizationSettings; export type FtpOrganizationSettingsForm = io.flow.v0.models.FtpOrganizationSettingsForm; export type FtpServer = io.flow.v0.models.FtpServer; export type FtpUser = io.flow.v0.models.FtpUser; export type FuelSurchargeAmountByWeightServiceFee = io.flow.v0.models.FuelSurchargeAmountByWeightServiceFee; export type FuelSurchargeByWeight = io.flow.v0.models.FuelSurchargeByWeight; export type FuelSurchargePercent = io.flow.v0.models.FuelSurchargePercent; export type FuelSurchargeRate = io.flow.v0.unions.FuelSurchargeRate; export type FuelSurchargeRatecardFee = io.flow.v0.models.FuelSurchargeRatecardFee; export type FuelSurchargeServiceFee = io.flow.v0.models.FuelSurchargeServiceFee; export type Fulfillment = io.flow.v0.models.Fulfillment; export type FulfillmentCancellationForm = io.flow.v0.models.FulfillmentCancellationForm; export type FulfillmentCompleteCancellationForm = io.flow.v0.models.FulfillmentCompleteCancellationForm; export type FulfillmentExperienceReference = io.flow.v0.models.FulfillmentExperienceReference; export type FulfillmentItem = io.flow.v0.models.FulfillmentItem; export type FulfillmentItemAllocationDetails = io.flow.v0.models.FulfillmentItemAllocationDetails; export type FulfillmentItemQuantity = io.flow.v0.models.FulfillmentItemQuantity; export type FulfillmentItemQuantityStatus = io.flow.v0.enums.FulfillmentItemQuantityStatus; export type FulfillmentLineCancelForm = io.flow.v0.models.FulfillmentLineCancelForm; export type FulfillmentMethodType = io.flow.v0.enums.FulfillmentMethodType; export type FulfillmentMethodValue = io.flow.v0.enums.FulfillmentMethodValue; export type FulfillmentNotification = io.flow.v0.models.FulfillmentNotification; export type FulfillmentNotificationForm = io.flow.v0.models.FulfillmentNotificationForm; export type FulfillmentRouting = io.flow.v0.enums.FulfillmentRouting; export type FullyHarmonizedItemUpserted = io.flow.v0.models.FullyHarmonizedItemUpserted; export type GatewayAuthenticationData = io.flow.v0.unions.GatewayAuthenticationData; export type GatewayAuthenticationDataForm = io.flow.v0.unions.GatewayAuthenticationDataForm; export type GeCatalogItemIngestionResponse = io.flow.v0.enums.GeCatalogItemIngestionResponse; export type GeCatalogItemIngestionResult = io.flow.v0.models.GeCatalogItemIngestionResult; export type GeCatalogItemInput = io.flow.v0.models.GeCatalogItemInput; export type GeEventType = io.flow.v0.enums.GeEventType; export type GeInputAttributes = io.flow.v0.models.GeInputAttributes; export type GeInputPrice = io.flow.v0.models.GeInputPrice; export type GeItemDeleted = io.flow.v0.models.GeItemDeleted; export type GeItemInserted = io.flow.v0.models.GeItemInserted; export type GeItemUpdated = io.flow.v0.models.GeItemUpdated; export type GeProductRestrictionResultDelete = io.flow.v0.models.GeProductRestrictionResultDelete; export type GeProductRestrictionResultUpsert = io.flow.v0.models.GeProductRestrictionResultUpsert; export type GeRestrictionEvent = io.flow.v0.unions.GeRestrictionEvent; export type GenerateLoad = io.flow.v0.models.GenerateLoad; export type GenericError = io.flow.v0.models.GenericError; export type GenericErrorCode = io.flow.v0.enums.GenericErrorCode; export type GeoForm = io.flow.v0.models.GeoForm; export type GoodsSupply = io.flow.v0.enums.GoodsSupply; export type GooglePayAuthorizationPayload = io.flow.v0.models.GooglePayAuthorizationPayload; export type GraphqlRequest = io.flow.v0.models.GraphqlRequest; export type GraphqlResponse = io.flow.v0.models.GraphqlResponse; export type HarmonizationDocument = io.flow.v0.models.HarmonizationDocument; export type HarmonizationHs10ExportType = io.flow.v0.models.HarmonizationHs10ExportType; export type HarmonizationHs6ExportType = io.flow.v0.models.HarmonizationHs6ExportType; export type HarmonizationOverviewExportType = io.flow.v0.models.HarmonizationOverviewExportType; export type HarmonizationTariffCode = io.flow.v0.models.HarmonizationTariffCode; export type HarmonizationTariffCodesExportType = io.flow.v0.models.HarmonizationTariffCodesExportType; export type HarmonizedCategoryReference = io.flow.v0.models.HarmonizedCategoryReference; export type HarmonizedItem = io.flow.v0.models.HarmonizedItem; export type HarmonizedItemForm = io.flow.v0.models.HarmonizedItemForm; export type HarmonizedItemPutForm = io.flow.v0.models.HarmonizedItemPutForm; export type HarmonizedItemReference = io.flow.v0.models.HarmonizedItemReference; export type HarmonizedLandedCost = io.flow.v0.models.HarmonizedLandedCost; export type HarmonizedLandedCostForm = io.flow.v0.models.HarmonizedLandedCostForm; export type HarmonizedLandedCostItem = io.flow.v0.models.HarmonizedLandedCostItem; export type HarmonizedLandedCostUpserted = io.flow.v0.models.HarmonizedLandedCostUpserted; export type Header = io.flow.v0.models.Header; export type Healthcheck = io.flow.v0.models.Healthcheck; export type HolidayCalendar = io.flow.v0.enums.HolidayCalendar; export type Hop = io.flow.v0.models.Hop; export type HopEstimate = io.flow.v0.models.HopEstimate; export type HopEstimateV2 = io.flow.v0.models.HopEstimateV2; export type HopV2 = io.flow.v0.models.HopV2; export type Hs10 = io.flow.v0.models.Hs10; export type Hs10CodeDeleted = io.flow.v0.models.Hs10CodeDeleted; export type Hs10CodeUpserted = io.flow.v0.models.Hs10CodeUpserted; export type Hs10Version = io.flow.v0.models.Hs10Version; export type Hs6 = io.flow.v0.models.Hs6; export type Hs6CodeDeleted = io.flow.v0.models.Hs6CodeDeleted; export type Hs6CodeUpserted = io.flow.v0.models.Hs6CodeUpserted; export type IdentifierForm = io.flow.v0.models.IdentifierForm; export type Image = io.flow.v0.models.Image; export type ImageForm = io.flow.v0.models.ImageForm; export type ImageTag = io.flow.v0.enums.ImageTag; export type Import = io.flow.v0.models.Import; export type ImportForm = io.flow.v0.models.ImportForm; export type ImportResults = io.flow.v0.models.ImportResults; export type ImportTemplate = io.flow.v0.models.ImportTemplate; export type ImportTemplateExample = io.flow.v0.models.ImportTemplateExample; export type ImportTemplateForm = io.flow.v0.models.ImportTemplateForm; export type ImportType = io.flow.v0.enums.ImportType; export type ImportVersion = io.flow.v0.models.ImportVersion; export type InComplianceReview = io.flow.v0.models.InComplianceReview; export type InboundCartonFee = io.flow.v0.models.InboundCartonFee; export type IncludedLevies = io.flow.v0.models.IncludedLevies; export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey; export type Incoterm = io.flow.v0.enums.Incoterm; export type IncotermConfiguration = io.flow.v0.enums.IncotermConfiguration; export type IncotermIncludes = io.flow.v0.models.IncotermIncludes; export type IncotermSummary = io.flow.v0.models.IncotermSummary; export type IndirectTax = io.flow.v0.models.IndirectTax; export type Individual = io.flow.v0.models.Individual; export type InlineActionConfiguration = io.flow.v0.unions.InlineActionConfiguration; export type InlineAuthorizationDetails = io.flow.v0.models.InlineAuthorizationDetails; export type InlineAuthorizationForm = io.flow.v0.models.InlineAuthorizationForm; export type InlineWindowViewportSize = io.flow.v0.enums.InlineWindowViewportSize; export type InputForm = io.flow.v0.models.InputForm; export type InputFormSpecification = io.flow.v0.models.InputFormSpecification; export type InputSpecification = io.flow.v0.models.InputSpecification; export type InputSpecificationLimitation = io.flow.v0.unions.InputSpecificationLimitation; export type InputSpecificationLimitationMax = io.flow.v0.models.InputSpecificationLimitationMax; export type InputSpecificationLimitations = io.flow.v0.models.InputSpecificationLimitations; export type InputSpecificationType = io.flow.v0.enums.InputSpecificationType; export type Invitation = io.flow.v0.models.Invitation; export type InvitationError = io.flow.v0.models.InvitationError; export type InvitationErrorCode = io.flow.v0.enums.InvitationErrorCode; export type InvitationForm = io.flow.v0.models.InvitationForm; export type InvitationVersion = io.flow.v0.models.InvitationVersion; export type InvoiceExport = io.flow.v0.models.InvoiceExport; export type InvoiceExportForm = io.flow.v0.models.InvoiceExportForm; export type InvoiceTaxLine = io.flow.v0.models.InvoiceTaxLine; export type IssuerReference = io.flow.v0.models.IssuerReference; export type IssuerSummary = io.flow.v0.models.IssuerSummary; export type IssuerV1 = io.flow.v0.models.IssuerV1; export type Item = io.flow.v0.models.Item; export type ItemAttributesPatchForm = io.flow.v0.models.ItemAttributesPatchForm; export type ItemAvailabilityStatus = io.flow.v0.enums.ItemAvailabilityStatus; export type ItemDeleted = io.flow.v0.models.ItemDeleted; export type ItemForm = io.flow.v0.models.ItemForm; export type ItemFormOverlay = io.flow.v0.models.ItemFormOverlay; export type ItemFormOverlayForm = io.flow.v0.models.ItemFormOverlayForm; export type ItemIdentifier = io.flow.v0.enums.ItemIdentifier; export type ItemInserted = io.flow.v0.models.ItemInserted; export type ItemMargin = io.flow.v0.models.ItemMargin; export type ItemMarginPostForm = io.flow.v0.models.ItemMarginPostForm; export type ItemMarginPutForm = io.flow.v0.models.ItemMarginPutForm; export type ItemMarginVersion = io.flow.v0.models.ItemMarginVersion; export type ItemOriginDeleted = io.flow.v0.models.ItemOriginDeleted; export type ItemOriginUpserted = io.flow.v0.models.ItemOriginUpserted; export type ItemPriceUpdateForm = io.flow.v0.models.ItemPriceUpdateForm; export type ItemPriceUpdatePutForm = io.flow.v0.models.ItemPriceUpdatePutForm; export type ItemQuerySuggestion = io.flow.v0.models.ItemQuerySuggestion; export type ItemReference = io.flow.v0.models.ItemReference; export type ItemShippingPricing = io.flow.v0.models.ItemShippingPricing; export type ItemStatistics = io.flow.v0.models.ItemStatistics; export type ItemUpdated = io.flow.v0.models.ItemUpdated; export type ItemVersion = io.flow.v0.models.ItemVersion; export type JsonpResponse = io.flow.v0.models.JsonpResponse; export type KlarnaPaymentCategory = io.flow.v0.models.KlarnaPaymentCategory; export type KlarnaPaymentMethodCategory = io.flow.v0.models.KlarnaPaymentMethodCategory; export type KlarnaSdkAuthorizationResultActionDetails = io.flow.v0.models.KlarnaSdkAuthorizationResultActionDetails; export type KlaviyoLineItem = io.flow.v0.models.KlaviyoLineItem; export type KlaviyoOrderContent = io.flow.v0.models.KlaviyoOrderContent; export type KlaviyoOrderPrices = io.flow.v0.models.KlaviyoOrderPrices; export type KnowYourBusiness = io.flow.v0.unions.KnowYourBusiness; export type KnowYourBusinessForm = io.flow.v0.unions.KnowYourBusinessForm; export type KnowYourBusinessUsa = io.flow.v0.models.KnowYourBusinessUsa; export type KnowYourBusinessUsaForm = io.flow.v0.models.KnowYourBusinessUsaForm; export type KubeHealthcheck = io.flow.v0.models.KubeHealthcheck; export type LabelBase = io.flow.v0.models.LabelBase; export type LabelDeletedV2 = io.flow.v0.models.LabelDeletedV2; export type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary; export type LabelProcessingModification = io.flow.v0.models.LabelProcessingModification; export type LabelProcessingModificationDeleted = io.flow.v0.models.LabelProcessingModificationDeleted; export type LabelProcessingModificationUpserted = io.flow.v0.models.LabelProcessingModificationUpserted; export type LabelReference = io.flow.v0.models.LabelReference; export type LabelRequestMethod = io.flow.v0.enums.LabelRequestMethod; export type LabelSurcharge = io.flow.v0.models.LabelSurcharge; export type LabelSurchargeDetail = io.flow.v0.unions.LabelSurchargeDetail; export type LabelSurchargeDetailFlat = io.flow.v0.models.LabelSurchargeDetailFlat; export type LabelSurchargeDetailPerWeightUnit = io.flow.v0.models.LabelSurchargeDetailPerWeightUnit; export type LabelSurchargeDetailPercentage = io.flow.v0.models.LabelSurchargeDetailPercentage; export type LabelTrackingCarrierService = io.flow.v0.models.LabelTrackingCarrierService; export type LabelTrackingSummary = io.flow.v0.models.LabelTrackingSummary; export type LabelTrackingSummaryUpdate = io.flow.v0.models.LabelTrackingSummaryUpdate; export type LabelTriggerMethod = io.flow.v0.enums.LabelTriggerMethod; export type LabelUnits = io.flow.v0.models.LabelUnits; export type LabelUpsertedV2 = io.flow.v0.models.LabelUpsertedV2; export type LandedCostItem = io.flow.v0.models.LandedCostItem; export type LaneDirection = io.flow.v0.enums.LaneDirection; export type LaneLandedCost = io.flow.v0.models.LaneLandedCost; export type LanePreselectPreference = io.flow.v0.enums.LanePreselectPreference; export type LaneStrategy = io.flow.v0.enums.LaneStrategy; export type LaneSummary = io.flow.v0.models.LaneSummary; export type Language = io.flow.v0.models.Language; export type LargePackageServiceFee = io.flow.v0.models.LargePackageServiceFee; export type LevyComponent = io.flow.v0.enums.LevyComponent; export type LevyInclusion = io.flow.v0.enums.LevyInclusion; export type LevyStrategy = io.flow.v0.enums.LevyStrategy; export type Line = io.flow.v0.models.Line; export type LineItem = io.flow.v0.models.LineItem; export type LineItemAttributesForm = io.flow.v0.models.LineItemAttributesForm; export type LineItemForm = io.flow.v0.models.LineItemForm; export type LineItemQuantityForm = io.flow.v0.models.LineItemQuantityForm; export type Link = io.flow.v0.models.Link; export type Local = io.flow.v0.models.Local; export type LocalItem = io.flow.v0.models.LocalItem; export type LocalItemAttributePricing = io.flow.v0.models.LocalItemAttributePricing; export type LocalItemPricing = io.flow.v0.models.LocalItemPricing; export type LocalPriceDetails = io.flow.v0.models.LocalPriceDetails; export type LocalSession = io.flow.v0.models.LocalSession; export type Locale = io.flow.v0.models.Locale; export type LocaleNumbers = io.flow.v0.models.LocaleNumbers; export type LocalizedAdjustment = io.flow.v0.models.LocalizedAdjustment; export type LocalizedItemDuty = io.flow.v0.models.LocalizedItemDuty; export type LocalizedItemPrice = io.flow.v0.models.LocalizedItemPrice; export type LocalizedItemPricesExportType = io.flow.v0.models.LocalizedItemPricesExportType; export type LocalizedItemVat = io.flow.v0.models.LocalizedItemVat; export type LocalizedLineItem = io.flow.v0.models.LocalizedLineItem; export type LocalizedLineItemDiscount = io.flow.v0.models.LocalizedLineItemDiscount; export type LocalizedPrice = io.flow.v0.unions.LocalizedPrice; export type LocalizedTotal = io.flow.v0.models.LocalizedTotal; export type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation; export type LocationError = io.flow.v0.models.LocationError; export type LocationErrorCode = io.flow.v0.enums.LocationErrorCode; export type LogisticsFormat = io.flow.v0.models.LogisticsFormat; export type LogisticsFormatPreference = io.flow.v0.enums.LogisticsFormatPreference; export type LogisticsSettings = io.flow.v0.models.LogisticsSettings; export type LogoImage = io.flow.v0.unions.LogoImage; export type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic; export type LogoImageStatic = io.flow.v0.models.LogoImageStatic; export type LogoImageSvg = io.flow.v0.models.LogoImageSvg; export type Manifest = io.flow.v0.models.Manifest; export type ManifestForm = io.flow.v0.models.ManifestForm; export type ManifestedLabelDeleted = io.flow.v0.models.ManifestedLabelDeleted; export type ManifestedLabelUpserted = io.flow.v0.models.ManifestedLabelUpserted; export type Margin = io.flow.v0.models.Margin; export type MarginType = io.flow.v0.enums.MarginType; export type MarketingFeedsExportType = io.flow.v0.models.MarketingFeedsExportType; export type Measurement = io.flow.v0.models.Measurement; export type MeasurementSystem = io.flow.v0.enums.MeasurementSystem; export type Membership = io.flow.v0.models.Membership; export type MembershipDeletedV2 = io.flow.v0.models.MembershipDeletedV2; export type MembershipForm = io.flow.v0.models.MembershipForm; export type MembershipPutForm = io.flow.v0.models.MembershipPutForm; export type MembershipUpsertedV2 = io.flow.v0.models.MembershipUpsertedV2; export type MembershipVersion = io.flow.v0.models.MembershipVersion; export type MerchantActivated = io.flow.v0.models.MerchantActivated; export type MerchantApplication = io.flow.v0.unions.MerchantApplication; export type MerchantApplicationDeleted = io.flow.v0.models.MerchantApplicationDeleted; export type MerchantApplicationForm = io.flow.v0.unions.MerchantApplicationForm; export type MerchantApplicationPutForm = io.flow.v0.unions.MerchantApplicationPutForm; export type MerchantApplicationUpserted = io.flow.v0.models.MerchantApplicationUpserted; export type MerchantApplicationsSummary = io.flow.v0.unions.MerchantApplicationsSummary; export type MerchantDeactivated = io.flow.v0.models.MerchantDeactivated; export type MerchantDisabled = io.flow.v0.models.MerchantDisabled; export type MerchantDisabledReason = io.flow.v0.enums.MerchantDisabledReason; export type MerchantGiftCardBalance = io.flow.v0.models.MerchantGiftCardBalance; export type MerchantGiftCardBalanceForm = io.flow.v0.models.MerchantGiftCardBalanceForm; export type MerchantGiftCardError = io.flow.v0.models.MerchantGiftCardError; export type MerchantGiftCardErrorCode = io.flow.v0.enums.MerchantGiftCardErrorCode; export type MerchantGiftCardRedemption = io.flow.v0.models.MerchantGiftCardRedemption; export type MerchantGiftCardRedemptionForm = io.flow.v0.models.MerchantGiftCardRedemptionForm; export type MerchantGiftCardReversal = io.flow.v0.models.MerchantGiftCardReversal; export type MerchantGiftCardReversalForm = io.flow.v0.models.MerchantGiftCardReversalForm; export type MerchantInfo = io.flow.v0.models.MerchantInfo; export type MerchantOfRecord = io.flow.v0.enums.MerchantOfRecord; export type MerchantOfRecordAuthorizationForm = io.flow.v0.models.MerchantOfRecordAuthorizationForm; export type MerchantOfRecordEntity = io.flow.v0.models.MerchantOfRecordEntity; export type MerchantOfRecordEntityRegistration = io.flow.v0.models.MerchantOfRecordEntityRegistration; export type MerchantOfRecordPaymentForm = io.flow.v0.models.MerchantOfRecordPaymentForm; export type MerchantOnboardingAddress = io.flow.v0.models.MerchantOnboardingAddress; export type MerchantOnboardingBeneficiaryDetails = io.flow.v0.models.MerchantOnboardingBeneficiaryDetails; export type MerchantRejected = io.flow.v0.models.MerchantRejected; export type MerchantRejectedReason = io.flow.v0.enums.MerchantRejectedReason; export type Method = io.flow.v0.enums.Method; export type Money = io.flow.v0.models.Money; export type MoneyWithBase = io.flow.v0.models.MoneyWithBase; export type MoneyWithOptionalBase = io.flow.v0.models.MoneyWithOptionalBase; export type MonthlyAverage = io.flow.v0.models.MonthlyAverage; export type MonthlyAverageVolume = io.flow.v0.models.MonthlyAverageVolume; export type Name = io.flow.v0.models.Name; export type NameForm = io.flow.v0.models.NameForm; export type NeedsActionAttributes = io.flow.v0.models.NeedsActionAttributes; export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2; export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2; export type NumberRange = io.flow.v0.models.NumberRange; export type OnboardingApplicationStatus = io.flow.v0.enums.OnboardingApplicationStatus; export type OnboardingBlockedReason = io.flow.v0.enums.OnboardingBlockedReason; export type OnboardingMerchantPickupWindow = io.flow.v0.models.OnboardingMerchantPickupWindow; export type OnboardingMerchantScheduledPickup = io.flow.v0.models.OnboardingMerchantScheduledPickup; export type OnboardingMerchantTime = io.flow.v0.models.OnboardingMerchantTime; export type OnboardingOrganizationReference = io.flow.v0.models.OnboardingOrganizationReference; export type OnboardingState = io.flow.v0.unions.OnboardingState; export type OnboardingStateTransition = io.flow.v0.models.OnboardingStateTransition; export type OnboardingTradeSector = io.flow.v0.enums.OnboardingTradeSector; export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization; export type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2; export type OnlineAuthorizationDetails = io.flow.v0.unions.OnlineAuthorizationDetails; export type OnlineAuthorizationUpsertedV2 = io.flow.v0.models.OnlineAuthorizationUpsertedV2; export type OnlinePaymentAuthorizationForm = io.flow.v0.models.OnlinePaymentAuthorizationForm; export type OperationsContact = io.flow.v0.models.OperationsContact; export type OptionWeightEstimates = io.flow.v0.models.OptionWeightEstimates; export type Options = io.flow.v0.models.Options; export type Order = io.flow.v0.models.Order; export type OrderAddress = io.flow.v0.models.OrderAddress; export type OrderBuilder = io.flow.v0.models.OrderBuilder; export type OrderBuilderAttributesForm = io.flow.v0.models.OrderBuilderAttributesForm; export type OrderBuilderCustomerForm = io.flow.v0.models.OrderBuilderCustomerForm; export type OrderBuilderCustomerInvoiceAddressForm = io.flow.v0.models.OrderBuilderCustomerInvoiceAddressForm; export type OrderBuilderDeliveredDutyForm = io.flow.v0.models.OrderBuilderDeliveredDutyForm; export type OrderBuilderDestinationCountryForm = io.flow.v0.models.OrderBuilderDestinationCountryForm; export type OrderBuilderDestinationForm = io.flow.v0.models.OrderBuilderDestinationForm; export type OrderBuilderSelectionsForm = io.flow.v0.models.OrderBuilderSelectionsForm; export type OrderChangeSource = io.flow.v0.enums.OrderChangeSource; export type OrderCustomer = io.flow.v0.models.OrderCustomer; export type OrderCustomerForm = io.flow.v0.models.OrderCustomerForm; export type OrderDeletedV2 = io.flow.v0.models.OrderDeletedV2; export type OrderDestinationPutForm = io.flow.v0.models.OrderDestinationPutForm; export type OrderDetails = io.flow.v0.models.OrderDetails; export type OrderError = io.flow.v0.models.OrderError; export type OrderErrorCode = io.flow.v0.enums.OrderErrorCode; export type OrderEstimate = io.flow.v0.models.OrderEstimate; export type OrderEstimateForm = io.flow.v0.models.OrderEstimateForm; export type OrderExportType = io.flow.v0.models.OrderExportType; export type OrderForm = io.flow.v0.models.OrderForm; export type OrderFraudStatus = io.flow.v0.models.OrderFraudStatus; export type OrderGeo = io.flow.v0.models.OrderGeo; export type OrderIdentifier = io.flow.v0.models.OrderIdentifier; export type OrderIdentifierDeletedV2 = io.flow.v0.models.OrderIdentifierDeletedV2; export type OrderIdentifierForm = io.flow.v0.models.OrderIdentifierForm; export type OrderIdentifierPutForm = io.flow.v0.models.OrderIdentifierPutForm; export type OrderIdentifierUpsertedV3 = io.flow.v0.models.OrderIdentifierUpsertedV3; export type OrderIdentifierVersion = io.flow.v0.models.OrderIdentifierVersion; export type OrderInformation = io.flow.v0.unions.OrderInformation; export type OrderInformationDetails = io.flow.v0.models.OrderInformationDetails; export type OrderInformationFlow = io.flow.v0.models.OrderInformationFlow; export type OrderMerchantOfRecord = io.flow.v0.enums.OrderMerchantOfRecord; export type OrderNumberGenerator = io.flow.v0.unions.OrderNumberGenerator; export type OrderNumberGeneratorDefaults = io.flow.v0.models.OrderNumberGeneratorDefaults; export type OrderNumberGeneratorFixedLength = io.flow.v0.models.OrderNumberGeneratorFixedLength; export type OrderNumberGeneratorGeneratedNumber = io.flow.v0.models.OrderNumberGeneratorGeneratedNumber; export type OrderNumberGeneratorHexadecimal = io.flow.v0.models.OrderNumberGeneratorHexadecimal; export type OrderNumberGeneratorPrefixSuffix = io.flow.v0.models.OrderNumberGeneratorPrefixSuffix; export type OrderNumberGeneratorUuid = io.flow.v0.models.OrderNumberGeneratorUuid; export type OrderNumberReference = io.flow.v0.models.OrderNumberReference; export type OrderOptions = io.flow.v0.models.OrderOptions; export type OrderPayment = io.flow.v0.models.OrderPayment; export type OrderPaymentSourceType = io.flow.v0.enums.OrderPaymentSourceType; export type OrderPaymentType = io.flow.v0.enums.OrderPaymentType; export type OrderPlaced = io.flow.v0.models.OrderPlaced; export type OrderPlacedDetails = io.flow.v0.models.OrderPlacedDetails; export type OrderPlacedV2 = io.flow.v0.models.OrderPlacedV2; export type OrderPriceCoefficient = io.flow.v0.models.OrderPriceCoefficient; export type OrderPriceCoefficientType = io.flow.v0.enums.OrderPriceCoefficientType; export type OrderPriceDetail = io.flow.v0.models.OrderPriceDetail; export type OrderPriceDetailBreakdown = io.flow.v0.models.OrderPriceDetailBreakdown; export type OrderPriceDetailComponent = io.flow.v0.models.OrderPriceDetailComponent; export type OrderPriceDetailComponentKey = io.flow.v0.enums.OrderPriceDetailComponentKey; export type OrderPriceDetailKey = io.flow.v0.enums.OrderPriceDetailKey; export type OrderPriceFee = io.flow.v0.models.OrderPriceFee; export type OrderPriceFeeType = io.flow.v0.enums.OrderPriceFeeType; export type OrderPriceSubsidy = io.flow.v0.models.OrderPriceSubsidy; export type OrderPriceSubsidyType = io.flow.v0.enums.OrderPriceSubsidyType; export type OrderPromotion = io.flow.v0.unions.OrderPromotion; export type OrderPromotionForm = io.flow.v0.unions.OrderPromotionForm; export type OrderPromotionTrigger = io.flow.v0.models.OrderPromotionTrigger; export type OrderPutForm = io.flow.v0.models.OrderPutForm; export type OrderRate = io.flow.v0.models.OrderRate; export type OrderReference = io.flow.v0.models.OrderReference; export type OrderRefundSummary = io.flow.v0.models.OrderRefundSummary; export type OrderRefundSummaryAmounts = io.flow.v0.models.OrderRefundSummaryAmounts; export type OrderRefundSummaryForm = io.flow.v0.unions.OrderRefundSummaryForm; export type OrderRefundSummaryFullForm = io.flow.v0.models.OrderRefundSummaryFullForm; export type OrderRefundSummaryIncludes = io.flow.v0.enums.OrderRefundSummaryIncludes; export type OrderRefundSummaryItem = io.flow.v0.models.OrderRefundSummaryItem; export type OrderRefundSummaryPartialCharged = io.flow.v0.enums.OrderRefundSummaryPartialCharged; export type OrderRefundSummaryPartialForm = io.flow.v0.models.OrderRefundSummaryPartialForm; export type OrderRefundSummaryPartialIncludes = io.flow.v0.models.OrderRefundSummaryPartialIncludes; export type OrderReplacement = io.flow.v0.models.OrderReplacement; export type OrderReplacementForm = io.flow.v0.models.OrderReplacementForm; export type OrderRuleReference = io.flow.v0.models.OrderRuleReference; export type OrderRulesSummary = io.flow.v0.models.OrderRulesSummary; export type OrderServiceChange = io.flow.v0.models.OrderServiceChange; export type OrderServiceChangeForm = io.flow.v0.models.OrderServiceChangeForm; export type OrderServiceChangeRequestData = io.flow.v0.models.OrderServiceChangeRequestData; export type OrderState = io.flow.v0.models.OrderState; export type OrderStateDeleted = io.flow.v0.models.OrderStateDeleted; export type OrderStateRejectionReason = io.flow.v0.unions.OrderStateRejectionReason; export type OrderStateRejectionReasonDomesticOrder = io.flow.v0.models.OrderStateRejectionReasonDomesticOrder; export type OrderStateRejectionReasonItemsEmpty = io.flow.v0.models.OrderStateRejectionReasonItemsEmpty; export type OrderStateRejectionReasonOrderCancelled = io.flow.v0.models.OrderStateRejectionReasonOrderCancelled; export type OrderStateRejectionReasonOrganizationDeactivated = io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated; export type OrderStateRejectionReasonPaymentFraud = io.flow.v0.models.OrderStateRejectionReasonPaymentFraud; export type OrderStateRejectionReasonRestrictedItem = io.flow.v0.models.OrderStateRejectionReasonRestrictedItem; export type OrderStateStatus = io.flow.v0.enums.OrderStateStatus; export type OrderStateUpserted = io.flow.v0.models.OrderStateUpserted; export type OrderStatus = io.flow.v0.enums.OrderStatus; export type OrderStorage = io.flow.v0.enums.OrderStorage; export type OrderSubmissionForm = io.flow.v0.models.OrderSubmissionForm; export type OrderSubmissionIdentifierForm = io.flow.v0.models.OrderSubmissionIdentifierForm; export type OrderSummary = io.flow.v0.models.OrderSummary; export type OrderSummaryImage = io.flow.v0.models.OrderSummaryImage; export type OrderSummaryItem = io.flow.v0.models.OrderSummaryItem; export type OrderSummaryLevy = io.flow.v0.models.OrderSummaryLevy; export type OrderSummaryLineItem = io.flow.v0.models.OrderSummaryLineItem; export type OrderSummaryPriceDetail = io.flow.v0.models.OrderSummaryPriceDetail; export type OrderType = io.flow.v0.enums.OrderType; export type OrderUpsertedV2 = io.flow.v0.models.OrderUpsertedV2; export type OrderVersion = io.flow.v0.models.OrderVersion; export type OrderWithDiscountsForm = io.flow.v0.models.OrderWithDiscountsForm; export type Organization = io.flow.v0.models.Organization; export type OrganizationAuthorization = io.flow.v0.models.OrganizationAuthorization; export type OrganizationAuthorizationForm = io.flow.v0.models.OrganizationAuthorizationForm; export type OrganizationBankAccount = io.flow.v0.models.OrganizationBankAccount; export type OrganizationDefaultBankAccount = io.flow.v0.models.OrganizationDefaultBankAccount; export type OrganizationDefaults = io.flow.v0.models.OrganizationDefaults; export type OrganizationDeleted = io.flow.v0.models.OrganizationDeleted; export type OrganizationDeletedV2 = io.flow.v0.models.OrganizationDeletedV2; export type OrganizationForm = io.flow.v0.models.OrganizationForm; export type OrganizationOnboardingState = io.flow.v0.models.OrganizationOnboardingState; export type OrganizationOnboardingStateDeleted = io.flow.v0.models.OrganizationOnboardingStateDeleted; export type OrganizationOnboardingStateUpserted = io.flow.v0.models.OrganizationOnboardingStateUpserted; export type OrganizationPaymentMethodTag = io.flow.v0.enums.OrganizationPaymentMethodTag; export type OrganizationPayout = io.flow.v0.models.OrganizationPayout; export type OrganizationPayoutDeleted = io.flow.v0.models.OrganizationPayoutDeleted; export type OrganizationPayoutUpserted = io.flow.v0.models.OrganizationPayoutUpserted; export type OrganizationPendingPayoutTransaction = io.flow.v0.models.OrganizationPendingPayoutTransaction; export type OrganizationPendingPayoutTransactionDeleted = io.flow.v0.models.OrganizationPendingPayoutTransactionDeleted; export type OrganizationPendingPayoutTransactionUpserted = io.flow.v0.models.OrganizationPendingPayoutTransactionUpserted; export type OrganizationPutForm = io.flow.v0.models.OrganizationPutForm; export type OrganizationRatesData = io.flow.v0.models.OrganizationRatesData; export type OrganizationRatesPublished = io.flow.v0.models.OrganizationRatesPublished; export type OrganizationReference = io.flow.v0.models.OrganizationReference; export type OrganizationSession = io.flow.v0.models.OrganizationSession; export type OrganizationSessionAuthorization = io.flow.v0.models.OrganizationSessionAuthorization; export type OrganizationStatus = io.flow.v0.enums.OrganizationStatus; export type OrganizationSummary = io.flow.v0.models.OrganizationSummary; export type OrganizationTaxRegistration = io.flow.v0.models.OrganizationTaxRegistration; export type OrganizationTaxRegistrationForm = io.flow.v0.models.OrganizationTaxRegistrationForm; export type OrganizationToken = io.flow.v0.models.OrganizationToken; export type OrganizationTokenForm = io.flow.v0.models.OrganizationTokenForm; export type OrganizationTokenFormV2 = io.flow.v0.models.OrganizationTokenFormV2; export type OrganizationTokenReference = io.flow.v0.models.OrganizationTokenReference; export type OrganizationTokenV2 = io.flow.v0.models.OrganizationTokenV2; export type OrganizationTokenV2Reference = io.flow.v0.models.OrganizationTokenV2Reference; export type OrganizationTransactionDeleted = io.flow.v0.models.OrganizationTransactionDeleted; export type OrganizationTransactionUpserted = io.flow.v0.models.OrganizationTransactionUpserted; export type OrganizationType = io.flow.v0.enums.OrganizationType; export type OrganizationUpserted = io.flow.v0.models.OrganizationUpserted; export type OrganizationUpsertedV2 = io.flow.v0.models.OrganizationUpsertedV2; export type OrganizationVersion = io.flow.v0.models.OrganizationVersion; export type OriginLocationSource = io.flow.v0.enums.OriginLocationSource; export type OriginalPrices = io.flow.v0.models.OriginalPrices; export type OutboundCartonFee = io.flow.v0.models.OutboundCartonFee; export type OversizePieceSurchargeRatecardFee = io.flow.v0.models.OversizePieceSurchargeRatecardFee; export type OversizePieceSurchargeServiceFee = io.flow.v0.models.OversizePieceSurchargeServiceFee; export type OverweightPieceSurchargeServiceFee = io.flow.v0.models.OverweightPieceSurchargeServiceFee; export type PackageDimensions = io.flow.v0.models.PackageDimensions; export type PackageDimensionsForm = io.flow.v0.models.PackageDimensionsForm; export type PackageDimensionsSource = io.flow.v0.enums.PackageDimensionsSource; export type Packaging = io.flow.v0.models.Packaging; export type ParentTransactionSummary = io.flow.v0.models.ParentTransactionSummary; export type PartnerCenter = io.flow.v0.models.PartnerCenter; export type PartnerCenterFee = io.flow.v0.unions.PartnerCenterFee; export type PartnerCenterForm = io.flow.v0.models.PartnerCenterForm; export type PartnerReference = io.flow.v0.models.PartnerReference; export type PartnerToken = io.flow.v0.models.PartnerToken; export type PartnerTokenForm = io.flow.v0.models.PartnerTokenForm; export type PartnerTokenReference = io.flow.v0.models.PartnerTokenReference; export type PasswordChangeForm = io.flow.v0.models.PasswordChangeForm; export type PasswordResetForm = io.flow.v0.models.PasswordResetForm; export type PasswordResetRequestForm = io.flow.v0.models.PasswordResetRequestForm; export type Payment = io.flow.v0.unions.Payment; export type PaymentActionType = io.flow.v0.enums.PaymentActionType; export type PaymentAddress = io.flow.v0.models.PaymentAddress; export type PaymentAddressBilling = io.flow.v0.models.PaymentAddressBilling; export type PaymentAddressShipping = io.flow.v0.models.PaymentAddressShipping; export type PaymentAuthorization = io.flow.v0.models.PaymentAuthorization; export type PaymentAuthorizationStatus = io.flow.v0.models.PaymentAuthorizationStatus; export type PaymentCapture = io.flow.v0.models.PaymentCapture; export type PaymentCaptureForm = io.flow.v0.models.PaymentCaptureForm; export type PaymentCaptureOption = io.flow.v0.unions.PaymentCaptureOption; export type PaymentCaptureOptionAutomaticImmediate = io.flow.v0.models.PaymentCaptureOptionAutomaticImmediate; export type PaymentCaptureOptionManual = io.flow.v0.models.PaymentCaptureOptionManual; export type PaymentCaptureStatus = io.flow.v0.models.PaymentCaptureStatus; export type PaymentContactBilling = io.flow.v0.models.PaymentContactBilling; export type PaymentContactShipping = io.flow.v0.models.PaymentContactShipping; export type PaymentCryptopay = io.flow.v0.models.PaymentCryptopay; export type PaymentDeleted = io.flow.v0.models.PaymentDeleted; export type PaymentDiscount = io.flow.v0.models.PaymentDiscount; export type PaymentDuty = io.flow.v0.models.PaymentDuty; export type PaymentError = io.flow.v0.models.PaymentError; export type PaymentErrorCode = io.flow.v0.enums.PaymentErrorCode; export type PaymentFailure = io.flow.v0.models.PaymentFailure; export type PaymentFailureCode = io.flow.v0.enums.PaymentFailureCode; export type PaymentFee = io.flow.v0.models.PaymentFee; export type PaymentFeeType = io.flow.v0.enums.PaymentFeeType; export type PaymentForm = io.flow.v0.unions.PaymentForm; export type PaymentInformation = io.flow.v0.models.PaymentInformation; export type PaymentMethod = io.flow.v0.models.PaymentMethod; export type PaymentMethodActionCancellation = io.flow.v0.models.PaymentMethodActionCancellation; export type PaymentMethodBrand = io.flow.v0.models.PaymentMethodBrand; export type PaymentMethodCapability = io.flow.v0.enums.PaymentMethodCapability; export type PaymentMethodCard = io.flow.v0.unions.PaymentMethodCard; export type PaymentMethodCardNumberCipher = io.flow.v0.models.PaymentMethodCardNumberCipher; export type PaymentMethodCardNumberCleartext = io.flow.v0.models.PaymentMethodCardNumberCleartext; export type PaymentMethodCardPciDetails = io.flow.v0.models.PaymentMethodCardPciDetails; export type PaymentMethodCardToken = io.flow.v0.models.PaymentMethodCardToken; export type PaymentMethodData = io.flow.v0.unions.PaymentMethodData; export type PaymentMethodDataAuthorizeApplepay = io.flow.v0.models.PaymentMethodDataAuthorizeApplepay; export type PaymentMethodDataAuthorizeApplepayResult = io.flow.v0.unions.PaymentMethodDataAuthorizeApplepayResult; export type PaymentMethodDataAuthorizeApplepayResultFailure = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultFailure; export type PaymentMethodDataAuthorizeApplepayResultSuccess = io.flow.v0.models.PaymentMethodDataAuthorizeApplepayResultSuccess; export type PaymentMethodDataAuthorizeCard = io.flow.v0.models.PaymentMethodDataAuthorizeCard; export type PaymentMethodDataAuthorizeGooglepay = io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay; export type PaymentMethodDataAuthorizeKlarna = io.flow.v0.models.PaymentMethodDataAuthorizeKlarna; export type PaymentMethodDataAuthorizeKlarnaResult = io.flow.v0.unions.PaymentMethodDataAuthorizeKlarnaResult; export type PaymentMethodDataAuthorizeKlarnaResultFailure = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure; export type PaymentMethodDataAuthorizeKlarnaResultSuccess = io.flow.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess; export type PaymentMethodDataAuthorizePaypal = io.flow.v0.models.PaymentMethodDataAuthorizePaypal; export type PaymentMethodDataCompleteAuthorizationCard = io.flow.v0.models.PaymentMethodDataCompleteAuthorizationCard; export type PaymentMethodDataInitAfterpay = io.flow.v0.models.PaymentMethodDataInitAfterpay; export type PaymentMethodDataInitApplepay = io.flow.v0.models.PaymentMethodDataInitApplepay; export type PaymentMethodDataInitBancontact = io.flow.v0.models.PaymentMethodDataInitBancontact; export type PaymentMethodDataInitGooglepay = io.flow.v0.models.PaymentMethodDataInitGooglepay; export type PaymentMethodDataInitGrabpay = io.flow.v0.models.PaymentMethodDataInitGrabpay; export type PaymentMethodDataInitIdeal = io.flow.v0.models.PaymentMethodDataInitIdeal; export type PaymentMethodDataInitKcpCreditcard = io.flow.v0.models.PaymentMethodDataInitKcpCreditcard; export type PaymentMethodDataInitKlarna = io.flow.v0.models.PaymentMethodDataInitKlarna; export type PaymentMethodDataInitMobilepay = io.flow.v0.models.PaymentMethodDataInitMobilepay; export type PaymentMethodDataInitPaypal = io.flow.v0.models.PaymentMethodDataInitPaypal; export type PaymentMethodDataInitPrzelewy24 = io.flow.v0.models.PaymentMethodDataInitPrzelewy24; export type PaymentMethodDataInitSofort = io.flow.v0.models.PaymentMethodDataInitSofort; export type PaymentMethodDataInitTwint = io.flow.v0.models.PaymentMethodDataInitTwint; export type PaymentMethodDataInitVipps = io.flow.v0.models.PaymentMethodDataInitVipps; export type PaymentMethodDataOptionLogo = io.flow.v0.unions.PaymentMethodDataOptionLogo; export type PaymentMethodDataOptionLogoSvg = io.flow.v0.models.PaymentMethodDataOptionLogoSvg; export type PaymentMethodDataOptionType = io.flow.v0.enums.PaymentMethodDataOptionType; export type PaymentMethodDataPaymentOption = io.flow.v0.models.PaymentMethodDataPaymentOption; export type PaymentMethodDataSelectedPaymentOption = io.flow.v0.models.PaymentMethodDataSelectedPaymentOption; export type PaymentMethodDataValidateApplepay = io.flow.v0.models.PaymentMethodDataValidateApplepay; export type PaymentMethodImage = io.flow.v0.models.PaymentMethodImage; export type PaymentMethodImages = io.flow.v0.models.PaymentMethodImages; export type PaymentMethodIssuer = io.flow.v0.models.PaymentMethodIssuer; export type PaymentMethodRule = io.flow.v0.models.PaymentMethodRule; export type PaymentMethodRuleContent = io.flow.v0.models.PaymentMethodRuleContent; export type PaymentMethodRuleContentKey = io.flow.v0.enums.PaymentMethodRuleContentKey; export type PaymentMethodStoredDetailsCard = io.flow.v0.unions.PaymentMethodStoredDetailsCard; export type PaymentMethodStoredDetailsCardInitial = io.flow.v0.models.PaymentMethodStoredDetailsCardInitial; export type PaymentMethodStoredDetailsCardSubsequent = io.flow.v0.models.PaymentMethodStoredDetailsCardSubsequent; export type PaymentMethodSummary = io.flow.v0.unions.PaymentMethodSummary; export type PaymentMethodSummaryAfterpay = io.flow.v0.models.PaymentMethodSummaryAfterpay; export type PaymentMethodSummaryApplepay = io.flow.v0.models.PaymentMethodSummaryApplepay; export type PaymentMethodSummaryBancontact = io.flow.v0.models.PaymentMethodSummaryBancontact; export type PaymentMethodSummaryCard = io.flow.v0.models.PaymentMethodSummaryCard; export type PaymentMethodSummaryGooglepay = io.flow.v0.models.PaymentMethodSummaryGooglepay; export type PaymentMethodSummaryGrabpay = io.flow.v0.models.PaymentMethodSummaryGrabpay; export type PaymentMethodSummaryIdeal = io.flow.v0.models.PaymentMethodSummaryIdeal; export type PaymentMethodSummaryKcpCreditcard = io.flow.v0.models.PaymentMethodSummaryKcpCreditcard; export type PaymentMethodSummaryKlarna = io.flow.v0.models.PaymentMethodSummaryKlarna; export type PaymentMethodSummaryMobilepay = io.flow.v0.models.PaymentMethodSummaryMobilepay; export type PaymentMethodSummaryPaypal = io.flow.v0.models.PaymentMethodSummaryPaypal; export type PaymentMethodSummaryPrzelewy24 = io.flow.v0.models.PaymentMethodSummaryPrzelewy24; export type PaymentMethodSummarySofort = io.flow.v0.models.PaymentMethodSummarySofort; export type PaymentMethodSummaryTwint = io.flow.v0.models.PaymentMethodSummaryTwint; export type PaymentMethodSummaryVipps = io.flow.v0.models.PaymentMethodSummaryVipps; export type PaymentMethodTag = io.flow.v0.unions.PaymentMethodTag; export type PaymentMethodType = io.flow.v0.enums.PaymentMethodType; export type PaymentOrderDetailsLineItem = io.flow.v0.models.PaymentOrderDetailsLineItem; export type PaymentOrderReference = io.flow.v0.unions.PaymentOrderReference; export type PaymentPaymentMethod = io.flow.v0.models.PaymentPaymentMethod; export type PaymentPaymentRequestReference = io.flow.v0.models.PaymentPaymentRequestReference; export type PaymentPaypal = io.flow.v0.models.PaymentPaypal; export type PaymentProcessor = io.flow.v0.models.PaymentProcessor; export type PaymentProcessorAccount = io.flow.v0.models.PaymentProcessorAccount; export type PaymentProcessorAccountReference = io.flow.v0.models.PaymentProcessorAccountReference; export type PaymentProcessorIdentifier = io.flow.v0.models.PaymentProcessorIdentifier; export type PaymentProcessorReference = io.flow.v0.models.PaymentProcessorReference; export type PaymentProcessorTransactionDetails = io.flow.v0.unions.PaymentProcessorTransactionDetails; export type PaymentProcessorTransactionDetailsApm = io.flow.v0.models.PaymentProcessorTransactionDetailsApm; export type PaymentProcessorTransactionDetailsCard = io.flow.v0.models.PaymentProcessorTransactionDetailsCard; export type PaymentReference = io.flow.v0.models.PaymentReference; export type PaymentRefund = io.flow.v0.models.PaymentRefund; export type PaymentRefundForm = io.flow.v0.models.PaymentRefundForm; export type PaymentRefundStatus = io.flow.v0.models.PaymentRefundStatus; export type PaymentRequest = io.flow.v0.models.PaymentRequest; export type PaymentRequestBilling = io.flow.v0.models.PaymentRequestBilling; export type PaymentRequestBillingCurrencyRate = io.flow.v0.models.PaymentRequestBillingCurrencyRate; export type PaymentRequestBillingFees = io.flow.v0.models.PaymentRequestBillingFees; export type PaymentRequestBundle = io.flow.v0.models.PaymentRequestBundle; export type PaymentRequestBundleForm = io.flow.v0.models.PaymentRequestBundleForm; export type PaymentRequestCancellationReason = io.flow.v0.unions.PaymentRequestCancellationReason; export type PaymentRequestCancellationReasonOrderMissing = io.flow.v0.models.PaymentRequestCancellationReasonOrderMissing; export type PaymentRequestDeleted = io.flow.v0.models.PaymentRequestDeleted; export type PaymentRequestForm = io.flow.v0.models.PaymentRequestForm; export type PaymentRequestReference = io.flow.v0.models.PaymentRequestReference; export type PaymentRequestReview = io.flow.v0.models.PaymentRequestReview; export type PaymentRequestReviewCheck = io.flow.v0.models.PaymentRequestReviewCheck; export type PaymentRequestReviewCheckStatus = io.flow.v0.enums.PaymentRequestReviewCheckStatus; export type PaymentRequestReviewCheckType = io.flow.v0.enums.PaymentRequestReviewCheckType; export type PaymentRequestReviewStatus = io.flow.v0.enums.PaymentRequestReviewStatus; export type PaymentRequestUpserted = io.flow.v0.models.PaymentRequestUpserted; export type PaymentReversal = io.flow.v0.models.PaymentReversal; export type PaymentReversalForm = io.flow.v0.models.PaymentReversalForm; export type PaymentReversalStatus = io.flow.v0.models.PaymentReversalStatus; export type PaymentSource = io.flow.v0.unions.PaymentSource; export type PaymentSourceConfirmationAction = io.flow.v0.models.PaymentSourceConfirmationAction; export type PaymentSourceConfirmationActionType = io.flow.v0.enums.PaymentSourceConfirmationActionType; export type PaymentSourceForm = io.flow.v0.unions.PaymentSourceForm; export type PaymentStatus = io.flow.v0.enums.PaymentStatus; export type PaymentTax = io.flow.v0.models.PaymentTax; export type PaymentType = io.flow.v0.enums.PaymentType; export type PaymentUpserted = io.flow.v0.models.PaymentUpserted; export type PaymentVersion = io.flow.v0.models.PaymentVersion; export type PayoutAttachment = io.flow.v0.models.PayoutAttachment; export type PayoutAttachmentType = io.flow.v0.enums.PayoutAttachmentType; export type PayoutReference = io.flow.v0.models.PayoutReference; export type PayoutStatus = io.flow.v0.unions.PayoutStatus; export type PayoutStatusFailed = io.flow.v0.models.PayoutStatusFailed; export type PayoutStatusFailureCode = io.flow.v0.enums.PayoutStatusFailureCode; export type PayoutStatusPaid = io.flow.v0.models.PayoutStatusPaid; export type PayoutStatusScheduled = io.flow.v0.models.PayoutStatusScheduled; export type PayoutStatusSent = io.flow.v0.models.PayoutStatusSent; export type PayoutTransaction = io.flow.v0.models.PayoutTransaction; export type PaypalAuthorizationDetails = io.flow.v0.models.PaypalAuthorizationDetails; export type PaypalAuthorizationForm = io.flow.v0.models.PaypalAuthorizationForm; export type PeakSurchargeByWeightServiceFee = io.flow.v0.models.PeakSurchargeByWeightServiceFee; export type PeakSurchargeRatecardFee = io.flow.v0.models.PeakSurchargeRatecardFee; export type PeakSurchargeServiceFee = io.flow.v0.models.PeakSurchargeServiceFee; export type PendingPayoutTransactionReason = io.flow.v0.models.PendingPayoutTransactionReason; export type PendingPayoutTransactionReasonCode = io.flow.v0.enums.PendingPayoutTransactionReasonCode; export type PendingPayoutTransactionTimeout = io.flow.v0.models.PendingPayoutTransactionTimeout; export type PercentMargin = io.flow.v0.models.PercentMargin; export type PermissionAudit = io.flow.v0.models.PermissionAudit; export type PermissionCheck = io.flow.v0.models.PermissionCheck; export type PermittedHttpMethod = io.flow.v0.enums.PermittedHttpMethod; export type PermittedRoute = io.flow.v0.models.PermittedRoute; export type PhysicalDelivery = io.flow.v0.models.PhysicalDelivery; export type PhysicalDeliveryPreferredService = io.flow.v0.models.PhysicalDeliveryPreferredService; export type PhysicalDeliverySpecialSerivce = io.flow.v0.enums.PhysicalDeliverySpecialSerivce; export type PostPaymentRedirectUrls = io.flow.v0.models.PostPaymentRedirectUrls; export type PostalType = io.flow.v0.enums.PostalType; export type PreferentialRateEligibility = io.flow.v0.enums.PreferentialRateEligibility; export type PreferredServiceSelectionStrategy = io.flow.v0.enums.PreferredServiceSelectionStrategy; export type Price = io.flow.v0.models.Price; export type PriceAccuracy = io.flow.v0.enums.PriceAccuracy; export type PriceBook = io.flow.v0.models.PriceBook; export type PriceBookDeleted = io.flow.v0.models.PriceBookDeleted; export type PriceBookForm = io.flow.v0.models.PriceBookForm; export type PriceBookItem = io.flow.v0.models.PriceBookItem; export type PriceBookItemDeleted = io.flow.v0.models.PriceBookItemDeleted; export type PriceBookItemExportType = io.flow.v0.models.PriceBookItemExportType; export type PriceBookItemForm = io.flow.v0.models.PriceBookItemForm; export type PriceBookItemQueryForm = io.flow.v0.models.PriceBookItemQueryForm; export type PriceBookItemSchedule = io.flow.v0.models.PriceBookItemSchedule; export type PriceBookItemUpserted = io.flow.v0.models.PriceBookItemUpserted; export type PriceBookReference = io.flow.v0.models.PriceBookReference; export type PriceBookStatus = io.flow.v0.enums.PriceBookStatus; export type PriceBookUpserted = io.flow.v0.models.PriceBookUpserted; export type PriceCheck = io.flow.v0.models.PriceCheck; export type PriceDetail = io.flow.v0.models.PriceDetail; export type PriceDetailComponent = io.flow.v0.models.PriceDetailComponent; export type PriceDetailComponentKey = io.flow.v0.enums.PriceDetailComponentKey; export type PriceDetailKey = io.flow.v0.enums.PriceDetailKey; export type PriceDetails = io.flow.v0.models.PriceDetails; export type PriceEquation = io.flow.v0.models.PriceEquation; export type PriceFacetBoundary = io.flow.v0.enums.PriceFacetBoundary; export type PriceForm = io.flow.v0.models.PriceForm; export type PriceSource = io.flow.v0.unions.PriceSource; export type PriceSourceCatalog = io.flow.v0.models.PriceSourceCatalog; export type PriceSourcePriceBook = io.flow.v0.models.PriceSourcePriceBook; export type PriceSourcePriceBookReference = io.flow.v0.models.PriceSourcePriceBookReference; export type PriceSourceProvided = io.flow.v0.models.PriceSourceProvided; export type PriceWithBase = io.flow.v0.models.PriceWithBase; export type PriceWithBaseAndDetails = io.flow.v0.models.PriceWithBaseAndDetails; export type Pricing = io.flow.v0.models.Pricing; export type PricingLevySetting = io.flow.v0.enums.PricingLevySetting; export type PricingSettings = io.flow.v0.models.PricingSettings; export type PricingType = io.flow.v0.enums.PricingType; export type PricingVersion = io.flow.v0.models.PricingVersion; export type ProcessingEstimate = io.flow.v0.models.ProcessingEstimate; export type Product = io.flow.v0.models.Product; export type ProductDeleted = io.flow.v0.models.ProductDeleted; export type ProductInserted = io.flow.v0.models.ProductInserted; export type ProductRestrictionResult = io.flow.v0.models.ProductRestrictionResult; export type ProductRestrictionResultDeleted = io.flow.v0.models.ProductRestrictionResultDeleted; export type ProductRestrictionResultUpserted = io.flow.v0.models.ProductRestrictionResultUpserted; export type ProductSellability = io.flow.v0.models.ProductSellability; export type ProductSellabilityForm = io.flow.v0.models.ProductSellabilityForm; export type ProductSellabilityResult = io.flow.v0.models.ProductSellabilityResult; export type ProductSellabilityResultDeleted = io.flow.v0.models.ProductSellabilityResultDeleted; export type ProductSellabilityResultUpserted = io.flow.v0.models.ProductSellabilityResultUpserted; export type ProductTaxonomyCategory = io.flow.v0.models.ProductTaxonomyCategory; export type ProductTaxonomyData = io.flow.v0.models.ProductTaxonomyData; export type ProductTaxonomyValue = io.flow.v0.models.ProductTaxonomyValue; export type ProductUpdated = io.flow.v0.models.ProductUpdated; export type Promotion = io.flow.v0.unions.Promotion; export type PromotionTrigger = io.flow.v0.models.PromotionTrigger; export type PromotionTriggerForm = io.flow.v0.models.PromotionTriggerForm; export type PromotionTriggerType = io.flow.v0.enums.PromotionTriggerType; export type Promotions = io.flow.v0.models.Promotions; export type Province = io.flow.v0.models.Province; export type ProvinceType = io.flow.v0.enums.ProvinceType; export type PublicKey = io.flow.v0.models.PublicKey; export type PurchasePriceBreakdown = io.flow.v0.models.PurchasePriceBreakdown; export type Query = io.flow.v0.models.Query; export type QueryBuilder = io.flow.v0.models.QueryBuilder; export type QueryBuilderFilterForm = io.flow.v0.models.QueryBuilderFilterForm; export type QueryBuilderForm = io.flow.v0.unions.QueryBuilderForm; export type QueryBuilderQueryForm = io.flow.v0.models.QueryBuilderQueryForm; export type QueryFilter = io.flow.v0.unions.QueryFilter; export type QueryFilterForm = io.flow.v0.unions.QueryFilterForm; export type QueryFilterStructured = io.flow.v0.models.QueryFilterStructured; export type QueryFilterStructuredForm = io.flow.v0.models.QueryFilterStructuredForm; export type QueryFilterUnstructured = io.flow.v0.models.QueryFilterUnstructured; export type QueryFilterUnstructuredForm = io.flow.v0.models.QueryFilterUnstructuredForm; export type Quote = io.flow.v0.models.Quote; export type QuoteError = io.flow.v0.models.QuoteError; export type QuoteErrorCode = io.flow.v0.enums.QuoteErrorCode; export type QuoteForm = io.flow.v0.models.QuoteForm; export type QuoteLineItemForm = io.flow.v0.models.QuoteLineItemForm; export type QuoteSummary = io.flow.v0.models.QuoteSummary; export type QuoteVersion = io.flow.v0.models.QuoteVersion; export type Rate = io.flow.v0.models.Rate; export type RateDeleted = io.flow.v0.models.RateDeleted; export type RateDeletedV3 = io.flow.v0.models.RateDeletedV3; export type RateForm = io.flow.v0.models.RateForm; export type RateUpserted = io.flow.v0.models.RateUpserted; export type RateUpsertedV3 = io.flow.v0.models.RateUpsertedV3; export type RateVersion = io.flow.v0.models.RateVersion; export type Ratecard = io.flow.v0.models.Ratecard; export type RatecardCarrierSummary = io.flow.v0.models.RatecardCarrierSummary; export type RatecardData = io.flow.v0.models.RatecardData; export type RatecardDeleted = io.flow.v0.models.RatecardDeleted; export type RatecardEffectiveUntilForm = io.flow.v0.models.RatecardEffectiveUntilForm; export type RatecardEstimate = io.flow.v0.unions.RatecardEstimate; export type RatecardEstimateForm = io.flow.v0.models.RatecardEstimateForm; export type RatecardEstimateV1 = io.flow.v0.models.RatecardEstimateV1; export type RatecardEstimateV2 = io.flow.v0.models.RatecardEstimateV2; export type RatecardEstimateV3 = io.flow.v0.models.RatecardEstimateV3; export type RatecardEstimateV4 = io.flow.v0.models.RatecardEstimateV4; export type RatecardFee = io.flow.v0.unions.RatecardFee; export type RatecardFeeSummary = io.flow.v0.models.RatecardFeeSummary; export type RatecardForm = io.flow.v0.models.RatecardForm; export type RatecardLane = io.flow.v0.models.RatecardLane; export type RatecardLaneDeleted = io.flow.v0.models.RatecardLaneDeleted; export type RatecardLaneForm = io.flow.v0.models.RatecardLaneForm; export type RatecardLaneUpserted = io.flow.v0.models.RatecardLaneUpserted; export type RatecardLaneVersion = io.flow.v0.models.RatecardLaneVersion; export type RatecardOwner = io.flow.v0.enums.RatecardOwner; export type RatecardRate = io.flow.v0.models.RatecardRate; export type RatecardRateForm = io.flow.v0.models.RatecardRateForm; export type RatecardReference = io.flow.v0.models.RatecardReference; export type RatecardRegionReference = io.flow.v0.models.RatecardRegionReference; export type RatecardServiceSummary = io.flow.v0.models.RatecardServiceSummary; export type RatecardSummary = io.flow.v0.models.RatecardSummary; export type RatecardUpserted = io.flow.v0.models.RatecardUpserted; export type RatecardVersion = io.flow.v0.models.RatecardVersion; export type ReadyToFulfill = io.flow.v0.models.ReadyToFulfill; export type ReadyToFulfillDetails = io.flow.v0.models.ReadyToFulfillDetails; export type ReadyToFulfillV2 = io.flow.v0.models.ReadyToFulfillV2; export type ReasonsPerRegion = io.flow.v0.models.ReasonsPerRegion; export type RedirectAuthorizationDetails = io.flow.v0.models.RedirectAuthorizationDetails; export type RedirectAuthorizationForm = io.flow.v0.models.RedirectAuthorizationForm; export type Refund = io.flow.v0.models.Refund; export type RefundCapture = io.flow.v0.models.RefundCapture; export type RefundCaptureSummary = io.flow.v0.models.RefundCaptureSummary; export type RefundCaptureUpsertedV2 = io.flow.v0.models.RefundCaptureUpsertedV2; export type RefundDeclineCode = io.flow.v0.enums.RefundDeclineCode; export type RefundDeletedV2 = io.flow.v0.models.RefundDeletedV2; export type RefundError = io.flow.v0.models.RefundError; export type RefundFailureCategory = io.flow.v0.enums.RefundFailureCategory; export type RefundForm = io.flow.v0.models.RefundForm; export type RefundIdentifier = io.flow.v0.models.RefundIdentifier; export type RefundIdentifierDeleted = io.flow.v0.models.RefundIdentifierDeleted; export type RefundIdentifierUpserted = io.flow.v0.models.RefundIdentifierUpserted; export type RefundOrderSummary = io.flow.v0.models.RefundOrderSummary; export type RefundOrderSummaryAmounts = io.flow.v0.models.RefundOrderSummaryAmounts; export type RefundReference = io.flow.v0.models.RefundReference; export type RefundStatus = io.flow.v0.enums.RefundStatus; export type RefundUpsertedV2 = io.flow.v0.models.RefundUpsertedV2; export type RefundVersion = io.flow.v0.models.RefundVersion; export type Region = io.flow.v0.models.Region; export type RegionReference = io.flow.v0.models.RegionReference; export type RegionSetting = io.flow.v0.models.RegionSetting; export type RegionSettingForm = io.flow.v0.models.RegionSettingForm; export type RegionType = io.flow.v0.enums.RegionType; export type RejectionPutForm = io.flow.v0.models.RejectionPutForm; export type RemoteAreaByWeightServiceFee = io.flow.v0.models.RemoteAreaByWeightServiceFee; export type RemoteAreaRatecardFee = io.flow.v0.models.RemoteAreaRatecardFee; export type RemoteAreaServiceFee = io.flow.v0.models.RemoteAreaServiceFee; export type RepeatDaily = io.flow.v0.models.RepeatDaily; export type RepeatHourly = io.flow.v0.models.RepeatHourly; export type RepeatMonthly = io.flow.v0.models.RepeatMonthly; export type RepeatSchedule = io.flow.v0.unions.RepeatSchedule; export type RepeatWeekly = io.flow.v0.models.RepeatWeekly; export type RestrictedReviewStatus = io.flow.v0.enums.RestrictedReviewStatus; export type RestrictionDecision = io.flow.v0.enums.RestrictionDecision; export type RestrictionDecisionReason = io.flow.v0.enums.RestrictionDecisionReason; export type RestrictionDecisionsForm = io.flow.v0.models.RestrictionDecisionsForm; export type RestrictionEnvironment = io.flow.v0.enums.RestrictionEnvironment; export type RestrictionRuleDecisionForm = io.flow.v0.models.RestrictionRuleDecisionForm; export type Return = io.flow.v0.models.Return; export type ReturnForm = io.flow.v0.models.ReturnForm; export type ReturnItemReference = io.flow.v0.models.ReturnItemReference; export type ReturnItemStatus = io.flow.v0.enums.ReturnItemStatus; export type ReturnLineItem = io.flow.v0.models.ReturnLineItem; export type ReturnOrderReference = io.flow.v0.models.ReturnOrderReference; export type ReturnPackageRatecardFee = io.flow.v0.models.ReturnPackageRatecardFee; export type ReturnPolicy = io.flow.v0.models.ReturnPolicy; export type ReturnPolicyForm = io.flow.v0.models.ReturnPolicyForm; export type ReturnPolicyItemResult = io.flow.v0.models.ReturnPolicyItemResult; export type ReturnPolicyState = io.flow.v0.enums.ReturnPolicyState; export type ReturnPolicyStatistic = io.flow.v0.models.ReturnPolicyStatistic; export type ReturnPolicyVersion = io.flow.v0.models.ReturnPolicyVersion; export type ReturnReason = io.flow.v0.models.ReturnReason; export type ReturnReasonForm = io.flow.v0.models.ReturnReasonForm; export type ReturnReasonPutForm = io.flow.v0.models.ReturnReasonPutForm; export type ReturnSource = io.flow.v0.unions.ReturnSource; export type ReturnSourceExternalVendor = io.flow.v0.models.ReturnSourceExternalVendor; export type ReturnSourceFlow = io.flow.v0.models.ReturnSourceFlow; export type ReturnStatus = io.flow.v0.enums.ReturnStatus; export type ReturnTrackingStatus = io.flow.v0.enums.ReturnTrackingStatus; export type ReturnVersion = io.flow.v0.models.ReturnVersion; export type Reversal = io.flow.v0.models.Reversal; export type ReversalDeleted = io.flow.v0.models.ReversalDeleted; export type ReversalError = io.flow.v0.models.ReversalError; export type ReversalErrorCode = io.flow.v0.enums.ReversalErrorCode; export type ReversalForm = io.flow.v0.models.ReversalForm; export type ReversalPutForm = io.flow.v0.models.ReversalPutForm; export type ReversalStatus = io.flow.v0.enums.ReversalStatus; export type ReversalUpserted = io.flow.v0.models.ReversalUpserted; export type ReversalVersion = io.flow.v0.models.ReversalVersion; export type ReviewStatus = io.flow.v0.enums.ReviewStatus; export type Role = io.flow.v0.enums.Role; export type Romanization = io.flow.v0.models.Romanization; export type RomanizationForm = io.flow.v0.models.RomanizationForm; export type Rounding = io.flow.v0.models.Rounding; export type RoundingMethod = io.flow.v0.enums.RoundingMethod; export type RoundingType = io.flow.v0.enums.RoundingType; export type RouteAudit = io.flow.v0.models.RouteAudit; export type RuleEffectType = io.flow.v0.enums.RuleEffectType; export type Schedule = io.flow.v0.models.Schedule; export type ScheduleExceptionStatus = io.flow.v0.enums.ScheduleExceptionStatus; export type ScheduledExport = io.flow.v0.models.ScheduledExport; export type ScheduledExportForm = io.flow.v0.models.ScheduledExportForm; export type ScheduledPickup = io.flow.v0.models.ScheduledPickup; export type SdkAdyenV3AuthenticationToken = io.flow.v0.unions.SdkAdyenV3AuthenticationToken; export type SecurityRatecardFee = io.flow.v0.models.SecurityRatecardFee; export type SecurityServiceFee = io.flow.v0.models.SecurityServiceFee; export type SelectIssuerOptionActionDetails = io.flow.v0.models.SelectIssuerOptionActionDetails; export type SelfBillingAgreement = io.flow.v0.models.SelfBillingAgreement; export type SellabilityError = io.flow.v0.models.SellabilityError; export type SellabilityErrorCode = io.flow.v0.enums.SellabilityErrorCode; export type SellabilityNeedsActionAttributes = io.flow.v0.models.SellabilityNeedsActionAttributes; export type SellabilityReasonWithRegions = io.flow.v0.models.SellabilityReasonWithRegions; export type SellabilityRegionResult = io.flow.v0.models.SellabilityRegionResult; export type SellabilityRegionWithReasons = io.flow.v0.models.SellabilityRegionWithReasons; export type SellabilityReprocessPolicy = io.flow.v0.enums.SellabilityReprocessPolicy; export type SellabilityRequest = io.flow.v0.unions.SellabilityRequest; export type SellabilityRequestStatus = io.flow.v0.enums.SellabilityRequestStatus; export type SellabilityResponse = io.flow.v0.unions.SellabilityResponse; export type SellabilityRestrictedReason = io.flow.v0.models.SellabilityRestrictedReason; export type SellabilityRestrictedRegion = io.flow.v0.models.SellabilityRestrictedRegion; export type SellabilityResultErrorCode = io.flow.v0.enums.SellabilityResultErrorCode; export type SellabilityResultStatus = io.flow.v0.enums.SellabilityResultStatus; export type SellabilityScreening = io.flow.v0.models.SellabilityScreening; export type SellabilityScreeningForm = io.flow.v0.models.SellabilityScreeningForm; export type SellabilityScreeningMode = io.flow.v0.enums.SellabilityScreeningMode; export type SellablilityRegionResult = io.flow.v0.models.SellablilityRegionResult; export type ServiceDescription = io.flow.v0.unions.ServiceDescription; export type ServiceFee = io.flow.v0.unions.ServiceFee; export type ServiceReference = io.flow.v0.models.ServiceReference; export type ServiceSummary = io.flow.v0.models.ServiceSummary; export type ServiceUnknown = io.flow.v0.models.ServiceUnknown; export type Session = io.flow.v0.unions.Session; export type SessionAuthorization = io.flow.v0.unions.SessionAuthorization; export type SessionAuthorizationForm = io.flow.v0.models.SessionAuthorizationForm; export type SessionCurrencyFormat = io.flow.v0.models.SessionCurrencyFormat; export type SessionExpirationConfig = io.flow.v0.models.SessionExpirationConfig; export type SessionForm = io.flow.v0.models.SessionForm; export type SessionFormat = io.flow.v0.models.SessionFormat; export type SessionGeo = io.flow.v0.models.SessionGeo; export type SessionPutForm = io.flow.v0.models.SessionPutForm; export type SessionReference = io.flow.v0.models.SessionReference; export type SessionVisit = io.flow.v0.models.SessionVisit; export type SessionVisitor = io.flow.v0.models.SessionVisitor; export type Settlement = io.flow.v0.unions.Settlement; export type SettlementNoPayout = io.flow.v0.models.SettlementNoPayout; export type SettlementPayout = io.flow.v0.models.SettlementPayout; export type SetupBlocked = io.flow.v0.models.SetupBlocked; export type SetupCompleted = io.flow.v0.models.SetupCompleted; export type SetupInProgress = io.flow.v0.models.SetupInProgress; export type ShipmentIntegrationType = io.flow.v0.enums.ShipmentIntegrationType; export type ShipmentRecipient = io.flow.v0.enums.ShipmentRecipient; export type ShipmentWindow = io.flow.v0.models.ShipmentWindow; export type Shipping = io.flow.v0.models.Shipping; export type ShippingAddress = io.flow.v0.models.ShippingAddress; export type ShippingConfiguration = io.flow.v0.models.ShippingConfiguration; export type ShippingConfigurationCopy = io.flow.v0.models.ShippingConfigurationCopy; export type ShippingConfigurationCopyForm = io.flow.v0.models.ShippingConfigurationCopyForm; export type ShippingConfigurationDeleted = io.flow.v0.models.ShippingConfigurationDeleted; export type ShippingConfigurationForm = io.flow.v0.models.ShippingConfigurationForm; export type ShippingConfigurationItemAvailability = io.flow.v0.models.ShippingConfigurationItemAvailability; export type ShippingConfigurationItemAvailabilityDeleted = io.flow.v0.models.ShippingConfigurationItemAvailabilityDeleted; export type ShippingConfigurationItemAvailabilityUpserted = io.flow.v0.models.ShippingConfigurationItemAvailabilityUpserted; export type ShippingConfigurationItemShippingPricing = io.flow.v0.models.ShippingConfigurationItemShippingPricing; export type ShippingConfigurationItemShippingPricingDeleted = io.flow.v0.models.ShippingConfigurationItemShippingPricingDeleted; export type ShippingConfigurationItemShippingPricingUpserted = io.flow.v0.models.ShippingConfigurationItemShippingPricingUpserted; export type ShippingConfigurationReference = io.flow.v0.models.ShippingConfigurationReference; export type ShippingConfigurationSummary = io.flow.v0.models.ShippingConfigurationSummary; export type ShippingConfigurationType = io.flow.v0.enums.ShippingConfigurationType; export type ShippingConfigurationUpserted = io.flow.v0.models.ShippingConfigurationUpserted; export type ShippingConfigurationVersion = io.flow.v0.models.ShippingConfigurationVersion; export type ShippingCostGuarantee = io.flow.v0.enums.ShippingCostGuarantee; export type ShippingLabel = io.flow.v0.models.ShippingLabel; export type ShippingLabelDocument = io.flow.v0.models.ShippingLabelDocument; export type ShippingLabelError = io.flow.v0.models.ShippingLabelError; export type ShippingLabelErrorCode = io.flow.v0.enums.ShippingLabelErrorCode; export type ShippingLabelForm = io.flow.v0.unions.ShippingLabelForm; export type ShippingLabelHopCostItemizedEstimate = io.flow.v0.models.ShippingLabelHopCostItemizedEstimate; export type ShippingLabelHopSummary = io.flow.v0.models.ShippingLabelHopSummary; export type ShippingLabelLaneSummary = io.flow.v0.models.ShippingLabelLaneSummary; export type ShippingLabelPackage = io.flow.v0.models.ShippingLabelPackage; export type ShippingLabelRatecardSummary = io.flow.v0.models.ShippingLabelRatecardSummary; export type ShippingLabelSummary = io.flow.v0.models.ShippingLabelSummary; export type ShippingLabelVersion = io.flow.v0.models.ShippingLabelVersion; export type ShippingLane = io.flow.v0.models.ShippingLane; export type ShippingLaneDefaultTier = io.flow.v0.models.ShippingLaneDefaultTier; export type ShippingLaneDefaultTierForm = io.flow.v0.models.ShippingLaneDefaultTierForm; export type ShippingLaneDeleted = io.flow.v0.models.ShippingLaneDeleted; export type ShippingLaneForm = io.flow.v0.models.ShippingLaneForm; export type ShippingLaneSummary = io.flow.v0.models.ShippingLaneSummary; export type ShippingLaneUpserted = io.flow.v0.models.ShippingLaneUpserted; export type ShippingLaneVersion = io.flow.v0.models.ShippingLaneVersion; export type ShippingNotification = io.flow.v0.models.ShippingNotification; export type ShippingNotificationForm = io.flow.v0.unions.ShippingNotificationForm; export type ShippingNotificationVersion = io.flow.v0.models.ShippingNotificationVersion; export type ShippingRateEstimate = io.flow.v0.models.ShippingRateEstimate; export type ShippingRateEstimateAvailable = io.flow.v0.models.ShippingRateEstimateAvailable; export type ShippingRateEstimateRequest = io.flow.v0.models.ShippingRateEstimateRequest; export type ShippingRateEstimateUnavailable = io.flow.v0.models.ShippingRateEstimateUnavailable; export type Shop = io.flow.v0.models.Shop; export type ShopifyCart = io.flow.v0.models.ShopifyCart; export type ShopifyCartAddForm = io.flow.v0.unions.ShopifyCartAddForm; export type ShopifyCartAddMultipleForm = io.flow.v0.models.ShopifyCartAddMultipleForm; export type ShopifyCartAddSingleForm = io.flow.v0.models.ShopifyCartAddSingleForm; export type ShopifyCartChangeForm = io.flow.v0.models.ShopifyCartChangeForm; export type ShopifyCartConversion = io.flow.v0.models.ShopifyCartConversion; export type ShopifyCartConversionFlowOrder = io.flow.v0.models.ShopifyCartConversionFlowOrder; export type ShopifyCartConversionShopifyCart = io.flow.v0.models.ShopifyCartConversionShopifyCart; export type ShopifyCartItem = io.flow.v0.models.ShopifyCartItem; export type ShopifyCustomerMetafieldValue = io.flow.v0.models.ShopifyCustomerMetafieldValue; export type ShopifyEventBucket = io.flow.v0.unions.ShopifyEventBucket; export type ShopifyGrant = io.flow.v0.enums.ShopifyGrant; export type ShopifyItemEventBucket = io.flow.v0.models.ShopifyItemEventBucket; export type ShopifyItemEventData = io.flow.v0.models.ShopifyItemEventData; export type ShopifyLine = io.flow.v0.models.ShopifyLine; export type ShopifyLocalCartItemMetadata = io.flow.v0.models.ShopifyLocalCartItemMetadata; export type ShopifyLocalCartMetadata = io.flow.v0.models.ShopifyLocalCartMetadata; export type ShopifyLocalPriceMetadata = io.flow.v0.models.ShopifyLocalPriceMetadata; export type ShopifyLocalizationMethod = io.flow.v0.enums.ShopifyLocalizationMethod; export type ShopifyLocalizationSetting = io.flow.v0.models.ShopifyLocalizationSetting; export type ShopifyLocalizationSettingDeleted = io.flow.v0.models.ShopifyLocalizationSettingDeleted; export type ShopifyLocalizationSettingForm = io.flow.v0.models.ShopifyLocalizationSettingForm; export type ShopifyLocalizationSettingUpserted = io.flow.v0.models.ShopifyLocalizationSettingUpserted; export type ShopifyLocalizedOrder = io.flow.v0.models.ShopifyLocalizedOrder; export type ShopifyLocalizedVariant = io.flow.v0.models.ShopifyLocalizedVariant; export type ShopifyLocalizedVariantPrices = io.flow.v0.models.ShopifyLocalizedVariantPrices; export type ShopifyLocationFlowCenterMapping = io.flow.v0.models.ShopifyLocationFlowCenterMapping; export type ShopifyLocationFlowCenterMappingForm = io.flow.v0.models.ShopifyLocationFlowCenterMappingForm; export type ShopifyLocationReference = io.flow.v0.models.ShopifyLocationReference; export type ShopifyMerchantApplication = io.flow.v0.models.ShopifyMerchantApplication; export type ShopifyMerchantApplicationForm = io.flow.v0.models.ShopifyMerchantApplicationForm; export type ShopifyMerchantApplicationPutForm = io.flow.v0.models.ShopifyMerchantApplicationPutForm; export type ShopifyMerchantApplicationsSummary = io.flow.v0.models.ShopifyMerchantApplicationsSummary; export type ShopifyOrderAttributesForm = io.flow.v0.models.ShopifyOrderAttributesForm; export type ShopifyOrderDeliveryMetafield = io.flow.v0.models.ShopifyOrderDeliveryMetafield; export type ShopifyOrderDeliveryMetafieldItem = io.flow.v0.models.ShopifyOrderDeliveryMetafieldItem; export type ShopifyOrderPriceAttributesMetafield = io.flow.v0.models.ShopifyOrderPriceAttributesMetafield; export type ShopifyOrderRomanizationMetafield = io.flow.v0.models.ShopifyOrderRomanizationMetafield; export type ShopifyPrice = io.flow.v0.models.ShopifyPrice; export type ShopifyPrivateApp = io.flow.v0.models.ShopifyPrivateApp; export type ShopifyPrivateAppForm = io.flow.v0.models.ShopifyPrivateAppForm; export type ShopifySyncCheck = io.flow.v0.enums.ShopifySyncCheck; export type ShopifySyncStatus = io.flow.v0.models.ShopifySyncStatus; export type ShopifyVariantFlowMetafield = io.flow.v0.models.ShopifyVariantFlowMetafield; export type ShopifyVariantInventoryMetafield = io.flow.v0.models.ShopifyVariantInventoryMetafield; export type SimplePermissionCheck = io.flow.v0.models.SimplePermissionCheck; export type SinglePackageShippingNotificationForm = io.flow.v0.models.SinglePackageShippingNotificationForm; export type SolidusProductExportType = io.flow.v0.models.SolidusProductExportType; export type SolidusVariantExportType = io.flow.v0.models.SolidusVariantExportType; export type SortDirection = io.flow.v0.enums.SortDirection; export type Statement = io.flow.v0.models.Statement; export type StatementAttachmentType = io.flow.v0.enums.StatementAttachmentType; export type StatementDeleted = io.flow.v0.models.StatementDeleted; export type StatementStatusCode = io.flow.v0.enums.StatementStatusCode; export type StatementStatusForm = io.flow.v0.models.StatementStatusForm; export type StatementUpserted = io.flow.v0.models.StatementUpserted; export type StoredMethodUsageStep = io.flow.v0.enums.StoredMethodUsageStep; export type Strategy = io.flow.v0.enums.Strategy; export type StreetAddress = io.flow.v0.models.StreetAddress; export type StripeAuthenticationData = io.flow.v0.models.StripeAuthenticationData; export type StripeAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm; export type StripeAuthorizationResultActionDetails = io.flow.v0.models.StripeAuthorizationResultActionDetails; export type Subcatalog = io.flow.v0.models.Subcatalog; export type SubcatalogDeleted = io.flow.v0.models.SubcatalogDeleted; export type SubcatalogForm = io.flow.v0.models.SubcatalogForm; export type SubcatalogItem = io.flow.v0.models.SubcatalogItem; export type SubcatalogItemDeleted = io.flow.v0.models.SubcatalogItemDeleted; export type SubcatalogItemStatus = io.flow.v0.enums.SubcatalogItemStatus; export type SubcatalogItemUpserted = io.flow.v0.models.SubcatalogItemUpserted; export type SubcatalogItemVersion = io.flow.v0.models.SubcatalogItemVersion; export type SubcatalogReference = io.flow.v0.models.SubcatalogReference; export type SubcatalogSettings = io.flow.v0.models.SubcatalogSettings; export type SubcatalogSettingsForm = io.flow.v0.models.SubcatalogSettingsForm; export type SubcatalogStatistics = io.flow.v0.models.SubcatalogStatistics; export type SubcatalogUpserted = io.flow.v0.models.SubcatalogUpserted; export type SubcatalogVersion = io.flow.v0.models.SubcatalogVersion; export type SubstatusCode = io.flow.v0.enums.SubstatusCode; export type Suggestion = io.flow.v0.models.Suggestion; export type SummaryShippingLabelForm = io.flow.v0.models.SummaryShippingLabelForm; export type SummaryShippingNotificationForm = io.flow.v0.models.SummaryShippingNotificationForm; export type SurchargeResponsibleParty = io.flow.v0.enums.SurchargeResponsibleParty; export type SurchargeResponsiblePartyDisplay = io.flow.v0.models.SurchargeResponsiblePartyDisplay; export type SurchargeSetting = io.flow.v0.models.SurchargeSetting; export type SurchargeSettingDisplay = io.flow.v0.models.SurchargeSettingDisplay; export type TariffCodes = io.flow.v0.models.TariffCodes; export type TariffCodesDeleted = io.flow.v0.models.TariffCodesDeleted; export type TariffCodesUpserted = io.flow.v0.models.TariffCodesUpserted; export type Tax = io.flow.v0.models.Tax; export type TaxAndDutyInclusivitySetting = io.flow.v0.enums.TaxAndDutyInclusivitySetting; export type TaxApplicability = io.flow.v0.enums.TaxApplicability; export type TaxBreakdown = io.flow.v0.models.TaxBreakdown; export type TaxDutyCalculatorValidationError = io.flow.v0.models.TaxDutyCalculatorValidationError; export type TaxDutyCalculatorValidationErrorCode = io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode; export type TaxDutyQuote = io.flow.v0.models.TaxDutyQuote; export type TaxDutyQuoteFeeValue = io.flow.v0.models.TaxDutyQuoteFeeValue; export type TaxDutyQuoteForm = io.flow.v0.models.TaxDutyQuoteForm; export type TaxDutyQuoteLevyValue = io.flow.v0.unions.TaxDutyQuoteLevyValue; export type TaxDutyQuoteLineItem = io.flow.v0.models.TaxDutyQuoteLineItem; export type TaxDutyQuoteLineItemForm = io.flow.v0.models.TaxDutyQuoteLineItemForm; export type TaxDutyQuoteSimpleLevyValue = io.flow.v0.models.TaxDutyQuoteSimpleLevyValue; export type TaxDutyQuoteSimpleShipping = io.flow.v0.models.TaxDutyQuoteSimpleShipping; export type TaxDutyQuoteSimpleShippingForm = io.flow.v0.models.TaxDutyQuoteSimpleShippingForm; export type TaxDutyQuoteValues = io.flow.v0.models.TaxDutyQuoteValues; export type TaxDutyTransactionReasonCode = io.flow.v0.enums.TaxDutyTransactionReasonCode; export type TaxJurisdictionType = io.flow.v0.enums.TaxJurisdictionType; export type TaxRegistration = io.flow.v0.models.TaxRegistration; export type TaxRegistrationDeleted = io.flow.v0.models.TaxRegistrationDeleted; export type TaxRegistrationDetail = io.flow.v0.models.TaxRegistrationDetail; export type TaxRegistrationUpserted = io.flow.v0.models.TaxRegistrationUpserted; export type TaxType = io.flow.v0.enums.TaxType; export type TaxVerificationResult = io.flow.v0.enums.TaxVerificationResult; export type TaxabilityType = io.flow.v0.enums.TaxabilityType; export type TaxabilityValue = io.flow.v0.enums.TaxabilityValue; export type TestUpserted = io.flow.v0.models.TestUpserted; export type ThirdPartyLogisticsPartner = io.flow.v0.models.ThirdPartyLogisticsPartner; export type ThreeDSecure = io.flow.v0.models.ThreeDSecure; export type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode; export type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction; export type ThreedsChallengeActionDetails = io.flow.v0.models.ThreedsChallengeActionDetails; export type ThreedsIdentifyAction = io.flow.v0.unions.ThreedsIdentifyAction; export type ThreedsIdentifyActionDetails = io.flow.v0.models.ThreedsIdentifyActionDetails; export type ThreedsTwoChallengeRequest = io.flow.v0.models.ThreedsTwoChallengeRequest; export type ThreedsTwoChallengeViewport = io.flow.v0.enums.ThreedsTwoChallengeViewport; export type ThreedsTwoMethod = io.flow.v0.models.ThreedsTwoMethod; export type Tier = io.flow.v0.models.Tier; export type TierAvailability = io.flow.v0.enums.TierAvailability; export type TierDeletedV2 = io.flow.v0.models.TierDeletedV2; export type TierDisplay = io.flow.v0.models.TierDisplay; export type TierDisplayForm = io.flow.v0.models.TierDisplayForm; export type TierEstimate = io.flow.v0.models.TierEstimate; export type TierEstimateType = io.flow.v0.enums.TierEstimateType; export type TierForm = io.flow.v0.models.TierForm; export type TierReference = io.flow.v0.models.TierReference; export type TierRule = io.flow.v0.models.TierRule; export type TierRuleForm = io.flow.v0.models.TierRuleForm; export type TierRuleOutcome = io.flow.v0.unions.TierRuleOutcome; export type TierRuleOutcomeForm = io.flow.v0.unions.TierRuleOutcomeForm; export type TierRuleVersion = io.flow.v0.models.TierRuleVersion; export type TierSettings = io.flow.v0.models.TierSettings; export type TierStrategy = io.flow.v0.enums.TierStrategy; export type TierSummary = io.flow.v0.models.TierSummary; export type TierUpsertedV2 = io.flow.v0.models.TierUpsertedV2; export type TierVersion = io.flow.v0.models.TierVersion; export type Timezone = io.flow.v0.models.Timezone; export type Token = io.flow.v0.unions.Token; export type TokenAuthenticationForm = io.flow.v0.models.TokenAuthenticationForm; export type TokenPartnerReference = io.flow.v0.models.TokenPartnerReference; export type TokenRbacAuthenticationForm = io.flow.v0.models.TokenRbacAuthenticationForm; export type TokenReference = io.flow.v0.unions.TokenReference; export type TokenType = io.flow.v0.enums.TokenType; export type TokenValidation = io.flow.v0.models.TokenValidation; export type TokenValidationForm = io.flow.v0.models.TokenValidationForm; export type Tracking = io.flow.v0.models.Tracking; export type TrackingEvent = io.flow.v0.models.TrackingEvent; export type TrackingEventForm = io.flow.v0.models.TrackingEventForm; export type TrackingEventSummary = io.flow.v0.models.TrackingEventSummary; export type TrackingEventVersion = io.flow.v0.models.TrackingEventVersion; export type TrackingForm = io.flow.v0.models.TrackingForm; export type TrackingLabel = io.flow.v0.models.TrackingLabel; export type TrackingLabelEventUpserted = io.flow.v0.models.TrackingLabelEventUpserted; export type TrackingLabelEventUpsertedV2 = io.flow.v0.models.TrackingLabelEventUpsertedV2; export type TrackingLabelEventV2 = io.flow.v0.models.TrackingLabelEventV2; export type TrackingLabelForm = io.flow.v0.models.TrackingLabelForm; export type TrackingLabelSummary = io.flow.v0.models.TrackingLabelSummary; export type TrackingLabelVersion = io.flow.v0.models.TrackingLabelVersion; export type TrackingNumberType = io.flow.v0.enums.TrackingNumberType; export type TrackingStatus = io.flow.v0.enums.TrackingStatus; export type TrackingSummary = io.flow.v0.models.TrackingSummary; export type TrackingVersion = io.flow.v0.models.TrackingVersion; export type TradeAgreement = io.flow.v0.models.TradeAgreement; export type TradeAgreementCertifier = io.flow.v0.models.TradeAgreementCertifier; export type TradeAgreementDuty = io.flow.v0.models.TradeAgreementDuty; export type TradeAgreementName = io.flow.v0.enums.TradeAgreementName; export type TradeAgreementStatus = io.flow.v0.enums.TradeAgreementStatus; export type Transaction = io.flow.v0.models.Transaction; export type TransactionDetails = io.flow.v0.unions.TransactionDetails; export type TransactionDetailsCard = io.flow.v0.models.TransactionDetailsCard; export type TransactionMetadata = io.flow.v0.unions.TransactionMetadata; export type TransactionMetadataCarrierCharge = io.flow.v0.models.TransactionMetadataCarrierCharge; export type TransactionMetadataChannel = io.flow.v0.models.TransactionMetadataChannel; export type TransactionMetadataChannelCardMetadata = io.flow.v0.models.TransactionMetadataChannelCardMetadata; export type TransactionMetadataChannelCardMetadataIssuerSummary = io.flow.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary; export type TransactionMetadataChannelOrganizationTransaction = io.flow.v0.models.TransactionMetadataChannelOrganizationTransaction; export type TransactionMetadataFailedPayout = io.flow.v0.models.TransactionMetadataFailedPayout; export type TransactionMetadataFailedPayoutReference = io.flow.v0.models.TransactionMetadataFailedPayoutReference; export type TransactionMetadataFlatRateLabel = io.flow.v0.models.TransactionMetadataFlatRateLabel; export type TransactionMetadataManual = io.flow.v0.models.TransactionMetadataManual; export type TransactionMetadataMerchantFee = io.flow.v0.models.TransactionMetadataMerchantFee; export type TransactionMetadataMerchantFeeItem = io.flow.v0.models.TransactionMetadataMerchantFeeItem; export type TransactionMetadataOriginalTransaction = io.flow.v0.models.TransactionMetadataOriginalTransaction; export type TransactionMetadataOutboundTransaction = io.flow.v0.models.TransactionMetadataOutboundTransaction; export type TransactionMetadataPaymentTransaction = io.flow.v0.models.TransactionMetadataPaymentTransaction; export type TransactionMetadataShippingLabel = io.flow.v0.models.TransactionMetadataShippingLabel; export type TransactionMetadataShippingLabelCarrier = io.flow.v0.models.TransactionMetadataShippingLabelCarrier; export type TransactionMetadataTaxDuty = io.flow.v0.models.TransactionMetadataTaxDuty; export type TransactionMetadataTaxDutyActual = io.flow.v0.models.TransactionMetadataTaxDutyActual; export type TransactionMetadataTaxDutyDelta = io.flow.v0.models.TransactionMetadataTaxDutyDelta; export type TransactionMetadataTaxDutyEstimate = io.flow.v0.models.TransactionMetadataTaxDutyEstimate; export type TransactionMetadataTrueup = io.flow.v0.models.TransactionMetadataTrueup; export type TransactionMetadataTrueupBase = io.flow.v0.models.TransactionMetadataTrueupBase; export type TransactionMetadataTrueupBaseData = io.flow.v0.models.TransactionMetadataTrueupBaseData; export type TransactionMetadataTrueupData = io.flow.v0.models.TransactionMetadataTrueupData; export type TransactionMetadataTrueupSurcharge = io.flow.v0.models.TransactionMetadataTrueupSurcharge; export type TransactionMetadataTrueupSurchargeData = io.flow.v0.models.TransactionMetadataTrueupSurchargeData; export type TransactionNetworkDetailsCard = io.flow.v0.models.TransactionNetworkDetailsCard; export type TransactionReference = io.flow.v0.models.TransactionReference; export type TransactionSource = io.flow.v0.enums.TransactionSource; export type TransactionUpserted = io.flow.v0.models.TransactionUpserted; export type Transfer = io.flow.v0.models.Transfer; export type TransferDeleted = io.flow.v0.models.TransferDeleted; export type TransferReference = io.flow.v0.unions.TransferReference; export type TransferStatus = io.flow.v0.enums.TransferStatus; export type TransferType = io.flow.v0.enums.TransferType; export type TransferUpserted = io.flow.v0.models.TransferUpserted; export type TransitEstimate = io.flow.v0.models.TransitEstimate; export type TransitWindow = io.flow.v0.models.TransitWindow; export type TrueupLabelBase = io.flow.v0.models.TrueupLabelBase; export type TrueupLabelBaseV2 = io.flow.v0.models.TrueupLabelBaseV2; export type TrueupLabelBaseWeight = io.flow.v0.models.TrueupLabelBaseWeight; export type TrueupLabelFuel = io.flow.v0.models.TrueupLabelFuel; export type TrueupLabelSurcharge = io.flow.v0.models.TrueupLabelSurcharge; export type TrueupLabelUnits = io.flow.v0.models.TrueupLabelUnits; export type TrueupLabelWeights = io.flow.v0.models.TrueupLabelWeights; export type TrueupSource = io.flow.v0.enums.TrueupSource; export type TrueupSurchargeType = io.flow.v0.enums.TrueupSurchargeType; export type UltimateBeneficiaryOwner = io.flow.v0.models.UltimateBeneficiaryOwner; export type UnharmonizedItemExportType = io.flow.v0.models.UnharmonizedItemExportType; export type UnitOfLength = io.flow.v0.enums.UnitOfLength; export type UnitOfMeasurement = io.flow.v0.enums.UnitOfMeasurement; export type UnitOfTime = io.flow.v0.enums.UnitOfTime; export type UnitOfVolume = io.flow.v0.enums.UnitOfVolume; export type UnitOfWeight = io.flow.v0.enums.UnitOfWeight; export type UpdatePolicy = io.flow.v0.enums.UpdatePolicy; export type Upload = io.flow.v0.models.Upload; export type User = io.flow.v0.models.User; export type UserForm = io.flow.v0.models.UserForm; export type UserPutForm = io.flow.v0.models.UserPutForm; export type UserReference = io.flow.v0.models.UserReference; export type UserStatus = io.flow.v0.enums.UserStatus; export type UserVersion = io.flow.v0.models.UserVersion; export type ValueAddedService = io.flow.v0.enums.ValueAddedService; export type ValueThresholdExceededDetails = io.flow.v0.models.ValueThresholdExceededDetails; export type VirtualCard = io.flow.v0.models.VirtualCard; export type VirtualCardCapture = io.flow.v0.models.VirtualCardCapture; export type VirtualCardCaptureDeleted = io.flow.v0.models.VirtualCardCaptureDeleted; export type VirtualCardCaptureUpserted = io.flow.v0.models.VirtualCardCaptureUpserted; export type VirtualCardCaptureVersion = io.flow.v0.models.VirtualCardCaptureVersion; export type VirtualCardReference = io.flow.v0.models.VirtualCardReference; export type VirtualCardRefund = io.flow.v0.models.VirtualCardRefund; export type VirtualCardRefundDeleted = io.flow.v0.models.VirtualCardRefundDeleted; export type VirtualCardRefundUpserted = io.flow.v0.models.VirtualCardRefundUpserted; export type VirtualCardRefundVersion = io.flow.v0.models.VirtualCardRefundVersion; export type VirtualCardVersion = io.flow.v0.models.VirtualCardVersion; export type Visibility = io.flow.v0.enums.Visibility; export type Webhook = io.flow.v0.models.Webhook; export type WebhookDelivery = io.flow.v0.models.WebhookDelivery; export type WebhookForm = io.flow.v0.models.WebhookForm; export type WebhookReference = io.flow.v0.models.WebhookReference; export type WebhookRequest = io.flow.v0.models.WebhookRequest; export type WebhookRequestReference = io.flow.v0.models.WebhookRequestReference; export type WebhookResponse = io.flow.v0.models.WebhookResponse; export type WebhookSettings = io.flow.v0.models.WebhookSettings; export type WebhookStatus = io.flow.v0.enums.WebhookStatus; export type WithholdingDeduction = io.flow.v0.models.WithholdingDeduction; export type WithholdingDeductionType = io.flow.v0.enums.WithholdingDeductionType; export type ZeroAmountIndicator = io.flow.v0.enums.ZeroAmountIndicator; export type ZeroLevyReasonCode = io.flow.v0.enums.ZeroLevyReasonCode; export type Zone = io.flow.v0.models.Zone;