@feedmepos/mf-order-setting 0.0.88 → 0.0.89

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 (44) hide show
  1. package/dist/{DisplaySystemView-BiKFL6UY.js → DisplaySystemView-BA-5JObJ.js} +1 -1
  2. package/dist/{KioskDevicesView-DQPue13D.js → KioskDevicesView-CgdnW9N9.js} +1 -1
  3. package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-BAe1eQvx.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-C9X9ziUm.js} +3 -3
  4. package/dist/KioskSettingView-CVck01e7.js +860 -0
  5. package/dist/{KioskView-BfTNsmN1.js → KioskView-DKY2QEh5.js} +54 -48
  6. package/dist/{OrderSettingsView-CowX8_oN.js → OrderSettingsView-CEPIZmHA.js} +774 -768
  7. package/dist/{app-DgZSoUgk.js → app-C9nnuR9O.js} +206 -190
  8. package/dist/app.js +1 -1
  9. package/dist/frontend/mf-order/src/app.d.ts +16 -0
  10. package/dist/frontend/mf-order/src/main.d.ts +16 -0
  11. package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
  12. package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +6 -0
  13. package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
  14. package/dist/{index-CGJIcLNE.js → index-BaC_Douy.js} +2 -2
  15. package/dist/{index-CWm0u6lo.js → index-DGAU5Dhc.js} +1 -1
  16. package/dist/{index-DzmXxFJu.js → index-Gk7389CW.js} +1 -1
  17. package/dist/{order.dto-DQWf-RVV.js → order.dto-CfCfBJYu.js} +43 -6
  18. package/dist/package/entity/food-court/food-court.dto.d.ts +51 -121
  19. package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +10 -0
  20. package/dist/package/entity/kiosk/kiosk.do.d.ts +16 -16
  21. package/dist/package/entity/kiosk/kiosk.dto.d.ts +19 -19
  22. package/dist/package/entity/order/order-item/order-item.dto.d.ts +20 -0
  23. package/dist/package/entity/order/order.do.d.ts +19 -3
  24. package/dist/package/entity/order/order.dto.d.ts +107 -91
  25. package/dist/package/entity/order/order.enum.d.ts +1 -1
  26. package/dist/package/entity/order-setting/kiosk/kiosk.do.d.ts +3 -0
  27. package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +6 -0
  28. package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -0
  29. package/dist/package/entity/order-setting/order-setting.dto.d.ts +13 -0
  30. package/dist/package/entity/queue/queue.dto.d.ts +23 -36
  31. package/dist/package/entity/restaurant/restaurant.dto.d.ts +10 -15
  32. package/dist/package/entity/websocket/websocket.dto.d.ts +12 -0
  33. package/package.json +1 -1
  34. package/src/locales/en-US.json +4 -0
  35. package/src/locales/ja-JP.json +4 -0
  36. package/src/locales/th-TH.json +4 -0
  37. package/src/locales/zh-CN.json +4 -0
  38. package/src/modules/order-setting/kiosk/interface.ts +10 -0
  39. package/src/stores/order-setting/mapper.spec.ts +21 -0
  40. package/src/stores/order-setting/mapper.ts +8 -2
  41. package/src/views/kiosk/settings/KioskSettingView.vue +37 -0
  42. package/src/views/order-settings/delivery/delivery.spec.ts +23 -3
  43. package/src/views/order-settings/delivery/delivery.ts +4 -0
  44. package/dist/KioskSettingView-M3pBFSwt.js +0 -839
@@ -9,7 +9,7 @@ export declare const F_ORDER_DELIVERY_TYPE: z.ZodEnum<["IN_HOUSE", "FEEDME"]>;
9
9
  export declare const F_ORDER_TYPE: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
10
10
  export declare const F_INCOMING_ORDER_TYPE: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
11
11
  export declare const F_ORDER_APP_FROM: z.ZodEnum<["CUSTOMER", "KIOSK", "TABLET"]>;
12
- export declare const F_ORDER_PLATFORM_TYPE: z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>;
12
+ export declare const F_ORDER_PLATFORM_TYPE: z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>;
13
13
  export type F_ORDER_QR_TYPE = z.infer<typeof F_ORDER_QR_TYPE>;
14
14
  export type F_ORDER_DELIVERY_TYPE = z.infer<typeof F_ORDER_DELIVERY_TYPE>;
15
15
  export type F_ORDER_DINE_IN_TYPE = z.infer<typeof F_ORDER_DINE_IN_TYPE>;
