@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
@@ -32,17 +32,7 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
32
32
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
33
33
  businessId: z.ZodString;
34
34
  expiredAt: z.ZodString;
35
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
36
- stock: string;
37
- discovery: string;
38
- pickup: string;
39
- delivery: string;
40
- foodpanda: string;
41
- deliveryIntegration: string;
42
- kds: string;
43
- ods: string;
44
- queue: string;
45
- }>, "many">>>>;
35
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
46
36
  profile: z.ZodObject<z.extendShape<{
47
37
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
48
38
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -367,9 +357,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
367
357
  code?: string | null | undefined;
368
358
  description?: string | null | undefined;
369
359
  _id?: string | null | undefined;
370
- discovery?: boolean | null | undefined;
371
360
  legalName?: string | null | undefined;
372
361
  sstRegNo?: string | null | undefined;
362
+ discovery?: boolean | null | undefined;
373
363
  coverPhoto?: string | null | undefined;
374
364
  thumbnailPhoto?: string | null | undefined;
375
365
  photos?: string[] | null | undefined;
@@ -445,9 +435,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
445
435
  email?: string | undefined;
446
436
  url?: string | null | undefined;
447
437
  _id?: string | null | undefined;
448
- discovery?: boolean | null | undefined;
449
438
  legalName?: string | null | undefined;
450
439
  sstRegNo?: string | null | undefined;
440
+ discovery?: boolean | null | undefined;
451
441
  coverPhoto?: string | null | undefined;
452
442
  thumbnailPhoto?: string | null | undefined;
453
443
  photos?: string[] | null | undefined;
@@ -722,9 +712,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
722
712
  code?: string | null | undefined;
723
713
  description?: string | null | undefined;
724
714
  _id?: string | null | undefined;
725
- discovery?: boolean | null | undefined;
726
715
  legalName?: string | null | undefined;
727
716
  sstRegNo?: string | null | undefined;
717
+ discovery?: boolean | null | undefined;
728
718
  coverPhoto?: string | null | undefined;
729
719
  thumbnailPhoto?: string | null | undefined;
730
720
  photos?: string[] | null | undefined;
@@ -846,9 +836,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
846
836
  email?: string | undefined;
847
837
  url?: string | null | undefined;
848
838
  _id?: string | null | undefined;
849
- discovery?: boolean | null | undefined;
850
839
  legalName?: string | null | undefined;
851
840
  sstRegNo?: string | null | undefined;
841
+ discovery?: boolean | null | undefined;
852
842
  coverPhoto?: string | null | undefined;
853
843
  thumbnailPhoto?: string | null | undefined;
854
844
  photos?: string[] | null | undefined;
@@ -928,17 +918,7 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
928
918
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
929
919
  businessId: z.ZodString;
930
920
  expiredAt: z.ZodString;
931
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
932
- stock: string;
933
- discovery: string;
934
- pickup: string;
935
- delivery: string;
936
- foodpanda: string;
937
- deliveryIntegration: string;
938
- kds: string;
939
- ods: string;
940
- queue: string;
941
- }>, "many">>>>;
921
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
942
922
  profile: z.ZodObject<z.extendShape<{
943
923
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
944
924
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1263,9 +1243,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
1263
1243
  code?: string | null | undefined;
1264
1244
  description?: string | null | undefined;
1265
1245
  _id?: string | null | undefined;
1266
- discovery?: boolean | null | undefined;
1267
1246
  legalName?: string | null | undefined;
1268
1247
  sstRegNo?: string | null | undefined;
1248
+ discovery?: boolean | null | undefined;
1269
1249
  coverPhoto?: string | null | undefined;
1270
1250
  thumbnailPhoto?: string | null | undefined;
1271
1251
  photos?: string[] | null | undefined;
@@ -1341,9 +1321,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
1341
1321
  email?: string | undefined;
1342
1322
  url?: string | null | undefined;
1343
1323
  _id?: string | null | undefined;
1344
- discovery?: boolean | null | undefined;
1345
1324
  legalName?: string | null | undefined;
1346
1325
  sstRegNo?: string | null | undefined;
1326
+ discovery?: boolean | null | undefined;
1347
1327
  coverPhoto?: string | null | undefined;
1348
1328
  thumbnailPhoto?: string | null | undefined;
1349
1329
  photos?: string[] | null | undefined;
@@ -1615,9 +1595,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
1615
1595
  code?: string | null | undefined;
1616
1596
  description?: string | null | undefined;
1617
1597
  _id?: string | null | undefined;
1618
- discovery?: boolean | null | undefined;
1619
1598
  legalName?: string | null | undefined;
1620
1599
  sstRegNo?: string | null | undefined;
1600
+ discovery?: boolean | null | undefined;
1621
1601
  coverPhoto?: string | null | undefined;
1622
1602
  thumbnailPhoto?: string | null | undefined;
1623
1603
  photos?: string[] | null | undefined;
@@ -1738,9 +1718,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
1738
1718
  email?: string | undefined;
1739
1719
  url?: string | null | undefined;
1740
1720
  _id?: string | null | undefined;
1741
- discovery?: boolean | null | undefined;
1742
1721
  legalName?: string | null | undefined;
1743
1722
  sstRegNo?: string | null | undefined;
1723
+ discovery?: boolean | null | undefined;
1744
1724
  coverPhoto?: string | null | undefined;
1745
1725
  thumbnailPhoto?: string | null | undefined;
1746
1726
  photos?: string[] | null | undefined;
@@ -1860,9 +1840,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
1860
1840
  code?: string | null | undefined;
1861
1841
  description?: string | null | undefined;
1862
1842
  _id?: string | null | undefined;
1863
- discovery?: boolean | null | undefined;
1864
1843
  legalName?: string | null | undefined;
1865
1844
  sstRegNo?: string | null | undefined;
1845
+ discovery?: boolean | null | undefined;
1866
1846
  coverPhoto?: string | null | undefined;
1867
1847
  thumbnailPhoto?: string | null | undefined;
1868
1848
  photos?: string[] | null | undefined;
@@ -1990,9 +1970,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
1990
1970
  code?: string | null | undefined;
1991
1971
  description?: string | null | undefined;
1992
1972
  _id?: string | null | undefined;
1993
- discovery?: boolean | null | undefined;
1994
1973
  legalName?: string | null | undefined;
1995
1974
  sstRegNo?: string | null | undefined;
1975
+ discovery?: boolean | null | undefined;
1996
1976
  coverPhoto?: string | null | undefined;
1997
1977
  thumbnailPhoto?: string | null | undefined;
1998
1978
  photos?: string[] | null | undefined;
@@ -2125,9 +2105,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
2125
2105
  email?: string | undefined;
2126
2106
  url?: string | null | undefined;
2127
2107
  _id?: string | null | undefined;
2128
- discovery?: boolean | null | undefined;
2129
2108
  legalName?: string | null | undefined;
2130
2109
  sstRegNo?: string | null | undefined;
2110
+ discovery?: boolean | null | undefined;
2131
2111
  coverPhoto?: string | null | undefined;
2132
2112
  thumbnailPhoto?: string | null | undefined;
2133
2113
  photos?: string[] | null | undefined;
@@ -2247,9 +2227,9 @@ export declare const FoodCourtBaseDto: z.ZodObject<{
2247
2227
  email?: string | undefined;
2248
2228
  url?: string | null | undefined;
2249
2229
  _id?: string | null | undefined;
2250
- discovery?: boolean | null | undefined;
2251
2230
  legalName?: string | null | undefined;
2252
2231
  sstRegNo?: string | null | undefined;
2232
+ discovery?: boolean | null | undefined;
2253
2233
  coverPhoto?: string | null | undefined;
2254
2234
  thumbnailPhoto?: string | null | undefined;
2255
2235
  photos?: string[] | null | undefined;
@@ -2341,17 +2321,7 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
2341
2321
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2342
2322
  businessId: z.ZodString;
2343
2323
  expiredAt: z.ZodString;
2344
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
2345
- stock: string;
2346
- discovery: string;
2347
- pickup: string;
2348
- delivery: string;
2349
- foodpanda: string;
2350
- deliveryIntegration: string;
2351
- kds: string;
2352
- ods: string;
2353
- queue: string;
2354
- }>, "many">>>>;
2324
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
2355
2325
  profile: z.ZodObject<z.extendShape<{
2356
2326
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2357
2327
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2676,9 +2646,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
2676
2646
  code?: string | null | undefined;
2677
2647
  description?: string | null | undefined;
2678
2648
  _id?: string | null | undefined;
2679
- discovery?: boolean | null | undefined;
2680
2649
  legalName?: string | null | undefined;
2681
2650
  sstRegNo?: string | null | undefined;
2651
+ discovery?: boolean | null | undefined;
2682
2652
  coverPhoto?: string | null | undefined;
2683
2653
  thumbnailPhoto?: string | null | undefined;
2684
2654
  photos?: string[] | null | undefined;
@@ -2754,9 +2724,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
2754
2724
  email?: string | undefined;
2755
2725
  url?: string | null | undefined;
2756
2726
  _id?: string | null | undefined;
2757
- discovery?: boolean | null | undefined;
2758
2727
  legalName?: string | null | undefined;
2759
2728
  sstRegNo?: string | null | undefined;
2729
+ discovery?: boolean | null | undefined;
2760
2730
  coverPhoto?: string | null | undefined;
2761
2731
  thumbnailPhoto?: string | null | undefined;
2762
2732
  photos?: string[] | null | undefined;
@@ -3031,9 +3001,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
3031
3001
  code?: string | null | undefined;
3032
3002
  description?: string | null | undefined;
3033
3003
  _id?: string | null | undefined;
3034
- discovery?: boolean | null | undefined;
3035
3004
  legalName?: string | null | undefined;
3036
3005
  sstRegNo?: string | null | undefined;
3006
+ discovery?: boolean | null | undefined;
3037
3007
  coverPhoto?: string | null | undefined;
3038
3008
  thumbnailPhoto?: string | null | undefined;
3039
3009
  photos?: string[] | null | undefined;
@@ -3155,9 +3125,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
3155
3125
  email?: string | undefined;
3156
3126
  url?: string | null | undefined;
3157
3127
  _id?: string | null | undefined;
3158
- discovery?: boolean | null | undefined;
3159
3128
  legalName?: string | null | undefined;
3160
3129
  sstRegNo?: string | null | undefined;
3130
+ discovery?: boolean | null | undefined;
3161
3131
  coverPhoto?: string | null | undefined;
3162
3132
  thumbnailPhoto?: string | null | undefined;
3163
3133
  photos?: string[] | null | undefined;
@@ -3237,17 +3207,7 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
3237
3207
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3238
3208
  businessId: z.ZodString;
3239
3209
  expiredAt: z.ZodString;
3240
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
3241
- stock: string;
3242
- discovery: string;
3243
- pickup: string;
3244
- delivery: string;
3245
- foodpanda: string;
3246
- deliveryIntegration: string;
3247
- kds: string;
3248
- ods: string;
3249
- queue: string;
3250
- }>, "many">>>>;
3210
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
3251
3211
  profile: z.ZodObject<z.extendShape<{
3252
3212
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3253
3213
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3572,9 +3532,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
3572
3532
  code?: string | null | undefined;
3573
3533
  description?: string | null | undefined;
3574
3534
  _id?: string | null | undefined;
3575
- discovery?: boolean | null | undefined;
3576
3535
  legalName?: string | null | undefined;
3577
3536
  sstRegNo?: string | null | undefined;
3537
+ discovery?: boolean | null | undefined;
3578
3538
  coverPhoto?: string | null | undefined;
3579
3539
  thumbnailPhoto?: string | null | undefined;
3580
3540
  photos?: string[] | null | undefined;
@@ -3650,9 +3610,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
3650
3610
  email?: string | undefined;
3651
3611
  url?: string | null | undefined;
3652
3612
  _id?: string | null | undefined;
3653
- discovery?: boolean | null | undefined;
3654
3613
  legalName?: string | null | undefined;
3655
3614
  sstRegNo?: string | null | undefined;
3615
+ discovery?: boolean | null | undefined;
3656
3616
  coverPhoto?: string | null | undefined;
3657
3617
  thumbnailPhoto?: string | null | undefined;
3658
3618
  photos?: string[] | null | undefined;
@@ -3924,9 +3884,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
3924
3884
  code?: string | null | undefined;
3925
3885
  description?: string | null | undefined;
3926
3886
  _id?: string | null | undefined;
3927
- discovery?: boolean | null | undefined;
3928
3887
  legalName?: string | null | undefined;
3929
3888
  sstRegNo?: string | null | undefined;
3889
+ discovery?: boolean | null | undefined;
3930
3890
  coverPhoto?: string | null | undefined;
3931
3891
  thumbnailPhoto?: string | null | undefined;
3932
3892
  photos?: string[] | null | undefined;
@@ -4047,9 +4007,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
4047
4007
  email?: string | undefined;
4048
4008
  url?: string | null | undefined;
4049
4009
  _id?: string | null | undefined;
4050
- discovery?: boolean | null | undefined;
4051
4010
  legalName?: string | null | undefined;
4052
4011
  sstRegNo?: string | null | undefined;
4012
+ discovery?: boolean | null | undefined;
4053
4013
  coverPhoto?: string | null | undefined;
4054
4014
  thumbnailPhoto?: string | null | undefined;
4055
4015
  photos?: string[] | null | undefined;
@@ -4169,9 +4129,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
4169
4129
  code?: string | null | undefined;
4170
4130
  description?: string | null | undefined;
4171
4131
  _id?: string | null | undefined;
4172
- discovery?: boolean | null | undefined;
4173
4132
  legalName?: string | null | undefined;
4174
4133
  sstRegNo?: string | null | undefined;
4134
+ discovery?: boolean | null | undefined;
4175
4135
  coverPhoto?: string | null | undefined;
4176
4136
  thumbnailPhoto?: string | null | undefined;
4177
4137
  photos?: string[] | null | undefined;
@@ -4299,9 +4259,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
4299
4259
  code?: string | null | undefined;
4300
4260
  description?: string | null | undefined;
4301
4261
  _id?: string | null | undefined;
4302
- discovery?: boolean | null | undefined;
4303
4262
  legalName?: string | null | undefined;
4304
4263
  sstRegNo?: string | null | undefined;
4264
+ discovery?: boolean | null | undefined;
4305
4265
  coverPhoto?: string | null | undefined;
4306
4266
  thumbnailPhoto?: string | null | undefined;
4307
4267
  photos?: string[] | null | undefined;
@@ -4434,9 +4394,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
4434
4394
  email?: string | undefined;
4435
4395
  url?: string | null | undefined;
4436
4396
  _id?: string | null | undefined;
4437
- discovery?: boolean | null | undefined;
4438
4397
  legalName?: string | null | undefined;
4439
4398
  sstRegNo?: string | null | undefined;
4399
+ discovery?: boolean | null | undefined;
4440
4400
  coverPhoto?: string | null | undefined;
4441
4401
  thumbnailPhoto?: string | null | undefined;
4442
4402
  photos?: string[] | null | undefined;
@@ -4556,9 +4516,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
4556
4516
  email?: string | undefined;
4557
4517
  url?: string | null | undefined;
4558
4518
  _id?: string | null | undefined;
4559
- discovery?: boolean | null | undefined;
4560
4519
  legalName?: string | null | undefined;
4561
4520
  sstRegNo?: string | null | undefined;
4521
+ discovery?: boolean | null | undefined;
4562
4522
  coverPhoto?: string | null | undefined;
4563
4523
  thumbnailPhoto?: string | null | undefined;
4564
4524
  photos?: string[] | null | undefined;
@@ -4683,9 +4643,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
4683
4643
  code?: string | null | undefined;
4684
4644
  description?: string | null | undefined;
4685
4645
  _id?: string | null | undefined;
4686
- discovery?: boolean | null | undefined;
4687
4646
  legalName?: string | null | undefined;
4688
4647
  sstRegNo?: string | null | undefined;
4648
+ discovery?: boolean | null | undefined;
4689
4649
  coverPhoto?: string | null | undefined;
4690
4650
  thumbnailPhoto?: string | null | undefined;
4691
4651
  photos?: string[] | null | undefined;
@@ -4813,9 +4773,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
4813
4773
  code?: string | null | undefined;
4814
4774
  description?: string | null | undefined;
4815
4775
  _id?: string | null | undefined;
4816
- discovery?: boolean | null | undefined;
4817
4776
  legalName?: string | null | undefined;
4818
4777
  sstRegNo?: string | null | undefined;
4778
+ discovery?: boolean | null | undefined;
4819
4779
  coverPhoto?: string | null | undefined;
4820
4780
  thumbnailPhoto?: string | null | undefined;
4821
4781
  photos?: string[] | null | undefined;
@@ -4948,9 +4908,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
4948
4908
  email?: string | undefined;
4949
4909
  url?: string | null | undefined;
4950
4910
  _id?: string | null | undefined;
4951
- discovery?: boolean | null | undefined;
4952
4911
  legalName?: string | null | undefined;
4953
4912
  sstRegNo?: string | null | undefined;
4913
+ discovery?: boolean | null | undefined;
4954
4914
  coverPhoto?: string | null | undefined;
4955
4915
  thumbnailPhoto?: string | null | undefined;
4956
4916
  photos?: string[] | null | undefined;
@@ -5070,9 +5030,9 @@ export declare const FoodCourtDto: z.ZodEffects<z.ZodObject<{
5070
5030
  email?: string | undefined;
5071
5031
  url?: string | null | undefined;
5072
5032
  _id?: string | null | undefined;
5073
- discovery?: boolean | null | undefined;
5074
5033
  legalName?: string | null | undefined;
5075
5034
  sstRegNo?: string | null | undefined;
5035
+ discovery?: boolean | null | undefined;
5076
5036
  coverPhoto?: string | null | undefined;
5077
5037
  thumbnailPhoto?: string | null | undefined;
5078
5038
  photos?: string[] | null | undefined;
@@ -5166,17 +5126,7 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
5166
5126
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5167
5127
  businessId: z.ZodString;
5168
5128
  expiredAt: z.ZodString;
5169
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
5170
- stock: string;
5171
- discovery: string;
5172
- pickup: string;
5173
- delivery: string;
5174
- foodpanda: string;
5175
- deliveryIntegration: string;
5176
- kds: string;
5177
- ods: string;
5178
- queue: string;
5179
- }>, "many">>>>;
5129
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
5180
5130
  profile: z.ZodObject<z.extendShape<{
5181
5131
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
5182
5132
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -5501,9 +5451,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
5501
5451
  code?: string | null | undefined;
5502
5452
  description?: string | null | undefined;
5503
5453
  _id?: string | null | undefined;
5504
- discovery?: boolean | null | undefined;
5505
5454
  legalName?: string | null | undefined;
5506
5455
  sstRegNo?: string | null | undefined;
5456
+ discovery?: boolean | null | undefined;
5507
5457
  coverPhoto?: string | null | undefined;
5508
5458
  thumbnailPhoto?: string | null | undefined;
5509
5459
  photos?: string[] | null | undefined;
@@ -5579,9 +5529,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
5579
5529
  email?: string | undefined;
5580
5530
  url?: string | null | undefined;
5581
5531
  _id?: string | null | undefined;
5582
- discovery?: boolean | null | undefined;
5583
5532
  legalName?: string | null | undefined;
5584
5533
  sstRegNo?: string | null | undefined;
5534
+ discovery?: boolean | null | undefined;
5585
5535
  coverPhoto?: string | null | undefined;
5586
5536
  thumbnailPhoto?: string | null | undefined;
5587
5537
  photos?: string[] | null | undefined;
@@ -5856,9 +5806,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
5856
5806
  code?: string | null | undefined;
5857
5807
  description?: string | null | undefined;
5858
5808
  _id?: string | null | undefined;
5859
- discovery?: boolean | null | undefined;
5860
5809
  legalName?: string | null | undefined;
5861
5810
  sstRegNo?: string | null | undefined;
5811
+ discovery?: boolean | null | undefined;
5862
5812
  coverPhoto?: string | null | undefined;
5863
5813
  thumbnailPhoto?: string | null | undefined;
5864
5814
  photos?: string[] | null | undefined;
@@ -5980,9 +5930,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
5980
5930
  email?: string | undefined;
5981
5931
  url?: string | null | undefined;
5982
5932
  _id?: string | null | undefined;
5983
- discovery?: boolean | null | undefined;
5984
5933
  legalName?: string | null | undefined;
5985
5934
  sstRegNo?: string | null | undefined;
5935
+ discovery?: boolean | null | undefined;
5986
5936
  coverPhoto?: string | null | undefined;
5987
5937
  thumbnailPhoto?: string | null | undefined;
5988
5938
  photos?: string[] | null | undefined;
@@ -6062,17 +6012,7 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
6062
6012
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6063
6013
  businessId: z.ZodString;
6064
6014
  expiredAt: z.ZodString;
6065
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
6066
- stock: string;
6067
- discovery: string;
6068
- pickup: string;
6069
- delivery: string;
6070
- foodpanda: string;
6071
- deliveryIntegration: string;
6072
- kds: string;
6073
- ods: string;
6074
- queue: string;
6075
- }>, "many">>>>;
6015
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
6076
6016
  profile: z.ZodObject<z.extendShape<{
6077
6017
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
6078
6018
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -6397,9 +6337,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
6397
6337
  code?: string | null | undefined;
6398
6338
  description?: string | null | undefined;
6399
6339
  _id?: string | null | undefined;
6400
- discovery?: boolean | null | undefined;
6401
6340
  legalName?: string | null | undefined;
6402
6341
  sstRegNo?: string | null | undefined;
6342
+ discovery?: boolean | null | undefined;
6403
6343
  coverPhoto?: string | null | undefined;
6404
6344
  thumbnailPhoto?: string | null | undefined;
6405
6345
  photos?: string[] | null | undefined;
@@ -6475,9 +6415,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
6475
6415
  email?: string | undefined;
6476
6416
  url?: string | null | undefined;
6477
6417
  _id?: string | null | undefined;
6478
- discovery?: boolean | null | undefined;
6479
6418
  legalName?: string | null | undefined;
6480
6419
  sstRegNo?: string | null | undefined;
6420
+ discovery?: boolean | null | undefined;
6481
6421
  coverPhoto?: string | null | undefined;
6482
6422
  thumbnailPhoto?: string | null | undefined;
6483
6423
  photos?: string[] | null | undefined;
@@ -6749,9 +6689,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
6749
6689
  code?: string | null | undefined;
6750
6690
  description?: string | null | undefined;
6751
6691
  _id?: string | null | undefined;
6752
- discovery?: boolean | null | undefined;
6753
6692
  legalName?: string | null | undefined;
6754
6693
  sstRegNo?: string | null | undefined;
6694
+ discovery?: boolean | null | undefined;
6755
6695
  coverPhoto?: string | null | undefined;
6756
6696
  thumbnailPhoto?: string | null | undefined;
6757
6697
  photos?: string[] | null | undefined;
@@ -6872,9 +6812,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
6872
6812
  email?: string | undefined;
6873
6813
  url?: string | null | undefined;
6874
6814
  _id?: string | null | undefined;
6875
- discovery?: boolean | null | undefined;
6876
6815
  legalName?: string | null | undefined;
6877
6816
  sstRegNo?: string | null | undefined;
6817
+ discovery?: boolean | null | undefined;
6878
6818
  coverPhoto?: string | null | undefined;
6879
6819
  thumbnailPhoto?: string | null | undefined;
6880
6820
  photos?: string[] | null | undefined;
@@ -6993,9 +6933,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
6993
6933
  code?: string | null | undefined;
6994
6934
  description?: string | null | undefined;
6995
6935
  _id?: string | null | undefined;
6996
- discovery?: boolean | null | undefined;
6997
6936
  legalName?: string | null | undefined;
6998
6937
  sstRegNo?: string | null | undefined;
6938
+ discovery?: boolean | null | undefined;
6999
6939
  coverPhoto?: string | null | undefined;
7000
6940
  thumbnailPhoto?: string | null | undefined;
7001
6941
  photos?: string[] | null | undefined;
@@ -7134,9 +7074,9 @@ export declare const FoodCourtCreateDto: z.ZodObject<Omit<{
7134
7074
  email?: string | undefined;
7135
7075
  url?: string | null | undefined;
7136
7076
  _id?: string | null | undefined;
7137
- discovery?: boolean | null | undefined;
7138
7077
  legalName?: string | null | undefined;
7139
7078
  sstRegNo?: string | null | undefined;
7079
+ discovery?: boolean | null | undefined;
7140
7080
  coverPhoto?: string | null | undefined;
7141
7081
  thumbnailPhoto?: string | null | undefined;
7142
7082
  photos?: string[] | null | undefined;
@@ -7231,17 +7171,7 @@ export declare const FoodCourtUpdateDto: z.ZodObject<{
7231
7171
  catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7232
7172
  businessId: z.ZodString;
7233
7173
  expiredAt: z.ZodString;
7234
- features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<{
7235
- stock: string;
7236
- discovery: string;
7237
- pickup: string;
7238
- delivery: string;
7239
- foodpanda: string;
7240
- deliveryIntegration: string;
7241
- kds: string;
7242
- ods: string;
7243
- queue: string;
7244
- }>, "many">>>>;
7174
+ features: z.ZodDefault<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
7245
7175
  profile: z.ZodObject<z.extendShape<{
7246
7176
  _id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7247
7177
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -7566,9 +7496,9 @@ export declare const FoodCourtUpdateDto: z.ZodObject<{
7566
7496
  code?: string | null | undefined;
7567
7497
  description?: string | null | undefined;
7568
7498
  _id?: string | null | undefined;
7569
- discovery?: boolean | null | undefined;
7570
7499
  legalName?: string | null | undefined;
7571
7500
  sstRegNo?: string | null | undefined;
7501
+ discovery?: boolean | null | undefined;
7572
7502
  coverPhoto?: string | null | undefined;
7573
7503
  thumbnailPhoto?: string | null | undefined;
7574
7504
  photos?: string[] | null | undefined;
@@ -7644,9 +7574,9 @@ export declare const FoodCourtUpdateDto: z.ZodObject<{
7644
7574
  email?: string | undefined;
7645
7575
  url?: string | null | undefined;
7646
7576
  _id?: string | null | undefined;
7647
- discovery?: boolean | null | undefined;
7648
7577
  legalName?: string | null | undefined;
7649
7578
  sstRegNo?: string | null | undefined;
7579
+ discovery?: boolean | null | undefined;
7650
7580
  coverPhoto?: string | null | undefined;
7651
7581
  thumbnailPhoto?: string | null | undefined;
7652
7582
  photos?: string[] | null | undefined;
@@ -7918,9 +7848,9 @@ export declare const FoodCourtUpdateDto: z.ZodObject<{
7918
7848
  code?: string | null | undefined;
7919
7849
  description?: string | null | undefined;
7920
7850
  _id?: string | null | undefined;
7921
- discovery?: boolean | null | undefined;
7922
7851
  legalName?: string | null | undefined;
7923
7852
  sstRegNo?: string | null | undefined;
7853
+ discovery?: boolean | null | undefined;
7924
7854
  coverPhoto?: string | null | undefined;
7925
7855
  thumbnailPhoto?: string | null | undefined;
7926
7856
  photos?: string[] | null | undefined;
@@ -8041,9 +7971,9 @@ export declare const FoodCourtUpdateDto: z.ZodObject<{
8041
7971
  email?: string | undefined;
8042
7972
  url?: string | null | undefined;
8043
7973
  _id?: string | null | undefined;
8044
- discovery?: boolean | null | undefined;
8045
7974
  legalName?: string | null | undefined;
8046
7975
  sstRegNo?: string | null | undefined;
7976
+ discovery?: boolean | null | undefined;
8047
7977
  coverPhoto?: string | null | undefined;
8048
7978
  thumbnailPhoto?: string | null | undefined;
8049
7979
  photos?: string[] | null | undefined;
@@ -8169,9 +8099,9 @@ export declare const FoodCourtUpdateDto: z.ZodObject<{
8169
8099
  code?: string | null | undefined;
8170
8100
  description?: string | null | undefined;
8171
8101
  _id?: string | null | undefined;
8172
- discovery?: boolean | null | undefined;
8173
8102
  legalName?: string | null | undefined;
8174
8103
  sstRegNo?: string | null | undefined;
8104
+ discovery?: boolean | null | undefined;
8175
8105
  coverPhoto?: string | null | undefined;
8176
8106
  thumbnailPhoto?: string | null | undefined;
8177
8107
  photos?: string[] | null | undefined;
@@ -8303,9 +8233,9 @@ export declare const FoodCourtUpdateDto: z.ZodObject<{
8303
8233
  email?: string | undefined;
8304
8234
  url?: string | null | undefined;
8305
8235
  _id?: string | null | undefined;
8306
- discovery?: boolean | null | undefined;
8307
8236
  legalName?: string | null | undefined;
8308
8237
  sstRegNo?: string | null | undefined;
8238
+ discovery?: boolean | null | undefined;
8309
8239
  coverPhoto?: string | null | undefined;
8310
8240
  thumbnailPhoto?: string | null | undefined;
8311
8241
  photos?: string[] | null | undefined;
@@ -16965,6 +16965,14 @@ export declare const FdtoOrderItem: z.ZodObject<{
16965
16965
  productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16966
16966
  subItems: z.ZodArray<z.ZodType<FdtoOrderItemSubItem, z.ZodTypeDef, FdtoOrderItemSubItem>, "many">;
16967
16967
  quantity: z.ZodNumber;
16968
+ /**
16969
+ * Weight of a sold-by-weight item, in whole grams (the POS contract), e.g. 250.
16970
+ * Only meaningful when the menu item has a `unit` and a `perXUnit`: the line is
16971
+ * then priced price x unitQuantity / perXUnit and `quantity` is ignored.
16972
+ * Null for every other item. The server keeps it only for a weighed menu item
16973
+ * and only as a positive integer (`rectifyOrderItems`).
16974
+ */
16975
+ unitQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
16968
16976
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
16969
16977
  product: z.ZodObject<{
16970
16978
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -17548,6 +17556,7 @@ export declare const FdtoOrderItem: z.ZodObject<{
17548
17556
  name: string[];
17549
17557
  combinationKey: string;
17550
17558
  } | null | undefined;
17559
+ unitQuantity?: number | null | undefined;
17551
17560
  is?: {
17552
17561
  delivery?: boolean | null | undefined;
17553
17562
  takeaway: boolean;
@@ -17698,6 +17707,7 @@ export declare const FdtoOrderItem: z.ZodObject<{
17698
17707
  name: string[];
17699
17708
  combinationKey: string;
17700
17709
  } | null | undefined;
17710
+ unitQuantity?: number | null | undefined;
17701
17711
  is?: {
17702
17712
  delivery?: boolean | null | undefined;
17703
17713
  takeaway: boolean;