/** * Additional legacy types that were removed from the OpenAPI specification * because they are no longer used by the API. * * These types remain temporarily for backwards compatibility and will be * removed once all dependent code has been migrated. */ import type { Address, Amounts, Customer, MetaData, OrderStatus, PriceItems, PriceTier, TotalDetails } from './openapi'; export interface AvailabilityDate { /** * The availability interval start date * example: * 2017-07-21 */ available_start_date?: string; /** * The availability interval end date * example: * 2017-07-21 */ available_end_date?: string; } export interface PriceTierEnhanced extends PriceTier { unit_amount_gross?: number; unit_amount_gross_decimal?: string; flat_fee_amount_gross?: number; flat_fee_amount_gross_decimal?: string; } export interface Cart extends Amounts { /** * The cart identifier */ id?: string; /** * The user's Organization Id the cart belongs to */ org_id?: string; /** * The status of the Cart, using the shared Order status values: * * | status | description | * |-------------|-------| * | `draft` | Starting state for all orders, at this point we can still edit the order | * | `quote` | The order is in a quoting phase, bound to an expiration date | * | `placed` | The order has been paid and can now be fulfilled (shipped, delivered, complete) or canceled | * | `cancelled` | The order has been cancelled | * | `completed` | The order is now closed and finalized | */ status?: OrderStatus; customer?: Customer; billing_address?: Address; delivery_address?: Address; metadata?: MetaData; line_items?: PriceItems; total_details?: TotalDetails; created_at?: string; updated_at?: string; }