@feedmepos/mf-inventory-portal 0.0.23-dev.4 → 0.0.23-dev.41

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 (136) hide show
  1. package/dist/{App-DReDvY0M.js → App-DW2K97Bb.js} +84 -72
  2. package/dist/{ApprovalView-BMZlYmRk.js → ApprovalView-BgSxdrwt.js} +25 -28
  3. package/dist/{BindingsDialog-Y2K4I7H7.js → BindingsDialog-CQtusdvp.js} +6 -6
  4. package/dist/{BindingsPicker-DKBq9c37.js → BindingsPicker-BnEjRAah.js} +8 -9
  5. package/dist/{BindingsTable-45v4SDfp.js → BindingsTable-DpTPAef_.js} +18 -22
  6. package/dist/ClosingDraftView-CXKYLCZS.js +1190 -0
  7. package/dist/{ClosingTemplateView-CKJVYSbj.js → ClosingTemplateView-CMTJHywt.js} +271 -285
  8. package/dist/FmCustomAttribute.vue_vue_type_script_setup_true_lang-zOmcCdDR.js +142 -0
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CMEOp-0r.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-mAPA5_sB.js} +18 -19
  10. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C1DjyjyH.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BjNpfucZ.js} +25 -26
  11. package/dist/{IngredientGroupView-BuP-HGeg.js → IngredientGroupView-CrEfiZvn.js} +63 -69
  12. package/dist/IngredientsView-BB8LQlU9.js +1707 -0
  13. package/dist/{IntegrationView-kYCaKG0o.js → IntegrationView-D2wTkDyX.js} +89 -92
  14. package/dist/{InventoryBindingForm-BXHq4h-n.js → InventoryBindingForm-DW7rJDc1.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CVxJ_bV3.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Ci8UI1eQ.js} +112 -104
  16. package/dist/{InventoryBindingSummary-Bjasfc_v.js → InventoryBindingSummary-B40KofiI.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DM0C4raP.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DD7VT9MS.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C3O3JebE.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BGuXTfn6.js} +19 -20
  19. package/dist/{PurchaseOrderPrintPreview-CmjkfTTS.js → PurchaseOrderPrintPreview-DQmx28Be.js} +17 -18
  20. package/dist/ReceiveRequestView-CJknzKfd.js +4205 -0
  21. package/dist/RecipeView-D5oWQ9Yd.js +609 -0
  22. package/dist/StockView-U59PHCy2.js +1818 -0
  23. package/dist/{SupplierView-DAx7E7sR.js → SupplierView-CLjjpTNZ.js} +2325 -787
  24. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DLDDXnyG.js +1327 -0
  25. package/dist/TransferTemplateView-CFoVrPIX.js +1264 -0
  26. package/dist/{UnitView-CQPGZ8-r.js → UnitView-CAopphN_.js} +228 -227
  27. package/dist/{WarehouseView-jy-RNCgy.js → WarehouseView-DUZku5U6.js} +100 -106
  28. package/dist/api/adjustment-template.d.ts +25 -0
  29. package/dist/api/bill.d.ts +240 -84
  30. package/dist/api/closing-draft.d.ts +6 -0
  31. package/dist/api/closing.d.ts +1 -0
  32. package/dist/api/inventory.d.ts +15 -6
  33. package/dist/api/netsuite.d.ts +3 -3
  34. package/dist/app-0klJzLit.js +84527 -0
  35. package/dist/app.d.ts +64 -0
  36. package/dist/app.js +2 -2
  37. package/dist/components/FmCustomAttribute.vue.d.ts +23 -0
  38. package/dist/components/FmLockableField.vue.d.ts +37 -0
  39. package/dist/components/FmMultiselectDialogProps.d.ts +1 -0
  40. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +3 -1
  41. package/dist/components/row-action.enum.d.ts +1 -0
  42. package/dist/components/shell/inventory/binding-ui.vue.d.ts +3 -1
  43. package/dist/composable/defineDeepModel.d.ts +1 -1
  44. package/dist/{decimal-BAc9M88Q.js → decimal-Cu4rlnvU.js} +1 -1
  45. package/dist/feature-C1wCaXKQ.js +946 -0
  46. package/dist/format-unit-display-CMa5UhY1.js +1215 -0
  47. package/dist/{StockView-D9no-mrA.js → index-BJaMpEVJ.js} +2242 -3986
  48. package/dist/index-HTBqkVVr.js +29202 -0
  49. package/dist/router/name.d.ts +2 -0
  50. package/dist/stock-CB4yNRMO.js +125 -0
  51. package/dist/stores/feature.d.ts +6 -0
  52. package/dist/stores/integration/netsuite.d.ts +70 -2
  53. package/dist/stores/inventory.d.ts +21 -12
  54. package/dist/stores/supplier.d.ts +1 -1
  55. package/dist/style.css +1 -1
  56. package/dist/{supplier-DJC0UZWv.js → supplier-biIIXGyr.js} +15 -15
  57. package/dist/tsconfig.app.tsbuildinfo +1 -1
  58. package/dist/{use-inventory-binding-dialog-PEQbFRvO.js → use-inventory-binding-dialog-BopoOOxB.js} +10 -11
  59. package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
  60. package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
  61. package/dist/views/adjustment-template/import/export.d.ts +60 -0
  62. package/dist/views/adjustment-template/wastage-template/WastageTemplateDetails.vue.d.ts +2 -0
  63. package/dist/views/adjustment-template/wastage-template/WastageTemplateDialog.vue.d.ts +22 -0
  64. package/dist/views/adjustment-template/wastage-template/WastageTemplatePublish.vue.d.ts +6 -0
  65. package/dist/views/adjustment-template/wastage-template/WastageTemplateReason.vue.d.ts +18 -0
  66. package/dist/views/adjustment-template/wastage-template/WastageTemplateView.vue.d.ts +2 -0
  67. package/dist/views/adjustment-template/wastage-template/actions.d.ts +1329 -0
  68. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateForm.vue.d.ts +16 -0
  69. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +35 -0
  70. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +20 -0
  71. package/dist/views/adjustment-template/wastage-template/props.d.ts +36 -0
  72. package/dist/views/adjustment-template/wastage-template/table.d.ts +1303 -0
  73. package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
  74. package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
  75. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +625 -0
  76. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +25 -0
  77. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +3645 -0
  78. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
  79. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +19 -0
  80. package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +4 -0
  81. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +2 -1
  82. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +48 -204
  83. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +49 -205
  84. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +6 -3
  85. package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +1 -0
  86. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -2
  87. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +1 -0
  88. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +2 -1
  89. package/dist/views/receive-request/components/netsuite/NetSuiteInfo.vue.d.ts +12 -0
  90. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +13 -0
  91. package/dist/views/receive-request/components/netsuite/NetSuiteSync.vue.d.ts +12 -0
  92. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +13 -0
  93. package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
  94. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +70 -17
  95. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -2
  96. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -1
  97. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +102 -24
  98. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +102 -24
  99. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -0
  100. package/dist/views/stock/components/StockRecordCard.vue.d.ts +120 -42
  101. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
  102. package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
  103. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -1
  104. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -12
  105. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -12
  106. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +2 -1
  107. package/package.json +7 -6
  108. package/dist/FmDroppableField-8RzKjEdL.js +0 -154
  109. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BhdcqRh-.js +0 -436
  110. package/dist/FmMultiselectDialog-D7YtdoyJ.js +0 -415
  111. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-zjvFEF5C.js +0 -51
  112. package/dist/IngredientsView-DMRN-odY.js +0 -1613
  113. package/dist/ReceiveRequestView-aQZJO8sq.js +0 -4165
  114. package/dist/RecipeView-DXO43tFi.js +0 -597
  115. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
  116. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-DCA0RUfu.js +0 -1209
  117. package/dist/TransferTemplateView-CfxdQF1t.js +0 -1261
  118. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  119. package/dist/app-KnSMkJBV.js +0 -33496
  120. package/dist/date2-CIeUqUIc.js +0 -117
  121. package/dist/dayjs.min-Df5jSnDJ.js +0 -282
  122. package/dist/defineDeepModel-BfuQAIoM.js +0 -13
  123. package/dist/feature-dwB4OxRQ.js +0 -86
  124. package/dist/format-time-from-id-BbvzyIN6.js +0 -15
  125. package/dist/format-unit-display-BBWblJEt.js +0 -1216
  126. package/dist/fuzzy-B9ryZ9VZ.js +0 -41
  127. package/dist/index-BN0CY3sZ.js +0 -22277
  128. package/dist/index-Bj1fJum-.js +0 -45
  129. package/dist/index-C4yL_7rR.js +0 -10545
  130. package/dist/netsuite-ByWOS6tI.js +0 -194
  131. package/dist/normalizeArguments-DP7Hrren.js +0 -1552
  132. package/dist/row-action.enum-PMKMRrZR.js +0 -50
  133. package/dist/rules-C12nWDD1.js +0 -198
  134. package/dist/use-template-enabled-locations-2-k9g5t8tt.js +0 -86
  135. package/dist/xlsx-B4XHad7S.js +0 -24004
  136. package/dist/xlsx.util-BSO4SHJi.js +0 -78
