@feedmepos/mf-inventory-portal 0.0.22-dev.5 → 0.0.22-dev.50

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 (144) hide show
  1. package/dist/ApprovalView-CyIOcyG5.js +140 -0
  2. package/dist/{BindingsDialog-DQJhC3Mo.js → BindingsDialog-BXePN5iL.js} +10 -10
  3. package/dist/{BindingsPicker-YfbPb_dG.js → BindingsPicker-Bd_qb0aO.js} +15 -15
  4. package/dist/{BindingsTable-D3MVcHXZ.js → BindingsTable-BV-nP9HU.js} +4 -4
  5. package/dist/ClosingTemplateView-CSvWLccZ.js +1829 -0
  6. package/dist/FmDroppableField-DwZ6ujPh.js +154 -0
  7. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DpCoW_-F.js +266 -0
  8. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BpzreBHD.js +435 -0
  9. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-C8k7pSPT.js +51 -0
  10. package/dist/IngredientGroupView-C0hPeD41.js +608 -0
  11. package/dist/IngredientsView-CpwVIGXd.js +1608 -0
  12. package/dist/IntegrationView-Bt8pGAHS.js +1225 -0
  13. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-wsBLYBpB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-yA-qJUUz.js} +1 -1
  14. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BqcqoKyN.js +116 -0
  15. package/dist/{PurchaseOrderPrintPreview-BcAmgmD8.js → PurchaseOrderPrintPreview-D3ugzCW_.js} +7 -7
  16. package/dist/ReceiveRequestView-D14YTEEe.js +4073 -0
  17. package/dist/RecipeView-D0WsMfKm.js +594 -0
  18. package/dist/Standalone.vue.d.ts +2 -0
  19. package/dist/StockView-sxI0L6MP.js +7770 -0
  20. package/dist/SupplierView-clAkARuW.js +1468 -0
  21. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9NU1m6S.js +1150 -0
  22. package/dist/TransferTemplateView-DpI6kVqX.js +1258 -0
  23. package/dist/{UnitView-B95q8Xrj.js → UnitView-CneJsDum.js} +18 -18
  24. package/dist/{WarehouseView-CHGXvyeS.js → WarehouseView-DYbFWTlh.js} +176 -177
  25. package/dist/api/bill.d.ts +84 -238
  26. package/dist/api/closing-template.d.ts +6 -4
  27. package/dist/api/inventory.d.ts +282 -91
  28. package/dist/api/netsuite.d.ts +71 -0
  29. package/dist/api/purchase-order-template.d.ts +4 -6
  30. package/dist/api/supplier.d.ts +1 -0
  31. package/dist/{app-CfXF4jdF.js → app-B4pi48sM.js} +26414 -24985
  32. package/dist/app.d.ts +88 -3
  33. package/dist/app.js +3 -3
  34. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  35. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  36. package/dist/components/FmMultiselectDialog.vue.d.ts +3 -9
  37. package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
  38. package/dist/components/FmUnitInputRules.d.ts +2 -0
  39. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
  40. package/dist/components/map/GoogleMap.vue.d.ts +4 -4
  41. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  42. package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
  43. package/dist/{decimal-BZ7tX47r.js → decimal-C8O2p3Sg.js} +1 -1
  44. package/dist/defineDeepModel-BXP1vLGf.js +13 -0
  45. package/dist/extensions/array.d.ts +1 -0
  46. package/dist/format-time-from-id-DgW7OJL_.js +15 -0
  47. package/dist/format-unit-display-BP4O0Pym.js +1195 -0
  48. package/dist/helper/rules.d.ts +7 -0
  49. package/dist/helper/rules.spec.d.ts +1 -0
  50. package/dist/helper/xlsx.util.d.ts +7 -0
  51. package/dist/router/name.d.ts +1 -0
  52. package/dist/stores/api.d.ts +1 -0
  53. package/dist/stores/feature.d.ts +0 -1
  54. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  55. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  56. package/dist/stores/integration/foodmarkethub.d.ts +391 -0
  57. package/dist/stores/integration/index.d.ts +7 -0
  58. package/dist/stores/integration/netsuite.d.ts +102 -0
  59. package/dist/stores/inventory.d.ts +294 -9
  60. package/dist/stores/location.d.ts +508 -503
  61. package/dist/stores/supplier.d.ts +124 -4
  62. package/dist/style.css +1 -1
  63. package/dist/supplier-D-8XhuF_.js +77 -0
  64. package/dist/tsconfig.app.tsbuildinfo +1 -1
  65. package/dist/use-template-enabled-locations-2-C2E4j3k-.js +85 -0
  66. package/dist/views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts +2 -0
  67. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
  68. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
  69. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  70. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +877 -1038
  71. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +882 -1049
  72. package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
  73. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
  74. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
  75. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
  76. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
  77. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
  78. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
  79. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
  80. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  81. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  82. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
  83. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
  84. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  85. package/dist/views/integration/FoodMarketHub.vue.d.ts +2 -0
  86. package/dist/views/integration/NetSuite.vue.d.ts +2 -0
  87. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +7 -7
  88. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +7 -7
  89. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  90. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +49 -0
  91. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1961 -87
  92. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  93. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  94. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  95. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2377 -292
  96. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2329 -244
  97. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  98. package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
  99. package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
  100. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +32 -2
  101. package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
  102. package/dist/views/supplier/components/supplier-import/SupplierImport.vue.d.ts +2 -0
  103. package/dist/views/supplier/components/supplier-import/SupplierImportItem.vue.d.ts +12 -0
  104. package/dist/views/supplier/components/supplier-import/SupplierImportItemProps.d.ts +6 -0
  105. package/dist/views/supplier/composables/use-supplier-actions.d.ts +10 -0
  106. package/dist/views/supplier/helpers/import-export.helper.d.ts +50 -0
  107. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
  108. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
  109. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  110. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
  111. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
  112. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
  113. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
  114. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
  115. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
  116. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1277 -1478
  117. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1697 -906
  118. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
  119. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -247
  120. package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
  121. package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
  122. package/dist/{xlsx-BtP1Qjj6.js → xlsx-Dsy-fxZw.js} +1525 -1525
  123. package/dist/xlsx.util-CxGmvsp9.js +78 -0
  124. package/package.json +10 -7
  125. package/dist/ApprovalView-BdaNwUBc.js +0 -129
  126. package/dist/ClosingTemplateView-BpErgepi.js +0 -1030
  127. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D3B7kOlU.js +0 -372
  128. package/dist/IngredientsView-GqrkpCm5.js +0 -1758
  129. package/dist/IntegrationView-7c3MpUzS.js +0 -1141
  130. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BIwdObb1.js +0 -88
  131. package/dist/ReceiveRequestView-BAuXvzQW.js +0 -215
  132. package/dist/RecipeView-C6tZPQ-K.js +0 -581
  133. package/dist/StockView-4uXHYz4E.js +0 -1892
  134. package/dist/SupplierView-CuWvKCWY.js +0 -827
  135. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CTQ9HIqf.js +0 -740
  136. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang--6JoXOLD.js +0 -1409
  137. package/dist/TransferTemplateView-D1Lfi3aW.js +0 -1230
  138. package/dist/defineDeepModel-BKAs9qN6.js +0 -13
  139. package/dist/format-time-from-id-B7ZE4sdX.js +0 -15
  140. package/dist/id-to-date-D1lOqIir.js +0 -30
  141. package/dist/purchase-order-transaction-type-tZ7cj1dz.js +0 -702
  142. package/dist/supplier-BIDBk5S6.js +0 -69
  143. package/dist/use-template-enabled-locations-DlMnS9WJ.js +0 -57
  144. package/dist/xlsx.util-BKFiH-ig.js +0 -109
@@ -1,99 +1,24 @@
1
1
  import { type ColumnDef } from '@feedmepos/ui-library';
2
2
  import { type RecentPublish } from '@/api/closing-template';
