@feedmepos/mf-inventory-portal 0.0.22-dev.4 → 0.0.22-dev.40

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 (106) hide show
  1. package/dist/{ApprovalView-xF73Z1jN.js → ApprovalView-JOsQBu1z.js} +25 -26
  2. package/dist/{BindingsDialog-CCSAxGT4.js → BindingsDialog-DG2ZolH1.js} +9 -9
  3. package/dist/{BindingsPicker-ErFH0uEQ.js → BindingsPicker-B7h_iST8.js} +22 -22
  4. package/dist/{BindingsTable-D8ffJgIJ.js → BindingsTable-BToh6gcG.js} +1 -1
  5. package/dist/ClosingTemplateView-BwMJAxuz.js +1688 -0
  6. package/dist/FmDroppableField-CJNAT3h2.js +152 -0
  7. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-4NHQdjz7.js +266 -0
  8. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Cc_P0kss.js +364 -0
  9. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-DMOalXUS.js +51 -0
  10. package/dist/IngredientsView-ChnCqdWi.js +1611 -0
  11. package/dist/{IntegrationView-54yz2EqS.js → IntegrationView-NWkc9PLW.js} +71 -71
  12. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKvKlCk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQW6HYyD.js} +1 -1
  13. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BQqcpZIJ.js +116 -0
  14. package/dist/{PurchaseOrderPrintPreview-pcpWSfl4.js → PurchaseOrderPrintPreview-BvED8ZbQ.js} +7 -7
  15. package/dist/ReceiveRequestView-DdxBaqmU.js +4069 -0
  16. package/dist/RecipeView-YdSRy_yP.js +591 -0
  17. package/dist/Standalone.vue.d.ts +2 -0
  18. package/dist/StockView-WF5z4dTF.js +7762 -0
  19. package/dist/{SupplierView-TYCkPXan.js → SupplierView-H2Vi5lSs.js} +111 -111
  20. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D48gSqHW.js +1137 -0
  21. package/dist/TransferTemplateView-DeT32cat.js +2054 -0
  22. package/dist/{UnitView-B9yE4-rc.js → UnitView-qD9JSdHT.js} +18 -18
  23. package/dist/{WarehouseView-DUtVLTjb.js → WarehouseView-C19Dd53y.js} +176 -177
  24. package/dist/api/bill.d.ts +84 -238
  25. package/dist/api/closing-template.d.ts +6 -4
  26. package/dist/api/inventory.d.ts +72 -85
  27. package/dist/api/netsuite.d.ts +47 -0
  28. package/dist/api/purchase-order-template.d.ts +4 -6
  29. package/dist/{app-w8TOQVZc.js → app-DKE_n9Mo.js} +24520 -23671
  30. package/dist/app.d.ts +7 -0
  31. package/dist/app.js +3 -3
  32. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  33. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  34. package/dist/components/FmUnitInputRules.d.ts +2 -0
  35. package/dist/components/map/GoogleMap.vue.d.ts +4 -4
  36. package/dist/{decimal-C4q7UMfr.js → decimal-veoPLYim.js} +1 -1
  37. package/dist/defineDeepModel-u6t3hXU9.js +13 -0
  38. package/dist/format-time-from-id-8gjg5B98.js +15 -0
  39. package/dist/helper/rules.d.ts +7 -0
  40. package/dist/helper/rules.spec.d.ts +1 -0
  41. package/dist/helper/xlsx.util.d.ts +7 -0
  42. package/dist/purchase-order-transaction-type-CIDEpjJB.js +348 -0
  43. package/dist/stores/api.d.ts +1 -0
  44. package/dist/stores/feature.d.ts +0 -1
  45. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  46. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  47. package/dist/stores/inventory.d.ts +85 -0
  48. package/dist/stores/location.d.ts +508 -503
  49. package/dist/stores/netsuite.d.ts +69 -0
  50. package/dist/stores/route.d.ts +0 -5
  51. package/dist/stores/supplier.d.ts +120 -3
  52. package/dist/style.css +1 -1
  53. package/dist/supplier-DLcmVScz.js +70 -0
  54. package/dist/tsconfig.app.tsbuildinfo +1 -1
  55. package/dist/use-template-enabled-locations-2-CdJVJikY.js +85 -0
  56. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
  57. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
  58. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1093 -1026
  59. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1098 -1037
  60. package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
  61. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
  62. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  63. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +45 -0
  64. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1944 -82
  65. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  66. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2351 -284
  67. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2300 -233
  68. package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
  69. package/dist/views/stock/components/StockRecordCard.vue.d.ts +42 -119
  70. package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
  71. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
  72. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
  73. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  74. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -85
  75. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +39 -2
  76. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
  77. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
  78. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
  79. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1263 -1466
  80. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +1688 -897
  81. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
  82. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -0
  83. package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
  84. package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
  85. package/dist/{xlsx-BggStaH1.js → xlsx-CrKrCGZz.js} +1525 -1525
  86. package/dist/xlsx.util-Bcpkvw1Z.js +78 -0
  87. package/package.json +5 -5
  88. package/dist/ClosingTemplateView-DdZlX1ug.js +0 -1030
  89. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ZYtBNoaE.js +0 -372
  90. package/dist/IngredientsView-DnwwQJTN.js +0 -1758
  91. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-Bom_KvXW.js +0 -88
  92. package/dist/ReceiveRequestView-D5HXMY4Z.js +0 -215
  93. package/dist/RecipeView-BHkTgm5H.js +0 -581
  94. package/dist/StockView-iczCFYxn.js +0 -1892
  95. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-EN3JgHKF.js +0 -740
  96. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DC0Ss5hi.js +0 -1409
  97. package/dist/TransferTemplateView-Bbvpuys7.js +0 -1230
  98. package/dist/defineDeepModel-BOApqV24.js +0 -13
  99. package/dist/format-time-from-id-Cafjo8fn.js +0 -15
  100. package/dist/id-to-date-CtSHSVJF.js +0 -30
  101. package/dist/layout/layout-routes.d.ts +0 -6
  102. package/dist/purchase-order-transaction-type-CIC5h-6x.js +0 -712
  103. package/dist/supplier-CM-vZ4bQ.js +0 -69
  104. package/dist/use-template-enabled-locations-Bm00vEzC.js +0 -57
  105. package/dist/xlsx.util-CqlYZLKW.js +0 -109
  106. /package/dist/{layout/InventoryLayout.vue.d.ts → views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts} +0 -0
