@feedmepos/mf-inventory-portal 0.0.22-dev.9 → 0.0.23-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 (163) hide show
  1. package/dist/App-Y3Ez8Rjf.js +255 -0
  2. package/dist/ApprovalView-BUU1G4Q2.js +141 -0
  3. package/dist/{BindingsDialog-GzX9Bo2g.js → BindingsDialog-8wc4Q0JQ.js} +13 -12
  4. package/dist/{BindingsPicker-SbOetc0-.js → BindingsPicker-DGWN1LQc.js} +19 -18
  5. package/dist/{BindingsTable-CAcE5y8U.js → BindingsTable-7NJP2jT6.js} +20 -16
  6. package/dist/ClosingTemplateView-9s7vmwaT.js +1833 -0
  7. package/dist/FmDroppableField-8RzKjEdL.js +154 -0
  8. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B4DDh9-a.js +267 -0
  9. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-5DINn0ZB.js +436 -0
  10. package/dist/FmMultiselectDialog-7hok9sJP.js +411 -0
  11. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-CxR1FCft.js +326 -0
  12. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-FQ0HjuL3.js +51 -0
  13. package/dist/IngredientGroupView-C3maHTCg.js +610 -0
  14. package/dist/IngredientsView-DCR3IBkR.js +1613 -0
  15. package/dist/IntegrationView-gO4h89Wj.js +1227 -0
  16. package/dist/InventoryBindingForm-dh3GeyG-.js +4 -0
  17. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CJuo3i7W.js +278 -0
  18. package/dist/InventoryBindingSummary-BPoPcEoe.js +75 -0
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-1FCwvO8A.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-olm8sZKt.js} +1 -1
  20. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BezTV43V.js +116 -0
  21. package/dist/{PurchaseOrderPrintPreview-5HIWHR_f.js → PurchaseOrderPrintPreview-Dix_fIoo.js} +14 -13
  22. package/dist/ReceiveRequestView-DdPiYb2P.js +4082 -0
  23. package/dist/RecipeView-C4-a4IEW.js +597 -0
  24. package/dist/Standalone.vue.d.ts +2 -0
  25. package/dist/StockView-Du2txrIP.js +7778 -0
  26. package/dist/SupplierView-D_09FbQh.js +1474 -0
  27. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9MOos--.js +1144 -0
  28. package/dist/TransferTemplateView-j3CRy6Lc.js +1262 -0
  29. package/dist/{UnitView-BpU0Yk7X.js → UnitView-BXw2Vwq1.js} +30 -29
  30. package/dist/{WarehouseView-DqxWgogc.js → WarehouseView-CKamiETC.js} +205 -202
  31. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  32. package/dist/api/bill.d.ts +86 -240
  33. package/dist/api/closing-template.d.ts +6 -4
  34. package/dist/api/inventory.d.ts +281 -88
  35. package/dist/api/netsuite.d.ts +32 -1
  36. package/dist/api/purchase-order-template.d.ts +4 -2
  37. package/dist/api/supplier.d.ts +1 -0
  38. package/dist/app-GUbzqEtW.js +33456 -0
  39. package/dist/app.d.ts +259 -6
  40. package/dist/app.js +8 -7
  41. package/dist/array-hChJVZLE.js +43 -0
  42. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  43. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  44. package/dist/components/FmMultiselectDialog.vue.d.ts +3 -9
  45. package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
  46. package/dist/components/FmUnitInputRules.d.ts +2 -0
  47. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
  48. package/dist/components/map/GoogleMap.vue.d.ts +4 -4
  49. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  50. package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
  51. package/dist/date2-CLE9fB2R.js +117 -0
  52. package/dist/dayjs.min-CY1d38w7.js +282 -0
  53. package/dist/{decimal-DWbwRn_v.js → decimal-SIjO6Mjw.js} +1 -1
  54. package/dist/defineDeepModel-l40rX7kr.js +13 -0
  55. package/dist/extensions/array.d.ts +1 -0
  56. package/dist/feature-BXruKUhX.js +78 -0
  57. package/dist/{format-time-from-id-BnmaRuab.js → format-time-from-id-CcFsBXmk.js} +1 -1
  58. package/dist/format-unit-display-DEKg8cJm.js +1198 -0
  59. package/dist/fuzzy-CVOV9zJc.js +41 -0
  60. package/dist/googlemap-Dm8ERVai.js +97 -0
  61. package/dist/helper/rules.d.ts +7 -0
  62. package/dist/helper/rules.spec.d.ts +1 -0
  63. package/dist/helper/xlsx.util.d.ts +7 -0
  64. package/dist/index-BX5KZXhI.js +22279 -0
  65. package/dist/index-CVsyOEb1.js +10545 -0
  66. package/dist/index-m9e9nYfl.js +45 -0
  67. package/dist/netsuite-DAKRv7zr.js +146 -0
  68. package/dist/normalizeArguments-DP7Hrren.js +1552 -0
  69. package/dist/router/name.d.ts +1 -0
  70. package/dist/rules-DlnN8IP3.js +198 -0
  71. package/dist/stores/integration/foodmarkethub.d.ts +391 -0
  72. package/dist/stores/integration/index.d.ts +7 -0
  73. package/dist/stores/integration/netsuite.d.ts +102 -0
  74. package/dist/stores/inventory.d.ts +295 -9
  75. package/dist/stores/location.d.ts +508 -485
  76. package/dist/stores/supplier.d.ts +124 -4
  77. package/dist/stores/warehouse.d.ts +7 -4
  78. package/dist/style.css +1 -1
  79. package/dist/supplier-B21WlSAM.js +77 -0
  80. package/dist/tsconfig.app.tsbuildinfo +1 -1
  81. package/dist/use-inventory-binding-dialog-D3x6xj2O.js +95 -0
  82. package/dist/{use-template-enabled-locations-2-ClBq9FjN.js → use-template-enabled-locations-2-z-b-UXef.js} +9 -8
  83. package/dist/useTabStorage-BkIVScW_.js +25 -0
  84. package/dist/views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts +2 -0
  85. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
  86. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
  87. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  88. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +877 -1002
  89. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +882 -1013
  90. package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
  91. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
  92. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
  93. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
  94. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
  95. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
  96. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
  97. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
  98. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  99. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  100. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
  101. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
  102. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  103. package/dist/views/integration/FoodMarketHub.vue.d.ts +2 -0
  104. package/dist/views/integration/NetSuite.vue.d.ts +2 -0
  105. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +7 -7
  106. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +7 -7
  107. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  108. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +49 -0
  109. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1913 -53
  110. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  111. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  112. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  113. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2370 -327
  114. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2304 -261
  115. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  116. package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
  117. package/dist/views/stock/components/StockRecordCard.vue.d.ts +43 -120
  118. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +34 -4
  119. package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
  120. package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
  121. package/dist/views/supplier/components/supplier-import/SupplierImport.vue.d.ts +2 -0
  122. package/dist/views/supplier/components/supplier-import/SupplierImportItem.vue.d.ts +12 -0
  123. package/dist/views/supplier/components/supplier-import/SupplierImportItemProps.d.ts +6 -0
  124. package/dist/views/supplier/composables/use-supplier-actions.d.ts +10 -0
  125. package/dist/views/supplier/helpers/import-export.helper.d.ts +50 -0
  126. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
  127. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
  128. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -82
  129. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +38 -1
  130. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
  131. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
  132. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
  133. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
  134. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1279 -1528
  135. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +2207 -446
  136. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
  137. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -251
  138. package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
  139. package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
  140. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +14 -8
  141. package/dist/{xlsx-DiOKvJ6l.js → xlsx-6mM1eNiL.js} +1525 -1525
  142. package/dist/xlsx.util-BLftcF4q.js +78 -0
  143. package/package.json +7 -4
  144. package/dist/ApprovalView-BPsScR5_.js +0 -129
  145. package/dist/ClosingTemplateView-DECwEnlK.js +0 -1066
  146. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnogYrRE.js +0 -372
  147. package/dist/IngredientsView-8fT1Ljd5.js +0 -1758
  148. package/dist/IntegrationView-CjGLRM78.js +0 -1141
  149. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-DlhNc8Vk.js +0 -88
  150. package/dist/ReceiveRequestView-CXZv8g5U.js +0 -215
  151. package/dist/RecipeView-sB0Lgmob.js +0 -581
  152. package/dist/StockView-CY2kNohB.js +0 -1892
  153. package/dist/SupplierView-DTqeZPts.js +0 -827
  154. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BBby29tW.js +0 -762
  155. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-ByNQap9n.js +0 -1498
  156. package/dist/TransferTemplateView-DkRVfAox.js +0 -1277
  157. package/dist/app-BuyAj4kw.js +0 -69068
  158. package/dist/defineDeepModel-DuVmbMwq.js +0 -13
  159. package/dist/id-to-date-CI5Vv0Ji.js +0 -30
  160. package/dist/purchase-order-transaction-type-DrFJFvtK.js +0 -676
  161. package/dist/stores/netsuite.d.ts +0 -49
  162. package/dist/supplier-BQyK2eSZ.js +0 -69
  163. package/dist/xlsx.util-CZ7zYxdP.js +0 -109
