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