3
- export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"closingTable", Pick<{
3
+ import type { RevisionIdMeta } from '@feedmepos/inventory-core';
4
+ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"closingTable", import("pinia")._UnwrapAll<Pick<{
4
5
  columnDefs: ColumnDef<{
5
6
  ref?: string | null | undefined;
6
7
  _rev?: string | null | undefined;
7
8
  updatedAt?: Date | null | undefined;
8
- locations?: ({
9
- doc?: any;
10
- type: "restaurant";
11
- name: string;
12
- acceptRequest: boolean;
13
- dbName: string;
14
- } | {
15
- type: "warehouse";
9
+ locations?: {
10
+ type: "restaurant" | "warehouse";
16
11
  name: string;
17
12
  acceptRequest: boolean;
18
13
  dbName: string;
19
14
  doc: {
20
- pf_business?: {
21
- internal?: boolean | null | undefined;
22
- url?: string | null | undefined;
23
- expiredAt?: string | null | undefined;
24
- agentId?: string | null | undefined;
25
- restaurantTagGroups?: {
26
- name: string;
27
- id: string;
28
- tags: {
29
- name: string;
30
- id: string;
31
- }[];
32
- }[] | null | undefined;
33
- pf_agent?: {
34
- clickupId?: string | null | undefined;
35
- members?: {
36
- pf_user?: {
37
- email?: string | null | undefined;
38
- phoneNumber?: string | null | undefined;
39
- birthday?: string | null | undefined;
40
- gender?: "MALE" | "FEMALE" | null | undefined;
41
- addresses?: {
42
- name: string;
43
- address: string;
44
- coordinates: number[];
45
- }[] | null | undefined;
46
- photoURL?: string | null | undefined;
47
- displayName?: string | null | undefined;
48
- imported?: {
49
- raw: Record<string, any>;
50
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
51
- } | null | undefined;
52
- _id: string;
53
- } | null | undefined;
54
- role: "ADMIN";
55
- userId: string;
56
- }[] | null | undefined;
57
- code: string;
58
- name: string;
59
- _id: string;
60
- isReseller: boolean;
61
- } | null | undefined;
62
- thumbnail?: string | null | undefined;
63
- billingInfos?: {
64
- _id?: string | null | undefined;
65
- name: string;
66
- address: {
67
- coordinates?: number[] | null | undefined;
68
- line2?: string | null | undefined;
69
- state: string;
70
- country: string;
71
- line1: string;
72
- city: string;
73
- postcode: string;
74
- };
75
- email: string;
76
- companyName: string;
77
- contact: string;
78
- }[] | null | undefined;
79
- customerDisplayImages?: {
80
- url: string;
81
- restaurantIds: string[];
82
- }[] | null | undefined;
83
- name: string;
84
- _id: string;
85
- ownerId: string;
86
- restaurantQuota: number;
87
- warehouseQuota: number;
88
- menuVersion: string;
89
- } | null | undefined;
90
15
  _id: string;
91
16
  businessId: string;
92
17
  profile: {
93
- email?: string | null | undefined;
94
- phoneNo?: string | null | undefined;
95
- name: string;
96
- address: {
18
+ code?: string | null | undefined;
19
+ _id?: string | null | undefined;
20
+ name?: string | undefined;
21
+ address?: {
97
22
  coordinates?: number[] | null | undefined;
98
23
  line2?: string | null | undefined;
99
24
  state: string;
@@ -101,11 +26,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
101
26
  line1: string;
102
27
  city: string;
103
28
  postcode: string;
104
- };
105
- regNo: string;
29
+ } | undefined;
30
+ email?: string | undefined;
31
+ regNo?: string | undefined;
32
+ sstRegNo?: string | null | undefined;
33
+ phoneNo?: string | undefined;
34
+ legalName?: string | null | undefined;
35
+ discovery?: boolean | null | undefined;
36
+ coverPhoto?: string | null | undefined;
37
+ thumbnailPhoto?: string | null | undefined;
38
+ description?: string | null | undefined;
39
+ photos?: string[] | null | undefined;
40
+ operatingHours?: {
41
+ 0: {
42
+ hours: {
43
+ end: string;
44
+ start: string;
45
+ }[];
46
+ enable: boolean;
47
+ };
48
+ 2: {
49
+ hours: {
50
+ end: string;
51
+ start: string;
52
+ }[];
53
+ enable: boolean;
54
+ };
55
+ 1: {
56
+ hours: {
57
+ end: string;
58
+ start: string;
59
+ }[];
60
+ enable: boolean;
61
+ };
62
+ 3: {
63
+ hours: {
64
+ end: string;
65
+ start: string;
66
+ }[];
67
+ enable: boolean;
68
+ };
69
+ 4: {
70
+ hours: {
71
+ end: string;
72
+ start: string;
73
+ }[];
74
+ enable: boolean;
75
+ };
76
+ 5: {
77
+ hours: {
78
+ end: string;
79
+ start: string;
80
+ }[];
81
+ enable: boolean;
82
+ };
83
+ 6: {
84
+ hours: {
85
+ end: string;
86
+ start: string;
87
+ }[];
88
+ enable: boolean;
89
+ };
90
+ } | null | undefined;
91
+ tags?: string[] | null | undefined;
92
+ url?: string | null | undefined;
106
93
  };
107
94
  };
108
- })[] | null | undefined;
95
+ }[] | null | undefined;
109
96
  updatedBy?: {
110
97
  email?: string | null | undefined;
111
98
  phoneNumber?: string | null | undefined;
@@ -141,7 +128,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
141
128
  precision: number;
142
129
  };
143
130
  } | null | undefined;
144
- type: "RECIPE" | "SKU";
131
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
145
132
  amount: {
146
133
  amount: number;
147
134
  precision: number;
@@ -192,7 +179,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
192
179
  };
193
180
  }[];
194
181
  name: string;
195
- }>[];
182
+ } & RevisionIdMeta>[];
196
183
  recentPublish: import("vue").Ref<{
197
184
  recentJob?: {
198
185
  id: string;
@@ -216,97 +203,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
216
203
  }>;
217
204
  templates: import("vue").Ref<{
218
205
  ref?: string | null | undefined;
219
- _rev?: string | null | undefined;
206
+ _rev: string;
220
207
  updatedAt?: Date | null | undefined;
221
- locations?: ({
222
- doc?: any;
223
- type: "restaurant";
224
- name: string;
225
- acceptRequest: boolean;
226
- dbName: string;
227
- } | {
228
- type: "warehouse";
208
+ locations?: {
209
+ type: "restaurant" | "warehouse";
229
210
  name: string;
230
211
  acceptRequest: boolean;
231
212
  dbName: string;
232
213
  doc: {
233
- pf_business?: {
234
- internal?: boolean | null | undefined;
235
- url?: string | null | undefined;
236
- expiredAt?: string | null | undefined;
237
- agentId?: string | null | undefined;
238
- restaurantTagGroups?: {
239
- name: string;
240
- id: string;
241
- tags: {
242
- name: string;
243
- id: string;
244
- }[];
245
- }[] | null | undefined;
246
- pf_agent?: {
247
- clickupId?: string | null | undefined;
248
- members?: {
249
- pf_user?: {
250
- email?: string | null | undefined;
251
- phoneNumber?: string | null | undefined;
252
- birthday?: string | null | undefined;
253
- gender?: "MALE" | "FEMALE" | null | undefined;
254
- addresses?: {
255
- name: string;
256
- address: string;
257
- coordinates: number[];
258
- }[] | null | undefined;
259
- photoURL?: string | null | undefined;
260
- displayName?: string | null | undefined;
261
- imported?: {
262
- raw: Record<string, any>;
263
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
264
- } | null | undefined;
265
- _id: string;
266
- } | null | undefined;
267
- role: "ADMIN";
268
- userId: string;
269
- }[] | null | undefined;
270
- code: string;
271
- name: string;
272
- _id: string;
273
- isReseller: boolean;
274
- } | null | undefined;
275
- thumbnail?: string | null | undefined;
276
- billingInfos?: {
277
- _id?: string | null | undefined;
278
- name: string;
279
- address: {
280
- coordinates?: number[] | null | undefined;
281
- line2?: string | null | undefined;
282
- state: string;
283
- country: string;
284
- line1: string;
285
- city: string;
286
- postcode: string;
287
- };
288
- email: string;
289
- companyName: string;
290
- contact: string;
291
- }[] | null | undefined;
292
- customerDisplayImages?: {
293
- url: string;
294
- restaurantIds: string[];
295
- }[] | null | undefined;
296
- name: string;
297
- _id: string;
298
- ownerId: string;
299
- restaurantQuota: number;
300
- warehouseQuota: number;
301
- menuVersion: string;
302
- } | null | undefined;
303
214
  _id: string;
304
215
  businessId: string;
305
216
  profile: {
306
- email?: string | null | undefined;
307
- phoneNo?: string | null | undefined;
308
- name: string;
309
- address: {
217
+ code?: string | null | undefined;
218
+ _id?: string | null | undefined;
219
+ name?: string | undefined;
220
+ address?: {
310
221
  coordinates?: number[] | null | undefined;
311
222
  line2?: string | null | undefined;
312
223
  state: string;
@@ -314,11 +225,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
314
225
  line1: string;
315
226
  city: string;
316
227
  postcode: string;
317
- };
318
- regNo: string;
228
+ } | undefined;
229
+ email?: string | undefined;
230
+ regNo?: string | undefined;
231
+ sstRegNo?: string | null | undefined;
232
+ phoneNo?: string | undefined;
233
+ legalName?: string | null | undefined;
234
+ discovery?: boolean | null | undefined;
235
+ coverPhoto?: string | null | undefined;
236
+ thumbnailPhoto?: string | null | undefined;
237
+ description?: string | null | undefined;
238
+ photos?: string[] | null | undefined;
239
+ operatingHours?: {
240
+ 0: {
241
+ hours: {
242
+ end: string;
243
+ start: string;
244
+ }[];
245
+ enable: boolean;
246
+ };
247
+ 2: {
248
+ hours: {
249
+ end: string;
250
+ start: string;
251
+ }[];
252
+ enable: boolean;
253
+ };
254
+ 1: {
255
+ hours: {
256
+ end: string;
257
+ start: string;
258
+ }[];
259
+ enable: boolean;
260
+ };
261
+ 3: {
262
+ hours: {
263
+ end: string;
264
+ start: string;
265
+ }[];
266
+ enable: boolean;
267
+ };
268
+ 4: {
269
+ hours: {
270
+ end: string;
271
+ start: string;
272
+ }[];
273
+ enable: boolean;
274
+ };
275
+ 5: {
276
+ hours: {
277
+ end: string;
278
+ start: string;
279
+ }[];
280
+ enable: boolean;
281
+ };
282
+ 6: {
283
+ hours: {
284
+ end: string;
285
+ start: string;
286
+ }[];
287
+ enable: boolean;
288
+ };
289
+ } | null | undefined;
290
+ tags?: string[] | null | undefined;
291
+ url?: string | null | undefined;
319
292
  };
320
293
  };
321
- })[] | null | undefined;
294
+ }[] | null | undefined;
322
295
  updatedBy?: {
323
296
  email?: string | null | undefined;
324
297
  phoneNumber?: string | null | undefined;
@@ -354,7 +327,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
354
327
  precision: number;
355
328
  };
356
329
  } | null | undefined;
357
- type: "RECIPE" | "SKU";
330
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
358
331
  amount: {
359
332
  amount: number;
360
333
  precision: number;
@@ -405,99 +378,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
405
378
  };
406
379
  }[];
