@feedmepos/mf-order-setting 0.0.26 → 0.0.27
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.
- package/dist/{KioskDevicesView-BiF6v7Zj.js → KioskDevicesView-AKvyDF3w.js} +1 -1
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-Cx8VMyNB.js +301 -0
- package/dist/{KioskSettingView-COhGcRtP.js → KioskSettingView-equ5EIvU.js} +3 -3
- package/dist/{KioskView-C1T-n1MY.js → KioskView-CsE7BGtA.js} +5 -5
- package/dist/OrderSettingsView-BpLXyk_0.js +49013 -0
- package/dist/{app-BfWp4ow3.js → app-D-zQN9_E.js} +293 -31
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-BHDLv42p.js → dayjs.min-CWQSmujV.js} +600 -619
- package/dist/frontend/mf-order/src/App.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/Entry.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/api/kiosk/index.d.ts +2 -0
- package/dist/frontend/mf-order/src/app.d.ts +264 -0
- package/dist/frontend/mf-order/src/components/GoogleMap.vue.d.ts +3 -5
- package/dist/frontend/mf-order/src/main.d.ts +7 -0
- package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +5 -1
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +16 -1
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +82 -0
- package/dist/frontend/mf-order/src/views/all-orders/ActionMenuCell.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/FilterRestaurant.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/all-orders/FilterStatus.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/FilterStatusMenu.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/UpdateDeliveryOrderDialog.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/KioskSummary.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/KioskView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceCard.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceDetail.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskOtpDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskUnbindConfirm.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDineInSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDisplayStandSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskMenuItemSection.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskSettingView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskTakeawaySection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliveryList.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/TaxInput.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/CurrencyInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryCustomTime.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryOrder.vue.d.ts +6 -141
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryTime.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/TimePicker.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/ZoneDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FeedmeDelivery.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaCampaignDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +5 -5
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialogContent.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/PaymentType.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/AddressInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/CustomPayment.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PaymentSidesheet.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialogContent.vue.d.ts +2 -137
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickupList.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/pickup/Preorder.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/RateInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DSCb3ndM.js → index-BXsnV_eO.js} +5 -5
- package/dist/{index-B5kfsi9C.js → index-BwrMcIf2.js} +2 -2
- package/dist/package/entity/cursor/cursor.dto.d.ts +2 -2
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +7 -7
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +22 -9
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +18 -18
- package/dist/package/entity/kiosk/kiosk.do.d.ts +32 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +79 -0
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +8 -8
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +4 -4
- package/dist/package/entity/order/menu/menu.dto.d.ts +12 -12
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +14 -8
- package/dist/package/entity/order/order.do.d.ts +19 -19
- package/dist/package/entity/order/order.dto.d.ts +134 -128
- package/dist/package/entity/order/order.enum.d.ts +2 -2
- package/dist/package/entity/order-platform/menu.dto.d.ts +31 -0
- package/dist/queue.do-F110q0_J.js +100389 -0
- package/package.json +3 -3
- package/src/api/kiosk/index.ts +9 -4
- package/src/app.ts +4 -1
- package/src/locales/th-TH.json +8 -1
- package/src/modules/kiosk/interface.ts +5 -1
- package/src/stores/kiosk/index.ts +9 -4
- package/src/stores/kiosk/mapper.ts +5 -1
- package/src/views/kiosk/devices/KioskDeviceCard.vue +202 -80
- package/src/views/order-settings/delivery/DeliverySetting.vue +1 -1
- package/src/views/order-settings/delivery/delivery.data.ts +2 -2
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +14 -2
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +2 -34
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +15 -12
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-1r_DBAc-.js +0 -207
- package/dist/OrderSettingsView-CI5bdVXr.js +0 -72108
- package/dist/queue.do-y-ubeoKZ.js +0 -122897
|
@@ -2,11 +2,17 @@ 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"]>>>;
|
|
6
|
+
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
7
|
}, "strip", z.ZodTypeAny, {
|
|
6
8
|
name?: string | null | undefined;
|
|
9
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
10
|
+
deviceAppVersion?: string | null | undefined;
|
|
7
11
|
otp: string;
|
|
8
12
|
}, {
|
|
9
13
|
name?: string | null | undefined;
|
|
14
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
15
|
+
deviceAppVersion?: string | null | undefined;
|
|
10
16
|
otp: string;
|
|
11
17
|
}>;
|
|
12
18
|
export declare const KioskBindResultDto: z.ZodObject<{
|
|
@@ -448,6 +454,10 @@ export declare const KioskDeviceDto: z.ZodObject<{
|
|
|
448
454
|
merchantId: string;
|
|
449
455
|
terminalId: string;
|
|
450
456
|
}>>>;
|
|
457
|
+
deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
|
|
458
|
+
slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
459
|
+
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
460
|
+
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
451
461
|
}, "strip", z.ZodTypeAny, {
|
|
452
462
|
name?: string | null | undefined;
|
|
453
463
|
printerInfo?: {
|
|
@@ -512,6 +522,10 @@ export declare const KioskDeviceDto: z.ZodObject<{
|
|
|
512
522
|
merchantId: string;
|
|
513
523
|
terminalId: string;
|
|
514
524
|
} | null | undefined;
|
|
525
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
526
|
+
slotInfo?: string | null | undefined;
|
|
527
|
+
deviceAppVersion?: string | null | undefined;
|
|
528
|
+
pinInfo?: string | null | undefined;
|
|
515
529
|
machineId: string;
|
|
516
530
|
token: string;
|
|
517
531
|
scannerInfo: {
|
|
@@ -600,6 +614,10 @@ export declare const KioskDeviceDto: z.ZodObject<{
|
|
|
600
614
|
merchantId: string;
|
|
601
615
|
terminalId: string;
|
|
602
616
|
} | null | undefined;
|
|
617
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
618
|
+
slotInfo?: string | null | undefined;
|
|
619
|
+
deviceAppVersion?: string | null | undefined;
|
|
620
|
+
pinInfo?: string | null | undefined;
|
|
603
621
|
machineId: string;
|
|
604
622
|
token: string;
|
|
605
623
|
}>;
|
|
@@ -1019,6 +1037,9 @@ export declare const KioskDeviceUpdateDto: z.ZodObject<{
|
|
|
1019
1037
|
merchantId: string;
|
|
1020
1038
|
terminalId: string;
|
|
1021
1039
|
}>>>;
|
|
1040
|
+
slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1041
|
+
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1042
|
+
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1022
1043
|
}, "strip", z.ZodTypeAny, {
|
|
1023
1044
|
scannerInfo?: {
|
|
1024
1045
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -1093,6 +1114,9 @@ export declare const KioskDeviceUpdateDto: z.ZodObject<{
|
|
|
1093
1114
|
merchantId: string;
|
|
1094
1115
|
terminalId: string;
|
|
1095
1116
|
} | null | undefined;
|
|
1117
|
+
slotInfo?: string | null | undefined;
|
|
1118
|
+
deviceAppVersion?: string | null | undefined;
|
|
1119
|
+
pinInfo?: string | null | undefined;
|
|
1096
1120
|
}, {
|
|
1097
1121
|
scannerInfo?: {
|
|
1098
1122
|
lensFacing?: "FRONT" | "BACK" | null | undefined;
|
|
@@ -1167,6 +1191,9 @@ export declare const KioskDeviceUpdateDto: z.ZodObject<{
|
|
|
1167
1191
|
merchantId: string;
|
|
1168
1192
|
terminalId: string;
|
|
1169
1193
|
} | null | undefined;
|
|
1194
|
+
slotInfo?: string | null | undefined;
|
|
1195
|
+
deviceAppVersion?: string | null | undefined;
|
|
1196
|
+
pinInfo?: string | null | undefined;
|
|
1170
1197
|
}>;
|
|
1171
1198
|
export declare const KioskOtpInfoDto: z.ZodObject<{
|
|
1172
1199
|
code: z.ZodString;
|
|
@@ -1599,6 +1626,10 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
1599
1626
|
merchantId: string;
|
|
1600
1627
|
terminalId: string;
|
|
1601
1628
|
}>>>;
|
|
1629
|
+
deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
|
|
1630
|
+
slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1631
|
+
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1632
|
+
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1602
1633
|
}, "strip", z.ZodTypeAny, {
|
|
1603
1634
|
name?: string | null | undefined;
|
|
1604
1635
|
printerInfo?: {
|
|
@@ -1663,6 +1694,10 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
1663
1694
|
merchantId: string;
|
|
1664
1695
|
terminalId: string;
|
|
1665
1696
|
} | null | undefined;
|
|
1697
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
1698
|
+
slotInfo?: string | null | undefined;
|
|
1699
|
+
deviceAppVersion?: string | null | undefined;
|
|
1700
|
+
pinInfo?: string | null | undefined;
|
|
1666
1701
|
machineId: string;
|
|
1667
1702
|
token: string;
|
|
1668
1703
|
scannerInfo: {
|
|
@@ -1751,6 +1786,10 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
1751
1786
|
merchantId: string;
|
|
1752
1787
|
terminalId: string;
|
|
1753
1788
|
} | null | undefined;
|
|
1789
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
1790
|
+
slotInfo?: string | null | undefined;
|
|
1791
|
+
deviceAppVersion?: string | null | undefined;
|
|
1792
|
+
pinInfo?: string | null | undefined;
|
|
1754
1793
|
machineId: string;
|
|
1755
1794
|
token: string;
|
|
1756
1795
|
}>, "many">>>;
|
|
@@ -1829,6 +1868,10 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
1829
1868
|
merchantId: string;
|
|
1830
1869
|
terminalId: string;
|
|
1831
1870
|
} | null | undefined;
|
|
1871
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
1872
|
+
slotInfo?: string | null | undefined;
|
|
1873
|
+
deviceAppVersion?: string | null | undefined;
|
|
1874
|
+
pinInfo?: string | null | undefined;
|
|
1832
1875
|
machineId: string;
|
|
1833
1876
|
token: string;
|
|
1834
1877
|
scannerInfo: {
|
|
@@ -1924,6 +1967,10 @@ export declare const KioskRestaurantSettingDto: z.ZodObject<{
|
|
|
1924
1967
|
merchantId: string;
|
|
1925
1968
|
terminalId: string;
|
|
1926
1969
|
} | null | undefined;
|
|
1970
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
1971
|
+
slotInfo?: string | null | undefined;
|
|
1972
|
+
deviceAppVersion?: string | null | undefined;
|
|
1973
|
+
pinInfo?: string | null | undefined;
|
|
1927
1974
|
machineId: string;
|
|
1928
1975
|
token: string;
|
|
1929
1976
|
}[] | null | undefined;
|
|
@@ -2354,6 +2401,10 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
2354
2401
|
merchantId: string;
|
|
2355
2402
|
terminalId: string;
|
|
2356
2403
|
}>>>;
|
|
2404
|
+
deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
|
|
2405
|
+
slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2406
|
+
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2407
|
+
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2357
2408
|
}, "strip", z.ZodTypeAny, {
|
|
2358
2409
|
name?: string | null | undefined;
|
|
2359
2410
|
printerInfo?: {
|
|
@@ -2418,6 +2469,10 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
2418
2469
|
merchantId: string;
|
|
2419
2470
|
terminalId: string;
|
|
2420
2471
|
} | null | undefined;
|
|
2472
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
2473
|
+
slotInfo?: string | null | undefined;
|
|
2474
|
+
deviceAppVersion?: string | null | undefined;
|
|
2475
|
+
pinInfo?: string | null | undefined;
|
|
2421
2476
|
machineId: string;
|
|
2422
2477
|
token: string;
|
|
2423
2478
|
scannerInfo: {
|
|
@@ -2506,6 +2561,10 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
2506
2561
|
merchantId: string;
|
|
2507
2562
|
terminalId: string;
|
|
2508
2563
|
} | null | undefined;
|
|
2564
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
2565
|
+
slotInfo?: string | null | undefined;
|
|
2566
|
+
deviceAppVersion?: string | null | undefined;
|
|
2567
|
+
pinInfo?: string | null | undefined;
|
|
2509
2568
|
machineId: string;
|
|
2510
2569
|
token: string;
|
|
2511
2570
|
}>, "many">>>;
|
|
@@ -2939,6 +2998,10 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
2939
2998
|
merchantId: string;
|
|
2940
2999
|
terminalId: string;
|
|
2941
3000
|
}>>>;
|
|
3001
|
+
deviceAppType: z.ZodNullable<z.ZodOptional<z.ZodEnum<["WEB_V2_APP", "WEB_V3_APP", "KIOSK_APP", "TABLET_APP", "UNKNOWN"]>>>;
|
|
3002
|
+
slotInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3003
|
+
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3004
|
+
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2942
3005
|
}, "strip", z.ZodTypeAny, {
|
|
2943
3006
|
name?: string | null | undefined;
|
|
2944
3007
|
printerInfo?: {
|
|
@@ -3003,6 +3066,10 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3003
3066
|
merchantId: string;
|
|
3004
3067
|
terminalId: string;
|
|
3005
3068
|
} | null | undefined;
|
|
3069
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
3070
|
+
slotInfo?: string | null | undefined;
|
|
3071
|
+
deviceAppVersion?: string | null | undefined;
|
|
3072
|
+
pinInfo?: string | null | undefined;
|
|
3006
3073
|
machineId: string;
|
|
3007
3074
|
token: string;
|
|
3008
3075
|
scannerInfo: {
|
|
@@ -3091,6 +3158,10 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3091
3158
|
merchantId: string;
|
|
3092
3159
|
terminalId: string;
|
|
3093
3160
|
} | null | undefined;
|
|
3161
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
3162
|
+
slotInfo?: string | null | undefined;
|
|
3163
|
+
deviceAppVersion?: string | null | undefined;
|
|
3164
|
+
pinInfo?: string | null | undefined;
|
|
3094
3165
|
machineId: string;
|
|
3095
3166
|
token: string;
|
|
3096
3167
|
}>;
|
|
@@ -3160,6 +3231,10 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3160
3231
|
merchantId: string;
|
|
3161
3232
|
terminalId: string;
|
|
3162
3233
|
} | null | undefined;
|
|
3234
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
3235
|
+
slotInfo?: string | null | undefined;
|
|
3236
|
+
deviceAppVersion?: string | null | undefined;
|
|
3237
|
+
pinInfo?: string | null | undefined;
|
|
3163
3238
|
machineId: string;
|
|
3164
3239
|
token: string;
|
|
3165
3240
|
scannerInfo: {
|
|
@@ -3251,6 +3326,10 @@ export declare const KioskRestaurantSettingByTokenDto: z.ZodObject<z.extendShape
|
|
|
3251
3326
|
merchantId: string;
|
|
3252
3327
|
terminalId: string;
|
|
3253
3328
|
} | null | undefined;
|
|
3329
|
+
deviceAppType?: "UNKNOWN" | "WEB_V2_APP" | "WEB_V3_APP" | "KIOSK_APP" | "TABLET_APP" | null | undefined;
|
|
3330
|
+
slotInfo?: string | null | undefined;
|
|
3331
|
+
deviceAppVersion?: string | null | undefined;
|
|
3332
|
+
pinInfo?: string | null | undefined;
|
|
3254
3333
|
machineId: string;
|
|
3255
3334
|
token: string;
|
|
3256
3335
|
};
|
|
@@ -14,12 +14,12 @@ export declare const FdoDineInQROption: z.ZodObject<z.extendShape<{
|
|
|
14
14
|
slot: z.ZodString;
|
|
15
15
|
}>, "strip", z.ZodTypeAny, {
|
|
16
16
|
session?: string | null | undefined;
|
|
17
|
-
type: "QR";
|
|
18
17
|
slot: string;
|
|
18
|
+
type: "QR";
|
|
19
19
|
}, {
|
|
20
20
|
session?: string | null | undefined;
|
|
21
|
-
type: "QR";
|
|
22
21
|
slot: string;
|
|
22
|
+
type: "QR";
|
|
23
23
|
}>;
|
|
24
24
|
export declare const FdoDineInQueueOption: z.ZodObject<z.extendShape<{
|
|
25
25
|
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY"]>;
|
|
@@ -119,12 +119,12 @@ export declare const FdoDineInTakeawayOption: z.ZodObject<z.extendShape<{
|
|
|
119
119
|
seqNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
120
120
|
}>, "strip", z.ZodTypeAny, {
|
|
121
121
|
seqNumber?: string | null | undefined;
|
|
122
|
-
type: "TAKEAWAY";
|
|
123
122
|
slot: string;
|
|
123
|
+
type: "TAKEAWAY";
|
|
124
124
|
}, {
|
|
125
125
|
seqNumber?: string | null | undefined;
|
|
126
|
-
type: "TAKEAWAY";
|
|
127
126
|
slot: string;
|
|
127
|
+
type: "TAKEAWAY";
|
|
128
128
|
}>;
|
|
129
129
|
export declare const FdoDineInSubOption: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
130
130
|
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY"]>;
|
|
@@ -134,12 +134,12 @@ export declare const FdoDineInSubOption: z.ZodDiscriminatedUnion<"type", z.Primi
|
|
|
134
134
|
slot: z.ZodString;
|
|
135
135
|
}>, "strip", z.ZodTypeAny, {
|
|
136
136
|
session?: string | null | undefined;
|
|
137
|
-
type: "QR";
|
|
138
137
|
slot: string;
|
|
138
|
+
type: "QR";
|
|
139
139
|
}, {
|
|
140
140
|
session?: string | null | undefined;
|
|
141
|
-
type: "QR";
|
|
142
141
|
slot: string;
|
|
142
|
+
type: "QR";
|
|
143
143
|
}> | z.ZodObject<z.extendShape<{
|
|
144
144
|
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY"]>;
|
|
145
145
|
}, {
|
|
@@ -236,12 +236,12 @@ export declare const FdoDineInSubOption: z.ZodDiscriminatedUnion<"type", z.Primi
|
|
|
236
236
|
seqNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
237
237
|
}>, "strip", z.ZodTypeAny, {
|
|
238
238
|
seqNumber?: string | null | undefined;
|
|
239
|
-
type: "TAKEAWAY";
|
|
240
239
|
slot: string;
|
|
240
|
+
type: "TAKEAWAY";
|
|
241
241
|
}, {
|
|
242
242
|
seqNumber?: string | null | undefined;
|
|
243
|
-
type: "TAKEAWAY";
|
|
244
243
|
slot: string;
|
|
244
|
+
type: "TAKEAWAY";
|
|
245
245
|
}>>;
|
|
246
246
|
export type FdoDineInQROption = z.infer<typeof FdoDineInQROption>;
|
|
247
247
|
export type FdoDineInQueueOption = z.infer<typeof FdoDineInQueueOption>;
|
|
@@ -7,12 +7,12 @@ export declare const OrderDineInSubOptionDto: z.ZodDiscriminatedUnion<"type", z.
|
|
|
7
7
|
slot: z.ZodString;
|
|
8
8
|
}>, "strip", z.ZodTypeAny, {
|
|
9
9
|
session?: string | null | undefined;
|
|
10
|
-
type: "QR";
|
|
11
10
|
slot: string;
|
|
11
|
+
type: "QR";
|
|
12
12
|
}, {
|
|
13
13
|
session?: string | null | undefined;
|
|
14
|
-
type: "QR";
|
|
15
14
|
slot: string;
|
|
15
|
+
type: "QR";
|
|
16
16
|
}> | z.ZodObject<z.extendShape<{
|
|
17
17
|
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY"]>;
|
|
18
18
|
}, {
|
|
@@ -49,11 +49,11 @@ export declare const OrderDineInSubOptionDto: z.ZodDiscriminatedUnion<"type", z.
|
|
|
49
49
|
seqNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
50
50
|
}>, "strip", z.ZodTypeAny, {
|
|
51
51
|
seqNumber?: string | null | undefined;
|
|
52
|
-
type: "TAKEAWAY";
|
|
53
52
|
slot: string;
|
|
53
|
+
type: "TAKEAWAY";
|
|
54
54
|
}, {
|
|
55
55
|
seqNumber?: string | null | undefined;
|
|
56
|
-
type: "TAKEAWAY";
|
|
57
56
|
slot: string;
|
|
57
|
+
type: "TAKEAWAY";
|
|
58
58
|
}>>;
|
|
59
59
|
export type OrderDineInSubOptionDto = z.infer<typeof OrderDineInSubOptionDto>;
|
|
@@ -15,12 +15,12 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
15
15
|
slot: z.ZodString;
|
|
16
16
|
}>, "strip", z.ZodTypeAny, {
|
|
17
17
|
session?: string | null | undefined;
|
|
18
|
-
type: "QR";
|
|
19
18
|
slot: string;
|
|
19
|
+
type: "QR";
|
|
20
20
|
}, {
|
|
21
21
|
session?: string | null | undefined;
|
|
22
|
-
type: "QR";
|
|
23
22
|
slot: string;
|
|
23
|
+
type: "QR";
|
|
24
24
|
}> | z.ZodObject<z.extendShape<{
|
|
25
25
|
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY"]>;
|
|
26
26
|
}, {
|
|
@@ -117,20 +117,20 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
117
117
|
seqNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
118
118
|
}>, "strip", z.ZodTypeAny, {
|
|
119
119
|
seqNumber?: string | null | undefined;
|
|
120
|
-
type: "TAKEAWAY";
|
|
121
120
|
slot: string;
|
|
121
|
+
type: "TAKEAWAY";
|
|
122
122
|
}, {
|
|
123
123
|
seqNumber?: string | null | undefined;
|
|
124
|
-
type: "TAKEAWAY";
|
|
125
124
|
slot: string;
|
|
125
|
+
type: "TAKEAWAY";
|
|
126
126
|
}>>;
|
|
127
127
|
}>, "strip", z.ZodTypeAny, {
|
|
128
128
|
remark?: string | null | undefined;
|
|
129
129
|
pax?: number | null | undefined;
|
|
130
130
|
sub: {
|
|
131
131
|
session?: string | null | undefined;
|
|
132
|
-
type: "QR";
|
|
133
132
|
slot: string;
|
|
133
|
+
type: "QR";
|
|
134
134
|
} | {
|
|
135
135
|
slot?: string | null | undefined;
|
|
136
136
|
type: "QUEUE";
|
|
@@ -153,8 +153,8 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
153
153
|
reservationId: string;
|
|
154
154
|
} | {
|
|
155
155
|
seqNumber?: string | null | undefined;
|
|
156
|
-
type: "TAKEAWAY";
|
|
157
156
|
slot: string;
|
|
157
|
+
type: "TAKEAWAY";
|
|
158
158
|
};
|
|
159
159
|
type: "DINE_IN";
|
|
160
160
|
}, {
|
|
@@ -162,8 +162,8 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
162
162
|
pax?: number | null | undefined;
|
|
163
163
|
sub: {
|
|
164
164
|
session?: string | null | undefined;
|
|
165
|
-
type: "QR";
|
|
166
165
|
slot: string;
|
|
166
|
+
type: "QR";
|
|
167
167
|
} | {
|
|
168
168
|
slot?: string | null | undefined;
|
|
169
169
|
type: "QUEUE";
|
|
@@ -186,8 +186,8 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
186
186
|
reservationId: string;
|
|
187
187
|
} | {
|
|
188
188
|
seqNumber?: string | null | undefined;
|
|
189
|
-
type: "TAKEAWAY";
|
|
190
189
|
slot: string;
|
|
190
|
+
type: "TAKEAWAY";
|
|
191
191
|
};
|
|
192
192
|
type: "DINE_IN";
|
|
193
193
|
}> | z.ZodObject<z.extendShape<{
|
|
@@ -1514,8 +1514,8 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
1514
1514
|
pax?: number | null | undefined;
|
|
1515
1515
|
sub: {
|
|
1516
1516
|
session?: string | null | undefined;
|
|
1517
|
-
type: "QR";
|
|
1518
1517
|
slot: string;
|
|
1518
|
+
type: "QR";
|
|
1519
1519
|
} | {
|
|
1520
1520
|
slot?: string | null | undefined;
|
|
1521
1521
|
type: "QUEUE";
|
|
@@ -1538,8 +1538,8 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
1538
1538
|
reservationId: string;
|
|
1539
1539
|
} | {
|
|
1540
1540
|
seqNumber?: string | null | undefined;
|
|
1541
|
-
type: "TAKEAWAY";
|
|
1542
1541
|
slot: string;
|
|
1542
|
+
type: "TAKEAWAY";
|
|
1543
1543
|
};
|
|
1544
1544
|
type: "DINE_IN";
|
|
1545
1545
|
} | {
|
|
@@ -1756,8 +1756,8 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
1756
1756
|
pax?: number | null | undefined;
|
|
1757
1757
|
sub: {
|
|
1758
1758
|
session?: string | null | undefined;
|
|
1759
|
-
type: "QR";
|
|
1760
1759
|
slot: string;
|
|
1760
|
+
type: "QR";
|
|
1761
1761
|
} | {
|
|
1762
1762
|
slot?: string | null | undefined;
|
|
1763
1763
|
type: "QUEUE";
|
|
@@ -1780,8 +1780,8 @@ export declare const FdtoOrderReadMenu: z.ZodObject<{
|
|
|
1780
1780
|
reservationId: string;
|
|
1781
1781
|
} | {
|
|
1782
1782
|
seqNumber?: string | null | undefined;
|
|
1783
|
-
type: "TAKEAWAY";
|
|
1784
1783
|
slot: string;
|
|
1784
|
+
type: "TAKEAWAY";
|
|
1785
1785
|
};
|
|
1786
1786
|
type: "DINE_IN";
|
|
1787
1787
|
} | {
|
|
@@ -2323,7 +2323,7 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2323
2323
|
};
|
|
2324
2324
|
}[];
|
|
2325
2325
|
}>;
|
|
2326
|
-
menu: z.ZodType<FdtoOverridedMenu, z.ZodTypeDef, FdtoOverridedMenu
|
|
2326
|
+
menu: z.ZodNullable<z.ZodOptional<z.ZodType<FdtoOverridedMenu, z.ZodTypeDef, FdtoOverridedMenu>>>;
|
|
2327
2327
|
roundToNearest: z.ZodOptional<z.ZodNumber>;
|
|
2328
2328
|
restaurant: z.ZodObject<{
|
|
2329
2329
|
_id: z.ZodString;
|
|
@@ -2336,8 +2336,8 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2336
2336
|
_id: string;
|
|
2337
2337
|
}>;
|
|
2338
2338
|
}, "strip", z.ZodTypeAny, {
|
|
2339
|
+
menu?: FdtoOverridedMenu | null | undefined;
|
|
2339
2340
|
roundToNearest?: number | undefined;
|
|
2340
|
-
menu: FdtoOverridedMenu;
|
|
2341
2341
|
restaurant: {
|
|
2342
2342
|
posVersion?: string | null | undefined;
|
|
2343
2343
|
_id: string;
|
|
@@ -2388,8 +2388,8 @@ export declare const FdtoMergeDraftOption: z.ZodObject<{
|
|
|
2388
2388
|
}[];
|
|
2389
2389
|
};
|
|
2390
2390
|
}, {
|
|
2391
|
+
menu?: FdtoOverridedMenu | null | undefined;
|
|
2391
2392
|
roundToNearest?: number | undefined;
|
|
2392
|
-
menu: FdtoOverridedMenu;
|
|
2393
2393
|
restaurant: {
|
|
2394
2394
|
posVersion?: string | null | undefined;
|
|
2395
2395
|
_id: string;
|
|
@@ -3506,7 +3506,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3506
3506
|
};
|
|
3507
3507
|
}[];
|
|
3508
3508
|
}>;
|
|
3509
|
-
menu: z.ZodType<FdtoOverridedMenu, z.ZodTypeDef, FdtoOverridedMenu
|
|
3509
|
+
menu: z.ZodNullable<z.ZodOptional<z.ZodType<FdtoOverridedMenu, z.ZodTypeDef, FdtoOverridedMenu>>>;
|
|
3510
3510
|
roundToNearest: z.ZodOptional<z.ZodNumber>;
|
|
3511
3511
|
restaurant: z.ZodObject<{
|
|
3512
3512
|
_id: z.ZodString;
|
|
@@ -3519,8 +3519,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3519
3519
|
_id: string;
|
|
3520
3520
|
}>;
|
|
3521
3521
|
}, "strip", z.ZodTypeAny, {
|
|
3522
|
+
menu?: FdtoOverridedMenu | null | undefined;
|
|
3522
3523
|
roundToNearest?: number | undefined;
|
|
3523
|
-
menu: FdtoOverridedMenu;
|
|
3524
3524
|
restaurant: {
|
|
3525
3525
|
posVersion?: string | null | undefined;
|
|
3526
3526
|
_id: string;
|
|
@@ -3571,8 +3571,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3571
3571
|
}[];
|
|
3572
3572
|
};
|
|
3573
3573
|
}, {
|
|
3574
|
+
menu?: FdtoOverridedMenu | null | undefined;
|
|
3574
3575
|
roundToNearest?: number | undefined;
|
|
3575
|
-
menu: FdtoOverridedMenu;
|
|
3576
3576
|
restaurant: {
|
|
3577
3577
|
posVersion?: string | null | undefined;
|
|
3578
3578
|
_id: string;
|
|
@@ -3939,6 +3939,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
3939
3939
|
completedAt?: string | null | undefined;
|
|
3940
3940
|
}>>>>;
|
|
3941
3941
|
servedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3942
|
+
collectedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3942
3943
|
printReceiptAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3943
3944
|
printBy: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3944
3945
|
user: z.ZodObject<{
|
|
@@ -4481,6 +4482,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4481
4482
|
}> | null | undefined;
|
|
4482
4483
|
productId?: string | null | undefined;
|
|
4483
4484
|
servedAt?: string | null | undefined;
|
|
4485
|
+
collectedAt?: string | null | undefined;
|
|
4484
4486
|
variantSelected?: {
|
|
4485
4487
|
name: string[];
|
|
4486
4488
|
combinationKey: string;
|
|
@@ -4713,6 +4715,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
4713
4715
|
}> | null | undefined;
|
|
4714
4716
|
productId?: string | null | undefined;
|
|
4715
4717
|
servedAt?: string | null | undefined;
|
|
4718
|
+
collectedAt?: string | null | undefined;
|
|
4716
4719
|
variantSelected?: {
|
|
4717
4720
|
name: string[];
|
|
4718
4721
|
combinationKey: string;
|
|
@@ -5062,8 +5065,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5062
5065
|
}>;
|
|
5063
5066
|
}[];
|
|
5064
5067
|
draftOption: {
|
|
5068
|
+
menu?: FdtoOverridedMenu | null | undefined;
|
|
5065
5069
|
roundToNearest?: number | undefined;
|
|
5066
|
-
menu: FdtoOverridedMenu;
|
|
5067
5070
|
restaurant: {
|
|
5068
5071
|
posVersion?: string | null | undefined;
|
|
5069
5072
|
_id: string;
|
|
@@ -5161,6 +5164,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5161
5164
|
completedAt?: string | null | undefined;
|
|
5162
5165
|
}> | null | undefined;
|
|
5163
5166
|
servedAt?: string | null | undefined;
|
|
5167
|
+
collectedAt?: string | null | undefined;
|
|
5164
5168
|
printReceiptAt?: string | null | undefined;
|
|
5165
5169
|
printBy?: {
|
|
5166
5170
|
user: {
|
|
@@ -5479,8 +5483,8 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5479
5483
|
}>;
|
|
5480
5484
|
}[];
|
|
5481
5485
|
draftOption: {
|
|
5486
|
+
menu?: FdtoOverridedMenu | null | undefined;
|
|
5482
5487
|
roundToNearest?: number | undefined;
|
|
5483
|
-
menu: FdtoOverridedMenu;
|
|
5484
5488
|
restaurant: {
|
|
5485
5489
|
posVersion?: string | null | undefined;
|
|
5486
5490
|
_id: string;
|
|
@@ -5548,6 +5552,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5548
5552
|
}> | null | undefined;
|
|
5549
5553
|
productId?: string | null | undefined;
|
|
5550
5554
|
servedAt?: string | null | undefined;
|
|
5555
|
+
collectedAt?: string | null | undefined;
|
|
5551
5556
|
variantSelected?: {
|
|
5552
5557
|
name: string[];
|
|
5553
5558
|
combinationKey: string;
|
|
@@ -5780,6 +5785,7 @@ export declare const FdtoMergeDraftRequest: z.ZodObject<{
|
|
|
5780
5785
|
}> | null | undefined;
|
|
5781
5786
|
productId?: string | null | undefined;
|
|
5782
5787
|
servedAt?: string | null | undefined;
|
|
5788
|
+
collectedAt?: string | null | undefined;
|
|
5783
5789
|
variantSelected?: {
|
|
5784
5790
|
name: string[];
|
|
5785
5791
|
combinationKey: string;
|