@feedmepos/mf-order-setting 0.0.91 → 0.0.92
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-n7Kqdw-h.js → DisplaySystemView-DZS7EVfk.js} +1 -1
- package/dist/{KioskDevicesView-Bz6seroM.js → KioskDevicesView-d2WLB0-w.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-I39sE8Pe.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-rs-hNWUW.js} +3 -3
- package/dist/{KioskSettingView-Cajjh4Zm.js → KioskSettingView-DFE3_u5c.js} +3 -3
- package/dist/{KioskView-BPSbsMi5.js → KioskView-C3Pi3lWW.js} +5 -5
- package/dist/{OrderSettingsView-jPxZ3JDM.js → OrderSettingsView-Dxg9RjSd.js} +26999 -25299
- package/dist/{app-DIhv5ssA.js → app-BFlQtcsd.js} +3253 -3062
- package/dist/app.js +1 -1
- package/dist/common/order-platform/index.d.ts +20 -0
- package/dist/frontend/mf-order/src/api/reservation/index.d.ts +8 -0
- package/dist/frontend/mf-order/src/app.d.ts +84 -0
- package/dist/frontend/mf-order/src/main.d.ts +84 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +3 -3
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts +186 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomTimePicker.vue.d.ts +11 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-vaSLX6r3.js → index-ByiTrmdq.js} +2 -2
- package/dist/{index-Clp_YRJ2.js → index-CaO7aaaT.js} +1 -1
- package/dist/{index-CmqNrkNl.js → index-s2kWGMtz.js} +1 -1
- package/dist/order.dto-C829lA69.js +41528 -0
- package/dist/package/entity/delivery/delivery.dto.d.ts +7 -0
- package/dist/package/entity/food-court/food-court.dto.d.ts +315 -264
- package/dist/package/entity/food-court/order-v2.do.d.ts +231 -0
- package/dist/package/entity/food-court/order-v2.do.spec.d.ts +1 -0
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +15 -6
- package/dist/package/entity/index.d.ts +7 -0
- package/dist/package/entity/index.frontend.d.ts +2 -0
- package/dist/package/entity/member/member.dto.d.ts +2 -2
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +44 -9
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +17 -3
- package/dist/package/entity/order/menu/menu.dto.d.ts +33 -3
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +18 -18
- package/dist/package/entity/order/order.do.d.ts +87 -12
- package/dist/package/entity/order/order.dto.d.ts +762 -358
- package/dist/package/entity/order/order.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +7 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +7 -0
- package/dist/package/entity/order-platform/menu.dto.d.ts +10 -10
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +92 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +7 -0
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +6 -6
- package/dist/package/entity/order-setting/order-setting.do.d.ts +866 -5
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -10
- package/dist/package/entity/order-setting/reservationV2/reservation.do.d.ts +1269 -0
- 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.dto.d.ts +175 -121
- package/dist/package/entity/reservation/reservation-pos.do.d.ts +222 -0
- package/dist/package/entity/reservation/reservation.do.d.ts +205 -0
- package/dist/package/entity/reservation/reservation.dto.d.ts +428 -0
- package/dist/package/entity/reservation/reservation.enum.d.ts +3 -0
- package/dist/package/entity/reservation/reservation.utils.d.ts +152 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +39 -24
- package/dist/package/entity/user/user.do.d.ts +2 -2
- package/dist/package/entity/websocket/websocket.dto.d.ts +161 -21
- package/dist/package/entity/websocket/websocket.enum.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/api/reservation/index.ts +25 -0
- package/src/assets/images/not-found.png +0 -0
- package/src/locales/en-US.json +21 -0
- package/src/locales/ja-JP.json +21 -0
- package/src/locales/th-TH.json +21 -0
- package/src/locales/zh-CN.json +21 -0
- package/src/views/order-settings/OrderSettingsView.vue +9 -2
- package/src/views/order-settings/delivery/delivery.spec.ts +21 -0
- package/src/views/order-settings/delivery/delivery.ts +2 -51
- package/src/views/order-settings/dine-in/DineInSetting.vue +11 -1
- package/src/views/order-settings/reservation/CopySettingsSheet.vue +256 -0
- package/src/views/order-settings/reservation/CustomTimePicker.vue +311 -0
- package/src/views/order-settings/reservation/ReservationSetting.vue +1549 -0
- package/vitest.config.ts +2 -1
- package/dist/order.dto-DV1qL3Q_.js +0 -40301
package/dist/app.js
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Integrated delivery / ordering platforms a restaurant can connect from the portal's
|
|
3
|
+
* delivery settings. The ids are mf-order's `AUTO_INTEGRATION_CLIENT` values.
|
|
4
|
+
*/
|
|
5
|
+
export declare const INTEGRATED_PLATFORMS: readonly ["foodpanda", "grabfood", "lineman", "shopeefood", "deliveroo", "tng", "gofood", "external"];
|
|
6
|
+
export type IntegratedPlatform = (typeof INTEGRATED_PLATFORMS)[number];
|
|
7
|
+
/**
|
|
8
|
+
* The integrated platforms FeedMe offers in each country (keyed by `F_COUNTRY` code). A country
|
|
9
|
+
* missing here offers none.
|
|
10
|
+
*
|
|
11
|
+
* The one list for: mf-order's delivery settings (`isIntegratedPlatformSupported`),
|
|
12
|
+
* incoming-order-backend's hourly POS menu sync (`IncomingOrderPosService.syncMenu`) and
|
|
13
|
+
* dpi-aggregator-service's delivery-channels API (`integrated-platform.registry.ts`). Add a
|
|
14
|
+
* platform or country here, not in a local copy.
|
|
15
|
+
*
|
|
16
|
+
* Imported by subpath (`@common/order-platform`), not through the `@common` barrel: the barrel's
|
|
17
|
+
* export keys are pinned by `pkg-common.compatibility.test.ts` against the Go port.
|
|
18
|
+
*/
|
|
19
|
+
export declare const INTEGRATED_PLATFORMS_BY_COUNTRY: Readonly<Record<string, readonly IntegratedPlatform[]>>;
|
|
20
|
+
export declare function isIntegratedPlatformOffered(platform: string, country: string): boolean;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { FdoOrderReservationSettingsV2 } from '@entity';
|
|
2
|
+
declare function getReservationSetting(restaurantId: string): Promise<FdoOrderReservationSettingsV2>;
|
|
3
|
+
declare function updateReservationSetting(restaurantId: string, payload: FdoOrderReservationSettingsV2): Promise<FdoOrderReservationSettingsV2>;
|
|
4
|
+
export declare const ReservationApi: {
|
|
5
|
+
getReservationSetting: typeof getReservationSetting;
|
|
6
|
+
updateReservationSetting: typeof updateReservationSetting;
|
|
7
|
+
};
|
|
8
|
+
export {};
|
|
@@ -69,6 +69,8 @@ export declare const i18nMessages: {
|
|
|
69
69
|
acceptedPayment: string;
|
|
70
70
|
acceptQueue: string;
|
|
71
71
|
acceptQueueSublabel: string;
|
|
72
|
+
acceptReservation: string;
|
|
73
|
+
acceptReservationSublabel: string;
|
|
72
74
|
actiavteFeedmeExpress: string;
|
|
73
75
|
activated: string;
|
|
74
76
|
activatedDate: string;
|
|
@@ -401,6 +403,25 @@ export declare const i18nMessages: {
|
|
|
401
403
|
padDigit: string;
|
|
402
404
|
paid: string;
|
|
403
405
|
paxMax: string;
|
|
406
|
+
reservation: string;
|
|
407
|
+
reservationStatus: string;
|
|
408
|
+
reservationAvailability: string;
|
|
409
|
+
notificationSettings: string;
|
|
410
|
+
smsEnabled: string;
|
|
411
|
+
smsEnabledDescription: string;
|
|
412
|
+
emailEnabled: string;
|
|
413
|
+
emailEnabledDescription: string;
|
|
414
|
+
notifyOnConfirm: string;
|
|
415
|
+
notifyOnConfirmDescription: string;
|
|
416
|
+
notifyOnCancel: string;
|
|
417
|
+
notifyOnCancelDescription: string;
|
|
418
|
+
draftHoldTimeMinutes: string;
|
|
419
|
+
posCanOverbook: string;
|
|
420
|
+
posCanOverbookDescription: string;
|
|
421
|
+
saveAllChanges: string;
|
|
422
|
+
settingUpdated: string;
|
|
423
|
+
validationError: string;
|
|
424
|
+
ok: string;
|
|
404
425
|
paxMin: string;
|
|
405
426
|
payAtCounter: string;
|
|
406
427
|
paymentMethod: string;
|
|
@@ -1133,6 +1154,8 @@ export declare const i18nMessages: {
|
|
|
1133
1154
|
acceptedPayment: string;
|
|
1134
1155
|
acceptQueue: string;
|
|
1135
1156
|
acceptQueueSublabel: string;
|
|
1157
|
+
acceptReservation: string;
|
|
1158
|
+
acceptReservationSublabel: string;
|
|
1136
1159
|
actiavteFeedmeExpress: string;
|
|
1137
1160
|
activated: string;
|
|
1138
1161
|
activatedDate: string;
|
|
@@ -1417,6 +1440,25 @@ export declare const i18nMessages: {
|
|
|
1417
1440
|
current: string;
|
|
1418
1441
|
paxMin: string;
|
|
1419
1442
|
paxMax: string;
|
|
1443
|
+
reservation: string;
|
|
1444
|
+
reservationStatus: string;
|
|
1445
|
+
reservationAvailability: string;
|
|
1446
|
+
notificationSettings: string;
|
|
1447
|
+
smsEnabled: string;
|
|
1448
|
+
smsEnabledDescription: string;
|
|
1449
|
+
emailEnabled: string;
|
|
1450
|
+
emailEnabledDescription: string;
|
|
1451
|
+
notifyOnConfirm: string;
|
|
1452
|
+
notifyOnConfirmDescription: string;
|
|
1453
|
+
notifyOnCancel: string;
|
|
1454
|
+
notifyOnCancelDescription: string;
|
|
1455
|
+
draftHoldTimeMinutes: string;
|
|
1456
|
+
posCanOverbook: string;
|
|
1457
|
+
posCanOverbookDescription: string;
|
|
1458
|
+
saveAllChanges: string;
|
|
1459
|
+
settingUpdated: string;
|
|
1460
|
+
validationError: string;
|
|
1461
|
+
ok: string;
|
|
1420
1462
|
qrPay: string;
|
|
1421
1463
|
terminalScanPay: string;
|
|
1422
1464
|
terminalQrPay: string;
|
|
@@ -2090,6 +2132,8 @@ export declare const i18nMessages: {
|
|
|
2090
2132
|
acceptedPayment: string;
|
|
2091
2133
|
acceptQueue: string;
|
|
2092
2134
|
acceptQueueSublabel: string;
|
|
2135
|
+
acceptReservation: string;
|
|
2136
|
+
acceptReservationSublabel: string;
|
|
2093
2137
|
actiavteFeedmeExpress: string;
|
|
2094
2138
|
activated: string;
|
|
2095
2139
|
activatedDate: string;
|
|
@@ -2372,6 +2416,25 @@ export declare const i18nMessages: {
|
|
|
2372
2416
|
current: string;
|
|
2373
2417
|
paxMin: string;
|
|
2374
2418
|
paxMax: string;
|
|
2419
|
+
reservation: string;
|
|
2420
|
+
reservationStatus: string;
|
|
2421
|
+
reservationAvailability: string;
|
|
2422
|
+
notificationSettings: string;
|
|
2423
|
+
smsEnabled: string;
|
|
2424
|
+
smsEnabledDescription: string;
|
|
2425
|
+
emailEnabled: string;
|
|
2426
|
+
emailEnabledDescription: string;
|
|
2427
|
+
notifyOnConfirm: string;
|
|
2428
|
+
notifyOnConfirmDescription: string;
|
|
2429
|
+
notifyOnCancel: string;
|
|
2430
|
+
notifyOnCancelDescription: string;
|
|
2431
|
+
draftHoldTimeMinutes: string;
|
|
2432
|
+
posCanOverbook: string;
|
|
2433
|
+
posCanOverbookDescription: string;
|
|
2434
|
+
saveAllChanges: string;
|
|
2435
|
+
settingUpdated: string;
|
|
2436
|
+
validationError: string;
|
|
2437
|
+
ok: string;
|
|
2375
2438
|
qrPay: string;
|
|
2376
2439
|
terminalScanPay: string;
|
|
2377
2440
|
terminalQrPay: string;
|
|
@@ -2789,6 +2852,8 @@ export declare const i18nMessages: {
|
|
|
2789
2852
|
acceptedPayment: string;
|
|
2790
2853
|
acceptQueue: string;
|
|
2791
2854
|
acceptQueueSublabel: string;
|
|
2855
|
+
acceptReservation: string;
|
|
2856
|
+
acceptReservationSublabel: string;
|
|
2792
2857
|
actiavteFeedmeExpress: string;
|
|
2793
2858
|
activated: string;
|
|
2794
2859
|
activatedDate: string;
|
|
@@ -3067,6 +3132,25 @@ export declare const i18nMessages: {
|
|
|
3067
3132
|
current: string;
|
|
3068
3133
|
paxMin: string;
|
|
3069
3134
|
paxMax: string;
|
|
3135
|
+
reservation: string;
|
|
3136
|
+
reservationStatus: string;
|
|
3137
|
+
reservationAvailability: string;
|
|
3138
|
+
notificationSettings: string;
|
|
3139
|
+
smsEnabled: string;
|
|
3140
|
+
smsEnabledDescription: string;
|
|
3141
|
+
emailEnabled: string;
|
|
3142
|
+
emailEnabledDescription: string;
|
|
3143
|
+
notifyOnConfirm: string;
|
|
3144
|
+
notifyOnConfirmDescription: string;
|
|
3145
|
+
notifyOnCancel: string;
|
|
3146
|
+
notifyOnCancelDescription: string;
|
|
3147
|
+
draftHoldTimeMinutes: string;
|
|
3148
|
+
posCanOverbook: string;
|
|
3149
|
+
posCanOverbookDescription: string;
|
|
3150
|
+
saveAllChanges: string;
|
|
3151
|
+
settingUpdated: string;
|
|
3152
|
+
validationError: string;
|
|
3153
|
+
ok: string;
|
|
3070
3154
|
qrPay: string;
|
|
3071
3155
|
terminalScanPay: string;
|
|
3072
3156
|
terminalQrPay: string;
|
|
@@ -68,6 +68,8 @@ export declare const i18nMessages: {
|
|
|
68
68
|
acceptedPayment: string;
|
|
69
69
|
acceptQueue: string;
|
|
70
70
|
acceptQueueSublabel: string;
|
|
71
|
+
acceptReservation: string;
|
|
72
|
+
acceptReservationSublabel: string;
|
|
71
73
|
actiavteFeedmeExpress: string;
|
|
72
74
|
activated: string;
|
|
73
75
|
activatedDate: string;
|
|
@@ -400,6 +402,25 @@ export declare const i18nMessages: {
|
|
|
400
402
|
padDigit: string;
|
|
401
403
|
paid: string;
|
|
402
404
|
paxMax: string;
|
|
405
|
+
reservation: string;
|
|
406
|
+
reservationStatus: string;
|
|
407
|
+
reservationAvailability: string;
|
|
408
|
+
notificationSettings: string;
|
|
409
|
+
smsEnabled: string;
|
|
410
|
+
smsEnabledDescription: string;
|
|
411
|
+
emailEnabled: string;
|
|
412
|
+
emailEnabledDescription: string;
|
|
413
|
+
notifyOnConfirm: string;
|
|
414
|
+
notifyOnConfirmDescription: string;
|
|
415
|
+
notifyOnCancel: string;
|
|
416
|
+
notifyOnCancelDescription: string;
|
|
417
|
+
draftHoldTimeMinutes: string;
|
|
418
|
+
posCanOverbook: string;
|
|
419
|
+
posCanOverbookDescription: string;
|
|
420
|
+
saveAllChanges: string;
|
|
421
|
+
settingUpdated: string;
|
|
422
|
+
validationError: string;
|
|
423
|
+
ok: string;
|
|
403
424
|
paxMin: string;
|
|
404
425
|
payAtCounter: string;
|
|
405
426
|
paymentMethod: string;
|
|
@@ -1132,6 +1153,8 @@ export declare const i18nMessages: {
|
|
|
1132
1153
|
acceptedPayment: string;
|
|
1133
1154
|
acceptQueue: string;
|
|
1134
1155
|
acceptQueueSublabel: string;
|
|
1156
|
+
acceptReservation: string;
|
|
1157
|
+
acceptReservationSublabel: string;
|
|
1135
1158
|
actiavteFeedmeExpress: string;
|
|
1136
1159
|
activated: string;
|
|
1137
1160
|
activatedDate: string;
|
|
@@ -1416,6 +1439,25 @@ export declare const i18nMessages: {
|
|
|
1416
1439
|
current: string;
|
|
1417
1440
|
paxMin: string;
|
|
1418
1441
|
paxMax: string;
|
|
1442
|
+
reservation: string;
|
|
1443
|
+
reservationStatus: string;
|
|
1444
|
+
reservationAvailability: string;
|
|
1445
|
+
notificationSettings: string;
|
|
1446
|
+
smsEnabled: string;
|
|
1447
|
+
smsEnabledDescription: string;
|
|
1448
|
+
emailEnabled: string;
|
|
1449
|
+
emailEnabledDescription: string;
|
|
1450
|
+
notifyOnConfirm: string;
|
|
1451
|
+
notifyOnConfirmDescription: string;
|
|
1452
|
+
notifyOnCancel: string;
|
|
1453
|
+
notifyOnCancelDescription: string;
|
|
1454
|
+
draftHoldTimeMinutes: string;
|
|
1455
|
+
posCanOverbook: string;
|
|
1456
|
+
posCanOverbookDescription: string;
|
|
1457
|
+
saveAllChanges: string;
|
|
1458
|
+
settingUpdated: string;
|
|
1459
|
+
validationError: string;
|
|
1460
|
+
ok: string;
|
|
1419
1461
|
qrPay: string;
|
|
1420
1462
|
terminalScanPay: string;
|
|
1421
1463
|
terminalQrPay: string;
|
|
@@ -2089,6 +2131,8 @@ export declare const i18nMessages: {
|
|
|
2089
2131
|
acceptedPayment: string;
|
|
2090
2132
|
acceptQueue: string;
|
|
2091
2133
|
acceptQueueSublabel: string;
|
|
2134
|
+
acceptReservation: string;
|
|
2135
|
+
acceptReservationSublabel: string;
|
|
2092
2136
|
actiavteFeedmeExpress: string;
|
|
2093
2137
|
activated: string;
|
|
2094
2138
|
activatedDate: string;
|
|
@@ -2371,6 +2415,25 @@ export declare const i18nMessages: {
|
|
|
2371
2415
|
current: string;
|
|
2372
2416
|
paxMin: string;
|
|
2373
2417
|
paxMax: string;
|
|
2418
|
+
reservation: string;
|
|
2419
|
+
reservationStatus: string;
|
|
2420
|
+
reservationAvailability: string;
|
|
2421
|
+
notificationSettings: string;
|
|
2422
|
+
smsEnabled: string;
|
|
2423
|
+
smsEnabledDescription: string;
|
|
2424
|
+
emailEnabled: string;
|
|
2425
|
+
emailEnabledDescription: string;
|
|
2426
|
+
notifyOnConfirm: string;
|
|
2427
|
+
notifyOnConfirmDescription: string;
|
|
2428
|
+
notifyOnCancel: string;
|
|
2429
|
+
notifyOnCancelDescription: string;
|
|
2430
|
+
draftHoldTimeMinutes: string;
|
|
2431
|
+
posCanOverbook: string;
|
|
2432
|
+
posCanOverbookDescription: string;
|
|
2433
|
+
saveAllChanges: string;
|
|
2434
|
+
settingUpdated: string;
|
|
2435
|
+
validationError: string;
|
|
2436
|
+
ok: string;
|
|
2374
2437
|
qrPay: string;
|
|
2375
2438
|
terminalScanPay: string;
|
|
2376
2439
|
terminalQrPay: string;
|
|
@@ -2788,6 +2851,8 @@ export declare const i18nMessages: {
|
|
|
2788
2851
|
acceptedPayment: string;
|
|
2789
2852
|
acceptQueue: string;
|
|
2790
2853
|
acceptQueueSublabel: string;
|
|
2854
|
+
acceptReservation: string;
|
|
2855
|
+
acceptReservationSublabel: string;
|
|
2791
2856
|
actiavteFeedmeExpress: string;
|
|
2792
2857
|
activated: string;
|
|
2793
2858
|
activatedDate: string;
|
|
@@ -3066,6 +3131,25 @@ export declare const i18nMessages: {
|
|
|
3066
3131
|
current: string;
|
|
3067
3132
|
paxMin: string;
|
|
3068
3133
|
paxMax: string;
|
|
3134
|
+
reservation: string;
|
|
3135
|
+
reservationStatus: string;
|
|
3136
|
+
reservationAvailability: string;
|
|
3137
|
+
notificationSettings: string;
|
|
3138
|
+
smsEnabled: string;
|
|
3139
|
+
smsEnabledDescription: string;
|
|
3140
|
+
emailEnabled: string;
|
|
3141
|
+
emailEnabledDescription: string;
|
|
3142
|
+
notifyOnConfirm: string;
|
|
3143
|
+
notifyOnConfirmDescription: string;
|
|
3144
|
+
notifyOnCancel: string;
|
|
3145
|
+
notifyOnCancelDescription: string;
|
|
3146
|
+
draftHoldTimeMinutes: string;
|
|
3147
|
+
posCanOverbook: string;
|
|
3148
|
+
posCanOverbookDescription: string;
|
|
3149
|
+
saveAllChanges: string;
|
|
3150
|
+
settingUpdated: string;
|
|
3151
|
+
validationError: string;
|
|
3152
|
+
ok: string;
|
|
3069
3153
|
qrPay: string;
|
|
3070
3154
|
terminalScanPay: string;
|
|
3071
3155
|
terminalQrPay: string;
|
|
@@ -243,7 +243,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
243
243
|
} | null | undefined;
|
|
244
244
|
smsSettings?: {
|
|
245
245
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
246
|
-
type: "QR" | "QUEUE" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
246
|
+
type: "QR" | "QUEUE" | "RESERVATION" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
247
247
|
message: {
|
|
248
248
|
keys: Record<string, "Bill Receipt Number" | "Bill Receipt Total Amount (Net)" | "Order Type" | "Order Slot" | "Order Datetime" | "Order Delivery Type" | "Restaurant Name" | "Restaurant Email" | "Restaurant Address" | "Restaurant Contact Number">;
|
|
249
249
|
raw: string;
|
|
@@ -548,7 +548,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
548
548
|
} | null | undefined;
|
|
549
549
|
smsSettings?: {
|
|
550
550
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
551
|
-
type: "QR" | "QUEUE" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
551
|
+
type: "QR" | "QUEUE" | "RESERVATION" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
552
552
|
message: {
|
|
553
553
|
keys: Record<string, "Bill Receipt Number" | "Bill Receipt Total Amount (Net)" | "Order Type" | "Order Slot" | "Order Datetime" | "Order Delivery Type" | "Restaurant Name" | "Restaurant Email" | "Restaurant Address" | "Restaurant Contact Number">;
|
|
554
554
|
raw: string;
|
|
@@ -853,7 +853,7 @@ export declare const useOrderSettings: import("pinia").StoreDefinition<"orderSet
|
|
|
853
853
|
} | null | undefined;
|
|
854
854
|
smsSettings?: {
|
|
855
855
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
856
|
-
type: "QR" | "QUEUE" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
856
|
+
type: "QR" | "QUEUE" | "RESERVATION" | "TAKEAWAY" | "KIOSK" | "COUNTER" | "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
857
857
|
message: {
|
|
858
858
|
keys: Record<string, "Bill Receipt Number" | "Bill Receipt Total Amount (Net)" | "Order Type" | "Order Slot" | "Order Datetime" | "Order Delivery Type" | "Restaurant Name" | "Restaurant Email" | "Restaurant Address" | "Restaurant Contact Number">;
|
|
859
859
|
raw: string;
|
|
@@ -170,6 +170,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
170
170
|
staticQr?: boolean | null | undefined;
|
|
171
171
|
disableItemRemark?: boolean | null | undefined;
|
|
172
172
|
acceptQueue?: boolean | null | undefined;
|
|
173
|
+
acceptReservation?: boolean | null | undefined;
|
|
173
174
|
anonymousOrder: boolean;
|
|
174
175
|
} | null | undefined;
|
|
175
176
|
driveThru?: {
|
|
@@ -537,6 +538,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
537
538
|
staticQr?: boolean | null | undefined;
|
|
538
539
|
disableItemRemark?: boolean | null | undefined;
|
|
539
540
|
acceptQueue?: boolean | null | undefined;
|
|
541
|
+
acceptReservation?: boolean | null | undefined;
|
|
540
542
|
anonymousOrder: boolean;
|
|
541
543
|
} | null | undefined;
|
|
542
544
|
driveThru?: {
|
|
@@ -904,6 +906,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
904
906
|
staticQr?: boolean | null | undefined;
|
|
905
907
|
disableItemRemark?: boolean | null | undefined;
|
|
906
908
|
acceptQueue?: boolean | null | undefined;
|
|
909
|
+
acceptReservation?: boolean | null | undefined;
|
|
907
910
|
anonymousOrder: boolean;
|
|
908
911
|
} | null | undefined;
|
|
909
912
|
driveThru?: {
|
package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { FdoOrderReservationSettingsV2 } from '@entity';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
currentSettings: FdoOrderReservationSettingsV2;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
apply: (settings: Partial<{
|
|
7
|
+
smsEnabled: boolean;
|
|
8
|
+
ranges: {
|
|
9
|
+
enable?: boolean | null | undefined;
|
|
10
|
+
guestMessage?: string | null | undefined;
|
|
11
|
+
cancellationPolicy?: string | null | undefined;
|
|
12
|
+
name: string;
|
|
13
|
+
_id: string;
|
|
14
|
+
operatingHours: {
|
|
15
|
+
0: {
|
|
16
|
+
hours: {
|
|
17
|
+
end: string;
|
|
18
|
+
start: string;
|
|
19
|
+
}[];
|
|
20
|
+
enable: boolean;
|
|
21
|
+
};
|
|
22
|
+
2: {
|
|
23
|
+
hours: {
|
|
24
|
+
end: string;
|
|
25
|
+
start: string;
|
|
26
|
+
}[];
|
|
27
|
+
enable: boolean;
|
|
28
|
+
};
|
|
29
|
+
1: {
|
|
30
|
+
hours: {
|
|
31
|
+
end: string;
|
|
32
|
+
start: string;
|
|
33
|
+
}[];
|
|
34
|
+
enable: boolean;
|
|
35
|
+
};
|
|
36
|
+
3: {
|
|
37
|
+
hours: {
|
|
38
|
+
end: string;
|
|
39
|
+
start: string;
|
|
40
|
+
}[];
|
|
41
|
+
enable: boolean;
|
|
42
|
+
};
|
|
43
|
+
4: {
|
|
44
|
+
hours: {
|
|
45
|
+
end: string;
|
|
46
|
+
start: string;
|
|
47
|
+
}[];
|
|
48
|
+
enable: boolean;
|
|
49
|
+
};
|
|
50
|
+
5: {
|
|
51
|
+
hours: {
|
|
52
|
+
end: string;
|
|
53
|
+
start: string;
|
|
54
|
+
}[];
|
|
55
|
+
enable: boolean;
|
|
56
|
+
};
|
|
57
|
+
6: {
|
|
58
|
+
hours: {
|
|
59
|
+
end: string;
|
|
60
|
+
start: string;
|
|
61
|
+
}[];
|
|
62
|
+
enable: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
slotInterval: number;
|
|
66
|
+
bookingDuration: number;
|
|
67
|
+
minLeadDuration: {
|
|
68
|
+
value: number;
|
|
69
|
+
unit: "day" | "hour" | "minute";
|
|
70
|
+
};
|
|
71
|
+
maxLeadDuration: {
|
|
72
|
+
value: number;
|
|
73
|
+
unit: "day" | "hour" | "minute";
|
|
74
|
+
};
|
|
75
|
+
capacityTiers: {
|
|
76
|
+
priority?: number | null | undefined;
|
|
77
|
+
maxPax?: number | null | undefined;
|
|
78
|
+
_id: string;
|
|
79
|
+
minPax: number;
|
|
80
|
+
capacity: number;
|
|
81
|
+
}[];
|
|
82
|
+
enablePreorder: boolean;
|
|
83
|
+
preferences: {
|
|
84
|
+
name: string;
|
|
85
|
+
type: "text" | "checkbox" | "radio";
|
|
86
|
+
options: string[];
|
|
87
|
+
}[];
|
|
88
|
+
}[];
|
|
89
|
+
posCanOverbook: boolean;
|
|
90
|
+
draftHoldTimeMinutes: number;
|
|
91
|
+
emailEnabled: boolean;
|
|
92
|
+
notifyOnConfirm: boolean;
|
|
93
|
+
notifyOnCancel: boolean;
|
|
94
|
+
}>) => any;
|
|
95
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
96
|
+
onApply?: ((settings: Partial<{
|
|
97
|
+
smsEnabled: boolean;
|
|
98
|
+
ranges: {
|
|
99
|
+
enable?: boolean | null | undefined;
|
|
100
|
+
guestMessage?: string | null | undefined;
|
|
101
|
+
cancellationPolicy?: string | null | undefined;
|
|
102
|
+
name: string;
|
|
103
|
+
_id: string;
|
|
104
|
+
operatingHours: {
|
|
105
|
+
0: {
|
|
106
|
+
hours: {
|
|
107
|
+
end: string;
|
|
108
|
+
start: string;
|
|
109
|
+
}[];
|
|
110
|
+
enable: boolean;
|
|
111
|
+
};
|
|
112
|
+
2: {
|
|
113
|
+
hours: {
|
|
114
|
+
end: string;
|
|
115
|
+
start: string;
|
|
116
|
+
}[];
|
|
117
|
+
enable: boolean;
|
|
118
|
+
};
|
|
119
|
+
1: {
|
|
120
|
+
hours: {
|
|
121
|
+
end: string;
|
|
122
|
+
start: string;
|
|
123
|
+
}[];
|
|
124
|
+
enable: boolean;
|
|
125
|
+
};
|
|
126
|
+
3: {
|
|
127
|
+
hours: {
|
|
128
|
+
end: string;
|
|
129
|
+
start: string;
|
|
130
|
+
}[];
|
|
131
|
+
enable: boolean;
|
|
132
|
+
};
|
|
133
|
+
4: {
|
|
134
|
+
hours: {
|
|
135
|
+
end: string;
|
|
136
|
+
start: string;
|
|
137
|
+
}[];
|
|
138
|
+
enable: boolean;
|
|
139
|
+
};
|
|
140
|
+
5: {
|
|
141
|
+
hours: {
|
|
142
|
+
end: string;
|
|
143
|
+
start: string;
|
|
144
|
+
}[];
|
|
145
|
+
enable: boolean;
|
|
146
|
+
};
|
|
147
|
+
6: {
|
|
148
|
+
hours: {
|
|
149
|
+
end: string;
|
|
150
|
+
start: string;
|
|
151
|
+
}[];
|
|
152
|
+
enable: boolean;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
slotInterval: number;
|
|
156
|
+
bookingDuration: number;
|
|
157
|
+
minLeadDuration: {
|
|
158
|
+
value: number;
|
|
159
|
+
unit: "day" | "hour" | "minute";
|
|
160
|
+
};
|
|
161
|
+
maxLeadDuration: {
|
|
162
|
+
value: number;
|
|
163
|
+
unit: "day" | "hour" | "minute";
|
|
164
|
+
};
|
|
165
|
+
capacityTiers: {
|
|
166
|
+
priority?: number | null | undefined;
|
|
167
|
+
maxPax?: number | null | undefined;
|
|
168
|
+
_id: string;
|
|
169
|
+
minPax: number;
|
|
170
|
+
capacity: number;
|
|
171
|
+
}[];
|
|
172
|
+
enablePreorder: boolean;
|
|
173
|
+
preferences: {
|
|
174
|
+
name: string;
|
|
175
|
+
type: "text" | "checkbox" | "radio";
|
|
176
|
+
options: string[];
|
|
177
|
+
}[];
|
|
178
|
+
}[];
|
|
179
|
+
posCanOverbook: boolean;
|
|
180
|
+
draftHoldTimeMinutes: number;
|
|
181
|
+
emailEnabled: boolean;
|
|
182
|
+
notifyOnConfirm: boolean;
|
|
183
|
+
notifyOnCancel: boolean;
|
|
184
|
+
}>) => any) | undefined;
|
|
185
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
186
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue: string;
|
|
3
|
+
minTime?: string;
|
|
4
|
+
restrictMinTime?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
export default _default;
|
package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|