@feedmepos/mf-order-setting 0.0.50 → 0.0.52-dev.0
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/.tsbuildinfo +1 -0
- package/dist/{KioskDevicesView-u14hzPbE.js → KioskDevicesView-Vy9FLX1n.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DBgRDIoS.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DhZPOEEQ.js} +2 -2
- package/dist/{KioskSettingView-DmvtZcV1.js → KioskSettingView-cE-JdCBB.js} +206 -208
- package/dist/{KioskView-M8V91gD5.js → KioskView-BYs5bem0.js} +4 -4
- package/dist/OrderSettingsView-C4aEpC1j.js +56063 -0
- package/dist/{app-CLewMjcd.js → app-CwYXsqxX.js} +184 -20
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DCTYRWyD.js → dayjs.min-JEYIJz2D.js} +1 -1
- package/dist/frontend/mf-order/src/api/reservation/index.d.ts +8 -0
- package/dist/frontend/mf-order/src/app.d.ts +164 -0
- package/dist/frontend/mf-order/src/main.d.ts +164 -0
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +3 -3
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CopySettingsSheet.vue.d.ts +186 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomSelect.vue.d.ts +15 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomTimePicker.vue.d.ts +10 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/ReservationSetting.vue.d.ts +2 -0
- package/dist/{index-B7LtJeBJ.js → index-DZCjODMx.js} +2 -2
- package/dist/{menu.dto-Co7iXHNr.js → menu.dto-D9CDVLiP.js} +22865 -20028
- package/dist/package/entity/food-court/order.do.d.ts +47 -2
- package/dist/package/entity/food-court/order.dto.d.ts +0 -3
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +12356 -1
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +3 -22266
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +18 -0
- package/dist/package/entity/index.d.ts +5 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1 -19864
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +24 -3714
- package/dist/package/entity/order/order.do.d.ts +8 -0
- package/dist/package/entity/order/order.dto.d.ts +118 -0
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +20 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +23 -0
- package/dist/package/entity/order-platform/menu.dto.d.ts +34 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +861 -0
- package/dist/package/entity/order-setting/reservationV2/reservation.do.d.ts +1269 -0
- package/dist/package/entity/queue/queue.do.d.ts +1 -11
- package/dist/package/entity/queue/queue.dto.d.ts +25 -0
- package/dist/package/entity/reservation/reservation.do.d.ts +101 -0
- package/dist/package/entity/reservation/reservation.dto.d.ts +325 -0
- package/dist/package/entity/reservation/reservation.enum.d.ts +3 -0
- package/dist/package/entity/reservation/reservation.utils.d.ts +152 -0
- package/dist/style.css +1 -0
- package/package.json +3 -3
- package/src/api/reservation/index.ts +28 -0
- package/src/assets/images/not-found.png +0 -0
- package/src/locales/en-US.json +56 -0
- package/src/locales/th-TH.json +54 -0
- package/src/locales/zh-CN.json +54 -0
- package/src/main.ts +7 -5
- package/src/stores/order-setting/mapper.ts +50 -50
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +1 -19
- package/src/views/order-settings/OrderSettingsView.vue +7 -2
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +3 -1
- package/src/views/order-settings/drive-thru/DriveThruSetting.vue +13 -28
- package/src/views/order-settings/reservation/CopySettingsSheet.vue +238 -0
- package/src/views/order-settings/reservation/CustomSelect.vue +99 -0
- package/src/views/order-settings/reservation/CustomTimePicker.vue +201 -0
- package/src/views/order-settings/reservation/ReservationSetting.vue +1246 -0
- package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +5 -1
- package/tsconfig.app.json +8 -6
- package/dist/OrderSettingsView-Bl3LshG3.js +0 -51603
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +0 -1
|
@@ -3456,16 +3456,6 @@ export declare const FdoRestaurantQueueCart: z.ZodObject<{
|
|
|
3456
3456
|
}>;
|
|
3457
3457
|
export type FdoRestaurantQueueCart = z.infer<typeof FdoRestaurantQueueCart>;
|
|
3458
3458
|
export declare const FdoRestaurantQueue: z.AnyZodObject;
|
|
3459
|
-
export declare const FdoRestaurantQueues: z.
|
|
3460
|
-
queues: z.ZodArray<z.AnyZodObject, "many">;
|
|
3461
|
-
}, "strip", z.ZodTypeAny, {
|
|
3462
|
-
queues: {
|
|
3463
|
-
[x: string]: any;
|
|
3464
|
-
}[];
|
|
3465
|
-
}, {
|
|
3466
|
-
queues: {
|
|
3467
|
-
[x: string]: any;
|
|
3468
|
-
}[];
|
|
3469
|
-
}>;
|
|
3459
|
+
export declare const FdoRestaurantQueues: z.AnyZodObject;
|
|
3470
3460
|
export type FdoRestaurantQueue = z.infer<typeof FdoRestaurantQueue>;
|
|
3471
3461
|
export type FdoRestaurantQueues = z.infer<typeof FdoRestaurantQueues>;
|
|
@@ -1420,6 +1420,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1420
1420
|
minPrice?: any;
|
|
1421
1421
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1422
1422
|
subCategories?: string[] | null | undefined;
|
|
1423
|
+
shelfLife?: number | null | undefined;
|
|
1423
1424
|
name: string;
|
|
1424
1425
|
} | null | undefined;
|
|
1425
1426
|
variantSelected?: {
|
|
@@ -1470,6 +1471,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1470
1471
|
minPrice?: any;
|
|
1471
1472
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1472
1473
|
subCategories?: string[] | null | undefined;
|
|
1474
|
+
shelfLife?: number | null | undefined;
|
|
1473
1475
|
name: string;
|
|
1474
1476
|
} | null | undefined;
|
|
1475
1477
|
variantSelected?: {
|
|
@@ -1520,6 +1522,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1520
1522
|
minPrice?: any;
|
|
1521
1523
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1522
1524
|
subCategories?: string[] | null | undefined;
|
|
1525
|
+
shelfLife?: number | null | undefined;
|
|
1523
1526
|
name: string;
|
|
1524
1527
|
} | null | undefined;
|
|
1525
1528
|
variantSelected?: {
|
|
@@ -1570,6 +1573,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1570
1573
|
minPrice?: any;
|
|
1571
1574
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1572
1575
|
subCategories?: string[] | null | undefined;
|
|
1576
|
+
shelfLife?: number | null | undefined;
|
|
1573
1577
|
name: string;
|
|
1574
1578
|
} | null | undefined;
|
|
1575
1579
|
variantSelected?: {
|
|
@@ -1640,6 +1644,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1640
1644
|
costing: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
1641
1645
|
minPrice: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
1642
1646
|
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1647
|
+
shelfLife: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1643
1648
|
subCategories: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1644
1649
|
}, "strip", z.ZodTypeAny, {
|
|
1645
1650
|
code?: string | null | undefined;
|
|
@@ -1668,6 +1673,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1668
1673
|
minPrice?: any;
|
|
1669
1674
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1670
1675
|
subCategories?: string[] | null | undefined;
|
|
1676
|
+
shelfLife?: number | null | undefined;
|
|
1671
1677
|
name: string;
|
|
1672
1678
|
price: {
|
|
1673
1679
|
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";
|
|
@@ -1701,6 +1707,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1701
1707
|
minPrice?: any;
|
|
1702
1708
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1703
1709
|
subCategories?: string[] | null | undefined;
|
|
1710
|
+
shelfLife?: number | null | undefined;
|
|
1704
1711
|
name: string;
|
|
1705
1712
|
price: {
|
|
1706
1713
|
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";
|
|
@@ -1793,6 +1800,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1793
1800
|
minPrice?: any;
|
|
1794
1801
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1795
1802
|
subCategories?: string[] | null | undefined;
|
|
1803
|
+
shelfLife?: number | null | undefined;
|
|
1796
1804
|
name: string;
|
|
1797
1805
|
price: {
|
|
1798
1806
|
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";
|
|
@@ -1839,6 +1847,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1839
1847
|
minPrice?: any;
|
|
1840
1848
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1841
1849
|
subCategories?: string[] | null | undefined;
|
|
1850
|
+
shelfLife?: number | null | undefined;
|
|
1842
1851
|
name: string;
|
|
1843
1852
|
} | null | undefined;
|
|
1844
1853
|
variantSelected?: {
|
|
@@ -1889,6 +1898,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1889
1898
|
minPrice?: any;
|
|
1890
1899
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1891
1900
|
subCategories?: string[] | null | undefined;
|
|
1901
|
+
shelfLife?: number | null | undefined;
|
|
1892
1902
|
name: string;
|
|
1893
1903
|
} | null | undefined;
|
|
1894
1904
|
variantSelected?: {
|
|
@@ -1951,6 +1961,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1951
1961
|
minPrice?: any;
|
|
1952
1962
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1953
1963
|
subCategories?: string[] | null | undefined;
|
|
1964
|
+
shelfLife?: number | null | undefined;
|
|
1954
1965
|
name: string;
|
|
1955
1966
|
price: {
|
|
1956
1967
|
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";
|
|
@@ -1997,6 +2008,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
1997
2008
|
minPrice?: any;
|
|
1998
2009
|
customAttributes?: Record<string, any> | null | undefined;
|
|
1999
2010
|
subCategories?: string[] | null | undefined;
|
|
2011
|
+
shelfLife?: number | null | undefined;
|
|
2000
2012
|
name: string;
|
|
2001
2013
|
} | null | undefined;
|
|
2002
2014
|
variantSelected?: {
|
|
@@ -2047,6 +2059,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
2047
2059
|
minPrice?: any;
|
|
2048
2060
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2049
2061
|
subCategories?: string[] | null | undefined;
|
|
2062
|
+
shelfLife?: number | null | undefined;
|
|
2050
2063
|
name: string;
|
|
2051
2064
|
} | null | undefined;
|
|
2052
2065
|
variantSelected?: {
|
|
@@ -5866,6 +5879,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
5866
5879
|
minPrice?: any;
|
|
5867
5880
|
customAttributes?: Record<string, any> | null | undefined;
|
|
5868
5881
|
subCategories?: string[] | null | undefined;
|
|
5882
|
+
shelfLife?: number | null | undefined;
|
|
5869
5883
|
name: string;
|
|
5870
5884
|
price: {
|
|
5871
5885
|
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";
|
|
@@ -5912,6 +5926,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
5912
5926
|
minPrice?: any;
|
|
5913
5927
|
customAttributes?: Record<string, any> | null | undefined;
|
|
5914
5928
|
subCategories?: string[] | null | undefined;
|
|
5929
|
+
shelfLife?: number | null | undefined;
|
|
5915
5930
|
name: string;
|
|
5916
5931
|
} | null | undefined;
|
|
5917
5932
|
variantSelected?: {
|
|
@@ -5962,6 +5977,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
5962
5977
|
minPrice?: any;
|
|
5963
5978
|
customAttributes?: Record<string, any> | null | undefined;
|
|
5964
5979
|
subCategories?: string[] | null | undefined;
|
|
5980
|
+
shelfLife?: number | null | undefined;
|
|
5965
5981
|
name: string;
|
|
5966
5982
|
} | null | undefined;
|
|
5967
5983
|
variantSelected?: {
|
|
@@ -6646,6 +6662,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
6646
6662
|
minPrice?: any;
|
|
6647
6663
|
customAttributes?: Record<string, any> | null | undefined;
|
|
6648
6664
|
subCategories?: string[] | null | undefined;
|
|
6665
|
+
shelfLife?: number | null | undefined;
|
|
6649
6666
|
name: string;
|
|
6650
6667
|
price: {
|
|
6651
6668
|
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";
|
|
@@ -6692,6 +6709,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
6692
6709
|
minPrice?: any;
|
|
6693
6710
|
customAttributes?: Record<string, any> | null | undefined;
|
|
6694
6711
|
subCategories?: string[] | null | undefined;
|
|
6712
|
+
shelfLife?: number | null | undefined;
|
|
6695
6713
|
name: string;
|
|
6696
6714
|
} | null | undefined;
|
|
6697
6715
|
variantSelected?: {
|
|
@@ -6742,6 +6760,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
6742
6760
|
minPrice?: any;
|
|
6743
6761
|
customAttributes?: Record<string, any> | null | undefined;
|
|
6744
6762
|
subCategories?: string[] | null | undefined;
|
|
6763
|
+
shelfLife?: number | null | undefined;
|
|
6745
6764
|
name: string;
|
|
6746
6765
|
} | null | undefined;
|
|
6747
6766
|
variantSelected?: {
|
|
@@ -7248,6 +7267,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
7248
7267
|
minPrice?: any;
|
|
7249
7268
|
customAttributes?: Record<string, any> | null | undefined;
|
|
7250
7269
|
subCategories?: string[] | null | undefined;
|
|
7270
|
+
shelfLife?: number | null | undefined;
|
|
7251
7271
|
name: string;
|
|
7252
7272
|
price: {
|
|
7253
7273
|
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";
|
|
@@ -7294,6 +7314,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
7294
7314
|
minPrice?: any;
|
|
7295
7315
|
customAttributes?: Record<string, any> | null | undefined;
|
|
7296
7316
|
subCategories?: string[] | null | undefined;
|
|
7317
|
+
shelfLife?: number | null | undefined;
|
|
7297
7318
|
name: string;
|
|
7298
7319
|
} | null | undefined;
|
|
7299
7320
|
variantSelected?: {
|
|
@@ -7344,6 +7365,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
7344
7365
|
minPrice?: any;
|
|
7345
7366
|
customAttributes?: Record<string, any> | null | undefined;
|
|
7346
7367
|
subCategories?: string[] | null | undefined;
|
|
7368
|
+
shelfLife?: number | null | undefined;
|
|
7347
7369
|
name: string;
|
|
7348
7370
|
} | null | undefined;
|
|
7349
7371
|
variantSelected?: {
|
|
@@ -8164,6 +8186,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
8164
8186
|
minPrice?: any;
|
|
8165
8187
|
customAttributes?: Record<string, any> | null | undefined;
|
|
8166
8188
|
subCategories?: string[] | null | undefined;
|
|
8189
|
+
shelfLife?: number | null | undefined;
|
|
8167
8190
|
name: string;
|
|
8168
8191
|
price: {
|
|
8169
8192
|
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";
|
|
@@ -8210,6 +8233,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
8210
8233
|
minPrice?: any;
|
|
8211
8234
|
customAttributes?: Record<string, any> | null | undefined;
|
|
8212
8235
|
subCategories?: string[] | null | undefined;
|
|
8236
|
+
shelfLife?: number | null | undefined;
|
|
8213
8237
|
name: string;
|
|
8214
8238
|
} | null | undefined;
|
|
8215
8239
|
variantSelected?: {
|
|
@@ -8260,6 +8284,7 @@ export declare const RestaurantQueueDto: z.ZodObject<{
|
|
|
8260
8284
|
minPrice?: any;
|
|
8261
8285
|
customAttributes?: Record<string, any> | null | undefined;
|
|
8262
8286
|
subCategories?: string[] | null | undefined;
|
|
8287
|
+
shelfLife?: number | null | undefined;
|
|
8263
8288
|
name: string;
|
|
8264
8289
|
} | null | undefined;
|
|
8265
8290
|
variantSelected?: {
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
/** Guest preference value - supports text, single select (radio), and multi select (checkbox) */
|
|
3
|
+
export declare const FdoGuestPreferenceValue: z.ZodObject<{
|
|
4
|
+
/** The preference name (matches FdoReservationPreference.name) */
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
/** The customer's selection - string for text/radio, array for checkbox */
|
|
7
|
+
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
name: string;
|
|
10
|
+
value: string | string[];
|
|
11
|
+
}, {
|
|
12
|
+
name: string;
|
|
13
|
+
value: string | string[];
|
|
14
|
+
}>;
|
|
15
|
+
export type FdoGuestPreferenceValue = z.infer<typeof FdoGuestPreferenceValue>;
|
|
16
|
+
export declare const FdoRestaurantReservation: z.ZodObject<{
|
|
17
|
+
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
18
|
+
status: z.ZodEnum<["DRAFT", "CONFIRMED", "CANCELLED", "SEATED", "NO_SHOW"]>;
|
|
19
|
+
/** * The timestamp until which this slot is held/blocked for the user.
|
|
20
|
+
* If the current time > reservedUntil and status is DRAFT,
|
|
21
|
+
* the inventory is released back to the public.
|
|
22
|
+
*/
|
|
23
|
+
reservedUntil: z.ZodEffects<z.ZodString, string, string>;
|
|
24
|
+
/** Restaurant _id */
|
|
25
|
+
restaurant: z.ZodEffects<z.ZodString, string, string>;
|
|
26
|
+
/** The capacity tier ID - the actual inventory unit being booked */
|
|
27
|
+
capacityTierId: z.ZodString;
|
|
28
|
+
/** The range ID - the zone/area this reservation belongs to */
|
|
29
|
+
rangeId: z.ZodString;
|
|
30
|
+
orderId: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
31
|
+
/** Pax */
|
|
32
|
+
pax: z.ZodNumber;
|
|
33
|
+
startDate: z.ZodEffects<z.ZodString, string, string>;
|
|
34
|
+
endDate: z.ZodEffects<z.ZodString, string, string>;
|
|
35
|
+
userName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
/** User phone and email can be null if created by POS */
|
|
37
|
+
userPhone: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
38
|
+
userEmail: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
39
|
+
/** User _id that created the reservation, can be null if created by POS */
|
|
40
|
+
userId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
41
|
+
/** POS assigned slot number */
|
|
42
|
+
slotNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
43
|
+
/** Customer remarks, can be preset/custom */
|
|
44
|
+
customerRemarks: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
45
|
+
/** Guest preferences - customer's selections from range preferences */
|
|
46
|
+
guestPreferences: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
+
/** The preference name (matches FdoReservationPreference.name) */
|
|
48
|
+
name: z.ZodString;
|
|
49
|
+
/** The customer's selection - string for text/radio, array for checkbox */
|
|
50
|
+
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
name: string;
|
|
53
|
+
value: string | string[];
|
|
54
|
+
}, {
|
|
55
|
+
name: string;
|
|
56
|
+
value: string | string[];
|
|
57
|
+
}>, "many">>>;
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
|
+
orderId?: string | null | undefined;
|
|
60
|
+
userId?: string | null | undefined;
|
|
61
|
+
userName?: string | null | undefined;
|
|
62
|
+
userPhone?: string | null | undefined;
|
|
63
|
+
userEmail?: string | null | undefined;
|
|
64
|
+
slotNumber?: string | null | undefined;
|
|
65
|
+
customerRemarks?: string | null | undefined;
|
|
66
|
+
guestPreferences?: {
|
|
67
|
+
name: string;
|
|
68
|
+
value: string | string[];
|
|
69
|
+
}[] | null | undefined;
|
|
70
|
+
status: "CANCELLED" | "DRAFT" | "CONFIRMED" | "SEATED" | "NO_SHOW";
|
|
71
|
+
_id: string;
|
|
72
|
+
restaurant: string;
|
|
73
|
+
pax: number;
|
|
74
|
+
startDate: string;
|
|
75
|
+
endDate: string;
|
|
76
|
+
reservedUntil: string;
|
|
77
|
+
capacityTierId: string;
|
|
78
|
+
rangeId: string;
|
|
79
|
+
}, {
|
|
80
|
+
orderId?: string | null | undefined;
|
|
81
|
+
userId?: string | null | undefined;
|
|
82
|
+
userName?: string | null | undefined;
|
|
83
|
+
userPhone?: string | null | undefined;
|
|
84
|
+
userEmail?: string | null | undefined;
|
|
85
|
+
slotNumber?: string | null | undefined;
|
|
86
|
+
customerRemarks?: string | null | undefined;
|
|
87
|
+
guestPreferences?: {
|
|
88
|
+
name: string;
|
|
89
|
+
value: string | string[];
|
|
90
|
+
}[] | null | undefined;
|
|
91
|
+
status: "CANCELLED" | "DRAFT" | "CONFIRMED" | "SEATED" | "NO_SHOW";
|
|
92
|
+
_id: string;
|
|
93
|
+
restaurant: string;
|
|
94
|
+
pax: number;
|
|
95
|
+
startDate: string;
|
|
96
|
+
endDate: string;
|
|
97
|
+
reservedUntil: string;
|
|
98
|
+
capacityTierId: string;
|
|
99
|
+
rangeId: string;
|
|
100
|
+
}>;
|
|
101
|
+
export type FdoRestaurantReservation = z.infer<typeof FdoRestaurantReservation>;
|