407
380
  name: string;
408
- }[], {
381
+ }[], ({
409
382
  ref?: string | null | undefined;
410
383
  _rev?: string | null | undefined;
411
384
  updatedAt?: Date | null | undefined;
412
- locations?: ({
413
- doc?: any;
414
- type: "restaurant";
415
- name: string;
416
- acceptRequest: boolean;
417
- dbName: string;
418
- } | {
419
- type: "warehouse";
385
+ locations?: {
386
+ type: "restaurant" | "warehouse";
420
387
  name: string;
421
388
  acceptRequest: boolean;
422
389
  dbName: string;
423
390
  doc: {
424
- pf_business?: {
425
- internal?: boolean | null | undefined;
426
- url?: string | null | undefined;
427
- expiredAt?: string | null | undefined;
428
- agentId?: string | null | undefined;
429
- restaurantTagGroups?: {
430
- name: string;
431
- id: string;
432
- tags: {
433
- name: string;
434
- id: string;
435
- }[];
436
- }[] | null | undefined;
437
- pf_agent?: {
438
- clickupId?: string | null | undefined;
439
- members?: {
440
- pf_user?: {
441
- email?: string | null | undefined;
442
- phoneNumber?: string | null | undefined;
443
- birthday?: string | null | undefined;
444
- gender?: "MALE" | "FEMALE" | null | undefined;
445
- addresses?: {
446
- name: string;
447
- address: string;
448
- coordinates: number[];
449
- }[] | null | undefined;
450
- photoURL?: string | null | undefined;
451
- displayName?: string | null | undefined;
452
- imported?: {
453
- raw: Record<string, any>;
454
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
455
- } | null | undefined;
456
- _id: string;
457
- } | null | undefined;
458
- role: "ADMIN";
459
- userId: string;
460
- }[] | null | undefined;
461
- code: string;
462
- name: string;
463
- _id: string;
464
- isReseller: boolean;
465
- } | null | undefined;
466
- thumbnail?: string | null | undefined;
467
- billingInfos?: {
468
- _id?: string | null | undefined;
469
- name: string;
470
- address: {
471
- coordinates?: number[] | null | undefined;
472
- line2?: string | null | undefined;
473
- state: string;
474
- country: string;
475
- line1: string;
476
- city: string;
477
- postcode: string;
478
- };
479
- email: string;
480
- companyName: string;
481
- contact: string;
482
- }[] | null | undefined;
483
- customerDisplayImages?: {
484
- url: string;
485
- restaurantIds: string[];
486
- }[] | null | undefined;
487
- name: string;
488
- _id: string;
489
- ownerId: string;
490
- restaurantQuota: number;
491
- warehouseQuota: number;
492
- menuVersion: string;
493
- } | null | undefined;
494
391
  _id: string;
495
392
  businessId: string;
496
393
  profile: {
497
- email?: string | null | undefined;
498
- phoneNo?: string | null | undefined;
499
- name: string;
500
- address: {
394
+ code?: string | null | undefined;
395
+ _id?: string | null | undefined;
396
+ name?: string | undefined;
397
+ address?: {
501
398
  coordinates?: number[] | null | undefined;
502
399
  line2?: string | null | undefined;
503
400
  state: string;
@@ -505,11 +402,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
505
402
  line1: string;
506
403
  city: string;
507
404
  postcode: string;
508
- };
509
- regNo: string;
405
+ } | undefined;
406
+ email?: string | undefined;
407
+ regNo?: string | undefined;
408
+ sstRegNo?: string | null | undefined;
409
+ phoneNo?: string | undefined;
410
+ legalName?: string | null | undefined;
411
+ discovery?: boolean | null | undefined;
412
+ coverPhoto?: string | null | undefined;
413
+ thumbnailPhoto?: string | null | undefined;
414
+ description?: string | null | undefined;
415
+ photos?: string[] | null | undefined;
416
+ operatingHours?: {
417
+ 0: {
418
+ hours: {
419
+ end: string;
420
+ start: string;
421
+ }[];
422
+ enable: boolean;
423
+ };
424
+ 2: {
425
+ hours: {
426
+ end: string;
427
+ start: string;
428
+ }[];
429
+ enable: boolean;
430
+ };
431
+ 1: {
432
+ hours: {
433
+ end: string;
434
+ start: string;
435
+ }[];
436
+ enable: boolean;
437
+ };
438
+ 3: {
439
+ hours: {
440
+ end: string;
441
+ start: string;
442
+ }[];
443
+ enable: boolean;
444
+ };
445
+ 4: {
446
+ hours: {
447
+ end: string;
448
+ start: string;
449
+ }[];
450
+ enable: boolean;
451
+ };
452
+ 5: {
453
+ hours: {
454
+ end: string;
455
+ start: string;
456
+ }[];
457
+ enable: boolean;
458
+ };
459
+ 6: {
460
+ hours: {
461
+ end: string;
462
+ start: string;
463
+ }[];
464
+ enable: boolean;
465
+ };
466
+ } | null | undefined;
467
+ tags?: string[] | null | undefined;
468
+ url?: string | null | undefined;
510
469
  };
511
470
  };
512
- })[] | null | undefined;
471
+ }[] | null | undefined;
513
472
  updatedBy?: {
514
473
  email?: string | null | undefined;
515
474
  phoneNumber?: string | null | undefined;
@@ -545,7 +504,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
545
504
  precision: number;
546
505
  };
547
506
  } | null | undefined;
548
- type: "RECIPE" | "SKU";
507
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
549
508
  amount: {
550
509
  amount: number;
551
510
  precision: number;
@@ -596,99 +555,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
596
555
  };
597
556
  }[];
598
557
  name: string;
599
- }[] | {
558
+ } & RevisionIdMeta)[] | {
600
559
  ref?: string | null | undefined;
601
- _rev?: string | null | undefined;
560
+ _rev: string;
602
561
  updatedAt?: Date | null | undefined;
603
- locations?: ({
604
- doc?: any;
605
- type: "restaurant";
606
- name: string;
607
- acceptRequest: boolean;
608
- dbName: string;
609
- } | {
610
- type: "warehouse";
562
+ locations?: {
563
+ type: "restaurant" | "warehouse";
611
564
  name: string;
612
565
  acceptRequest: boolean;
613
566
  dbName: string;
614
567
  doc: {
615
- pf_business?: {
616
- internal?: boolean | null | undefined;
617
- url?: string | null | undefined;
618
- expiredAt?: string | null | undefined;
619
- agentId?: string | null | undefined;
620
- restaurantTagGroups?: {
621
- name: string;
622
- id: string;
623
- tags: {
624
- name: string;
625
- id: string;
626
- }[];
627
- }[] | null | undefined;
628
- pf_agent?: {
629
- clickupId?: string | null | undefined;
630
- members?: {
631
- pf_user?: {
632
- email?: string | null | undefined;
633
- phoneNumber?: string | null | undefined;
634
- birthday?: string | null | undefined;
635
- gender?: "MALE" | "FEMALE" | null | undefined;
636
- addresses?: {
637
- name: string;
638
- address: string;
639
- coordinates: number[];
640
- }[] | null | undefined;
641
- photoURL?: string | null | undefined;
642
- displayName?: string | null | undefined;
643
- imported?: {
644
- raw: Record<string, any>;
645
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
646
- } | null | undefined;
647
- _id: string;
648
- } | null | undefined;
649
- role: "ADMIN";
650
- userId: string;
651
- }[] | null | undefined;
652
- code: string;
653
- name: string;
654
- _id: string;
655
- isReseller: boolean;
656
- } | null | undefined;
657
- thumbnail?: string | null | undefined;
658
- billingInfos?: {
659
- _id?: string | null | undefined;
660
- name: string;
661
- address: {
662
- coordinates?: number[] | null | undefined;
663
- line2?: string | null | undefined;
664
- state: string;
665
- country: string;
666
- line1: string;
667
- city: string;
668
- postcode: string;
669
- };
670
- email: string;
671
- companyName: string;
672
- contact: string;
673
- }[] | null | undefined;
674
- customerDisplayImages?: {
675
- url: string;
676
- restaurantIds: string[];
677
- }[] | null | undefined;
678
- name: string;
679
- _id: string;
680
- ownerId: string;
681
- restaurantQuota: number;
682
- warehouseQuota: number;
683
- menuVersion: string;
684
- } | null | undefined;
685
568
  _id: string;
686
569
  businessId: string;
687
570
  profile: {
688
- email?: string | null | undefined;
689
- phoneNo?: string | null | undefined;
690
- name: string;
691
- address: {
571
+ code?: string | null | undefined;
572
+ _id?: string | null | undefined;
573
+ name?: string | undefined;
574
+ address?: {
692
575
  coordinates?: number[] | null | undefined;
693
576
  line2?: string | null | undefined;
694
577
  state: string;
@@ -696,11 +579,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
696
579
  line1: string;
697
580
  city: string;
698
581
  postcode: string;
699
- };
700
- regNo: string;
582
+ } | undefined;
583
+ email?: string | undefined;
584
+ regNo?: string | undefined;
585
+ sstRegNo?: string | null | undefined;
586
+ phoneNo?: string | undefined;
587
+ legalName?: string | null | undefined;
588
+ discovery?: boolean | null | undefined;
589
+ coverPhoto?: string | null | undefined;
590
+ thumbnailPhoto?: string | null | undefined;
591
+ description?: string | null | undefined;
592
+ photos?: string[] | null | undefined;
593
+ operatingHours?: {
594
+ 0: {
595
+ hours: {
596
+ end: string;
597
+ start: string;
598
+ }[];
599
+ enable: boolean;
600
+ };
601
+ 2: {
602
+ hours: {
603
+ end: string;
604
+ start: string;
605
+ }[];
606
+ enable: boolean;
607
+ };
608
+ 1: {
609
+ hours: {
610
+ end: string;
611
+ start: string;
612
+ }[];
613
+ enable: boolean;
614
+ };
615
+ 3: {
616
+ hours: {
617
+ end: string;
618
+ start: string;
619
+ }[];
620
+ enable: boolean;
621
+ };
622
+ 4: {
623
+ hours: {
624
+ end: string;
625
+ start: string;
626
+ }[];
627
+ enable: boolean;
628
+ };
629
+ 5: {
630
+ hours: {
631
+ end: string;
632
+ start: string;
633
+ }[];
634
+ enable: boolean;
635
+ };
636
+ 6: {
637
+ hours: {
638
+ end: string;
639
+ start: string;
640
+ }[];
641
+ enable: boolean;
642
+ };
643
+ } | null | undefined;
644
+ tags?: string[] | null | undefined;
645
+ url?: string | null | undefined;
701
646
  };
702
647
  };
703
- })[] | null | undefined;
648
+ }[] | null | undefined;
704
649
  updatedBy?: {
705
650
  email?: string | null | undefined;
706
651
  phoneNumber?: string | null | undefined;
@@ -736,7 +681,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
736
681
  precision: number;
737
682
  };
738
683
  } | null | undefined;
