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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (106) hide show
  1. package/dist/{ApprovalView-xF73Z1jN.js → ApprovalView-DKqwRFlF.js} +25 -26
  2. package/dist/{BindingsDialog-CCSAxGT4.js → BindingsDialog-CtMSqEuE.js} +9 -9
  3. package/dist/{BindingsPicker-ErFH0uEQ.js → BindingsPicker-DCLNF1PL.js} +22 -22
  4. package/dist/{BindingsTable-D8ffJgIJ.js → BindingsTable-6ndQuHeA.js} +1 -1
  5. package/dist/ClosingTemplateView-BPrDQ_8-.js +1688 -0
  6. package/dist/FmDroppableField-DQFPEiJn.js +152 -0
  7. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BUGB0uk3.js +266 -0
  8. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CM93v-jp.js +359 -0
  9. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-SNp8etCc.js +51 -0
  10. package/dist/IngredientsView-B1jGkWYN.js +1611 -0
  11. package/dist/{IntegrationView-54yz2EqS.js → IntegrationView-Bu0waSjB.js} +71 -71
  12. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CKvKlCk-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-mZQlrYaY.js} +1 -1
  13. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BEFmqnHk.js +116 -0
  14. package/dist/{PurchaseOrderPrintPreview-pcpWSfl4.js → PurchaseOrderPrintPreview-DTQViYuX.js} +7 -7
  15. package/dist/ReceiveRequestView-CNRixgQu.js +4069 -0
  16. package/dist/RecipeView-HStPC5pE.js +591 -0
  17. package/dist/Standalone.vue.d.ts +2 -0
  18. package/dist/StockView-JO3NtkX9.js +7762 -0
  19. package/dist/{SupplierView-TYCkPXan.js → SupplierView-gtaS4K3U.js} +111 -111
  20. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-dPt3qbcX.js +1146 -0
  21. package/dist/TransferTemplateView-C0pjLfbz.js +2054 -0
  22. package/dist/{UnitView-B9yE4-rc.js → UnitView-dbInWUk4.js} +18 -18
  23. package/dist/{WarehouseView-DUtVLTjb.js → WarehouseView-BlTBvLF0.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-TB3IWuaU.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-BRAYgPnN.js} +1 -1
  37. package/dist/defineDeepModel-DrEk5Fhq.js +13 -0
  38. package/dist/format-time-from-id-kpVYfVQb.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-ZMNa__2l.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-CJcqHpaM.js +70 -0
  54. package/dist/tsconfig.app.tsbuildinfo +1 -1
  55. package/dist/use-template-enabled-locations-2-DyD24laW.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-Dd5ckm6-.js} +1525 -1525
  86. package/dist/xlsx.util-qlqvEcJz.js +78 -0
  87. package/package.json +7 -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,96 +1,21 @@
1
1
  import { type ColumnDef } from '@feedmepos/ui-library';
