@feedmepos/mf-inventory-portal 0.0.22-dev.9 → 0.0.23-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/App-Y3Ez8Rjf.js +255 -0
  2. package/dist/ApprovalView-BUU1G4Q2.js +141 -0
  3. package/dist/{BindingsDialog-GzX9Bo2g.js → BindingsDialog-8wc4Q0JQ.js} +13 -12
  4. package/dist/{BindingsPicker-SbOetc0-.js → BindingsPicker-DGWN1LQc.js} +19 -18
  5. package/dist/{BindingsTable-CAcE5y8U.js → BindingsTable-7NJP2jT6.js} +20 -16
  6. package/dist/ClosingTemplateView-9s7vmwaT.js +1833 -0
  7. package/dist/FmDroppableField-8RzKjEdL.js +154 -0
  8. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B4DDh9-a.js +267 -0
  9. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-5DINn0ZB.js +436 -0
  10. package/dist/FmMultiselectDialog-7hok9sJP.js +411 -0
  11. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-CxR1FCft.js +326 -0
  12. package/dist/IngredientBindedItem.vue_vue_type_script_setup_true_lang-FQ0HjuL3.js +51 -0
  13. package/dist/IngredientGroupView-C3maHTCg.js +610 -0
  14. package/dist/IngredientsView-DCR3IBkR.js +1613 -0
  15. package/dist/IntegrationView-gO4h89Wj.js +1227 -0
  16. package/dist/InventoryBindingForm-dh3GeyG-.js +4 -0
  17. package/dist/InventoryBindingForm.vue_vue_type_script_setup_true_lang-CJuo3i7W.js +278 -0
  18. package/dist/InventoryBindingSummary-BPoPcEoe.js +75 -0
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-1FCwvO8A.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-olm8sZKt.js} +1 -1
  20. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-BezTV43V.js +116 -0
  21. package/dist/{PurchaseOrderPrintPreview-5HIWHR_f.js → PurchaseOrderPrintPreview-Dix_fIoo.js} +14 -13
  22. package/dist/ReceiveRequestView-DdPiYb2P.js +4082 -0
  23. package/dist/RecipeView-C4-a4IEW.js +597 -0
  24. package/dist/Standalone.vue.d.ts +2 -0
  25. package/dist/StockView-Du2txrIP.js +7778 -0
  26. package/dist/SupplierView-D_09FbQh.js +1474 -0
  27. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9MOos--.js +1144 -0
  28. package/dist/TransferTemplateView-j3CRy6Lc.js +1262 -0
  29. package/dist/{UnitView-BpU0Yk7X.js → UnitView-BXw2Vwq1.js} +30 -29
  30. package/dist/{WarehouseView-DqxWgogc.js → WarehouseView-CKamiETC.js} +205 -202
  31. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  32. package/dist/api/bill.d.ts +86 -240
  33. package/dist/api/closing-template.d.ts +6 -4
  34. package/dist/api/inventory.d.ts +281 -88
  35. package/dist/api/netsuite.d.ts +32 -1
  36. package/dist/api/purchase-order-template.d.ts +4 -2
  37. package/dist/api/supplier.d.ts +1 -0
  38. package/dist/app-GUbzqEtW.js +33456 -0
  39. package/dist/app.d.ts +259 -6
  40. package/dist/app.js +8 -7
  41. package/dist/array-hChJVZLE.js +43 -0
  42. package/dist/components/FmFilterableMenuOptions.vue.d.ts +54 -0
  43. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  44. package/dist/components/FmMultiselectDialog.vue.d.ts +3 -9
  45. package/dist/components/FmMultiselectDialogProps.d.ts +0 -2
  46. package/dist/components/FmUnitInputRules.d.ts +2 -0
  47. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +5 -5
  48. package/dist/components/map/GoogleMap.vue.d.ts +4 -4
  49. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
  50. package/dist/components/shell/inventory/binding-ui.vue.d.ts +2 -2
  51. package/dist/date2-CLE9fB2R.js +117 -0
  52. package/dist/dayjs.min-CY1d38w7.js +282 -0
  53. package/dist/{decimal-DWbwRn_v.js → decimal-SIjO6Mjw.js} +1 -1
  54. package/dist/defineDeepModel-l40rX7kr.js +13 -0
  55. package/dist/extensions/array.d.ts +1 -0
  56. package/dist/feature-BXruKUhX.js +78 -0
  57. package/dist/{format-time-from-id-BnmaRuab.js → format-time-from-id-CcFsBXmk.js} +1 -1
  58. package/dist/format-unit-display-DEKg8cJm.js +1198 -0
  59. package/dist/fuzzy-CVOV9zJc.js +41 -0
  60. package/dist/googlemap-Dm8ERVai.js +97 -0
  61. package/dist/helper/rules.d.ts +7 -0
  62. package/dist/helper/rules.spec.d.ts +1 -0
  63. package/dist/helper/xlsx.util.d.ts +7 -0
  64. package/dist/index-BX5KZXhI.js +22279 -0
  65. package/dist/index-CVsyOEb1.js +10545 -0
  66. package/dist/index-m9e9nYfl.js +45 -0
  67. package/dist/netsuite-DAKRv7zr.js +146 -0
  68. package/dist/normalizeArguments-DP7Hrren.js +1552 -0
  69. package/dist/router/name.d.ts +1 -0
  70. package/dist/rules-DlnN8IP3.js +198 -0
  71. package/dist/stores/integration/foodmarkethub.d.ts +391 -0
  72. package/dist/stores/integration/index.d.ts +7 -0
  73. package/dist/stores/integration/netsuite.d.ts +102 -0
  74. package/dist/stores/inventory.d.ts +295 -9
  75. package/dist/stores/location.d.ts +508 -485
  76. package/dist/stores/supplier.d.ts +124 -4
  77. package/dist/stores/warehouse.d.ts +7 -4
  78. package/dist/style.css +1 -1
  79. package/dist/supplier-B21WlSAM.js +77 -0
  80. package/dist/tsconfig.app.tsbuildinfo +1 -1
  81. package/dist/use-inventory-binding-dialog-D3x6xj2O.js +95 -0
  82. package/dist/{use-template-enabled-locations-2-ClBq9FjN.js → use-template-enabled-locations-2-z-b-UXef.js} +9 -8
  83. package/dist/useTabStorage-BkIVScW_.js +25 -0
  84. package/dist/views/closing-template/closing-template-import/ClosingTemplateImport.vue.d.ts +2 -0
  85. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItem.vue.d.ts +12 -0
  86. package/dist/views/closing-template/closing-template-import/ClosingTemplateImportItemProps.d.ts +7 -0
  87. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  88. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +877 -1002
  89. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +882 -1013
  90. package/dist/views/closing-template/helpers/import-export.helper.d.ts +58 -0
  91. package/dist/views/ingredient-group/IngredientGroupView.vue.d.ts +3 -0
  92. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialog.vue.d.ts +31 -0
  93. package/dist/views/ingredient-group/components/ingredient-group-dialog/IngredientGroupDialogProps.d.ts +12 -0
  94. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupForm.vue.d.ts +20 -0
  95. package/dist/views/ingredient-group/components/ingredient-group-form/IngredientGroupFormProps.d.ts +12 -0
  96. package/dist/views/ingredient-group/composables/use-ingredient-group-actions.d.ts +24 -0
  97. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +215 -0
  98. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
  99. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  100. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
  101. package/dist/views/ingredients/composables/use-ingredient-form.d.ts +2 -2
  102. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  103. package/dist/views/integration/FoodMarketHub.vue.d.ts +2 -0
  104. package/dist/views/integration/NetSuite.vue.d.ts +2 -0
  105. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +7 -7
  106. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +7 -7
  107. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  108. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +49 -0
  109. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +1913 -53
  110. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  111. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -2
  112. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -1
  113. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +2370 -327
  114. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +2304 -261
  115. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
  116. package/dist/views/recipe/composables/use-recipe-form.d.ts +2 -2
  117. package/dist/views/stock/components/StockRecordCard.vue.d.ts +43 -120
  118. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +34 -4
  119. package/dist/views/stock/composables/use-stock-action.d.ts +2 -2
  120. package/dist/views/stock/helper/compute-summary-total.d.ts +2 -2
  121. package/dist/views/supplier/components/supplier-import/SupplierImport.vue.d.ts +2 -0
  122. package/dist/views/supplier/components/supplier-import/SupplierImportItem.vue.d.ts +12 -0
  123. package/dist/views/supplier/components/supplier-import/SupplierImportItemProps.d.ts +6 -0
  124. package/dist/views/supplier/composables/use-supplier-actions.d.ts +10 -0
  125. package/dist/views/supplier/helpers/import-export.helper.d.ts +50 -0
  126. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +0 -2
  127. package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +0 -1
  128. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +71 -82
  129. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +38 -1
  130. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -1
  131. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImport.vue.d.ts +2 -0
  132. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItem.vue.d.ts +12 -0
  133. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +9 -0
  134. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1279 -1528
  135. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +2207 -446
  136. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +76 -0
  137. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +1 -251
  138. package/dist/views/transfer-template/helpers/template-item.error.helper.d.ts +1 -0
  139. package/dist/views/unit/composables/use-unit-form.d.ts +2 -2
  140. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +14 -8
  141. package/dist/{xlsx-DiOKvJ6l.js → xlsx-6mM1eNiL.js} +1525 -1525
  142. package/dist/xlsx.util-BLftcF4q.js +78 -0
  143. package/package.json +7 -4
  144. package/dist/ApprovalView-BPsScR5_.js +0 -129
  145. package/dist/ClosingTemplateView-DECwEnlK.js +0 -1066
  146. package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnogYrRE.js +0 -372
  147. package/dist/IngredientsView-8fT1Ljd5.js +0 -1758
  148. package/dist/IntegrationView-CjGLRM78.js +0 -1141
  149. package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-DlhNc8Vk.js +0 -88
  150. package/dist/ReceiveRequestView-CXZv8g5U.js +0 -215
  151. package/dist/RecipeView-sB0Lgmob.js +0 -581
  152. package/dist/StockView-CY2kNohB.js +0 -1892
  153. package/dist/SupplierView-DTqeZPts.js +0 -827
  154. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BBby29tW.js +0 -762
  155. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-ByNQap9n.js +0 -1498
  156. package/dist/TransferTemplateView-DkRVfAox.js +0 -1277
  157. package/dist/app-BuyAj4kw.js +0 -69068
  158. package/dist/defineDeepModel-DuVmbMwq.js +0 -13
  159. package/dist/id-to-date-CI5Vv0Ji.js +0 -30
  160. package/dist/purchase-order-transaction-type-DrFJFvtK.js +0 -676
  161. package/dist/stores/netsuite.d.ts +0 -49
  162. package/dist/supplier-BQyK2eSZ.js +0 -69
  163. package/dist/xlsx.util-CZ7zYxdP.js +0 -109