739
- type: "RECIPE" | "SKU";
684
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
740
685
  amount: {
741
686
  amount: number;
742
687
  precision: number;
@@ -791,100 +736,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
791
736
  loading: import("vue").Ref<boolean, boolean>;
792
737
  fetchTemplates: () => Promise<void>;
793
738
  loadTemplate: (templateId: string) => Promise<void>;
794
- }, "loading" | "columnDefs" | "recentPublish" | "templates">, Pick<{
739
+ }, "loading" | "columnDefs" | "recentPublish" | "templates">>, Pick<{
795
740
  columnDefs: ColumnDef<{
796
741
  ref?: string | null | undefined;
797
742
  _rev?: string | null | undefined;
798
743
  updatedAt?: Date | null | undefined;
799
- locations?: ({
800
- doc?: any;
801
- type: "restaurant";
802
- name: string;
803
- acceptRequest: boolean;
804
- dbName: string;
805
- } | {
806
- type: "warehouse";
744
+ locations?: {
745
+ type: "restaurant" | "warehouse";
807
746
  name: string;
808
747
  acceptRequest: boolean;
809
748
  dbName: string;
810
749
  doc: {
811
- pf_business?: {
812
- internal?: boolean | null | undefined;
813
- url?: string | null | undefined;
814
- expiredAt?: string | null | undefined;
815
- agentId?: string | null | undefined;
816
- restaurantTagGroups?: {
817
- name: string;
818
- id: string;
819
- tags: {
820
- name: string;
821
- id: string;
822
- }[];
823
- }[] | null | undefined;
824
- pf_agent?: {
825
- clickupId?: string | null | undefined;
826
- members?: {
827
- pf_user?: {
828
- email?: string | null | undefined;
829
- phoneNumber?: string | null | undefined;
830
- birthday?: string | null | undefined;
831
- gender?: "MALE" | "FEMALE" | null | undefined;
832
- addresses?: {
833
- name: string;
834
- address: string;
835
- coordinates: number[];
836
- }[] | null | undefined;
837
- photoURL?: string | null | undefined;
838
- displayName?: string | null | undefined;
839
- imported?: {
840
- raw: Record<string, any>;
841
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
842
- } | null | undefined;
843
- _id: string;
844
- } | null | undefined;
845
- role: "ADMIN";
846
- userId: string;
847
- }[] | null | undefined;
848
- code: string;
849
- name: string;
850
- _id: string;
851
- isReseller: boolean;
852
- } | null | undefined;
853
- thumbnail?: string | null | undefined;
854
- billingInfos?: {
855
- _id?: string | null | undefined;
856
- name: string;
857
- address: {
858
- coordinates?: number[] | null | undefined;
859
- line2?: string | null | undefined;
860
- state: string;
861
- country: string;
862
- line1: string;
863
- city: string;
864
- postcode: string;
865
- };
866
- email: string;
867
- companyName: string;
868
- contact: string;
869
- }[] | null | undefined;
870
- customerDisplayImages?: {
871
- url: string;
872
- restaurantIds: string[];
873
- }[] | null | undefined;
874
- name: string;
875
- _id: string;
876
- ownerId: string;
877
- restaurantQuota: number;
878
- warehouseQuota: number;
879
- menuVersion: string;
880
- } | null | undefined;
881
750
  _id: string;
882
751
  businessId: string;
883
752
  profile: {
884
- email?: string | null | undefined;
885
- phoneNo?: string | null | undefined;
886
- name: string;
887
- address: {
753
+ code?: string | null | undefined;
754
+ _id?: string | null | undefined;
755
+ name?: string | undefined;
756
+ address?: {
888
757
  coordinates?: number[] | null | undefined;
889
758
  line2?: string | null | undefined;
890
759
  state: string;
@@ -892,11 +761,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
892
761
  line1: string;
893
762
  city: string;
894
763
  postcode: string;
895
- };
896
- regNo: string;
764
+ } | undefined;
765
+ email?: string | undefined;
766
+ regNo?: string | undefined;
767
+ sstRegNo?: string | null | undefined;
768
+ phoneNo?: string | undefined;
769
+ legalName?: string | null | undefined;
770
+ discovery?: boolean | null | undefined;
771
+ coverPhoto?: string | null | undefined;
772
+ thumbnailPhoto?: string | null | undefined;
773
+ description?: string | null | undefined;
774
+ photos?: string[] | null | undefined;
775
+ operatingHours?: {
776
+ 0: {
777
+ hours: {
778
+ end: string;
779
+ start: string;
780
+ }[];
781
+ enable: boolean;
782
+ };
783
+ 2: {
784
+ hours: {
785
+ end: string;
786
+ start: string;
787
+ }[];
788
+ enable: boolean;
789
+ };
790
+ 1: {
791
+ hours: {
792
+ end: string;
793
+ start: string;
794
+ }[];
795
+ enable: boolean;
796
+ };
797
+ 3: {
798
+ hours: {
799
+ end: string;
800
+ start: string;
801
+ }[];
802
+ enable: boolean;
803
+ };
804
+ 4: {
805
+ hours: {
806
+ end: string;
807
+ start: string;
808
+ }[];
809
+ enable: boolean;
810
+ };
811
+ 5: {
812
+ hours: {
813
+ end: string;
814
+ start: string;
815
+ }[];
816
+ enable: boolean;
817
+ };
818
+ 6: {
819
+ hours: {
820
+ end: string;
821
+ start: string;
822
+ }[];
823
+ enable: boolean;
824
+ };
825
+ } | null | undefined;
826
+ tags?: string[] | null | undefined;
827
+ url?: string | null | undefined;
897
828
  };
898
829
  };
899
- })[] | null | undefined;
830
+ }[] | null | undefined;
900
831
  updatedBy?: {
901
832
  email?: string | null | undefined;
902
833
  phoneNumber?: string | null | undefined;
@@ -932,7 +863,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
932
863
  precision: number;
933
864
  };
934
865
  } | null | undefined;
935
- type: "RECIPE" | "SKU";
866
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
936
867
  amount: {
937
868
  amount: number;
938
869
  precision: number;
@@ -983,7 +914,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
983
914
  };
984
915
  }[];
985
916
  name: string;
