Peripherals
TBD.
Entities
Interface Peripheral
namespace Peripheral {
type Function = 'barcode-scanner' | 'card-terminal' | 'cash-drawer' | 'control-unit' |
'customer-display' | 'kitchen-printer' | 'kitchen-printer-2' | 'kitchen-printer-3' |
'kitchen-printer-4' | 'kitchen-printer-5' | 'receipt-printer' | 'host2t';
}
interface Peripheral {
'location'?: number;
'function'?: Peripheral.Function;
'device-id'?: string;
'service-id'?: string;
'name'?: string;
'virtual-device'?: VirtualDevice;
'kitchen-printer-config'?: KitchenPrinterConfig;
'id'?: number;
'created'?: DateTime;
'updated'?: DateTime;
'deleted'?: DateTime;
'updated-by'?: number;
'updated-from'?: number;
'tags'?: string[];
'labels'?: number[];
}
Interface KitchenPrinterConfig
namespace KitchenPrinterConfig {
export type ItemOrder = 'name' | 'tab-position';
}
interface KitchenPrinterConfig {
'section-labels'?: number[];
'item-order'?: KitchenPrinterConfig.ItemOrder;
}
Interface VirtualDevice
interface VirtualDevice {
'address': string;
'port'?: number;
'device-name': string;
'device-type': string;
'service-type': string;
'service-hint': string;
}
Property | Data Type | Description |
---|