@@ -460,6 +460,7 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
460
460
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
461
461
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
462
462
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
463
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
463
464
  }, "strip", z.ZodTypeAny, {
464
465
  autoCloseBill?: boolean | null | undefined;
465
466
  allowReject?: boolean | null | undefined;
@@ -529,6 +530,7 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
529
530
  } | null | undefined;
530
531
  otaChannel?: string | null | undefined;
531
532
  languages?: string[] | null | undefined;
533
+ minWeighGrams?: number | null | undefined;
532
534
  }, {
533
535
  autoCloseBill?: boolean | null | undefined;
534
536
  allowReject?: boolean | null | undefined;
@@ -598,6 +600,7 @@ export declare const FdoOrderKioskSettings: z.ZodObject<{
598
600
  } | null | undefined;
599
601
  otaChannel?: string | null | undefined;
600
602
  languages?: string[] | null | undefined;
603
+ minWeighGrams?: number | null | undefined;
601
604
  }>;
602
605
  export type FdoOrderKioskSettings = z.infer<typeof FdoOrderKioskSettings>;
603
606
  export type FdoEPaymentMethod = z.infer<typeof FdoEPaymentMethod>;
@@ -672,6 +672,7 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
672
672
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
673
673
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
674
674
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
675
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
675
676
  }, "strip", z.ZodTypeAny, {
676
677
  autoCloseBill?: boolean | null | undefined;
677
678
  allowReject?: boolean | null | undefined;
@@ -741,6 +742,7 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
741
742
  } | null | undefined;
742
743
  otaChannel?: string | null | undefined;
743
744
  languages?: string[] | null | undefined;
745
+ minWeighGrams?: number | null | undefined;
744
746
  }, {
745
747
  autoCloseBill?: boolean | null | undefined;
746
748
  allowReject?: boolean | null | undefined;
@@ -810,6 +812,7 @@ export declare const OrderKioskSettings: z.ZodDefault<z.ZodObject<{
810
812
  } | null | undefined;
811
813
  otaChannel?: string | null | undefined;
812
814
  languages?: string[] | null | undefined;
815
+ minWeighGrams?: number | null | undefined;
813
816
  }>>;
