@feedmepos/mf-inventory-portal 0.0.22-dev.29 → 0.0.22-dev.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/{ApprovalView-Ba-tUg0r.js → ApprovalView-BowcCo8d.js} +4 -4
  2. package/dist/{BindingsDialog-BzE7RozX.js → BindingsDialog-CmmLVQTN.js} +1 -1
  3. package/dist/{BindingsPicker-21frBXLS.js → BindingsPicker-BErHbcxb.js} +1 -1
  4. package/dist/{BindingsTable-b5C-I-cP.js → BindingsTable-hrfbN6tX.js} +1 -1
  5. package/dist/{ClosingTemplateView-DMBAODHP.js → ClosingTemplateView-BVefCGpC.js} +374 -370
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DeX65Yyd.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CXHh_Bti.js} +1 -1
  7. package/dist/IngredientsView-BqnUckSv.js +1817 -0
  8. package/dist/{IntegrationView-BMrUQaFT.js → IntegrationView-BEdAKS1I.js} +120 -120
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0Yw7F_u.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-pr7Sb7Om.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-IS1pDkV9.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DsYwNO5N.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-CdOwEm2W.js → PurchaseOrderPrintPreview-DzaS_c8R.js} +1 -1
  12. package/dist/{ReceiveRequestView-B86diRXc.js → ReceiveRequestView-CU-bhIjl.js} +6 -6
  13. package/dist/{RecipeView-7zB4lKdK.js → RecipeView-CmETsz5e.js} +3 -3
  14. package/dist/{StockView-zoWR3C4k.js → StockView-BgmjwPbh.js} +6 -6
  15. package/dist/{SupplierView-C-1jW5ON.js → SupplierView-CDm5q1th.js} +3 -3
  16. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BWItuAd0.js → TransferDetails.vue_vue_type_script_setup_true_lang-BZJyhJu4.js} +4 -4
  17. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-lybenWiw.js +1678 -0
  18. package/dist/TransferTemplateView-CSQ2XxFU.js +1232 -0
  19. package/dist/{UnitView-yFNEgTl_.js → UnitView-D7bcDkOX.js} +4 -4
  20. package/dist/{WarehouseView-CregM24b.js → WarehouseView-BJAKVdRs.js} +2 -2
  21. package/dist/api/inventory.d.ts +71 -82
  22. package/dist/{app-BsDFpmXX.js → app-A8ykBdGf.js} +12514 -12256
  23. package/dist/app.js +1 -1
  24. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  25. package/dist/{decimal-B4_Y3KEm.js → decimal-BC4EGBAX.js} +1 -1
  26. package/dist/{defineDeepModel-BYWYdjn7.js → defineDeepModel-Ckfkwau_.js} +3 -3
  27. package/dist/{format-time-from-id-xHkyagtQ.js → format-time-from-id-o1plVFRH.js} +3 -3
  28. package/dist/{id-to-date-BZG9rZhi.js → id-to-date-DyPIToei.js} +1 -1
  29. package/dist/{purchase-order-transaction-type-B2Vf-MS0.js → purchase-order-transaction-type-skN4AmEj.js} +3 -3
  30. package/dist/stores/inventory.d.ts +15 -0
  31. package/dist/stores/location.d.ts +420 -486
  32. package/dist/stores/netsuite.d.ts +1 -1
  33. package/dist/{supplier-B9WHfMl-.js → supplier-DV3Tg4TT.js} +1 -1
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/{use-template-enabled-locations-2-DMyd7rbX.js → use-template-enabled-locations-2-u_kejm-N.js} +1 -1
  36. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +852 -984
  37. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +852 -984
  38. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +996 -58
  39. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1511 -104
  40. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1417 -10
  41. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -82
  42. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1272 -2652
  43. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -859
  44. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +108 -223
  45. package/dist/{xlsx-BFdyFL_3.js → xlsx-CrHTSBmd.js} +1 -1
  46. package/dist/{xlsx.util-UUCw3Kgc.js → xlsx.util-hjzkZFnf.js} +2 -2
  47. package/package.json +1 -1
  48. package/dist/IngredientsView-C6Lxkg-R.js +0 -1758
  49. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-5u4NM7G5.js +0 -1522
  50. package/dist/TransferTemplateView-DnKSCXki.js +0 -1210
