@feedmepos/mf-order-setting 0.0.43 → 0.0.45
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-KBpXQJmy.js → KioskDevicesView-CZ9B7VmM.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-taf41a-7.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-B9mM8Vcl.js} +101 -96
- package/dist/{KioskSettingView-DG12ZvfT.js → KioskSettingView-CJAw9osg.js} +1 -1
- package/dist/KioskView-CN-Dk8fn.js +448 -0
- package/dist/{OrderSettingsView-CoAGawQi.js → OrderSettingsView-B0shsMTu.js} +33664 -34726
- package/dist/{app-Db1lhCv7.js → app-BK8d3ff5.js} +115 -43
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-D9bsUd57.js → dayjs.min-DgWdPF1p.js} +1 -1
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +2 -2
- package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +2 -1
- package/dist/frontend/mf-order/src/app.d.ts +72 -0
- package/dist/frontend/mf-order/src/main.d.ts +72 -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 +111 -1
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +291 -288
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +20 -173
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +12 -114
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.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/pickup/PickUpSettingDialogContent.vue.d.ts +4 -4
- package/dist/frontend/mf-order/src/views/order-settings/queue/PresetRemarksSheet.vue.d.ts +19 -0
- package/dist/frontend/mf-order/src/views/order-settings/queue/QueueSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-D_Tmm1qL.js → index-DHbH8gKt.js} +2 -2
- package/dist/{menu.dto-BY9dVf93.js → menu.dto-Cua9zYpc.js} +54753 -57698
- package/dist/package/entity/booking/booking.do.d.ts +168 -2368
- package/dist/package/entity/delivery/delivery.dto.d.ts +33 -473
- package/dist/package/entity/food-court/food-court.dto.d.ts +44 -44
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +23 -0
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +432 -60
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +670 -628
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +2 -2
- package/dist/package/entity/index.d.ts +2 -0
- package/dist/package/entity/kiosk/kiosk.do.d.ts +16 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +19 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +201 -2031
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +129 -16
- package/dist/package/entity/order/order.do.d.ts +8 -0
- package/dist/package/entity/order/order.dto.d.ts +390 -974
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/external/menu/external-master-menu.do.d.ts +367 -18
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +48 -8
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +33 -473
- package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +672 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-omni.dto.d.ts +9 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +90 -508
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +1130 -0
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +34 -47
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +8 -2
- package/dist/package/entity/order-platform/menu.dto.d.ts +46 -12
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +8 -5
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +33 -473
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/customization/color.do.d.ts +3 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +18 -18
- package/dist/package/entity/order-setting/order-setting.do.d.ts +72 -88
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +724 -1036
- package/dist/package/entity/order-setting/queue/queue.do.d.ts +22 -0
- package/dist/package/entity/order-setting/queue/queue.dto.d.ts +12 -0
- package/dist/package/entity/order-setting/reservation/reservation.do.d.ts +4 -51
- package/dist/package/entity/order-setting/reservation/reservation.dto.d.ts +248 -585
- package/dist/package/entity/pubsub/ably/ably.enum.d.ts +10 -1
- package/dist/package/entity/queue/queue.dto.d.ts +76 -14
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +41 -26
- package/dist/package/entity/websocket/websocket.dto.d.ts +22 -22
- package/package.json +3 -3
- package/src/api/remoteOrder/index.ts +13 -2
- package/src/api/restaurant-setting/index.ts +6 -0
- package/src/locales/en-US.json +24 -0
- package/src/locales/th-TH.json +24 -0
- package/src/locales/zh-CN.json +24 -0
- package/src/modules/kiosk/interface.ts +1 -0
- package/src/stores/kiosk/mapper.ts +1 -0
- package/src/stores/order-setting/mapper.ts +20 -33
- package/src/stores/restaurant/index.ts +7 -3
- package/src/views/all-orders/FilterStatus.vue +1 -1
- package/src/views/kiosk/devices/KioskDeviceCard.vue +6 -0
- package/src/views/order-settings/OrderSettingsView.vue +13 -5
- package/src/views/order-settings/delivery/DeliverySetting.vue +10 -5
- package/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue +9 -7
- package/src/views/order-settings/delivery/delivery.data.ts +7 -4
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +2 -2
- package/src/views/order-settings/dine-in/DineInSetting.vue +18 -2
- package/src/views/order-settings/general/GeneralSetting.vue +2 -2
- package/src/views/order-settings/queue/PresetRemarksSheet.vue +103 -0
- package/src/views/order-settings/queue/QueueSetting.vue +358 -0
- package/dist/KioskView-KNiT-upH.js +0 -453
|
@@ -1703,6 +1703,7 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1703
1703
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1704
1704
|
menuSyncError: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1705
1705
|
merchantID: z.ZodOptional<z.ZodString>;
|
|
1706
|
+
syncV2: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
1706
1707
|
partnerMerchantID: z.ZodOptional<z.ZodString>;
|
|
1707
1708
|
}, "strip", z.ZodTypeAny, {
|
|
1708
1709
|
status?: string | null | undefined;
|
|
@@ -1718,6 +1719,7 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1718
1719
|
menuSyncError?: string | null | undefined;
|
|
1719
1720
|
partnerMerchantID?: string | undefined;
|
|
1720
1721
|
merchantID?: string | undefined;
|
|
1722
|
+
syncV2?: boolean | null | undefined;
|
|
1721
1723
|
}, {
|
|
1722
1724
|
status?: string | null | undefined;
|
|
1723
1725
|
_id?: string | undefined;
|
|
@@ -1732,6 +1734,7 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1732
1734
|
menuSyncError?: string | null | undefined;
|
|
1733
1735
|
partnerMerchantID?: string | undefined;
|
|
1734
1736
|
merchantID?: string | undefined;
|
|
1737
|
+
syncV2?: boolean | null | undefined;
|
|
1735
1738
|
}>;
|
|
1736
1739
|
export declare const FdtoGrabfoodUpdateMenuItem: z.ZodObject<{
|
|
1737
1740
|
merchantId: z.ZodString;
|
|
@@ -1977,15 +1980,15 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
1977
1980
|
}>;
|
|
1978
1981
|
featureFlags: z.ZodObject<{
|
|
1979
1982
|
orderAcceptedType: z.ZodEnum<["AUTO", "MANUAL"]>;
|
|
1980
|
-
orderType: z.ZodEnum<["TakeAway", "DeliveredByGrab", "DeliveredByRestaurant"]>;
|
|
1983
|
+
orderType: z.ZodEnum<["TakeAway", "DeliveredByGrab", "DeliveredByRestaurant", "DineIn", "ScanToOrder", "TakeAwayOrder", "PosDineOutOrder"]>;
|
|
1981
1984
|
isMexEditOrder: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
1982
1985
|
}, "strip", z.ZodTypeAny, {
|
|
1983
1986
|
isMexEditOrder?: boolean | null | undefined;
|
|
1984
|
-
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
1987
|
+
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant" | "DineIn" | "ScanToOrder" | "TakeAwayOrder" | "PosDineOutOrder";
|
|
1985
1988
|
orderAcceptedType: "MANUAL" | "AUTO";
|
|
1986
1989
|
}, {
|
|
1987
1990
|
isMexEditOrder?: boolean | null | undefined;
|
|
1988
|
-
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
1991
|
+
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant" | "DineIn" | "ScanToOrder" | "TakeAwayOrder" | "PosDineOutOrder";
|
|
1989
1992
|
orderAcceptedType: "MANUAL" | "AUTO";
|
|
1990
1993
|
}>;
|
|
1991
1994
|
items: z.ZodArray<z.ZodObject<{
|
|
@@ -2065,6 +2068,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2065
2068
|
deductedAmount?: number | null | undefined;
|
|
2066
2069
|
appliedItemIDs?: string[] | null | undefined;
|
|
2067
2070
|
}>, "many">>>;
|
|
2071
|
+
grabItemID: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2068
2072
|
}, "strip", z.ZodTypeAny, {
|
|
2069
2073
|
specifications?: string | null | undefined;
|
|
2070
2074
|
modifiers?: {
|
|
@@ -2089,6 +2093,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2089
2093
|
deductedAmount?: number | null | undefined;
|
|
2090
2094
|
appliedItemIDs?: string[] | null | undefined;
|
|
2091
2095
|
}[] | null | undefined;
|
|
2096
|
+
grabItemID?: string | null | undefined;
|
|
2092
2097
|
id: string;
|
|
2093
2098
|
quantity: number;
|
|
2094
2099
|
price: number;
|
|
@@ -2116,6 +2121,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2116
2121
|
deductedAmount?: number | null | undefined;
|
|
2117
2122
|
appliedItemIDs?: string[] | null | undefined;
|
|
2118
2123
|
}[] | null | undefined;
|
|
2124
|
+
grabItemID?: string | null | undefined;
|
|
2119
2125
|
id: string;
|
|
2120
2126
|
quantity: number;
|
|
2121
2127
|
price: number;
|
|
@@ -2301,7 +2307,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2301
2307
|
estimatedOrderReadyTime: string;
|
|
2302
2308
|
maxOrderReadyTime: string;
|
|
2303
2309
|
}>>>;
|
|
2304
|
-
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED"]>>>;
|
|
2310
|
+
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED", "COMPLETED", "REFUNDED"]>>>;
|
|
2305
2311
|
}, "strip", z.ZodTypeAny, {
|
|
2306
2312
|
receiver?: {
|
|
2307
2313
|
name?: string | null | undefined;
|
|
@@ -2350,7 +2356,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2350
2356
|
estimatedOrderReadyTime: string;
|
|
2351
2357
|
maxOrderReadyTime: string;
|
|
2352
2358
|
} | null | undefined;
|
|
2353
|
-
orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2359
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2354
2360
|
price: {
|
|
2355
2361
|
deliveryFee?: number | null | undefined;
|
|
2356
2362
|
tax?: number | null | undefined;
|
|
@@ -2388,6 +2394,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2388
2394
|
deductedAmount?: number | null | undefined;
|
|
2389
2395
|
appliedItemIDs?: string[] | null | undefined;
|
|
2390
2396
|
}[] | null | undefined;
|
|
2397
|
+
grabItemID?: string | null | undefined;
|
|
2391
2398
|
id: string;
|
|
2392
2399
|
quantity: number;
|
|
2393
2400
|
price: number;
|
|
@@ -2400,7 +2407,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2400
2407
|
cutlery: boolean;
|
|
2401
2408
|
featureFlags: {
|
|
2402
2409
|
isMexEditOrder?: boolean | null | undefined;
|
|
2403
|
-
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
2410
|
+
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant" | "DineIn" | "ScanToOrder" | "TakeAwayOrder" | "PosDineOutOrder";
|
|
2404
2411
|
orderAcceptedType: "MANUAL" | "AUTO";
|
|
2405
2412
|
};
|
|
2406
2413
|
}, {
|
|
@@ -2451,7 +2458,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2451
2458
|
estimatedOrderReadyTime: string;
|
|
2452
2459
|
maxOrderReadyTime: string;
|
|
2453
2460
|
} | null | undefined;
|
|
2454
|
-
orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2461
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2455
2462
|
price: {
|
|
2456
2463
|
deliveryFee?: number | null | undefined;
|
|
2457
2464
|
tax?: number | null | undefined;
|
|
@@ -2489,6 +2496,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2489
2496
|
deductedAmount?: number | null | undefined;
|
|
2490
2497
|
appliedItemIDs?: string[] | null | undefined;
|
|
2491
2498
|
}[] | null | undefined;
|
|
2499
|
+
grabItemID?: string | null | undefined;
|
|
2492
2500
|
id: string;
|
|
2493
2501
|
quantity: number;
|
|
2494
2502
|
price: number;
|
|
@@ -2501,7 +2509,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2501
2509
|
cutlery: boolean;
|
|
2502
2510
|
featureFlags: {
|
|
2503
2511
|
isMexEditOrder?: boolean | null | undefined;
|
|
2504
|
-
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
2512
|
+
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant" | "DineIn" | "ScanToOrder" | "TakeAwayOrder" | "PosDineOutOrder";
|
|
2505
2513
|
orderAcceptedType: "MANUAL" | "AUTO";
|
|
2506
2514
|
};
|
|
2507
2515
|
}>, "many">;
|
|
@@ -2554,7 +2562,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2554
2562
|
estimatedOrderReadyTime: string;
|
|
2555
2563
|
maxOrderReadyTime: string;
|
|
2556
2564
|
} | null | undefined;
|
|
2557
|
-
orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2565
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2558
2566
|
price: {
|
|
2559
2567
|
deliveryFee?: number | null | undefined;
|
|
2560
2568
|
tax?: number | null | undefined;
|
|
@@ -2592,6 +2600,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2592
2600
|
deductedAmount?: number | null | undefined;
|
|
2593
2601
|
appliedItemIDs?: string[] | null | undefined;
|
|
2594
2602
|
}[] | null | undefined;
|
|
2603
|
+
grabItemID?: string | null | undefined;
|
|
2595
2604
|
id: string;
|
|
2596
2605
|
quantity: number;
|
|
2597
2606
|
price: number;
|
|
@@ -2604,7 +2613,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2604
2613
|
cutlery: boolean;
|
|
2605
2614
|
featureFlags: {
|
|
2606
2615
|
isMexEditOrder?: boolean | null | undefined;
|
|
2607
|
-
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
2616
|
+
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant" | "DineIn" | "ScanToOrder" | "TakeAwayOrder" | "PosDineOutOrder";
|
|
2608
2617
|
orderAcceptedType: "MANUAL" | "AUTO";
|
|
2609
2618
|
};
|
|
2610
2619
|
}[];
|
|
@@ -2658,7 +2667,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2658
2667
|
estimatedOrderReadyTime: string;
|
|
2659
2668
|
maxOrderReadyTime: string;
|
|
2660
2669
|
} | null | undefined;
|
|
2661
|
-
orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2670
|
+
orderState?: "FAILED" | "COMPLETED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "REFUNDED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2662
2671
|
price: {
|
|
2663
2672
|
deliveryFee?: number | null | undefined;
|
|
2664
2673
|
tax?: number | null | undefined;
|
|
@@ -2696,6 +2705,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2696
2705
|
deductedAmount?: number | null | undefined;
|
|
2697
2706
|
appliedItemIDs?: string[] | null | undefined;
|
|
2698
2707
|
}[] | null | undefined;
|
|
2708
|
+
grabItemID?: string | null | undefined;
|
|
2699
2709
|
id: string;
|
|
2700
2710
|
quantity: number;
|
|
2701
2711
|
price: number;
|
|
@@ -2708,7 +2718,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2708
2718
|
cutlery: boolean;
|
|
2709
2719
|
featureFlags: {
|
|
2710
2720
|
isMexEditOrder?: boolean | null | undefined;
|
|
2711
|
-
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant";
|
|
2721
|
+
orderType: "TakeAway" | "DeliveredByGrab" | "DeliveredByRestaurant" | "DineIn" | "ScanToOrder" | "TakeAwayOrder" | "PosDineOutOrder";
|
|
2712
2722
|
orderAcceptedType: "MANUAL" | "AUTO";
|
|
2713
2723
|
};
|
|
2714
2724
|
}[];
|
|
@@ -2763,28 +2773,6 @@ declare const GFMarkOrderRes: z.ZodObject<{
|
|
|
2763
2773
|
reason: string;
|
|
2764
2774
|
target: string;
|
|
2765
2775
|
}>;
|
|
2766
|
-
export declare const GFPushOrderStateDto: z.ZodObject<{
|
|
2767
|
-
merchantID: z.ZodString;
|
|
2768
|
-
orderID: z.ZodString;
|
|
2769
|
-
state: z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED"]>;
|
|
2770
|
-
driverETA: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
2771
|
-
code: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2772
|
-
message: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2773
|
-
}, "strip", z.ZodTypeAny, {
|
|
2774
|
-
code?: string | null | undefined;
|
|
2775
|
-
message?: string | null | undefined;
|
|
2776
|
-
driverETA?: number | null | undefined;
|
|
2777
|
-
state: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED";
|
|
2778
|
-
merchantID: string;
|
|
2779
|
-
orderID: string;
|
|
2780
|
-
}, {
|
|
2781
|
-
code?: string | null | undefined;
|
|
2782
|
-
message?: string | null | undefined;
|
|
2783
|
-
driverETA?: number | null | undefined;
|
|
2784
|
-
state: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED";
|
|
2785
|
-
merchantID: string;
|
|
2786
|
-
orderID: string;
|
|
2787
|
-
}>;
|
|
2788
2776
|
export declare const GFCampaignQuota: z.ZodObject<{
|
|
2789
2777
|
totalCount: z.ZodNumber;
|
|
2790
2778
|
totalCountPerUser: z.ZodNumber;
|
|
@@ -3541,7 +3529,7 @@ export declare const GFCampaign: z.ZodObject<{
|
|
|
3541
3529
|
};
|
|
3542
3530
|
}>;
|
|
3543
3531
|
declare const GFListDiscountCampaignRes: z.ZodObject<{
|
|
3544
|
-
ongoing: z.ZodArray<z.ZodObject<{
|
|
3532
|
+
ongoing: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3545
3533
|
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3546
3534
|
merchantID: z.ZodString;
|
|
3547
3535
|
name: z.ZodString;
|
|
@@ -3898,8 +3886,8 @@ declare const GFListDiscountCampaignRes: z.ZodObject<{
|
|
|
3898
3886
|
}[];
|
|
3899
3887
|
};
|
|
3900
3888
|
};
|
|
3901
|
-
}>, "many"
|
|
3902
|
-
upcoming: z.ZodArray<z.ZodObject<{
|
|
3889
|
+
}>, "many">>>;
|
|
3890
|
+
upcoming: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3903
3891
|
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
3904
3892
|
merchantID: z.ZodString;
|
|
3905
3893
|
name: z.ZodString;
|
|
@@ -4256,9 +4244,9 @@ declare const GFListDiscountCampaignRes: z.ZodObject<{
|
|
|
4256
4244
|
}[];
|
|
4257
4245
|
};
|
|
4258
4246
|
};
|
|
4259
|
-
}>, "many"
|
|
4247
|
+
}>, "many">>>;
|
|
4260
4248
|
}, "strip", z.ZodTypeAny, {
|
|
4261
|
-
ongoing
|
|
4249
|
+
ongoing?: {
|
|
4262
4250
|
id?: string | null | undefined;
|
|
4263
4251
|
name: string;
|
|
4264
4252
|
discount: {
|
|
@@ -4311,8 +4299,8 @@ declare const GFListDiscountCampaignRes: z.ZodObject<{
|
|
|
4311
4299
|
}[];
|
|
4312
4300
|
};
|
|
4313
4301
|
};
|
|
4314
|
-
}[];
|
|
4315
|
-
upcoming
|
|
4302
|
+
}[] | null | undefined;
|
|
4303
|
+
upcoming?: {
|
|
4316
4304
|
id?: string | null | undefined;
|
|
4317
4305
|
name: string;
|
|
4318
4306
|
discount: {
|
|
@@ -4365,9 +4353,9 @@ declare const GFListDiscountCampaignRes: z.ZodObject<{
|
|
|
4365
4353
|
}[];
|
|
4366
4354
|
};
|
|
4367
4355
|
};
|
|
4368
|
-
}[];
|
|
4356
|
+
}[] | null | undefined;
|
|
4369
4357
|
}, {
|
|
4370
|
-
ongoing
|
|
4358
|
+
ongoing?: {
|
|
4371
4359
|
id?: string | null | undefined;
|
|
4372
4360
|
name: string;
|
|
4373
4361
|
discount: {
|
|
@@ -4420,8 +4408,8 @@ declare const GFListDiscountCampaignRes: z.ZodObject<{
|
|
|
4420
4408
|
}[];
|
|
4421
4409
|
};
|
|
4422
4410
|
};
|
|
4423
|
-
}[];
|
|
4424
|
-
upcoming
|
|
4411
|
+
}[] | null | undefined;
|
|
4412
|
+
upcoming?: {
|
|
4425
4413
|
id?: string | null | undefined;
|
|
4426
4414
|
name: string;
|
|
4427
4415
|
discount: {
|
|
@@ -4474,7 +4462,7 @@ declare const GFListDiscountCampaignRes: z.ZodObject<{
|
|
|
4474
4462
|
}[];
|
|
4475
4463
|
};
|
|
4476
4464
|
};
|
|
4477
|
-
}[];
|
|
4465
|
+
}[] | null | undefined;
|
|
4478
4466
|
}>;
|
|
4479
4467
|
export type GFListDiscountCampaignRes = z.infer<typeof GFListDiscountCampaignRes>;
|
|
4480
4468
|
export declare const FdtoGrabfoodSyncDataDto: z.ZodObject<{
|
|
@@ -4549,7 +4537,6 @@ export type GFCampaignCondition = z.infer<typeof GFCampaignCondition>;
|
|
|
4549
4537
|
export type GFCampaignScope = z.infer<typeof GFCampaignScope>;
|
|
4550
4538
|
export type GFCampaignDiscount = z.infer<typeof GFCampaignDiscount>;
|
|
4551
4539
|
export type GFCampaign = z.infer<typeof GFCampaign>;
|
|
4552
|
-
export type GFPushOrderStateDto = z.infer<typeof GFPushOrderStateDto>;
|
|
4553
4540
|
export type GFMarkOrderDto = z.infer<typeof GFMarkOrderDto>;
|
|
4554
4541
|
export type GFMarkOrderRes = z.infer<typeof GFMarkOrderRes>;
|
|
4555
4542
|
export type GFListOrdersRes = z.infer<typeof GFListOrdersRes>;
|
|
@@ -8,9 +8,10 @@ export declare const GF_UPDATE_MENU_FIELD_TYPE: z.ZodEnum<["ITEM", "MODIFIER"]>;
|
|
|
8
8
|
export declare const GF_CAMPAIGN_EATER_TYPE: z.ZodEnum<["all", "new"]>;
|
|
9
9
|
export declare const GF_CAMPAIGN_DISCOUNT_TYPE: z.ZodEnum<["net", "percentage", "delivery", "freeItem"]>;
|
|
10
10
|
export declare const GF_CAMPAIGN_SCOPE_TYPE: z.ZodEnum<["order", "items"]>;
|
|
11
|
-
export declare const GF_PUSH_ORDER_STATE: z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED"]>;
|
|
11
|
+
export declare const GF_PUSH_ORDER_STATE: z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED", "COMPLETED", "REFUNDED"]>;
|
|
12
12
|
export declare const GF_ORDER_STATUS: z.ZodEnum<["pending", "accepted", "rejected"]>;
|
|
13
13
|
export declare const GF_PAYMENT_TYPE: z.ZodEnum<["CASH", "CASHLESS"]>;
|
|
14
|
+
export declare const GF_QR_TYPE: z.ZodEnum<["Dynamic", "Static"]>;
|
|
14
15
|
export declare const GF_COUNTRY_CODE: z.ZodEnum<["SG", "MY", "ID", "VN", "TH", "PH", "KH", "MM"]>;
|
|
15
16
|
export declare const GF_CURRENCY_CODE: z.ZodEnum<["SGD", "MYR", "IDR", "VND", "THB", "PHP", "KHR", "MMK"]>;
|
|
16
17
|
export declare const GF_OPEN_PERIOD_TYPE: z.ZodEnum<["OpenPeriod", "OpenAllDay", "CloseAllDay"]>;
|
|
@@ -19,7 +20,7 @@ export declare const GF_MODIFIER_AVAILABLE_STATUS: z.ZodEnum<["AVAILABLE", "UNAV
|
|
|
19
20
|
export declare const GF_AVAILABLE_STATUS: z.ZodEnum<["AVAILABLE", "UNAVAILABLE", "HIDE"]>;
|
|
20
21
|
export declare const GF_SPECIAL_TYPE: z.ZodEnum<["alcohol"]>;
|
|
21
22
|
export declare const GF_ACCEPTANCE_TYPE: z.ZodEnum<["AUTO", "MANUAL"]>;
|
|
22
|
-
export declare const GF_ORDER_TYPE: z.ZodEnum<["TakeAway", "DeliveredByGrab", "DeliveredByRestaurant"]>;
|
|
23
|
+
export declare const GF_ORDER_TYPE: z.ZodEnum<["TakeAway", "DeliveredByGrab", "DeliveredByRestaurant", "DineIn", "ScanToOrder", "TakeAwayOrder", "PosDineOutOrder"]>;
|
|
23
24
|
export declare const GF_CAMPAIGN_TYPE: z.ZodEnum<["percentage", "net", "delivery", "freeItem"]>;
|
|
24
25
|
export declare const GF_CAMPAIGN_DEDUCTED_PART: z.ZodEnum<["basket_amount", "delivery_fee"]>;
|
|
25
26
|
export declare const GF_POI_SOURCE: z.ZodEnum<["GRAB", "GOOGLE"]>;
|
|
@@ -27,6 +28,8 @@ export declare const GF_INTEGRATION_STATUS: z.ZodEnum<["INACTIVE", "ACTIVE", "SY
|
|
|
27
28
|
export declare const GF_MARK_ORDER_STATUS: z.ZodNativeEnum<{
|
|
28
29
|
prepared: number;
|
|
29
30
|
}>;
|
|
31
|
+
export declare const GF_OMNI_ORDER_ACTION: z.ZodEnum<["BILL_GENERATED", "COMPLETED"]>;
|
|
32
|
+
export declare const GF_OMNI_FEATURE_FLAGS: z.ZodEnum<["ScanToOrder", "TakeAwayOrder", "PosDineOutOrder"]>;
|
|
30
33
|
export type GF_INTEGRATION_STATUS = z.infer<typeof GF_INTEGRATION_STATUS>;
|
|
31
34
|
export type GF_CAMPAIGN_CREATED_BY = z.infer<typeof GF_CAMPAIGN_CREATED_BY>;
|
|
32
35
|
export type GF_REPORT_DELIVERY_FROM_STATE = z.infer<typeof GF_REPORT_DELIVERY_FROM_STATE>;
|
|
@@ -53,3 +56,6 @@ export type GF_CAMPAIGN_TYPE = z.infer<typeof GF_CAMPAIGN_TYPE>;
|
|
|
53
56
|
export type GF_CAMPAIGN_DEDUCTED_PART = z.infer<typeof GF_CAMPAIGN_DEDUCTED_PART>;
|
|
54
57
|
export type GF_POI_SOURCE = z.infer<typeof GF_POI_SOURCE>;
|
|
55
58
|
export type GF_MARK_ORDER_STATUS = z.infer<typeof GF_MARK_ORDER_STATUS>;
|
|
59
|
+
export type GF_OMNI_FEATURE_FLAGS = z.infer<typeof GF_OMNI_FEATURE_FLAGS>;
|
|
60
|
+
export type GF_OMNI_ORDER_ACTION = z.infer<typeof GF_OMNI_ORDER_ACTION>;
|
|
61
|
+
export type GF_QR_TYPE = z.infer<typeof GF_QR_TYPE>;
|