814
817
  /**
815
818
  * Update variants: the same fields, minus the `.default(...)`s that would
@@ -1441,6 +1444,7 @@ export declare const OrderKioskSettingsUpdateDto: z.ZodObject<z.extendShape<{
1441
1444
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1442
1445
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1443
1446
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1447
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1444
1448
  }, {
1445
1449
  dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
1446
1450
  requiredSlot: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
@@ -1740,6 +1744,7 @@ export declare const OrderKioskSettingsUpdateDto: z.ZodObject<z.extendShape<{
1740
1744
  } | null | undefined;
1741
1745
  otaChannel?: string | null | undefined;
1742
1746
  languages?: string[] | null | undefined;
1747
+ minWeighGrams?: number | null | undefined;
1743
1748
  }, {
1744
1749
  autoCloseBill?: boolean | null | undefined;
1745
1750
  allowReject?: boolean | null | undefined;
@@ -1809,6 +1814,7 @@ export declare const OrderKioskSettingsUpdateDto: z.ZodObject<z.extendShape<{
1809
1814
  } | null | undefined;
1810
1815
  otaChannel?: string | null | undefined;
1811
1816
  languages?: string[] | null | undefined;
1817
+ minWeighGrams?: number | null | undefined;
1812
1818
  }>;
1813
1819
  export type OrderKioskSettingsUpdateDto = z.infer<typeof OrderKioskSettingsUpdateDto>;
1814
1820
  export type OrderKioskDineInUpdateDto = z.infer<typeof OrderKioskDineInUpdateDto>;
@@ -543,6 +543,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
543
543
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
544
544
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
545
545
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
546
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
546
547
  }, "strip", z.ZodTypeAny, {
547
548
  autoCloseBill?: boolean | null | undefined;
548
549
  allowReject?: boolean | null | undefined;
@@ -612,6 +613,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
612
613
  } | null | undefined;
613
614
  otaChannel?: string | null | undefined;
614
615
  languages?: string[] | null | undefined;
616
+ minWeighGrams?: number | null | undefined;
615
617
  }, {
616
618
  autoCloseBill?: boolean | null | undefined;
617
619
  allowReject?: boolean | null | undefined;
@@ -681,6 +683,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
681
683
  } | null | undefined;
682
684
  otaChannel?: string | null | undefined;
683
685
  languages?: string[] | null | undefined;
686
+ minWeighGrams?: number | null | undefined;
684
687
  }>>>;
685
688
  queueSettings: z.ZodNullable<z.ZodOptional<z.ZodObject<{
686
689
  enableOrder: z.ZodBoolean;
@@ -1120,6 +1123,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
1120
1123
  } | null | undefined;
1121
1124
  otaChannel?: string | null | undefined;
1122
1125
  languages?: string[] | null | undefined;
1126
+ minWeighGrams?: number | null | undefined;
1123
1127
  } | null | undefined;
1124
1128
  queueSettings?: {
1125
1129
  autoSendKitchen?: boolean | null | undefined;
@@ -1328,6 +1332,7 @@ export declare const FdoOrderSettings: z.ZodObject<{
1328
1332
  } | null | undefined;
1329
1333
  otaChannel?: string | null | undefined;
1330
1334
  languages?: string[] | null | undefined;
1335
+ minWeighGrams?: number | null | undefined;
1331
1336
  } | null | undefined;
1332
1337
  queueSettings?: {
1333
1338
  autoSendKitchen?: boolean | null | undefined;
@@ -401,6 +401,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
401
401
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
402
402
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
403
403
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
404
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
404
405
  }, "strip", z.ZodTypeAny, {
405
406
  autoCloseBill?: boolean | null | undefined;
406
407
  allowReject?: boolean | null | undefined;
@@ -470,6 +471,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
470
471
  } | null | undefined;
471
472
  otaChannel?: string | null | undefined;
472
473
  languages?: string[] | null | undefined;
474
+ minWeighGrams?: number | null | undefined;
473
475
  }, {
474
476
  autoCloseBill?: boolean | null | undefined;
475
477
  allowReject?: boolean | null | undefined;
@@ -539,6 +541,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
539
541
  } | null | undefined;
540
542
  otaChannel?: string | null | undefined;
541
543
  languages?: string[] | null | undefined;
544
+ minWeighGrams?: number | null | undefined;
542
545
  }>>>>;
543
546
  queueSettings: z.ZodNullable<z.ZodOptional<z.ZodObject<{
544
547
  enableOrder: z.ZodBoolean;
@@ -1177,6 +1180,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
1177
1180
  } | null | undefined;
1178
1181
  otaChannel?: string | null | undefined;
1179
1182
  languages?: string[] | null | undefined;
1183
+ minWeighGrams?: number | null | undefined;
1180
1184
  } | null | undefined;
1181
1185
  queueSettings?: {
1182
1186
  autoSendKitchen?: boolean | null | undefined;
@@ -1405,6 +1409,7 @@ export declare const OrderSettingsDto: z.ZodObject<{
1405
1409
  } | null | undefined;
1406
1410
  otaChannel?: string | null | undefined;
1407
1411
  languages?: string[] | null | undefined;
1412
+ minWeighGrams?: number | null | undefined;
1408
1413
  } | null | undefined;
1409
1414
  queueSettings?: {
1410
1415
  duration?: number | undefined;
@@ -1914,6 +1919,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
1914
1919
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1915
1920
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1916
1921
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1922
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1917
1923
  }, "strip", z.ZodTypeAny, {
1918
1924
  autoCloseBill?: boolean | null | undefined;
1919
1925
  allowReject?: boolean | null | undefined;
@@ -1983,6 +1989,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
1983
1989
  } | null | undefined;
1984
1990
  otaChannel?: string | null | undefined;
1985
1991
  languages?: string[] | null | undefined;
1992
+ minWeighGrams?: number | null | undefined;
1986
1993
  }, {
1987
1994
  autoCloseBill?: boolean | null | undefined;
1988
1995
  allowReject?: boolean | null | undefined;
@@ -2052,6 +2059,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
2052
2059
  } | null | undefined;
2053
2060
  otaChannel?: string | null | undefined;
2054
2061
  languages?: string[] | null | undefined;
2062
+ minWeighGrams?: number | null | undefined;
2055
2063
  }>>>>;
2056
2064
  queueSettings: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2057
2065
  enableOrder: z.ZodBoolean;
@@ -2913,6 +2921,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
2913
2921
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2914
2922
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
2915
2923
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2924
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
2916
2925
  }, {
2917
2926
  dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<z.extendShape<{
2918
2927
  requiredSlot: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
@@ -3212,6 +3221,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
3212
3221
  } | null | undefined;
3213
3222
  otaChannel?: string | null | undefined;
3214
3223
  languages?: string[] | null | undefined;
3224
+ minWeighGrams?: number | null | undefined;
3215
3225
  }, {
3216
3226
  autoCloseBill?: boolean | null | undefined;
3217
3227
  allowReject?: boolean | null | undefined;
@@ -3281,6 +3291,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
3281
3291
  } | null | undefined;
3282
3292
  otaChannel?: string | null | undefined;
3283
3293
  languages?: string[] | null | undefined;
3294
+ minWeighGrams?: number | null | undefined;
3284
3295
  }>>>;
3285
3296
  }>, "strip", z.ZodTypeAny, {
3286
3297
  hideProductCode?: boolean | null | undefined;
@@ -3421,6 +3432,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
3421
3432
  } | null | undefined;
3422
3433
  otaChannel?: string | null | undefined;
3423
3434
  languages?: string[] | null | undefined;
3435
+ minWeighGrams?: number | null | undefined;
3424
3436
  } | null | undefined;
3425
3437
  queueSettings?: {
3426
3438
  autoSendKitchen?: boolean | null | undefined;
@@ -3628,6 +3640,7 @@ export declare const OrderSettingUpdateDto: z.ZodObject<z.extendShape<Omit<{
3628
3640
  } | null | undefined;
3629
3641
  otaChannel?: string | null | undefined;
3630
3642
  languages?: string[] | null | undefined;
3643
+ minWeighGrams?: number | null | undefined;
3631
3644
  } | null | undefined;
3632
3645
  queueSettings?: {
3633
3646
  duration?: number | undefined;
@@ -579,17 +579,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
579
579
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
580
580
  businessId: z.ZodString;
581
581
  expiredAt: z.ZodString;
582
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
583
- stock: string;
584
- discovery: string;
585
- pickup: string;
586
- delivery: string;
587
- foodpanda: string;
588
- deliveryIntegration: string;
589
- kds: string;
590
- ods: string;
591
- queue: string;
592
- }>, "many">>>>;
582
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
593
583
  profile: z.ZodObject<z.extendShape<{
594
584
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
595
585
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -914,9 +904,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
914
904
  code?: string | null | undefined;
915
905
  description?: string | null | undefined;
916
906
  _id?: string | null | undefined;
917
- discovery?: boolean | null | undefined;
918
907
  legalName?: string | null | undefined;
919
908
  sstRegNo?: string | null | undefined;
909
+ discovery?: boolean | null | undefined;
920
910
  coverPhoto?: string | null | undefined;
921
911
  thumbnailPhoto?: string | null | undefined;
922
912
  photos?: string[] | null | undefined;
@@ -992,9 +982,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
992
982
  email?: string | undefined;
993
983
  url?: string | null | undefined;
994
984
  _id?: string | null | undefined;
995
- discovery?: boolean | null | undefined;
996
985
  legalName?: string | null | undefined;
997
986
  sstRegNo?: string | null | undefined;
987
+ discovery?: boolean | null | undefined;
998
988
  coverPhoto?: string | null | undefined;
999
989
  thumbnailPhoto?: string | null | undefined;
1000
990
  photos?: string[] | null | undefined;
@@ -1266,9 +1256,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1266
1256
  code?: string | null | undefined;
1267
1257
  description?: string | null | undefined;
1268
1258
  _id?: string | null | undefined;
1269
- discovery?: boolean | null | undefined;
1270
1259
  legalName?: string | null | undefined;
1271
1260
  sstRegNo?: string | null | undefined;
1261
+ discovery?: boolean | null | undefined;
1272
1262
  coverPhoto?: string | null | undefined;
1273
1263
  thumbnailPhoto?: string | null | undefined;
1274
1264
  photos?: string[] | null | undefined;
@@ -1389,9 +1379,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1389
1379
  email?: string | undefined;
1390
1380
  url?: string | null | undefined;
1391
1381
  _id?: string | null | undefined;
1392
- discovery?: boolean | null | undefined;
1393
1382
  legalName?: string | null | undefined;
1394
1383
  sstRegNo?: string | null | undefined;
1384
+ discovery?: boolean | null | undefined;
1395
1385
  coverPhoto?: string | null | undefined;
1396
1386
  thumbnailPhoto?: string | null | undefined;
1397
1387
  photos?: string[] | null | undefined;
@@ -1722,6 +1712,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1722
1712
  } & /*elided*/ any)[];
