@feedmepos/mf-common 0.0.8 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/App.vue.d.ts +5 -1
- package/dist/UserInfo.vue.d.ts +268 -0
- package/dist/api/index.d.ts +6 -0
- package/dist/app.d.ts +1181 -20
- package/dist/app.js +6627 -4108
- package/dist/auth.d.ts +63 -2
- package/dist/store.d.ts +377 -8
- package/dist/style.css +1 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +5 -3
package/dist/app.d.ts
CHANGED
@@ -1,80 +1,1181 @@
|
|
1
1
|
export declare const useCoreStore: () => {
|
2
2
|
namespace: import("vue").Ref<"prod" | "dev">;
|
3
|
-
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
3
|
+
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW">;
|
4
|
+
businesses: import("vue").Ref<{
|
5
|
+
internal?: boolean | null | undefined;
|
6
|
+
expiredAt?: string | null | undefined;
|
7
|
+
url?: string | null | undefined;
|
8
|
+
agentId?: string | null | undefined;
|
9
|
+
pf_agent?: {
|
10
|
+
clickupId?: string | null | undefined;
|
11
|
+
members?: {
|
12
|
+
pf_user?: {
|
13
|
+
birthday?: {
|
14
|
+
toString: () => string;
|
15
|
+
toDateString: () => string;
|
16
|
+
toTimeString: () => string;
|
17
|
+
toLocaleString: {
|
18
|
+
(): string;
|
19
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
20
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
21
|
+
};
|
22
|
+
toLocaleDateString: {
|
23
|
+
(): string;
|
24
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
25
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
26
|
+
};
|
27
|
+
toLocaleTimeString: {
|
28
|
+
(): string;
|
29
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
30
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
31
|
+
};
|
32
|
+
valueOf: () => number;
|
33
|
+
getTime: () => number;
|
34
|
+
getFullYear: () => number;
|
35
|
+
getUTCFullYear: () => number;
|
36
|
+
getMonth: () => number;
|
37
|
+
getUTCMonth: () => number;
|
38
|
+
getDate: () => number;
|
39
|
+
getUTCDate: () => number;
|
40
|
+
getDay: () => number;
|
41
|
+
getUTCDay: () => number;
|
42
|
+
getHours: () => number;
|
43
|
+
getUTCHours: () => number;
|
44
|
+
getMinutes: () => number;
|
45
|
+
getUTCMinutes: () => number;
|
46
|
+
getSeconds: () => number;
|
47
|
+
getUTCSeconds: () => number;
|
48
|
+
getMilliseconds: () => number;
|
49
|
+
getUTCMilliseconds: () => number;
|
50
|
+
getTimezoneOffset: () => number;
|
51
|
+
setTime: (time: number) => number;
|
52
|
+
setMilliseconds: (ms: number) => number;
|
53
|
+
setUTCMilliseconds: (ms: number) => number;
|
54
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
55
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
56
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
57
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
58
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
59
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
60
|
+
setDate: (date: number) => number;
|
61
|
+
setUTCDate: (date: number) => number;
|
62
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
63
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
64
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
65
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
66
|
+
toUTCString: () => string;
|
67
|
+
toISOString: () => string;
|
68
|
+
toJSON: (key?: any) => string;
|
69
|
+
[Symbol.toPrimitive]: {
|
70
|
+
(hint: "default"): string;
|
71
|
+
(hint: "string"): string;
|
72
|
+
(hint: "number"): number;
|
73
|
+
(hint: string): string | number;
|
74
|
+
};
|
75
|
+
} | null | undefined;
|
76
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
77
|
+
addresses?: {
|
78
|
+
name: string;
|
79
|
+
address: string;
|
80
|
+
coordinates: number[];
|
81
|
+
}[] | null | undefined;
|
82
|
+
email?: string | null | undefined;
|
83
|
+
photoURL?: string | null | undefined;
|
84
|
+
displayName?: string | null | undefined;
|
85
|
+
phoneNumber?: string | null | undefined;
|
86
|
+
imported?: {
|
87
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
88
|
+
raw: Record<string, any>;
|
89
|
+
} | null | undefined;
|
90
|
+
_id: string;
|
91
|
+
} | null | undefined;
|
92
|
+
userId: string;
|
93
|
+
role: "ADMIN";
|
94
|
+
}[] | null | undefined;
|
95
|
+
_id: string;
|
96
|
+
name: string;
|
97
|
+
code: string;
|
98
|
+
isReseller: boolean;
|
99
|
+
} | null | undefined;
|
100
|
+
thumbnail?: string | null | undefined;
|
101
|
+
billingInfos?: {
|
102
|
+
_id?: string | undefined;
|
103
|
+
name: string;
|
104
|
+
email: string;
|
105
|
+
address: {
|
106
|
+
coordinates?: number[] | undefined;
|
107
|
+
line2?: string | undefined;
|
108
|
+
line1: string;
|
109
|
+
state: string;
|
110
|
+
city: string;
|
111
|
+
postcode: string;
|
112
|
+
country: string;
|
113
|
+
};
|
114
|
+
companyName: string;
|
115
|
+
contact: string;
|
116
|
+
}[] | null | undefined;
|
117
|
+
_id: string;
|
118
|
+
ownerId: string;
|
119
|
+
name: string;
|
120
|
+
restaurantQuota: number;
|
121
|
+
warehouseQuota: number;
|
122
|
+
menuVersion: "v2" | "v3" | "v4";
|
123
|
+
}[]>;
|
4
124
|
currentBusiness: import("vue").Ref<{
|
5
125
|
id: string;
|
6
126
|
name: string;
|
7
127
|
} | undefined>;
|
128
|
+
currentApp: import("vue").Ref<string>;
|
8
129
|
$state: {
|
9
130
|
namespace: "prod" | "dev";
|
10
|
-
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
131
|
+
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
132
|
+
businesses: {
|
133
|
+
internal?: boolean | null | undefined;
|
134
|
+
expiredAt?: string | null | undefined;
|
135
|
+
url?: string | null | undefined;
|
136
|
+
agentId?: string | null | undefined;
|
137
|
+
pf_agent?: {
|
138
|
+
clickupId?: string | null | undefined;
|
139
|
+
members?: {
|
140
|
+
pf_user?: {
|
141
|
+
birthday?: {
|
142
|
+
toString: () => string;
|
143
|
+
toDateString: () => string;
|
144
|
+
toTimeString: () => string;
|
145
|
+
toLocaleString: {
|
146
|
+
(): string;
|
147
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
148
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
149
|
+
};
|
150
|
+
toLocaleDateString: {
|
151
|
+
(): string;
|
152
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
153
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
154
|
+
};
|
155
|
+
toLocaleTimeString: {
|
156
|
+
(): string;
|
157
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
158
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
159
|
+
};
|
160
|
+
valueOf: () => number;
|
161
|
+
getTime: () => number;
|
162
|
+
getFullYear: () => number;
|
163
|
+
getUTCFullYear: () => number;
|
164
|
+
getMonth: () => number;
|
165
|
+
getUTCMonth: () => number;
|
166
|
+
getDate: () => number;
|
167
|
+
getUTCDate: () => number;
|
168
|
+
getDay: () => number;
|
169
|
+
getUTCDay: () => number;
|
170
|
+
getHours: () => number;
|
171
|
+
getUTCHours: () => number;
|
172
|
+
getMinutes: () => number;
|
173
|
+
getUTCMinutes: () => number;
|
174
|
+
getSeconds: () => number;
|
175
|
+
getUTCSeconds: () => number;
|
176
|
+
getMilliseconds: () => number;
|
177
|
+
getUTCMilliseconds: () => number;
|
178
|
+
getTimezoneOffset: () => number;
|
179
|
+
setTime: (time: number) => number;
|
180
|
+
setMilliseconds: (ms: number) => number;
|
181
|
+
setUTCMilliseconds: (ms: number) => number;
|
182
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
183
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
184
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
185
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
186
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
187
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
188
|
+
setDate: (date: number) => number;
|
189
|
+
setUTCDate: (date: number) => number;
|
190
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
191
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
192
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
193
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
194
|
+
toUTCString: () => string;
|
195
|
+
toISOString: () => string;
|
196
|
+
toJSON: (key?: any) => string;
|
197
|
+
[Symbol.toPrimitive]: {
|
198
|
+
(hint: "default"): string;
|
199
|
+
(hint: "string"): string;
|
200
|
+
(hint: "number"): number;
|
201
|
+
(hint: string): string | number;
|
202
|
+
};
|
203
|
+
} | null | undefined;
|
204
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
205
|
+
addresses?: {
|
206
|
+
name: string;
|
207
|
+
address: string;
|
208
|
+
coordinates: number[];
|
209
|
+
}[] | null | undefined;
|
210
|
+
email?: string | null | undefined;
|
211
|
+
photoURL?: string | null | undefined;
|
212
|
+
displayName?: string | null | undefined;
|
213
|
+
phoneNumber?: string | null | undefined;
|
214
|
+
imported?: {
|
215
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
216
|
+
raw: Record<string, any>;
|
217
|
+
} | null | undefined;
|
218
|
+
_id: string;
|
219
|
+
} | null | undefined;
|
220
|
+
userId: string;
|
221
|
+
role: "ADMIN";
|
222
|
+
}[] | null | undefined;
|
223
|
+
_id: string;
|
224
|
+
name: string;
|
225
|
+
code: string;
|
226
|
+
isReseller: boolean;
|
227
|
+
} | null | undefined;
|
228
|
+
thumbnail?: string | null | undefined;
|
229
|
+
billingInfos?: {
|
230
|
+
_id?: string | undefined;
|
231
|
+
name: string;
|
232
|
+
email: string;
|
233
|
+
address: {
|
234
|
+
coordinates?: number[] | undefined;
|
235
|
+
line2?: string | undefined;
|
236
|
+
line1: string;
|
237
|
+
state: string;
|
238
|
+
city: string;
|
239
|
+
postcode: string;
|
240
|
+
country: string;
|
241
|
+
};
|
242
|
+
companyName: string;
|
243
|
+
contact: string;
|
244
|
+
}[] | null | undefined;
|
245
|
+
_id: string;
|
246
|
+
ownerId: string;
|
247
|
+
name: string;
|
248
|
+
restaurantQuota: number;
|
249
|
+
warehouseQuota: number;
|
250
|
+
menuVersion: "v2" | "v3" | "v4";
|
251
|
+
}[];
|
11
252
|
currentBusiness: {
|
12
253
|
id: string;
|
13
254
|
name: string;
|
14
255
|
} | undefined;
|
256
|
+
currentApp: string;
|
15
257
|
} & import("pinia").PiniaCustomStateProperties<import("pinia")._UnwrapAll<Pick<{
|
16
258
|
namespace: import("vue").Ref<"prod" | "dev">;
|
17
|
-
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
259
|
+
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW">;
|
260
|
+
businesses: import("vue").Ref<{
|
261
|
+
internal?: boolean | null | undefined;
|
262
|
+
expiredAt?: string | null | undefined;
|
263
|
+
url?: string | null | undefined;
|
264
|
+
agentId?: string | null | undefined;
|
265
|
+
pf_agent?: {
|
266
|
+
clickupId?: string | null | undefined;
|
267
|
+
members?: {
|
268
|
+
pf_user?: {
|
269
|
+
birthday?: {
|
270
|
+
toString: () => string;
|
271
|
+
toDateString: () => string;
|
272
|
+
toTimeString: () => string;
|
273
|
+
toLocaleString: {
|
274
|
+
(): string;
|
275
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
276
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
277
|
+
};
|
278
|
+
toLocaleDateString: {
|
279
|
+
(): string;
|
280
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
281
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
282
|
+
};
|
283
|
+
toLocaleTimeString: {
|
284
|
+
(): string;
|
285
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
286
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
287
|
+
};
|
288
|
+
valueOf: () => number;
|
289
|
+
getTime: () => number;
|
290
|
+
getFullYear: () => number;
|
291
|
+
getUTCFullYear: () => number;
|
292
|
+
getMonth: () => number;
|
293
|
+
getUTCMonth: () => number;
|
294
|
+
getDate: () => number;
|
295
|
+
getUTCDate: () => number;
|
296
|
+
getDay: () => number;
|
297
|
+
getUTCDay: () => number;
|
298
|
+
getHours: () => number;
|
299
|
+
getUTCHours: () => number;
|
300
|
+
getMinutes: () => number;
|
301
|
+
getUTCMinutes: () => number;
|
302
|
+
getSeconds: () => number;
|
303
|
+
getUTCSeconds: () => number;
|
304
|
+
getMilliseconds: () => number;
|
305
|
+
getUTCMilliseconds: () => number;
|
306
|
+
getTimezoneOffset: () => number;
|
307
|
+
setTime: (time: number) => number;
|
308
|
+
setMilliseconds: (ms: number) => number;
|
309
|
+
setUTCMilliseconds: (ms: number) => number;
|
310
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
311
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
312
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
313
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
314
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
315
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
316
|
+
setDate: (date: number) => number;
|
317
|
+
setUTCDate: (date: number) => number;
|
318
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
319
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
320
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
321
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
322
|
+
toUTCString: () => string;
|
323
|
+
toISOString: () => string;
|
324
|
+
toJSON: (key?: any) => string;
|
325
|
+
[Symbol.toPrimitive]: {
|
326
|
+
(hint: "default"): string;
|
327
|
+
(hint: "string"): string;
|
328
|
+
(hint: "number"): number;
|
329
|
+
(hint: string): string | number;
|
330
|
+
};
|
331
|
+
} | null | undefined;
|
332
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
333
|
+
addresses?: {
|
334
|
+
name: string;
|
335
|
+
address: string;
|
336
|
+
coordinates: number[];
|
337
|
+
}[] | null | undefined;
|
338
|
+
email?: string | null | undefined;
|
339
|
+
photoURL?: string | null | undefined;
|
340
|
+
displayName?: string | null | undefined;
|
341
|
+
phoneNumber?: string | null | undefined;
|
342
|
+
imported?: {
|
343
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
344
|
+
raw: Record<string, any>;
|
345
|
+
} | null | undefined;
|
346
|
+
_id: string;
|
347
|
+
} | null | undefined;
|
348
|
+
userId: string;
|
349
|
+
role: "ADMIN";
|
350
|
+
}[] | null | undefined;
|
351
|
+
_id: string;
|
352
|
+
name: string;
|
353
|
+
code: string;
|
354
|
+
isReseller: boolean;
|
355
|
+
} | null | undefined;
|
356
|
+
thumbnail?: string | null | undefined;
|
357
|
+
billingInfos?: {
|
358
|
+
_id?: string | undefined;
|
359
|
+
name: string;
|
360
|
+
email: string;
|
361
|
+
address: {
|
362
|
+
coordinates?: number[] | undefined;
|
363
|
+
line2?: string | undefined;
|
364
|
+
line1: string;
|
365
|
+
state: string;
|
366
|
+
city: string;
|
367
|
+
postcode: string;
|
368
|
+
country: string;
|
369
|
+
};
|
370
|
+
companyName: string;
|
371
|
+
contact: string;
|
372
|
+
}[] | null | undefined;
|
373
|
+
_id: string;
|
374
|
+
ownerId: string;
|
375
|
+
name: string;
|
376
|
+
restaurantQuota: number;
|
377
|
+
warehouseQuota: number;
|
378
|
+
menuVersion: "v2" | "v3" | "v4";
|
379
|
+
}[]>;
|
18
380
|
currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
|
381
|
+
currentApp: import("vue").Ref<string>;
|
19
382
|
setNamespace: (ns: "prod" | "dev") => void;
|
20
383
|
changeCountry: (country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW") => void;
|
21
|
-
|
22
|
-
|
384
|
+
getBusinesses: () => Promise<void>;
|
385
|
+
changeBusiness: (business: import("./store").FmpBusiness | undefined) => void;
|
386
|
+
setCurrentApp: (app: string) => void;
|
387
|
+
}, "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "currentApp">>>;
|
23
388
|
$patch(partialState: import("pinia")._DeepPartial<{
|
24
389
|
namespace: "prod" | "dev";
|
25
|
-
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
390
|
+
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
391
|
+
businesses: {
|
392
|
+
internal?: boolean | null | undefined;
|
393
|
+
expiredAt?: string | null | undefined;
|
394
|
+
url?: string | null | undefined;
|
395
|
+
agentId?: string | null | undefined;
|
396
|
+
pf_agent?: {
|
397
|
+
clickupId?: string | null | undefined;
|
398
|
+
members?: {
|
399
|
+
pf_user?: {
|
400
|
+
birthday?: {
|
401
|
+
toString: () => string;
|
402
|
+
toDateString: () => string;
|
403
|
+
toTimeString: () => string;
|
404
|
+
toLocaleString: {
|
405
|
+
(): string;
|
406
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
407
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
408
|
+
};
|
409
|
+
toLocaleDateString: {
|
410
|
+
(): string;
|
411
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
412
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
413
|
+
};
|
414
|
+
toLocaleTimeString: {
|
415
|
+
(): string;
|
416
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
417
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
418
|
+
};
|
419
|
+
valueOf: () => number;
|
420
|
+
getTime: () => number;
|
421
|
+
getFullYear: () => number;
|
422
|
+
getUTCFullYear: () => number;
|
423
|
+
getMonth: () => number;
|
424
|
+
getUTCMonth: () => number;
|
425
|
+
getDate: () => number;
|
426
|
+
getUTCDate: () => number;
|
427
|
+
getDay: () => number;
|
428
|
+
getUTCDay: () => number;
|
429
|
+
getHours: () => number;
|
430
|
+
getUTCHours: () => number;
|
431
|
+
getMinutes: () => number;
|
432
|
+
getUTCMinutes: () => number;
|
433
|
+
getSeconds: () => number;
|
434
|
+
getUTCSeconds: () => number;
|
435
|
+
getMilliseconds: () => number;
|
436
|
+
getUTCMilliseconds: () => number;
|
437
|
+
getTimezoneOffset: () => number;
|
438
|
+
setTime: (time: number) => number;
|
439
|
+
setMilliseconds: (ms: number) => number;
|
440
|
+
setUTCMilliseconds: (ms: number) => number;
|
441
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
442
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
443
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
444
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
445
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
446
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
447
|
+
setDate: (date: number) => number;
|
448
|
+
setUTCDate: (date: number) => number;
|
449
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
450
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
451
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
452
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
453
|
+
toUTCString: () => string;
|
454
|
+
toISOString: () => string;
|
455
|
+
toJSON: (key?: any) => string;
|
456
|
+
[Symbol.toPrimitive]: {
|
457
|
+
(hint: "default"): string;
|
458
|
+
(hint: "string"): string;
|
459
|
+
(hint: "number"): number;
|
460
|
+
(hint: string): string | number;
|
461
|
+
};
|
462
|
+
} | null | undefined;
|
463
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
464
|
+
addresses?: {
|
465
|
+
name: string;
|
466
|
+
address: string;
|
467
|
+
coordinates: number[];
|
468
|
+
}[] | null | undefined;
|
469
|
+
email?: string | null | undefined;
|
470
|
+
photoURL?: string | null | undefined;
|
471
|
+
displayName?: string | null | undefined;
|
472
|
+
phoneNumber?: string | null | undefined;
|
473
|
+
imported?: {
|
474
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
475
|
+
raw: Record<string, any>;
|
476
|
+
} | null | undefined;
|
477
|
+
_id: string;
|
478
|
+
} | null | undefined;
|
479
|
+
userId: string;
|
480
|
+
role: "ADMIN";
|
481
|
+
}[] | null | undefined;
|
482
|
+
_id: string;
|
483
|
+
name: string;
|
484
|
+
code: string;
|
485
|
+
isReseller: boolean;
|
486
|
+
} | null | undefined;
|
487
|
+
thumbnail?: string | null | undefined;
|
488
|
+
billingInfos?: {
|
489
|
+
_id?: string | undefined;
|
490
|
+
name: string;
|
491
|
+
email: string;
|
492
|
+
address: {
|
493
|
+
coordinates?: number[] | undefined;
|
494
|
+
line2?: string | undefined;
|
495
|
+
line1: string;
|
496
|
+
state: string;
|
497
|
+
city: string;
|
498
|
+
postcode: string;
|
499
|
+
country: string;
|
500
|
+
};
|
501
|
+
companyName: string;
|
502
|
+
contact: string;
|
503
|
+
}[] | null | undefined;
|
504
|
+
_id: string;
|
505
|
+
ownerId: string;
|
506
|
+
name: string;
|
507
|
+
restaurantQuota: number;
|
508
|
+
warehouseQuota: number;
|
509
|
+
menuVersion: "v2" | "v3" | "v4";
|
510
|
+
}[];
|
26
511
|
currentBusiness: {
|
27
512
|
id: string;
|
28
513
|
name: string;
|
29
514
|
} | undefined;
|
515
|
+
currentApp: string;
|
30
516
|
}>): void;
|
31
517
|
$patch<F extends (state: {
|
32
518
|
namespace: "prod" | "dev";
|
33
|
-
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
519
|
+
currentCountry: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW";
|
520
|
+
businesses: {
|
521
|
+
internal?: boolean | null | undefined;
|
522
|
+
expiredAt?: string | null | undefined;
|
523
|
+
url?: string | null | undefined;
|
524
|
+
agentId?: string | null | undefined;
|
525
|
+
pf_agent?: {
|
526
|
+
clickupId?: string | null | undefined;
|
527
|
+
members?: {
|
528
|
+
pf_user?: {
|
529
|
+
birthday?: {
|
530
|
+
toString: () => string;
|
531
|
+
toDateString: () => string;
|
532
|
+
toTimeString: () => string;
|
533
|
+
toLocaleString: {
|
534
|
+
(): string;
|
535
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
536
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
537
|
+
};
|
538
|
+
toLocaleDateString: {
|
539
|
+
(): string;
|
540
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
541
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
542
|
+
};
|
543
|
+
toLocaleTimeString: {
|
544
|
+
(): string;
|
545
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
546
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
547
|
+
};
|
548
|
+
valueOf: () => number;
|
549
|
+
getTime: () => number;
|
550
|
+
getFullYear: () => number;
|
551
|
+
getUTCFullYear: () => number;
|
552
|
+
getMonth: () => number;
|
553
|
+
getUTCMonth: () => number;
|
554
|
+
getDate: () => number;
|
555
|
+
getUTCDate: () => number;
|
556
|
+
getDay: () => number;
|
557
|
+
getUTCDay: () => number;
|
558
|
+
getHours: () => number;
|
559
|
+
getUTCHours: () => number;
|
560
|
+
getMinutes: () => number;
|
561
|
+
getUTCMinutes: () => number;
|
562
|
+
getSeconds: () => number;
|
563
|
+
getUTCSeconds: () => number;
|
564
|
+
getMilliseconds: () => number;
|
565
|
+
getUTCMilliseconds: () => number;
|
566
|
+
getTimezoneOffset: () => number;
|
567
|
+
setTime: (time: number) => number;
|
568
|
+
setMilliseconds: (ms: number) => number;
|
569
|
+
setUTCMilliseconds: (ms: number) => number;
|
570
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
571
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
572
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
573
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
574
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
575
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
576
|
+
setDate: (date: number) => number;
|
577
|
+
setUTCDate: (date: number) => number;
|
578
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
579
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
580
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
581
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
582
|
+
toUTCString: () => string;
|
583
|
+
toISOString: () => string;
|
584
|
+
toJSON: (key?: any) => string;
|
585
|
+
[Symbol.toPrimitive]: {
|
586
|
+
(hint: "default"): string;
|
587
|
+
(hint: "string"): string;
|
588
|
+
(hint: "number"): number;
|
589
|
+
(hint: string): string | number;
|
590
|
+
};
|
591
|
+
} | null | undefined;
|
592
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
593
|
+
addresses?: {
|
594
|
+
name: string;
|
595
|
+
address: string;
|
596
|
+
coordinates: number[];
|
597
|
+
}[] | null | undefined;
|
598
|
+
email?: string | null | undefined;
|
599
|
+
photoURL?: string | null | undefined;
|
600
|
+
displayName?: string | null | undefined;
|
601
|
+
phoneNumber?: string | null | undefined;
|
602
|
+
imported?: {
|
603
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
604
|
+
raw: Record<string, any>;
|
605
|
+
} | null | undefined;
|
606
|
+
_id: string;
|
607
|
+
} | null | undefined;
|
608
|
+
userId: string;
|
609
|
+
role: "ADMIN";
|
610
|
+
}[] | null | undefined;
|
611
|
+
_id: string;
|
612
|
+
name: string;
|
613
|
+
code: string;
|
614
|
+
isReseller: boolean;
|
615
|
+
} | null | undefined;
|
616
|
+
thumbnail?: string | null | undefined;
|
617
|
+
billingInfos?: {
|
618
|
+
_id?: string | undefined;
|
619
|
+
name: string;
|
620
|
+
email: string;
|
621
|
+
address: {
|
622
|
+
coordinates?: number[] | undefined;
|
623
|
+
line2?: string | undefined;
|
624
|
+
line1: string;
|
625
|
+
state: string;
|
626
|
+
city: string;
|
627
|
+
postcode: string;
|
628
|
+
country: string;
|
629
|
+
};
|
630
|
+
companyName: string;
|
631
|
+
contact: string;
|
632
|
+
}[] | null | undefined;
|
633
|
+
_id: string;
|
634
|
+
ownerId: string;
|
635
|
+
name: string;
|
636
|
+
restaurantQuota: number;
|
637
|
+
warehouseQuota: number;
|
638
|
+
menuVersion: "v2" | "v3" | "v4";
|
639
|
+
}[];
|
34
640
|
currentBusiness: {
|
35
641
|
id: string;
|
36
642
|
name: string;
|
37
643
|
} | undefined;
|
644
|
+
currentApp: string;
|
38
645
|
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
39
646
|
$reset(): void;
|
40
647
|
$subscribe(callback: import("pinia").SubscriptionCallback<import("pinia")._UnwrapAll<Pick<{
|
41
648
|
namespace: import("vue").Ref<"prod" | "dev">;
|
42
|
-
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
649
|
+
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW">;
|
650
|
+
businesses: import("vue").Ref<{
|
651
|
+
internal?: boolean | null | undefined;
|
652
|
+
expiredAt?: string | null | undefined;
|
653
|
+
url?: string | null | undefined;
|
654
|
+
agentId?: string | null | undefined;
|
655
|
+
pf_agent?: {
|
656
|
+
clickupId?: string | null | undefined;
|
657
|
+
members?: {
|
658
|
+
pf_user?: {
|
659
|
+
birthday?: {
|
660
|
+
toString: () => string;
|
661
|
+
toDateString: () => string;
|
662
|
+
toTimeString: () => string;
|
663
|
+
toLocaleString: {
|
664
|
+
(): string;
|
665
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
666
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
667
|
+
};
|
668
|
+
toLocaleDateString: {
|
669
|
+
(): string;
|
670
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
671
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
672
|
+
};
|
673
|
+
toLocaleTimeString: {
|
674
|
+
(): string;
|
675
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
676
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
677
|
+
};
|
678
|
+
valueOf: () => number;
|
679
|
+
getTime: () => number;
|
680
|
+
getFullYear: () => number;
|
681
|
+
getUTCFullYear: () => number;
|
682
|
+
getMonth: () => number;
|
683
|
+
getUTCMonth: () => number;
|
684
|
+
getDate: () => number;
|
685
|
+
getUTCDate: () => number;
|
686
|
+
getDay: () => number;
|
687
|
+
getUTCDay: () => number;
|
688
|
+
getHours: () => number;
|
689
|
+
getUTCHours: () => number;
|
690
|
+
getMinutes: () => number;
|
691
|
+
getUTCMinutes: () => number;
|
692
|
+
getSeconds: () => number;
|
693
|
+
getUTCSeconds: () => number;
|
694
|
+
getMilliseconds: () => number;
|
695
|
+
getUTCMilliseconds: () => number;
|
696
|
+
getTimezoneOffset: () => number;
|
697
|
+
setTime: (time: number) => number;
|
698
|
+
setMilliseconds: (ms: number) => number;
|
699
|
+
setUTCMilliseconds: (ms: number) => number;
|
700
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
701
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
702
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
703
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
704
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
705
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
706
|
+
setDate: (date: number) => number;
|
707
|
+
setUTCDate: (date: number) => number;
|
708
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
709
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
710
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
711
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
712
|
+
toUTCString: () => string;
|
713
|
+
toISOString: () => string;
|
714
|
+
toJSON: (key?: any) => string;
|
715
|
+
[Symbol.toPrimitive]: {
|
716
|
+
(hint: "default"): string;
|
717
|
+
(hint: "string"): string;
|
718
|
+
(hint: "number"): number;
|
719
|
+
(hint: string): string | number;
|
720
|
+
};
|
721
|
+
} | null | undefined;
|
722
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
723
|
+
addresses?: {
|
724
|
+
name: string;
|
725
|
+
address: string;
|
726
|
+
coordinates: number[];
|
727
|
+
}[] | null | undefined;
|
728
|
+
email?: string | null | undefined;
|
729
|
+
photoURL?: string | null | undefined;
|
730
|
+
displayName?: string | null | undefined;
|
731
|
+
phoneNumber?: string | null | undefined;
|
732
|
+
imported?: {
|
733
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
734
|
+
raw: Record<string, any>;
|
735
|
+
} | null | undefined;
|
736
|
+
_id: string;
|
737
|
+
} | null | undefined;
|
738
|
+
userId: string;
|
739
|
+
role: "ADMIN";
|
740
|
+
}[] | null | undefined;
|
741
|
+
_id: string;
|
742
|
+
name: string;
|
743
|
+
code: string;
|
744
|
+
isReseller: boolean;
|
745
|
+
} | null | undefined;
|
746
|
+
thumbnail?: string | null | undefined;
|
747
|
+
billingInfos?: {
|
748
|
+
_id?: string | undefined;
|
749
|
+
name: string;
|
750
|
+
email: string;
|
751
|
+
address: {
|
752
|
+
coordinates?: number[] | undefined;
|
753
|
+
line2?: string | undefined;
|
754
|
+
line1: string;
|
755
|
+
state: string;
|
756
|
+
city: string;
|
757
|
+
postcode: string;
|
758
|
+
country: string;
|
759
|
+
};
|
760
|
+
companyName: string;
|
761
|
+
contact: string;
|
762
|
+
}[] | null | undefined;
|
763
|
+
_id: string;
|
764
|
+
ownerId: string;
|
765
|
+
name: string;
|
766
|
+
restaurantQuota: number;
|
767
|
+
warehouseQuota: number;
|
768
|
+
menuVersion: "v2" | "v3" | "v4";
|
769
|
+
}[]>;
|
43
770
|
currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
|
771
|
+
currentApp: import("vue").Ref<string>;
|
44
772
|
setNamespace: (ns: "prod" | "dev") => void;
|
45
773
|
changeCountry: (country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW") => void;
|
46
|
-
|
47
|
-
|
774
|
+
getBusinesses: () => Promise<void>;
|
775
|
+
changeBusiness: (business: import("./store").FmpBusiness | undefined) => void;
|
776
|
+
setCurrentApp: (app: string) => void;
|
777
|
+
}, "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "currentApp">>>, options?: ({
|
48
778
|
detached?: boolean | undefined;
|
49
779
|
} & import("vue").WatchOptions<boolean>) | undefined): () => void;
|
50
780
|
$onAction(callback: import("pinia").StoreOnActionListener<"portal-core", import("pinia")._UnwrapAll<Pick<{
|
51
781
|
namespace: import("vue").Ref<"prod" | "dev">;
|
52
|
-
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
782
|
+
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW">;
|
783
|
+
businesses: import("vue").Ref<{
|
784
|
+
internal?: boolean | null | undefined;
|
785
|
+
expiredAt?: string | null | undefined;
|
786
|
+
url?: string | null | undefined;
|
787
|
+
agentId?: string | null | undefined;
|
788
|
+
pf_agent?: {
|
789
|
+
clickupId?: string | null | undefined;
|
790
|
+
members?: {
|
791
|
+
pf_user?: {
|
792
|
+
birthday?: {
|
793
|
+
toString: () => string;
|
794
|
+
toDateString: () => string;
|
795
|
+
toTimeString: () => string;
|
796
|
+
toLocaleString: {
|
797
|
+
(): string;
|
798
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
799
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
800
|
+
};
|
801
|
+
toLocaleDateString: {
|
802
|
+
(): string;
|
803
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
804
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
805
|
+
};
|
806
|
+
toLocaleTimeString: {
|
807
|
+
(): string;
|
808
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
809
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
810
|
+
};
|
811
|
+
valueOf: () => number;
|
812
|
+
getTime: () => number;
|
813
|
+
getFullYear: () => number;
|
814
|
+
getUTCFullYear: () => number;
|
815
|
+
getMonth: () => number;
|
816
|
+
getUTCMonth: () => number;
|
817
|
+
getDate: () => number;
|
818
|
+
getUTCDate: () => number;
|
819
|
+
getDay: () => number;
|
820
|
+
getUTCDay: () => number;
|
821
|
+
getHours: () => number;
|
822
|
+
getUTCHours: () => number;
|
823
|
+
getMinutes: () => number;
|
824
|
+
getUTCMinutes: () => number;
|
825
|
+
getSeconds: () => number;
|
826
|
+
getUTCSeconds: () => number;
|
827
|
+
getMilliseconds: () => number;
|
828
|
+
getUTCMilliseconds: () => number;
|
829
|
+
getTimezoneOffset: () => number;
|
830
|
+
setTime: (time: number) => number;
|
831
|
+
setMilliseconds: (ms: number) => number;
|
832
|
+
setUTCMilliseconds: (ms: number) => number;
|
833
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
834
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
835
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
836
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
837
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
838
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
839
|
+
setDate: (date: number) => number;
|
840
|
+
setUTCDate: (date: number) => number;
|
841
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
842
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
843
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
844
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
845
|
+
toUTCString: () => string;
|
846
|
+
toISOString: () => string;
|
847
|
+
toJSON: (key?: any) => string;
|
848
|
+
[Symbol.toPrimitive]: {
|
849
|
+
(hint: "default"): string;
|
850
|
+
(hint: "string"): string;
|
851
|
+
(hint: "number"): number;
|
852
|
+
(hint: string): string | number;
|
853
|
+
};
|
854
|
+
} | null | undefined;
|
855
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
856
|
+
addresses?: {
|
857
|
+
name: string;
|
858
|
+
address: string;
|
859
|
+
coordinates: number[];
|
860
|
+
}[] | null | undefined;
|
861
|
+
email?: string | null | undefined;
|
862
|
+
photoURL?: string | null | undefined;
|
863
|
+
displayName?: string | null | undefined;
|
864
|
+
phoneNumber?: string | null | undefined;
|
865
|
+
imported?: {
|
866
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
867
|
+
raw: Record<string, any>;
|
868
|
+
} | null | undefined;
|
869
|
+
_id: string;
|
870
|
+
} | null | undefined;
|
871
|
+
userId: string;
|
872
|
+
role: "ADMIN";
|
873
|
+
}[] | null | undefined;
|
874
|
+
_id: string;
|
875
|
+
name: string;
|
876
|
+
code: string;
|
877
|
+
isReseller: boolean;
|
878
|
+
} | null | undefined;
|
879
|
+
thumbnail?: string | null | undefined;
|
880
|
+
billingInfos?: {
|
881
|
+
_id?: string | undefined;
|
882
|
+
name: string;
|
883
|
+
email: string;
|
884
|
+
address: {
|
885
|
+
coordinates?: number[] | undefined;
|
886
|
+
line2?: string | undefined;
|
887
|
+
line1: string;
|
888
|
+
state: string;
|
889
|
+
city: string;
|
890
|
+
postcode: string;
|
891
|
+
country: string;
|
892
|
+
};
|
893
|
+
companyName: string;
|
894
|
+
contact: string;
|
895
|
+
}[] | null | undefined;
|
896
|
+
_id: string;
|
897
|
+
ownerId: string;
|
898
|
+
name: string;
|
899
|
+
restaurantQuota: number;
|
900
|
+
warehouseQuota: number;
|
901
|
+
menuVersion: "v2" | "v3" | "v4";
|
902
|
+
}[]>;
|
53
903
|
currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
|
904
|
+
currentApp: import("vue").Ref<string>;
|
54
905
|
setNamespace: (ns: "prod" | "dev") => void;
|
55
906
|
changeCountry: (country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW") => void;
|
56
|
-
|
57
|
-
|
907
|
+
getBusinesses: () => Promise<void>;
|
908
|
+
changeBusiness: (business: import("./store").FmpBusiness | undefined) => void;
|
909
|
+
setCurrentApp: (app: string) => void;
|
910
|
+
}, "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "currentApp">>, Pick<{
|
58
911
|
namespace: import("vue").Ref<"prod" | "dev">;
|
59
|
-
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
912
|
+
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW">;
|
913
|
+
businesses: import("vue").Ref<{
|
914
|
+
internal?: boolean | null | undefined;
|
915
|
+
expiredAt?: string | null | undefined;
|
916
|
+
url?: string | null | undefined;
|
917
|
+
agentId?: string | null | undefined;
|
918
|
+
pf_agent?: {
|
919
|
+
clickupId?: string | null | undefined;
|
920
|
+
members?: {
|
921
|
+
pf_user?: {
|
922
|
+
birthday?: {
|
923
|
+
toString: () => string;
|
924
|
+
toDateString: () => string;
|
925
|
+
toTimeString: () => string;
|
926
|
+
toLocaleString: {
|
927
|
+
(): string;
|
928
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
929
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
930
|
+
};
|
931
|
+
toLocaleDateString: {
|
932
|
+
(): string;
|
933
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
934
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
935
|
+
};
|
936
|
+
toLocaleTimeString: {
|
937
|
+
(): string;
|
938
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
939
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
940
|
+
};
|
941
|
+
valueOf: () => number;
|
942
|
+
getTime: () => number;
|
943
|
+
getFullYear: () => number;
|
944
|
+
getUTCFullYear: () => number;
|
945
|
+
getMonth: () => number;
|
946
|
+
getUTCMonth: () => number;
|
947
|
+
getDate: () => number;
|
948
|
+
getUTCDate: () => number;
|
949
|
+
getDay: () => number;
|
950
|
+
getUTCDay: () => number;
|
951
|
+
getHours: () => number;
|
952
|
+
getUTCHours: () => number;
|
953
|
+
getMinutes: () => number;
|
954
|
+
getUTCMinutes: () => number;
|
955
|
+
getSeconds: () => number;
|
956
|
+
getUTCSeconds: () => number;
|
957
|
+
getMilliseconds: () => number;
|
958
|
+
getUTCMilliseconds: () => number;
|
959
|
+
getTimezoneOffset: () => number;
|
960
|
+
setTime: (time: number) => number;
|
961
|
+
setMilliseconds: (ms: number) => number;
|
962
|
+
setUTCMilliseconds: (ms: number) => number;
|
963
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
964
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
965
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
966
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
967
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
968
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
969
|
+
setDate: (date: number) => number;
|
970
|
+
setUTCDate: (date: number) => number;
|
971
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
972
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
973
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
974
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
975
|
+
toUTCString: () => string;
|
976
|
+
toISOString: () => string;
|
977
|
+
toJSON: (key?: any) => string;
|
978
|
+
[Symbol.toPrimitive]: {
|
979
|
+
(hint: "default"): string;
|
980
|
+
(hint: "string"): string;
|
981
|
+
(hint: "number"): number;
|
982
|
+
(hint: string): string | number;
|
983
|
+
};
|
984
|
+
} | null | undefined;
|
985
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
986
|
+
addresses?: {
|
987
|
+
name: string;
|
988
|
+
address: string;
|
989
|
+
coordinates: number[];
|
990
|
+
}[] | null | undefined;
|
991
|
+
email?: string | null | undefined;
|
992
|
+
photoURL?: string | null | undefined;
|
993
|
+
displayName?: string | null | undefined;
|
994
|
+
phoneNumber?: string | null | undefined;
|
995
|
+
imported?: {
|
996
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
997
|
+
raw: Record<string, any>;
|
998
|
+
} | null | undefined;
|
999
|
+
_id: string;
|
1000
|
+
} | null | undefined;
|
1001
|
+
userId: string;
|
1002
|
+
role: "ADMIN";
|
1003
|
+
}[] | null | undefined;
|
1004
|
+
_id: string;
|
1005
|
+
name: string;
|
1006
|
+
code: string;
|
1007
|
+
isReseller: boolean;
|
1008
|
+
} | null | undefined;
|
1009
|
+
thumbnail?: string | null | undefined;
|
1010
|
+
billingInfos?: {
|
1011
|
+
_id?: string | undefined;
|
1012
|
+
name: string;
|
1013
|
+
email: string;
|
1014
|
+
address: {
|
1015
|
+
coordinates?: number[] | undefined;
|
1016
|
+
line2?: string | undefined;
|
1017
|
+
line1: string;
|
1018
|
+
state: string;
|
1019
|
+
city: string;
|
1020
|
+
postcode: string;
|
1021
|
+
country: string;
|
1022
|
+
};
|
1023
|
+
companyName: string;
|
1024
|
+
contact: string;
|
1025
|
+
}[] | null | undefined;
|
1026
|
+
_id: string;
|
1027
|
+
ownerId: string;
|
1028
|
+
name: string;
|
1029
|
+
restaurantQuota: number;
|
1030
|
+
warehouseQuota: number;
|
1031
|
+
menuVersion: "v2" | "v3" | "v4";
|
1032
|
+
}[]>;
|
60
1033
|
currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
|
1034
|
+
currentApp: import("vue").Ref<string>;
|
61
1035
|
setNamespace: (ns: "prod" | "dev") => void;
|
62
1036
|
changeCountry: (country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW") => void;
|
63
|
-
|
1037
|
+
getBusinesses: () => Promise<void>;
|
1038
|
+
changeBusiness: (business: import("./store").FmpBusiness | undefined) => void;
|
1039
|
+
setCurrentApp: (app: string) => void;
|
64
1040
|
}, never>, Pick<{
|
65
1041
|
namespace: import("vue").Ref<"prod" | "dev">;
|
66
|
-
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW"
|
1042
|
+
currentCountry: import("vue").Ref<"AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW">;
|
1043
|
+
businesses: import("vue").Ref<{
|
1044
|
+
internal?: boolean | null | undefined;
|
1045
|
+
expiredAt?: string | null | undefined;
|
1046
|
+
url?: string | null | undefined;
|
1047
|
+
agentId?: string | null | undefined;
|
1048
|
+
pf_agent?: {
|
1049
|
+
clickupId?: string | null | undefined;
|
1050
|
+
members?: {
|
1051
|
+
pf_user?: {
|
1052
|
+
birthday?: {
|
1053
|
+
toString: () => string;
|
1054
|
+
toDateString: () => string;
|
1055
|
+
toTimeString: () => string;
|
1056
|
+
toLocaleString: {
|
1057
|
+
(): string;
|
1058
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1059
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1060
|
+
};
|
1061
|
+
toLocaleDateString: {
|
1062
|
+
(): string;
|
1063
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1064
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1065
|
+
};
|
1066
|
+
toLocaleTimeString: {
|
1067
|
+
(): string;
|
1068
|
+
(locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1069
|
+
(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
|
1070
|
+
};
|
1071
|
+
valueOf: () => number;
|
1072
|
+
getTime: () => number;
|
1073
|
+
getFullYear: () => number;
|
1074
|
+
getUTCFullYear: () => number;
|
1075
|
+
getMonth: () => number;
|
1076
|
+
getUTCMonth: () => number;
|
1077
|
+
getDate: () => number;
|
1078
|
+
getUTCDate: () => number;
|
1079
|
+
getDay: () => number;
|
1080
|
+
getUTCDay: () => number;
|
1081
|
+
getHours: () => number;
|
1082
|
+
getUTCHours: () => number;
|
1083
|
+
getMinutes: () => number;
|
1084
|
+
getUTCMinutes: () => number;
|
1085
|
+
getSeconds: () => number;
|
1086
|
+
getUTCSeconds: () => number;
|
1087
|
+
getMilliseconds: () => number;
|
1088
|
+
getUTCMilliseconds: () => number;
|
1089
|
+
getTimezoneOffset: () => number;
|
1090
|
+
setTime: (time: number) => number;
|
1091
|
+
setMilliseconds: (ms: number) => number;
|
1092
|
+
setUTCMilliseconds: (ms: number) => number;
|
1093
|
+
setSeconds: (sec: number, ms?: number | undefined) => number;
|
1094
|
+
setUTCSeconds: (sec: number, ms?: number | undefined) => number;
|
1095
|
+
setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1096
|
+
setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
|
1097
|
+
setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1098
|
+
setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
|
1099
|
+
setDate: (date: number) => number;
|
1100
|
+
setUTCDate: (date: number) => number;
|
1101
|
+
setMonth: (month: number, date?: number | undefined) => number;
|
1102
|
+
setUTCMonth: (month: number, date?: number | undefined) => number;
|
1103
|
+
setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1104
|
+
setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
|
1105
|
+
toUTCString: () => string;
|
1106
|
+
toISOString: () => string;
|
1107
|
+
toJSON: (key?: any) => string;
|
1108
|
+
[Symbol.toPrimitive]: {
|
1109
|
+
(hint: "default"): string;
|
1110
|
+
(hint: "string"): string;
|
1111
|
+
(hint: "number"): number;
|
1112
|
+
(hint: string): string | number;
|
1113
|
+
};
|
1114
|
+
} | null | undefined;
|
1115
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
1116
|
+
addresses?: {
|
1117
|
+
name: string;
|
1118
|
+
address: string;
|
1119
|
+
coordinates: number[];
|
1120
|
+
}[] | null | undefined;
|
1121
|
+
email?: string | null | undefined;
|
1122
|
+
photoURL?: string | null | undefined;
|
1123
|
+
displayName?: string | null | undefined;
|
1124
|
+
phoneNumber?: string | null | undefined;
|
1125
|
+
imported?: {
|
1126
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
1127
|
+
raw: Record<string, any>;
|
1128
|
+
} | null | undefined;
|
1129
|
+
_id: string;
|
1130
|
+
} | null | undefined;
|
1131
|
+
userId: string;
|
1132
|
+
role: "ADMIN";
|
1133
|
+
}[] | null | undefined;
|
1134
|
+
_id: string;
|
1135
|
+
name: string;
|
1136
|
+
code: string;
|
1137
|
+
isReseller: boolean;
|
1138
|
+
} | null | undefined;
|
1139
|
+
thumbnail?: string | null | undefined;
|
1140
|
+
billingInfos?: {
|
1141
|
+
_id?: string | undefined;
|
1142
|
+
name: string;
|
1143
|
+
email: string;
|
1144
|
+
address: {
|
1145
|
+
coordinates?: number[] | undefined;
|
1146
|
+
line2?: string | undefined;
|
1147
|
+
line1: string;
|
1148
|
+
state: string;
|
1149
|
+
city: string;
|
1150
|
+
postcode: string;
|
1151
|
+
country: string;
|
1152
|
+
};
|
1153
|
+
companyName: string;
|
1154
|
+
contact: string;
|
1155
|
+
}[] | null | undefined;
|
1156
|
+
_id: string;
|
1157
|
+
ownerId: string;
|
1158
|
+
name: string;
|
1159
|
+
restaurantQuota: number;
|
1160
|
+
warehouseQuota: number;
|
1161
|
+
menuVersion: "v2" | "v3" | "v4";
|
1162
|
+
}[]>;
|
67
1163
|
currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
|
1164
|
+
currentApp: import("vue").Ref<string>;
|
68
1165
|
setNamespace: (ns: "prod" | "dev") => void;
|
69
1166
|
changeCountry: (country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW") => void;
|
70
|
-
|
71
|
-
|
1167
|
+
getBusinesses: () => Promise<void>;
|
1168
|
+
changeBusiness: (business: import("./store").FmpBusiness | undefined) => void;
|
1169
|
+
setCurrentApp: (app: string) => void;
|
1170
|
+
}, "setNamespace" | "changeCountry" | "getBusinesses" | "changeBusiness" | "setCurrentApp">>, detached?: boolean | undefined): () => void;
|
72
1171
|
$dispose(): void;
|
73
1172
|
$id: "portal-core";
|
74
1173
|
_customProperties: Set<string>;
|
75
1174
|
setNamespace: (ns: "prod" | "dev") => void;
|
76
1175
|
changeCountry: (country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW") => void;
|
77
|
-
|
1176
|
+
getBusinesses: () => Promise<void>;
|
1177
|
+
changeBusiness: (business: import("./store").FmpBusiness | undefined) => void;
|
1178
|
+
setCurrentApp: (app: string) => void;
|
78
1179
|
};
|
79
1180
|
export declare const useAuthStore: () => {
|
80
1181
|
currentUser: import("vue").Ref<{
|
@@ -95,6 +1196,10 @@ export declare const useAuthStore: () => {
|
|
95
1196
|
} | null;
|
96
1197
|
token: string | null;
|
97
1198
|
} & import("pinia").PiniaCustomStateProperties<import("pinia")._UnwrapAll<Pick<{
|
1199
|
+
config: (config: {
|
1200
|
+
clientId: string;
|
1201
|
+
customUrl?: string | undefined;
|
1202
|
+
}) => void;
|
98
1203
|
currentUser: import("vue").Ref<{
|
99
1204
|
id: string;
|
100
1205
|
email?: string | null | undefined;
|
@@ -103,8 +1208,14 @@ export declare const useAuthStore: () => {
|
|
103
1208
|
phoneNumber?: string | null | undefined;
|
104
1209
|
} | null>;
|
105
1210
|
token: import("vue").Ref<string | null>;
|
1211
|
+
refreshToken: () => Promise<string>;
|
106
1212
|
signOut: () => void;
|
107
1213
|
prompt: (root?: HTMLElement | undefined) => void;
|
1214
|
+
onAuthStateChanged: (callback: (user: import("./auth").FeedMeUser | null, token: string | null) => void) => void;
|
1215
|
+
getUserClaims: () => Promise<{
|
1216
|
+
exp: number;
|
1217
|
+
customClaims: Record<string, unknown>;
|
1218
|
+
}>;
|
108
1219
|
}, "currentUser" | "token">>>;
|
109
1220
|
$patch(partialState: import("pinia")._DeepPartial<{
|
110
1221
|
currentUser: {
|
@@ -128,6 +1239,10 @@ export declare const useAuthStore: () => {
|
|
128
1239
|
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
129
1240
|
$reset(): void;
|
130
1241
|
$subscribe(callback: import("pinia").SubscriptionCallback<import("pinia")._UnwrapAll<Pick<{
|
1242
|
+
config: (config: {
|
1243
|
+
clientId: string;
|
1244
|
+
customUrl?: string | undefined;
|
1245
|
+
}) => void;
|
131
1246
|
currentUser: import("vue").Ref<{
|
132
1247
|
id: string;
|
133
1248
|
email?: string | null | undefined;
|
@@ -136,12 +1251,22 @@ export declare const useAuthStore: () => {
|
|
136
1251
|
phoneNumber?: string | null | undefined;
|
137
1252
|
} | null>;
|
138
1253
|
token: import("vue").Ref<string | null>;
|
1254
|
+
refreshToken: () => Promise<string>;
|
139
1255
|
signOut: () => void;
|
140
1256
|
prompt: (root?: HTMLElement | undefined) => void;
|
1257
|
+
onAuthStateChanged: (callback: (user: import("./auth").FeedMeUser | null, token: string | null) => void) => void;
|
1258
|
+
getUserClaims: () => Promise<{
|
1259
|
+
exp: number;
|
1260
|
+
customClaims: Record<string, unknown>;
|
1261
|
+
}>;
|
141
1262
|
}, "currentUser" | "token">>>, options?: ({
|
142
1263
|
detached?: boolean | undefined;
|
143
1264
|
} & import("vue").WatchOptions<boolean>) | undefined): () => void;
|
144
1265
|
$onAction(callback: import("pinia").StoreOnActionListener<"auth", import("pinia")._UnwrapAll<Pick<{
|
1266
|
+
config: (config: {
|
1267
|
+
clientId: string;
|
1268
|
+
customUrl?: string | undefined;
|
1269
|
+
}) => void;
|
145
1270
|
currentUser: import("vue").Ref<{
|
146
1271
|
id: string;
|
147
1272
|
email?: string | null | undefined;
|
@@ -150,9 +1275,19 @@ export declare const useAuthStore: () => {
|
|
150
1275
|
phoneNumber?: string | null | undefined;
|
151
1276
|
} | null>;
|
152
1277
|
token: import("vue").Ref<string | null>;
|
1278
|
+
refreshToken: () => Promise<string>;
|
153
1279
|
signOut: () => void;
|
154
1280
|
prompt: (root?: HTMLElement | undefined) => void;
|
1281
|
+
onAuthStateChanged: (callback: (user: import("./auth").FeedMeUser | null, token: string | null) => void) => void;
|
1282
|
+
getUserClaims: () => Promise<{
|
1283
|
+
exp: number;
|
1284
|
+
customClaims: Record<string, unknown>;
|
1285
|
+
}>;
|
155
1286
|
}, "currentUser" | "token">>, Pick<{
|
1287
|
+
config: (config: {
|
1288
|
+
clientId: string;
|
1289
|
+
customUrl?: string | undefined;
|
1290
|
+
}) => void;
|
156
1291
|
currentUser: import("vue").Ref<{
|
157
1292
|
id: string;
|
158
1293
|
email?: string | null | undefined;
|
@@ -161,9 +1296,19 @@ export declare const useAuthStore: () => {
|
|
161
1296
|
phoneNumber?: string | null | undefined;
|
162
1297
|
} | null>;
|
163
1298
|
token: import("vue").Ref<string | null>;
|
1299
|
+
refreshToken: () => Promise<string>;
|
164
1300
|
signOut: () => void;
|
165
1301
|
prompt: (root?: HTMLElement | undefined) => void;
|
1302
|
+
onAuthStateChanged: (callback: (user: import("./auth").FeedMeUser | null, token: string | null) => void) => void;
|
1303
|
+
getUserClaims: () => Promise<{
|
1304
|
+
exp: number;
|
1305
|
+
customClaims: Record<string, unknown>;
|
1306
|
+
}>;
|
166
1307
|
}, never>, Pick<{
|
1308
|
+
config: (config: {
|
1309
|
+
clientId: string;
|
1310
|
+
customUrl?: string | undefined;
|
1311
|
+
}) => void;
|
167
1312
|
currentUser: import("vue").Ref<{
|
168
1313
|
id: string;
|
169
1314
|
email?: string | null | undefined;
|
@@ -172,13 +1317,29 @@ export declare const useAuthStore: () => {
|
|
172
1317
|
phoneNumber?: string | null | undefined;
|
173
1318
|
} | null>;
|
174
1319
|
token: import("vue").Ref<string | null>;
|
1320
|
+
refreshToken: () => Promise<string>;
|
175
1321
|
signOut: () => void;
|
176
1322
|
prompt: (root?: HTMLElement | undefined) => void;
|
177
|
-
|
1323
|
+
onAuthStateChanged: (callback: (user: import("./auth").FeedMeUser | null, token: string | null) => void) => void;
|
1324
|
+
getUserClaims: () => Promise<{
|
1325
|
+
exp: number;
|
1326
|
+
customClaims: Record<string, unknown>;
|
1327
|
+
}>;
|
1328
|
+
}, "config" | "refreshToken" | "signOut" | "prompt" | "onAuthStateChanged" | "getUserClaims">>, detached?: boolean | undefined): () => void;
|
178
1329
|
$dispose(): void;
|
179
1330
|
$id: "auth";
|
180
1331
|
_customProperties: Set<string>;
|
1332
|
+
config: (config: {
|
1333
|
+
clientId: string;
|
1334
|
+
customUrl?: string | undefined;
|
1335
|
+
}) => void;
|
1336
|
+
refreshToken: () => Promise<string>;
|
181
1337
|
signOut: () => void;
|
182
1338
|
prompt: (root?: HTMLElement | undefined) => void;
|
1339
|
+
onAuthStateChanged: (callback: (user: import("./auth").FeedMeUser | null, token: string | null) => void) => void;
|
1340
|
+
getUserClaims: () => Promise<{
|
1341
|
+
exp: number;
|
1342
|
+
customClaims: Record<string, unknown>;
|
1343
|
+
}>;
|
183
1344
|
};
|
184
1345
|
export { default as FmNavBar } from './App.vue';
|