@feedmepos/mf-inventory-portal 0.0.21-dev.7 → 0.0.22-dev.1

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-BYJfdiYM.js → ApprovalView-CtH8I01g.js} +4 -4
  2. package/dist/{BindingsDialog-BryZK4Tg.js → BindingsDialog-DFrk_fyd.js} +1 -1
  3. package/dist/{BindingsPicker-IWAltg_U.js → BindingsPicker-400gISaV.js} +1 -1
  4. package/dist/{BindingsTable-DDwukKAy.js → BindingsTable-CnFKI6iP.js} +1 -1
  5. package/dist/ClosingTemplateView--8m8cua_.js +919 -0
  6. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CLBgszfX.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B9RU_arW.js} +1 -1
  7. package/dist/{IngredientsView-DgSzNCNX.js → IngredientsView-CRTAgKJz.js} +3 -3
  8. package/dist/{IntegrationView-BtXzjG3j.js → IntegrationView-CNFTKqjk.js} +2 -2
  9. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-sPzZAvKH.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-VkiVLx1K.js} +1 -1
  10. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BYX1ubPe.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DkZrgqyr.js} +1 -1
  11. package/dist/{PurchaseOrderPrintPreview-Ke1-hYgN.js → PurchaseOrderPrintPreview-CJli-_Vn.js} +1 -1
  12. package/dist/{ReceiveRequestView-CE9BFQn3.js → ReceiveRequestView-DV_GDzJG.js} +6 -6
  13. package/dist/{RecipeView-K3f9W_AV.js → RecipeView-CTm_7oNG.js} +3 -3
  14. package/dist/{StockView-BH3wK8AT.js → StockView-DtHT2ulM.js} +6 -6
  15. package/dist/{SupplierView-DwVN-3IQ.js → SupplierView-B9A5R2Vm.js} +3 -3
  16. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-B0Vdby5t.js → TransferDetails.vue_vue_type_script_setup_true_lang-mUNCQTNw.js} +40 -39
  17. package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-DijNNVgt.js → TransferDialog.vue_vue_type_script_setup_true_lang-BwkUuXqj.js} +493 -501
  18. package/dist/{TransferTemplateView-ikRXcgOO.js → TransferTemplateView-DnyenkGu.js} +454 -498
  19. package/dist/{UnitView-yexlK1KM.js → UnitView-BL-jtVuZ.js} +4 -4
  20. package/dist/{WarehouseView-BjBJrjbZ.js → WarehouseView-BkUv1792.js} +2 -2
  21. package/dist/api/closing-template.d.ts +7 -0
  22. package/dist/{app-BD7MP1Oe.js → app-C-z1MfF6.js} +3992 -3929
  23. package/dist/app.d.ts +35 -0
  24. package/dist/app.js +1 -1
  25. package/dist/{decimal-Ct-e_mRV.js → decimal-DZz-_lgE.js} +1 -1
  26. package/dist/defineDeepModel-7VQajdPt.js +13 -0
  27. package/dist/format-time-from-id-9XFszs1J.js +15 -0
  28. package/dist/{id-to-date-Chhy1kB3.js → id-to-date-Bkue77uI.js} +1 -1
  29. package/dist/layout/layout-routes.d.ts +0 -1
  30. package/dist/{purchase-order-transaction-type-Bqu6bNsx.js → purchase-order-transaction-type-DHzMBgFs.js} +90 -101
  31. package/dist/router/name.d.ts +1 -0
  32. package/dist/style.css +1 -1
  33. package/dist/{supplier-DErisCtS.js → supplier-C6YWXF2Y.js} +1 -1
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/use-template-enabled-locations-CFCfbaOd.js +57 -0
  36. package/dist/views/closing-template/ClosingTemplateView.vue.d.ts +2 -0
  37. package/dist/views/closing-template/components/closing-template-details/ClosingTemplateDetails.vue.d.ts +2 -0
  38. package/dist/views/closing-template/components/closing-template-details/ClosingTemplateDetailsProps.d.ts +8 -0
  39. package/dist/views/closing-template/components/closing-template-dialog/ClosingTemplateDialog.vue.d.ts +22 -0
  40. package/dist/views/closing-template/components/closing-template-dialog/ClosingTemplateDialogProps.d.ts +10 -0
  41. package/dist/views/closing-template/components/closing-template-form/ClosingTemplateForm.vue.d.ts +16 -0
  42. package/dist/views/closing-template/components/closing-template-form/ClosingTemplateFormProps.d.ts +7 -0
  43. package/dist/views/closing-template/components/closing-template-form/components/ClosingTemplateItem.vue.d.ts +18 -0
  44. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +79 -0
  45. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +2165 -0
  46. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +2084 -0
  47. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +1 -1
  48. package/dist/{xlsx-DyScN5Bf.js → xlsx-Dl6dAHFx.js} +1 -1
  49. package/dist/{xlsx.util-DEyeAnEa.js → xlsx.util-C1tUhDb8.js} +2 -2
  50. package/package.json +3 -3