1723
1713
  }>, "many">;
1724
1714
  quantity: z.ZodNumber;
1715
+ unitQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1725
1716
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1726
1717
  product: z.ZodObject<{
1727
1718
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1936,6 +1927,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
1936
1927
  combinationKey: string;
1937
1928
  } | null | undefined;
1938
1929
  upsellingId?: string | null | undefined;
1930
+ unitQuantity?: number | null | undefined;
1939
1931
  is?: {
1940
1932
  delivery?: boolean | null | undefined;
1941
1933
  takeaway: boolean;
@@ -2129,6 +2121,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
2129
2121
  combinationKey: string;
2130
2122
  } | null | undefined;
2131
2123
  upsellingId?: string | null | undefined;
2124
+ unitQuantity?: number | null | undefined;
2132
2125
  is?: {
2133
2126
  delivery?: boolean | null | undefined;
2134
2127
  takeaway: boolean;
@@ -2376,17 +2369,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
2376
2369
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2377
2370
  businessId: z.ZodString;
2378
2371
  expiredAt: z.ZodString;
2379
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
2380
- stock: string;
2381
- discovery: string;
2382
- pickup: string;
2383
- delivery: string;
2384
- foodpanda: string;
2385
- deliveryIntegration: string;
2386
- kds: string;
2387
- ods: string;
2388
- queue: string;
2389
- }>, "many">>>>;
2372
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
2390
2373
  profile: z.ZodObject<z.extendShape<{
2391
2374
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2392
2375
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2711,9 +2694,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
2711
2694
  code?: string | null | undefined;
2712
2695
  description?: string | null | undefined;
2713
2696
  _id?: string | null | undefined;
2714
- discovery?: boolean | null | undefined;
2715
2697
  legalName?: string | null | undefined;
2716
2698
  sstRegNo?: string | null | undefined;
2699
+ discovery?: boolean | null | undefined;
2717
2700
  coverPhoto?: string | null | undefined;
2718
2701
  thumbnailPhoto?: string | null | undefined;
2719
2702
  photos?: string[] | null | undefined;
@@ -2789,9 +2772,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
2789
2772
  email?: string | undefined;
2790
2773
  url?: string | null | undefined;
2791
2774
  _id?: string | null | undefined;
2792
- discovery?: boolean | null | undefined;
2793
2775
  legalName?: string | null | undefined;
2794
2776
  sstRegNo?: string | null | undefined;
2777
+ discovery?: boolean | null | undefined;
2795
2778
  coverPhoto?: string | null | undefined;
2796
2779
  thumbnailPhoto?: string | null | undefined;
2797
2780
  photos?: string[] | null | undefined;
@@ -3063,9 +3046,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
3063
3046
  code?: string | null | undefined;
3064
3047
  description?: string | null | undefined;
3065
3048
  _id?: string | null | undefined;
3066
- discovery?: boolean | null | undefined;
3067
3049
  legalName?: string | null | undefined;
3068
3050
  sstRegNo?: string | null | undefined;
3051
+ discovery?: boolean | null | undefined;
3069
3052
  coverPhoto?: string | null | undefined;
3070
3053
  thumbnailPhoto?: string | null | undefined;
3071
3054
  photos?: string[] | null | undefined;
@@ -3186,9 +3169,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
3186
3169
  email?: string | undefined;
3187
3170
  url?: string | null | undefined;
3188
3171
  _id?: string | null | undefined;
3189
- discovery?: boolean | null | undefined;
3190
3172
  legalName?: string | null | undefined;
3191
3173
  sstRegNo?: string | null | undefined;
3174
+ discovery?: boolean | null | undefined;
3192
3175
  coverPhoto?: string | null | undefined;
3193
3176
  thumbnailPhoto?: string | null | undefined;
3194
3177
  photos?: string[] | null | undefined;
@@ -5830,9 +5813,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
5830
5813
  code?: string | null | undefined;
5831
5814
  description?: string | null | undefined;
5832
5815
  _id?: string | null | undefined;
5833
- discovery?: boolean | null | undefined;
5834
5816
  legalName?: string | null | undefined;
5835
5817
  sstRegNo?: string | null | undefined;
5818
+ discovery?: boolean | null | undefined;
5836
5819
  coverPhoto?: string | null | undefined;
5837
5820
  thumbnailPhoto?: string | null | undefined;
5838
5821
  photos?: string[] | null | undefined;
@@ -6168,6 +6151,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6168
6151
  combinationKey: string;
6169
6152
  } | null | undefined;
