@feedmepos/mf-common 1.1.1-alpha.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/app.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { FeedMeAuth } from './auth';
1
2
  export declare const useCoreStore: () => {
2
3
  sessionUser: import("vue").Ref<{
3
4
  id: string;
@@ -5,71 +6,8 @@ export declare const useCoreStore: () => {
5
6
  photoURL?: string | null | undefined;
6
7
  displayName?: string | null | undefined;
7
8
  phoneNumber?: string | null | undefined;
8
- token: string;
9
- tokenExpiredAt: {
10
- toString: () => string;
11
- toDateString: () => string;
12
- toTimeString: () => string;
13
- toLocaleString: {
14
- (): string;
15
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
16
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
17
- };
18
- toLocaleDateString: {
19
- (): string;
20
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
21
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
22
- };
23
- toLocaleTimeString: {
24
- (): string;
25
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
26
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
27
- };
28
- valueOf: () => number;
29
- getTime: () => number;
30
- getFullYear: () => number;
31
- getUTCFullYear: () => number;
32
- getMonth: () => number;
33
- getUTCMonth: () => number;
34
- getDate: () => number;
35
- getUTCDate: () => number;
36
- getDay: () => number;
37
- getUTCDay: () => number;
38
- getHours: () => number;
39
- getUTCHours: () => number;
40
- getMinutes: () => number;
41
- getUTCMinutes: () => number;
42
- getSeconds: () => number;
43
- getUTCSeconds: () => number;
44
- getMilliseconds: () => number;
45
- getUTCMilliseconds: () => number;
46
- getTimezoneOffset: () => number;
47
- setTime: (time: number) => number;
48
- setMilliseconds: (ms: number) => number;
49
- setUTCMilliseconds: (ms: number) => number;
50
- setSeconds: (sec: number, ms?: number | undefined) => number;
51
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
52
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
53
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
54
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
55
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
56
- setDate: (date: number) => number;
57
- setUTCDate: (date: number) => number;
58
- setMonth: (month: number, date?: number | undefined) => number;
59
- setUTCMonth: (month: number, date?: number | undefined) => number;
60
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
61
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
62
- toUTCString: () => string;
63
- toISOString: () => string;
64
- toJSON: (key?: any) => string;
65
- [Symbol.toPrimitive]: {
66
- (hint: "default"): string;
67
- (hint: "string"): string;
68
- (hint: "number"): number;
69
- (hint: string): string | number;
70
- };
71
- };
72
- setToken: (token: string, tokenExpiredAt: Date) => void;
9
+ readonly token: string | null;
10
+ getCustomToken: () => Promise<string>;
73
11
  setAdminPermisssions: (permissions: {
74
12
  fields?: string[] | undefined;
75
13
  conditions?: any;
@@ -79,7 +17,7 @@ export declare const useCoreStore: () => {
79
17
  actions: string | string[];
80
18
  subject: string | string[];
81
19
  }[]) => void;
82
- setPermisssions: (permissions: {
20
+ setPermissions: (permissions: {
83
21
  fields?: string[] | undefined;
84
22
  conditions?: any;
85
23
  inverted?: boolean | undefined;
@@ -202,11 +140,11 @@ export declare const useCoreStore: () => {
202
140
  address: {
203
141
  coordinates?: number[] | undefined;
204
142
  line2?: string | undefined;
205
- country: string;
206
143
  state: string;
207
144
  line1: string;
208
145
  city: string;
209
146
  postcode: string;
147
+ country: string;
210
148
  };
211
149
  name: string;
212
150
  email: string;
@@ -328,11 +266,11 @@ export declare const useCoreStore: () => {
328
266
  address: {
329
267
  coordinates?: number[] | undefined;
330
268
  line2?: string | undefined;
331
- country: string;
332
269
  state: string;
333
270
  line1: string;
334
271
  city: string;
335
272
  postcode: string;
273
+ country: string;
336
274
  };
337
275
  name: string;
338
276
  email: string;
@@ -411,8 +349,8 @@ export declare const useCoreStore: () => {
411
349
  };
412
350
  } | null | undefined;
413
351
  day: {
414
- max: number;
415
352
  min: number;
353
+ max: number;
416
354
  };
417
355
  } | null | undefined;
418
356
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -518,8 +456,8 @@ export declare const useCoreStore: () => {
518
456
  ignoreStock?: boolean | undefined;
519
457
  pickupTime?: {
520
458
  day: {
521
- max: number;
522
459
  min: number;
460
+ max: number;
523
461
  };
524
462
  } | null | undefined;
525
463
  pickupPointConfig?: {
@@ -661,11 +599,11 @@ export declare const useCoreStore: () => {
661
599
  address: {
662
600
  coordinates?: number[] | undefined;
663
601
  line2?: string | undefined;
664
- country: string;
665
602
  state: string;
666
603
  line1: string;
667
604
  city: string;
668
605
  postcode: string;
606
+ country: string;
669
607
  };
670
608
  name: string;
671
609
  email: string;
@@ -777,11 +715,11 @@ export declare const useCoreStore: () => {
777
715
  address: {
778
716
  coordinates?: number[] | undefined;
779
717
  line2?: string | undefined;
780
- country: string;
781
718
  state: string;
782
719
  line1: string;
783
720
  city: string;
784
721
  postcode: string;
722
+ country: string;
785
723
  };
786
724
  name: string;
787
725
  email: string;
@@ -860,8 +798,8 @@ export declare const useCoreStore: () => {
860
798
  };
861
799
  } | null | undefined;
862
800
  day: {
863
- max: number;
864
801
  min: number;
802
+ max: number;
865
803
  };
866
804
  } | null | undefined;
867
805
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -967,8 +905,8 @@ export declare const useCoreStore: () => {
967
905
  ignoreStock?: boolean | undefined;
968
906
  pickupTime?: {
969
907
  day: {
970
- max: number;
971
908
  min: number;
909
+ max: number;
972
910
  };
973
911
  } | null | undefined;
974
912
  pickupPointConfig?: {
@@ -1110,11 +1048,11 @@ export declare const useCoreStore: () => {
1110
1048
  address: {
1111
1049
  coordinates?: number[] | undefined;
1112
1050
  line2?: string | undefined;
1113
- country: string;
1114
1051
  state: string;
1115
1052
  line1: string;
1116
1053
  city: string;
1117
1054
  postcode: string;
1055
+ country: string;
1118
1056
  };
1119
1057
  name: string;
1120
1058
  email: string;
@@ -1122,6 +1060,20 @@ export declare const useCoreStore: () => {
1122
1060
  regNo: string;
1123
1061
  };
1124
1062
  } | undefined>;
1063
+ apps: import("vue").Ref<{
1064
+ icon: string;
1065
+ name: string;
1066
+ description: string;
1067
+ path: string;
1068
+ color: string;
1069
+ }[]>;
1070
+ selectedApp: import("vue").Ref<{
1071
+ icon: string;
1072
+ name: string;
1073
+ description: string;
1074
+ path: string;
1075
+ color: string;
1076
+ } | undefined>;
1125
1077
  $state: {
1126
1078
  sessionUser: {
1127
1079
  id: string;
@@ -1129,71 +1081,8 @@ export declare const useCoreStore: () => {
1129
1081
  photoURL?: string | null | undefined;
1130
1082
  displayName?: string | null | undefined;
1131
1083
  phoneNumber?: string | null | undefined;
1132
- token: string;
1133
- tokenExpiredAt: {
1134
- toString: () => string;
1135
- toDateString: () => string;
1136
- toTimeString: () => string;
1137
- toLocaleString: {
1138
- (): string;
1139
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1140
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1141
- };
1142
- toLocaleDateString: {
1143
- (): string;
1144
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1145
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1146
- };
1147
- toLocaleTimeString: {
1148
- (): string;
1149
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
1150
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
1151
- };
1152
- valueOf: () => number;
1153
- getTime: () => number;
1154
- getFullYear: () => number;
1155
- getUTCFullYear: () => number;
1156
- getMonth: () => number;
1157
- getUTCMonth: () => number;
1158
- getDate: () => number;
1159
- getUTCDate: () => number;
1160
- getDay: () => number;
1161
- getUTCDay: () => number;
1162
- getHours: () => number;
1163
- getUTCHours: () => number;
1164
- getMinutes: () => number;
1165
- getUTCMinutes: () => number;
1166
- getSeconds: () => number;
1167
- getUTCSeconds: () => number;
1168
- getMilliseconds: () => number;
1169
- getUTCMilliseconds: () => number;
1170
- getTimezoneOffset: () => number;
1171
- setTime: (time: number) => number;
1172
- setMilliseconds: (ms: number) => number;
1173
- setUTCMilliseconds: (ms: number) => number;
1174
- setSeconds: (sec: number, ms?: number | undefined) => number;
1175
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
1176
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1177
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
1178
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1179
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
1180
- setDate: (date: number) => number;
1181
- setUTCDate: (date: number) => number;
1182
- setMonth: (month: number, date?: number | undefined) => number;
1183
- setUTCMonth: (month: number, date?: number | undefined) => number;
1184
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1185
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
1186
- toUTCString: () => string;
1187
- toISOString: () => string;
1188
- toJSON: (key?: any) => string;
1189
- [Symbol.toPrimitive]: {
1190
- (hint: "default"): string;
1191
- (hint: "string"): string;
1192
- (hint: "number"): number;
1193
- (hint: string): string | number;
1194
- };
1195
- };
1196
- setToken: (token: string, tokenExpiredAt: Date) => void;
1084
+ readonly token: string | null;
1085
+ getCustomToken: () => Promise<string>;
1197
1086
  setAdminPermisssions: (permissions: {
1198
1087
  fields?: string[] | undefined;
1199
1088
  conditions?: any;
@@ -1203,7 +1092,7 @@ export declare const useCoreStore: () => {
1203
1092
  actions: string | string[];
1204
1093
  subject: string | string[];
1205
1094
  }[]) => void;
1206
- setPermisssions: (permissions: {
1095
+ setPermissions: (permissions: {
1207
1096
  fields?: string[] | undefined;
1208
1097
  conditions?: any;
1209
1098
  inverted?: boolean | undefined;
@@ -1326,11 +1215,11 @@ export declare const useCoreStore: () => {
1326
1215
  address: {
1327
1216
  coordinates?: number[] | undefined;
1328
1217
  line2?: string | undefined;
1329
- country: string;
1330
1218
  state: string;
1331
1219
  line1: string;
1332
1220
  city: string;
1333
1221
  postcode: string;
1222
+ country: string;
1334
1223
  };
1335
1224
  name: string;
1336
1225
  email: string;
@@ -1452,11 +1341,11 @@ export declare const useCoreStore: () => {
1452
1341
  address: {
1453
1342
  coordinates?: number[] | undefined;
1454
1343
  line2?: string | undefined;
1455
- country: string;
1456
1344
  state: string;
1457
1345
  line1: string;
1458
1346
  city: string;
1459
1347
  postcode: string;
1348
+ country: string;
1460
1349
  };
1461
1350
  name: string;
1462
1351
  email: string;
@@ -1535,8 +1424,8 @@ export declare const useCoreStore: () => {
1535
1424
  };
1536
1425
  } | null | undefined;
1537
1426
  day: {
1538
- max: number;
1539
1427
  min: number;
1428
+ max: number;
1540
1429
  };
1541
1430
  } | null | undefined;
1542
1431
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -1642,8 +1531,8 @@ export declare const useCoreStore: () => {
1642
1531
  ignoreStock?: boolean | undefined;
1643
1532
  pickupTime?: {
1644
1533
  day: {
1645
- max: number;
1646
1534
  min: number;
1535
+ max: number;
1647
1536
  };
1648
1537
  } | null | undefined;
1649
1538
  pickupPointConfig?: {
@@ -1785,11 +1674,11 @@ export declare const useCoreStore: () => {
1785
1674
  address: {
1786
1675
  coordinates?: number[] | undefined;
1787
1676
  line2?: string | undefined;
1788
- country: string;
1789
1677
  state: string;
1790
1678
  line1: string;
1791
1679
  city: string;
1792
1680
  postcode: string;
1681
+ country: string;
1793
1682
  };
1794
1683
  name: string;
1795
1684
  email: string;
@@ -1901,11 +1790,11 @@ export declare const useCoreStore: () => {
1901
1790
  address: {
1902
1791
  coordinates?: number[] | undefined;
1903
1792
  line2?: string | undefined;
1904
- country: string;
1905
1793
  state: string;
1906
1794
  line1: string;
1907
1795
  city: string;
1908
1796
  postcode: string;
1797
+ country: string;
1909
1798
  };
1910
1799
  name: string;
1911
1800
  email: string;
@@ -1984,8 +1873,8 @@ export declare const useCoreStore: () => {
1984
1873
  };
1985
1874
  } | null | undefined;
1986
1875
  day: {
1987
- max: number;
1988
1876
  min: number;
1877
+ max: number;
1989
1878
  };
1990
1879
  } | null | undefined;
1991
1880
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -2091,8 +1980,8 @@ export declare const useCoreStore: () => {
2091
1980
  ignoreStock?: boolean | undefined;
2092
1981
  pickupTime?: {
2093
1982
  day: {
2094
- max: number;
2095
1983
  min: number;
1984
+ max: number;
2096
1985
  };
2097
1986
  } | null | undefined;
2098
1987
  pickupPointConfig?: {
@@ -2234,11 +2123,11 @@ export declare const useCoreStore: () => {
2234
2123
  address: {
2235
2124
  coordinates?: number[] | undefined;
2236
2125
  line2?: string | undefined;
2237
- country: string;
2238
2126
  state: string;
2239
2127
  line1: string;
2240
2128
  city: string;
2241
2129
  postcode: string;
2130
+ country: string;
2242
2131
  };
2243
2132
  name: string;
2244
2133
  email: string;
@@ -2246,78 +2135,32 @@ export declare const useCoreStore: () => {
2246
2135
  regNo: string;
2247
2136
  };
2248
2137
  } | undefined;
2138
+ apps: {
2139
+ icon: string;
2140
+ name: string;
2141
+ description: string;
2142
+ path: string;
2143
+ color: string;
2144
+ }[];
2145
+ selectedApp: {
2146
+ icon: string;
2147
+ name: string;
2148
+ description: string;
2149
+ path: string;
2150
+ color: string;
2151
+ } | undefined;
2249
2152
  } & import("pinia").PiniaCustomStateProperties<import("pinia")._UnwrapAll<Pick<{
2153
+ signIn: () => Promise<void>;
2154
+ signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
2155
+ signOut: () => Promise<void>;
2250
2156
  sessionUser: import("vue").Ref<{
2251
2157
  id: string;
2252
2158
  email?: string | null | undefined;
2253
2159
  photoURL?: string | null | undefined;
2254
2160
  displayName?: string | null | undefined;
2255
2161
  phoneNumber?: string | null | undefined;
2256
- token: string;
2257
- tokenExpiredAt: {
2258
- toString: () => string;
2259
- toDateString: () => string;
2260
- toTimeString: () => string;
2261
- toLocaleString: {
2262
- (): string;
2263
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2264
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2265
- };
2266
- toLocaleDateString: {
2267
- (): string;
2268
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2269
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2270
- };
2271
- toLocaleTimeString: {
2272
- (): string;
2273
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
2274
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
2275
- };
2276
- valueOf: () => number;
2277
- getTime: () => number;
2278
- getFullYear: () => number;
2279
- getUTCFullYear: () => number;
2280
- getMonth: () => number;
2281
- getUTCMonth: () => number;
2282
- getDate: () => number;
2283
- getUTCDate: () => number;
2284
- getDay: () => number;
2285
- getUTCDay: () => number;
2286
- getHours: () => number;
2287
- getUTCHours: () => number;
2288
- getMinutes: () => number;
2289
- getUTCMinutes: () => number;
2290
- getSeconds: () => number;
2291
- getUTCSeconds: () => number;
2292
- getMilliseconds: () => number;
2293
- getUTCMilliseconds: () => number;
2294
- getTimezoneOffset: () => number;
2295
- setTime: (time: number) => number;
2296
- setMilliseconds: (ms: number) => number;
2297
- setUTCMilliseconds: (ms: number) => number;
2298
- setSeconds: (sec: number, ms?: number | undefined) => number;
2299
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
2300
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2301
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
2302
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2303
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
2304
- setDate: (date: number) => number;
2305
- setUTCDate: (date: number) => number;
2306
- setMonth: (month: number, date?: number | undefined) => number;
2307
- setUTCMonth: (month: number, date?: number | undefined) => number;
2308
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2309
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
2310
- toUTCString: () => string;
2311
- toISOString: () => string;
2312
- toJSON: (key?: any) => string;
2313
- [Symbol.toPrimitive]: {
2314
- (hint: "default"): string;
2315
- (hint: "string"): string;
2316
- (hint: "number"): number;
2317
- (hint: string): string | number;
2318
- };
2319
- };
2320
- setToken: (token: string, tokenExpiredAt: Date) => void;
2162
+ readonly token: string | null;
2163
+ getCustomToken: () => Promise<string>;
2321
2164
  setAdminPermisssions: (permissions: {
2322
2165
  fields?: string[] | undefined;
2323
2166
  conditions?: any;
@@ -2327,7 +2170,7 @@ export declare const useCoreStore: () => {
2327
2170
  actions: string | string[];
2328
2171
  subject: string | string[];
2329
2172
  }[]) => void;
2330
- setPermisssions: (permissions: {
2173
+ setPermissions: (permissions: {
2331
2174
  fields?: string[] | undefined;
2332
2175
  conditions?: any;
2333
2176
  inverted?: boolean | undefined;
@@ -2346,7 +2189,7 @@ export declare const useCoreStore: () => {
2346
2189
  subject: string | string[];
2347
2190
  }[];
2348
2191
  } | null>;
2349
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
2192
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
2350
2193
  fetchUserAdminPermissions: () => Promise<void>;
2351
2194
  fetchUserPermissions: () => Promise<void>;
2352
2195
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -2455,11 +2298,11 @@ export declare const useCoreStore: () => {
2455
2298
  address: {
2456
2299
  coordinates?: number[] | undefined;
2457
2300
  line2?: string | undefined;
2458
- country: string;
2459
2301
  state: string;
2460
2302
  line1: string;
2461
2303
  city: string;
2462
2304
  postcode: string;
2305
+ country: string;
2463
2306
  };
2464
2307
  name: string;
2465
2308
  email: string;
@@ -2473,9 +2316,9 @@ export declare const useCoreStore: () => {
2473
2316
  warehouseQuota: number;
2474
2317
  menuVersion: "v2" | "v3" | "v4";
2475
2318
  }[]>;
2476
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
2477
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
2478
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
2319
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
2320
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
2321
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
2479
2322
  restaurants: import("vue").Ref<{
2480
2323
  managable: boolean;
2481
2324
  pf_business?: {
@@ -2580,11 +2423,11 @@ export declare const useCoreStore: () => {
2580
2423
  address: {
2581
2424
  coordinates?: number[] | undefined;
2582
2425
  line2?: string | undefined;
2583
- country: string;
2584
2426
  state: string;
2585
2427
  line1: string;
2586
2428
  city: string;
2587
2429
  postcode: string;
2430
+ country: string;
2588
2431
  };
2589
2432
  name: string;
2590
2433
  email: string;
@@ -2663,8 +2506,8 @@ export declare const useCoreStore: () => {
2663
2506
  };
2664
2507
  } | null | undefined;
2665
2508
  day: {
2666
- max: number;
2667
2509
  min: number;
2510
+ max: number;
2668
2511
  };
2669
2512
  } | null | undefined;
2670
2513
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -2770,8 +2613,8 @@ export declare const useCoreStore: () => {
2770
2613
  ignoreStock?: boolean | undefined;
2771
2614
  pickupTime?: {
2772
2615
  day: {
2773
- max: number;
2774
2616
  min: number;
2617
+ max: number;
2775
2618
  };
2776
2619
  } | null | undefined;
2777
2620
  pickupPointConfig?: {
@@ -2913,11 +2756,11 @@ export declare const useCoreStore: () => {
2913
2756
  address: {
2914
2757
  coordinates?: number[] | undefined;
2915
2758
  line2?: string | undefined;
2916
- country: string;
2917
2759
  state: string;
2918
2760
  line1: string;
2919
2761
  city: string;
2920
2762
  postcode: string;
2763
+ country: string;
2921
2764
  };
2922
2765
  name: string;
2923
2766
  email: string;
@@ -2925,7 +2768,7 @@ export declare const useCoreStore: () => {
2925
2768
  regNo: string;
2926
2769
  };
2927
2770
  }[]>;
2928
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
2771
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
2929
2772
  readRestaurants: () => Promise<{
2930
2773
  managable: boolean;
2931
2774
  pf_business?: {
@@ -3030,11 +2873,11 @@ export declare const useCoreStore: () => {
3030
2873
  address: {
3031
2874
  coordinates?: number[] | undefined;
3032
2875
  line2?: string | undefined;
3033
- country: string;
3034
2876
  state: string;
3035
2877
  line1: string;
3036
2878
  city: string;
3037
2879
  postcode: string;
2880
+ country: string;
3038
2881
  };
3039
2882
  name: string;
3040
2883
  email: string;
@@ -3113,8 +2956,8 @@ export declare const useCoreStore: () => {
3113
2956
  };
3114
2957
  } | null | undefined;
3115
2958
  day: {
3116
- max: number;
3117
2959
  min: number;
2960
+ max: number;
3118
2961
  };
3119
2962
  } | null | undefined;
3120
2963
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -3220,8 +3063,8 @@ export declare const useCoreStore: () => {
3220
3063
  ignoreStock?: boolean | undefined;
3221
3064
  pickupTime?: {
3222
3065
  day: {
3223
- max: number;
3224
3066
  min: number;
3067
+ max: number;
3225
3068
  };
3226
3069
  } | null | undefined;
3227
3070
  pickupPointConfig?: {
@@ -3363,11 +3206,11 @@ export declare const useCoreStore: () => {
3363
3206
  address: {
3364
3207
  coordinates?: number[] | undefined;
3365
3208
  line2?: string | undefined;
3366
- country: string;
3367
3209
  state: string;
3368
3210
  line1: string;
3369
3211
  city: string;
3370
3212
  postcode: string;
3213
+ country: string;
3371
3214
  };
3372
3215
  name: string;
3373
3216
  email: string;
@@ -3375,8 +3218,18 @@ export declare const useCoreStore: () => {
3375
3218
  regNo: string;
3376
3219
  };
3377
3220
  }[] | undefined>;
3378
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
3379
- }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>>;
3221
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
3222
+ apps: import("vue").Ref<{
3223
+ icon: string;
3224
+ name: string;
3225
+ description: string;
3226
+ path: string;
3227
+ color: string;
3228
+ }[]>;
3229
+ selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
3230
+ registerApp: (app: import("./store").PortalApp) => void;
3231
+ selectApp: (app: import("./store").PortalApp) => void;
3232
+ }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "apps" | "selectedApp">>>;
3380
3233
  $patch(partialState: import("pinia")._DeepPartial<{
3381
3234
  sessionUser: {
3382
3235
  id: string;
@@ -3384,71 +3237,8 @@ export declare const useCoreStore: () => {
3384
3237
  photoURL?: string | null | undefined;
3385
3238
  displayName?: string | null | undefined;
3386
3239
  phoneNumber?: string | null | undefined;
3387
- token: string;
3388
- tokenExpiredAt: {
3389
- toString: () => string;
3390
- toDateString: () => string;
3391
- toTimeString: () => string;
3392
- toLocaleString: {
3393
- (): string;
3394
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
3395
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
3396
- };
3397
- toLocaleDateString: {
3398
- (): string;
3399
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
3400
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
3401
- };
3402
- toLocaleTimeString: {
3403
- (): string;
3404
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
3405
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
3406
- };
3407
- valueOf: () => number;
3408
- getTime: () => number;
3409
- getFullYear: () => number;
3410
- getUTCFullYear: () => number;
3411
- getMonth: () => number;
3412
- getUTCMonth: () => number;
3413
- getDate: () => number;
3414
- getUTCDate: () => number;
3415
- getDay: () => number;
3416
- getUTCDay: () => number;
3417
- getHours: () => number;
3418
- getUTCHours: () => number;
3419
- getMinutes: () => number;
3420
- getUTCMinutes: () => number;
3421
- getSeconds: () => number;
3422
- getUTCSeconds: () => number;
3423
- getMilliseconds: () => number;
3424
- getUTCMilliseconds: () => number;
3425
- getTimezoneOffset: () => number;
3426
- setTime: (time: number) => number;
3427
- setMilliseconds: (ms: number) => number;
3428
- setUTCMilliseconds: (ms: number) => number;
3429
- setSeconds: (sec: number, ms?: number | undefined) => number;
3430
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
3431
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
3432
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
3433
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
3434
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
3435
- setDate: (date: number) => number;
3436
- setUTCDate: (date: number) => number;
3437
- setMonth: (month: number, date?: number | undefined) => number;
3438
- setUTCMonth: (month: number, date?: number | undefined) => number;
3439
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
3440
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
3441
- toUTCString: () => string;
3442
- toISOString: () => string;
3443
- toJSON: (key?: any) => string;
3444
- [Symbol.toPrimitive]: {
3445
- (hint: "default"): string;
3446
- (hint: "string"): string;
3447
- (hint: "number"): number;
3448
- (hint: string): string | number;
3449
- };
3450
- };
3451
- setToken: (token: string, tokenExpiredAt: Date) => void;
3240
+ readonly token: string | null;
3241
+ getCustomToken: () => Promise<string>;
3452
3242
  setAdminPermisssions: (permissions: {
3453
3243
  fields?: string[] | undefined;
3454
3244
  conditions?: any;
@@ -3458,7 +3248,7 @@ export declare const useCoreStore: () => {
3458
3248
  actions: string | string[];
3459
3249
  subject: string | string[];
3460
3250
  }[]) => void;
3461
- setPermisssions: (permissions: {
3251
+ setPermissions: (permissions: {
3462
3252
  fields?: string[] | undefined;
3463
3253
  conditions?: any;
3464
3254
  inverted?: boolean | undefined;
@@ -3581,11 +3371,11 @@ export declare const useCoreStore: () => {
3581
3371
  address: {
3582
3372
  coordinates?: number[] | undefined;
3583
3373
  line2?: string | undefined;
3584
- country: string;
3585
3374
  state: string;
3586
3375
  line1: string;
3587
3376
  city: string;
3588
3377
  postcode: string;
3378
+ country: string;
3589
3379
  };
3590
3380
  name: string;
3591
3381
  email: string;
@@ -3707,11 +3497,11 @@ export declare const useCoreStore: () => {
3707
3497
  address: {
3708
3498
  coordinates?: number[] | undefined;
3709
3499
  line2?: string | undefined;
3710
- country: string;
3711
3500
  state: string;
3712
3501
  line1: string;
3713
3502
  city: string;
3714
3503
  postcode: string;
3504
+ country: string;
3715
3505
  };
3716
3506
  name: string;
3717
3507
  email: string;
@@ -3790,8 +3580,8 @@ export declare const useCoreStore: () => {
3790
3580
  };
3791
3581
  } | null | undefined;
3792
3582
  day: {
3793
- max: number;
3794
3583
  min: number;
3584
+ max: number;
3795
3585
  };
3796
3586
  } | null | undefined;
3797
3587
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -3897,8 +3687,8 @@ export declare const useCoreStore: () => {
3897
3687
  ignoreStock?: boolean | undefined;
3898
3688
  pickupTime?: {
3899
3689
  day: {
3900
- max: number;
3901
3690
  min: number;
3691
+ max: number;
3902
3692
  };
3903
3693
  } | null | undefined;
3904
3694
  pickupPointConfig?: {
@@ -4040,11 +3830,11 @@ export declare const useCoreStore: () => {
4040
3830
  address: {
4041
3831
  coordinates?: number[] | undefined;
4042
3832
  line2?: string | undefined;
4043
- country: string;
4044
3833
  state: string;
4045
3834
  line1: string;
4046
3835
  city: string;
4047
3836
  postcode: string;
3837
+ country: string;
4048
3838
  };
4049
3839
  name: string;
4050
3840
  email: string;
@@ -4156,11 +3946,11 @@ export declare const useCoreStore: () => {
4156
3946
  address: {
4157
3947
  coordinates?: number[] | undefined;
4158
3948
  line2?: string | undefined;
4159
- country: string;
4160
3949
  state: string;
4161
3950
  line1: string;
4162
3951
  city: string;
4163
3952
  postcode: string;
3953
+ country: string;
4164
3954
  };
4165
3955
  name: string;
4166
3956
  email: string;
@@ -4239,8 +4029,8 @@ export declare const useCoreStore: () => {
4239
4029
  };
4240
4030
  } | null | undefined;
4241
4031
  day: {
4242
- max: number;
4243
4032
  min: number;
4033
+ max: number;
4244
4034
  };
4245
4035
  } | null | undefined;
4246
4036
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -4346,8 +4136,8 @@ export declare const useCoreStore: () => {
4346
4136
  ignoreStock?: boolean | undefined;
4347
4137
  pickupTime?: {
4348
4138
  day: {
4349
- max: number;
4350
4139
  min: number;
4140
+ max: number;
4351
4141
  };
4352
4142
  } | null | undefined;
4353
4143
  pickupPointConfig?: {
@@ -4489,11 +4279,11 @@ export declare const useCoreStore: () => {
4489
4279
  address: {
4490
4280
  coordinates?: number[] | undefined;
4491
4281
  line2?: string | undefined;
4492
- country: string;
4493
4282
  state: string;
4494
4283
  line1: string;
4495
4284
  city: string;
4496
4285
  postcode: string;
4286
+ country: string;
4497
4287
  };
4498
4288
  name: string;
4499
4289
  email: string;
@@ -4501,6 +4291,20 @@ export declare const useCoreStore: () => {
4501
4291
  regNo: string;
4502
4292
  };
4503
4293
  } | undefined;
4294
+ apps: {
4295
+ icon: string;
4296
+ name: string;
4297
+ description: string;
4298
+ path: string;
4299
+ color: string;
4300
+ }[];
4301
+ selectedApp: {
4302
+ icon: string;
4303
+ name: string;
4304
+ description: string;
4305
+ path: string;
4306
+ color: string;
4307
+ } | undefined;
4504
4308
  }>): void;
4505
4309
  $patch<F extends (state: {
4506
4310
  sessionUser: {
@@ -4509,71 +4313,8 @@ export declare const useCoreStore: () => {
4509
4313
  photoURL?: string | null | undefined;
4510
4314
  displayName?: string | null | undefined;
4511
4315
  phoneNumber?: string | null | undefined;
4512
- token: string;
4513
- tokenExpiredAt: {
4514
- toString: () => string;
4515
- toDateString: () => string;
4516
- toTimeString: () => string;
4517
- toLocaleString: {
4518
- (): string;
4519
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
4520
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
4521
- };
4522
- toLocaleDateString: {
4523
- (): string;
4524
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
4525
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
4526
- };
4527
- toLocaleTimeString: {
4528
- (): string;
4529
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
4530
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
4531
- };
4532
- valueOf: () => number;
4533
- getTime: () => number;
4534
- getFullYear: () => number;
4535
- getUTCFullYear: () => number;
4536
- getMonth: () => number;
4537
- getUTCMonth: () => number;
4538
- getDate: () => number;
4539
- getUTCDate: () => number;
4540
- getDay: () => number;
4541
- getUTCDay: () => number;
4542
- getHours: () => number;
4543
- getUTCHours: () => number;
4544
- getMinutes: () => number;
4545
- getUTCMinutes: () => number;
4546
- getSeconds: () => number;
4547
- getUTCSeconds: () => number;
4548
- getMilliseconds: () => number;
4549
- getUTCMilliseconds: () => number;
4550
- getTimezoneOffset: () => number;
4551
- setTime: (time: number) => number;
4552
- setMilliseconds: (ms: number) => number;
4553
- setUTCMilliseconds: (ms: number) => number;
4554
- setSeconds: (sec: number, ms?: number | undefined) => number;
4555
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
4556
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
4557
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
4558
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
4559
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
4560
- setDate: (date: number) => number;
4561
- setUTCDate: (date: number) => number;
4562
- setMonth: (month: number, date?: number | undefined) => number;
4563
- setUTCMonth: (month: number, date?: number | undefined) => number;
4564
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
4565
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
4566
- toUTCString: () => string;
4567
- toISOString: () => string;
4568
- toJSON: (key?: any) => string;
4569
- [Symbol.toPrimitive]: {
4570
- (hint: "default"): string;
4571
- (hint: "string"): string;
4572
- (hint: "number"): number;
4573
- (hint: string): string | number;
4574
- };
4575
- };
4576
- setToken: (token: string, tokenExpiredAt: Date) => void;
4316
+ readonly token: string | null;
4317
+ getCustomToken: () => Promise<string>;
4577
4318
  setAdminPermisssions: (permissions: {
4578
4319
  fields?: string[] | undefined;
4579
4320
  conditions?: any;
@@ -4583,7 +4324,7 @@ export declare const useCoreStore: () => {
4583
4324
  actions: string | string[];
4584
4325
  subject: string | string[];
4585
4326
  }[]) => void;
4586
- setPermisssions: (permissions: {
4327
+ setPermissions: (permissions: {
4587
4328
  fields?: string[] | undefined;
4588
4329
  conditions?: any;
4589
4330
  inverted?: boolean | undefined;
@@ -4706,11 +4447,11 @@ export declare const useCoreStore: () => {
4706
4447
  address: {
4707
4448
  coordinates?: number[] | undefined;
4708
4449
  line2?: string | undefined;
4709
- country: string;
4710
4450
  state: string;
4711
4451
  line1: string;
4712
4452
  city: string;
4713
4453
  postcode: string;
4454
+ country: string;
4714
4455
  };
4715
4456
  name: string;
4716
4457
  email: string;
@@ -4832,11 +4573,11 @@ export declare const useCoreStore: () => {
4832
4573
  address: {
4833
4574
  coordinates?: number[] | undefined;
4834
4575
  line2?: string | undefined;
4835
- country: string;
4836
4576
  state: string;
4837
4577
  line1: string;
4838
4578
  city: string;
4839
4579
  postcode: string;
4580
+ country: string;
4840
4581
  };
4841
4582
  name: string;
4842
4583
  email: string;
@@ -4915,8 +4656,8 @@ export declare const useCoreStore: () => {
4915
4656
  };
4916
4657
  } | null | undefined;
4917
4658
  day: {
4918
- max: number;
4919
4659
  min: number;
4660
+ max: number;
4920
4661
  };
4921
4662
  } | null | undefined;
4922
4663
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -5022,8 +4763,8 @@ export declare const useCoreStore: () => {
5022
4763
  ignoreStock?: boolean | undefined;
5023
4764
  pickupTime?: {
5024
4765
  day: {
5025
- max: number;
5026
4766
  min: number;
4767
+ max: number;
5027
4768
  };
5028
4769
  } | null | undefined;
5029
4770
  pickupPointConfig?: {
@@ -5165,11 +4906,11 @@ export declare const useCoreStore: () => {
5165
4906
  address: {
5166
4907
  coordinates?: number[] | undefined;
5167
4908
  line2?: string | undefined;
5168
- country: string;
5169
4909
  state: string;
5170
4910
  line1: string;
5171
4911
  city: string;
5172
4912
  postcode: string;
4913
+ country: string;
5173
4914
  };
5174
4915
  name: string;
5175
4916
  email: string;
@@ -5281,11 +5022,11 @@ export declare const useCoreStore: () => {
5281
5022
  address: {
5282
5023
  coordinates?: number[] | undefined;
5283
5024
  line2?: string | undefined;
5284
- country: string;
5285
5025
  state: string;
5286
5026
  line1: string;
5287
5027
  city: string;
5288
5028
  postcode: string;
5029
+ country: string;
5289
5030
  };
5290
5031
  name: string;
5291
5032
  email: string;
@@ -5364,8 +5105,8 @@ export declare const useCoreStore: () => {
5364
5105
  };
5365
5106
  } | null | undefined;
5366
5107
  day: {
5367
- max: number;
5368
5108
  min: number;
5109
+ max: number;
5369
5110
  };
5370
5111
  } | null | undefined;
5371
5112
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -5471,8 +5212,8 @@ export declare const useCoreStore: () => {
5471
5212
  ignoreStock?: boolean | undefined;
5472
5213
  pickupTime?: {
5473
5214
  day: {
5474
- max: number;
5475
5215
  min: number;
5216
+ max: number;
5476
5217
  };
5477
5218
  } | null | undefined;
5478
5219
  pickupPointConfig?: {
@@ -5614,11 +5355,11 @@ export declare const useCoreStore: () => {
5614
5355
  address: {
5615
5356
  coordinates?: number[] | undefined;
5616
5357
  line2?: string | undefined;
5617
- country: string;
5618
5358
  state: string;
5619
5359
  line1: string;
5620
5360
  city: string;
5621
5361
  postcode: string;
5362
+ country: string;
5622
5363
  };
5623
5364
  name: string;
5624
5365
  email: string;
@@ -5626,80 +5367,34 @@ export declare const useCoreStore: () => {
5626
5367
  regNo: string;
5627
5368
  };
5628
5369
  } | undefined;
5370
+ apps: {
5371
+ icon: string;
5372
+ name: string;
5373
+ description: string;
5374
+ path: string;
5375
+ color: string;
5376
+ }[];
5377
+ selectedApp: {
5378
+ icon: string;
5379
+ name: string;
5380
+ description: string;
5381
+ path: string;
5382
+ color: string;
5383
+ } | undefined;
5629
5384
  }) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
5630
5385
  $reset(): void;
5631
5386
  $subscribe(callback: import("pinia").SubscriptionCallback<import("pinia")._UnwrapAll<Pick<{
5387
+ signIn: () => Promise<void>;
5388
+ signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
5389
+ signOut: () => Promise<void>;
5632
5390
  sessionUser: import("vue").Ref<{
5633
5391
  id: string;
5634
5392
  email?: string | null | undefined;
5635
5393
  photoURL?: string | null | undefined;
5636
5394
  displayName?: string | null | undefined;
5637
5395
  phoneNumber?: string | null | undefined;
5638
- token: string;
5639
- tokenExpiredAt: {
5640
- toString: () => string;
5641
- toDateString: () => string;
5642
- toTimeString: () => string;
5643
- toLocaleString: {
5644
- (): string;
5645
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
5646
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
5647
- };
5648
- toLocaleDateString: {
5649
- (): string;
5650
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
5651
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
5652
- };
5653
- toLocaleTimeString: {
5654
- (): string;
5655
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
5656
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
5657
- };
5658
- valueOf: () => number;
5659
- getTime: () => number;
5660
- getFullYear: () => number;
5661
- getUTCFullYear: () => number;
5662
- getMonth: () => number;
5663
- getUTCMonth: () => number;
5664
- getDate: () => number;
5665
- getUTCDate: () => number;
5666
- getDay: () => number;
5667
- getUTCDay: () => number;
5668
- getHours: () => number;
5669
- getUTCHours: () => number;
5670
- getMinutes: () => number;
5671
- getUTCMinutes: () => number;
5672
- getSeconds: () => number;
5673
- getUTCSeconds: () => number;
5674
- getMilliseconds: () => number;
5675
- getUTCMilliseconds: () => number;
5676
- getTimezoneOffset: () => number;
5677
- setTime: (time: number) => number;
5678
- setMilliseconds: (ms: number) => number;
5679
- setUTCMilliseconds: (ms: number) => number;
5680
- setSeconds: (sec: number, ms?: number | undefined) => number;
5681
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
5682
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
5683
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
5684
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
5685
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
5686
- setDate: (date: number) => number;
5687
- setUTCDate: (date: number) => number;
5688
- setMonth: (month: number, date?: number | undefined) => number;
5689
- setUTCMonth: (month: number, date?: number | undefined) => number;
5690
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
5691
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
5692
- toUTCString: () => string;
5693
- toISOString: () => string;
5694
- toJSON: (key?: any) => string;
5695
- [Symbol.toPrimitive]: {
5696
- (hint: "default"): string;
5697
- (hint: "string"): string;
5698
- (hint: "number"): number;
5699
- (hint: string): string | number;
5700
- };
5701
- };
5702
- setToken: (token: string, tokenExpiredAt: Date) => void;
5396
+ readonly token: string | null;
5397
+ getCustomToken: () => Promise<string>;
5703
5398
  setAdminPermisssions: (permissions: {
5704
5399
  fields?: string[] | undefined;
5705
5400
  conditions?: any;
@@ -5709,7 +5404,7 @@ export declare const useCoreStore: () => {
5709
5404
  actions: string | string[];
5710
5405
  subject: string | string[];
5711
5406
  }[]) => void;
5712
- setPermisssions: (permissions: {
5407
+ setPermissions: (permissions: {
5713
5408
  fields?: string[] | undefined;
5714
5409
  conditions?: any;
5715
5410
  inverted?: boolean | undefined;
@@ -5728,7 +5423,7 @@ export declare const useCoreStore: () => {
5728
5423
  subject: string | string[];
5729
5424
  }[];
5730
5425
  } | null>;
5731
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
5426
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
5732
5427
  fetchUserAdminPermissions: () => Promise<void>;
5733
5428
  fetchUserPermissions: () => Promise<void>;
5734
5429
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -5837,11 +5532,11 @@ export declare const useCoreStore: () => {
5837
5532
  address: {
5838
5533
  coordinates?: number[] | undefined;
5839
5534
  line2?: string | undefined;
5840
- country: string;
5841
5535
  state: string;
5842
5536
  line1: string;
5843
5537
  city: string;
5844
5538
  postcode: string;
5539
+ country: string;
5845
5540
  };
5846
5541
  name: string;
5847
5542
  email: string;
@@ -5855,9 +5550,9 @@ export declare const useCoreStore: () => {
5855
5550
  warehouseQuota: number;
5856
5551
  menuVersion: "v2" | "v3" | "v4";
5857
5552
  }[]>;
5858
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
5859
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
5860
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
5553
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
5554
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
5555
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
5861
5556
  restaurants: import("vue").Ref<{
5862
5557
  managable: boolean;
5863
5558
  pf_business?: {
@@ -5962,11 +5657,11 @@ export declare const useCoreStore: () => {
5962
5657
  address: {
5963
5658
  coordinates?: number[] | undefined;
5964
5659
  line2?: string | undefined;
5965
- country: string;
5966
5660
  state: string;
5967
5661
  line1: string;
5968
5662
  city: string;
5969
5663
  postcode: string;
5664
+ country: string;
5970
5665
  };
5971
5666
  name: string;
5972
5667
  email: string;
@@ -6045,8 +5740,8 @@ export declare const useCoreStore: () => {
6045
5740
  };
6046
5741
  } | null | undefined;
6047
5742
  day: {
6048
- max: number;
6049
5743
  min: number;
5744
+ max: number;
6050
5745
  };
6051
5746
  } | null | undefined;
6052
5747
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -6152,8 +5847,8 @@ export declare const useCoreStore: () => {
6152
5847
  ignoreStock?: boolean | undefined;
6153
5848
  pickupTime?: {
6154
5849
  day: {
6155
- max: number;
6156
5850
  min: number;
5851
+ max: number;
6157
5852
  };
6158
5853
  } | null | undefined;
6159
5854
  pickupPointConfig?: {
@@ -6295,11 +5990,11 @@ export declare const useCoreStore: () => {
6295
5990
  address: {
6296
5991
  coordinates?: number[] | undefined;
6297
5992
  line2?: string | undefined;
6298
- country: string;
6299
5993
  state: string;
6300
5994
  line1: string;
6301
5995
  city: string;
6302
5996
  postcode: string;
5997
+ country: string;
6303
5998
  };
6304
5999
  name: string;
6305
6000
  email: string;
@@ -6307,7 +6002,7 @@ export declare const useCoreStore: () => {
6307
6002
  regNo: string;
6308
6003
  };
6309
6004
  }[]>;
6310
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
6005
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
6311
6006
  readRestaurants: () => Promise<{
6312
6007
  managable: boolean;
6313
6008
  pf_business?: {
@@ -6412,11 +6107,11 @@ export declare const useCoreStore: () => {
6412
6107
  address: {
6413
6108
  coordinates?: number[] | undefined;
6414
6109
  line2?: string | undefined;
6415
- country: string;
6416
6110
  state: string;
6417
6111
  line1: string;
6418
6112
  city: string;
6419
6113
  postcode: string;
6114
+ country: string;
6420
6115
  };
6421
6116
  name: string;
6422
6117
  email: string;
@@ -6495,8 +6190,8 @@ export declare const useCoreStore: () => {
6495
6190
  };
6496
6191
  } | null | undefined;
6497
6192
  day: {
6498
- max: number;
6499
6193
  min: number;
6194
+ max: number;
6500
6195
  };
6501
6196
  } | null | undefined;
6502
6197
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -6602,8 +6297,8 @@ export declare const useCoreStore: () => {
6602
6297
  ignoreStock?: boolean | undefined;
6603
6298
  pickupTime?: {
6604
6299
  day: {
6605
- max: number;
6606
6300
  min: number;
6301
+ max: number;
6607
6302
  };
6608
6303
  } | null | undefined;
6609
6304
  pickupPointConfig?: {
@@ -6745,11 +6440,11 @@ export declare const useCoreStore: () => {
6745
6440
  address: {
6746
6441
  coordinates?: number[] | undefined;
6747
6442
  line2?: string | undefined;
6748
- country: string;
6749
6443
  state: string;
6750
6444
  line1: string;
6751
6445
  city: string;
6752
6446
  postcode: string;
6447
+ country: string;
6753
6448
  };
6754
6449
  name: string;
6755
6450
  email: string;
@@ -6757,82 +6452,32 @@ export declare const useCoreStore: () => {
6757
6452
  regNo: string;
6758
6453
  };
6759
6454
  }[] | undefined>;
6760
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
6761
- }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>>, options?: ({
6455
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
6456
+ apps: import("vue").Ref<{
6457
+ icon: string;
6458
+ name: string;
6459
+ description: string;
6460
+ path: string;
6461
+ color: string;
6462
+ }[]>;
6463
+ selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
6464
+ registerApp: (app: import("./store").PortalApp) => void;
6465
+ selectApp: (app: import("./store").PortalApp) => void;
6466
+ }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "apps" | "selectedApp">>>, options?: ({
6762
6467
  detached?: boolean | undefined;
6763
6468
  } & import("vue").WatchOptions<boolean>) | undefined): () => void;
6764
6469
  $onAction(callback: import("pinia").StoreOnActionListener<"portal-core", import("pinia")._UnwrapAll<Pick<{
6470
+ signIn: () => Promise<void>;
6471
+ signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
6472
+ signOut: () => Promise<void>;
6765
6473
  sessionUser: import("vue").Ref<{
6766
6474
  id: string;
6767
6475
  email?: string | null | undefined;
6768
6476
  photoURL?: string | null | undefined;
6769
6477
  displayName?: string | null | undefined;
6770
6478
  phoneNumber?: string | null | undefined;
6771
- token: string;
6772
- tokenExpiredAt: {
6773
- toString: () => string;
6774
- toDateString: () => string;
6775
- toTimeString: () => string;
6776
- toLocaleString: {
6777
- (): string;
6778
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
6779
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
6780
- };
6781
- toLocaleDateString: {
6782
- (): string;
6783
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
6784
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
6785
- };
6786
- toLocaleTimeString: {
6787
- (): string;
6788
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
6789
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
6790
- };
6791
- valueOf: () => number;
6792
- getTime: () => number;
6793
- getFullYear: () => number;
6794
- getUTCFullYear: () => number;
6795
- getMonth: () => number;
6796
- getUTCMonth: () => number;
6797
- getDate: () => number;
6798
- getUTCDate: () => number;
6799
- getDay: () => number;
6800
- getUTCDay: () => number;
6801
- getHours: () => number;
6802
- getUTCHours: () => number;
6803
- getMinutes: () => number;
6804
- getUTCMinutes: () => number;
6805
- getSeconds: () => number;
6806
- getUTCSeconds: () => number;
6807
- getMilliseconds: () => number;
6808
- getUTCMilliseconds: () => number;
6809
- getTimezoneOffset: () => number;
6810
- setTime: (time: number) => number;
6811
- setMilliseconds: (ms: number) => number;
6812
- setUTCMilliseconds: (ms: number) => number;
6813
- setSeconds: (sec: number, ms?: number | undefined) => number;
6814
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
6815
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
6816
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
6817
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
6818
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
6819
- setDate: (date: number) => number;
6820
- setUTCDate: (date: number) => number;
6821
- setMonth: (month: number, date?: number | undefined) => number;
6822
- setUTCMonth: (month: number, date?: number | undefined) => number;
6823
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
6824
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
6825
- toUTCString: () => string;
6826
- toISOString: () => string;
6827
- toJSON: (key?: any) => string;
6828
- [Symbol.toPrimitive]: {
6829
- (hint: "default"): string;
6830
- (hint: "string"): string;
6831
- (hint: "number"): number;
6832
- (hint: string): string | number;
6833
- };
6834
- };
6835
- setToken: (token: string, tokenExpiredAt: Date) => void;
6479
+ readonly token: string | null;
6480
+ getCustomToken: () => Promise<string>;
6836
6481
  setAdminPermisssions: (permissions: {
6837
6482
  fields?: string[] | undefined;
6838
6483
  conditions?: any;
@@ -6842,7 +6487,7 @@ export declare const useCoreStore: () => {
6842
6487
  actions: string | string[];
6843
6488
  subject: string | string[];
6844
6489
  }[]) => void;
6845
- setPermisssions: (permissions: {
6490
+ setPermissions: (permissions: {
6846
6491
  fields?: string[] | undefined;
6847
6492
  conditions?: any;
6848
6493
  inverted?: boolean | undefined;
@@ -6861,7 +6506,7 @@ export declare const useCoreStore: () => {
6861
6506
  subject: string | string[];
6862
6507
  }[];
6863
6508
  } | null>;
6864
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
6509
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
6865
6510
  fetchUserAdminPermissions: () => Promise<void>;
6866
6511
  fetchUserPermissions: () => Promise<void>;
6867
6512
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -6970,11 +6615,11 @@ export declare const useCoreStore: () => {
6970
6615
  address: {
6971
6616
  coordinates?: number[] | undefined;
6972
6617
  line2?: string | undefined;
6973
- country: string;
6974
6618
  state: string;
6975
6619
  line1: string;
6976
6620
  city: string;
6977
6621
  postcode: string;
6622
+ country: string;
6978
6623
  };
6979
6624
  name: string;
6980
6625
  email: string;
@@ -6988,9 +6633,9 @@ export declare const useCoreStore: () => {
6988
6633
  warehouseQuota: number;
6989
6634
  menuVersion: "v2" | "v3" | "v4";
6990
6635
  }[]>;
6991
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
6992
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
6993
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
6636
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
6637
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
6638
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
6994
6639
  restaurants: import("vue").Ref<{
6995
6640
  managable: boolean;
6996
6641
  pf_business?: {
@@ -7095,11 +6740,11 @@ export declare const useCoreStore: () => {
7095
6740
  address: {
7096
6741
  coordinates?: number[] | undefined;
7097
6742
  line2?: string | undefined;
7098
- country: string;
7099
6743
  state: string;
7100
6744
  line1: string;
7101
6745
  city: string;
7102
6746
  postcode: string;
6747
+ country: string;
7103
6748
  };
7104
6749
  name: string;
7105
6750
  email: string;
@@ -7178,8 +6823,8 @@ export declare const useCoreStore: () => {
7178
6823
  };
7179
6824
  } | null | undefined;
7180
6825
  day: {
7181
- max: number;
7182
6826
  min: number;
6827
+ max: number;
7183
6828
  };
7184
6829
  } | null | undefined;
7185
6830
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -7285,8 +6930,8 @@ export declare const useCoreStore: () => {
7285
6930
  ignoreStock?: boolean | undefined;
7286
6931
  pickupTime?: {
7287
6932
  day: {
7288
- max: number;
7289
6933
  min: number;
6934
+ max: number;
7290
6935
  };
7291
6936
  } | null | undefined;
7292
6937
  pickupPointConfig?: {
@@ -7428,11 +7073,11 @@ export declare const useCoreStore: () => {
7428
7073
  address: {
7429
7074
  coordinates?: number[] | undefined;
7430
7075
  line2?: string | undefined;
7431
- country: string;
7432
7076
  state: string;
7433
7077
  line1: string;
7434
7078
  city: string;
7435
7079
  postcode: string;
7080
+ country: string;
7436
7081
  };
7437
7082
  name: string;
7438
7083
  email: string;
@@ -7440,7 +7085,7 @@ export declare const useCoreStore: () => {
7440
7085
  regNo: string;
7441
7086
  };
7442
7087
  }[]>;
7443
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
7088
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
7444
7089
  readRestaurants: () => Promise<{
7445
7090
  managable: boolean;
7446
7091
  pf_business?: {
@@ -7545,11 +7190,11 @@ export declare const useCoreStore: () => {
7545
7190
  address: {
7546
7191
  coordinates?: number[] | undefined;
7547
7192
  line2?: string | undefined;
7548
- country: string;
7549
7193
  state: string;
7550
7194
  line1: string;
7551
7195
  city: string;
7552
7196
  postcode: string;
7197
+ country: string;
7553
7198
  };
7554
7199
  name: string;
7555
7200
  email: string;
@@ -7628,8 +7273,8 @@ export declare const useCoreStore: () => {
7628
7273
  };
7629
7274
  } | null | undefined;
7630
7275
  day: {
7631
- max: number;
7632
7276
  min: number;
7277
+ max: number;
7633
7278
  };
7634
7279
  } | null | undefined;
7635
7280
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -7735,8 +7380,8 @@ export declare const useCoreStore: () => {
7735
7380
  ignoreStock?: boolean | undefined;
7736
7381
  pickupTime?: {
7737
7382
  day: {
7738
- max: number;
7739
7383
  min: number;
7384
+ max: number;
7740
7385
  };
7741
7386
  } | null | undefined;
7742
7387
  pickupPointConfig?: {
@@ -7878,11 +7523,11 @@ export declare const useCoreStore: () => {
7878
7523
  address: {
7879
7524
  coordinates?: number[] | undefined;
7880
7525
  line2?: string | undefined;
7881
- country: string;
7882
7526
  state: string;
7883
7527
  line1: string;
7884
7528
  city: string;
7885
7529
  postcode: string;
7530
+ country: string;
7886
7531
  };
7887
7532
  name: string;
7888
7533
  email: string;
@@ -7890,79 +7535,29 @@ export declare const useCoreStore: () => {
7890
7535
  regNo: string;
7891
7536
  };
7892
7537
  }[] | undefined>;
7893
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
7894
- }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant">>, Pick<{
7538
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
7539
+ apps: import("vue").Ref<{
7540
+ icon: string;
7541
+ name: string;
7542
+ description: string;
7543
+ path: string;
7544
+ color: string;
7545
+ }[]>;
7546
+ selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
7547
+ registerApp: (app: import("./store").PortalApp) => void;
7548
+ selectApp: (app: import("./store").PortalApp) => void;
7549
+ }, "sessionUser" | "namespace" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "apps" | "selectedApp">>, Pick<{
7550
+ signIn: () => Promise<void>;
7551
+ signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
7552
+ signOut: () => Promise<void>;
7895
7553
  sessionUser: import("vue").Ref<{
7896
7554
  id: string;
7897
7555
  email?: string | null | undefined;
7898
7556
  photoURL?: string | null | undefined;
7899
7557
  displayName?: string | null | undefined;
7900
7558
  phoneNumber?: string | null | undefined;
7901
- token: string;
7902
- tokenExpiredAt: {
7903
- toString: () => string;
7904
- toDateString: () => string;
7905
- toTimeString: () => string;
7906
- toLocaleString: {
7907
- (): string;
7908
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
7909
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
7910
- };
7911
- toLocaleDateString: {
7912
- (): string;
7913
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
7914
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
7915
- };
7916
- toLocaleTimeString: {
7917
- (): string;
7918
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
7919
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
7920
- };
7921
- valueOf: () => number;
7922
- getTime: () => number;
7923
- getFullYear: () => number;
7924
- getUTCFullYear: () => number;
7925
- getMonth: () => number;
7926
- getUTCMonth: () => number;
7927
- getDate: () => number;
7928
- getUTCDate: () => number;
7929
- getDay: () => number;
7930
- getUTCDay: () => number;
7931
- getHours: () => number;
7932
- getUTCHours: () => number;
7933
- getMinutes: () => number;
7934
- getUTCMinutes: () => number;
7935
- getSeconds: () => number;
7936
- getUTCSeconds: () => number;
7937
- getMilliseconds: () => number;
7938
- getUTCMilliseconds: () => number;
7939
- getTimezoneOffset: () => number;
7940
- setTime: (time: number) => number;
7941
- setMilliseconds: (ms: number) => number;
7942
- setUTCMilliseconds: (ms: number) => number;
7943
- setSeconds: (sec: number, ms?: number | undefined) => number;
7944
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
7945
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
7946
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
7947
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
7948
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
7949
- setDate: (date: number) => number;
7950
- setUTCDate: (date: number) => number;
7951
- setMonth: (month: number, date?: number | undefined) => number;
7952
- setUTCMonth: (month: number, date?: number | undefined) => number;
7953
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
7954
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
7955
- toUTCString: () => string;
7956
- toISOString: () => string;
7957
- toJSON: (key?: any) => string;
7958
- [Symbol.toPrimitive]: {
7959
- (hint: "default"): string;
7960
- (hint: "string"): string;
7961
- (hint: "number"): number;
7962
- (hint: string): string | number;
7963
- };
7964
- };
7965
- setToken: (token: string, tokenExpiredAt: Date) => void;
7559
+ readonly token: string | null;
7560
+ getCustomToken: () => Promise<string>;
7966
7561
  setAdminPermisssions: (permissions: {
7967
7562
  fields?: string[] | undefined;
7968
7563
  conditions?: any;
@@ -7972,7 +7567,7 @@ export declare const useCoreStore: () => {
7972
7567
  actions: string | string[];
7973
7568
  subject: string | string[];
7974
7569
  }[]) => void;
7975
- setPermisssions: (permissions: {
7570
+ setPermissions: (permissions: {
7976
7571
  fields?: string[] | undefined;
7977
7572
  conditions?: any;
7978
7573
  inverted?: boolean | undefined;
@@ -7991,7 +7586,7 @@ export declare const useCoreStore: () => {
7991
7586
  subject: string | string[];
7992
7587
  }[];
7993
7588
  } | null>;
7994
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
7589
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
7995
7590
  fetchUserAdminPermissions: () => Promise<void>;
7996
7591
  fetchUserPermissions: () => Promise<void>;
7997
7592
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -8100,11 +7695,11 @@ export declare const useCoreStore: () => {
8100
7695
  address: {
8101
7696
  coordinates?: number[] | undefined;
8102
7697
  line2?: string | undefined;
8103
- country: string;
8104
7698
  state: string;
8105
7699
  line1: string;
8106
7700
  city: string;
8107
7701
  postcode: string;
7702
+ country: string;
8108
7703
  };
8109
7704
  name: string;
8110
7705
  email: string;
@@ -8118,9 +7713,9 @@ export declare const useCoreStore: () => {
8118
7713
  warehouseQuota: number;
8119
7714
  menuVersion: "v2" | "v3" | "v4";
8120
7715
  }[]>;
8121
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
8122
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
8123
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
7716
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
7717
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
7718
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
8124
7719
  restaurants: import("vue").Ref<{
8125
7720
  managable: boolean;
8126
7721
  pf_business?: {
@@ -8225,11 +7820,11 @@ export declare const useCoreStore: () => {
8225
7820
  address: {
8226
7821
  coordinates?: number[] | undefined;
8227
7822
  line2?: string | undefined;
8228
- country: string;
8229
7823
  state: string;
8230
7824
  line1: string;
8231
7825
  city: string;
8232
7826
  postcode: string;
7827
+ country: string;
8233
7828
  };
8234
7829
  name: string;
8235
7830
  email: string;
@@ -8308,8 +7903,8 @@ export declare const useCoreStore: () => {
8308
7903
  };
8309
7904
  } | null | undefined;
8310
7905
  day: {
8311
- max: number;
8312
7906
  min: number;
7907
+ max: number;
8313
7908
  };
8314
7909
  } | null | undefined;
8315
7910
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -8415,8 +8010,8 @@ export declare const useCoreStore: () => {
8415
8010
  ignoreStock?: boolean | undefined;
8416
8011
  pickupTime?: {
8417
8012
  day: {
8418
- max: number;
8419
8013
  min: number;
8014
+ max: number;
8420
8015
  };
8421
8016
  } | null | undefined;
8422
8017
  pickupPointConfig?: {
@@ -8558,11 +8153,11 @@ export declare const useCoreStore: () => {
8558
8153
  address: {
8559
8154
  coordinates?: number[] | undefined;
8560
8155
  line2?: string | undefined;
8561
- country: string;
8562
8156
  state: string;
8563
8157
  line1: string;
8564
8158
  city: string;
8565
8159
  postcode: string;
8160
+ country: string;
8566
8161
  };
8567
8162
  name: string;
8568
8163
  email: string;
@@ -8570,7 +8165,7 @@ export declare const useCoreStore: () => {
8570
8165
  regNo: string;
8571
8166
  };
8572
8167
  }[]>;
8573
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
8168
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
8574
8169
  readRestaurants: () => Promise<{
8575
8170
  managable: boolean;
8576
8171
  pf_business?: {
@@ -8675,11 +8270,11 @@ export declare const useCoreStore: () => {
8675
8270
  address: {
8676
8271
  coordinates?: number[] | undefined;
8677
8272
  line2?: string | undefined;
8678
- country: string;
8679
8273
  state: string;
8680
8274
  line1: string;
8681
8275
  city: string;
8682
8276
  postcode: string;
8277
+ country: string;
8683
8278
  };
8684
8279
  name: string;
8685
8280
  email: string;
@@ -8758,8 +8353,8 @@ export declare const useCoreStore: () => {
8758
8353
  };
8759
8354
  } | null | undefined;
8760
8355
  day: {
8761
- max: number;
8762
8356
  min: number;
8357
+ max: number;
8763
8358
  };
8764
8359
  } | null | undefined;
8765
8360
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -8865,8 +8460,8 @@ export declare const useCoreStore: () => {
8865
8460
  ignoreStock?: boolean | undefined;
8866
8461
  pickupTime?: {
8867
8462
  day: {
8868
- max: number;
8869
8463
  min: number;
8464
+ max: number;
8870
8465
  };
8871
8466
  } | null | undefined;
8872
8467
  pickupPointConfig?: {
@@ -9008,11 +8603,11 @@ export declare const useCoreStore: () => {
9008
8603
  address: {
9009
8604
  coordinates?: number[] | undefined;
9010
8605
  line2?: string | undefined;
9011
- country: string;
9012
8606
  state: string;
9013
8607
  line1: string;
9014
8608
  city: string;
9015
8609
  postcode: string;
8610
+ country: string;
9016
8611
  };
9017
8612
  name: string;
9018
8613
  email: string;
@@ -9020,79 +8615,29 @@ export declare const useCoreStore: () => {
9020
8615
  regNo: string;
9021
8616
  };
9022
8617
  }[] | undefined>;
9023
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
8618
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
8619
+ apps: import("vue").Ref<{
8620
+ icon: string;
8621
+ name: string;
8622
+ description: string;
8623
+ path: string;
8624
+ color: string;
8625
+ }[]>;
8626
+ selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
8627
+ registerApp: (app: import("./store").PortalApp) => void;
8628
+ selectApp: (app: import("./store").PortalApp) => void;
9024
8629
  }, never>, Pick<{
8630
+ signIn: () => Promise<void>;
8631
+ signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
8632
+ signOut: () => Promise<void>;
9025
8633
  sessionUser: import("vue").Ref<{
9026
8634
  id: string;
9027
8635
  email?: string | null | undefined;
9028
8636
  photoURL?: string | null | undefined;
9029
8637
  displayName?: string | null | undefined;
9030
8638
  phoneNumber?: string | null | undefined;
9031
- token: string;
9032
- tokenExpiredAt: {
9033
- toString: () => string;
9034
- toDateString: () => string;
9035
- toTimeString: () => string;
9036
- toLocaleString: {
9037
- (): string;
9038
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
9039
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
9040
- };
9041
- toLocaleDateString: {
9042
- (): string;
9043
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
9044
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
9045
- };
9046
- toLocaleTimeString: {
9047
- (): string;
9048
- (locales?: string | string[] | undefined, options?: Intl.DateTimeFormatOptions | undefined): string;
9049
- (locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions | undefined): string;
9050
- };
9051
- valueOf: () => number;
9052
- getTime: () => number;
9053
- getFullYear: () => number;
9054
- getUTCFullYear: () => number;
9055
- getMonth: () => number;
9056
- getUTCMonth: () => number;
9057
- getDate: () => number;
9058
- getUTCDate: () => number;
9059
- getDay: () => number;
9060
- getUTCDay: () => number;
9061
- getHours: () => number;
9062
- getUTCHours: () => number;
9063
- getMinutes: () => number;
9064
- getUTCMinutes: () => number;
9065
- getSeconds: () => number;
9066
- getUTCSeconds: () => number;
9067
- getMilliseconds: () => number;
9068
- getUTCMilliseconds: () => number;
9069
- getTimezoneOffset: () => number;
9070
- setTime: (time: number) => number;
9071
- setMilliseconds: (ms: number) => number;
9072
- setUTCMilliseconds: (ms: number) => number;
9073
- setSeconds: (sec: number, ms?: number | undefined) => number;
9074
- setUTCSeconds: (sec: number, ms?: number | undefined) => number;
9075
- setMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
9076
- setUTCMinutes: (min: number, sec?: number | undefined, ms?: number | undefined) => number;
9077
- setHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
9078
- setUTCHours: (hours: number, min?: number | undefined, sec?: number | undefined, ms?: number | undefined) => number;
9079
- setDate: (date: number) => number;
9080
- setUTCDate: (date: number) => number;
9081
- setMonth: (month: number, date?: number | undefined) => number;
9082
- setUTCMonth: (month: number, date?: number | undefined) => number;
9083
- setFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
9084
- setUTCFullYear: (year: number, month?: number | undefined, date?: number | undefined) => number;
9085
- toUTCString: () => string;
9086
- toISOString: () => string;
9087
- toJSON: (key?: any) => string;
9088
- [Symbol.toPrimitive]: {
9089
- (hint: "default"): string;
9090
- (hint: "string"): string;
9091
- (hint: "number"): number;
9092
- (hint: string): string | number;
9093
- };
9094
- };
9095
- setToken: (token: string, tokenExpiredAt: Date) => void;
8639
+ readonly token: string | null;
8640
+ getCustomToken: () => Promise<string>;
9096
8641
  setAdminPermisssions: (permissions: {
9097
8642
  fields?: string[] | undefined;
9098
8643
  conditions?: any;
@@ -9102,7 +8647,7 @@ export declare const useCoreStore: () => {
9102
8647
  actions: string | string[];
9103
8648
  subject: string | string[];
9104
8649
  }[]) => void;
9105
- setPermisssions: (permissions: {
8650
+ setPermissions: (permissions: {
9106
8651
  fields?: string[] | undefined;
9107
8652
  conditions?: any;
9108
8653
  inverted?: boolean | undefined;
@@ -9121,7 +8666,7 @@ export declare const useCoreStore: () => {
9121
8666
  subject: string | string[];
9122
8667
  }[];
9123
8668
  } | null>;
9124
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
8669
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
9125
8670
  fetchUserAdminPermissions: () => Promise<void>;
9126
8671
  fetchUserPermissions: () => Promise<void>;
9127
8672
  namespace: import("vue").Ref<"dev" | "prod">;
@@ -9230,11 +8775,11 @@ export declare const useCoreStore: () => {
9230
8775
  address: {
9231
8776
  coordinates?: number[] | undefined;
9232
8777
  line2?: string | undefined;
9233
- country: string;
9234
8778
  state: string;
9235
8779
  line1: string;
9236
8780
  city: string;
9237
8781
  postcode: string;
8782
+ country: string;
9238
8783
  };
9239
8784
  name: string;
9240
8785
  email: string;
@@ -9248,9 +8793,9 @@ export declare const useCoreStore: () => {
9248
8793
  warehouseQuota: number;
9249
8794
  menuVersion: "v2" | "v3" | "v4";
9250
8795
  }[]>;
9251
- currentBusiness: import("vue").Ref<import("./plugins/store").FmpBusiness | undefined>;
9252
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
9253
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
8796
+ currentBusiness: import("vue").Ref<import("./store").FmpBusiness | undefined>;
8797
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
8798
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
9254
8799
  restaurants: import("vue").Ref<{
9255
8800
  managable: boolean;
9256
8801
  pf_business?: {
@@ -9355,11 +8900,11 @@ export declare const useCoreStore: () => {
9355
8900
  address: {
9356
8901
  coordinates?: number[] | undefined;
9357
8902
  line2?: string | undefined;
9358
- country: string;
9359
8903
  state: string;
9360
8904
  line1: string;
9361
8905
  city: string;
9362
8906
  postcode: string;
8907
+ country: string;
9363
8908
  };
9364
8909
  name: string;
9365
8910
  email: string;
@@ -9438,8 +8983,8 @@ export declare const useCoreStore: () => {
9438
8983
  };
9439
8984
  } | null | undefined;
9440
8985
  day: {
9441
- max: number;
9442
8986
  min: number;
8987
+ max: number;
9443
8988
  };
9444
8989
  } | null | undefined;
9445
8990
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -9545,8 +9090,8 @@ export declare const useCoreStore: () => {
9545
9090
  ignoreStock?: boolean | undefined;
9546
9091
  pickupTime?: {
9547
9092
  day: {
9548
- max: number;
9549
9093
  min: number;
9094
+ max: number;
9550
9095
  };
9551
9096
  } | null | undefined;
9552
9097
  pickupPointConfig?: {
@@ -9688,11 +9233,11 @@ export declare const useCoreStore: () => {
9688
9233
  address: {
9689
9234
  coordinates?: number[] | undefined;
9690
9235
  line2?: string | undefined;
9691
- country: string;
9692
9236
  state: string;
9693
9237
  line1: string;
9694
9238
  city: string;
9695
9239
  postcode: string;
9240
+ country: string;
9696
9241
  };
9697
9242
  name: string;
9698
9243
  email: string;
@@ -9700,7 +9245,7 @@ export declare const useCoreStore: () => {
9700
9245
  regNo: string;
9701
9246
  };
9702
9247
  }[]>;
9703
- currentRestaurant: import("vue").Ref<import("./plugins/store").FmpRestaurant | undefined>;
9248
+ currentRestaurant: import("vue").Ref<import("./store").FmpRestaurant | undefined>;
9704
9249
  readRestaurants: () => Promise<{
9705
9250
  managable: boolean;
9706
9251
  pf_business?: {
@@ -9805,11 +9350,11 @@ export declare const useCoreStore: () => {
9805
9350
  address: {
9806
9351
  coordinates?: number[] | undefined;
9807
9352
  line2?: string | undefined;
9808
- country: string;
9809
9353
  state: string;
9810
9354
  line1: string;
9811
9355
  city: string;
9812
9356
  postcode: string;
9357
+ country: string;
9813
9358
  };
9814
9359
  name: string;
9815
9360
  email: string;
@@ -9888,8 +9433,8 @@ export declare const useCoreStore: () => {
9888
9433
  };
9889
9434
  } | null | undefined;
9890
9435
  day: {
9891
- max: number;
9892
9436
  min: number;
9437
+ max: number;
9893
9438
  };
9894
9439
  } | null | undefined;
9895
9440
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -9995,8 +9540,8 @@ export declare const useCoreStore: () => {
9995
9540
  ignoreStock?: boolean | undefined;
9996
9541
  pickupTime?: {
9997
9542
  day: {
9998
- max: number;
9999
9543
  min: number;
9544
+ max: number;
10000
9545
  };
10001
9546
  } | null | undefined;
10002
9547
  pickupPointConfig?: {
@@ -10138,11 +9683,11 @@ export declare const useCoreStore: () => {
10138
9683
  address: {
10139
9684
  coordinates?: number[] | undefined;
10140
9685
  line2?: string | undefined;
10141
- country: string;
10142
9686
  state: string;
10143
9687
  line1: string;
10144
9688
  city: string;
10145
9689
  postcode: string;
9690
+ country: string;
10146
9691
  };
10147
9692
  name: string;
10148
9693
  email: string;
@@ -10150,18 +9695,31 @@ export declare const useCoreStore: () => {
10150
9695
  regNo: string;
10151
9696
  };
10152
9697
  }[] | undefined>;
10153
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
10154
- }, "setUser" | "fetchUserAdminPermissions" | "fetchUserPermissions" | "setNamespace" | "changeCountry" | "readBusinesses" | "changeBusiness" | "readRestaurants" | "changeRestaurant">>, detached?: boolean | undefined): () => void;
9698
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
9699
+ apps: import("vue").Ref<{
9700
+ icon: string;
9701
+ name: string;
9702
+ description: string;
9703
+ path: string;
9704
+ color: string;
9705
+ }[]>;
9706
+ selectedApp: import("vue").Ref<import("./store").PortalApp | undefined>;
9707
+ registerApp: (app: import("./store").PortalApp) => void;
9708
+ selectApp: (app: import("./store").PortalApp) => void;
9709
+ }, "signIn" | "signInWithToken" | "signOut" | "setUser" | "fetchUserAdminPermissions" | "fetchUserPermissions" | "setNamespace" | "changeCountry" | "readBusinesses" | "changeBusiness" | "readRestaurants" | "changeRestaurant" | "registerApp" | "selectApp">>, detached?: boolean | undefined): () => void;
10155
9710
  $dispose(): void;
10156
9711
  $id: "portal-core";
10157
9712
  _customProperties: Set<string>;
10158
- setUser: (user: import("./plugins/auth").FeedMeUser | null) => Promise<void>;
9713
+ signIn: () => Promise<void>;
9714
+ signInWithToken: (user: import("./auth").FeedMeUser, token: string) => Promise<void>;
9715
+ signOut: () => Promise<void>;
9716
+ setUser: (user: import("./auth").FeedMeUser | null) => Promise<void>;
10159
9717
  fetchUserAdminPermissions: () => Promise<void>;
10160
9718
  fetchUserPermissions: () => Promise<void>;
10161
9719
  setNamespace: (ns: "dev" | "prod") => void;
10162
9720
  changeCountry: (country: "AF" | "AX" | "AL" | "DZ" | "AS" | "AD" | "AO" | "AI" | "AQ" | "AG" | "AR" | "AM" | "AW" | "AU" | "AT" | "AZ" | "BS" | "BH" | "BD" | "BB" | "BY" | "BE" | "BZ" | "BJ" | "BM" | "BT" | "BO" | "BQ" | "BA" | "BW" | "BV" | "BR" | "IO" | "BN" | "BG" | "BF" | "BI" | "KH" | "CM" | "CA" | "CV" | "KY" | "CF" | "TD" | "CL" | "CN" | "CX" | "CC" | "CO" | "KM" | "CG" | "CD" | "CK" | "CR" | "CI" | "HR" | "CU" | "CW" | "CY" | "CZ" | "DK" | "DJ" | "DM" | "DO" | "EC" | "EG" | "SV" | "GQ" | "ER" | "EE" | "ET" | "FK" | "FO" | "FJ" | "FI" | "FR" | "GF" | "PF" | "TF" | "GA" | "GM" | "GE" | "DE" | "GH" | "GI" | "GR" | "GL" | "GD" | "GP" | "GU" | "GT" | "GG" | "GN" | "GW" | "GY" | "HT" | "HM" | "VA" | "HN" | "HK" | "HU" | "IS" | "IN" | "ID" | "IR" | "IQ" | "IE" | "IM" | "IL" | "IT" | "JM" | "JP" | "JE" | "JO" | "KZ" | "KE" | "KI" | "KR" | "KP" | "KW" | "KG" | "LA" | "LV" | "LB" | "LS" | "LR" | "LY" | "LI" | "LT" | "LU" | "MO" | "MK" | "MG" | "MW" | "MY" | "MV" | "ML" | "MT" | "MH" | "MQ" | "MR" | "MU" | "YT" | "MX" | "FM" | "MD" | "MC" | "MN" | "ME" | "MS" | "MA" | "MZ" | "MM" | "NA" | "NR" | "NP" | "NL" | "NC" | "NZ" | "NI" | "NE" | "NG" | "NU" | "NF" | "MP" | "NO" | "OM" | "PK" | "PW" | "PS" | "PA" | "PG" | "PY" | "PE" | "PH" | "PN" | "PL" | "PT" | "PR" | "QA" | "RE" | "RO" | "RU" | "RW" | "BL" | "SH" | "KN" | "LC" | "MF" | "PM" | "VC" | "WS" | "SM" | "ST" | "SA" | "SN" | "RS" | "SC" | "SL" | "SG" | "SX" | "SK" | "SI" | "SB" | "SO" | "ZA" | "GS" | "SS" | "ES" | "LK" | "SD" | "SR" | "SJ" | "SZ" | "SE" | "CH" | "SY" | "TW" | "TJ" | "TZ" | "TH" | "TL" | "TG" | "TK" | "TO" | "TT" | "TN" | "TR" | "TM" | "TC" | "TV" | "UG" | "UA" | "AE" | "GB" | "US" | "UM" | "UY" | "UZ" | "VU" | "VE" | "VN" | "VG" | "VI" | "WF" | "EH" | "YE" | "ZM" | "ZW") => Promise<void>;
10163
- readBusinesses: () => Promise<import("./plugins/store").FmpBusiness | undefined>;
10164
- changeBusiness: (business: import("./plugins/store").FmpBusiness | undefined) => Promise<void>;
9721
+ readBusinesses: () => Promise<import("./store").FmpBusiness | undefined>;
9722
+ changeBusiness: (business: import("./store").FmpBusiness | undefined) => Promise<void>;
10165
9723
  readRestaurants: () => Promise<{
10166
9724
  managable: boolean;
10167
9725
  pf_business?: {
@@ -10266,11 +9824,11 @@ export declare const useCoreStore: () => {
10266
9824
  address: {
10267
9825
  coordinates?: number[] | undefined;
10268
9826
  line2?: string | undefined;
10269
- country: string;
10270
9827
  state: string;
10271
9828
  line1: string;
10272
9829
  city: string;
10273
9830
  postcode: string;
9831
+ country: string;
10274
9832
  };
10275
9833
  name: string;
10276
9834
  email: string;
@@ -10349,8 +9907,8 @@ export declare const useCoreStore: () => {
10349
9907
  };
10350
9908
  } | null | undefined;
10351
9909
  day: {
10352
- max: number;
10353
9910
  min: number;
9911
+ max: number;
10354
9912
  };
10355
9913
  } | null | undefined;
10356
9914
  paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | undefined;
@@ -10456,8 +10014,8 @@ export declare const useCoreStore: () => {
10456
10014
  ignoreStock?: boolean | undefined;
10457
10015
  pickupTime?: {
10458
10016
  day: {
10459
- max: number;
10460
10017
  min: number;
10018
+ max: number;
10461
10019
  };
10462
10020
  } | null | undefined;
10463
10021
  pickupPointConfig?: {
@@ -10599,11 +10157,11 @@ export declare const useCoreStore: () => {
10599
10157
  address: {
10600
10158
  coordinates?: number[] | undefined;
10601
10159
  line2?: string | undefined;
10602
- country: string;
10603
10160
  state: string;
10604
10161
  line1: string;
10605
10162
  city: string;
10606
10163
  postcode: string;
10164
+ country: string;
10607
10165
  };
10608
10166
  name: string;
10609
10167
  email: string;
@@ -10611,8 +10169,10 @@ export declare const useCoreStore: () => {
10611
10169
  regNo: string;
10612
10170
  };
10613
10171
  }[] | undefined>;
10614
- changeRestaurant: (restaurant: import("./plugins/store").FmpRestaurant | undefined) => void;
10172
+ changeRestaurant: (restaurant: import("./store").FmpRestaurant | undefined) => void;
10173
+ registerApp: (app: import("./store").PortalApp) => void;
10174
+ selectApp: (app: import("./store").PortalApp) => void;
10615
10175
  };
10616
- export { FeedMeAuth } from './plugins/auth';
10617
- export { axiosClientInstance } from './api';
10176
+ export declare function initialize(clientId: string): void;
10177
+ export declare const onAuthStateChanged: typeof FeedMeAuth.onAuthStateChanged;
10618
10178
  export { default as FmNavBar } from './App.vue';