export interface Order { id?: number; parent_id?: number; number?: string; order_key?: string; created_via?: string; version?: number; status?: string; currency?: string; date_created?: Date; date_created_gmt?: Date; date_modified?: Date; date_modified_gmt?: Date; discount_total?: string; discount_tax?: string; shipping_total?: string; shipping_tax?: string; cart_tax?: string; total?: string; total_tax?: string; prices_include_tax?: boolean; customer_id?: number; customer_ip_address?: string; customer_user_agent?: string; customer_note?: string; billing?: Billing; shipping?: Shipping; payment_method?: string; payment_method_title?: string; transaction_id?: string; date_paid?: Date; date_paid_gmt?: Date; date_completed?: Date; date_completed_gmt?: Date; cart_hash?: string; meta_data?: Array; line_items?: Array; tax_lines?: Array; shipping_lines?: Array; fee_lines?: Array; coupon_lines?: Array; refunds?: Array; set_paid?: boolean; } export interface Address { first_name?: string; last_name?: string; company?: string; address_1?: string; address_2?: string; city?: string; state?: string; postcode?: string; country?: string; email?: string; phone?: string; } export interface Billing extends Address { } export interface Shipping extends Address { } export interface OrderItem { name: string; product_id: number; variation_id: number; quantity: number; tax_class: number; subtotal: string; subtotal_tax: string; total: string; total_tax: string; taxes: Array; meta_data: Array; sku: string; price: string; } export interface OrderTax { rate_code: string; rate_id: string; label: string; compound: boolean; tax_total: string; shipping_tax_total: string; meta_data: Array; } export interface ListOrderParameters { context?: string; page?: number; per_page?: number; search?: string; after?: string; before?: string; exclude?: string[]; include?: string[]; offset?: number; order?: string; orderby?: string; parent?: string[]; parent_exclude?: string[]; status?: string; customer?: number; product?: number; dp?: number; }