6170
6153
  upsellingId?: string | null | undefined;
6154
+ unitQuantity?: number | null | undefined;
6171
6155
  is?: {
6172
6156
  delivery?: boolean | null | undefined;
6173
6157
  takeaway: boolean;
@@ -6570,9 +6554,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
6570
6554
  email?: string | undefined;
6571
6555
  url?: string | null | undefined;
6572
6556
  _id?: string | null | undefined;
6573
- discovery?: boolean | null | undefined;
6574
6557
  legalName?: string | null | undefined;
6575
6558
  sstRegNo?: string | null | undefined;
6559
+ discovery?: boolean | null | undefined;
6576
6560
  coverPhoto?: string | null | undefined;
6577
6561
  thumbnailPhoto?: string | null | undefined;
6578
6562
  photos?: string[] | null | undefined;
@@ -7000,6 +6984,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7000
6984
  combinationKey: string;
7001
6985
  } | null | undefined;
7002
6986
  upsellingId?: string | null | undefined;
6987
+ unitQuantity?: number | null | undefined;
7003
6988
  is?: {
7004
6989
  delivery?: boolean | null | undefined;
7005
6990
  takeaway: boolean;
@@ -7235,9 +7220,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7235
7220
  code?: string | null | undefined;
7236
7221
  description?: string | null | undefined;
7237
7222
  _id?: string | null | undefined;
7238
- discovery?: boolean | null | undefined;
7239
7223
  legalName?: string | null | undefined;
7240
7224
  sstRegNo?: string | null | undefined;
7225
+ discovery?: boolean | null | undefined;
7241
7226
  coverPhoto?: string | null | undefined;
7242
7227
  thumbnailPhoto?: string | null | undefined;
7243
7228
  photos?: string[] | null | undefined;
@@ -7429,9 +7414,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7429
7414
  code?: string | null | undefined;
7430
7415
  description?: string | null | undefined;
7431
7416
  _id?: string | null | undefined;
7432
- discovery?: boolean | null | undefined;
7433
7417
  legalName?: string | null | undefined;
7434
7418
  sstRegNo?: string | null | undefined;
7419
+ discovery?: boolean | null | undefined;
7435
7420
  coverPhoto?: string | null | undefined;
7436
7421
  thumbnailPhoto?: string | null | undefined;
7437
7422
  photos?: string[] | null | undefined;
@@ -7767,6 +7752,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
7767
7752
  combinationKey: string;
7768
7753
  } | null | undefined;
