@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.
Files changed (75) hide show
  1. package/dist/{DisplaySystemView-n7Kqdw-h.js → DisplaySystemView-DZS7EVfk.js} +1 -1
  2. package/dist/{KioskDevicesView-Bz6seroM.js → KioskDevicesView-d2WLB0-w.js} +1 -1
  3. 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
  4. package/dist/{KioskSettingView-Cajjh4Zm.js → KioskSettingView-DFE3_u5c.js} +3 -3
  5. package/dist/{KioskView-BPSbsMi5.js → KioskView-C3Pi3lWW.js} +5 -5
  6. package/dist/{OrderSettingsView-jPxZ3JDM.js → OrderSettingsView-Dxg9RjSd.js} +26999 -25299
  7. package/dist/{app-DIhv5ssA.js → app-BFlQtcsd.js} +3253 -3062
  8. package/dist/app.js +1 -1
  9. package/dist/common/order-platform/index.d.ts +20 -0
  10. package/dist/frontend/mf-order/src/api/reservation/index.d.ts +8 -0
  11. package/dist/frontend/mf-order/src/app.d.ts +84 -0
  12. package/dist/frontend/mf-order/src/main.d.ts +84 -0
  13. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +3 -3
  14. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +3 -0
  15. package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts +186 -0
  16. package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomTimePicker.vue.d.ts +11 -0
  17. package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts +2 -0
  18. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  19. package/dist/{index-vaSLX6r3.js → index-ByiTrmdq.js} +2 -2
  20. package/dist/{index-Clp_YRJ2.js → index-CaO7aaaT.js} +1 -1
  21. package/dist/{index-CmqNrkNl.js → index-s2kWGMtz.js} +1 -1
  22. package/dist/order.dto-C829lA69.js +41528 -0
  23. package/dist/package/entity/delivery/delivery.dto.d.ts +7 -0
  24. package/dist/package/entity/food-court/food-court.dto.d.ts +315 -264
  25. package/dist/package/entity/food-court/order-v2.do.d.ts +231 -0
  26. package/dist/package/entity/food-court/order-v2.do.spec.d.ts +1 -0
  27. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +15 -6
  28. package/dist/package/entity/index.d.ts +7 -0
  29. package/dist/package/entity/index.frontend.d.ts +2 -0
  30. package/dist/package/entity/member/member.dto.d.ts +2 -2
  31. package/dist/package/entity/order/dine-in/dine-in.do.d.ts +44 -9
  32. package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +17 -3
  33. package/dist/package/entity/order/menu/menu.dto.d.ts +33 -3
  34. package/dist/package/entity/order/order-item/order-item.dto.d.ts +18 -18
  35. package/dist/package/entity/order/order.do.d.ts +87 -12
  36. package/dist/package/entity/order/order.dto.d.ts +762 -358
  37. package/dist/package/entity/order/order.enum.d.ts +1 -1
  38. package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +7 -0
  39. package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +7 -0
  40. package/dist/package/entity/order-platform/menu.dto.d.ts +10 -10
  41. package/dist/package/entity/order-platform/order-platform.dto.d.ts +92 -0
  42. package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +7 -0
  43. package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +6 -6
  44. package/dist/package/entity/order-setting/order-setting.do.d.ts +866 -5
  45. package/dist/package/entity/order-setting/order-setting.dto.d.ts +10 -10
  46. package/dist/package/entity/order-setting/reservationV2/reservation.do.d.ts +1269 -0
  47. package/dist/package/entity/order-setting/sms/sms.do.d.ts +3 -3
  48. package/dist/package/entity/order-setting/sms/sms.dto.d.ts +3 -3
  49. package/dist/package/entity/queue/queue.dto.d.ts +175 -121
  50. package/dist/package/entity/reservation/reservation-pos.do.d.ts +222 -0
  51. package/dist/package/entity/reservation/reservation.do.d.ts +205 -0
  52. package/dist/package/entity/reservation/reservation.dto.d.ts +428 -0
  53. package/dist/package/entity/reservation/reservation.enum.d.ts +3 -0
  54. package/dist/package/entity/reservation/reservation.utils.d.ts +152 -0
  55. package/dist/package/entity/restaurant/restaurant.dto.d.ts +39 -24
  56. package/dist/package/entity/user/user.do.d.ts +2 -2
  57. package/dist/package/entity/websocket/websocket.dto.d.ts +161 -21
  58. package/dist/package/entity/websocket/websocket.enum.d.ts +1 -1
  59. package/dist/style.css +1 -1
  60. package/package.json +2 -2
  61. package/src/api/reservation/index.ts +25 -0
  62. package/src/assets/images/not-found.png +0 -0
  63. package/src/locales/en-US.json +21 -0
  64. package/src/locales/ja-JP.json +21 -0
  65. package/src/locales/th-TH.json +21 -0
  66. package/src/locales/zh-CN.json +21 -0
  67. package/src/views/order-settings/OrderSettingsView.vue +9 -2
  68. package/src/views/order-settings/delivery/delivery.spec.ts +21 -0
  69. package/src/views/order-settings/delivery/delivery.ts +2 -51
  70. package/src/views/order-settings/dine-in/DineInSetting.vue +11 -1
  71. package/src/views/order-settings/reservation/CopySettingsSheet.vue +256 -0
  72. package/src/views/order-settings/reservation/CustomTimePicker.vue +311 -0
  73. package/src/views/order-settings/reservation/ReservationSetting.vue +1549 -0
  74. package/vitest.config.ts +2 -1
  75. package/dist/order.dto-DV1qL3Q_.js +0 -40301
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const OrderDineInSubOptionDto: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
3
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
3
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
4
4
  }, {
5
5
  type: z.ZodLiteral<"QR">;
6
6
  session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -14,7 +14,7 @@ export declare const OrderDineInSubOptionDto: z.ZodDiscriminatedUnion<"type", z.
14
14
  slot: string;
15
15
  type: "QR";
16
16
  }> | z.ZodObject<z.extendShape<{
17
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
17
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
18
18
  }, {
19
19
  type: z.ZodLiteral<"QUEUE">;
20
20
  queueId: z.ZodString;
@@ -28,7 +28,21 @@ export declare const OrderDineInSubOptionDto: z.ZodDiscriminatedUnion<"type", z.
28
28
  type: "QUEUE";
29
29
  queueId: string;
30
30
  }> | z.ZodObject<z.extendShape<{
31
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
31
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
32
+ }, {
33
+ type: z.ZodLiteral<"RESERVATION">;
34
+ reservationId: z.ZodString;
35
+ slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
36
+ }>, "strip", z.ZodTypeAny, {
37
+ slot?: string | null | undefined;
38
+ type: "RESERVATION";
39
+ reservationId: string;
40
+ }, {
41
+ slot?: string | null | undefined;
42
+ type: "RESERVATION";
43
+ reservationId: string;
44
+ }> | z.ZodObject<z.extendShape<{
45
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
32
46
  }, {
33
47
  type: z.ZodLiteral<"TAKEAWAY">;
34
48
  slot: z.ZodString;
@@ -25,7 +25,7 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
25
25
  }>;
