@feedmepos/mf-order-setting 0.0.95 → 0.0.96
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-rCw3DE0u.js → DisplaySystemView-BH8SkCOF.js} +4 -4
- package/dist/FoodCourtInvitationsView-3cA0Z-5m.js +383 -0
- package/dist/FoodCourtOrderSettingsView-DysrLZJD.js +294 -0
- package/dist/FoodCourtOrdersView-CbZqHIXO.js +544 -0
- package/dist/FoodCourtStallsView-CTZzPUQ6.js +635 -0
- package/dist/FoodCourtStatusView-C71y7ghx.js +113 -0
- package/dist/{KioskDevicesView-B4dgvMq_.js → KioskDevicesView-BJpbuSzp.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-B-Oi8ZLq.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CQFpwn28.js} +7 -6
- package/dist/{KioskSettingView-DXx6wQQQ.js → KioskSettingView-CJxhMf7N.js} +3 -3
- package/dist/{KioskView-BmSHCl13.js → KioskView-BZsdRID1.js} +6 -6
- package/dist/{OrderSettingsView-9NOSAxLf.js → OrderSettingsView-gnyXaJjf.js} +10631 -10601
- package/dist/{app-y20uA-tu.js → app-CeEFBB-w.js} +4484 -3672
- package/dist/app.js +1 -1
- package/dist/dayjs.min-zBHHlxAP.js +285 -0
- package/dist/{featureFlag-GHmH1G2d.js → featureFlag-BTY_R78k.js} +1 -1
- package/dist/food-court-member-piX3gesl.js +212 -0
- package/dist/frontend/mf-order/src/api/food-court/index.d.ts +269 -0
- package/dist/frontend/mf-order/src/api/food-court/invitation.d.ts +55 -0
- package/dist/frontend/mf-order/src/app.d.ts +676 -0
- package/dist/frontend/mf-order/src/main.d.ts +676 -0
- package/dist/frontend/mf-order/src/stores/business/index.d.ts +3 -3
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +6 -0
- package/dist/frontend/mf-order/src/utils/constants/route.d.ts +4 -0
- package/dist/frontend/mf-order/src/views/food-court/FoodCourtInvitationsView.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/food-court/FoodCourtOrdersView.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/food-court/FoodCourtStallsView.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/food-court/FoodCourtStatusView.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/food-court/food-court-member.d.ts +150 -0
- package/dist/frontend/mf-order/src/views/food-court/food-court-order.d.ts +66 -0
- package/dist/frontend/mf-order/src/views/food-court/invitations/JoinFoodCourtCard.vue.d.ts +13 -0
- package/dist/frontend/mf-order/src/views/food-court/invitations/MembershipRowActions.vue.d.ts +11 -0
- package/dist/frontend/mf-order/src/views/food-court/orders/FoodCourtOrderSheet.vue.d.ts +16 -0
- package/dist/frontend/mf-order/src/views/food-court/stalls/EditStallSheet.vue.d.ts +15 -0
- package/dist/frontend/mf-order/src/views/food-court/stalls/GenerateJoinCodeSheet.vue.d.ts +21 -0
- package/dist/frontend/mf-order/src/views/food-court/stalls/StallAssignmentFields.vue.d.ts +16 -0
- package/dist/frontend/mf-order/src/views/food-court/stalls/StallRowActions.vue.d.ts +11 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-CmdP_QXF.js → index-601eG3_R.js} +1 -1
- package/dist/index-BeBZTUcq.js +122 -0
- package/dist/index-BtudnkMi.js +1065 -0
- package/dist/{index-BlG6mIU4.js → index-CGiWgTn1.js} +38 -37
- package/dist/{index-wMygvJpP.js → index-D5nv3ncu.js} +2 -2
- package/dist/index-DLDihONy.js +25142 -0
- package/dist/order.dto-JM_fmWnQ.js +14842 -0
- package/dist/package/entity/food-court/food-court.do.d.ts +1 -1
- package/dist/package/entity/food-court/food-court.dto.d.ts +7 -7
- package/dist/package/entity/food-court/order-v2.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +190 -92
- package/dist/package/entity/order-setting/order-setting.do.d.ts +10 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +20 -0
- package/dist/package/entity/order-setting/queue/queue.do.d.ts +22 -0
- package/dist/package/entity/order-setting/queue/queue.dto.d.ts +7 -0
- package/dist/package/entity/queue/queue.do.d.ts +1 -0
- package/dist/package/entity/queue/queue.dto.d.ts +8 -8
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +20 -0
- package/dist/search-BAPEUu1R.js +15 -0
- package/dist/useFoodCourtContext-2p5sJMcB.js +16 -0
- package/package.json +3 -3
- package/src/api/food-court/index.ts +357 -0
- package/src/api/food-court/invitation.ts +81 -0
- package/src/locales/en-US.json +171 -2
- package/src/locales/ja-JP.json +171 -2
- package/src/locales/th-TH.json +171 -2
- package/src/locales/zh-CN.json +171 -2
- package/src/router/routes.ts +44 -0
- package/src/utils/constants/route.ts +8 -0
- package/src/views/food-court/FoodCourtInvitationsView.vue +187 -0
- package/src/views/food-court/FoodCourtOrdersView.vue +263 -0
- package/src/views/food-court/FoodCourtStallsView.vue +369 -0
- package/src/views/food-court/FoodCourtStatusView.vue +111 -0
- package/src/views/food-court/food-court-member.spec.ts +339 -0
- package/src/views/food-court/food-court-member.ts +397 -0
- package/src/views/food-court/food-court-order.spec.ts +137 -0
- package/src/views/food-court/food-court-order.ts +206 -0
- package/src/views/food-court/invitations/JoinFoodCourtCard.vue +201 -0
- package/src/views/food-court/invitations/MembershipRowActions.vue +19 -0
- package/src/views/food-court/orders/FoodCourtOrderSheet.vue +226 -0
- package/src/views/food-court/stalls/EditStallSheet.vue +91 -0
- package/src/views/food-court/stalls/GenerateJoinCodeSheet.vue +281 -0
- package/src/views/food-court/stalls/StallAssignmentFields.vue +36 -0
- package/src/views/food-court/stalls/StallRowActions.vue +31 -0
- package/src/views/order-settings/OrderSettingsView.vue +2 -4
- package/src/views/order-settings/dine-in/DineInSetting.vue +1 -4
- package/src/views/order-settings/queue/QueueSetting.vue +27 -0
- package/src/views/order-settings/reservation/ReservationSetting.vue +8 -0
- package/dist/FoodCourtOrderSettingsView-DUQXCKzB.js +0 -323
- package/dist/index-CUI1lL9F.js +0 -1347
- package/dist/order.dto-CyHtvyly.js +0 -38829
|
@@ -1454,12 +1454,15 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1454
1454
|
}>, "many">>>;
|
|
1455
1455
|
disableRemoteQueue: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1456
1456
|
disableSMS: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1457
|
+
autoCancelCalledMinutes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1458
|
+
notifyOnCancel: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1457
1459
|
channels: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["APP_INBOX", "SMS", "WHATSAPP", "EMAIL", "PUSH_NOTIFICATION"]>, "many">>>;
|
|
1458
1460
|
printChecklist: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1459
1461
|
autoSendKitchen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1460
1462
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1461
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1462
1464
|
autoSendKitchen?: boolean | null | undefined;
|
|
1465
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
1463
1466
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
1464
1467
|
showWaitEstimate?: boolean | null | undefined;
|
|
1465
1468
|
codeSettings?: {
|
|
@@ -1482,6 +1485,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1482
1485
|
}[] | null | undefined;
|
|
1483
1486
|
disableRemoteQueue?: boolean | null | undefined;
|
|
1484
1487
|
disableSMS?: boolean | null | undefined;
|
|
1488
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
1485
1489
|
printChecklist?: boolean | null | undefined;
|
|
1486
1490
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
1487
1491
|
duration: number;
|
|
@@ -1489,6 +1493,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1489
1493
|
autoCalledLimit: number;
|
|
1490
1494
|
}, {
|
|
1491
1495
|
autoSendKitchen?: boolean | null | undefined;
|
|
1496
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
1492
1497
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
1493
1498
|
showWaitEstimate?: boolean | null | undefined;
|
|
1494
1499
|
codeSettings?: {
|
|
@@ -1511,6 +1516,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1511
1516
|
}[] | null | undefined;
|
|
1512
1517
|
disableRemoteQueue?: boolean | null | undefined;
|
|
1513
1518
|
disableSMS?: boolean | null | undefined;
|
|
1519
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
1514
1520
|
printChecklist?: boolean | null | undefined;
|
|
1515
1521
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
1516
1522
|
duration: number;
|
|
@@ -1903,6 +1909,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1903
1909
|
} | null | undefined;
|
|
1904
1910
|
queueSettings?: {
|
|
1905
1911
|
autoSendKitchen?: boolean | null | undefined;
|
|
1912
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
1906
1913
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
1907
1914
|
showWaitEstimate?: boolean | null | undefined;
|
|
1908
1915
|
codeSettings?: {
|
|
@@ -1925,6 +1932,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
1925
1932
|
}[] | null | undefined;
|
|
1926
1933
|
disableRemoteQueue?: boolean | null | undefined;
|
|
1927
1934
|
disableSMS?: boolean | null | undefined;
|
|
1935
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
1928
1936
|
printChecklist?: boolean | null | undefined;
|
|
1929
1937
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
1930
1938
|
duration: number;
|
|
@@ -2202,6 +2210,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
2202
2210
|
} | null | undefined;
|
|
2203
2211
|
queueSettings?: {
|
|
2204
2212
|
autoSendKitchen?: boolean | null | undefined;
|
|
2213
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
2205
2214
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
2206
2215
|
showWaitEstimate?: boolean | null | undefined;
|
|
2207
2216
|
codeSettings?: {
|
|
@@ -2224,6 +2233,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
|
|
|
2224
2233
|
}[] | null | undefined;
|
|
2225
2234
|
disableRemoteQueue?: boolean | null | undefined;
|
|
2226
2235
|
disableSMS?: boolean | null | undefined;
|
|
2236
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
2227
2237
|
printChecklist?: boolean | null | undefined;
|
|
2228
2238
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
2229
2239
|
duration: number;
|
|
@@ -630,8 +630,11 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
630
630
|
printChecklist: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
631
631
|
autoSendKitchen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
632
632
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
633
|
+
autoCancelCalledMinutes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
634
|
+
notifyOnCancel: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
633
635
|
}, "strip", z.ZodTypeAny, {
|
|
634
636
|
autoSendKitchen?: boolean | null | undefined;
|
|
637
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
635
638
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
636
639
|
showWaitEstimate?: boolean | null | undefined;
|
|
637
640
|
codeSettings?: {
|
|
@@ -654,6 +657,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
654
657
|
}[] | null | undefined;
|
|
655
658
|
disableRemoteQueue?: boolean | null | undefined;
|
|
656
659
|
disableSMS?: boolean | null | undefined;
|
|
660
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
657
661
|
printChecklist?: boolean | null | undefined;
|
|
658
662
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
659
663
|
duration: number;
|
|
@@ -662,6 +666,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
662
666
|
}, {
|
|
663
667
|
duration?: number | undefined;
|
|
664
668
|
autoSendKitchen?: boolean | null | undefined;
|
|
669
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
665
670
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
666
671
|
showWaitEstimate?: boolean | null | undefined;
|
|
667
672
|
codeSettings?: {
|
|
@@ -684,6 +689,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
684
689
|
}[] | null | undefined;
|
|
685
690
|
disableRemoteQueue?: boolean | null | undefined;
|
|
686
691
|
disableSMS?: boolean | null | undefined;
|
|
692
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
687
693
|
printChecklist?: boolean | null | undefined;
|
|
688
694
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
689
695
|
enableOrder: boolean;
|
|
@@ -1188,6 +1194,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
1188
1194
|
} | null | undefined;
|
|
1189
1195
|
queueSettings?: {
|
|
1190
1196
|
autoSendKitchen?: boolean | null | undefined;
|
|
1197
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
1191
1198
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
1192
1199
|
showWaitEstimate?: boolean | null | undefined;
|
|
1193
1200
|
codeSettings?: {
|
|
@@ -1210,6 +1217,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
1210
1217
|
}[] | null | undefined;
|
|
1211
1218
|
disableRemoteQueue?: boolean | null | undefined;
|
|
1212
1219
|
disableSMS?: boolean | null | undefined;
|
|
1220
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
1213
1221
|
printChecklist?: boolean | null | undefined;
|
|
1214
1222
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
1215
1223
|
duration: number;
|
|
@@ -1419,6 +1427,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
1419
1427
|
queueSettings?: {
|
|
1420
1428
|
duration?: number | undefined;
|
|
1421
1429
|
autoSendKitchen?: boolean | null | undefined;
|
|
1430
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
1422
1431
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
1423
1432
|
showWaitEstimate?: boolean | null | undefined;
|
|
1424
1433
|
codeSettings?: {
|
|
@@ -1441,6 +1450,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
|
|
|
1441
1450
|
}[] | null | undefined;
|
|
1442
1451
|
disableRemoteQueue?: boolean | null | undefined;
|
|
1443
1452
|
disableSMS?: boolean | null | undefined;
|
|
1453
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
1444
1454
|
printChecklist?: boolean | null | undefined;
|
|
1445
1455
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
1446
1456
|
enableOrder: boolean;
|
|
@@ -2153,8 +2163,11 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
|
|
|
2153
2163
|
printChecklist: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
2154
2164
|
autoSendKitchen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
2155
2165
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
2166
|
+
autoCancelCalledMinutes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2167
|
+
notifyOnCancel: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
2156
2168
|
}, "strip", z.ZodTypeAny, {
|
|
2157
2169
|
autoSendKitchen?: boolean | null | undefined;
|
|
2170
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
2158
2171
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
2159
2172
|
showWaitEstimate?: boolean | null | undefined;
|
|
2160
2173
|
codeSettings?: {
|
|
@@ -2177,6 +2190,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
|
|
|
2177
2190
|
}[] | null | undefined;
|
|
2178
2191
|
disableRemoteQueue?: boolean | null | undefined;
|
|
2179
2192
|
disableSMS?: boolean | null | undefined;
|
|
2193
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
2180
2194
|
printChecklist?: boolean | null | undefined;
|
|
2181
2195
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
2182
2196
|
duration: number;
|
|
@@ -2185,6 +2199,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
|
|
|
2185
2199
|
}, {
|
|
2186
2200
|
duration?: number | undefined;
|
|
2187
2201
|
autoSendKitchen?: boolean | null | undefined;
|
|
2202
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
2188
2203
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
2189
2204
|
showWaitEstimate?: boolean | null | undefined;
|
|
2190
2205
|
codeSettings?: {
|
|
@@ -2207,6 +2222,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
|
|
|
2207
2222
|
}[] | null | undefined;
|
|
2208
2223
|
disableRemoteQueue?: boolean | null | undefined;
|
|
2209
2224
|
disableSMS?: boolean | null | undefined;
|
|
2225
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
2210
2226
|
printChecklist?: boolean | null | undefined;
|
|
2211
2227
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
2212
2228
|
enableOrder: boolean;
|
|
@@ -3445,6 +3461,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
|
|
|
3445
3461
|
} | null | undefined;
|
|
3446
3462
|
queueSettings?: {
|
|
3447
3463
|
autoSendKitchen?: boolean | null | undefined;
|
|
3464
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
3448
3465
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
3449
3466
|
showWaitEstimate?: boolean | null | undefined;
|
|
3450
3467
|
codeSettings?: {
|
|
@@ -3467,6 +3484,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
|
|
|
3467
3484
|
}[] | null | undefined;
|
|
3468
3485
|
disableRemoteQueue?: boolean | null | undefined;
|
|
3469
3486
|
disableSMS?: boolean | null | undefined;
|
|
3487
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
3470
3488
|
printChecklist?: boolean | null | undefined;
|
|
3471
3489
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
3472
3490
|
duration: number;
|
|
@@ -3655,6 +3673,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
|
|
|
3655
3673
|
queueSettings?: {
|
|
3656
3674
|
duration?: number | undefined;
|
|
3657
3675
|
autoSendKitchen?: boolean | null | undefined;
|
|
3676
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
3658
3677
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
3659
3678
|
showWaitEstimate?: boolean | null | undefined;
|
|
3660
3679
|
codeSettings?: {
|
|
@@ -3677,6 +3696,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
|
|
|
3677
3696
|
}[] | null | undefined;
|
|
3678
3697
|
disableRemoteQueue?: boolean | null | undefined;
|
|
3679
3698
|
disableSMS?: boolean | null | undefined;
|
|
3699
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
3680
3700
|
printChecklist?: boolean | null | undefined;
|
|
3681
3701
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
3682
3702
|
enableOrder: boolean;
|
|
@@ -242,6 +242,24 @@ export declare const FdoOrderQueueSettings: z.ZodObject<{
|
|
|
242
242
|
* turned notifications off stays off.
|
|
243
243
|
*/
|
|
244
244
|
disableSMS: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
245
|
+
/**
|
|
246
|
+
* Cancel a CALLED party this many minutes after it was called, unless it has
|
|
247
|
+
* been seated by then. Null, absent or 0 = off. Counts from the call, never
|
|
248
|
+
* from joining: a party that has not been called is still waiting in line.
|
|
249
|
+
*
|
|
250
|
+
* Left unvalidated on purpose, here and in `RestaurantQueueSettingDto`: both
|
|
251
|
+
* parse STORED settings on reads, so a value they rejected would fail every
|
|
252
|
+
* read of the outlet's order settings (ITS-002407). The portal sends whole
|
|
253
|
+
* minutes 0–1440; queue-backend treats anything not above zero as off.
|
|
254
|
+
*/
|
|
255
|
+
autoCancelCalledMinutes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
256
|
+
/**
|
|
257
|
+
* Whether cancelling a queue (by staff or by the auto-cancel timer) notifies
|
|
258
|
+
* the customer. Absent = notify, today's behaviour. Only consulted while
|
|
259
|
+
* notifications are on at all — `disableSMS` still silences everything. A
|
|
260
|
+
* customer cancelling their own queue is never notified either way.
|
|
261
|
+
*/
|
|
262
|
+
notifyOnCancel: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
245
263
|
/**
|
|
246
264
|
* Channels queue notifications are routed through, in PRIORITY ORDER — index 0
|
|
247
265
|
* is the primary. Nullish or empty means `['SMS']`, i.e. today's behaviour.
|
|
@@ -260,6 +278,7 @@ export declare const FdoOrderQueueSettings: z.ZodObject<{
|
|
|
260
278
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
261
279
|
}, "strip", z.ZodTypeAny, {
|
|
262
280
|
autoSendKitchen?: boolean | null | undefined;
|
|
281
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
263
282
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
264
283
|
showWaitEstimate?: boolean | null | undefined;
|
|
265
284
|
codeSettings?: {
|
|
@@ -282,6 +301,7 @@ export declare const FdoOrderQueueSettings: z.ZodObject<{
|
|
|
282
301
|
}[] | null | undefined;
|
|
283
302
|
disableRemoteQueue?: boolean | null | undefined;
|
|
284
303
|
disableSMS?: boolean | null | undefined;
|
|
304
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
285
305
|
printChecklist?: boolean | null | undefined;
|
|
286
306
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
287
307
|
duration: number;
|
|
@@ -289,6 +309,7 @@ export declare const FdoOrderQueueSettings: z.ZodObject<{
|
|
|
289
309
|
autoCalledLimit: number;
|
|
290
310
|
}, {
|
|
291
311
|
autoSendKitchen?: boolean | null | undefined;
|
|
312
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
292
313
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
293
314
|
showWaitEstimate?: boolean | null | undefined;
|
|
294
315
|
codeSettings?: {
|
|
@@ -311,6 +332,7 @@ export declare const FdoOrderQueueSettings: z.ZodObject<{
|
|
|
311
332
|
}[] | null | undefined;
|
|
312
333
|
disableRemoteQueue?: boolean | null | undefined;
|
|
313
334
|
disableSMS?: boolean | null | undefined;
|
|
335
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
314
336
|
printChecklist?: boolean | null | undefined;
|
|
315
337
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
316
338
|
duration: number;
|
|
@@ -100,8 +100,12 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
100
100
|
* Enable transferring queue pre-orders to tablet devices by scanning a QR code
|
|
101
101
|
*/
|
|
102
102
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
103
|
+
/** Auto-cancel minutes and the cancel-notification switch: the stored definitions, rules and all. */
|
|
104
|
+
autoCancelCalledMinutes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
105
|
+
notifyOnCancel: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
103
106
|
}, "strip", z.ZodTypeAny, {
|
|
104
107
|
autoSendKitchen?: boolean | null | undefined;
|
|
108
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
105
109
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
106
110
|
showWaitEstimate?: boolean | null | undefined;
|
|
107
111
|
codeSettings?: {
|
|
@@ -124,6 +128,7 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
124
128
|
}[] | null | undefined;
|
|
125
129
|
disableRemoteQueue?: boolean | null | undefined;
|
|
126
130
|
disableSMS?: boolean | null | undefined;
|
|
131
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
127
132
|
printChecklist?: boolean | null | undefined;
|
|
128
133
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
129
134
|
duration: number;
|
|
@@ -132,6 +137,7 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
132
137
|
}, {
|
|
133
138
|
duration?: number | undefined;
|
|
134
139
|
autoSendKitchen?: boolean | null | undefined;
|
|
140
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
135
141
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
136
142
|
showWaitEstimate?: boolean | null | undefined;
|
|
137
143
|
codeSettings?: {
|
|
@@ -154,6 +160,7 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
154
160
|
}[] | null | undefined;
|
|
155
161
|
disableRemoteQueue?: boolean | null | undefined;
|
|
156
162
|
disableSMS?: boolean | null | undefined;
|
|
163
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
157
164
|
printChecklist?: boolean | null | undefined;
|
|
158
165
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
159
166
|
enableOrder: boolean;
|
|
@@ -1901,6 +1901,7 @@ export type FdoRestaurantQueue = {
|
|
|
1901
1901
|
personMeta?: FdoOrderPersonMeta | null | undefined;
|
|
1902
1902
|
status: F_QUEUE_STATUS;
|
|
1903
1903
|
createdAt: string;
|
|
1904
|
+
calledAt?: string | null;
|
|
1904
1905
|
orderId?: string | null | undefined;
|
|
1905
1906
|
cart: FdoRestaurantQueueCart[];
|
|
1906
1907
|
pf_order?: FdoOrder | null | undefined;
|
|
@@ -49,7 +49,7 @@ export declare const RestaurantQueuePositionDto: z.ZodObject<{
|
|
|
49
49
|
totalInLine: z.ZodNumber;
|
|
50
50
|
asOf: z.ZodString;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
status: "QUEUE" | "
|
|
52
|
+
status: "QUEUE" | "EXPIRED" | "ARRIVED" | "CALLED" | "CANCEL";
|
|
53
53
|
ahead: number;
|
|
54
54
|
calledCodes: string[];
|
|
55
55
|
estimate: {
|
|
@@ -59,7 +59,7 @@ export declare const RestaurantQueuePositionDto: z.ZodObject<{
|
|
|
59
59
|
totalInLine: number;
|
|
60
60
|
asOf: string;
|
|
61
61
|
}, {
|
|
62
|
-
status: "QUEUE" | "
|
|
62
|
+
status: "QUEUE" | "EXPIRED" | "ARRIVED" | "CALLED" | "CANCEL";
|
|
63
63
|
ahead: number;
|
|
64
64
|
calledCodes: string[];
|
|
65
65
|
estimate: {
|
|
@@ -567,7 +567,7 @@ export declare const RestaurantQueuePOSDto: z.ZodObject<{
|
|
|
567
567
|
pf_user?: any;
|
|
568
568
|
modifiedAt?: string | null | undefined;
|
|
569
569
|
code: string;
|
|
570
|
-
status: "QUEUE" | "
|
|
570
|
+
status: "QUEUE" | "EXPIRED" | "ARRIVED" | "CALLED" | "CANCEL";
|
|
571
571
|
restaurantId: string;
|
|
572
572
|
_id: string;
|
|
573
573
|
createdAt: string;
|
|
@@ -588,7 +588,7 @@ export declare const RestaurantQueuePOSDto: z.ZodObject<{
|
|
|
588
588
|
modifiedAt?: string | null | undefined;
|
|
589
589
|
cart?: any[] | undefined;
|
|
590
590
|
code: string;
|
|
591
|
-
status: "QUEUE" | "
|
|
591
|
+
status: "QUEUE" | "EXPIRED" | "ARRIVED" | "CALLED" | "CANCEL";
|
|
592
592
|
restaurantId: string;
|
|
593
593
|
_id: string;
|
|
594
594
|
createdAt: string;
|
|
@@ -8137,7 +8137,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
8137
8137
|
pf_user?: any;
|
|
8138
8138
|
modifiedAt?: string | null | undefined;
|
|
8139
8139
|
code: string;
|
|
8140
|
-
status: "QUEUE" | "
|
|
8140
|
+
status: "QUEUE" | "EXPIRED" | "ARRIVED" | "CALLED" | "CANCEL";
|
|
8141
8141
|
restaurantId: string;
|
|
8142
8142
|
_id: string;
|
|
8143
8143
|
createdAt: string;
|
|
@@ -9019,7 +9019,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
9019
9019
|
modifiedAt?: string | null | undefined;
|
|
9020
9020
|
cart?: any[] | undefined;
|
|
9021
9021
|
code: string;
|
|
9022
|
-
status: "QUEUE" | "
|
|
9022
|
+
status: "QUEUE" | "EXPIRED" | "ARRIVED" | "CALLED" | "CANCEL";
|
|
9023
9023
|
restaurantId: string;
|
|
9024
9024
|
_id: string;
|
|
9025
9025
|
createdAt: string;
|
|
@@ -9027,9 +9027,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
9027
9027
|
export declare const RestaurantQueueUpdateStatusDto: z.ZodObject<{
|
|
9028
9028
|
status: z.ZodEnum<["ARRIVED", "EXPIRED", "CALLED", "QUEUE", "CANCEL"]>;
|
|
9029
9029
|
}, "strip", z.ZodTypeAny, {
|
|
9030
|
-
status: "QUEUE" | "
|
|
9030
|
+
status: "QUEUE" | "EXPIRED" | "ARRIVED" | "CALLED" | "CANCEL";
|
|
9031
9031
|
}, {
|
|
9032
|
-
status: "QUEUE" | "
|
|
9032
|
+
status: "QUEUE" | "EXPIRED" | "ARRIVED" | "CALLED" | "CANCEL";
|
|
9033
9033
|
}>;
|
|
9034
9034
|
export declare const FdtoCreateQueueRequest: z.ZodObject<{
|
|
9035
9035
|
phoneNumber: z.ZodString;
|
|
@@ -1458,8 +1458,11 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1458
1458
|
printChecklist: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1459
1459
|
autoSendKitchen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1460
1460
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1461
|
+
autoCancelCalledMinutes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1462
|
+
notifyOnCancel: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1461
1463
|
}, "strip", z.ZodTypeAny, {
|
|
1462
1464
|
autoSendKitchen?: boolean | null | undefined;
|
|
1465
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
1463
1466
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
1464
1467
|
showWaitEstimate?: boolean | null | undefined;
|
|
1465
1468
|
codeSettings?: {
|
|
@@ -1482,6 +1485,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1482
1485
|
}[] | null | undefined;
|
|
1483
1486
|
disableRemoteQueue?: boolean | null | undefined;
|
|
1484
1487
|
disableSMS?: boolean | null | undefined;
|
|
1488
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
1485
1489
|
printChecklist?: boolean | null | undefined;
|
|
1486
1490
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
1487
1491
|
duration: number;
|
|
@@ -1490,6 +1494,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1490
1494
|
}, {
|
|
1491
1495
|
duration?: number | undefined;
|
|
1492
1496
|
autoSendKitchen?: boolean | null | undefined;
|
|
1497
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
1493
1498
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
1494
1499
|
showWaitEstimate?: boolean | null | undefined;
|
|
1495
1500
|
codeSettings?: {
|
|
@@ -1512,6 +1517,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1512
1517
|
}[] | null | undefined;
|
|
1513
1518
|
disableRemoteQueue?: boolean | null | undefined;
|
|
1514
1519
|
disableSMS?: boolean | null | undefined;
|
|
1520
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
1515
1521
|
printChecklist?: boolean | null | undefined;
|
|
1516
1522
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
1517
1523
|
enableOrder: boolean;
|
|
@@ -1844,6 +1850,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1844
1850
|
shopeefoodDelivery?: any;
|
|
1845
1851
|
queueSetting?: {
|
|
1846
1852
|
autoSendKitchen?: boolean | null | undefined;
|
|
1853
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
1847
1854
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
1848
1855
|
showWaitEstimate?: boolean | null | undefined;
|
|
1849
1856
|
codeSettings?: {
|
|
@@ -1866,6 +1873,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1866
1873
|
}[] | null | undefined;
|
|
1867
1874
|
disableRemoteQueue?: boolean | null | undefined;
|
|
1868
1875
|
disableSMS?: boolean | null | undefined;
|
|
1876
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
1869
1877
|
printChecklist?: boolean | null | undefined;
|
|
1870
1878
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
1871
1879
|
duration: number;
|
|
@@ -2147,6 +2155,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
2147
2155
|
queueSetting?: {
|
|
2148
2156
|
duration?: number | undefined;
|
|
2149
2157
|
autoSendKitchen?: boolean | null | undefined;
|
|
2158
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
2150
2159
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
2151
2160
|
showWaitEstimate?: boolean | null | undefined;
|
|
2152
2161
|
codeSettings?: {
|
|
@@ -2169,6 +2178,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
2169
2178
|
}[] | null | undefined;
|
|
2170
2179
|
disableRemoteQueue?: boolean | null | undefined;
|
|
2171
2180
|
disableSMS?: boolean | null | undefined;
|
|
2181
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
2172
2182
|
printChecklist?: boolean | null | undefined;
|
|
2173
2183
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
2174
2184
|
enableOrder: boolean;
|
|
@@ -4671,8 +4681,11 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4671
4681
|
printChecklist: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4672
4682
|
autoSendKitchen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4673
4683
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4684
|
+
autoCancelCalledMinutes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4685
|
+
notifyOnCancel: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4674
4686
|
}, "strip", z.ZodTypeAny, {
|
|
4675
4687
|
autoSendKitchen?: boolean | null | undefined;
|
|
4688
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
4676
4689
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
4677
4690
|
showWaitEstimate?: boolean | null | undefined;
|
|
4678
4691
|
codeSettings?: {
|
|
@@ -4695,6 +4708,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4695
4708
|
}[] | null | undefined;
|
|
4696
4709
|
disableRemoteQueue?: boolean | null | undefined;
|
|
4697
4710
|
disableSMS?: boolean | null | undefined;
|
|
4711
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
4698
4712
|
printChecklist?: boolean | null | undefined;
|
|
4699
4713
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
4700
4714
|
duration: number;
|
|
@@ -4703,6 +4717,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4703
4717
|
}, {
|
|
4704
4718
|
duration?: number | undefined;
|
|
4705
4719
|
autoSendKitchen?: boolean | null | undefined;
|
|
4720
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
4706
4721
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
4707
4722
|
showWaitEstimate?: boolean | null | undefined;
|
|
4708
4723
|
codeSettings?: {
|
|
@@ -4725,6 +4740,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4725
4740
|
}[] | null | undefined;
|
|
4726
4741
|
disableRemoteQueue?: boolean | null | undefined;
|
|
4727
4742
|
disableSMS?: boolean | null | undefined;
|
|
4743
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
4728
4744
|
printChecklist?: boolean | null | undefined;
|
|
4729
4745
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
4730
4746
|
enableOrder: boolean;
|
|
@@ -5657,6 +5673,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
5657
5673
|
} | null | undefined;
|
|
5658
5674
|
queueSettings?: {
|
|
5659
5675
|
autoSendKitchen?: boolean | null | undefined;
|
|
5676
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
5660
5677
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
5661
5678
|
showWaitEstimate?: boolean | null | undefined;
|
|
5662
5679
|
codeSettings?: {
|
|
@@ -5679,6 +5696,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
5679
5696
|
}[] | null | undefined;
|
|
5680
5697
|
disableRemoteQueue?: boolean | null | undefined;
|
|
5681
5698
|
disableSMS?: boolean | null | undefined;
|
|
5699
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
5682
5700
|
printChecklist?: boolean | null | undefined;
|
|
5683
5701
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
5684
5702
|
duration: number;
|
|
@@ -6015,6 +6033,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
6015
6033
|
queueSettings?: {
|
|
6016
6034
|
duration?: number | undefined;
|
|
6017
6035
|
autoSendKitchen?: boolean | null | undefined;
|
|
6036
|
+
notifyOnCancel?: boolean | null | undefined;
|
|
6018
6037
|
channels?: ("APP_INBOX" | "SMS" | "WHATSAPP" | "EMAIL" | "PUSH_NOTIFICATION")[] | null | undefined;
|
|
6019
6038
|
showWaitEstimate?: boolean | null | undefined;
|
|
6020
6039
|
codeSettings?: {
|
|
@@ -6037,6 +6056,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
6037
6056
|
}[] | null | undefined;
|
|
6038
6057
|
disableRemoteQueue?: boolean | null | undefined;
|
|
6039
6058
|
disableSMS?: boolean | null | undefined;
|
|
6059
|
+
autoCancelCalledMinutes?: number | null | undefined;
|
|
6040
6060
|
printChecklist?: boolean | null | undefined;
|
|
6041
6061
|
enableQueueToTabletTransfer?: boolean | null | undefined;
|
|
6042
6062
|
enableOrder: boolean;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ref as a, computed as c } from "vue";
|
|
2
|
+
const f = (i) => {
|
|
3
|
+
const r = a("");
|
|
4
|
+
function t(e) {
|
|
5
|
+
return `${e}`.trim().toLowerCase();
|
|
6
|
+
}
|
|
7
|
+
const u = c(() => t(r.value));
|
|
8
|
+
function o(e) {
|
|
9
|
+
return u.value ? e.some((n) => t(n).includes(u.value)) : !0;
|
|
10
|
+
}
|
|
11
|
+
return { searchKey: r, filter: o };
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
f as u
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { computed as f } from "vue";
|
|
2
|
+
import { useRoute as s } from "vue-router";
|
|
3
|
+
import { useCoreStore as d } from "@feedmepos/mf-common";
|
|
4
|
+
function p() {
|
|
5
|
+
const r = d(), n = s();
|
|
6
|
+
return f(() => {
|
|
7
|
+
var t, e, u;
|
|
8
|
+
if (((t = r.currentContextType) == null ? void 0 : t.value) === "foodCourt")
|
|
9
|
+
return ((u = (e = r.currentFoodCourt) == null ? void 0 : e.value) == null ? void 0 : u._id) ?? null;
|
|
10
|
+
const o = n.query.foodCourtId;
|
|
11
|
+
return typeof o == "string" && /^[0-9a-f]{24}$/i.test(o) ? o : null;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
p as u
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-order-setting",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.96",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "./dist/app.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@feedmepos/core": "^2.15.
|
|
13
|
+
"@feedmepos/core": "^2.15.58",
|
|
14
14
|
"@feedmepos/entity": "0.0.20",
|
|
15
15
|
"@feedmepos/feature-flag": "^0.0.15",
|
|
16
16
|
"@feedmepos/hrm-permission": "^1.0.13",
|
|
17
17
|
"@feedmepos/media-picker": "2.0.0",
|
|
18
|
-
"@feedmepos/menu": "^2.0.
|
|
18
|
+
"@feedmepos/menu": "^2.0.12",
|
|
19
19
|
"@feedmepos/mf-common": "^1.28.6",
|
|
20
20
|
"@feedmepos/ordering": "^0.0.3",
|
|
21
21
|
"@feedmepos/ui-library": "1.10.13",
|