@open-tender/types 0.4.16 → 0.4.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.DS_Store +0 -0
- package/dist/cjs/types/api/devices.d.ts +89 -0
- package/dist/cjs/types/api/index.d.ts +1 -1
- package/dist/cjs/types/api/index.js +1 -1
- package/dist/cjs/types/api/kds.d.ts +2 -17
- package/dist/esm/types/api/devices.d.ts +89 -0
- package/dist/esm/types/api/index.d.ts +1 -1
- package/dist/esm/types/api/index.js +1 -1
- package/dist/esm/types/api/kds.d.ts +2 -17
- package/package.json +1 -1
- package/dist/cjs/types/api/device.d.ts +0 -3
- package/dist/esm/types/api/device.d.ts +0 -3
- /package/dist/cjs/types/api/{device.js → devices.js} +0 -0
- /package/dist/esm/types/api/{device.js → devices.js} +0 -0
package/dist/.DS_Store
CHANGED
|
Binary file
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export interface PosPrinter {
|
|
2
|
+
backup_pos_printer_v2_id: number;
|
|
3
|
+
description: string;
|
|
4
|
+
ipv4_address: string;
|
|
5
|
+
name: string;
|
|
6
|
+
pos_printer_v2_id: number;
|
|
7
|
+
use_beeper: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare type PosPrinters = PosPrinter[];
|
|
10
|
+
export interface PosScanner {
|
|
11
|
+
description: string;
|
|
12
|
+
identifier: string;
|
|
13
|
+
name: string;
|
|
14
|
+
pos_scanner_id: number;
|
|
15
|
+
}
|
|
16
|
+
export declare type PosScanners = PosScanner[];
|
|
17
|
+
export declare type PosTerminalPrintReceipt = 'never' | 'always' | 'prompt';
|
|
18
|
+
export interface PosTerminal {
|
|
19
|
+
description: string;
|
|
20
|
+
name: string;
|
|
21
|
+
pos_chipdna_terminal_id: number | null;
|
|
22
|
+
pos_printer_v2_id: number | null;
|
|
23
|
+
pos_scanner: PosScanner;
|
|
24
|
+
pos_scanner_id: number | null;
|
|
25
|
+
pos_terminal_id: number;
|
|
26
|
+
print_kds: boolean;
|
|
27
|
+
print_receipt: PosTerminalPrintReceipt;
|
|
28
|
+
printer: PosPrinters;
|
|
29
|
+
}
|
|
30
|
+
export declare type PosTerminals = PosTerminal[];
|
|
31
|
+
export declare type PrepStationPrepType = 'ASSEMBLY' | 'EXPO';
|
|
32
|
+
export interface PrepStation {
|
|
33
|
+
assembly_done: boolean;
|
|
34
|
+
assembly_print: boolean;
|
|
35
|
+
expo_complete: boolean;
|
|
36
|
+
expo_complete_all: boolean;
|
|
37
|
+
expo_done_only: boolean;
|
|
38
|
+
expo_print: boolean;
|
|
39
|
+
expo_reset: boolean;
|
|
40
|
+
item_type_ids: number[];
|
|
41
|
+
name: string;
|
|
42
|
+
prep_station_id: number;
|
|
43
|
+
prep_type: PrepStationPrepType;
|
|
44
|
+
show_counts: boolean;
|
|
45
|
+
show_groups: boolean;
|
|
46
|
+
show_modifiers: boolean;
|
|
47
|
+
}
|
|
48
|
+
export declare type PrepStations = PrepStation[];
|
|
49
|
+
export interface KdsTerminal {
|
|
50
|
+
auto_print: boolean;
|
|
51
|
+
description: string;
|
|
52
|
+
kds_terminal_id: number;
|
|
53
|
+
name: string;
|
|
54
|
+
pos_printer_v2_id: number | null;
|
|
55
|
+
prep_stations: PrepStations;
|
|
56
|
+
printer: PosPrinters;
|
|
57
|
+
}
|
|
58
|
+
export declare type KdsTerminals = KdsTerminal[];
|
|
59
|
+
export interface PosServer {
|
|
60
|
+
ipv4_address: string;
|
|
61
|
+
name: string;
|
|
62
|
+
pos_server_id: number;
|
|
63
|
+
}
|
|
64
|
+
export declare type PosServers = PosServer[];
|
|
65
|
+
export interface PaymentTerminal {
|
|
66
|
+
api_key: string;
|
|
67
|
+
application_identifier: string;
|
|
68
|
+
description: string;
|
|
69
|
+
identifier: string;
|
|
70
|
+
is_active: boolean;
|
|
71
|
+
mac_address: string;
|
|
72
|
+
model: string;
|
|
73
|
+
name: string;
|
|
74
|
+
pos_chipdna_terminal_id: number;
|
|
75
|
+
revenue_center_id: number;
|
|
76
|
+
standby_message: string;
|
|
77
|
+
use_production: boolean;
|
|
78
|
+
}
|
|
79
|
+
export declare type PaymentTerminals = PaymentTerminal[];
|
|
80
|
+
export interface Devices {
|
|
81
|
+
kds_terminals: KdsTerminals;
|
|
82
|
+
pos_chipdna_terminals: PaymentTerminals;
|
|
83
|
+
pos_scanners: PosScanners;
|
|
84
|
+
pos_terminals: PosTerminals;
|
|
85
|
+
prep_stations: PrepStations;
|
|
86
|
+
printers: PosPrinters;
|
|
87
|
+
servers: PosServers;
|
|
88
|
+
}
|
|
89
|
+
export declare type DevicesList = Devices[];
|
|
@@ -8,7 +8,7 @@ export * from './completedOrders';
|
|
|
8
8
|
export * from './config';
|
|
9
9
|
export * from './creditCards';
|
|
10
10
|
export * from './customer';
|
|
11
|
-
export * from './
|
|
11
|
+
export * from './devices';
|
|
12
12
|
export * from './discounts';
|
|
13
13
|
export * from './donations';
|
|
14
14
|
export * from './employee';
|
|
@@ -11,7 +11,7 @@ tslib_1.__exportStar(require("./completedOrders"), exports);
|
|
|
11
11
|
tslib_1.__exportStar(require("./config"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./creditCards"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./customer"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./
|
|
14
|
+
tslib_1.__exportStar(require("./devices"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./discounts"), exports);
|
|
16
16
|
tslib_1.__exportStar(require("./donations"), exports);
|
|
17
17
|
tslib_1.__exportStar(require("./employee"), exports);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PrepStations } from './devices';
|
|
1
2
|
import { OrderCart, OrderItem, Orders } from './order';
|
|
2
3
|
export declare type KdsView = 'column' | 'grid' | 'list' | 'tiles';
|
|
3
4
|
export declare type KdsFontSize = 'xsmall' | 'small' | 'medium' | 'large';
|
|
@@ -10,23 +11,7 @@ export declare type PrepStatusMap = {
|
|
|
10
11
|
[Property in PrepStatus]: PrepStatus;
|
|
11
12
|
};
|
|
12
13
|
export declare type TicketStatus = 'TODO' | 'IN_PROGRESS' | 'DONE' | 'COMPLETED';
|
|
13
|
-
export interface
|
|
14
|
-
prep_station_id: number;
|
|
15
|
-
name: string;
|
|
16
|
-
item_type_ids: number[] | null;
|
|
17
|
-
prep_type: KdsPrepType;
|
|
18
|
-
assembly_options: KdsAssemblyOptions;
|
|
19
|
-
expo_done_only: boolean;
|
|
20
|
-
expo_print: boolean;
|
|
21
|
-
expo_reset: boolean;
|
|
22
|
-
expo_complete: boolean;
|
|
23
|
-
expo_complete_all: boolean;
|
|
24
|
-
show_modifiers: boolean;
|
|
25
|
-
show_groups: boolean;
|
|
26
|
-
show_counts: boolean;
|
|
27
|
-
}
|
|
28
|
-
export declare type PrepStations = PrepStation[];
|
|
29
|
-
export interface KdsTerminal {
|
|
14
|
+
export interface KdsTerminalSettings {
|
|
30
15
|
name: string;
|
|
31
16
|
ipAddress: string;
|
|
32
17
|
prepStations: PrepStations;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export interface PosPrinter {
|
|
2
|
+
backup_pos_printer_v2_id: number;
|
|
3
|
+
description: string;
|
|
4
|
+
ipv4_address: string;
|
|
5
|
+
name: string;
|
|
6
|
+
pos_printer_v2_id: number;
|
|
7
|
+
use_beeper: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare type PosPrinters = PosPrinter[];
|
|
10
|
+
export interface PosScanner {
|
|
11
|
+
description: string;
|
|
12
|
+
identifier: string;
|
|
13
|
+
name: string;
|
|
14
|
+
pos_scanner_id: number;
|
|
15
|
+
}
|
|
16
|
+
export declare type PosScanners = PosScanner[];
|
|
17
|
+
export declare type PosTerminalPrintReceipt = 'never' | 'always' | 'prompt';
|
|
18
|
+
export interface PosTerminal {
|
|
19
|
+
description: string;
|
|
20
|
+
name: string;
|
|
21
|
+
pos_chipdna_terminal_id: number | null;
|
|
22
|
+
pos_printer_v2_id: number | null;
|
|
23
|
+
pos_scanner: PosScanner;
|
|
24
|
+
pos_scanner_id: number | null;
|
|
25
|
+
pos_terminal_id: number;
|
|
26
|
+
print_kds: boolean;
|
|
27
|
+
print_receipt: PosTerminalPrintReceipt;
|
|
28
|
+
printer: PosPrinters;
|
|
29
|
+
}
|
|
30
|
+
export declare type PosTerminals = PosTerminal[];
|
|
31
|
+
export declare type PrepStationPrepType = 'ASSEMBLY' | 'EXPO';
|
|
32
|
+
export interface PrepStation {
|
|
33
|
+
assembly_done: boolean;
|
|
34
|
+
assembly_print: boolean;
|
|
35
|
+
expo_complete: boolean;
|
|
36
|
+
expo_complete_all: boolean;
|
|
37
|
+
expo_done_only: boolean;
|
|
38
|
+
expo_print: boolean;
|
|
39
|
+
expo_reset: boolean;
|
|
40
|
+
item_type_ids: number[];
|
|
41
|
+
name: string;
|
|
42
|
+
prep_station_id: number;
|
|
43
|
+
prep_type: PrepStationPrepType;
|
|
44
|
+
show_counts: boolean;
|
|
45
|
+
show_groups: boolean;
|
|
46
|
+
show_modifiers: boolean;
|
|
47
|
+
}
|
|
48
|
+
export declare type PrepStations = PrepStation[];
|
|
49
|
+
export interface KdsTerminal {
|
|
50
|
+
auto_print: boolean;
|
|
51
|
+
description: string;
|
|
52
|
+
kds_terminal_id: number;
|
|
53
|
+
name: string;
|
|
54
|
+
pos_printer_v2_id: number | null;
|
|
55
|
+
prep_stations: PrepStations;
|
|
56
|
+
printer: PosPrinters;
|
|
57
|
+
}
|
|
58
|
+
export declare type KdsTerminals = KdsTerminal[];
|
|
59
|
+
export interface PosServer {
|
|
60
|
+
ipv4_address: string;
|
|
61
|
+
name: string;
|
|
62
|
+
pos_server_id: number;
|
|
63
|
+
}
|
|
64
|
+
export declare type PosServers = PosServer[];
|
|
65
|
+
export interface PaymentTerminal {
|
|
66
|
+
api_key: string;
|
|
67
|
+
application_identifier: string;
|
|
68
|
+
description: string;
|
|
69
|
+
identifier: string;
|
|
70
|
+
is_active: boolean;
|
|
71
|
+
mac_address: string;
|
|
72
|
+
model: string;
|
|
73
|
+
name: string;
|
|
74
|
+
pos_chipdna_terminal_id: number;
|
|
75
|
+
revenue_center_id: number;
|
|
76
|
+
standby_message: string;
|
|
77
|
+
use_production: boolean;
|
|
78
|
+
}
|
|
79
|
+
export declare type PaymentTerminals = PaymentTerminal[];
|
|
80
|
+
export interface Devices {
|
|
81
|
+
kds_terminals: KdsTerminals;
|
|
82
|
+
pos_chipdna_terminals: PaymentTerminals;
|
|
83
|
+
pos_scanners: PosScanners;
|
|
84
|
+
pos_terminals: PosTerminals;
|
|
85
|
+
prep_stations: PrepStations;
|
|
86
|
+
printers: PosPrinters;
|
|
87
|
+
servers: PosServers;
|
|
88
|
+
}
|
|
89
|
+
export declare type DevicesList = Devices[];
|
|
@@ -8,7 +8,7 @@ export * from './completedOrders';
|
|
|
8
8
|
export * from './config';
|
|
9
9
|
export * from './creditCards';
|
|
10
10
|
export * from './customer';
|
|
11
|
-
export * from './
|
|
11
|
+
export * from './devices';
|
|
12
12
|
export * from './discounts';
|
|
13
13
|
export * from './donations';
|
|
14
14
|
export * from './employee';
|
|
@@ -8,7 +8,7 @@ export * from './completedOrders';
|
|
|
8
8
|
export * from './config';
|
|
9
9
|
export * from './creditCards';
|
|
10
10
|
export * from './customer';
|
|
11
|
-
export * from './
|
|
11
|
+
export * from './devices';
|
|
12
12
|
export * from './discounts';
|
|
13
13
|
export * from './donations';
|
|
14
14
|
export * from './employee';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PrepStations } from './devices';
|
|
1
2
|
import { OrderCart, OrderItem, Orders } from './order';
|
|
2
3
|
export declare type KdsView = 'column' | 'grid' | 'list' | 'tiles';
|
|
3
4
|
export declare type KdsFontSize = 'xsmall' | 'small' | 'medium' | 'large';
|
|
@@ -10,23 +11,7 @@ export declare type PrepStatusMap = {
|
|
|
10
11
|
[Property in PrepStatus]: PrepStatus;
|
|
11
12
|
};
|
|
12
13
|
export declare type TicketStatus = 'TODO' | 'IN_PROGRESS' | 'DONE' | 'COMPLETED';
|
|
13
|
-
export interface
|
|
14
|
-
prep_station_id: number;
|
|
15
|
-
name: string;
|
|
16
|
-
item_type_ids: number[] | null;
|
|
17
|
-
prep_type: KdsPrepType;
|
|
18
|
-
assembly_options: KdsAssemblyOptions;
|
|
19
|
-
expo_done_only: boolean;
|
|
20
|
-
expo_print: boolean;
|
|
21
|
-
expo_reset: boolean;
|
|
22
|
-
expo_complete: boolean;
|
|
23
|
-
expo_complete_all: boolean;
|
|
24
|
-
show_modifiers: boolean;
|
|
25
|
-
show_groups: boolean;
|
|
26
|
-
show_counts: boolean;
|
|
27
|
-
}
|
|
28
|
-
export declare type PrepStations = PrepStation[];
|
|
29
|
-
export interface KdsTerminal {
|
|
14
|
+
export interface KdsTerminalSettings {
|
|
30
15
|
name: string;
|
|
31
16
|
ipAddress: string;
|
|
32
17
|
prepStations: PrepStations;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|