986
- }>[];
917
+ } & RevisionIdMeta>[];
987
918
  recentPublish: import("vue").Ref<{
988
919
  recentJob?: {
989
920
  id: string;
@@ -1007,97 +938,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1007
938
  }>;
1008
939
  templates: import("vue").Ref<{
1009
940
  ref?: string | null | undefined;
1010
- _rev?: string | null | undefined;
941
+ _rev: string;
1011
942
  updatedAt?: Date | null | undefined;
1012
- locations?: ({
1013
- doc?: any;
1014
- type: "restaurant";
1015
- name: string;
1016
- acceptRequest: boolean;
1017
- dbName: string;
1018
- } | {
1019
- type: "warehouse";
943
+ locations?: {
944
+ type: "restaurant" | "warehouse";
1020
945
  name: string;
1021
946
  acceptRequest: boolean;
1022
947
  dbName: string;
1023
948
  doc: {
1024
- pf_business?: {
1025
- internal?: boolean | null | undefined;
1026
- url?: string | null | undefined;
1027
- expiredAt?: string | null | undefined;
1028
- agentId?: string | null | undefined;
1029
- restaurantTagGroups?: {
1030
- name: string;
1031
- id: string;
1032
- tags: {
1033
- name: string;
1034
- id: string;
1035
- }[];
1036
- }[] | null | undefined;
1037
- pf_agent?: {
1038
- clickupId?: string | null | undefined;
1039
- members?: {
1040
- pf_user?: {
1041
- email?: string | null | undefined;
1042
- phoneNumber?: string | null | undefined;
1043
- birthday?: string | null | undefined;
1044
- gender?: "MALE" | "FEMALE" | null | undefined;
1045
- addresses?: {
1046
- name: string;
1047
- address: string;
1048
- coordinates: number[];
1049
- }[] | null | undefined;
1050
- photoURL?: string | null | undefined;
1051
- displayName?: string | null | undefined;
1052
- imported?: {
1053
- raw: Record<string, any>;
1054
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1055
- } | null | undefined;
1056
- _id: string;
1057
- } | null | undefined;
1058
- role: "ADMIN";
1059
- userId: string;
1060
- }[] | null | undefined;
1061
- code: string;
1062
- name: string;
1063
- _id: string;
1064
- isReseller: boolean;
1065
- } | null | undefined;
1066
- thumbnail?: string | null | undefined;
1067
- billingInfos?: {
1068
- _id?: string | null | undefined;
1069
- name: string;
1070
- address: {
1071
- coordinates?: number[] | null | undefined;
1072
- line2?: string | null | undefined;
1073
- state: string;
1074
- country: string;
1075
- line1: string;
1076
- city: string;
1077
- postcode: string;
1078
- };
1079
- email: string;
1080
- companyName: string;
1081
- contact: string;
1082
- }[] | null | undefined;
1083
- customerDisplayImages?: {
1084
- url: string;
1085
- restaurantIds: string[];
1086
- }[] | null | undefined;
1087
- name: string;
1088
- _id: string;
1089
- ownerId: string;
1090
- restaurantQuota: number;
1091
- warehouseQuota: number;
1092
- menuVersion: string;
1093
- } | null | undefined;
1094
949
  _id: string;
1095
950
  businessId: string;
1096
951
  profile: {
1097
- email?: string | null | undefined;
1098
- phoneNo?: string | null | undefined;
1099
- name: string;
1100
- address: {
952
+ code?: string | null | undefined;
953
+ _id?: string | null | undefined;
954
+ name?: string | undefined;
955
+ address?: {
1101
956
  coordinates?: number[] | null | undefined;
1102
957
  line2?: string | null | undefined;
1103
958
  state: string;
@@ -1105,11 +960,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1105
960
  line1: string;
1106
961
  city: string;
1107
962
  postcode: string;
1108
- };
1109
- regNo: string;
963
+ } | undefined;
964
+ email?: string | undefined;
965
+ regNo?: string | undefined;
966
+ sstRegNo?: string | null | undefined;
967
+ phoneNo?: string | undefined;
968
+ legalName?: string | null | undefined;
969
+ discovery?: boolean | null | undefined;
970
+ coverPhoto?: string | null | undefined;
971
+ thumbnailPhoto?: string | null | undefined;
972
+ description?: string | null | undefined;
973
+ photos?: string[] | null | undefined;
974
+ operatingHours?: {
975
+ 0: {
976
+ hours: {
977
+ end: string;
978
+ start: string;
979
+ }[];
980
+ enable: boolean;
981
+ };
982
+ 2: {
983
+ hours: {
984
+ end: string;
985
+ start: string;
986
+ }[];
987
+ enable: boolean;
988
+ };
989
+ 1: {
990
+ hours: {
991
+ end: string;
992
+ start: string;
993
+ }[];
994
+ enable: boolean;
995
+ };
996
+ 3: {
997
+ hours: {
998
+ end: string;
999
+ start: string;
1000
+ }[];
1001
+ enable: boolean;
1002
+ };
1003
+ 4: {
1004
+ hours: {
1005
+ end: string;
1006
+ start: string;
1007
+ }[];
1008
+ enable: boolean;
1009
+ };
1010
+ 5: {
1011
+ hours: {
1012
+ end: string;
1013
+ start: string;
1014
+ }[];
1015
+ enable: boolean;
1016
+ };
1017
+ 6: {
1018
+ hours: {
1019
+ end: string;
1020
+ start: string;
1021
+ }[];
1022
+ enable: boolean;
1023
+ };
1024
+ } | null | undefined;
1025
+ tags?: string[] | null | undefined;
1026
+ url?: string | null | undefined;
1110
1027
  };
1111
1028
  };
1112
- })[] | null | undefined;
1029
+ }[] | null | undefined;
1113
1030
  updatedBy?: {
1114
1031
  email?: string | null | undefined;
1115
1032
  phoneNumber?: string | null | undefined;
@@ -1145,7 +1062,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1145
1062
  precision: number;
1146
1063
  };
1147
1064
  } | null | undefined;
1148
- type: "RECIPE" | "SKU";
1065
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1149
1066
  amount: {
1150
1067
  amount: number;
1151
1068
  precision: number;
@@ -1196,99 +1113,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1196
1113
  };
1197
1114
  }[];
1198
1115
  name: string;
1199
- }[], {
1116
+ }[], ({
1200
1117
  ref?: string | null | undefined;
1201
1118
  _rev?: string | null | undefined;
1202
1119
  updatedAt?: Date | null | undefined;
1203
- locations?: ({
1204
- doc?: any;
1205
- type: "restaurant";
1206
- name: string;
1207
- acceptRequest: boolean;
1208
- dbName: string;
1209
- } | {
1210
- type: "warehouse";
1120
+ locations?: {
1121
+ type: "restaurant" | "warehouse";
1211
1122
  name: string;
1212
1123
  acceptRequest: boolean;
1213
1124
  dbName: string;
1214
1125
  doc: {
1215
- pf_business?: {
1216
- internal?: boolean | null | undefined;
1217
- url?: string | null | undefined;
1218
- expiredAt?: string | null | undefined;
1219
- agentId?: string | null | undefined;
1220
- restaurantTagGroups?: {
1221
- name: string;
1222
- id: string;
1223
- tags: {
1224
- name: string;
1225
- id: string;
1226
- }[];
1227
- }[] | null | undefined;
1228
- pf_agent?: {
1229
- clickupId?: string | null | undefined;
1230
- members?: {
1231
- pf_user?: {
1232
- email?: string | null | undefined;
1233
- phoneNumber?: string | null | undefined;
1234
- birthday?: string | null | undefined;
1235
- gender?: "MALE" | "FEMALE" | null | undefined;
1236
- addresses?: {
1237
- name: string;
1238
- address: string;
1239
- coordinates: number[];
1240
- }[] | null | undefined;
1241
- photoURL?: string | null | undefined;
1242
- displayName?: string | null | undefined;
1243
- imported?: {
1244
- raw: Record<string, any>;
1245
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1246
- } | null | undefined;
1247
- _id: string;
1248
- } | null | undefined;
1249
- role: "ADMIN";
1250
- userId: string;
1251
- }[] | null | undefined;
1252
- code: string;
1253
- name: string;
1254
- _id: string;
1255
- isReseller: boolean;
1256
- } | null | undefined;
1257
- thumbnail?: string | null | undefined;
1258
- billingInfos?: {
1259
- _id?: string | null | undefined;
1260
- name: string;
1261
- address: {
1262
- coordinates?: number[] | null | undefined;
1263
- line2?: string | null | undefined;
1264
- state: string;
1265
- country: string;
1266
- line1: string;
1267
- city: string;
1268
- postcode: string;
1269
- };
1270
- email: string;
1271
- companyName: string;
1272
- contact: string;
1273
- }[] | null | undefined;
1274
- customerDisplayImages?: {
1275
- url: string;
1276
- restaurantIds: string[];
1277
- }[] | null | undefined;
1278
- name: string;
1279
- _id: string;
1280
- ownerId: string;
1281
- restaurantQuota: number;
1282
- warehouseQuota: number;
1283
- menuVersion: string;
1284
- } | null | undefined;
1285
1126
  _id: string;
1286
1127
  businessId: string;
1287
1128
  profile: {
1288
- email?: string | null | undefined;
1289
- phoneNo?: string | null | undefined;
1290
- name: string;
1291
- address: {
1129
+ code?: string | null | undefined;
1130
+ _id?: string | null | undefined;
1131
+ name?: string | undefined;
1132
+ address?: {
1292
1133
  coordinates?: number[] | null | undefined;
1293
1134
  line2?: string | null | undefined;
1294
1135
  state: string;
@@ -1296,11 +1137,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1296
1137
  line1: string;
1297
1138
  city: string;
1298
1139
  postcode: string;
1299
- };
1300
- regNo: string;
1140
+ } | undefined;
1141
+ email?: string | undefined;
1142
+ regNo?: string | undefined;
1143
+ sstRegNo?: string | null | undefined;
1144
+ phoneNo?: string | undefined;
1145
+ legalName?: string | null | undefined;
1146
+ discovery?: boolean | null | undefined;
1147
+ coverPhoto?: string | null | undefined;
1148
+ thumbnailPhoto?: string | null | undefined;
1149
+ description?: string | null | undefined;
1150
+ photos?: string[] | null | undefined;
1151
+ operatingHours?: {
1152
+ 0: {
1153
+ hours: {
1154
+ end: string;
1155
+ start: string;
1156
+ }[];
1157
+ enable: boolean;
1158
+ };
1159
+ 2: {
1160
+ hours: {
1161
+ end: string;
1162
+ start: string;
1163
+ }[];
1164
+ enable: boolean;
1165
+ };
1166
+ 1: {
1167
+ hours: {
1168
+ end: string;
1169
+ start: string;
1170
+ }[];
1171
+ enable: boolean;
1172
+ };
1173
+ 3: {
1174
+ hours: {
1175
+ end: string;
1176
+ start: string;
1177
+ }[];
1178
+ enable: boolean;
1179
+ };
1180
+ 4: {
1181
+ hours: {
1182
+ end: string;
1183
+ start: string;
1184
+ }[];
1185
+ enable: boolean;
1186
+ };
1187
+ 5: {
1188
+ hours: {
1189
+ end: string;
1190
+ start: string;
1191
+ }[];
1192
+ enable: boolean;
1193
+ };
1194
+ 6: {
1195
+ hours: {
1196
+ end: string;
1197
+ start: string;
1198
+ }[];
1199
+ enable: boolean;
1200
+ };
1201
+ } | null | undefined;
1202
+ tags?: string[] | null | undefined;
1203
+ url?: string | null | undefined;
1301
1204
  };
1302
1205
  };
1303
- })[] | null | undefined;
1206
+ }[] | null | undefined;
1304
1207
  updatedBy?: {
1305
1208
  email?: string | null | undefined;
1306
1209
  phoneNumber?: string | null | undefined;
@@ -1336,7 +1239,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1336
1239
  precision: number;
1337
1240
  };
1338
1241
  } | null | undefined;
1339
- type: "RECIPE" | "SKU";
1242
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1340
1243
  amount: {
1341
1244
  amount: number;
1342
1245
  precision: number;
@@ -1387,99 +1290,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1387
1290
  };
1388
1291
  }[];