@@ -0,0 +1,1303 @@
1
+ import { type ColumnDef } from '@feedmepos/ui-library';
2
+ import type { RevisionIdMeta } from '@feedmepos/inventory-core';
3
+ import { type RecentPublish } from '@/api/adjustment-template';
4
+ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"wastageTable", import("pinia")._UnwrapAll<Pick<{
5
+ columnDefs: ColumnDef<{
6
+ _rev?: string | null | undefined;
7
+ locations?: {
8
+ type: "restaurant" | "warehouse";
9
+ name: string;
10
+ acceptRequest: boolean;
11
+ dbName: string;
12
+ doc: {
13
+ _id: string;
14
+ businessId: string;
15
+ profile: {
16
+ code?: string | null | undefined;
17
+ _id?: string | null | undefined;
18
+ name?: string | undefined;
19
+ address?: {
20
+ coordinates?: number[] | null | undefined;
21
+ line2?: string | null | undefined;
22
+ state: string;
23
+ country: string;
24
+ line1: string;
25
+ city: string;
26
+ postcode: string;
27
+ } | undefined;
28
+ email?: string | undefined;
29
+ regNo?: string | undefined;
30
+ sstRegNo?: string | null | undefined;
31
+ phoneNo?: string | undefined;
32
+ legalName?: string | null | undefined;
33
+ discovery?: boolean | null | undefined;
34
+ coverPhoto?: string | null | undefined;
35
+ thumbnailPhoto?: string | null | undefined;
36
+ description?: string | null | undefined;
37
+ photos?: string[] | null | undefined;
38
+ operatingHours?: {
39
+ 0: {
40
+ hours: {
41
+ end: string;
42
+ start: string;
43
+ }[];
44
+ enable: boolean;
45
+ };
46
+ 2: {
47
+ hours: {
48
+ end: string;
49
+ start: string;
50
+ }[];
51
+ enable: boolean;
52
+ };
53
+ 1: {
54
+ hours: {
55
+ end: string;
56
+ start: string;
57
+ }[];
58
+ enable: boolean;
59
+ };
60
+ 3: {
61
+ hours: {
62
+ end: string;
63
+ start: string;
64
+ }[];
65
+ enable: boolean;
66
+ };
67
+ 4: {
68
+ hours: {
69
+ end: string;
70
+ start: string;
71
+ }[];
72
+ enable: boolean;
73
+ };
74
+ 5: {
75
+ hours: {
76
+ end: string;
77
+ start: string;
78
+ }[];
79
+ enable: boolean;
80
+ };
81
+ 6: {
82
+ hours: {
83
+ end: string;
84
+ start: string;
85
+ }[];
86
+ enable: boolean;
87
+ };
88
+ } | null | undefined;
89
+ tags?: string[] | null | undefined;
90
+ url?: string | null | undefined;
91
+ };
92
+ };
93
+ }[] | null | undefined;
94
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
95
+ _id: string;
96
+ items: {
97
+ code?: string | null | undefined;
98
+ disabledMeasurements?: string[] | null | undefined;
99
+ type: "menu" | "sku" | "recipe";
100
+ id: string;
101
+ name: string;
102
+ }[];
103
+ name: string;
104
+ } & RevisionIdMeta>[];
105
+ recentPublish: import("vue").Ref<{
106
+ recentJob?: {
107
+ id: string;
108
+ businessId: string;
109
+ outlets: string[];
110
+ completed: string[];
111
+ createdAt: string;
112
+ updatedAt: string;
113
+ } | null | undefined;
114
+ publishedRevs?: Record<string, string> | null | undefined;
115
+ }, RecentPublish | {
116
+ recentJob?: {
117
+ id: string;
118
+ businessId: string;
119
+ outlets: string[];
120
+ completed: string[];
121
+ createdAt: string;
122
+ updatedAt: string;
123
+ } | null | undefined;
124
+ publishedRevs?: Record<string, string> | null | undefined;
125
+ }>;
126
+ templates: import("vue").Ref<{
127
+ _rev: string;
128
+ locations?: {
129
+ type: "restaurant" | "warehouse";
130
+ name: string;
131
+ acceptRequest: boolean;
132
+ dbName: string;
133
+ doc: {
134
+ _id: string;
135
+ businessId: string;
136
+ profile: {
137
+ code?: string | null | undefined;
138
+ _id?: string | null | undefined;
139
+ name?: string | undefined;
140
+ address?: {
141
+ coordinates?: number[] | null | undefined;
142
+ line2?: string | null | undefined;
143
+ state: string;
144
+ country: string;
145
+ line1: string;
146
+ city: string;
147
+ postcode: string;
148
+ } | undefined;
149
+ email?: string | undefined;
150
+ regNo?: string | undefined;
151
+ sstRegNo?: string | null | undefined;
152
+ phoneNo?: string | undefined;
153
+ legalName?: string | null | undefined;
154
+ discovery?: boolean | null | undefined;
155
+ coverPhoto?: string | null | undefined;
156
+ thumbnailPhoto?: string | null | undefined;
157
+ description?: string | null | undefined;
158
+ photos?: string[] | null | undefined;
159
+ operatingHours?: {
160
+ 0: {
161
+ hours: {
162
+ end: string;
163
+ start: string;
164
+ }[];
165
+ enable: boolean;
166
+ };
167
+ 2: {
168
+ hours: {
169
+ end: string;
170
+ start: string;
171
+ }[];
172
+ enable: boolean;
173
+ };
174
+ 1: {
175
+ hours: {
176
+ end: string;
177
+ start: string;
178
+ }[];
179
+ enable: boolean;
180
+ };
181
+ 3: {
182
+ hours: {
183
+ end: string;
184
+ start: string;
185
+ }[];
186
+ enable: boolean;
187
+ };
188
+ 4: {
189
+ hours: {
190
+ end: string;
191
+ start: string;
192
+ }[];
193
+ enable: boolean;
194
+ };
195
+ 5: {
196
+ hours: {
197
+ end: string;
198
+ start: string;
199
+ }[];
200
+ enable: boolean;
201
+ };
202
+ 6: {
203
+ hours: {
204
+ end: string;
205
+ start: string;
206
+ }[];
207
+ enable: boolean;
208
+ };
209
+ } | null | undefined;
210
+ tags?: string[] | null | undefined;
211
+ url?: string | null | undefined;
212
+ };
213
+ };
214
+ }[] | null | undefined;
215
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
216
+ _id: string;
217
+ items: {
218
+ code?: string | null | undefined;
219
+ disabledMeasurements?: string[] | null | undefined;
220
+ type: "menu" | "sku" | "recipe";
221
+ id: string;
222
+ name: string;
223
+ }[];
224
+ name: string;
225
+ }[], ({
226
+ _rev?: string | null | undefined;
227
+ locations?: {
228
+ type: "restaurant" | "warehouse";
229
+ name: string;
230
+ acceptRequest: boolean;
231
+ dbName: string;
232
+ doc: {
233
+ _id: string;
234
+ businessId: string;
235
+ profile: {
236
+ code?: string | null | undefined;
237
+ _id?: string | null | undefined;
238
+ name?: string | undefined;
239
+ address?: {
240
+ coordinates?: number[] | null | undefined;
241
+ line2?: string | null | undefined;
242
+ state: string;
243
+ country: string;
244
+ line1: string;
245
+ city: string;
246
+ postcode: string;
247
+ } | undefined;
248
+ email?: string | undefined;
249
+ regNo?: string | undefined;
250
+ sstRegNo?: string | null | undefined;
251
+ phoneNo?: string | undefined;
252
+ legalName?: string | null | undefined;
253
+ discovery?: boolean | null | undefined;
254
+ coverPhoto?: string | null | undefined;
255
+ thumbnailPhoto?: string | null | undefined;
256
+ description?: string | null | undefined;
257
+ photos?: string[] | null | undefined;
258
+ operatingHours?: {
259
+ 0: {
260
+ hours: {
261
+ end: string;
262
+ start: string;
263
+ }[];
264
+ enable: boolean;
265
+ };
266
+ 2: {
267
+ hours: {
268
+ end: string;
269
+ start: string;
270
+ }[];
271
+ enable: boolean;
272
+ };
273
+ 1: {
274
+ hours: {
275
+ end: string;
276
+ start: string;
277
+ }[];
278
+ enable: boolean;
279
+ };
280
+ 3: {
281
+ hours: {
282
+ end: string;
283
+ start: string;
284
+ }[];
285
+ enable: boolean;
286
+ };
287
+ 4: {
288
+ hours: {
289
+ end: string;
290
+ start: string;
291
+ }[];
292
+ enable: boolean;
293
+ };
294
+ 5: {
295
+ hours: {
296
+ end: string;
297
+ start: string;
298
+ }[];
299
+ enable: boolean;
300
+ };
301
+ 6: {
302
+ hours: {
303
+ end: string;
304
+ start: string;
305
+ }[];
306
+ enable: boolean;
307
+ };
308
+ } | null | undefined;
309
+ tags?: string[] | null | undefined;
310
+ url?: string | null | undefined;
311
+ };
312
+ };
313
+ }[] | null | undefined;
314
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
315
+ _id: string;
316
+ items: {
317
+ code?: string | null | undefined;
318
+ disabledMeasurements?: string[] | null | undefined;
319
+ type: "menu" | "sku" | "recipe";
320
+ id: string;
321
+ name: string;
322
+ }[];
323
+ name: string;
324
+ } & RevisionIdMeta)[] | {
325
+ _rev: string;
326
+ locations?: {
327
+ type: "restaurant" | "warehouse";
328
+ name: string;
329
+ acceptRequest: boolean;
330
+ dbName: string;
331
+ doc: {
332
+ _id: string;
333
+ businessId: string;
334
+ profile: {
335
+ code?: string | null | undefined;
336
+ _id?: string | null | undefined;
337
+ name?: string | undefined;
338
+ address?: {
339
+ coordinates?: number[] | null | undefined;
340
+ line2?: string | null | undefined;
341
+ state: string;
342
+ country: string;
343
+ line1: string;
344
+ city: string;
345
+ postcode: string;
346
+ } | undefined;
347
+ email?: string | undefined;
348
+ regNo?: string | undefined;
349
+ sstRegNo?: string | null | undefined;
350
+ phoneNo?: string | undefined;
351
+ legalName?: string | null | undefined;
352
+ discovery?: boolean | null | undefined;
353
+ coverPhoto?: string | null | undefined;
354
+ thumbnailPhoto?: string | null | undefined;
355
+ description?: string | null | undefined;
356
+ photos?: string[] | null | undefined;
357
+ operatingHours?: {
358
+ 0: {
359
+ hours: {
360
+ end: string;
361
+ start: string;
362
+ }[];
363
+ enable: boolean;
364
+ };
365
+ 2: {
366
+ hours: {
367
+ end: string;
368
+ start: string;
369
+ }[];
370
+ enable: boolean;
371
+ };
372
+ 1: {
373
+ hours: {
374
+ end: string;
375
+ start: string;
376
+ }[];
377
+ enable: boolean;
378
+ };
379
+ 3: {
380
+ hours: {
381
+ end: string;
382
+ start: string;
383
+ }[];
384
+ enable: boolean;
385
+ };
386
+ 4: {
387
+ hours: {
388
+ end: string;
389
+ start: string;
390
+ }[];
391
+ enable: boolean;
392
+ };
393
+ 5: {
394
+ hours: {
395
+ end: string;
396
+ start: string;
397
+ }[];
398
+ enable: boolean;
399
+ };
400
+ 6: {
401
+ hours: {
402
+ end: string;
403
+ start: string;
404
+ }[];
405
+ enable: boolean;
406
+ };
407
+ } | null | undefined;
408
+ tags?: string[] | null | undefined;
409
+ url?: string | null | undefined;
410
+ };
411
+ };
412
+ }[] | null | undefined;
413
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
414
+ _id: string;
415
+ items: {
416
+ code?: string | null | undefined;
417
+ disabledMeasurements?: string[] | null | undefined;
418
+ type: "menu" | "sku" | "recipe";
419
+ id: string;
420
+ name: string;
421
+ }[];
422
+ name: string;
423
+ }[]>;
424
+ reasons: import("vue").Ref<{
425
+ _rev?: string | null | undefined;
426
+ value: string[];
427
+ _id: string;
428
+ } | undefined, {
429
+ _rev?: string | null | undefined;
430
+ value: string[];
431
+ _id: string;
432
+ } | undefined>;
433
+ isReasonPublished: () => boolean;
434
+ loading: import("vue").Ref<boolean, boolean>;
435
+ fetchTemplates: () => Promise<void>;
436
+ loadTemplate: (templateId: string) => Promise<void>;
437
+ }, "loading" | "columnDefs" | "recentPublish" | "templates" | "reasons">>, Pick<{
438
+ columnDefs: ColumnDef<{
439
+ _rev?: string | null | undefined;
440
+ locations?: {
441
+ type: "restaurant" | "warehouse";
442
+ name: string;
443
+ acceptRequest: boolean;
444
+ dbName: string;
445
+ doc: {
446
+ _id: string;
447
+ businessId: string;
448
+ profile: {
449
+ code?: string | null | undefined;
450
+ _id?: string | null | undefined;
451
+ name?: string | undefined;
452
+ address?: {
453
+ coordinates?: number[] | null | undefined;
454
+ line2?: string | null | undefined;
455
+ state: string;
456
+ country: string;
457
+ line1: string;
458
+ city: string;
459
+ postcode: string;
460
+ } | undefined;
461
+ email?: string | undefined;
462
+ regNo?: string | undefined;
463
+ sstRegNo?: string | null | undefined;
464
+ phoneNo?: string | undefined;
465
+ legalName?: string | null | undefined;
466
+ discovery?: boolean | null | undefined;
467
+ coverPhoto?: string | null | undefined;
468
+ thumbnailPhoto?: string | null | undefined;
469
+ description?: string | null | undefined;
470
+ photos?: string[] | null | undefined;
471
+ operatingHours?: {
472
+ 0: {
473
+ hours: {
474
+ end: string;
475
+ start: string;
476
+ }[];
477
+ enable: boolean;
478
+ };
479
+ 2: {
480
+ hours: {
481
+ end: string;
482
+ start: string;
483
+ }[];
484
+ enable: boolean;
485
+ };
486
+ 1: {
487
+ hours: {
488
+ end: string;
489
+ start: string;
490
+ }[];
491
+ enable: boolean;
492
+ };
493
+ 3: {
494
+ hours: {
495
+ end: string;
496
+ start: string;
497
+ }[];
498
+ enable: boolean;
499
+ };
500
+ 4: {
501
+ hours: {
502
+ end: string;
503
+ start: string;
504
+ }[];
505
+ enable: boolean;
506
+ };
507
+ 5: {
508
+ hours: {
509
+ end: string;
510
+ start: string;
511
+ }[];
512
+ enable: boolean;
513
+ };
514
+ 6: {
515
+ hours: {
516
+ end: string;
517
+ start: string;
518
+ }[];
519
+ enable: boolean;
520
+ };
521
+ } | null | undefined;
522
+ tags?: string[] | null | undefined;
523
+ url?: string | null | undefined;
524
+ };
525
+ };
526
+ }[] | null | undefined;
527
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
528
+ _id: string;
529
+ items: {
530
+ code?: string | null | undefined;
531
+ disabledMeasurements?: string[] | null | undefined;
532
+ type: "menu" | "sku" | "recipe";
533
+ id: string;
534
+ name: string;
535
+ }[];
536
+ name: string;
537
+ } & RevisionIdMeta>[];
538
+ recentPublish: import("vue").Ref<{
539
+ recentJob?: {
540
+ id: string;
541
+ businessId: string;
542
+ outlets: string[];
543
+ completed: string[];
544
+ createdAt: string;
545
+ updatedAt: string;
546
+ } | null | undefined;
547
+ publishedRevs?: Record<string, string> | null | undefined;
548
+ }, RecentPublish | {
549
+ recentJob?: {
550
+ id: string;
551
+ businessId: string;
552
+ outlets: string[];
553
+ completed: string[];
554
+ createdAt: string;
555
+ updatedAt: string;
556
+ } | null | undefined;
557
+ publishedRevs?: Record<string, string> | null | undefined;
558
+ }>;
559
+ templates: import("vue").Ref<{
560
+ _rev: string;
561
+ locations?: {
562
+ type: "restaurant" | "warehouse";
563
+ name: string;
564
+ acceptRequest: boolean;
565
+ dbName: string;
566
+ doc: {
567
+ _id: string;
568
+ businessId: string;
569
+ profile: {
570
+ code?: string | null | undefined;
571
+ _id?: string | null | undefined;
572
+ name?: string | undefined;
573
+ address?: {
574
+ coordinates?: number[] | null | undefined;
575
+ line2?: string | null | undefined;
576
+ state: string;
577
+ country: string;
578
+ line1: string;
579
+ city: string;
580
+ postcode: string;
581
+ } | undefined;
582
+ email?: string | undefined;
583
+ regNo?: string | undefined;
584
+ sstRegNo?: string | null | undefined;
585
+ phoneNo?: string | undefined;
586
+ legalName?: string | null | undefined;
587
+ discovery?: boolean | null | undefined;
588
+ coverPhoto?: string | null | undefined;
589
+ thumbnailPhoto?: string | null | undefined;
590
+ description?: string | null | undefined;
591
+ photos?: string[] | null | undefined;
592
+ operatingHours?: {
593
+ 0: {
594
+ hours: {
595
+ end: string;
596
+ start: string;
597
+ }[];
598
+ enable: boolean;
599
+ };
600
+ 2: {
601
+ hours: {
602
+ end: string;
603
+ start: string;
604
+ }[];
605
+ enable: boolean;
606
+ };
607
+ 1: {
608
+ hours: {
609
+ end: string;
610
+ start: string;
611
+ }[];
612
+ enable: boolean;
613
+ };
614
+ 3: {
615
+ hours: {
616
+ end: string;
617
+ start: string;
618
+ }[];
619
+ enable: boolean;
620
+ };
621
+ 4: {
622
+ hours: {
623
+ end: string;
624
+ start: string;
625
+ }[];
626
+ enable: boolean;
627
+ };
628
+ 5: {
629
+ hours: {
630
+ end: string;
631
+ start: string;
632
+ }[];
633
+ enable: boolean;
634
+ };
635
+ 6: {
636
+ hours: {
637
+ end: string;
638
+ start: string;
639
+ }[];
640
+ enable: boolean;
641
+ };
642
+ } | null | undefined;
643
+ tags?: string[] | null | undefined;
644
+ url?: string | null | undefined;
645
+ };
646
+ };
647
+ }[] | null | undefined;
648
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
649
+ _id: string;
650
+ items: {
651
+ code?: string | null | undefined;
652
+ disabledMeasurements?: string[] | null | undefined;
653
+ type: "menu" | "sku" | "recipe";
654
+ id: string;
655
+ name: string;
656
+ }[];
657
+ name: string;
658
+ }[], ({
659
+ _rev?: string | null | undefined;
660
+ locations?: {
661
+ type: "restaurant" | "warehouse";
662
+ name: string;
663
+ acceptRequest: boolean;
664
+ dbName: string;
665
+ doc: {
666
+ _id: string;
667
+ businessId: string;
668
+ profile: {
669
+ code?: string | null | undefined;
670
+ _id?: string | null | undefined;
671
+ name?: string | undefined;
672
+ address?: {
673
+ coordinates?: number[] | null | undefined;
674
+ line2?: string | null | undefined;
675
+ state: string;
676
+ country: string;
677
+ line1: string;
678
+ city: string;
679
+ postcode: string;
680
+ } | undefined;
681
+ email?: string | undefined;
682
+ regNo?: string | undefined;
683
+ sstRegNo?: string | null | undefined;
684
+ phoneNo?: string | undefined;
685
+ legalName?: string | null | undefined;
686
+ discovery?: boolean | null | undefined;
687
+ coverPhoto?: string | null | undefined;
688
+ thumbnailPhoto?: string | null | undefined;
689
+ description?: string | null | undefined;
690
+ photos?: string[] | null | undefined;
691
+ operatingHours?: {
692
+ 0: {
693
+ hours: {
694
+ end: string;
695
+ start: string;
696
+ }[];
697
+ enable: boolean;
698
+ };
699
+ 2: {
700
+ hours: {
701
+ end: string;
702
+ start: string;
703
+ }[];
704
+ enable: boolean;
705
+ };
706
+ 1: {
707
+ hours: {
708
+ end: string;
709
+ start: string;
710
+ }[];
711
+ enable: boolean;
712
+ };
713
+ 3: {
714
+ hours: {
715
+ end: string;
716
+ start: string;
717
+ }[];
718
+ enable: boolean;
719
+ };
720
+ 4: {
721
+ hours: {
722
+ end: string;
723
+ start: string;
724
+ }[];
725
+ enable: boolean;
726
+ };
727
+ 5: {
728
+ hours: {
729
+ end: string;
730
+ start: string;
731
+ }[];
732
+ enable: boolean;
733
+ };
734
+ 6: {
735
+ hours: {
736
+ end: string;
737
+ start: string;
738
+ }[];
739
+ enable: boolean;
740
+ };
741
+ } | null | undefined;
742
+ tags?: string[] | null | undefined;
743
+ url?: string | null | undefined;
744
+ };
745
+ };
746
+ }[] | null | undefined;
747
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
748
+ _id: string;
749
+ items: {
750
+ code?: string | null | undefined;
751
+ disabledMeasurements?: string[] | null | undefined;
752
+ type: "menu" | "sku" | "recipe";
753
+ id: string;
754
+ name: string;
755
+ }[];
756
+ name: string;
757
+ } & RevisionIdMeta)[] | {
758
+ _rev: string;
759
+ locations?: {
760
+ type: "restaurant" | "warehouse";
761
+ name: string;
762
+ acceptRequest: boolean;
763
+ dbName: string;
764
+ doc: {
765
+ _id: string;
766
+ businessId: string;
767
+ profile: {
768
+ code?: string | null | undefined;
769
+ _id?: string | null | undefined;
770
+ name?: string | undefined;
771
+ address?: {
772
+ coordinates?: number[] | null | undefined;
773
+ line2?: string | null | undefined;
774
+ state: string;
775
+ country: string;
776
+ line1: string;
777
+ city: string;
778
+ postcode: string;
779
+ } | undefined;
780
+ email?: string | undefined;
781
+ regNo?: string | undefined;
782
+ sstRegNo?: string | null | undefined;
783
+ phoneNo?: string | undefined;
784
+ legalName?: string | null | undefined;
785
+ discovery?: boolean | null | undefined;
786
+ coverPhoto?: string | null | undefined;
787
+ thumbnailPhoto?: string | null | undefined;
788
+ description?: string | null | undefined;
789
+ photos?: string[] | null | undefined;
790
+ operatingHours?: {
791
+ 0: {
792
+ hours: {
793
+ end: string;
794
+ start: string;
795
+ }[];
796
+ enable: boolean;
797
+ };
798
+ 2: {
799
+ hours: {
800
+ end: string;
801
+ start: string;
802
+ }[];
803
+ enable: boolean;
804
+ };
805
+ 1: {
806
+ hours: {
807
+ end: string;
808
+ start: string;
809
+ }[];
810
+ enable: boolean;
811
+ };
812
+ 3: {
813
+ hours: {
814
+ end: string;
815
+ start: string;
816
+ }[];
817
+ enable: boolean;
818
+ };
819
+ 4: {
820
+ hours: {
821
+ end: string;
822
+ start: string;
823
+ }[];
824
+ enable: boolean;
825
+ };
826
+ 5: {
827
+ hours: {
828
+ end: string;
829
+ start: string;
830
+ }[];
831
+ enable: boolean;
832
+ };
833
+ 6: {
834
+ hours: {
835
+ end: string;
836
+ start: string;
837
+ }[];
838
+ enable: boolean;
839
+ };
840
+ } | null | undefined;
841
+ tags?: string[] | null | undefined;
842
+ url?: string | null | undefined;
843
+ };
844
+ };
845
+ }[] | null | undefined;
846
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
847
+ _id: string;
848
+ items: {
849
+ code?: string | null | undefined;
850
+ disabledMeasurements?: string[] | null | undefined;
851
+ type: "menu" | "sku" | "recipe";
852
+ id: string;
853
+ name: string;
854
+ }[];
855
+ name: string;
856
+ }[]>;
857
+ reasons: import("vue").Ref<{
858
+ _rev?: string | null | undefined;
859
+ value: string[];
860
+ _id: string;
861
+ } | undefined, {
862
+ _rev?: string | null | undefined;
863
+ value: string[];
864
+ _id: string;
865
+ } | undefined>;
866
+ isReasonPublished: () => boolean;
867
+ loading: import("vue").Ref<boolean, boolean>;
868
+ fetchTemplates: () => Promise<void>;
869
+ loadTemplate: (templateId: string) => Promise<void>;
870
+ }, never>, Pick<{
871
+ columnDefs: ColumnDef<{
872
+ _rev?: string | null | undefined;
873
+ locations?: {
874
+ type: "restaurant" | "warehouse";
875
+ name: string;
876
+ acceptRequest: boolean;
877
+ dbName: string;
878
+ doc: {
879
+ _id: string;
880
+ businessId: string;
881
+ profile: {
882
+ code?: string | null | undefined;
883
+ _id?: string | null | undefined;
884
+ name?: string | undefined;
885
+ address?: {
886
+ coordinates?: number[] | null | undefined;
887
+ line2?: string | null | undefined;
888
+ state: string;
889
+ country: string;
890
+ line1: string;
891
+ city: string;
892
+ postcode: string;
893
+ } | undefined;
894
+ email?: string | undefined;
895
+ regNo?: string | undefined;
896
+ sstRegNo?: string | null | undefined;
897
+ phoneNo?: string | undefined;
898
+ legalName?: string | null | undefined;
899
+ discovery?: boolean | null | undefined;
900
+ coverPhoto?: string | null | undefined;
901
+ thumbnailPhoto?: string | null | undefined;
902
+ description?: string | null | undefined;
903
+ photos?: string[] | null | undefined;
904
+ operatingHours?: {
905
+ 0: {
906
+ hours: {
907
+ end: string;
908
+ start: string;
909
+ }[];
910
+ enable: boolean;
911
+ };
912
+ 2: {
913
+ hours: {
914
+ end: string;
915
+ start: string;
916
+ }[];
917
+ enable: boolean;
918
+ };
919
+ 1: {
920
+ hours: {
921
+ end: string;
922
+ start: string;
923
+ }[];
924
+ enable: boolean;
925
+ };
926
+ 3: {
927
+ hours: {
928
+ end: string;
929
+ start: string;
930
+ }[];
931
+ enable: boolean;
932
+ };
933
+ 4: {
934
+ hours: {
935
+ end: string;
936
+ start: string;
937
+ }[];
938
+ enable: boolean;
939
+ };
940
+ 5: {
941
+ hours: {
942
+ end: string;
943
+ start: string;
944
+ }[];
945
+ enable: boolean;
946
+ };
947
+ 6: {
948
+ hours: {
949
+ end: string;
950
+ start: string;
951
+ }[];
952
+ enable: boolean;
953
+ };
954
+ } | null | undefined;
955
+ tags?: string[] | null | undefined;
956
+ url?: string | null | undefined;
957
+ };
958
+ };
959
+ }[] | null | undefined;
960
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
961
+ _id: string;
962
+ items: {
963
+ code?: string | null | undefined;
964
+ disabledMeasurements?: string[] | null | undefined;
965
+ type: "menu" | "sku" | "recipe";
966
+ id: string;
967
+ name: string;
968
+ }[];
969
+ name: string;
970
+ } & RevisionIdMeta>[];
971
+ recentPublish: import("vue").Ref<{
972
+ recentJob?: {
973
+ id: string;
974
+ businessId: string;
975
+ outlets: string[];
976
+ completed: string[];
977
+ createdAt: string;
978
+ updatedAt: string;
979
+ } | null | undefined;
980
+ publishedRevs?: Record<string, string> | null | undefined;
981
+ }, RecentPublish | {
982
+ recentJob?: {
983
+ id: string;
984
+ businessId: string;
985
+ outlets: string[];
986
+ completed: string[];
987
+ createdAt: string;
988
+ updatedAt: string;
989
+ } | null | undefined;
990
+ publishedRevs?: Record<string, string> | null | undefined;
991
+ }>;
992
+ templates: import("vue").Ref<{
993
+ _rev: string;
994
+ locations?: {
995
+ type: "restaurant" | "warehouse";
996
+ name: string;
997
+ acceptRequest: boolean;
998
+ dbName: string;
999
+ doc: {
1000
+ _id: string;
1001
+ businessId: string;
1002
+ profile: {
1003
+ code?: string | null | undefined;
1004
+ _id?: string | null | undefined;
1005
+ name?: string | undefined;
1006
+ address?: {
1007
+ coordinates?: number[] | null | undefined;
1008
+ line2?: string | null | undefined;
1009
+ state: string;
1010
+ country: string;
1011
+ line1: string;
1012
+ city: string;
1013
+ postcode: string;
1014
+ } | undefined;
1015
+ email?: string | undefined;
1016
+ regNo?: string | undefined;
1017
+ sstRegNo?: string | null | undefined;
1018
+ phoneNo?: string | undefined;
1019
+ legalName?: string | null | undefined;
1020
+ discovery?: boolean | null | undefined;
1021
+ coverPhoto?: string | null | undefined;
1022
+ thumbnailPhoto?: string | null | undefined;
1023
+ description?: string | null | undefined;
1024
+ photos?: string[] | null | undefined;
1025
+ operatingHours?: {
1026
+ 0: {
1027
+ hours: {
1028
+ end: string;
1029
+ start: string;
1030
+ }[];
1031
+ enable: boolean;
1032
+ };
1033
+ 2: {
1034
+ hours: {
1035
+ end: string;
1036
+ start: string;
1037
+ }[];
1038
+ enable: boolean;
1039
+ };
1040
+ 1: {
1041
+ hours: {
1042
+ end: string;
1043
+ start: string;
1044
+ }[];
1045
+ enable: boolean;
1046
+ };
1047
+ 3: {
1048
+ hours: {
1049
+ end: string;
1050
+ start: string;
1051
+ }[];
1052
+ enable: boolean;
1053
+ };
1054
+ 4: {
1055
+ hours: {
1056
+ end: string;
1057
+ start: string;
1058
+ }[];
1059
+ enable: boolean;
1060
+ };
1061
+ 5: {
1062
+ hours: {
1063
+ end: string;
1064
+ start: string;
1065
+ }[];
1066
+ enable: boolean;
1067
+ };
1068
+ 6: {
1069
+ hours: {
1070
+ end: string;
1071
+ start: string;
1072
+ }[];
1073
+ enable: boolean;
1074
+ };
1075
+ } | null | undefined;
1076
+ tags?: string[] | null | undefined;
1077
+ url?: string | null | undefined;
1078
+ };
1079
+ };
1080
+ }[] | null | undefined;
1081
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1082
+ _id: string;
1083
+ items: {
1084
+ code?: string | null | undefined;
1085
+ disabledMeasurements?: string[] | null | undefined;
1086
+ type: "menu" | "sku" | "recipe";
1087
+ id: string;
1088
+ name: string;
1089
+ }[];
1090
+ name: string;
1091
+ }[], ({
1092
+ _rev?: string | null | undefined;
1093
+ locations?: {
1094
+ type: "restaurant" | "warehouse";
1095
+ name: string;
1096
+ acceptRequest: boolean;
1097
+ dbName: string;
1098
+ doc: {
1099
+ _id: string;
1100
+ businessId: string;
1101
+ profile: {
1102
+ code?: string | null | undefined;
1103
+ _id?: string | null | undefined;
1104
+ name?: string | undefined;
1105
+ address?: {
1106
+ coordinates?: number[] | null | undefined;
1107
+ line2?: string | null | undefined;
1108
+ state: string;
1109
+ country: string;
1110
+ line1: string;
1111
+ city: string;
1112
+ postcode: string;
1113
+ } | undefined;
1114
+ email?: string | undefined;
1115
+ regNo?: string | undefined;
1116
+ sstRegNo?: string | null | undefined;
1117
+ phoneNo?: string | undefined;
1118
+ legalName?: string | null | undefined;
1119
+ discovery?: boolean | null | undefined;
1120
+ coverPhoto?: string | null | undefined;
1121
+ thumbnailPhoto?: string | null | undefined;
1122
+ description?: string | null | undefined;
1123
+ photos?: string[] | null | undefined;
1124
+ operatingHours?: {
1125
+ 0: {
1126
+ hours: {
1127
+ end: string;
1128
+ start: string;
1129
+ }[];
1130
+ enable: boolean;
1131
+ };
1132
+ 2: {
1133
+ hours: {
1134
+ end: string;
1135
+ start: string;
1136
+ }[];
1137
+ enable: boolean;
1138
+ };
1139
+ 1: {
1140
+ hours: {
1141
+ end: string;
1142
+ start: string;
1143
+ }[];
1144
+ enable: boolean;
1145
+ };
1146
+ 3: {
1147
+ hours: {
1148
+ end: string;
1149
+ start: string;
1150
+ }[];
1151
+ enable: boolean;
1152
+ };
1153
+ 4: {
1154
+ hours: {
1155
+ end: string;
1156
+ start: string;
1157
+ }[];
1158
+ enable: boolean;
1159
+ };
1160
+ 5: {
1161
+ hours: {
1162
+ end: string;
1163
+ start: string;
1164
+ }[];
1165
+ enable: boolean;
1166
+ };
1167
+ 6: {
1168
+ hours: {
1169
+ end: string;
1170
+ start: string;
1171
+ }[];
1172
+ enable: boolean;
1173
+ };
1174
+ } | null | undefined;
1175
+ tags?: string[] | null | undefined;
1176
+ url?: string | null | undefined;
1177
+ };
1178
+ };
1179
+ }[] | null | undefined;
1180
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1181
+ _id: string;
1182
+ items: {
1183
+ code?: string | null | undefined;
1184
+ disabledMeasurements?: string[] | null | undefined;
1185
+ type: "menu" | "sku" | "recipe";
1186
+ id: string;
1187
+ name: string;
1188
+ }[];
1189
+ name: string;
1190
+ } & RevisionIdMeta)[] | {
1191
+ _rev: string;
1192
+ locations?: {
1193
+ type: "restaurant" | "warehouse";
1194
+ name: string;
1195
+ acceptRequest: boolean;
1196
+ dbName: string;
1197
+ doc: {
1198
+ _id: string;
1199
+ businessId: string;
1200
+ profile: {
1201
+ code?: string | null | undefined;
1202
+ _id?: string | null | undefined;
1203
+ name?: string | undefined;
1204
+ address?: {
1205
+ coordinates?: number[] | null | undefined;
1206
+ line2?: string | null | undefined;
1207
+ state: string;
1208
+ country: string;
1209
+ line1: string;
1210
+ city: string;
1211
+ postcode: string;
1212
+ } | undefined;
1213
+ email?: string | undefined;
1214
+ regNo?: string | undefined;
1215
+ sstRegNo?: string | null | undefined;
1216
+ phoneNo?: string | undefined;
1217
+ legalName?: string | null | undefined;
1218
+ discovery?: boolean | null | undefined;
1219
+ coverPhoto?: string | null | undefined;
1220
+ thumbnailPhoto?: string | null | undefined;
1221
+ description?: string | null | undefined;
1222
+ photos?: string[] | null | undefined;
1223
+ operatingHours?: {
1224
+ 0: {
1225
+ hours: {
1226
+ end: string;
1227
+ start: string;
1228
+ }[];
1229
+ enable: boolean;
1230
+ };
1231
+ 2: {
1232
+ hours: {
1233
+ end: string;
1234
+ start: string;
1235
+ }[];
1236
+ enable: boolean;
1237
+ };
1238
+ 1: {
1239
+ hours: {
1240
+ end: string;
1241
+ start: string;
1242
+ }[];
1243
+ enable: boolean;
1244
+ };
1245
+ 3: {
1246
+ hours: {
1247
+ end: string;
1248
+ start: string;
1249
+ }[];
1250
+ enable: boolean;
1251
+ };
1252
+ 4: {
1253
+ hours: {
1254
+ end: string;
1255
+ start: string;
1256
+ }[];
1257
+ enable: boolean;
1258
+ };
1259
+ 5: {
1260
+ hours: {
1261
+ end: string;
1262
+ start: string;
1263
+ }[];
1264
+ enable: boolean;
1265
+ };
1266
+ 6: {
1267
+ hours: {
1268
+ end: string;
1269
+ start: string;
1270
+ }[];
1271
+ enable: boolean;
1272
+ };
1273
+ } | null | undefined;
1274
+ tags?: string[] | null | undefined;
1275
+ url?: string | null | undefined;
1276
+ };
1277
+ };
1278
+ }[] | null | undefined;
1279
+ type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1280
+ _id: string;
1281
+ items: {
1282
+ code?: string | null | undefined;
1283
+ disabledMeasurements?: string[] | null | undefined;
1284
+ type: "menu" | "sku" | "recipe";
1285
+ id: string;
1286
+ name: string;
1287
+ }[];
1288
+ name: string;
1289
+ }[]>;
1290
+ reasons: import("vue").Ref<{
1291
+ _rev?: string | null | undefined;
1292
+ value: string[];
1293
+ _id: string;
1294
+ } | undefined, {
1295
+ _rev?: string | null | undefined;
1296
+ value: string[];
1297
+ _id: string;
1298
+ } | undefined>;
1299
+ isReasonPublished: () => boolean;
1300
+ loading: import("vue").Ref<boolean, boolean>;
1301
+ fetchTemplates: () => Promise<void>;
1302
+ loadTemplate: (templateId: string) => Promise<void>;
1303
+ }, "isReasonPublished" | "fetchTemplates" | "loadTemplate">>;