@feedmepos/mf-order-setting 0.0.26 → 0.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{KioskDevicesView-BiF6v7Zj.js → KioskDevicesView-BgXkmJ7v.js} +1 -1
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-DZT0BuUN.js +301 -0
- package/dist/{KioskSettingView-COhGcRtP.js → KioskSettingView-DyX3Wv_2.js} +3 -3
- package/dist/{KioskView-C1T-n1MY.js → KioskView-Bgff7QPc.js} +5 -5
- package/dist/OrderSettingsView-C63s4uCD.js +74334 -0
- package/dist/app-Dp79Gu_F.js +1016 -0
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-BHDLv42p.js → dayjs.min-B2ZkfNUH.js} +633 -641
- package/dist/frontend/mf-order/src/App.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/Entry.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/api/business/index.d.ts +5 -0
- package/dist/frontend/mf-order/src/api/effects/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/api/index.d.ts +2 -0
- package/dist/frontend/mf-order/src/api/kiosk/index.d.ts +2 -0
- package/dist/frontend/mf-order/src/app.d.ts +336 -0
- package/dist/frontend/mf-order/src/components/GoogleMap.vue.d.ts +3 -5
- package/dist/frontend/mf-order/src/main.d.ts +79 -0
- package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +5 -1
- package/dist/frontend/mf-order/src/stores/business/index.d.ts +62 -0
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +16 -1
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +207 -112
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +81 -78
- package/dist/frontend/mf-order/src/views/all-orders/ActionMenuCell.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/FilterRestaurant.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/all-orders/FilterStatus.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/FilterStatusMenu.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +56 -54
- package/dist/frontend/mf-order/src/views/all-orders/UpdateDeliveryOrderDialog.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/KioskSummary.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/KioskView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceCard.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDeviceDetail.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskOtpDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskUnbindConfirm.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDineInSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskDisplayStandSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskEnablePaxDialogSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskInstructionSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskMenuItemSection.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPickAtCounterSection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskSettingView.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskTakeawaySection.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliveryList.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/ManualIntegratedDeliverySetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/components/TaxInput.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/CurrencyInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryCustomTime.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryOrder.vue.d.ts +6 -141
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/DeliveryTime.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/TimePicker.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/ZoneDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +6 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FeedmeDelivery.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaCampaignDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +5 -5
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialogContent.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/PaymentType.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/discount-rule/DiscountRuleSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/order-settings/pickup/AddressInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/CustomPayment.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PaymentSidesheet.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpPointDialogContent.vue.d.ts +2 -137
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialog.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickupList.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/pickup/Preorder.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/RateInput.vue.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +1 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DSCb3ndM.js → index-BXsnV_eO.js} +5 -5
- package/dist/{index-B5kfsi9C.js → index-DzQn92Tp.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +596 -551
- package/dist/package/entity/cursor/cursor.dto.d.ts +2 -2
- package/dist/package/entity/delivery/delivery.dto.d.ts +118 -109
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +349 -659
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +13800 -487
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +746 -1245
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
- package/dist/package/entity/index.d.ts +1 -0
- package/dist/package/entity/kiosk/kiosk.do.d.ts +64 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +79 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1469 -621
- package/dist/package/entity/member/member.dto.d.ts +14 -7
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +8 -8
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +4 -4
- package/dist/package/entity/order/effects/effect.dto.d.ts +154 -6
- package/dist/package/entity/order/menu/menu.dto.d.ts +12 -12
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +101 -42
- package/dist/package/entity/order/order.do.d.ts +206 -601
- package/dist/package/entity/order/order.dto.d.ts +1096 -1600
- package/dist/package/entity/order/order.enum.d.ts +2 -2
- package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +8 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +8 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +22 -3
- package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +5 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +5 -0
- package/dist/package/entity/order-platform/external/zus/zus-menu.dto.d.ts +192 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +104 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +152 -109
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +139 -109
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +112 -2
- package/dist/package/entity/order-platform/menu.dto.d.ts +31 -0
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +6 -3
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +164 -109
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +22 -0
- 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/{queue.do-y-ubeoKZ.js → queue.do-BUtcyDk3.js} +53522 -50841
- package/package.json +4 -3
- package/src/api/business/index.ts +16 -0
- package/src/api/effects/index.ts +7 -0
- package/src/api/index.ts +9 -1
- package/src/api/kiosk/index.ts +9 -4
- package/src/app.ts +4 -1
- package/src/locales/en-US.json +24 -1
- package/src/locales/th-TH.json +31 -1
- package/src/locales/zh-CN.json +27 -1
- package/src/modules/kiosk/interface.ts +5 -1
- package/src/stores/business/index.ts +45 -0
- package/src/stores/kiosk/index.ts +9 -4
- package/src/stores/kiosk/mapper.ts +5 -1
- package/src/stores/restaurant/index.ts +3 -1
- package/src/views/kiosk/devices/KioskDeviceCard.vue +202 -80
- package/src/views/order-settings/OrderSettingsView.vue +17 -5
- package/src/views/order-settings/delivery/DeliverySetting.vue +1 -1
- package/src/views/order-settings/delivery/delivery.data.ts +2 -2
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +14 -2
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +2 -34
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +15 -12
- package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +434 -0
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-1r_DBAc-.js +0 -207
- package/dist/OrderSettingsView-CI5bdVXr.js +0 -72108
- package/dist/app-BfWp4ow3.js +0 -682
|
@@ -1696,6 +1696,7 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1696
1696
|
catalogId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1697
1697
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
1698
1698
|
autoCloseBill: z.ZodOptional<z.ZodBoolean>;
|
|
1699
|
+
printReceiptAfterClose: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
1699
1700
|
commissionRate: z.ZodOptional<z.ZodNumber>;
|
|
1700
1701
|
lastSynchronize: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
1701
1702
|
showProductAddon: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
@@ -1709,6 +1710,7 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1709
1710
|
catalogId?: string | null | undefined;
|
|
1710
1711
|
enable?: boolean | undefined;
|
|
1711
1712
|
autoCloseBill?: boolean | undefined;
|
|
1713
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
1712
1714
|
commissionRate?: number | undefined;
|
|
1713
1715
|
lastSynchronize?: string | null | undefined;
|
|
1714
1716
|
showProductAddon?: boolean | null | undefined;
|
|
@@ -1722,6 +1724,7 @@ export declare const FdtoGrabfoodCreateOrUpdateSettings: z.ZodObject<{
|
|
|
1722
1724
|
catalogId?: string | null | undefined;
|
|
1723
1725
|
enable?: boolean | undefined;
|
|
1724
1726
|
autoCloseBill?: boolean | undefined;
|
|
1727
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
1725
1728
|
commissionRate?: number | undefined;
|
|
1726
1729
|
lastSynchronize?: string | null | undefined;
|
|
1727
1730
|
showProductAddon?: boolean | null | undefined;
|
|
@@ -1810,6 +1813,106 @@ declare const GFUpdateMenuItemDto: z.ZodObject<{
|
|
|
1810
1813
|
merchantId: string;
|
|
1811
1814
|
field: "ITEM" | "MODIFIER";
|
|
1812
1815
|
}>;
|
|
1816
|
+
declare const GFUpdateMenuModifierDto: z.ZodObject<{
|
|
1817
|
+
merchantId: z.ZodString;
|
|
1818
|
+
field: z.ZodEnum<["ITEM", "MODIFIER"]>;
|
|
1819
|
+
id: z.ZodString;
|
|
1820
|
+
price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1821
|
+
name: z.ZodString;
|
|
1822
|
+
availableStatus: z.ZodNullable<z.ZodOptional<z.ZodEnum<["AVAILABLE", "UNAVAILABLE"]>>>;
|
|
1823
|
+
}, "strip", z.ZodTypeAny, {
|
|
1824
|
+
price?: number | null | undefined;
|
|
1825
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1826
|
+
name: string;
|
|
1827
|
+
id: string;
|
|
1828
|
+
merchantId: string;
|
|
1829
|
+
field: "ITEM" | "MODIFIER";
|
|
1830
|
+
}, {
|
|
1831
|
+
price?: number | null | undefined;
|
|
1832
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1833
|
+
name: string;
|
|
1834
|
+
id: string;
|
|
1835
|
+
merchantId: string;
|
|
1836
|
+
field: "ITEM" | "MODIFIER";
|
|
1837
|
+
}>;
|
|
1838
|
+
declare const GFBatchUpdateMenuDto: z.ZodObject<{
|
|
1839
|
+
merchantId: z.ZodString;
|
|
1840
|
+
field: z.ZodEnum<["ITEM", "MODIFIER"]>;
|
|
1841
|
+
menuEntities: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1842
|
+
merchantId: z.ZodString;
|
|
1843
|
+
field: z.ZodEnum<["ITEM", "MODIFIER"]>;
|
|
1844
|
+
id: z.ZodString;
|
|
1845
|
+
price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1846
|
+
availableStatus: z.ZodNullable<z.ZodOptional<z.ZodEnum<["AVAILABLE", "UNAVAILABLE"]>>>;
|
|
1847
|
+
}, "strip", z.ZodTypeAny, {
|
|
1848
|
+
price?: number | null | undefined;
|
|
1849
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1850
|
+
id: string;
|
|
1851
|
+
merchantId: string;
|
|
1852
|
+
field: "ITEM" | "MODIFIER";
|
|
1853
|
+
}, {
|
|
1854
|
+
price?: number | null | undefined;
|
|
1855
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1856
|
+
id: string;
|
|
1857
|
+
merchantId: string;
|
|
1858
|
+
field: "ITEM" | "MODIFIER";
|
|
1859
|
+
}>, z.ZodObject<{
|
|
1860
|
+
merchantId: z.ZodString;
|
|
1861
|
+
field: z.ZodEnum<["ITEM", "MODIFIER"]>;
|
|
1862
|
+
id: z.ZodString;
|
|
1863
|
+
price: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
1864
|
+
name: z.ZodString;
|
|
1865
|
+
availableStatus: z.ZodNullable<z.ZodOptional<z.ZodEnum<["AVAILABLE", "UNAVAILABLE"]>>>;
|
|
1866
|
+
}, "strip", z.ZodTypeAny, {
|
|
1867
|
+
price?: number | null | undefined;
|
|
1868
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1869
|
+
name: string;
|
|
1870
|
+
id: string;
|
|
1871
|
+
merchantId: string;
|
|
1872
|
+
field: "ITEM" | "MODIFIER";
|
|
1873
|
+
}, {
|
|
1874
|
+
price?: number | null | undefined;
|
|
1875
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1876
|
+
name: string;
|
|
1877
|
+
id: string;
|
|
1878
|
+
merchantId: string;
|
|
1879
|
+
field: "ITEM" | "MODIFIER";
|
|
1880
|
+
}>]>, "many">;
|
|
1881
|
+
}, "strip", z.ZodTypeAny, {
|
|
1882
|
+
merchantId: string;
|
|
1883
|
+
field: "ITEM" | "MODIFIER";
|
|
1884
|
+
menuEntities: ({
|
|
1885
|
+
price?: number | null | undefined;
|
|
1886
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1887
|
+
id: string;
|
|
1888
|
+
merchantId: string;
|
|
1889
|
+
field: "ITEM" | "MODIFIER";
|
|
1890
|
+
} | {
|
|
1891
|
+
price?: number | null | undefined;
|
|
1892
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1893
|
+
name: string;
|
|
1894
|
+
id: string;
|
|
1895
|
+
merchantId: string;
|
|
1896
|
+
field: "ITEM" | "MODIFIER";
|
|
1897
|
+
})[];
|
|
1898
|
+
}, {
|
|
1899
|
+
merchantId: string;
|
|
1900
|
+
field: "ITEM" | "MODIFIER";
|
|
1901
|
+
menuEntities: ({
|
|
1902
|
+
price?: number | null | undefined;
|
|
1903
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1904
|
+
id: string;
|
|
1905
|
+
merchantId: string;
|
|
1906
|
+
field: "ITEM" | "MODIFIER";
|
|
1907
|
+
} | {
|
|
1908
|
+
price?: number | null | undefined;
|
|
1909
|
+
availableStatus?: "AVAILABLE" | "UNAVAILABLE" | null | undefined;
|
|
1910
|
+
name: string;
|
|
1911
|
+
id: string;
|
|
1912
|
+
merchantId: string;
|
|
1913
|
+
field: "ITEM" | "MODIFIER";
|
|
1914
|
+
})[];
|
|
1915
|
+
}>;
|
|
1813
1916
|
declare const GFAcceptOrRejectGFOrderDto: z.ZodObject<{
|
|
1814
1917
|
orderID: z.ZodString;
|
|
1815
1918
|
toState: z.ZodEnum<["Accepted", "Rejected"]>;
|
|
@@ -2198,6 +2301,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2198
2301
|
estimatedOrderReadyTime: string;
|
|
2199
2302
|
maxOrderReadyTime: string;
|
|
2200
2303
|
}>>>;
|
|
2304
|
+
orderState: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ACCEPTED", "DRIVER_ALLOCATED", "DRIVER_ARRIVED", "COLLECTED", "DELIVERED", "FAILED", "CANCELLED"]>>>;
|
|
2201
2305
|
}, "strip", z.ZodTypeAny, {
|
|
2202
2306
|
receiver?: {
|
|
2203
2307
|
name?: string | null | undefined;
|
|
@@ -2246,6 +2350,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2246
2350
|
estimatedOrderReadyTime: string;
|
|
2247
2351
|
maxOrderReadyTime: string;
|
|
2248
2352
|
} | null | undefined;
|
|
2353
|
+
orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2249
2354
|
price: {
|
|
2250
2355
|
deliveryFee?: number | null | undefined;
|
|
2251
2356
|
tax?: number | null | undefined;
|
|
@@ -2346,6 +2451,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2346
2451
|
estimatedOrderReadyTime: string;
|
|
2347
2452
|
maxOrderReadyTime: string;
|
|
2348
2453
|
} | null | undefined;
|
|
2454
|
+
orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2349
2455
|
price: {
|
|
2350
2456
|
deliveryFee?: number | null | undefined;
|
|
2351
2457
|
tax?: number | null | undefined;
|
|
@@ -2448,6 +2554,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2448
2554
|
estimatedOrderReadyTime: string;
|
|
2449
2555
|
maxOrderReadyTime: string;
|
|
2450
2556
|
} | null | undefined;
|
|
2557
|
+
orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2451
2558
|
price: {
|
|
2452
2559
|
deliveryFee?: number | null | undefined;
|
|
2453
2560
|
tax?: number | null | undefined;
|
|
@@ -2551,6 +2658,7 @@ export declare const GFListOrdersRes: z.ZodObject<{
|
|
|
2551
2658
|
estimatedOrderReadyTime: string;
|
|
2552
2659
|
maxOrderReadyTime: string;
|
|
2553
2660
|
} | null | undefined;
|
|
2661
|
+
orderState?: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED" | null | undefined;
|
|
2554
2662
|
price: {
|
|
2555
2663
|
deliveryFee?: number | null | undefined;
|
|
2556
2664
|
tax?: number | null | undefined;
|
|
@@ -2653,14 +2761,14 @@ export declare const GFPushOrderStateDto: z.ZodObject<{
|
|
|
2653
2761
|
code?: string | null | undefined;
|
|
2654
2762
|
message?: string | null | undefined;
|
|
2655
2763
|
driverETA?: number | null | undefined;
|
|
2656
|
-
state: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "
|
|
2764
|
+
state: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED";
|
|
2657
2765
|
merchantID: string;
|
|
2658
2766
|
orderID: string;
|
|
2659
2767
|
}, {
|
|
2660
2768
|
code?: string | null | undefined;
|
|
2661
2769
|
message?: string | null | undefined;
|
|
2662
2770
|
driverETA?: number | null | undefined;
|
|
2663
|
-
state: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "
|
|
2771
|
+
state: "FAILED" | "DELIVERED" | "CANCELLED" | "ACCEPTED" | "COLLECTED" | "DRIVER_ALLOCATED" | "DRIVER_ARRIVED";
|
|
2664
2772
|
merchantID: string;
|
|
2665
2773
|
orderID: string;
|
|
2666
2774
|
}>;
|
|
@@ -4394,12 +4502,14 @@ export type GFMarkOrderRes = z.infer<typeof GFMarkOrderRes>;
|
|
|
4394
4502
|
export type GFListOrdersRes = z.infer<typeof GFListOrdersRes>;
|
|
4395
4503
|
export type GFTempPauseStoreDto = z.infer<typeof GFTempPauseStoreDto>;
|
|
4396
4504
|
export type GFAcceptOrRejectGFOrderDto = z.infer<typeof GFAcceptOrRejectGFOrderDto>;
|
|
4505
|
+
export type GFUpdateMenuModifierDto = z.infer<typeof GFUpdateMenuModifierDto>;
|
|
4397
4506
|
export type GFReportDeliveryDto = z.infer<typeof GFReportDeliveryDto>;
|
|
4398
4507
|
export type GFListOrdersDto = z.infer<typeof GFListOrdersDto>;
|
|
4399
4508
|
export type GFUpdateMenuItemDto = z.infer<typeof GFUpdateMenuItemDto>;
|
|
4400
4509
|
export type GFConfig = z.infer<typeof GFConfig>;
|
|
4401
4510
|
export type GFLoginRes = z.infer<typeof GFLoginRes>;
|
|
4402
4511
|
export type GFLoginReq = z.infer<typeof GFLoginReq>;
|
|
4512
|
+
export type GFBatchUpdateMenuDto = z.infer<typeof GFBatchUpdateMenuDto>;
|
|
4403
4513
|
export type FdtoGrabfoodCampaignWorkingPeriod = z.infer<typeof FdtoGrabfoodCampaignWorkingPeriod>;
|
|
4404
4514
|
export type FdtoGrabfoodCampaignWorkingHour = z.infer<typeof FdtoGrabfoodCampaignWorkingHour>;
|
|
4405
4515
|
export type FdtoGrabfoodCampaignCondition = z.infer<typeof FdtoGrabfoodCampaignCondition>;
|
|
@@ -12249,6 +12249,7 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
12249
12249
|
}[] | null | undefined;
|
|
12250
12250
|
}>>>;
|
|
12251
12251
|
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12252
|
+
lowStockThreshold: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
12252
12253
|
}, "strip", z.ZodTypeAny, {
|
|
12253
12254
|
updatedAt?: string | null | undefined;
|
|
12254
12255
|
masterCatalogSetting?: {
|
|
@@ -12257,6 +12258,7 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
12257
12258
|
systemCode: string;
|
|
12258
12259
|
}[] | null | undefined;
|
|
12259
12260
|
} | null | undefined;
|
|
12261
|
+
lowStockThreshold?: number | null | undefined;
|
|
12260
12262
|
_id: string;
|
|
12261
12263
|
subModule: {
|
|
12262
12264
|
unit?: {
|
|
@@ -12649,6 +12651,7 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
12649
12651
|
systemCode: string;
|
|
12650
12652
|
}[] | null | undefined;
|
|
12651
12653
|
} | null | undefined;
|
|
12654
|
+
lowStockThreshold?: number | null | undefined;
|
|
12652
12655
|
_id: string;
|
|
12653
12656
|
subModule: {
|
|
12654
12657
|
unit?: {
|
|
@@ -13425,8 +13428,22 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
13425
13428
|
addonId: string;
|
|
13426
13429
|
})[]>;
|
|
13427
13430
|
}>;
|
|
13431
|
+
thresholdAdjustments: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13432
|
+
from: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ALL", "POS_ONLY", "NONE"]>>>;
|
|
13433
|
+
to: z.ZodEnum<["ALL", "POS_ONLY", "NONE"]>;
|
|
13434
|
+
}, "strip", z.ZodTypeAny, {
|
|
13435
|
+
from?: "ALL" | "POS_ONLY" | "NONE" | null | undefined;
|
|
13436
|
+
to: "ALL" | "POS_ONLY" | "NONE";
|
|
13437
|
+
}, {
|
|
13438
|
+
from?: "ALL" | "POS_ONLY" | "NONE" | null | undefined;
|
|
13439
|
+
to: "ALL" | "POS_ONLY" | "NONE";
|
|
13440
|
+
}>>>>;
|
|
13428
13441
|
}, "strip", z.ZodTypeAny, {
|
|
13429
13442
|
_id?: string | undefined;
|
|
13443
|
+
thresholdAdjustments?: Record<string, {
|
|
13444
|
+
from?: "ALL" | "POS_ONLY" | "NONE" | null | undefined;
|
|
13445
|
+
to: "ALL" | "POS_ONLY" | "NONE";
|
|
13446
|
+
}> | null | undefined;
|
|
13430
13447
|
override: {
|
|
13431
13448
|
product: Record<string, ({
|
|
13432
13449
|
type: "PRODUCT_PRICE";
|
|
@@ -13497,6 +13514,10 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
13497
13514
|
};
|
|
13498
13515
|
}, {
|
|
13499
13516
|
_id?: string | undefined;
|
|
13517
|
+
thresholdAdjustments?: Record<string, {
|
|
13518
|
+
from?: "ALL" | "POS_ONLY" | "NONE" | null | undefined;
|
|
13519
|
+
to: "ALL" | "POS_ONLY" | "NONE";
|
|
13520
|
+
}> | null | undefined;
|
|
13500
13521
|
override: {
|
|
13501
13522
|
product: Record<string, ({
|
|
13502
13523
|
type: "PRODUCT_PRICE";
|
|
@@ -13571,6 +13592,10 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
13571
13592
|
catalogId?: string | null | undefined;
|
|
13572
13593
|
posOverride?: {
|
|
13573
13594
|
_id?: string | undefined;
|
|
13595
|
+
thresholdAdjustments?: Record<string, {
|
|
13596
|
+
from?: "ALL" | "POS_ONLY" | "NONE" | null | undefined;
|
|
13597
|
+
to: "ALL" | "POS_ONLY" | "NONE";
|
|
13598
|
+
}> | null | undefined;
|
|
13574
13599
|
override: {
|
|
13575
13600
|
product: Record<string, ({
|
|
13576
13601
|
type: "PRODUCT_PRICE";
|
|
@@ -13649,6 +13674,7 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
13649
13674
|
systemCode: string;
|
|
13650
13675
|
}[] | null | undefined;
|
|
13651
13676
|
} | null | undefined;
|
|
13677
|
+
lowStockThreshold?: number | null | undefined;
|
|
13652
13678
|
_id: string;
|
|
13653
13679
|
subModule: {
|
|
13654
13680
|
unit?: {
|
|
@@ -14038,6 +14064,10 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
14038
14064
|
catalogId?: string | null | undefined;
|
|
14039
14065
|
posOverride?: {
|
|
14040
14066
|
_id?: string | undefined;
|
|
14067
|
+
thresholdAdjustments?: Record<string, {
|
|
14068
|
+
from?: "ALL" | "POS_ONLY" | "NONE" | null | undefined;
|
|
14069
|
+
to: "ALL" | "POS_ONLY" | "NONE";
|
|
14070
|
+
}> | null | undefined;
|
|
14041
14071
|
override: {
|
|
14042
14072
|
product: Record<string, ({
|
|
14043
14073
|
type: "PRODUCT_PRICE";
|
|
@@ -14116,6 +14146,7 @@ export declare const FdtoMergeMenuReq: z.ZodObject<{
|
|
|
14116
14146
|
systemCode: string;
|
|
14117
14147
|
}[] | null | undefined;
|
|
14118
14148
|
} | null | undefined;
|
|
14149
|
+
lowStockThreshold?: number | null | undefined;
|
|
14119
14150
|
_id: string;
|
|
14120
14151
|
subModule: {
|
|
14121
14152
|
unit?: {
|
|
@@ -13,20 +13,23 @@ export declare const FdtoIntegrationUpdateOrderReq: z.ZodObject<z.extendShape<{
|
|
|
13
13
|
platform: z.ZodString;
|
|
14
14
|
action: z.ZodEnum<["SYNC_MENU", "UPDATE_ORDER", "GET_OR_UPDATE_SETTING"]>;
|
|
15
15
|
}, {
|
|
16
|
-
status: z.ZodEnum<["REJECT", "DONE_PREPARED", "ACCEPT"]>;
|
|
16
|
+
status: z.ZodEnum<["REJECT", "DONE_PREPARED", "ACCEPT", "COLLECTED"]>;
|
|
17
17
|
orderId: z.ZodString;
|
|
18
18
|
billId: z.ZodString;
|
|
19
19
|
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
billRev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20
21
|
}>, "strip", z.ZodTypeAny, {
|
|
21
22
|
reason?: string | null | undefined;
|
|
22
|
-
|
|
23
|
+
billRev?: string | null | undefined;
|
|
24
|
+
status: "ACCEPT" | "REJECT" | "DONE_PREPARED" | "COLLECTED";
|
|
23
25
|
orderId: string;
|
|
24
26
|
action: "SYNC_MENU" | "UPDATE_ORDER" | "GET_OR_UPDATE_SETTING";
|
|
25
27
|
platform: string;
|
|
26
28
|
billId: string;
|
|
27
29
|
}, {
|
|
28
30
|
reason?: string | null | undefined;
|
|
29
|
-
|
|
31
|
+
billRev?: string | null | undefined;
|
|
32
|
+
status: "ACCEPT" | "REJECT" | "DONE_PREPARED" | "COLLECTED";
|
|
30
33
|
orderId: string;
|
|
31
34
|
action: "SYNC_MENU" | "UPDATE_ORDER" | "GET_OR_UPDATE_SETTING";
|
|
32
35
|
platform: string;
|