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,CAAS,IAAA,IAAS,QAAA,CAAS,IAAA,KAAS,OAAA,CAAO,IAAA;AAAA,EACnD;AAAA,EAGA,aAAa,EAAA,EAA0C;AACtD,IAAA,OAAO,KAAA,CAAM,qBAA+B,EAAE,CAAA;AAAA,EAC/C;AAAA,EAEA,sBAAsB,GAAA,EAA2B;AAChD,IAAA,OAAO,KAAA,CAAM,qBAAA,CAAgC,GAAG,GAAG,CAAA;AAAA,EACpD;AAAA,EAGA,IAAA,GAAkB;AACjB,IAAA,OAAO,OAAA,CAAO,IAAA;AAAA,EACf;AAED,CAAA;AAGA,IAAM,QAAA,GAAW,IAAI,MAAA,EAAO;AAC5B,IAAO,cAAA,GAAQ","file":"chunk-FLFTXWLQ.cjs","sourcesContent":["import { ApiResource } from '../resource'\nimport type { Resource, ResourceCreate, ResourceUpdate, ResourceId, ResourcesConfig, ResourceRel, ListResponse, ResourceSort, /* ResourceFilter */ } from '../resource'\nimport type { QueryParamsRetrieve, QueryParamsList } from '../query'\n\nimport type { Market, MarketType } from './markets'\nimport type { Customer, CustomerType } from './customers'\nimport type { Address, AddressType } from './addresses'\nimport type { Store, StoreType } from './stores'\nimport type { ShippingMethod } from './shipping_methods'\nimport type { PaymentMethod, PaymentMethodType } from './payment_methods'\nimport type { CustomerPaymentSource } from './customer_payment_sources'\nimport type { Sku } from './skus'\nimport type { Bundle } from './bundles'\nimport type { DiscountEngineItem } from './discount_engine_items'\nimport type { LineItem } from './line_items'\nimport type { LineItemOption } from './line_item_options'\nimport type { StockReservation } from './stock_reservations'\nimport type { StockLineItem } from './stock_line_items'\nimport type { StockTransfer } from './stock_transfers'\nimport type { Shipment } from './shipments'\nimport type { PaymentOption } from './payment_options'\nimport type { Authorization } from './authorizations'\nimport type { Capture } from './captures'\nimport type { Void } from './voids'\nimport type { Refund } from './refunds'\nimport type { Return } from './returns'\nimport type { OrderSubscription } from './order_subscriptions'\nimport type { OrderFactory } from './order_factories'\nimport type { OrderCopy } from './order_copies'\nimport type { RecurringOrderCopy } from './recurring_order_copies'\nimport type { Attachment } from './attachments'\nimport type { Notification } from './notifications'\nimport type { Link } from './links'\nimport type { ResourceError } from './resource_errors'\nimport type { Event } from './events'\nimport type { Tag, TagType } from './tags'\nimport type { Version } from './versions'\nimport type { EventStore } from './event_stores'\nimport type { AdyenPayment, AdyenPaymentType } from './adyen_payments'\nimport type { AxervePayment, AxervePaymentType } from './axerve_payments'\nimport type { BraintreePayment, BraintreePaymentType } from './braintree_payments'\nimport type { CheckoutComPayment, CheckoutComPaymentType } from './checkout_com_payments'\nimport type { ExternalPayment, ExternalPaymentType } from './external_payments'\nimport type { KlarnaPayment, KlarnaPaymentType } from './klarna_payments'\nimport type { PaypalPayment, PaypalPaymentType } from './paypal_payments'\nimport type { SatispayPayment, SatispayPaymentType } from './satispay_payments'\nimport type { StripePayment, StripePaymentType } from './stripe_payments'\nimport type { WireTransfer, WireTransferType } from './wire_transfers'\n\n\ntype OrderType = 'orders'\ntype OrderRel = ResourceRel & { type: OrderType }\ntype MarketRel = ResourceRel & { type: MarketType }\ntype CustomerRel = ResourceRel & { type: CustomerType }\ntype AddressRel = ResourceRel & { type: AddressType }\ntype StoreRel = ResourceRel & { type: StoreType }\ntype PaymentMethodRel = ResourceRel & { type: PaymentMethodType }\ntype AdyenPaymentRel = ResourceRel & { type: AdyenPaymentType }\ntype AxervePaymentRel = ResourceRel & { type: AxervePaymentType }\ntype BraintreePaymentRel = ResourceRel & { type: BraintreePaymentType }\ntype CheckoutComPaymentRel = ResourceRel & { type: CheckoutComPaymentType }\ntype ExternalPaymentRel = ResourceRel & { type: ExternalPaymentType }\ntype KlarnaPaymentRel = ResourceRel & { type: KlarnaPaymentType }\ntype PaypalPaymentRel = ResourceRel & { type: PaypalPaymentType }\ntype SatispayPaymentRel = ResourceRel & { type: SatispayPaymentType }\ntype StripePaymentRel = ResourceRel & { type: StripePaymentType }\ntype WireTransferRel = ResourceRel & { type: WireTransferType }\ntype TagRel = ResourceRel & { type: TagType }\n\n\nexport type OrderSort = Pick<Order, 'id' | 'number' | 'affiliate_code' | 'place_async' | 'status' | 'payment_status' | 'fulfillment_status' | 'guest' | 'language_code' | 'currency_code' | 'tax_included' | 'tax_rate' | 'country_code' | 'coupon_code' | 'gift_card_code' | 'subtotal_amount_cents' | 'shipping_amount_cents' | 'payment_method_amount_cents' | 'discount_amount_cents' | 'adjustment_amount_cents' | 'gift_card_amount_cents' | 'total_tax_amount_cents' | 'subtotal_tax_amount_cents' | 'total_amount_cents' | 'fees_amount_cents' | 'duty_amount_cents' | 'placed_at' | 'approved_at' | 'cancelled_at' | 'payment_updated_at' | 'fulfillment_updated_at' | 'refreshed_at' | 'archived_at' | 'subscription_created_at' | 'expires_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceSort\n// export type OrderFilter = Pick<Order, 'id' | 'number' | 'affiliate_code' | 'place_async' | 'status' | 'payment_status' | 'fulfillment_status' | 'guest' | 'customer_email' | 'language_code' | 'currency_code' | 'tax_included' | 'tax_rate' | 'country_code' | 'coupon_code' | 'gift_card_code' | 'subtotal_amount_cents' | 'shipping_amount_cents' | 'payment_method_amount_cents' | 'discount_amount_cents' | 'adjustment_amount_cents' | 'gift_card_amount_cents' | 'total_tax_amount_cents' | 'subtotal_tax_amount_cents' | 'total_amount_cents' | 'fees_amount_cents' | 'duty_amount_cents' | 'payment_source_details' | 'token' | 'placed_at' | 'approved_at' | 'cancelled_at' | 'payment_updated_at' | 'fulfillment_updated_at' | 'refreshed_at' | 'archived_at' | 'subscription_created_at' | 'expires_at' | 'circuit_state' | 'circuit_failure_count'> & ResourceFilter\n\n\ninterface Order extends Resource {\n\t\n\treadonly type: OrderType\n\n\t/** \n\t * The order identifier. Can be specified if unique within the organization (for enterprise plans only), default to numeric ID otherwise. Cannot be passed by sales channels.\n\t * @example ```\"1234\"```\n\t */\n\tnumber?: string | null\n\t/** \n\t * The affiliate code, if any, to track commissions using any third party services.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\taffiliate_code?: string | null\n\t/** \n\t * Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster).\n\t * @example ```true```\n\t */\n\tautorefresh?: boolean | null\n\t/** \n\t * Save this attribute as 'true' if you want perform the place asynchronously. Payment errors, if any, will be collected afterwards.\n\t * @example ```true```\n\t */\n\tplace_async?: boolean | null\n\t/** \n\t * The order status. One of 'draft' (default), 'pending', 'editing', 'placing', 'placed', 'approved', or 'cancelled'.\n\t * @example ```\"draft\"```\n\t */\n\tstatus: 'draft' | 'pending' | 'editing' | 'placing' | 'placed' | 'approved' | 'cancelled'\n\t/** \n\t * The order payment status. One of 'unpaid' (default), 'authorized', 'partially_authorized', 'paid', 'partially_paid', 'voided', 'partially_voided', 'refunded', 'partially_refunded', or 'free'.\n\t * @example ```\"unpaid\"```\n\t */\n\tpayment_status: 'unpaid' | 'authorized' | 'partially_authorized' | 'paid' | 'partially_paid' | 'voided' | 'partially_voided' | 'refunded' | 'partially_refunded' | 'free'\n\t/** \n\t * The order fulfillment status. One of 'unfulfilled' (default), 'in_progress', 'fulfilled', or 'not_required'.\n\t * @example ```\"unfulfilled\"```\n\t */\n\tfulfillment_status: 'unfulfilled' | 'in_progress' | 'fulfilled' | 'not_required'\n\t/** \n\t * Indicates if the order has been placed as guest.\n\t * @example ```true```\n\t */\n\tguest?: boolean | null\n\t/** \n\t * Indicates if the order can be edited.\n\t * @example ```true```\n\t */\n\teditable?: boolean | null\n\t/** \n\t * The email address of the associated customer. When creating or updating an order, this is a shortcut to find or create the associated customer by email.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email?: string | null\n\t/** \n\t * The preferred language code (ISO 639-1) to be used when communicating with the customer. This can be useful when sending the order to 3rd party marketing tools and CRMs. If the language is supported, the hosted checkout will be localized accordingly.\n\t * @example ```\"it\"```\n\t */\n\tlanguage_code?: string | null\n\t/** \n\t * The international 3-letter currency code as defined by the ISO 4217 standard, automatically inherited from the order's market.\n\t * @example ```\"EUR\"```\n\t */\n\tcurrency_code?: string | null\n\t/** \n\t * Indicates if taxes are included in the order amounts, automatically inherited from the order's price list.\n\t * @example ```true```\n\t */\n\ttax_included?: boolean | null\n\t/** \n\t * The tax rate for this order (if calculated).\n\t * @example ```0.22```\n\t */\n\ttax_rate?: number | null\n\t/** \n\t * Indicates if taxes are applied to shipping costs.\n\t * @example ```true```\n\t */\n\tfreight_taxable?: boolean | null\n\t/** \n\t * Indicates if taxes are applied to payment methods costs.\n\t * @example ```true```\n\t */\n\tpayment_method_taxable?: boolean | null\n\t/** \n\t * Indicates if taxes are applied to positive adjustments.\n\t * @example ```true```\n\t */\n\tadjustment_taxable?: boolean | null\n\t/** \n\t * Indicates if taxes are applied to purchased gift cards.\n\t */\n\tgift_card_taxable?: boolean | null\n\t/** \n\t * Indicates if the billing address associated to this order requires billing info to be present.\n\t */\n\trequires_billing_info?: boolean | null\n\t/** \n\t * The international 2-letter country code as defined by the ISO 3166-1 standard, automatically inherited from the order's shipping or billing addresses.\n\t * @example ```\"IT\"```\n\t */\n\tcountry_code?: string | null\n\t/** \n\t * The country code that you want the shipping address to be locked to. This can be useful to make sure the shipping address belongs to a given shipping country, e.g. the one selected in a country selector page. Not relevant if order contains only digital products.\n\t * @example ```\"IT\"```\n\t */\n\tshipping_country_code_lock?: string | null\n\t/** \n\t * The coupon code to be used for the order. If valid, it triggers a promotion adding a discount line item to the order.\n\t * @example ```\"SUMMERDISCOUNT\"```\n\t */\n\tcoupon_code?: string | null\n\t/** \n\t * The gift card code (at least the first 8 characters) to be used for the order. If valid, it uses the gift card balance to pay for the order.\n\t * @example ```\"cc92c23e-967e-48b2-a323-59add603301f\"```\n\t */\n\tgift_card_code?: string | null\n\t/** \n\t * The sum of all the SKU line items total amounts, in cents.\n\t * @example ```5000```\n\t */\n\tsubtotal_amount_cents?: number | null\n\t/** \n\t * The sum of all the SKU line items total amounts, float.\n\t * @example ```50```\n\t */\n\tsubtotal_amount_float?: number | null\n\t/** \n\t * The sum of all the SKU line items total amounts, formatted.\n\t * @example ```\"€50,00\"```\n\t */\n\tformatted_subtotal_amount?: string | null\n\t/** \n\t * The sum of all the shipping costs, in cents.\n\t * @example ```1200```\n\t */\n\tshipping_amount_cents?: number | null\n\t/** \n\t * The sum of all the shipping costs, float.\n\t * @example ```12```\n\t */\n\tshipping_amount_float?: number | null\n\t/** \n\t * The sum of all the shipping costs, formatted.\n\t * @example ```\"€12,00\"```\n\t */\n\tformatted_shipping_amount?: string | null\n\t/** \n\t * The payment method costs, in cents.\n\t */\n\tpayment_method_amount_cents?: number | null\n\t/** \n\t * The payment method costs, float.\n\t */\n\tpayment_method_amount_float?: number | null\n\t/** \n\t * The payment method costs, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_payment_method_amount?: string | null\n\t/** \n\t * The sum of all the discounts applied to the order, in cents (negative amount).\n\t * @example ```-500```\n\t */\n\tdiscount_amount_cents?: number | null\n\t/** \n\t * The sum of all the discounts applied to the order, float.\n\t * @example ```-5```\n\t */\n\tdiscount_amount_float?: number | null\n\t/** \n\t * The sum of all the discounts applied to the order, formatted.\n\t * @example ```\"-€5,00\"```\n\t */\n\tformatted_discount_amount?: string | null\n\t/** \n\t * The sum of all the adjustments applied to the order, in cents.\n\t * @example ```1500```\n\t */\n\tadjustment_amount_cents?: number | null\n\t/** \n\t * The sum of all the adjustments applied to the order, float.\n\t * @example ```15```\n\t */\n\tadjustment_amount_float?: number | null\n\t/** \n\t * The sum of all the adjustments applied to the order, formatted.\n\t * @example ```\"€15,00\"```\n\t */\n\tformatted_adjustment_amount?: string | null\n\t/** \n\t * The sum of all the gift_cards applied to the order, in cents.\n\t * @example ```1500```\n\t */\n\tgift_card_amount_cents?: number | null\n\t/** \n\t * The sum of all the gift_cards applied to the order, float.\n\t * @example ```15```\n\t */\n\tgift_card_amount_float?: number | null\n\t/** \n\t * The sum of all the gift_cards applied to the order, formatted.\n\t * @example ```\"€15,00\"```\n\t */\n\tformatted_gift_card_amount?: string | null\n\t/** \n\t * The sum of all the taxes applied to the order, in cents.\n\t * @example ```1028```\n\t */\n\ttotal_tax_amount_cents?: number | null\n\t/** \n\t * The sum of all the taxes applied to the order, float.\n\t * @example ```10.28```\n\t */\n\ttotal_tax_amount_float?: number | null\n\t/** \n\t * The sum of all the taxes applied to the order, formatted.\n\t * @example ```\"€10,28\"```\n\t */\n\tformatted_total_tax_amount?: string | null\n\t/** \n\t * The taxes applied to the order's subtotal, in cents.\n\t * @example ```902```\n\t */\n\tsubtotal_tax_amount_cents?: number | null\n\t/** \n\t * The taxes applied to the order's subtotal, float.\n\t * @example ```9.02```\n\t */\n\tsubtotal_tax_amount_float?: number | null\n\t/** \n\t * The taxes applied to the order's subtotal, formatted.\n\t * @example ```\"€9,02\"```\n\t */\n\tformatted_subtotal_tax_amount?: string | null\n\t/** \n\t * The taxes applied to the order's shipping costs, in cents.\n\t * @example ```216```\n\t */\n\tshipping_tax_amount_cents?: number | null\n\t/** \n\t * The taxes applied to the order's shipping costs, float.\n\t * @example ```2.16```\n\t */\n\tshipping_tax_amount_float?: number | null\n\t/** \n\t * The taxes applied to the order's shipping costs, formatted.\n\t * @example ```\"€2,16\"```\n\t */\n\tformatted_shipping_tax_amount?: string | null\n\t/** \n\t * The taxes applied to the order's payment method costs, in cents.\n\t */\n\tpayment_method_tax_amount_cents?: number | null\n\t/** \n\t * The taxes applied to the order's payment method costs, float.\n\t */\n\tpayment_method_tax_amount_float?: number | null\n\t/** \n\t * The taxes applied to the order's payment method costs, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_payment_method_tax_amount?: string | null\n\t/** \n\t * The taxes applied to the order adjustments, in cents.\n\t * @example ```900```\n\t */\n\tadjustment_tax_amount_cents?: number | null\n\t/** \n\t * The taxes applied to the order adjustments, float.\n\t * @example ```9```\n\t */\n\tadjustment_tax_amount_float?: number | null\n\t/** \n\t * The taxes applied to the order adjustments, formatted.\n\t * @example ```\"€9,00\"```\n\t */\n\tformatted_adjustment_tax_amount?: string | null\n\t/** \n\t * The order's total amount, in cents.\n\t * @example ```5700```\n\t */\n\ttotal_amount_cents?: number | null\n\t/** \n\t * The order's total amount, float.\n\t * @example ```57```\n\t */\n\ttotal_amount_float?: number | null\n\t/** \n\t * The order's total amount, formatted.\n\t * @example ```\"€57,00\"```\n\t */\n\tformatted_total_amount?: string | null\n\t/** \n\t * The order's total taxable amount, in cents (without discounts).\n\t * @example ```4672```\n\t */\n\ttotal_taxable_amount_cents?: number | null\n\t/** \n\t * The order's total taxable amount, float.\n\t * @example ```46.72```\n\t */\n\ttotal_taxable_amount_float?: number | null\n\t/** \n\t * The order's total taxable amount, formatted.\n\t * @example ```\"€46,72\"```\n\t */\n\tformatted_total_taxable_amount?: string | null\n\t/** \n\t * The order's subtotal taxable amount, in cents (equal to subtotal_amount_cents when prices don't include taxes).\n\t * @example ```4098```\n\t */\n\tsubtotal_taxable_amount_cents?: number | null\n\t/** \n\t * The order's subtotal taxable amount, float.\n\t * @example ```40.98```\n\t */\n\tsubtotal_taxable_amount_float?: number | null\n\t/** \n\t * The order's subtotal taxable amount, formatted.\n\t * @example ```\"€40,98\"```\n\t */\n\tformatted_subtotal_taxable_amount?: string | null\n\t/** \n\t * The order's shipping taxable amount, in cents (equal to shipping_amount_cents when prices don't include taxes).\n\t * @example ```984```\n\t */\n\tshipping_taxable_amount_cents?: number | null\n\t/** \n\t * The order's shipping taxable amount, float.\n\t * @example ```9.84```\n\t */\n\tshipping_taxable_amount_float?: number | null\n\t/** \n\t * The order's shipping taxable amount, formatted.\n\t * @example ```\"€9,84\"```\n\t */\n\tformatted_shipping_taxable_amount?: string | null\n\t/** \n\t * The order's payment method taxable amount, in cents (equal to payment_method_amount_cents when prices don't include taxes).\n\t */\n\tpayment_method_taxable_amount_cents?: number | null\n\t/** \n\t * The order's payment method taxable amount, float.\n\t */\n\tpayment_method_taxable_amount_float?: number | null\n\t/** \n\t * The order's payment method taxable amount, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_payment_method_taxable_amount?: string | null\n\t/** \n\t * The order's adjustment taxable amount, in cents (equal to discount_adjustment_cents when prices don't include taxes).\n\t * @example ```120```\n\t */\n\tadjustment_taxable_amount_cents?: number | null\n\t/** \n\t * The order's adjustment taxable amount, float.\n\t * @example ```1.2```\n\t */\n\tadjustment_taxable_amount_float?: number | null\n\t/** \n\t * The order's adjustment taxable amount, formatted.\n\t * @example ```\"€1,20\"```\n\t */\n\tformatted_adjustment_taxable_amount?: string | null\n\t/** \n\t * The order's total amount (when prices include taxes) or the order's total + taxes amount (when prices don't include taxes, e.g. US Markets or B2B).\n\t * @example ```5700```\n\t */\n\ttotal_amount_with_taxes_cents?: number | null\n\t/** \n\t * The order's total amount with taxes, float.\n\t * @example ```57```\n\t */\n\ttotal_amount_with_taxes_float?: number | null\n\t/** \n\t * The order's total amount with taxes, formatted.\n\t * @example ```\"€57,00\"```\n\t */\n\tformatted_total_amount_with_taxes?: string | null\n\t/** \n\t * The fees amount that is applied by Commerce Layer, in cents.\n\t */\n\tfees_amount_cents?: number | null\n\t/** \n\t * The fees amount that is applied by Commerce Layer, float.\n\t */\n\tfees_amount_float?: number | null\n\t/** \n\t * The fees amount that is applied by Commerce Layer, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_fees_amount?: string | null\n\t/** \n\t * The duty amount that is calculated by external services, in cents.\n\t */\n\tduty_amount_cents?: number | null\n\t/** \n\t * The duty amount that is calculated by external services, float.\n\t */\n\tduty_amount_float?: number | null\n\t/** \n\t * The duty amount that is calculated by external services, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_duty_amount?: string | null\n\t/** \n\t * The total amount at place time, in cents, which is used internally for editing.\n\t */\n\tplace_total_amount_cents?: number | null\n\t/** \n\t * The total amount at place time, float.\n\t */\n\tplace_total_amount_float?: number | null\n\t/** \n\t * The total amount at place time, formatted.\n\t * @example ```\"€0,00\"```\n\t */\n\tformatted_place_total_amount?: string | null\n\t/** \n\t * The total number of SKUs in the order's line items. This can be useful to display a preview of the customer shopping cart content.\n\t * @example ```2```\n\t */\n\tskus_count?: number | null\n\t/** \n\t * The total number of line item options. This can be useful to display a preview of the customer shopping cart content.\n\t * @example ```1```\n\t */\n\tline_item_options_count?: number | null\n\t/** \n\t * The total number of shipments. This can be useful to manage the shipping method(s) selection during checkout.\n\t * @example ```1```\n\t */\n\tshipments_count?: number | null\n\t/** \n\t * The total number of tax calculations. This can be useful to monitor external tax service usage.\n\t * @example ```1```\n\t */\n\ttax_calculations_count?: number | null\n\t/** \n\t * The total number of external validation performed. This can be useful to monitor if external validation has been triggered.\n\t * @example ```1```\n\t */\n\tvalidations_count?: number | null\n\t/** \n\t * The total number of resource errors.\n\t * @example ```1```\n\t */\n\terrors_count?: number | null\n\t/** \n\t * An object that contains the shareable details of the order's payment source.\n\t * @example ```{\"foo\":\"bar\"}```\n\t */\n\tpayment_source_details?: Record<string, any> | null\n\t/** \n\t * A unique token that can be shared more securely instead of the order's id.\n\t * @example ```\"1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\ttoken?: string | null\n\t/** \n\t * The cart url on your site. If present, it will be used on our hosted checkout application.\n\t * @example ```\"https://yourdomain.com/cart\"```\n\t */\n\tcart_url?: string | null\n\t/** \n\t * The return url on your site. If present, it will be used on our hosted checkout application.\n\t * @example ```\"https://yourdomain.com/\"```\n\t */\n\treturn_url?: string | null\n\t/** \n\t * The terms and conditions url on your site. If present, it will be used on our hosted checkout application.\n\t * @example ```\"https://yourdomain.com/terms\"```\n\t */\n\tterms_url?: string | null\n\t/** \n\t * The privacy policy url on your site. If present, it will be used on our hosted checkout application.\n\t * @example ```\"https://yourdomain.com/privacy\"```\n\t */\n\tprivacy_url?: string | null\n\t/** \n\t * The checkout url that was automatically generated for the order. Send the customers to this url to let them checkout the order securely on our hosted checkout application.\n\t * @example ```\"https://yourdomain.commercelayer.io/checkout/1c0994cc4e996e8c6ee56a2198f66f3c\"```\n\t */\n\tcheckout_url?: string | null\n\t/** \n\t * Time at which the order was placed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tplaced_at?: string | null\n\t/** \n\t * Time at which the order was approved.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tapproved_at?: string | null\n\t/** \n\t * Time at which the order was cancelled.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tcancelled_at?: string | null\n\t/** \n\t * Time at which the order's payment status was last updated.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tpayment_updated_at?: string | null\n\t/** \n\t * Time at which the order's fulfillment status was last updated.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tfulfillment_updated_at?: string | null\n\t/** \n\t * Last time at which the order was refreshed.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\trefreshed_at?: string | null\n\t/** \n\t * Time at which the resource has been archived.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tarchived_at?: string | null\n\t/** \n\t * Time at which the order has been marked to create a subscription from its recurring line items.\n\t * @example ```\"2018-01-01T12:00:00.000Z\"```\n\t */\n\tsubscription_created_at?: string | null\n\t/** \n\t * The expiration date/time of this order. Cannot be passed by sales channels.\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The information related to the order expiration, in case expires_at is not null. Cannot be passed by sales channels.\n\t * @example ```{\"summary_message\":\"Your tickets are reserved for the remaining time.\",\"expired_message\":\"Your session has expired. Please start your checkout again.\",\"redirect_url\":\"https://yourshop.com/\"}```\n\t */\n\texpiration_info?: Record<string, any> | null\n\t/** \n\t * The circuit breaker state, by default it is 'closed'. It can become 'open' once the number of consecutive failures overlaps the specified threshold, in such case no further calls to the failing callback are made.\n\t * @example ```\"closed\"```\n\t */\n\tcircuit_state?: string | null\n\t/** \n\t * The number of consecutive failures recorded by the circuit breaker associated to this resource, will be reset on first successful call to callback.\n\t * @example ```5```\n\t */\n\tcircuit_failure_count?: number | null\n\n\tmarket?: Market | null\n\tcustomer?: Customer | null\n\tshipping_address?: Address | null\n\tbilling_address?: Address | null\n\tstore?: Store | null\n\tdefault_shipping_method?: ShippingMethod | null\n\tdefault_payment_method?: PaymentMethod | null\n\tavailable_payment_methods?: PaymentMethod[] | null\n\tavailable_customer_payment_sources?: CustomerPaymentSource[] | null\n\tavailable_free_skus?: Sku[] | null\n\tavailable_free_bundles?: Bundle[] | null\n\tpayment_method?: PaymentMethod | null\n\tpayment_source?: AdyenPayment | AxervePayment | BraintreePayment | CheckoutComPayment | ExternalPayment | KlarnaPayment | PaypalPayment | SatispayPayment | StripePayment | WireTransfer | null\n\tdiscount_engine_item?: DiscountEngineItem | null\n\tline_items?: LineItem[] | null\n\tline_item_options?: LineItemOption[] | null\n\tstock_reservations?: StockReservation[] | null\n\tstock_line_items?: StockLineItem[] | null\n\tstock_transfers?: StockTransfer[] | null\n\tshipments?: Shipment[] | null\n\tpayment_options?: PaymentOption[] | null\n\ttransactions?: Array<Authorization | Void | Capture | Refund> | null\n\tauthorizations?: Authorization[] | null\n\tcaptures?: Capture[] | null\n\tvoids?: Void[] | null\n\trefunds?: Refund[] | null\n\treturns?: Return[] | null\n\torder_subscription?: OrderSubscription | null\n\torder_subscriptions?: OrderSubscription[] | null\n\torder_factories?: OrderFactory[] | null\n\torder_copies?: OrderCopy[] | null\n\trecurring_order_copies?: RecurringOrderCopy[] | null\n\tattachments?: Attachment[] | null\n\tnotifications?: Notification[] | null\n\tlinks?: Link[] | null\n\tresource_errors?: ResourceError[] | null\n\tevents?: Event[] | null\n\ttags?: Tag[] | null\n\tversions?: Version[] | null\n\tevent_stores?: EventStore[] | null\n\n}\n\n\ninterface OrderCreate extends ResourceCreate {\n\t\n\t/** \n\t * The order identifier. Can be specified if unique within the organization (for enterprise plans only), default to numeric ID otherwise. Cannot be passed by sales channels.\n\t * @example ```\"1234\"```\n\t */\n\tnumber?: string | null\n\t/** \n\t * The affiliate code, if any, to track commissions using any third party services.\n\t * @example ```\"xxxx-yyyy-zzzz\"```\n\t */\n\taffiliate_code?: string | null\n\t/** \n\t * Save this attribute as 'false' if you want prevent the order to be refreshed automatically at each change (much faster).\n\t * @example ```true```\n\t */\n\tautorefresh?: boolean | null\n\t/** \n\t * Save this attribute as 'true' if you want perform the place asynchronously. Payment errors, if any, will be collected afterwards.\n\t * @example ```true```\n\t */\n\tplace_async?: boolean | null\n\t/** \n\t * Indicates if the order has been placed as guest.\n\t * @example ```true```\n\t */\n\tguest?: boolean | null\n\t/** \n\t * The email address of the associated customer. When creating or updating an order, this is a shortcut to find or create the associated customer by email.\n\t * @example ```\"john@example.com\"```\n\t */\n\tcustomer_email?: string | null\n\t/** \n\t * The password of the associated customer. When creating or updating an order, this is a shortcut to sign up the associated customer.\n\t * @example ```\"secret\"```\n\t */\n\tcustomer_password?: string | null\n\t/** \n\t * The preferred language code (ISO 639-1) to be used when communicating with the customer. This can be useful when sending the order to 3rd party marketing tools and CRMs. If the language is supported, the hosted checkout will be localized accordingly.\n\t * @example ```\"it\"```\n\t */\n\tlanguage_code?: string | null\n\t/** \n\t * Indicates if taxes are applied to shipping costs.\n\t * @example ```true```\n\t */\n\tfreight_taxable?: boolean | null\n\t/** \n\t * Indicates if taxes are applied to payment methods costs.\n\t * @example ```true```\n\t */\n\tpayment_method_taxable?: boolean | null\n\t/** \n\t * Indicates if taxes are applied to positive adjustments.\n\t * @example ```true```\n\t */\n\tadjustment_taxable?: boolean | null\n\t/** \n\t * Indicates if taxes are applied to purchased gift cards.\n\t */\n\tgift_card_taxable?: boolean | null\n\t/** \n\t * The country code that you want the shipping address to be locked to. This can be useful to make sure the shipping address belongs to a given shipping country, e.g. the one selected in a country selector page. Not relevant if order contains only digital products.\n\t * @example ```\"IT\"```\n\t */\n\tshipping_country_code_lock?: string | null\n\t/** \n\t * The coupon code to be used for the order. If valid, it triggers a promotion adding a discount line item to the order.\n\t * @example ```\"SUMMERDISCOUNT\"```\n\t */\n\tcoupon_code?: string | null\n\t/** \n\t * The gift card code (at least the first 8 characters) to be used for the order. If valid, it uses the gift card balance to pay for the order.\n\t * @example ```\"cc92c23e-967e-48b2-a323-59add603301f\"```\n\t */\n\tgift_card_code?: string | null\n\t/** \n\t * The cart url on your site. If present, it will be used on our hosted checkout application.\n\t * @example ```\"https://yourdomain.com/cart\"```\n\t */\n\tcart_url?: string | null\n\t/** \n\t * The return url on your site. If present, it will be used on our hosted checkout application.\n\t * @example ```\"https://yourdomain.com/\"```\n\t */\n\treturn_url?: string | null\n\t/** \n\t * The terms and conditions url on your site. If present, it will be used on our hosted checkout application.\n\t * @example ```\"https://yourdomain.com/terms\"```\n\t */\n\tterms_url?: string | null\n\t/** \n\t * The privacy policy url on your site. If present, it will be used on our hosted checkout application.\n\t * @example ```\"https://yourdomain.com/privacy\"```\n\t */\n\tprivacy_url?: string | null\n\t/** \n\t * The expiration date/time of this order. Cannot be passed by sales channels.\n\t * @example ```\"2018-01-02T12:00:00.000Z\"```\n\t */\n\texpires_at?: string | null\n\t/** \n\t * The information related to the order expiration, in case expires_at is not null. Cannot be passed by sales channels.\n\t * @example ```{\"summary_message\":\"Your tickets are reserved for the remaining time.\",\"expired_message\":\"Your session has expired. Please start your checkout again.\",\"redirect_url\":\"https://yourshop.com/\"}```\n\t */\n\texp