@feedmepos/mf-order-setting 0.0.48 → 0.0.50
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-iZTQ--DO.js → KioskDevicesView-u14hzPbE.js} +1 -1
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-DBgRDIoS.js +501 -0
- package/dist/{KioskSettingView-mN7UPNYu.js → KioskSettingView-DmvtZcV1.js} +34 -33
- package/dist/KioskView-M8V91gD5.js +474 -0
- package/dist/{OrderSettingsView-B5Nq_u9Z.js → OrderSettingsView-Bl3LshG3.js} +15016 -14688
- package/dist/{app-B3KtJhiw.js → app-CLewMjcd.js} +89 -25
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-GjkM9dM2.js → dayjs.min-DCTYRWyD.js} +1 -1
- package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +2 -1
- package/dist/frontend/mf-order/src/app.d.ts +64 -0
- package/dist/frontend/mf-order/src/main.d.ts +64 -0
- package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +1 -0
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +1 -0
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +6 -3
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +8 -0
- package/dist/frontend/mf-order/src/views/order-settings/drive-thru/DriveThruSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -2
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Dwzta1U-.js → index-B7LtJeBJ.js} +2 -2
- package/dist/{menu.dto-DgPhiIVk.js → menu.dto-Co7iXHNr.js} +25558 -25019
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +108 -16
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +63 -18
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +118 -18
- package/dist/package/entity/kiosk/kiosk.do.d.ts +32 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +44 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1071 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +8 -0
- package/dist/package/entity/order/order.dto.d.ts +16 -8
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +2 -2
- package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +2 -2
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +62 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +178 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +6 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +6 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +5 -5
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +15 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +1834 -15
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +13 -13
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +5 -2
- package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +528 -805
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +14 -11
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +0 -20
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +2 -2
- package/dist/package/entity/queue/queue.do.d.ts +12 -0
- package/dist/package/entity/queue/queue.dto.d.ts +26 -6
- package/package.json +4 -4
- package/src/api/restaurant-setting/index.ts +6 -0
- package/src/locales/en-US.json +16 -0
- package/src/locales/ja-JP.json +16 -0
- package/src/locales/th-TH.json +16 -0
- package/src/locales/zh-CN.json +16 -0
- package/src/main.ts +2 -2
- package/src/modules/kiosk/interface.ts +1 -0
- package/src/stores/kiosk/mapper.ts +1 -0
- package/src/stores/restaurant/index.ts +6 -0
- package/src/views/kiosk/KioskSummary.vue +37 -31
- package/src/views/kiosk/KioskView.vue +4 -1
- package/src/views/kiosk/devices/KioskDeviceCard.vue +205 -89
- package/src/views/kiosk/devices/KioskDevicesView.vue +133 -17
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +8 -3
- package/src/views/order-settings/OrderSettingsView.vue +6 -1
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +22 -1
- package/src/views/order-settings/drive-thru/DriveThruSetting.vue +101 -0
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-CPDemTBj.js +0 -306
- package/dist/KioskView-NEpc7Ivb.js +0 -452
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { FdoBillItemRef, FdoDinero, FdoBillItemVariantSelected } from '@feedmepos/core/entity';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export declare const FdtoBaseOrderToBillOption: z.ZodObject<{
|
|
4
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
4
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
5
5
|
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
type: "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
6
|
+
type: "DINE_IN" | "PICKUP" | "DELIVERY" | "DRIVE_THRU";
|
|
7
7
|
}, {
|
|
8
|
-
type: "DINE_IN" | "PICKUP" | "DELIVERY";
|
|
8
|
+
type: "DINE_IN" | "PICKUP" | "DELIVERY" | "DRIVE_THRU";
|
|
9
9
|
}>;
|
|
10
10
|
export declare const FdtoDeliveryOrderToBillOption: z.ZodObject<z.extendShape<{
|
|
11
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
11
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
12
12
|
}, {
|
|
13
13
|
type: z.ZodLiteral<"DELIVERY">;
|
|
14
14
|
option: z.ZodObject<{
|
|
@@ -632,7 +632,7 @@ export declare const FdtoDeliveryOrderToBillOption: z.ZodObject<z.extendShape<{
|
|
|
632
632
|
type: "DELIVERY";
|
|
633
633
|
}>;
|
|
634
634
|
export declare const FdtoPickupOrderToBillOption: z.ZodObject<z.extendShape<{
|
|
635
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
635
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
636
636
|
}, {
|
|
637
637
|
type: z.ZodLiteral<"PICKUP">;
|
|
638
638
|
option: z.ZodObject<{
|
|
@@ -923,7 +923,7 @@ export declare const FdtoPickupOrderToBillOption: z.ZodObject<z.extendShape<{
|
|
|
923
923
|
type: "PICKUP";
|
|
924
924
|
}>;
|
|
925
925
|
export declare const FdtoDineInOrderToBillOption: z.ZodObject<z.extendShape<{
|
|
926
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
926
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
927
927
|
}, {
|
|
928
928
|
type: z.ZodLiteral<"DINE_IN">;
|
|
929
929
|
option: z.ZodObject<{
|
|
@@ -997,8 +997,35 @@ export declare const FdtoDineInOrderToBillOption: z.ZodObject<z.extendShape<{
|
|
|
997
997
|
};
|
|
998
998
|
type: "DINE_IN";
|
|
999
999
|
}>;
|
|
1000
|
+
export declare const FdtoDriveThruOrderToBillOption: z.ZodObject<z.extendShape<{
|
|
1001
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
1002
|
+
}, {
|
|
1003
|
+
type: z.ZodLiteral<"DRIVE_THRU">;
|
|
1004
|
+
option: z.ZodObject<{
|
|
1005
|
+
platform: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1006
|
+
licensePlate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1007
|
+
}, "strip", z.ZodTypeAny, {
|
|
1008
|
+
platform?: string | null | undefined;
|
|
1009
|
+
licensePlate?: string | null | undefined;
|
|
1010
|
+
}, {
|
|
1011
|
+
platform?: string | null | undefined;
|
|
1012
|
+
licensePlate?: string | null | undefined;
|
|
1013
|
+
}>;
|
|
1014
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1015
|
+
option: {
|
|
1016
|
+
platform?: string | null | undefined;
|
|
1017
|
+
licensePlate?: string | null | undefined;
|
|
1018
|
+
};
|
|
1019
|
+
type: "DRIVE_THRU";
|
|
1020
|
+
}, {
|
|
1021
|
+
option: {
|
|
1022
|
+
platform?: string | null | undefined;
|
|
1023
|
+
licensePlate?: string | null | undefined;
|
|
1024
|
+
};
|
|
1025
|
+
type: "DRIVE_THRU";
|
|
1026
|
+
}>;
|
|
1000
1027
|
export declare const FdtoOrderToBillOption: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
1001
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
1028
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
1002
1029
|
}, {
|
|
1003
1030
|
type: z.ZodLiteral<"DELIVERY">;
|
|
1004
1031
|
option: z.ZodObject<{
|
|
@@ -1621,7 +1648,7 @@ export declare const FdtoOrderToBillOption: z.ZodDiscriminatedUnion<"type", z.Pr
|
|
|
1621
1648
|
};
|
|
1622
1649
|
type: "DELIVERY";
|
|
1623
1650
|
}> | z.ZodObject<z.extendShape<{
|
|
1624
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
1651
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
1625
1652
|
}, {
|
|
1626
1653
|
type: z.ZodLiteral<"PICKUP">;
|
|
1627
1654
|
option: z.ZodObject<{
|
|
@@ -1911,7 +1938,7 @@ export declare const FdtoOrderToBillOption: z.ZodDiscriminatedUnion<"type", z.Pr
|
|
|
1911
1938
|
};
|
|
1912
1939
|
type: "PICKUP";
|
|
1913
1940
|
}> | z.ZodObject<z.extendShape<{
|
|
1914
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
1941
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
1915
1942
|
}, {
|
|
1916
1943
|
type: z.ZodLiteral<"DINE_IN">;
|
|
1917
1944
|
option: z.ZodObject<{
|
|
@@ -1984,6 +2011,32 @@ export declare const FdtoOrderToBillOption: z.ZodDiscriminatedUnion<"type", z.Pr
|
|
|
1984
2011
|
orderIds: string[];
|
|
1985
2012
|
};
|
|
1986
2013
|
type: "DINE_IN";
|
|
2014
|
+
}> | z.ZodObject<z.extendShape<{
|
|
2015
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
2016
|
+
}, {
|
|
2017
|
+
type: z.ZodLiteral<"DRIVE_THRU">;
|
|
2018
|
+
option: z.ZodObject<{
|
|
2019
|
+
platform: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2020
|
+
licensePlate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2021
|
+
}, "strip", z.ZodTypeAny, {
|
|
2022
|
+
platform?: string | null | undefined;
|
|
2023
|
+
licensePlate?: string | null | undefined;
|
|
2024
|
+
}, {
|
|
2025
|
+
platform?: string | null | undefined;
|
|
2026
|
+
licensePlate?: string | null | undefined;
|
|
2027
|
+
}>;
|
|
2028
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2029
|
+
option: {
|
|
2030
|
+
platform?: string | null | undefined;
|
|
2031
|
+
licensePlate?: string | null | undefined;
|
|
2032
|
+
};
|
|
2033
|
+
type: "DRIVE_THRU";
|
|
2034
|
+
}, {
|
|
2035
|
+
option: {
|
|
2036
|
+
platform?: string | null | undefined;
|
|
2037
|
+
licensePlate?: string | null | undefined;
|
|
2038
|
+
};
|
|
2039
|
+
type: "DRIVE_THRU";
|
|
1987
2040
|
}>>;
|
|
1988
2041
|
export declare const FdtoOrderPayment: z.ZodObject<{
|
|
1989
2042
|
type: z.ZodEnum<["cash", "ePayment", "credit", "ePaymentSandbox"]>;
|
|
@@ -3920,6 +3973,7 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
3920
3973
|
target: "PAYMENT";
|
|
3921
3974
|
};
|
|
3922
3975
|
success: boolean;
|
|
3976
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3923
3977
|
adjustment: {
|
|
3924
3978
|
inclusive?: boolean | null | undefined;
|
|
3925
3979
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3929,7 +3983,6 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
3929
3983
|
};
|
|
3930
3984
|
};
|
|
3931
3985
|
referenceId: string;
|
|
3932
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3933
3986
|
}, {
|
|
3934
3987
|
reason?: string | null | undefined;
|
|
3935
3988
|
priority?: number | null | undefined;
|
|
@@ -4011,6 +4064,7 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
4011
4064
|
target: "PAYMENT";
|
|
4012
4065
|
};
|
|
4013
4066
|
success: boolean;
|
|
4067
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4014
4068
|
adjustment: {
|
|
4015
4069
|
inclusive?: boolean | null | undefined;
|
|
4016
4070
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4020,10 +4074,9 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
4020
4074
|
};
|
|
4021
4075
|
};
|
|
4022
4076
|
referenceId: string;
|
|
4023
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4024
4077
|
}>, "many">>>;
|
|
4025
4078
|
option: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
4026
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
4079
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
4027
4080
|
}, {
|
|
4028
4081
|
type: z.ZodLiteral<"DELIVERY">;
|
|
4029
4082
|
option: z.ZodObject<{
|
|
@@ -4646,7 +4699,7 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
4646
4699
|
};
|
|
4647
4700
|
type: "DELIVERY";
|
|
4648
4701
|
}> | z.ZodObject<z.extendShape<{
|
|
4649
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
4702
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
4650
4703
|
}, {
|
|
4651
4704
|
type: z.ZodLiteral<"PICKUP">;
|
|
4652
4705
|
option: z.ZodObject<{
|
|
@@ -4936,7 +4989,7 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
4936
4989
|
};
|
|
4937
4990
|
type: "PICKUP";
|
|
4938
4991
|
}> | z.ZodObject<z.extendShape<{
|
|
4939
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
4992
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
4940
4993
|
}, {
|
|
4941
4994
|
type: z.ZodLiteral<"DINE_IN">;
|
|
4942
4995
|
option: z.ZodObject<{
|
|
@@ -5009,6 +5062,32 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
5009
5062
|
orderIds: string[];
|
|
5010
5063
|
};
|
|
5011
5064
|
type: "DINE_IN";
|
|
5065
|
+
}> | z.ZodObject<z.extendShape<{
|
|
5066
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
5067
|
+
}, {
|
|
5068
|
+
type: z.ZodLiteral<"DRIVE_THRU">;
|
|
5069
|
+
option: z.ZodObject<{
|
|
5070
|
+
platform: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5071
|
+
licensePlate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5072
|
+
}, "strip", z.ZodTypeAny, {
|
|
5073
|
+
platform?: string | null | undefined;
|
|
5074
|
+
licensePlate?: string | null | undefined;
|
|
5075
|
+
}, {
|
|
5076
|
+
platform?: string | null | undefined;
|
|
5077
|
+
licensePlate?: string | null | undefined;
|
|
5078
|
+
}>;
|
|
5079
|
+
}>, "strip", z.ZodTypeAny, {
|
|
5080
|
+
option: {
|
|
5081
|
+
platform?: string | null | undefined;
|
|
5082
|
+
licensePlate?: string | null | undefined;
|
|
5083
|
+
};
|
|
5084
|
+
type: "DRIVE_THRU";
|
|
5085
|
+
}, {
|
|
5086
|
+
option: {
|
|
5087
|
+
platform?: string | null | undefined;
|
|
5088
|
+
licensePlate?: string | null | undefined;
|
|
5089
|
+
};
|
|
5090
|
+
type: "DRIVE_THRU";
|
|
5012
5091
|
}>>;
|
|
5013
5092
|
person: z.ZodNumber;
|
|
5014
5093
|
slot: z.ZodString;
|
|
@@ -6201,6 +6280,7 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
6201
6280
|
target: "PAYMENT";
|
|
6202
6281
|
};
|
|
6203
6282
|
success: boolean;
|
|
6283
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6204
6284
|
adjustment: {
|
|
6205
6285
|
inclusive?: boolean | null | undefined;
|
|
6206
6286
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -6210,7 +6290,6 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
6210
6290
|
};
|
|
6211
6291
|
};
|
|
6212
6292
|
referenceId: string;
|
|
6213
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6214
6293
|
}[] | null | undefined;
|
|
6215
6294
|
roundToNearest?: number | null | undefined;
|
|
6216
6295
|
isTakeaway?: boolean | null | undefined;
|
|
@@ -6470,6 +6549,12 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
6470
6549
|
orderIds: string[];
|
|
6471
6550
|
};
|
|
6472
6551
|
type: "DINE_IN";
|
|
6552
|
+
} | {
|
|
6553
|
+
option: {
|
|
6554
|
+
platform?: string | null | undefined;
|
|
6555
|
+
licensePlate?: string | null | undefined;
|
|
6556
|
+
};
|
|
6557
|
+
type: "DRIVE_THRU";
|
|
6473
6558
|
};
|
|
6474
6559
|
slot: string;
|
|
6475
6560
|
adjustments: Record<string, {
|
|
@@ -6758,6 +6843,7 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
6758
6843
|
target: "PAYMENT";
|
|
6759
6844
|
};
|
|
6760
6845
|
success: boolean;
|
|
6846
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6761
6847
|
adjustment: {
|
|
6762
6848
|
inclusive?: boolean | null | undefined;
|
|
6763
6849
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -6767,7 +6853,6 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
6767
6853
|
};
|
|
6768
6854
|
};
|
|
6769
6855
|
referenceId: string;
|
|
6770
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6771
6856
|
}[] | null | undefined;
|
|
6772
6857
|
roundToNearest?: number | null | undefined;
|
|
6773
6858
|
isTakeaway?: boolean | null | undefined;
|
|
@@ -7027,6 +7112,12 @@ export declare const FdtoOrderToBill: z.ZodObject<{
|
|
|
7027
7112
|
orderIds: string[];
|
|
7028
7113
|
};
|
|
7029
7114
|
type: "DINE_IN";
|
|
7115
|
+
} | {
|
|
7116
|
+
option: {
|
|
7117
|
+
platform?: string | null | undefined;
|
|
7118
|
+
licensePlate?: string | null | undefined;
|
|
7119
|
+
};
|
|
7120
|
+
type: "DRIVE_THRU";
|
|
7030
7121
|
};
|
|
7031
7122
|
slot: string;
|
|
7032
7123
|
adjustments: Record<string, {
|
|
@@ -7218,6 +7309,7 @@ export type FdtoBaseOrderToBillOption = z.infer<typeof FdtoBaseOrderToBillOption
|
|
|
7218
7309
|
export type FdtoDeliveryOrderToBillOption = z.infer<typeof FdtoDeliveryOrderToBillOption>;
|
|
7219
7310
|
export type FdtoPickupOrderToBillOption = z.infer<typeof FdtoPickupOrderToBillOption>;
|
|
7220
7311
|
export type FdtoDineInOrderToBillOption = z.infer<typeof FdtoDineInOrderToBillOption>;
|
|
7312
|
+
export type FdtoDriveThruOrderToBillOption = z.infer<typeof FdtoDriveThruOrderToBillOption>;
|
|
7221
7313
|
export type FdtoOrderToBillOption = z.infer<typeof FdtoOrderToBillOption>;
|
|
7222
7314
|
export type FdtoOrderPayment = z.infer<typeof FdtoOrderPayment>;
|
|
7223
7315
|
export type FdtoPosOrderPayment = z.infer<typeof FdtoPosOrderPayment>;
|