@@ -1,96 +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
- attributeSettings?: {
26
- type: "string" | "number" | "boolean" | "date";
27
- key: string;
28
- entity: "restaurant" | "item";
29
- }[] | null | undefined;
30
- pf_agent?: {
31
- clickupId?: string | null | undefined;
32
- members?: {
33
- pf_user?: {
34
- email?: string | null | undefined;
35
- phoneNumber?: string | null | undefined;
36
- birthday?: string | null | undefined;
37
- gender?: "MALE" | "FEMALE" | null | undefined;
38
- addresses?: {
39
- name: string;
40
- address: string;
41
- coordinates: number[];
42
- }[] | null | undefined;
43
- photoURL?: string | null | undefined;
44
- displayName?: string | null | undefined;
45
- imported?: {
46
- raw: Record<string, any>;
47
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
48
- } | null | undefined;
49
- _id: string;
50
- } | null | undefined;
51
- role: "ADMIN";
52
- userId: string;
53
- }[] | null | undefined;
54
- code: string;
55
- name: string;
56
- _id: string;
57
- isReseller: boolean;
58
- } | null | undefined;
59
- thumbnail?: string | null | undefined;
60
- billingInfos?: {
61
- _id?: string | null | undefined;
62
- name: string;
63
- address: {
64
- coordinates?: number[] | null | undefined;
65
- line2?: string | null | undefined;
66
- state: string;
67
- country: string;
68
- line1: string;
69
- city: string;
70
- postcode: string;
71
- };
72
- email: string;
73
- companyName: string;
74
- contact: string;
75
- }[] | null | undefined;
76
- customerDisplayImages?: {
77
- url: string;
78
- restaurantIds: string[];
79
- }[] | null | undefined;
80
- name: string;
81
- _id: string;
82
- ownerId: string;
83
- restaurantQuota: number;
84
- warehouseQuota: number;
85
- menuVersion: string;
86
- } | null | undefined;
87
15
  _id: string;
88
16
  businessId: string;
89
17
  profile: {
90
- email?: string | null | undefined;
91
- phoneNo?: string | null | undefined;
92
- name: string;
93
- address: {
18
+ code?: string | null | undefined;
19
+ _id?: string | null | undefined;
20
+ name?: string | undefined;
21
+ address?: {
94
22
  coordinates?: number[] | null | undefined;
95
23
  line2?: string | null | undefined;
96
24
  state: string;
@@ -98,11 +26,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
98
26
  line1: string;
99
27
  city: string;
100
28
  postcode: string;
101
- };
102
- 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;
103
93
  };
104
94
  };
105
- })[] | null | undefined;
95
+ }[] | null | undefined;
106
96
  updatedBy?: {
107
97
  email?: string | null | undefined;
108
98
  phoneNumber?: string | null | undefined;
@@ -138,7 +128,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
138
128
  precision: number;
139
129
  };
140
130
  } | null | undefined;
141
- type: "RECIPE" | "SKU";
131
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
142
132
  amount: {
143
133
  amount: number;
144
134
  precision: number;
@@ -189,7 +179,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
189
179
  };
190
180
  }[];
191
181
  name: string;
