@feedmepos/mf-order-setting 0.0.24 → 0.0.26

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 (55) hide show
  1. package/dist/{KioskDevicesView-DGkvW2mH.js → KioskDevicesView-BiF6v7Zj.js} +1 -1
  2. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BGZLd8T_.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-1r_DBAc-.js} +3 -3
  3. package/dist/{KioskSettingView-DLb5nnCu.js → KioskSettingView-COhGcRtP.js} +1 -1
  4. package/dist/{KioskView-kZZYSfUh.js → KioskView-C1T-n1MY.js} +38 -28
  5. package/dist/{OrderSettingsView-Cil4j9G5.js → OrderSettingsView-CI5bdVXr.js} +6297 -6251
  6. package/dist/{app-D47VRl5B.js → app-BfWp4ow3.js} +38 -26
  7. package/dist/app.js +1 -1
  8. package/dist/{dayjs.min-R4180ukF.js → dayjs.min-BHDLv42p.js} +36 -36
  9. package/dist/frontend/mf-order/src/app.d.ts +12 -0
  10. package/dist/frontend/mf-order/src/main.d.ts +797 -0
  11. package/dist/frontend/mf-order/src/stores/iframe/index.d.ts +6 -6
  12. package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +8 -260
  13. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +17 -722
  14. package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +449 -2369
  15. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  16. package/dist/{index-DgLlDwJK.js → index-B5kfsi9C.js} +2 -2
  17. package/dist/package/entity/delivery/delivery.dto.d.ts +11 -6
  18. package/dist/package/entity/food-court/food-court.dto.d.ts +1 -1
  19. package/dist/package/entity/food-court/order.dto.d.ts +727 -378
  20. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +6 -6
  21. package/dist/package/entity/incoming-order/incoming-order.do.d.ts +8 -8
  22. package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +16 -16
  23. package/dist/package/entity/index.d.ts +1 -0
  24. package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1337 -656
  25. package/dist/package/entity/order/order.dto.d.ts +4942 -2401
  26. package/dist/package/entity/order/order.enum.d.ts +1 -1
  27. package/dist/package/entity/order/payment/payment.dto.d.ts +2899 -1419
  28. package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +9 -21
  29. package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +19 -51
  30. package/dist/package/entity/order-setting/order-setting.do.d.ts +8 -0
  31. package/dist/package/entity/order-setting/order-setting.dto.d.ts +16 -0
  32. package/dist/package/entity/order-setting/v3/v3.do.d.ts +3 -0
  33. package/dist/package/entity/order-setting/v3/v3.dto.d.ts +3 -0
  34. package/dist/package/entity/order-setting/v3/v3.enum.d.ts +3 -0
  35. package/dist/package/entity/payment/payment.dto.d.ts +3 -3
  36. package/dist/package/entity/restaurant/restaurant.dto.d.ts +19 -11
  37. package/dist/{queue.do-CNMuossU.js → queue.do-y-ubeoKZ.js} +17139 -16655
  38. package/package.json +3 -3
  39. package/src/Entry.vue +3 -3
  40. package/src/locales/en-US.json +6 -0
  41. package/src/locales/th-TH.json +257 -0
  42. package/src/locales/zh-CN.json +6 -0
  43. package/src/main.ts +9 -1
  44. package/src/stores/iframe/index.ts +1 -1
  45. package/src/stores/kiosk/index.ts +1 -1
  46. package/src/stores/order-setting/index.ts +1 -1
  47. package/src/stores/order-setting/mapper.ts +12 -2
  48. package/src/stores/restaurant/index.ts +92 -84
  49. package/src/views/order-settings/delivery/DeliverySetting.vue +11 -11
  50. package/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue +39 -35
  51. package/src/views/order-settings/dine-in/DineInSetting.vue +158 -24
  52. package/src/views/order-settings/general/GeneralSetting.vue +29 -33
  53. package/src/views/order-settings/pickup/PickUpSetting.vue +4 -2
  54. package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +23 -12
  55. package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +20 -8
@@ -418,10 +418,10 @@ export type FdoExternalOrderSubItem = {
418
418
  variantSelected?: FdoExternalVariantSelected | null | undefined;
419
419
  subItems: FdoExternalOrderSubItem[];
420
420
  };
