@feedmepos/mf-order-setting 0.0.79 → 0.0.80
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-BKTYE0GI.js → DisplaySystemView-B4Ja1kBe.js} +2 -2
- package/dist/{KioskDevicesView-B3AWg9QR.js → KioskDevicesView-jYkKGyRX.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-s79NGSsG.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-Wicz8r3Q.js} +4 -4
- package/dist/{KioskSettingView-D8-2hQT9.js → KioskSettingView-CDO8VdiK.js} +4 -4
- package/dist/{KioskView-CrbUYY75.js → KioskView-Dex_N5wi.js} +6 -6
- package/dist/{OrderSettingsView-BPv13A7B.js → OrderSettingsView-D4YqwLji.js} +9728 -9551
- package/dist/{app-rzXWOYA2.js → app-DxJcADSR.js} +296 -236
- package/dist/app.js +1 -1
- package/dist/{firebase-storage-BTc4aPcq.js → firebase-storage-GDIc9Lze.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +60 -0
- package/dist/frontend/mf-order/src/main.d.ts +60 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +27 -0
- package/dist/frontend/mf-order/src/views/order-settings/queue/code-setting-band.d.ts +19 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BQLc4wu7.js → index-BOw_SLS3.js} +1 -1
- package/dist/{index-DMgNRp_k.js → index-BP2ZDwqX.js} +2 -2
- package/dist/{index-1TKkR2Bs.js → index-CTRKXPzk.js} +3 -3
- package/dist/{index-BoJCd-Jk.js → index-Dl-iHqtg.js} +1 -1
- package/dist/{order.dto-Ck2nw6IY.js → order.dto-BkJSHx_a.js} +197 -170
- package/dist/package/entity/order-setting/order-setting.do.d.ts +79 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +158 -0
- package/dist/package/entity/order-setting/queue/queue.do.d.ts +158 -0
- package/dist/package/entity/order-setting/queue/queue.dto.d.ts +62 -0
- package/dist/package/entity/queue/queue.dto.d.ts +62 -0
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +158 -0
- package/package.json +1 -1
- package/src/locales/en-US.json +15 -0
- package/src/locales/ja-JP.json +15 -0
- package/src/locales/th-TH.json +16 -1
- package/src/locales/zh-CN.json +16 -1
- package/src/views/order-settings/queue/QueueSetting.vue +294 -2
- package/src/views/order-settings/queue/code-setting-band.spec.ts +69 -0
- package/src/views/order-settings/queue/code-setting-band.ts +27 -0
- package/src/views/order-settings/queue/queue-wait-estimate-dto.spec.ts +131 -0
- package/vite.config.ts +1 -1
|
@@ -3,14 +3,42 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
3
3
|
enableOrder: z.ZodBoolean;
|
|
4
4
|
autoCalledLimit: z.ZodNumber;
|
|
5
5
|
duration: z.ZodDefault<z.ZodNumber>;
|
|
6
|
+
/** Master switch for the customer-facing wait estimate. Off by default. */
|
|
7
|
+
showWaitEstimate: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
6
8
|
/**
|
|
7
9
|
* To allow customization to different prefix and running number based on pax size
|
|
8
10
|
*/
|
|
9
11
|
codeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
10
13
|
start: z.ZodNumber;
|
|
11
14
|
end: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
12
15
|
current: z.ZodNumber;
|
|
13
16
|
prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
17
|
+
waitEstimate: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18
|
+
paxUpTo: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
20
|
+
upTo: z.ZodNullable<z.ZodNumber>;
|
|
21
|
+
minutes: z.ZodNumber;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
upTo: number | null;
|
|
24
|
+
minutes: number;
|
|
25
|
+
}, {
|
|
26
|
+
upTo: number | null;
|
|
27
|
+
minutes: number;
|
|
28
|
+
}>, "many">;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
paxUpTo: number | null;
|
|
31
|
+
bands: {
|
|
32
|
+
upTo: number | null;
|
|
33
|
+
minutes: number;
|
|
34
|
+
}[];
|
|
35
|
+
}, {
|
|
36
|
+
paxUpTo: number | null;
|
|
37
|
+
bands: {
|
|
38
|
+
upTo: number | null;
|
|
39
|
+
minutes: number;
|
|
40
|
+
}[];
|
|
41
|
+
}>, "many">>>;
|
|
14
42
|
pax: z.ZodObject<{
|
|
15
43
|
min: z.ZodNumber;
|
|
16
44
|
max: z.ZodNumber;
|
|
@@ -22,8 +50,16 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
22
50
|
max: number;
|
|
23
51
|
}>;
|
|
24
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
|
+
id?: string | null | undefined;
|
|
25
54
|
end?: number | null | undefined;
|
|
26
55
|
prefix?: string | null | undefined;
|
|
56
|
+
waitEstimate?: {
|
|
57
|
+
paxUpTo: number | null;
|
|
58
|
+
bands: {
|
|
59
|
+
upTo: number | null;
|
|
60
|
+
minutes: number;
|
|
61
|
+
}[];
|
|
62
|
+
}[] | null | undefined;
|
|
27
63
|
start: number;
|
|
28
64
|
current: number;
|
|
29
65
|
pax: {
|
|
@@ -31,8 +67,16 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
31
67
|
max: number;
|
|
32
68
|
};
|
|
33
69
|
}, {
|
|
70
|
+
id?: string | null | undefined;
|
|
34
71
|
end?: number | null | undefined;
|
|
35
72
|
prefix?: string | null | undefined;
|
|
73
|
+
waitEstimate?: {
|
|
74
|
+
paxUpTo: number | null;
|
|
75
|
+
bands: {
|
|
76
|
+
upTo: number | null;
|
|
77
|
+
minutes: number;
|
|
78
|
+
}[];
|
|
79
|
+
}[] | null | undefined;
|
|
36
80
|
start: number;
|
|
37
81
|
current: number;
|
|
38
82
|
pax: {
|
|
@@ -55,9 +99,18 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
55
99
|
*/
|
|
56
100
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
57
101
|
}, "strip", z.ZodTypeAny, {
|
|
102
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
58
103
|
codeSettings?: {
|
|
104
|
+
id?: string | null | undefined;
|
|
59
105
|
end?: number | null | undefined;
|
|
60
106
|
prefix?: string | null | undefined;
|
|
107
|
+
waitEstimate?: {
|
|
108
|
+
paxUpTo: number | null;
|
|
109
|
+
bands: {
|
|
110
|
+
upTo: number | null;
|
|
111
|
+
minutes: number;
|
|
112
|
+
}[];
|
|
113
|
+
}[] | null | undefined;
|
|
61
114
|
start: number;
|
|
62
115
|
current: number;
|
|
63
116
|
pax: {
|
|
@@ -75,9 +128,18 @@ export declare const RestaurantQueueSettingDto: z.ZodObject<{
|
|
|
75
128
|
autoCalledLimit: number;
|
|
76
129
|
}, {
|
|
77
130
|
duration?: number | undefined;
|
|
131
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
78
132
|
codeSettings?: {
|
|
133
|
+
id?: string | null | undefined;
|
|
79
134
|
end?: number | null | undefined;
|
|
80
135
|
prefix?: string | null | undefined;
|
|
136
|
+
waitEstimate?: {
|
|
137
|
+
paxUpTo: number | null;
|
|
138
|
+
bands: {
|
|
139
|
+
upTo: number | null;
|
|
140
|
+
minutes: number;
|
|
141
|
+
}[];
|
|
142
|
+
}[] | null | undefined;
|
|
81
143
|
start: number;
|
|
82
144
|
current: number;
|
|
83
145
|
pax: {
|
|
@@ -9,6 +9,66 @@ export declare const RestaurantQueueStatusDto: z.ZodObject<{
|
|
|
9
9
|
peopleInLine: number;
|
|
10
10
|
nextCode: string;
|
|
11
11
|
}>;
|
|
12
|
+
/**
|
|
13
|
+
* Wait estimate resolved server-side, so the grid never has to be interpreted
|
|
14
|
+
* by a client. `toMinutes` is null for the open-ended top band.
|
|
15
|
+
*/
|
|
16
|
+
export declare const RestaurantQueueEstimateDto: z.ZodObject<{
|
|
17
|
+
fromMinutes: z.ZodNumber;
|
|
18
|
+
toMinutes: z.ZodNullable<z.ZodNumber>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
fromMinutes: number;
|
|
21
|
+
toMinutes: number | null;
|
|
22
|
+
}, {
|
|
23
|
+
fromMinutes: number;
|
|
24
|
+
toMinutes: number | null;
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* A specific queue's live position, polled by the customer app.
|
|
28
|
+
*
|
|
29
|
+
* `ahead` counts QUEUE + CALLED created before this queue — a called party is
|
|
30
|
+
* still consuming the next table. It can legitimately increase when a cancelled
|
|
31
|
+
* queue ahead is restored, so clients must not clamp it.
|
|
32
|
+
*
|
|
33
|
+
* `totalInLine` is for support and diagnostics, not for display.
|
|
34
|
+
*/
|
|
35
|
+
export declare const RestaurantQueuePositionDto: z.ZodObject<{
|
|
36
|
+
status: z.ZodEnum<["ARRIVED", "EXPIRED", "CALLED", "QUEUE", "CANCEL"]>;
|
|
37
|
+
ahead: z.ZodNumber;
|
|
38
|
+
calledCodes: z.ZodArray<z.ZodString, "many">;
|
|
39
|
+
estimate: z.ZodNullable<z.ZodObject<{
|
|
40
|
+
fromMinutes: z.ZodNumber;
|
|
41
|
+
toMinutes: z.ZodNullable<z.ZodNumber>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
fromMinutes: number;
|
|
44
|
+
toMinutes: number | null;
|
|
45
|
+
}, {
|
|
46
|
+
fromMinutes: number;
|
|
47
|
+
toMinutes: number | null;
|
|
48
|
+
}>>;
|
|
49
|
+
totalInLine: z.ZodNumber;
|
|
50
|
+
asOf: z.ZodString;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
status: "QUEUE" | "ARRIVED" | "EXPIRED" | "CALLED" | "CANCEL";
|
|
53
|
+
ahead: number;
|
|
54
|
+
calledCodes: string[];
|
|
55
|
+
estimate: {
|
|
56
|
+
fromMinutes: number;
|
|
57
|
+
toMinutes: number | null;
|
|
58
|
+
} | null;
|
|
59
|
+
totalInLine: number;
|
|
60
|
+
asOf: string;
|
|
61
|
+
}, {
|
|
62
|
+
status: "QUEUE" | "ARRIVED" | "EXPIRED" | "CALLED" | "CANCEL";
|
|
63
|
+
ahead: number;
|
|
64
|
+
calledCodes: string[];
|
|
65
|
+
estimate: {
|
|
66
|
+
fromMinutes: number;
|
|
67
|
+
toMinutes: number | null;
|
|
68
|
+
} | null;
|
|
69
|
+
totalInLine: number;
|
|
70
|
+
asOf: string;
|
|
71
|
+
}>;
|
|
12
72
|
export declare const RestaurantQueueCartDto: z.ZodObject<{
|
|
13
73
|
userId: z.ZodString;
|
|
14
74
|
pf_user: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
@@ -8921,6 +8981,8 @@ export declare const FdtoCreateQueueRequest: z.ZodObject<{
|
|
|
8921
8981
|
phoneNumber: string;
|
|
8922
8982
|
}>;
|
|
8923
8983
|
export type RestaurantQueueStatusDto = z.infer<typeof RestaurantQueueStatusDto>;
|
|
8984
|
+
export type RestaurantQueueEstimateDto = z.infer<typeof RestaurantQueueEstimateDto>;
|
|
8985
|
+
export type RestaurantQueuePositionDto = z.infer<typeof RestaurantQueuePositionDto>;
|
|
8924
8986
|
export type RestaurantQueueCartDto = z.infer<typeof RestaurantQueueCartDto>;
|
|
8925
8987
|
export type RestaurantQueuePOSDto = z.infer<typeof RestaurantQueuePOSDto>;
|
|
8926
8988
|
export type RestaurantQueueDto = z.infer<typeof RestaurantQueueDto>;
|
|
@@ -1372,11 +1372,38 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1372
1372
|
enableOrder: z.ZodBoolean;
|
|
1373
1373
|
autoCalledLimit: z.ZodNumber;
|
|
1374
1374
|
duration: z.ZodDefault<z.ZodNumber>;
|
|
1375
|
+
showWaitEstimate: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1375
1376
|
codeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1377
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1376
1378
|
start: z.ZodNumber;
|
|
1377
1379
|
end: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1378
1380
|
current: z.ZodNumber;
|
|
1379
1381
|
prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1382
|
+
waitEstimate: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1383
|
+
paxUpTo: z.ZodNullable<z.ZodNumber>;
|
|
1384
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
1385
|
+
upTo: z.ZodNullable<z.ZodNumber>;
|
|
1386
|
+
minutes: z.ZodNumber;
|
|
1387
|
+
}, "strip", z.ZodTypeAny, {
|
|
1388
|
+
upTo: number | null;
|
|
1389
|
+
minutes: number;
|
|
1390
|
+
}, {
|
|
1391
|
+
upTo: number | null;
|
|
1392
|
+
minutes: number;
|
|
1393
|
+
}>, "many">;
|
|
1394
|
+
}, "strip", z.ZodTypeAny, {
|
|
1395
|
+
paxUpTo: number | null;
|
|
1396
|
+
bands: {
|
|
1397
|
+
upTo: number | null;
|
|
1398
|
+
minutes: number;
|
|
1399
|
+
}[];
|
|
1400
|
+
}, {
|
|
1401
|
+
paxUpTo: number | null;
|
|
1402
|
+
bands: {
|
|
1403
|
+
upTo: number | null;
|
|
1404
|
+
minutes: number;
|
|
1405
|
+
}[];
|
|
1406
|
+
}>, "many">>>;
|
|
1380
1407
|
pax: z.ZodObject<{
|
|
1381
1408
|
min: z.ZodNumber;
|
|
1382
1409
|
max: z.ZodNumber;
|
|
@@ -1388,8 +1415,16 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1388
1415
|
max: number;
|
|
1389
1416
|
}>;
|
|
1390
1417
|
}, "strip", z.ZodTypeAny, {
|
|
1418
|
+
id?: string | null | undefined;
|
|
1391
1419
|
end?: number | null | undefined;
|
|
1392
1420
|
prefix?: string | null | undefined;
|
|
1421
|
+
waitEstimate?: {
|
|
1422
|
+
paxUpTo: number | null;
|
|
1423
|
+
bands: {
|
|
1424
|
+
upTo: number | null;
|
|
1425
|
+
minutes: number;
|
|
1426
|
+
}[];
|
|
1427
|
+
}[] | null | undefined;
|
|
1393
1428
|
start: number;
|
|
1394
1429
|
current: number;
|
|
1395
1430
|
pax: {
|
|
@@ -1397,8 +1432,16 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1397
1432
|
max: number;
|
|
1398
1433
|
};
|
|
1399
1434
|
}, {
|
|
1435
|
+
id?: string | null | undefined;
|
|
1400
1436
|
end?: number | null | undefined;
|
|
1401
1437
|
prefix?: string | null | undefined;
|
|
1438
|
+
waitEstimate?: {
|
|
1439
|
+
paxUpTo: number | null;
|
|
1440
|
+
bands: {
|
|
1441
|
+
upTo: number | null;
|
|
1442
|
+
minutes: number;
|
|
1443
|
+
}[];
|
|
1444
|
+
}[] | null | undefined;
|
|
1402
1445
|
start: number;
|
|
1403
1446
|
current: number;
|
|
1404
1447
|
pax: {
|
|
@@ -1412,9 +1455,18 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1412
1455
|
autoSendKitchen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1413
1456
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1414
1457
|
}, "strip", z.ZodTypeAny, {
|
|
1458
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
1415
1459
|
codeSettings?: {
|
|
1460
|
+
id?: string | null | undefined;
|
|
1416
1461
|
end?: number | null | undefined;
|
|
1417
1462
|
prefix?: string | null | undefined;
|
|
1463
|
+
waitEstimate?: {
|
|
1464
|
+
paxUpTo: number | null;
|
|
1465
|
+
bands: {
|
|
1466
|
+
upTo: number | null;
|
|
1467
|
+
minutes: number;
|
|
1468
|
+
}[];
|
|
1469
|
+
}[] | null | undefined;
|
|
1418
1470
|
start: number;
|
|
1419
1471
|
current: number;
|
|
1420
1472
|
pax: {
|
|
@@ -1432,9 +1484,18 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1432
1484
|
autoCalledLimit: number;
|
|
1433
1485
|
}, {
|
|
1434
1486
|
duration?: number | undefined;
|
|
1487
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
1435
1488
|
codeSettings?: {
|
|
1489
|
+
id?: string | null | undefined;
|
|
1436
1490
|
end?: number | null | undefined;
|
|
1437
1491
|
prefix?: string | null | undefined;
|
|
1492
|
+
waitEstimate?: {
|
|
1493
|
+
paxUpTo: number | null;
|
|
1494
|
+
bands: {
|
|
1495
|
+
upTo: number | null;
|
|
1496
|
+
minutes: number;
|
|
1497
|
+
}[];
|
|
1498
|
+
}[] | null | undefined;
|
|
1438
1499
|
start: number;
|
|
1439
1500
|
current: number;
|
|
1440
1501
|
pax: {
|
|
@@ -1770,9 +1831,18 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
1770
1831
|
grabfoodDelivery?: any;
|
|
1771
1832
|
shopeefoodDelivery?: any;
|
|
1772
1833
|
queueSetting?: {
|
|
1834
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
1773
1835
|
codeSettings?: {
|
|
1836
|
+
id?: string | null | undefined;
|
|
1774
1837
|
end?: number | null | undefined;
|
|
1775
1838
|
prefix?: string | null | undefined;
|
|
1839
|
+
waitEstimate?: {
|
|
1840
|
+
paxUpTo: number | null;
|
|
1841
|
+
bands: {
|
|
1842
|
+
upTo: number | null;
|
|
1843
|
+
minutes: number;
|
|
1844
|
+
}[];
|
|
1845
|
+
}[] | null | undefined;
|
|
1776
1846
|
start: number;
|
|
1777
1847
|
current: number;
|
|
1778
1848
|
pax: {
|
|
@@ -2060,9 +2130,18 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
|
|
|
2060
2130
|
shopeefoodDelivery?: any;
|
|
2061
2131
|
queueSetting?: {
|
|
2062
2132
|
duration?: number | undefined;
|
|
2133
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
2063
2134
|
codeSettings?: {
|
|
2135
|
+
id?: string | null | undefined;
|
|
2064
2136
|
end?: number | null | undefined;
|
|
2065
2137
|
prefix?: string | null | undefined;
|
|
2138
|
+
waitEstimate?: {
|
|
2139
|
+
paxUpTo: number | null;
|
|
2140
|
+
bands: {
|
|
2141
|
+
upTo: number | null;
|
|
2142
|
+
minutes: number;
|
|
2143
|
+
}[];
|
|
2144
|
+
}[] | null | undefined;
|
|
2066
2145
|
start: number;
|
|
2067
2146
|
current: number;
|
|
2068
2147
|
pax: {
|
|
@@ -4458,11 +4537,38 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4458
4537
|
enableOrder: z.ZodBoolean;
|
|
4459
4538
|
autoCalledLimit: z.ZodNumber;
|
|
4460
4539
|
duration: z.ZodDefault<z.ZodNumber>;
|
|
4540
|
+
showWaitEstimate: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4461
4541
|
codeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4542
|
+
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4462
4543
|
start: z.ZodNumber;
|
|
4463
4544
|
end: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
4464
4545
|
current: z.ZodNumber;
|
|
4465
4546
|
prefix: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4547
|
+
waitEstimate: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4548
|
+
paxUpTo: z.ZodNullable<z.ZodNumber>;
|
|
4549
|
+
bands: z.ZodArray<z.ZodObject<{
|
|
4550
|
+
upTo: z.ZodNullable<z.ZodNumber>;
|
|
4551
|
+
minutes: z.ZodNumber;
|
|
4552
|
+
}, "strip", z.ZodTypeAny, {
|
|
4553
|
+
upTo: number | null;
|
|
4554
|
+
minutes: number;
|
|
4555
|
+
}, {
|
|
4556
|
+
upTo: number | null;
|
|
4557
|
+
minutes: number;
|
|
4558
|
+
}>, "many">;
|
|
4559
|
+
}, "strip", z.ZodTypeAny, {
|
|
4560
|
+
paxUpTo: number | null;
|
|
4561
|
+
bands: {
|
|
4562
|
+
upTo: number | null;
|
|
4563
|
+
minutes: number;
|
|
4564
|
+
}[];
|
|
4565
|
+
}, {
|
|
4566
|
+
paxUpTo: number | null;
|
|
4567
|
+
bands: {
|
|
4568
|
+
upTo: number | null;
|
|
4569
|
+
minutes: number;
|
|
4570
|
+
}[];
|
|
4571
|
+
}>, "many">>>;
|
|
4466
4572
|
pax: z.ZodObject<{
|
|
4467
4573
|
min: z.ZodNumber;
|
|
4468
4574
|
max: z.ZodNumber;
|
|
@@ -4474,8 +4580,16 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4474
4580
|
max: number;
|
|
4475
4581
|
}>;
|
|
4476
4582
|
}, "strip", z.ZodTypeAny, {
|
|
4583
|
+
id?: string | null | undefined;
|
|
4477
4584
|
end?: number | null | undefined;
|
|
4478
4585
|
prefix?: string | null | undefined;
|
|
4586
|
+
waitEstimate?: {
|
|
4587
|
+
paxUpTo: number | null;
|
|
4588
|
+
bands: {
|
|
4589
|
+
upTo: number | null;
|
|
4590
|
+
minutes: number;
|
|
4591
|
+
}[];
|
|
4592
|
+
}[] | null | undefined;
|
|
4479
4593
|
start: number;
|
|
4480
4594
|
current: number;
|
|
4481
4595
|
pax: {
|
|
@@ -4483,8 +4597,16 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4483
4597
|
max: number;
|
|
4484
4598
|
};
|
|
4485
4599
|
}, {
|
|
4600
|
+
id?: string | null | undefined;
|
|
4486
4601
|
end?: number | null | undefined;
|
|
4487
4602
|
prefix?: string | null | undefined;
|
|
4603
|
+
waitEstimate?: {
|
|
4604
|
+
paxUpTo: number | null;
|
|
4605
|
+
bands: {
|
|
4606
|
+
upTo: number | null;
|
|
4607
|
+
minutes: number;
|
|
4608
|
+
}[];
|
|
4609
|
+
}[] | null | undefined;
|
|
4488
4610
|
start: number;
|
|
4489
4611
|
current: number;
|
|
4490
4612
|
pax: {
|
|
@@ -4498,9 +4620,18 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4498
4620
|
autoSendKitchen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4499
4621
|
enableQueueToTabletTransfer: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4500
4622
|
}, "strip", z.ZodTypeAny, {
|
|
4623
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
4501
4624
|
codeSettings?: {
|
|
4625
|
+
id?: string | null | undefined;
|
|
4502
4626
|
end?: number | null | undefined;
|
|
4503
4627
|
prefix?: string | null | undefined;
|
|
4628
|
+
waitEstimate?: {
|
|
4629
|
+
paxUpTo: number | null;
|
|
4630
|
+
bands: {
|
|
4631
|
+
upTo: number | null;
|
|
4632
|
+
minutes: number;
|
|
4633
|
+
}[];
|
|
4634
|
+
}[] | null | undefined;
|
|
4504
4635
|
start: number;
|
|
4505
4636
|
current: number;
|
|
4506
4637
|
pax: {
|
|
@@ -4518,9 +4649,18 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
4518
4649
|
autoCalledLimit: number;
|
|
4519
4650
|
}, {
|
|
4520
4651
|
duration?: number | undefined;
|
|
4652
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
4521
4653
|
codeSettings?: {
|
|
4654
|
+
id?: string | null | undefined;
|
|
4522
4655
|
end?: number | null | undefined;
|
|
4523
4656
|
prefix?: string | null | undefined;
|
|
4657
|
+
waitEstimate?: {
|
|
4658
|
+
paxUpTo: number | null;
|
|
4659
|
+
bands: {
|
|
4660
|
+
upTo: number | null;
|
|
4661
|
+
minutes: number;
|
|
4662
|
+
}[];
|
|
4663
|
+
}[] | null | undefined;
|
|
4524
4664
|
start: number;
|
|
4525
4665
|
current: number;
|
|
4526
4666
|
pax: {
|
|
@@ -5367,9 +5507,18 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
5367
5507
|
}>>>;
|
|
5368
5508
|
}, "strip", z.ZodTypeAny, {
|
|
5369
5509
|
queueSettings?: {
|
|
5510
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
5370
5511
|
codeSettings?: {
|
|
5512
|
+
id?: string | null | undefined;
|
|
5371
5513
|
end?: number | null | undefined;
|
|
5372
5514
|
prefix?: string | null | undefined;
|
|
5515
|
+
waitEstimate?: {
|
|
5516
|
+
paxUpTo: number | null;
|
|
5517
|
+
bands: {
|
|
5518
|
+
upTo: number | null;
|
|
5519
|
+
minutes: number;
|
|
5520
|
+
}[];
|
|
5521
|
+
}[] | null | undefined;
|
|
5373
5522
|
start: number;
|
|
5374
5523
|
current: number;
|
|
5375
5524
|
pax: {
|
|
@@ -5704,9 +5853,18 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
|
|
|
5704
5853
|
}, {
|
|
5705
5854
|
queueSettings?: {
|
|
5706
5855
|
duration?: number | undefined;
|
|
5856
|
+
showWaitEstimate?: boolean | null | undefined;
|
|
5707
5857
|
codeSettings?: {
|
|
5858
|
+
id?: string | null | undefined;
|
|
5708
5859
|
end?: number | null | undefined;
|
|
5709
5860
|
prefix?: string | null | undefined;
|
|
5861
|
+
waitEstimate?: {
|
|
5862
|
+
paxUpTo: number | null;
|
|
5863
|
+
bands: {
|
|
5864
|
+
upTo: number | null;
|
|
5865
|
+
minutes: number;
|
|
5866
|
+
}[];
|
|
5867
|
+
}[] | null | undefined;
|
|
5710
5868
|
start: number;
|
|
5711
5869
|
current: number;
|
|
5712
5870
|
pax: {
|
package/package.json
CHANGED
package/src/locales/en-US.json
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"order": {
|
|
3
|
+
"waitEstimateMinutesHeader": "Estimated wait",
|
|
4
|
+
"waitEstimateMinutesUnit": "min",
|
|
5
|
+
"waitEstimateRemoveBand": "Remove row",
|
|
6
|
+
"waitEstimateAheadHeader": "Queues ahead",
|
|
7
|
+
"showWaitEstimate": "Show estimated wait time to customers",
|
|
8
|
+
"waitEstimate": "Estimated wait time",
|
|
9
|
+
"waitEstimateHint": "An estimate shown to customers. It does not change the order parties are served in.",
|
|
10
|
+
"waitEstimateEnable": "Set estimates",
|
|
11
|
+
"waitEstimateClear": "Clear estimates",
|
|
12
|
+
"waitEstimateAddBand": "Add column",
|
|
13
|
+
"waitEstimateNoBands": "Code setting {segment}: add at least one queues-ahead column.",
|
|
14
|
+
"waitEstimateBandTail": "Code setting {segment}: the last column must cover everything above it.",
|
|
15
|
+
"waitEstimateBandOrder": "Code setting {segment}: queues-ahead columns must increase.",
|
|
16
|
+
"waitEstimateMinutesInvalid": "Code setting {segment}: minutes must be a whole number, zero or more.",
|
|
17
|
+
"waitEstimateMinutesOrder": "Code setting {segment}: a longer queue cannot have a shorter wait.",
|
|
3
18
|
"stores": "Stores",
|
|
4
19
|
"addStore": "Add Store",
|
|
5
20
|
"editStore": "Edit Store",
|
package/src/locales/ja-JP.json
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"order": {
|
|
3
|
+
"waitEstimateMinutesHeader": "目安待ち時間",
|
|
4
|
+
"waitEstimateMinutesUnit": "分",
|
|
5
|
+
"waitEstimateRemoveBand": "この行を削除",
|
|
6
|
+
"waitEstimateAheadHeader": "前の組数",
|
|
7
|
+
"showWaitEstimate": "お客様に予想待ち時間を表示",
|
|
8
|
+
"waitEstimate": "予想待ち時間",
|
|
9
|
+
"waitEstimateHint": "お客様に表示される目安です。実際の呼び出し順は変わりません。",
|
|
10
|
+
"waitEstimateEnable": "目安を設定",
|
|
11
|
+
"waitEstimateClear": "目安を削除",
|
|
12
|
+
"waitEstimateAddBand": "列を追加",
|
|
13
|
+
"waitEstimateNoBands": "番号設定 {segment}:待ち組数の列を少なくとも1つ追加してください。",
|
|
14
|
+
"waitEstimateBandTail": "番号設定 {segment}:最後の列は残りすべてを含める必要があります。",
|
|
15
|
+
"waitEstimateBandOrder": "番号設定 {segment}:待ち組数の列は昇順にしてください。",
|
|
16
|
+
"waitEstimateMinutesInvalid": "番号設定 {segment}:分は0以上の整数で入力してください。",
|
|
17
|
+
"waitEstimateMinutesOrder": "番号設定 {segment}:待ち組数が多いほど待ち時間が短くなる設定はできません。",
|
|
3
18
|
"activate": "有効化",
|
|
4
19
|
"addStore": "ストアを追加",
|
|
5
20
|
"additionalStores": "追加ストア",
|
package/src/locales/th-TH.json
CHANGED
|
@@ -589,6 +589,21 @@
|
|
|
589
589
|
"version": "เวอร์ชัน",
|
|
590
590
|
"promotion": "โปรโมชั่น",
|
|
591
591
|
"voucher": "บัตรกำนัล"
|
|
592
|
-
}
|
|
592
|
+
},
|
|
593
|
+
"showWaitEstimate": "แสดงเวลารอโดยประมาณให้ลูกค้า",
|
|
594
|
+
"waitEstimate": "เวลารอโดยประมาณ",
|
|
595
|
+
"waitEstimateHint": "ทุกคนต่อคิวในแถวเดียวกัน จำนวนคนมีผลกับเวลาประมาณเท่านั้น ไม่มีผลกับลำดับคิว หากต้องการเวลาประมาณต่างกันตามจำนวนคน ให้เพิ่มการตั้งค่าหมายเลขอีกชุด",
|
|
596
|
+
"waitEstimateEnable": "ตั้งค่าประมาณ",
|
|
597
|
+
"waitEstimateClear": "ล้างค่าประมาณ",
|
|
598
|
+
"waitEstimateAheadHeader": "จำนวนคิวข้างหน้า",
|
|
599
|
+
"waitEstimateAddBand": "เพิ่มแถว",
|
|
600
|
+
"waitEstimateNoBands": "การตั้งค่าหมายเลข {segment}: เพิ่มแถวจำนวนคิวข้างหน้าอย่างน้อยหนึ่งแถว",
|
|
601
|
+
"waitEstimateBandTail": "การตั้งค่าหมายเลข {segment}: แถวสุดท้ายต้องครอบคลุมส่วนที่เหลือทั้งหมด",
|
|
602
|
+
"waitEstimateBandOrder": "การตั้งค่าหมายเลข {segment}: แถวจำนวนคิวข้างหน้าต้องเรียงจากน้อยไปมาก",
|
|
603
|
+
"waitEstimateMinutesInvalid": "การตั้งค่าหมายเลข {segment}: นาทีต้องเป็นจำนวนเต็มตั้งแต่ 0 ขึ้นไป",
|
|
604
|
+
"waitEstimateMinutesOrder": "การตั้งค่าหมายเลข {segment}: คิวที่ยาวกว่าจะมีเวลารอสั้นกว่าไม่ได้",
|
|
605
|
+
"waitEstimateMinutesHeader": "เวลาประมาณ",
|
|
606
|
+
"waitEstimateMinutesUnit": "นาที",
|
|
607
|
+
"waitEstimateRemoveBand": "ลบแถวนี้"
|
|
593
608
|
}
|
|
594
609
|
}
|
package/src/locales/zh-CN.json
CHANGED
|
@@ -644,6 +644,21 @@
|
|
|
644
644
|
"version": "版本",
|
|
645
645
|
"promotion": "促销",
|
|
646
646
|
"voucher": "代金券"
|
|
647
|
-
}
|
|
647
|
+
},
|
|
648
|
+
"showWaitEstimate": "向顾客显示预计等候时间",
|
|
649
|
+
"waitEstimate": "预计等候时间",
|
|
650
|
+
"waitEstimateHint": "所有顾客排在同一队列中——人数只影响预估时间,不影响排队顺序。如需按人数设置不同预估,请新增一个号码设置。",
|
|
651
|
+
"waitEstimateClear": "清除预估",
|
|
652
|
+
"waitEstimateEnable": "设置预估",
|
|
653
|
+
"waitEstimateAheadHeader": "前面组数",
|
|
654
|
+
"waitEstimateAddBand": "添加一行",
|
|
655
|
+
"waitEstimateNoBands": "号码设置 {segment}:请至少添加一行前面组数区间。",
|
|
656
|
+
"waitEstimateBandTail": "号码设置 {segment}:最后一行必须涵盖其余所有情况。",
|
|
657
|
+
"waitEstimateBandOrder": "号码设置 {segment}:前面组数的区间必须递增。",
|
|
658
|
+
"waitEstimateMinutesInvalid": "号码设置 {segment}:分钟数必须是零或以上的整数。",
|
|
659
|
+
"waitEstimateMinutesOrder": "号码设置 {segment}:排队越长,等候时间不能越短。",
|
|
660
|
+
"waitEstimateMinutesHeader": "预估等待",
|
|
661
|
+
"waitEstimateMinutesUnit": "分钟",
|
|
662
|
+
"waitEstimateRemoveBand": "删除此行"
|
|
648
663
|
}
|
|
649
664
|
}
|