26
26
  }>>>;
27
27
  sub: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
28
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
28
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
29
29
  }, {
30
30
  type: z.ZodLiteral<"QR">;
31
31
  session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -39,7 +39,7 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
39
39
  slot: string;
40
40
  type: "QR";
41
41
  }> | z.ZodObject<z.extendShape<{
42
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
42
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
43
43
  }, {
44
44
  type: z.ZodLiteral<"QUEUE">;
45
45
  queueId: z.ZodEffects<z.ZodString, string, string>;
@@ -53,7 +53,21 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
53
53
  type: "QUEUE";
54
54
  queueId: string;
55
55
  }> | z.ZodObject<z.extendShape<{
56
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
56
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
57
+ }, {
58
+ type: z.ZodLiteral<"RESERVATION">;
59
+ reservationId: z.ZodEffects<z.ZodString, string, string>;
60
+ slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
61
+ }>, "strip", z.ZodTypeAny, {
62
+ slot?: string | null | undefined;
63
+ type: "RESERVATION";
64
+ reservationId: string;
65
+ }, {
66
+ slot?: string | null | undefined;
67
+ type: "RESERVATION";
68
+ reservationId: string;
69
+ }> | z.ZodObject<z.extendShape<{
70
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
57
71
  }, {
58
72
  type: z.ZodLiteral<"TAKEAWAY">;
59
73
  slot: z.ZodString;
@@ -83,6 +97,10 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
83
97
  slot?: string | null | undefined;
84
98
  type: "QUEUE";
85
99
  queueId: string;
100
+ } | {
101
+ slot?: string | null | undefined;
102
+ type: "RESERVATION";
103
+ reservationId: string;
86
104
  } | {
87
105
  seqNumber?: string | null | undefined;
88
106
  slot: string;
@@ -105,6 +123,10 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
105
123
  slot?: string | null | undefined;
106
124
  type: "QUEUE";
107
125
  queueId: string;
126
+ } | {
127
+ slot?: string | null | undefined;
128
+ type: "RESERVATION";
129
+ reservationId: string;
108
130
  } | {
109
131
  seqNumber?: string | null | undefined;
110
132
  slot: string;
@@ -1444,6 +1466,10 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
1444
1466
  slot?: string | null | undefined;
1445
1467
  type: "QUEUE";
1446
1468
  queueId: string;
1469
+ } | {
1470
+ slot?: string | null | undefined;
1471
+ type: "RESERVATION";
1472
+ reservationId: string;
1447
1473
  } | {
1448
1474
  seqNumber?: string | null | undefined;
1449
1475
  slot: string;
@@ -1673,6 +1699,10 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
1673
1699
  slot?: string | null | undefined;
1674
1700
  type: "QUEUE";
1675
1701
  queueId: string;
1702
+ } | {
1703
+ slot?: string | null | undefined;
1704
+ type: "RESERVATION";
1705
+ reservationId: string;
1676
1706
  } | {
1677
1707
  seqNumber?: string | null | undefined;
1678
1708
  slot: string;
@@ -135,8 +135,8 @@ declare const _OrderItemSubItemDto: z.ZodObject<{
135
135
  precision: number;
136
136
  } | null | undefined;
137
137
  categoryName?: string | null | undefined;
138
- taxes?: any[] | null | undefined;
139
138
  unit?: string | null | undefined;
139
+ taxes?: any[] | null | undefined;
140
140
  perXUnit?: string | number | null | undefined;
141
141
  name2?: string | null | undefined;
142
142
  takeawayPrice?: {
@@ -178,8 +178,8 @@ declare const _OrderItemSubItemDto: z.ZodObject<{
178
178
  precision: number;
179
179
  } | null | undefined;
180
180
  categoryName?: string | null | undefined;
181
- taxes?: any[] | null | undefined;
182
181
  unit?: string | null | undefined;
182
+ taxes?: any[] | null | undefined;
183
183
  perXUnit?: string | number | null | undefined;
184
184
  name2?: string | null | undefined;
185
185
  takeawayPrice?: {
@@ -246,8 +246,8 @@ declare const _OrderItemSubItemDto: z.ZodObject<{
246
246
  precision: number;
247
247
  } | null | undefined;
248
248
  categoryName?: string | null | undefined;
249
- taxes?: any[] | null | undefined;
250
249
  unit?: string | null | undefined;
250
+ taxes?: any[] | null | undefined;
251
251
  perXUnit?: string | number | null | undefined;
252
252
  name2?: string | null | undefined;
253
253
  takeawayPrice?: {
@@ -307,8 +307,8 @@ declare const _OrderItemSubItemDto: z.ZodObject<{
307
307
  precision: number;
308
308
  } | null | undefined;
309
309
  categoryName?: string | null | undefined;
310
- taxes?: any[] | null | undefined;
311
310
  unit?: string | null | undefined;
311
+ taxes?: any[] | null | undefined;
312
312
  perXUnit?: string | number | null | undefined;
313
313
  name2?: string | null | undefined;
314
314
  takeawayPrice?: {
@@ -472,8 +472,8 @@ declare const _OrderItemSubItemCustomerV1Dto: z.ZodObject<z.extendShape<{
472
472
  precision: number;
473
473
  } | null | undefined;
474
474
  categoryName?: string | null | undefined;
475
- taxes?: any[] | null | undefined;
476
475
  unit?: string | null | undefined;
476
+ taxes?: any[] | null | undefined;
477
477
  perXUnit?: string | number | null | undefined;
478
478
  name2?: string | null | undefined;
479
479
  takeawayPrice?: {
@@ -515,8 +515,8 @@ declare const _OrderItemSubItemCustomerV1Dto: z.ZodObject<z.extendShape<{
515
515
  precision: number;
516
516
  } | null | undefined;
517
517
  categoryName?: string | null | undefined;
518
- taxes?: any[] | null | undefined;
519
518
  unit?: string | null | undefined;
519
+ taxes?: any[] | null | undefined;
520
520
  perXUnit?: string | number | null | undefined;
521
521
  name2?: string | null | undefined;
522
522
  takeawayPrice?: {
@@ -665,8 +665,8 @@ declare const _OrderItemSubItemCustomerV1Dto: z.ZodObject<z.extendShape<{
665
665
  precision: number;
666
666
  } | null | undefined;
667
667
  categoryName?: string | null | undefined;
668
- taxes?: any[] | null | undefined;
669
668
  unit?: string | null | undefined;
669
+ taxes?: any[] | null | undefined;
670
670
  perXUnit?: string | number | null | undefined;
671
671
  name2?: string | null | undefined;
672
672
  takeawayPrice?: {
@@ -708,8 +708,8 @@ declare const _OrderItemSubItemCustomerV1Dto: z.ZodObject<z.extendShape<{
708
708
  precision: number;
709
709
  } | null | undefined;
710
710
  categoryName?: string | null | undefined;
711
- taxes?: any[] | null | undefined;
712
711
  unit?: string | null | undefined;
712
+ taxes?: any[] | null | undefined;
713
713
  perXUnit?: string | number | null | undefined;
714
714
  name2?: string | null | undefined;
715
715
  takeawayPrice?: {
@@ -760,8 +760,8 @@ declare const _OrderItemSubItemCustomerV1Dto: z.ZodObject<z.extendShape<{
760
760
  precision: number;
761
761
  } | null | undefined;
762
762
  categoryName?: string | null | undefined;
763
- taxes?: any[] | null | undefined;
764
763
  unit?: string | null | undefined;
764
+ taxes?: any[] | null | undefined;
765
765
  perXUnit?: string | number | null | undefined;
766
766
  name2?: string | null | undefined;
767
767
  takeawayPrice?: {
@@ -821,8 +821,8 @@ declare const _OrderItemSubItemCustomerV1Dto: z.ZodObject<z.extendShape<{
821
821
  precision: number;
822
822
  } | null | undefined;
823
823
  categoryName?: string | null | undefined;
824
- taxes?: any[] | null | undefined;
825
824
  unit?: string | null | undefined;
825
+ taxes?: any[] | null | undefined;
826
826
  perXUnit?: string | number | null | undefined;
827
827
  name2?: string | null | undefined;
828
828
  takeawayPrice?: {
@@ -964,8 +964,8 @@ export declare const OrderItemDto: z.ZodObject<{
964
964
  precision: number;
965
965
  } | null | undefined;
966
966
  categoryName?: string | null | undefined;
967
- taxes?: any[] | null | undefined;
968
967
  unit?: string | null | undefined;
968
+ taxes?: any[] | null | undefined;
969
969
  perXUnit?: string | number | null | undefined;
970
970
  name2?: string | null | undefined;
971
971
  takeawayPrice?: {
@@ -1007,8 +1007,8 @@ export declare const OrderItemDto: z.ZodObject<{
1007
1007
  precision: number;
1008
1008
  } | null | undefined;
1009
1009
  categoryName?: string | null | undefined;
1010
- taxes?: any[] | null | undefined;
1011
1010
  unit?: string | null | undefined;
1011
+ taxes?: any[] | null | undefined;
1012
1012
  perXUnit?: string | number | null | undefined;
1013
1013
  name2?: string | null | undefined;
1014
1014
  takeawayPrice?: {
@@ -1114,8 +1114,8 @@ export declare const OrderItemDto: z.ZodObject<{
1114
1114
  precision: number;
1115
1115
  } | null | undefined;
1116
1116
  categoryName?: string | null | undefined;
1117
- taxes?: any[] | null | undefined;
1118
1117
  unit?: string | null | undefined;
1118
+ taxes?: any[] | null | undefined;
1119
1119
  perXUnit?: string | number | null | undefined;
1120
1120
  name2?: string | null | undefined;
1121
1121
  takeawayPrice?: {
@@ -1184,8 +1184,8 @@ export declare const OrderItemDto: z.ZodObject<{
1184
1184
  precision: number;
1185
1185
  } | null | undefined;
1186
1186
  categoryName?: string | null | undefined;
1187
- taxes?: any[] | null | undefined;
1188
1187
  unit?: string | null | undefined;
1188
+ taxes?: any[] | null | undefined;
1189
1189
  perXUnit?: string | number | null | undefined;
1190
1190
  name2?: string | null | undefined;
1191
1191
  takeawayPrice?: {
@@ -1320,8 +1320,8 @@ export declare const OrderItemCustomerV1Dto: z.ZodObject<z.extendShape<{
1320
1320
  precision: number;
1321
1321
  } | null | undefined;
1322
1322
  categoryName?: string | null | undefined;
1323
- taxes?: any[] | null | undefined;
1324
1323
  unit?: string | null | undefined;
1324
+ taxes?: any[] | null | undefined;
1325
1325
  perXUnit?: string | number | null | undefined;
1326
1326
  name2?: string | null | undefined;
1327
1327
  takeawayPrice?: {
@@ -1363,8 +1363,8 @@ export declare const OrderItemCustomerV1Dto: z.ZodObject<z.extendShape<{
1363
1363
  precision: number;
1364
1364
  } | null | undefined;
1365
1365
  categoryName?: string | null | undefined;
1366
- taxes?: any[] | null | undefined;
1367
1366
  unit?: string | null | undefined;
1367
+ taxes?: any[] | null | undefined;
1368
1368
  perXUnit?: string | number | null | undefined;
1369
1369
  name2?: string | null | undefined;
1370
1370
  takeawayPrice?: {
@@ -1472,8 +1472,8 @@ export declare const OrderItemCustomerV1Dto: z.ZodObject<z.extendShape<{
1472
1472
  precision: number;
1473
1473
  } | null | undefined;
1474
1474
  categoryName?: string | null | undefined;
1475
- taxes?: any[] | null | undefined;
1476
1475
  unit?: string | null | undefined;
1476
+ taxes?: any[] | null | undefined;
1477
1477
  perXUnit?: string | number | null | undefined;
1478
1478
  name2?: string | null | undefined;
1479
1479
  takeawayPrice?: {
@@ -1542,8 +1542,8 @@ export declare const OrderItemCustomerV1Dto: z.ZodObject<z.extendShape<{
1542
1542
  precision: number;
1543
1543
  } | null | undefined;
1544
1544
  categoryName?: string | null | undefined;
1545
- taxes?: any[] | null | undefined;
1546
1545
  unit?: string | null | undefined;
1546
+ taxes?: any[] | null | undefined;
1547
1547
  perXUnit?: string | number | null | undefined;
1548
1548
  name2?: string | null | undefined;
1549
1549
  takeawayPrice?: {
@@ -144,12 +144,12 @@ export declare const FdoOrderItemProduct: z.ZodObject<{
144
144
  precision: number;
145
145
  } | null | undefined;
146
146
  categoryName?: string | null | undefined;
147
+ unit?: string | null | undefined;
147
148
  taxes?: {
148
149
  inclusive?: boolean | null | undefined;
149
150
  taxCode: string;
150
151
  systemCode: string;
151
152
  }[] | null | undefined;
152
- unit?: string | null | undefined;
153
153
  perXUnit?: string | number | null | undefined;
154
154
  name2?: string | null | undefined;
155
155
  takeawayPrice?: {
@@ -206,12 +206,12 @@ export declare const FdoOrderItemProduct: z.ZodObject<{
206
206
  precision: number;
207
207
  } | null | undefined;
208
208
  categoryName?: string | null | undefined;
209
+ unit?: string | null | undefined;
209
210
  taxes?: {
210
211
  inclusive?: boolean | null | undefined;
211
212
  taxCode: string;
212
213
  systemCode: string;
213
214
  }[] | null | undefined;
214
- unit?: string | null | undefined;
215
215
  perXUnit?: string | number | null | undefined;
216
216
  name2?: string | null | undefined;
217
217
  takeawayPrice?: {
@@ -466,12 +466,12 @@ export declare const FdoOrderItem: z.ZodObject<{
466
466
  precision: number;
467
467
  } | null | undefined;
468
468
  categoryName?: string | null | undefined;
469
+ unit?: string | null | undefined;
469
470
  taxes?: {
470
471
  inclusive?: boolean | null | undefined;
471
472
  taxCode: string;
472
473
  systemCode: string;
473
474
  }[] | null | undefined;
474
- unit?: string | null | undefined;
475
475
  perXUnit?: string | number | null | undefined;
476
476
  name2?: string | null | undefined;
477
477
  takeawayPrice?: {
@@ -528,12 +528,12 @@ export declare const FdoOrderItem: z.ZodObject<{
528
528
  precision: number;
529
529
  } | null | undefined;
530
530
  categoryName?: string | null | undefined;
531
+ unit?: string | null | undefined;
531
532
  taxes?: {
532
533
  inclusive?: boolean | null | undefined;
533
534
  taxCode: string;
534
535
  systemCode: string;
535
536
  }[] | null | undefined;
536
- unit?: string | null | undefined;
537
537
  perXUnit?: string | number | null | undefined;
538
538
  name2?: string | null | undefined;
539
539
  takeawayPrice?: {
@@ -946,12 +946,12 @@ export declare const FdoOrderItem: z.ZodObject<{
946
946
  precision: number;
947
947
  } | null | undefined;
948
948
  categoryName?: string | null | undefined;
949
+ unit?: string | null | undefined;
949
950
  taxes?: {
950
951
  inclusive?: boolean | null | undefined;
951
952
  taxCode: string;
952
953
  systemCode: string;
953
954
  }[] | null | undefined;
954
- unit?: string | null | undefined;
955
955
  perXUnit?: string | number | null | undefined;
956
956
  name2?: string | null | undefined;
957
957
  takeawayPrice?: {
@@ -1097,12 +1097,12 @@ export declare const FdoOrderItem: z.ZodObject<{
1097
1097
  precision: number;
1098
1098
  } | null | undefined;
1099
1099
  categoryName?: string | null | undefined;
1100
+ unit?: string | null | undefined;
1100
1101
  taxes?: {
1101
1102
  inclusive?: boolean | null | undefined;
1102
1103
  taxCode: string;
1103
1104
  systemCode: string;
1104
1105
  }[] | null | undefined;
1105
- unit?: string | null | undefined;
1106
1106
  perXUnit?: string | number | null | undefined;
1107
1107
  name2?: string | null | undefined;
1108
1108
  takeawayPrice?: {
@@ -1246,7 +1246,7 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
1246
1246
  }>;
1247
1247
  }>>>;
1248
1248
  sub: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
1249
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
1249
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
1250
1250
  }, {
1251
1251
  type: z.ZodLiteral<"QR">;
1252
1252
  session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1260,7 +1260,7 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
1260
1260
  slot: string;
1261
1261
  type: "QR";
1262
1262
  }> | z.ZodObject<z.extendShape<{
1263
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
1263
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
1264
1264
  }, {
1265
1265
  type: z.ZodLiteral<"QUEUE">;
1266
1266
  queueId: z.ZodEffects<z.ZodString, string, string>;
@@ -1274,7 +1274,21 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
1274
1274
  type: "QUEUE";
1275
1275
  queueId: string;
1276
1276
  }> | z.ZodObject<z.extendShape<{
1277
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
1277
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
1278
+ }, {
1279
+ type: z.ZodLiteral<"RESERVATION">;
1280
+ reservationId: z.ZodEffects<z.ZodString, string, string>;
1281
+ slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1282
+ }>, "strip", z.ZodTypeAny, {
1283
+ slot?: string | null | undefined;
1284
+ type: "RESERVATION";
1285
+ reservationId: string;
1286
+ }, {
1287
+ slot?: string | null | undefined;
1288
+ type: "RESERVATION";
1289
+ reservationId: string;
1290
+ }> | z.ZodObject<z.extendShape<{
1291
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
1278
1292
  }, {
1279
1293
  type: z.ZodLiteral<"TAKEAWAY">;
1280
1294
  slot: z.ZodString;
@@ -1304,6 +1318,10 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
1304
1318
  slot?: string | null | undefined;
1305
1319
  type: "QUEUE";
1306
1320
  queueId: string;
1321
+ } | {
1322
+ slot?: string | null | undefined;
1323
+ type: "RESERVATION";
1324
+ reservationId: string;
1307
1325
  } | {
1308
1326
  seqNumber?: string | null | undefined;
1309
1327
  slot: string;
@@ -1326,6 +1344,10 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
1326
1344
  slot?: string | null | undefined;
1327
1345
  type: "QUEUE";
1328
1346
  queueId: string;
1347
+ } | {
1348
+ slot?: string | null | undefined;
1349
+ type: "RESERVATION";
1350
+ reservationId: string;
1329
1351
  } | {
1330
1352
  seqNumber?: string | null | undefined;
1331
1353
  slot: string;
@@ -2668,7 +2690,7 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
2668
2690
  }>;
2669
2691
  }>>>;
2670
2692
  sub: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
2671
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
2693
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
2672
2694
  }, {
2673
2695
  type: z.ZodLiteral<"QR">;
2674
2696
  session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2682,7 +2704,7 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
2682
2704
  slot: string;
2683
2705
  type: "QR";
2684
2706
  }> | z.ZodObject<z.extendShape<{
2685
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
2707
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
2686
2708
  }, {
2687
2709
  type: z.ZodLiteral<"QUEUE">;
2688
2710
  queueId: z.ZodEffects<z.ZodString, string, string>;
@@ -2696,7 +2718,21 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
2696
2718
  type: "QUEUE";
2697
2719
  queueId: string;
2698
2720
  }> | z.ZodObject<z.extendShape<{
2699
- type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
2721
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
2722
+ }, {
2723
+ type: z.ZodLiteral<"RESERVATION">;
2724
+ reservationId: z.ZodEffects<z.ZodString, string, string>;
2725
+ slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2726
+ }>, "strip", z.ZodTypeAny, {
2727
+ slot?: string | null | undefined;
2728
+ type: "RESERVATION";
2729
+ reservationId: string;
2730
+ }, {
2731
+ slot?: string | null | undefined;
2732
+ type: "RESERVATION";
2733
+ reservationId: string;
2734
+ }> | z.ZodObject<z.extendShape<{
2735
+ type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
2700
2736
  }, {
2701
2737
  type: z.ZodLiteral<"TAKEAWAY">;
2702
2738
  slot: z.ZodString;
@@ -2726,6 +2762,10 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
2726
2762
  slot?: string | null | undefined;
2727
2763
  type: "QUEUE";
2728
2764
  queueId: string;
2765
+ } | {
2766
+ slot?: string | null | undefined;
2767
+ type: "RESERVATION";
2768
+ reservationId: string;
2729
2769
  } | {
2730
2770
  seqNumber?: string | null | undefined;
2731
2771
  slot: string;
@@ -2748,6 +2788,10 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
2748
2788
  slot?: string | null | undefined;
2749
2789
  type: "QUEUE";
2750
2790
  queueId: string;
2791
+ } | {
2792
+ slot?: string | null | undefined;
2793
+ type: "RESERVATION";
2794
+ reservationId: string;
2751
2795
  } | {
2752
2796
  seqNumber?: string | null | undefined;
2753
2797
  slot: string;
@@ -7637,6 +7681,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
7637
7681
  ignoreStock: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
7638
7682
  disableItemRemark: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
7639
7683
  acceptQueue: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
7684
+ acceptReservation: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
7640
7685
  }, "strip", z.ZodTypeAny, {
7641
7686
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
7642
7687
  offlinePaymentTypes?: {
@@ -7647,6 +7692,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
7647
7692
  staticQr?: boolean | null | undefined;
7648
7693
  disableItemRemark?: boolean | null | undefined;
7649
7694
  acceptQueue?: boolean | null | undefined;
7695
+ acceptReservation?: boolean | null | undefined;
7650
7696
  anonymousOrder: boolean;
7651
7697
  }, {
7652
7698
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
@@ -7658,6 +7704,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
7658
7704
  staticQr?: boolean | null | undefined;
7659
7705
  disableItemRemark?: boolean | null | undefined;
7660
7706
  acceptQueue?: boolean | null | undefined;
7707
+ acceptReservation?: boolean | null | undefined;
7661
7708
  anonymousOrder: boolean;
7662
7709
  }>>>;
7663
7710
  takeaway: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -7873,6 +7920,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
7873
7920
  staticQr?: boolean | null | undefined;
7874
7921
  disableItemRemark?: boolean | null | undefined;
7875
7922
  acceptQueue?: boolean | null | undefined;
7923
+ acceptReservation?: boolean | null | undefined;
7876
7924
  anonymousOrder: boolean;
7877
7925
  } | null | undefined;
7878
7926
  driveThru?: {
@@ -8217,6 +8265,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
8217
8265
  staticQr?: boolean | null | undefined;
8218
8266
  disableItemRemark?: boolean | null | undefined;
8219
8267
  acceptQueue?: boolean | null | undefined;
8268
+ acceptReservation?: boolean | null | undefined;
8220
8269
  anonymousOrder: boolean;
8221
8270
  } | null | undefined;
8222
8271
  driveThru?: {
@@ -8648,6 +8697,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
8648
8697
  staticQr?: boolean | null | undefined;
8649
8698
  disableItemRemark?: boolean | null | undefined;
8650
8699
  acceptQueue?: boolean | null | undefined;
8700
+ acceptReservation?: boolean | null | undefined;
8651
8701
  anonymousOrder: boolean;
8652
8702
  } | null | undefined;
8653
8703
  driveThru?: {
@@ -9221,6 +9271,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
9221
9271
  staticQr?: boolean | null | undefined;
9222
9272
  disableItemRemark?: boolean | null | undefined;
9223
9273
  acceptQueue?: boolean | null | undefined;
9274
+ acceptReservation?: boolean | null | undefined;
9224
9275
  anonymousOrder: boolean;
9225
9276
  } | null | undefined;
9226
9277
  driveThru?: {
@@ -9885,6 +9936,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
9885
9936
  staticQr?: boolean | null | undefined;
9886
9937
  disableItemRemark?: boolean | null | undefined;
9887
9938
  acceptQueue?: boolean | null | undefined;
9939
+ acceptReservation?: boolean | null | undefined;
9888
9940
  anonymousOrder: boolean;
9889
9941
  } | null | undefined;
9890
9942
  driveThru?: {
@@ -10550,6 +10602,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
10550
10602
  staticQr?: boolean | null | undefined;
10551
10603
  disableItemRemark?: boolean | null | undefined;
10552
10604
  acceptQueue?: boolean | null | undefined;
10605
+ acceptReservation?: boolean | null | undefined;
10553
10606
  anonymousOrder: boolean;
10554
10607
  } | null | undefined;
10555
10608
  driveThru?: {
@@ -11510,6 +11563,26 @@ export declare const FdoOrderMetadata: z.ZodObject<{
11510
11563
  appBuild?: string | null | undefined;
11511
11564
  orderPlatform: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP";
11512
11565
  }>;
11566
+ export declare const FdoOrderFoodCourt: z.ZodObject<{
11567
+ /** The court order this sub-order belongs to (`FoodCourtOrdersV2`). */
11568
+ orderId: z.ZodEffects<z.ZodString, string, string>;
11569
+ /** The food court itself (`FoodCourtsV2`), so a POS can name the court without a second read. */
11570
+ foodCourtId: z.ZodEffects<z.ZodString, string, string>;
11571
+ /** This stall's unit number, snapshot at order time. */
11572
+ unitNo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11573
+ /** This stall's customer-facing name, snapshot at order time. */
11574
+ displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11575
+ }, "strip", z.ZodTypeAny, {
11576
+ unitNo?: string | null | undefined;
11577
+ displayName?: string | null | undefined;
11578
+ orderId: string;
11579
+ foodCourtId: string;
11580
+ }, {
11581
+ unitNo?: string | null | undefined;
11582
+ displayName?: string | null | undefined;
11583
+ orderId: string;
11584
+ foodCourtId: string;
11585
+ }>;
11513
11586
  /**
11514
11587
  * How long a seat lock survives WITHOUT A HEARTBEAT before another attempt may steal it.
11515
11588
  *
@@ -11597,8 +11670,10 @@ export type FdoOrder = {
11597
11670
  bill?: FdoBill | null | undefined;
11598
11671
  rejectReason?: string | null | undefined;
11599
11672
  orderMetadata?: FdoOrderMetadata | null | undefined;
11673
+ foodCourt?: FdoOrderFoodCourt | null | undefined;
11600
11674
  seatLock?: FdoOrderSeatLock | null | undefined;
11601
11675
  };
11602
11676
  export type FdoOrderSeatLock = z.infer<typeof FdoOrderSeatLock>;
11603
11677
  export type FdoOrderMetadata = z.infer<typeof FdoOrderMetadata>;
11678
+ export type FdoOrderFoodCourt = z.infer<typeof FdoOrderFoodCourt>;
11604
11679
  export {};