type Order = { id?: string; uid?: string; profile?: string; order: { prices: { [x: string]: number | string; }; players: number; total?: number | null; toPay?: number | null; payed?: number | null; handDiscount?: number | null; date: Date; slotId: string; questroomId: string; questroomTitle: string; status: 'new' | 'accepted' | 'complited' | 'canceled' | 'hold'; language: 'EN' | 'DE' | 'RU'; clientId: string; firstName: string; lastName: string; phone: string; email: string; clientComment: string; teamName: string; photos: string[]; technicalPhotos: string[]; source: 'widget' | 'user' | 'support' | 'agregator'; sourceUid?: string; profileId?: string; jwt?: string; }; transactions: Array<{ id: string; sum: number; createdAt: number; cashboxTitle: string; isOnline: boolean; uid: string; }>; tariff: { title: string; prices: { [x: string]: number; }; }; questroom: { languages: Array<'EN' | 'DE' | 'RU' | 'AT' | 'PL' | 'FR' | 'AU' | 'ES' | 'IT' | 'SW'>; }; certificates: Array<{ id: string; createdAt: number; code: string; sum: number; }>; handDiscounts: Array<{ id: string; createdAt: number; comment: string; sum: number; }>; upselling: Array<{ id: number; createdAt: number; title: string; sum: number; }>; penalties: Array<{ id: string; createdAt: number; comment: string; sum: number; }>; adminComments: Array<{ id: string; createdAt: number; name: string; photo: string; text: string; }>; lastUpdate: Array<{ id: string; createdAt: number; authorName: string; action: string; }>; }; export { Order };