7769
7754
  upsellingId?: string | null | undefined;
7755
+ unitQuantity?: number | null | undefined;
7770
7756
  is?: {
7771
7757
  delivery?: boolean | null | undefined;
7772
7758
  takeaway: boolean;
@@ -8112,9 +8098,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8112
8098
  email?: string | undefined;
8113
8099
  url?: string | null | undefined;
8114
8100
  _id?: string | null | undefined;
8115
- discovery?: boolean | null | undefined;
8116
8101
  legalName?: string | null | undefined;
8117
8102
  sstRegNo?: string | null | undefined;
8103
+ discovery?: boolean | null | undefined;
8118
8104
  coverPhoto?: string | null | undefined;
8119
8105
  thumbnailPhoto?: string | null | undefined;
8120
8106
  photos?: string[] | null | undefined;
@@ -8306,9 +8292,9 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8306
8292
  email?: string | undefined;
8307
8293
  url?: string | null | undefined;
8308
8294
  _id?: string | null | undefined;
8309
- discovery?: boolean | null | undefined;
8310
8295
  legalName?: string | null | undefined;
8311
8296
  sstRegNo?: string | null | undefined;
8297
+ discovery?: boolean | null | undefined;
8312
8298
  coverPhoto?: string | null | undefined;
8313
8299
  thumbnailPhoto?: string | null | undefined;
8314
8300
  photos?: string[] | null | undefined;
@@ -8736,6 +8722,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
8736
8722
  combinationKey: string;
8737
8723
  } | null | undefined;
8738
8724
  upsellingId?: string | null | undefined;
