@feedmepos/mf-order-setting 0.0.27 → 0.0.29
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-AKvyDF3w.js → KioskDevicesView-Dvr4RUmt.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-Cx8VMyNB.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CJ-xAR8i.js} +2 -2
- package/dist/{KioskSettingView-equ5EIvU.js → KioskSettingView-DaJz8ZZi.js} +1 -1
- package/dist/{KioskView-CsE7BGtA.js → KioskView-v8Yl4x4R.js} +4 -4
- package/dist/OrderSettingsView-CN1PFwX_.js +74545 -0
- package/dist/{app-D-zQN9_E.js → app-d1Lptg6A.js} +123 -30
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CWQSmujV.js → dayjs.min-BLlPHZkl.js} +278 -267
- 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/remoteOrder/index.d.ts +1 -0
- package/dist/frontend/mf-order/src/app.d.ts +93 -0
- package/dist/frontend/mf-order/src/main.d.ts +93 -0
- package/dist/frontend/mf-order/src/stores/business/index.d.ts +62 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +139 -125
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +81 -78
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +54 -52
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +4 -0
- package/dist/frontend/mf-order/src/views/order-settings/discount-rule/DiscountRuleSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BwrMcIf2.js → index-Cg9kSeyn.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +596 -551
- package/dist/package/entity/delivery/delivery.dto.d.ts +118 -109
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +342 -652
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +13778 -478
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +731 -1227
- 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 +32 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +14 -14
- 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/effects/effect.dto.d.ts +154 -6
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +87 -34
- package/dist/package/entity/order/order.do.d.ts +177 -572
- package/dist/package/entity/order/order.dto.d.ts +902 -1412
- package/dist/package/entity/order/pickup/pickup.dto.d.ts +37 -0
- 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 +152 -2
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +2 -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/package/entity/queue/queue.dto.d.ts +11446 -93
- package/dist/package/entity/user/user.do.d.ts +129 -18
- package/dist/queue.do-zk6sqriQ.js +125612 -0
- 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/remoteOrder/index.ts +3 -0
- package/src/locales/en-US.json +31 -1
- package/src/locales/th-TH.json +31 -1
- package/src/locales/zh-CN.json +34 -1
- package/src/stores/business/index.ts +45 -0
- package/src/stores/restaurant/index.ts +3 -1
- package/src/views/order-settings/OrderSettingsView.vue +17 -5
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +38 -1
- package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +452 -0
- package/dist/OrderSettingsView-BpLXyk_0.js +0 -49013
- package/dist/queue.do-F110q0_J.js +0 -100389
|
@@ -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
|
}>;
|
|
@@ -4381,6 +4489,46 @@ export declare const FdtoGrabfoodSyncDataDto: z.ZodObject<{
|
|
|
4381
4489
|
jobID: string;
|
|
4382
4490
|
errors: (string | null)[] | null;
|
|
4383
4491
|
}>;
|
|
4492
|
+
export declare const FdtoGrabfoodGetIntegrationUrl: z.ZodObject<{
|
|
4493
|
+
partner: z.ZodObject<{
|
|
4494
|
+
merchantID: z.ZodString;
|
|
4495
|
+
}, "strip", z.ZodTypeAny, {
|
|
4496
|
+
merchantID: string;
|
|
4497
|
+
}, {
|
|
4498
|
+
merchantID: string;
|
|
4499
|
+
}>;
|
|
4500
|
+
}, "strip", z.ZodTypeAny, {
|
|
4501
|
+
partner: {
|
|
4502
|
+
merchantID: string;
|
|
4503
|
+
};
|
|
4504
|
+
}, {
|
|
4505
|
+
partner: {
|
|
4506
|
+
merchantID: string;
|
|
4507
|
+
};
|
|
4508
|
+
}>;
|
|
4509
|
+
export declare const FdtoGrabfoodIntegrationUrlResp: z.ZodObject<{
|
|
4510
|
+
activationUrl: z.ZodString;
|
|
4511
|
+
}, "strip", z.ZodTypeAny, {
|
|
4512
|
+
activationUrl: string;
|
|
4513
|
+
}, {
|
|
4514
|
+
activationUrl: string;
|
|
4515
|
+
}>;
|
|
4516
|
+
export declare const FdtoGrabfoodIntegrationStatusDto: z.ZodObject<{
|
|
4517
|
+
partnerMerchantID: z.ZodString;
|
|
4518
|
+
grabMerchantID: z.ZodString;
|
|
4519
|
+
integrationStatus: z.ZodEnum<["INACTIVE", "ACTIVE", "SYNCING", "FAILED"]>;
|
|
4520
|
+
}, "strip", z.ZodTypeAny, {
|
|
4521
|
+
partnerMerchantID: string;
|
|
4522
|
+
grabMerchantID: string;
|
|
4523
|
+
integrationStatus: "FAILED" | "ACTIVE" | "INACTIVE" | "SYNCING";
|
|
4524
|
+
}, {
|
|
4525
|
+
partnerMerchantID: string;
|
|
4526
|
+
grabMerchantID: string;
|
|
4527
|
+
integrationStatus: "FAILED" | "ACTIVE" | "INACTIVE" | "SYNCING";
|
|
4528
|
+
}>;
|
|
4529
|
+
export type FdtoGrabfoodIntegrationStatusDto = z.infer<typeof FdtoGrabfoodIntegrationStatusDto>;
|
|
4530
|
+
export type FdtoGrabfoodIntegrationUrlResp = z.infer<typeof FdtoGrabfoodIntegrationUrlResp>;
|
|
4531
|
+
export type FdtoGrabfoodGetIntegrationUrl = z.infer<typeof FdtoGrabfoodGetIntegrationUrl>;
|
|
4384
4532
|
export type GFCampaignQuota = z.infer<typeof GFCampaignQuota>;
|
|
4385
4533
|
export type GFCampaignWorkingPeriod = z.infer<typeof GFCampaignWorkingPeriod>;
|
|
4386
4534
|
export type GFCampaignWorkingHour = z.infer<typeof GFCampaignWorkingHour>;
|
|
@@ -4394,12 +4542,14 @@ export type GFMarkOrderRes = z.infer<typeof GFMarkOrderRes>;
|
|
|
4394
4542
|
export type GFListOrdersRes = z.infer<typeof GFListOrdersRes>;
|
|
4395
4543
|
export type GFTempPauseStoreDto = z.infer<typeof GFTempPauseStoreDto>;
|
|
4396
4544
|
export type GFAcceptOrRejectGFOrderDto = z.infer<typeof GFAcceptOrRejectGFOrderDto>;
|
|
4545
|
+
export type GFUpdateMenuModifierDto = z.infer<typeof GFUpdateMenuModifierDto>;
|
|
4397
4546
|
export type GFReportDeliveryDto = z.infer<typeof GFReportDeliveryDto>;
|
|
4398
4547
|
export type GFListOrdersDto = z.infer<typeof GFListOrdersDto>;
|
|
4399
4548
|
export type GFUpdateMenuItemDto = z.infer<typeof GFUpdateMenuItemDto>;
|
|
4400
4549
|
export type GFConfig = z.infer<typeof GFConfig>;
|
|
4401
4550
|
export type GFLoginRes = z.infer<typeof GFLoginRes>;
|
|
4402
4551
|
export type GFLoginReq = z.infer<typeof GFLoginReq>;
|
|
4552
|
+
export type GFBatchUpdateMenuDto = z.infer<typeof GFBatchUpdateMenuDto>;
|
|
4403
4553
|
export type FdtoGrabfoodCampaignWorkingPeriod = z.infer<typeof FdtoGrabfoodCampaignWorkingPeriod>;
|
|
4404
4554
|
export type FdtoGrabfoodCampaignWorkingHour = z.infer<typeof FdtoGrabfoodCampaignWorkingHour>;
|
|
4405
4555
|
export type FdtoGrabfoodCampaignCondition = z.infer<typeof FdtoGrabfoodCampaignCondition>;
|
|
@@ -23,9 +23,11 @@ export declare const GF_ORDER_TYPE: z.ZodEnum<["TakeAway", "DeliveredByGrab", "D
|
|
|
23
23
|
export declare const GF_CAMPAIGN_TYPE: z.ZodEnum<["percentage", "net", "delivery", "freeItem"]>;
|
|
24
24
|
export declare const GF_CAMPAIGN_DEDUCTED_PART: z.ZodEnum<["basket_amount", "delivery_fee"]>;
|
|
25
25
|
export declare const GF_POI_SOURCE: z.ZodEnum<["GRAB", "GOOGLE"]>;
|
|
26
|
+
export declare const GF_INTEGRATION_STATUS: z.ZodEnum<["INACTIVE", "ACTIVE", "SYNCING", "FAILED"]>;
|
|
26
27
|
export declare const GF_MARK_ORDER_STATUS: z.ZodNativeEnum<{
|
|
27
28
|
prepared: number;
|
|
28
29
|
}>;
|
|
30
|
+
export type GF_INTEGRATION_STATUS = z.infer<typeof GF_INTEGRATION_STATUS>;
|
|
29
31
|
export type GF_CAMPAIGN_CREATED_BY = z.infer<typeof GF_CAMPAIGN_CREATED_BY>;
|
|
30
32
|
export type GF_REPORT_DELIVERY_FROM_STATE = z.infer<typeof GF_REPORT_DELIVERY_FROM_STATE>;
|
|
31
33
|
export type GF_CAMPAIGN_LEVEL = z.infer<typeof GF_CAMPAIGN_LEVEL>;
|
|
@@ -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;
|