/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import * as zod from "zod"; /** * Create a new order manually or from an external source. * @summary Create a new order */ export declare const CreateOrderHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const createOrderBodyOrderIntegrationIdMax = 36; export declare const createOrderBodySourceIdMax = 255; export declare const createOrderBodySourceOrderNumberMax = 100; export declare const createOrderBodyCustomerNameMax = 255; export declare const createOrderBodyCustomerEmailMax = 255; export declare const createOrderBodyCurrencyCodeMax = 3; export declare const createOrderBodyTotalMin = -140737488355328; export declare const createOrderBodyTotalMax = 140737488355327; export declare const createOrderBodyTotalWithTaxMin = -140737488355328; export declare const createOrderBodyTotalWithTaxMax = 140737488355327; export declare const createOrderBodyTotalDiscountMin = -140737488355328; export declare const createOrderBodyTotalDiscountMax = 140737488355327; export declare const createOrderBodyTotalShippingMin = -140737488355328; export declare const createOrderBodyTotalShippingMax = 140737488355327; export declare const createOrderBodyPaymentMethodMax = 50; export declare const createOrderBodyPaymentGatewayMax = 100; export declare const CreateOrderBody: zod.ZodObject<{ order_integration_id: zod.ZodString; source: zod.ZodEnum<{ shopify: "shopify"; woocommerce: "woocommerce"; manual: "manual"; }>; source_id: zod.ZodString; source_order_number: zod.ZodOptional>; customer_name: zod.ZodOptional>; customer_email: zod.ZodOptional>; customer: zod.ZodOptional; company_name: zod.ZodOptional; tax_number: zod.ZodOptional; company_number: zod.ZodOptional; is_business: zod.ZodOptional; notes: zod.ZodOptional; }, zod.z.core.$strip>>>; billing_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; shipping_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; currency_code: zod.ZodString; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodOptional; total_shipping: zod.ZodOptional; items: zod.ZodArray; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; tax_rate: zod.ZodOptional; taxes: zod.ZodOptional>>; sku: zod.ZodOptional; source_id: zod.ZodOptional; discount: zod.ZodOptional; unit: zod.ZodOptional; kind: zod.ZodOptional>; }, zod.z.core.$strip>>; payment_status: zod.ZodOptional>; payment_method: zod.ZodOptional>; payment_gateway: zod.ZodOptional>; ordered_at: zod.ZodOptional>; metadata: zod.ZodOptional>>; }, zod.z.core.$strip>; /** * Retrieve a paginated list of orders with optional filtering and sorting. * @summary List all orders */ export declare const getOrdersQueryLimitDefault = 10; export declare const getOrdersQueryLimitMax = 100; export declare const GetOrdersQueryParams: zod.ZodObject<{ limit: zod.ZodDefault; next_cursor: zod.ZodOptional; prev_cursor: zod.ZodOptional; include_total_count: zod.ZodOptional; order_by: zod.ZodOptional, zod.ZodArray>]>>; query: zod.ZodOptional; search: zod.ZodOptional; deleted: zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetOrdersHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getOrdersResponseDataItemOneIdMax = 36; export declare const getOrdersResponseDataItemOneEntityIdMax = 36; export declare const getOrdersResponseDataItemOneOrderIntegrationIdMax = 36; export declare const getOrdersResponseDataItemOneSourceIdMax = 255; export declare const getOrdersResponseDataItemOneSourceOrderNumberMax = 100; export declare const getOrdersResponseDataItemOneCustomerNameMax = 255; export declare const getOrdersResponseDataItemOneCustomerEmailMax = 255; export declare const getOrdersResponseDataItemOneCustomerIdMax = 36; export declare const getOrdersResponseDataItemOneCurrencyCodeMax = 3; export declare const getOrdersResponseDataItemOneTotalMin = -140737488355328; export declare const getOrdersResponseDataItemOneTotalMax = 140737488355327; export declare const getOrdersResponseDataItemOneTotalWithTaxMin = -140737488355328; export declare const getOrdersResponseDataItemOneTotalWithTaxMax = 140737488355327; export declare const getOrdersResponseDataItemOneTotalDiscountMin = -140737488355328; export declare const getOrdersResponseDataItemOneTotalDiscountMax = 140737488355327; export declare const getOrdersResponseDataItemOneTotalShippingMin = -140737488355328; export declare const getOrdersResponseDataItemOneTotalShippingMax = 140737488355327; export declare const getOrdersResponseDataItemOnePaymentMethodMax = 50; export declare const getOrdersResponseDataItemOnePaymentGatewayMax = 100; export declare const getOrdersResponseDataItemOneInvoiceIdMax = 36; export declare const getOrdersResponseDataItemOneEstimateIdMax = 36; export declare const getOrdersResponseDataItemOneSourceEventIdMax = 255; export declare const getOrdersResponseDataItemOneErrorMax = 2000; export declare const GetOrdersResponse: zod.ZodObject<{ data: zod.ZodArray; source_id: zod.ZodString; source_order_number: zod.ZodOptional>; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; invoiced: "invoiced"; cancelled: "cancelled"; }>; paid: zod.ZodBoolean; paid_at: zod.ZodOptional>; fulfilled: zod.ZodBoolean; fulfilled_at: zod.ZodOptional>; cancelled: zod.ZodBoolean; cancelled_at: zod.ZodOptional>; refunded: zod.ZodBoolean; refunded_at: zod.ZodOptional>; customer_name: zod.ZodOptional>; customer_email: zod.ZodOptional>; customer: zod.ZodOptional; company_name: zod.ZodOptional; tax_number: zod.ZodOptional; company_number: zod.ZodOptional; is_business: zod.ZodOptional; notes: zod.ZodOptional; }, zod.z.core.$strip>>>; billing_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; shipping_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; customer_id: zod.ZodOptional>; currency_code: zod.ZodString; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; total_shipping: zod.ZodNumber; items: zod.ZodArray; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; tax_rate: zod.ZodOptional; taxes: zod.ZodOptional>>; sku: zod.ZodOptional; source_id: zod.ZodOptional; discount: zod.ZodOptional; unit: zod.ZodOptional; kind: zod.ZodOptional>; }, zod.z.core.$strip>>; payment_status: zod.ZodEnum<{ unpaid: "unpaid"; paid: "paid"; partially_paid: "partially_paid"; refunded: "refunded"; }>; payment_method: zod.ZodOptional>; payment_gateway: zod.ZodOptional>; invoice_id: zod.ZodOptional>; estimate_id: zod.ZodOptional>; process_after: zod.ZodOptional>; transactions: zod.ZodArray; date: zod.ZodString; note: zod.ZodOptional; }, zod.z.core.$strip>>; complete: zod.ZodBoolean; items_changed_after_processing: zod.ZodBoolean; raw_data: zod.ZodOptional>>; source_event_id: zod.ZodOptional>; error: zod.ZodOptional>; ordered_at: zod.ZodOptional>; processed_at: zod.ZodOptional>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>>; pagination: zod.ZodObject<{ total: zod.ZodNumber; next_cursor: zod.ZodNullable; prev_cursor: zod.ZodNullable; has_more: zod.ZodBoolean; }, zod.z.core.$strip>; }, zod.z.core.$strip>; /** * Retrieve a single order by its unique identifier. * @summary Get order by ID */ export declare const getOrderByIdPathIdRegExp: RegExp; export declare const GetOrderByIdParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetOrderByIdHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getOrderByIdResponseOneIdMax = 36; export declare const getOrderByIdResponseOneEntityIdMax = 36; export declare const getOrderByIdResponseOneOrderIntegrationIdMax = 36; export declare const getOrderByIdResponseOneSourceIdMax = 255; export declare const getOrderByIdResponseOneSourceOrderNumberMax = 100; export declare const getOrderByIdResponseOneCustomerNameMax = 255; export declare const getOrderByIdResponseOneCustomerEmailMax = 255; export declare const getOrderByIdResponseOneCustomerIdMax = 36; export declare const getOrderByIdResponseOneCurrencyCodeMax = 3; export declare const getOrderByIdResponseOneTotalMin = -140737488355328; export declare const getOrderByIdResponseOneTotalMax = 140737488355327; export declare const getOrderByIdResponseOneTotalWithTaxMin = -140737488355328; export declare const getOrderByIdResponseOneTotalWithTaxMax = 140737488355327; export declare const getOrderByIdResponseOneTotalDiscountMin = -140737488355328; export declare const getOrderByIdResponseOneTotalDiscountMax = 140737488355327; export declare const getOrderByIdResponseOneTotalShippingMin = -140737488355328; export declare const getOrderByIdResponseOneTotalShippingMax = 140737488355327; export declare const getOrderByIdResponseOnePaymentMethodMax = 50; export declare const getOrderByIdResponseOnePaymentGatewayMax = 100; export declare const getOrderByIdResponseOneInvoiceIdMax = 36; export declare const getOrderByIdResponseOneEstimateIdMax = 36; export declare const getOrderByIdResponseOneSourceEventIdMax = 255; export declare const getOrderByIdResponseOneErrorMax = 2000; export declare const GetOrderByIdResponse: zod.ZodIntersection; source_id: zod.ZodString; source_order_number: zod.ZodOptional>; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; invoiced: "invoiced"; cancelled: "cancelled"; }>; paid: zod.ZodBoolean; paid_at: zod.ZodOptional>; fulfilled: zod.ZodBoolean; fulfilled_at: zod.ZodOptional>; cancelled: zod.ZodBoolean; cancelled_at: zod.ZodOptional>; refunded: zod.ZodBoolean; refunded_at: zod.ZodOptional>; customer_name: zod.ZodOptional>; customer_email: zod.ZodOptional>; customer: zod.ZodOptional; company_name: zod.ZodOptional; tax_number: zod.ZodOptional; company_number: zod.ZodOptional; is_business: zod.ZodOptional; notes: zod.ZodOptional; }, zod.z.core.$strip>>>; billing_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; shipping_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; customer_id: zod.ZodOptional>; currency_code: zod.ZodString; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; total_shipping: zod.ZodNumber; items: zod.ZodArray; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; tax_rate: zod.ZodOptional; taxes: zod.ZodOptional>>; sku: zod.ZodOptional; source_id: zod.ZodOptional; discount: zod.ZodOptional; unit: zod.ZodOptional; kind: zod.ZodOptional>; }, zod.z.core.$strip>>; payment_status: zod.ZodEnum<{ unpaid: "unpaid"; paid: "paid"; partially_paid: "partially_paid"; refunded: "refunded"; }>; payment_method: zod.ZodOptional>; payment_gateway: zod.ZodOptional>; invoice_id: zod.ZodOptional>; estimate_id: zod.ZodOptional>; process_after: zod.ZodOptional>; transactions: zod.ZodArray; date: zod.ZodString; note: zod.ZodOptional; }, zod.z.core.$strip>>; complete: zod.ZodBoolean; items_changed_after_processing: zod.ZodBoolean; raw_data: zod.ZodOptional>>; source_event_id: zod.ZodOptional>; error: zod.ZodOptional>; ordered_at: zod.ZodOptional>; processed_at: zod.ZodOptional>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>; /** * Update an existing order. Only the provided fields will be updated. * @summary Update an order */ export declare const updateOrderPathIdRegExp: RegExp; export declare const UpdateOrderParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const UpdateOrderHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const updateOrderBodySourceOrderNumberMax = 100; export declare const updateOrderBodyCustomerNameMax = 255; export declare const updateOrderBodyCustomerEmailMax = 255; export declare const updateOrderBodyCurrencyCodeMax = 3; export declare const updateOrderBodyTotalMin = -140737488355328; export declare const updateOrderBodyTotalMax = 140737488355327; export declare const updateOrderBodyTotalWithTaxMin = -140737488355328; export declare const updateOrderBodyTotalWithTaxMax = 140737488355327; export declare const updateOrderBodyTotalDiscountMin = -140737488355328; export declare const updateOrderBodyTotalDiscountMax = 140737488355327; export declare const updateOrderBodyTotalShippingMin = -140737488355328; export declare const updateOrderBodyTotalShippingMax = 140737488355327; export declare const updateOrderBodyPaymentMethodMax = 50; export declare const updateOrderBodyPaymentGatewayMax = 100; export declare const UpdateOrderBody: zod.ZodObject<{ source_order_number: zod.ZodOptional>; customer_name: zod.ZodOptional>; customer_email: zod.ZodOptional>; customer: zod.ZodOptional; company_name: zod.ZodOptional; tax_number: zod.ZodOptional; company_number: zod.ZodOptional; is_business: zod.ZodOptional; notes: zod.ZodOptional; }, zod.z.core.$strip>>>; billing_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; shipping_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; currency_code: zod.ZodOptional; total: zod.ZodOptional; total_with_tax: zod.ZodOptional; total_discount: zod.ZodOptional; total_shipping: zod.ZodOptional; items: zod.ZodOptional; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; tax_rate: zod.ZodOptional; taxes: zod.ZodOptional>>; sku: zod.ZodOptional; source_id: zod.ZodOptional; discount: zod.ZodOptional; unit: zod.ZodOptional; kind: zod.ZodOptional>; }, zod.z.core.$strip>>>; payment_status: zod.ZodOptional>; payment_method: zod.ZodOptional>; payment_gateway: zod.ZodOptional>; ordered_at: zod.ZodOptional>; metadata: zod.ZodOptional>>; }, zod.z.core.$strip>; export declare const updateOrderResponseOneIdMax = 36; export declare const updateOrderResponseOneEntityIdMax = 36; export declare const updateOrderResponseOneOrderIntegrationIdMax = 36; export declare const updateOrderResponseOneSourceIdMax = 255; export declare const updateOrderResponseOneSourceOrderNumberMax = 100; export declare const updateOrderResponseOneCustomerNameMax = 255; export declare const updateOrderResponseOneCustomerEmailMax = 255; export declare const updateOrderResponseOneCustomerIdMax = 36; export declare const updateOrderResponseOneCurrencyCodeMax = 3; export declare const updateOrderResponseOneTotalMin = -140737488355328; export declare const updateOrderResponseOneTotalMax = 140737488355327; export declare const updateOrderResponseOneTotalWithTaxMin = -140737488355328; export declare const updateOrderResponseOneTotalWithTaxMax = 140737488355327; export declare const updateOrderResponseOneTotalDiscountMin = -140737488355328; export declare const updateOrderResponseOneTotalDiscountMax = 140737488355327; export declare const updateOrderResponseOneTotalShippingMin = -140737488355328; export declare const updateOrderResponseOneTotalShippingMax = 140737488355327; export declare const updateOrderResponseOnePaymentMethodMax = 50; export declare const updateOrderResponseOnePaymentGatewayMax = 100; export declare const updateOrderResponseOneInvoiceIdMax = 36; export declare const updateOrderResponseOneEstimateIdMax = 36; export declare const updateOrderResponseOneSourceEventIdMax = 255; export declare const updateOrderResponseOneErrorMax = 2000; export declare const UpdateOrderResponse: zod.ZodIntersection; source_id: zod.ZodString; source_order_number: zod.ZodOptional>; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; invoiced: "invoiced"; cancelled: "cancelled"; }>; paid: zod.ZodBoolean; paid_at: zod.ZodOptional>; fulfilled: zod.ZodBoolean; fulfilled_at: zod.ZodOptional>; cancelled: zod.ZodBoolean; cancelled_at: zod.ZodOptional>; refunded: zod.ZodBoolean; refunded_at: zod.ZodOptional>; customer_name: zod.ZodOptional>; customer_email: zod.ZodOptional>; customer: zod.ZodOptional; company_name: zod.ZodOptional; tax_number: zod.ZodOptional; company_number: zod.ZodOptional; is_business: zod.ZodOptional; notes: zod.ZodOptional; }, zod.z.core.$strip>>>; billing_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; shipping_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; customer_id: zod.ZodOptional>; currency_code: zod.ZodString; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; total_shipping: zod.ZodNumber; items: zod.ZodArray; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; tax_rate: zod.ZodOptional; taxes: zod.ZodOptional>>; sku: zod.ZodOptional; source_id: zod.ZodOptional; discount: zod.ZodOptional; unit: zod.ZodOptional; kind: zod.ZodOptional>; }, zod.z.core.$strip>>; payment_status: zod.ZodEnum<{ unpaid: "unpaid"; paid: "paid"; partially_paid: "partially_paid"; refunded: "refunded"; }>; payment_method: zod.ZodOptional>; payment_gateway: zod.ZodOptional>; invoice_id: zod.ZodOptional>; estimate_id: zod.ZodOptional>; process_after: zod.ZodOptional>; transactions: zod.ZodArray; date: zod.ZodString; note: zod.ZodOptional; }, zod.z.core.$strip>>; complete: zod.ZodBoolean; items_changed_after_processing: zod.ZodBoolean; raw_data: zod.ZodOptional>>; source_event_id: zod.ZodOptional>; error: zod.ZodOptional>; ordered_at: zod.ZodOptional>; processed_at: zod.ZodOptional>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>; /** * Soft delete an order by its unique identifier. * @summary Delete an order */ export declare const deleteOrderPathIdRegExp: RegExp; export declare const DeleteOrderParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const DeleteOrderHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; /** * Process a pending order: resolve or create customer, generate invoice, and optionally record payment. * @summary Process an order into an invoice */ export declare const processOrderPathIdRegExp: RegExp; export declare const ProcessOrderParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const ProcessOrderHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const processOrderResponseOneIdMax = 36; export declare const processOrderResponseOneEntityIdMax = 36; export declare const processOrderResponseOneOrderIntegrationIdMax = 36; export declare const processOrderResponseOneSourceIdMax = 255; export declare const processOrderResponseOneSourceOrderNumberMax = 100; export declare const processOrderResponseOneCustomerNameMax = 255; export declare const processOrderResponseOneCustomerEmailMax = 255; export declare const processOrderResponseOneCustomerIdMax = 36; export declare const processOrderResponseOneCurrencyCodeMax = 3; export declare const processOrderResponseOneTotalMin = -140737488355328; export declare const processOrderResponseOneTotalMax = 140737488355327; export declare const processOrderResponseOneTotalWithTaxMin = -140737488355328; export declare const processOrderResponseOneTotalWithTaxMax = 140737488355327; export declare const processOrderResponseOneTotalDiscountMin = -140737488355328; export declare const processOrderResponseOneTotalDiscountMax = 140737488355327; export declare const processOrderResponseOneTotalShippingMin = -140737488355328; export declare const processOrderResponseOneTotalShippingMax = 140737488355327; export declare const processOrderResponseOnePaymentMethodMax = 50; export declare const processOrderResponseOnePaymentGatewayMax = 100; export declare const processOrderResponseOneInvoiceIdMax = 36; export declare const processOrderResponseOneEstimateIdMax = 36; export declare const processOrderResponseOneSourceEventIdMax = 255; export declare const processOrderResponseOneErrorMax = 2000; export declare const ProcessOrderResponse: zod.ZodIntersection; source_id: zod.ZodString; source_order_number: zod.ZodOptional>; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; invoiced: "invoiced"; cancelled: "cancelled"; }>; paid: zod.ZodBoolean; paid_at: zod.ZodOptional>; fulfilled: zod.ZodBoolean; fulfilled_at: zod.ZodOptional>; cancelled: zod.ZodBoolean; cancelled_at: zod.ZodOptional>; refunded: zod.ZodBoolean; refunded_at: zod.ZodOptional>; customer_name: zod.ZodOptional>; customer_email: zod.ZodOptional>; customer: zod.ZodOptional; company_name: zod.ZodOptional; tax_number: zod.ZodOptional; company_number: zod.ZodOptional; is_business: zod.ZodOptional; notes: zod.ZodOptional; }, zod.z.core.$strip>>>; billing_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; shipping_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; customer_id: zod.ZodOptional>; currency_code: zod.ZodString; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; total_shipping: zod.ZodNumber; items: zod.ZodArray; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; tax_rate: zod.ZodOptional; taxes: zod.ZodOptional>>; sku: zod.ZodOptional; source_id: zod.ZodOptional; discount: zod.ZodOptional; unit: zod.ZodOptional; kind: zod.ZodOptional>; }, zod.z.core.$strip>>; payment_status: zod.ZodEnum<{ unpaid: "unpaid"; paid: "paid"; partially_paid: "partially_paid"; refunded: "refunded"; }>; payment_method: zod.ZodOptional>; payment_gateway: zod.ZodOptional>; invoice_id: zod.ZodOptional>; estimate_id: zod.ZodOptional>; process_after: zod.ZodOptional>; transactions: zod.ZodArray; date: zod.ZodString; note: zod.ZodOptional; }, zod.z.core.$strip>>; complete: zod.ZodBoolean; items_changed_after_processing: zod.ZodBoolean; raw_data: zod.ZodOptional>>; source_event_id: zod.ZodOptional>; error: zod.ZodOptional>; ordered_at: zod.ZodOptional>; processed_at: zod.ZodOptional>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>; /** * Cancel a pending order. Already invoiced orders cannot be cancelled. * @summary Cancel an order */ export declare const cancelOrderPathIdRegExp: RegExp; export declare const CancelOrderParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const CancelOrderHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const cancelOrderResponseOneIdMax = 36; export declare const cancelOrderResponseOneEntityIdMax = 36; export declare const cancelOrderResponseOneOrderIntegrationIdMax = 36; export declare const cancelOrderResponseOneSourceIdMax = 255; export declare const cancelOrderResponseOneSourceOrderNumberMax = 100; export declare const cancelOrderResponseOneCustomerNameMax = 255; export declare const cancelOrderResponseOneCustomerEmailMax = 255; export declare const cancelOrderResponseOneCustomerIdMax = 36; export declare const cancelOrderResponseOneCurrencyCodeMax = 3; export declare const cancelOrderResponseOneTotalMin = -140737488355328; export declare const cancelOrderResponseOneTotalMax = 140737488355327; export declare const cancelOrderResponseOneTotalWithTaxMin = -140737488355328; export declare const cancelOrderResponseOneTotalWithTaxMax = 140737488355327; export declare const cancelOrderResponseOneTotalDiscountMin = -140737488355328; export declare const cancelOrderResponseOneTotalDiscountMax = 140737488355327; export declare const cancelOrderResponseOneTotalShippingMin = -140737488355328; export declare const cancelOrderResponseOneTotalShippingMax = 140737488355327; export declare const cancelOrderResponseOnePaymentMethodMax = 50; export declare const cancelOrderResponseOnePaymentGatewayMax = 100; export declare const cancelOrderResponseOneInvoiceIdMax = 36; export declare const cancelOrderResponseOneEstimateIdMax = 36; export declare const cancelOrderResponseOneSourceEventIdMax = 255; export declare const cancelOrderResponseOneErrorMax = 2000; export declare const CancelOrderResponse: zod.ZodIntersection; source_id: zod.ZodString; source_order_number: zod.ZodOptional>; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; invoiced: "invoiced"; cancelled: "cancelled"; }>; paid: zod.ZodBoolean; paid_at: zod.ZodOptional>; fulfilled: zod.ZodBoolean; fulfilled_at: zod.ZodOptional>; cancelled: zod.ZodBoolean; cancelled_at: zod.ZodOptional>; refunded: zod.ZodBoolean; refunded_at: zod.ZodOptional>; customer_name: zod.ZodOptional>; customer_email: zod.ZodOptional>; customer: zod.ZodOptional; company_name: zod.ZodOptional; tax_number: zod.ZodOptional; company_number: zod.ZodOptional; is_business: zod.ZodOptional; notes: zod.ZodOptional; }, zod.z.core.$strip>>>; billing_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; shipping_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; customer_id: zod.ZodOptional>; currency_code: zod.ZodString; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; total_shipping: zod.ZodNumber; items: zod.ZodArray; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; tax_rate: zod.ZodOptional; taxes: zod.ZodOptional>>; sku: zod.ZodOptional; source_id: zod.ZodOptional; discount: zod.ZodOptional; unit: zod.ZodOptional; kind: zod.ZodOptional>; }, zod.z.core.$strip>>; payment_status: zod.ZodEnum<{ unpaid: "unpaid"; paid: "paid"; partially_paid: "partially_paid"; refunded: "refunded"; }>; payment_method: zod.ZodOptional>; payment_gateway: zod.ZodOptional>; invoice_id: zod.ZodOptional>; estimate_id: zod.ZodOptional>; process_after: zod.ZodOptional>; transactions: zod.ZodArray; date: zod.ZodString; note: zod.ZodOptional; }, zod.z.core.$strip>>; complete: zod.ZodBoolean; items_changed_after_processing: zod.ZodBoolean; raw_data: zod.ZodOptional>>; source_event_id: zod.ZodOptional>; error: zod.ZodOptional>; ordered_at: zod.ZodOptional>; processed_at: zod.ZodOptional>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>; /** * Credit the existing invoice and create a new one with current order items. Only available when order items have changed after initial processing. * @summary Reissue an order invoice */ export declare const reissueOrderPathIdRegExp: RegExp; export declare const ReissueOrderParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const ReissueOrderHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const reissueOrderResponseOneIdMax = 36; export declare const reissueOrderResponseOneEntityIdMax = 36; export declare const reissueOrderResponseOneOrderIntegrationIdMax = 36; export declare const reissueOrderResponseOneSourceIdMax = 255; export declare const reissueOrderResponseOneSourceOrderNumberMax = 100; export declare const reissueOrderResponseOneCustomerNameMax = 255; export declare const reissueOrderResponseOneCustomerEmailMax = 255; export declare const reissueOrderResponseOneCustomerIdMax = 36; export declare const reissueOrderResponseOneCurrencyCodeMax = 3; export declare const reissueOrderResponseOneTotalMin = -140737488355328; export declare const reissueOrderResponseOneTotalMax = 140737488355327; export declare const reissueOrderResponseOneTotalWithTaxMin = -140737488355328; export declare const reissueOrderResponseOneTotalWithTaxMax = 140737488355327; export declare const reissueOrderResponseOneTotalDiscountMin = -140737488355328; export declare const reissueOrderResponseOneTotalDiscountMax = 140737488355327; export declare const reissueOrderResponseOneTotalShippingMin = -140737488355328; export declare const reissueOrderResponseOneTotalShippingMax = 140737488355327; export declare const reissueOrderResponseOnePaymentMethodMax = 50; export declare const reissueOrderResponseOnePaymentGatewayMax = 100; export declare const reissueOrderResponseOneInvoiceIdMax = 36; export declare const reissueOrderResponseOneEstimateIdMax = 36; export declare const reissueOrderResponseOneSourceEventIdMax = 255; export declare const reissueOrderResponseOneErrorMax = 2000; export declare const ReissueOrderResponse: zod.ZodIntersection; source_id: zod.ZodString; source_order_number: zod.ZodOptional>; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; invoiced: "invoiced"; cancelled: "cancelled"; }>; paid: zod.ZodBoolean; paid_at: zod.ZodOptional>; fulfilled: zod.ZodBoolean; fulfilled_at: zod.ZodOptional>; cancelled: zod.ZodBoolean; cancelled_at: zod.ZodOptional>; refunded: zod.ZodBoolean; refunded_at: zod.ZodOptional>; customer_name: zod.ZodOptional>; customer_email: zod.ZodOptional>; customer: zod.ZodOptional; company_name: zod.ZodOptional; tax_number: zod.ZodOptional; company_number: zod.ZodOptional; is_business: zod.ZodOptional; notes: zod.ZodOptional; }, zod.z.core.$strip>>>; billing_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; shipping_address: zod.ZodOptional; address_2: zod.ZodOptional; city: zod.ZodOptional; state: zod.ZodOptional; post_code: zod.ZodOptional; country: zod.ZodOptional; country_code: zod.ZodOptional; }, zod.z.core.$strip>>>; customer_id: zod.ZodOptional>; currency_code: zod.ZodString; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; total_shipping: zod.ZodNumber; items: zod.ZodArray; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; tax_rate: zod.ZodOptional; taxes: zod.ZodOptional>>; sku: zod.ZodOptional; source_id: zod.ZodOptional; discount: zod.ZodOptional; unit: zod.ZodOptional; kind: zod.ZodOptional>; }, zod.z.core.$strip>>; payment_status: zod.ZodEnum<{ unpaid: "unpaid"; paid: "paid"; partially_paid: "partially_paid"; refunded: "refunded"; }>; payment_method: zod.ZodOptional>; payment_gateway: zod.ZodOptional>; invoice_id: zod.ZodOptional>; estimate_id: zod.ZodOptional>; process_after: zod.ZodOptional>; transactions: zod.ZodArray; date: zod.ZodString; note: zod.ZodOptional; }, zod.z.core.$strip>>; complete: zod.ZodBoolean; items_changed_after_processing: zod.ZodBoolean; raw_data: zod.ZodOptional>>; source_event_id: zod.ZodOptional>; error: zod.ZodOptional>; ordered_at: zod.ZodOptional>; processed_at: zod.ZodOptional>; metadata: zod.ZodUnion, zod.ZodArray]>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>, zod.ZodObject<{}, zod.z.core.$loose>>; //# sourceMappingURL=orders.d.ts.map