@@ -1,98 +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
- locations?: ({
8
- doc?: any;
9
- type: "restaurant";
10
- name: string;
11
- acceptRequest: boolean;
12
- dbName: string;
13
- } | {
14
- type: "warehouse";
8
+ updatedAt?: Date | null | undefined;
9
+ locations?: {
10
+ type: "restaurant" | "warehouse";
15
11
  name: string;
16
12
  acceptRequest: boolean;
17
13
  dbName: string;
18
14
  doc: {
19
- pf_business?: {
20
- internal?: boolean | null | undefined;
21
- url?: string | null | undefined;
22
- expiredAt?: string | null | undefined;
23
- agentId?: string | null | undefined;
24
- restaurantTagGroups?: {
25
- name: string;
26
- id: string;
27
- tags: {
28
- name: string;
29
- id: string;
30
- }[];
31
- }[] | null | undefined;
32
- pf_agent?: {
33
- clickupId?: string | null | undefined;
34
- members?: {
35
- pf_user?: {
36
- email?: string | null | undefined;
37
- phoneNumber?: string | null | undefined;
38
- birthday?: string | null | undefined;
39
- gender?: "MALE" | "FEMALE" | null | undefined;
40
- addresses?: {
41
- name: string;
42
- address: string;
43
- coordinates: number[];
44
- }[] | null | undefined;
45
- photoURL?: string | null | undefined;
46
- displayName?: string | null | undefined;
47
- imported?: {
48
- raw: Record<string, any>;
49
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
50
- } | null | undefined;
51
- _id: string;
52
- } | null | undefined;
53
- role: "ADMIN";
54
- userId: string;
55
- }[] | null | undefined;
56
- code: string;
57
- name: string;
58
- _id: string;
59
- isReseller: boolean;
60
- } | null | undefined;
61
- thumbnail?: string | null | undefined;
62
- billingInfos?: {
63
- _id?: string | null | undefined;
64
- name: string;
65
- address: {
66
- coordinates?: number[] | null | undefined;
67
- line2?: string | null | undefined;
68
- state: string;
69
- country: string;
70
- line1: string;
71
- city: string;
72
- postcode: string;
73
- };
74
- email: string;
75
- companyName: string;
76
- contact: string;
77
- }[] | null | undefined;
78
- customerDisplayImages?: {
79
- url: string;
80
- restaurantIds: string[];
81
- }[] | null | undefined;
82
- name: string;
83
- _id: string;
84
- ownerId: string;
85
- restaurantQuota: number;
86
- warehouseQuota: number;
87
- menuVersion: string;
88
- } | null | undefined;
89
15
  _id: string;
90
16
  businessId: string;
91
17
  profile: {
92
- email?: string | null | undefined;
93
- phoneNo?: string | null | undefined;
94
- name: string;
95
- address: {
18
+ code?: string | null | undefined;
19
+ _id?: string | null | undefined;
20
+ name?: string | undefined;
21
+ address?: {
96
22
  coordinates?: number[] | null | undefined;
97
23
  line2?: string | null | undefined;
98
24
  state: string;
@@ -100,11 +26,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
100
26
  line1: string;
101
27
  city: string;
102
28
  postcode: string;
103
- };
104
- 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;
105
93
  };
106
94
  };
107
- })[] | null | undefined;
95
+ }[] | null | undefined;
96
+ updatedBy?: {
97
+ email?: string | null | undefined;
98
+ phoneNumber?: string | null | undefined;
99
+ birthday?: string | null | undefined;
100
+ gender?: "MALE" | "FEMALE" | null | undefined;
101
+ addresses?: {
102
+ name: string;
103
+ address: string;
104
+ coordinates: number[];
105
+ }[] | null | undefined;
106
+ photoURL?: string | null | undefined;
107
+ displayName?: string | null | undefined;
108
+ imported?: {
109
+ raw: Record<string, any>;
110
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
111
+ } | null | undefined;
112
+ _id: string;
113
+ } | null | undefined;
108
114
  _id: string;
109
115
  items: {
110
116
  disabledMeasurements?: string[] | null | undefined;
@@ -173,7 +179,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
173
179
  };
174
180
  }[];
175
181
  name: string;