1389
1292
  name: string;
1390
- }[] | {
1293
+ } & RevisionIdMeta)[] | {
1391
1294
  ref?: string | null | undefined;
1392
- _rev?: string | null | undefined;
1295
+ _rev: string;
1393
1296
  updatedAt?: Date | null | undefined;
1394
- locations?: ({
1395
- doc?: any;
1396
- type: "restaurant";
1397
- name: string;
1398
- acceptRequest: boolean;
1399
- dbName: string;
1400
- } | {
1401
- type: "warehouse";
1297
+ locations?: {
1298
+ type: "restaurant" | "warehouse";
1402
1299
  name: string;
1403
1300
  acceptRequest: boolean;
1404
1301
  dbName: string;
1405
1302
  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
1303
  _id: string;
1477
1304
  businessId: string;
1478
1305
  profile: {
1479
- email?: string | null | undefined;
1480
- phoneNo?: string | null | undefined;
1481
- name: string;
1482
- address: {
1306
+ code?: string | null | undefined;
1307
+ _id?: string | null | undefined;
1308
+ name?: string | undefined;
1309
+ address?: {
1483
1310
  coordinates?: number[] | null | undefined;
1484
1311
  line2?: string | null | undefined;
1485
1312
  state: string;
@@ -1487,11 +1314,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1487
1314
  line1: string;
1488
1315
  city: string;
1489
1316
  postcode: string;
1490
- };
1491
- regNo: string;
1317
+ } | undefined;
1318
+ email?: string | undefined;
1319
+ regNo?: string | undefined;
1320
+ sstRegNo?: string | null | undefined;
1321
+ phoneNo?: string | undefined;
1322
+ legalName?: string | null | undefined;
1323
+ discovery?: boolean | null | undefined;
1324
+ coverPhoto?: string | null | undefined;
1325
+ thumbnailPhoto?: string | null | undefined;
1326
+ description?: string | null | undefined;
1327
+ photos?: string[] | null | undefined;
1328
+ operatingHours?: {
1329
+ 0: {
1330
+ hours: {
1331
+ end: string;
1332
+ start: string;
1333
+ }[];
1334
+ enable: boolean;
1335
+ };
1336
+ 2: {
1337
+ hours: {
1338
+ end: string;
1339
+ start: string;
1340
+ }[];
1341
+ enable: boolean;
1342
+ };
1343
+ 1: {
1344
+ hours: {
1345
+ end: string;
1346
+ start: string;
1347
+ }[];
1348
+ enable: boolean;
1349
+ };
1350
+ 3: {
1351
+ hours: {
1352
+ end: string;
1353
+ start: string;
1354
+ }[];
1355
+ enable: boolean;
1356
+ };
1357
+ 4: {
1358
+ hours: {
1359
+ end: string;
1360
+ start: string;
1361
+ }[];
1362
+ enable: boolean;
1363
+ };
1364
+ 5: {
1365
+ hours: {
1366
+ end: string;
1367
+ start: string;
1368
+ }[];
1369
+ enable: boolean;
1370
+ };
1371
+ 6: {
1372
+ hours: {
1373
+ end: string;
1374
+ start: string;
1375
+ }[];
1376
+ enable: boolean;
1377
+ };
1378
+ } | null | undefined;
1379
+ tags?: string[] | null | undefined;
1380
+ url?: string | null | undefined;
1492
1381
  };
1493
1382
  };
1494
- })[] | null | undefined;
1383
+ }[] | null | undefined;
1495
1384
  updatedBy?: {
1496
1385
  email?: string | null | undefined;
1497
1386
  phoneNumber?: string | null | undefined;
@@ -1527,7 +1416,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1527
1416
  precision: number;
1528
1417
  };
1529
1418
  } | null | undefined;
1530
- type: "RECIPE" | "SKU";
1419
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1531
1420
  amount: {
1532
1421
  amount: number;
1533
1422
  precision: number;
@@ -1587,95 +1476,19 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1587
1476
  ref?: string | null | undefined;
1588
1477
  _rev?: string | null | undefined;
1589
1478
  updatedAt?: Date | null | undefined;
1590
- locations?: ({
1591
- doc?: any;
1592
- type: "restaurant";
1593
- name: string;
1594
- acceptRequest: boolean;
1595
- dbName: string;
1596
- } | {
1597
- type: "warehouse";
1479
+ locations?: {
1480
+ type: "restaurant" | "warehouse";
1598
1481
  name: string;
1599
1482
  acceptRequest: boolean;
1600
1483
  dbName: string;
1601
1484
  doc: {
1602
- pf_business?: {
1603
- internal?: boolean | null | undefined;
1604
- url?: string | null | undefined;
1605
- expiredAt?: string | null | undefined;
1606
- agentId?: string | null | undefined;
1607
- restaurantTagGroups?: {
1608
- name: string;
1609
- id: string;
1610
- tags: {
1611
- name: string;
1612
- id: string;
1613
- }[];
1614
- }[] | null | undefined;
1615
- pf_agent?: {
1616
- clickupId?: string | null | undefined;
1617
- members?: {
1618
- pf_user?: {
1619
- email?: string | null | undefined;
1620
- phoneNumber?: string | null | undefined;
1621
- birthday?: string | null | undefined;
1622
- gender?: "MALE" | "FEMALE" | null | undefined;
1623
- addresses?: {
1624
- name: string;
1625
- address: string;
1626
- coordinates: number[];
1627
- }[] | null | undefined;
1628
- photoURL?: string | null | undefined;
1629
- displayName?: string | null | undefined;
1630
- imported?: {
1631
- raw: Record<string, any>;
1632
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1633
- } | null | undefined;
1634
- _id: string;
1635
- } | null | undefined;
1636
- role: "ADMIN";
1637
- userId: string;
1638
- }[] | null | undefined;
1639
- code: string;
1640
- name: string;
1641
- _id: string;
1642
- isReseller: boolean;
1643
- } | null | undefined;
1644
- thumbnail?: string | null | undefined;
1645
- billingInfos?: {
1646
- _id?: string | null | undefined;
1647
- name: string;
1648
- address: {
1649
- coordinates?: number[] | null | undefined;
1650
- line2?: string | null | undefined;
1651
- state: string;
1652
- country: string;
1653
- line1: string;
1654
- city: string;
1655
- postcode: string;
1656
- };
1657
- email: string;
1658
- companyName: string;
1659
- contact: string;
1660
- }[] | null | undefined;
1661
- customerDisplayImages?: {
1662
- url: string;
1663
- restaurantIds: string[];
1664
- }[] | null | undefined;
1665
- name: string;
1666
- _id: string;
1667
- ownerId: string;
1668
- restaurantQuota: number;
1669
- warehouseQuota: number;
1670
- menuVersion: string;
1671
- } | null | undefined;
1672
1485
  _id: string;
1673
1486
  businessId: string;
1674
1487
  profile: {
1675
- email?: string | null | undefined;
1676
- phoneNo?: string | null | undefined;
1677
- name: string;
1678
- address: {
1488
+ code?: string | null | undefined;
1489
+ _id?: string | null | undefined;
1490
+ name?: string | undefined;
1491
+ address?: {
1679
1492
  coordinates?: number[] | null | undefined;
1680
1493
  line2?: string | null | undefined;
1681
1494
  state: string;
@@ -1683,11 +1496,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1683
1496
  line1: string;
1684
1497
  city: string;
1685
1498
  postcode: string;
1686
- };
1687
- regNo: string;
1499
+ } | undefined;
1500
+ email?: string | undefined;
1501
+ regNo?: string | undefined;
1502
+ sstRegNo?: string | null | undefined;
1503
+ phoneNo?: string | undefined;
1504
+ legalName?: string | null | undefined;
1505
+ discovery?: boolean | null | undefined;
1506
+ coverPhoto?: string | null | undefined;
1507
+ thumbnailPhoto?: string | null | undefined;
1508
+ description?: string | null | undefined;
1509
+ photos?: string[] | null | undefined;
1510
+ operatingHours?: {
1511
+ 0: {
1512
+ hours: {
1513
+ end: string;
1514
+ start: string;
1515
+ }[];
1516
+ enable: boolean;
1517
+ };
1518
+ 2: {
1519
+ hours: {
1520
+ end: string;
1521
+ start: string;
1522
+ }[];
1523
+ enable: boolean;
1524
+ };
1525
+ 1: {
1526
+ hours: {
1527
+ end: string;
1528
+ start: string;
1529
+ }[];
1530
+ enable: boolean;
1531
+ };
1532
+ 3: {
1533
+ hours: {
1534
+ end: string;
1535
+ start: string;
1536
+ }[];
1537
+ enable: boolean;
1538
+ };
1539
+ 4: {
1540
+ hours: {
1541
+ end: string;
1542
+ start: string;
1543
+ }[];
1544
+ enable: boolean;
1545
+ };
1546
+ 5: {
1547
+ hours: {
1548
+ end: string;
1549
+ start: string;
1550
+ }[];
1551
+ enable: boolean;
1552
+ };
1553
+ 6: {
1554
+ hours: {
1555
+ end: string;
1556
+ start: string;
1557
+ }[];
1558
+ enable: boolean;
1559
+ };
1560
+ } | null | undefined;
1561
+ tags?: string[] | null | undefined;
1562
+ url?: string | null | undefined;
1688
1563
  };
1689
1564
  };
1690
- })[] | null | undefined;
1565
+ }[] | null | undefined;
1691
1566
  updatedBy?: {
1692
1567
  email?: string | null | undefined;
1693
1568
  phoneNumber?: string | null | undefined;
@@ -1723,7 +1598,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1723
1598
  precision: number;
1724
1599
  };
1725
1600
  } | null | undefined;
