@feedmepos/mf-order-setting 0.0.30 → 0.0.31
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-Dvr4RUmt.js → KioskDevicesView-CWzmu0rZ.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CJ-xAR8i.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CldPl8BW.js} +2 -2
- package/dist/{KioskSettingView-DaJz8ZZi.js → KioskSettingView-BsxOiUdj.js} +1 -1
- package/dist/{KioskView-v8Yl4x4R.js → KioskView-DBnQe7Mp.js} +4 -4
- package/dist/{OrderSettingsView-DT9krR3_.js → OrderSettingsView-BvDtRpI_.js} +2286 -2251
- package/dist/{app-Dhx_DQ6c.js → app-G3iTmEHp.js} +7 -4
- package/dist/app.js +1 -1
- package/dist/common/util/index.d.ts +7 -1
- package/dist/{dayjs.min-BLlPHZkl.js → dayjs.min-ChzYZzP1.js} +1 -1
- package/dist/frontend/mf-order/src/app.d.ts +3 -0
- package/dist/frontend/mf-order/src/main.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +1 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Cg9kSeyn.js → index-Bacw_1Kj.js} +2 -2
- package/dist/package/entity/index.d.ts +1 -0
- package/dist/package/entity/order-platform/base-integration.dto.d.ts +71 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +6 -6
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +14 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +55 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood.enum.d.ts +2 -0
- package/dist/{queue.do-zk6sqriQ.js → queue.do-BtfSllT8.js} +5036 -4999
- package/package.json +1 -1
- package/src/locales/en-US.json +1 -0
- package/src/locales/th-TH.json +1 -0
- package/src/locales/zh-CN.json +1 -0
- package/src/views/order-settings/delivery/DeliverySetting.vue +2 -0
- package/src/views/order-settings/delivery/delivery.data.ts +2 -1
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +31 -2
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +2 -0
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +1 -0
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +16 -2
- package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +1 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as i, s as _, S as p, r as o } from "./dayjs.min-
|
|
2
|
-
import "./queue.do-
|
|
1
|
+
import { g as i, s as _, S as p, r as o } from "./dayjs.min-ChzYZzP1.js";
|
|
2
|
+
import "./queue.do-BtfSllT8.js";
|
|
3
3
|
async function C() {
|
|
4
4
|
const r = await o().get("/order-settings");
|
|
5
5
|
return i(r);
|
|
@@ -28,6 +28,7 @@ export * from './marketing/marketing.dto';
|
|
|
28
28
|
export * from './member/member.dto';
|
|
29
29
|
export * from './money/money.enum';
|
|
30
30
|
export * from './order-platform/base-integration.do';
|
|
31
|
+
export * from './order-platform/base-integration.dto';
|
|
31
32
|
export * from './order-platform/external/auth/external-auth.do';
|
|
32
33
|
export * from './order-platform/external/auth/external-auth.dto';
|
|
33
34
|
export * from './order-platform/external/menu/external-menu.dto';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const FdtoStoreStatus: z.ZodObject<{
|
|
3
|
+
isOpen: z.ZodBoolean;
|
|
4
|
+
closedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
|
6
|
+
closedReason?: string | null | undefined;
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
}, {
|
|
9
|
+
closedReason?: string | null | undefined;
|
|
10
|
+
isOpen: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const FdtoStoreStatusRes: z.ZodObject<{
|
|
13
|
+
foodpanda: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14
|
+
isOpen: z.ZodBoolean;
|
|
15
|
+
closedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
closedReason?: string | null | undefined;
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
}, {
|
|
20
|
+
closedReason?: string | null | undefined;
|
|
21
|
+
isOpen: boolean;
|
|
22
|
+
}>>>;
|
|
23
|
+
grabfood: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
24
|
+
isOpen: z.ZodBoolean;
|
|
25
|
+
closedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
closedReason?: string | null | undefined;
|
|
28
|
+
isOpen: boolean;
|
|
29
|
+
}, {
|
|
30
|
+
closedReason?: string | null | undefined;
|
|
31
|
+
isOpen: boolean;
|
|
32
|
+
}>>>;
|
|
33
|
+
shopeefood: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
34
|
+
isOpen: z.ZodBoolean;
|
|
35
|
+
closedReason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
|
+
closedReason?: string | null | undefined;
|
|
38
|
+
isOpen: boolean;
|
|
39
|
+
}, {
|
|
40
|
+
closedReason?: string | null | undefined;
|
|
41
|
+
isOpen: boolean;
|
|
42
|
+
}>>>;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
foodpanda?: {
|
|
45
|
+
closedReason?: string | null | undefined;
|
|
46
|
+
isOpen: boolean;
|
|
47
|
+
} | null | undefined;
|
|
48
|
+
grabfood?: {
|
|
49
|
+
closedReason?: string | null | undefined;
|
|
50
|
+
isOpen: boolean;
|
|
51
|
+
} | null | undefined;
|
|
52
|
+
shopeefood?: {
|
|
53
|
+
closedReason?: string | null | undefined;
|
|
54
|
+
isOpen: boolean;
|
|
55
|
+
} | null | undefined;
|
|
56
|
+
}, {
|
|
57
|
+
foodpanda?: {
|
|
58
|
+
closedReason?: string | null | undefined;
|
|
59
|
+
isOpen: boolean;
|
|
60
|
+
} | null | undefined;
|
|
61
|
+
grabfood?: {
|
|
62
|
+
closedReason?: string | null | undefined;
|
|
63
|
+
isOpen: boolean;
|
|
64
|
+
} | null | undefined;
|
|
65
|
+
shopeefood?: {
|
|
66
|
+
closedReason?: string | null | undefined;
|
|
67
|
+
isOpen: boolean;
|
|
68
|
+
} | null | undefined;
|
|
69
|
+
}>;
|
|
70
|
+
export type FdtoStoreStatus = z.infer<typeof FdtoStoreStatus>;
|
|
71
|
+
export type FdtoStoreStatusRes = z.infer<typeof FdtoStoreStatusRes>;
|
|
@@ -3873,8 +3873,8 @@ export declare const FPPosAvailabilityRes: z.ZodObject<{
|
|
|
3873
3873
|
platformId?: string | undefined;
|
|
3874
3874
|
platformType?: boolean | undefined;
|
|
3875
3875
|
closingMinutes?: number[] | undefined;
|
|
3876
|
-
availabilityState: "UNKNOWN" | "CLOSED" | "INACTIVE" | "CLOSED_UNTIL" | "OPEN" | "CLOSED_TODAY";
|
|
3877
3876
|
closedReason: "OTHER" | "BAD_WEATHER" | "CLOSED" | "TECHNICAL_PROBLEM" | "UNREACHABLE" | "TOO_BUSY_NO_DRIVERS" | "TOO_BUSY_KITCHEN" | "UPDATES_IN_MENU" | "CHECK_IN_REQUIRED" | "ORDER_FAILURE" | "TOO_MANY_REJECTED_ORDERS" | "COURIER_DELAYED_AT_PICKUP" | "RESTRICTED_VISIBILITY" | "HOLIDAY_SPECIAL_DAY" | "ONBOARDING" | "OFFBOARDING" | "RETENTION" | "COMPLIANCE_ISSUES" | "OWNERSHIP_CHANGE" | "REFURBISHMENT" | "FOOD_HYGIENE" | "FRAUD" | "RELIGIOUS_OBSERVANCE" | "CHECK_IN_FAILED" | "AREA_DISRUPTION";
|
|
3877
|
+
availabilityState: "UNKNOWN" | "CLOSED" | "INACTIVE" | "CLOSED_UNTIL" | "OPEN" | "CLOSED_TODAY";
|
|
3878
3878
|
availabilityStates: ("UNKNOWN" | "CLOSED" | "INACTIVE" | "CLOSED_UNTIL" | "OPEN" | "CLOSED_TODAY")[];
|
|
3879
3879
|
closingReasons: ("OTHER" | "BAD_WEATHER" | "CLOSED" | "TECHNICAL_PROBLEM" | "UNREACHABLE" | "TOO_BUSY_NO_DRIVERS" | "TOO_BUSY_KITCHEN" | "UPDATES_IN_MENU" | "CHECK_IN_REQUIRED" | "ORDER_FAILURE" | "TOO_MANY_REJECTED_ORDERS" | "COURIER_DELAYED_AT_PICKUP" | "RESTRICTED_VISIBILITY" | "HOLIDAY_SPECIAL_DAY" | "ONBOARDING" | "OFFBOARDING" | "RETENTION" | "COMPLIANCE_ISSUES" | "OWNERSHIP_CHANGE" | "REFURBISHMENT" | "FOOD_HYGIENE" | "FRAUD" | "RELIGIOUS_OBSERVANCE" | "CHECK_IN_FAILED" | "AREA_DISRUPTION")[];
|
|
3880
3880
|
changeable: boolean;
|
|
@@ -3887,8 +3887,8 @@ export declare const FPPosAvailabilityRes: z.ZodObject<{
|
|
|
3887
3887
|
platformId?: string | undefined;
|
|
3888
3888
|
platformType?: boolean | undefined;
|
|
3889
3889
|
closingMinutes?: number[] | undefined;
|
|
3890
|
-
availabilityState: "UNKNOWN" | "CLOSED" | "INACTIVE" | "CLOSED_UNTIL" | "OPEN" | "CLOSED_TODAY";
|
|
3891
3890
|
closedReason: "OTHER" | "BAD_WEATHER" | "CLOSED" | "TECHNICAL_PROBLEM" | "UNREACHABLE" | "TOO_BUSY_NO_DRIVERS" | "TOO_BUSY_KITCHEN" | "UPDATES_IN_MENU" | "CHECK_IN_REQUIRED" | "ORDER_FAILURE" | "TOO_MANY_REJECTED_ORDERS" | "COURIER_DELAYED_AT_PICKUP" | "RESTRICTED_VISIBILITY" | "HOLIDAY_SPECIAL_DAY" | "ONBOARDING" | "OFFBOARDING" | "RETENTION" | "COMPLIANCE_ISSUES" | "OWNERSHIP_CHANGE" | "REFURBISHMENT" | "FOOD_HYGIENE" | "FRAUD" | "RELIGIOUS_OBSERVANCE" | "CHECK_IN_FAILED" | "AREA_DISRUPTION";
|
|
3891
|
+
availabilityState: "UNKNOWN" | "CLOSED" | "INACTIVE" | "CLOSED_UNTIL" | "OPEN" | "CLOSED_TODAY";
|
|
3892
3892
|
availabilityStates: ("UNKNOWN" | "CLOSED" | "INACTIVE" | "CLOSED_UNTIL" | "OPEN" | "CLOSED_TODAY")[];
|
|
3893
3893
|
closingReasons: ("OTHER" | "BAD_WEATHER" | "CLOSED" | "TECHNICAL_PROBLEM" | "UNREACHABLE" | "TOO_BUSY_NO_DRIVERS" | "TOO_BUSY_KITCHEN" | "UPDATES_IN_MENU" | "CHECK_IN_REQUIRED" | "ORDER_FAILURE" | "TOO_MANY_REJECTED_ORDERS" | "COURIER_DELAYED_AT_PICKUP" | "RESTRICTED_VISIBILITY" | "HOLIDAY_SPECIAL_DAY" | "ONBOARDING" | "OFFBOARDING" | "RETENTION" | "COMPLIANCE_ISSUES" | "OWNERSHIP_CHANGE" | "REFURBISHMENT" | "FOOD_HYGIENE" | "FRAUD" | "RELIGIOUS_OBSERVANCE" | "CHECK_IN_FAILED" | "AREA_DISRUPTION")[];
|
|
3894
3894
|
changeable: boolean;
|
|
@@ -3910,28 +3910,28 @@ declare const _FPUpdatePosAvailabilityData: z.ZodObject<{
|
|
|
3910
3910
|
closingMinutes: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
3911
3911
|
}>, "strip", z.ZodTypeAny, {
|
|
3912
3912
|
closingMinutes?: number | null | undefined;
|
|
3913
|
-
availabilityState: "CLOSED";
|
|
3914
3913
|
closedReason: string;
|
|
3914
|
+
availabilityState: "CLOSED";
|
|
3915
3915
|
}, {
|
|
3916
3916
|
closingMinutes?: number | null | undefined;
|
|
3917
|
-
availabilityState: "CLOSED";
|
|
3918
3917
|
closedReason: string;
|
|
3918
|
+
availabilityState: "CLOSED";
|
|
3919
3919
|
}>>;
|
|
3920
3920
|
}, "strip", z.ZodTypeAny, {
|
|
3921
3921
|
updateData: {
|
|
3922
3922
|
availabilityState: "OPEN";
|
|
3923
3923
|
} | {
|
|
3924
3924
|
closingMinutes?: number | null | undefined;
|
|
3925
|
-
availabilityState: "CLOSED";
|
|
3926
3925
|
closedReason: string;
|
|
3926
|
+
availabilityState: "CLOSED";
|
|
3927
3927
|
};
|
|
3928
3928
|
}, {
|
|
3929
3929
|
updateData: {
|
|
3930
3930
|
availabilityState: "OPEN";
|
|
3931
3931
|
} | {
|
|
3932
3932
|
closingMinutes?: number | null | undefined;
|
|
3933
|
-
availabilityState: "CLOSED";
|
|
3934
3933
|
closedReason: string;
|
|
3934
|
+
availabilityState: "CLOSED";
|
|
3935
3935
|
};
|
|
3936
3936
|
}>;
|
|
3937
3937
|
declare const FPGetOrderListRes: z.ZodObject<{
|
|
@@ -2727,6 +2727,19 @@ declare const GFTempPauseStoreDto: z.ZodObject<{
|
|
|
2727
2727
|
merchantID: string;
|
|
2728
2728
|
isPause: boolean;
|
|
2729
2729
|
}>;
|
|
2730
|
+
declare const GFStoreStatus: z.ZodObject<{
|
|
2731
|
+
isOpen: z.ZodBoolean;
|
|
2732
|
+
isInSpecialOpeningHourRange: z.ZodBoolean;
|
|
2733
|
+
closeReason: z.ZodString;
|
|
2734
|
+
}, "strip", z.ZodTypeAny, {
|
|
2735
|
+
isOpen: boolean;
|
|
2736
|
+
isInSpecialOpeningHourRange: boolean;
|
|
2737
|
+
closeReason: string;
|
|
2738
|
+
}, {
|
|
2739
|
+
isOpen: boolean;
|
|
2740
|
+
isInSpecialOpeningHourRange: boolean;
|
|
2741
|
+
closeReason: string;
|
|
2742
|
+
}>;
|
|
2730
2743
|
declare const GFMarkOrderDto: z.ZodObject<{
|
|
2731
2744
|
orderID: z.ZodString;
|
|
2732
2745
|
markStatus: z.ZodNumber;
|
|
@@ -4560,4 +4573,5 @@ export type FdtoGrabfoodListDiscountCampaignRes = z.infer<typeof FdtoGrabfoodLis
|
|
|
4560
4573
|
export type FdtoGrabfoodCreateOrUpdateSettings = z.infer<typeof FdtoGrabfoodCreateOrUpdateSettings>;
|
|
4561
4574
|
export type FdtoGrabfoodUpdateMenuItem = z.infer<typeof FdtoGrabfoodUpdateMenuItem>;
|
|
4562
4575
|
export type FdtoGrabfoodSyncDataDto = z.infer<typeof FdtoGrabfoodSyncDataDto>;
|
|
4576
|
+
export type GFStoreStatus = z.infer<typeof GFStoreStatus>;
|
|
4563
4577
|
export {};
|
|
@@ -1301,6 +1301,60 @@ export declare const SFRejectedOrderDto: z.ZodObject<{
|
|
|
1301
1301
|
store_id: string;
|
|
1302
1302
|
pickup_seq: string;
|
|
1303
1303
|
}>;
|
|
1304
|
+
export declare const SFStoreStatusData: z.ZodObject<{
|
|
1305
|
+
status: z.ZodEnum<["OPEN", "PAUSE"]>;
|
|
1306
|
+
opening_status: z.ZodString;
|
|
1307
|
+
reason_type: z.ZodNumber;
|
|
1308
|
+
reason_desc: z.ZodString;
|
|
1309
|
+
}, "strip", z.ZodTypeAny, {
|
|
1310
|
+
status: "OPEN" | "PAUSE";
|
|
1311
|
+
opening_status: string;
|
|
1312
|
+
reason_type: number;
|
|
1313
|
+
reason_desc: string;
|
|
1314
|
+
}, {
|
|
1315
|
+
status: "OPEN" | "PAUSE";
|
|
1316
|
+
opening_status: string;
|
|
1317
|
+
reason_type: number;
|
|
1318
|
+
reason_desc: string;
|
|
1319
|
+
}>;
|
|
1320
|
+
export declare const SFStoreStatus: z.ZodObject<{
|
|
1321
|
+
code: z.ZodNumber;
|
|
1322
|
+
msg: z.ZodString;
|
|
1323
|
+
data: z.ZodObject<{
|
|
1324
|
+
status: z.ZodEnum<["OPEN", "PAUSE"]>;
|
|
1325
|
+
opening_status: z.ZodString;
|
|
1326
|
+
reason_type: z.ZodNumber;
|
|
1327
|
+
reason_desc: z.ZodString;
|
|
1328
|
+
}, "strip", z.ZodTypeAny, {
|
|
1329
|
+
status: "OPEN" | "PAUSE";
|
|
1330
|
+
opening_status: string;
|
|
1331
|
+
reason_type: number;
|
|
1332
|
+
reason_desc: string;
|
|
1333
|
+
}, {
|
|
1334
|
+
status: "OPEN" | "PAUSE";
|
|
1335
|
+
opening_status: string;
|
|
1336
|
+
reason_type: number;
|
|
1337
|
+
reason_desc: string;
|
|
1338
|
+
}>;
|
|
1339
|
+
}, "strip", z.ZodTypeAny, {
|
|
1340
|
+
data: {
|
|
1341
|
+
status: "OPEN" | "PAUSE";
|
|
1342
|
+
opening_status: string;
|
|
1343
|
+
reason_type: number;
|
|
1344
|
+
reason_desc: string;
|
|
1345
|
+
};
|
|
1346
|
+
code: number;
|
|
1347
|
+
msg: string;
|
|
1348
|
+
}, {
|
|
1349
|
+
data: {
|
|
1350
|
+
status: "OPEN" | "PAUSE";
|
|
1351
|
+
opening_status: string;
|
|
1352
|
+
reason_type: number;
|
|
1353
|
+
reason_desc: string;
|
|
1354
|
+
};
|
|
1355
|
+
code: number;
|
|
1356
|
+
msg: string;
|
|
1357
|
+
}>;
|
|
1304
1358
|
export type SFRejectedOrderDto = z.infer<typeof SFRejectedOrderDto>;
|
|
1305
1359
|
export type SFNotifyMenuRes = z.infer<typeof SFNotifyMenuRes>;
|
|
1306
1360
|
export type SFGetOrderDto = z.infer<typeof SFGetOrderDto>;
|
|
@@ -1309,3 +1363,4 @@ export type SFLoginResData = z.infer<typeof SFLoginResData>;
|
|
|
1309
1363
|
export type SFLoginRes = z.infer<typeof SFLoginRes>;
|
|
1310
1364
|
export type SFLoginReq = z.infer<typeof SFLoginReq>;
|
|
1311
1365
|
export type SFGetOrderRes = z.infer<typeof SFGetOrderRes>;
|
|
1366
|
+
export type SFStoreStatus = z.infer<typeof SFStoreStatus>;
|
|
@@ -10,6 +10,7 @@ export declare const SF_DELIVERY_MODE: z.ZodNativeEnum<{
|
|
|
10
10
|
MERCHANT_DELIVERY: number;
|
|
11
11
|
PICKUP: number;
|
|
12
12
|
}>;
|
|
13
|
+
export declare const SF_STORE_STATUS: z.ZodEnum<["OPEN", "PAUSE"]>;
|
|
13
14
|
export type F_SHOPEEFOOD_ORDER_STATUS = z.infer<typeof F_SHOPEEFOOD_ORDER_STATUS>;
|
|
14
15
|
export type SF_STATUS = z.infer<typeof SF_STATUS>;
|
|
15
16
|
export type SF_CURRENCY = z.infer<typeof SF_CURRENCY>;
|
|
@@ -17,3 +18,4 @@ export type SF_REGION = z.infer<typeof SF_REGION>;
|
|
|
17
18
|
export type SF_ORDER_STATUS = z.infer<typeof SF_ORDER_STATUS>;
|
|
18
19
|
export type SF_PAYMENT_METHOD = z.infer<typeof SF_PAYMENT_METHOD>;
|
|
19
20
|
export type SF_DELIVERY_MODE = z.infer<typeof SF_DELIVERY_MODE>;
|
|
21
|
+
export type SF_STORE_STATUS = z.infer<typeof SF_STORE_STATUS>;
|