@feedmepos/mf-order-setting 0.0.28 → 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-BgXkmJ7v.js → KioskDevicesView-Dvr4RUmt.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-DZT0BuUN.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CJ-xAR8i.js} +2 -2
- package/dist/{KioskSettingView-DyX3Wv_2.js → KioskSettingView-DaJz8ZZi.js} +1 -1
- package/dist/{KioskView-Bgff7QPc.js → KioskView-v8Yl4x4R.js} +4 -4
- package/dist/{OrderSettingsView-C63s4uCD.js → OrderSettingsView-CN1PFwX_.js} +10911 -10700
- package/dist/{app-Dp79Gu_F.js → app-d1Lptg6A.js} +36 -15
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-B2ZkfNUH.js → dayjs.min-BLlPHZkl.js} +1 -1
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +1 -0
- package/dist/frontend/mf-order/src/app.d.ts +21 -0
- package/dist/frontend/mf-order/src/main.d.ts +21 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +1 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DzQn92Tp.js → index-Cg9kSeyn.js} +2 -2
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +3 -0
- package/dist/package/entity/order/pickup/pickup.dto.d.ts +37 -0
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +40 -0
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +2 -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-BUtcyDk3.js → queue.do-zk6sqriQ.js} +4543 -4509
- package/package.json +2 -2
- package/src/api/remoteOrder/index.ts +3 -0
- package/src/locales/en-US.json +8 -1
- package/src/locales/th-TH.json +8 -1
- package/src/locales/zh-CN.json +8 -1
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +38 -1
- package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +40 -22
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const UserDto: z.ZodObject<Omit<{
|
|
3
|
+
_id: z.ZodString;
|
|
4
|
+
birthday: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
5
|
+
gender: z.ZodNullable<z.ZodOptional<z.ZodEnum<["MALE", "FEMALE"]>>>;
|
|
6
|
+
addresses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7
|
+
name: z.ZodString;
|
|
8
|
+
address: z.ZodString;
|
|
9
|
+
coordinates: z.ZodArray<z.ZodNumber, "many">;
|
|
10
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
11
|
name: string;
|
|
11
12
|
address: string;
|
|
12
13
|
coordinates: number[];
|
|
@@ -15,21 +16,21 @@ export declare const UserDto: import("zod").ZodObject<Omit<{
|
|
|
15
16
|
address: string;
|
|
16
17
|
coordinates: number[];
|
|
17
18
|
}>, "many">>>;
|
|
18
|
-
email:
|
|
19
|
-
photoURL:
|
|
20
|
-
displayName:
|
|
21
|
-
phoneNumber:
|
|
22
|
-
imported:
|
|
23
|
-
source:
|
|
24
|
-
raw:
|
|
25
|
-
}, "strip",
|
|
19
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
photoURL: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
phoneNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
imported: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
24
|
+
source: z.ZodEnum<["FEEDME", "CITY_POS", "STOREHUB", "KERUYUn", "QISOFT", "WECHAT", "TEABAR", "NULL_MEMBER", "UMAI_POS", "QASHIER", "XILNET", "GENIUSPOS", "YHOFOODIE"]>;
|
|
25
|
+
raw: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
27
|
raw: Record<string, any>;
|
|
27
28
|
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
28
29
|
}, {
|
|
29
30
|
raw: Record<string, any>;
|
|
30
31
|
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
31
32
|
}>>>;
|
|
32
|
-
}, "imported">, "strip",
|
|
33
|
+
}, "imported">, "strip", z.ZodTypeAny, {
|
|
33
34
|
email?: string | null | undefined;
|
|
34
35
|
photoURL?: string | null | undefined;
|
|
35
36
|
phoneNumber?: string | null | undefined;
|
|
@@ -56,3 +57,113 @@ export declare const UserDto: import("zod").ZodObject<Omit<{
|
|
|
56
57
|
displayName?: string | null | undefined;
|
|
57
58
|
_id: string;
|
|
58
59
|
}>;
|
|
60
|
+
export declare const UserResponseDto: z.ZodObject<{
|
|
61
|
+
success: z.ZodBoolean;
|
|
62
|
+
user: z.ZodObject<{
|
|
63
|
+
_id: z.ZodString;
|
|
64
|
+
birthday: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
65
|
+
gender: z.ZodNullable<z.ZodOptional<z.ZodEnum<["MALE", "FEMALE"]>>>;
|
|
66
|
+
addresses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
+
name: z.ZodString;
|
|
68
|
+
address: z.ZodString;
|
|
69
|
+
coordinates: z.ZodArray<z.ZodNumber, "many">;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
name: string;
|
|
72
|
+
address: string;
|
|
73
|
+
coordinates: number[];
|
|
74
|
+
}, {
|
|
75
|
+
name: string;
|
|
76
|
+
address: string;
|
|
77
|
+
coordinates: number[];
|
|
78
|
+
}>, "many">>>;
|
|
79
|
+
email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
80
|
+
photoURL: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
81
|
+
displayName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
82
|
+
phoneNumber: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
83
|
+
imported: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
84
|
+
source: z.ZodEnum<["FEEDME", "CITY_POS", "STOREHUB", "KERUYUn", "QISOFT", "WECHAT", "TEABAR", "NULL_MEMBER", "UMAI_POS", "QASHIER", "XILNET", "GENIUSPOS", "YHOFOODIE"]>;
|
|
85
|
+
raw: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
raw: Record<string, any>;
|
|
88
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
89
|
+
}, {
|
|
90
|
+
raw: Record<string, any>;
|
|
91
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
92
|
+
}>>>;
|
|
93
|
+
}, "strip", z.ZodTypeAny, {
|
|
94
|
+
email?: string | null | undefined;
|
|
95
|
+
phoneNumber?: string | null | undefined;
|
|
96
|
+
birthday?: string | null | undefined;
|
|
97
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
98
|
+
addresses?: {
|
|
99
|
+
name: string;
|
|
100
|
+
address: string;
|
|
101
|
+
coordinates: number[];
|
|
102
|
+
}[] | null | undefined;
|
|
103
|
+
photoURL?: string | null | undefined;
|
|
104
|
+
displayName?: string | null | undefined;
|
|
105
|
+
imported?: {
|
|
106
|
+
raw: Record<string, any>;
|
|
107
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
108
|
+
} | null | undefined;
|
|
109
|
+
_id: string;
|
|
110
|
+
}, {
|
|
111
|
+
email?: string | null | undefined;
|
|
112
|
+
phoneNumber?: string | null | undefined;
|
|
113
|
+
birthday?: string | null | undefined;
|
|
114
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
115
|
+
addresses?: {
|
|
116
|
+
name: string;
|
|
117
|
+
address: string;
|
|
118
|
+
coordinates: number[];
|
|
119
|
+
}[] | null | undefined;
|
|
120
|
+
photoURL?: string | null | undefined;
|
|
121
|
+
displayName?: string | null | undefined;
|
|
122
|
+
imported?: {
|
|
123
|
+
raw: Record<string, any>;
|
|
124
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
125
|
+
} | null | undefined;
|
|
126
|
+
_id: string;
|
|
127
|
+
}>;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
user: {
|
|
130
|
+
email?: string | null | undefined;
|
|
131
|
+
phoneNumber?: string | null | undefined;
|
|
132
|
+
birthday?: string | null | undefined;
|
|
133
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
134
|
+
addresses?: {
|
|
135
|
+
name: string;
|
|
136
|
+
address: string;
|
|
137
|
+
coordinates: number[];
|
|
138
|
+
}[] | null | undefined;
|
|
139
|
+
photoURL?: string | null | undefined;
|
|
140
|
+
displayName?: string | null | undefined;
|
|
141
|
+
imported?: {
|
|
142
|
+
raw: Record<string, any>;
|
|
143
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
144
|
+
} | null | undefined;
|
|
145
|
+
_id: string;
|
|
146
|
+
};
|
|
147
|
+
success: boolean;
|
|
148
|
+
}, {
|
|
149
|
+
user: {
|
|
150
|
+
email?: string | null | undefined;
|
|
151
|
+
phoneNumber?: string | null | undefined;
|
|
152
|
+
birthday?: string | null | undefined;
|
|
153
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
154
|
+
addresses?: {
|
|
155
|
+
name: string;
|
|
156
|
+
address: string;
|
|
157
|
+
coordinates: number[];
|
|
158
|
+
}[] | null | undefined;
|
|
159
|
+
photoURL?: string | null | undefined;
|
|
160
|
+
displayName?: string | null | undefined;
|
|
161
|
+
imported?: {
|
|
162
|
+
raw: Record<string, any>;
|
|
163
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
164
|
+
} | null | undefined;
|
|
165
|
+
_id: string;
|
|
166
|
+
};
|
|
167
|
+
success: boolean;
|
|
168
|
+
}>;
|
|
169
|
+
export type UserResponseDto = z.infer<typeof UserResponseDto>;
|