@feedmepos/mf-order-setting 0.0.85 → 0.0.86
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/{DisplaySystemView-hmlT9gsb.js → DisplaySystemView-DjFBEWoq.js} +1 -1
- package/dist/{KioskDevicesView-fW6M9Hao.js → KioskDevicesView-RKMdLuB3.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-GrsnYo80.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BrG6Au5z.js} +3 -3
- package/dist/{KioskSettingView-BdEPftHH.js → KioskSettingView-CzelEig6.js} +3 -3
- package/dist/{KioskView-Bwk9S0tc.js → KioskView-Bi5Kc4cS.js} +35 -30
- package/dist/OrderSettingsView-BfxrjGAi.js +68958 -0
- package/dist/{app-BnrruYco.js → app-Bg-n-Eug.js} +8316 -7952
- package/dist/app.js +1 -1
- package/dist/common/index.d.ts +6 -7
- package/dist/frontend/mf-order/src/app.d.ts +24 -8
- package/dist/frontend/mf-order/src/main.d.ts +24 -8
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +18 -99
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +1 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +12 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue.d.ts +12 -0
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +3 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-LyvBqKnv.js → index-0eYg6XEb.js} +1 -1
- package/dist/{index-D5wABuUx.js → index-C7Ug4fCi.js} +1 -1
- package/dist/{index-D7IWjZdy.js → index-g_rocKrp.js} +2 -2
- package/dist/order.dto-MKeJAj6d.js +39215 -0
- package/dist/package/entity/alert/investigation.dto.d.ts +3 -0
- package/dist/package/entity/alert/suggestion.dto.d.ts +3 -0
- package/dist/package/entity/delivery/delivery.dto.d.ts +1 -11
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +89 -51
- package/dist/package/entity/index.d.ts +0 -7
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +6 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +26 -0
- package/dist/package/entity/member/member.dto.d.ts +12 -12
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +9 -159
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +3 -17
- package/dist/package/entity/order/effects/effect.dto.d.ts +32 -0
- package/dist/package/entity/order/menu/menu.dto.d.ts +6 -144
- package/dist/package/entity/order/order.do.d.ts +109 -269
- package/dist/package/entity/order/order.dto.d.ts +408 -782
- package/dist/package/entity/order/order.enum.d.ts +1 -1
- package/dist/package/entity/order/timeslot/timeslot.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +1 -11
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +1 -11
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +278 -234
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +1 -11
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +6 -6
- package/dist/package/entity/order-setting/delivery/inhouse-delivery.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +65 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +1004 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -337
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +879 -678
- package/dist/package/entity/order-setting/pickup/pickup.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +0 -41
- package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +0 -43
- package/dist/package/entity/order-setting/sms/sms.do.d.ts +3 -3
- package/dist/package/entity/order-setting/sms/sms.dto.d.ts +3 -3
- package/dist/package/entity/queue/queue.do.d.ts +2 -2
- package/dist/package/entity/queue/queue.dto.d.ts +49 -65
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +11 -0
- package/dist/package/entity/websocket/websocket.dto.d.ts +33 -161
- package/dist/package/entity/websocket/websocket.enum.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/locales/en-US.json +6 -2
- package/src/locales/ja-JP.json +6 -2
- package/src/locales/th-TH.json +6 -2
- package/src/locales/zh-CN.json +6 -2
- package/src/modules/order-setting/kiosk/interface.ts +12 -0
- package/src/stores/order-setting/mapper.spec.ts +36 -0
- package/src/stores/order-setting/mapper.ts +5 -0
- package/src/views/order-settings/delivery/DeliverySetting.vue +5 -5
- package/src/views/order-settings/delivery/delivery.spec.ts +34 -0
- package/src/views/order-settings/delivery/delivery.ts +14 -1
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +10 -1
- package/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue +121 -22
- package/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue +161 -10
- package/dist/OrderSettingsView-DVXfVdXj.js +0 -94831
- package/dist/common/booking/index.d.ts +0 -38
- package/dist/order.dto-D7HGiueX.js +0 -43514
- package/dist/package/entity/booking/booking.do.d.ts +0 -17197
- package/dist/package/entity/booking/booking.dto.d.ts +0 -305
- package/dist/package/entity/booking/booking.enum.d.ts +0 -7
- package/dist/package/entity/order/dine-in/reservation.do.d.ts +0 -75
- package/dist/package/entity/order/dine-in/reservation.dto.d.ts +0 -15
- package/dist/package/entity/order-setting/reservation/reservation.do.d.ts +0 -662
- package/dist/package/entity/order-setting/reservation/reservation.dto.d.ts +0 -527
|
@@ -536,26 +536,26 @@ export declare const FdtoMember: z.ZodObject<z.extendShape<Omit<{
|
|
|
536
536
|
amount: z.ZodNumber;
|
|
537
537
|
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
538
538
|
}, "strip", z.ZodTypeAny, {
|
|
539
|
-
_id: string;
|
|
540
539
|
amount: number;
|
|
540
|
+
_id: string;
|
|
541
541
|
expiredAt: string;
|
|
542
542
|
}, {
|
|
543
|
-
_id: string;
|
|
544
543
|
amount: number;
|
|
544
|
+
_id: string;
|
|
545
545
|
expiredAt: string;
|
|
546
546
|
}>, "many">;
|
|
547
547
|
}, "strip", z.ZodTypeAny, {
|
|
548
548
|
normal: number;
|
|
549
549
|
free: {
|
|
550
|
-
_id: string;
|
|
551
550
|
amount: number;
|
|
551
|
+
_id: string;
|
|
552
552
|
expiredAt: string;
|
|
553
553
|
}[];
|
|
554
554
|
}, {
|
|
555
555
|
normal: number;
|
|
556
556
|
free: {
|
|
557
|
-
_id: string;
|
|
558
557
|
amount: number;
|
|
558
|
+
_id: string;
|
|
559
559
|
expiredAt: string;
|
|
560
560
|
}[];
|
|
561
561
|
}>;
|
|
@@ -678,8 +678,8 @@ export declare const FdtoMember: z.ZodObject<z.extendShape<Omit<{
|
|
|
678
678
|
creditBalance: {
|
|
679
679
|
normal: number;
|
|
680
680
|
free: {
|
|
681
|
-
_id: string;
|
|
682
681
|
amount: number;
|
|
682
|
+
_id: string;
|
|
683
683
|
expiredAt: string;
|
|
684
684
|
}[];
|
|
685
685
|
};
|
|
@@ -792,8 +792,8 @@ export declare const FdtoMember: z.ZodObject<z.extendShape<Omit<{
|
|
|
792
792
|
creditBalance: {
|
|
793
793
|
normal: number;
|
|
794
794
|
free: {
|
|
795
|
-
_id: string;
|
|
796
795
|
amount: number;
|
|
796
|
+
_id: string;
|
|
797
797
|
expiredAt: string;
|
|
798
798
|
}[];
|
|
799
799
|
};
|
|
@@ -1347,26 +1347,26 @@ export declare const FdtoZusMember: z.ZodObject<z.extendShape<z.extendShape<Omit
|
|
|
1347
1347
|
amount: z.ZodNumber;
|
|
1348
1348
|
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
1349
1349
|
}, "strip", z.ZodTypeAny, {
|
|
1350
|
-
_id: string;
|
|
1351
1350
|
amount: number;
|
|
1351
|
+
_id: string;
|
|
1352
1352
|
expiredAt: string;
|
|
1353
1353
|
}, {
|
|
1354
|
-
_id: string;
|
|
1355
1354
|
amount: number;
|
|
1355
|
+
_id: string;
|
|
1356
1356
|
expiredAt: string;
|
|
1357
1357
|
}>, "many">;
|
|
1358
1358
|
}, "strip", z.ZodTypeAny, {
|
|
1359
1359
|
normal: number;
|
|
1360
1360
|
free: {
|
|
1361
|
-
_id: string;
|
|
1362
1361
|
amount: number;
|
|
1362
|
+
_id: string;
|
|
1363
1363
|
expiredAt: string;
|
|
1364
1364
|
}[];
|
|
1365
1365
|
}, {
|
|
1366
1366
|
normal: number;
|
|
1367
1367
|
free: {
|
|
1368
|
-
_id: string;
|
|
1369
1368
|
amount: number;
|
|
1369
|
+
_id: string;
|
|
1370
1370
|
expiredAt: string;
|
|
1371
1371
|
}[];
|
|
1372
1372
|
}>;
|
|
@@ -1494,8 +1494,8 @@ export declare const FdtoZusMember: z.ZodObject<z.extendShape<z.extendShape<Omit
|
|
|
1494
1494
|
creditBalance: {
|
|
1495
1495
|
normal: number;
|
|
1496
1496
|
free: {
|
|
1497
|
-
_id: string;
|
|
1498
1497
|
amount: number;
|
|
1498
|
+
_id: string;
|
|
1499
1499
|
expiredAt: string;
|
|
1500
1500
|
}[];
|
|
1501
1501
|
};
|
|
@@ -1610,8 +1610,8 @@ export declare const FdtoZusMember: z.ZodObject<z.extendShape<z.extendShape<Omit
|
|
|
1610
1610
|
creditBalance: {
|
|
1611
1611
|
normal: number;
|
|
1612
1612
|
free: {
|
|
1613
|
-
_id: string;
|
|
1614
1613
|
amount: number;
|
|
1614
|
+
_id: string;
|
|
1615
1615
|
expiredAt: string;
|
|
1616
1616
|
}[];
|
|
1617
1617
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const FdoDineInBaseSubOption: z.ZodObject<{
|
|
3
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
3
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
4
4
|
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
type: "QR" | "QUEUE" | "
|
|
5
|
+
type: "QR" | "QUEUE" | "TAKEAWAY" | "KIOSK" | "COUNTER";
|
|
6
6
|
}, {
|
|
7
|
-
type: "QR" | "QUEUE" | "
|
|
7
|
+
type: "QR" | "QUEUE" | "TAKEAWAY" | "KIOSK" | "COUNTER";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const FdoDineInQROption: z.ZodObject<z.extendShape<{
|
|
10
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
10
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
11
11
|
}, {
|
|
12
12
|
type: z.ZodLiteral<"QR">;
|
|
13
13
|
session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -22,7 +22,7 @@ export declare const FdoDineInQROption: z.ZodObject<z.extendShape<{
|
|
|
22
22
|
type: "QR";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const FdoDineInQueueOption: z.ZodObject<z.extendShape<{
|
|
25
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
25
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
26
26
|
}, {
|
|
27
27
|
type: z.ZodLiteral<"QUEUE">;
|
|
28
28
|
queueId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -36,83 +36,8 @@ export declare const FdoDineInQueueOption: z.ZodObject<z.extendShape<{
|
|
|
36
36
|
type: "QUEUE";
|
|
37
37
|
queueId: string;
|
|
38
38
|
}>;
|
|
39
|
-
export declare const FdoDineInReservationOption: z.ZodObject<z.extendShape<{
|
|
40
|
-
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
41
|
-
}, {
|
|
42
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
43
|
-
reservationId: z.ZodEffects<z.ZodString, string, string>;
|
|
44
|
-
pf_booking: z.ZodOptional<z.ZodLazy<z.ZodObject<z.extendShape<{
|
|
45
|
-
_id: z.ZodString;
|
|
46
|
-
type: z.ZodEnum<["QUEUE", "RESERVATION"]>;
|
|
47
|
-
restaurantId: z.ZodString;
|
|
48
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
49
|
-
seqNumber: z.ZodOptional<z.ZodString>;
|
|
50
|
-
pax: z.ZodNumber;
|
|
51
|
-
rejectReason: z.ZodOptional<z.ZodString>;
|
|
52
|
-
pf_restaurant: z.ZodOptional<z.ZodAny>;
|
|
53
|
-
pf_user: z.ZodOptional<z.ZodAny>;
|
|
54
|
-
}, {
|
|
55
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
56
|
-
reserveAt: z.ZodString;
|
|
57
|
-
}>, "strip", z.ZodTypeAny, {
|
|
58
|
-
rejectReason?: string | undefined;
|
|
59
|
-
pf_restaurant?: any;
|
|
60
|
-
seqNumber?: string | undefined;
|
|
61
|
-
userId?: string | undefined;
|
|
62
|
-
pf_user?: any;
|
|
63
|
-
type: "RESERVATION";
|
|
64
|
-
restaurantId: string;
|
|
65
|
-
_id: string;
|
|
66
|
-
pax: number;
|
|
67
|
-
reserveAt: string;
|
|
68
|
-
}, {
|
|
69
|
-
rejectReason?: string | undefined;
|
|
70
|
-
pf_restaurant?: any;
|
|
71
|
-
seqNumber?: string | undefined;
|
|
72
|
-
userId?: string | undefined;
|
|
73
|
-
pf_user?: any;
|
|
74
|
-
type: "RESERVATION";
|
|
75
|
-
restaurantId: string;
|
|
76
|
-
_id: string;
|
|
77
|
-
pax: number;
|
|
78
|
-
reserveAt: string;
|
|
79
|
-
}>>>;
|
|
80
|
-
slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
81
|
-
}>, "strip", z.ZodTypeAny, {
|
|
82
|
-
slot?: string | null | undefined;
|
|
83
|
-
pf_booking?: {
|
|
84
|
-
rejectReason?: string | undefined;
|
|
85
|
-
pf_restaurant?: any;
|
|
86
|
-
seqNumber?: string | undefined;
|
|
87
|
-
userId?: string | undefined;
|
|
88
|
-
pf_user?: any;
|
|
89
|
-
type: "RESERVATION";
|
|
90
|
-
restaurantId: string;
|
|
91
|
-
_id: string;
|
|
92
|
-
pax: number;
|
|
93
|
-
reserveAt: string;
|
|
94
|
-
} | undefined;
|
|
95
|
-
type: "RESERVATION";
|
|
96
|
-
reservationId: string;
|
|
97
|
-
}, {
|
|
98
|
-
slot?: string | null | undefined;
|
|
99
|
-
pf_booking?: {
|
|
100
|
-
rejectReason?: string | undefined;
|
|
101
|
-
pf_restaurant?: any;
|
|
102
|
-
seqNumber?: string | undefined;
|
|
103
|
-
userId?: string | undefined;
|
|
104
|
-
pf_user?: any;
|
|
105
|
-
type: "RESERVATION";
|
|
106
|
-
restaurantId: string;
|
|
107
|
-
_id: string;
|
|
108
|
-
pax: number;
|
|
109
|
-
reserveAt: string;
|
|
110
|
-
} | undefined;
|
|
111
|
-
type: "RESERVATION";
|
|
112
|
-
reservationId: string;
|
|
113
|
-
}>;
|
|
114
39
|
export declare const FdoDineInTakeawayOption: z.ZodObject<z.extendShape<{
|
|
115
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
40
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
116
41
|
}, {
|
|
117
42
|
type: z.ZodLiteral<"TAKEAWAY">;
|
|
118
43
|
slot: z.ZodString;
|
|
@@ -127,7 +52,7 @@ export declare const FdoDineInTakeawayOption: z.ZodObject<z.extendShape<{
|
|
|
127
52
|
type: "TAKEAWAY";
|
|
128
53
|
}>;
|
|
129
54
|
export declare const FdoDineInSubOption: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
130
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
55
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
131
56
|
}, {
|
|
132
57
|
type: z.ZodLiteral<"QR">;
|
|
133
58
|
session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -141,7 +66,7 @@ export declare const FdoDineInSubOption: z.ZodDiscriminatedUnion<"type", z.Primi
|
|
|
141
66
|
slot: string;
|
|
142
67
|
type: "QR";
|
|
143
68
|
}> | z.ZodObject<z.extendShape<{
|
|
144
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
69
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
145
70
|
}, {
|
|
146
71
|
type: z.ZodLiteral<"QUEUE">;
|
|
147
72
|
queueId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -155,81 +80,7 @@ export declare const FdoDineInSubOption: z.ZodDiscriminatedUnion<"type", z.Primi
|
|
|
155
80
|
type: "QUEUE";
|
|
156
81
|
queueId: string;
|
|
157
82
|
}> | z.ZodObject<z.extendShape<{
|
|
158
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
159
|
-
}, {
|
|
160
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
161
|
-
reservationId: z.ZodEffects<z.ZodString, string, string>;
|
|
162
|
-
pf_booking: z.ZodOptional<z.ZodLazy<z.ZodObject<z.extendShape<{
|
|
163
|
-
_id: z.ZodString;
|
|
164
|
-
type: z.ZodEnum<["QUEUE", "RESERVATION"]>;
|
|
165
|
-
restaurantId: z.ZodString;
|
|
166
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
167
|
-
seqNumber: z.ZodOptional<z.ZodString>;
|
|
168
|
-
pax: z.ZodNumber;
|
|
169
|
-
rejectReason: z.ZodOptional<z.ZodString>;
|
|
170
|
-
pf_restaurant: z.ZodOptional<z.ZodAny>;
|
|
171
|
-
pf_user: z.ZodOptional<z.ZodAny>;
|
|
172
|
-
}, {
|
|
173
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
174
|
-
reserveAt: z.ZodString;
|
|
175
|
-
}>, "strip", z.ZodTypeAny, {
|
|
176
|
-
rejectReason?: string | undefined;
|
|
177
|
-
pf_restaurant?: any;
|
|
178
|
-
seqNumber?: string | undefined;
|
|
179
|
-
userId?: string | undefined;
|
|
180
|
-
pf_user?: any;
|
|
181
|
-
type: "RESERVATION";
|
|
182
|
-
restaurantId: string;
|
|
183
|
-
_id: string;
|
|
184
|
-
pax: number;
|
|
185
|
-
reserveAt: string;
|
|
186
|
-
}, {
|
|
187
|
-
rejectReason?: string | undefined;
|
|
188
|
-
pf_restaurant?: any;
|
|
189
|
-
seqNumber?: string | undefined;
|
|
190
|
-
userId?: string | undefined;
|
|
191
|
-
pf_user?: any;
|
|
192
|
-
type: "RESERVATION";
|
|
193
|
-
restaurantId: string;
|
|
194
|
-
_id: string;
|
|
195
|
-
pax: number;
|
|
196
|
-
reserveAt: string;
|
|
197
|
-
}>>>;
|
|
198
|
-
slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
199
|
-
}>, "strip", z.ZodTypeAny, {
|
|
200
|
-
slot?: string | null | undefined;
|
|
201
|
-
pf_booking?: {
|
|
202
|
-
rejectReason?: string | undefined;
|
|
203
|
-
pf_restaurant?: any;
|
|
204
|
-
seqNumber?: string | undefined;
|
|
205
|
-
userId?: string | undefined;
|
|
206
|
-
pf_user?: any;
|
|
207
|
-
type: "RESERVATION";
|
|
208
|
-
restaurantId: string;
|
|
209
|
-
_id: string;
|
|
210
|
-
pax: number;
|
|
211
|
-
reserveAt: string;
|
|
212
|
-
} | undefined;
|
|
213
|
-
type: "RESERVATION";
|
|
214
|
-
reservationId: string;
|
|
215
|
-
}, {
|
|
216
|
-
slot?: string | null | undefined;
|
|
217
|
-
pf_booking?: {
|
|
218
|
-
rejectReason?: string | undefined;
|
|
219
|
-
pf_restaurant?: any;
|
|
220
|
-
seqNumber?: string | undefined;
|
|
221
|
-
userId?: string | undefined;
|
|
222
|
-
pf_user?: any;
|
|
223
|
-
type: "RESERVATION";
|
|
224
|
-
restaurantId: string;
|
|
225
|
-
_id: string;
|
|
226
|
-
pax: number;
|
|
227
|
-
reserveAt: string;
|
|
228
|
-
} | undefined;
|
|
229
|
-
type: "RESERVATION";
|
|
230
|
-
reservationId: string;
|
|
231
|
-
}> | z.ZodObject<z.extendShape<{
|
|
232
|
-
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
83
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
233
84
|
}, {
|
|
234
85
|
type: z.ZodLiteral<"TAKEAWAY">;
|
|
235
86
|
slot: z.ZodString;
|
|
@@ -245,6 +96,5 @@ export declare const FdoDineInSubOption: z.ZodDiscriminatedUnion<"type", z.Primi
|
|
|
245
96
|
}>>;
|
|
246
97
|
export type FdoDineInQROption = z.infer<typeof FdoDineInQROption>;
|
|
247
98
|
export type FdoDineInQueueOption = z.infer<typeof FdoDineInQueueOption>;
|
|
248
|
-
export type FdoDineInReservationOption = z.infer<typeof FdoDineInReservationOption>;
|
|
249
99
|
export type FdoDineInTakeawayOption = z.infer<typeof FdoDineInTakeawayOption>;
|
|
250
100
|
export type FdoDineInSubOption = z.infer<typeof FdoDineInSubOption>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const OrderDineInSubOptionDto: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
3
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
3
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
4
4
|
}, {
|
|
5
5
|
type: z.ZodLiteral<"QR">;
|
|
6
6
|
session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -14,7 +14,7 @@ export declare const OrderDineInSubOptionDto: z.ZodDiscriminatedUnion<"type", z.
|
|
|
14
14
|
slot: string;
|
|
15
15
|
type: "QR";
|
|
16
16
|
}> | z.ZodObject<z.extendShape<{
|
|
17
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
17
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
18
18
|
}, {
|
|
19
19
|
type: z.ZodLiteral<"QUEUE">;
|
|
20
20
|
queueId: z.ZodString;
|
|
@@ -28,21 +28,7 @@ export declare const OrderDineInSubOptionDto: z.ZodDiscriminatedUnion<"type", z.
|
|
|
28
28
|
type: "QUEUE";
|
|
29
29
|
queueId: string;
|
|
30
30
|
}> | z.ZodObject<z.extendShape<{
|
|
31
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
32
|
-
}, {
|
|
33
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
34
|
-
reservationId: z.ZodString;
|
|
35
|
-
slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
|
-
}>, "strip", z.ZodTypeAny, {
|
|
37
|
-
slot?: string | null | undefined;
|
|
38
|
-
type: "RESERVATION";
|
|
39
|
-
reservationId: string;
|
|
40
|
-
}, {
|
|
41
|
-
slot?: string | null | undefined;
|
|
42
|
-
type: "RESERVATION";
|
|
43
|
-
reservationId: string;
|
|
44
|
-
}> | z.ZodObject<z.extendShape<{
|
|
45
|
-
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
31
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
46
32
|
}, {
|
|
47
33
|
type: z.ZodLiteral<"TAKEAWAY">;
|
|
48
34
|
slot: z.ZodString;
|
|
@@ -158,10 +158,16 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
|
|
|
158
158
|
}, {
|
|
159
159
|
type: z.ZodLiteral<"SIMPLE">;
|
|
160
160
|
withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
161
|
+
targetScope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ITEM", "SUB_ITEM"]>>>;
|
|
162
|
+
calculationBase: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SUB_ITEM", "BASE_ITEM"]>>>;
|
|
161
163
|
}>, "strip", z.ZodTypeAny, {
|
|
164
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
165
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
162
166
|
withAddons?: string[] | null | undefined;
|
|
163
167
|
type: "SIMPLE";
|
|
164
168
|
}, {
|
|
169
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
170
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
165
171
|
withAddons?: string[] | null | undefined;
|
|
166
172
|
type: "SIMPLE";
|
|
167
173
|
}> | z.ZodObject<z.extendShape<{
|
|
@@ -271,6 +277,8 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
|
|
|
271
277
|
maxQuantity?: number | null | undefined;
|
|
272
278
|
target: "ITEM";
|
|
273
279
|
strategy: {
|
|
280
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
281
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
274
282
|
withAddons?: string[] | null | undefined;
|
|
275
283
|
type: "SIMPLE";
|
|
276
284
|
} | {
|
|
@@ -312,6 +320,8 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
|
|
|
312
320
|
maxQuantity?: number | null | undefined;
|
|
313
321
|
target: "ITEM";
|
|
314
322
|
strategy: {
|
|
323
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
324
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
315
325
|
withAddons?: string[] | null | undefined;
|
|
316
326
|
type: "SIMPLE";
|
|
317
327
|
} | {
|
|
@@ -415,6 +425,8 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
|
|
|
415
425
|
maxQuantity?: number | null | undefined;
|
|
416
426
|
target: "ITEM";
|
|
417
427
|
strategy: {
|
|
428
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
429
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
418
430
|
withAddons?: string[] | null | undefined;
|
|
419
431
|
type: "SIMPLE";
|
|
420
432
|
} | {
|
|
@@ -494,6 +506,8 @@ export declare const FdoRawFinalBillEffect: z.ZodObject<{
|
|
|
494
506
|
maxQuantity?: number | null | undefined;
|
|
495
507
|
target: "ITEM";
|
|
496
508
|
strategy: {
|
|
509
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
510
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
497
511
|
withAddons?: string[] | null | undefined;
|
|
498
512
|
type: "SIMPLE";
|
|
499
513
|
} | {
|
|
@@ -686,10 +700,16 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
|
|
|
686
700
|
}, {
|
|
687
701
|
type: z.ZodLiteral<"SIMPLE">;
|
|
688
702
|
withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
703
|
+
targetScope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ITEM", "SUB_ITEM"]>>>;
|
|
704
|
+
calculationBase: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SUB_ITEM", "BASE_ITEM"]>>>;
|
|
689
705
|
}>, "strip", z.ZodTypeAny, {
|
|
706
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
707
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
690
708
|
withAddons?: string[] | null | undefined;
|
|
691
709
|
type: "SIMPLE";
|
|
692
710
|
}, {
|
|
711
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
712
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
693
713
|
withAddons?: string[] | null | undefined;
|
|
694
714
|
type: "SIMPLE";
|
|
695
715
|
}> | z.ZodObject<z.extendShape<{
|
|
@@ -799,6 +819,8 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
|
|
|
799
819
|
maxQuantity?: number | null | undefined;
|
|
800
820
|
target: "ITEM";
|
|
801
821
|
strategy: {
|
|
822
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
823
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
802
824
|
withAddons?: string[] | null | undefined;
|
|
803
825
|
type: "SIMPLE";
|
|
804
826
|
} | {
|
|
@@ -840,6 +862,8 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
|
|
|
840
862
|
maxQuantity?: number | null | undefined;
|
|
841
863
|
target: "ITEM";
|
|
842
864
|
strategy: {
|
|
865
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
866
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
843
867
|
withAddons?: string[] | null | undefined;
|
|
844
868
|
type: "SIMPLE";
|
|
845
869
|
} | {
|
|
@@ -943,6 +967,8 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
|
|
|
943
967
|
maxQuantity?: number | null | undefined;
|
|
944
968
|
target: "ITEM";
|
|
945
969
|
strategy: {
|
|
970
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
971
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
946
972
|
withAddons?: string[] | null | undefined;
|
|
947
973
|
type: "SIMPLE";
|
|
948
974
|
} | {
|
|
@@ -1022,6 +1048,8 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
|
|
|
1022
1048
|
maxQuantity?: number | null | undefined;
|
|
1023
1049
|
target: "ITEM";
|
|
1024
1050
|
strategy: {
|
|
1051
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
1052
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
1025
1053
|
withAddons?: string[] | null | undefined;
|
|
1026
1054
|
type: "SIMPLE";
|
|
1027
1055
|
} | {
|
|
@@ -1112,6 +1140,8 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
|
|
|
1112
1140
|
maxQuantity?: number | null | undefined;
|
|
1113
1141
|
target: "ITEM";
|
|
1114
1142
|
strategy: {
|
|
1143
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
1144
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
1115
1145
|
withAddons?: string[] | null | undefined;
|
|
1116
1146
|
type: "SIMPLE";
|
|
1117
1147
|
} | {
|
|
@@ -1199,6 +1229,8 @@ export declare const FdtoCustomerEffect: z.ZodObject<{
|
|
|
1199
1229
|
maxQuantity?: number | null | undefined;
|
|
1200
1230
|
target: "ITEM";
|
|
1201
1231
|
strategy: {
|
|
1232
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
1233
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
1202
1234
|
withAddons?: string[] | null | undefined;
|
|
1203
1235
|
type: "SIMPLE";
|
|
1204
1236
|
} | {
|