2
- export declare function useTransferTemplateTable(): {
2
+ import type { RevisionIdMeta } from '@feedmepos/inventory-core';
3
+ export declare const useTransferTemplateTable: import("pinia").StoreDefinition<"transferTemplateTable", import("pinia")._UnwrapAll<Pick<{
3
4
  columnDefs: ColumnDef<{
4
5
  _rev?: string | null | undefined;
5
- locations?: ({
6
- doc?: any;
7
- type: "restaurant";
8
- name: string;
9
- acceptRequest: boolean;
10
- dbName: string;
11
- } | {
12
- type: "warehouse";
6
+ locations?: {
7
+ type: "restaurant" | "warehouse";
13
8
  name: string;
14
9
  acceptRequest: boolean;
15
10
  dbName: string;
16
11
  doc: {
17
- pf_business?: {
18
- internal?: boolean | null | undefined;
19
- url?: string | null | undefined;
20
- expiredAt?: string | null | undefined;
21
- agentId?: string | null | undefined;
22
- restaurantTagGroups?: {
23
- name: string;
24
- id: string;
25
- tags: {
26
- name: string;
27
- id: string;
28
- }[];
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
12
  _id: string;
88
13
  businessId: string;
89
14
  profile: {
90
- email?: string | null | undefined;
91
- phoneNo?: string | null | undefined;
92
- name: string;
93
- address: {
15
+ code?: string | null | undefined;
16
+ _id?: string | null | undefined;
17
+ name?: string | undefined;
18
+ address?: {
94
19
  coordinates?: number[] | null | undefined;
95
20
  line2?: string | null | undefined;
96
21
  state: string;
@@ -98,56 +23,78 @@ export declare function useTransferTemplateTable(): {
98
23
  line1: string;
99
24
  city: string;
100
25
  postcode: string;
101
- };
102
- regNo: string;
26
+ } | undefined;
27
+ email?: string | undefined;
28
+ regNo?: string | undefined;
29
+ sstRegNo?: string | null | undefined;
30
+ phoneNo?: string | undefined;
31
+ legalName?: string | null | undefined;
32
+ discovery?: boolean | null | undefined;
33
+ coverPhoto?: string | null | undefined;
34
+ thumbnailPhoto?: string | null | undefined;
35
+ description?: string | null | undefined;
36
+ photos?: string[] | null | undefined;
37
+ operatingHours?: {
38
+ 0: {
39
+ hours: {
40
+ end: string;
41
+ start: string;
42
+ }[];
43
+ enable: boolean;
44
+ };
45
+ 2: {
46
+ hours: {
47
+ end: string;
48
+ start: string;
49
+ }[];
50
+ enable: boolean;
51
+ };
52
+ 1: {
53
+ hours: {
54
+ end: string;
55
+ start: string;
56
+ }[];
57
+ enable: boolean;
58
+ };
59
+ 3: {
60
+ hours: {
61
+ end: string;
62
+ start: string;
63
+ }[];
64
+ enable: boolean;
65
+ };
66
+ 4: {
67
+ hours: {
68
+ end: string;
69
+ start: string;
70
+ }[];
71
+ enable: boolean;
72
+ };
73
+ 5: {
74
+ hours: {
75
+ end: string;
76
+ start: string;
77
+ }[];
78
+ enable: boolean;
79
+ };
80
+ 6: {
81
+ hours: {
82
+ end: string;
83
+ start: string;
84
+ }[];
85
+ enable: boolean;
86
+ };
87
+ } | null | undefined;
88
+ tags?: string[] | null | undefined;
89
+ url?: string | null | undefined;
103
90
  };
104
91
  };
105
- })[] | null | undefined;
92
+ }[] | null | undefined;
106
93
  _id: string;
107
94
  name: string;
108
95
  purchaseOrder: {
109
96
  remark?: string | null | undefined;
110
97
  ref?: string | null | undefined;
111
- supplier?: {
112
- phoneNumber?: string | null | undefined;
113
- email?: string | null | undefined;
114
- _rev?: string | null | undefined;
115
- internal?: "restaurant" | "warehouse" | null | undefined;
116
- contactName?: string | null | undefined;
117
- registrationNumber?: string | undefined;
118
- supplyItems?: {
119
- defaultCost: {
120
- measurement?: {
121
- id: string;
122
- name: string;
123
- abbrev: string;
124
- conversion: {
125
- amount: number;
126
- precision: number;
127
- };
128
- } | null | undefined;
129
- costPerUnit: {
130
- currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
131
- amount: number;
132
- precision: number;
133
- };
134
- };
135
- skuId: string;
136
- }[] | null | undefined;
137
- _id: string;
138
- name: string;
139
- address: {
140
- line2?: string | null | undefined;
141
- line1: string;
142
- state: string;
143
- city: string;
144
- postcode: string;
145
- country: string;
146
- };
147
- } | undefined;
148
- template?: string | null | undefined;
149
- stockSnapshotId?: string | null | undefined;
150
- effectiveAt?: string | null | undefined;
151
98
  items: {
152
99
  measurement?: {
153
100
  id: string;
@@ -245,117 +192,7 @@ export declare function useTransferTemplateTable(): {
245
192
  precision: number;
246
193
  };
247
194
  }[];
248
- };
249
- }>[];
250
- locationTemplates: import("vue").Ref<{
251
- _rev?: string | null | undefined;
252
- locations?: ({
253
- doc?: any;
254
- type: "restaurant";
255
- name: string;
256
- acceptRequest: boolean;
257
- dbName: string;
258
- } | {
259
- type: "warehouse";
260
- name: string;
261
- acceptRequest: boolean;
262
- dbName: string;
263
- doc: {
264
- pf_business?: {
265
- internal?: boolean | null | undefined;
266
- url?: string | null | undefined;
267
- expiredAt?: string | null | undefined;
268
- agentId?: string | null | undefined;
269
- restaurantTagGroups?: {
270
- name: string;
271
- id: string;
272
- tags: {
273
- name: string;
274
- id: string;
275
- }[];
276
- }[] | null | undefined;
277
- pf_agent?: {
278
- clickupId?: string | null | undefined;
279
- members?: {
280
- pf_user?: {
281
- email?: string | null | undefined;
282
- phoneNumber?: string | null | undefined;
283
- birthday?: string | null | undefined;
284
- gender?: "MALE" | "FEMALE" | null | undefined;
285
- addresses?: {
286
- name: string;
287
- address: string;
288
- coordinates: number[];
289
- }[] | null | undefined;
290
- photoURL?: string | null | undefined;
291
- displayName?: string | null | undefined;
292
- imported?: {
293
- raw: Record<string, any>;
294
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
295
- } | null | undefined;
296
- _id: string;
297
- } | null | undefined;
298
- role: "ADMIN";
299
- userId: string;
300
- }[] | null | undefined;
301
- code: string;
302
- name: string;
303
- _id: string;
304
- isReseller: boolean;
305
- } | null | undefined;
306
- thumbnail?: string | null | undefined;
307
- billingInfos?: {
308
- _id?: string | null | undefined;
309
- name: string;
310
- address: {
311
- coordinates?: number[] | null | undefined;
312
- line2?: string | null | undefined;
313
- state: string;
314
- country: string;
315
- line1: string;
316
- city: string;
317
- postcode: string;
318
- };
319
- email: string;
320
- companyName: string;
321
- contact: string;
322
- }[] | null | undefined;
323
- customerDisplayImages?: {
324
- url: string;
325
- restaurantIds: string[];
326
- }[] | null | undefined;
327
- name: string;
328
- _id: string;
329
- ownerId: string;
330
- restaurantQuota: number;
331
- warehouseQuota: number;
332
- menuVersion: string;
333
- } | null | undefined;
334
- _id: string;
335
- businessId: string;
336
- profile: {
337
- email?: string | null | undefined;
338
- phoneNo?: string | null | undefined;
339
- name: string;
340
- address: {
341
- coordinates?: number[] | null | undefined;
342
- line2?: string | null | undefined;
343
- state: string;
344
- country: string;
345
- line1: string;
346
- city: string;
347
- postcode: string;
348
- };
349
- regNo: string;
350
- };
351
- };
352
- })[] | null | undefined;
353
- _id: string;
354
- name: string;
355
- purchaseOrder: {
356
- remark?: string | null | undefined;
357
- ref?: string | null | undefined;
358
- supplier?: {
195
+ supplier: {
359
196
  phoneNumber?: string | null | undefined;
360
197
  email?: string | null | undefined;
361
198
  _rev?: string | null | undefined;
@@ -391,10 +228,103 @@ export declare function useTransferTemplateTable(): {
391
228
  postcode: string;
392
229
  country: string;
393
230
  };
394
- } | undefined;
395
- template?: string | null | undefined;
396
- stockSnapshotId?: string | null | undefined;
397
- effectiveAt?: string | null | undefined;
231
+ };
232
+ };
233
+ }>[];
234
+ templates: import("vue").Ref<{
235
+ _rev: string;
236
+ locations?: {
237
+ type: "restaurant" | "warehouse";
238
+ name: string;
239
+ acceptRequest: boolean;
240
+ dbName: string;
241
+ doc: {
242
+ _id: string;
243
+ businessId: string;
244
+ profile: {
245
+ code?: string | null | undefined;
246
+ _id?: string | null | undefined;
247
+ name?: string | undefined;
248
+ address?: {
249
+ coordinates?: number[] | null | undefined;
250
+ line2?: string | null | undefined;
251
+ state: string;
252
+ country: string;
253
+ line1: string;
254
+ city: string;
255
+ postcode: string;
256
+ } | undefined;
257
+ email?: string | undefined;
258
+ regNo?: string | undefined;
259
+ sstRegNo?: string | null | undefined;
260
+ phoneNo?: string | undefined;
261
+ legalName?: string | null | undefined;
262
+ discovery?: boolean | null | undefined;
263
+ coverPhoto?: string | null | undefined;
264
+ thumbnailPhoto?: string | null | undefined;
265
+ description?: string | null | undefined;
266
+ photos?: string[] | null | undefined;
267
+ operatingHours?: {
268
+ 0: {
269
+ hours: {
270
+ end: string;
271
+ start: string;
272
+ }[];
273
+ enable: boolean;
274
+ };
275
+ 2: {
276
+ hours: {
277
+ end: string;
278
+ start: string;
279
+ }[];
280
+ enable: boolean;
281
+ };
282
+ 1: {
283
+ hours: {
284
+ end: string;
285
+ start: string;
286
+ }[];
287
+ enable: boolean;
288
+ };
289
+ 3: {
290
+ hours: {
291
+ end: string;
292
+ start: string;
293
+ }[];
294
+ enable: boolean;
295
+ };
296
+ 4: {
297
+ hours: {
298
+ end: string;
299
+ start: string;
300
+ }[];
301
+ enable: boolean;
302
+ };
303
+ 5: {
304
+ hours: {
305
+ end: string;
306
+ start: string;
307
+ }[];
308
+ enable: boolean;
309
+ };
310
+ 6: {
311
+ hours: {
312
+ end: string;
313
+ start: string;
314
+ }[];
315
+ enable: boolean;
316
+ };
317
+ } | null | undefined;
318
+ tags?: string[] | null | undefined;
319
+ url?: string | null | undefined;
320
+ };
321
+ };
322
+ }[] | null | undefined;
323
+ _id: string;
324
+ name: string;
325
+ purchaseOrder: {
326
+ remark?: string | null | undefined;
327
+ ref?: string | null | undefined;
398
328
  items: {
399
329
  measurement?: {
400
330
  id: string;
@@ -492,116 +422,7 @@ export declare function useTransferTemplateTable(): {
492
422
  precision: number;
493
423
  };
494
424
  }[];
495
- };
496
- }[], {
497
- _rev?: string | null | undefined;
498
- locations?: ({
499
- doc?: any;
500
- type: "restaurant";
501
- name: string;
502
- acceptRequest: boolean;
503
- dbName: string;
504
- } | {
505
- type: "warehouse";
506
- name: string;
507
- acceptRequest: boolean;
508
- dbName: string;
509
- doc: {
510
- pf_business?: {
511
- internal?: boolean | null | undefined;
512
- url?: string | null | undefined;
513
- expiredAt?: string | null | undefined;
514
- agentId?: string | null | undefined;
515
- restaurantTagGroups?: {
516
- name: string;
517
- id: string;
518
- tags: {
519
- name: string;
520
- id: string;
521
- }[];
522
- }[] | null | undefined;
523
- pf_agent?: {
524
- clickupId?: string | null | undefined;
525
- members?: {
526
- pf_user?: {
527
- email?: string | null | undefined;
528
- phoneNumber?: string | null | undefined;
529
- birthday?: string | null | undefined;
530
- gender?: "MALE" | "FEMALE" | null | undefined;
531
- addresses?: {
532
- name: string;
533
- address: string;
534
- coordinates: number[];
535
- }[] | null | undefined;
536
- photoURL?: string | null | undefined;
537
- displayName?: string | null | undefined;
538
- imported?: {
539
- raw: Record<string, any>;
540
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
541
- } | null | undefined;
542
- _id: string;
543
- } | null | undefined;
544
- role: "ADMIN";
545
- userId: string;
546
- }[] | null | undefined;
547
- code: string;
548
- name: string;
549
- _id: string;
550
- isReseller: boolean;
551
- } | null | undefined;
552
- thumbnail?: string | null | undefined;
553
- billingInfos?: {
554
- _id?: string | null | undefined;
555
- name: string;
556
- address: {
557
- coordinates?: number[] | null | undefined;
558
- line2?: string | null | undefined;
559
- state: string;
560
- country: string;
561
- line1: string;
562
- city: string;
563
- postcode: string;
564
- };
565
- email: string;
566
- companyName: string;
567
- contact: string;
568
- }[] | null | undefined;
569
- customerDisplayImages?: {
570
- url: string;
571
- restaurantIds: string[];
572
- }[] | null | undefined;
573
- name: string;
574
- _id: string;
575
- ownerId: string;
576
- restaurantQuota: number;
577
- warehouseQuota: number;
578
- menuVersion: string;
579
- } | null | undefined;
580
- _id: string;
581
- businessId: string;
582
- profile: {
583
- email?: string | null | undefined;
584
- phoneNo?: string | null | undefined;
585
- name: string;
586
- address: {
587
- coordinates?: number[] | null | undefined;
588
- line2?: string | null | undefined;
589
- state: string;
590
- country: string;
591
- line1: string;
592
- city: string;
593
- postcode: string;
594
- };
595
- regNo: string;
596
- };
597
- };
598
- })[] | null | undefined;
599
- _id: string;
600
- name: string;
601
- purchaseOrder: {
602
- remark?: string | null | undefined;
603
- ref?: string | null | undefined;
604
- supplier?: {
425
+ supplier: {
605
426
  phoneNumber?: string | null | undefined;
606
427
  email?: string | null | undefined;
607
428
  _rev?: string | null | undefined;
@@ -637,10 +458,102 @@ export declare function useTransferTemplateTable(): {
637
458
  postcode: string;
638
459
  country: string;
639
460
  };
640
- } | undefined;
641
- template?: string | null | undefined;
642
- stockSnapshotId?: string | null | undefined;
643
- effectiveAt?: string | null | undefined;
461
+ };
462
+ };
463
+ }[], ({
464
+ _rev?: string | null | undefined;
465
+ locations?: {
466
+ type: "restaurant" | "warehouse";
467
+ name: string;
468
+ acceptRequest: boolean;
469
+ dbName: string;
470
+ doc: {
471
+ _id: string;
472
+ businessId: string;
473
+ profile: {
474
+ code?: string | null | undefined;
475
+ _id?: string | null | undefined;
476
+ name?: string | undefined;
477
+ address?: {
478
+ coordinates?: number[] | null | undefined;
479
+ line2?: string | null | undefined;
480
+ state: string;
481
+ country: string;
482
+ line1: string;
483
+ city: string;
484
+ postcode: string;
485
+ } | undefined;
486
+ email?: string | undefined;
487
+ regNo?: string | undefined;
488
+ sstRegNo?: string | null | undefined;
489
+ phoneNo?: string | undefined;
490
+ legalName?: string | null | undefined;
491
+ discovery?: boolean | null | undefined;
492
+ coverPhoto?: string | null | undefined;
493
+ thumbnailPhoto?: string | null | undefined;
494
+ description?: string | null | undefined;
495
+ photos?: string[] | null | undefined;
496
+ operatingHours?: {
497
+ 0: {
498
+ hours: {
499
+ end: string;
500
+ start: string;
501
+ }[];
502
+ enable: boolean;
503
+ };
504
+ 2: {
505
+ hours: {
506
+ end: string;
507
+ start: string;
508
+ }[];
509
+ enable: boolean;
510
+ };
511
+ 1: {
512
+ hours: {
513
+ end: string;
514
+ start: string;
515
+ }[];
516
+ enable: boolean;
517
+ };
518
+ 3: {
519
+ hours: {
520
+ end: string;
521
+ start: string;
522
+ }[];
523
+ enable: boolean;
524
+ };
525
+ 4: {
526
+ hours: {
527
+ end: string;
528
+ start: string;
529
+ }[];
530
+ enable: boolean;
531
+ };
532
+ 5: {
533
+ hours: {
534
+ end: string;
535
+ start: string;
536
+ }[];
537
+ enable: boolean;
538
+ };
539
+ 6: {
540
+ hours: {
541
+ end: string;
542
+ start: string;
543
+ }[];
544
+ enable: boolean;
545
+ };
546
+ } | null | undefined;
547
+ tags?: string[] | null | undefined;
548
+ url?: string | null | undefined;
549
+ };
550
+ };
551
+ }[] | null | undefined;
552
+ _id: string;
553
+ name: string;
554
+ purchaseOrder: {
555
+ remark?: string | null | undefined;
556
+ ref?: string | null | undefined;
644
557
  items: {
645
558
  measurement?: {
646
559
  id: string;
@@ -738,116 +651,7 @@ export declare function useTransferTemplateTable(): {
738
651
  precision: number;
739
652
  };
740
653
  }[];
741
- };
742
- }[] | {
743
- _rev?: string | null | undefined;
744
- locations?: ({
745
- doc?: any;
746
- type: "restaurant";
747
- name: string;
748
- acceptRequest: boolean;
749
- dbName: string;
750
- } | {
751
- type: "warehouse";
752
- name: string;
753
- acceptRequest: boolean;
754
- dbName: string;
755
- doc: {
756
- pf_business?: {
757
- internal?: boolean | null | undefined;
758
- url?: string | null | undefined;
759
- expiredAt?: string | null | undefined;
760
- agentId?: string | null | undefined;
761
- restaurantTagGroups?: {
762
- name: string;
763
- id: string;
764
- tags: {
765
- name: string;
766
- id: string;
767
- }[];
768
- }[] | null | undefined;
769
- pf_agent?: {
770
- clickupId?: string | null | undefined;
771
- members?: {
772
- pf_user?: {
773
- email?: string | null | undefined;
774
- phoneNumber?: string | null | undefined;
775
- birthday?: string | null | undefined;
776
- gender?: "MALE" | "FEMALE" | null | undefined;
777
- addresses?: {
778
- name: string;
779
- address: string;
780
- coordinates: number[];
781
- }[] | null | undefined;
782
- photoURL?: string | null | undefined;
783
- displayName?: string | null | undefined;
784
- imported?: {
785
- raw: Record<string, any>;
786
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
787
- } | null | undefined;
788
- _id: string;
789
- } | null | undefined;
790
- role: "ADMIN";
791
- userId: string;
792
- }[] | null | undefined;
793
- code: string;
794
- name: string;
795
- _id: string;
796
- isReseller: boolean;
797
- } | null | undefined;
798
- thumbnail?: string | null | undefined;
799
- billingInfos?: {
800
- _id?: string | null | undefined;
801
- name: string;
802
- address: {
803
- coordinates?: number[] | null | undefined;
804
- line2?: string | null | undefined;
805
- state: string;
806
- country: string;
807
- line1: string;
808
- city: string;
809
- postcode: string;
810
- };
811
- email: string;
812
- companyName: string;
813
- contact: string;
814
- }[] | null | undefined;
815
- customerDisplayImages?: {
816
- url: string;
817
- restaurantIds: string[];
818
- }[] | null | undefined;
819
- name: string;
820
- _id: string;
821
- ownerId: string;
822
- restaurantQuota: number;
823
- warehouseQuota: number;
824
- menuVersion: string;
825
- } | null | undefined;
826
- _id: string;
827
- businessId: string;
828
- profile: {
829
- email?: string | null | undefined;
830
- phoneNo?: string | null | undefined;
831
- name: string;
832
- address: {
833
- coordinates?: number[] | null | undefined;
834
- line2?: string | null | undefined;
835
- state: string;
836
- country: string;
837
- line1: string;
838
- city: string;
839
- postcode: string;
840
- };
841
- regNo: string;
842
- };
843
- };
844
- })[] | null | undefined;
845
- _id: string;
846
- name: string;
847
- purchaseOrder: {
848
- remark?: string | null | undefined;
849
- ref?: string | null | undefined;
850
- supplier?: {
654
+ supplier: {
851
655
  phoneNumber?: string | null | undefined;
852
656
  email?: string | null | undefined;
853
657
  _rev?: string | null | undefined;
@@ -883,10 +687,102 @@ export declare function useTransferTemplateTable(): {
883
687
  postcode: string;
884
688
  country: string;
885
689
  };
886
- } | undefined;
887
- template?: string | null | undefined;
888
- stockSnapshotId?: string | null | undefined;
889
- effectiveAt?: string | null | undefined;
690
+ };
691
+ };
692
+ } & RevisionIdMeta)[] | {
693
+ _rev: string;
694
+ locations?: {
695
+ type: "restaurant" | "warehouse";
696
+ name: string;
697
+ acceptRequest: boolean;
698
+ dbName: string;
699
+ doc: {
700
+ _id: string;
701
+ businessId: string;
702
+ profile: {
703
+ code?: string | null | undefined;
704
+ _id?: string | null | undefined;
705
+ name?: string | undefined;
706
+ address?: {
707
+ coordinates?: number[] | null | undefined;
708
+ line2?: string | null | undefined;
709
+ state: string;
710
+ country: string;
711
+ line1: string;
712
+ city: string;
713
+ postcode: string;
714
+ } | undefined;
715
+ email?: string | undefined;
716
+ regNo?: string | undefined;
717
+ sstRegNo?: string | null | undefined;
718
+ phoneNo?: string | undefined;
719
+ legalName?: string | null | undefined;
720
+ discovery?: boolean | null | undefined;
721
+ coverPhoto?: string | null | undefined;
722
+ thumbnailPhoto?: string | null | undefined;
723
+ description?: string | null | undefined;
724
+ photos?: string[] | null | undefined;
725
+ operatingHours?: {
726
+ 0: {
727
+ hours: {
728
+ end: string;
729
+ start: string;
730
+ }[];
731
+ enable: boolean;
732
+ };
733
+ 2: {
734
+ hours: {
735
+ end: string;
736
+ start: string;
737
+ }[];
738
+ enable: boolean;
739
+ };
740
+ 1: {
741
+ hours: {
742
+ end: string;
743
+ start: string;
744
+ }[];
745
+ enable: boolean;
746
+ };
747
+ 3: {
748
+ hours: {
749
+ end: string;
750
+ start: string;
751
+ }[];
752
+ enable: boolean;
753
+ };
754
+ 4: {
755
+ hours: {
756
+ end: string;
757
+ start: string;
758
+ }[];
759
+ enable: boolean;
760
+ };
761
+ 5: {
762
+ hours: {
763
+ end: string;
764
+ start: string;
765
+ }[];
766
+ enable: boolean;
767
+ };
768
+ 6: {
769
+ hours: {
770
+ end: string;
771
+ start: string;
772
+ }[];
773
+ enable: boolean;
774
+ };
775
+ } | null | undefined;
776
+ tags?: string[] | null | undefined;
777
+ url?: string | null | undefined;
778
+ };
779
+ };
780
+ }[] | null | undefined;
781
+ _id: string;
782
+ name: string;
783
+ purchaseOrder: {
784
+ remark?: string | null | undefined;
785
+ ref?: string | null | undefined;
890
786
  items: {
891
787
  measurement?: {
892
788
  id: string;
@@ -984,99 +880,64 @@ export declare function useTransferTemplateTable(): {
984
880
  precision: number;
985
881
  };
986
882
  }[];
883
+ supplier: {
884
+ phoneNumber?: string | null | undefined;
885
+ email?: string | null | undefined;
886
+ _rev?: string | null | undefined;
887
+ internal?: "restaurant" | "warehouse" | null | undefined;
888
+ contactName?: string | null | undefined;
889
+ registrationNumber?: string | undefined;
890
+ supplyItems?: {
891
+ defaultCost: {
892
+ measurement?: {
893
+ id: string;
894
+ name: string;
895
+ abbrev: string;
896
+ conversion: {
897
+ amount: number;
898
+ precision: number;
899
+ };
900
+ } | null | undefined;
901
+ costPerUnit: {
902
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
903
+ amount: number;
904
+ precision: number;
905
+ };
906
+ };
907
+ skuId: string;
908
+ }[] | null | undefined;
909
+ _id: string;
910
+ name: string;
911
+ address: {
912
+ line2?: string | null | undefined;
913
+ line1: string;
914
+ state: string;
915
+ city: string;
916
+ postcode: string;
917
+ country: string;
918
+ };
919
+ };
987
920
  };
988
921
  }[]>;
989
- businessTemplates: import("vue").Ref<{
922
+ loading: import("vue").Ref<boolean, boolean>;
923
+ fetchTemplates: () => Promise<void>;
924
+ loadTemplate: (templateId: string) => Promise<void>;
925
+ }, "loading" | "columnDefs" | "templates">>, Pick<{
926
+ columnDefs: ColumnDef<{
990
927
  _rev?: string | null | undefined;
991
- locations?: ({
992
- doc?: any;
993
- type: "restaurant";
994
- name: string;
995
- acceptRequest: boolean;
996
- dbName: string;
997
- } | {
998
- type: "warehouse";
928
+ locations?: {
929
+ type: "restaurant" | "warehouse";
999
930
  name: string;
1000
931
  acceptRequest: boolean;
1001
932
  dbName: string;
1002
933
  doc: {
1003
- pf_business?: {
1004
- internal?: boolean | null | undefined;
1005
- url?: string | null | undefined;
1006
- expiredAt?: string | null | undefined;
1007
- agentId?: string | null | undefined;
1008
- restaurantTagGroups?: {
1009
- name: string;
1010
- id: string;
1011
- tags: {
1012
- name: string;
1013
- id: string;
1014
- }[];
1015
- }[] | null | undefined;
1016
- pf_agent?: {
1017
- clickupId?: string | null | undefined;
1018
- members?: {
1019
- pf_user?: {
1020
- email?: string | null | undefined;
1021
- phoneNumber?: string | null | undefined;
1022
- birthday?: string | null | undefined;
1023
- gender?: "MALE" | "FEMALE" | null | undefined;
1024
- addresses?: {
1025
- name: string;
1026
- address: string;
1027
- coordinates: number[];
1028
- }[] | null | undefined;
1029
- photoURL?: string | null | undefined;
1030
- displayName?: string | null | undefined;
1031
- imported?: {
1032
- raw: Record<string, any>;
1033
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1034
- } | null | undefined;
1035
- _id: string;
1036
- } | null | undefined;
1037
- role: "ADMIN";
1038
- userId: string;
1039
- }[] | null | undefined;
1040
- code: string;
1041
- name: string;
1042
- _id: string;
1043
- isReseller: boolean;
1044
- } | null | undefined;
1045
- thumbnail?: string | null | undefined;
1046
- billingInfos?: {
1047
- _id?: string | null | undefined;
1048
- name: string;
1049
- address: {
1050
- coordinates?: number[] | null | undefined;
1051
- line2?: string | null | undefined;
1052
- state: string;
1053
- country: string;
1054
- line1: string;
1055
- city: string;
1056
- postcode: string;
1057
- };
1058
- email: string;
1059
- companyName: string;
1060
- contact: string;
1061
- }[] | null | undefined;
1062
- customerDisplayImages?: {
1063
- url: string;
1064
- restaurantIds: string[];
1065
- }[] | null | undefined;
1066
- name: string;
1067
- _id: string;
1068
- ownerId: string;
1069
- restaurantQuota: number;
1070
- warehouseQuota: number;
1071
- menuVersion: string;
1072
- } | null | undefined;
1073
934
  _id: string;
1074
935
  businessId: string;
1075
936
  profile: {
1076
- email?: string | null | undefined;
1077
- phoneNo?: string | null | undefined;
1078
- name: string;
1079
- address: {
937
+ code?: string | null | undefined;
938
+ _id?: string | null | undefined;
939
+ name?: string | undefined;
940
+ address?: {
1080
941
  coordinates?: number[] | null | undefined;
1081
942
  line2?: string | null | undefined;
1082
943
  state: string;
@@ -1084,17 +945,176 @@ export declare function useTransferTemplateTable(): {
1084
945
  line1: string;
1085
946
  city: string;
1086
947
  postcode: string;
1087
- };
1088
- regNo: string;
948
+ } | undefined;
949
+ email?: string | undefined;
950
+ regNo?: string | undefined;
951
+ sstRegNo?: string | null | undefined;
952
+ phoneNo?: string | undefined;
953
+ legalName?: string | null | undefined;
954
+ discovery?: boolean | null | undefined;
955
+ coverPhoto?: string | null | undefined;
956
+ thumbnailPhoto?: string | null | undefined;
957
+ description?: string | null | undefined;
958
+ photos?: string[] | null | undefined;
959
+ operatingHours?: {
960
+ 0: {
961
+ hours: {
962
+ end: string;
963
+ start: string;
964
+ }[];
965
+ enable: boolean;
966
+ };
967
+ 2: {
968
+ hours: {
969
+ end: string;
970
+ start: string;
971
+ }[];
972
+ enable: boolean;
973
+ };
974
+ 1: {
975
+ hours: {
976
+ end: string;
977
+ start: string;
978
+ }[];
979
+ enable: boolean;
980
+ };
981
+ 3: {
982
+ hours: {
983
+ end: string;
984
+ start: string;
985
+ }[];
986
+ enable: boolean;
987
+ };
988
+ 4: {
989
+ hours: {
990
+ end: string;
991
+ start: string;
992
+ }[];
993
+ enable: boolean;
994
+ };
995
+ 5: {
996
+ hours: {
997
+ end: string;
998
+ start: string;
999
+ }[];
1000
+ enable: boolean;
1001
+ };
1002
+ 6: {
1003
+ hours: {
1004
+ end: string;
1005
+ start: string;
1006
+ }[];
1007
+ enable: boolean;
1008
+ };
1009
+ } | null | undefined;
1010
+ tags?: string[] | null | undefined;
1011
+ url?: string | null | undefined;
1089
1012
  };
1090
1013
  };
1091
- })[] | null | undefined;
1014
+ }[] | null | undefined;
1092
1015
  _id: string;
1093
1016
  name: string;
1094
1017
  purchaseOrder: {
1095
1018
  remark?: string | null | undefined;
1096
1019
  ref?: string | null | undefined;
1097
- supplier?: {
1020
+ items: {
1021
+ measurement?: {
1022
+ id: string;
1023
+ name: string;
1024
+ abbrev: string;
1025
+ conversion: {
1026
+ amount: number;
1027
+ precision: number;
1028
+ };
1029
+ } | null | undefined;
1030
+ totalCost?: {
1031
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1032
+ amount: number;
1033
+ precision: number;
1034
+ } | null | undefined;
1035
+ sku: {
1036
+ trackingMeasurement?: string | null | undefined;
1037
+ convert?: {
1038
+ measurement?: string | null | undefined;
1039
+ inventoryBindings?: {
1040
+ measurement?: {
1041
+ id: string;
1042
+ name: string;
1043
+ abbrev: string;
1044
+ conversion: {
1045
+ amount: number;
1046
+ precision: number;
1047
+ };
1048
+ } | null | undefined;
1049
+ type: "RECIPE" | "SKU";
1050
+ amount: {
1051
+ amount: number;
1052
+ precision: number;
1053
+ };
1054
+ id: string;
1055
+ }[] | null | undefined;
1056
+ } | null | undefined;
1057
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1058
+ defaultCost?: {
1059
+ measurement?: {
1060
+ id: string;
1061
+ name: string;
1062
+ abbrev: string;
1063
+ conversion: {
1064
+ amount: number;
1065
+ precision: number;
1066
+ };
1067
+ } | null | undefined;
1068
+ costPerUnit: {
1069
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1070
+ amount: number;
1071
+ precision: number;
1072
+ };
1073
+ } | null | undefined;
1074
+ thresholds?: {
1075
+ low: number;
1076
+ mid: number;
1077
+ } | null | undefined;
1078
+ operationalGroup?: string | null | undefined;
1079
+ unit: {
1080
+ _id: string;
1081
+ name: string;
1082
+ abbrev: string;
1083
+ precision: number;
1084
+ measurements: {
1085
+ id: string;
1086
+ name: string;
1087
+ abbrev: string;
1088
+ conversion: {
1089
+ amount: number;
1090
+ precision: number;
1091
+ };
1092
+ }[];
1093
+ };
1094
+ code: string;
1095
+ _id: string;
1096
+ name: string;
1097
+ };
1098
+ code: string;
1099
+ name: string;
1100
+ quantity: {
1101
+ amount: number;
1102
+ precision: number;
1103
+ };
1104
+ quantityStep: {
1105
+ amount: number;
1106
+ precision: number;
1107
+ };
1108
+ minimumQuantity: {
1109
+ amount: number;
1110
+ precision: number;
1111
+ };
1112
+ maximumQuantity: {
1113
+ amount: number;
1114
+ precision: number;
1115
+ };
1116
+ }[];
1117
+ supplier: {
1098
1118
  phoneNumber?: string | null | undefined;
1099
1119
  email?: string | null | undefined;
1100
1120
  _rev?: string | null | undefined;
@@ -1130,10 +1150,103 @@ export declare function useTransferTemplateTable(): {
1130
1150
  postcode: string;
1131
1151
  country: string;
1132
1152
  };
1133
- } | undefined;
1134
- template?: string | null | undefined;
1135
- stockSnapshotId?: string | null | undefined;
1136
- effectiveAt?: string | null | undefined;
1153
+ };
1154
+ };
1155
+ }>[];
1156
+ templates: import("vue").Ref<{
1157
+ _rev: string;
1158
+ locations?: {
1159
+ type: "restaurant" | "warehouse";
1160
+ name: string;
1161
+ acceptRequest: boolean;
1162
+ dbName: string;
1163
+ doc: {
1164
+ _id: string;
1165
+ businessId: string;
1166
+ profile: {
1167
+ code?: string | null | undefined;
1168
+ _id?: string | null | undefined;
1169
+ name?: string | undefined;
1170
+ address?: {
1171
+ coordinates?: number[] | null | undefined;
1172
+ line2?: string | null | undefined;
1173
+ state: string;
1174
+ country: string;
1175
+ line1: string;
1176
+ city: string;
1177
+ postcode: string;
1178
+ } | undefined;
1179
+ email?: string | undefined;
1180
+ regNo?: string | undefined;
1181
+ sstRegNo?: string | null | undefined;
1182
+ phoneNo?: string | undefined;
1183
+ legalName?: string | null | undefined;
1184
+ discovery?: boolean | null | undefined;
1185
+ coverPhoto?: string | null | undefined;
1186
+ thumbnailPhoto?: string | null | undefined;
1187
+ description?: string | null | undefined;
1188
+ photos?: string[] | null | undefined;
1189
+ operatingHours?: {
1190
+ 0: {
1191
+ hours: {
1192
+ end: string;
1193
+ start: string;
1194
+ }[];
1195
+ enable: boolean;
1196
+ };
1197
+ 2: {
1198
+ hours: {
1199
+ end: string;
1200
+ start: string;
1201
+ }[];
1202
+ enable: boolean;
1203
+ };
1204
+ 1: {
1205
+ hours: {
1206
+ end: string;
1207
+ start: string;
1208
+ }[];
1209
+ enable: boolean;
1210
+ };
1211
+ 3: {
1212
+ hours: {
1213
+ end: string;
1214
+ start: string;
1215
+ }[];
1216
+ enable: boolean;
1217
+ };
1218
+ 4: {
1219
+ hours: {
1220
+ end: string;
1221
+ start: string;
1222
+ }[];
1223
+ enable: boolean;
1224
+ };
1225
+ 5: {
1226
+ hours: {
1227
+ end: string;
1228
+ start: string;
1229
+ }[];
1230
+ enable: boolean;
1231
+ };
1232
+ 6: {
1233
+ hours: {
1234
+ end: string;
1235
+ start: string;
1236
+ }[];
1237
+ enable: boolean;
1238
+ };
1239
+ } | null | undefined;
1240
+ tags?: string[] | null | undefined;
1241
+ url?: string | null | undefined;
1242
+ };
1243
+ };
1244
+ }[] | null | undefined;
1245
+ _id: string;
1246
+ name: string;
1247
+ purchaseOrder: {
1248
+ remark?: string | null | undefined;
1249
+ ref?: string | null | undefined;
1137
1250
  items: {
1138
1251
  measurement?: {
1139
1252
  id: string;
@@ -1231,116 +1344,699 @@ export declare function useTransferTemplateTable(): {
1231
1344
  precision: number;
1232
1345
  };
1233
1346
  }[];
1234
- };
1235
- }[], {
1236
- _rev?: string | null | undefined;
1237
- locations?: ({
1238
- doc?: any;
1239
- type: "restaurant";
1240
- name: string;
1241
- acceptRequest: boolean;
1242
- dbName: string;
1243
- } | {
1244
- type: "warehouse";
1245
- name: string;
1246
- acceptRequest: boolean;
1247
- dbName: string;
1248
- doc: {
1249
- pf_business?: {
1250
- internal?: boolean | null | undefined;
1251
- url?: string | null | undefined;
1252
- expiredAt?: string | null | undefined;
1253
- agentId?: string | null | undefined;
1254
- restaurantTagGroups?: {
1255
- name: string;
1256
- id: string;
1257
- tags: {
1258
- name: string;
1347
+ supplier: {
1348
+ phoneNumber?: string | null | undefined;
1349
+ email?: string | null | undefined;
1350
+ _rev?: string | null | undefined;
1351
+ internal?: "restaurant" | "warehouse" | null | undefined;
1352
+ contactName?: string | null | undefined;
1353
+ registrationNumber?: string | undefined;
1354
+ supplyItems?: {
1355
+ defaultCost: {
1356
+ measurement?: {
1259
1357
  id: string;
1260
- }[];
1261
- }[] | null | undefined;
1262
- pf_agent?: {
1263
- clickupId?: string | null | undefined;
1264
- members?: {
1265
- pf_user?: {
1266
- email?: string | null | undefined;
1267
- phoneNumber?: string | null | undefined;
1268
- birthday?: string | null | undefined;
1269
- gender?: "MALE" | "FEMALE" | null | undefined;
1270
- addresses?: {
1271
- name: string;
1272
- address: string;
1273
- coordinates: number[];
1274
- }[] | null | undefined;
1275
- photoURL?: string | null | undefined;
1276
- displayName?: string | null | undefined;
1277
- imported?: {
1278
- raw: Record<string, any>;
1279
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1280
- } | null | undefined;
1281
- _id: string;
1282
- } | null | undefined;
1283
- role: "ADMIN";
1284
- userId: string;
1285
- }[] | null | undefined;
1286
- code: string;
1287
- name: string;
1288
- _id: string;
1289
- isReseller: boolean;
1358
+ name: string;
1359
+ abbrev: string;
1360
+ conversion: {
1361
+ amount: number;
1362
+ precision: number;
1363
+ };
1364
+ } | null | undefined;
1365
+ costPerUnit: {
1366
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1367
+ amount: number;
1368
+ precision: number;
1369
+ };
1370
+ };
1371
+ skuId: string;
1372
+ }[] | null | undefined;
1373
+ _id: string;
1374
+ name: string;
1375
+ address: {
1376
+ line2?: string | null | undefined;
1377
+ line1: string;
1378
+ state: string;
1379
+ city: string;
1380
+ postcode: string;
1381
+ country: string;
1382
+ };
1383
+ };
1384
+ };
1385
+ }[], ({
1386
+ _rev?: string | null | undefined;
1387
+ locations?: {
1388
+ type: "restaurant" | "warehouse";
1389
+ name: string;
1390
+ acceptRequest: boolean;
1391
+ dbName: string;
1392
+ doc: {
1393
+ _id: string;
1394
+ businessId: string;
1395
+ profile: {
1396
+ code?: string | null | undefined;
1397
+ _id?: string | null | undefined;
1398
+ name?: string | undefined;
1399
+ address?: {
1400
+ coordinates?: number[] | null | undefined;
1401
+ line2?: string | null | undefined;
1402
+ state: string;
1403
+ country: string;
1404
+ line1: string;
1405
+ city: string;
1406
+ postcode: string;
1407
+ } | undefined;
1408
+ email?: string | undefined;
1409
+ regNo?: string | undefined;
1410
+ sstRegNo?: string | null | undefined;
1411
+ phoneNo?: string | undefined;
1412
+ legalName?: string | null | undefined;
1413
+ discovery?: boolean | null | undefined;
1414
+ coverPhoto?: string | null | undefined;
1415
+ thumbnailPhoto?: string | null | undefined;
1416
+ description?: string | null | undefined;
1417
+ photos?: string[] | null | undefined;
1418
+ operatingHours?: {
1419
+ 0: {
1420
+ hours: {
1421
+ end: string;
1422
+ start: string;
1423
+ }[];
1424
+ enable: boolean;
1425
+ };
1426
+ 2: {
1427
+ hours: {
1428
+ end: string;
1429
+ start: string;
1430
+ }[];
1431
+ enable: boolean;
1432
+ };
1433
+ 1: {
1434
+ hours: {
1435
+ end: string;
1436
+ start: string;
1437
+ }[];
1438
+ enable: boolean;
1439
+ };
1440
+ 3: {
1441
+ hours: {
1442
+ end: string;
1443
+ start: string;
1444
+ }[];
1445
+ enable: boolean;
1446
+ };
1447
+ 4: {
1448
+ hours: {
1449
+ end: string;
1450
+ start: string;
1451
+ }[];
1452
+ enable: boolean;
1453
+ };
1454
+ 5: {
1455
+ hours: {
1456
+ end: string;
1457
+ start: string;
1458
+ }[];
1459
+ enable: boolean;
1460
+ };
1461
+ 6: {
1462
+ hours: {
1463
+ end: string;
1464
+ start: string;
1465
+ }[];
1466
+ enable: boolean;
1467
+ };
1468
+ } | null | undefined;
1469
+ tags?: string[] | null | undefined;
1470
+ url?: string | null | undefined;
1471
+ };
1472
+ };
1473
+ }[] | null | undefined;
1474
+ _id: string;
1475
+ name: string;
1476
+ purchaseOrder: {
1477
+ remark?: string | null | undefined;
1478
+ ref?: string | null | undefined;
1479
+ items: {
1480
+ measurement?: {
1481
+ id: string;
1482
+ name: string;
1483
+ abbrev: string;
1484
+ conversion: {
1485
+ amount: number;
1486
+ precision: number;
1487
+ };
1488
+ } | null | undefined;
1489
+ totalCost?: {
1490
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1491
+ amount: number;
1492
+ precision: number;
1493
+ } | null | undefined;
1494
+ sku: {
1495
+ trackingMeasurement?: string | null | undefined;
1496
+ convert?: {
1497
+ measurement?: string | null | undefined;
1498
+ inventoryBindings?: {
1499
+ measurement?: {
1500
+ id: string;
1501
+ name: string;
1502
+ abbrev: string;
1503
+ conversion: {
1504
+ amount: number;
1505
+ precision: number;
1506
+ };
1507
+ } | null | undefined;
1508
+ type: "RECIPE" | "SKU";
1509
+ amount: {
1510
+ amount: number;
1511
+ precision: number;
1512
+ };
1513
+ id: string;
1514
+ }[] | null | undefined;
1515
+ } | null | undefined;
1516
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1517
+ defaultCost?: {
1518
+ measurement?: {
1519
+ id: string;
1520
+ name: string;
1521
+ abbrev: string;
1522
+ conversion: {
1523
+ amount: number;
1524
+ precision: number;
1525
+ };
1526
+ } | null | undefined;
1527
+ costPerUnit: {
1528
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1529
+ amount: number;
1530
+ precision: number;
1531
+ };
1532
+ } | null | undefined;
1533
+ thresholds?: {
1534
+ low: number;
1535
+ mid: number;
1536
+ } | null | undefined;
1537
+ operationalGroup?: string | null | undefined;
1538
+ unit: {
1539
+ _id: string;
1540
+ name: string;
1541
+ abbrev: string;
1542
+ precision: number;
1543
+ measurements: {
1544
+ id: string;
1545
+ name: string;
1546
+ abbrev: string;
1547
+ conversion: {
1548
+ amount: number;
1549
+ precision: number;
1550
+ };
1551
+ }[];
1552
+ };
1553
+ code: string;
1554
+ _id: string;
1555
+ name: string;
1556
+ };
1557
+ code: string;
1558
+ name: string;
1559
+ quantity: {
1560
+ amount: number;
1561
+ precision: number;
1562
+ };
1563
+ quantityStep: {
1564
+ amount: number;
1565
+ precision: number;
1566
+ };
1567
+ minimumQuantity: {
1568
+ amount: number;
1569
+ precision: number;
1570
+ };
1571
+ maximumQuantity: {
1572
+ amount: number;
1573
+ precision: number;
1574
+ };
1575
+ }[];
1576
+ supplier: {
1577
+ phoneNumber?: string | null | undefined;
1578
+ email?: string | null | undefined;
1579
+ _rev?: string | null | undefined;
1580
+ internal?: "restaurant" | "warehouse" | null | undefined;
1581
+ contactName?: string | null | undefined;
1582
+ registrationNumber?: string | undefined;
1583
+ supplyItems?: {
1584
+ defaultCost: {
1585
+ measurement?: {
1586
+ id: string;
1587
+ name: string;
1588
+ abbrev: string;
1589
+ conversion: {
1590
+ amount: number;
1591
+ precision: number;
1592
+ };
1593
+ } | null | undefined;
1594
+ costPerUnit: {
1595
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1596
+ amount: number;
1597
+ precision: number;
1598
+ };
1599
+ };
1600
+ skuId: string;
1601
+ }[] | null | undefined;
1602
+ _id: string;
1603
+ name: string;
1604
+ address: {
1605
+ line2?: string | null | undefined;
1606
+ line1: string;
1607
+ state: string;
1608
+ city: string;
1609
+ postcode: string;
1610
+ country: string;
1611
+ };
1612
+ };
1613
+ };
1614
+ } & RevisionIdMeta)[] | {
1615
+ _rev: string;
1616
+ locations?: {
1617
+ type: "restaurant" | "warehouse";
1618
+ name: string;
1619
+ acceptRequest: boolean;
1620
+ dbName: string;
1621
+ doc: {
1622
+ _id: string;
1623
+ businessId: string;
1624
+ profile: {
1625
+ code?: string | null | undefined;
1626
+ _id?: string | null | undefined;
1627
+ name?: string | undefined;
1628
+ address?: {
1629
+ coordinates?: number[] | null | undefined;
1630
+ line2?: string | null | undefined;
1631
+ state: string;
1632
+ country: string;
1633
+ line1: string;
1634
+ city: string;
1635
+ postcode: string;
1636
+ } | undefined;
1637
+ email?: string | undefined;
1638
+ regNo?: string | undefined;
1639
+ sstRegNo?: string | null | undefined;
1640
+ phoneNo?: string | undefined;
1641
+ legalName?: string | null | undefined;
1642
+ discovery?: boolean | null | undefined;
1643
+ coverPhoto?: string | null | undefined;
1644
+ thumbnailPhoto?: string | null | undefined;
1645
+ description?: string | null | undefined;
1646
+ photos?: string[] | null | undefined;
1647
+ operatingHours?: {
1648
+ 0: {
1649
+ hours: {
1650
+ end: string;
1651
+ start: string;
1652
+ }[];
1653
+ enable: boolean;
1654
+ };
1655
+ 2: {
1656
+ hours: {
1657
+ end: string;
1658
+ start: string;
1659
+ }[];
1660
+ enable: boolean;
1661
+ };
1662
+ 1: {
1663
+ hours: {
1664
+ end: string;
1665
+ start: string;
1666
+ }[];
1667
+ enable: boolean;
1668
+ };
1669
+ 3: {
1670
+ hours: {
1671
+ end: string;
1672
+ start: string;
1673
+ }[];
1674
+ enable: boolean;
1675
+ };
1676
+ 4: {
1677
+ hours: {
1678
+ end: string;
1679
+ start: string;
1680
+ }[];
1681
+ enable: boolean;
1682
+ };
1683
+ 5: {
1684
+ hours: {
1685
+ end: string;
1686
+ start: string;
1687
+ }[];
1688
+ enable: boolean;
1689
+ };
1690
+ 6: {
1691
+ hours: {
1692
+ end: string;
1693
+ start: string;
1694
+ }[];
1695
+ enable: boolean;
1696
+ };
1697
+ } | null | undefined;
1698
+ tags?: string[] | null | undefined;
1699
+ url?: string | null | undefined;
1700
+ };
1701
+ };
1702
+ }[] | null | undefined;
1703
+ _id: string;
1704
+ name: string;
1705
+ purchaseOrder: {
1706
+ remark?: string | null | undefined;
1707
+ ref?: string | null | undefined;
1708
+ items: {
1709
+ measurement?: {
1710
+ id: string;
1711
+ name: string;
1712
+ abbrev: string;
1713
+ conversion: {
1714
+ amount: number;
1715
+ precision: number;
1716
+ };
1717
+ } | null | undefined;
1718
+ totalCost?: {
1719
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1720
+ amount: number;
1721
+ precision: number;
1722
+ } | null | undefined;
1723
+ sku: {
1724
+ trackingMeasurement?: string | null | undefined;
1725
+ convert?: {
1726
+ measurement?: string | null | undefined;
1727
+ inventoryBindings?: {
1728
+ measurement?: {
1729
+ id: string;
1730
+ name: string;
1731
+ abbrev: string;
1732
+ conversion: {
1733
+ amount: number;
1734
+ precision: number;
1735
+ };
1736
+ } | null | undefined;
1737
+ type: "RECIPE" | "SKU";
1738
+ amount: {
1739
+ amount: number;
1740
+ precision: number;
1741
+ };
1742
+ id: string;
1743
+ }[] | null | undefined;
1744
+ } | null | undefined;
1745
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1746
+ defaultCost?: {
1747
+ measurement?: {
1748
+ id: string;
1749
+ name: string;
1750
+ abbrev: string;
1751
+ conversion: {
1752
+ amount: number;
1753
+ precision: number;
1754
+ };
1755
+ } | null | undefined;
1756
+ costPerUnit: {
1757
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1758
+ amount: number;
1759
+ precision: number;
1760
+ };
1290
1761
  } | null | undefined;
1291
- thumbnail?: string | null | undefined;
1292
- billingInfos?: {
1293
- _id?: string | null | undefined;
1762
+ thresholds?: {
1763
+ low: number;
1764
+ mid: number;
1765
+ } | null | undefined;
1766
+ operationalGroup?: string | null | undefined;
1767
+ unit: {
1768
+ _id: string;
1294
1769
  name: string;
1295
- address: {
1296
- coordinates?: number[] | null | undefined;
1297
- line2?: string | null | undefined;
1298
- state: string;
1299
- country: string;
1300
- line1: string;
1301
- city: string;
1302
- postcode: string;
1303
- };
1304
- email: string;
1305
- companyName: string;
1306
- contact: string;
1307
- }[] | null | undefined;
1308
- customerDisplayImages?: {
1309
- url: string;
1310
- restaurantIds: string[];
1311
- }[] | null | undefined;
1770
+ abbrev: string;
1771
+ precision: number;
1772
+ measurements: {
1773
+ id: string;
1774
+ name: string;
1775
+ abbrev: string;
1776
+ conversion: {
1777
+ amount: number;
1778
+ precision: number;
1779
+ };
1780
+ }[];
1781
+ };
1782
+ code: string;
1783
+ _id: string;
1784
+ name: string;
1785
+ };
1786
+ code: string;
1787
+ name: string;
1788
+ quantity: {
1789
+ amount: number;
1790
+ precision: number;
1791
+ };
1792
+ quantityStep: {
1793
+ amount: number;
1794
+ precision: number;
1795
+ };
1796
+ minimumQuantity: {
1797
+ amount: number;
1798
+ precision: number;
1799
+ };
1800
+ maximumQuantity: {
1801
+ amount: number;
1802
+ precision: number;
1803
+ };
1804
+ }[];
1805
+ supplier: {
1806
+ phoneNumber?: string | null | undefined;
1807
+ email?: string | null | undefined;
1808
+ _rev?: string | null | undefined;
1809
+ internal?: "restaurant" | "warehouse" | null | undefined;
1810
+ contactName?: string | null | undefined;
1811
+ registrationNumber?: string | undefined;
1812
+ supplyItems?: {
1813
+ defaultCost: {
1814
+ measurement?: {
1815
+ id: string;
1816
+ name: string;
1817
+ abbrev: string;
1818
+ conversion: {
1819
+ amount: number;
1820
+ precision: number;
1821
+ };
1822
+ } | null | undefined;
1823
+ costPerUnit: {
1824
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1825
+ amount: number;
1826
+ precision: number;
1827
+ };
1828
+ };
1829
+ skuId: string;
1830
+ }[] | null | undefined;
1831
+ _id: string;
1832
+ name: string;
1833
+ address: {
1834
+ line2?: string | null | undefined;
1835
+ line1: string;
1836
+ state: string;
1837
+ city: string;
1838
+ postcode: string;
1839
+ country: string;
1840
+ };
1841
+ };
1842
+ };
1843
+ }[]>;
1844
+ loading: import("vue").Ref<boolean, boolean>;
1845
+ fetchTemplates: () => Promise<void>;
1846
+ loadTemplate: (templateId: string) => Promise<void>;
1847
+ }, never>, Pick<{
1848
+ columnDefs: ColumnDef<{
1849
+ _rev?: string | null | undefined;
1850
+ locations?: {
1851
+ type: "restaurant" | "warehouse";
1852
+ name: string;
1853
+ acceptRequest: boolean;
1854
+ dbName: string;
1855
+ doc: {
1856
+ _id: string;
1857
+ businessId: string;
1858
+ profile: {
1859
+ code?: string | null | undefined;
1860
+ _id?: string | null | undefined;
1861
+ name?: string | undefined;
1862
+ address?: {
1863
+ coordinates?: number[] | null | undefined;
1864
+ line2?: string | null | undefined;
1865
+ state: string;
1866
+ country: string;
1867
+ line1: string;
1868
+ city: string;
1869
+ postcode: string;
1870
+ } | undefined;
1871
+ email?: string | undefined;
1872
+ regNo?: string | undefined;
1873
+ sstRegNo?: string | null | undefined;
1874
+ phoneNo?: string | undefined;
1875
+ legalName?: string | null | undefined;
1876
+ discovery?: boolean | null | undefined;
1877
+ coverPhoto?: string | null | undefined;
1878
+ thumbnailPhoto?: string | null | undefined;
1879
+ description?: string | null | undefined;
1880
+ photos?: string[] | null | undefined;
1881
+ operatingHours?: {
1882
+ 0: {
1883
+ hours: {
1884
+ end: string;
1885
+ start: string;
1886
+ }[];
1887
+ enable: boolean;
1888
+ };
1889
+ 2: {
1890
+ hours: {
1891
+ end: string;
1892
+ start: string;
1893
+ }[];
1894
+ enable: boolean;
1895
+ };
1896
+ 1: {
1897
+ hours: {
1898
+ end: string;
1899
+ start: string;
1900
+ }[];
1901
+ enable: boolean;
1902
+ };
1903
+ 3: {
1904
+ hours: {
1905
+ end: string;
1906
+ start: string;
1907
+ }[];
1908
+ enable: boolean;
1909
+ };
1910
+ 4: {
1911
+ hours: {
1912
+ end: string;
1913
+ start: string;
1914
+ }[];
1915
+ enable: boolean;
1916
+ };
1917
+ 5: {
1918
+ hours: {
1919
+ end: string;
1920
+ start: string;
1921
+ }[];
1922
+ enable: boolean;
1923
+ };
1924
+ 6: {
1925
+ hours: {
1926
+ end: string;
1927
+ start: string;
1928
+ }[];
1929
+ enable: boolean;
1930
+ };
1931
+ } | null | undefined;
1932
+ tags?: string[] | null | undefined;
1933
+ url?: string | null | undefined;
1934
+ };
1935
+ };
1936
+ }[] | null | undefined;
1937
+ _id: string;
1938
+ name: string;
1939
+ purchaseOrder: {
1940
+ remark?: string | null | undefined;
1941
+ ref?: string | null | undefined;
1942
+ items: {
1943
+ measurement?: {
1944
+ id: string;
1312
1945
  name: string;
1946
+ abbrev: string;
1947
+ conversion: {
1948
+ amount: number;
1949
+ precision: number;
1950
+ };
1951
+ } | null | undefined;
1952
+ totalCost?: {
1953
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1954
+ amount: number;
1955
+ precision: number;
1956
+ } | null | undefined;
1957
+ sku: {
1958
+ trackingMeasurement?: string | null | undefined;
1959
+ convert?: {
1960
+ measurement?: string | null | undefined;
1961
+ inventoryBindings?: {
1962
+ measurement?: {
1963
+ id: string;
1964
+ name: string;
1965
+ abbrev: string;
1966
+ conversion: {
1967
+ amount: number;
1968
+ precision: number;
1969
+ };
1970
+ } | null | undefined;
1971
+ type: "RECIPE" | "SKU";
1972
+ amount: {
1973
+ amount: number;
1974
+ precision: number;
1975
+ };
1976
+ id: string;
1977
+ }[] | null | undefined;
1978
+ } | null | undefined;
1979
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1980
+ defaultCost?: {
1981
+ measurement?: {
1982
+ id: string;
1983
+ name: string;
1984
+ abbrev: string;
1985
+ conversion: {
1986
+ amount: number;
1987
+ precision: number;
1988
+ };
1989
+ } | null | undefined;
1990
+ costPerUnit: {
1991
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
1992
+ amount: number;
1993
+ precision: number;
1994
+ };
1995
+ } | null | undefined;
1996
+ thresholds?: {
1997
+ low: number;
1998
+ mid: number;
1999
+ } | null | undefined;
2000
+ operationalGroup?: string | null | undefined;
2001
+ unit: {
2002
+ _id: string;
2003
+ name: string;
2004
+ abbrev: string;
2005
+ precision: number;
2006
+ measurements: {
2007
+ id: string;
2008
+ name: string;
2009
+ abbrev: string;
2010
+ conversion: {
2011
+ amount: number;
2012
+ precision: number;
2013
+ };
2014
+ }[];
2015
+ };
2016
+ code: string;
1313
2017
  _id: string;
1314
- ownerId: string;
1315
- restaurantQuota: number;
1316
- warehouseQuota: number;
1317
- menuVersion: string;
1318
- } | null | undefined;
1319
- _id: string;
1320
- businessId: string;
1321
- profile: {
1322
- email?: string | null | undefined;
1323
- phoneNo?: string | null | undefined;
1324
2018
  name: string;
1325
- address: {
1326
- coordinates?: number[] | null | undefined;
1327
- line2?: string | null | undefined;
1328
- state: string;
1329
- country: string;
1330
- line1: string;
1331
- city: string;
1332
- postcode: string;
1333
- };
1334
- regNo: string;
1335
2019
  };
1336
- };
1337
- })[] | null | undefined;
1338
- _id: string;
1339
- name: string;
1340
- purchaseOrder: {
1341
- remark?: string | null | undefined;
1342
- ref?: string | null | undefined;
1343
- supplier?: {
2020
+ code: string;
2021
+ name: string;
2022
+ quantity: {
2023
+ amount: number;
2024
+ precision: number;
2025
+ };
2026
+ quantityStep: {
2027
+ amount: number;
2028
+ precision: number;
2029
+ };
2030
+ minimumQuantity: {
2031
+ amount: number;
2032
+ precision: number;
2033
+ };
2034
+ maximumQuantity: {
2035
+ amount: number;
2036
+ precision: number;
2037
+ };
2038
+ }[];
2039
+ supplier: {
1344
2040
  phoneNumber?: string | null | undefined;
1345
2041
  email?: string | null | undefined;
1346
2042
  _rev?: string | null | undefined;
@@ -1376,10 +2072,103 @@ export declare function useTransferTemplateTable(): {
1376
2072
  postcode: string;
1377
2073
  country: string;
1378
2074
  };
1379
- } | undefined;
1380
- template?: string | null | undefined;
1381
- stockSnapshotId?: string | null | undefined;
1382
- effectiveAt?: string | null | undefined;
2075
+ };
2076
+ };
2077
+ }>[];
2078
+ templates: import("vue").Ref<{
2079
+ _rev: string;
2080
+ locations?: {
2081
+ type: "restaurant" | "warehouse";
2082
+ name: string;
2083
+ acceptRequest: boolean;
2084
+ dbName: string;
2085
+ doc: {
2086
+ _id: string;
2087
+ businessId: string;
2088
+ profile: {
2089
+ code?: string | null | undefined;
2090
+ _id?: string | null | undefined;
2091
+ name?: string | undefined;
2092
+ address?: {
2093
+ coordinates?: number[] | null | undefined;
2094
+ line2?: string | null | undefined;
2095
+ state: string;
2096
+ country: string;
2097
+ line1: string;
2098
+ city: string;
2099
+ postcode: string;
2100
+ } | undefined;
2101
+ email?: string | undefined;
2102
+ regNo?: string | undefined;
2103
+ sstRegNo?: string | null | undefined;
2104
+ phoneNo?: string | undefined;
2105
+ legalName?: string | null | undefined;
2106
+ discovery?: boolean | null | undefined;
2107
+ coverPhoto?: string | null | undefined;
2108
+ thumbnailPhoto?: string | null | undefined;
2109
+ description?: string | null | undefined;
2110
+ photos?: string[] | null | undefined;
2111
+ operatingHours?: {
2112
+ 0: {
2113
+ hours: {
2114
+ end: string;
2115
+ start: string;
2116
+ }[];
2117
+ enable: boolean;
2118
+ };
2119
+ 2: {
2120
+ hours: {
2121
+ end: string;
2122
+ start: string;
2123
+ }[];
2124
+ enable: boolean;
2125
+ };
2126
+ 1: {
2127
+ hours: {
2128
+ end: string;
2129
+ start: string;
2130
+ }[];
2131
+ enable: boolean;
2132
+ };
2133
+ 3: {
2134
+ hours: {
2135
+ end: string;
2136
+ start: string;
2137
+ }[];
2138
+ enable: boolean;
2139
+ };
2140
+ 4: {
2141
+ hours: {
2142
+ end: string;
2143
+ start: string;
2144
+ }[];
2145
+ enable: boolean;
2146
+ };
2147
+ 5: {
2148
+ hours: {
2149
+ end: string;
2150
+ start: string;
2151
+ }[];
2152
+ enable: boolean;
2153
+ };
2154
+ 6: {
2155
+ hours: {
2156
+ end: string;
2157
+ start: string;
2158
+ }[];
2159
+ enable: boolean;
2160
+ };
2161
+ } | null | undefined;
2162
+ tags?: string[] | null | undefined;
2163
+ url?: string | null | undefined;
2164
+ };
2165
+ };
2166
+ }[] | null | undefined;
2167
+ _id: string;
2168
+ name: string;
2169
+ purchaseOrder: {
2170
+ remark?: string | null | undefined;
2171
+ ref?: string | null | undefined;
1383
2172
  items: {
1384
2173
  measurement?: {
1385
2174
  id: string;
@@ -1477,116 +2266,7 @@ export declare function useTransferTemplateTable(): {
1477
2266
  precision: number;
1478
2267
  };
1479
2268
  }[];
1480
- };
1481
- }[] | {
1482
- _rev?: string | null | undefined;
1483
- locations?: ({
1484
- doc?: any;
1485
- type: "restaurant";
1486
- name: string;
1487
- acceptRequest: boolean;
1488
- dbName: string;
1489
- } | {
1490
- type: "warehouse";
1491
- name: string;
1492
- acceptRequest: boolean;
1493
- dbName: string;
1494
- doc: {
1495
- pf_business?: {
1496
- internal?: boolean | null | undefined;
1497
- url?: string | null | undefined;
1498
- expiredAt?: string | null | undefined;
1499
- agentId?: string | null | undefined;
1500
- restaurantTagGroups?: {
1501
- name: string;
1502
- id: string;
1503
- tags: {
1504
- name: string;
1505
- id: string;
1506
- }[];
1507
- }[] | null | undefined;
1508
- pf_agent?: {
1509
- clickupId?: string | null | undefined;
1510
- members?: {
1511
- pf_user?: {
1512
- email?: string | null | undefined;
1513
- phoneNumber?: string | null | undefined;
1514
- birthday?: string | null | undefined;
1515
- gender?: "MALE" | "FEMALE" | null | undefined;
1516
- addresses?: {
1517
- name: string;
1518
- address: string;
1519
- coordinates: number[];
1520
- }[] | null | undefined;
1521
- photoURL?: string | null | undefined;
1522
- displayName?: string | null | undefined;
1523
- imported?: {
1524
- raw: Record<string, any>;
1525
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1526
- } | null | undefined;
1527
- _id: string;
1528
- } | null | undefined;
1529
- role: "ADMIN";
1530
- userId: string;
1531
- }[] | null | undefined;
1532
- code: string;
1533
- name: string;
1534
- _id: string;
1535
- isReseller: boolean;
1536
- } | null | undefined;
1537
- thumbnail?: string | null | undefined;
1538
- billingInfos?: {
1539
- _id?: string | null | undefined;
1540
- name: string;
1541
- address: {
1542
- coordinates?: number[] | null | undefined;
1543
- line2?: string | null | undefined;
1544
- state: string;
1545
- country: string;
1546
- line1: string;
1547
- city: string;
1548
- postcode: string;
1549
- };
1550
- email: string;
1551
- companyName: string;
1552
- contact: string;
1553
- }[] | null | undefined;
1554
- customerDisplayImages?: {
1555
- url: string;
1556
- restaurantIds: string[];
1557
- }[] | null | undefined;
1558
- name: string;
1559
- _id: string;
1560
- ownerId: string;
1561
- restaurantQuota: number;
1562
- warehouseQuota: number;
1563
- menuVersion: string;
1564
- } | null | undefined;
1565
- _id: string;
1566
- businessId: string;
1567
- profile: {
1568
- email?: string | null | undefined;
1569
- phoneNo?: string | null | undefined;
1570
- name: string;
1571
- address: {
1572
- coordinates?: number[] | null | undefined;
1573
- line2?: string | null | undefined;
1574
- state: string;
1575
- country: string;
1576
- line1: string;
1577
- city: string;
1578
- postcode: string;
1579
- };
1580
- regNo: string;
1581
- };
1582
- };
1583
- })[] | null | undefined;
1584
- _id: string;
1585
- name: string;
1586
- purchaseOrder: {
1587
- remark?: string | null | undefined;
1588
- ref?: string | null | undefined;
1589
- supplier?: {
2269
+ supplier: {
1590
2270
  phoneNumber?: string | null | undefined;
1591
2271
  email?: string | null | undefined;
1592
2272
  _rev?: string | null | undefined;
@@ -1622,10 +2302,102 @@ export declare function useTransferTemplateTable(): {
1622
2302
  postcode: string;
1623
2303
  country: string;
1624
2304
  };
1625
- } | undefined;
1626
- template?: string | null | undefined;
1627
- stockSnapshotId?: string | null | undefined;
1628
- effectiveAt?: string | null | undefined;
2305
+ };
2306
+ };
2307
+ }[], ({
2308
+ _rev?: string | null | undefined;
2309
+ locations?: {
2310
+ type: "restaurant" | "warehouse";
2311
+ name: string;
2312
+ acceptRequest: boolean;
2313
+ dbName: string;
2314
+ doc: {
2315
+ _id: string;
2316
+ businessId: string;
2317
+ profile: {
2318
+ code?: string | null | undefined;
2319
+ _id?: string | null | undefined;
2320
+ name?: string | undefined;
2321
+ address?: {
2322
+ coordinates?: number[] | null | undefined;
2323
+ line2?: string | null | undefined;
2324
+ state: string;
2325
+ country: string;
2326
+ line1: string;
2327
+ city: string;
2328
+ postcode: string;
2329
+ } | undefined;
2330
+ email?: string | undefined;
2331
+ regNo?: string | undefined;
2332
+ sstRegNo?: string | null | undefined;
2333
+ phoneNo?: string | undefined;
2334
+ legalName?: string | null | undefined;
2335
+ discovery?: boolean | null | undefined;
2336
+ coverPhoto?: string | null | undefined;
2337
+ thumbnailPhoto?: string | null | undefined;
2338
+ description?: string | null | undefined;
2339
+ photos?: string[] | null | undefined;
2340
+ operatingHours?: {
2341
+ 0: {
2342
+ hours: {
2343
+ end: string;
2344
+ start: string;
2345
+ }[];
2346
+ enable: boolean;
2347
+ };
2348
+ 2: {
2349
+ hours: {
2350
+ end: string;
2351
+ start: string;
2352
+ }[];
2353
+ enable: boolean;
2354
+ };
2355
+ 1: {
2356
+ hours: {
2357
+ end: string;
2358
+ start: string;
2359
+ }[];
2360
+ enable: boolean;
2361
+ };
2362
+ 3: {
2363
+ hours: {
2364
+ end: string;
2365
+ start: string;
2366
+ }[];
2367
+ enable: boolean;
2368
+ };
2369
+ 4: {
2370
+ hours: {
2371
+ end: string;
2372
+ start: string;
2373
+ }[];
2374
+ enable: boolean;
2375
+ };
2376
+ 5: {
2377
+ hours: {
2378
+ end: string;
2379
+ start: string;
2380
+ }[];
2381
+ enable: boolean;
2382
+ };
2383
+ 6: {
2384
+ hours: {
2385
+ end: string;
2386
+ start: string;
2387
+ }[];
2388
+ enable: boolean;
2389
+ };
2390
+ } | null | undefined;
2391
+ tags?: string[] | null | undefined;
2392
+ url?: string | null | undefined;
2393
+ };
2394
+ };
2395
+ }[] | null | undefined;
2396
+ _id: string;
2397
+ name: string;
2398
+ purchaseOrder: {
2399
+ remark?: string | null | undefined;
2400
+ ref?: string | null | undefined;
1629
2401
  items: {
1630
2402
  measurement?: {
1631
2403
  id: string;
@@ -1723,117 +2495,7 @@ export declare function useTransferTemplateTable(): {
1723
2495
  precision: number;
1724
2496
  };
1725
2497
  }[];
1726
- };
1727
- }[]>;
1728
- templates: import("vue").ComputedRef<{
1729
- _rev?: string | null | undefined;
1730
- locations?: ({
1731
- doc?: any;
1732
- type: "restaurant";
1733
- name: string;
1734
- acceptRequest: boolean;
1735
- dbName: string;
1736
- } | {
1737
- type: "warehouse";
1738
- name: string;
1739
- acceptRequest: boolean;
1740
- dbName: string;
1741
- doc: {
1742
- pf_business?: {
1743
- internal?: boolean | null | undefined;
1744
- url?: string | null | undefined;
1745
- expiredAt?: string | null | undefined;
1746
- agentId?: string | null | undefined;
1747
- restaurantTagGroups?: {
1748
- name: string;
1749
- id: string;
1750
- tags: {
1751
- name: string;
1752
- id: string;
1753
- }[];
1754
- }[] | null | undefined;
1755
- pf_agent?: {
1756
- clickupId?: string | null | undefined;
1757
- members?: {
1758
- pf_user?: {
1759
- email?: string | null | undefined;
1760
- phoneNumber?: string | null | undefined;
1761
- birthday?: string | null | undefined;
1762
- gender?: "MALE" | "FEMALE" | null | undefined;
1763
- addresses?: {
1764
- name: string;
1765
- address: string;
1766
- coordinates: number[];
1767
- }[] | null | undefined;
1768
- photoURL?: string | null | undefined;
1769
- displayName?: string | null | undefined;
1770
- imported?: {
1771
- raw: Record<string, any>;
1772
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
1773
- } | null | undefined;
1774
- _id: string;
1775
- } | null | undefined;
1776
- role: "ADMIN";
1777
- userId: string;
1778
- }[] | null | undefined;
1779
- code: string;
1780
- name: string;
1781
- _id: string;
1782
- isReseller: boolean;
1783
- } | null | undefined;
1784
- thumbnail?: string | null | undefined;
1785
- billingInfos?: {
1786
- _id?: string | null | undefined;
1787
- name: string;
1788
- address: {
1789
- coordinates?: number[] | null | undefined;
1790
- line2?: string | null | undefined;
1791
- state: string;
1792
- country: string;
1793
- line1: string;
1794
- city: string;
1795
- postcode: string;
1796
- };
1797
- email: string;
1798
- companyName: string;
1799
- contact: string;
1800
- }[] | null | undefined;
1801
- customerDisplayImages?: {
1802
- url: string;
1803
- restaurantIds: string[];
1804
- }[] | null | undefined;
1805
- name: string;
1806
- _id: string;
1807
- ownerId: string;
1808
- restaurantQuota: number;
1809
- warehouseQuota: number;
1810
- menuVersion: string;
1811
- } | null | undefined;
1812
- _id: string;
1813
- businessId: string;
1814
- profile: {
1815
- email?: string | null | undefined;
1816
- phoneNo?: string | null | undefined;
1817
- name: string;
1818
- address: {
1819
- coordinates?: number[] | null | undefined;
1820
- line2?: string | null | undefined;
1821
- state: string;
1822
- country: string;
1823
- line1: string;
1824
- city: string;
1825
- postcode: string;
1826
- };
1827
- regNo: string;
1828
- };
1829
- };
1830
- })[] | null | undefined;
1831
- _id: string;
1832
- name: string;
1833
- purchaseOrder: {
1834
- remark?: string | null | undefined;
1835
- ref?: string | null | undefined;
1836
- supplier?: {
2498
+ supplier: {
1837
2499
  phoneNumber?: string | null | undefined;
1838
2500
  email?: string | null | undefined;
1839
2501
  _rev?: string | null | undefined;
@@ -1869,10 +2531,102 @@ export declare function useTransferTemplateTable(): {
1869
2531
  postcode: string;
1870
2532
  country: string;
1871
2533
  };
1872
- } | undefined;
1873
- template?: string | null | undefined;
1874
- stockSnapshotId?: string | null | undefined;
1875
- effectiveAt?: string | null | undefined;
2534
+ };
2535
+ };
2536
+ } & RevisionIdMeta)[] | {
2537
+ _rev: string;
2538
+ locations?: {
2539
+ type: "restaurant" | "warehouse";
2540
+ name: string;
2541
+ acceptRequest: boolean;
2542
+ dbName: string;
2543
+ doc: {
2544
+ _id: string;
2545
+ businessId: string;
2546
+ profile: {
2547
+ code?: string | null | undefined;
2548
+ _id?: string | null | undefined;
2549
+ name?: string | undefined;
2550
+ address?: {
2551
+ coordinates?: number[] | null | undefined;
2552
+ line2?: string | null | undefined;
2553
+ state: string;
2554
+ country: string;
2555
+ line1: string;
2556
+ city: string;
2557
+ postcode: string;
2558
+ } | undefined;
2559
+ email?: string | undefined;
2560
+ regNo?: string | undefined;
2561
+ sstRegNo?: string | null | undefined;
2562
+ phoneNo?: string | undefined;
2563
+ legalName?: string | null | undefined;
2564
+ discovery?: boolean | null | undefined;
2565
+ coverPhoto?: string | null | undefined;
2566
+ thumbnailPhoto?: string | null | undefined;
2567
+ description?: string | null | undefined;
2568
+ photos?: string[] | null | undefined;
2569
+ operatingHours?: {
2570
+ 0: {
2571
+ hours: {
2572
+ end: string;
2573
+ start: string;
2574
+ }[];
2575
+ enable: boolean;
2576
+ };
2577
+ 2: {
2578
+ hours: {
2579
+ end: string;
2580
+ start: string;
2581
+ }[];
2582
+ enable: boolean;
2583
+ };
2584
+ 1: {
2585
+ hours: {
2586
+ end: string;
2587
+ start: string;
2588
+ }[];
2589
+ enable: boolean;
2590
+ };
2591
+ 3: {
2592
+ hours: {
2593
+ end: string;
2594
+ start: string;
2595
+ }[];
2596
+ enable: boolean;
2597
+ };
2598
+ 4: {
2599
+ hours: {
2600
+ end: string;
2601
+ start: string;
2602
+ }[];
2603
+ enable: boolean;
2604
+ };
2605
+ 5: {
2606
+ hours: {
2607
+ end: string;
2608
+ start: string;
2609
+ }[];
2610
+ enable: boolean;
2611
+ };
2612
+ 6: {
2613
+ hours: {
2614
+ end: string;
2615
+ start: string;
2616
+ }[];
2617
+ enable: boolean;
2618
+ };
2619
+ } | null | undefined;
2620
+ tags?: string[] | null | undefined;
2621
+ url?: string | null | undefined;
2622
+ };
2623
+ };
2624
+ }[] | null | undefined;
2625
+ _id: string;
2626
+ name: string;
2627
+ purchaseOrder: {
2628
+ remark?: string | null | undefined;
2629
+ ref?: string | null | undefined;
1876
2630
  items: {
1877
2631
  measurement?: {
1878
2632
  id: string;
@@ -1970,9 +2724,46 @@ export declare function useTransferTemplateTable(): {
1970
2724
  precision: number;
1971
2725
  };
1972
2726
  }[];
2727
+ supplier: {
2728
+ phoneNumber?: string | null | undefined;
2729
+ email?: string | null | undefined;
2730
+ _rev?: string | null | undefined;
2731
+ internal?: "restaurant" | "warehouse" | null | undefined;
2732
+ contactName?: string | null | undefined;
2733
+ registrationNumber?: string | undefined;
2734
+ supplyItems?: {
2735
+ defaultCost: {
2736
+ measurement?: {
2737
+ id: string;
2738
+ name: string;
2739
+ abbrev: string;
2740
+ conversion: {
2741
+ amount: number;
2742
+ precision: number;
2743
+ };
2744
+ } | null | undefined;
2745
+ costPerUnit: {
2746
+ currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
2747
+ amount: number;
2748
+ precision: number;
2749
+ };
2750
+ };
2751
+ skuId: string;
2752
+ }[] | null | undefined;
2753
+ _id: string;
2754
+ name: string;
2755
+ address: {
2756
+ line2?: string | null | undefined;
2757
+ line1: string;
2758
+ state: string;
2759
+ city: string;
2760
+ postcode: string;
2761
+ country: string;
2762
+ };
2763
+ };
1973
2764
  };
1974
2765
  }[]>;
1975
2766
  loading: import("vue").Ref<boolean, boolean>;
1976
2767
  fetchTemplates: () => Promise<void>;
1977
2768
  loadTemplate: (templateId: string) => Promise<void>;
1978
- };
2769
+ }, "fetchTemplates" | "loadTemplate">>;