import {IOrderLine} from "@orderingstack/ordering-core"; export interface ButtonProps { text?: string; type?: string; isIcon?: boolean; setIsZoomIn?: Function | any; callOrderApi?: any; isZoomIn?: boolean; small?: boolean; } export interface CardContainerProps { order: any; authProvider: any; venueConfig: any; callOrderApi: any; kdsDeviceConfigs: any; viewMode?: string; } interface extraProps { 'x-source': string; 'x-tax-id': string; 'x-zgody_regulamin': boolean; 'x-zgody_kom_email': boolean; 'x-zgody_marketing': boolean; } export interface KDSCardProps { key: string; lastChanged: string; orderType: string; bucket: any; orderId: string; bucketIndex: number; payments: any[]; due: string; extra: extraProps; deliveryAddress: any; users: any[]; comments: any[]; venueConfig: any; callOrderApi: any; verifiedTime: Date; authProvider: any; kdsDeviceConfigs: any; viewMode?: string; } export interface KDSCardHeaderProps { orderType: string; due: string; venueConfig: any; verifiedTime: Date; } export interface KDSOrderDetailsProps { queuePos: number; lines: any[]; lastChanged: string; orderType: string; payments: any[]; orderId: string; kdsDeviceConfigs: any; } export interface OrderPaymentsProps { payments: any[]; } export interface OrderProductsListProps { lines: any[]; orderId: string; currency: string; isZoomIN: boolean; kdsDeviceConfigs: any; } export interface OrderProductProps { line: IOrderLine; orderId: string; kdsDeviceConfigs: any; cross?: boolean; fullMode?: boolean; showItems?: boolean; kdsFilter?: string; kdsLayout?: string; currency?: string; } export interface ProductSubItemsProps { item: any; fullMode: boolean; kdsLayout: string; currency: string; } export interface UserInformationProps { extra: extraProps; deliveryAddress: any; users: any[]; comments: any[]; kdsLayout?: string; } export interface ButtonCloseProps { setIsZoomIn?: Function | any; } export interface ButtonsContainerProps { setIsZoomIn: Function | any; isZoomIn: boolean; lines: any[]; orderId: string; callOrderApi: any; authProvider: any; kdsDeviceConfigs?: any; viewMode?: string; }