1726
- type: "RECIPE" | "SKU";
1601
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1727
1602
  amount: {
1728
1603
  amount: number;
1729
1604
  precision: number;
@@ -1774,7 +1649,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1774
1649
  };
1775
1650
  }[];
1776
1651
  name: string;
1777
- }>[];
1652
+ } & RevisionIdMeta>[];
1778
1653
  recentPublish: import("vue").Ref<{
1779
1654
  recentJob?: {
1780
1655
  id: string;
@@ -1798,97 +1673,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1798
1673
  }>;
1799
1674
  templates: import("vue").Ref<{
1800
1675
  ref?: string | null | undefined;
1801
- _rev?: string | null | undefined;
1676
+ _rev: string;
1802
1677
  updatedAt?: Date | null | undefined;
1803
- locations?: ({
1804
- doc?: any;
1805
- type: "restaurant";
1806
- name: string;
1807
- acceptRequest: boolean;
1808
- dbName: string;
1809
- } | {
1810
- type: "warehouse";
1678
+ locations?: {
1679
+ type: "restaurant" | "warehouse";
1811
1680
  name: string;
1812
1681
  acceptRequest: boolean;
1813
1682
  dbName: string;
1814
1683
  doc: {
1815
- pf_business?: {
1816
- internal?: boolean | null | undefined;
1817
- url?: string | null | undefined;
1818
- expiredAt?: string | null | undefined;
1819
- agentId?: string | null | undefined;
1820
- restaurantTagGroups?: {
1821
- name: string;
1822
- id: string;
1823
- tags: {
1824
- name: string;
1825
- id: string;
1826
- }[];
1827
- }[] | null | undefined;
1828
- pf_agent?: {
1829
- clickupId?: string | null | undefined;
1830
- members?: {
1831
- pf_user?: {
1832
- email?: string | null | undefined;
1833
- phoneNumber?: string | null | undefined;
1834
- birthday?: string | null | undefined;
1835
- gender?: "MALE" | "FEMALE" | null | undefined;
1836
- addresses?: {
1837
- name: string;
1838
- address: string;
1839
- coordinates: number[];
1840
- }[] | null | undefined;
1841
- photoURL?: string | null | undefined;
1842
- displayName?: string | null | undefined;
1843
- imported?: {
1844
- raw: Record<string, any>;
1845
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1846
- } | null | undefined;
1847
- _id: string;
1848
- } | null | undefined;
1849
- role: "ADMIN";
1850
- userId: string;
1851
- }[] | null | undefined;
1852
- code: string;
1853
- name: string;
1854
- _id: string;
1855
- isReseller: boolean;
1856
- } | null | undefined;
1857
- thumbnail?: string | null | undefined;
1858
- billingInfos?: {
1859
- _id?: string | null | undefined;
1860
- name: string;
1861
- address: {
1862
- coordinates?: number[] | null | undefined;
1863
- line2?: string | null | undefined;
1864
- state: string;
1865
- country: string;
1866
- line1: string;
1867
- city: string;
1868
- postcode: string;
1869
- };
1870
- email: string;
1871
- companyName: string;
1872
- contact: string;
1873
- }[] | null | undefined;
1874
- customerDisplayImages?: {
1875
- url: string;
1876
- restaurantIds: string[];
1877
- }[] | null | undefined;
1878
- name: string;
1879
- _id: string;
1880
- ownerId: string;
1881
- restaurantQuota: number;
1882
- warehouseQuota: number;
1883
- menuVersion: string;
1884
- } | null | undefined;
1885
1684
  _id: string;
1886
1685
  businessId: string;
1887
1686
  profile: {
1888
- email?: string | null | undefined;
1889
- phoneNo?: string | null | undefined;
1890
- name: string;
1891
- address: {
1687
+ code?: string | null | undefined;
1688
+ _id?: string | null | undefined;
1689
+ name?: string | undefined;
1690
+ address?: {
1892
1691
  coordinates?: number[] | null | undefined;
1893
1692
  line2?: string | null | undefined;
1894
1693
  state: string;
@@ -1896,11 +1695,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1896
1695
  line1: string;
1897
1696
  city: string;
1898
1697
  postcode: string;
1899
- };
1900
- regNo: string;
1698
+ } | undefined;
1699
+ email?: string | undefined;
1700
+ regNo?: string | undefined;
1701
+ sstRegNo?: string | null | undefined;
1702
+ phoneNo?: string | undefined;
1703
+ legalName?: string | null | undefined;
1704
+ discovery?: boolean | null | undefined;
1705
+ coverPhoto?: string | null | undefined;
1706
+ thumbnailPhoto?: string | null | undefined;
1707
+ description?: string | null | undefined;
1708
+ photos?: string[] | null | undefined;
1709
+ operatingHours?: {
1710
+ 0: {
1711
+ hours: {
1712
+ end: string;
1713
+ start: string;
1714
+ }[];
1715
+ enable: boolean;
1716
+ };
1717
+ 2: {
1718
+ hours: {
1719
+ end: string;
1720
+ start: string;
1721
+ }[];
1722
+ enable: boolean;
1723
+ };
1724
+ 1: {
1725
+ hours: {
1726
+ end: string;
1727
+ start: string;
1728
+ }[];
1729
+ enable: boolean;
1730
+ };
1731
+ 3: {
1732
+ hours: {
1733
+ end: string;
1734
+ start: string;
1735
+ }[];
1736
+ enable: boolean;
1737
+ };
1738
+ 4: {
1739
+ hours: {
1740
+ end: string;
1741
+ start: string;
1742
+ }[];
1743
+ enable: boolean;
1744
+ };
1745
+ 5: {
1746
+ hours: {
1747
+ end: string;
1748
+ start: string;
1749
+ }[];
1750
+ enable: boolean;
1751
+ };
1752
+ 6: {
1753
+ hours: {
1754
+ end: string;
1755
+ start: string;
1756
+ }[];
1757
+ enable: boolean;
1758
+ };
1759
+ } | null | undefined;
1760
+ tags?: string[] | null | undefined;
1761
+ url?: string | null | undefined;
1901
1762
  };
1902
1763
  };
1903
- })[] | null | undefined;
1764
+ }[] | null | undefined;
1904
1765
  updatedBy?: {
1905
1766
  email?: string | null | undefined;
1906
1767
  phoneNumber?: string | null | undefined;
@@ -1936,7 +1797,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1936
1797
  precision: number;
1937
1798
  };
1938
1799
  } | null | undefined;
1939
- type: "RECIPE" | "SKU";
1800
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1940
1801
  amount: {
1941
1802
  amount: number;
1942
1803
  precision: number;
@@ -1987,99 +1848,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1987
1848
  };
1988
1849
  }[];
1989
1850
  name: string;