@@ -8,91 +8,18 @@ export declare const InventoryLocationType: {
8
8
  export type InventoryLocation = FdoInventoryLocation;
9
9
  export declare function useLocationStore(): {
10
10
  _currentLocation: {
11
- doc?: any;
12
- type: "restaurant";
13
- name: string;
14
- acceptRequest: boolean;
15
- dbName: string;
16
- } | {
17
- type: "warehouse";
11
+ type: "restaurant" | "warehouse";
18
12
  name: string;
19
13
  acceptRequest: boolean;
20
14
  dbName: string;
21
15
  doc: {
22
- pf_business?: {
23
- internal?: boolean | null | undefined;
24
- url?: string | null | undefined;
25
- expiredAt?: string | null | undefined;
26
- agentId?: string | null | undefined;
27
- attributeSettings?: {
28
- type: "string" | "number" | "boolean" | "date";
29
- key: string;
30
- entity: "restaurant" | "item";
31
- }[] | null | undefined;
32
- pf_agent?: {
33
- clickupId?: string | null | undefined;
34
- members?: {
35
- pf_user?: {
36
- email?: string | null | undefined;
37
- phoneNumber?: string | null | undefined;
38
- birthday?: string | null | undefined;
39
- gender?: "MALE" | "FEMALE" | null | undefined;
40
- addresses?: {
41
- name: string;
42
- address: string;
43
- coordinates: number[];
44
- }[] | null | undefined;
45
- photoURL?: string | null | undefined;
46
- displayName?: string | null | undefined;
47
- imported?: {
48
- raw: Record<string, any>;
49
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
50
- } | null | undefined;
51
- _id: string;
52
- } | null | undefined;
53
- role: "ADMIN";
54
- userId: string;
55
- }[] | null | undefined;
56
- code: string;
57
- name: string;
58
- _id: string;
59
- isReseller: boolean;
60
- } | null | undefined;
61
- thumbnail?: string | null | undefined;
62
- billingInfos?: {
63
- _id?: string | null | undefined;
64
- name: string;
65
- address: {
66
- coordinates?: number[] | null | undefined;
67
- line2?: string | null | undefined;
68
- state: string;
69
- country: string;
70
- line1: string;
71
- city: string;
72
- postcode: string;
73
- };
74
- email: string;
75
- companyName: string;
76
- contact: string;
77
- }[] | null | undefined;
78
- customerDisplayImages?: {
79
- url: string;
80
- restaurantIds: string[];
81
- }[] | null | undefined;
82
- name: string;
83
- _id: string;
84
- ownerId: string;
85
- restaurantQuota: number;
86
- warehouseQuota: number;
87
- menuVersion: string;
88
- } | null | undefined;
89
16
  _id: string;
90
17
  businessId: string;
91
18
  profile: {
92
- email?: string | null | undefined;
93
- phoneNo?: string | null | undefined;
94
- name: string;
95
- address: {
19
+ code?: string | null | undefined;
20
+ _id?: string | null | undefined;
21
+ name?: string | undefined;
22
+ address?: {
96
23
  coordinates?: number[] | null | undefined;
97
24
  line2?: string | null | undefined;
98
25
  state: string;
@@ -100,97 +27,86 @@ export declare function useLocationStore(): {
100
27
  line1: string;
101
28
  city: string;
102
29
  postcode: string;
103
- };
104
- regNo: string;
30
+ } | undefined;
31
+ email?: string | undefined;
32
+ regNo?: string | undefined;
33
+ sstRegNo?: string | null | undefined;
34
+ phoneNo?: string | undefined;
35
+ legalName?: string | null | undefined;
36
+ discovery?: boolean | null | undefined;
37
+ coverPhoto?: string | null | undefined;
38
+ thumbnailPhoto?: string | null | undefined;
39
+ description?: string | null | undefined;
40
+ photos?: string[] | null | undefined;
41
+ operatingHours?: {
42
+ 0: {
43
+ hours: {
44
+ end: string;
45
+ start: string;
46
+ }[];
47
+ enable: boolean;
48
+ };
49
+ 2: {
50
+ hours: {
51
+ end: string;
52
+ start: string;
53
+ }[];
54
+ enable: boolean;
55
+ };
56
+ 1: {
57
+ hours: {
58
+ end: string;
59
+ start: string;
60
+ }[];
61
+ enable: boolean;
62
+ };
63
+ 3: {
64
+ hours: {
65
+ end: string;
66
+ start: string;
67
+ }[];
68
+ enable: boolean;
69
+ };
70
+ 4: {
71
+ hours: {
72
+ end: string;
73
+ start: string;
74
+ }[];
75
+ enable: boolean;
76
+ };
77
+ 5: {
78
+ hours: {
79
+ end: string;
80
+ start: string;
81
+ }[];
82
+ enable: boolean;
83
+ };
84
+ 6: {
85
+ hours: {
86
+ end: string;
87
+ start: string;
88
+ }[];
89
+ enable: boolean;
90
+ };
91
+ } | null | undefined;
92
+ tags?: string[] | null | undefined;
93
+ url?: string | null | undefined;
105
94
  };
106
95
  };
107
96
  } | null;
108
- _locations: ({
109
- doc?: any;
110
- type: "restaurant";
111
- name: string;
112
- acceptRequest: boolean;
113
- dbName: string;
114
- } | {
115
- type: "warehouse";
97
+ _locations: {
98
+ type: "restaurant" | "warehouse";
116
99
  name: string;
117
100
  acceptRequest: boolean;
118
101
  dbName: string;
119
102
  doc: {
120
- pf_business?: {
121
- internal?: boolean | null | undefined;
122
- url?: string | null | undefined;
123
- expiredAt?: string | null | undefined;
124
- agentId?: string | null | undefined;
125
- attributeSettings?: {
126
- type: "string" | "number" | "boolean" | "date";
127
- key: string;
128
- entity: "restaurant" | "item";
129
- }[] | null | undefined;
130
- pf_agent?: {
131
- clickupId?: string | null | undefined;
132
- members?: {
133
- pf_user?: {
134
- email?: string | null | undefined;
135
- phoneNumber?: string | null | undefined;
136
- birthday?: string | null | undefined;
137
- gender?: "MALE" | "FEMALE" | null | undefined;
138
- addresses?: {
139
- name: string;
140
- address: string;
141
- coordinates: number[];
142
- }[] | null | undefined;
143
- photoURL?: string | null | undefined;
144
- displayName?: string | null | undefined;
145
- imported?: {
146
- raw: Record<string, any>;
147
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
148
- } | null | undefined;
149
- _id: string;
150
- } | null | undefined;
151
- role: "ADMIN";
152
- userId: string;
153
- }[] | null | undefined;
154
- code: string;
155
- name: string;
156
- _id: string;
157
- isReseller: boolean;
158
- } | null | undefined;
159
- thumbnail?: string | null | undefined;
160
- billingInfos?: {
161
- _id?: string | null | undefined;
162
- name: string;
163
- address: {
164
- coordinates?: number[] | null | undefined;
165
- line2?: string | null | undefined;
166
- state: string;
167
- country: string;
168
- line1: string;
169
- city: string;
170
- postcode: string;
171
- };
172
- email: string;
173
- companyName: string;
174
- contact: string;
175
- }[] | null | undefined;
176
- customerDisplayImages?: {
177
- url: string;
178
- restaurantIds: string[];
179
- }[] | null | undefined;
180
- name: string;
181
- _id: string;
182
- ownerId: string;
183
- restaurantQuota: number;
184
- warehouseQuota: number;
185
- menuVersion: string;
186
- } | null | undefined;
187
103
  _id: string;
188
104
  businessId: string;
189
105
  profile: {
190
- email?: string | null | undefined;
191
- phoneNo?: string | null | undefined;
192
- name: string;
193
- address: {
106
+ code?: string | null | undefined;
107
+ _id?: string | null | undefined;
108
+ name?: string | undefined;
109
+ address?: {
194
110
  coordinates?: number[] | null | undefined;
195
111
  line2?: string | null | undefined;
196
112
  state: string;
@@ -198,98 +114,87 @@ export declare function useLocationStore(): {
198
114
  line1: string;
199
115
  city: string;
200
116
  postcode: string;
201
- };
202
- regNo: string;
117
+ } | undefined;
118
+ email?: string | undefined;
119
+ regNo?: string | undefined;
120
+ sstRegNo?: string | null | undefined;
121
+ phoneNo?: string | undefined;
122
+ legalName?: string | null | undefined;
123
+ discovery?: boolean | null | undefined;
124
+ coverPhoto?: string | null | undefined;
125
+ thumbnailPhoto?: string | null | undefined;
126
+ description?: string | null | undefined;
127
+ photos?: string[] | null | undefined;
128
+ operatingHours?: {
129
+ 0: {
130
+ hours: {
131
+ end: string;
132
+ start: string;
133
+ }[];
134
+ enable: boolean;
135
+ };
136
+ 2: {
137
+ hours: {
138
+ end: string;
139
+ start: string;
140
+ }[];
141
+ enable: boolean;
142
+ };
143
+ 1: {
144
+ hours: {
145
+ end: string;
146
+ start: string;
147
+ }[];
148
+ enable: boolean;
149
+ };
150
+ 3: {
151
+ hours: {
152
+ end: string;
153
+ start: string;
154
+ }[];
155
+ enable: boolean;
156
+ };
157
+ 4: {
158
+ hours: {
159
+ end: string;
160
+ start: string;
161
+ }[];
162
+ enable: boolean;
163
+ };
164
+ 5: {
165
+ hours: {
166
+ end: string;
167
+ start: string;
168
+ }[];
169
+ enable: boolean;
170
+ };
171
+ 6: {
172
+ hours: {
173
+ end: string;
174
+ start: string;
175
+ }[];
176
+ enable: boolean;
177
+ };
178
+ } | null | undefined;
179
+ tags?: string[] | null | undefined;
180
+ url?: string | null | undefined;
203
181
  };
204
182
  };
205
- })[] | null;
183
+ }[] | null;
206
184
  readonly state: {
207
185
  _currentLocation: {
208
- doc?: any;
209
- type: "restaurant";
210
- name: string;
211
- acceptRequest: boolean;
212
- dbName: string;
213
- } | {
214
- type: "warehouse";
186
+ type: "restaurant" | "warehouse";
215
187
  name: string;
216
188
  acceptRequest: boolean;
217
189
  dbName: string;
218
190
  doc: {
219
- pf_business?: {
220
- internal?: boolean | null | undefined;
221
- url?: string | null | undefined;
222
- expiredAt?: string | null | undefined;
223
- agentId?: string | null | undefined;
224
- attributeSettings?: {
225
- type: "string" | "number" | "boolean" | "date";
226
- key: string;
227
- entity: "restaurant" | "item";
228
- }[] | null | undefined;
229
- pf_agent?: {
230
- clickupId?: string | null | undefined;
231
- members?: {
232
- pf_user?: {
233
- email?: string | null | undefined;
234
- phoneNumber?: string | null | undefined;
235
- birthday?: string | null | undefined;
236
- gender?: "MALE" | "FEMALE" | null | undefined;
237
- addresses?: {
238
- name: string;
239
- address: string;
240
- coordinates: number[];
241
- }[] | null | undefined;
242
- photoURL?: string | null | undefined;
243
- displayName?: string | null | undefined;
244
- imported?: {
245
- raw: Record<string, any>;
246
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
247
- } | null | undefined;
248
- _id: string;
249
- } | null | undefined;
250
- role: "ADMIN";
251
- userId: string;
252
- }[] | null | undefined;
253
- code: string;
254
- name: string;
255
- _id: string;
256
- isReseller: boolean;
257
- } | null | undefined;
258
- thumbnail?: string | null | undefined;
259
- billingInfos?: {
260
- _id?: string | null | undefined;
261
- name: string;
262
- address: {
263
- coordinates?: number[] | null | undefined;
264
- line2?: string | null | undefined;
265
- state: string;
266
- country: string;
267
- line1: string;
268
- city: string;
269
- postcode: string;
270
- };
271
- email: string;
272
- companyName: string;
273
- contact: string;
274
- }[] | null | undefined;
275
- customerDisplayImages?: {
276
- url: string;
277
- restaurantIds: string[];
278
- }[] | null | undefined;
279
- name: string;
280
- _id: string;
281
- ownerId: string;
282
- restaurantQuota: number;
283
- warehouseQuota: number;
284
- menuVersion: string;
285
- } | null | undefined;
286
191
  _id: string;
287
192
  businessId: string;
288
193
  profile: {
289
- email?: string | null | undefined;
290
- phoneNo?: string | null | undefined;
291
- name: string;
292
- address: {
194
+ code?: string | null | undefined;
195
+ _id?: string | null | undefined;
196
+ name?: string | undefined;
197
+ address?: {
293
198
  coordinates?: number[] | null | undefined;
294
199
  line2?: string | null | undefined;
295
200
  state: string;
@@ -297,97 +202,86 @@ export declare function useLocationStore(): {
297
202
  line1: string;
298
203
  city: string;
299
204
  postcode: string;
300
- };
301
- regNo: string;
205
+ } | undefined;
206
+ email?: string | undefined;
207
+ regNo?: string | undefined;
208
+ sstRegNo?: string | null | undefined;
209
+ phoneNo?: string | undefined;
210
+ legalName?: string | null | undefined;
211
+ discovery?: boolean | null | undefined;
212
+ coverPhoto?: string | null | undefined;
213
+ thumbnailPhoto?: string | null | undefined;
214
+ description?: string | null | undefined;
215
+ photos?: string[] | null | undefined;
216
+ operatingHours?: {
217
+ 0: {
218
+ hours: {
219
+ end: string;
220
+ start: string;
221
+ }[];
222
+ enable: boolean;
223
+ };
224
+ 2: {
225
+ hours: {
226
+ end: string;
227
+ start: string;
228
+ }[];
229
+ enable: boolean;
230
+ };
231
+ 1: {
232
+ hours: {
233
+ end: string;
234
+ start: string;
235
+ }[];
236
+ enable: boolean;
237
+ };
238
+ 3: {
239
+ hours: {
240
+ end: string;
241
+ start: string;
242
+ }[];
243
+ enable: boolean;
244
+ };
245
+ 4: {
246
+ hours: {
247
+ end: string;
248
+ start: string;
249
+ }[];
250
+ enable: boolean;
251
+ };
252
+ 5: {
253
+ hours: {
254
+ end: string;
255
+ start: string;
256
+ }[];
257
+ enable: boolean;
258
+ };
259
+ 6: {
260
+ hours: {
261
+ end: string;
262
+ start: string;
263
+ }[];
264
+ enable: boolean;
265
+ };
266
+ } | null | undefined;
267
+ tags?: string[] | null | undefined;
268
+ url?: string | null | undefined;
302
269
  };
303
270
  };
304
271
  } | null;
305
- _locations: ({
306
- doc?: any;
307
- type: "restaurant";
308
- name: string;
309
- acceptRequest: boolean;
310
- dbName: string;
311
- } | {
312
- type: "warehouse";
272
+ _locations: {
273
+ type: "restaurant" | "warehouse";
313
274
  name: string;
314
275
  acceptRequest: boolean;
315
276
  dbName: string;
316
277
  doc: {
317
- pf_business?: {
318
- internal?: boolean | null | undefined;
319
- url?: string | null | undefined;
320
- expiredAt?: string | null | undefined;
321
- agentId?: string | null | undefined;
322
- attributeSettings?: {
323
- type: "string" | "number" | "boolean" | "date";
324
- key: string;
325
- entity: "restaurant" | "item";
326
- }[] | null | undefined;
327
- pf_agent?: {
328
- clickupId?: string | null | undefined;
329
- members?: {
330
- pf_user?: {
331
- email?: string | null | undefined;
332
- phoneNumber?: string | null | undefined;
333
- birthday?: string | null | undefined;
334
- gender?: "MALE" | "FEMALE" | null | undefined;
335
- addresses?: {
336
- name: string;
337
- address: string;
338
- coordinates: number[];
339
- }[] | null | undefined;
340
- photoURL?: string | null | undefined;
341
- displayName?: string | null | undefined;
342
- imported?: {
343
- raw: Record<string, any>;
344
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
345
- } | null | undefined;
346
- _id: string;
347
- } | null | undefined;
348
- role: "ADMIN";
349
- userId: string;
350
- }[] | null | undefined;
351
- code: string;
352
- name: string;
353
- _id: string;
354
- isReseller: boolean;
355
- } | null | undefined;
356
- thumbnail?: string | null | undefined;
357
- billingInfos?: {
358
- _id?: string | null | undefined;
359
- name: string;
360
- address: {
361
- coordinates?: number[] | null | undefined;
362
- line2?: string | null | undefined;
363
- state: string;
364
- country: string;
365
- line1: string;
366
- city: string;
367
- postcode: string;
368
- };
369
- email: string;
370
- companyName: string;
371
- contact: string;
372
- }[] | null | undefined;
373
- customerDisplayImages?: {
374
- url: string;
375
- restaurantIds: string[];
376
- }[] | null | undefined;
377
- name: string;
378
- _id: string;
379
- ownerId: string;
380
- restaurantQuota: number;
381
- warehouseQuota: number;
382
- menuVersion: string;
383
- } | null | undefined;
384
278
  _id: string;
385
279
  businessId: string;
386
280
  profile: {
387
- email?: string | null | undefined;
388
- phoneNo?: string | null | undefined;
389
- name: string;
390
- address: {
281
+ code?: string | null | undefined;
282
+ _id?: string | null | undefined;
283
+ name?: string | undefined;
284
+ address?: {
391
285
  coordinates?: number[] | null | undefined;
392
286
  line2?: string | null | undefined;
393
287
  state: string;
@@ -395,98 +289,87 @@ export declare function useLocationStore(): {
395
289
  line1: string;
396
290
  city: string;
397
291
  postcode: string;
398
- };
399
- regNo: string;
292
+ } | undefined;
293
+ email?: string | undefined;
294
+ regNo?: string | undefined;
295
+ sstRegNo?: string | null | undefined;
296
+ phoneNo?: string | undefined;
297
+ legalName?: string | null | undefined;
298
+ discovery?: boolean | null | undefined;
299
+ coverPhoto?: string | null | undefined;
300
+ thumbnailPhoto?: string | null | undefined;
301
+ description?: string | null | undefined;
302
+ photos?: string[] | null | undefined;
303
+ operatingHours?: {
304
+ 0: {
305
+ hours: {
306
+ end: string;
307
+ start: string;
308
+ }[];
309
+ enable: boolean;
310
+ };
311
+ 2: {
312
+ hours: {
313
+ end: string;
314
+ start: string;
315
+ }[];
316
+ enable: boolean;
317
+ };
318
+ 1: {
319
+ hours: {
320
+ end: string;
321
+ start: string;
322
+ }[];
323
+ enable: boolean;
324
+ };
325
+ 3: {
326
+ hours: {
327
+ end: string;
328
+ start: string;
329
+ }[];
330
+ enable: boolean;
331
+ };
332
+ 4: {
333
+ hours: {
334
+ end: string;
335
+ start: string;
336
+ }[];
337
+ enable: boolean;
338
+ };
339
+ 5: {
340
+ hours: {
341
+ end: string;
342
+ start: string;
343
+ }[];
344
+ enable: boolean;
345
+ };
346
+ 6: {
347
+ hours: {
348
+ end: string;
349
+ start: string;
350
+ }[];
351
+ enable: boolean;
352
+ };
353
+ } | null | undefined;
354
+ tags?: string[] | null | undefined;
355
+ url?: string | null | undefined;
400
356
  };
401
357
  };
402
- })[] | null;
358
+ }[] | null;
403
359
  };
404
360
  readonly currentLocation: {
405
- doc?: any;
406
- type: "restaurant";
407
- name: string;
408
- acceptRequest: boolean;
409
- dbName: string;
410
- } | {
411
- type: "warehouse";
361
+ type: "restaurant" | "warehouse";
412
362
  name: string;
413
363
  acceptRequest: boolean;
414
364
  dbName: string;
415
365
  doc: {
416
- pf_business?: {
417
- internal?: boolean | null | undefined;
418
- url?: string | null | undefined;
419
- expiredAt?: string | null | undefined;
420
- agentId?: string | null | undefined;
421
- attributeSettings?: {
422
- type: "string" | "number" | "boolean" | "date";
423
- key: string;
424
- entity: "restaurant" | "item";
425
- }[] | null | undefined;
426
- pf_agent?: {
427
- clickupId?: string | null | undefined;
428
- members?: {
429
- pf_user?: {
430
- email?: string | null | undefined;
431
- phoneNumber?: string | null | undefined;
432
- birthday?: string | null | undefined;
433
- gender?: "MALE" | "FEMALE" | null | undefined;
434
- addresses?: {
435
- name: string;
436
- address: string;
437
- coordinates: number[];
438
- }[] | null | undefined;
439
- photoURL?: string | null | undefined;
440
- displayName?: string | null | undefined;
441
- imported?: {
442
- raw: Record<string, any>;
443
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
444
- } | null | undefined;
445
- _id: string;
446
- } | null | undefined;
447
- role: "ADMIN";
448
- userId: string;
449
- }[] | null | undefined;
450
- code: string;
451
- name: string;
452
- _id: string;
453
- isReseller: boolean;
454
- } | null | undefined;
455
- thumbnail?: string | null | undefined;
456
- billingInfos?: {
457
- _id?: string | null | undefined;
458
- name: string;
459
- address: {
460
- coordinates?: number[] | null | undefined;
461
- line2?: string | null | undefined;
462
- state: string;
463
- country: string;
464
- line1: string;
465
- city: string;
466
- postcode: string;
467
- };
468
- email: string;
469
- companyName: string;
470
- contact: string;
471
- }[] | null | undefined;
472
- customerDisplayImages?: {
473
- url: string;
474
- restaurantIds: string[];
475
- }[] | null | undefined;
476
- name: string;
477
- _id: string;
478
- ownerId: string;
479
- restaurantQuota: number;
480
- warehouseQuota: number;
481
- menuVersion: string;
482
- } | null | undefined;
483
366
  _id: string;
484
367
  businessId: string;
485
368
  profile: {
486
- email?: string | null | undefined;
487
- phoneNo?: string | null | undefined;
488
- name: string;
489
- address: {
369
+ code?: string | null | undefined;
370
+ _id?: string | null | undefined;
371
+ name?: string | undefined;
372
+ address?: {
490
373
  coordinates?: number[] | null | undefined;
491
374
  line2?: string | null | undefined;
492
375
  state: string;
@@ -494,100 +377,89 @@ export declare function useLocationStore(): {
494
377
  line1: string;
495
378
  city: string;
496
379
  postcode: string;
497
- };
498
- regNo: string;
380
+ } | undefined;
381
+ email?: string | undefined;
382
+ regNo?: string | undefined;
383
+ sstRegNo?: string | null | undefined;
384
+ phoneNo?: string | undefined;
385
+ legalName?: string | null | undefined;
386
+ discovery?: boolean | null | undefined;
387
+ coverPhoto?: string | null | undefined;
388
+ thumbnailPhoto?: string | null | undefined;
389
+ description?: string | null | undefined;
390
+ photos?: string[] | null | undefined;
391
+ operatingHours?: {
392
+ 0: {
393
+ hours: {
394
+ end: string;
395
+ start: string;
396
+ }[];
397
+ enable: boolean;
398
+ };
399
+ 2: {
400
+ hours: {
401
+ end: string;
402
+ start: string;
403
+ }[];
404
+ enable: boolean;
405
+ };
406
+ 1: {
407
+ hours: {
408
+ end: string;
409
+ start: string;
410
+ }[];
411
+ enable: boolean;
412
+ };
413
+ 3: {
414
+ hours: {
415
+ end: string;
416
+ start: string;
417
+ }[];
418
+ enable: boolean;
419
+ };
420
+ 4: {
421
+ hours: {
422
+ end: string;
423
+ start: string;
424
+ }[];
425
+ enable: boolean;
426
+ };
427
+ 5: {
428
+ hours: {
429
+ end: string;
430
+ start: string;
431
+ }[];
432
+ enable: boolean;
433
+ };
434
+ 6: {
435
+ hours: {
436
+ end: string;
437
+ start: string;
438
+ }[];
439
+ enable: boolean;
440
+ };
441
+ } | null | undefined;
442
+ tags?: string[] | null | undefined;
443
+ url?: string | null | undefined;
499
444
  };
500
445
  };
501
446
  };
502
447
  /** prefixed with restaurant_ or warehouse_ */
503
448
  readonly currentLocationDBName: string;
504
449
  readonly currentLocationId: any;
505
- readonly locations: ({
506
- doc?: any;
507
- type: "restaurant";
508
- name: string;
509
- acceptRequest: boolean;
510
- dbName: string;
511
- } | {
512
- type: "warehouse";
450
+ readonly locations: {
451
+ type: "restaurant" | "warehouse";
513
452
  name: string;
514
453
  acceptRequest: boolean;
515
454
  dbName: string;
516
455
  doc: {
517
- pf_business?: {
518
- internal?: boolean | null | undefined;
519
- url?: string | null | undefined;
520
- expiredAt?: string | null | undefined;
521
- agentId?: string | null | undefined;
522
- attributeSettings?: {
523
- type: "string" | "number" | "boolean" | "date";
524
- key: string;
525
- entity: "restaurant" | "item";
526
- }[] | null | undefined;
527
- pf_agent?: {
528
- clickupId?: string | null | undefined;
529
- members?: {
530
- pf_user?: {
531
- email?: string | null | undefined;
532
- phoneNumber?: string | null | undefined;
533
- birthday?: string | null | undefined;
534
- gender?: "MALE" | "FEMALE" | null | undefined;
535
- addresses?: {
536
- name: string;
537
- address: string;
538
- coordinates: number[];
539
- }[] | null | undefined;
540
- photoURL?: string | null | undefined;
541
- displayName?: string | null | undefined;
542
- imported?: {
543
- raw: Record<string, any>;
544
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
545
- } | null | undefined;
546
- _id: string;
547
- } | null | undefined;
548
- role: "ADMIN";
549
- userId: string;
550
- }[] | null | undefined;
551
- code: string;
552
- name: string;
553
- _id: string;
554
- isReseller: boolean;
555
- } | null | undefined;
556
- thumbnail?: string | null | undefined;
557
- billingInfos?: {
558
- _id?: string | null | undefined;
559
- name: string;
560
- address: {
561
- coordinates?: number[] | null | undefined;
562
- line2?: string | null | undefined;
563
- state: string;
564
- country: string;
565
- line1: string;
566
- city: string;
567
- postcode: string;
568
- };
569
- email: string;
570
- companyName: string;
571
- contact: string;
572
- }[] | null | undefined;
573
- customerDisplayImages?: {
574
- url: string;
575
- restaurantIds: string[];
576
- }[] | null | undefined;
577
- name: string;
578
- _id: string;
579
- ownerId: string;
580
- restaurantQuota: number;
581
- warehouseQuota: number;
582
- menuVersion: string;
583
- } | null | undefined;
584
456
  _id: string;
585
457
  businessId: string;
586
458
  profile: {
587
- email?: string | null | undefined;
588
- phoneNo?: string | null | undefined;
589
- name: string;
590
- address: {
459
+ code?: string | null | undefined;
460
+ _id?: string | null | undefined;
461
+ name?: string | undefined;
462
+ address?: {
591
463
  coordinates?: number[] | null | undefined;
592
464
  line2?: string | null | undefined;
593
465
  state: string;
@@ -595,11 +467,73 @@ export declare function useLocationStore(): {
595
467
  line1: string;
596
468
  city: string;
597
469
  postcode: string;
598
- };
599
- regNo: string;
470
+ } | undefined;
471
+ email?: string | undefined;
472
+ regNo?: string | undefined;
473
+ sstRegNo?: string | null | undefined;
474
+ phoneNo?: string | undefined;
475
+ legalName?: string | null | undefined;
476
+ discovery?: boolean | null | undefined;
477
+ coverPhoto?: string | null | undefined;
478
+ thumbnailPhoto?: string | null | undefined;
479
+ description?: string | null | undefined;
480
+ photos?: string[] | null | undefined;
481
+ operatingHours?: {
482
+ 0: {
483
+ hours: {
484
+ end: string;
485
+ start: string;
486
+ }[];
487
+ enable: boolean;
488
+ };
489
+ 2: {
490
+ hours: {
491
+ end: string;
492
+ start: string;
493
+ }[];
494
+ enable: boolean;
495
+ };
496
+ 1: {
497
+ hours: {
498
+ end: string;
499
+ start: string;
500
+ }[];
501
+ enable: boolean;
502
+ };
503
+ 3: {
504
+ hours: {
505
+ end: string;
506
+ start: string;
507
+ }[];
508
+ enable: boolean;
509
+ };
510
+ 4: {
511
+ hours: {
512
+ end: string;
513
+ start: string;
514
+ }[];
515
+ enable: boolean;
516
+ };
517
+ 5: {
518
+ hours: {
519
+ end: string;
520
+ start: string;
521
+ }[];
522
+ enable: boolean;
523
+ };
524
+ 6: {
525
+ hours: {
526
+ end: string;
527
+ start: string;
528
+ }[];
529
+ enable: boolean;
530
+ };
531
+ } | null | undefined;
532
+ tags?: string[] | null | undefined;
533
+ url?: string | null | undefined;
600
534
  };
601
535
  };
602
- })[];
536
+ }[];
603
537
  businessLevel: boolean;
604
538
  watchLocation(callback: (location?: InventoryLocation | null) => Promise<void>): void;
605
539
  readLocations(): Promise<void>;