@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
@@ -513,7 +513,7 @@ export declare const FdoKioskDevice: z.ZodObject<{
513
513
  merchantId: string;
514
514
  terminalId: string;
515
515
  }>>>;
516
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
516
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
517
517
  slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
518
518
  pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
519
519
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -524,7 +524,7 @@ export declare const FdoKioskDevice: z.ZodObject<{
524
524
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
525
525
  }, "strip", z.ZodTypeAny, {
526
526
  name?: string | null | undefined;
527
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
527
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
528
528
  deviceAppVersion?: string | null | undefined;
529
529
  webviewVersion?: string | null | undefined;
530
530
  operatingSystem?: string | null | undefined;
@@ -626,7 +626,7 @@ export declare const FdoKioskDevice: z.ZodObject<{
626
626
  token: string;
627
627
  }, {
628
628
  name?: string | null | undefined;
629
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
629
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
630
630
  deviceAppVersion?: string | null | undefined;
631
631
  webviewVersion?: string | null | undefined;
632
632
  operatingSystem?: string | null | undefined;
@@ -1220,7 +1220,7 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
1220
1220
  merchantId: string;
1221
1221
  terminalId: string;
1222
1222
  }>>>;
1223
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
1223
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
1224
1224
  slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1225
1225
  pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1226
1226
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1231,7 +1231,7 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
1231
1231
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1232
1232
  }, "strip", z.ZodTypeAny, {
1233
1233
  name?: string | null | undefined;
1234
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
1234
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
1235
1235
  deviceAppVersion?: string | null | undefined;
1236
1236
  webviewVersion?: string | null | undefined;
1237
1237
  operatingSystem?: string | null | undefined;
@@ -1333,7 +1333,7 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
1333
1333
  token: string;
1334
1334
  }, {
1335
1335
  name?: string | null | undefined;
1336
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
1336
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
1337
1337
  deviceAppVersion?: string | null | undefined;
1338
1338
  webviewVersion?: string | null | undefined;
1339
1339
  operatingSystem?: string | null | undefined;
@@ -1452,7 +1452,7 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
1452
1452
  } | null | undefined;
1453
1453
  devices?: {
1454
1454
  name?: string | null | undefined;
1455
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
1455
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
1456
1456
  deviceAppVersion?: string | null | undefined;
1457
1457
  webviewVersion?: string | null | undefined;
1458
1458
  operatingSystem?: string | null | undefined;
@@ -1562,7 +1562,7 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
1562
1562
  } | null | undefined;
1563
1563
  devices?: {
1564
1564
  name?: string | null | undefined;
1565
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
1565
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
1566
1566
  deviceAppVersion?: string | null | undefined;
1567
1567
  webviewVersion?: string | null | undefined;
1568
1568
  operatingSystem?: string | null | undefined;
@@ -2159,7 +2159,7 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
2159
2159
  merchantId: string;
2160
2160
  terminalId: string;
2161
2161
  }>>>;
2162
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
2162
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
2163
2163
  slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2164
2164
  pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2165
2165
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2170,7 +2170,7 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
2170
2170
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
2171
2171
  }, "strip", z.ZodTypeAny, {
2172
2172
  name?: string | null | undefined;
2173
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
2173
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
2174
2174
  deviceAppVersion?: string | null | undefined;
2175
2175
  webviewVersion?: string | null | undefined;
2176
2176
  operatingSystem?: string | null | undefined;
@@ -2272,7 +2272,7 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
2272
2272
  token: string;
2273
2273
  }, {
2274
2274
  name?: string | null | undefined;
2275
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
2275
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
2276
2276
  deviceAppVersion?: string | null | undefined;
2277
2277
  webviewVersion?: string | null | undefined;
2278
2278
  operatingSystem?: string | null | undefined;
@@ -2876,7 +2876,7 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
2876
2876
  merchantId: string;
2877
2877
  terminalId: string;
2878
2878
  }>>>;