192
- }>[];
182
+ } & RevisionIdMeta>[];
193
183
  recentPublish: import("vue").Ref<{
194
184
  recentJob?: {
195
185
  id: string;
@@ -213,94 +203,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
213
203
  }>;
214
204
  templates: import("vue").Ref<{
215
205
  ref?: string | null | undefined;
216
- _rev?: string | null | undefined;
206
+ _rev: string;
217
207
  updatedAt?: Date | null | undefined;
218
- locations?: ({
219
- doc?: any;
220
- type: "restaurant";
221
- name: string;
222
- acceptRequest: boolean;
223
- dbName: string;
224
- } | {
225
- type: "warehouse";
208
+ locations?: {
209
+ type: "restaurant" | "warehouse";
226
210
  name: string;
227
211
  acceptRequest: boolean;
228
212
  dbName: string;
229
213
  doc: {
230
- pf_business?: {
231
- internal?: boolean | null | undefined;
232
- url?: string | null | undefined;
233
- expiredAt?: string | null | undefined;
234
- agentId?: string | null | undefined;
235
- attributeSettings?: {
236
- type: "string" | "number" | "boolean" | "date";
237
- key: string;
238
- entity: "restaurant" | "item";
239
- }[] | null | undefined;
240
- pf_agent?: {
241
- clickupId?: string | null | undefined;
242
- members?: {
243
- pf_user?: {
244
- email?: string | null | undefined;
245
- phoneNumber?: string | null | undefined;
246
- birthday?: string | null | undefined;
247
- gender?: "MALE" | "FEMALE" | null | undefined;
248
- addresses?: {
249
- name: string;
250
- address: string;
251
- coordinates: number[];
252
- }[] | null | undefined;
253
- photoURL?: string | null | undefined;
254
- displayName?: string | null | undefined;
255
- imported?: {
256
- raw: Record<string, any>;
257
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
258
- } | null | undefined;
259
- _id: string;
260
- } | null | undefined;
261
- role: "ADMIN";
262
- userId: string;
263
- }[] | null | undefined;
264
- code: string;
265
- name: string;
266
- _id: string;
267
- isReseller: boolean;
268
- } | null | undefined;
269
- thumbnail?: string | null | undefined;
270
- billingInfos?: {
271
- _id?: string | null | undefined;
272
- name: string;
273
- address: {
274
- coordinates?: number[] | null | undefined;
275
- line2?: string | null | undefined;
276
- state: string;
277
- country: string;
278
- line1: string;
279
- city: string;
280
- postcode: string;
281
- };
282
- email: string;
283
- companyName: string;
284
- contact: string;
285
- }[] | null | undefined;
286
- customerDisplayImages?: {
287
- url: string;
288
- restaurantIds: string[];
289
- }[] | null | undefined;
290
- name: string;
291
- _id: string;
292
- ownerId: string;
293
- restaurantQuota: number;
294
- warehouseQuota: number;
295
- menuVersion: string;
296
- } | null | undefined;
297
214
  _id: string;
298
215
  businessId: string;
299
216
  profile: {
300
- email?: string | null | undefined;
301
- phoneNo?: string | null | undefined;
302
- name: string;
303
- address: {
217
+ code?: string | null | undefined;
218
+ _id?: string | null | undefined;
219
+ name?: string | undefined;
220
+ address?: {
304
221
  coordinates?: number[] | null | undefined;
305
222
  line2?: string | null | undefined;
306
223
  state: string;
@@ -308,11 +225,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
308
225
  line1: string;
309
226
  city: string;
310
227
  postcode: string;
311
- };
312
- 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;
313
292
  };
314
293
  };
315
- })[] | null | undefined;
294
+ }[] | null | undefined;
316
295
  updatedBy?: {
317
296
  email?: string | null | undefined;
318
297
  phoneNumber?: string | null | undefined;
@@ -348,7 +327,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
348
327
  precision: number;
349
328
  };
350
329
  } | null | undefined;
351
- type: "RECIPE" | "SKU";
330
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
352
331
  amount: {
353
332
  amount: number;
354
333
  precision: number;
@@ -399,96 +378,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
399
378
  };
400
379
  }[];
401
380
  name: string;
402
- }[], {
381
+ }[], ({
403
382
  ref?: string | null | undefined;
404
383
  _rev?: string | null | undefined;
405
384
  updatedAt?: Date | null | undefined;
406
- locations?: ({
407
- doc?: any;
408
- type: "restaurant";
409
- name: string;
410
- acceptRequest: boolean;
411
- dbName: string;
412
- } | {
413
- type: "warehouse";
385
+ locations?: {
386
+ type: "restaurant" | "warehouse";
414
387
  name: string;
415
388
  acceptRequest: boolean;
416
389
  dbName: string;
417
390
  doc: {
418
- pf_business?: {
419
- internal?: boolean | null | undefined;
420
- url?: string | null | undefined;
421
- expiredAt?: string | null | undefined;
422
- agentId?: string | null | undefined;
423
- attributeSettings?: {
424
- type: "string" | "number" | "boolean" | "date";
425
- key: string;
426
- entity: "restaurant" | "item";
427
- }[] | null | undefined;
428
- pf_agent?: {
429
- clickupId?: string | null | undefined;
430
- members?: {
431
- pf_user?: {
432
- email?: string | null | undefined;
433
- phoneNumber?: string | null | undefined;
434
- birthday?: string | null | undefined;
435
- gender?: "MALE" | "FEMALE" | null | undefined;
436
- addresses?: {
437
- name: string;
438
- address: string;
439
- coordinates: number[];
440
- }[] | null | undefined;
441
- photoURL?: string | null | undefined;
442
- displayName?: string | null | undefined;
443
- imported?: {
444
- raw: Record<string, any>;
445
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
446
- } | null | undefined;
447
- _id: string;
448
- } | null | undefined;
449
- role: "ADMIN";
450
- userId: string;
451
- }[] | null | undefined;
452
- code: string;
453
- name: string;
454
- _id: string;
455
- isReseller: boolean;
456
- } | null | undefined;
457
- thumbnail?: string | null | undefined;
458
- billingInfos?: {
459
- _id?: string | null | undefined;
460
- name: string;
461
- address: {
462
- coordinates?: number[] | null | undefined;
463
- line2?: string | null | undefined;
464
- state: string;
465
- country: string;
466
- line1: string;
467
- city: string;
468
- postcode: string;
469
- };
470
- email: string;
471
- companyName: string;
472
- contact: string;
473
- }[] | null | undefined;
474
- customerDisplayImages?: {
475
- url: string;
476
- restaurantIds: string[];
477
- }[] | null | undefined;
478
- name: string;
479
- _id: string;
480
- ownerId: string;
481
- restaurantQuota: number;
482
- warehouseQuota: number;
483
- menuVersion: string;
484
- } | null | undefined;
485
391
  _id: string;
486
392
  businessId: string;
487
393
  profile: {
488
- email?: string | null | undefined;
489
- phoneNo?: string | null | undefined;
490
- name: string;
491
- address: {
394
+ code?: string | null | undefined;
395
+ _id?: string | null | undefined;
396
+ name?: string | undefined;
397
+ address?: {
492
398
  coordinates?: number[] | null | undefined;
493
399
  line2?: string | null | undefined;
494
400
  state: string;
@@ -496,11 +402,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
496
402
  line1: string;
497
403
  city: string;
498
404
  postcode: string;
499
- };
500
- 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;
501
469
  };
502
470
  };
503
- })[] | null | undefined;
471
+ }[] | null | undefined;
504
472
  updatedBy?: {
505
473
  email?: string | null | undefined;
506
474
  phoneNumber?: string | null | undefined;
@@ -536,7 +504,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
536
504
  precision: number;
537
505
  };
538
506
  } | null | undefined;
539
- type: "RECIPE" | "SKU";
507
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
540
508
  amount: {
541
509
  amount: number;
542
510
  precision: number;
@@ -587,96 +555,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
587
555
  };
588
556
  }[];
589
557
  name: string;
590
- }[] | {
558
+ } & RevisionIdMeta)[] | {
591
559
  ref?: string | null | undefined;
592
- _rev?: string | null | undefined;
560
+ _rev: string;
593
561
  updatedAt?: Date | null | undefined;
594
- locations?: ({
595
- doc?: any;
596
- type: "restaurant";
597
- name: string;
598
- acceptRequest: boolean;
599
- dbName: string;
600
- } | {
601
- type: "warehouse";
562
+ locations?: {
563
+ type: "restaurant" | "warehouse";
602
564
  name: string;
603
565
  acceptRequest: boolean;
604
566
  dbName: string;
605
567
  doc: {
606
- pf_business?: {
607
- internal?: boolean | null | undefined;
608
- url?: string | null | undefined;
609
- expiredAt?: string | null | undefined;
610
- agentId?: string | null | undefined;
611
- attributeSettings?: {
612
- type: "string" | "number" | "boolean" | "date";
613
- key: string;
614
- entity: "restaurant" | "item";
615
- }[] | null | undefined;
616
- pf_agent?: {
617
- clickupId?: string | null | undefined;
618
- members?: {
619
- pf_user?: {
620
- email?: string | null | undefined;
621
- phoneNumber?: string | null | undefined;
622
- birthday?: string | null | undefined;
623
- gender?: "MALE" | "FEMALE" | null | undefined;
624
- addresses?: {
625
- name: string;
626
- address: string;
627
- coordinates: number[];
628
- }[] | null | undefined;
629
- photoURL?: string | null | undefined;
630
- displayName?: string | null | undefined;
631
- imported?: {
632
- raw: Record<string, any>;
633
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
634
- } | null | undefined;
635
- _id: string;
636
- } | null | undefined;
637
- role: "ADMIN";
638
- userId: string;
639
- }[] | null | undefined;
640
- code: string;
641
- name: string;
642
- _id: string;
643
- isReseller: boolean;
644
- } | null | undefined;
645
- thumbnail?: string | null | undefined;
646
- billingInfos?: {
647
- _id?: string | null | undefined;
648
- name: string;
649
- address: {
650
- coordinates?: number[] | null | undefined;
651
- line2?: string | null | undefined;
652
- state: string;
653
- country: string;
654
- line1: string;
655
- city: string;
656
- postcode: string;
657
- };
658
- email: string;
659
- companyName: string;
660
- contact: string;
661
- }[] | null | undefined;
662
- customerDisplayImages?: {
663
- url: string;
664
- restaurantIds: string[];
665
- }[] | null | undefined;
666
- name: string;
667
- _id: string;
668
- ownerId: string;
669
- restaurantQuota: number;
670
- warehouseQuota: number;
671
- menuVersion: string;
672
- } | null | undefined;
673
568
  _id: string;
674
569
  businessId: string;
675
570
  profile: {
676
- email?: string | null | undefined;
677
- phoneNo?: string | null | undefined;
678
- name: string;
679
- address: {
571
+ code?: string | null | undefined;
572
+ _id?: string | null | undefined;
573
+ name?: string | undefined;
574
+ address?: {
680
575
  coordinates?: number[] | null | undefined;
681
576
  line2?: string | null | undefined;
682
577
  state: string;
@@ -684,11 +579,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
684
579
  line1: string;
685
580
  city: string;
686
581
  postcode: string;
687
- };
688
- 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;
689
646
  };
690
647
  };
691
- })[] | null | undefined;
648
+ }[] | null | undefined;
692
649
  updatedBy?: {
693
650
  email?: string | null | undefined;
694
651
  phoneNumber?: string | null | undefined;
@@ -724,7 +681,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
724
681
  precision: number;
725
682
  };
726
683
  } | null | undefined;
727
- type: "RECIPE" | "SKU";
684
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
728
685
  amount: {
729
686
  amount: number;
730
687
  precision: number;
@@ -779,97 +736,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
779
736
  loading: import("vue").Ref<boolean, boolean>;
780
737
  fetchTemplates: () => Promise<void>;
781
738
  loadTemplate: (templateId: string) => Promise<void>;
782
- }, "loading" | "columnDefs" | "recentPublish" | "templates">, Pick<{
739
+ }, "loading" | "columnDefs" | "recentPublish" | "templates">>, Pick<{
783
740
  columnDefs: ColumnDef<{
784
741
  ref?: string | null | undefined;
785
742
  _rev?: string | null | undefined;
786
743
  updatedAt?: Date | null | undefined;
787
- locations?: ({
788
- doc?: any;
789
- type: "restaurant";
790
- name: string;
791
- acceptRequest: boolean;
792
- dbName: string;
793
- } | {
794
- type: "warehouse";
744
+ locations?: {
745
+ type: "restaurant" | "warehouse";
795
746
  name: string;
796
747
  acceptRequest: boolean;
797
748
  dbName: string;
798
749
  doc: {
799
- pf_business?: {
800
- internal?: boolean | null | undefined;
801
- url?: string | null | undefined;
802
- expiredAt?: string | null | undefined;
803
- agentId?: string | null | undefined;
804
- attributeSettings?: {
805
- type: "string" | "number" | "boolean" | "date";
806
- key: string;
807
- entity: "restaurant" | "item";
808
- }[] | null | undefined;
809
- pf_agent?: {
810
- clickupId?: string | null | undefined;
811
- members?: {
812
- pf_user?: {
813
- email?: string | null | undefined;
814
- phoneNumber?: string | null | undefined;
815
- birthday?: string | null | undefined;
816
- gender?: "MALE" | "FEMALE" | null | undefined;
817
- addresses?: {
818
- name: string;
819
- address: string;
820
- coordinates: number[];
821
- }[] | null | undefined;
822
- photoURL?: string | null | undefined;
823
- displayName?: string | null | undefined;
824
- imported?: {
825
- raw: Record<string, any>;
826
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
827
- } | null | undefined;
828
- _id: string;
829
- } | null | undefined;
830
- role: "ADMIN";
831
- userId: string;
832
- }[] | null | undefined;
833
- code: string;
834
- name: string;
835
- _id: string;
836
- isReseller: boolean;
837
- } | null | undefined;
838
- thumbnail?: string | null | undefined;
839
- billingInfos?: {
840
- _id?: string | null | undefined;
841
- name: string;
842
- address: {
843
- coordinates?: number[] | null | undefined;
844
- line2?: string | null | undefined;
845
- state: string;
846
- country: string;
847
- line1: string;
848
- city: string;
849
- postcode: string;
850
- };
851
- email: string;
852
- companyName: string;
853
- contact: string;
854
- }[] | null | undefined;
855
- customerDisplayImages?: {
856
- url: string;
857
- restaurantIds: string[];
858
- }[] | null | undefined;
859
- name: string;
860
- _id: string;
861
- ownerId: string;
862
- restaurantQuota: number;
863
- warehouseQuota: number;
864
- menuVersion: string;
865
- } | null | undefined;
866
750
  _id: string;
867
751
  businessId: string;
868
752
  profile: {
869
- email?: string | null | undefined;
870
- phoneNo?: string | null | undefined;
871
- name: string;
872
- address: {
753
+ code?: string | null | undefined;
754
+ _id?: string | null | undefined;
755
+ name?: string | undefined;
756
+ address?: {
873
757
  coordinates?: number[] | null | undefined;
874
758
  line2?: string | null | undefined;
875
759
  state: string;
@@ -877,11 +761,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
877
761
  line1: string;
878
762
  city: string;
879
763
  postcode: string;
880
- };
881
- 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;
882
828
  };
883
829
  };
884
- })[] | null | undefined;
830
+ }[] | null | undefined;
885
831
  updatedBy?: {
886
832
  email?: string | null | undefined;
887
833
  phoneNumber?: string | null | undefined;
@@ -917,7 +863,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
917
863
  precision: number;
918
864
  };
919
865
  } | null | undefined;
920
- type: "RECIPE" | "SKU";
866
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
921
867
  amount: {
922
868
  amount: number;
923
869
  precision: number;
@@ -968,7 +914,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
968
914
  };
969
915
  }[];
970
916
  name: string;
971
- }>[];
917
+ } & RevisionIdMeta>[];
972
918
  recentPublish: import("vue").Ref<{
973
919
  recentJob?: {
974
920
  id: string;
@@ -992,94 +938,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
992
938
  }>;
993
939
  templates: import("vue").Ref<{
994
940
  ref?: string | null | undefined;
995
- _rev?: string | null | undefined;
941
+ _rev: string;
996
942
  updatedAt?: Date | null | undefined;
997
- locations?: ({
998
- doc?: any;
999
- type: "restaurant";
1000
- name: string;
1001
- acceptRequest: boolean;
1002
- dbName: string;
1003
- } | {
1004
- type: "warehouse";
943
+ locations?: {
944
+ type: "restaurant" | "warehouse";
1005
945
  name: string;
1006
946
  acceptRequest: boolean;
1007
947
  dbName: string;
1008
948
  doc: {
1009
- pf_business?: {
1010
- internal?: boolean | null | undefined;
1011
- url?: string | null | undefined;
1012
- expiredAt?: string | null | undefined;
1013
- agentId?: string | null | undefined;
1014
- attributeSettings?: {
1015
- type: "string" | "number" | "boolean" | "date";
1016
- key: string;
1017
- entity: "restaurant" | "item";
1018
- }[] | null | undefined;
1019
- pf_agent?: {
1020
- clickupId?: string | null | undefined;
1021
- members?: {
1022
- pf_user?: {
1023
- email?: string | null | undefined;
1024
- phoneNumber?: string | null | undefined;
1025
- birthday?: string | null | undefined;
1026
- gender?: "MALE" | "FEMALE" | null | undefined;
1027
- addresses?: {
1028
- name: string;
1029
- address: string;
1030
- coordinates: number[];
1031
- }[] | null | undefined;
1032
- photoURL?: string | null | undefined;
1033
- displayName?: string | null | undefined;
1034
- imported?: {
1035
- raw: Record<string, any>;
1036
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1037
- } | null | undefined;
1038
- _id: string;
1039
- } | null | undefined;
1040
- role: "ADMIN";
1041
- userId: string;
1042
- }[] | null | undefined;
1043
- code: string;
1044
- name: string;
1045
- _id: string;
1046
- isReseller: boolean;
1047
- } | null | undefined;
1048
- thumbnail?: string | null | undefined;
1049
- billingInfos?: {
1050
- _id?: string | null | undefined;
1051
- name: string;
1052
- address: {
1053
- coordinates?: number[] | null | undefined;
1054
- line2?: string | null | undefined;
1055
- state: string;
1056
- country: string;
1057
- line1: string;
1058
- city: string;
1059
- postcode: string;
1060
- };
1061
- email: string;
1062
- companyName: string;
1063
- contact: string;
1064
- }[] | null | undefined;
1065
- customerDisplayImages?: {
1066
- url: string;
1067
- restaurantIds: string[];
1068
- }[] | null | undefined;
1069
- name: string;
1070
- _id: string;
1071
- ownerId: string;
1072
- restaurantQuota: number;
1073
- warehouseQuota: number;
1074
- menuVersion: string;
1075
- } | null | undefined;
1076
949
  _id: string;
1077
950
  businessId: string;
1078
951
  profile: {
1079
- email?: string | null | undefined;
1080
- phoneNo?: string | null | undefined;
1081
- name: string;
1082
- address: {
952
+ code?: string | null | undefined;
953
+ _id?: string | null | undefined;
954
+ name?: string | undefined;
955
+ address?: {
1083
956
  coordinates?: number[] | null | undefined;
1084
957
  line2?: string | null | undefined;
1085
958
  state: string;
@@ -1087,11 +960,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1087
960
  line1: string;
1088
961
  city: string;
1089
962
  postcode: string;
1090
- };
1091
- 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;
1092
1027
  };
1093
1028
  };
1094
- })[] | null | undefined;
1029
+ }[] | null | undefined;
1095
1030
  updatedBy?: {
1096
1031
  email?: string | null | undefined;
1097
1032
  phoneNumber?: string | null | undefined;
@@ -1127,7 +1062,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1127
1062
  precision: number;
1128
1063
  };
1129
1064
  } | null | undefined;
1130
- type: "RECIPE" | "SKU";
1065
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1131
1066
  amount: {
1132
1067
  amount: number;
1133
1068
  precision: number;
@@ -1178,96 +1113,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1178
1113
  };
1179
1114
  }[];
1180
1115
  name: string;
1181
- }[], {
1116
+ }[], ({
1182
1117
  ref?: string | null | undefined;
1183
1118
  _rev?: string | null | undefined;
1184
1119
  updatedAt?: Date | null | undefined;
1185
- locations?: ({
1186
- doc?: any;
1187
- type: "restaurant";
1188
- name: string;
1189
- acceptRequest: boolean;
1190
- dbName: string;
1191
- } | {
1192
- type: "warehouse";
1120
+ locations?: {
1121
+ type: "restaurant" | "warehouse";
1193
1122
  name: string;
1194
1123
  acceptRequest: boolean;
1195
1124
  dbName: string;
1196
1125
  doc: {
1197
- pf_business?: {
1198
- internal?: boolean | null | undefined;
1199
- url?: string | null | undefined;
1200
- expiredAt?: string | null | undefined;
1201
- agentId?: string | null | undefined;
1202
- attributeSettings?: {
1203
- type: "string" | "number" | "boolean" | "date";
1204
- key: string;
1205
- entity: "restaurant" | "item";
1206
- }[] | null | undefined;
1207
- pf_agent?: {
1208
- clickupId?: string | null | undefined;
1209
- members?: {
1210
- pf_user?: {
1211
- email?: string | null | undefined;
1212
- phoneNumber?: string | null | undefined;
1213
- birthday?: string | null | undefined;
1214
- gender?: "MALE" | "FEMALE" | null | undefined;
1215
- addresses?: {
1216
- name: string;
1217
- address: string;
1218
- coordinates: number[];
1219
- }[] | null | undefined;
1220
- photoURL?: string | null | undefined;
1221
- displayName?: string | null | undefined;
1222
- imported?: {
1223
- raw: Record<string, any>;
1224
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1225
- } | null | undefined;
1226
- _id: string;
1227
- } | null | undefined;
1228
- role: "ADMIN";
1229
- userId: string;
1230
- }[] | null | undefined;
1231
- code: string;
1232
- name: string;
1233
- _id: string;
1234
- isReseller: boolean;
1235
- } | null | undefined;
1236
- thumbnail?: string | null | undefined;
1237
- billingInfos?: {
1238
- _id?: string | null | undefined;
1239
- name: string;
1240
- address: {
1241
- coordinates?: number[] | null | undefined;
1242
- line2?: string | null | undefined;
1243
- state: string;
1244
- country: string;
1245
- line1: string;
1246
- city: string;
1247
- postcode: string;
1248
- };
1249
- email: string;
1250
- companyName: string;
1251
- contact: string;
1252
- }[] | null | undefined;
1253
- customerDisplayImages?: {
1254
- url: string;
1255
- restaurantIds: string[];
1256
- }[] | null | undefined;
1257
- name: string;
1258
- _id: string;
1259
- ownerId: string;
1260
- restaurantQuota: number;
1261
- warehouseQuota: number;
1262
- menuVersion: string;
1263
- } | null | undefined;
1264
1126
  _id: string;
1265
1127
  businessId: string;
1266
1128
  profile: {
1267
- email?: string | null | undefined;
1268
- phoneNo?: string | null | undefined;
1269
- name: string;
1270
- address: {
1129
+ code?: string | null | undefined;
1130
+ _id?: string | null | undefined;
1131
+ name?: string | undefined;
1132
+ address?: {
1271
1133
  coordinates?: number[] | null | undefined;
1272
1134
  line2?: string | null | undefined;
1273
1135
  state: string;
@@ -1275,11 +1137,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1275
1137
  line1: string;
1276
1138
  city: string;
1277
1139
  postcode: string;
1278
- };
1279
- 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;
1280
1204
  };
1281
1205
  };
1282
- })[] | null | undefined;
1206
+ }[] | null | undefined;
1283
1207
  updatedBy?: {
1284
1208
  email?: string | null | undefined;
1285
1209
  phoneNumber?: string | null | undefined;
@@ -1315,7 +1239,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1315
1239
  precision: number;
1316
1240
  };
1317
1241
  } | null | undefined;
1318
- type: "RECIPE" | "SKU";
1242
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1319
1243
  amount: {
1320
1244
  amount: number;
1321
1245
  precision: number;
@@ -1366,96 +1290,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1366
1290
  };
1367
1291
  }[];
1368
1292
  name: string;
1369
- }[] | {
1293
+ } & RevisionIdMeta)[] | {
1370
1294
  ref?: string | null | undefined;
1371
- _rev?: string | null | undefined;
1295
+ _rev: string;
1372
1296
  updatedAt?: Date | null | undefined;
1373
- locations?: ({
1374
- doc?: any;
1375
- type: "restaurant";
1376
- name: string;
1377
- acceptRequest: boolean;
1378
- dbName: string;
1379
- } | {
1380
- type: "warehouse";
1297
+ locations?: {
1298
+ type: "restaurant" | "warehouse";
1381
1299
  name: string;
1382
1300
  acceptRequest: boolean;
1383
1301
  dbName: string;
1384
1302
  doc: {
1385
- pf_business?: {
1386
- internal?: boolean | null | undefined;
1387
- url?: string | null | undefined;
1388
- expiredAt?: string | null | undefined;
1389
- agentId?: string | null | undefined;
1390
- attributeSettings?: {
1391
- type: "string" | "number" | "boolean" | "date";
1392
- key: string;
1393
- entity: "restaurant" | "item";
1394
- }[] | null | undefined;
1395
- pf_agent?: {
1396
- clickupId?: string | null | undefined;
1397
- members?: {
1398
- pf_user?: {
1399
- email?: string | null | undefined;
1400
- phoneNumber?: string | null | undefined;
1401
- birthday?: string | null | undefined;
1402
- gender?: "MALE" | "FEMALE" | null | undefined;
1403
- addresses?: {
1404
- name: string;
1405
- address: string;
1406
- coordinates: number[];
1407
- }[] | null | undefined;
1408
- photoURL?: string | null | undefined;
1409
- displayName?: string | null | undefined;
1410
- imported?: {
1411
- raw: Record<string, any>;
1412
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1413
- } | null | undefined;
1414
- _id: string;
1415
- } | null | undefined;
1416
- role: "ADMIN";
1417
- userId: string;
1418
- }[] | null | undefined;
1419
- code: string;
1420
- name: string;
1421
- _id: string;
1422
- isReseller: boolean;
1423
- } | null | undefined;
1424
- thumbnail?: string | null | undefined;
1425
- billingInfos?: {
1426
- _id?: string | null | undefined;
1427
- name: string;
1428
- address: {
1429
- coordinates?: number[] | null | undefined;
1430
- line2?: string | null | undefined;
1431
- state: string;
1432
- country: string;
1433
- line1: string;
1434
- city: string;
1435
- postcode: string;
1436
- };
1437
- email: string;
1438
- companyName: string;
1439
- contact: string;
1440
- }[] | null | undefined;
1441
- customerDisplayImages?: {
1442
- url: string;
1443
- restaurantIds: string[];
1444
- }[] | null | undefined;
1445
- name: string;
1446
- _id: string;
1447
- ownerId: string;
1448
- restaurantQuota: number;
1449
- warehouseQuota: number;
1450
- menuVersion: string;
1451
- } | null | undefined;
1452
1303
  _id: string;
1453
1304
  businessId: string;
1454
1305
  profile: {
1455
- email?: string | null | undefined;
1456
- phoneNo?: string | null | undefined;
1457
- name: string;
1458
- address: {
1306
+ code?: string | null | undefined;
1307
+ _id?: string | null | undefined;
1308
+ name?: string | undefined;
1309
+ address?: {
1459
1310
  coordinates?: number[] | null | undefined;
1460
1311
  line2?: string | null | undefined;
1461
1312
  state: string;
@@ -1463,11 +1314,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1463
1314
  line1: string;
1464
1315
  city: string;
1465
1316
  postcode: string;
1466
- };
1467
- 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;
1468
1381
  };
1469
1382
  };
1470
- })[] | null | undefined;
1383
+ }[] | null | undefined;
1471
1384
  updatedBy?: {
1472
1385
  email?: string | null | undefined;
1473
1386
  phoneNumber?: string | null | undefined;
@@ -1503,7 +1416,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1503
1416
  precision: number;
1504
1417
  };
1505
1418
  } | null | undefined;
1506
- type: "RECIPE" | "SKU";
1419
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1507
1420
  amount: {
1508
1421
  amount: number;
1509
1422
  precision: number;
@@ -1563,92 +1476,19 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1563
1476
  ref?: string | null | undefined;
1564
1477
  _rev?: string | null | undefined;
1565
1478
  updatedAt?: Date | null | undefined;
1566
- locations?: ({
1567
- doc?: any;
1568
- type: "restaurant";
1569
- name: string;
1570
- acceptRequest: boolean;
1571
- dbName: string;
1572
- } | {
1573
- type: "warehouse";
1479
+ locations?: {
1480
+ type: "restaurant" | "warehouse";
1574
1481
  name: string;
1575
1482
  acceptRequest: boolean;
1576
1483
  dbName: string;
1577
1484
  doc: {
1578
- pf_business?: {
1579
- internal?: boolean | null | undefined;
1580
- url?: string | null | undefined;
1581
- expiredAt?: string | null | undefined;
1582
- agentId?: string | null | undefined;
1583
- attributeSettings?: {
1584
- type: "string" | "number" | "boolean" | "date";
1585
- key: string;
1586
- entity: "restaurant" | "item";
1587
- }[] | null | undefined;
1588
- pf_agent?: {
1589
- clickupId?: string | null | undefined;
1590
- members?: {
1591
- pf_user?: {
1592
- email?: string | null | undefined;
1593
- phoneNumber?: string | null | undefined;
1594
- birthday?: string | null | undefined;
1595
- gender?: "MALE" | "FEMALE" | null | undefined;
1596
- addresses?: {
1597
- name: string;
1598
- address: string;
1599
- coordinates: number[];
1600
- }[] | null | undefined;
1601
- photoURL?: string | null | undefined;
1602
- displayName?: string | null | undefined;
1603
- imported?: {
1604
- raw: Record<string, any>;
1605
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1606
- } | null | undefined;
1607
- _id: string;
1608
- } | null | undefined;
1609
- role: "ADMIN";
1610
- userId: string;
1611
- }[] | null | undefined;
1612
- code: string;
1613
- name: string;
1614
- _id: string;
1615
- isReseller: boolean;
1616
- } | null | undefined;
1617
- thumbnail?: string | null | undefined;
1618
- billingInfos?: {
1619
- _id?: string | null | undefined;
1620
- name: string;
1621
- address: {
1622
- coordinates?: number[] | null | undefined;
1623
- line2?: string | null | undefined;
1624
- state: string;
1625
- country: string;
1626
- line1: string;
1627
- city: string;
1628
- postcode: string;
1629
- };
1630
- email: string;
1631
- companyName: string;
1632
- contact: string;
1633
- }[] | null | undefined;
1634
- customerDisplayImages?: {
1635
- url: string;
1636
- restaurantIds: string[];
1637
- }[] | null | undefined;
1638
- name: string;
1639
- _id: string;
1640
- ownerId: string;
1641
- restaurantQuota: number;
1642
- warehouseQuota: number;
1643
- menuVersion: string;
1644
- } | null | undefined;
1645
1485
  _id: string;
1646
1486
  businessId: string;
1647
1487
  profile: {
1648
- email?: string | null | undefined;
1649
- phoneNo?: string | null | undefined;
1650
- name: string;
1651
- address: {
1488
+ code?: string | null | undefined;
1489
+ _id?: string | null | undefined;
1490
+ name?: string | undefined;
1491
+ address?: {
1652
1492
  coordinates?: number[] | null | undefined;
1653
1493
  line2?: string | null | undefined;
1654
1494
  state: string;
@@ -1656,11 +1496,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1656
1496
  line1: string;
1657
1497
  city: string;
1658
1498
  postcode: string;
1659
- };
1660
- 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;
1661
1563
  };
1662
1564
  };
1663
- })[] | null | undefined;
1565
+ }[] | null | undefined;
1664
1566
  updatedBy?: {
1665
1567
  email?: string | null | undefined;
1666
1568
  phoneNumber?: string | null | undefined;
@@ -1696,7 +1598,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1696
1598
  precision: number;
1697
1599
  };
1698
1600
  } | null | undefined;
1699
- type: "RECIPE" | "SKU";
1601
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1700
1602
  amount: {
1701
1603
  amount: number;
1702
1604
  precision: number;
@@ -1747,7 +1649,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1747
1649
  };
1748
1650
  }[];
1749
1651
  name: string;
1750
- }>[];
1652
+ } & RevisionIdMeta>[];
1751
1653
  recentPublish: import("vue").Ref<{
1752
1654
  recentJob?: {
1753
1655
  id: string;
@@ -1771,94 +1673,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1771
1673
  }>;
1772
1674
  templates: import("vue").Ref<{
1773
1675
  ref?: string | null | undefined;
1774
- _rev?: string | null | undefined;
1676
+ _rev: string;
1775
1677
  updatedAt?: Date | null | undefined;
1776
- locations?: ({
1777
- doc?: any;
1778
- type: "restaurant";
1779
- name: string;
1780
- acceptRequest: boolean;
1781
- dbName: string;
1782
- } | {
1783
- type: "warehouse";
1678
+ locations?: {
1679
+ type: "restaurant" | "warehouse";
1784
1680
  name: string;
1785
1681
  acceptRequest: boolean;
1786
1682
  dbName: string;
1787
1683
  doc: {
1788
- pf_business?: {
1789
- internal?: boolean | null | undefined;
1790
- url?: string | null | undefined;
1791
- expiredAt?: string | null | undefined;
1792
- agentId?: string | null | undefined;
1793
- attributeSettings?: {
1794
- type: "string" | "number" | "boolean" | "date";
1795
- key: string;
1796
- entity: "restaurant" | "item";
1797
- }[] | null | undefined;
1798
- pf_agent?: {
1799
- clickupId?: string | null | undefined;
1800
- members?: {
1801
- pf_user?: {
1802
- email?: string | null | undefined;
1803
- phoneNumber?: string | null | undefined;
1804
- birthday?: string | null | undefined;
1805
- gender?: "MALE" | "FEMALE" | null | undefined;
1806
- addresses?: {
1807
- name: string;
1808
- address: string;
1809
- coordinates: number[];
1810
- }[] | null | undefined;
1811
- photoURL?: string | null | undefined;
1812
- displayName?: string | null | undefined;
1813
- imported?: {
1814
- raw: Record<string, any>;
1815
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1816
- } | null | undefined;
1817
- _id: string;
1818
- } | null | undefined;
1819
- role: "ADMIN";
1820
- userId: string;
1821
- }[] | null | undefined;
1822
- code: string;
1823
- name: string;
1824
- _id: string;
1825
- isReseller: boolean;
1826
- } | null | undefined;
1827
- thumbnail?: string | null | undefined;
1828
- billingInfos?: {
1829
- _id?: string | null | undefined;
1830
- name: string;
1831
- address: {
1832
- coordinates?: number[] | null | undefined;
1833
- line2?: string | null | undefined;
1834
- state: string;
1835
- country: string;
1836
- line1: string;
1837
- city: string;
1838
- postcode: string;
1839
- };
1840
- email: string;
1841
- companyName: string;
1842
- contact: string;
1843
- }[] | null | undefined;
1844
- customerDisplayImages?: {
1845
- url: string;
1846
- restaurantIds: string[];
1847
- }[] | null | undefined;
1848
- name: string;
1849
- _id: string;
1850
- ownerId: string;
1851
- restaurantQuota: number;
1852
- warehouseQuota: number;
1853
- menuVersion: string;
1854
- } | null | undefined;
1855
1684
  _id: string;
1856
1685
  businessId: string;
1857
1686
  profile: {
1858
- email?: string | null | undefined;
1859
- phoneNo?: string | null | undefined;
1860
- name: string;
1861
- address: {
1687
+ code?: string | null | undefined;
1688
+ _id?: string | null | undefined;
1689
+ name?: string | undefined;
1690
+ address?: {
1862
1691
  coordinates?: number[] | null | undefined;
1863
1692
  line2?: string | null | undefined;
1864
1693
  state: string;
@@ -1866,11 +1695,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1866
1695
  line1: string;
1867
1696
  city: string;
1868
1697
  postcode: string;
1869
- };
1870
- 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;
1871
1762
  };
1872
1763
  };
1873
- })[] | null | undefined;
1764
+ }[] | null | undefined;
1874
1765
  updatedBy?: {
1875
1766
  email?: string | null | undefined;
1876
1767
  phoneNumber?: string | null | undefined;
@@ -1906,7 +1797,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1906
1797
  precision: number;
1907
1798
  };
1908
1799
  } | null | undefined;
1909
- type: "RECIPE" | "SKU";
1800
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1910
1801
  amount: {
1911
1802
  amount: number;
1912
1803
  precision: number;
@@ -1957,96 +1848,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1957
1848
  };
1958
1849
  }[];
1959
1850
  name: string;
1960
- }[], {
1851
+ }[], ({
1961
1852
  ref?: string | null | undefined;
1962
1853
  _rev?: string | null | undefined;
1963
1854
  updatedAt?: Date | null | undefined;
1964
- locations?: ({
1965
- doc?: any;
1966
- type: "restaurant";
1967
- name: string;
1968
- acceptRequest: boolean;
1969
- dbName: string;
1970
- } | {
1971
- type: "warehouse";
1855
+ locations?: {
1856
+ type: "restaurant" | "warehouse";
1972
1857
  name: string;
1973
1858
  acceptRequest: boolean;
1974
1859
  dbName: string;
1975
1860
  doc: {
1976
- pf_business?: {
1977
- internal?: boolean | null | undefined;
1978
- url?: string | null | undefined;
1979
- expiredAt?: string | null | undefined;
1980
- agentId?: string | null | undefined;
1981
- attributeSettings?: {
1982
- type: "string" | "number" | "boolean" | "date";
1983
- key: string;
1984
- entity: "restaurant" | "item";
1985
- }[] | null | undefined;
1986
- pf_agent?: {
1987
- clickupId?: string | null | undefined;
1988
- members?: {
1989
- pf_user?: {
1990
- email?: string | null | undefined;
1991
- phoneNumber?: string | null | undefined;
1992
- birthday?: string | null | undefined;
1993
- gender?: "MALE" | "FEMALE" | null | undefined;
1994
- addresses?: {
1995
- name: string;
1996
- address: string;
1997
- coordinates: number[];
1998
- }[] | null | undefined;
1999
- photoURL?: string | null | undefined;
2000
- displayName?: string | null | undefined;
2001
- imported?: {
2002
- raw: Record<string, any>;
2003
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2004
- } | null | undefined;
2005
- _id: string;
2006
- } | null | undefined;
2007
- role: "ADMIN";
2008
- userId: string;
2009
- }[] | null | undefined;
2010
- code: string;
2011
- name: string;
2012
- _id: string;
2013
- isReseller: boolean;
2014
- } | null | undefined;
2015
- thumbnail?: string | null | undefined;
2016
- billingInfos?: {
2017
- _id?: string | null | undefined;
2018
- name: string;
2019
- address: {
2020
- coordinates?: number[] | null | undefined;
2021
- line2?: string | null | undefined;
2022
- state: string;
2023
- country: string;
2024
- line1: string;
2025
- city: string;
2026
- postcode: string;
2027
- };
2028
- email: string;
2029
- companyName: string;
2030
- contact: string;
2031
- }[] | null | undefined;
2032
- customerDisplayImages?: {
2033
- url: string;
2034
- restaurantIds: string[];
2035
- }[] | null | undefined;
2036
- name: string;
2037
- _id: string;
2038
- ownerId: string;
2039
- restaurantQuota: number;
2040
- warehouseQuota: number;
2041
- menuVersion: string;
2042
- } | null | undefined;
2043
1861
  _id: string;
2044
1862
  businessId: string;
2045
1863
  profile: {
2046
- email?: string | null | undefined;
2047
- phoneNo?: string | null | undefined;
2048
- name: string;
2049
- address: {
1864
+ code?: string | null | undefined;
1865
+ _id?: string | null | undefined;
1866
+ name?: string | undefined;
1867
+ address?: {
2050
1868
  coordinates?: number[] | null | undefined;
2051
1869
  line2?: string | null | undefined;
2052
1870
  state: string;
@@ -2054,11 +1872,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2054
1872
  line1: string;
2055
1873
  city: string;
2056
1874
  postcode: string;
2057
- };
2058
- 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;
2059
1939
  };
2060
1940
  };
2061
- })[] | null | undefined;
1941
+ }[] | null | undefined;
2062
1942
  updatedBy?: {
2063
1943
  email?: string | null | undefined;
2064
1944
  phoneNumber?: string | null | undefined;
@@ -2094,7 +1974,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2094
1974
  precision: number;
2095
1975
  };
2096
1976
  } | null | undefined;
2097
- type: "RECIPE" | "SKU";
1977
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2098
1978
  amount: {
2099
1979
  amount: number;
2100
1980
  precision: number;
@@ -2145,96 +2025,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2145
2025
  };
2146
2026
  }[];
2147
2027
  name: string;
2148
- }[] | {
2028
+ } & RevisionIdMeta)[] | {
2149
2029
  ref?: string | null | undefined;
2150
- _rev?: string | null | undefined;
2030
+ _rev: string;
2151
2031
  updatedAt?: Date | null | undefined;
2152
- locations?: ({
2153
- doc?: any;
2154
- type: "restaurant";
2155
- name: string;
2156
- acceptRequest: boolean;
2157
- dbName: string;
2158
- } | {
2159
- type: "warehouse";
2032
+ locations?: {
2033
+ type: "restaurant" | "warehouse";
2160
2034
  name: string;
2161
2035
  acceptRequest: boolean;
2162
2036
  dbName: string;
2163
2037
  doc: {
2164
- pf_business?: {
2165
- internal?: boolean | null | undefined;
2166
- url?: string | null | undefined;
2167
- expiredAt?: string | null | undefined;
2168
- agentId?: string | null | undefined;
2169
- attributeSettings?: {
2170
- type: "string" | "number" | "boolean" | "date";
2171
- key: string;
2172
- entity: "restaurant" | "item";
2173
- }[] | null | undefined;
2174
- pf_agent?: {
2175
- clickupId?: string | null | undefined;
2176
- members?: {
2177
- pf_user?: {
2178
- email?: string | null | undefined;
2179
- phoneNumber?: string | null | undefined;
2180
- birthday?: string | null | undefined;
2181
- gender?: "MALE" | "FEMALE" | null | undefined;
2182
- addresses?: {
2183
- name: string;
2184
- address: string;
2185
- coordinates: number[];
2186
- }[] | null | undefined;
2187
- photoURL?: string | null | undefined;
2188
- displayName?: string | null | undefined;
2189
- imported?: {
2190
- raw: Record<string, any>;
2191
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2192
- } | null | undefined;
2193
- _id: string;
2194
- } | null | undefined;
2195
- role: "ADMIN";
2196
- userId: string;
2197
- }[] | null | undefined;
2198
- code: string;
2199
- name: string;
2200
- _id: string;
2201
- isReseller: boolean;
2202
- } | null | undefined;
2203
- thumbnail?: string | null | undefined;
2204
- billingInfos?: {
2205
- _id?: string | null | undefined;
2206
- name: string;
2207
- address: {
2208
- coordinates?: number[] | null | undefined;
2209
- line2?: string | null | undefined;
2210
- state: string;
2211
- country: string;
2212
- line1: string;
2213
- city: string;
2214
- postcode: string;
2215
- };
2216
- email: string;
2217
- companyName: string;
2218
- contact: string;
2219
- }[] | null | undefined;
2220
- customerDisplayImages?: {
2221
- url: string;
2222
- restaurantIds: string[];
2223
- }[] | null | undefined;
2224
- name: string;
2225
- _id: string;
2226
- ownerId: string;
2227
- restaurantQuota: number;
2228
- warehouseQuota: number;
2229
- menuVersion: string;
2230
- } | null | undefined;
2231
2038
  _id: string;
2232
2039
  businessId: string;
2233
2040
  profile: {
2234
- email?: string | null | undefined;
2235
- phoneNo?: string | null | undefined;
2236
- name: string;
2237
- address: {
2041
+ code?: string | null | undefined;
2042
+ _id?: string | null | undefined;
2043
+ name?: string | undefined;
2044
+ address?: {
2238
2045
  coordinates?: number[] | null | undefined;
2239
2046
  line2?: string | null | undefined;
2240
2047
  state: string;
@@ -2242,11 +2049,73 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2242
2049
  line1: string;
2243
2050
  city: string;
2244
2051
  postcode: string;
2245
- };
2246
- 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;
2247
2116
  };
2248
2117
  };
2249
- })[] | null | undefined;
2118
+ }[] | null | undefined;
2250
2119
  updatedBy?: {
2251
2120
  email?: string | null | undefined;
2252
2121
  phoneNumber?: string | null | undefined;
@@ -2282,7 +2151,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2282
2151
  precision: number;
2283
2152
  };
2284
2153
  } | null | undefined;
2285
- type: "RECIPE" | "SKU";
2154
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
2286
2155
  amount: {
2287
2156
  amount: number;
2288
2157
  precision: number;