@kiminix/tp-client 2.34.0 → 2.35.0
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OrderStatus } from "../../enum";
|
|
2
2
|
export interface Order {
|
|
3
3
|
id: string;
|
|
4
|
-
table?:
|
|
4
|
+
table?: Table | undefined;
|
|
5
5
|
deviceId?: string | undefined;
|
|
6
6
|
billId?: string | undefined;
|
|
7
7
|
status: OrderStatus;
|
|
@@ -10,10 +10,6 @@ export interface Order {
|
|
|
10
10
|
items: Order.Item[];
|
|
11
11
|
}
|
|
12
12
|
export declare namespace Order {
|
|
13
|
-
interface Table {
|
|
14
|
-
id: string;
|
|
15
|
-
label: string;
|
|
16
|
-
}
|
|
17
13
|
interface Item {
|
|
18
14
|
categoryId: string;
|
|
19
15
|
categoryLabel: string;
|
|
@@ -26,3 +22,9 @@ export declare namespace Order {
|
|
|
26
22
|
discount?: number;
|
|
27
23
|
}
|
|
28
24
|
}
|
|
25
|
+
export interface Table {
|
|
26
|
+
id: string;
|
|
27
|
+
label: string;
|
|
28
|
+
areaId?: string | undefined;
|
|
29
|
+
areaLabel?: string | undefined;
|
|
30
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OpeningHours, SocialLinks, Template } from "../../../business/types/shared";
|
|
2
|
+
import { Table } from "../../shared/types";
|
|
2
3
|
export interface Menu {
|
|
3
4
|
business: BusinessOfMenu;
|
|
4
5
|
categories: Category[];
|
|
@@ -19,10 +20,6 @@ export interface BusinessOfMenu {
|
|
|
19
20
|
googleMapsReviewLink?: string | undefined;
|
|
20
21
|
socialLinks?: SocialLinks | undefined;
|
|
21
22
|
}
|
|
22
|
-
export interface Table {
|
|
23
|
-
id: string;
|
|
24
|
-
label: string;
|
|
25
|
-
}
|
|
26
23
|
export interface Category {
|
|
27
24
|
label: string;
|
|
28
25
|
isPublic: boolean;
|