8725
+ unitQuantity?: number | null | undefined;
8739
8726
  is?: {
8740
8727
  delivery?: boolean | null | undefined;
8741
8728
  takeaway: boolean;
@@ -2271,17 +2271,7 @@ export declare const RestaurantDto: z.ZodObject<{
2271
2271
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2272
2272
  businessId: z.ZodString;
2273
2273
  expiredAt: z.ZodString;
2274
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
2275
- stock: string;
2276
- discovery: string;
2277
- pickup: string;
2278
- delivery: string;
2279
- foodpanda: string;
2280
- deliveryIntegration: string;
2281
- kds: string;
2282
- ods: string;
2283
- queue: string;
2284
- }>, "many">>>>;
2274
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
2285
2275
  profile: z.ZodObject<z.extendShape<{
2286
2276
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2287
2277
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2606,9 +2596,9 @@ export declare const RestaurantDto: z.ZodObject<{
2606
2596
  code?: string | null | undefined;
2607
2597
  description?: string | null | undefined;
2608
2598
  _id?: string | null | undefined;
2609
- discovery?: boolean | null | undefined;
2610
2599
  legalName?: string | null | undefined;
2611
2600
  sstRegNo?: string | null | undefined;
2601
+ discovery?: boolean | null | undefined;
2612
2602
  coverPhoto?: string | null | undefined;
2613
2603
  thumbnailPhoto?: string | null | undefined;
2614
2604
  photos?: string[] | null | undefined;
@@ -2684,9 +2674,9 @@ export declare const RestaurantDto: z.ZodObject<{
2684
2674
  email?: string | undefined;
2685
2675
  url?: string | null | undefined;
2686
2676
  _id?: string | null | undefined;
2687
- discovery?: boolean | null | undefined;
2688
2677
  legalName?: string | null | undefined;
2689
2678
  sstRegNo?: string | null | undefined;
2679
+ discovery?: boolean | null | undefined;
2690
2680
  coverPhoto?: string | null | undefined;
2691
2681
  thumbnailPhoto?: string | null | undefined;
2692
2682
  photos?: string[] | null | undefined;
@@ -2958,9 +2948,9 @@ export declare const RestaurantDto: z.ZodObject<{
2958
2948
  code?: string | null | undefined;
2959
2949
  description?: string | null | undefined;
2960
2950
  _id?: string | null | undefined;
2961
- discovery?: boolean | null | undefined;
2962
2951
  legalName?: string | null | undefined;
2963
2952
  sstRegNo?: string | null | undefined;
2953
+ discovery?: boolean | null | undefined;
2964
2954
  coverPhoto?: string | null | undefined;
2965
2955
  thumbnailPhoto?: string | null | undefined;
2966
2956
  photos?: string[] | null | undefined;
@@ -3081,9 +3071,9 @@ export declare const RestaurantDto: z.ZodObject<{
3081
3071
  email?: string | undefined;
3082
3072
  url?: string | null | undefined;
3083
3073
  _id?: string | null | undefined;
3084
- discovery?: boolean | null | undefined;
3085
3074
  legalName?: string | null | undefined;
3086
3075
  sstRegNo?: string | null | undefined;
3076
+ discovery?: boolean | null | undefined;
3087
3077
  coverPhoto?: string | null | undefined;
3088
3078
  thumbnailPhoto?: string | null | undefined;
3089
3079
  photos?: string[] | null | undefined;
@@ -4439,6 +4429,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4439
4429
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4440
4430
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4441
4431
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4432
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
4442
4433
  }, "strip", z.ZodTypeAny, {
4443
4434
  autoCloseBill?: boolean | null | undefined;
4444
4435
  allowReject?: boolean | null | undefined;
@@ -4508,6 +4499,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4508
4499
  } | null | undefined;
4509
4500
  otaChannel?: string | null | undefined;
4510
4501
  languages?: string[] | null | undefined;
4502
+ minWeighGrams?: number | null | undefined;
4511
4503
  }, {
4512
4504
  autoCloseBill?: boolean | null | undefined;
4513
4505
  allowReject?: boolean | null | undefined;
@@ -4577,6 +4569,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
4577
4569
  } | null | undefined;
4578
4570
  otaChannel?: string | null | undefined;
4579
4571
  languages?: string[] | null | undefined;
4572
+ minWeighGrams?: number | null | undefined;
4580
4573
  }>>>>;
4581
4574
  queueSettings: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4582
4575
  enableOrder: z.ZodBoolean;
@@ -5646,6 +5639,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
5646
5639
  } | null | undefined;
5647
5640
  otaChannel?: string | null | undefined;
5648
5641
  languages?: string[] | null | undefined;
5642
+ minWeighGrams?: number | null | undefined;
5649
5643
  } | null | undefined;
5650
5644
  queueSettings?: {
5651
5645
  autoSendKitchen?: boolean | null | undefined;
@@ -6001,6 +5995,7 @@ export declare const RestaurantCustomerKioskDto: z.ZodObject<{
6001
5995
  } | null | undefined;
6002
5996
  otaChannel?: string | null | undefined;
6003
5997
  languages?: string[] | null | undefined;
5998
+ minWeighGrams?: number | null | undefined;
6004
5999
  } | null | undefined;
6005
6000
  queueSettings?: {
6006
6001
  duration?: number | undefined;
@@ -454,6 +454,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
454
454
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
455
455
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
456
456
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
457
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
457
458
  }, "strip", z.ZodTypeAny, {
458
459
  autoCloseBill?: boolean | null | undefined;
459
460
  allowReject?: boolean | null | undefined;
@@ -523,6 +524,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
523
524
  } | null | undefined;
524
525
  otaChannel?: string | null | undefined;
525
526
  languages?: string[] | null | undefined;
527
+ minWeighGrams?: number | null | undefined;
526
528
  }, {
527
529
  autoCloseBill?: boolean | null | undefined;
528
530
  allowReject?: boolean | null | undefined;
@@ -592,6 +594,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
592
594
  } | null | undefined;