176
- }>[];
182
+ } & RevisionIdMeta>[];
177
183
  recentPublish: import("vue").Ref<{
178
184
  recentJob?: {
179
185
  id: string;
@@ -197,96 +203,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
197
203
  }>;
198
204
  templates: import("vue").Ref<{
199
205
  ref?: string | null | undefined;
200
- _rev?: string | null | undefined;
201
- locations?: ({
202
- doc?: any;
203
- type: "restaurant";
204
- name: string;
205
- acceptRequest: boolean;
206
- dbName: string;
207
- } | {
208
- type: "warehouse";
206
+ _rev: string;
207
+ updatedAt?: Date | null | undefined;
208
+ locations?: {
209
+ type: "restaurant" | "warehouse";
209
210
  name: string;
210
211
  acceptRequest: boolean;
211
212
  dbName: string;
212
213
  doc: {
213
- pf_business?: {
214
- internal?: boolean | null | undefined;
215
- url?: string | null | undefined;
216
- expiredAt?: string | null | undefined;
217
- agentId?: string | null | undefined;
218
- restaurantTagGroups?: {
219
- name: string;
220
- id: string;
221
- tags: {
222
- name: string;
223
- id: string;
224
- }[];
225
- }[] | null | undefined;
226
- pf_agent?: {
227
- clickupId?: string | null | undefined;
228
- members?: {
229
- pf_user?: {
230
- email?: string | null | undefined;
231
- phoneNumber?: string | null | undefined;
232
- birthday?: string | null | undefined;
233
- gender?: "MALE" | "FEMALE" | null | undefined;
234
- addresses?: {
235
- name: string;
236
- address: string;
237
- coordinates: number[];
238
- }[] | null | undefined;
239
- photoURL?: string | null | undefined;
240
- displayName?: string | null | undefined;
241
- imported?: {
242
- raw: Record<string, any>;
243
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
244
- } | null | undefined;
245
- _id: string;
246
- } | null | undefined;
247
- role: "ADMIN";
248
- userId: string;
249
- }[] | null | undefined;
250
- code: string;
251
- name: string;
252
- _id: string;
253
- isReseller: boolean;
254
- } | null | undefined;
255
- thumbnail?: string | null | undefined;
256
- billingInfos?: {
257
- _id?: string | null | undefined;
258
- name: string;
259
- address: {
260
- coordinates?: number[] | null | undefined;
261
- line2?: string | null | undefined;
262
- state: string;
263
- country: string;
264
- line1: string;
265
- city: string;
266
- postcode: string;
267
- };
268
- email: string;
269
- companyName: string;
270
- contact: string;
271
- }[] | null | undefined;
272
- customerDisplayImages?: {
273
- url: string;
274
- restaurantIds: string[];
275
- }[] | null | undefined;
276
- name: string;
277
- _id: string;
278
- ownerId: string;
279
- restaurantQuota: number;
280
- warehouseQuota: number;
281
- menuVersion: string;
282
- } | null | undefined;
283
214
  _id: string;
284
215
  businessId: string;
285
216
  profile: {
286
- email?: string | null | undefined;
287
- phoneNo?: string | null | undefined;
288
- name: string;
289
- address: {
217
+ code?: string | null | undefined;
218
+ _id?: string | null | undefined;
219
+ name?: string | undefined;
220
+ address?: {
290
221
  coordinates?: number[] | null | undefined;
291
222
  line2?: string | null | undefined;
292
223
  state: string;
@@ -294,11 +225,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
294
225
  line1: string;
295
226
  city: string;
296
227
  postcode: string;
297
- };
298
- 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;
299
292
  };
300
293
  };
301
- })[] | null | undefined;
294
+ }[] | null | undefined;
295
+ updatedBy?: {
296
+ email?: string | null | undefined;
297
+ phoneNumber?: string | null | undefined;
298
+ birthday?: string | null | undefined;
299
+ gender?: "MALE" | "FEMALE" | null | undefined;
300
+ addresses?: {
301
+ name: string;
302
+ address: string;
303
+ coordinates: number[];
304
+ }[] | null | undefined;
305
+ photoURL?: string | null | undefined;
306
+ displayName?: string | null | undefined;
307
+ imported?: {
308
+ raw: Record<string, any>;
309
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
310
+ } | null | undefined;
311
+ _id: string;
312
+ } | null | undefined;
302
313
  _id: string;
303
314
  items: {
304
315
  disabledMeasurements?: string[] | null | undefined;
@@ -367,98 +378,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
367
378
  };
368
379
  }[];
369
380
  name: string;
370
- }[], {
381
+ }[], ({
371
382
  ref?: string | null | undefined;
372
383
  _rev?: string | null | undefined;
373
- locations?: ({
374
- doc?: any;
375
- type: "restaurant";
376
- name: string;
377
- acceptRequest: boolean;
378
- dbName: string;
379
- } | {
380
- type: "warehouse";
384
+ updatedAt?: Date | null | undefined;
385
+ locations?: {
386
+ type: "restaurant" | "warehouse";
381
387
  name: string;
382
388
  acceptRequest: boolean;
383
389
  dbName: string;
384
390
  doc: {
385
- pf_business?: {
386
- internal?: boolean | null | undefined;
387
- url?: string | null | undefined;
388
- expiredAt?: string | null | undefined;
389
- agentId?: string | null | undefined;
390
- restaurantTagGroups?: {
391
- name: string;
392
- id: string;
393
- tags: {
394
- name: string;
395
- id: string;
396
- }[];
397
- }[] | null | undefined;
398
- pf_agent?: {
399
- clickupId?: string | null | undefined;
400
- members?: {
401
- pf_user?: {
402
- email?: string | null | undefined;
403
- phoneNumber?: string | null | undefined;
404
- birthday?: string | null | undefined;
405
- gender?: "MALE" | "FEMALE" | null | undefined;
406
- addresses?: {
407
- name: string;
408
- address: string;
409
- coordinates: number[];
410
- }[] | null | undefined;
411
- photoURL?: string | null | undefined;
412
- displayName?: string | null | undefined;
413
- imported?: {
414
- raw: Record<string, any>;
415
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
416
- } | null | undefined;
417
- _id: string;
418
- } | null | undefined;
419
- role: "ADMIN";
420
- userId: string;
421
- }[] | null | undefined;
422
- code: string;
423
- name: string;
424
- _id: string;
425
- isReseller: boolean;
426
- } | null | undefined;
427
- thumbnail?: string | null | undefined;
428
- billingInfos?: {
429
- _id?: string | null | undefined;
430
- name: string;
431
- address: {
432
- coordinates?: number[] | null | undefined;
433
- line2?: string | null | undefined;
434
- state: string;
435
- country: string;
436
- line1: string;
437
- city: string;
438
- postcode: string;
439
- };
440
- email: string;
441
- companyName: string;
442
- contact: string;
443
- }[] | null | undefined;
444
- customerDisplayImages?: {
445
- url: string;
446
- restaurantIds: string[];
447
- }[] | null | undefined;
448
- name: string;
449
- _id: string;
450
- ownerId: string;
451
- restaurantQuota: number;
452
- warehouseQuota: number;
453
- menuVersion: string;
454
- } | null | undefined;
455
391
  _id: string;
456
392
  businessId: string;
457
393
  profile: {
458
- email?: string | null | undefined;
459
- phoneNo?: string | null | undefined;
460
- name: string;
461
- address: {
394
+ code?: string | null | undefined;
395
+ _id?: string | null | undefined;
396
+ name?: string | undefined;
397
+ address?: {
462
398
  coordinates?: number[] | null | undefined;
463
399
  line2?: string | null | undefined;
464
400
  state: string;
@@ -466,11 +402,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
466
402
  line1: string;
467
403
  city: string;
468
404
  postcode: string;
469
- };
470
- 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;
471
469
  };
472
470
  };
473
- })[] | null | undefined;
471
+ }[] | null | undefined;
472
+ updatedBy?: {
473
+ email?: string | null | undefined;
474
+ phoneNumber?: string | null | undefined;
475
+ birthday?: string | null | undefined;
476
+ gender?: "MALE" | "FEMALE" | null | undefined;
477
+ addresses?: {
478
+ name: string;
479
+ address: string;
480
+ coordinates: number[];
481
+ }[] | null | undefined;
482
+ photoURL?: string | null | undefined;
483
+ displayName?: string | null | undefined;
484
+ imported?: {
485
+ raw: Record<string, any>;
486
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
487
+ } | null | undefined;
488
+ _id: string;
489
+ } | null | undefined;
474
490
  _id: string;
475
491
  items: {
476
492
  disabledMeasurements?: string[] | null | undefined;
@@ -539,98 +555,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
539
555
  };
540
556
  }[];
541
557
  name: string;
542
- }[] | {
558
+ } & RevisionIdMeta)[] | {
543
559
  ref?: string | null | undefined;
544
- _rev?: string | null | undefined;
545
- locations?: ({
546
- doc?: any;
547
- type: "restaurant";
548
- name: string;
549
- acceptRequest: boolean;
550
- dbName: string;
551
- } | {
552
- type: "warehouse";
560
+ _rev: string;
561
+ updatedAt?: Date | null | undefined;
562
+ locations?: {
563
+ type: "restaurant" | "warehouse";
553
564
  name: string;
554
565
  acceptRequest: boolean;
555
566
  dbName: string;
556
567
  doc: {
557
- pf_business?: {
558
- internal?: boolean | null | undefined;
559
- url?: string | null | undefined;
560
- expiredAt?: string | null | undefined;
561
- agentId?: string | null | undefined;
562
- restaurantTagGroups?: {
563
- name: string;
564
- id: string;
565
- tags: {
566
- name: string;
567
- id: string;
568
- }[];
569
- }[] | null | undefined;
570
- pf_agent?: {
571
- clickupId?: string | null | undefined;
572
- members?: {
573
- pf_user?: {
574
- email?: string | null | undefined;
575
- phoneNumber?: string | null | undefined;
576
- birthday?: string | null | undefined;
577
- gender?: "MALE" | "FEMALE" | null | undefined;
578
- addresses?: {
579
- name: string;
580
- address: string;
581
- coordinates: number[];
582
- }[] | null | undefined;
583
- photoURL?: string | null | undefined;
584
- displayName?: string | null | undefined;
585
- imported?: {
586
- raw: Record<string, any>;
587
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
588
- } | null | undefined;
589
- _id: string;
590
- } | null | undefined;
591
- role: "ADMIN";
592
- userId: string;
593
- }[] | null | undefined;
594
- code: string;
595
- name: string;
596
- _id: string;
597
- isReseller: boolean;
598
- } | null | undefined;
599
- thumbnail?: string | null | undefined;
600
- billingInfos?: {
601
- _id?: string | null | undefined;
602
- name: string;
603
- address: {
604
- coordinates?: number[] | null | undefined;
605
- line2?: string | null | undefined;
606
- state: string;
607
- country: string;
608
- line1: string;
609
- city: string;
610
- postcode: string;
611
- };
612
- email: string;
613
- companyName: string;
614
- contact: string;
615
- }[] | null | undefined;
616
- customerDisplayImages?: {
617
- url: string;
618
- restaurantIds: string[];
619
- }[] | null | undefined;
620
- name: string;
621
- _id: string;
622
- ownerId: string;
623
- restaurantQuota: number;
624
- warehouseQuota: number;
625
- menuVersion: string;
626
- } | null | undefined;
627
568
  _id: string;
628
569
  businessId: string;
629
570
  profile: {
630
- email?: string | null | undefined;
631
- phoneNo?: string | null | undefined;
632
- name: string;
633
- address: {
571
+ code?: string | null | undefined;
572
+ _id?: string | null | undefined;
573
+ name?: string | undefined;
574
+ address?: {
634
575
  coordinates?: number[] | null | undefined;
635
576
  line2?: string | null | undefined;
636
577
  state: string;
@@ -638,11 +579,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
638
579
  line1: string;
639
580
  city: string;
640
581
  postcode: string;
641
- };
642
- 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;
643
646
  };
644
647
  };
645
- })[] | null | undefined;
648
+ }[] | null | undefined;
649
+ updatedBy?: {
650
+ email?: string | null | undefined;
651
+ phoneNumber?: string | null | undefined;
652
+ birthday?: string | null | undefined;
653
+ gender?: "MALE" | "FEMALE" | null | undefined;
654
+ addresses?: {
655
+ name: string;
656
+ address: string;
657
+ coordinates: number[];
658
+ }[] | null | undefined;
659
+ photoURL?: string | null | undefined;
660
+ displayName?: string | null | undefined;
661
+ imported?: {
662
+ raw: Record<string, any>;
663
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
664
+ } | null | undefined;
665
+ _id: string;
666
+ } | null | undefined;
646
667
  _id: string;
647
668
  items: {
648
669
  disabledMeasurements?: string[] | null | undefined;
@@ -715,99 +736,24 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
715
736
  loading: import("vue").Ref<boolean, boolean>;
716
737
  fetchTemplates: () => Promise<void>;
717
738
  loadTemplate: (templateId: string) => Promise<void>;
718
- }, "loading" | "columnDefs" | "recentPublish" | "templates">, Pick<{
739
+ }, "loading" | "columnDefs" | "recentPublish" | "templates">>, Pick<{
719
740
  columnDefs: ColumnDef<{
720
741
  ref?: string | null | undefined;
721
742
  _rev?: string | null | undefined;
722
- locations?: ({
723
- doc?: any;
724
- type: "restaurant";
725
- name: string;
726
- acceptRequest: boolean;
727
- dbName: string;
728
- } | {
729
- type: "warehouse";
743
+ updatedAt?: Date | null | undefined;
744
+ locations?: {
745
+ type: "restaurant" | "warehouse";
730
746
  name: string;
731
747
  acceptRequest: boolean;
732
748
  dbName: string;
733
749
  doc: {
734
- pf_business?: {
735
- internal?: boolean | null | undefined;
736
- url?: string | null | undefined;
737
- expiredAt?: string | null | undefined;
738
- agentId?: string | null | undefined;
739
- restaurantTagGroups?: {
740
- name: string;
741
- id: string;
742
- tags: {
743
- name: string;
744
- id: string;
745
- }[];
746
- }[] | null | undefined;
747
- pf_agent?: {
748
- clickupId?: string | null | undefined;
749
- members?: {
750
- pf_user?: {
751
- email?: string | null | undefined;
752
- phoneNumber?: string | null | undefined;
753
- birthday?: string | null | undefined;
754
- gender?: "MALE" | "FEMALE" | null | undefined;
755
- addresses?: {
756
- name: string;
757
- address: string;
758
- coordinates: number[];
759
- }[] | null | undefined;
760
- photoURL?: string | null | undefined;
761
- displayName?: string | null | undefined;
762
- imported?: {
763
- raw: Record<string, any>;
764
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
765
- } | null | undefined;
766
- _id: string;
767
- } | null | undefined;
768
- role: "ADMIN";
769
- userId: string;
770
- }[] | null | undefined;
771
- code: string;
772
- name: string;
773
- _id: string;
774
- isReseller: boolean;
775
- } | null | undefined;
776
- thumbnail?: string | null | undefined;
777
- billingInfos?: {
778
- _id?: string | null | undefined;
779
- name: string;
780
- address: {
781
- coordinates?: number[] | null | undefined;
782
- line2?: string | null | undefined;
783
- state: string;
784
- country: string;
785
- line1: string;
786
- city: string;
787
- postcode: string;
788
- };
789
- email: string;
790
- companyName: string;
791
- contact: string;
792
- }[] | null | undefined;
793
- customerDisplayImages?: {
794
- url: string;
795
- restaurantIds: string[];
796
- }[] | null | undefined;
797
- name: string;
798
- _id: string;
799
- ownerId: string;
800
- restaurantQuota: number;
801
- warehouseQuota: number;
802
- menuVersion: string;
803
- } | null | undefined;
804
750
  _id: string;
805
751
  businessId: string;
806
752
  profile: {
807
- email?: string | null | undefined;
808
- phoneNo?: string | null | undefined;
809
- name: string;
810
- address: {
753
+ code?: string | null | undefined;
754
+ _id?: string | null | undefined;
755
+ name?: string | undefined;
756
+ address?: {
811
757
  coordinates?: number[] | null | undefined;
812
758
  line2?: string | null | undefined;
813
759
  state: string;
@@ -815,11 +761,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
815
761
  line1: string;
816
762
  city: string;
817
763
  postcode: string;
818
- };
819
- 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;
820
828
  };
821
829
  };
822
- })[] | null | undefined;
830
+ }[] | null | undefined;
831
+ updatedBy?: {
832
+ email?: string | null | undefined;
833
+ phoneNumber?: string | null | undefined;
834
+ birthday?: string | null | undefined;
835
+ gender?: "MALE" | "FEMALE" | null | undefined;
836
+ addresses?: {
837
+ name: string;
838
+ address: string;
839
+ coordinates: number[];
840
+ }[] | null | undefined;
841
+ photoURL?: string | null | undefined;
842
+ displayName?: string | null | undefined;
843
+ imported?: {
844
+ raw: Record<string, any>;
845
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
846
+ } | null | undefined;
847
+ _id: string;
848
+ } | null | undefined;
823
849
  _id: string;
824
850
  items: {
825
851
  disabledMeasurements?: string[] | null | undefined;
@@ -888,7 +914,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
888
914
  };
889
915
  }[];
890
916
  name: string;
891
- }>[];
917
+ } & RevisionIdMeta>[];
892
918
  recentPublish: import("vue").Ref<{
893
919
  recentJob?: {
894
920
  id: string;
@@ -912,96 +938,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
912
938
  }>;
913
939
  templates: import("vue").Ref<{
914
940
  ref?: string | null | undefined;
915
- _rev?: string | null | undefined;
916
- locations?: ({
917
- doc?: any;
918
- type: "restaurant";
919
- name: string;
920
- acceptRequest: boolean;
921
- dbName: string;
922
- } | {
923
- type: "warehouse";
941
+ _rev: string;
942
+ updatedAt?: Date | null | undefined;
943
+ locations?: {
944
+ type: "restaurant" | "warehouse";
924
945
  name: string;
925
946
  acceptRequest: boolean;
926
947
  dbName: string;
927
948
  doc: {
928
- pf_business?: {
929
- internal?: boolean | null | undefined;
930
- url?: string | null | undefined;
931
- expiredAt?: string | null | undefined;
932
- agentId?: string | null | undefined;
933
- restaurantTagGroups?: {
934
- name: string;
935
- id: string;
936
- tags: {
937
- name: string;
938
- id: string;
939
- }[];
940
- }[] | null | undefined;
941
- pf_agent?: {
942
- clickupId?: string | null | undefined;
943
- members?: {
944
- pf_user?: {
945
- email?: string | null | undefined;
946
- phoneNumber?: string | null | undefined;
947
- birthday?: string | null | undefined;
948
- gender?: "MALE" | "FEMALE" | null | undefined;
949
- addresses?: {
950
- name: string;
951
- address: string;
952
- coordinates: number[];
953
- }[] | null | undefined;
954
- photoURL?: string | null | undefined;
955
- displayName?: string | null | undefined;
956
- imported?: {
957
- raw: Record<string, any>;
958
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
959
- } | null | undefined;
960
- _id: string;
961
- } | null | undefined;
962
- role: "ADMIN";
963
- userId: string;
964
- }[] | null | undefined;
965
- code: string;
966
- name: string;
967
- _id: string;
968
- isReseller: boolean;
969
- } | null | undefined;
970
- thumbnail?: string | null | undefined;
971
- billingInfos?: {
972
- _id?: string | null | undefined;
973
- name: string;
974
- address: {
975
- coordinates?: number[] | null | undefined;
976
- line2?: string | null | undefined;
977
- state: string;
978
- country: string;
979
- line1: string;
980
- city: string;
981
- postcode: string;
982
- };
983
- email: string;
984
- companyName: string;
985
- contact: string;
986
- }[] | null | undefined;
987
- customerDisplayImages?: {
988
- url: string;
989
- restaurantIds: string[];
990
- }[] | null | undefined;
991
- name: string;
992
- _id: string;
993
- ownerId: string;
994
- restaurantQuota: number;
995
- warehouseQuota: number;
996
- menuVersion: string;
997
- } | null | undefined;
998
949
  _id: string;
999
950
  businessId: string;
1000
951
  profile: {
1001
- email?: string | null | undefined;
1002
- phoneNo?: string | null | undefined;
1003
- name: string;
1004
- address: {
952
+ code?: string | null | undefined;
953
+ _id?: string | null | undefined;
954
+ name?: string | undefined;
955
+ address?: {
1005
956
  coordinates?: number[] | null | undefined;
1006
957
  line2?: string | null | undefined;
1007
958
  state: string;
@@ -1009,11 +960,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1009
960
  line1: string;
1010
961
  city: string;
1011
962
  postcode: string;
1012
- };
1013
- 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;
1014
1027
  };
1015
1028
  };
1016
- })[] | null | undefined;
1029
+ }[] | null | undefined;
1030
+ updatedBy?: {
1031
+ email?: string | null | undefined;
1032
+ phoneNumber?: string | null | undefined;
1033
+ birthday?: string | null | undefined;
1034
+ gender?: "MALE" | "FEMALE" | null | undefined;
1035
+ addresses?: {
1036
+ name: string;
1037
+ address: string;
1038
+ coordinates: number[];
1039
+ }[] | null | undefined;
1040
+ photoURL?: string | null | undefined;
1041
+ displayName?: string | null | undefined;
1042
+ imported?: {
1043
+ raw: Record<string, any>;
1044
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1045
+ } | null | undefined;
1046
+ _id: string;
1047
+ } | null | undefined;
1017
1048
  _id: string;
1018
1049
  items: {
1019
1050
  disabledMeasurements?: string[] | null | undefined;
@@ -1082,98 +1113,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1082
1113
  };
1083
1114
  }[];
1084
1115
  name: string;
1085
- }[], {
1116
+ }[], ({
1086
1117
  ref?: string | null | undefined;
1087
1118
  _rev?: string | null | undefined;
1088
- locations?: ({
1089
- doc?: any;
1090
- type: "restaurant";
1091
- name: string;
1092
- acceptRequest: boolean;
1093
- dbName: string;
1094
- } | {
1095
- type: "warehouse";
1119
+ updatedAt?: Date | null | undefined;
1120
+ locations?: {
1121
+ type: "restaurant" | "warehouse";
1096
1122
  name: string;
1097
1123
  acceptRequest: boolean;
1098
1124
  dbName: string;
1099
1125
  doc: {
1100
- pf_business?: {
1101
- internal?: boolean | null | undefined;
1102
- url?: string | null | undefined;
1103
- expiredAt?: string | null | undefined;
1104
- agentId?: string | null | undefined;
1105
- restaurantTagGroups?: {
1106
- name: string;
1107
- id: string;
1108
- tags: {
1109
- name: string;
1110
- id: string;
1111
- }[];
1112
- }[] | null | undefined;
1113
- pf_agent?: {
1114
- clickupId?: string | null | undefined;
1115
- members?: {
1116
- pf_user?: {
1117
- email?: string | null | undefined;
1118
- phoneNumber?: string | null | undefined;
1119
- birthday?: string | null | undefined;
1120
- gender?: "MALE" | "FEMALE" | null | undefined;
1121
- addresses?: {
1122
- name: string;
1123
- address: string;
1124
- coordinates: number[];
1125
- }[] | null | undefined;
1126
- photoURL?: string | null | undefined;
1127
- displayName?: string | null | undefined;
1128
- imported?: {
1129
- raw: Record<string, any>;
1130
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1131
- } | null | undefined;
1132
- _id: string;
1133
- } | null | undefined;
1134
- role: "ADMIN";
1135
- userId: string;
1136
- }[] | null | undefined;
1137
- code: string;
1138
- name: string;
1139
- _id: string;
1140
- isReseller: boolean;
1141
- } | null | undefined;
1142
- thumbnail?: string | null | undefined;
1143
- billingInfos?: {
1144
- _id?: string | null | undefined;
1145
- name: string;
1146
- address: {
1147
- coordinates?: number[] | null | undefined;
1148
- line2?: string | null | undefined;
1149
- state: string;
1150
- country: string;
1151
- line1: string;
1152
- city: string;
1153
- postcode: string;
1154
- };
1155
- email: string;
1156
- companyName: string;
1157
- contact: string;
1158
- }[] | null | undefined;
1159
- customerDisplayImages?: {
1160
- url: string;
1161
- restaurantIds: string[];
1162
- }[] | null | undefined;
1163
- name: string;
1164
- _id: string;
1165
- ownerId: string;
1166
- restaurantQuota: number;
1167
- warehouseQuota: number;
1168
- menuVersion: string;
1169
- } | null | undefined;
1170
1126
  _id: string;
1171
1127
  businessId: string;
1172
1128
  profile: {
1173
- email?: string | null | undefined;
1174
- phoneNo?: string | null | undefined;
1175
- name: string;
1176
- address: {
1129
+ code?: string | null | undefined;
1130
+ _id?: string | null | undefined;
1131
+ name?: string | undefined;
1132
+ address?: {
1177
1133
  coordinates?: number[] | null | undefined;
1178
1134
  line2?: string | null | undefined;
1179
1135
  state: string;
@@ -1181,11 +1137,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1181
1137
  line1: string;
1182
1138
  city: string;
1183
1139
  postcode: string;
1184
- };
1185
- 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;
1186
1204
  };
1187
1205
  };
1188
- })[] | null | undefined;
1206
+ }[] | null | undefined;
1207
+ updatedBy?: {
1208
+ email?: string | null | undefined;
1209
+ phoneNumber?: string | null | undefined;
1210
+ birthday?: string | null | undefined;
1211
+ gender?: "MALE" | "FEMALE" | null | undefined;
1212
+ addresses?: {
1213
+ name: string;
1214
+ address: string;
1215
+ coordinates: number[];
1216
+ }[] | null | undefined;
1217
+ photoURL?: string | null | undefined;
1218
+ displayName?: string | null | undefined;
1219
+ imported?: {
1220
+ raw: Record<string, any>;
1221
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1222
+ } | null | undefined;
1223
+ _id: string;
1224
+ } | null | undefined;
1189
1225
  _id: string;
1190
1226
  items: {
1191
1227
  disabledMeasurements?: string[] | null | undefined;
@@ -1254,98 +1290,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1254
1290
  };
1255
1291
  }[];
1256
1292
  name: string;
1257
- }[] | {
1293
+ } & RevisionIdMeta)[] | {
1258
1294
  ref?: string | null | undefined;
1259
- _rev?: string | null | undefined;
1260
- locations?: ({
1261
- doc?: any;
1262
- type: "restaurant";
1263
- name: string;
1264
- acceptRequest: boolean;
1265
- dbName: string;
1266
- } | {
1267
- type: "warehouse";
1295
+ _rev: string;
1296
+ updatedAt?: Date | null | undefined;
1297
+ locations?: {
1298
+ type: "restaurant" | "warehouse";
1268
1299
  name: string;
1269
1300
  acceptRequest: boolean;
1270
1301
  dbName: string;
1271
1302
  doc: {
1272
- pf_business?: {
1273
- internal?: boolean | null | undefined;
1274
- url?: string | null | undefined;
1275
- expiredAt?: string | null | undefined;
1276
- agentId?: string | null | undefined;
1277
- restaurantTagGroups?: {
1278
- name: string;
1279
- id: string;
1280
- tags: {
1281
- name: string;
1282
- id: string;
1283
- }[];
1284
- }[] | null | undefined;
1285
- pf_agent?: {
1286
- clickupId?: string | null | undefined;
1287
- members?: {
1288
- pf_user?: {
1289
- email?: string | null | undefined;
1290
- phoneNumber?: string | null | undefined;
1291
- birthday?: string | null | undefined;
1292
- gender?: "MALE" | "FEMALE" | null | undefined;
1293
- addresses?: {
1294
- name: string;
1295
- address: string;
1296
- coordinates: number[];
1297
- }[] | null | undefined;
1298
- photoURL?: string | null | undefined;
1299
- displayName?: string | null | undefined;
1300
- imported?: {
1301
- raw: Record<string, any>;
1302
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1303
- } | null | undefined;
1304
- _id: string;
1305
- } | null | undefined;
1306
- role: "ADMIN";
1307
- userId: string;
1308
- }[] | null | undefined;
1309
- code: string;
1310
- name: string;
1311
- _id: string;
1312
- isReseller: boolean;
1313
- } | null | undefined;
1314
- thumbnail?: string | null | undefined;
1315
- billingInfos?: {
1316
- _id?: string | null | undefined;
1317
- name: string;
1318
- address: {
1319
- coordinates?: number[] | null | undefined;
1320
- line2?: string | null | undefined;
1321
- state: string;
1322
- country: string;
1323
- line1: string;
1324
- city: string;
1325
- postcode: string;
1326
- };
1327
- email: string;
1328
- companyName: string;
1329
- contact: string;
1330
- }[] | null | undefined;
1331
- customerDisplayImages?: {
1332
- url: string;
1333
- restaurantIds: string[];
1334
- }[] | null | undefined;
1335
- name: string;
1336
- _id: string;
1337
- ownerId: string;
1338
- restaurantQuota: number;
1339
- warehouseQuota: number;
1340
- menuVersion: string;
1341
- } | null | undefined;
1342
1303
  _id: string;
1343
1304
  businessId: string;
1344
1305
  profile: {
1345
- email?: string | null | undefined;
1346
- phoneNo?: string | null | undefined;
1347
- name: string;
1348
- address: {
1306
+ code?: string | null | undefined;
1307
+ _id?: string | null | undefined;
1308
+ name?: string | undefined;
1309
+ address?: {
1349
1310
  coordinates?: number[] | null | undefined;
1350
1311
  line2?: string | null | undefined;
1351
1312
  state: string;
@@ -1353,11 +1314,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1353
1314
  line1: string;
1354
1315
  city: string;
1355
1316
  postcode: string;
1356
- };
1357
- 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;
1358
1381
  };
1359
1382
  };
1360
- })[] | null | undefined;
1383
+ }[] | null | undefined;
1384
+ updatedBy?: {
1385
+ email?: string | null | undefined;
1386
+ phoneNumber?: string | null | undefined;
1387
+ birthday?: string | null | undefined;
1388
+ gender?: "MALE" | "FEMALE" | null | undefined;
1389
+ addresses?: {
1390
+ name: string;
1391
+ address: string;
1392
+ coordinates: number[];
1393
+ }[] | null | undefined;
1394
+ photoURL?: string | null | undefined;
1395
+ displayName?: string | null | undefined;
1396
+ imported?: {
1397
+ raw: Record<string, any>;
1398
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1399
+ } | null | undefined;
1400
+ _id: string;
1401
+ } | null | undefined;
1361
1402
  _id: string;
1362
1403
  items: {
1363
1404
  disabledMeasurements?: string[] | null | undefined;
@@ -1434,95 +1475,20 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1434
1475
  columnDefs: ColumnDef<{
1435
1476
  ref?: string | null | undefined;
1436
1477
  _rev?: string | null | undefined;
1437
- locations?: ({
1438
- doc?: any;
1439
- type: "restaurant";
1440
- name: string;
1441
- acceptRequest: boolean;
1442
- dbName: string;
1443
- } | {
1444
- type: "warehouse";
1478
+ updatedAt?: Date | null | undefined;
1479
+ locations?: {
1480
+ type: "restaurant" | "warehouse";
1445
1481
  name: string;
1446
1482
  acceptRequest: boolean;
1447
1483
  dbName: string;
1448
1484
  doc: {
1449
- pf_business?: {
1450
- internal?: boolean | null | undefined;
1451
- url?: string | null | undefined;
1452
- expiredAt?: string | null | undefined;
1453
- agentId?: string | null | undefined;
1454
- restaurantTagGroups?: {
1455
- name: string;
1456
- id: string;
1457
- tags: {
1458
- name: string;
1459
- id: string;
1460
- }[];
1461
- }[] | null | undefined;
1462
- pf_agent?: {
1463
- clickupId?: string | null | undefined;
1464
- members?: {
1465
- pf_user?: {
1466
- email?: string | null | undefined;
1467
- phoneNumber?: string | null | undefined;
1468
- birthday?: string | null | undefined;
1469
- gender?: "MALE" | "FEMALE" | null | undefined;
1470
- addresses?: {
1471
- name: string;
1472
- address: string;
1473
- coordinates: number[];
1474
- }[] | null | undefined;
1475
- photoURL?: string | null | undefined;
1476
- displayName?: string | null | undefined;
1477
- imported?: {
1478
- raw: Record<string, any>;
1479
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1480
- } | null | undefined;
1481
- _id: string;
1482
- } | null | undefined;
1483
- role: "ADMIN";
1484
- userId: string;
1485
- }[] | null | undefined;
1486
- code: string;
1487
- name: string;
1488
- _id: string;
1489
- isReseller: boolean;
1490
- } | null | undefined;
1491
- thumbnail?: string | null | undefined;
1492
- billingInfos?: {
1493
- _id?: string | null | undefined;
1494
- name: string;
1495
- address: {
1496
- coordinates?: number[] | null | undefined;
1497
- line2?: string | null | undefined;
1498
- state: string;
1499
- country: string;
1500
- line1: string;
1501
- city: string;
1502
- postcode: string;
1503
- };
1504
- email: string;
1505
- companyName: string;
1506
- contact: string;
1507
- }[] | null | undefined;
1508
- customerDisplayImages?: {
1509
- url: string;
1510
- restaurantIds: string[];
1511
- }[] | null | undefined;
1512
- name: string;
1513
- _id: string;
1514
- ownerId: string;
1515
- restaurantQuota: number;
1516
- warehouseQuota: number;
1517
- menuVersion: string;
1518
- } | null | undefined;
1519
1485
  _id: string;
1520
1486
  businessId: string;
1521
1487
  profile: {
1522
- email?: string | null | undefined;
1523
- phoneNo?: string | null | undefined;
1524
- name: string;
1525
- address: {
1488
+ code?: string | null | undefined;
1489
+ _id?: string | null | undefined;
1490
+ name?: string | undefined;
1491
+ address?: {
1526
1492
  coordinates?: number[] | null | undefined;
1527
1493
  line2?: string | null | undefined;
1528
1494
  state: string;
@@ -1530,11 +1496,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1530
1496
  line1: string;
1531
1497
  city: string;
1532
1498
  postcode: string;
1533
- };
1534
- 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;
1535
1563
  };
1536
1564
  };
1537
- })[] | null | undefined;
1565
+ }[] | null | undefined;
1566
+ updatedBy?: {
1567
+ email?: string | null | undefined;
1568
+ phoneNumber?: string | null | undefined;
1569
+ birthday?: string | null | undefined;
1570
+ gender?: "MALE" | "FEMALE" | null | undefined;
1571
+ addresses?: {
1572
+ name: string;
1573
+ address: string;
1574
+ coordinates: number[];
1575
+ }[] | null | undefined;
1576
+ photoURL?: string | null | undefined;
1577
+ displayName?: string | null | undefined;
1578
+ imported?: {
1579
+ raw: Record<string, any>;
1580
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1581
+ } | null | undefined;
1582
+ _id: string;
1583
+ } | null | undefined;
1538
1584
  _id: string;
1539
1585
  items: {
1540
1586
  disabledMeasurements?: string[] | null | undefined;
@@ -1603,7 +1649,7 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1603
1649
  };
1604
1650
  }[];
1605
1651
  name: string;
1606
- }>[];
1652
+ } & RevisionIdMeta>[];
1607
1653
  recentPublish: import("vue").Ref<{
1608
1654
  recentJob?: {
1609
1655
  id: string;
@@ -1627,96 +1673,21 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1627
1673
  }>;
1628
1674
  templates: import("vue").Ref<{
1629
1675
  ref?: string | null | undefined;
1630
- _rev?: string | null | undefined;
1631
- locations?: ({
1632
- doc?: any;
1633
- type: "restaurant";
1634
- name: string;
1635
- acceptRequest: boolean;
1636
- dbName: string;
1637
- } | {
1638
- type: "warehouse";
1676
+ _rev: string;
1677
+ updatedAt?: Date | null | undefined;
1678
+ locations?: {
1679
+ type: "restaurant" | "warehouse";
1639
1680
  name: string;
1640
1681
  acceptRequest: boolean;
1641
1682
  dbName: string;
1642
1683
  doc: {
1643
- pf_business?: {
1644
- internal?: boolean | null | undefined;
1645
- url?: string | null | undefined;
1646
- expiredAt?: string | null | undefined;
1647
- agentId?: string | null | undefined;
1648
- restaurantTagGroups?: {
1649
- name: string;
1650
- id: string;
1651
- tags: {
1652
- name: string;
1653
- id: string;
1654
- }[];
1655
- }[] | null | undefined;
1656
- pf_agent?: {
1657
- clickupId?: string | null | undefined;
1658
- members?: {
1659
- pf_user?: {
1660
- email?: string | null | undefined;
1661
- phoneNumber?: string | null | undefined;
1662
- birthday?: string | null | undefined;
1663
- gender?: "MALE" | "FEMALE" | null | undefined;
1664
- addresses?: {
1665
- name: string;
1666
- address: string;
1667
- coordinates: number[];
1668
- }[] | null | undefined;
1669
- photoURL?: string | null | undefined;
1670
- displayName?: string | null | undefined;
1671
- imported?: {
1672
- raw: Record<string, any>;
1673
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1674
- } | null | undefined;
1675
- _id: string;
1676
- } | null | undefined;
1677
- role: "ADMIN";
1678
- userId: string;
1679
- }[] | null | undefined;
1680
- code: string;
1681
- name: string;
1682
- _id: string;
1683
- isReseller: boolean;
1684
- } | null | undefined;
1685
- thumbnail?: string | null | undefined;
1686
- billingInfos?: {
1687
- _id?: string | null | undefined;
1688
- name: string;
1689
- address: {
1690
- coordinates?: number[] | null | undefined;
1691
- line2?: string | null | undefined;
1692
- state: string;
1693
- country: string;
1694
- line1: string;
1695
- city: string;
1696
- postcode: string;
1697
- };
1698
- email: string;
1699
- companyName: string;
1700
- contact: string;
1701
- }[] | null | undefined;
1702
- customerDisplayImages?: {
1703
- url: string;
1704
- restaurantIds: string[];
1705
- }[] | null | undefined;
1706
- name: string;
1707
- _id: string;
1708
- ownerId: string;
1709
- restaurantQuota: number;
1710
- warehouseQuota: number;
1711
- menuVersion: string;
1712
- } | null | undefined;
1713
1684
  _id: string;
1714
1685
  businessId: string;
1715
1686
  profile: {
1716
- email?: string | null | undefined;
1717
- phoneNo?: string | null | undefined;
1718
- name: string;
1719
- address: {
1687
+ code?: string | null | undefined;
1688
+ _id?: string | null | undefined;
1689
+ name?: string | undefined;
1690
+ address?: {
1720
1691
  coordinates?: number[] | null | undefined;
1721
1692
  line2?: string | null | undefined;
1722
1693
  state: string;
@@ -1724,11 +1695,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1724
1695
  line1: string;
1725
1696
  city: string;
1726
1697
  postcode: string;
1727
- };
1728
- 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;
1729
1762
  };
1730
1763
  };
1731
- })[] | null | undefined;
1764
+ }[] | null | undefined;
1765
+ updatedBy?: {
1766
+ email?: string | null | undefined;
1767
+ phoneNumber?: string | null | undefined;
1768
+ birthday?: string | null | undefined;
1769
+ gender?: "MALE" | "FEMALE" | null | undefined;
1770
+ addresses?: {
1771
+ name: string;
1772
+ address: string;
1773
+ coordinates: number[];
1774
+ }[] | null | undefined;
1775
+ photoURL?: string | null | undefined;
1776
+ displayName?: string | null | undefined;
1777
+ imported?: {
1778
+ raw: Record<string, any>;
1779
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1780
+ } | null | undefined;
1781
+ _id: string;
1782
+ } | null | undefined;
1732
1783
  _id: string;
1733
1784
  items: {
1734
1785
  disabledMeasurements?: string[] | null | undefined;
@@ -1797,98 +1848,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1797
1848
  };
1798
1849
  }[];
1799
1850
  name: string;
1800
- }[], {
1851
+ }[], ({
1801
1852
  ref?: string | null | undefined;
1802
1853
  _rev?: string | null | undefined;
1803
- locations?: ({
1804
- doc?: any;
1805
- type: "restaurant";
1806
- name: string;
1807
- acceptRequest: boolean;
1808
- dbName: string;
1809
- } | {
1810
- type: "warehouse";
1854
+ updatedAt?: Date | null | undefined;
1855
+ locations?: {
1856
+ type: "restaurant" | "warehouse";
1811
1857
  name: string;
1812
1858
  acceptRequest: boolean;
1813
1859
  dbName: string;
1814
1860
  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
1861
  _id: string;
1886
1862
  businessId: string;
1887
1863
  profile: {
1888
- email?: string | null | undefined;
1889
- phoneNo?: string | null | undefined;
1890
- name: string;
1891
- address: {
1864
+ code?: string | null | undefined;
1865
+ _id?: string | null | undefined;
1866
+ name?: string | undefined;
1867
+ address?: {
1892
1868
  coordinates?: number[] | null | undefined;
1893
1869
  line2?: string | null | undefined;
1894
1870
  state: string;
@@ -1896,11 +1872,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1896
1872
  line1: string;
1897
1873
  city: string;
1898
1874
  postcode: string;
1899
- };
1900
- 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;
1901
1939
  };
1902
1940
  };
1903
- })[] | null | undefined;
1941
+ }[] | null | undefined;
1942
+ updatedBy?: {
1943
+ email?: string | null | undefined;
1944
+ phoneNumber?: string | null | undefined;
1945
+ birthday?: string | null | undefined;
1946
+ gender?: "MALE" | "FEMALE" | null | undefined;
1947
+ addresses?: {
1948
+ name: string;
1949
+ address: string;
1950
+ coordinates: number[];
1951
+ }[] | null | undefined;
1952
+ photoURL?: string | null | undefined;
1953
+ displayName?: string | null | undefined;
1954
+ imported?: {
1955
+ raw: Record<string, any>;
1956
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1957
+ } | null | undefined;
1958
+ _id: string;
1959
+ } | null | undefined;
1904
1960
  _id: string;
1905
1961
  items: {
1906
1962
  disabledMeasurements?: string[] | null | undefined;
@@ -1969,98 +2025,23 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
1969
2025
  };
1970
2026
  }[];
1971
2027
  name: string;
1972
- }[] | {
2028
+ } & RevisionIdMeta)[] | {
1973
2029
  ref?: string | null | undefined;
1974
- _rev?: string | null | undefined;
1975
- locations?: ({
1976
- doc?: any;
1977
- type: "restaurant";
1978
- name: string;
1979
- acceptRequest: boolean;
1980
- dbName: string;
1981
- } | {
1982
- type: "warehouse";
2030
+ _rev: string;
2031
+ updatedAt?: Date | null | undefined;
2032
+ locations?: {
2033
+ type: "restaurant" | "warehouse";
1983
2034
  name: string;
1984
2035
  acceptRequest: boolean;
1985
2036
  dbName: string;
1986
2037
  doc: {
1987
- pf_business?: {
1988
- internal?: boolean | null | undefined;
1989
- url?: string | null | undefined;
1990
- expiredAt?: string | null | undefined;
1991
- agentId?: string | null | undefined;
1992
- restaurantTagGroups?: {
1993
- name: string;
1994
- id: string;
1995
- tags: {
1996
- name: string;
1997
- id: string;
1998
- }[];
1999
- }[] | null | undefined;
2000
- pf_agent?: {
2001
- clickupId?: string | null | undefined;
2002
- members?: {
2003
- pf_user?: {
2004
- email?: string | null | undefined;
2005
- phoneNumber?: string | null | undefined;
2006
- birthday?: string | null | undefined;
2007
- gender?: "MALE" | "FEMALE" | null | undefined;
2008
- addresses?: {
2009
- name: string;
2010
- address: string;
2011
- coordinates: number[];
2012
- }[] | null | undefined;
2013
- photoURL?: string | null | undefined;
2014
- displayName?: string | null | undefined;
2015
- imported?: {
2016
- raw: Record<string, any>;
2017
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2018
- } | null | undefined;
2019
- _id: string;
2020
- } | null | undefined;
2021
- role: "ADMIN";
2022
- userId: string;
2023
- }[] | null | undefined;
2024
- code: string;
2025
- name: string;
2026
- _id: string;
2027
- isReseller: boolean;
2028
- } | null | undefined;
2029
- thumbnail?: string | null | undefined;
2030
- billingInfos?: {
2031
- _id?: string | null | undefined;
2032
- name: string;
2033
- address: {
2034
- coordinates?: number[] | null | undefined;
2035
- line2?: string | null | undefined;
2036
- state: string;
2037
- country: string;
2038
- line1: string;
2039
- city: string;
2040
- postcode: string;
2041
- };
2042
- email: string;
2043
- companyName: string;
2044
- contact: string;
2045
- }[] | null | undefined;
2046
- customerDisplayImages?: {
2047
- url: string;
2048
- restaurantIds: string[];
2049
- }[] | null | undefined;
2050
- name: string;
2051
- _id: string;
2052
- ownerId: string;
2053
- restaurantQuota: number;
2054
- warehouseQuota: number;
2055
- menuVersion: string;
2056
- } | null | undefined;
2057
2038
  _id: string;
2058
2039
  businessId: string;
2059
2040
  profile: {
2060
- email?: string | null | undefined;
2061
- phoneNo?: string | null | undefined;
2062
- name: string;
2063
- address: {
2041
+ code?: string | null | undefined;
2042
+ _id?: string | null | undefined;
2043
+ name?: string | undefined;
2044
+ address?: {
2064
2045
  coordinates?: number[] | null | undefined;
2065
2046
  line2?: string | null | undefined;
2066
2047
  state: string;
@@ -2068,11 +2049,91 @@ export declare const useClosingTemplateTable: import("pinia").StoreDefinition<"c
2068
2049
  line1: string;
2069
2050
  city: string;
2070
2051
  postcode: string;
2071
- };
2072
- 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;
2073
2116
  };
2074
2117
  };
2075
- })[] | null | undefined;
2118
+ }[] | null | undefined;
2119
+ updatedBy?: {
2120
+ email?: string | null | undefined;
2121
+ phoneNumber?: string | null | undefined;
2122
+ birthday?: string | null | undefined;
2123
+ gender?: "MALE" | "FEMALE" | null | undefined;
2124
+ addresses?: {
2125
+ name: string;
2126
+ address: string;
2127
+ coordinates: number[];
2128
+ }[] | null | undefined;
2129
+ photoURL?: string | null | undefined;
2130
+ displayName?: string | null | undefined;
2131
+ imported?: {
2132
+ raw: Record<string, any>;
2133
+ source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
2134
+ } | null | undefined;
2135
+ _id: string;
2136
+ } | null | undefined;
2076
2137
  _id: string;
2077
2138
  items: {
2078
2139
  disabledMeasurements?: string[] | null | undefined;