/** * Generated by orval v8.8.0 🍺 * Do not edit manually. * OpenAPI spec version: 0.0.0 */ import type { CarrierRead } from "./carrierRead"; import type { OrderItemRead } from "./orderItemRead"; import type { PaymentRead } from "./paymentRead"; import type { Status0b2Enum } from "./status0b2Enum"; export interface OrderRead { readonly id: number; readonly status: Status0b2Enum; /** @pattern ^-?\d{0,8}(?:\.\d{0,2})?$ */ readonly total_price: string; /** Order currency - captured from site configuration at order creation and never changes */ readonly currency: string; /** @nullable */ readonly user: number | null; readonly first_name: string; readonly last_name: string; readonly email: string; readonly phone: string; readonly address: string; readonly city: string; readonly postal_code: string; readonly country: string; readonly note: string; readonly created_at: Date; readonly updated_at: Date; readonly items: readonly OrderItemRead[]; readonly carrier: CarrierRead; readonly payment: PaymentRead; readonly discount_codes: string; }