export interface Unit { id: number; adjustments: any[]; adjustmentsTotal: number; } export interface ArEG { id: number; } export interface EnUS { id: number; } export interface Translations { ar_EG: ArEG; en_US: EnUS; } export interface APPSTORE { channelCode: string; price: number; originalPrice: number; } export interface POS { channelCode: string; price: number; originalPrice: number; } export interface WEB { channelCode: string; price: number; originalPrice: number; } export interface ChannelPricings { APP_STORE: APPSTORE; POS: POS; WEB: WEB; } export interface Image { path: string; } export interface ThumbnailImage { path: string; } export interface ArEG2 { locale: string; id: number; name: string; slug: string; description: string; } export interface EnUS2 { locale: string; id: number; name: string; slug: string; description: string; } export interface Translations2 { ar_EG: ArEG2; en_US: EnUS2; } export interface Product { code: string; images: Image[]; thumbnailImage: ThumbnailImage; translations: Translations2; } export interface Product2 { href: string; } export interface Links { product: Product2; } export interface Variant { id: number; code: string; optionValues: any[]; position: number; translations: Translations; version: number; onHold: number; onHand: number; tracked: boolean; stockCheck: boolean; channelPricings: ChannelPricings; product: Product; _links: Links; } export interface Order { href: string; } export interface Product3 { href: string; } export interface Variant2 { href: string; } export interface Links2 { order: Order; product: Product3; variant: Variant2; } export interface Item { quantity: number; unitPrice: number; total: number; units: Unit[]; unitsTotal: number; adjustments: any[]; adjustmentsTotal: number; variant: Variant; _links: Links2; } export interface Adjustment { id: number; type: string; label: string; amount: number; } export interface CityInfo { id: number; name: string; code: string; } export interface ProvinceInfo { id: number; name: string; code: string; } export interface Address { id: number; firstName: string; lastName: string; phoneNumber: string; countryCode: string; street: string; city: string; postcode: string; government: string; provinceCode: string; cityInfo: CityInfo; provinceInfo: ProvinceInfo; } export interface Self { href: string; } export interface Links3 { self: Self; } export interface Customer { id: number; email: string; emailCanonical: string; firstName: string; lastName: string; gender: string; addresses: Address[]; subscribedToNewsletter: boolean; _links: Links3; } export interface Self2 { href: string; } export interface Links4 { self: Self2; } export interface Channel { id: number; code: string; name: string; hostname: string; color: string; createdAt: Date; updatedAt: Date; enabled: boolean; taxCalculationStrategy: string; _links: Links4; } export interface CityInfo2 { id: number; name: string; code: string; } export interface ProvinceInfo2 { id: number; name: string; code: string; } export interface ShippingAddress { id: number; firstName: string; lastName: string; phoneNumber: string; countryCode: string; provinceCode: string; areaCode: string; street: string; city: string; postcode: string; cityInfo: CityInfo2; provinceInfo: ProvinceInfo2; } export interface CityInfo3 { id: number; name: string; code: string; } export interface ProvinceInfo3 { id: number; name: string; code: string; } export interface BillingAddress { id: number; firstName: string; lastName: string; phoneNumber: string; countryCode: string; provinceCode: string; street: string; city: string; postcode: string; cityInfo: CityInfo3; provinceInfo: ProvinceInfo3; } export interface ArEG3 { } export interface EnUS3 { } export interface Translations3 { ar_EG: ArEG3; en_US: EnUS3; } export interface Self3 { href: string; } export interface Links5 { self: Self3; } export interface Channel2 { id: number; code: string; name: string; hostname: string; color: string; createdAt: Date; updatedAt: Date; enabled: boolean; taxCalculationStrategy: string; _links: Links5; } export interface Method { name: string; id: number; code: string; position: number; createdAt: Date; updatedAt: Date; enabled: boolean; translations: Translations3; channels: Channel2[]; } export interface Payment { id: number; method: Method; amount: number; state: string; } export interface Method2 { name: string; code: string; enabled: boolean; } export interface Shipment { id: number; state: string; method: Method2; description: string; estimated_time: string; } export interface DeliveryTimeSlot { day: string; hour: string; dayname: string; } export interface Item2 { id: number; label: string; status: string; } export interface OrderTrackingLog { items: Item2[]; } export interface Checkout { id: number; items: Item[]; itemsTotal: number; adjustments: Adjustment[]; adjustmentsTotal: number; total: number; state: string; customer: Customer; channel: Channel; shippingAddress: ShippingAddress; billingAddress: BillingAddress; payments: Payment[]; shipments: Shipment[]; currencyCode: string; localeCode: string; checkoutState: string; promotionTotal: number; logs: any[]; delivery_time_slot: DeliveryTimeSlot; promotion_code: string; shipping_notes: string; order_tracking: string; order_tracking_log: OrderTrackingLog; }