@@ -1,93 +1,1631 @@
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";
6
+ locations?: {
7
+ type: "restaurant" | "warehouse";
8
8
  name: string;
9
9
  acceptRequest: boolean;
10
10
  dbName: string;
11
- } | {
12
- type: "warehouse";
11
+ doc: {
12
+ _id: string;
13
+ businessId: string;
14
+ profile: {
15
+ code?: string | null | undefined;
16
+ _id?: string | null | undefined;
17
+ name?: string | undefined;
18
+ address?: {
19
+ coordinates?: number[] | null | undefined;
20
+ line2?: string | null | undefined;
21
+ state: string;
22
+ country: string;
23
+ line1: string;
24
+ city: string;
25
+ postcode: 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;
90
+ };
91
+ };
92
+ }[] | null | undefined;
93
+ _id: string;
94
+ name: string;
95
+ purchaseOrder: {
96
+ remark?: string | null | undefined;
97
+ ref?: string | null | undefined;
98
+ items: {
99
+ measurement?: {
100
+ id: string;
101
+ name: string;
102
+ abbrev: string;
103
+ conversion: {
104
+ amount: number;
105
+ precision: number;
106
+ };
107
+ } | null | undefined;
108
+ totalCost?: {
109
+ 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";
110
+ amount: number;
111
+ precision: number;
112
+ } | null | undefined;
113
+ sku: {
114
+ trackingMeasurement?: string | null | undefined;
115
+ convert?: {
116
+ measurement?: string | null | undefined;
117
+ inventoryBindings?: {
118
+ measurement?: {
119
+ id: string;
120
+ name: string;
121
+ abbrev: string;
122
+ conversion: {
123
+ amount: number;
124
+ precision: number;
125
+ };
126
+ } | null | undefined;
127
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
128
+ amount: {
129
+ amount: number;
130
+ precision: number;
131
+ };
132
+ id: string;
133
+ }[] | null | undefined;
134
+ } | null | undefined;
135
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
136
+ defaultCost?: {
137
+ measurement?: {
138
+ id: string;
139
+ name: string;
140
+ abbrev: string;
141
+ conversion: {
142
+ amount: number;
143
+ precision: number;
144
+ };
145
+ } | null | undefined;
146
+ costPerUnit: {
147
+ 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";
148
+ amount: number;
149
+ precision: number;
150
+ };
151
+ } | null | undefined;
152
+ thresholds?: {
153
+ low: number;
154
+ mid: number;
155
+ } | null | undefined;
156
+ operationalGroup?: string | null | undefined;
157
+ unit: {
158
+ _id: string;
159
+ name: string;
160
+ abbrev: string;
161
+ precision: number;
162
+ measurements: {
163
+ id: string;
164
+ name: string;
165
+ abbrev: string;
166
+ conversion: {
167
+ amount: number;
168
+ precision: number;
169
+ };
170
+ }[];
171
+ };
172
+ code: string;
173
+ _id: string;
174
+ name: string;
175
+ };
176
+ code: string;
177
+ name: string;
178
+ quantity: {
179
+ amount: number;
180
+ precision: number;
181
+ };
182
+ quantityStep: {
183
+ amount: number;
184
+ precision: number;
185
+ };
186
+ minimumQuantity: {
187
+ amount: number;
188
+ precision: number;
189
+ };
190
+ maximumQuantity: {
191
+ amount: number;
192
+ precision: number;
193
+ };
194
+ }[];
195
+ supplier: {
196
+ phoneNumber?: string | null | undefined;
197
+ email?: string | null | undefined;
198
+ _rev?: string | null | undefined;
199
+ internal?: "restaurant" | "warehouse" | null | undefined;
200
+ contactName?: string | null | undefined;
201
+ registrationNumber?: string | undefined;
202
+ supplyItems?: {
203
+ defaultCost: {
204
+ measurement?: {
205
+ id: string;
206
+ name: string;
207
+ abbrev: string;
208
+ conversion: {
209
+ amount: number;
210
+ precision: number;
211
+ };
212
+ } | null | undefined;
213
+ costPerUnit: {
214
+ 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";
215
+ amount: number;
216
+ precision: number;
217
+ };
218
+ };
219
+ skuId: string;
220
+ }[] | null | undefined;
221
+ _id: string;
222
+ name: string;
223
+ address: {
224
+ line2?: string | null | undefined;
225
+ line1: string;
226
+ state: string;
227
+ city: string;
228
+ postcode: string;
229
+ country: string;
230
+ };
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;
328
+ items: {
329
+ measurement?: {
330
+ id: string;
331
+ name: string;
332
+ abbrev: string;
333
+ conversion: {
334
+ amount: number;
335
+ precision: number;
336
+ };
337
+ } | null | undefined;
338
+ totalCost?: {
339
+ 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";
340
+ amount: number;
341
+ precision: number;
342
+ } | null | undefined;
343
+ sku: {
344
+ trackingMeasurement?: string | null | undefined;
345
+ convert?: {
346
+ measurement?: string | null | undefined;
347
+ inventoryBindings?: {
348
+ measurement?: {
349
+ id: string;
350
+ name: string;
351
+ abbrev: string;
352
+ conversion: {
353
+ amount: number;
354
+ precision: number;
355
+ };
356
+ } | null | undefined;
357
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
358
+ amount: {
359
+ amount: number;
360
+ precision: number;
361
+ };
362
+ id: string;
363
+ }[] | null | undefined;
364
+ } | null | undefined;
365
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
366
+ defaultCost?: {
367
+ measurement?: {
368
+ id: string;
369
+ name: string;
370
+ abbrev: string;
371
+ conversion: {
372
+ amount: number;
373
+ precision: number;
374
+ };
375
+ } | null | undefined;
376
+ costPerUnit: {
377
+ 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";
378
+ amount: number;
379
+ precision: number;
380
+ };
381
+ } | null | undefined;
382
+ thresholds?: {
383
+ low: number;
384
+ mid: number;
385
+ } | null | undefined;
386
+ operationalGroup?: string | null | undefined;
387
+ unit: {
388
+ _id: string;
389
+ name: string;
390
+ abbrev: string;
391
+ precision: number;
392
+ measurements: {
393
+ id: string;
394
+ name: string;
395
+ abbrev: string;
396
+ conversion: {
397
+ amount: number;
398
+ precision: number;
399
+ };
400
+ }[];
401
+ };
402
+ code: string;
403
+ _id: string;
404
+ name: string;
405
+ };
406
+ code: string;
407
+ name: string;
408
+ quantity: {
409
+ amount: number;
410
+ precision: number;
411
+ };
412
+ quantityStep: {
413
+ amount: number;
414
+ precision: number;
415
+ };
416
+ minimumQuantity: {
417
+ amount: number;
418
+ precision: number;
419
+ };
420
+ maximumQuantity: {
421
+ amount: number;
422
+ precision: number;
423
+ };
424
+ }[];
425
+ supplier: {
426
+ phoneNumber?: string | null | undefined;
427
+ email?: string | null | undefined;
428
+ _rev?: string | null | undefined;
429
+ internal?: "restaurant" | "warehouse" | null | undefined;
430
+ contactName?: string | null | undefined;
431
+ registrationNumber?: string | undefined;
432
+ supplyItems?: {
433
+ defaultCost: {
434
+ measurement?: {
435
+ id: string;
436
+ name: string;
437
+ abbrev: string;
438
+ conversion: {
439
+ amount: number;
440
+ precision: number;
441
+ };
442
+ } | null | undefined;
443
+ costPerUnit: {
444
+ 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";
445
+ amount: number;
446
+ precision: number;
447
+ };
448
+ };
449
+ skuId: string;
450
+ }[] | null | undefined;
451
+ _id: string;
452
+ name: string;
453
+ address: {
454
+ line2?: string | null | undefined;
455
+ line1: string;
456
+ state: string;
457
+ city: string;
458
+ postcode: string;
459
+ country: string;
460
+ };
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;
557
+ items: {
558
+ measurement?: {
559
+ id: string;
560
+ name: string;
561
+ abbrev: string;
562
+ conversion: {
563
+ amount: number;
564
+ precision: number;
565
+ };
566
+ } | null | undefined;
567
+ totalCost?: {
568
+ 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";
569
+ amount: number;
570
+ precision: number;
571
+ } | null | undefined;
572
+ sku: {
573
+ trackingMeasurement?: string | null | undefined;
574
+ convert?: {
575
+ measurement?: string | null | undefined;
576
+ inventoryBindings?: {
577
+ measurement?: {
578
+ id: string;
579
+ name: string;
580
+ abbrev: string;
581
+ conversion: {
582
+ amount: number;
583
+ precision: number;
584
+ };
585
+ } | null | undefined;
586
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
587
+ amount: {
588
+ amount: number;
589
+ precision: number;
590
+ };
591
+ id: string;
592
+ }[] | null | undefined;
593
+ } | null | undefined;
594
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
595
+ defaultCost?: {
596
+ measurement?: {
597
+ id: string;
598
+ name: string;
599
+ abbrev: string;
600
+ conversion: {
601
+ amount: number;
602
+ precision: number;
603
+ };
604
+ } | null | undefined;
605
+ costPerUnit: {
606
+ 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";
607
+ amount: number;
608
+ precision: number;
609
+ };
610
+ } | null | undefined;
611
+ thresholds?: {
612
+ low: number;
613
+ mid: number;
614
+ } | null | undefined;
615
+ operationalGroup?: string | null | undefined;
616
+ unit: {
617
+ _id: string;
618
+ name: string;
619
+ abbrev: string;
620
+ precision: number;
621
+ measurements: {
622
+ id: string;
623
+ name: string;
624
+ abbrev: string;
625
+ conversion: {
626
+ amount: number;
627
+ precision: number;
628
+ };
629
+ }[];
630
+ };
631
+ code: string;
632
+ _id: string;
633
+ name: string;
634
+ };
635
+ code: string;
636
+ name: string;
637
+ quantity: {
638
+ amount: number;
639
+ precision: number;
640
+ };
641
+ quantityStep: {
642
+ amount: number;
643
+ precision: number;
644
+ };
645
+ minimumQuantity: {
646
+ amount: number;
647
+ precision: number;
648
+ };
649
+ maximumQuantity: {
650
+ amount: number;
651
+ precision: number;
652
+ };
653
+ }[];
654
+ supplier: {
655
+ phoneNumber?: string | null | undefined;
656
+ email?: string | null | undefined;
657
+ _rev?: string | null | undefined;
658
+ internal?: "restaurant" | "warehouse" | null | undefined;
659
+ contactName?: string | null | undefined;
660
+ registrationNumber?: string | undefined;
661
+ supplyItems?: {
662
+ defaultCost: {
663
+ measurement?: {
664
+ id: string;
665
+ name: string;
666
+ abbrev: string;
667
+ conversion: {
668
+ amount: number;
669
+ precision: number;
670
+ };
671
+ } | null | undefined;
672
+ costPerUnit: {
673
+ 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";
674
+ amount: number;
675
+ precision: number;
676
+ };
677
+ };
678
+ skuId: string;
679
+ }[] | null | undefined;
680
+ _id: string;
681
+ name: string;
682
+ address: {
683
+ line2?: string | null | undefined;
684
+ line1: string;
685
+ state: string;
686
+ city: string;
687
+ postcode: string;
688
+ country: string;
689
+ };
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;
786
+ items: {
787
+ measurement?: {
788
+ id: string;
789
+ name: string;
790
+ abbrev: string;
791
+ conversion: {
792
+ amount: number;
793
+ precision: number;
794
+ };
795
+ } | null | undefined;
796
+ totalCost?: {
797
+ 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";
798
+ amount: number;
799
+ precision: number;
800
+ } | null | undefined;
801
+ sku: {
802
+ trackingMeasurement?: string | null | undefined;
803
+ convert?: {
804
+ measurement?: string | null | undefined;
805
+ inventoryBindings?: {
806
+ measurement?: {
807
+ id: string;
808
+ name: string;
809
+ abbrev: string;
810
+ conversion: {
811
+ amount: number;
812
+ precision: number;
813
+ };
814
+ } | null | undefined;
815
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
816
+ amount: {
817
+ amount: number;
818
+ precision: number;
819
+ };
820
+ id: string;
821
+ }[] | null | undefined;
822
+ } | null | undefined;
823
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
824
+ defaultCost?: {
825
+ measurement?: {
826
+ id: string;
827
+ name: string;
828
+ abbrev: string;
829
+ conversion: {
830
+ amount: number;
831
+ precision: number;
832
+ };
833
+ } | null | undefined;
834
+ costPerUnit: {
835
+ 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";
836
+ amount: number;
837
+ precision: number;
838
+ };
839
+ } | null | undefined;
840
+ thresholds?: {
841
+ low: number;
842
+ mid: number;
843
+ } | null | undefined;
844
+ operationalGroup?: string | null | undefined;
845
+ unit: {
846
+ _id: string;
847
+ name: string;
848
+ abbrev: string;
849
+ precision: number;
850
+ measurements: {
851
+ id: string;
852
+ name: string;
853
+ abbrev: string;
854
+ conversion: {
855
+ amount: number;
856
+ precision: number;
857
+ };
858
+ }[];
859
+ };
860
+ code: string;
861
+ _id: string;
862
+ name: string;
863
+ };
864
+ code: string;
865
+ name: string;
866
+ quantity: {
867
+ amount: number;
868
+ precision: number;
869
+ };
870
+ quantityStep: {
871
+ amount: number;
872
+ precision: number;
873
+ };
874
+ minimumQuantity: {
875
+ amount: number;
876
+ precision: number;
877
+ };
878
+ maximumQuantity: {
879
+ amount: number;
880
+ precision: number;
881
+ };
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
+ };
920
+ };
921
+ }[]>;
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<{
927
+ _rev?: string | null | undefined;
928
+ locations?: {
929
+ type: "restaurant" | "warehouse";
930
+ name: string;
931
+ acceptRequest: boolean;
932
+ dbName: string;
933
+ doc: {
934
+ _id: string;
935
+ businessId: string;
936
+ profile: {
937
+ code?: string | null | undefined;
938
+ _id?: string | null | undefined;
939
+ name?: string | undefined;
940
+ address?: {
941
+ coordinates?: number[] | null | undefined;
942
+ line2?: string | null | undefined;
943
+ state: string;
944
+ country: string;
945
+ line1: string;
946
+ city: string;
947
+ postcode: 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;
1012
+ };
1013
+ };
1014
+ }[] | null | undefined;
1015
+ _id: string;
1016
+ name: string;
1017
+ purchaseOrder: {
1018
+ remark?: string | null | undefined;
1019
+ ref?: string | null | undefined;
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" | "SKU_GROUP";
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: {
1118
+ phoneNumber?: string | null | undefined;
1119
+ email?: string | null | undefined;
1120
+ _rev?: string | null | undefined;
1121
+ internal?: "restaurant" | "warehouse" | null | undefined;
1122
+ contactName?: string | null | undefined;
1123
+ registrationNumber?: string | undefined;
1124
+ supplyItems?: {
1125
+ defaultCost: {
1126
+ measurement?: {
1127
+ id: string;
1128
+ name: string;
1129
+ abbrev: string;
1130
+ conversion: {
1131
+ amount: number;
1132
+ precision: number;
1133
+ };
1134
+ } | null | undefined;
1135
+ costPerUnit: {
1136
+ 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";
1137
+ amount: number;
1138
+ precision: number;
1139
+ };
1140
+ };
1141
+ skuId: string;
1142
+ }[] | null | undefined;
1143
+ _id: string;
1144
+ name: string;
1145
+ address: {
1146
+ line2?: string | null | undefined;
1147
+ line1: string;
1148
+ state: string;
1149
+ city: string;
1150
+ postcode: string;
1151
+ country: string;
1152
+ };
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;
1250
+ items: {
1251
+ measurement?: {
1252
+ id: string;
1253
+ name: string;
1254
+ abbrev: string;
1255
+ conversion: {
1256
+ amount: number;
1257
+ precision: number;
1258
+ };
1259
+ } | null | undefined;
1260
+ totalCost?: {
1261
+ 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";
1262
+ amount: number;
1263
+ precision: number;
1264
+ } | null | undefined;
1265
+ sku: {
1266
+ trackingMeasurement?: string | null | undefined;
1267
+ convert?: {
1268
+ measurement?: string | null | undefined;
1269
+ inventoryBindings?: {
1270
+ measurement?: {
1271
+ id: string;
1272
+ name: string;
1273
+ abbrev: string;
1274
+ conversion: {
1275
+ amount: number;
1276
+ precision: number;
1277
+ };
1278
+ } | null | undefined;
1279
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1280
+ amount: {
1281
+ amount: number;
1282
+ precision: number;
1283
+ };
1284
+ id: string;
1285
+ }[] | null | undefined;
1286
+ } | null | undefined;
1287
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1288
+ defaultCost?: {
1289
+ measurement?: {
1290
+ id: string;
1291
+ name: string;
1292
+ abbrev: string;
1293
+ conversion: {
1294
+ amount: number;
1295
+ precision: number;
1296
+ };
1297
+ } | null | undefined;
1298
+ costPerUnit: {
1299
+ 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";
1300
+ amount: number;
1301
+ precision: number;
1302
+ };
1303
+ } | null | undefined;
1304
+ thresholds?: {
1305
+ low: number;
1306
+ mid: number;
1307
+ } | null | undefined;
1308
+ operationalGroup?: string | null | undefined;
1309
+ unit: {
1310
+ _id: string;
1311
+ name: string;
1312
+ abbrev: string;
1313
+ precision: number;
1314
+ measurements: {
1315
+ id: string;
1316
+ name: string;
1317
+ abbrev: string;
1318
+ conversion: {
1319
+ amount: number;
1320
+ precision: number;
1321
+ };
1322
+ }[];
1323
+ };
1324
+ code: string;
1325
+ _id: string;
1326
+ name: string;
1327
+ };
1328
+ code: string;
1329
+ name: string;
1330
+ quantity: {
1331
+ amount: number;
1332
+ precision: number;
1333
+ };
1334
+ quantityStep: {
1335
+ amount: number;
1336
+ precision: number;
1337
+ };
1338
+ minimumQuantity: {
1339
+ amount: number;
1340
+ precision: number;
1341
+ };
1342
+ maximumQuantity: {
1343
+ amount: number;
1344
+ precision: number;
1345
+ };
1346
+ }[];
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?: {
1357
+ id: string;
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";
13
1389
  name: string;
14
1390
  acceptRequest: boolean;
15
1391
  dbName: string;
16
1392
  doc: {
17
- pf_business?: {
18
- internal?: boolean | null | undefined;
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;
19
1470
  url?: string | null | undefined;
20
- expiredAt?: string | null | undefined;
21
- agentId?: string | null | undefined;
22
- attributeSettings?: {
23
- type: "string" | "number" | "boolean" | "date";
24
- key: string;
25
- entity: "restaurant" | "item";
26
- }[] | null | undefined;
27
- pf_agent?: {
28
- clickupId?: string | null | undefined;
29
- members?: {
30
- pf_user?: {
31
- email?: string | null | undefined;
32
- phoneNumber?: string | null | undefined;
33
- birthday?: string | null | undefined;
34
- gender?: "MALE" | "FEMALE" | null | undefined;
35
- addresses?: {
36
- name: string;
37
- address: string;
38
- coordinates: number[];
39
- }[] | null | undefined;
40
- photoURL?: string | null | undefined;
41
- displayName?: string | null | undefined;
42
- imported?: {
43
- raw: Record<string, any>;
44
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
45
- } | null | undefined;
46
- _id: string;
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
+ };
47
1507
  } | null | undefined;
48
- role: "ADMIN";
49
- userId: string;
1508
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
1509
+ amount: {
1510
+ amount: number;
1511
+ precision: number;
1512
+ };
1513
+ id: string;
50
1514
  }[] | null | undefined;
51
- code: string;
52
- name: string;
53
- _id: string;
54
- isReseller: boolean;
55
1515
  } | null | undefined;
56
- thumbnail?: string | null | undefined;
57
- billingInfos?: {
58
- _id?: string | 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;
59
1540
  name: string;
60
- address: {
61
- coordinates?: number[] | null | undefined;
62
- line2?: string | null | undefined;
63
- state: string;
64
- country: string;
65
- line1: string;
66
- city: string;
67
- postcode: string;
68
- };
69
- email: string;
70
- companyName: string;
71
- contact: string;
72
- }[] | null | undefined;
73
- customerDisplayImages?: {
74
- url: string;
75
- restaurantIds: string[];
76
- }[] | null | undefined;
77
- 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;
78
1554
  _id: string;
79
- ownerId: string;
80
- restaurantQuota: number;
81
- warehouseQuota: number;
82
- menuVersion: string;
83
- } | null | undefined;
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: {
84
1622
  _id: string;
85
1623
  businessId: string;
86
1624
  profile: {
87
- email?: string | null | undefined;
88
- phoneNo?: string | null | undefined;
89
- name: string;
90
- address: {
1625
+ code?: string | null | undefined;
1626
+ _id?: string | null | undefined;
1627
+ name?: string | undefined;
1628
+ address?: {
91
1629
  coordinates?: number[] | null | undefined;
92
1630
  line2?: string | null | undefined;
93
1631
  state: string;
@@ -95,17 +1633,176 @@ export declare function useTransferTemplateTable(): {
95
1633
  line1: string;
96
1634
  city: string;
97
1635
  postcode: string;
98
- };
99
- regNo: 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;
100
1700
  };
101
1701
  };
102
- })[] | null | undefined;
1702
+ }[] | null | undefined;
103
1703
  _id: string;
104
1704
  name: string;
105
1705
  purchaseOrder: {
106
1706
  remark?: string | null | undefined;
107
1707
  ref?: string | null | undefined;
108
- supplier?: {
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" | "SKU_GROUP";
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
+ };
1761
+ } | null | undefined;
1762
+ thresholds?: {
1763
+ low: number;
1764
+ mid: number;
1765
+ } | null | undefined;
1766
+ operationalGroup?: string | null | undefined;
1767
+ unit: {
1768
+ _id: string;
1769
+ name: string;
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: {
109
1806
  phoneNumber?: string | null | undefined;
110
1807
  email?: string | null | undefined;
111
1808
  _rev?: string | null | undefined;
@@ -141,17 +1838,107 @@ export declare function useTransferTemplateTable(): {
141
1838
  postcode: string;
142
1839
  country: string;
143
1840
  };
144
- } | undefined;
145
- template?: string | null | undefined;
146
- stockSnapshotId?: string | null | undefined;
147
- effectiveAt?: string | null | undefined;
148
- netSuite?: {
149
- id?: string | null | undefined;
150
- subsidiary: {
151
- id?: string | null | undefined;
152
- name?: string | null | undefined;
153
- };
154
- } | null | undefined;
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;
155
1942
  items: {
156
1943
  measurement?: {
157
1944
  id: string;
@@ -181,7 +1968,7 @@ export declare function useTransferTemplateTable(): {
181
1968
  precision: number;
182
1969
  };
183
1970
  } | null | undefined;
184
- type: "RECIPE" | "SKU";
1971
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
185
1972
  amount: {
186
1973
  amount: number;
187
1974
  precision: number;
@@ -249,114 +2036,7 @@ export declare function useTransferTemplateTable(): {
249
2036
  precision: number;
250
2037
  };
251
2038
  }[];
252
- };
253
- }>[];
254
- templates: import("vue").Ref<{
255
- _rev?: string | null | undefined;
256
- locations?: ({
257
- doc?: any;
258
- type: "restaurant";
259
- name: string;
260
- acceptRequest: boolean;
261
- dbName: string;
262
- } | {
263
- type: "warehouse";
264
- name: string;
265
- acceptRequest: boolean;
266
- dbName: string;
267
- doc: {
268
- pf_business?: {
269
- internal?: boolean | null | undefined;
270
- url?: string | null | undefined;
271
- expiredAt?: string | null | undefined;
272
- agentId?: string | null | undefined;
273
- attributeSettings?: {
274
- type: "string" | "number" | "boolean" | "date";
275
- key: string;
276
- entity: "restaurant" | "item";
277
- }[] | null | undefined;
278
- pf_agent?: {
279
- clickupId?: string | null | undefined;
280
- members?: {
281
- pf_user?: {
282
- email?: string | null | undefined;
283
- phoneNumber?: string | null | undefined;
284
- birthday?: string | null | undefined;
285
- gender?: "MALE" | "FEMALE" | null | undefined;
286
- addresses?: {
287
- name: string;
288
- address: string;
289
- coordinates: number[];
290
- }[] | null | undefined;
291
- photoURL?: string | null | undefined;
292
- displayName?: string | null | undefined;
293
- imported?: {
294
- raw: Record<string, any>;
295
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
296
- } | null | undefined;
297
- _id: string;
298
- } | null | undefined;
299
- role: "ADMIN";
300
- userId: string;
301
- }[] | null | undefined;
302
- code: string;
303
- name: string;
304
- _id: string;
305
- isReseller: boolean;
306
- } | null | undefined;
307
- thumbnail?: string | null | undefined;
308
- billingInfos?: {
309
- _id?: string | null | undefined;
310
- name: string;
311
- address: {
312
- coordinates?: number[] | null | undefined;
313
- line2?: string | null | undefined;
314
- state: string;
315
- country: string;
316
- line1: string;
317
- city: string;
318
- postcode: string;
319
- };
320
- email: string;
321
- companyName: string;
322
- contact: string;
323
- }[] | null | undefined;
324
- customerDisplayImages?: {
325
- url: string;
326
- restaurantIds: string[];
327
- }[] | null | undefined;
328
- name: string;
329
- _id: string;
330
- ownerId: string;
331
- restaurantQuota: number;
332
- warehouseQuota: number;
333
- menuVersion: string;
334
- } | null | undefined;
335
- _id: string;
336
- businessId: string;
337
- profile: {
338
- email?: string | null | undefined;
339
- phoneNo?: string | null | undefined;
340
- name: string;
341
- address: {
342
- coordinates?: number[] | null | undefined;
343
- line2?: string | null | undefined;
344
- state: string;
345
- country: string;
346
- line1: string;
347
- city: string;
348
- postcode: string;
349
- };
350
- regNo: string;
351
- };
352
- };
353
- })[] | null | undefined;
354
- _id: string;
355
- name: string;
356
- purchaseOrder: {
357
- remark?: string | null | undefined;
358
- ref?: string | null | undefined;
359
- supplier?: {
2039
+ supplier: {
360
2040
  phoneNumber?: string | null | undefined;
361
2041
  email?: string | null | undefined;
362
2042
  _rev?: string | null | undefined;
@@ -392,17 +2072,103 @@ export declare function useTransferTemplateTable(): {
392
2072
  postcode: string;
393
2073
  country: string;
394
2074
  };
395
- } | undefined;
396
- template?: string | null | undefined;
397
- stockSnapshotId?: string | null | undefined;
398
- effectiveAt?: string | null | undefined;
399
- netSuite?: {
400
- id?: string | null | undefined;
401
- subsidiary: {
402
- id?: string | null | undefined;
403
- name?: string | null | undefined;
404
- };
405
- } | 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;
406
2172
  items: {
407
2173
  measurement?: {
408
2174
  id: string;
@@ -432,7 +2198,7 @@ export declare function useTransferTemplateTable(): {
432
2198
  precision: number;
433
2199
  };
434
2200
  } | null | undefined;
435
- type: "RECIPE" | "SKU";
2201
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
436
2202
  amount: {
437
2203
  amount: number;
438
2204
  precision: number;
@@ -500,113 +2266,7 @@ export declare function useTransferTemplateTable(): {
500
2266
  precision: number;
501
2267
  };
502
2268
  }[];
503
- };
504
- }[], {
505
- _rev?: string | null | undefined;
506
- locations?: ({
507
- doc?: any;
508
- type: "restaurant";
509
- name: string;
510
- acceptRequest: boolean;
511
- dbName: string;
512
- } | {
513
- type: "warehouse";
514
- name: string;
515
- acceptRequest: boolean;
516
- dbName: string;
517
- doc: {
518
- pf_business?: {
519
- internal?: boolean | null | undefined;
520
- url?: string | null | undefined;
521
- expiredAt?: string | null | undefined;
522
- agentId?: string | null | undefined;
523
- attributeSettings?: {
524
- type: "string" | "number" | "boolean" | "date";
525
- key: string;
526
- entity: "restaurant" | "item";
527
- }[] | null | undefined;
528
- pf_agent?: {
529
- clickupId?: string | null | undefined;
530
- members?: {
531
- pf_user?: {
532
- email?: string | null | undefined;
533
- phoneNumber?: string | null | undefined;
534
- birthday?: string | null | undefined;
535
- gender?: "MALE" | "FEMALE" | null | undefined;
536
- addresses?: {
537
- name: string;
538
- address: string;
539
- coordinates: number[];
540
- }[] | null | undefined;
541
- photoURL?: string | null | undefined;
542
- displayName?: string | null | undefined;
543
- imported?: {
544
- raw: Record<string, any>;
545
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
546
- } | null | undefined;
547
- _id: string;
548
- } | null | undefined;
549
- role: "ADMIN";
550
- userId: string;
551
- }[] | null | undefined;
552
- code: string;
553
- name: string;
554
- _id: string;
555
- isReseller: boolean;
556
- } | null | undefined;
557
- thumbnail?: string | null | undefined;
558
- billingInfos?: {
559
- _id?: string | null | undefined;
560
- name: string;
561
- address: {
562
- coordinates?: number[] | null | undefined;
563
- line2?: string | null | undefined;
564
- state: string;
565
- country: string;
566
- line1: string;
567
- city: string;
568
- postcode: string;
569
- };
570
- email: string;
571
- companyName: string;
572
- contact: string;
573
- }[] | null | undefined;
574
- customerDisplayImages?: {
575
- url: string;
576
- restaurantIds: string[];
577
- }[] | null | undefined;
578
- name: string;
579
- _id: string;
580
- ownerId: string;
581
- restaurantQuota: number;
582
- warehouseQuota: number;
583
- menuVersion: string;
584
- } | null | undefined;
585
- _id: string;
586
- businessId: string;
587
- profile: {
588
- email?: string | null | undefined;
589
- phoneNo?: string | null | undefined;
590
- name: string;
591
- address: {
592
- coordinates?: number[] | null | undefined;
593
- line2?: string | null | undefined;
594
- state: string;
595
- country: string;
596
- line1: string;
597
- city: string;
598
- postcode: string;
599
- };
600
- regNo: string;
601
- };
602
- };
603
- })[] | null | undefined;
604
- _id: string;
605
- name: string;
606
- purchaseOrder: {
607
- remark?: string | null | undefined;
608
- ref?: string | null | undefined;
609
- supplier?: {
2269
+ supplier: {
610
2270
  phoneNumber?: string | null | undefined;
611
2271
  email?: string | null | undefined;
612
2272
  _rev?: string | null | undefined;
@@ -642,17 +2302,102 @@ export declare function useTransferTemplateTable(): {
642
2302
  postcode: string;
643
2303
  country: string;
644
2304
  };
645
- } | undefined;
646
- template?: string | null | undefined;
647
- stockSnapshotId?: string | null | undefined;
648
- effectiveAt?: string | null | undefined;
649
- netSuite?: {
650
- id?: string | null | undefined;
651
- subsidiary: {
652
- id?: string | null | undefined;
653
- name?: string | null | undefined;
654
- };
655
- } | 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;
656
2401
  items: {
657
2402
  measurement?: {
658
2403
  id: string;
@@ -682,7 +2427,7 @@ export declare function useTransferTemplateTable(): {
682
2427
  precision: number;
683
2428
  };
684
2429
  } | null | undefined;
685
- type: "RECIPE" | "SKU";
2430
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
686
2431
  amount: {
687
2432
  amount: number;
688
2433
  precision: number;
@@ -750,113 +2495,7 @@ export declare function useTransferTemplateTable(): {
750
2495
  precision: number;
751
2496
  };
752
2497
  }[];
753
- };
754
- }[] | {
755
- _rev?: string | null | undefined;
756
- locations?: ({
757
- doc?: any;
758
- type: "restaurant";
759
- name: string;
760
- acceptRequest: boolean;
761
- dbName: string;
762
- } | {
763
- type: "warehouse";
764
- name: string;
765
- acceptRequest: boolean;
766
- dbName: string;
767
- doc: {
768
- pf_business?: {
769
- internal?: boolean | null | undefined;
770
- url?: string | null | undefined;
771
- expiredAt?: string | null | undefined;
772
- agentId?: string | null | undefined;
773
- attributeSettings?: {
774
- type: "string" | "number" | "boolean" | "date";
775
- key: string;
776
- entity: "restaurant" | "item";
777
- }[] | null | undefined;
778
- pf_agent?: {
779
- clickupId?: string | null | undefined;
780
- members?: {
781
- pf_user?: {
782
- email?: string | null | undefined;
783
- phoneNumber?: string | null | undefined;
784
- birthday?: string | null | undefined;
785
- gender?: "MALE" | "FEMALE" | null | undefined;
786
- addresses?: {
787
- name: string;
788
- address: string;
789
- coordinates: number[];
790
- }[] | null | undefined;
791
- photoURL?: string | null | undefined;
792
- displayName?: string | null | undefined;
793
- imported?: {
794
- raw: Record<string, any>;
795
- source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
796
- } | null | undefined;
797
- _id: string;
798
- } | null | undefined;
799
- role: "ADMIN";
800
- userId: string;
801
- }[] | null | undefined;
802
- code: string;
803
- name: string;
804
- _id: string;
805
- isReseller: boolean;
806
- } | null | undefined;
807
- thumbnail?: string | null | undefined;
808
- billingInfos?: {
809
- _id?: string | null | undefined;
810
- name: string;
811
- address: {
812
- coordinates?: number[] | null | undefined;
813
- line2?: string | null | undefined;
814
- state: string;
815
- country: string;
816
- line1: string;
817
- city: string;
818
- postcode: string;
819
- };
820
- email: string;
821
- companyName: string;
822
- contact: string;
823
- }[] | null | undefined;
824
- customerDisplayImages?: {
825
- url: string;
826
- restaurantIds: string[];
827
- }[] | null | undefined;
828
- name: string;
829
- _id: string;
830
- ownerId: string;
831
- restaurantQuota: number;
832
- warehouseQuota: number;
833
- menuVersion: string;
834
- } | null | undefined;
835
- _id: string;
836
- businessId: string;
837
- profile: {
838
- email?: string | null | undefined;
839
- phoneNo?: string | null | undefined;
840
- name: string;
841
- address: {
842
- coordinates?: number[] | null | undefined;
843
- line2?: string | null | undefined;
844
- state: string;
845
- country: string;
846
- line1: string;
847
- city: string;
848
- postcode: string;
849
- };
850
- regNo: string;
851
- };
852
- };
853
- })[] | null | undefined;
854
- _id: string;
855
- name: string;
856
- purchaseOrder: {
857
- remark?: string | null | undefined;
858
- ref?: string | null | undefined;
859
- supplier?: {
2498
+ supplier: {
860
2499
  phoneNumber?: string | null | undefined;
861
2500
  email?: string | null | undefined;
862
2501
  _rev?: string | null | undefined;
@@ -892,17 +2531,102 @@ export declare function useTransferTemplateTable(): {
892
2531
  postcode: string;
893
2532
  country: string;
894
2533
  };
895
- } | undefined;
896
- template?: string | null | undefined;
897
- stockSnapshotId?: string | null | undefined;
898
- effectiveAt?: string | null | undefined;
899
- netSuite?: {
900
- id?: string | null | undefined;
901
- subsidiary: {
902
- id?: string | null | undefined;
903
- name?: string | null | undefined;
904
- };
905
- } | 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;
906
2630
  items: {
907
2631
  measurement?: {
908
2632
  id: string;
@@ -932,7 +2656,7 @@ export declare function useTransferTemplateTable(): {
932
2656
  precision: number;
933
2657
  };
934
2658
  } | null | undefined;
935
- type: "RECIPE" | "SKU";
2659
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
936
2660
  amount: {
937
2661
  amount: number;
938
2662
  precision: number;
@@ -1000,9 +2724,46 @@ export declare function useTransferTemplateTable(): {
1000
2724
  precision: number;
1001
2725
  };
1002
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
+ };
1003
2764
  };
1004
2765
  }[]>;
1005
2766
  loading: import("vue").Ref<boolean, boolean>;
1006
2767
  fetchTemplates: () => Promise<void>;
1007
2768
  loadTemplate: (templateId: string) => Promise<void>;
1008
- };
2769
+ }, "fetchTemplates" | "loadTemplate">>;