2879
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
2879
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
2880
2880
  slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2881
2881
  pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2882
2882
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2887,7 +2887,7 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
2887
2887
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
2888
2888
  }, "strip", z.ZodTypeAny, {
2889
2889
  name?: string | null | undefined;
2890
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
2890
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
2891
2891
  deviceAppVersion?: string | null | undefined;
2892
2892
  webviewVersion?: string | null | undefined;
2893
2893
  operatingSystem?: string | null | undefined;
@@ -2989,7 +2989,7 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
2989
2989
  token: string;
2990
2990
  }, {
2991
2991
  name?: string | null | undefined;
2992
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
2992
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
2993
2993
  deviceAppVersion?: string | null | undefined;
2994
2994
  webviewVersion?: string | null | undefined;
2995
2995
  operatingSystem?: string | null | undefined;
@@ -3094,7 +3094,7 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
3094
3094
  _id: string;
3095
3095
  device: {
3096
3096
  name?: string | null | undefined;
3097
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
3097
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
3098
3098
  deviceAppVersion?: string | null | undefined;
3099
3099
  webviewVersion?: string | null | undefined;
3100
3100
  operatingSystem?: string | null | undefined;
@@ -3199,7 +3199,7 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
3199
3199
  _id: string;
3200
3200
  device: {
3201
3201
  name?: string | null | undefined;
3202
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
3202
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
3203
3203
  deviceAppVersion?: string | null | undefined;
3204
3204
  webviewVersion?: string | null | undefined;
3205
3205
  operatingSystem?: string | null | undefined;
@@ -2,7 +2,7 @@ import { z } from 'zod';
2
2
  export declare const KioskBindDto: z.ZodObject<{
3
3
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
4
4
  otp: z.ZodString;
5
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
5
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
6
6
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
7
  webviewVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
8
8
  operatingSystem: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -10,7 +10,7 @@ export declare const KioskBindDto: z.ZodObject<{
10
10
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
11
11
  }, "strip", z.ZodTypeAny, {
12
12
  name?: string | null | undefined;
13
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
13
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
14
14
  deviceAppVersion?: string | null | undefined;
15
15
  webviewVersion?: string | null | undefined;
16
16
  operatingSystem?: string | null | undefined;
@@ -19,7 +19,7 @@ export declare const KioskBindDto: z.ZodObject<{
19
19
  otp: string;
20
20
  }, {
21
21
  name?: string | null | undefined;
22
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
22
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
23
23
  deviceAppVersion?: string | null | undefined;
24
24
  webviewVersion?: string | null | undefined;
25
25
  operatingSystem?: string | null | undefined;
@@ -544,7 +544,7 @@ export declare const KioskDeviceDto: z.ZodObject<{
544
544
  merchantId: string;
545
545
  terminalId: string;
546
546
  }>>>;
547
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
547
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
548
548
  slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
549
549
  pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
550
550
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -555,7 +555,7 @@ export declare const KioskDeviceDto: z.ZodObject<{
555
555
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
556
556
  }, "strip", z.ZodTypeAny, {
557
557
  name?: string | null | undefined;
558
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
558
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
559
559
  deviceAppVersion?: string | null | undefined;
560
560
  webviewVersion?: string | null | undefined;
561
561
  operatingSystem?: string | null | undefined;
@@ -657,7 +657,7 @@ export declare const KioskDeviceDto: z.ZodObject<{
657
657
  };
658
658
  }, {
659
659
  name?: string | null | undefined;
660
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
660
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
661
661
  deviceAppVersion?: string | null | undefined;
662
662
  webviewVersion?: string | null | undefined;
663
663
  operatingSystem?: string | null | undefined;
@@ -1954,7 +1954,7 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
1954
1954
  merchantId: string;
1955
1955
  terminalId: string;
1956
1956
  }>>>;
1957
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
1957
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
1958
1958
  slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1959
1959
  pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1960
1960
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1965,7 +1965,7 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
1965
1965
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
1966
1966
  }, "strip", z.ZodTypeAny, {
1967
1967
  name?: string | null | undefined;
1968
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
1968
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
1969
1969
  deviceAppVersion?: string | null | undefined;
1970
1970
  webviewVersion?: string | null | undefined;
1971
1971
  operatingSystem?: string | null | undefined;
@@ -2067,7 +2067,7 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
2067
2067
  };
2068
2068
  }, {
2069
2069
  name?: string | null | undefined;
2070
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
2070
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
2071
2071
  deviceAppVersion?: string | null | undefined;
2072
2072
  webviewVersion?: string | null | undefined;
2073
2073
  operatingSystem?: string | null | undefined;
@@ -2186,7 +2186,7 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
2186
2186
  } | null | undefined;
2187
2187
  devices?: {
2188
2188
  name?: string | null | undefined;
2189
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
2189
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
2190
2190
  deviceAppVersion?: string | null | undefined;
2191
2191
  webviewVersion?: string | null | undefined;
2192
2192
  operatingSystem?: string | null | undefined;
@@ -2296,7 +2296,7 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
2296
2296
  } | null | undefined;
2297
2297
  devices?: {
2298
2298
  name?: string | null | undefined;
2299
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
2299
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
2300
2300
  deviceAppVersion?: string | null | undefined;
2301
2301
  webviewVersion?: string | null | undefined;
2302
2302
  operatingSystem?: string | null | undefined;
@@ -2893,7 +2893,7 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
2893
2893
  merchantId: string;
2894
2894
  terminalId: string;
2895
2895
  }>>>;
2896
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
2896
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
2897
2897
  slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2898
2898
  pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2899
2899
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -2904,7 +2904,7 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
2904
2904
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
2905
2905
  }, "strip", z.ZodTypeAny, {
2906
2906
  name?: string | null | undefined;
2907
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
2907
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
2908
2908
  deviceAppVersion?: string | null | undefined;
2909
2909
  webviewVersion?: string | null | undefined;
2910
2910
  operatingSystem?: string | null | undefined;
@@ -3006,7 +3006,7 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
3006
3006
  };
3007
3007
  }, {
3008
3008
  name?: string | null | undefined;
3009
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
3009
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
3010
3010
  deviceAppVersion?: string | null | undefined;
3011
3011
  webviewVersion?: string | null | undefined;
3012
3012
  operatingSystem?: string | null | undefined;
@@ -3610,7 +3610,7 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
3610
3610
  merchantId: string;
3611
3611
  terminalId: string;
3612
3612
  }>>>;
3613
- deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
3613
+ deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>>>;
3614
3614
  slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3615
3615
  pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3616
3616
  deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -3621,7 +3621,7 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
3621
3621
  lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
3622
3622
  }, "strip", z.ZodTypeAny, {
3623
3623
  name?: string | null | undefined;
3624
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
3624
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
3625
3625
  deviceAppVersion?: string | null | undefined;
3626
3626
  webviewVersion?: string | null | undefined;
3627
3627
  operatingSystem?: string | null | undefined;
@@ -3723,7 +3723,7 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
3723
3723
  };
3724
3724
  }, {
3725
3725
  name?: string | null | undefined;
3726
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
3726
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
3727
3727
  deviceAppVersion?: string | null | undefined;
3728
3728
  webviewVersion?: string | null | undefined;
3729
3729
  operatingSystem?: string | null | undefined;
@@ -3828,7 +3828,7 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
3828
3828
  _id: string;
3829
3829
  device: {
3830
3830
  name?: string | null | undefined;
3831
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
3831
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
3832
3832
  deviceAppVersion?: string | null | undefined;
3833
3833
  webviewVersion?: string | null | undefined;
3834
3834
  operatingSystem?: string | null | undefined;
@@ -3933,7 +3933,7 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
3933
3933
  _id: string;
3934
3934
  device: {
3935
3935
  name?: string | null | undefined;
3936
- deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
3936
+ deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP" | null | undefined;
3937
3937
  deviceAppVersion?: string | null | undefined;
3938
3938
  webviewVersion?: string | null | undefined;
3939
3939
  operatingSystem?: string | null | undefined;
@@ -872,6 +872,14 @@ export declare const OrderItemDto: z.ZodObject<{
872
872
  productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
873
873
  subItems: z.ZodArray<z.ZodType<_OrderItemSubItemDto, z.ZodTypeDef, _OrderItemSubItemDto>, "many">;
874
874
  quantity: z.ZodNumber;
875
+ /**
876
+ * Weight of a sold-by-weight item, in whole grams (the POS contract), e.g. 250.
877
+ * Only meaningful when the menu item has a `unit` and a `perXUnit`: the line is
878
+ * then priced price x unitQuantity / perXUnit and `quantity` is ignored.
879
+ * Null for every other item. The server keeps it only for a weighed menu item
880
+ * and only as a positive integer (`rectifyOrderItems`).
881
+ */
882
+ unitQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
875
883
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
876
884
  product: z.ZodObject<{
877
885
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1086,6 +1094,7 @@ export declare const OrderItemDto: z.ZodObject<{
1086
1094
  combinationKey: string;
1087
1095
  } | null | undefined;
1088
1096
  upsellingId?: string | null | undefined;
1097
+ unitQuantity?: number | null | undefined;
1089
1098
  is?: {
1090
1099
  delivery?: boolean | null | undefined;
1091
1100
  takeaway: boolean;
@@ -1155,6 +1164,7 @@ export declare const OrderItemDto: z.ZodObject<{
1155
1164
  combinationKey: string;
1156
1165
  } | null | undefined;
1157
1166
  upsellingId?: string | null | undefined;
1167
+ unitQuantity?: number | null | undefined;
1158
1168
  is?: {
1159
1169
  delivery?: boolean | null | undefined;
1160
1170
  takeaway: boolean;
@@ -1218,6 +1228,14 @@ export declare const OrderItemCustomerV1Dto: z.ZodObject<z.extendShape<{
1218
1228
  productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1219
1229
  subItems: z.ZodArray<z.ZodType<_OrderItemSubItemDto, z.ZodTypeDef, _OrderItemSubItemDto>, "many">;
1220
1230
  quantity: z.ZodNumber;
1231
+ /**
1232
+ * Weight of a sold-by-weight item, in whole grams (the POS contract), e.g. 250.
1233
+ * Only meaningful when the menu item has a `unit` and a `perXUnit`: the line is
1234
+ * then priced price x unitQuantity / perXUnit and `quantity` is ignored.
1235
+ * Null for every other item. The server keeps it only for a weighed menu item
1236
+ * and only as a positive integer (`rectifyOrderItems`).
1237
+ */
1238
+ unitQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
1221
1239
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1222
1240
  product: z.ZodObject<{
1223
1241
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -1434,6 +1452,7 @@ export declare const OrderItemCustomerV1Dto: z.ZodObject<z.extendShape<{
1434
1452
  combinationKey: string;
1435
1453
  } | null | undefined;
1436
1454
  upsellingId?: string | null | undefined;
1455
+ unitQuantity?: number | null | undefined;
1437
1456
  is?: {
1438
1457
  delivery?: boolean | null | undefined;
1439
1458
  takeaway: boolean;
@@ -1503,6 +1522,7 @@ export declare const OrderItemCustomerV1Dto: z.ZodObject<z.extendShape<{
1503
1522
  combinationKey: string;
1504
1523
  } | null | undefined;
1505
1524
  upsellingId?: string | null | undefined;
1525
+ unitQuantity?: number | null | undefined;
1506
1526
  is?: {
1507
1527
  delivery?: boolean | null | undefined;
1508
1528
  takeaway: boolean;
@@ -315,6 +315,14 @@ export declare const FdoOrderItem: z.ZodObject<{
315
315
  productId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
316
316
  subItems: z.ZodArray<z.ZodType<FdoOrderSubItem, z.ZodTypeDef, FdoOrderSubItem>, "many">;
317
317
  quantity: z.ZodNumber;
318
+ /**
319
+ * Weight of a sold-by-weight item, in whole grams (the POS contract), e.g. 250.
320
+ * Only meaningful when the menu item has a `unit` and a `perXUnit`: the line is
321
+ * then priced price x unitQuantity / perXUnit and `quantity` is ignored.
322
+ * Null for every other item. The server keeps it only for a weighed menu item
323
+ * and only as a positive integer (`rectifyOrderItems`).
324
+ */
325
+ unitQuantity: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
318
326
  remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
319
327
  product: z.ZodObject<{
320
328
  code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -898,6 +906,7 @@ export declare const FdoOrderItem: z.ZodObject<{
898
906
  combinationKey: string;
899
907
  } | null | undefined;
900
908
  upsellingId?: string | null | undefined;
909
+ unitQuantity?: number | null | undefined;
901
910
  is?: {
902
911
  delivery?: boolean | null | undefined;
903
912
  takeaway: boolean;
@@ -1048,6 +1057,7 @@ export declare const FdoOrderItem: z.ZodObject<{
1048
1057
  combinationKey: string;
1049
1058
  } | null | undefined;
1050
1059
  upsellingId?: string | null | undefined;
1060
+ unitQuantity?: number | null | undefined;
1051
1061
  is?: {
1052
1062
  delivery?: boolean | null | undefined;
1053
1063
  takeaway: boolean;
@@ -11465,7 +11475,7 @@ export declare const FdoOrderEffect: z.ZodLazy<z.ZodObject<z.extendShape<z.exten
11465
11475
  }>>;
11466
11476
  export declare const FdoOrderMetadata: z.ZodObject<{
11467
11477
  appVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11468
- orderPlatform: z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>;
11478
+ orderPlatform: z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN", "MINIPROGRAM_APP"]>;
11469
11479
  os: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11470
11480
  browser: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11471
11481
  orderType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -11473,6 +11483,8 @@ export declare const FdoOrderMetadata: z.ZodObject<{
11473
11483
  device: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11474
11484
  rawUserAgent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11475
11485
  nfcId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11486
+ appName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11487
+ appBuild: z.ZodNullable<z.ZodOptional<z.ZodString>>;
11476
11488
  }, "strip", z.ZodTypeAny, {
11477
11489
  appVersion?: string | null | undefined;
11478
11490
  device?: string | null | undefined;
@@ -11482,7 +11494,9 @@ export declare const FdoOrderMetadata: z.ZodObject<{
11482
11494
  kioskMachineId?: string | null | undefined;
11483
11495
  rawUserAgent?: string | null | undefined;
11484
11496
  nfcId?: string | null | undefined;
11485
- orderPlatform: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP";
11497
+ appName?: string | null | undefined;
11498
+ appBuild?: string | null | undefined;
11499
+ orderPlatform: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP";
11486
11500
  }, {
11487
11501
  appVersion?: string | null | undefined;
11488
11502
  device?: string | null | undefined;
@@ -11492,7 +11506,9 @@ export declare const FdoOrderMetadata: z.ZodObject<{
11492
11506
  kioskMachineId?: string | null | undefined;
11493
11507
  rawUserAgent?: string | null | undefined;
11494
11508
  nfcId?: string | null | undefined;
11495
- orderPlatform: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP";
11509
+ appName?: string | null | undefined;
11510
+ appBuild?: string | null | undefined;
11511
+ orderPlatform: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | "MINIPROGRAM_APP";
11496
11512
  }>;
11497
11513
  /**
11498
11514
  * How long a seat lock survives WITHOUT A HEARTBEAT before another attempt may steal it.