@feedmepos/mf-order-setting 0.0.34 → 0.0.36
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-BHzBoF_O.js → KioskDevicesView-wPKewwAS.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-C5JpMDP_.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BCJPU2la.js} +2 -2
- package/dist/{KioskSettingView-i8tgH3dF.js → KioskSettingView-CV54HpY2.js} +142 -140
- package/dist/{KioskView-DW7vX6rJ.js → KioskView-B4mggCt0.js} +4 -4
- package/dist/OrderSettingsView-CKGRFx_2.js +50624 -0
- package/dist/{app-C15xKXga.js → app-D4exdzAx.js} +20 -15
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-KE7XM_kc.js → dayjs.min-C_sCJHuD.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +5 -0
- package/dist/frontend/mf-order/src/main.d.ts +5 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +393 -393
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +75 -75
- package/dist/frontend/mf-order/src/stores/table-settings.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +50 -50
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +5 -0
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DGfFxIZo.js → index-Cvhc_ltu.js} +2 -2
- package/dist/menu.dto-CeUdKgTW.js +103445 -0
- package/dist/package/entity/booking/booking.do.d.ts +502 -502
- package/dist/package/entity/delivery/delivery.dto.d.ts +100 -100
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +17 -0
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +1973 -836
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +32 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +555 -555
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
- package/dist/package/entity/order/order.do.d.ts +5 -0
- package/dist/package/entity/order/order.dto.d.ts +208 -200
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +100 -100
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +100 -100
- package/dist/package/entity/order-platform/menu.dto.d.ts +410 -410
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +100 -100
- package/dist/package/entity/queue/queue.do.d.ts +34 -34
- package/package.json +3 -3
- package/src/locales/en-US.json +2 -0
- package/src/locales/th-TH.json +2 -0
- package/src/locales/zh-CN.json +1 -0
- package/src/stores/menu/menu.ts +1 -1
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +11 -1
- package/src/views/order-settings/delivery/DeliverySetting.vue +11 -16
- package/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue +26 -9
- package/src/views/order-settings/delivery/integrated-delivery/DeliverooSetting.vue +12 -1
- package/dist/OrderSettingsView-D3SQHET3.js +0 -74796
- package/dist/menu.dto-CLARGRsi.js +0 -126428
|
@@ -733,8 +733,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
733
733
|
};
|
|
734
734
|
}[] | null | undefined;
|
|
735
735
|
isDefault?: boolean | null | undefined;
|
|
736
|
-
combinationKey: string;
|
|
737
736
|
active: boolean;
|
|
737
|
+
combinationKey: string;
|
|
738
738
|
selectionName: string[];
|
|
739
739
|
}, {
|
|
740
740
|
code?: string | null | undefined;
|
|
@@ -762,8 +762,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
762
762
|
};
|
|
763
763
|
}[] | null | undefined;
|
|
764
764
|
isDefault?: boolean | null | undefined;
|
|
765
|
-
combinationKey: string;
|
|
766
765
|
active: boolean;
|
|
766
|
+
combinationKey: string;
|
|
767
767
|
selectionName: string[];
|
|
768
768
|
}>, "many">;
|
|
769
769
|
schedulerUsed: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -847,6 +847,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
847
847
|
printDepartments: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
848
848
|
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
849
849
|
}, "strip", z.ZodTypeAny, {
|
|
850
|
+
unit?: string | null | undefined;
|
|
850
851
|
description?: string | null | undefined;
|
|
851
852
|
name2?: string | null | undefined;
|
|
852
853
|
noSst?: boolean | null | undefined;
|
|
@@ -856,7 +857,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
856
857
|
systemCode: string;
|
|
857
858
|
taxCode: string;
|
|
858
859
|
}[] | null | undefined;
|
|
859
|
-
unit?: string | null | undefined;
|
|
860
860
|
customAttributes?: Record<string, any> | null | undefined;
|
|
861
861
|
thumbnail?: string | null | undefined;
|
|
862
862
|
inventoryBindings?: {
|
|
@@ -908,8 +908,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
908
908
|
schedulerUsed?: string | null | undefined;
|
|
909
909
|
printDepartments?: string[] | null | undefined;
|
|
910
910
|
code: string;
|
|
911
|
-
_id: string;
|
|
912
911
|
name: string;
|
|
912
|
+
_id: string;
|
|
913
913
|
price: {
|
|
914
914
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
915
915
|
amount: number;
|
|
@@ -945,11 +945,12 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
945
945
|
};
|
|
946
946
|
}[] | null | undefined;
|
|
947
947
|
isDefault?: boolean | null | undefined;
|
|
948
|
-
combinationKey: string;
|
|
949
948
|
active: boolean;
|
|
949
|
+
combinationKey: string;
|
|
950
950
|
selectionName: string[];
|
|
951
951
|
}[];
|
|
952
952
|
}, {
|
|
953
|
+
unit?: string | null | undefined;
|
|
953
954
|
description?: string | null | undefined;
|
|
954
955
|
name2?: string | null | undefined;
|
|
955
956
|
noSst?: boolean | null | undefined;
|
|
@@ -959,7 +960,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
959
960
|
systemCode: string;
|
|
960
961
|
taxCode: string;
|
|
961
962
|
}[] | null | undefined;
|
|
962
|
-
unit?: string | null | undefined;
|
|
963
963
|
customAttributes?: Record<string, any> | null | undefined;
|
|
964
964
|
thumbnail?: string | null | undefined;
|
|
965
965
|
inventoryBindings?: {
|
|
@@ -1011,8 +1011,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1011
1011
|
schedulerUsed?: string | null | undefined;
|
|
1012
1012
|
printDepartments?: string[] | null | undefined;
|
|
1013
1013
|
code: string;
|
|
1014
|
-
_id: string;
|
|
1015
1014
|
name: string;
|
|
1015
|
+
_id: string;
|
|
1016
1016
|
price: {
|
|
1017
1017
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1018
1018
|
amount: number;
|
|
@@ -1048,8 +1048,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1048
1048
|
};
|
|
1049
1049
|
}[] | null | undefined;
|
|
1050
1050
|
isDefault?: boolean | null | undefined;
|
|
1051
|
-
combinationKey: string;
|
|
1052
1051
|
active: boolean;
|
|
1052
|
+
combinationKey: string;
|
|
1053
1053
|
selectionName: string[];
|
|
1054
1054
|
}[];
|
|
1055
1055
|
}>;
|
|
@@ -1394,6 +1394,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1394
1394
|
};
|
|
1395
1395
|
subItems: import("../order/order.do").FdoOrderSubItem[];
|
|
1396
1396
|
_raw: {
|
|
1397
|
+
unit?: string | null | undefined;
|
|
1397
1398
|
description?: string | null | undefined;
|
|
1398
1399
|
name2?: string | null | undefined;
|
|
1399
1400
|
noSst?: boolean | null | undefined;
|
|
@@ -1403,7 +1404,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1403
1404
|
systemCode: string;
|
|
1404
1405
|
taxCode: string;
|
|
1405
1406
|
}[] | null | undefined;
|
|
1406
|
-
unit?: string | null | undefined;
|
|
1407
1407
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1408
1408
|
thumbnail?: string | null | undefined;
|
|
1409
1409
|
inventoryBindings?: {
|
|
@@ -1455,8 +1455,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1455
1455
|
schedulerUsed?: string | null | undefined;
|
|
1456
1456
|
printDepartments?: string[] | null | undefined;
|
|
1457
1457
|
code: string;
|
|
1458
|
-
_id: string;
|
|
1459
1458
|
name: string;
|
|
1459
|
+
_id: string;
|
|
1460
1460
|
price: {
|
|
1461
1461
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1462
1462
|
amount: number;
|
|
@@ -1492,8 +1492,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1492
1492
|
};
|
|
1493
1493
|
}[] | null | undefined;
|
|
1494
1494
|
isDefault?: boolean | null | undefined;
|
|
1495
|
-
combinationKey: string;
|
|
1496
1495
|
active: boolean;
|
|
1496
|
+
combinationKey: string;
|
|
1497
1497
|
selectionName: string[];
|
|
1498
1498
|
}[];
|
|
1499
1499
|
};
|
|
@@ -1578,6 +1578,7 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1578
1578
|
};
|
|
1579
1579
|
subItems: import("../order/order.do").FdoOrderSubItem[];
|
|
1580
1580
|
_raw: {
|
|
1581
|
+
unit?: string | null | undefined;
|
|
1581
1582
|
description?: string | null | undefined;
|
|
1582
1583
|
name2?: string | null | undefined;
|
|
1583
1584
|
noSst?: boolean | null | undefined;
|
|
@@ -1587,7 +1588,6 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1587
1588
|
systemCode: string;
|
|
1588
1589
|
taxCode: string;
|
|
1589
1590
|
}[] | null | undefined;
|
|
1590
|
-
unit?: string | null | undefined;
|
|
1591
1591
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1592
1592
|
thumbnail?: string | null | undefined;
|
|
1593
1593
|
inventoryBindings?: {
|
|
@@ -1639,8 +1639,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1639
1639
|
schedulerUsed?: string | null | undefined;
|
|
1640
1640
|
printDepartments?: string[] | null | undefined;
|
|
1641
1641
|
code: string;
|
|
1642
|
-
_id: string;
|
|
1643
1642
|
name: string;
|
|
1643
|
+
_id: string;
|
|
1644
1644
|
price: {
|
|
1645
1645
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
1646
1646
|
amount: number;
|
|
@@ -1676,8 +1676,8 @@ export declare const FdoRestaurantQueueProduct: z.ZodObject<{
|
|
|
1676
1676
|
};
|
|
1677
1677
|
}[] | null | undefined;
|
|
1678
1678
|
isDefault?: boolean | null | undefined;
|
|
1679
|
-
combinationKey: string;
|
|
1680
1679
|
active: boolean;
|
|
1680
|
+
combinationKey: string;
|
|
1681
1681
|
selectionName: string[];
|
|
1682
1682
|
}[];
|
|
1683
1683
|
};
|
|
@@ -2080,8 +2080,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2080
2080
|
};
|
|
2081
2081
|
}[] | null | undefined;
|
|
2082
2082
|
isDefault?: boolean | null | undefined;
|
|
2083
|
-
combinationKey: string;
|
|
2084
2083
|
active: boolean;
|
|
2084
|
+
combinationKey: string;
|
|
2085
2085
|
selectionName: string[];
|
|
2086
2086
|
}, {
|
|
2087
2087
|
code?: string | null | undefined;
|
|
@@ -2109,8 +2109,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2109
2109
|
};
|
|
2110
2110
|
}[] | null | undefined;
|
|
2111
2111
|
isDefault?: boolean | null | undefined;
|
|
2112
|
-
combinationKey: string;
|
|
2113
2112
|
active: boolean;
|
|
2113
|
+
combinationKey: string;
|
|
2114
2114
|
selectionName: string[];
|
|
2115
2115
|
}>, "many">;
|
|
2116
2116
|
schedulerUsed: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2194,6 +2194,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2194
2194
|
printDepartments: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
2195
2195
|
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2196
2196
|
}, "strip", z.ZodTypeAny, {
|
|
2197
|
+
unit?: string | null | undefined;
|
|
2197
2198
|
description?: string | null | undefined;
|
|
2198
2199
|
name2?: string | null | undefined;
|
|
2199
2200
|
noSst?: boolean | null | undefined;
|
|
@@ -2203,7 +2204,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2203
2204
|
systemCode: string;
|
|
2204
2205
|
taxCode: string;
|
|
2205
2206
|
}[] | null | undefined;
|
|
2206
|
-
unit?: string | null | undefined;
|
|
2207
2207
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2208
2208
|
thumbnail?: string | null | undefined;
|
|
2209
2209
|
inventoryBindings?: {
|
|
@@ -2255,8 +2255,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2255
2255
|
schedulerUsed?: string | null | undefined;
|
|
2256
2256
|
printDepartments?: string[] | null | undefined;
|
|
2257
2257
|
code: string;
|
|
2258
|
-
_id: string;
|
|
2259
2258
|
name: string;
|
|
2259
|
+
_id: string;
|
|
2260
2260
|
price: {
|
|
2261
2261
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2262
2262
|
amount: number;
|
|
@@ -2292,11 +2292,12 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2292
2292
|
};
|
|
2293
2293
|
}[] | null | undefined;
|
|
2294
2294
|
isDefault?: boolean | null | undefined;
|
|
2295
|
-
combinationKey: string;
|
|
2296
2295
|
active: boolean;
|
|
2296
|
+
combinationKey: string;
|
|
2297
2297
|
selectionName: string[];
|
|
2298
2298
|
}[];
|
|
2299
2299
|
}, {
|
|
2300
|
+
unit?: string | null | undefined;
|
|
2300
2301
|
description?: string | null | undefined;
|
|
2301
2302
|
name2?: string | null | undefined;
|
|
2302
2303
|
noSst?: boolean | null | undefined;
|
|
@@ -2306,7 +2307,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2306
2307
|
systemCode: string;
|
|
2307
2308
|
taxCode: string;
|
|
2308
2309
|
}[] | null | undefined;
|
|
2309
|
-
unit?: string | null | undefined;
|
|
2310
2310
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2311
2311
|
thumbnail?: string | null | undefined;
|
|
2312
2312
|
inventoryBindings?: {
|
|
@@ -2358,8 +2358,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2358
2358
|
schedulerUsed?: string | null | undefined;
|
|
2359
2359
|
printDepartments?: string[] | null | undefined;
|
|
2360
2360
|
code: string;
|
|
2361
|
-
_id: string;
|
|
2362
2361
|
name: string;
|
|
2362
|
+
_id: string;
|
|
2363
2363
|
price: {
|
|
2364
2364
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2365
2365
|
amount: number;
|
|
@@ -2395,8 +2395,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2395
2395
|
};
|
|
2396
2396
|
}[] | null | undefined;
|
|
2397
2397
|
isDefault?: boolean | null | undefined;
|
|
2398
|
-
combinationKey: string;
|
|
2399
2398
|
active: boolean;
|
|
2399
|
+
combinationKey: string;
|
|
2400
2400
|
selectionName: string[];
|
|
2401
2401
|
}[];
|
|
2402
2402
|
}>;
|
|
@@ -2741,6 +2741,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2741
2741
|
};
|
|
2742
2742
|
subItems: import("../order/order.do").FdoOrderSubItem[];
|
|
2743
2743
|
_raw: {
|
|
2744
|
+
unit?: string | null | undefined;
|
|
2744
2745
|
description?: string | null | undefined;
|
|
2745
2746
|
name2?: string | null | undefined;
|
|
2746
2747
|
noSst?: boolean | null | undefined;
|
|
@@ -2750,7 +2751,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2750
2751
|
systemCode: string;
|
|
2751
2752
|
taxCode: string;
|
|
2752
2753
|
}[] | null | undefined;
|
|
2753
|
-
unit?: string | null | undefined;
|
|
2754
2754
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2755
2755
|
thumbnail?: string | null | undefined;
|
|
2756
2756
|
inventoryBindings?: {
|
|
@@ -2802,8 +2802,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2802
2802
|
schedulerUsed?: string | null | undefined;
|
|
2803
2803
|
printDepartments?: string[] | null | undefined;
|
|
2804
2804
|
code: string;
|
|
2805
|
-
_id: string;
|
|
2806
2805
|
name: string;
|
|
2806
|
+
_id: string;
|
|
2807
2807
|
price: {
|
|
2808
2808
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2809
2809
|
amount: number;
|
|
@@ -2839,8 +2839,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2839
2839
|
};
|
|
2840
2840
|
}[] | null | undefined;
|
|
2841
2841
|
isDefault?: boolean | null | undefined;
|
|
2842
|
-
combinationKey: string;
|
|
2843
2842
|
active: boolean;
|
|
2843
|
+
combinationKey: string;
|
|
2844
2844
|
selectionName: string[];
|
|
2845
2845
|
}[];
|
|
2846
2846
|
};
|
|
@@ -2925,6 +2925,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2925
2925
|
};
|
|
2926
2926
|
subItems: import("../order/order.do").FdoOrderSubItem[];
|
|
2927
2927
|
_raw: {
|
|
2928
|
+
unit?: string | null | undefined;
|
|
2928
2929
|
description?: string | null | undefined;
|
|
2929
2930
|
name2?: string | null | undefined;
|
|
2930
2931
|
noSst?: boolean | null | undefined;
|
|
@@ -2934,7 +2935,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2934
2935
|
systemCode: string;
|
|
2935
2936
|
taxCode: string;
|
|
2936
2937
|
}[] | null | undefined;
|
|
2937
|
-
unit?: string | null | undefined;
|
|
2938
2938
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2939
2939
|
thumbnail?: string | null | undefined;
|
|
2940
2940
|
inventoryBindings?: {
|
|
@@ -2986,8 +2986,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
2986
2986
|
schedulerUsed?: string | null | undefined;
|
|
2987
2987
|
printDepartments?: string[] | null | undefined;
|
|
2988
2988
|
code: string;
|
|
2989
|
-
_id: string;
|
|
2990
2989
|
name: string;
|
|
2990
|
+
_id: string;
|
|
2991
2991
|
price: {
|
|
2992
2992
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
2993
2993
|
amount: number;
|
|
@@ -3023,8 +3023,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3023
3023
|
};
|
|
3024
3024
|
}[] | null | undefined;
|
|
3025
3025
|
isDefault?: boolean | null | undefined;
|
|
3026
|
-
combinationKey: string;
|
|
3027
3026
|
active: boolean;
|
|
3027
|
+
combinationKey: string;
|
|
3028
3028
|
selectionName: string[];
|
|
3029
3029
|
}[];
|
|
3030
3030
|
};
|
|
@@ -3130,6 +3130,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3130
3130
|
};
|
|
3131
3131
|
subItems: import("../order/order.do").FdoOrderSubItem[];
|
|
3132
3132
|
_raw: {
|
|
3133
|
+
unit?: string | null | undefined;
|
|
3133
3134
|
description?: string | null | undefined;
|
|
3134
3135
|
name2?: string | null | undefined;
|
|
3135
3136
|
noSst?: boolean | null | undefined;
|
|
@@ -3139,7 +3140,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3139
3140
|
systemCode: string;
|
|
3140
3141
|
taxCode: string;
|
|
3141
3142
|
}[] | null | undefined;
|
|
3142
|
-
unit?: string | null | undefined;
|
|
3143
3143
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3144
3144
|
thumbnail?: string | null | undefined;
|
|
3145
3145
|
inventoryBindings?: {
|
|
@@ -3191,8 +3191,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3191
3191
|
schedulerUsed?: string | null | undefined;
|
|
3192
3192
|
printDepartments?: string[] | null | undefined;
|
|
3193
3193
|
code: string;
|
|
3194
|
-
_id: string;
|
|
3195
3194
|
name: string;
|
|
3195
|
+
_id: string;
|
|
3196
3196
|
price: {
|
|
3197
3197
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
3198
3198
|
amount: number;
|
|
@@ -3228,8 +3228,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3228
3228
|
};
|
|
3229
3229
|
}[] | null | undefined;
|
|
3230
3230
|
isDefault?: boolean | null | undefined;
|
|
3231
|
-
combinationKey: string;
|
|
3232
3231
|
active: boolean;
|
|
3232
|
+
combinationKey: string;
|
|
3233
3233
|
selectionName: string[];
|
|
3234
3234
|
}[];
|
|
3235
3235
|
};
|
|
@@ -3335,6 +3335,7 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3335
3335
|
};
|
|
3336
3336
|
subItems: import("../order/order.do").FdoOrderSubItem[];
|
|
3337
3337
|
_raw: {
|
|
3338
|
+
unit?: string | null | undefined;
|
|
3338
3339
|
description?: string | null | undefined;
|
|
3339
3340
|
name2?: string | null | undefined;
|
|
3340
3341
|
noSst?: boolean | null | undefined;
|
|
@@ -3344,7 +3345,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3344
3345
|
systemCode: string;
|
|
3345
3346
|
taxCode: string;
|
|
3346
3347
|
}[] | null | undefined;
|
|
3347
|
-
unit?: string | null | undefined;
|
|
3348
3348
|
customAttributes?: Record<string, any> | null | undefined;
|
|
3349
3349
|
thumbnail?: string | null | undefined;
|
|
3350
3350
|
inventoryBindings?: {
|
|
@@ -3396,8 +3396,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3396
3396
|
schedulerUsed?: string | null | undefined;
|
|
3397
3397
|
printDepartments?: string[] | null | undefined;
|
|
3398
3398
|
code: string;
|
|
3399
|
-
_id: string;
|
|
3400
3399
|
name: string;
|
|
3400
|
+
_id: string;
|
|
3401
3401
|
price: {
|
|
3402
3402
|
currency: "ALL" | "MYR" | "AED" | "AFN" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
|
3403
3403
|
amount: number;
|
|
@@ -3433,8 +3433,8 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3433
3433
|
};
|
|
3434
3434
|
}[] | null | undefined;
|
|
3435
3435
|
isDefault?: boolean | null | undefined;
|
|
3436
|
-
combinationKey: string;
|
|
3437
3436
|
active: boolean;
|
|
3437
|
+
combinationKey: string;
|
|
3438
3438
|
selectionName: string[];
|
|
3439
3439
|
}[];
|
|
3440
3440
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-order-setting",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.36",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "./dist/app.js",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"format": "prettier --write src/"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@feedmepos/core": "^2.14.
|
|
30
|
-
"@feedmepos/menu": "^1.
|
|
29
|
+
"@feedmepos/core": "^2.14.35",
|
|
30
|
+
"@feedmepos/menu": "^1.7.6",
|
|
31
31
|
"@feedmepos/mf-common": "1.20.0-beta.2",
|
|
32
32
|
"@feedmepos/ordering": "^0.0.3",
|
|
33
33
|
"@feedmepos/ui-library": "1.5.2-beta.1",
|
package/src/locales/en-US.json
CHANGED
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"customerItemRemarkSublabel": "Customer can attach remark to item",
|
|
62
62
|
"customOfflinePayment": "Custom Offline Payment",
|
|
63
63
|
"customOfflinePaymentHeader": "Custom offline payments",
|
|
64
|
+
"customOrderNumber": "Custom order number",
|
|
64
65
|
"customServiceCharge": "Custom Service Charge",
|
|
65
66
|
"customTime": "Custom time",
|
|
66
67
|
"day": "Day",
|
|
@@ -196,6 +197,7 @@
|
|
|
196
197
|
"terminalScanPay": "Terminal Scan Pay",
|
|
197
198
|
"terminalQrPay": "Terminal QR Pay",
|
|
198
199
|
"rate": "Rate",
|
|
200
|
+
"rateLimitWarning": "Please wait for 1 minute and sync again.",
|
|
199
201
|
"remoteId": "Remote ID",
|
|
200
202
|
"restaurant": "Restaurant",
|
|
201
203
|
"restaurantAsPickupPoint": "Restaurant as pickup point",
|
package/src/locales/th-TH.json
CHANGED
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"customerItemRemarkSublabel": "ลูกค้าสามารถแนบหมายเหตุกับรายการได้",
|
|
62
62
|
"customOfflinePayment": "การชำระเงินออฟไลน์แบบกำหนดเอง",
|
|
63
63
|
"customOfflinePaymentHeader": "การชำระเงินออฟไลน์แบบกำหนดเอง",
|
|
64
|
+
"customOrderNumber": "หมายเลขคำสั่งซื้อแบบกำหนดเอง",
|
|
64
65
|
"customServiceCharge": "ค่าบริการแบบกำหนดเอง",
|
|
65
66
|
"customTime": "เวลาแบบกำหนดเอง",
|
|
66
67
|
"day": "วัน",
|
|
@@ -193,6 +194,7 @@
|
|
|
193
194
|
"terminalScanPay": "ชำระเงินด้วยการสแกนเทอร์มินัล",
|
|
194
195
|
"terminalQrPay": "ชำระเงินด้วย QR เทอร์มินัล",
|
|
195
196
|
"rate": "อัตรา",
|
|
197
|
+
"rateLimitWarning": "กรุณารอ 1 นาทีแล้วซิงค์อีกครั้ง",
|
|
196
198
|
"remoteId": "รหัสประจำตัวระยะไกล",
|
|
197
199
|
"restaurant": "ร้านอาหาร",
|
|
198
200
|
"restaurantAsPickupPoint": "ร้านอาหารเป็นจุดรับสินค้า",
|
package/src/locales/zh-CN.json
CHANGED
package/src/stores/menu/menu.ts
CHANGED
|
@@ -112,7 +112,7 @@ export const useMenuStore = defineStore('menu', {
|
|
|
112
112
|
|
|
113
113
|
},
|
|
114
114
|
catalogs(): FdoMenuV4Catalog[] {
|
|
115
|
-
const catalogs = this.
|
|
115
|
+
const catalogs = this.menu.modules.catalog;
|
|
116
116
|
return catalogs
|
|
117
117
|
},
|
|
118
118
|
currentCatalog: (state): FdoMenuV4Catalog | undefined => {
|
|
@@ -201,7 +201,9 @@ const handleEPaymentEWalletUpdate = () => {
|
|
|
201
201
|
},
|
|
202
202
|
eWallet: {
|
|
203
203
|
qrPay: false,
|
|
204
|
-
scanPay: false
|
|
204
|
+
scanPay: false,
|
|
205
|
+
terminalScanPay: false,
|
|
206
|
+
terminalQrPay: false,
|
|
205
207
|
}
|
|
206
208
|
} as FdoEPaymentMethod
|
|
207
209
|
|
|
@@ -223,6 +225,14 @@ const handleEPaymentEWalletUpdate = () => {
|
|
|
223
225
|
if (eWalletPaymentCheckboxVal.value.includes(F_ORDER_E_PAYMENT_TYPE.enum.SCANPAY)) {
|
|
224
226
|
ePaymentObj.eWallet.scanPay = true
|
|
225
227
|
}
|
|
228
|
+
|
|
229
|
+
if (eWalletPaymentCheckboxVal.value.includes(F_ORDER_E_PAYMENT_TYPE.enum.TERMINAL_SCAN_PAY)) {
|
|
230
|
+
ePaymentObj.eWallet.terminalScanPay = true
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if (eWalletPaymentCheckboxVal.value.includes(F_ORDER_E_PAYMENT_TYPE.enum.TERMINAL_QR_PAY)) {
|
|
234
|
+
ePaymentObj.eWallet.terminalQrPay = true
|
|
235
|
+
}
|
|
226
236
|
}
|
|
227
237
|
|
|
228
238
|
emits('update:ePaymentTypes', ePaymentObj)
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
@update:model-value="handleModelValueUpdateExternal"
|
|
90
90
|
/>
|
|
91
91
|
|
|
92
|
-
<template #side-sheet-footer v-if="
|
|
92
|
+
<template #side-sheet-footer v-if="canSave">
|
|
93
93
|
<div class="flex gap-8 items-center justify-start">
|
|
94
94
|
<FmButton
|
|
95
95
|
variant="primary"
|
|
@@ -555,18 +555,7 @@ function hasPurchaseFeature(deliveryType: string) {
|
|
|
555
555
|
|
|
556
556
|
const canUseAutoDeliveryIntegration = (client: string) => {
|
|
557
557
|
const hasFeature = hasPurchaseFeature(client)
|
|
558
|
-
|
|
559
|
-
return hasFeature
|
|
560
|
-
}
|
|
561
|
-
switch (client) {
|
|
562
|
-
case 'deliveroo':
|
|
563
|
-
return (
|
|
564
|
-
currentCountry.value === F_COUNTRY.enum.SG ||
|
|
565
|
-
`${t('order.autoIntegrationCountryNotSupport')}`
|
|
566
|
-
)
|
|
567
|
-
default:
|
|
568
|
-
return true
|
|
569
|
-
}
|
|
558
|
+
return hasFeature
|
|
570
559
|
}
|
|
571
560
|
|
|
572
561
|
const integratedCompanies = computed<IntegratedDeliveryRow[]>(() => {
|
|
@@ -818,7 +807,7 @@ async function createOrUpdateManualDeliveryDoc({
|
|
|
818
807
|
company: DeliveryCompany
|
|
819
808
|
data: FdoLinkedDelivery
|
|
820
809
|
}): Promise<LinkedDeliveryDoc | undefined> {
|
|
821
|
-
const { paymentTypeKey, catalogId, rounding } = data
|
|
810
|
+
const { paymentTypeKey, catalogId, rounding, useCustomOrderNumber } = data
|
|
822
811
|
let newDoc: LinkedDeliveryDoc
|
|
823
812
|
|
|
824
813
|
if (doc) {
|
|
@@ -826,14 +815,16 @@ async function createOrUpdateManualDeliveryDoc({
|
|
|
826
815
|
...doc,
|
|
827
816
|
paymentTypeKey,
|
|
828
817
|
catalogId,
|
|
829
|
-
rounding
|
|
818
|
+
rounding,
|
|
819
|
+
useCustomOrderNumber
|
|
830
820
|
})
|
|
831
821
|
} else {
|
|
832
822
|
newDoc = await remoteOrderApi.createDeliveryCompany({
|
|
833
823
|
...company,
|
|
834
824
|
paymentTypeKey,
|
|
835
825
|
catalogId,
|
|
836
|
-
rounding
|
|
826
|
+
rounding,
|
|
827
|
+
useCustomOrderNumber
|
|
837
828
|
})
|
|
838
829
|
}
|
|
839
830
|
|
|
@@ -986,6 +977,10 @@ function handleModelValueUpdateExternal(v: any) {
|
|
|
986
977
|
}
|
|
987
978
|
|
|
988
979
|
const feedmeValidate = ref<boolean | null>(null)
|
|
980
|
+
const canSave = computed(() => {
|
|
981
|
+
return !feedMeComponentProps.value?.key || feedmeValidate.value !== false
|
|
982
|
+
})
|
|
983
|
+
|
|
989
984
|
function handleValidationResult(v: boolean) {
|
|
990
985
|
feedmeValidate.value = v
|
|
991
986
|
}
|