421
- export declare const FdoExternalOrderSubItem: z.AnyZodObject;
421
+ export declare const FdoExternalOrderSubItem: z.ZodType<FdoExternalOrderSubItem>;
422
422
  export declare const FdoExternalOrderItem: z.ZodObject<{
423
423
  productId: z.ZodString;
424
- subItems: z.ZodArray<z.AnyZodObject, "many">;
424
+ subItems: z.ZodArray<z.ZodType<FdoExternalOrderSubItem, z.ZodTypeDef, FdoExternalOrderSubItem>, "many">;
425
425
  quantity: z.ZodNumber;
426
426
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
427
427
  variantSelected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -538,9 +538,7 @@ export declare const FdoExternalOrderItem: z.ZodObject<{
538
538
  precision: number;
539
539
  };
540
540
  productId: string;
541
- subItems: {
542
- [x: string]: any;
543
- }[];
541
+ subItems: FdoExternalOrderSubItem[];
544
542
  discounts: {
545
543
  reference?: string | null | undefined;
546
544
  name: string;
@@ -575,9 +573,7 @@ export declare const FdoExternalOrderItem: z.ZodObject<{
575
573
  precision: number;
576
574
  };
577
575
  productId: string;
578
- subItems: {
579
- [x: string]: any;
580
- }[];
576
+ subItems: FdoExternalOrderSubItem[];
581
577
  discounts: {
582
578
  reference?: string | null | undefined;
583
579
  name: string;
@@ -824,7 +820,7 @@ export declare const FdoExternalOrder: z.ZodObject<{
824
820
  }>, "many">;
825
821
  items: z.ZodArray<z.ZodObject<{
826
822
  productId: z.ZodString;
827
- subItems: z.ZodArray<z.AnyZodObject, "many">;
823
+ subItems: z.ZodArray<z.ZodType<FdoExternalOrderSubItem, z.ZodTypeDef, FdoExternalOrderSubItem>, "many">;
828
824
  quantity: z.ZodNumber;
829
825
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
830
826
  variantSelected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -941,9 +937,7 @@ export declare const FdoExternalOrder: z.ZodObject<{
941
937
  precision: number;
942
938
  };
943
939
  productId: string;
944
- subItems: {
945
- [x: string]: any;
946
- }[];
940
+ subItems: FdoExternalOrderSubItem[];
947
941
  discounts: {
948
942
  reference?: string | null | undefined;
949
943
  name: string;
@@ -978,9 +972,7 @@ export declare const FdoExternalOrder: z.ZodObject<{
978
972
  precision: number;
979
973
  };
980
974
  productId: string;
981
- subItems: {
982
- [x: string]: any;
983
- }[];
975
+ subItems: FdoExternalOrderSubItem[];
984
976
  discounts: {
985
977
  reference?: string | null | undefined;
986
978
  name: string;
@@ -1193,9 +1185,7 @@ export declare const FdoExternalOrder: z.ZodObject<{
1193
1185
  precision: number;
1194
1186
  };
1195
1187
  productId: string;
1196
- subItems: {
1197
- [x: string]: any;
1198
- }[];
1188
+ subItems: FdoExternalOrderSubItem[];
1199
1189
  discounts: {
1200
1190
  reference?: string | null | undefined;
1201
1191
  name: string;
@@ -1321,9 +1311,7 @@ export declare const FdoExternalOrder: z.ZodObject<{
1321
1311
  precision: number;
1322
1312
  };
1323
1313
  productId: string;
1324
- subItems: {
1325
- [x: string]: any;
1326
- }[];
1314
+ subItems: FdoExternalOrderSubItem[];
1327
1315
  discounts: {
1328
1316
  reference?: string | null | undefined;
1329
1317
  name: string;
@@ -220,7 +220,7 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
220
220
  }>, "many">;
221
221
  items: z.ZodArray<z.ZodObject<{
222
222
  productId: z.ZodString;
223
- subItems: z.ZodArray<z.AnyZodObject, "many">;
223
+ subItems: z.ZodArray<z.ZodType<import("./external-order.do").FdoExternalOrderSubItem, z.ZodTypeDef, import("./external-order.do").FdoExternalOrderSubItem>, "many">;
224
224
  quantity: z.ZodNumber;
225
225
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
226
226
  variantSelected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -337,9 +337,7 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
337
337
  precision: number;
338
338
  };
339
339
  productId: string;
340
- subItems: {
341
- [x: string]: any;
342
- }[];
340
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
343
341
  discounts: {
344
342
  reference?: string | null | undefined;
345
343
  name: string;
@@ -374,9 +372,7 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
374
372
  precision: number;
375
373
  };
376
374
  productId: string;
377
- subItems: {
378
- [x: string]: any;
379
- }[];
375
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
380
376
  discounts: {
381
377
  reference?: string | null | undefined;
382
378
  name: string;
@@ -582,9 +578,7 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
582
578
  precision: number;
583
579
  };
584
580
  productId: string;
585
- subItems: {
586
- [x: string]: any;
587
- }[];
581
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
588
582
  discounts: {
589
583
  reference?: string | null | undefined;
590
584
  name: string;
@@ -703,9 +697,7 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
703
697
  precision: number;
704
698
  };
705
699
  productId: string;
706
- subItems: {
707
- [x: string]: any;
708
- }[];
700
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
709
701
  discounts: {
710
702
  reference?: string | null | undefined;
711
703
  name: string;
@@ -995,7 +987,7 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
995
987
  }>>>>;
996
988
  items: z.ZodOptional<z.ZodArray<z.ZodObject<{
997
989
  productId: z.ZodString;
998
- subItems: z.ZodArray<z.AnyZodObject, "many">;
990
+ subItems: z.ZodArray<z.ZodType<import("./external-order.do").FdoExternalOrderSubItem, z.ZodTypeDef, import("./external-order.do").FdoExternalOrderSubItem>, "many">;
999
991
  quantity: z.ZodNumber;
1000
992
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1001
993
  variantSelected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -1112,9 +1104,7 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1112
1104
  precision: number;
1113
1105
  };
1114
1106
  productId: string;
1115
- subItems: {
1116
- [x: string]: any;
1117
- }[];
1107
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
1118
1108
  discounts: {
1119
1109
  reference?: string | null | undefined;
1120
1110
  name: string;
@@ -1149,9 +1139,7 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1149
1139
  precision: number;
1150
1140
  };
1151
1141
  productId: string;
1152
- subItems: {
1153
- [x: string]: any;
1154
- }[];
1142
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
1155
1143
  discounts: {
1156
1144
  reference?: string | null | undefined;
1157
1145
  name: string;
@@ -1325,9 +1313,7 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1325
1313
  precision: number;
1326
1314
  };
1327
1315
  productId: string;
1328
- subItems: {
1329
- [x: string]: any;
1330
- }[];
1316
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
1331
1317
  discounts: {
1332
1318
  reference?: string | null | undefined;
1333
1319
  name: string;
@@ -1446,9 +1432,7 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1446
1432
  precision: number;
1447
1433
  };
1448
1434
  productId: string;
1449
- subItems: {
1450
- [x: string]: any;
1451
- }[];
1435
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
1452
1436
  discounts: {
1453
1437
  reference?: string | null | undefined;
1454
1438
  name: string;
@@ -1570,9 +1554,7 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1570
1554
  precision: number;
1571
1555
  };
1572
1556
  productId: string;
1573
- subItems: {
1574
- [x: string]: any;
1575
- }[];
1557
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
1576
1558
  discounts: {
1577
1559
  reference?: string | null | undefined;
1578
1560
  name: string;
@@ -1694,9 +1676,7 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
1694
1676
  precision: number;
1695
1677
  };
1696
1678
  productId: string;
1697
- subItems: {
1698
- [x: string]: any;
1699
- }[];
1679
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
1700
1680
  discounts: {
1701
1681
  reference?: string | null | undefined;
1702
1682
  name: string;
@@ -2021,7 +2001,7 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2021
2001
  }>, "many">;
2022
2002
  items: z.ZodArray<z.ZodObject<{
2023
2003
  productId: z.ZodString;
2024
- subItems: z.ZodArray<z.AnyZodObject, "many">;
2004
+ subItems: z.ZodArray<z.ZodType<import("./external-order.do").FdoExternalOrderSubItem, z.ZodTypeDef, import("./external-order.do").FdoExternalOrderSubItem>, "many">;
2025
2005
  quantity: z.ZodNumber;
2026
2006
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2027
2007
  variantSelected: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -2138,9 +2118,7 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2138
2118
  precision: number;
2139
2119
  };
2140
2120
  productId: string;
2141
- subItems: {
2142
- [x: string]: any;
2143
- }[];
2121
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
2144
2122
  discounts: {
2145
2123
  reference?: string | null | undefined;
2146
2124
  name: string;
@@ -2175,9 +2153,7 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2175
2153
  precision: number;
2176
2154
  };
2177
2155
  productId: string;
2178
- subItems: {
2179
- [x: string]: any;
2180
- }[];
2156
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
2181
2157
  discounts: {
2182
2158
  reference?: string | null | undefined;
2183
2159
  name: string;
@@ -2390,9 +2366,7 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2390
2366
  precision: number;
2391
2367
  };
2392
2368
  productId: string;
2393
- subItems: {
2394
- [x: string]: any;
2395
- }[];
2369
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
2396
2370
  discounts: {
2397
2371
  reference?: string | null | undefined;
2398
2372
  name: string;
@@ -2518,9 +2492,7 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2518
2492
  precision: number;
2519
2493
  };
2520
2494
  productId: string;
2521
- subItems: {
2522
- [x: string]: any;
2523
- }[];
2495
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
2524
2496
  discounts: {
2525
2497
  reference?: string | null | undefined;
2526
2498
  name: string;
@@ -2649,9 +2621,7 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2649
2621
  precision: number;
2650
2622
  };
2651
2623
  productId: string;
2652
- subItems: {
2653
- [x: string]: any;
2654
- }[];
2624
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
2655
2625
  discounts: {
2656
2626
  reference?: string | null | undefined;
2657
2627
  name: string;
@@ -2780,9 +2750,7 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
2780
2750
  precision: number;
2781
2751
  };
2782
2752
  productId: string;
2783
- subItems: {
2784
- [x: string]: any;
2785
- }[];
2753
+ subItems: import("./external-order.do").FdoExternalOrderSubItem[];
2786
2754
  discounts: {
2787
2755
  reference?: string | null | undefined;
2788
2756
  name: string;
@@ -6,11 +6,14 @@ export declare const FdoOrderSettings: z.ZodObject<{
6
6
  v3Settings: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7
7
  dineInCanTakeaway: z.ZodBoolean;
8
8
  anonymousLoginDialog: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
9
+ subItemDisplayMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["LIST"]>>>;
9
10
  }, "strip", z.ZodTypeAny, {
10
11
  anonymousLoginDialog?: boolean | null | undefined;
12
+ subItemDisplayMode?: "LIST" | null | undefined;
11
13
  dineInCanTakeaway: boolean;
12
14
  }, {
13
15
  anonymousLoginDialog?: boolean | null | undefined;
16
+ subItemDisplayMode?: "LIST" | null | undefined;
14
17
  dineInCanTakeaway: boolean;
15
18
  }>>>;
16
19
  upsellingSettings: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -944,6 +947,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
944
947
  buttonPrimaryChip: string;
945
948
  } | null | undefined;
946
949
  }>>>;
950
+ lastOrderMinutesBeforeClose: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
947
951
  }, "strip", z.ZodTypeAny, {
948
952
  customization?: {
949
953
  colorScheme?: {
@@ -1032,6 +1036,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
1032
1036
  autoSendKitchen?: boolean | null | undefined;
1033
1037
  v3Settings?: {
1034
1038
  anonymousLoginDialog?: boolean | null | undefined;
1039
+ subItemDisplayMode?: "LIST" | null | undefined;
1035
1040
  dineInCanTakeaway: boolean;
1036
1041
  } | null | undefined;
1037
1042
  reservationSettings?: {
@@ -1096,6 +1101,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
1096
1101
  enable: boolean;
1097
1102
  action: "ACCEPT" | "SERVE";
1098
1103
  }[] | null | undefined;
1104
+ lastOrderMinutesBeforeClose?: number | null | undefined;
1099
1105
  _id: string;
1100
1106
  }, {
1101
1107
  customization?: {
@@ -1185,6 +1191,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
1185
1191
  autoSendKitchen?: boolean | null | undefined;
1186
1192
  v3Settings?: {
1187
1193
  anonymousLoginDialog?: boolean | null | undefined;
1194
+ subItemDisplayMode?: "LIST" | null | undefined;
1188
1195
  dineInCanTakeaway: boolean;
1189
1196
  } | null | undefined;
1190
1197
  reservationSettings?: {
@@ -1247,6 +1254,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
1247
1254
  enable: boolean;
1248
1255
  action: "ACCEPT" | "SERVE";
1249
1256
  }[] | null | undefined;
1257
+ lastOrderMinutesBeforeClose?: number | null | undefined;
1250
1258
  _id: string;
1251
1259
  }>;
1252
1260
  export type FdoOrderSettings = z.infer<typeof FdoOrderSettings>;
@@ -6,11 +6,14 @@ export declare const OrderSettingsDto: z.ZodObject<{
6
6
  v3Settings: z.ZodDefault<z.ZodObject<{
7
7
  dineInCanTakeaway: z.ZodBoolean;
8
8
  anonymousLoginDialog: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
9
+ subItemDisplayMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["LIST"]>>>;
9
10
  }, "strip", z.ZodTypeAny, {
10
11
  anonymousLoginDialog?: boolean | null | undefined;
12
+ subItemDisplayMode?: "LIST" | null | undefined;
11
13
  dineInCanTakeaway: boolean;
12
14
  }, {
13
15
  anonymousLoginDialog?: boolean | null | undefined;
16
+ subItemDisplayMode?: "LIST" | null | undefined;
14
17
  dineInCanTakeaway: boolean;
15
18
  }>>;
16
19
  upsellingSettings: z.ZodDefault<z.ZodObject<{
@@ -1106,6 +1109,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
1106
1109
  buttonPrimaryChip: string;
1107
1110
  } | null | undefined;
1108
1111
  }>>>;
1112
+ lastOrderMinutesBeforeClose: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1109
1113
  }, "strip", z.ZodTypeAny, {
1110
1114
  customization?: {
1111
1115
  colorScheme?: {
@@ -1216,6 +1220,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
1216
1220
  enable: boolean;
1217
1221
  action: "ACCEPT" | "SERVE";
1218
1222
  }[] | null | undefined;
1223
+ lastOrderMinutesBeforeClose?: number | null | undefined;
1219
1224
  _id: string;
1220
1225
  upsellingSettings: {
1221
1226
  recommandation: boolean;
@@ -1279,6 +1284,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
1279
1284
  enableV3: boolean;
1280
1285
  v3Settings: {
1281
1286
  anonymousLoginDialog?: boolean | null | undefined;
1287
+ subItemDisplayMode?: "LIST" | null | undefined;
1282
1288
  dineInCanTakeaway: boolean;
1283
1289
  };
1284
1290
  }, {
@@ -1370,6 +1376,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
1370
1376
  autoSendKitchen?: boolean | null | undefined;
1371
1377
  v3Settings?: {
1372
1378
  anonymousLoginDialog?: boolean | null | undefined;
1379
+ subItemDisplayMode?: "LIST" | null | undefined;
1373
1380
  dineInCanTakeaway: boolean;
1374
1381
  } | undefined;
1375
1382
  reservationSettings?: {
@@ -1454,6 +1461,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
1454
1461
  enable: boolean;
1455
1462
  action: "ACCEPT" | "SERVE";
1456
1463
  }[] | null | undefined;
1464
+ lastOrderMinutesBeforeClose?: number | null | undefined;
1457
1465
  _id: string;
1458
1466
  }>;
1459
1467
  export type OrderSettingsDto = z.infer<typeof OrderSettingsDto>;
@@ -1464,11 +1472,14 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
1464
1472
  v3Settings: z.ZodDefault<z.ZodObject<{
1465
1473
  dineInCanTakeaway: z.ZodBoolean;
1466
1474
  anonymousLoginDialog: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1475
+ subItemDisplayMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["LIST"]>>>;
1467
1476
  }, "strip", z.ZodTypeAny, {
1468
1477
  anonymousLoginDialog?: boolean | null | undefined;
1478
+ subItemDisplayMode?: "LIST" | null | undefined;
1469
1479
  dineInCanTakeaway: boolean;
1470
1480
  }, {
1471
1481
  anonymousLoginDialog?: boolean | null | undefined;
1482
+ subItemDisplayMode?: "LIST" | null | undefined;
1472
1483
  dineInCanTakeaway: boolean;
1473
1484
  }>>;
1474
1485
  upsellingSettings: z.ZodDefault<z.ZodObject<{
@@ -2564,6 +2575,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
2564
2575
  buttonPrimaryChip: string;
2565
2576
  } | null | undefined;
2566
2577
  }>>>;
2578
+ lastOrderMinutesBeforeClose: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2567
2579
  }, "_id">, "strip", z.ZodTypeAny, {
2568
2580
  customization?: {
2569
2581
  colorScheme?: {
@@ -2674,6 +2686,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
2674
2686
  enable: boolean;
2675
2687
  action: "ACCEPT" | "SERVE";
2676
2688
  }[] | null | undefined;
2689
+ lastOrderMinutesBeforeClose?: number | null | undefined;
2677
2690
  upsellingSettings: {
2678
2691
  recommandation: boolean;
2679
2692
  item: boolean;
@@ -2736,6 +2749,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
2736
2749
  enableV3: boolean;
2737
2750
  v3Settings: {
2738
2751
  anonymousLoginDialog?: boolean | null | undefined;
2752
+ subItemDisplayMode?: "LIST" | null | undefined;
2739
2753
  dineInCanTakeaway: boolean;
2740
2754
  };
2741
2755
  }, {
@@ -2827,6 +2841,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
2827
2841
  autoSendKitchen?: boolean | null | undefined;
2828
2842
  v3Settings?: {
2829
2843
  anonymousLoginDialog?: boolean | null | undefined;
2844
+ subItemDisplayMode?: "LIST" | null | undefined;
2830
2845
  dineInCanTakeaway: boolean;
2831
2846
  } | undefined;
2832
2847
  reservationSettings?: {
@@ -2911,5 +2926,6 @@ export declare const OrderSettingUpdateDto: z.ZodObject<Omit<{
2911
2926
  enable: boolean;
2912
2927
  action: "ACCEPT" | "SERVE";
2913
2928
  }[] | null | undefined;
2929
+ lastOrderMinutesBeforeClose?: number | null | undefined;
2914
2930
  }>;
2915
2931
  export type OrderSettingUpdateDto = z.infer<typeof OrderSettingUpdateDto>;
@@ -2,11 +2,14 @@ import { z } from 'zod';
2
2
  export declare const FdoOrderV3Settings: z.ZodObject<{
3
3
  dineInCanTakeaway: z.ZodBoolean;
4
4
  anonymousLoginDialog: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5
+ subItemDisplayMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["LIST"]>>>;
5
6
  }, "strip", z.ZodTypeAny, {
6
7
  anonymousLoginDialog?: boolean | null | undefined;
8
+ subItemDisplayMode?: "LIST" | null | undefined;
7
9
  dineInCanTakeaway: boolean;
8
10
  }, {
9
11
  anonymousLoginDialog?: boolean | null | undefined;
12
+ subItemDisplayMode?: "LIST" | null | undefined;
10
13
  dineInCanTakeaway: boolean;
11
14
  }>;
12
15
  export type FdoOrderV3Settings = z.infer<typeof FdoOrderV3Settings>;
@@ -2,11 +2,14 @@ import { z } from 'zod';
2
2
  export declare const OrderV3Settings: z.ZodDefault<z.ZodObject<{
3
3
  dineInCanTakeaway: z.ZodBoolean;
4
4
  anonymousLoginDialog: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5
+ subItemDisplayMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["LIST"]>>>;
5
6
  }, "strip", z.ZodTypeAny, {
6
7
  anonymousLoginDialog?: boolean | null | undefined;
8
+ subItemDisplayMode?: "LIST" | null | undefined;
7
9
  dineInCanTakeaway: boolean;
8
10
  }, {
9
11
  anonymousLoginDialog?: boolean | null | undefined;
12
+ subItemDisplayMode?: "LIST" | null | undefined;
10
13
  dineInCanTakeaway: boolean;
11
14
  }>>;
12
15
  export type OrderV3Settings = z.infer<typeof OrderV3Settings>;
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ export declare const F_ORDER_SUBITEM_DISPLAY_MODE: z.ZodEnum<["LIST"]>;
3
+ export type F_ORDER_SUBITEM_DISPLAY_MODE = z.infer<typeof F_ORDER_SUBITEM_DISPLAY_MODE>;
@@ -1,6 +1,6 @@
1
1
  import { z } from "zod";
2
2
  export declare const IdentifierDto: z.ZodObject<z.extendShape<Omit<z.extendShape<{
3
- issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT"]>;
3
+ issuer: z.ZodEnum<["ALIPAY", "BOOST", "GRABPAY", "MAYBANKQRPAY", "PRESTOPAY", "RAZERPAY", "SHOPEEPAY", "TOUCHNGO", "WECHATPAY", "CARD", "OTHER", "FEEDME", "DUITNOW", "PAYNOW", "FPX", "DEBITCARD", "CREDITCARD", "UNIONPAY", "ATOME", "VISA", "MASTER", "MYDEBIT", "MACAU_PASS"]>;
4
4
  variant: z.ZodString;
5
5
  }, {
6
6
  rate: z.ZodNullable<z.ZodOptional<z.ZodObject<{
@@ -33,7 +33,7 @@ export declare const IdentifierDto: z.ZodObject<z.extendShape<Omit<z.extendShape
33
33
  } | null | undefined;
34
34
  tPlus?: number | null | undefined;
35
35
  variant: string;
36
- issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT";
36
+ issuer: "OTHER" | "FEEDME" | "MACAU_PASS" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
37
37
  }, {
38
38
  rate?: {
39
39
  amount: number;
@@ -41,6 +41,6 @@ export declare const IdentifierDto: z.ZodObject<z.extendShape<Omit<z.extendShape
41
41
  } | null | undefined;
42
42
  tPlus?: number | null | undefined;
43
43
  variant: string;
44
- issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "PAYNOW" | "VISA" | "MASTER" | "MYDEBIT";
44
+ issuer: "OTHER" | "FEEDME" | "MACAU_PASS" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "PAYNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME" | "VISA" | "MASTER" | "MYDEBIT";
45
45
  }>;
46
46
  export type IdentifierDto = z.infer<typeof IdentifierDto>;
@@ -474,6 +474,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
474
474
  phoneNo: string;
475
475
  regNo: string;
476
476
  }>;
477
+ posHeartbeat: z.ZodNullable<z.ZodOptional<z.ZodString>>;
477
478
  paxDialog: z.ZodBoolean;
478
479
  acceptDineIn: z.ZodBoolean;
479
480
  acceptDelivery: z.ZodBoolean;
@@ -1404,11 +1405,14 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1404
1405
  v3Setting: z.ZodDefault<z.ZodDefault<z.ZodObject<{
1405
1406
  dineInCanTakeaway: z.ZodBoolean;
1406
1407
  anonymousLoginDialog: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1408
+ subItemDisplayMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<["LIST"]>>>;
1407
1409
  }, "strip", z.ZodTypeAny, {
1408
1410
  anonymousLoginDialog?: boolean | null | undefined;
1411
+ subItemDisplayMode?: "LIST" | null | undefined;
1409
1412
  dineInCanTakeaway: boolean;
1410
1413
  }, {
1411
1414
  anonymousLoginDialog?: boolean | null | undefined;
1415
+ subItemDisplayMode?: "LIST" | null | undefined;
1412
1416
  dineInCanTakeaway: boolean;
1413
1417
  }>>>;
1414
1418
  isMembershipEnabled: z.ZodBoolean;
@@ -1571,6 +1575,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1571
1575
  takeaway?: {
1572
1576
  catalogId?: string | null | undefined;
1573
1577
  } | null | undefined;
1578
+ posHeartbeat?: string | null | undefined;
1574
1579
  acceptQueue?: boolean | null | undefined;
1575
1580
  inHouseDelivery?: {
1576
1581
  taxes?: Record<string, {
@@ -1800,6 +1805,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1800
1805
  acceptPickup: boolean;
1801
1806
  v3Setting: {
1802
1807
  anonymousLoginDialog?: boolean | null | undefined;
1808
+ subItemDisplayMode?: "LIST" | null | undefined;
1803
1809
  dineInCanTakeaway: boolean;
1804
1810
  };
1805
1811
  isMembershipEnabled: boolean;
@@ -1845,6 +1851,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1845
1851
  takeaway?: {
1846
1852
  catalogId?: string | null | undefined;
1847
1853
  } | null | undefined;
1854
+ posHeartbeat?: string | null | undefined;
1848
1855
  acceptQueue?: boolean | null | undefined;
1849
1856
  inHouseDelivery?: {
1850
1857
  taxes?: Record<string, {
@@ -1966,6 +1973,7 @@ export declare const RestaurantCustomerV2Dto: z.ZodObject<{
1966
1973
  } | null | undefined;
1967
1974
  v3Setting?: {
1968
1975
  anonymousLoginDialog?: boolean | null | undefined;
1976
+ subItemDisplayMode?: "LIST" | null | undefined;
1969
1977
  dineInCanTakeaway: boolean;
1970
1978
  } | undefined;
1971
1979
  customization?: {
@@ -3865,7 +3873,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3865
3873
  paymentGateways: z.ZodArray<z.ZodDiscriminatedUnion<"paymentGateway", z.Primitive, z.ZodObject<z.extendShape<{
3866
3874
  _id: z.ZodString;
3867
3875
  _rev: z.ZodString;
3868
- paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS", "FEEDME_TERMINAL"]>;
3876
+ paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_TERMINAL", "REVENUE_MONSTER", "E_GHL", "RAZER_MERCHANT_SERVICE", "MACAU_PASS"]>;
3869
3877
  active: z.ZodBoolean;
3870
3878
  }, {
3871
3879
  paymentGateway: z.ZodLiteral<"REVENUE_MONSTER">;
@@ -3910,7 +3918,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3910
3918
  }> | z.ZodObject<z.extendShape<{
3911
3919
  _id: z.ZodString;
3912
3920
  _rev: z.ZodString;
3913
- paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS", "FEEDME_TERMINAL"]>;
3921
+ paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_TERMINAL", "REVENUE_MONSTER", "E_GHL", "RAZER_MERCHANT_SERVICE", "MACAU_PASS"]>;
3914
3922
  active: z.ZodBoolean;
3915
3923
  }, {
3916
3924
  paymentGateway: z.ZodLiteral<"RAZER_MERCHANT_SERVICE">;
@@ -3965,7 +3973,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3965
3973
  }> | z.ZodObject<z.extendShape<{
3966
3974
  _id: z.ZodString;
3967
3975
  _rev: z.ZodString;
3968
- paymentGateway: z.ZodEnum<["FEEDME", "REVENUE_MONSTER", "RAZER_MERCHANT_SERVICE", "E_GHL", "MACAU_PASS", "FEEDME_TERMINAL"]>;
3976
+ paymentGateway: z.ZodEnum<["FEEDME", "FEEDME_TERMINAL", "REVENUE_MONSTER", "E_GHL", "RAZER_MERCHANT_SERVICE", "MACAU_PASS"]>;
3969
3977
  active: z.ZodBoolean;
3970
3978
  }, {
3971
3979
  paymentGateway: z.ZodLiteral<"E_GHL">;
@@ -3974,12 +3982,12 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3974
3982
  terminalId: z.ZodString;
3975
3983
  privateKey: z.ZodString;
3976
3984
  }, "strip", z.ZodTypeAny, {
3977
- terminalId: string;
3978
3985
  merchantId: string;
3986
+ terminalId: string;
3979
3987
  privateKey: string;
3980
3988
  }, {
3981
- terminalId: string;
3982
3989
  merchantId: string;
3990
+ terminalId: string;
3983
3991
  privateKey: string;
3984
3992
  }>;
3985
3993
  }>, "strip", z.ZodTypeAny, {
@@ -3988,8 +3996,8 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3988
3996
  paymentGateway: "E_GHL";
3989
3997
  active: boolean;
3990
3998
  config: {
3991
- terminalId: string;
3992
3999
  merchantId: string;
4000
+ terminalId: string;
3993
4001
  privateKey: string;
3994
4002
  };
3995
4003
  }, {
@@ -3998,8 +4006,8 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
3998
4006
  paymentGateway: "E_GHL";
3999
4007
  active: boolean;
4000
4008
  config: {
4001
- terminalId: string;
4002
4009
  merchantId: string;
4010
+ terminalId: string;
4003
4011
  privateKey: string;
4004
4012
  };
4005
4013
  }>>, "many">;
@@ -4021,6 +4029,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4021
4029
  takeaway?: {
4022
4030
  catalogId?: string | null | undefined;
4023
4031
  } | null | undefined;
4032
+ posHeartbeat?: string | null | undefined;
4024
4033
  upsellingSettings?: {
4025
4034
  recommandation: boolean;
4026
4035
  item: boolean;
@@ -4080,7 +4089,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4080
4089
  showAllOnly: boolean;
4081
4090
  } | null | undefined;
4082
4091
  } | null | undefined;
4083
- posHeartbeat?: string | null | undefined;
4084
4092
  _id: string;
4085
4093
  businessId: string;
4086
4094
  profile: {
@@ -4192,8 +4200,8 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4192
4200
  paymentGateway: "E_GHL";
4193
4201
  active: boolean;
4194
4202
  config: {
4195
- terminalId: string;
4196
4203
  merchantId: string;
4204
+ terminalId: string;
4197
4205
  privateKey: string;
4198
4206
  };
4199
4207
  })[];
@@ -4214,6 +4222,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4214
4222
  takeaway?: {
4215
4223
  catalogId?: string | null | undefined;
4216
4224
  } | null | undefined;
4225
+ posHeartbeat?: string | null | undefined;
4217
4226
  upsellingSettings?: {
4218
4227
  recommandation: boolean;
4219
4228
  item: boolean;
@@ -4273,7 +4282,6 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4273
4282
  showAllOnly: boolean;
4274
4283
  } | null | undefined;
4275
4284
  } | null | undefined;
4276
- posHeartbeat?: string | null | undefined;
4277
4285
  _id: string;
4278
4286
  businessId: string;
4279
4287
  profile: {
@@ -4385,8 +4393,8 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4385
4393
  paymentGateway: "E_GHL";
4386
4394
  active: boolean;
4387
4395
  config: {
4388
- terminalId: string;
4389
4396
  merchantId: string;
4397
+ terminalId: string;
4390
4398
  privateKey: string;
4391
4399
  };
4392
4400
  })[];