@feedmepos/mf-common 1.1.0 → 1.1.1-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3376 @@
1
+ import { F_COUNTRY, FdoPermissionRule, FdoRestaurant } from '@feedmepos/core/entity';
2
+ import { type FeedMeUser } from './auth';
3
+ export interface FmpBusiness {
4
+ id: string;
5
+ name: string;
6
+ }
7
+ export interface FmpRestaurant extends FdoRestaurant {
8
+ managable: boolean;
9
+ }
10
+ export declare class FmpUser {
11
+ constructor(user: {
12
+ id: string;
13
+ email?: string | null;
14
+ photoURL?: string | null;
15
+ displayName?: string | null;
16
+ phoneNumber?: string | null;
17
+ });
18
+ id: string;
19
+ email?: string | null;
20
+ photoURL?: string | null;
21
+ displayName?: string | null;
22
+ phoneNumber?: string | null;
23
+ token: string;
24
+ tokenExpiredAt: Date;
25
+ setToken(token: string, tokenExpiredAt: Date): void;
26
+ private _adminPermissions;
27
+ setAdminPermisssions(permissions: FdoPermissionRule[]): void;
28
+ private _permissions;
29
+ setPermisssions(permissions: FdoPermissionRule[]): void;
30
+ get permissions(): FdoPermissionRule[];
31
+ }
32
+ type FmNamespace = 'prod' | 'dev';
33
+ export declare const useCore: import("pinia").StoreDefinition<"portal-core", import("pinia")._UnwrapAll<Pick<{
34
+ sessionUser: import("vue").Ref<{
35
+ id: string;
36
+ email?: string | null | undefined;
37
+ photoURL?: string | null | undefined;
38
+ displayName?: string | null | undefined;
39
+ phoneNumber?: string | null | undefined;
40
+ token: string;
41
+ tokenExpiredAt: {
42
+ toString: () => string;
43
+ toDateString: () => string;
44
+ toTimeString: () => string;
45
+ toLocaleString: {
46
+ (): string;
47
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
48
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
49
+ };
50
+ toLocaleDateString: {
51
+ (): string;
52
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
53
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
54
+ };
55
+ toLocaleTimeString: {
56
+ (): string;
57
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
58
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
59
+ };
60
+ valueOf: () => number;
61
+ getTime: () => number;
62
+ getFullYear: () => number;
63
+ getUTCFullYear: () => number;
64
+ getMonth: () => number;
65
+ getUTCMonth: () => number;
66
+ getDate: () => number;
67
+ getUTCDate: () => number;
68
+ getDay: () => number;
69
+ getUTCDay: () => number;
70
+ getHours: () => number;
71
+ getUTCHours: () => number;
72
+ getMinutes: () => number;
73
+ getUTCMinutes: () => number;
74
+ getSeconds: () => number;
75
+ getUTCSeconds: () => number;
76
+ getMilliseconds: () => number;
77
+ getUTCMilliseconds: () => number;
78
+ getTimezoneOffset: () => number;
79
+ setTime: (time: number) => number;
80
+ setMilliseconds: (ms: number) => number;
81
+ setUTCMilliseconds: (ms: number) => number;
82
+ setSeconds: (sec: number, ms?: number | undefined) => number;
83
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
84
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
85
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
86
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
87
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
88
+ setDate: (date: number) => number;
89
+ setUTCDate: (date: number) => number;
90
+ setMonth: (month: number, date?: number | undefined) => number;
91
+ setUTCMonth: (month: number, date?: number | undefined) => number;
92
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
93
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
94
+ toUTCString: () => string;
95
+ toISOString: () => string;
96
+ toJSON: (key?: any) => string;
97
+ [Symbol.toPrimitive]: {
98
+ (hint: "default"): string;
99
+ (hint: "string"): string;
100
+ (hint: "number"): number;
101
+ (hint: string): string | number;
102
+ };
103
+ };
104
+ setToken: (token: string, tokenExpiredAt: Date) => void;
105
+ setAdminPermisssions: (permissions: FdoPermissionRule[]) => void;
106
+ setPermisssions: (permissions: FdoPermissionRule[]) => void;
107
+ readonly permissions: {
108
+ fields?: string[] | undefined;
109
+ conditions?: any;
110
+ inverted?: boolean | undefined;
111
+ reason?: string | undefined;
112
+ label: string;
113
+ actions: string | string[];
114
+ subject: string | string[];
115
+ }[];
116
+ } | null>;
117
+ setUser: (user: FeedMeUser | null) => Promise<void>;
118
+ fetchUserAdminPermissions: () => Promise<void>;
119
+ fetchUserPermissions: () => Promise<void>;
120
+ namespace: import("vue").Ref<FmNamespace>;
121
+ setNamespace: (ns: FmNamespace) => void;
122
+ 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">;
123
+ changeCountry: (country: F_COUNTRY) => Promise<void>;
124
+ businesses: import("vue").Ref<{
125
+ internal?: boolean | null | undefined;
126
+ expiredAt?: string | null | undefined;
127
+ url?: string | null | undefined;
128
+ agentId?: string | null | undefined;
129
+ pf_agent?: {
130
+ clickupId?: string | null | undefined;
131
+ members?: {
132
+ pf_user?: {
133
+ email?: string | null | undefined;
134
+ photoURL?: string | null | undefined;
135
+ displayName?: string | null | undefined;
136
+ phoneNumber?: string | null | undefined;
137
+ birthday?: {
138
+ toString: () => string;
139
+ toDateString: () => string;
140
+ toTimeString: () => string;
141
+ toLocaleString: {
142
+ (): string;
143
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
144
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
145
+ };
146
+ toLocaleDateString: {
147
+ (): string;
148
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
149
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
150
+ };
151
+ toLocaleTimeString: {
152
+ (): string;
153
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
154
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
155
+ };
156
+ valueOf: () => number;
157
+ getTime: () => number;
158
+ getFullYear: () => number;
159
+ getUTCFullYear: () => number;
160
+ getMonth: () => number;
161
+ getUTCMonth: () => number;
162
+ getDate: () => number;
163
+ getUTCDate: () => number;
164
+ getDay: () => number;
165
+ getUTCDay: () => number;
166
+ getHours: () => number;
167
+ getUTCHours: () => number;
168
+ getMinutes: () => number;
169
+ getUTCMinutes: () => number;
170
+ getSeconds: () => number;
171
+ getUTCSeconds: () => number;
172
+ getMilliseconds: () => number;
173
+ getUTCMilliseconds: () => number;
174
+ getTimezoneOffset: () => number;
175
+ setTime: (time: number) => number;
176
+ setMilliseconds: (ms: number) => number;
177
+ setUTCMilliseconds: (ms: number) => number;
178
+ setSeconds: (sec: number, ms?: number | undefined) => number;
179
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
180
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
181
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
182
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
183
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
184
+ setDate: (date: number) => number;
185
+ setUTCDate: (date: number) => number;
186
+ setMonth: (month: number, date?: number | undefined) => number;
187
+ setUTCMonth: (month: number, date?: number | undefined) => number;
188
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
189
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
190
+ toUTCString: () => string;
191
+ toISOString: () => string;
192
+ toJSON: (key?: any) => string;
193
+ [Symbol.toPrimitive]: {
194
+ (hint: "default"): string;
195
+ (hint: "string"): string;
196
+ (hint: "number"): number;
197
+ (hint: string): string | number;
198
+ };
199
+ } | null | undefined;
200
+ gender?: "MALE" | "FEMALE" | null | undefined;
201
+ addresses?: {
202
+ address: string;
203
+ name: string;
204
+ coordinates: number[];
205
+ }[] | null | undefined;
206
+ imported?: {
207
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
208
+ raw: Record<string, any>;
209
+ } | null | undefined;
210
+ _id: string;
211
+ } | null | undefined;
212
+ userId: string;
213
+ role: "ADMIN";
214
+ }[] | null | undefined;
215
+ code: string;
216
+ name: string;
217
+ _id: string;
218
+ isReseller: boolean;
219
+ } | null | undefined;
220
+ thumbnail?: string | null | undefined;
221
+ billingInfos?: {
222
+ _id?: string | undefined;
223
+ address: {
224
+ coordinates?: number[] | undefined;
225
+ line2?: string | undefined;
226
+ country: string;
227
+ state: string;
228
+ line1: string;
229
+ city: string;
230
+ postcode: string;
231
+ };
232
+ name: string;
233
+ email: string;
234
+ companyName: string;
235
+ contact: string;
236
+ }[] | null | undefined;
237
+ name: string;
238
+ _id: string;
239
+ ownerId: string;
240
+ restaurantQuota: number;
241
+ warehouseQuota: number;
242
+ menuVersion: "v2" | "v3" | "v4";
243
+ }[]>;
244
+ currentBusiness: import("vue").Ref<FmpBusiness | undefined>;
245
+ readBusinesses: () => Promise<FmpBusiness | undefined>;
246
+ changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
247
+ restaurants: import("vue").Ref<{
248
+ managable: boolean;
249
+ pf_business?: {
250
+ internal?: boolean | null | undefined;
251
+ expiredAt?: string | null | undefined;
252
+ url?: string | null | undefined;
253
+ agentId?: string | null | undefined;
254
+ pf_agent?: {
255
+ clickupId?: string | null | undefined;
256
+ members?: {
257
+ pf_user?: {
258
+ email?: string | null | undefined;
259
+ photoURL?: string | null | undefined;
260
+ displayName?: string | null | undefined;
261
+ phoneNumber?: string | null | undefined;
262
+ birthday?: {
263
+ toString: () => string;
264
+ toDateString: () => string;
265
+ toTimeString: () => string;
266
+ toLocaleString: {
267
+ (): string;
268
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
269
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
270
+ };
271
+ toLocaleDateString: {
272
+ (): string;
273
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
274
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
275
+ };
276
+ toLocaleTimeString: {
277
+ (): string;
278
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
279
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
280
+ };
281
+ valueOf: () => number;
282
+ getTime: () => number;
283
+ getFullYear: () => number;
284
+ getUTCFullYear: () => number;
285
+ getMonth: () => number;
286
+ getUTCMonth: () => number;
287
+ getDate: () => number;
288
+ getUTCDate: () => number;
289
+ getDay: () => number;
290
+ getUTCDay: () => number;
291
+ getHours: () => number;
292
+ getUTCHours: () => number;
293
+ getMinutes: () => number;
294
+ getUTCMinutes: () => number;
295
+ getSeconds: () => number;
296
+ getUTCSeconds: () => number;
297
+ getMilliseconds: () => number;
298
+ getUTCMilliseconds: () => number;
299
+ getTimezoneOffset: () => number;
300
+ setTime: (time: number) => number;
301
+ setMilliseconds: (ms: number) => number;
302
+ setUTCMilliseconds: (ms: number) => number;
303
+ setSeconds: (sec: number, ms?: number | undefined) => number;
304
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
305
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
306
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
307
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
308
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
309
+ setDate: (date: number) => number;
310
+ setUTCDate: (date: number) => number;
311
+ setMonth: (month: number, date?: number | undefined) => number;
312
+ setUTCMonth: (month: number, date?: number | undefined) => number;
313
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
314
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
315
+ toUTCString: () => string;
316
+ toISOString: () => string;
317
+ toJSON: (key?: any) => string;
318
+ [Symbol.toPrimitive]: {
319
+ (hint: "default"): string;
320
+ (hint: "string"): string;
321
+ (hint: "number"): number;
322
+ (hint: string): string | number;
323
+ };
324
+ } | null | undefined;
325
+ gender?: "MALE" | "FEMALE" | null | undefined;
326
+ addresses?: {
327
+ address: string;
328
+ name: string;
329
+ coordinates: number[];
330
+ }[] | null | undefined;
331
+ imported?: {
332
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
333
+ raw: Record<string, any>;
334
+ } | null | undefined;
335
+ _id: string;
336
+ } | null | undefined;
337
+ userId: string;
338
+ role: "ADMIN";
339
+ }[] | null | undefined;
340
+ code: string;
341
+ name: string;
342
+ _id: string;
343
+ isReseller: boolean;
344
+ } | null | undefined;
345
+ thumbnail?: string | null | undefined;
346
+ billingInfos?: {
347
+ _id?: string | undefined;
348
+ address: {
349
+ coordinates?: number[] | undefined;
350
+ line2?: string | undefined;
351
+ country: string;
352
+ state: string;
353
+ line1: string;
354
+ city: string;
355
+ postcode: string;
356
+ };
357
+ name: string;
358
+ email: string;
359
+ companyName: string;
360
+ contact: string;
361
+ }[] | null | undefined;
362
+ name: string;
363
+ _id: string;
364
+ ownerId: string;
365
+ restaurantQuota: number;
366
+ warehouseQuota: number;
367
+ menuVersion: "v2" | "v3" | "v4";
368
+ } | null | undefined;
369
+ features?: ("pickup" | "stock" | "discovery" | "delivery" | "foodpanda" | "deliveryIntegration" | "kds" | "ods")[] | null | undefined;
370
+ machineOtp?: string | null | undefined;
371
+ machineOtpExpiredAt?: string | null | undefined;
372
+ machineId?: string | null | undefined;
373
+ channel?: string | null | undefined;
374
+ posVersion?: string | null | undefined;
375
+ posHeartbeat?: string | null | undefined;
376
+ posVersionHistory?: Record<string, string> | null | undefined;
377
+ catalogId?: string | null | undefined;
378
+ additionalCatalogs?: string[] | null | undefined;
379
+ inHouseDelivery?: {
380
+ deliveryTime?: {
381
+ time?: string[] | null | undefined;
382
+ custom?: {
383
+ 0: {
384
+ enable: boolean;
385
+ hours: {
386
+ start: string;
387
+ end: string;
388
+ }[];
389
+ };
390
+ 1: {
391
+ enable: boolean;
392
+ hours: {
393
+ start: string;
394
+ end: string;
395
+ }[];
396
+ };
397
+ 2: {
398
+ enable: boolean;
399
+ hours: {
400
+ start: string;
401
+ end: string;
402
+ }[];
403
+ };
404
+ 3: {
405
+ enable: boolean;
406
+ hours: {
407
+ start: string;
408
+ end: string;
409
+ }[];
410
+ };
411
+ 4: {
412
+ enable: boolean;
413
+ hours: {
414
+ start: string;
415
+ end: string;
416
+ }[];
417
+ };
418
+ 5: {
419
+ enable: boolean;
420
+ hours: {
421
+ start: string;
422
+ end: string;
423
+ }[];
424
+ };
425
+ 6: {
426
+ enable: boolean;
427
+ hours: {
428
+ start: string;
429
+ end: string;
430
+ }[];
431
+ };
432
+ } | null | undefined;
433
+ day: {
434
+ max: number;
435
+ min: number;
436
+ };
437
+ } | null | undefined;
438
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
439
+ offlinePaymentTypes?: {
440
+ name: string;
441
+ instruction: string;
442
+ }[] | undefined;
443
+ autoAccept?: boolean | undefined;
444
+ autoAcceptPaidOnly?: boolean | undefined;
445
+ ignoreStock?: boolean | undefined;
446
+ catalogId: string | null;
447
+ enable: boolean;
448
+ areas: {
449
+ freeAfterTotal?: {
450
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
451
+ amount: number;
452
+ precision: number;
453
+ } | null | undefined;
454
+ minPurchase?: {
455
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
456
+ amount: number;
457
+ precision: number;
458
+ } | null | undefined;
459
+ polygon: number[][];
460
+ deliveryFee: {
461
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
462
+ amount: number;
463
+ precision: number;
464
+ };
465
+ }[];
466
+ term: string;
467
+ } | null | undefined;
468
+ feedmeDelivery?: {
469
+ catalogId?: string | null | undefined;
470
+ term?: string | null | undefined;
471
+ autoAccept?: boolean | null | undefined;
472
+ instruction?: string | null | undefined;
473
+ enable: boolean;
474
+ } | null | undefined;
475
+ foodpandaDelivery?: {
476
+ _id?: string | undefined;
477
+ catalogId?: string | null | undefined;
478
+ autoAccept?: boolean | undefined;
479
+ lastSynchronize?: string | null | undefined;
480
+ commissionRate?: number | null | undefined;
481
+ showProductAddon?: boolean | null | undefined;
482
+ reportConfig?: {
483
+ commissionRate: number;
484
+ discountCampaigns: {
485
+ name: string;
486
+ vendorBearPercentage: number;
487
+ date: {
488
+ start: string;
489
+ end: string;
490
+ };
491
+ }[];
492
+ } | null | undefined;
493
+ hasSst?: boolean | null | undefined;
494
+ ignoreDiscount?: boolean | null | undefined;
495
+ enable: boolean;
496
+ remoteId: string;
497
+ autoCloseBill: boolean;
498
+ } | undefined;
499
+ grabfoodDelivery?: {
500
+ _id?: string | undefined;
501
+ catalogId?: string | null | undefined;
502
+ lastSynchronize?: string | null | undefined;
503
+ showProductAddon?: boolean | null | undefined;
504
+ enable: boolean;
505
+ commissionRate: number;
506
+ autoCloseBill: boolean;
507
+ merchantID: string;
508
+ } | undefined;
509
+ shopeefoodDelivery?: {
510
+ _id?: string | undefined;
511
+ catalogId?: string | null | undefined;
512
+ lastSynchronize?: string | null | undefined;
513
+ showProductAddon?: boolean | null | undefined;
514
+ enable: boolean;
515
+ autoCloseBill: boolean;
516
+ reportConfig: {
517
+ commissionRate: number;
518
+ discountCampaigns: {
519
+ name: string;
520
+ vendorBearPercentage: number;
521
+ date: {
522
+ start: string;
523
+ end: string;
524
+ };
525
+ }[];
526
+ };
527
+ storeID: string;
528
+ } | undefined;
529
+ pickup?: {
530
+ catalogId?: string | null | undefined;
531
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
532
+ offlinePaymentTypes?: {
533
+ name: string;
534
+ instruction: string;
535
+ }[] | undefined;
536
+ autoAccept?: boolean | null | undefined;
537
+ autoAcceptPaidOnly?: boolean | null | undefined;
538
+ ignoreStock?: boolean | undefined;
539
+ pickupTime?: {
540
+ day: {
541
+ max: number;
542
+ min: number;
543
+ };
544
+ } | null | undefined;
545
+ pickupPointConfig?: {
546
+ restaurantEnable: boolean;
547
+ points: {
548
+ address: string;
549
+ name: string;
550
+ coordinates: number[];
551
+ }[];
552
+ } | null | undefined;
553
+ } | null | undefined;
554
+ dineIn?: {
555
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
556
+ offlinePaymentTypes?: {
557
+ name: string;
558
+ instruction: string;
559
+ }[] | undefined;
560
+ ignoreStock?: boolean | undefined;
561
+ staticQr?: boolean | undefined;
562
+ disableItemRemark?: boolean | undefined;
563
+ acceptQueue?: boolean | undefined;
564
+ anonymousOrder: boolean;
565
+ } | null | undefined;
566
+ takeaway?: {
567
+ catalogId?: string | null | undefined;
568
+ } | null | undefined;
569
+ couchDbPassword?: string | null | undefined;
570
+ apiToken?: string | null | undefined;
571
+ remoteSupports?: {
572
+ anydeskId?: string | null | undefined;
573
+ anydeskPassword?: string | null | undefined;
574
+ deviceName: string;
575
+ }[] | null | undefined;
576
+ payoutAccount?: {
577
+ bank?: {
578
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | undefined;
579
+ accountNumber?: string | undefined;
580
+ holderName?: string | undefined;
581
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
582
+ } | undefined;
583
+ ssm?: string | undefined;
584
+ bankStatement?: string | undefined;
585
+ exteriorPhoto?: string | undefined;
586
+ keyPerson?: string | undefined;
587
+ keyPersonPhone?: string | undefined;
588
+ keyPersonEmail?: string | undefined;
589
+ enable: boolean;
590
+ methods: {
591
+ issuer: "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "OTHER" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
592
+ variant: string;
593
+ rate: {
594
+ amount: number;
595
+ precision: number;
596
+ };
597
+ tPlus: number;
598
+ }[];
599
+ status: "NEW" | "PENDING" | "APPROVED";
600
+ } | null | undefined;
601
+ clearCount?: number | null | undefined;
602
+ queueSetting?: {
603
+ enableOrder: boolean;
604
+ initialNumber: number;
605
+ endNumber: number;
606
+ currentNumber: number;
607
+ autoCalledLimit: number;
608
+ duration: number;
609
+ } | null | undefined;
610
+ tableMappingSetting?: {
611
+ enable?: boolean | null | undefined;
612
+ showSeat?: boolean | null | undefined;
613
+ mapBorderColor?: number | null | undefined;
614
+ mapLineColor?: number | null | undefined;
615
+ } | null | undefined;
616
+ _id: string;
617
+ expiredAt: string;
618
+ businessId: string;
619
+ profile: {
620
+ _id?: string | undefined;
621
+ url?: string | undefined;
622
+ discovery?: boolean | undefined;
623
+ legalName?: string | undefined;
624
+ sstRegNo?: string | undefined;
625
+ coverPhoto?: string | undefined;
626
+ thumbnailPhoto?: string | undefined;
627
+ description?: string | undefined;
628
+ photos?: string[] | undefined;
629
+ operatingHours?: {
630
+ 0: {
631
+ enable: boolean;
632
+ hours: {
633
+ start: string;
634
+ end: string;
635
+ }[];
636
+ };
637
+ 1: {
638
+ enable: boolean;
639
+ hours: {
640
+ start: string;
641
+ end: string;
642
+ }[];
643
+ };
644
+ 2: {
645
+ enable: boolean;
646
+ hours: {
647
+ start: string;
648
+ end: string;
649
+ }[];
650
+ };
651
+ 3: {
652
+ enable: boolean;
653
+ hours: {
654
+ start: string;
655
+ end: string;
656
+ }[];
657
+ };
658
+ 4: {
659
+ enable: boolean;
660
+ hours: {
661
+ start: string;
662
+ end: string;
663
+ }[];
664
+ };
665
+ 5: {
666
+ enable: boolean;
667
+ hours: {
668
+ start: string;
669
+ end: string;
670
+ }[];
671
+ };
672
+ 6: {
673
+ enable: boolean;
674
+ hours: {
675
+ start: string;
676
+ end: string;
677
+ }[];
678
+ };
679
+ } | undefined;
680
+ tags?: string[] | undefined;
681
+ address: {
682
+ coordinates?: number[] | undefined;
683
+ line2?: string | undefined;
684
+ country: string;
685
+ state: string;
686
+ line1: string;
687
+ city: string;
688
+ postcode: string;
689
+ };
690
+ name: string;
691
+ email: string;
692
+ phoneNo: string;
693
+ regNo: string;
694
+ };
695
+ }[]>;
696
+ currentRestaurant: import("vue").Ref<FmpRestaurant | undefined>;
697
+ readRestaurants: () => Promise<{
698
+ managable: boolean;
699
+ pf_business?: {
700
+ internal?: boolean | null | undefined;
701
+ expiredAt?: string | null | undefined;
702
+ url?: string | null | undefined;
703
+ agentId?: string | null | undefined;
704
+ pf_agent?: {
705
+ clickupId?: string | null | undefined;
706
+ members?: {
707
+ pf_user?: {
708
+ email?: string | null | undefined;
709
+ photoURL?: string | null | undefined;
710
+ displayName?: string | null | undefined;
711
+ phoneNumber?: string | null | undefined;
712
+ birthday?: {
713
+ toString: () => string;
714
+ toDateString: () => string;
715
+ toTimeString: () => string;
716
+ toLocaleString: {
717
+ (): string;
718
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
719
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
720
+ };
721
+ toLocaleDateString: {
722
+ (): string;
723
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
724
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
725
+ };
726
+ toLocaleTimeString: {
727
+ (): string;
728
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
729
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
730
+ };
731
+ valueOf: () => number;
732
+ getTime: () => number;
733
+ getFullYear: () => number;
734
+ getUTCFullYear: () => number;
735
+ getMonth: () => number;
736
+ getUTCMonth: () => number;
737
+ getDate: () => number;
738
+ getUTCDate: () => number;
739
+ getDay: () => number;
740
+ getUTCDay: () => number;
741
+ getHours: () => number;
742
+ getUTCHours: () => number;
743
+ getMinutes: () => number;
744
+ getUTCMinutes: () => number;
745
+ getSeconds: () => number;
746
+ getUTCSeconds: () => number;
747
+ getMilliseconds: () => number;
748
+ getUTCMilliseconds: () => number;
749
+ getTimezoneOffset: () => number;
750
+ setTime: (time: number) => number;
751
+ setMilliseconds: (ms: number) => number;
752
+ setUTCMilliseconds: (ms: number) => number;
753
+ setSeconds: (sec: number, ms?: number | undefined) => number;
754
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
755
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
756
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
757
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
758
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
759
+ setDate: (date: number) => number;
760
+ setUTCDate: (date: number) => number;
761
+ setMonth: (month: number, date?: number | undefined) => number;
762
+ setUTCMonth: (month: number, date?: number | undefined) => number;
763
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
764
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
765
+ toUTCString: () => string;
766
+ toISOString: () => string;
767
+ toJSON: (key?: any) => string;
768
+ [Symbol.toPrimitive]: {
769
+ (hint: "default"): string;
770
+ (hint: "string"): string;
771
+ (hint: "number"): number;
772
+ (hint: string): string | number;
773
+ };
774
+ } | null | undefined;
775
+ gender?: "MALE" | "FEMALE" | null | undefined;
776
+ addresses?: {
777
+ address: string;
778
+ name: string;
779
+ coordinates: number[];
780
+ }[] | null | undefined;
781
+ imported?: {
782
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
783
+ raw: Record<string, any>;
784
+ } | null | undefined;
785
+ _id: string;
786
+ } | null | undefined;
787
+ userId: string;
788
+ role: "ADMIN";
789
+ }[] | null | undefined;
790
+ code: string;
791
+ name: string;
792
+ _id: string;
793
+ isReseller: boolean;
794
+ } | null | undefined;
795
+ thumbnail?: string | null | undefined;
796
+ billingInfos?: {
797
+ _id?: string | undefined;
798
+ address: {
799
+ coordinates?: number[] | undefined;
800
+ line2?: string | undefined;
801
+ country: string;
802
+ state: string;
803
+ line1: string;
804
+ city: string;
805
+ postcode: string;
806
+ };
807
+ name: string;
808
+ email: string;
809
+ companyName: string;
810
+ contact: string;
811
+ }[] | null | undefined;
812
+ name: string;
813
+ _id: string;
814
+ ownerId: string;
815
+ restaurantQuota: number;
816
+ warehouseQuota: number;
817
+ menuVersion: "v2" | "v3" | "v4";
818
+ } | null | undefined;
819
+ features?: ("pickup" | "stock" | "discovery" | "delivery" | "foodpanda" | "deliveryIntegration" | "kds" | "ods")[] | null | undefined;
820
+ machineOtp?: string | null | undefined;
821
+ machineOtpExpiredAt?: string | null | undefined;
822
+ machineId?: string | null | undefined;
823
+ channel?: string | null | undefined;
824
+ posVersion?: string | null | undefined;
825
+ posHeartbeat?: string | null | undefined;
826
+ posVersionHistory?: Record<string, string> | null | undefined;
827
+ catalogId?: string | null | undefined;
828
+ additionalCatalogs?: string[] | null | undefined;
829
+ inHouseDelivery?: {
830
+ deliveryTime?: {
831
+ time?: string[] | null | undefined;
832
+ custom?: {
833
+ 0: {
834
+ enable: boolean;
835
+ hours: {
836
+ start: string;
837
+ end: string;
838
+ }[];
839
+ };
840
+ 1: {
841
+ enable: boolean;
842
+ hours: {
843
+ start: string;
844
+ end: string;
845
+ }[];
846
+ };
847
+ 2: {
848
+ enable: boolean;
849
+ hours: {
850
+ start: string;
851
+ end: string;
852
+ }[];
853
+ };
854
+ 3: {
855
+ enable: boolean;
856
+ hours: {
857
+ start: string;
858
+ end: string;
859
+ }[];
860
+ };
861
+ 4: {
862
+ enable: boolean;
863
+ hours: {
864
+ start: string;
865
+ end: string;
866
+ }[];
867
+ };
868
+ 5: {
869
+ enable: boolean;
870
+ hours: {
871
+ start: string;
872
+ end: string;
873
+ }[];
874
+ };
875
+ 6: {
876
+ enable: boolean;
877
+ hours: {
878
+ start: string;
879
+ end: string;
880
+ }[];
881
+ };
882
+ } | null | undefined;
883
+ day: {
884
+ max: number;
885
+ min: number;
886
+ };
887
+ } | null | undefined;
888
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
889
+ offlinePaymentTypes?: {
890
+ name: string;
891
+ instruction: string;
892
+ }[] | undefined;
893
+ autoAccept?: boolean | undefined;
894
+ autoAcceptPaidOnly?: boolean | undefined;
895
+ ignoreStock?: boolean | undefined;
896
+ catalogId: string | null;
897
+ enable: boolean;
898
+ areas: {
899
+ freeAfterTotal?: {
900
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
901
+ amount: number;
902
+ precision: number;
903
+ } | null | undefined;
904
+ minPurchase?: {
905
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
906
+ amount: number;
907
+ precision: number;
908
+ } | null | undefined;
909
+ polygon: number[][];
910
+ deliveryFee: {
911
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
912
+ amount: number;
913
+ precision: number;
914
+ };
915
+ }[];
916
+ term: string;
917
+ } | null | undefined;
918
+ feedmeDelivery?: {
919
+ catalogId?: string | null | undefined;
920
+ term?: string | null | undefined;
921
+ autoAccept?: boolean | null | undefined;
922
+ instruction?: string | null | undefined;
923
+ enable: boolean;
924
+ } | null | undefined;
925
+ foodpandaDelivery?: {
926
+ _id?: string | undefined;
927
+ catalogId?: string | null | undefined;
928
+ autoAccept?: boolean | undefined;
929
+ lastSynchronize?: string | null | undefined;
930
+ commissionRate?: number | null | undefined;
931
+ showProductAddon?: boolean | null | undefined;
932
+ reportConfig?: {
933
+ commissionRate: number;
934
+ discountCampaigns: {
935
+ name: string;
936
+ vendorBearPercentage: number;
937
+ date: {
938
+ start: string;
939
+ end: string;
940
+ };
941
+ }[];
942
+ } | null | undefined;
943
+ hasSst?: boolean | null | undefined;
944
+ ignoreDiscount?: boolean | null | undefined;
945
+ enable: boolean;
946
+ remoteId: string;
947
+ autoCloseBill: boolean;
948
+ } | undefined;
949
+ grabfoodDelivery?: {
950
+ _id?: string | undefined;
951
+ catalogId?: string | null | undefined;
952
+ lastSynchronize?: string | null | undefined;
953
+ showProductAddon?: boolean | null | undefined;
954
+ enable: boolean;
955
+ commissionRate: number;
956
+ autoCloseBill: boolean;
957
+ merchantID: string;
958
+ } | undefined;
959
+ shopeefoodDelivery?: {
960
+ _id?: string | undefined;
961
+ catalogId?: string | null | undefined;
962
+ lastSynchronize?: string | null | undefined;
963
+ showProductAddon?: boolean | null | undefined;
964
+ enable: boolean;
965
+ autoCloseBill: boolean;
966
+ reportConfig: {
967
+ commissionRate: number;
968
+ discountCampaigns: {
969
+ name: string;
970
+ vendorBearPercentage: number;
971
+ date: {
972
+ start: string;
973
+ end: string;
974
+ };
975
+ }[];
976
+ };
977
+ storeID: string;
978
+ } | undefined;
979
+ pickup?: {
980
+ catalogId?: string | null | undefined;
981
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
982
+ offlinePaymentTypes?: {
983
+ name: string;
984
+ instruction: string;
985
+ }[] | undefined;
986
+ autoAccept?: boolean | null | undefined;
987
+ autoAcceptPaidOnly?: boolean | null | undefined;
988
+ ignoreStock?: boolean | undefined;
989
+ pickupTime?: {
990
+ day: {
991
+ max: number;
992
+ min: number;
993
+ };
994
+ } | null | undefined;
995
+ pickupPointConfig?: {
996
+ restaurantEnable: boolean;
997
+ points: {
998
+ address: string;
999
+ name: string;
1000
+ coordinates: number[];
1001
+ }[];
1002
+ } | null | undefined;
1003
+ } | null | undefined;
1004
+ dineIn?: {
1005
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
1006
+ offlinePaymentTypes?: {
1007
+ name: string;
1008
+ instruction: string;
1009
+ }[] | undefined;
1010
+ ignoreStock?: boolean | undefined;
1011
+ staticQr?: boolean | undefined;
1012
+ disableItemRemark?: boolean | undefined;
1013
+ acceptQueue?: boolean | undefined;
1014
+ anonymousOrder: boolean;
1015
+ } | null | undefined;
1016
+ takeaway?: {
1017
+ catalogId?: string | null | undefined;
1018
+ } | null | undefined;
1019
+ couchDbPassword?: string | null | undefined;
1020
+ apiToken?: string | null | undefined;
1021
+ remoteSupports?: {
1022
+ anydeskId?: string | null | undefined;
1023
+ anydeskPassword?: string | null | undefined;
1024
+ deviceName: string;
1025
+ }[] | null | undefined;
1026
+ payoutAccount?: {
1027
+ bank?: {
1028
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | undefined;
1029
+ accountNumber?: string | undefined;
1030
+ holderName?: string | undefined;
1031
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
1032
+ } | undefined;
1033
+ ssm?: string | undefined;
1034
+ bankStatement?: string | undefined;
1035
+ exteriorPhoto?: string | undefined;
1036
+ keyPerson?: string | undefined;
1037
+ keyPersonPhone?: string | undefined;
1038
+ keyPersonEmail?: string | undefined;
1039
+ enable: boolean;
1040
+ methods: {
1041
+ issuer: "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "OTHER" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
1042
+ variant: string;
1043
+ rate: {
1044
+ amount: number;
1045
+ precision: number;
1046
+ };
1047
+ tPlus: number;
1048
+ }[];
1049
+ status: "NEW" | "PENDING" | "APPROVED";
1050
+ } | null | undefined;
1051
+ clearCount?: number | null | undefined;
1052
+ queueSetting?: {
1053
+ enableOrder: boolean;
1054
+ initialNumber: number;
1055
+ endNumber: number;
1056
+ currentNumber: number;
1057
+ autoCalledLimit: number;
1058
+ duration: number;
1059
+ } | null | undefined;
1060
+ tableMappingSetting?: {
1061
+ enable?: boolean | null | undefined;
1062
+ showSeat?: boolean | null | undefined;
1063
+ mapBorderColor?: number | null | undefined;
1064
+ mapLineColor?: number | null | undefined;
1065
+ } | null | undefined;
1066
+ _id: string;
1067
+ expiredAt: string;
1068
+ businessId: string;
1069
+ profile: {
1070
+ _id?: string | undefined;
1071
+ url?: string | undefined;
1072
+ discovery?: boolean | undefined;
1073
+ legalName?: string | undefined;
1074
+ sstRegNo?: string | undefined;
1075
+ coverPhoto?: string | undefined;
1076
+ thumbnailPhoto?: string | undefined;
1077
+ description?: string | undefined;
1078
+ photos?: string[] | undefined;
1079
+ operatingHours?: {
1080
+ 0: {
1081
+ enable: boolean;
1082
+ hours: {
1083
+ start: string;
1084
+ end: string;
1085
+ }[];
1086
+ };
1087
+ 1: {
1088
+ enable: boolean;
1089
+ hours: {
1090
+ start: string;
1091
+ end: string;
1092
+ }[];
1093
+ };
1094
+ 2: {
1095
+ enable: boolean;
1096
+ hours: {
1097
+ start: string;
1098
+ end: string;
1099
+ }[];
1100
+ };
1101
+ 3: {
1102
+ enable: boolean;
1103
+ hours: {
1104
+ start: string;
1105
+ end: string;
1106
+ }[];
1107
+ };
1108
+ 4: {
1109
+ enable: boolean;
1110
+ hours: {
1111
+ start: string;
1112
+ end: string;
1113
+ }[];
1114
+ };
1115
+ 5: {
1116
+ enable: boolean;
1117
+ hours: {
1118
+ start: string;
1119
+ end: string;
1120
+ }[];
1121
+ };
1122
+ 6: {
1123
+ enable: boolean;
1124
+ hours: {
1125
+ start: string;
1126
+ end: string;
1127
+ }[];
1128
+ };
1129
+ } | undefined;
1130
+ tags?: string[] | undefined;
1131
+ address: {
1132
+ coordinates?: number[] | undefined;
1133
+ line2?: string | undefined;
1134
+ country: string;
1135
+ state: string;
1136
+ line1: string;
1137
+ city: string;
1138
+ postcode: string;
1139
+ };
1140
+ name: string;
1141
+ email: string;
1142
+ phoneNo: string;
1143
+ regNo: string;
1144
+ };
1145
+ }[] | undefined>;
1146
+ changeRestaurant: (restaurant: FmpRestaurant | undefined) => void;
1147
+ }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>, Pick<{
1148
+ sessionUser: import("vue").Ref<{
1149
+ id: string;
1150
+ email?: string | null | undefined;
1151
+ photoURL?: string | null | undefined;
1152
+ displayName?: string | null | undefined;
1153
+ phoneNumber?: string | null | undefined;
1154
+ token: string;
1155
+ tokenExpiredAt: {
1156
+ toString: () => string;
1157
+ toDateString: () => string;
1158
+ toTimeString: () => string;
1159
+ toLocaleString: {
1160
+ (): string;
1161
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1162
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1163
+ };
1164
+ toLocaleDateString: {
1165
+ (): string;
1166
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1167
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1168
+ };
1169
+ toLocaleTimeString: {
1170
+ (): string;
1171
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1172
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1173
+ };
1174
+ valueOf: () => number;
1175
+ getTime: () => number;
1176
+ getFullYear: () => number;
1177
+ getUTCFullYear: () => number;
1178
+ getMonth: () => number;
1179
+ getUTCMonth: () => number;
1180
+ getDate: () => number;
1181
+ getUTCDate: () => number;
1182
+ getDay: () => number;
1183
+ getUTCDay: () => number;
1184
+ getHours: () => number;
1185
+ getUTCHours: () => number;
1186
+ getMinutes: () => number;
1187
+ getUTCMinutes: () => number;
1188
+ getSeconds: () => number;
1189
+ getUTCSeconds: () => number;
1190
+ getMilliseconds: () => number;
1191
+ getUTCMilliseconds: () => number;
1192
+ getTimezoneOffset: () => number;
1193
+ setTime: (time: number) => number;
1194
+ setMilliseconds: (ms: number) => number;
1195
+ setUTCMilliseconds: (ms: number) => number;
1196
+ setSeconds: (sec: number, ms?: number | undefined) => number;
1197
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
1198
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1199
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1200
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1201
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1202
+ setDate: (date: number) => number;
1203
+ setUTCDate: (date: number) => number;
1204
+ setMonth: (month: number, date?: number | undefined) => number;
1205
+ setUTCMonth: (month: number, date?: number | undefined) => number;
1206
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1207
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1208
+ toUTCString: () => string;
1209
+ toISOString: () => string;
1210
+ toJSON: (key?: any) => string;
1211
+ [Symbol.toPrimitive]: {
1212
+ (hint: "default"): string;
1213
+ (hint: "string"): string;
1214
+ (hint: "number"): number;
1215
+ (hint: string): string | number;
1216
+ };
1217
+ };
1218
+ setToken: (token: string, tokenExpiredAt: Date) => void;
1219
+ setAdminPermisssions: (permissions: FdoPermissionRule[]) => void;
1220
+ setPermisssions: (permissions: FdoPermissionRule[]) => void;
1221
+ readonly permissions: {
1222
+ fields?: string[] | undefined;
1223
+ conditions?: any;
1224
+ inverted?: boolean | undefined;
1225
+ reason?: string | undefined;
1226
+ label: string;
1227
+ actions: string | string[];
1228
+ subject: string | string[];
1229
+ }[];
1230
+ } | null>;
1231
+ setUser: (user: FeedMeUser | null) => Promise<void>;
1232
+ fetchUserAdminPermissions: () => Promise<void>;
1233
+ fetchUserPermissions: () => Promise<void>;
1234
+ namespace: import("vue").Ref<FmNamespace>;
1235
+ setNamespace: (ns: FmNamespace) => void;
1236
+ 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">;
1237
+ changeCountry: (country: F_COUNTRY) => Promise<void>;
1238
+ businesses: import("vue").Ref<{
1239
+ internal?: boolean | null | undefined;
1240
+ expiredAt?: string | null | undefined;
1241
+ url?: string | null | undefined;
1242
+ agentId?: string | null | undefined;
1243
+ pf_agent?: {
1244
+ clickupId?: string | null | undefined;
1245
+ members?: {
1246
+ pf_user?: {
1247
+ email?: string | null | undefined;
1248
+ photoURL?: string | null | undefined;
1249
+ displayName?: string | null | undefined;
1250
+ phoneNumber?: string | null | undefined;
1251
+ birthday?: {
1252
+ toString: () => string;
1253
+ toDateString: () => string;
1254
+ toTimeString: () => string;
1255
+ toLocaleString: {
1256
+ (): string;
1257
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1258
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1259
+ };
1260
+ toLocaleDateString: {
1261
+ (): string;
1262
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1263
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1264
+ };
1265
+ toLocaleTimeString: {
1266
+ (): string;
1267
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1268
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1269
+ };
1270
+ valueOf: () => number;
1271
+ getTime: () => number;
1272
+ getFullYear: () => number;
1273
+ getUTCFullYear: () => number;
1274
+ getMonth: () => number;
1275
+ getUTCMonth: () => number;
1276
+ getDate: () => number;
1277
+ getUTCDate: () => number;
1278
+ getDay: () => number;
1279
+ getUTCDay: () => number;
1280
+ getHours: () => number;
1281
+ getUTCHours: () => number;
1282
+ getMinutes: () => number;
1283
+ getUTCMinutes: () => number;
1284
+ getSeconds: () => number;
1285
+ getUTCSeconds: () => number;
1286
+ getMilliseconds: () => number;
1287
+ getUTCMilliseconds: () => number;
1288
+ getTimezoneOffset: () => number;
1289
+ setTime: (time: number) => number;
1290
+ setMilliseconds: (ms: number) => number;
1291
+ setUTCMilliseconds: (ms: number) => number;
1292
+ setSeconds: (sec: number, ms?: number | undefined) => number;
1293
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
1294
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1295
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1296
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1297
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1298
+ setDate: (date: number) => number;
1299
+ setUTCDate: (date: number) => number;
1300
+ setMonth: (month: number, date?: number | undefined) => number;
1301
+ setUTCMonth: (month: number, date?: number | undefined) => number;
1302
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1303
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1304
+ toUTCString: () => string;
1305
+ toISOString: () => string;
1306
+ toJSON: (key?: any) => string;
1307
+ [Symbol.toPrimitive]: {
1308
+ (hint: "default"): string;
1309
+ (hint: "string"): string;
1310
+ (hint: "number"): number;
1311
+ (hint: string): string | number;
1312
+ };
1313
+ } | null | undefined;
1314
+ gender?: "MALE" | "FEMALE" | null | undefined;
1315
+ addresses?: {
1316
+ address: string;
1317
+ name: string;
1318
+ coordinates: number[];
1319
+ }[] | null | undefined;
1320
+ imported?: {
1321
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1322
+ raw: Record<string, any>;
1323
+ } | null | undefined;
1324
+ _id: string;
1325
+ } | null | undefined;
1326
+ userId: string;
1327
+ role: "ADMIN";
1328
+ }[] | null | undefined;
1329
+ code: string;
1330
+ name: string;
1331
+ _id: string;
1332
+ isReseller: boolean;
1333
+ } | null | undefined;
1334
+ thumbnail?: string | null | undefined;
1335
+ billingInfos?: {
1336
+ _id?: string | undefined;
1337
+ address: {
1338
+ coordinates?: number[] | undefined;
1339
+ line2?: string | undefined;
1340
+ country: string;
1341
+ state: string;
1342
+ line1: string;
1343
+ city: string;
1344
+ postcode: string;
1345
+ };
1346
+ name: string;
1347
+ email: string;
1348
+ companyName: string;
1349
+ contact: string;
1350
+ }[] | null | undefined;
1351
+ name: string;
1352
+ _id: string;
1353
+ ownerId: string;
1354
+ restaurantQuota: number;
1355
+ warehouseQuota: number;
1356
+ menuVersion: "v2" | "v3" | "v4";
1357
+ }[]>;
1358
+ currentBusiness: import("vue").Ref<FmpBusiness | undefined>;
1359
+ readBusinesses: () => Promise<FmpBusiness | undefined>;
1360
+ changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
1361
+ restaurants: import("vue").Ref<{
1362
+ managable: boolean;
1363
+ pf_business?: {
1364
+ internal?: boolean | null | undefined;
1365
+ expiredAt?: string | null | undefined;
1366
+ url?: string | null | undefined;
1367
+ agentId?: string | null | undefined;
1368
+ pf_agent?: {
1369
+ clickupId?: string | null | undefined;
1370
+ members?: {
1371
+ pf_user?: {
1372
+ email?: string | null | undefined;
1373
+ photoURL?: string | null | undefined;
1374
+ displayName?: string | null | undefined;
1375
+ phoneNumber?: string | null | undefined;
1376
+ birthday?: {
1377
+ toString: () => string;
1378
+ toDateString: () => string;
1379
+ toTimeString: () => string;
1380
+ toLocaleString: {
1381
+ (): string;
1382
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1383
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1384
+ };
1385
+ toLocaleDateString: {
1386
+ (): string;
1387
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1388
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1389
+ };
1390
+ toLocaleTimeString: {
1391
+ (): string;
1392
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1393
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1394
+ };
1395
+ valueOf: () => number;
1396
+ getTime: () => number;
1397
+ getFullYear: () => number;
1398
+ getUTCFullYear: () => number;
1399
+ getMonth: () => number;
1400
+ getUTCMonth: () => number;
1401
+ getDate: () => number;
1402
+ getUTCDate: () => number;
1403
+ getDay: () => number;
1404
+ getUTCDay: () => number;
1405
+ getHours: () => number;
1406
+ getUTCHours: () => number;
1407
+ getMinutes: () => number;
1408
+ getUTCMinutes: () => number;
1409
+ getSeconds: () => number;
1410
+ getUTCSeconds: () => number;
1411
+ getMilliseconds: () => number;
1412
+ getUTCMilliseconds: () => number;
1413
+ getTimezoneOffset: () => number;
1414
+ setTime: (time: number) => number;
1415
+ setMilliseconds: (ms: number) => number;
1416
+ setUTCMilliseconds: (ms: number) => number;
1417
+ setSeconds: (sec: number, ms?: number | undefined) => number;
1418
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
1419
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1420
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1421
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1422
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1423
+ setDate: (date: number) => number;
1424
+ setUTCDate: (date: number) => number;
1425
+ setMonth: (month: number, date?: number | undefined) => number;
1426
+ setUTCMonth: (month: number, date?: number | undefined) => number;
1427
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1428
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1429
+ toUTCString: () => string;
1430
+ toISOString: () => string;
1431
+ toJSON: (key?: any) => string;
1432
+ [Symbol.toPrimitive]: {
1433
+ (hint: "default"): string;
1434
+ (hint: "string"): string;
1435
+ (hint: "number"): number;
1436
+ (hint: string): string | number;
1437
+ };
1438
+ } | null | undefined;
1439
+ gender?: "MALE" | "FEMALE" | null | undefined;
1440
+ addresses?: {
1441
+ address: string;
1442
+ name: string;
1443
+ coordinates: number[];
1444
+ }[] | null | undefined;
1445
+ imported?: {
1446
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1447
+ raw: Record<string, any>;
1448
+ } | null | undefined;
1449
+ _id: string;
1450
+ } | null | undefined;
1451
+ userId: string;
1452
+ role: "ADMIN";
1453
+ }[] | null | undefined;
1454
+ code: string;
1455
+ name: string;
1456
+ _id: string;
1457
+ isReseller: boolean;
1458
+ } | null | undefined;
1459
+ thumbnail?: string | null | undefined;
1460
+ billingInfos?: {
1461
+ _id?: string | undefined;
1462
+ address: {
1463
+ coordinates?: number[] | undefined;
1464
+ line2?: string | undefined;
1465
+ country: string;
1466
+ state: string;
1467
+ line1: string;
1468
+ city: string;
1469
+ postcode: string;
1470
+ };
1471
+ name: string;
1472
+ email: string;
1473
+ companyName: string;
1474
+ contact: string;
1475
+ }[] | null | undefined;
1476
+ name: string;
1477
+ _id: string;
1478
+ ownerId: string;
1479
+ restaurantQuota: number;
1480
+ warehouseQuota: number;
1481
+ menuVersion: "v2" | "v3" | "v4";
1482
+ } | null | undefined;
1483
+ features?: ("pickup" | "stock" | "discovery" | "delivery" | "foodpanda" | "deliveryIntegration" | "kds" | "ods")[] | null | undefined;
1484
+ machineOtp?: string | null | undefined;
1485
+ machineOtpExpiredAt?: string | null | undefined;
1486
+ machineId?: string | null | undefined;
1487
+ channel?: string | null | undefined;
1488
+ posVersion?: string | null | undefined;
1489
+ posHeartbeat?: string | null | undefined;
1490
+ posVersionHistory?: Record<string, string> | null | undefined;
1491
+ catalogId?: string | null | undefined;
1492
+ additionalCatalogs?: string[] | null | undefined;
1493
+ inHouseDelivery?: {
1494
+ deliveryTime?: {
1495
+ time?: string[] | null | undefined;
1496
+ custom?: {
1497
+ 0: {
1498
+ enable: boolean;
1499
+ hours: {
1500
+ start: string;
1501
+ end: string;
1502
+ }[];
1503
+ };
1504
+ 1: {
1505
+ enable: boolean;
1506
+ hours: {
1507
+ start: string;
1508
+ end: string;
1509
+ }[];
1510
+ };
1511
+ 2: {
1512
+ enable: boolean;
1513
+ hours: {
1514
+ start: string;
1515
+ end: string;
1516
+ }[];
1517
+ };
1518
+ 3: {
1519
+ enable: boolean;
1520
+ hours: {
1521
+ start: string;
1522
+ end: string;
1523
+ }[];
1524
+ };
1525
+ 4: {
1526
+ enable: boolean;
1527
+ hours: {
1528
+ start: string;
1529
+ end: string;
1530
+ }[];
1531
+ };
1532
+ 5: {
1533
+ enable: boolean;
1534
+ hours: {
1535
+ start: string;
1536
+ end: string;
1537
+ }[];
1538
+ };
1539
+ 6: {
1540
+ enable: boolean;
1541
+ hours: {
1542
+ start: string;
1543
+ end: string;
1544
+ }[];
1545
+ };
1546
+ } | null | undefined;
1547
+ day: {
1548
+ max: number;
1549
+ min: number;
1550
+ };
1551
+ } | null | undefined;
1552
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
1553
+ offlinePaymentTypes?: {
1554
+ name: string;
1555
+ instruction: string;
1556
+ }[] | undefined;
1557
+ autoAccept?: boolean | undefined;
1558
+ autoAcceptPaidOnly?: boolean | undefined;
1559
+ ignoreStock?: boolean | undefined;
1560
+ catalogId: string | null;
1561
+ enable: boolean;
1562
+ areas: {
1563
+ freeAfterTotal?: {
1564
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1565
+ amount: number;
1566
+ precision: number;
1567
+ } | null | undefined;
1568
+ minPurchase?: {
1569
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1570
+ amount: number;
1571
+ precision: number;
1572
+ } | null | undefined;
1573
+ polygon: number[][];
1574
+ deliveryFee: {
1575
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1576
+ amount: number;
1577
+ precision: number;
1578
+ };
1579
+ }[];
1580
+ term: string;
1581
+ } | null | undefined;
1582
+ feedmeDelivery?: {
1583
+ catalogId?: string | null | undefined;
1584
+ term?: string | null | undefined;
1585
+ autoAccept?: boolean | null | undefined;
1586
+ instruction?: string | null | undefined;
1587
+ enable: boolean;
1588
+ } | null | undefined;
1589
+ foodpandaDelivery?: {
1590
+ _id?: string | undefined;
1591
+ catalogId?: string | null | undefined;
1592
+ autoAccept?: boolean | undefined;
1593
+ lastSynchronize?: string | null | undefined;
1594
+ commissionRate?: number | null | undefined;
1595
+ showProductAddon?: boolean | null | undefined;
1596
+ reportConfig?: {
1597
+ commissionRate: number;
1598
+ discountCampaigns: {
1599
+ name: string;
1600
+ vendorBearPercentage: number;
1601
+ date: {
1602
+ start: string;
1603
+ end: string;
1604
+ };
1605
+ }[];
1606
+ } | null | undefined;
1607
+ hasSst?: boolean | null | undefined;
1608
+ ignoreDiscount?: boolean | null | undefined;
1609
+ enable: boolean;
1610
+ remoteId: string;
1611
+ autoCloseBill: boolean;
1612
+ } | undefined;
1613
+ grabfoodDelivery?: {
1614
+ _id?: string | undefined;
1615
+ catalogId?: string | null | undefined;
1616
+ lastSynchronize?: string | null | undefined;
1617
+ showProductAddon?: boolean | null | undefined;
1618
+ enable: boolean;
1619
+ commissionRate: number;
1620
+ autoCloseBill: boolean;
1621
+ merchantID: string;
1622
+ } | undefined;
1623
+ shopeefoodDelivery?: {
1624
+ _id?: string | undefined;
1625
+ catalogId?: string | null | undefined;
1626
+ lastSynchronize?: string | null | undefined;
1627
+ showProductAddon?: boolean | null | undefined;
1628
+ enable: boolean;
1629
+ autoCloseBill: boolean;
1630
+ reportConfig: {
1631
+ commissionRate: number;
1632
+ discountCampaigns: {
1633
+ name: string;
1634
+ vendorBearPercentage: number;
1635
+ date: {
1636
+ start: string;
1637
+ end: string;
1638
+ };
1639
+ }[];
1640
+ };
1641
+ storeID: string;
1642
+ } | undefined;
1643
+ pickup?: {
1644
+ catalogId?: string | null | undefined;
1645
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
1646
+ offlinePaymentTypes?: {
1647
+ name: string;
1648
+ instruction: string;
1649
+ }[] | undefined;
1650
+ autoAccept?: boolean | null | undefined;
1651
+ autoAcceptPaidOnly?: boolean | null | undefined;
1652
+ ignoreStock?: boolean | undefined;
1653
+ pickupTime?: {
1654
+ day: {
1655
+ max: number;
1656
+ min: number;
1657
+ };
1658
+ } | null | undefined;
1659
+ pickupPointConfig?: {
1660
+ restaurantEnable: boolean;
1661
+ points: {
1662
+ address: string;
1663
+ name: string;
1664
+ coordinates: number[];
1665
+ }[];
1666
+ } | null | undefined;
1667
+ } | null | undefined;
1668
+ dineIn?: {
1669
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
1670
+ offlinePaymentTypes?: {
1671
+ name: string;
1672
+ instruction: string;
1673
+ }[] | undefined;
1674
+ ignoreStock?: boolean | undefined;
1675
+ staticQr?: boolean | undefined;
1676
+ disableItemRemark?: boolean | undefined;
1677
+ acceptQueue?: boolean | undefined;
1678
+ anonymousOrder: boolean;
1679
+ } | null | undefined;
1680
+ takeaway?: {
1681
+ catalogId?: string | null | undefined;
1682
+ } | null | undefined;
1683
+ couchDbPassword?: string | null | undefined;
1684
+ apiToken?: string | null | undefined;
1685
+ remoteSupports?: {
1686
+ anydeskId?: string | null | undefined;
1687
+ anydeskPassword?: string | null | undefined;
1688
+ deviceName: string;
1689
+ }[] | null | undefined;
1690
+ payoutAccount?: {
1691
+ bank?: {
1692
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | undefined;
1693
+ accountNumber?: string | undefined;
1694
+ holderName?: string | undefined;
1695
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
1696
+ } | undefined;
1697
+ ssm?: string | undefined;
1698
+ bankStatement?: string | undefined;
1699
+ exteriorPhoto?: string | undefined;
1700
+ keyPerson?: string | undefined;
1701
+ keyPersonPhone?: string | undefined;
1702
+ keyPersonEmail?: string | undefined;
1703
+ enable: boolean;
1704
+ methods: {
1705
+ issuer: "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "OTHER" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
1706
+ variant: string;
1707
+ rate: {
1708
+ amount: number;
1709
+ precision: number;
1710
+ };
1711
+ tPlus: number;
1712
+ }[];
1713
+ status: "NEW" | "PENDING" | "APPROVED";
1714
+ } | null | undefined;
1715
+ clearCount?: number | null | undefined;
1716
+ queueSetting?: {
1717
+ enableOrder: boolean;
1718
+ initialNumber: number;
1719
+ endNumber: number;
1720
+ currentNumber: number;
1721
+ autoCalledLimit: number;
1722
+ duration: number;
1723
+ } | null | undefined;
1724
+ tableMappingSetting?: {
1725
+ enable?: boolean | null | undefined;
1726
+ showSeat?: boolean | null | undefined;
1727
+ mapBorderColor?: number | null | undefined;
1728
+ mapLineColor?: number | null | undefined;
1729
+ } | null | undefined;
1730
+ _id: string;
1731
+ expiredAt: string;
1732
+ businessId: string;
1733
+ profile: {
1734
+ _id?: string | undefined;
1735
+ url?: string | undefined;
1736
+ discovery?: boolean | undefined;
1737
+ legalName?: string | undefined;
1738
+ sstRegNo?: string | undefined;
1739
+ coverPhoto?: string | undefined;
1740
+ thumbnailPhoto?: string | undefined;
1741
+ description?: string | undefined;
1742
+ photos?: string[] | undefined;
1743
+ operatingHours?: {
1744
+ 0: {
1745
+ enable: boolean;
1746
+ hours: {
1747
+ start: string;
1748
+ end: string;
1749
+ }[];
1750
+ };
1751
+ 1: {
1752
+ enable: boolean;
1753
+ hours: {
1754
+ start: string;
1755
+ end: string;
1756
+ }[];
1757
+ };
1758
+ 2: {
1759
+ enable: boolean;
1760
+ hours: {
1761
+ start: string;
1762
+ end: string;
1763
+ }[];
1764
+ };
1765
+ 3: {
1766
+ enable: boolean;
1767
+ hours: {
1768
+ start: string;
1769
+ end: string;
1770
+ }[];
1771
+ };
1772
+ 4: {
1773
+ enable: boolean;
1774
+ hours: {
1775
+ start: string;
1776
+ end: string;
1777
+ }[];
1778
+ };
1779
+ 5: {
1780
+ enable: boolean;
1781
+ hours: {
1782
+ start: string;
1783
+ end: string;
1784
+ }[];
1785
+ };
1786
+ 6: {
1787
+ enable: boolean;
1788
+ hours: {
1789
+ start: string;
1790
+ end: string;
1791
+ }[];
1792
+ };
1793
+ } | undefined;
1794
+ tags?: string[] | undefined;
1795
+ address: {
1796
+ coordinates?: number[] | undefined;
1797
+ line2?: string | undefined;
1798
+ country: string;
1799
+ state: string;
1800
+ line1: string;
1801
+ city: string;
1802
+ postcode: string;
1803
+ };
1804
+ name: string;
1805
+ email: string;
1806
+ phoneNo: string;
1807
+ regNo: string;
1808
+ };
1809
+ }[]>;
1810
+ currentRestaurant: import("vue").Ref<FmpRestaurant | undefined>;
1811
+ readRestaurants: () => Promise<{
1812
+ managable: boolean;
1813
+ pf_business?: {
1814
+ internal?: boolean | null | undefined;
1815
+ expiredAt?: string | null | undefined;
1816
+ url?: string | null | undefined;
1817
+ agentId?: string | null | undefined;
1818
+ pf_agent?: {
1819
+ clickupId?: string | null | undefined;
1820
+ members?: {
1821
+ pf_user?: {
1822
+ email?: string | null | undefined;
1823
+ photoURL?: string | null | undefined;
1824
+ displayName?: string | null | undefined;
1825
+ phoneNumber?: string | null | undefined;
1826
+ birthday?: {
1827
+ toString: () => string;
1828
+ toDateString: () => string;
1829
+ toTimeString: () => string;
1830
+ toLocaleString: {
1831
+ (): string;
1832
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1833
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1834
+ };
1835
+ toLocaleDateString: {
1836
+ (): string;
1837
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1838
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1839
+ };
1840
+ toLocaleTimeString: {
1841
+ (): string;
1842
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1843
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1844
+ };
1845
+ valueOf: () => number;
1846
+ getTime: () => number;
1847
+ getFullYear: () => number;
1848
+ getUTCFullYear: () => number;
1849
+ getMonth: () => number;
1850
+ getUTCMonth: () => number;
1851
+ getDate: () => number;
1852
+ getUTCDate: () => number;
1853
+ getDay: () => number;
1854
+ getUTCDay: () => number;
1855
+ getHours: () => number;
1856
+ getUTCHours: () => number;
1857
+ getMinutes: () => number;
1858
+ getUTCMinutes: () => number;
1859
+ getSeconds: () => number;
1860
+ getUTCSeconds: () => number;
1861
+ getMilliseconds: () => number;
1862
+ getUTCMilliseconds: () => number;
1863
+ getTimezoneOffset: () => number;
1864
+ setTime: (time: number) => number;
1865
+ setMilliseconds: (ms: number) => number;
1866
+ setUTCMilliseconds: (ms: number) => number;
1867
+ setSeconds: (sec: number, ms?: number | undefined) => number;
1868
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
1869
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1870
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1871
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1872
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1873
+ setDate: (date: number) => number;
1874
+ setUTCDate: (date: number) => number;
1875
+ setMonth: (month: number, date?: number | undefined) => number;
1876
+ setUTCMonth: (month: number, date?: number | undefined) => number;
1877
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1878
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1879
+ toUTCString: () => string;
1880
+ toISOString: () => string;
1881
+ toJSON: (key?: any) => string;
1882
+ [Symbol.toPrimitive]: {
1883
+ (hint: "default"): string;
1884
+ (hint: "string"): string;
1885
+ (hint: "number"): number;
1886
+ (hint: string): string | number;
1887
+ };
1888
+ } | null | undefined;
1889
+ gender?: "MALE" | "FEMALE" | null | undefined;
1890
+ addresses?: {
1891
+ address: string;
1892
+ name: string;
1893
+ coordinates: number[];
1894
+ }[] | null | undefined;
1895
+ imported?: {
1896
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1897
+ raw: Record<string, any>;
1898
+ } | null | undefined;
1899
+ _id: string;
1900
+ } | null | undefined;
1901
+ userId: string;
1902
+ role: "ADMIN";
1903
+ }[] | null | undefined;
1904
+ code: string;
1905
+ name: string;
1906
+ _id: string;
1907
+ isReseller: boolean;
1908
+ } | null | undefined;
1909
+ thumbnail?: string | null | undefined;
1910
+ billingInfos?: {
1911
+ _id?: string | undefined;
1912
+ address: {
1913
+ coordinates?: number[] | undefined;
1914
+ line2?: string | undefined;
1915
+ country: string;
1916
+ state: string;
1917
+ line1: string;
1918
+ city: string;
1919
+ postcode: string;
1920
+ };
1921
+ name: string;
1922
+ email: string;
1923
+ companyName: string;
1924
+ contact: string;
1925
+ }[] | null | undefined;
1926
+ name: string;
1927
+ _id: string;
1928
+ ownerId: string;
1929
+ restaurantQuota: number;
1930
+ warehouseQuota: number;
1931
+ menuVersion: "v2" | "v3" | "v4";
1932
+ } | null | undefined;
1933
+ features?: ("pickup" | "stock" | "discovery" | "delivery" | "foodpanda" | "deliveryIntegration" | "kds" | "ods")[] | null | undefined;
1934
+ machineOtp?: string | null | undefined;
1935
+ machineOtpExpiredAt?: string | null | undefined;
1936
+ machineId?: string | null | undefined;
1937
+ channel?: string | null | undefined;
1938
+ posVersion?: string | null | undefined;
1939
+ posHeartbeat?: string | null | undefined;
1940
+ posVersionHistory?: Record<string, string> | null | undefined;
1941
+ catalogId?: string | null | undefined;
1942
+ additionalCatalogs?: string[] | null | undefined;
1943
+ inHouseDelivery?: {
1944
+ deliveryTime?: {
1945
+ time?: string[] | null | undefined;
1946
+ custom?: {
1947
+ 0: {
1948
+ enable: boolean;
1949
+ hours: {
1950
+ start: string;
1951
+ end: string;
1952
+ }[];
1953
+ };
1954
+ 1: {
1955
+ enable: boolean;
1956
+ hours: {
1957
+ start: string;
1958
+ end: string;
1959
+ }[];
1960
+ };
1961
+ 2: {
1962
+ enable: boolean;
1963
+ hours: {
1964
+ start: string;
1965
+ end: string;
1966
+ }[];
1967
+ };
1968
+ 3: {
1969
+ enable: boolean;
1970
+ hours: {
1971
+ start: string;
1972
+ end: string;
1973
+ }[];
1974
+ };
1975
+ 4: {
1976
+ enable: boolean;
1977
+ hours: {
1978
+ start: string;
1979
+ end: string;
1980
+ }[];
1981
+ };
1982
+ 5: {
1983
+ enable: boolean;
1984
+ hours: {
1985
+ start: string;
1986
+ end: string;
1987
+ }[];
1988
+ };
1989
+ 6: {
1990
+ enable: boolean;
1991
+ hours: {
1992
+ start: string;
1993
+ end: string;
1994
+ }[];
1995
+ };
1996
+ } | null | undefined;
1997
+ day: {
1998
+ max: number;
1999
+ min: number;
2000
+ };
2001
+ } | null | undefined;
2002
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
2003
+ offlinePaymentTypes?: {
2004
+ name: string;
2005
+ instruction: string;
2006
+ }[] | undefined;
2007
+ autoAccept?: boolean | undefined;
2008
+ autoAcceptPaidOnly?: boolean | undefined;
2009
+ ignoreStock?: boolean | undefined;
2010
+ catalogId: string | null;
2011
+ enable: boolean;
2012
+ areas: {
2013
+ freeAfterTotal?: {
2014
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2015
+ amount: number;
2016
+ precision: number;
2017
+ } | null | undefined;
2018
+ minPurchase?: {
2019
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2020
+ amount: number;
2021
+ precision: number;
2022
+ } | null | undefined;
2023
+ polygon: number[][];
2024
+ deliveryFee: {
2025
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2026
+ amount: number;
2027
+ precision: number;
2028
+ };
2029
+ }[];
2030
+ term: string;
2031
+ } | null | undefined;
2032
+ feedmeDelivery?: {
2033
+ catalogId?: string | null | undefined;
2034
+ term?: string | null | undefined;
2035
+ autoAccept?: boolean | null | undefined;
2036
+ instruction?: string | null | undefined;
2037
+ enable: boolean;
2038
+ } | null | undefined;
2039
+ foodpandaDelivery?: {
2040
+ _id?: string | undefined;
2041
+ catalogId?: string | null | undefined;
2042
+ autoAccept?: boolean | undefined;
2043
+ lastSynchronize?: string | null | undefined;
2044
+ commissionRate?: number | null | undefined;
2045
+ showProductAddon?: boolean | null | undefined;
2046
+ reportConfig?: {
2047
+ commissionRate: number;
2048
+ discountCampaigns: {
2049
+ name: string;
2050
+ vendorBearPercentage: number;
2051
+ date: {
2052
+ start: string;
2053
+ end: string;
2054
+ };
2055
+ }[];
2056
+ } | null | undefined;
2057
+ hasSst?: boolean | null | undefined;
2058
+ ignoreDiscount?: boolean | null | undefined;
2059
+ enable: boolean;
2060
+ remoteId: string;
2061
+ autoCloseBill: boolean;
2062
+ } | undefined;
2063
+ grabfoodDelivery?: {
2064
+ _id?: string | undefined;
2065
+ catalogId?: string | null | undefined;
2066
+ lastSynchronize?: string | null | undefined;
2067
+ showProductAddon?: boolean | null | undefined;
2068
+ enable: boolean;
2069
+ commissionRate: number;
2070
+ autoCloseBill: boolean;
2071
+ merchantID: string;
2072
+ } | undefined;
2073
+ shopeefoodDelivery?: {
2074
+ _id?: string | undefined;
2075
+ catalogId?: string | null | undefined;
2076
+ lastSynchronize?: string | null | undefined;
2077
+ showProductAddon?: boolean | null | undefined;
2078
+ enable: boolean;
2079
+ autoCloseBill: boolean;
2080
+ reportConfig: {
2081
+ commissionRate: number;
2082
+ discountCampaigns: {
2083
+ name: string;
2084
+ vendorBearPercentage: number;
2085
+ date: {
2086
+ start: string;
2087
+ end: string;
2088
+ };
2089
+ }[];
2090
+ };
2091
+ storeID: string;
2092
+ } | undefined;
2093
+ pickup?: {
2094
+ catalogId?: string | null | undefined;
2095
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
2096
+ offlinePaymentTypes?: {
2097
+ name: string;
2098
+ instruction: string;
2099
+ }[] | undefined;
2100
+ autoAccept?: boolean | null | undefined;
2101
+ autoAcceptPaidOnly?: boolean | null | undefined;
2102
+ ignoreStock?: boolean | undefined;
2103
+ pickupTime?: {
2104
+ day: {
2105
+ max: number;
2106
+ min: number;
2107
+ };
2108
+ } | null | undefined;
2109
+ pickupPointConfig?: {
2110
+ restaurantEnable: boolean;
2111
+ points: {
2112
+ address: string;
2113
+ name: string;
2114
+ coordinates: number[];
2115
+ }[];
2116
+ } | null | undefined;
2117
+ } | null | undefined;
2118
+ dineIn?: {
2119
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
2120
+ offlinePaymentTypes?: {
2121
+ name: string;
2122
+ instruction: string;
2123
+ }[] | undefined;
2124
+ ignoreStock?: boolean | undefined;
2125
+ staticQr?: boolean | undefined;
2126
+ disableItemRemark?: boolean | undefined;
2127
+ acceptQueue?: boolean | undefined;
2128
+ anonymousOrder: boolean;
2129
+ } | null | undefined;
2130
+ takeaway?: {
2131
+ catalogId?: string | null | undefined;
2132
+ } | null | undefined;
2133
+ couchDbPassword?: string | null | undefined;
2134
+ apiToken?: string | null | undefined;
2135
+ remoteSupports?: {
2136
+ anydeskId?: string | null | undefined;
2137
+ anydeskPassword?: string | null | undefined;
2138
+ deviceName: string;
2139
+ }[] | null | undefined;
2140
+ payoutAccount?: {
2141
+ bank?: {
2142
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | undefined;
2143
+ accountNumber?: string | undefined;
2144
+ holderName?: string | undefined;
2145
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
2146
+ } | undefined;
2147
+ ssm?: string | undefined;
2148
+ bankStatement?: string | undefined;
2149
+ exteriorPhoto?: string | undefined;
2150
+ keyPerson?: string | undefined;
2151
+ keyPersonPhone?: string | undefined;
2152
+ keyPersonEmail?: string | undefined;
2153
+ enable: boolean;
2154
+ methods: {
2155
+ issuer: "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "OTHER" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
2156
+ variant: string;
2157
+ rate: {
2158
+ amount: number;
2159
+ precision: number;
2160
+ };
2161
+ tPlus: number;
2162
+ }[];
2163
+ status: "NEW" | "PENDING" | "APPROVED";
2164
+ } | null | undefined;
2165
+ clearCount?: number | null | undefined;
2166
+ queueSetting?: {
2167
+ enableOrder: boolean;
2168
+ initialNumber: number;
2169
+ endNumber: number;
2170
+ currentNumber: number;
2171
+ autoCalledLimit: number;
2172
+ duration: number;
2173
+ } | null | undefined;
2174
+ tableMappingSetting?: {
2175
+ enable?: boolean | null | undefined;
2176
+ showSeat?: boolean | null | undefined;
2177
+ mapBorderColor?: number | null | undefined;
2178
+ mapLineColor?: number | null | undefined;
2179
+ } | null | undefined;
2180
+ _id: string;
2181
+ expiredAt: string;
2182
+ businessId: string;
2183
+ profile: {
2184
+ _id?: string | undefined;
2185
+ url?: string | undefined;
2186
+ discovery?: boolean | undefined;
2187
+ legalName?: string | undefined;
2188
+ sstRegNo?: string | undefined;
2189
+ coverPhoto?: string | undefined;
2190
+ thumbnailPhoto?: string | undefined;
2191
+ description?: string | undefined;
2192
+ photos?: string[] | undefined;
2193
+ operatingHours?: {
2194
+ 0: {
2195
+ enable: boolean;
2196
+ hours: {
2197
+ start: string;
2198
+ end: string;
2199
+ }[];
2200
+ };
2201
+ 1: {
2202
+ enable: boolean;
2203
+ hours: {
2204
+ start: string;
2205
+ end: string;
2206
+ }[];
2207
+ };
2208
+ 2: {
2209
+ enable: boolean;
2210
+ hours: {
2211
+ start: string;
2212
+ end: string;
2213
+ }[];
2214
+ };
2215
+ 3: {
2216
+ enable: boolean;
2217
+ hours: {
2218
+ start: string;
2219
+ end: string;
2220
+ }[];
2221
+ };
2222
+ 4: {
2223
+ enable: boolean;
2224
+ hours: {
2225
+ start: string;
2226
+ end: string;
2227
+ }[];
2228
+ };
2229
+ 5: {
2230
+ enable: boolean;
2231
+ hours: {
2232
+ start: string;
2233
+ end: string;
2234
+ }[];
2235
+ };
2236
+ 6: {
2237
+ enable: boolean;
2238
+ hours: {
2239
+ start: string;
2240
+ end: string;
2241
+ }[];
2242
+ };
2243
+ } | undefined;
2244
+ tags?: string[] | undefined;
2245
+ address: {
2246
+ coordinates?: number[] | undefined;
2247
+ line2?: string | undefined;
2248
+ country: string;
2249
+ state: string;
2250
+ line1: string;
2251
+ city: string;
2252
+ postcode: string;
2253
+ };
2254
+ name: string;
2255
+ email: string;
2256
+ phoneNo: string;
2257
+ regNo: string;
2258
+ };
2259
+ }[] | undefined>;
2260
+ changeRestaurant: (restaurant: FmpRestaurant | undefined) => void;
2261
+ }, never>, Pick<{
2262
+ sessionUser: import("vue").Ref<{
2263
+ id: string;
2264
+ email?: string | null | undefined;
2265
+ photoURL?: string | null | undefined;
2266
+ displayName?: string | null | undefined;
2267
+ phoneNumber?: string | null | undefined;
2268
+ token: string;
2269
+ tokenExpiredAt: {
2270
+ toString: () => string;
2271
+ toDateString: () => string;
2272
+ toTimeString: () => string;
2273
+ toLocaleString: {
2274
+ (): string;
2275
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2276
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2277
+ };
2278
+ toLocaleDateString: {
2279
+ (): string;
2280
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2281
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2282
+ };
2283
+ toLocaleTimeString: {
2284
+ (): string;
2285
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2286
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2287
+ };
2288
+ valueOf: () => number;
2289
+ getTime: () => number;
2290
+ getFullYear: () => number;
2291
+ getUTCFullYear: () => number;
2292
+ getMonth: () => number;
2293
+ getUTCMonth: () => number;
2294
+ getDate: () => number;
2295
+ getUTCDate: () => number;
2296
+ getDay: () => number;
2297
+ getUTCDay: () => number;
2298
+ getHours: () => number;
2299
+ getUTCHours: () => number;
2300
+ getMinutes: () => number;
2301
+ getUTCMinutes: () => number;
2302
+ getSeconds: () => number;
2303
+ getUTCSeconds: () => number;
2304
+ getMilliseconds: () => number;
2305
+ getUTCMilliseconds: () => number;
2306
+ getTimezoneOffset: () => number;
2307
+ setTime: (time: number) => number;
2308
+ setMilliseconds: (ms: number) => number;
2309
+ setUTCMilliseconds: (ms: number) => number;
2310
+ setSeconds: (sec: number, ms?: number | undefined) => number;
2311
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
2312
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2313
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2314
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2315
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2316
+ setDate: (date: number) => number;
2317
+ setUTCDate: (date: number) => number;
2318
+ setMonth: (month: number, date?: number | undefined) => number;
2319
+ setUTCMonth: (month: number, date?: number | undefined) => number;
2320
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2321
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2322
+ toUTCString: () => string;
2323
+ toISOString: () => string;
2324
+ toJSON: (key?: any) => string;
2325
+ [Symbol.toPrimitive]: {
2326
+ (hint: "default"): string;
2327
+ (hint: "string"): string;
2328
+ (hint: "number"): number;
2329
+ (hint: string): string | number;
2330
+ };
2331
+ };
2332
+ setToken: (token: string, tokenExpiredAt: Date) => void;
2333
+ setAdminPermisssions: (permissions: FdoPermissionRule[]) => void;
2334
+ setPermisssions: (permissions: FdoPermissionRule[]) => void;
2335
+ readonly permissions: {
2336
+ fields?: string[] | undefined;
2337
+ conditions?: any;
2338
+ inverted?: boolean | undefined;
2339
+ reason?: string | undefined;
2340
+ label: string;
2341
+ actions: string | string[];
2342
+ subject: string | string[];
2343
+ }[];
2344
+ } | null>;
2345
+ setUser: (user: FeedMeUser | null) => Promise<void>;
2346
+ fetchUserAdminPermissions: () => Promise<void>;
2347
+ fetchUserPermissions: () => Promise<void>;
2348
+ namespace: import("vue").Ref<FmNamespace>;
2349
+ setNamespace: (ns: FmNamespace) => void;
2350
+ 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">;
2351
+ changeCountry: (country: F_COUNTRY) => Promise<void>;
2352
+ businesses: import("vue").Ref<{
2353
+ internal?: boolean | null | undefined;
2354
+ expiredAt?: string | null | undefined;
2355
+ url?: string | null | undefined;
2356
+ agentId?: string | null | undefined;
2357
+ pf_agent?: {
2358
+ clickupId?: string | null | undefined;
2359
+ members?: {
2360
+ pf_user?: {
2361
+ email?: string | null | undefined;
2362
+ photoURL?: string | null | undefined;
2363
+ displayName?: string | null | undefined;
2364
+ phoneNumber?: string | null | undefined;
2365
+ birthday?: {
2366
+ toString: () => string;
2367
+ toDateString: () => string;
2368
+ toTimeString: () => string;
2369
+ toLocaleString: {
2370
+ (): string;
2371
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2372
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2373
+ };
2374
+ toLocaleDateString: {
2375
+ (): string;
2376
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2377
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2378
+ };
2379
+ toLocaleTimeString: {
2380
+ (): string;
2381
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2382
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2383
+ };
2384
+ valueOf: () => number;
2385
+ getTime: () => number;
2386
+ getFullYear: () => number;
2387
+ getUTCFullYear: () => number;
2388
+ getMonth: () => number;
2389
+ getUTCMonth: () => number;
2390
+ getDate: () => number;
2391
+ getUTCDate: () => number;
2392
+ getDay: () => number;
2393
+ getUTCDay: () => number;
2394
+ getHours: () => number;
2395
+ getUTCHours: () => number;
2396
+ getMinutes: () => number;
2397
+ getUTCMinutes: () => number;
2398
+ getSeconds: () => number;
2399
+ getUTCSeconds: () => number;
2400
+ getMilliseconds: () => number;
2401
+ getUTCMilliseconds: () => number;
2402
+ getTimezoneOffset: () => number;
2403
+ setTime: (time: number) => number;
2404
+ setMilliseconds: (ms: number) => number;
2405
+ setUTCMilliseconds: (ms: number) => number;
2406
+ setSeconds: (sec: number, ms?: number | undefined) => number;
2407
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
2408
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2409
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2410
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2411
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2412
+ setDate: (date: number) => number;
2413
+ setUTCDate: (date: number) => number;
2414
+ setMonth: (month: number, date?: number | undefined) => number;
2415
+ setUTCMonth: (month: number, date?: number | undefined) => number;
2416
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2417
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2418
+ toUTCString: () => string;
2419
+ toISOString: () => string;
2420
+ toJSON: (key?: any) => string;
2421
+ [Symbol.toPrimitive]: {
2422
+ (hint: "default"): string;
2423
+ (hint: "string"): string;
2424
+ (hint: "number"): number;
2425
+ (hint: string): string | number;
2426
+ };
2427
+ } | null | undefined;
2428
+ gender?: "MALE" | "FEMALE" | null | undefined;
2429
+ addresses?: {
2430
+ address: string;
2431
+ name: string;
2432
+ coordinates: number[];
2433
+ }[] | null | undefined;
2434
+ imported?: {
2435
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2436
+ raw: Record<string, any>;
2437
+ } | null | undefined;
2438
+ _id: string;
2439
+ } | null | undefined;
2440
+ userId: string;
2441
+ role: "ADMIN";
2442
+ }[] | null | undefined;
2443
+ code: string;
2444
+ name: string;
2445
+ _id: string;
2446
+ isReseller: boolean;
2447
+ } | null | undefined;
2448
+ thumbnail?: string | null | undefined;
2449
+ billingInfos?: {
2450
+ _id?: string | undefined;
2451
+ address: {
2452
+ coordinates?: number[] | undefined;
2453
+ line2?: string | undefined;
2454
+ country: string;
2455
+ state: string;
2456
+ line1: string;
2457
+ city: string;
2458
+ postcode: string;
2459
+ };
2460
+ name: string;
2461
+ email: string;
2462
+ companyName: string;
2463
+ contact: string;
2464
+ }[] | null | undefined;
2465
+ name: string;
2466
+ _id: string;
2467
+ ownerId: string;
2468
+ restaurantQuota: number;
2469
+ warehouseQuota: number;
2470
+ menuVersion: "v2" | "v3" | "v4";
2471
+ }[]>;
2472
+ currentBusiness: import("vue").Ref<FmpBusiness | undefined>;
2473
+ readBusinesses: () => Promise<FmpBusiness | undefined>;
2474
+ changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
2475
+ restaurants: import("vue").Ref<{
2476
+ managable: boolean;
2477
+ pf_business?: {
2478
+ internal?: boolean | null | undefined;
2479
+ expiredAt?: string | null | undefined;
2480
+ url?: string | null | undefined;
2481
+ agentId?: string | null | undefined;
2482
+ pf_agent?: {
2483
+ clickupId?: string | null | undefined;
2484
+ members?: {
2485
+ pf_user?: {
2486
+ email?: string | null | undefined;
2487
+ photoURL?: string | null | undefined;
2488
+ displayName?: string | null | undefined;
2489
+ phoneNumber?: string | null | undefined;
2490
+ birthday?: {
2491
+ toString: () => string;
2492
+ toDateString: () => string;
2493
+ toTimeString: () => string;
2494
+ toLocaleString: {
2495
+ (): string;
2496
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2497
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2498
+ };
2499
+ toLocaleDateString: {
2500
+ (): string;
2501
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2502
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2503
+ };
2504
+ toLocaleTimeString: {
2505
+ (): string;
2506
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2507
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2508
+ };
2509
+ valueOf: () => number;
2510
+ getTime: () => number;
2511
+ getFullYear: () => number;
2512
+ getUTCFullYear: () => number;
2513
+ getMonth: () => number;
2514
+ getUTCMonth: () => number;
2515
+ getDate: () => number;
2516
+ getUTCDate: () => number;
2517
+ getDay: () => number;
2518
+ getUTCDay: () => number;
2519
+ getHours: () => number;
2520
+ getUTCHours: () => number;
2521
+ getMinutes: () => number;
2522
+ getUTCMinutes: () => number;
2523
+ getSeconds: () => number;
2524
+ getUTCSeconds: () => number;
2525
+ getMilliseconds: () => number;
2526
+ getUTCMilliseconds: () => number;
2527
+ getTimezoneOffset: () => number;
2528
+ setTime: (time: number) => number;
2529
+ setMilliseconds: (ms: number) => number;
2530
+ setUTCMilliseconds: (ms: number) => number;
2531
+ setSeconds: (sec: number, ms?: number | undefined) => number;
2532
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
2533
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2534
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2535
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2536
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2537
+ setDate: (date: number) => number;
2538
+ setUTCDate: (date: number) => number;
2539
+ setMonth: (month: number, date?: number | undefined) => number;
2540
+ setUTCMonth: (month: number, date?: number | undefined) => number;
2541
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2542
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2543
+ toUTCString: () => string;
2544
+ toISOString: () => string;
2545
+ toJSON: (key?: any) => string;
2546
+ [Symbol.toPrimitive]: {
2547
+ (hint: "default"): string;
2548
+ (hint: "string"): string;
2549
+ (hint: "number"): number;
2550
+ (hint: string): string | number;
2551
+ };
2552
+ } | null | undefined;
2553
+ gender?: "MALE" | "FEMALE" | null | undefined;
2554
+ addresses?: {
2555
+ address: string;
2556
+ name: string;
2557
+ coordinates: number[];
2558
+ }[] | null | undefined;
2559
+ imported?: {
2560
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2561
+ raw: Record<string, any>;
2562
+ } | null | undefined;
2563
+ _id: string;
2564
+ } | null | undefined;
2565
+ userId: string;
2566
+ role: "ADMIN";
2567
+ }[] | null | undefined;
2568
+ code: string;
2569
+ name: string;
2570
+ _id: string;
2571
+ isReseller: boolean;
2572
+ } | null | undefined;
2573
+ thumbnail?: string | null | undefined;
2574
+ billingInfos?: {
2575
+ _id?: string | undefined;
2576
+ address: {
2577
+ coordinates?: number[] | undefined;
2578
+ line2?: string | undefined;
2579
+ country: string;
2580
+ state: string;
2581
+ line1: string;
2582
+ city: string;
2583
+ postcode: string;
2584
+ };
2585
+ name: string;
2586
+ email: string;
2587
+ companyName: string;
2588
+ contact: string;
2589
+ }[] | null | undefined;
2590
+ name: string;
2591
+ _id: string;
2592
+ ownerId: string;
2593
+ restaurantQuota: number;
2594
+ warehouseQuota: number;
2595
+ menuVersion: "v2" | "v3" | "v4";
2596
+ } | null | undefined;
2597
+ features?: ("pickup" | "stock" | "discovery" | "delivery" | "foodpanda" | "deliveryIntegration" | "kds" | "ods")[] | null | undefined;
2598
+ machineOtp?: string | null | undefined;
2599
+ machineOtpExpiredAt?: string | null | undefined;
2600
+ machineId?: string | null | undefined;
2601
+ channel?: string | null | undefined;
2602
+ posVersion?: string | null | undefined;
2603
+ posHeartbeat?: string | null | undefined;
2604
+ posVersionHistory?: Record<string, string> | null | undefined;
2605
+ catalogId?: string | null | undefined;
2606
+ additionalCatalogs?: string[] | null | undefined;
2607
+ inHouseDelivery?: {
2608
+ deliveryTime?: {
2609
+ time?: string[] | null | undefined;
2610
+ custom?: {
2611
+ 0: {
2612
+ enable: boolean;
2613
+ hours: {
2614
+ start: string;
2615
+ end: string;
2616
+ }[];
2617
+ };
2618
+ 1: {
2619
+ enable: boolean;
2620
+ hours: {
2621
+ start: string;
2622
+ end: string;
2623
+ }[];
2624
+ };
2625
+ 2: {
2626
+ enable: boolean;
2627
+ hours: {
2628
+ start: string;
2629
+ end: string;
2630
+ }[];
2631
+ };
2632
+ 3: {
2633
+ enable: boolean;
2634
+ hours: {
2635
+ start: string;
2636
+ end: string;
2637
+ }[];
2638
+ };
2639
+ 4: {
2640
+ enable: boolean;
2641
+ hours: {
2642
+ start: string;
2643
+ end: string;
2644
+ }[];
2645
+ };
2646
+ 5: {
2647
+ enable: boolean;
2648
+ hours: {
2649
+ start: string;
2650
+ end: string;
2651
+ }[];
2652
+ };
2653
+ 6: {
2654
+ enable: boolean;
2655
+ hours: {
2656
+ start: string;
2657
+ end: string;
2658
+ }[];
2659
+ };
2660
+ } | null | undefined;
2661
+ day: {
2662
+ max: number;
2663
+ min: number;
2664
+ };
2665
+ } | null | undefined;
2666
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
2667
+ offlinePaymentTypes?: {
2668
+ name: string;
2669
+ instruction: string;
2670
+ }[] | undefined;
2671
+ autoAccept?: boolean | undefined;
2672
+ autoAcceptPaidOnly?: boolean | undefined;
2673
+ ignoreStock?: boolean | undefined;
2674
+ catalogId: string | null;
2675
+ enable: boolean;
2676
+ areas: {
2677
+ freeAfterTotal?: {
2678
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2679
+ amount: number;
2680
+ precision: number;
2681
+ } | null | undefined;
2682
+ minPurchase?: {
2683
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2684
+ amount: number;
2685
+ precision: number;
2686
+ } | null | undefined;
2687
+ polygon: number[][];
2688
+ deliveryFee: {
2689
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2690
+ amount: number;
2691
+ precision: number;
2692
+ };
2693
+ }[];
2694
+ term: string;
2695
+ } | null | undefined;
2696
+ feedmeDelivery?: {
2697
+ catalogId?: string | null | undefined;
2698
+ term?: string | null | undefined;
2699
+ autoAccept?: boolean | null | undefined;
2700
+ instruction?: string | null | undefined;
2701
+ enable: boolean;
2702
+ } | null | undefined;
2703
+ foodpandaDelivery?: {
2704
+ _id?: string | undefined;
2705
+ catalogId?: string | null | undefined;
2706
+ autoAccept?: boolean | undefined;
2707
+ lastSynchronize?: string | null | undefined;
2708
+ commissionRate?: number | null | undefined;
2709
+ showProductAddon?: boolean | null | undefined;
2710
+ reportConfig?: {
2711
+ commissionRate: number;
2712
+ discountCampaigns: {
2713
+ name: string;
2714
+ vendorBearPercentage: number;
2715
+ date: {
2716
+ start: string;
2717
+ end: string;
2718
+ };
2719
+ }[];
2720
+ } | null | undefined;
2721
+ hasSst?: boolean | null | undefined;
2722
+ ignoreDiscount?: boolean | null | undefined;
2723
+ enable: boolean;
2724
+ remoteId: string;
2725
+ autoCloseBill: boolean;
2726
+ } | undefined;
2727
+ grabfoodDelivery?: {
2728
+ _id?: string | undefined;
2729
+ catalogId?: string | null | undefined;
2730
+ lastSynchronize?: string | null | undefined;
2731
+ showProductAddon?: boolean | null | undefined;
2732
+ enable: boolean;
2733
+ commissionRate: number;
2734
+ autoCloseBill: boolean;
2735
+ merchantID: string;
2736
+ } | undefined;
2737
+ shopeefoodDelivery?: {
2738
+ _id?: string | undefined;
2739
+ catalogId?: string | null | undefined;
2740
+ lastSynchronize?: string | null | undefined;
2741
+ showProductAddon?: boolean | null | undefined;
2742
+ enable: boolean;
2743
+ autoCloseBill: boolean;
2744
+ reportConfig: {
2745
+ commissionRate: number;
2746
+ discountCampaigns: {
2747
+ name: string;
2748
+ vendorBearPercentage: number;
2749
+ date: {
2750
+ start: string;
2751
+ end: string;
2752
+ };
2753
+ }[];
2754
+ };
2755
+ storeID: string;
2756
+ } | undefined;
2757
+ pickup?: {
2758
+ catalogId?: string | null | undefined;
2759
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
2760
+ offlinePaymentTypes?: {
2761
+ name: string;
2762
+ instruction: string;
2763
+ }[] | undefined;
2764
+ autoAccept?: boolean | null | undefined;
2765
+ autoAcceptPaidOnly?: boolean | null | undefined;
2766
+ ignoreStock?: boolean | undefined;
2767
+ pickupTime?: {
2768
+ day: {
2769
+ max: number;
2770
+ min: number;
2771
+ };
2772
+ } | null | undefined;
2773
+ pickupPointConfig?: {
2774
+ restaurantEnable: boolean;
2775
+ points: {
2776
+ address: string;
2777
+ name: string;
2778
+ coordinates: number[];
2779
+ }[];
2780
+ } | null | undefined;
2781
+ } | null | undefined;
2782
+ dineIn?: {
2783
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
2784
+ offlinePaymentTypes?: {
2785
+ name: string;
2786
+ instruction: string;
2787
+ }[] | undefined;
2788
+ ignoreStock?: boolean | undefined;
2789
+ staticQr?: boolean | undefined;
2790
+ disableItemRemark?: boolean | undefined;
2791
+ acceptQueue?: boolean | undefined;
2792
+ anonymousOrder: boolean;
2793
+ } | null | undefined;
2794
+ takeaway?: {
2795
+ catalogId?: string | null | undefined;
2796
+ } | null | undefined;
2797
+ couchDbPassword?: string | null | undefined;
2798
+ apiToken?: string | null | undefined;
2799
+ remoteSupports?: {
2800
+ anydeskId?: string | null | undefined;
2801
+ anydeskPassword?: string | null | undefined;
2802
+ deviceName: string;
2803
+ }[] | null | undefined;
2804
+ payoutAccount?: {
2805
+ bank?: {
2806
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | undefined;
2807
+ accountNumber?: string | undefined;
2808
+ holderName?: string | undefined;
2809
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
2810
+ } | undefined;
2811
+ ssm?: string | undefined;
2812
+ bankStatement?: string | undefined;
2813
+ exteriorPhoto?: string | undefined;
2814
+ keyPerson?: string | undefined;
2815
+ keyPersonPhone?: string | undefined;
2816
+ keyPersonEmail?: string | undefined;
2817
+ enable: boolean;
2818
+ methods: {
2819
+ issuer: "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "OTHER" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
2820
+ variant: string;
2821
+ rate: {
2822
+ amount: number;
2823
+ precision: number;
2824
+ };
2825
+ tPlus: number;
2826
+ }[];
2827
+ status: "NEW" | "PENDING" | "APPROVED";
2828
+ } | null | undefined;
2829
+ clearCount?: number | null | undefined;
2830
+ queueSetting?: {
2831
+ enableOrder: boolean;
2832
+ initialNumber: number;
2833
+ endNumber: number;
2834
+ currentNumber: number;
2835
+ autoCalledLimit: number;
2836
+ duration: number;
2837
+ } | null | undefined;
2838
+ tableMappingSetting?: {
2839
+ enable?: boolean | null | undefined;
2840
+ showSeat?: boolean | null | undefined;
2841
+ mapBorderColor?: number | null | undefined;
2842
+ mapLineColor?: number | null | undefined;
2843
+ } | null | undefined;
2844
+ _id: string;
2845
+ expiredAt: string;
2846
+ businessId: string;
2847
+ profile: {
2848
+ _id?: string | undefined;
2849
+ url?: string | undefined;
2850
+ discovery?: boolean | undefined;
2851
+ legalName?: string | undefined;
2852
+ sstRegNo?: string | undefined;
2853
+ coverPhoto?: string | undefined;
2854
+ thumbnailPhoto?: string | undefined;
2855
+ description?: string | undefined;
2856
+ photos?: string[] | undefined;
2857
+ operatingHours?: {
2858
+ 0: {
2859
+ enable: boolean;
2860
+ hours: {
2861
+ start: string;
2862
+ end: string;
2863
+ }[];
2864
+ };
2865
+ 1: {
2866
+ enable: boolean;
2867
+ hours: {
2868
+ start: string;
2869
+ end: string;
2870
+ }[];
2871
+ };
2872
+ 2: {
2873
+ enable: boolean;
2874
+ hours: {
2875
+ start: string;
2876
+ end: string;
2877
+ }[];
2878
+ };
2879
+ 3: {
2880
+ enable: boolean;
2881
+ hours: {
2882
+ start: string;
2883
+ end: string;
2884
+ }[];
2885
+ };
2886
+ 4: {
2887
+ enable: boolean;
2888
+ hours: {
2889
+ start: string;
2890
+ end: string;
2891
+ }[];
2892
+ };
2893
+ 5: {
2894
+ enable: boolean;
2895
+ hours: {
2896
+ start: string;
2897
+ end: string;
2898
+ }[];
2899
+ };
2900
+ 6: {
2901
+ enable: boolean;
2902
+ hours: {
2903
+ start: string;
2904
+ end: string;
2905
+ }[];
2906
+ };
2907
+ } | undefined;
2908
+ tags?: string[] | undefined;
2909
+ address: {
2910
+ coordinates?: number[] | undefined;
2911
+ line2?: string | undefined;
2912
+ country: string;
2913
+ state: string;
2914
+ line1: string;
2915
+ city: string;
2916
+ postcode: string;
2917
+ };
2918
+ name: string;
2919
+ email: string;
2920
+ phoneNo: string;
2921
+ regNo: string;
2922
+ };
2923
+ }[]>;
2924
+ currentRestaurant: import("vue").Ref<FmpRestaurant | undefined>;
2925
+ readRestaurants: () => Promise<{
2926
+ managable: boolean;
2927
+ pf_business?: {
2928
+ internal?: boolean | null | undefined;
2929
+ expiredAt?: string | null | undefined;
2930
+ url?: string | null | undefined;
2931
+ agentId?: string | null | undefined;
2932
+ pf_agent?: {
2933
+ clickupId?: string | null | undefined;
2934
+ members?: {
2935
+ pf_user?: {
2936
+ email?: string | null | undefined;
2937
+ photoURL?: string | null | undefined;
2938
+ displayName?: string | null | undefined;
2939
+ phoneNumber?: string | null | undefined;
2940
+ birthday?: {
2941
+ toString: () => string;
2942
+ toDateString: () => string;
2943
+ toTimeString: () => string;
2944
+ toLocaleString: {
2945
+ (): string;
2946
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2947
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2948
+ };
2949
+ toLocaleDateString: {
2950
+ (): string;
2951
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2952
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2953
+ };
2954
+ toLocaleTimeString: {
2955
+ (): string;
2956
+ (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2957
+ (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2958
+ };
2959
+ valueOf: () => number;
2960
+ getTime: () => number;
2961
+ getFullYear: () => number;
2962
+ getUTCFullYear: () => number;
2963
+ getMonth: () => number;
2964
+ getUTCMonth: () => number;
2965
+ getDate: () => number;
2966
+ getUTCDate: () => number;
2967
+ getDay: () => number;
2968
+ getUTCDay: () => number;
2969
+ getHours: () => number;
2970
+ getUTCHours: () => number;
2971
+ getMinutes: () => number;
2972
+ getUTCMinutes: () => number;
2973
+ getSeconds: () => number;
2974
+ getUTCSeconds: () => number;
2975
+ getMilliseconds: () => number;
2976
+ getUTCMilliseconds: () => number;
2977
+ getTimezoneOffset: () => number;
2978
+ setTime: (time: number) => number;
2979
+ setMilliseconds: (ms: number) => number;
2980
+ setUTCMilliseconds: (ms: number) => number;
2981
+ setSeconds: (sec: number, ms?: number | undefined) => number;
2982
+ setUTCSeconds: (sec: number, ms?: number | undefined) => number;
2983
+ setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2984
+ setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2985
+ setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2986
+ setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2987
+ setDate: (date: number) => number;
2988
+ setUTCDate: (date: number) => number;
2989
+ setMonth: (month: number, date?: number | undefined) => number;
2990
+ setUTCMonth: (month: number, date?: number | undefined) => number;
2991
+ setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2992
+ setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2993
+ toUTCString: () => string;
2994
+ toISOString: () => string;
2995
+ toJSON: (key?: any) => string;
2996
+ [Symbol.toPrimitive]: {
2997
+ (hint: "default"): string;
2998
+ (hint: "string"): string;
2999
+ (hint: "number"): number;
3000
+ (hint: string): string | number;
3001
+ };
3002
+ } | null | undefined;
3003
+ gender?: "MALE" | "FEMALE" | null | undefined;
3004
+ addresses?: {
3005
+ address: string;
3006
+ name: string;
3007
+ coordinates: number[];
3008
+ }[] | null | undefined;
3009
+ imported?: {
3010
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
3011
+ raw: Record<string, any>;
3012
+ } | null | undefined;
3013
+ _id: string;
3014
+ } | null | undefined;
3015
+ userId: string;
3016
+ role: "ADMIN";
3017
+ }[] | null | undefined;
3018
+ code: string;
3019
+ name: string;
3020
+ _id: string;
3021
+ isReseller: boolean;
3022
+ } | null | undefined;
3023
+ thumbnail?: string | null | undefined;
3024
+ billingInfos?: {
3025
+ _id?: string | undefined;
3026
+ address: {
3027
+ coordinates?: number[] | undefined;
3028
+ line2?: string | undefined;
3029
+ country: string;
3030
+ state: string;
3031
+ line1: string;
3032
+ city: string;
3033
+ postcode: string;
3034
+ };
3035
+ name: string;
3036
+ email: string;
3037
+ companyName: string;
3038
+ contact: string;
3039
+ }[] | null | undefined;
3040
+ name: string;
3041
+ _id: string;
3042
+ ownerId: string;
3043
+ restaurantQuota: number;
3044
+ warehouseQuota: number;
3045
+ menuVersion: "v2" | "v3" | "v4";
3046
+ } | null | undefined;
3047
+ features?: ("pickup" | "stock" | "discovery" | "delivery" | "foodpanda" | "deliveryIntegration" | "kds" | "ods")[] | null | undefined;
3048
+ machineOtp?: string | null | undefined;
3049
+ machineOtpExpiredAt?: string | null | undefined;
3050
+ machineId?: string | null | undefined;
3051
+ channel?: string | null | undefined;
3052
+ posVersion?: string | null | undefined;
3053
+ posHeartbeat?: string | null | undefined;
3054
+ posVersionHistory?: Record<string, string> | null | undefined;
3055
+ catalogId?: string | null | undefined;
3056
+ additionalCatalogs?: string[] | null | undefined;
3057
+ inHouseDelivery?: {
3058
+ deliveryTime?: {
3059
+ time?: string[] | null | undefined;
3060
+ custom?: {
3061
+ 0: {
3062
+ enable: boolean;
3063
+ hours: {
3064
+ start: string;
3065
+ end: string;
3066
+ }[];
3067
+ };
3068
+ 1: {
3069
+ enable: boolean;
3070
+ hours: {
3071
+ start: string;
3072
+ end: string;
3073
+ }[];
3074
+ };
3075
+ 2: {
3076
+ enable: boolean;
3077
+ hours: {
3078
+ start: string;
3079
+ end: string;
3080
+ }[];
3081
+ };
3082
+ 3: {
3083
+ enable: boolean;
3084
+ hours: {
3085
+ start: string;
3086
+ end: string;
3087
+ }[];
3088
+ };
3089
+ 4: {
3090
+ enable: boolean;
3091
+ hours: {
3092
+ start: string;
3093
+ end: string;
3094
+ }[];
3095
+ };
3096
+ 5: {
3097
+ enable: boolean;
3098
+ hours: {
3099
+ start: string;
3100
+ end: string;
3101
+ }[];
3102
+ };
3103
+ 6: {
3104
+ enable: boolean;
3105
+ hours: {
3106
+ start: string;
3107
+ end: string;
3108
+ }[];
3109
+ };
3110
+ } | null | undefined;
3111
+ day: {
3112
+ max: number;
3113
+ min: number;
3114
+ };
3115
+ } | null | undefined;
3116
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
3117
+ offlinePaymentTypes?: {
3118
+ name: string;
3119
+ instruction: string;
3120
+ }[] | undefined;
3121
+ autoAccept?: boolean | undefined;
3122
+ autoAcceptPaidOnly?: boolean | undefined;
3123
+ ignoreStock?: boolean | undefined;
3124
+ catalogId: string | null;
3125
+ enable: boolean;
3126
+ areas: {
3127
+ freeAfterTotal?: {
3128
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
3129
+ amount: number;
3130
+ precision: number;
3131
+ } | null | undefined;
3132
+ minPurchase?: {
3133
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
3134
+ amount: number;
3135
+ precision: number;
3136
+ } | null | undefined;
3137
+ polygon: number[][];
3138
+ deliveryFee: {
3139
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
3140
+ amount: number;
3141
+ precision: number;
3142
+ };
3143
+ }[];
3144
+ term: string;
3145
+ } | null | undefined;
3146
+ feedmeDelivery?: {
3147
+ catalogId?: string | null | undefined;
3148
+ term?: string | null | undefined;
3149
+ autoAccept?: boolean | null | undefined;
3150
+ instruction?: string | null | undefined;
3151
+ enable: boolean;
3152
+ } | null | undefined;
3153
+ foodpandaDelivery?: {
3154
+ _id?: string | undefined;
3155
+ catalogId?: string | null | undefined;
3156
+ autoAccept?: boolean | undefined;
3157
+ lastSynchronize?: string | null | undefined;
3158
+ commissionRate?: number | null | undefined;
3159
+ showProductAddon?: boolean | null | undefined;
3160
+ reportConfig?: {
3161
+ commissionRate: number;
3162
+ discountCampaigns: {
3163
+ name: string;
3164
+ vendorBearPercentage: number;
3165
+ date: {
3166
+ start: string;
3167
+ end: string;
3168
+ };
3169
+ }[];
3170
+ } | null | undefined;
3171
+ hasSst?: boolean | null | undefined;
3172
+ ignoreDiscount?: boolean | null | undefined;
3173
+ enable: boolean;
3174
+ remoteId: string;
3175
+ autoCloseBill: boolean;
3176
+ } | undefined;
3177
+ grabfoodDelivery?: {
3178
+ _id?: string | undefined;
3179
+ catalogId?: string | null | undefined;
3180
+ lastSynchronize?: string | null | undefined;
3181
+ showProductAddon?: boolean | null | undefined;
3182
+ enable: boolean;
3183
+ commissionRate: number;
3184
+ autoCloseBill: boolean;
3185
+ merchantID: string;
3186
+ } | undefined;
3187
+ shopeefoodDelivery?: {
3188
+ _id?: string | undefined;
3189
+ catalogId?: string | null | undefined;
3190
+ lastSynchronize?: string | null | undefined;
3191
+ showProductAddon?: boolean | null | undefined;
3192
+ enable: boolean;
3193
+ autoCloseBill: boolean;
3194
+ reportConfig: {
3195
+ commissionRate: number;
3196
+ discountCampaigns: {
3197
+ name: string;
3198
+ vendorBearPercentage: number;
3199
+ date: {
3200
+ start: string;
3201
+ end: string;
3202
+ };
3203
+ }[];
3204
+ };
3205
+ storeID: string;
3206
+ } | undefined;
3207
+ pickup?: {
3208
+ catalogId?: string | null | undefined;
3209
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
3210
+ offlinePaymentTypes?: {
3211
+ name: string;
3212
+ instruction: string;
3213
+ }[] | undefined;
3214
+ autoAccept?: boolean | null | undefined;
3215
+ autoAcceptPaidOnly?: boolean | null | undefined;
3216
+ ignoreStock?: boolean | undefined;
3217
+ pickupTime?: {
3218
+ day: {
3219
+ max: number;
3220
+ min: number;
3221
+ };
3222
+ } | null | undefined;
3223
+ pickupPointConfig?: {
3224
+ restaurantEnable: boolean;
3225
+ points: {
3226
+ address: string;
3227
+ name: string;
3228
+ coordinates: number[];
3229
+ }[];
3230
+ } | null | undefined;
3231
+ } | null | undefined;
3232
+ dineIn?: {
3233
+ paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
3234
+ offlinePaymentTypes?: {
3235
+ name: string;
3236
+ instruction: string;
3237
+ }[] | undefined;
3238
+ ignoreStock?: boolean | undefined;
3239
+ staticQr?: boolean | undefined;
3240
+ disableItemRemark?: boolean | undefined;
3241
+ acceptQueue?: boolean | undefined;
3242
+ anonymousOrder: boolean;
3243
+ } | null | undefined;
3244
+ takeaway?: {
3245
+ catalogId?: string | null | undefined;
3246
+ } | null | undefined;
3247
+ couchDbPassword?: string | null | undefined;
3248
+ apiToken?: string | null | undefined;
3249
+ remoteSupports?: {
3250
+ anydeskId?: string | null | undefined;
3251
+ anydeskPassword?: string | null | undefined;
3252
+ deviceName: string;
3253
+ }[] | null | undefined;
3254
+ payoutAccount?: {
3255
+ bank?: {
3256
+ type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | undefined;
3257
+ accountNumber?: string | undefined;
3258
+ holderName?: string | undefined;
3259
+ name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
3260
+ } | undefined;
3261
+ ssm?: string | undefined;
3262
+ bankStatement?: string | undefined;
3263
+ exteriorPhoto?: string | undefined;
3264
+ keyPerson?: string | undefined;
3265
+ keyPersonPhone?: string | undefined;
3266
+ keyPersonEmail?: string | undefined;
3267
+ enable: boolean;
3268
+ methods: {
3269
+ issuer: "FEEDME" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "OTHER" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
3270
+ variant: string;
3271
+ rate: {
3272
+ amount: number;
3273
+ precision: number;
3274
+ };
3275
+ tPlus: number;
3276
+ }[];
3277
+ status: "NEW" | "PENDING" | "APPROVED";
3278
+ } | null | undefined;
3279
+ clearCount?: number | null | undefined;
3280
+ queueSetting?: {
3281
+ enableOrder: boolean;
3282
+ initialNumber: number;
3283
+ endNumber: number;
3284
+ currentNumber: number;
3285
+ autoCalledLimit: number;
3286
+ duration: number;
3287
+ } | null | undefined;
3288
+ tableMappingSetting?: {
3289
+ enable?: boolean | null | undefined;
3290
+ showSeat?: boolean | null | undefined;
3291
+ mapBorderColor?: number | null | undefined;
3292
+ mapLineColor?: number | null | undefined;
3293
+ } | null | undefined;
3294
+ _id: string;
3295
+ expiredAt: string;
3296
+ businessId: string;
3297
+ profile: {
3298
+ _id?: string | undefined;
3299
+ url?: string | undefined;
3300
+ discovery?: boolean | undefined;
3301
+ legalName?: string | undefined;
3302
+ sstRegNo?: string | undefined;
3303
+ coverPhoto?: string | undefined;
3304
+ thumbnailPhoto?: string | undefined;
3305
+ description?: string | undefined;
3306
+ photos?: string[] | undefined;
3307
+ operatingHours?: {
3308
+ 0: {
3309
+ enable: boolean;
3310
+ hours: {
3311
+ start: string;
3312
+ end: string;
3313
+ }[];
3314
+ };
3315
+ 1: {
3316
+ enable: boolean;
3317
+ hours: {
3318
+ start: string;
3319
+ end: string;
3320
+ }[];
3321
+ };
3322
+ 2: {
3323
+ enable: boolean;
3324
+ hours: {
3325
+ start: string;
3326
+ end: string;
3327
+ }[];
3328
+ };
3329
+ 3: {
3330
+ enable: boolean;
3331
+ hours: {
3332
+ start: string;
3333
+ end: string;
3334
+ }[];
3335
+ };
3336
+ 4: {
3337
+ enable: boolean;
3338
+ hours: {
3339
+ start: string;
3340
+ end: string;
3341
+ }[];
3342
+ };
3343
+ 5: {
3344
+ enable: boolean;
3345
+ hours: {
3346
+ start: string;
3347
+ end: string;
3348
+ }[];
3349
+ };
3350
+ 6: {
3351
+ enable: boolean;
3352
+ hours: {
3353
+ start: string;
3354
+ end: string;
3355
+ }[];
3356
+ };
3357
+ } | undefined;
3358
+ tags?: string[] | undefined;
3359
+ address: {
3360
+ coordinates?: number[] | undefined;
3361
+ line2?: string | undefined;
3362
+ country: string;
3363
+ state: string;
3364
+ line1: string;
3365
+ city: string;
3366
+ postcode: string;
3367
+ };
3368
+ name: string;
3369
+ email: string;
3370
+ phoneNo: string;
3371
+ regNo: string;
3372
+ };
3373
+ }[] | undefined>;
3374
+ changeRestaurant: (restaurant: FmpRestaurant | undefined) => void;
3375
+ }, "setUser" | "fetchUserAdminPermissions" | "fetchUserPermissions" | "setNamespace" | "changeCountry" | "readBusinesses" | "changeBusiness" | "readRestaurants" | "changeRestaurant">>;
3376
+ export {};