1990
- }[], {
1851
+ }[], ({
1991
1852
  ref?: string | null | undefined;
1992
1853
  _rev?: string | null | undefined;
1993
1854
  updatedAt?: Date | null | undefined;
1994
- locations?: ({
1995
- doc?: any;
1996
- type: "restaurant";
1997
- name: string;
1998
- acceptRequest: boolean;
1999
- dbName: string;
2000
- } | {
2001
- type: "warehouse";
1855
+ locations?: {
1856
+ type: "restaurant" | "warehouse";
2002
1857
  name: string;
2003
1858
  acceptRequest: boolean;
2004
1859
  dbName: string;
2005
1860
  doc: {
2006
- pf_business?: {
2007
- internal?: boolean | null | undefined;
2008
- url?: string | null | undefined;
2009
- expiredAt?: string | null | undefined;
2010
- agentId?: string | null | undefined;
2011
- restaurantTagGroups?: {
2012
- name: string;
2013
- id: string;
2014
- tags: {
2015
- name: string;
2016
- id: string;
2017
- }[];
2018
- }[] | null | undefined;
2019
- pf_agent?: {
2020
- clickupId?: string | null | undefined;
2021
- members?: {
2022
- pf_user?: {
2023
- email?: string | null | undefined;
2024
- phoneNumber?: string | null | undefined;
2025
- birthday?: string | null | undefined;
2026
- gender?: "MALE" | "FEMALE" | null | undefined;
2027
- addresses?: {
2028
- name: string;
2029
- address: string;
2030
- coordinates: number[];
2031
- }[] | null | undefined;
2032
- photoURL?: string | null | undefined;
2033
- displayName?: string | null | undefined;
2034
- imported?: {
2035
- raw: Record<string, any>;
2036
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2037
- } | null | undefined;
2038
- _id: string;
2039
- } | null | undefined;
2040
- role: "ADMIN";
2041
- userId: string;
2042
- }[] | null | undefined;
2043
- code: string;
2044
- name: string;
2045
- _id: string;
2046
- isReseller: boolean;
2047
- } | null | undefined;
2048
- thumbnail?: string | null | undefined;
2049
- billingInfos?: {
2050
- _id?: string | null | undefined;
2051
- name: string;
2052
- address: {
2053
- coordinates?: number[] | null | undefined;
2054
- line2?: string | null | undefined;
2055
- state: string;
2056
- country: string;
2057
- line1: string;
2058
- city: string;
2059
- postcode: string;
2060
- };
2061
- email: string;
2062
- companyName: string;
2063
- contact: string;
2064
- }[] | null | undefined;
2065
- customerDisplayImages?: {
2066
- url: string;
2067
- restaurantIds: string[];
2068
- }[] | null | undefined;
2069
- name: string;
2070
- _id: string;
2071
- ownerId: string;
2072
- restaurantQuota: number;
2073
- warehouseQuota: number;
2074
- menuVersion: string;
2075
- } | null | undefined;
2076
1861
  _id: string;
2077
1862
  businessId: string;
2078
1863
  profile: {
2079
- email?: string | null | undefined;
2080
- phoneNo?: string | null | undefined;
2081
- name: string;
2082
- address: {
1864
+ code?: string | null | undefined;
1865
+ _id?: string | null | undefined;
1866
+ name?: string | undefined;
1867
+ address?: {
2083
1868
  coordinates?: number[] | null | undefined;
2084
1869
  line2?: string | null | undefined;
2085
1870
  state: string;
@@ -2087,11 +1872,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2087
1872
  line1: string;
2088
1873
  city: string;
2089
1874
  postcode: string;
2090
- };
2091
- regNo: string;
1875
+ } | undefined;
1876
+ email?: string | undefined;
1877
+ regNo?: string | undefined;
1878
+ sstRegNo?: string | null | undefined;
1879
+ phoneNo?: string | undefined;
1880
+ legalName?: string | null | undefined;
1881
+ discovery?: boolean | null | undefined;
1882
+ coverPhoto?: string | null | undefined;
1883
+ thumbnailPhoto?: string | null | undefined;
1884
+ description?: string | null | undefined;
1885
+ photos?: string[] | null | undefined;
1886
+ operatingHours?: {
1887
+ 0: {
1888
+ hours: {
1889
+ end: string;
1890
+ start: string;
1891
+ }[];
1892
+ enable: boolean;
1893
+ };
1894
+ 2: {
1895
+ hours: {
1896
+ end: string;
1897
+ start: string;
1898
+ }[];
1899
+ enable: boolean;
1900
+ };
1901
+ 1: {
1902
+ hours: {
1903
+ end: string;
1904
+ start: string;
1905
+ }[];
1906
+ enable: boolean;
1907
+ };
1908
+ 3: {
1909
+ hours: {
1910
+ end: string;
1911
+ start: string;
1912
+ }[];
1913
+ enable: boolean;
1914
+ };
1915
+ 4: {
1916
+ hours: {
1917
+ end: string;
1918
+ start: string;
1919
+ }[];
1920
+ enable: boolean;
1921
+ };
1922
+ 5: {
1923
+ hours: {
1924
+ end: string;
1925
+ start: string;
1926
+ }[];
1927
+ enable: boolean;
1928
+ };
1929
+ 6: {
1930
+ hours: {
1931
+ end: string;
1932
+ start: string;
1933
+ }[];
1934
+ enable: boolean;
1935
+ };
1936
+ } | null | undefined;
1937
+ tags?: string[] | null | undefined;
1938
+ url?: string | null | undefined;
2092
1939
  };
2093
1940
  };
2094
- })[] | null | undefined;
1941
+ }[] | null | undefined;
2095
1942
  updatedBy?: {
2096
1943
  email?: string | null | undefined;
2097
1944
  phoneNumber?: string | null | undefined;
@@ -2127,7 +1974,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2127
1974
  precision: number;
2128
1975
  };
2129
1976
  } | null | undefined;
2130
- type: "RECIPE" | "SKU";
1977
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2131
1978
  amount: {
2132
1979
  amount: number;
2133
1980
  precision: number;
@@ -2178,99 +2025,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2178
2025
  };
2179
2026
  }[];
2180
2027
  name: string;
2181
- }[] | {
2028
+ } & RevisionIdMeta)[] | {
2182
2029
  ref?: string | null | undefined;
2183
- _rev?: string | null | undefined;
2030
+ _rev: string;
2184
2031
  updatedAt?: Date | null | undefined;
2185
- locations?: ({
2186
- doc?: any;
2187
- type: "restaurant";
2188
- name: string;
2189
- acceptRequest: boolean;
2190
- dbName: string;
2191
- } | {
2192
- type: "warehouse";
2032
+ locations?: {
2033
+ type: "restaurant" | "warehouse";
2193
2034
  name: string;
2194
2035
  acceptRequest: boolean;
2195
2036
  dbName: string;
2196
2037
  doc: {
2197
- pf_business?: {
2198
- internal?: boolean | null | undefined;
2199
- url?: string | null | undefined;
2200
- expiredAt?: string | null | undefined;
2201
- agentId?: string | null | undefined;
2202
- restaurantTagGroups?: {
2203
- name: string;
2204
- id: string;
2205
- tags: {
2206
- name: string;
2207
- id: string;
2208
- }[];
2209
- }[] | null | undefined;
2210
- pf_agent?: {
2211
- clickupId?: string | null | undefined;
2212
- members?: {
2213
- pf_user?: {
2214
- email?: string | null | undefined;
2215
- phoneNumber?: string | null | undefined;
2216
- birthday?: string | null | undefined;
2217
- gender?: "MALE" | "FEMALE" | null | undefined;
2218
- addresses?: {
2219
- name: string;
2220
- address: string;
2221
- coordinates: number[];
2222
- }[] | null | undefined;
2223
- photoURL?: string | null | undefined;
2224
- displayName?: string | null | undefined;
2225
- imported?: {
2226
- raw: Record<string, any>;
2227
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2228
- } | null | undefined;
2229
- _id: string;
2230
- } | null | undefined;
2231
- role: "ADMIN";
2232
- userId: string;
2233
- }[] | null | undefined;
2234
- code: string;
2235
- name: string;
2236
- _id: string;
2237
- isReseller: boolean;
2238
- } | null | undefined;
2239
- thumbnail?: string | null | undefined;
2240
- billingInfos?: {
2241
- _id?: string | null | undefined;
2242
- name: string;
2243
- address: {
2244
- coordinates?: number[] | null | undefined;
2245
- line2?: string | null | undefined;
2246
- state: string;
2247
- country: string;
2248
- line1: string;
2249
- city: string;
2250
- postcode: string;
2251
- };
2252
- email: string;
2253
- companyName: string;
2254
- contact: string;
2255
- }[] | null | undefined;
2256
- customerDisplayImages?: {
2257
- url: string;
2258
- restaurantIds: string[];
2259
- }[] | null | undefined;
2260
- name: string;
2261
- _id: string;
2262
- ownerId: string;
2263
- restaurantQuota: number;
2264
- warehouseQuota: number;
2265
- menuVersion: string;
2266
- } | null | undefined;
2267
2038
  _id: string;
2268
2039
  businessId: string;
2269
2040
  profile: {
2270
- email?: string | null | undefined;
2271
- phoneNo?: string | null | undefined;
2272
- name: string;
2273
- address: {
2041
+ code?: string | null | undefined;
2042
+ _id?: string | null | undefined;
2043
+ name?: string | undefined;
2044
+ address?: {
2274
2045
  coordinates?: number[] | null | undefined;
2275
2046
  line2?: string | null | undefined;
2276
2047
  state: string;
@@ -2278,11 +2049,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2278
2049
  line1: string;
2279
2050
  city: string;
2280
2051
  postcode: string;
2281
- };
2282
- regNo: string;
2052
+ } | undefined;
2053
+ email?: string | undefined;
2054
+ regNo?: string | undefined;
2055
+ sstRegNo?: string | null | undefined;
2056
+ phoneNo?: string | undefined;
2057
+ legalName?: string | null | undefined;
2058
+ discovery?: boolean | null | undefined;
2059
+ coverPhoto?: string | null | undefined;
2060
+ thumbnailPhoto?: string | null | undefined;
2061
+ description?: string | null | undefined;
2062
+ photos?: string[] | null | undefined;
2063
+ operatingHours?: {
2064
+ 0: {
2065
+ hours: {
2066
+ end: string;
2067
+ start: string;
2068
+ }[];
2069
+ enable: boolean;
2070
+ };
2071
+ 2: {
2072
+ hours: {
2073
+ end: string;
2074
+ start: string;
2075
+ }[];
2076
+ enable: boolean;
2077
+ };
2078
+ 1: {
2079
+ hours: {
2080
+ end: string;
2081
+ start: string;
2082
+ }[];
2083
+ enable: boolean;
2084
+ };
2085
+ 3: {
2086
+ hours: {
2087
+ end: string;
2088
+ start: string;
2089
+ }[];
2090
+ enable: boolean;
2091
+ };
2092
+ 4: {
2093
+ hours: {
2094
+ end: string;
2095
+ start: string;
2096
+ }[];
2097
+ enable: boolean;
2098
+ };
2099
+ 5: {
2100
+ hours: {
2101
+ end: string;
2102
+ start: string;
2103
+ }[];
2104
+ enable: boolean;
2105
+ };
2106
+ 6: {
2107
+ hours: {
2108
+ end: string;
2109
+ start: string;
2110
+ }[];
2111
+ enable: boolean;
2112
+ };
2113
+ } | null | undefined;
2114
+ tags?: string[] | null | undefined;
2115
+ url?: string | null | undefined;
2283
2116
  };
2284
2117
  };
2285
- })[] | null | undefined;
2118
+ }[] | null | undefined;
2286
2119
  updatedBy?: {
2287
2120
  email?: string | null | undefined;
2288
2121
  phoneNumber?: string | null | undefined;
@@ -2318,7 +2151,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2318
2151
  precision: number;
2319
2152
  };
2320
2153
  } | null | undefined;
2321
- type: "RECIPE" | "SKU";
2154
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2322
2155
  amount: {
2323
2156
  amount: number;
2324
2157
  precision: number;