@@ -0,0 +1,2084 @@
1
+ import { type ColumnDef } from '@feedmepos/ui-library';
2
+ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"closingTable", Pick<{
3
+ columnDefs: ColumnDef<{
4
+ ref?: string | null | undefined;
5
+ _rev?: string | null | undefined;
6
+ locations?: ({
7
+ doc?: any;
8
+ type: "restaurant";
9
+ name: string;
10
+ acceptRequest: boolean;
11
+ dbName: string;
12
+ } | {
13
+ type: "warehouse";
14
+ name: string;
15
+ acceptRequest: boolean;
16
+ dbName: string;
17
+ doc: {
18
+ pf_business?: {
19
+ internal?: boolean | null | undefined;
20
+ url?: string | null | undefined;
21
+ expiredAt?: string | null | undefined;
22
+ agentId?: string | null | undefined;
23
+ restaurantTagGroups?: {
24
+ name: string;
25
+ id: string;
26
+ tags: {
27
+ name: string;
28
+ id: string;
29
+ }[];
30
+ }[] | null | undefined;
31
+ pf_agent?: {
32
+ clickupId?: string | null | undefined;
33
+ members?: {
34
+ pf_user?: {
35
+ email?: string | null | undefined;
36
+ phoneNumber?: string | null | undefined;
37
+ birthday?: string | null | undefined;
38
+ gender?: "MALE" | "FEMALE" | null | undefined;
39
+ addresses?: {
40
+ name: string;
41
+ address: string;
42
+ coordinates: number[];
43
+ }[] | null | undefined;
44
+ photoURL?: string | null | undefined;
45
+ displayName?: string | null | undefined;
46
+ imported?: {
47
+ raw: Record<string, any>;
48
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
49
+ } | null | undefined;
50
+ _id: string;
51
+ } | null | undefined;
52
+ role: "ADMIN";
53
+ userId: string;
54
+ }[] | null | undefined;
55
+ code: string;
56
+ name: string;
57
+ _id: string;
58
+ isReseller: boolean;
59
+ } | null | undefined;
60
+ thumbnail?: string | null | undefined;
61
+ billingInfos?: {
62
+ _id?: string | null | undefined;
63
+ name: string;
64
+ address: {
65
+ coordinates?: number[] | null | undefined;
66
+ line2?: string | null | undefined;
67
+ state: string;
68
+ country: string;
69
+ line1: string;
70
+ city: string;
71
+ postcode: string;
72
+ };
73
+ email: string;
74
+ companyName: string;
75
+ contact: string;
76
+ }[] | null | undefined;
77
+ customerDisplayImages?: {
78
+ url: string;
79
+ restaurantIds: string[];
80
+ }[] | null | undefined;
81
+ name: string;
82
+ _id: string;
83
+ ownerId: string;
84
+ restaurantQuota: number;
85
+ warehouseQuota: number;
86
+ menuVersion: string;
87
+ } | null | undefined;
88
+ _id: string;
89
+ businessId: string;
90
+ profile: {
91
+ email?: string | null | undefined;
92
+ phoneNo?: string | null | undefined;
93
+ name: string;
94
+ address: {
95
+ coordinates?: number[] | null | undefined;
96
+ line2?: string | null | undefined;
97
+ state: string;
98
+ country: string;
99
+ line1: string;
100
+ city: string;
101
+ postcode: string;
102
+ };
103
+ regNo: string;
104
+ };
105
+ };
106
+ })[] | null | undefined;
107
+ _id: string;
108
+ items: {
109
+ disabledMeasurements?: string[] | null | undefined;
110
+ sku: {
111
+ trackingMeasurement?: string | null | undefined;
112
+ convert?: {
113
+ measurement?: string | null | undefined;
114
+ inventoryBindings?: {
115
+ measurement?: {
116
+ id: string;
117
+ name: string;
118
+ abbrev: string;
119
+ conversion: {
120
+ amount: number;
121
+ precision: number;
122
+ };
123
+ } | null | undefined;
124
+ type: "RECIPE" | "SKU";
125
+ amount: {
126
+ amount: number;
127
+ precision: number;
128
+ };
129
+ id: string;
130
+ }[] | null | undefined;
131
+ } | null | undefined;
132
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
133
+ defaultCost?: {
134
+ measurement?: {
135
+ id: string;
136
+ name: string;
137
+ abbrev: string;
138
+ conversion: {
139
+ amount: number;
140
+ precision: number;
141
+ };
142
+ } | null | undefined;
143
+ costPerUnit: {
144
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
145
+ amount: number;
146
+ precision: number;
147
+ };
148
+ } | null | undefined;
149
+ thresholds?: {
150
+ low: number;
151
+ mid: number;
152
+ } | null | undefined;
153
+ operationalGroup?: string | null | undefined;
154
+ unit: {
155
+ _id: string;
156
+ name: string;
157
+ abbrev: string;
158
+ precision: number;
159
+ measurements: {
160
+ id: string;
161
+ name: string;
162
+ abbrev: string;
163
+ conversion: {
164
+ amount: number;
165
+ precision: number;
166
+ };
167
+ }[];
168
+ };
169
+ code: string;
170
+ _id: string;
171
+ name: string;
172
+ };
173
+ }[];
174
+ name: string;
175
+ }>[];
176
+ templates: import("vue").Ref<{
177
+ ref?: string | null | undefined;
178
+ _rev?: string | null | undefined;
179
+ locations?: ({
180
+ doc?: any;
181
+ type: "restaurant";
182
+ name: string;
183
+ acceptRequest: boolean;
184
+ dbName: string;
185
+ } | {
186
+ type: "warehouse";
187
+ name: string;
188
+ acceptRequest: boolean;
189
+ dbName: string;
190
+ doc: {
191
+ pf_business?: {
192
+ internal?: boolean | null | undefined;
193
+ url?: string | null | undefined;
194
+ expiredAt?: string | null | undefined;
195
+ agentId?: string | null | undefined;
196
+ restaurantTagGroups?: {
197
+ name: string;
198
+ id: string;
199
+ tags: {
200
+ name: string;
201
+ id: string;
202
+ }[];
203
+ }[] | null | undefined;
204
+ pf_agent?: {
205
+ clickupId?: string | null | undefined;
206
+ members?: {
207
+ pf_user?: {
208
+ email?: string | null | undefined;
209
+ phoneNumber?: string | null | undefined;
210
+ birthday?: string | null | undefined;
211
+ gender?: "MALE" | "FEMALE" | null | undefined;
212
+ addresses?: {
213
+ name: string;
214
+ address: string;
215
+ coordinates: number[];
216
+ }[] | null | undefined;
217
+ photoURL?: string | null | undefined;
218
+ displayName?: string | null | undefined;
219
+ imported?: {
220
+ raw: Record<string, any>;
221
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
222
+ } | null | undefined;
223
+ _id: string;
224
+ } | null | undefined;
225
+ role: "ADMIN";
226
+ userId: string;
227
+ }[] | null | undefined;
228
+ code: string;
229
+ name: string;
230
+ _id: string;
231
+ isReseller: boolean;
232
+ } | null | undefined;
233
+ thumbnail?: string | null | undefined;
234
+ billingInfos?: {
235
+ _id?: string | null | undefined;
236
+ name: string;
237
+ address: {
238
+ coordinates?: number[] | null | undefined;
239
+ line2?: string | null | undefined;
240
+ state: string;
241
+ country: string;
242
+ line1: string;
243
+ city: string;
244
+ postcode: string;
245
+ };
246
+ email: string;
247
+ companyName: string;
248
+ contact: string;
249
+ }[] | null | undefined;
250
+ customerDisplayImages?: {
251
+ url: string;
252
+ restaurantIds: string[];
253
+ }[] | null | undefined;
254
+ name: string;
255
+ _id: string;
256
+ ownerId: string;
257
+ restaurantQuota: number;
258
+ warehouseQuota: number;
259
+ menuVersion: string;
260
+ } | null | undefined;
261
+ _id: string;
262
+ businessId: string;
263
+ profile: {
264
+ email?: string | null | undefined;
265
+ phoneNo?: string | null | undefined;
266
+ name: string;
267
+ address: {
268
+ coordinates?: number[] | null | undefined;
269
+ line2?: string | null | undefined;
270
+ state: string;
271
+ country: string;
272
+ line1: string;
273
+ city: string;
274
+ postcode: string;
275
+ };
276
+ regNo: string;
277
+ };
278
+ };
279
+ })[] | null | undefined;
280
+ _id: string;
281
+ items: {
282
+ disabledMeasurements?: string[] | null | undefined;
283
+ sku: {
284
+ trackingMeasurement?: string | null | undefined;
285
+ convert?: {
286
+ measurement?: string | null | undefined;
287
+ inventoryBindings?: {
288
+ measurement?: {
289
+ id: string;
290
+ name: string;
291
+ abbrev: string;
292
+ conversion: {
293
+ amount: number;
294
+ precision: number;
295
+ };
296
+ } | null | undefined;
297
+ type: "RECIPE" | "SKU";
298
+ amount: {
299
+ amount: number;
300
+ precision: number;
301
+ };
302
+ id: string;
303
+ }[] | null | undefined;
304
+ } | null | undefined;
305
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
306
+ defaultCost?: {
307
+ measurement?: {
308
+ id: string;
309
+ name: string;
310
+ abbrev: string;
311
+ conversion: {
312
+ amount: number;
313
+ precision: number;
314
+ };
315
+ } | null | undefined;
316
+ costPerUnit: {
317
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
318
+ amount: number;
319
+ precision: number;
320
+ };
321
+ } | null | undefined;
322
+ thresholds?: {
323
+ low: number;
324
+ mid: number;
325
+ } | null | undefined;
326
+ operationalGroup?: string | null | undefined;
327
+ unit: {
328
+ _id: string;
329
+ name: string;
330
+ abbrev: string;
331
+ precision: number;
332
+ measurements: {
333
+ id: string;
334
+ name: string;
335
+ abbrev: string;
336
+ conversion: {
337
+ amount: number;
338
+ precision: number;
339
+ };
340
+ }[];
341
+ };
342
+ code: string;
343
+ _id: string;
344
+ name: string;
345
+ };
346
+ }[];
347
+ name: string;
348
+ }[], {
349
+ ref?: string | null | undefined;
350
+ _rev?: string | null | undefined;
351
+ locations?: ({
352
+ doc?: any;
353
+ type: "restaurant";
354
+ name: string;
355
+ acceptRequest: boolean;
356
+ dbName: string;
357
+ } | {
358
+ type: "warehouse";
359
+ name: string;
360
+ acceptRequest: boolean;
361
+ dbName: string;
362
+ doc: {
363
+ pf_business?: {
364
+ internal?: boolean | null | undefined;
365
+ url?: string | null | undefined;
366
+ expiredAt?: string | null | undefined;
367
+ agentId?: string | null | undefined;
368
+ restaurantTagGroups?: {
369
+ name: string;
370
+ id: string;
371
+ tags: {
372
+ name: string;
373
+ id: string;
374
+ }[];
375
+ }[] | null | undefined;
376
+ pf_agent?: {
377
+ clickupId?: string | null | undefined;
378
+ members?: {
379
+ pf_user?: {
380
+ email?: string | null | undefined;
381
+ phoneNumber?: string | null | undefined;
382
+ birthday?: string | null | undefined;
383
+ gender?: "MALE" | "FEMALE" | null | undefined;
384
+ addresses?: {
385
+ name: string;
386
+ address: string;
387
+ coordinates: number[];
388
+ }[] | null | undefined;
389
+ photoURL?: string | null | undefined;
390
+ displayName?: string | null | undefined;
391
+ imported?: {
392
+ raw: Record<string, any>;
393
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
394
+ } | null | undefined;
395
+ _id: string;
396
+ } | null | undefined;
397
+ role: "ADMIN";
398
+ userId: string;
399
+ }[] | null | undefined;
400
+ code: string;
401
+ name: string;
402
+ _id: string;
403
+ isReseller: boolean;
404
+ } | null | undefined;
405
+ thumbnail?: string | null | undefined;
406
+ billingInfos?: {
407
+ _id?: string | null | undefined;
408
+ name: string;
409
+ address: {
410
+ coordinates?: number[] | null | undefined;
411
+ line2?: string | null | undefined;
412
+ state: string;
413
+ country: string;
414
+ line1: string;
415
+ city: string;
416
+ postcode: string;
417
+ };
418
+ email: string;
419
+ companyName: string;
420
+ contact: string;
421
+ }[] | null | undefined;
422
+ customerDisplayImages?: {
423
+ url: string;
424
+ restaurantIds: string[];
425
+ }[] | null | undefined;
426
+ name: string;
427
+ _id: string;
428
+ ownerId: string;
429
+ restaurantQuota: number;
430
+ warehouseQuota: number;
431
+ menuVersion: string;
432
+ } | null | undefined;
433
+ _id: string;
434
+ businessId: string;
435
+ profile: {
436
+ email?: string | null | undefined;
437
+ phoneNo?: string | null | undefined;
438
+ name: string;
439
+ address: {
440
+ coordinates?: number[] | null | undefined;
441
+ line2?: string | null | undefined;
442
+ state: string;
443
+ country: string;
444
+ line1: string;
445
+ city: string;
446
+ postcode: string;
447
+ };
448
+ regNo: string;
449
+ };
450
+ };
451
+ })[] | null | undefined;
452
+ _id: string;
453
+ items: {
454
+ disabledMeasurements?: string[] | null | undefined;
455
+ sku: {
456
+ trackingMeasurement?: string | null | undefined;
457
+ convert?: {
458
+ measurement?: string | null | undefined;
459
+ inventoryBindings?: {
460
+ measurement?: {
461
+ id: string;
462
+ name: string;
463
+ abbrev: string;
464
+ conversion: {
465
+ amount: number;
466
+ precision: number;
467
+ };
468
+ } | null | undefined;
469
+ type: "RECIPE" | "SKU";
470
+ amount: {
471
+ amount: number;
472
+ precision: number;
473
+ };
474
+ id: string;
475
+ }[] | null | undefined;
476
+ } | null | undefined;
477
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
478
+ defaultCost?: {
479
+ measurement?: {
480
+ id: string;
481
+ name: string;
482
+ abbrev: string;
483
+ conversion: {
484
+ amount: number;
485
+ precision: number;
486
+ };
487
+ } | null | undefined;
488
+ costPerUnit: {
489
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
490
+ amount: number;
491
+ precision: number;
492
+ };
493
+ } | null | undefined;
494
+ thresholds?: {
495
+ low: number;
496
+ mid: number;
497
+ } | null | undefined;
498
+ operationalGroup?: string | null | undefined;
499
+ unit: {
500
+ _id: string;
501
+ name: string;
502
+ abbrev: string;
503
+ precision: number;
504
+ measurements: {
505
+ id: string;
506
+ name: string;
507
+ abbrev: string;
508
+ conversion: {
509
+ amount: number;
510
+ precision: number;
511
+ };
512
+ }[];
513
+ };
514
+ code: string;
515
+ _id: string;
516
+ name: string;
517
+ };
518
+ }[];
519
+ name: string;
520
+ }[] | {
521
+ ref?: string | null | undefined;
522
+ _rev?: string | null | undefined;
523
+ locations?: ({
524
+ doc?: any;
525
+ type: "restaurant";
526
+ name: string;
527
+ acceptRequest: boolean;
528
+ dbName: string;
529
+ } | {
530
+ type: "warehouse";
531
+ name: string;
532
+ acceptRequest: boolean;
533
+ dbName: string;
534
+ doc: {
535
+ pf_business?: {
536
+ internal?: boolean | null | undefined;
537
+ url?: string | null | undefined;
538
+ expiredAt?: string | null | undefined;
539
+ agentId?: string | null | undefined;
540
+ restaurantTagGroups?: {
541
+ name: string;
542
+ id: string;
543
+ tags: {
544
+ name: string;
545
+ id: string;
546
+ }[];
547
+ }[] | null | undefined;
548
+ pf_agent?: {
549
+ clickupId?: string | null | undefined;
550
+ members?: {
551
+ pf_user?: {
552
+ email?: string | null | undefined;
553
+ phoneNumber?: string | null | undefined;
554
+ birthday?: string | null | undefined;
555
+ gender?: "MALE" | "FEMALE" | null | undefined;
556
+ addresses?: {
557
+ name: string;
558
+ address: string;
559
+ coordinates: number[];
560
+ }[] | null | undefined;
561
+ photoURL?: string | null | undefined;
562
+ displayName?: string | null | undefined;
563
+ imported?: {
564
+ raw: Record<string, any>;
565
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
566
+ } | null | undefined;
567
+ _id: string;
568
+ } | null | undefined;
569
+ role: "ADMIN";
570
+ userId: string;
571
+ }[] | null | undefined;
572
+ code: string;
573
+ name: string;
574
+ _id: string;
575
+ isReseller: boolean;
576
+ } | null | undefined;
577
+ thumbnail?: string | null | undefined;
578
+ billingInfos?: {
579
+ _id?: string | null | undefined;
580
+ name: string;
581
+ address: {
582
+ coordinates?: number[] | null | undefined;
583
+ line2?: string | null | undefined;
584
+ state: string;
585
+ country: string;
586
+ line1: string;
587
+ city: string;
588
+ postcode: string;
589
+ };
590
+ email: string;
591
+ companyName: string;
592
+ contact: string;
593
+ }[] | null | undefined;
594
+ customerDisplayImages?: {
595
+ url: string;
596
+ restaurantIds: string[];
597
+ }[] | null | undefined;
598
+ name: string;
599
+ _id: string;
600
+ ownerId: string;
601
+ restaurantQuota: number;
602
+ warehouseQuota: number;
603
+ menuVersion: string;
604
+ } | null | undefined;
605
+ _id: string;
606
+ businessId: string;
607
+ profile: {
608
+ email?: string | null | undefined;
609
+ phoneNo?: string | null | undefined;
610
+ name: string;
611
+ address: {
612
+ coordinates?: number[] | null | undefined;
613
+ line2?: string | null | undefined;
614
+ state: string;
615
+ country: string;
616
+ line1: string;
617
+ city: string;
618
+ postcode: string;
619
+ };
620
+ regNo: string;
621
+ };
622
+ };
623
+ })[] | null | undefined;
624
+ _id: string;
625
+ items: {
626
+ disabledMeasurements?: string[] | null | undefined;
627
+ sku: {
628
+ trackingMeasurement?: string | null | undefined;
629
+ convert?: {
630
+ measurement?: string | null | undefined;
631
+ inventoryBindings?: {
632
+ measurement?: {
633
+ id: string;
634
+ name: string;
635
+ abbrev: string;
636
+ conversion: {
637
+ amount: number;
638
+ precision: number;
639
+ };
640
+ } | null | undefined;
641
+ type: "RECIPE" | "SKU";
642
+ amount: {
643
+ amount: number;
644
+ precision: number;
645
+ };
646
+ id: string;
647
+ }[] | null | undefined;
648
+ } | null | undefined;
649
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
650
+ defaultCost?: {
651
+ measurement?: {
652
+ id: string;
653
+ name: string;
654
+ abbrev: string;
655
+ conversion: {
656
+ amount: number;
657
+ precision: number;
658
+ };
659
+ } | null | undefined;
660
+ costPerUnit: {
661
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
662
+ amount: number;
663
+ precision: number;
664
+ };
665
+ } | null | undefined;
666
+ thresholds?: {
667
+ low: number;
668
+ mid: number;
669
+ } | null | undefined;
670
+ operationalGroup?: string | null | undefined;
671
+ unit: {
672
+ _id: string;
673
+ name: string;
674
+ abbrev: string;
675
+ precision: number;
676
+ measurements: {
677
+ id: string;
678
+ name: string;
679
+ abbrev: string;
680
+ conversion: {
681
+ amount: number;
682
+ precision: number;
683
+ };
684
+ }[];
685
+ };
686
+ code: string;
687
+ _id: string;
688
+ name: string;
689
+ };
690
+ }[];
691
+ name: string;
692
+ }[]>;
693
+ loading: import("vue").Ref<boolean, boolean>;
694
+ fetchTemplates: () => Promise<void>;
695
+ loadTemplate: (templateId: string) => Promise<void>;
696
+ }, "loading" | "columnDefs" | "templates">, Pick<{
697
+ columnDefs: ColumnDef<{
698
+ ref?: string | null | undefined;
699
+ _rev?: string | null | undefined;
700
+ locations?: ({
701
+ doc?: any;
702
+ type: "restaurant";
703
+ name: string;
704
+ acceptRequest: boolean;
705
+ dbName: string;
706
+ } | {
707
+ type: "warehouse";
708
+ name: string;
709
+ acceptRequest: boolean;
710
+ dbName: string;
711
+ doc: {
712
+ pf_business?: {
713
+ internal?: boolean | null | undefined;
714
+ url?: string | null | undefined;
715
+ expiredAt?: string | null | undefined;
716
+ agentId?: string | null | undefined;
717
+ restaurantTagGroups?: {
718
+ name: string;
719
+ id: string;
720
+ tags: {
721
+ name: string;
722
+ id: string;
723
+ }[];
724
+ }[] | null | undefined;
725
+ pf_agent?: {
726
+ clickupId?: string | null | undefined;
727
+ members?: {
728
+ pf_user?: {
729
+ email?: string | null | undefined;
730
+ phoneNumber?: string | null | undefined;
731
+ birthday?: string | null | undefined;
732
+ gender?: "MALE" | "FEMALE" | null | undefined;
733
+ addresses?: {
734
+ name: string;
735
+ address: string;
736
+ coordinates: number[];
737
+ }[] | null | undefined;
738
+ photoURL?: string | null | undefined;
739
+ displayName?: string | null | undefined;
740
+ imported?: {
741
+ raw: Record<string, any>;
742
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
743
+ } | null | undefined;
744
+ _id: string;
745
+ } | null | undefined;
746
+ role: "ADMIN";
747
+ userId: string;
748
+ }[] | null | undefined;
749
+ code: string;
750
+ name: string;
751
+ _id: string;
752
+ isReseller: boolean;
753
+ } | null | undefined;
754
+ thumbnail?: string | null | undefined;
755
+ billingInfos?: {
756
+ _id?: string | null | undefined;
757
+ name: string;
758
+ address: {
759
+ coordinates?: number[] | null | undefined;
760
+ line2?: string | null | undefined;
761
+ state: string;
762
+ country: string;
763
+ line1: string;
764
+ city: string;
765
+ postcode: string;
766
+ };
767
+ email: string;
768
+ companyName: string;
769
+ contact: string;
770
+ }[] | null | undefined;
771
+ customerDisplayImages?: {
772
+ url: string;
773
+ restaurantIds: string[];
774
+ }[] | null | undefined;
775
+ name: string;
776
+ _id: string;
777
+ ownerId: string;
778
+ restaurantQuota: number;
779
+ warehouseQuota: number;
780
+ menuVersion: string;
781
+ } | null | undefined;
782
+ _id: string;
783
+ businessId: string;
784
+ profile: {
785
+ email?: string | null | undefined;
786
+ phoneNo?: string | null | undefined;
787
+ name: string;
788
+ address: {
789
+ coordinates?: number[] | null | undefined;
790
+ line2?: string | null | undefined;
791
+ state: string;
792
+ country: string;
793
+ line1: string;
794
+ city: string;
795
+ postcode: string;
796
+ };
797
+ regNo: string;
798
+ };
799
+ };
800
+ })[] | null | undefined;
801
+ _id: string;
802
+ items: {
803
+ disabledMeasurements?: string[] | null | undefined;
804
+ sku: {
805
+ trackingMeasurement?: string | null | undefined;
806
+ convert?: {
807
+ measurement?: string | null | undefined;
808
+ inventoryBindings?: {
809
+ measurement?: {
810
+ id: string;
811
+ name: string;
812
+ abbrev: string;
813
+ conversion: {
814
+ amount: number;
815
+ precision: number;
816
+ };
817
+ } | null | undefined;
818
+ type: "RECIPE" | "SKU";
819
+ amount: {
820
+ amount: number;
821
+ precision: number;
822
+ };
823
+ id: string;
824
+ }[] | null | undefined;
825
+ } | null | undefined;
826
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
827
+ defaultCost?: {
828
+ measurement?: {
829
+ id: string;
830
+ name: string;
831
+ abbrev: string;
832
+ conversion: {
833
+ amount: number;
834
+ precision: number;
835
+ };
836
+ } | null | undefined;
837
+ costPerUnit: {
838
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
839
+ amount: number;
840
+ precision: number;
841
+ };
842
+ } | null | undefined;
843
+ thresholds?: {
844
+ low: number;
845
+ mid: number;
846
+ } | null | undefined;
847
+ operationalGroup?: string | null | undefined;
848
+ unit: {
849
+ _id: string;
850
+ name: string;
851
+ abbrev: string;
852
+ precision: number;
853
+ measurements: {
854
+ id: string;
855
+ name: string;
856
+ abbrev: string;
857
+ conversion: {
858
+ amount: number;
859
+ precision: number;
860
+ };
861
+ }[];
862
+ };
863
+ code: string;
864
+ _id: string;
865
+ name: string;
866
+ };
867
+ }[];
868
+ name: string;
869
+ }>[];
870
+ templates: import("vue").Ref<{
871
+ ref?: string | null | undefined;
872
+ _rev?: string | null | undefined;
873
+ locations?: ({
874
+ doc?: any;
875
+ type: "restaurant";
876
+ name: string;
877
+ acceptRequest: boolean;
878
+ dbName: string;
879
+ } | {
880
+ type: "warehouse";
881
+ name: string;
882
+ acceptRequest: boolean;
883
+ dbName: string;
884
+ doc: {
885
+ pf_business?: {
886
+ internal?: boolean | null | undefined;
887
+ url?: string | null | undefined;
888
+ expiredAt?: string | null | undefined;
889
+ agentId?: string | null | undefined;
890
+ restaurantTagGroups?: {
891
+ name: string;
892
+ id: string;
893
+ tags: {
894
+ name: string;
895
+ id: string;
896
+ }[];
897
+ }[] | null | undefined;
898
+ pf_agent?: {
899
+ clickupId?: string | null | undefined;
900
+ members?: {
901
+ pf_user?: {
902
+ email?: string | null | undefined;
903
+ phoneNumber?: string | null | undefined;
904
+ birthday?: string | null | undefined;
905
+ gender?: "MALE" | "FEMALE" | null | undefined;
906
+ addresses?: {
907
+ name: string;
908
+ address: string;
909
+ coordinates: number[];
910
+ }[] | null | undefined;
911
+ photoURL?: string | null | undefined;
912
+ displayName?: string | null | undefined;
913
+ imported?: {
914
+ raw: Record<string, any>;
915
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
916
+ } | null | undefined;
917
+ _id: string;
918
+ } | null | undefined;
919
+ role: "ADMIN";
920
+ userId: string;
921
+ }[] | null | undefined;
922
+ code: string;
923
+ name: string;
924
+ _id: string;
925
+ isReseller: boolean;
926
+ } | null | undefined;
927
+ thumbnail?: string | null | undefined;
928
+ billingInfos?: {
929
+ _id?: string | null | undefined;
930
+ name: string;
931
+ address: {
932
+ coordinates?: number[] | null | undefined;
933
+ line2?: string | null | undefined;
934
+ state: string;
935
+ country: string;
936
+ line1: string;
937
+ city: string;
938
+ postcode: string;
939
+ };
940
+ email: string;
941
+ companyName: string;
942
+ contact: string;
943
+ }[] | null | undefined;
944
+ customerDisplayImages?: {
945
+ url: string;
946
+ restaurantIds: string[];
947
+ }[] | null | undefined;
948
+ name: string;
949
+ _id: string;
950
+ ownerId: string;
951
+ restaurantQuota: number;
952
+ warehouseQuota: number;
953
+ menuVersion: string;
954
+ } | null | undefined;
955
+ _id: string;
956
+ businessId: string;
957
+ profile: {
958
+ email?: string | null | undefined;
959
+ phoneNo?: string | null | undefined;
960
+ name: string;
961
+ address: {
962
+ coordinates?: number[] | null | undefined;
963
+ line2?: string | null | undefined;
964
+ state: string;
965
+ country: string;
966
+ line1: string;
967
+ city: string;
968
+ postcode: string;
969
+ };
970
+ regNo: string;
971
+ };
972
+ };
973
+ })[] | null | undefined;
974
+ _id: string;
975
+ items: {
976
+ disabledMeasurements?: string[] | null | undefined;
977
+ sku: {
978
+ trackingMeasurement?: string | null | undefined;
979
+ convert?: {
980
+ measurement?: string | null | undefined;
981
+ inventoryBindings?: {
982
+ measurement?: {
983
+ id: string;
984
+ name: string;
985
+ abbrev: string;
986
+ conversion: {
987
+ amount: number;
988
+ precision: number;
989
+ };
990
+ } | null | undefined;
991
+ type: "RECIPE" | "SKU";
992
+ amount: {
993
+ amount: number;
994
+ precision: number;
995
+ };
996
+ id: string;
997
+ }[] | null | undefined;
998
+ } | null | undefined;
999
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1000
+ defaultCost?: {
1001
+ measurement?: {
1002
+ id: string;
1003
+ name: string;
1004
+ abbrev: string;
1005
+ conversion: {
1006
+ amount: number;
1007
+ precision: number;
1008
+ };
1009
+ } | null | undefined;
1010
+ costPerUnit: {
1011
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1012
+ amount: number;
1013
+ precision: number;
1014
+ };
1015
+ } | null | undefined;
1016
+ thresholds?: {
1017
+ low: number;
1018
+ mid: number;
1019
+ } | null | undefined;
1020
+ operationalGroup?: string | null | undefined;
1021
+ unit: {
1022
+ _id: string;
1023
+ name: string;
1024
+ abbrev: string;
1025
+ precision: number;
1026
+ measurements: {
1027
+ id: string;
1028
+ name: string;
1029
+ abbrev: string;
1030
+ conversion: {
1031
+ amount: number;
1032
+ precision: number;
1033
+ };
1034
+ }[];
1035
+ };
1036
+ code: string;
1037
+ _id: string;
1038
+ name: string;
1039
+ };
1040
+ }[];
1041
+ name: string;
1042
+ }[], {
1043
+ ref?: string | null | undefined;
1044
+ _rev?: string | null | undefined;
1045
+ locations?: ({
1046
+ doc?: any;
1047
+ type: "restaurant";
1048
+ name: string;
1049
+ acceptRequest: boolean;
1050
+ dbName: string;
1051
+ } | {
1052
+ type: "warehouse";
1053
+ name: string;
1054
+ acceptRequest: boolean;
1055
+ dbName: string;
1056
+ doc: {
1057
+ pf_business?: {
1058
+ internal?: boolean | null | undefined;
1059
+ url?: string | null | undefined;
1060
+ expiredAt?: string | null | undefined;
1061
+ agentId?: string | null | undefined;
1062
+ restaurantTagGroups?: {
1063
+ name: string;
1064
+ id: string;
1065
+ tags: {
1066
+ name: string;
1067
+ id: string;
1068
+ }[];
1069
+ }[] | null | undefined;
1070
+ pf_agent?: {
1071
+ clickupId?: string | null | undefined;
1072
+ members?: {
1073
+ pf_user?: {
1074
+ email?: string | null | undefined;
1075
+ phoneNumber?: string | null | undefined;
1076
+ birthday?: string | null | undefined;
1077
+ gender?: "MALE" | "FEMALE" | null | undefined;
1078
+ addresses?: {
1079
+ name: string;
1080
+ address: string;
1081
+ coordinates: number[];
1082
+ }[] | null | undefined;
1083
+ photoURL?: string | null | undefined;
1084
+ displayName?: string | null | undefined;
1085
+ imported?: {
1086
+ raw: Record<string, any>;
1087
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1088
+ } | null | undefined;
1089
+ _id: string;
1090
+ } | null | undefined;
1091
+ role: "ADMIN";
1092
+ userId: string;
1093
+ }[] | null | undefined;
1094
+ code: string;
1095
+ name: string;
1096
+ _id: string;
1097
+ isReseller: boolean;
1098
+ } | null | undefined;
1099
+ thumbnail?: string | null | undefined;
1100
+ billingInfos?: {
1101
+ _id?: string | null | undefined;
1102
+ name: string;
1103
+ address: {
1104
+ coordinates?: number[] | null | undefined;
1105
+ line2?: string | null | undefined;
1106
+ state: string;
1107
+ country: string;
1108
+ line1: string;
1109
+ city: string;
1110
+ postcode: string;
1111
+ };
1112
+ email: string;
1113
+ companyName: string;
1114
+ contact: string;
1115
+ }[] | null | undefined;
1116
+ customerDisplayImages?: {
1117
+ url: string;
1118
+ restaurantIds: string[];
1119
+ }[] | null | undefined;
1120
+ name: string;
1121
+ _id: string;
1122
+ ownerId: string;
1123
+ restaurantQuota: number;
1124
+ warehouseQuota: number;
1125
+ menuVersion: string;
1126
+ } | null | undefined;
1127
+ _id: string;
1128
+ businessId: string;
1129
+ profile: {
1130
+ email?: string | null | undefined;
1131
+ phoneNo?: string | null | undefined;
1132
+ name: string;
1133
+ address: {
1134
+ coordinates?: number[] | null | undefined;
1135
+ line2?: string | null | undefined;
1136
+ state: string;
1137
+ country: string;
1138
+ line1: string;
1139
+ city: string;
1140
+ postcode: string;
1141
+ };
1142
+ regNo: string;
1143
+ };
1144
+ };
1145
+ })[] | null | undefined;
1146
+ _id: string;
1147
+ items: {
1148
+ disabledMeasurements?: string[] | null | undefined;
1149
+ sku: {
1150
+ trackingMeasurement?: string | null | undefined;
1151
+ convert?: {
1152
+ measurement?: string | null | undefined;
1153
+ inventoryBindings?: {
1154
+ measurement?: {
1155
+ id: string;
1156
+ name: string;
1157
+ abbrev: string;
1158
+ conversion: {
1159
+ amount: number;
1160
+ precision: number;
1161
+ };
1162
+ } | null | undefined;
1163
+ type: "RECIPE" | "SKU";
1164
+ amount: {
1165
+ amount: number;
1166
+ precision: number;
1167
+ };
1168
+ id: string;
1169
+ }[] | null | undefined;
1170
+ } | null | undefined;
1171
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1172
+ defaultCost?: {
1173
+ measurement?: {
1174
+ id: string;
1175
+ name: string;
1176
+ abbrev: string;
1177
+ conversion: {
1178
+ amount: number;
1179
+ precision: number;
1180
+ };
1181
+ } | null | undefined;
1182
+ costPerUnit: {
1183
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1184
+ amount: number;
1185
+ precision: number;
1186
+ };
1187
+ } | null | undefined;
1188
+ thresholds?: {
1189
+ low: number;
1190
+ mid: number;
1191
+ } | null | undefined;
1192
+ operationalGroup?: string | null | undefined;
1193
+ unit: {
1194
+ _id: string;
1195
+ name: string;
1196
+ abbrev: string;
1197
+ precision: number;
1198
+ measurements: {
1199
+ id: string;
1200
+ name: string;
1201
+ abbrev: string;
1202
+ conversion: {
1203
+ amount: number;
1204
+ precision: number;
1205
+ };
1206
+ }[];
1207
+ };
1208
+ code: string;
1209
+ _id: string;
1210
+ name: string;
1211
+ };
1212
+ }[];
1213
+ name: string;
1214
+ }[] | {
1215
+ ref?: string | null | undefined;
1216
+ _rev?: string | null | undefined;
1217
+ locations?: ({
1218
+ doc?: any;
1219
+ type: "restaurant";
1220
+ name: string;
1221
+ acceptRequest: boolean;
1222
+ dbName: string;
1223
+ } | {
1224
+ type: "warehouse";
1225
+ name: string;
1226
+ acceptRequest: boolean;
1227
+ dbName: string;
1228
+ doc: {
1229
+ pf_business?: {
1230
+ internal?: boolean | null | undefined;
1231
+ url?: string | null | undefined;
1232
+ expiredAt?: string | null | undefined;
1233
+ agentId?: string | null | undefined;
1234
+ restaurantTagGroups?: {
1235
+ name: string;
1236
+ id: string;
1237
+ tags: {
1238
+ name: string;
1239
+ id: string;
1240
+ }[];
1241
+ }[] | null | undefined;
1242
+ pf_agent?: {
1243
+ clickupId?: string | null | undefined;
1244
+ members?: {
1245
+ pf_user?: {
1246
+ email?: string | null | undefined;
1247
+ phoneNumber?: string | null | undefined;
1248
+ birthday?: string | null | undefined;
1249
+ gender?: "MALE" | "FEMALE" | null | undefined;
1250
+ addresses?: {
1251
+ name: string;
1252
+ address: string;
1253
+ coordinates: number[];
1254
+ }[] | null | undefined;
1255
+ photoURL?: string | null | undefined;
1256
+ displayName?: string | null | undefined;
1257
+ imported?: {
1258
+ raw: Record<string, any>;
1259
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1260
+ } | null | undefined;
1261
+ _id: string;
1262
+ } | null | undefined;
1263
+ role: "ADMIN";
1264
+ userId: string;
1265
+ }[] | null | undefined;
1266
+ code: string;
1267
+ name: string;
1268
+ _id: string;
1269
+ isReseller: boolean;
1270
+ } | null | undefined;
1271
+ thumbnail?: string | null | undefined;
1272
+ billingInfos?: {
1273
+ _id?: string | null | undefined;
1274
+ name: string;
1275
+ address: {
1276
+ coordinates?: number[] | null | undefined;
1277
+ line2?: string | null | undefined;
1278
+ state: string;
1279
+ country: string;
1280
+ line1: string;
1281
+ city: string;
1282
+ postcode: string;
1283
+ };
1284
+ email: string;
1285
+ companyName: string;
1286
+ contact: string;
1287
+ }[] | null | undefined;
1288
+ customerDisplayImages?: {
1289
+ url: string;
1290
+ restaurantIds: string[];
1291
+ }[] | null | undefined;
1292
+ name: string;
1293
+ _id: string;
1294
+ ownerId: string;
1295
+ restaurantQuota: number;
1296
+ warehouseQuota: number;
1297
+ menuVersion: string;
1298
+ } | null | undefined;
1299
+ _id: string;
1300
+ businessId: string;
1301
+ profile: {
1302
+ email?: string | null | undefined;
1303
+ phoneNo?: string | null | undefined;
1304
+ name: string;
1305
+ address: {
1306
+ coordinates?: number[] | null | undefined;
1307
+ line2?: string | null | undefined;
1308
+ state: string;
1309
+ country: string;
1310
+ line1: string;
1311
+ city: string;
1312
+ postcode: string;
1313
+ };
1314
+ regNo: string;
1315
+ };
1316
+ };
1317
+ })[] | null | undefined;
1318
+ _id: string;
1319
+ items: {
1320
+ disabledMeasurements?: string[] | null | undefined;
1321
+ sku: {
1322
+ trackingMeasurement?: string | null | undefined;
1323
+ convert?: {
1324
+ measurement?: string | null | undefined;
1325
+ inventoryBindings?: {
1326
+ measurement?: {
1327
+ id: string;
1328
+ name: string;
1329
+ abbrev: string;
1330
+ conversion: {
1331
+ amount: number;
1332
+ precision: number;
1333
+ };
1334
+ } | null | undefined;
1335
+ type: "RECIPE" | "SKU";
1336
+ amount: {
1337
+ amount: number;
1338
+ precision: number;
1339
+ };
1340
+ id: string;
1341
+ }[] | null | undefined;
1342
+ } | null | undefined;
1343
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1344
+ defaultCost?: {
1345
+ measurement?: {
1346
+ id: string;
1347
+ name: string;
1348
+ abbrev: string;
1349
+ conversion: {
1350
+ amount: number;
1351
+ precision: number;
1352
+ };
1353
+ } | null | undefined;
1354
+ costPerUnit: {
1355
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1356
+ amount: number;
1357
+ precision: number;
1358
+ };
1359
+ } | null | undefined;
1360
+ thresholds?: {
1361
+ low: number;
1362
+ mid: number;
1363
+ } | null | undefined;
1364
+ operationalGroup?: string | null | undefined;
1365
+ unit: {
1366
+ _id: string;
1367
+ name: string;
1368
+ abbrev: string;
1369
+ precision: number;
1370
+ measurements: {
1371
+ id: string;
1372
+ name: string;
1373
+ abbrev: string;
1374
+ conversion: {
1375
+ amount: number;
1376
+ precision: number;
1377
+ };
1378
+ }[];
1379
+ };
1380
+ code: string;
1381
+ _id: string;
1382
+ name: string;
1383
+ };
1384
+ }[];
1385
+ name: string;
1386
+ }[]>;
1387
+ loading: import("vue").Ref<boolean, boolean>;
1388
+ fetchTemplates: () => Promise<void>;
1389
+ loadTemplate: (templateId: string) => Promise<void>;
1390
+ }, never>, Pick<{
1391
+ columnDefs: ColumnDef<{
1392
+ ref?: string | null | undefined;
1393
+ _rev?: string | null | undefined;
1394
+ locations?: ({
1395
+ doc?: any;
1396
+ type: "restaurant";
1397
+ name: string;
1398
+ acceptRequest: boolean;
1399
+ dbName: string;
1400
+ } | {
1401
+ type: "warehouse";
1402
+ name: string;
1403
+ acceptRequest: boolean;
1404
+ dbName: string;
1405
+ doc: {
1406
+ pf_business?: {
1407
+ internal?: boolean | null | undefined;
1408
+ url?: string | null | undefined;
1409
+ expiredAt?: string | null | undefined;
1410
+ agentId?: string | null | undefined;
1411
+ restaurantTagGroups?: {
1412
+ name: string;
1413
+ id: string;
1414
+ tags: {
1415
+ name: string;
1416
+ id: string;
1417
+ }[];
1418
+ }[] | null | undefined;
1419
+ pf_agent?: {
1420
+ clickupId?: string | null | undefined;
1421
+ members?: {
1422
+ pf_user?: {
1423
+ email?: string | null | undefined;
1424
+ phoneNumber?: string | null | undefined;
1425
+ birthday?: string | null | undefined;
1426
+ gender?: "MALE" | "FEMALE" | null | undefined;
1427
+ addresses?: {
1428
+ name: string;
1429
+ address: string;
1430
+ coordinates: number[];
1431
+ }[] | null | undefined;
1432
+ photoURL?: string | null | undefined;
1433
+ displayName?: string | null | undefined;
1434
+ imported?: {
1435
+ raw: Record<string, any>;
1436
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1437
+ } | null | undefined;
1438
+ _id: string;
1439
+ } | null | undefined;
1440
+ role: "ADMIN";
1441
+ userId: string;
1442
+ }[] | null | undefined;
1443
+ code: string;
1444
+ name: string;
1445
+ _id: string;
1446
+ isReseller: boolean;
1447
+ } | null | undefined;
1448
+ thumbnail?: string | null | undefined;
1449
+ billingInfos?: {
1450
+ _id?: string | null | undefined;
1451
+ name: string;
1452
+ address: {
1453
+ coordinates?: number[] | null | undefined;
1454
+ line2?: string | null | undefined;
1455
+ state: string;
1456
+ country: string;
1457
+ line1: string;
1458
+ city: string;
1459
+ postcode: string;
1460
+ };
1461
+ email: string;
1462
+ companyName: string;
1463
+ contact: string;
1464
+ }[] | null | undefined;
1465
+ customerDisplayImages?: {
1466
+ url: string;
1467
+ restaurantIds: string[];
1468
+ }[] | null | undefined;
1469
+ name: string;
1470
+ _id: string;
1471
+ ownerId: string;
1472
+ restaurantQuota: number;
1473
+ warehouseQuota: number;
1474
+ menuVersion: string;
1475
+ } | null | undefined;
1476
+ _id: string;
1477
+ businessId: string;
1478
+ profile: {
1479
+ email?: string | null | undefined;
1480
+ phoneNo?: string | null | undefined;
1481
+ name: string;
1482
+ address: {
1483
+ coordinates?: number[] | null | undefined;
1484
+ line2?: string | null | undefined;
1485
+ state: string;
1486
+ country: string;
1487
+ line1: string;
1488
+ city: string;
1489
+ postcode: string;
1490
+ };
1491
+ regNo: string;
1492
+ };
1493
+ };
1494
+ })[] | null | undefined;
1495
+ _id: string;
1496
+ items: {
1497
+ disabledMeasurements?: string[] | null | undefined;
1498
+ sku: {
1499
+ trackingMeasurement?: string | null | undefined;
1500
+ convert?: {
1501
+ measurement?: string | null | undefined;
1502
+ inventoryBindings?: {
1503
+ measurement?: {
1504
+ id: string;
1505
+ name: string;
1506
+ abbrev: string;
1507
+ conversion: {
1508
+ amount: number;
1509
+ precision: number;
1510
+ };
1511
+ } | null | undefined;
1512
+ type: "RECIPE" | "SKU";
1513
+ amount: {
1514
+ amount: number;
1515
+ precision: number;
1516
+ };
1517
+ id: string;
1518
+ }[] | null | undefined;
1519
+ } | null | undefined;
1520
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1521
+ defaultCost?: {
1522
+ measurement?: {
1523
+ id: string;
1524
+ name: string;
1525
+ abbrev: string;
1526
+ conversion: {
1527
+ amount: number;
1528
+ precision: number;
1529
+ };
1530
+ } | null | undefined;
1531
+ costPerUnit: {
1532
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1533
+ amount: number;
1534
+ precision: number;
1535
+ };
1536
+ } | null | undefined;
1537
+ thresholds?: {
1538
+ low: number;
1539
+ mid: number;
1540
+ } | null | undefined;
1541
+ operationalGroup?: string | null | undefined;
1542
+ unit: {
1543
+ _id: string;
1544
+ name: string;
1545
+ abbrev: string;
1546
+ precision: number;
1547
+ measurements: {
1548
+ id: string;
1549
+ name: string;
1550
+ abbrev: string;
1551
+ conversion: {
1552
+ amount: number;
1553
+ precision: number;
1554
+ };
1555
+ }[];
1556
+ };
1557
+ code: string;
1558
+ _id: string;
1559
+ name: string;
1560
+ };
1561
+ }[];
1562
+ name: string;
1563
+ }>[];
1564
+ templates: import("vue").Ref<{
1565
+ ref?: string | null | undefined;
1566
+ _rev?: string | null | undefined;
1567
+ locations?: ({
1568
+ doc?: any;
1569
+ type: "restaurant";
1570
+ name: string;
1571
+ acceptRequest: boolean;
1572
+ dbName: string;
1573
+ } | {
1574
+ type: "warehouse";
1575
+ name: string;
1576
+ acceptRequest: boolean;
1577
+ dbName: string;
1578
+ doc: {
1579
+ pf_business?: {
1580
+ internal?: boolean | null | undefined;
1581
+ url?: string | null | undefined;
1582
+ expiredAt?: string | null | undefined;
1583
+ agentId?: string | null | undefined;
1584
+ restaurantTagGroups?: {
1585
+ name: string;
1586
+ id: string;
1587
+ tags: {
1588
+ name: string;
1589
+ id: string;
1590
+ }[];
1591
+ }[] | null | undefined;
1592
+ pf_agent?: {
1593
+ clickupId?: string | null | undefined;
1594
+ members?: {
1595
+ pf_user?: {
1596
+ email?: string | null | undefined;
1597
+ phoneNumber?: string | null | undefined;
1598
+ birthday?: string | null | undefined;
1599
+ gender?: "MALE" | "FEMALE" | null | undefined;
1600
+ addresses?: {
1601
+ name: string;
1602
+ address: string;
1603
+ coordinates: number[];
1604
+ }[] | null | undefined;
1605
+ photoURL?: string | null | undefined;
1606
+ displayName?: string | null | undefined;
1607
+ imported?: {
1608
+ raw: Record<string, any>;
1609
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1610
+ } | null | undefined;
1611
+ _id: string;
1612
+ } | null | undefined;
1613
+ role: "ADMIN";
1614
+ userId: string;
1615
+ }[] | null | undefined;
1616
+ code: string;
1617
+ name: string;
1618
+ _id: string;
1619
+ isReseller: boolean;
1620
+ } | null | undefined;
1621
+ thumbnail?: string | null | undefined;
1622
+ billingInfos?: {
1623
+ _id?: string | null | undefined;
1624
+ name: string;
1625
+ address: {
1626
+ coordinates?: number[] | null | undefined;
1627
+ line2?: string | null | undefined;
1628
+ state: string;
1629
+ country: string;
1630
+ line1: string;
1631
+ city: string;
1632
+ postcode: string;
1633
+ };
1634
+ email: string;
1635
+ companyName: string;
1636
+ contact: string;
1637
+ }[] | null | undefined;
1638
+ customerDisplayImages?: {
1639
+ url: string;
1640
+ restaurantIds: string[];
1641
+ }[] | null | undefined;
1642
+ name: string;
1643
+ _id: string;
1644
+ ownerId: string;
1645
+ restaurantQuota: number;
1646
+ warehouseQuota: number;
1647
+ menuVersion: string;
1648
+ } | null | undefined;
1649
+ _id: string;
1650
+ businessId: string;
1651
+ profile: {
1652
+ email?: string | null | undefined;
1653
+ phoneNo?: string | null | undefined;
1654
+ name: string;
1655
+ address: {
1656
+ coordinates?: number[] | null | undefined;
1657
+ line2?: string | null | undefined;
1658
+ state: string;
1659
+ country: string;
1660
+ line1: string;
1661
+ city: string;
1662
+ postcode: string;
1663
+ };
1664
+ regNo: string;
1665
+ };
1666
+ };
1667
+ })[] | null | undefined;
1668
+ _id: string;
1669
+ items: {
1670
+ disabledMeasurements?: string[] | null | undefined;
1671
+ sku: {
1672
+ trackingMeasurement?: string | null | undefined;
1673
+ convert?: {
1674
+ measurement?: string | null | undefined;
1675
+ inventoryBindings?: {
1676
+ measurement?: {
1677
+ id: string;
1678
+ name: string;
1679
+ abbrev: string;
1680
+ conversion: {
1681
+ amount: number;
1682
+ precision: number;
1683
+ };
1684
+ } | null | undefined;
1685
+ type: "RECIPE" | "SKU";
1686
+ amount: {
1687
+ amount: number;
1688
+ precision: number;
1689
+ };
1690
+ id: string;
1691
+ }[] | null | undefined;
1692
+ } | null | undefined;
1693
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1694
+ defaultCost?: {
1695
+ measurement?: {
1696
+ id: string;
1697
+ name: string;
1698
+ abbrev: string;
1699
+ conversion: {
1700
+ amount: number;
1701
+ precision: number;
1702
+ };
1703
+ } | null | undefined;
1704
+ costPerUnit: {
1705
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1706
+ amount: number;
1707
+ precision: number;
1708
+ };
1709
+ } | null | undefined;
1710
+ thresholds?: {
1711
+ low: number;
1712
+ mid: number;
1713
+ } | null | undefined;
1714
+ operationalGroup?: string | null | undefined;
1715
+ unit: {
1716
+ _id: string;
1717
+ name: string;
1718
+ abbrev: string;
1719
+ precision: number;
1720
+ measurements: {
1721
+ id: string;
1722
+ name: string;
1723
+ abbrev: string;
1724
+ conversion: {
1725
+ amount: number;
1726
+ precision: number;
1727
+ };
1728
+ }[];
1729
+ };
1730
+ code: string;
1731
+ _id: string;
1732
+ name: string;
1733
+ };
1734
+ }[];
1735
+ name: string;
1736
+ }[], {
1737
+ ref?: string | null | undefined;
1738
+ _rev?: string | null | undefined;
1739
+ locations?: ({
1740
+ doc?: any;
1741
+ type: "restaurant";
1742
+ name: string;
1743
+ acceptRequest: boolean;
1744
+ dbName: string;
1745
+ } | {
1746
+ type: "warehouse";
1747
+ name: string;
1748
+ acceptRequest: boolean;
1749
+ dbName: string;
1750
+ doc: {
1751
+ pf_business?: {
1752
+ internal?: boolean | null | undefined;
1753
+ url?: string | null | undefined;
1754
+ expiredAt?: string | null | undefined;
1755
+ agentId?: string | null | undefined;
1756
+ restaurantTagGroups?: {
1757
+ name: string;
1758
+ id: string;
1759
+ tags: {
1760
+ name: string;
1761
+ id: string;
1762
+ }[];
1763
+ }[] | null | undefined;
1764
+ pf_agent?: {
1765
+ clickupId?: string | null | undefined;
1766
+ members?: {
1767
+ pf_user?: {
1768
+ email?: string | null | undefined;
1769
+ phoneNumber?: string | null | undefined;
1770
+ birthday?: string | null | undefined;
1771
+ gender?: "MALE" | "FEMALE" | null | undefined;
1772
+ addresses?: {
1773
+ name: string;
1774
+ address: string;
1775
+ coordinates: number[];
1776
+ }[] | null | undefined;
1777
+ photoURL?: string | null | undefined;
1778
+ displayName?: string | null | undefined;
1779
+ imported?: {
1780
+ raw: Record<string, any>;
1781
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1782
+ } | null | undefined;
1783
+ _id: string;
1784
+ } | null | undefined;
1785
+ role: "ADMIN";
1786
+ userId: string;
1787
+ }[] | null | undefined;
1788
+ code: string;
1789
+ name: string;
1790
+ _id: string;
1791
+ isReseller: boolean;
1792
+ } | null | undefined;
1793
+ thumbnail?: string | null | undefined;
1794
+ billingInfos?: {
1795
+ _id?: string | null | undefined;
1796
+ name: string;
1797
+ address: {
1798
+ coordinates?: number[] | null | undefined;
1799
+ line2?: string | null | undefined;
1800
+ state: string;
1801
+ country: string;
1802
+ line1: string;
1803
+ city: string;
1804
+ postcode: string;
1805
+ };
1806
+ email: string;
1807
+ companyName: string;
1808
+ contact: string;
1809
+ }[] | null | undefined;
1810
+ customerDisplayImages?: {
1811
+ url: string;
1812
+ restaurantIds: string[];
1813
+ }[] | null | undefined;
1814
+ name: string;
1815
+ _id: string;
1816
+ ownerId: string;
1817
+ restaurantQuota: number;
1818
+ warehouseQuota: number;
1819
+ menuVersion: string;
1820
+ } | null | undefined;
1821
+ _id: string;
1822
+ businessId: string;
1823
+ profile: {
1824
+ email?: string | null | undefined;
1825
+ phoneNo?: string | null | undefined;
1826
+ name: string;
1827
+ address: {
1828
+ coordinates?: number[] | null | undefined;
1829
+ line2?: string | null | undefined;
1830
+ state: string;
1831
+ country: string;
1832
+ line1: string;
1833
+ city: string;
1834
+ postcode: string;
1835
+ };
1836
+ regNo: string;
1837
+ };
1838
+ };
1839
+ })[] | null | undefined;
1840
+ _id: string;
1841
+ items: {
1842
+ disabledMeasurements?: string[] | null | undefined;
1843
+ sku: {
1844
+ trackingMeasurement?: string | null | undefined;
1845
+ convert?: {
1846
+ measurement?: string | null | undefined;
1847
+ inventoryBindings?: {
1848
+ measurement?: {
1849
+ id: string;
1850
+ name: string;
1851
+ abbrev: string;
1852
+ conversion: {
1853
+ amount: number;
1854
+ precision: number;
1855
+ };
1856
+ } | null | undefined;
1857
+ type: "RECIPE" | "SKU";
1858
+ amount: {
1859
+ amount: number;
1860
+ precision: number;
1861
+ };
1862
+ id: string;
1863
+ }[] | null | undefined;
1864
+ } | null | undefined;
1865
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1866
+ defaultCost?: {
1867
+ measurement?: {
1868
+ id: string;
1869
+ name: string;
1870
+ abbrev: string;
1871
+ conversion: {
1872
+ amount: number;
1873
+ precision: number;
1874
+ };
1875
+ } | null | undefined;
1876
+ costPerUnit: {
1877
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1878
+ amount: number;
1879
+ precision: number;
1880
+ };
1881
+ } | null | undefined;
1882
+ thresholds?: {
1883
+ low: number;
1884
+ mid: number;
1885
+ } | null | undefined;
1886
+ operationalGroup?: string | null | undefined;
1887
+ unit: {
1888
+ _id: string;
1889
+ name: string;
1890
+ abbrev: string;
1891
+ precision: number;
1892
+ measurements: {
1893
+ id: string;
1894
+ name: string;
1895
+ abbrev: string;
1896
+ conversion: {
1897
+ amount: number;
1898
+ precision: number;
1899
+ };
1900
+ }[];
1901
+ };
1902
+ code: string;
1903
+ _id: string;
1904
+ name: string;
1905
+ };
1906
+ }[];
1907
+ name: string;
1908
+ }[] | {
1909
+ ref?: string | null | undefined;
1910
+ _rev?: string | null | undefined;
1911
+ locations?: ({
1912
+ doc?: any;
1913
+ type: "restaurant";
1914
+ name: string;
1915
+ acceptRequest: boolean;
1916
+ dbName: string;
1917
+ } | {
1918
+ type: "warehouse";
1919
+ name: string;
1920
+ acceptRequest: boolean;
1921
+ dbName: string;
1922
+ doc: {
1923
+ pf_business?: {
1924
+ internal?: boolean | null | undefined;
1925
+ url?: string | null | undefined;
1926
+ expiredAt?: string | null | undefined;
1927
+ agentId?: string | null | undefined;
1928
+ restaurantTagGroups?: {
1929
+ name: string;
1930
+ id: string;
1931
+ tags: {
1932
+ name: string;
1933
+ id: string;
1934
+ }[];
1935
+ }[] | null | undefined;
1936
+ pf_agent?: {
1937
+ clickupId?: string | null | undefined;
1938
+ members?: {
1939
+ pf_user?: {
1940
+ email?: string | null | undefined;
1941
+ phoneNumber?: string | null | undefined;
1942
+ birthday?: string | null | undefined;
1943
+ gender?: "MALE" | "FEMALE" | null | undefined;
1944
+ addresses?: {
1945
+ name: string;
1946
+ address: string;
1947
+ coordinates: number[];
1948
+ }[] | null | undefined;
1949
+ photoURL?: string | null | undefined;
1950
+ displayName?: string | null | undefined;
1951
+ imported?: {
1952
+ raw: Record<string, any>;
1953
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1954
+ } | null | undefined;
1955
+ _id: string;
1956
+ } | null | undefined;
1957
+ role: "ADMIN";
1958
+ userId: string;
1959
+ }[] | null | undefined;
1960
+ code: string;
1961
+ name: string;
1962
+ _id: string;
1963
+ isReseller: boolean;
1964
+ } | null | undefined;
1965
+ thumbnail?: string | null | undefined;
1966
+ billingInfos?: {
1967
+ _id?: string | null | undefined;
1968
+ name: string;
1969
+ address: {
1970
+ coordinates?: number[] | null | undefined;
1971
+ line2?: string | null | undefined;
1972
+ state: string;
1973
+ country: string;
1974
+ line1: string;
1975
+ city: string;
1976
+ postcode: string;
1977
+ };
1978
+ email: string;
1979
+ companyName: string;
1980
+ contact: string;
1981
+ }[] | null | undefined;
1982
+ customerDisplayImages?: {
1983
+ url: string;
1984
+ restaurantIds: string[];
1985
+ }[] | null | undefined;
1986
+ name: string;
1987
+ _id: string;
1988
+ ownerId: string;
1989
+ restaurantQuota: number;
1990
+ warehouseQuota: number;
1991
+ menuVersion: string;
1992
+ } | null | undefined;
1993
+ _id: string;
1994
+ businessId: string;
1995
+ profile: {
1996
+ email?: string | null | undefined;
1997
+ phoneNo?: string | null | undefined;
1998
+ name: string;
1999
+ address: {
2000
+ coordinates?: number[] | null | undefined;
2001
+ line2?: string | null | undefined;
2002
+ state: string;
2003
+ country: string;
2004
+ line1: string;
2005
+ city: string;
2006
+ postcode: string;
2007
+ };
2008
+ regNo: string;
2009
+ };
2010
+ };
2011
+ })[] | null | undefined;
2012
+ _id: string;
2013
+ items: {
2014
+ disabledMeasurements?: string[] | null | undefined;
2015
+ sku: {
2016
+ trackingMeasurement?: string | null | undefined;
2017
+ convert?: {
2018
+ measurement?: string | null | undefined;
2019
+ inventoryBindings?: {
2020
+ measurement?: {
2021
+ id: string;
2022
+ name: string;
2023
+ abbrev: string;
2024
+ conversion: {
2025
+ amount: number;
2026
+ precision: number;
2027
+ };
2028
+ } | null | undefined;
2029
+ type: "RECIPE" | "SKU";
2030
+ amount: {
2031
+ amount: number;
2032
+ precision: number;
2033
+ };
2034
+ id: string;
2035
+ }[] | null | undefined;
2036
+ } | null | undefined;
2037
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2038
+ defaultCost?: {
2039
+ measurement?: {
2040
+ id: string;
2041
+ name: string;
2042
+ abbrev: string;
2043
+ conversion: {
2044
+ amount: number;
2045
+ precision: number;
2046
+ };
2047
+ } | null | undefined;
2048
+ costPerUnit: {
2049
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2050
+ amount: number;
2051
+ precision: number;
2052
+ };
2053
+ } | null | undefined;
2054
+ thresholds?: {
2055
+ low: number;
2056
+ mid: number;
2057
+ } | null | undefined;
2058
+ operationalGroup?: string | null | undefined;
2059
+ unit: {
2060
+ _id: string;
2061
+ name: string;
2062
+ abbrev: string;
2063
+ precision: number;
2064
+ measurements: {
2065
+ id: string;
2066
+ name: string;
2067
+ abbrev: string;
2068
+ conversion: {
2069
+ amount: number;
2070
+ precision: number;
2071
+ };
2072
+ }[];
2073
+ };
2074
+ code: string;
2075
+ _id: string;
2076
+ name: string;
2077
+ };
2078
+ }[];
2079
+ name: string;
2080
+ }[]>;
2081
+ loading: import("vue").Ref<boolean, boolean>;
2082
+ fetchTemplates: () => Promise<void>;
2083
+ loadTemplate: (templateId: string) => Promise<void>;
2084
+ }, "fetchTemplates" | "loadTemplate">>;