593
595
  otaChannel?: string | null | undefined;
594
596
  languages?: string[] | null | undefined;
597
+ minWeighGrams?: number | null | undefined;
595
598
  }>>;
596
599
  }>, "strip", z.ZodTypeAny, {
597
600
  data: {
@@ -663,6 +666,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
663
666
  } | null | undefined;
664
667
  otaChannel?: string | null | undefined;
665
668
  languages?: string[] | null | undefined;
669
+ minWeighGrams?: number | null | undefined;
666
670
  };
667
671
  type: "KIOSK:UPDATE_SETTING";
668
672
  }, {
@@ -735,6 +739,7 @@ export declare const WebSocketEventDto: z.ZodDiscriminatedUnion<"type", z.Primit
735
739
  } | null | undefined;
736
740
  otaChannel?: string | null | undefined;
737
741
  languages?: string[] | null | undefined;
742
+ minWeighGrams?: number | null | undefined;
738
743
  } | undefined;
739
744
  type: "KIOSK:UPDATE_SETTING";
740
745
  }>>;
@@ -1158,6 +1163,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
1158
1163
  printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1159
1164
  allowReject: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
1160
1165
  languages: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1166
+ minWeighGrams: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1161
1167
  }, "strip", z.ZodTypeAny, {
1162
1168
  autoCloseBill?: boolean | null | undefined;
1163
1169
  allowReject?: boolean | null | undefined;
@@ -1227,6 +1233,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
1227
1233
  } | null | undefined;
1228
1234
  otaChannel?: string | null | undefined;
1229
1235
  languages?: string[] | null | undefined;
1236
+ minWeighGrams?: number | null | undefined;
1230
1237
  }, {
1231
1238
  autoCloseBill?: boolean | null | undefined;
1232
1239
  allowReject?: boolean | null | undefined;
@@ -1296,6 +1303,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
1296
1303
  } | null | undefined;
1297
1304
  otaChannel?: string | null | undefined;
1298
1305
  languages?: string[] | null | undefined;
1306
+ minWeighGrams?: number | null | undefined;
1299
1307
  }>>;
1300
1308
  }>, "strip", z.ZodTypeAny, {
1301
1309
  data: {
@@ -1367,6 +1375,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
1367
1375
  } | null | undefined;
1368
1376
  otaChannel?: string | null | undefined;
1369
1377
  languages?: string[] | null | undefined;
1378
+ minWeighGrams?: number | null | undefined;
1370
1379
  };
1371
1380
  type: "KIOSK:UPDATE_SETTING";
1372
1381
  }, {
@@ -1439,6 +1448,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
1439
1448
  } | null | undefined;
1440
1449
  otaChannel?: string | null | undefined;
1441
1450
  languages?: string[] | null | undefined;
1451
+ minWeighGrams?: number | null | undefined;
1442
1452
  } | undefined;
1443
1453
  type: "KIOSK:UPDATE_SETTING";
1444
1454
  }>>;
@@ -1544,6 +1554,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
1544
1554
  } | null | undefined;
1545
1555
  otaChannel?: string | null | undefined;
1546
1556
  languages?: string[] | null | undefined;
1557
+ minWeighGrams?: number | null | undefined;
1547
1558
  };
1548
1559
  type: "KIOSK:UPDATE_SETTING";
1549
1560
  };
@@ -1650,6 +1661,7 @@ export declare const WebSocketReqDto: z.ZodObject<{
1650
1661
  } | null | undefined;
1651
1662
  otaChannel?: string | null | undefined;
1652
1663
  languages?: string[] | null | undefined;
1664
+ minWeighGrams?: number | null | undefined;
1653
1665
  } | undefined;
1654
1666
  type: "KIOSK:UPDATE_SETTING";
1655
1667
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-order-setting",
3
- "version": "0.0.88",
3
+ "version": "0.0.89",
4
4
  "type": "module",
5
5
  "module": "./dist/app.js",
6
6
  "license": "UNLICENSED",