import { CustomerGroup } from "../../types/customer-group"; import { Gender } from "../../types/gender"; import { ProductionStates } from "../../types/production-states"; import { ProductEventModel } from "./product-event-model"; export interface OrderEventModel { orderId: string; shopName: string; shopStatus: number; shopOrderId: number; customerId: string; group: CustomerGroup; vatId: string; phone: string; email: string; address: { company: string; gender: Gender; firstname: string; lastname: string; street: string; street2: string; city: string; postcode: string; country: string; countryISOCode2: string; }; shippingAddress: { company: string; gender: Gender; firstname: string; lastname: string; street: string; street2: string; city: string; postcode: string; country: string; countryISOCode2: string; }; billingAddress: { company: string; gender: Gender; firstname: string; lastname: string; street: string; street2: string; city: string; postcode: string; country: string; countryISOCode2: string; }; orderDate: Date; paymentMethod: string; shippingMethod: string; comment: string; internalComment: string; subtotal: number; discountText: string; discount: number; shippingText: string; shipping: number; taxText: string; tax: number; total: number; paymentDate: Date; isPayed: boolean; invoiceDate: Date; isInvoiceCreated: boolean; shippingDate: Date; isShipped: boolean; barcode: string; barcodeCreated: Date; productionComment: string; currentProductionState: ProductionStates; products: ProductEventModel[]; }