@feedmepos/mf-inventory-portal 1.4.1-dev.1 → 1.4.2

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 (169) hide show
  1. package/dist/{App-ChJEzu4r.js → App-D8p5pMar.js} +5 -5
  2. package/dist/{ApprovalView-DE7cizNA.js → ApprovalView-B6WmrP3R.js} +7 -7
  3. package/dist/{BindingsDialog-BsMtvOJG.js → BindingsDialog-DAG2toHR.js} +2 -2
  4. package/dist/{BindingsPicker-Cqm2FCk4.js → BindingsPicker-CPbNuwFq.js} +2 -2
  5. package/dist/{BindingsTable-DnmlqSXV.js → BindingsTable-Hkkel0vq.js} +3 -3
  6. package/dist/{ClosingDraftView-DCo7R5X_.js → ClosingDraftView-JCtS2MZa.js} +15 -15
  7. package/dist/{ClosingHistoryView-B8pvoz_L.js → ClosingHistoryView-D7GacAqj.js} +5 -5
  8. package/dist/{ClosingTemplateView-BhWMZskM.js → ClosingTemplateView-DqpbjHK2.js} +14 -14
  9. package/dist/{DefaultView-7L4zg3pD.js → DefaultView-BSm6fE5w.js} +2 -2
  10. package/dist/{DeliveryOrderPrintPreview-BJUAI20p.js → DeliveryOrderPrintPreview-DFj56iJk.js} +2 -2
  11. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZz44xPT.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaVUl6v3.js} +2 -2
  12. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D2xaJ_fT.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-FunJ5ZX5.js} +2 -2
  13. package/dist/{FmMultiselectDialog-CSlbhVxn.js → FmMultiselectDialog-BE2Tqm4H.js} +1 -1
  14. package/dist/{FmMultiselectDialog-CPt0eMqz.js → FmMultiselectDialog-DpekFj8a.js} +2 -2
  15. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DeFbqEt_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bt_kCIFn.js} +4 -4
  16. package/dist/{ImportView-DDq7-EqO.js → ImportView-CAcUO9Pv.js} +6 -6
  17. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-TLC_uZ1L.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-0Abq7FDN.js} +1 -1
  18. package/dist/{IngredientGroupView-BOPm59h1.js → IngredientGroupView-CeUfykez.js} +5 -5
  19. package/dist/{IngredientsView-Drxqdl5C.js → IngredientsView-Cdhgw3Tw.js} +15 -15
  20. package/dist/{IntegrationExplorerView-ClolIlZJ.js → IntegrationExplorerView-BioiObpU.js} +5 -5
  21. package/dist/{IntegrationView-BhsxOMny.js → IntegrationView-BHjOvMpX.js} +13 -13
  22. package/dist/{InventoryBindingForm-DSmmb2Re.js → InventoryBindingForm-D892WEqV.js} +1 -1
  23. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bs1WRSC4.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMfmKcz8.js} +5 -5
  24. package/dist/{InventoryBindingSummary-DwmmGqLA.js → InventoryBindingSummary-DOGWF0fo.js} +1 -1
  25. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-cBTXwRyT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B-dhMJ0F.js} +1 -1
  26. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WgbXX2to.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CKuIWTXZ.js} +1 -1
  27. package/dist/{PublishView-CjIwzQ1D.js → PublishView-Dh6OiaG1.js} +3 -3
  28. package/dist/{PurchaseOrderPrintPreview-D14UaMbm.js → PurchaseOrderPrintPreview-Cpme08gm.js} +2 -2
  29. package/dist/{ReceiveRequestView-C5s6H1ly.js → ReceiveRequestView-Dldwu3-H.js} +25 -25
  30. package/dist/{RecipeView-BWlgNjqM.js → RecipeView-gkZuFdCP.js} +17 -17
  31. package/dist/{SettingsView-BiaJS0Qs.js → SettingsView-wOy_OATI.js} +4 -4
  32. package/dist/{StockView-DzdW3saV.js → StockView-DeLcyQrC.js} +19 -19
  33. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CziwNGpm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C2Jax3tb.js} +1 -1
  34. package/dist/{SupplierView-CEH1mh4O.js → SupplierView-Bf2AW8JH.js} +12 -12
  35. package/dist/{SurchargeView-DLL1vb1m.js → SurchargeView-CJtg87ol.js} +6 -6
  36. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyzJFEM1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bfzqxalj.js} +2 -2
  37. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-riu5GB0x.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CEz3Yc2Z.js} +1 -1
  38. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CdPx9jtv.js → TransferDetails.vue_vue_type_script_setup_true_lang-CcpH12aM.js} +20 -20
  39. package/dist/{TransferTemplateView-B1hOOEld.js → TransferTemplateView-DpWFExzQ.js} +18 -18
  40. package/dist/{UnitCostHistoryView-CfVLgSsg.js → UnitCostHistoryView-PEexDaAO.js} +4 -4
  41. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D_5MeWML.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-i8HZEphD.js} +4 -4
  42. package/dist/{UnitView-CNEW1ZyC.js → UnitView-BPyyMHKE.js} +7 -7
  43. package/dist/{WarehouseView-BAEddBqH.js → WarehouseView-BmCech19.js} +5 -5
  44. package/dist/{WastageTemplateView-BDDcGlH1.js → WastageTemplateView-DJOBAWKd.js} +14 -14
  45. package/dist/api/food-market-hub.d.ts +1 -1
  46. package/dist/api/inventory.d.ts +92 -92
  47. package/dist/api/netsuite.d.ts +67 -67
  48. package/dist/api/surcharge.d.ts +2 -2
  49. package/dist/{app-8jckOqPv.js → app-D4P-koOR.js} +31824 -31795
  50. package/dist/app.d.ts +24 -24
  51. package/dist/app.js +1 -1
  52. package/dist/{closing-template-DI_wHTs-.js → closing-template-CCvXzoLm.js} +1 -1
  53. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +20 -20
  54. package/dist/components/shell/inventory/binding-dialog.vue.d.ts +6 -6
  55. package/dist/components/shell/inventory/binding-ui.vue.d.ts +11 -11
  56. package/dist/{date2-R--GWp3h.js → date2-XHYHbI0K.js} +1 -1
  57. package/dist/{dayjs.min-BLMwzZoP.js → dayjs.min-pkE_kmHZ.js} +1 -1
  58. package/dist/{decimal-C1gVMYNr.js → decimal-CQ7SlCe0.js} +2 -2
  59. package/dist/{defineDeepModel-v4CSJ0KR.js → defineDeepModel-CZDkmNol.js} +1 -1
  60. package/dist/{duplicate-template-B2FyWucr.js → duplicate-template-BQ0bF_MO.js} +1 -1
  61. package/dist/export-CDIp6ydU.js +26 -0
  62. package/dist/{feature-D5wDntDA.js → feature-C4zPjstX.js} +2 -2
  63. package/dist/{format-time-from-id-iIaeuVUR.js → format-time-from-id-D_USijTz.js} +1 -1
  64. package/dist/{format-unit-display-DoXOol_B.js → format-unit-display-CF6-yU7v.js} +11 -11
  65. package/dist/helper/xlsx.util.d.ts +9 -0
  66. package/dist/{import-export.helper-CRZm_4kx.js → import-export.helper-iVXMr9yw.js} +6 -6
  67. package/dist/{index-DvydJuBP.js → index-BIG8c4oA.js} +3 -3
  68. package/dist/{index-Dctf0kPG.js → index-CTNLpvtM.js} +1 -1
  69. package/dist/{index-BlCcDs_t.js → index-EoaZ_eFV.js} +1 -1
  70. package/dist/{inventory-core-dart.default-BGNoRNOu.js → inventory-core-dart.default-D6cCA8tk.js} +1 -1
  71. package/dist/{lodash-BGLr9-Z4.js → lodash-DR7t9CsC.js} +1 -1
  72. package/dist/{lz-string-BXxSHhql.js → lz-string-DgqLqrsO.js} +1 -1
  73. package/dist/modules/print-template/api/print-template.d.ts +3 -3
  74. package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +6 -6
  75. package/dist/modules/print-template/store/print-template.d.ts +36 -36
  76. package/dist/{netsuite-QrjgLCzF.js → netsuite-ByBZj6uf.js} +55 -44
  77. package/dist/{number-BW3CMNw8.js → number-f4J4YlZT.js} +3 -3
  78. package/dist/{predefined-templates-BAl0dgvF.js → predefined-templates-BlmLhRsh.js} +1 -1
  79. package/dist/{purchase-order-template-BXiI76-R.js → purchase-order-template-BS94QDpg.js} +1 -1
  80. package/dist/{recalculationUtils-DryzcsyX.js → recalculationUtils-D0wl-tgM.js} +1 -1
  81. package/dist/{rules-uhOTzvDT.js → rules-Cpi5Vduo.js} +2 -2
  82. package/dist/{stock-DIzLmqOG.js → stock-BynB5KIH.js} +1 -1
  83. package/dist/{stock-CFigyCpv.js → stock-GYUDrBUF.js} +3 -3
  84. package/dist/stores/integration/foodmarkethub.d.ts +1 -1
  85. package/dist/stores/integration/netsuite.d.ts +22 -22
  86. package/dist/stores/inventory.d.ts +91 -91
  87. package/dist/stores/location.d.ts +28 -28
  88. package/dist/stores/stock.d.ts +3 -3
  89. package/dist/stores/supplier.d.ts +120 -120
  90. package/dist/stores/surcharge.d.ts +1 -1
  91. package/dist/stores/warehouse.d.ts +5 -5
  92. package/dist/{supplier-DnHSGzUP.js → supplier-BDpzWHvm.js} +2 -2
  93. package/dist/{surcharge-NTU0Whsq.js → surcharge-ztZ3mUE2.js} +1 -1
  94. package/dist/tsconfig.app.tsbuildinfo +1 -1
  95. package/dist/{use-ingredient-select-dialog-BTeCOYD1.js → use-ingredient-select-dialog-xx_W7OyU.js} +2 -2
  96. package/dist/{use-inventory-binding-dialog-C5dSHkMZ.js → use-inventory-binding-dialog-B_OV8CCL.js} +2 -2
  97. package/dist/{use-template-enabled-locations-Ba9BFrFN.js → use-template-enabled-locations-ByOi4t2R.js} +2 -2
  98. package/dist/{use-transfer-locations-D__VLxA7.js → use-transfer-locations-BOR-wq8s.js} +2 -2
  99. package/dist/{useHrmPermission-DMlbCSlp.js → useHrmPermission-BtXw89bp.js} +1 -1
  100. package/dist/{useNavigationMenu-jtnBmp0t.js → useNavigationMenu-Ds6IBfYX.js} +2 -2
  101. package/dist/{useSseClient-D8q23tYV.js → useSseClient-q5d7Qjrq.js} +1 -1
  102. package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -60
  103. package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +4 -4
  104. package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +4 -4
  105. package/dist/views/adjustment-template/wastage-template/table.d.ts +66 -66
  106. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +156 -156
  107. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +55 -55
  108. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -234
  109. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -8
  110. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +132 -132
  111. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +132 -132
  112. package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
  113. package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
  114. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +9 -9
  115. package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +6 -6
  116. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -32
  117. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +12 -12
  118. package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +12 -12
  119. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +4 -4
  120. package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +12 -12
  121. package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +12 -12
  122. package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +1 -1
  123. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -8
  124. package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
  125. package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
  126. package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
  127. package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +4 -4
  128. package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +32 -32
  129. package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +4 -4
  130. package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +4 -4
  131. package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +12 -12
  132. package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +60 -60
  133. package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +4 -4
  134. package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +4 -4
  135. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
  136. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +152 -152
  137. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +32 -32
  138. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +64 -64
  139. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +16 -16
  140. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +221 -221
  141. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1503 -1503
  142. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1758 -1758
  143. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +6 -6
  144. package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +90 -90
  145. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  146. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +26 -26
  147. package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +10 -10
  148. package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
  149. package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
  150. package/dist/views/supplier/composables/use-supplier-table.d.ts +5 -5
  151. package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +122 -122
  152. package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +18 -18
  153. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +32 -32
  154. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -16
  155. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +16 -16
  156. package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +48 -48
  157. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +757 -757
  158. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +755 -755
  159. package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
  160. package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
  161. package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
  162. package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +3 -3
  163. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -10
  164. package/dist/{vue-i18n-8-OMxHzQ.js → vue-i18n-C35dl24s.js} +302 -302
  165. package/dist/{xlsx-BFjtlsJV.js → xlsx-CzLrFB_A.js} +1 -1
  166. package/dist/xlsx.util-osyDkxYO.js +101 -0
  167. package/package.json +5 -5
  168. package/dist/export-rvaYes9_.js +0 -25
  169. package/dist/xlsx.util-0LMGvDYM.js +0 -78
@@ -8,8 +8,8 @@ export declare function useClosingDraftImport(): {
8
8
  measurement?: string | null | undefined;
9
9
  inventoryBindings?: {
10
10
  measurement?: {
11
- id: string;
12
11
  name: string;
12
+ id: string;
13
13
  abbrev: string;
14
14
  conversion: {
15
15
  amount: number;
@@ -18,24 +18,24 @@ export declare function useClosingDraftImport(): {
18
18
  } | null | undefined;
19
19
  rules?: Record<string, any> | null | undefined;
20
20
  alternatives?: {
21
- priority?: number | null | undefined;
22
21
  default?: boolean | null | undefined;
23
22
  trackingMeasurement?: string | null | undefined;
23
+ priority?: number | null | undefined;
24
24
  _id: string;
25
25
  }[] | null | undefined;
26
- id: string;
27
26
  type: "RECIPE" | "SKU" | "SKU_GROUP";
28
27
  amount: {
29
28
  amount: number;
30
29
  precision: number;
31
30
  };
31
+ id: string;
32
32
  }[] | null | undefined;
33
33
  } | null | undefined;
34
34
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
35
35
  defaultCost?: {
36
36
  measurement?: {
37
- id: string;
38
37
  name: string;
38
+ id: string;
39
39
  abbrev: string;
40
40
  conversion: {
41
41
  amount: number;
@@ -54,17 +54,14 @@ export declare function useClosingDraftImport(): {
54
54
  mid: number;
55
55
  } | null | undefined;
56
56
  customAttributes?: Record<string, any> | null | undefined;
57
- _id: string;
58
- name: string;
59
- code: string;
60
57
  unit: {
61
58
  _id: string;
62
59
  name: string;
63
60
  abbrev: string;
64
61
  precision: number;
65
62
  measurements: {
66
- id: string;
67
63
  name: string;
64
+ id: string;
68
65
  abbrev: string;
69
66
  conversion: {
70
67
  amount: number;
@@ -72,6 +69,9 @@ export declare function useClosingDraftImport(): {
72
69
  };
73
70
  }[];
74
71
  };
72
+ code: string;
73
+ _id: string;
74
+ name: string;
75
75
  };
76
76
  physicalCount: number;
77
77
  systemBalance: {
@@ -88,8 +88,8 @@ export declare function useClosingDraftImport(): {
88
88
  measurement?: string | null | undefined;
89
89
  inventoryBindings?: {
90
90
  measurement?: {
91
- id: string;
92
91
  name: string;
92
+ id: string;
93
93
  abbrev: string;
94
94
  conversion: {
95
95
  amount: number;
@@ -98,24 +98,24 @@ export declare function useClosingDraftImport(): {
98
98
  } | null | undefined;
99
99
  rules?: Record<string, any> | null | undefined;
100
100
  alternatives?: {
101
- priority?: number | null | undefined;
102
101
  default?: boolean | null | undefined;
103
102
  trackingMeasurement?: string | null | undefined;
103
+ priority?: number | null | undefined;
104
104
  _id: string;
105
105
  }[] | null | undefined;
106
- id: string;
107
106
  type: "RECIPE" | "SKU" | "SKU_GROUP";
108
107
  amount: {
109
108
  amount: number;
110
109
  precision: number;
111
110
  };
111
+ id: string;
112
112
  }[] | null | undefined;
113
113
  } | null | undefined;
114
114
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
115
115
  defaultCost?: {
116
116
  measurement?: {
117
- id: string;
118
117
  name: string;
118
+ id: string;
119
119
  abbrev: string;
120
120
  conversion: {
121
121
  amount: number;
@@ -134,17 +134,14 @@ export declare function useClosingDraftImport(): {
134
134
  mid: number;
135
135
  } | null | undefined;
136
136
  customAttributes?: Record<string, any> | null | undefined;
137
- _id: string;
138
- name: string;
139
- code: string;
140
137
  unit: {
141
138
  _id: string;
142
139
  name: string;
143
140
  abbrev: string;
144
141
  precision: number;
145
142
  measurements: {
146
- id: string;
147
143
  name: string;
144
+ id: string;
148
145
  abbrev: string;
149
146
  conversion: {
150
147
  amount: number;
@@ -152,6 +149,9 @@ export declare function useClosingDraftImport(): {
152
149
  };
153
150
  }[];
154
151
  };
152
+ code: string;
153
+ _id: string;
154
+ name: string;
155
155
  };
156
156
  physicalCount: number;
157
157
  systemBalance: {
@@ -166,8 +166,6 @@ export declare function useClosingDraftImport(): {
166
166
  isLoading: import("vue").Ref<boolean, boolean>;
167
167
  onFileUpload: (file: File) => Promise<void>;
168
168
  submit: () => Promise<{
169
- remark?: string | null | undefined;
170
- _rev?: string | null | undefined;
171
169
  stockSnapshot?: {
172
170
  closing?: {
173
171
  costBalances?: {
@@ -182,12 +180,12 @@ export declare function useClosingDraftImport(): {
182
180
  precision: number;
183
181
  };
184
182
  }[] | null | undefined;
183
+ id: string;
184
+ createdAt: string;
185
185
  balance: {
186
186
  amount: number;
187
187
  precision: number;
188
188
  };
189
- id: string;
190
- createdAt: string;
191
189
  } | null | undefined;
192
190
  weightedAverage?: {
193
191
  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";
@@ -206,12 +204,14 @@ export declare function useClosingDraftImport(): {
206
204
  precision: number;
207
205
  };
208
206
  }[] | null | undefined;
207
+ id: string;
209
208
  balance: {
210
209
  amount: number;
211
210
  precision: number;
212
211
  };
213
- id: string;
214
212
  }[] | null | undefined;
213
+ _rev?: string | null | undefined;
214
+ remark?: string | null | undefined;
215
215
  effectiveAt?: string | null | undefined;
216
216
  adjustmentSnapshot?: {
217
217
  skuId: string;
@@ -221,11 +221,11 @@ export declare function useClosingDraftImport(): {
221
221
  }>>;
222
222
  }[] | null | undefined;
223
223
  opening?: {
224
+ skuId: string;
224
225
  balance: {
225
226
  amount: number;
226
227
  precision: number;
227
228
  };
228
- skuId: string;
229
229
  }[] | null | undefined;
230
230
  approvedAt?: string | null | undefined;
231
231
  approvedBy?: {
@@ -252,8 +252,8 @@ export declare function useClosingDraftImport(): {
252
252
  measurement?: string | null | undefined;
253
253
  inventoryBindings?: {
254
254
  measurement?: {
255
- id: string;
256
255
  name: string;
256
+ id: string;
257
257
  abbrev: string;
258
258
  conversion: {
259
259
  amount: number;
@@ -262,24 +262,24 @@ export declare function useClosingDraftImport(): {
262
262
  } | null | undefined;
263
263
  rules?: Record<string, any> | null | undefined;
264
264
  alternatives?: {
265
- priority?: number | null | undefined;
266
265
  default?: boolean | null | undefined;
267
266
  trackingMeasurement?: string | null | undefined;
267
+ priority?: number | null | undefined;
268
268
  _id: string;
269
269
  }[] | null | undefined;
270
- id: string;
271
270
  type: "RECIPE" | "SKU" | "SKU_GROUP";
272
271
  amount: {
273
272
  amount: number;
274
273
  precision: number;
275
274
  };
275
+ id: string;
276
276
  }[] | null | undefined;
277
277
  } | null | undefined;
278
278
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
279
279
  defaultCost?: {
280
280
  measurement?: {
281
- id: string;
282
281
  name: string;
282
+ id: string;
283
283
  abbrev: string;
284
284
  conversion: {
285
285
  amount: number;
@@ -298,17 +298,14 @@ export declare function useClosingDraftImport(): {
298
298
  mid: number;
299
299
  } | null | undefined;
300
300
  customAttributes?: Record<string, any> | null | undefined;
301
- _id: string;
302
- name: string;
303
- code: string;
304
301
  unit: {
305
302
  _id: string;
306
303
  name: string;
307
304
  abbrev: string;
308
305
  precision: number;
309
306
  measurements: {
310
- id: string;
311
307
  name: string;
308
+ id: string;
312
309
  abbrev: string;
313
310
  conversion: {
314
311
  amount: number;
@@ -316,25 +313,28 @@ export declare function useClosingDraftImport(): {
316
313
  };
317
314
  }[];
318
315
  };
316
+ code: string;
317
+ _id: string;
318
+ name: string;
319
319
  };
320
320
  baseAmount: {
321
321
  amount: number;
322
322
  precision: number;
323
323
  };
324
324
  measurementsAmounts: {
325
- amount: {
326
- amount: number;
327
- precision: number;
328
- };
329
325
  measurement: {
330
- id: string;
331
326
  name: string;
327
+ id: string;
332
328
  abbrev: string;
333
329
  conversion: {
334
330
  amount: number;
335
331
  precision: number;
336
332
  };
337
333
  };
334
+ amount: {
335
+ amount: number;
336
+ precision: number;
337
+ };
338
338
  }[];
339
339
  }[] | null | undefined;
340
340
  activityLogs?: {
@@ -346,8 +346,10 @@ export declare function useClosingDraftImport(): {
346
346
  id: string;
347
347
  };
348
348
  }[] | null | undefined;
349
- _id: string;
350
349
  status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
350
+ _id: string;
351
+ updatedAt: string;
352
+ createdAt: string;
351
353
  items: {
352
354
  remark?: string | null | undefined;
353
355
  sku: {
@@ -357,8 +359,8 @@ export declare function useClosingDraftImport(): {
357
359
  measurement?: string | null | undefined;
358
360
  inventoryBindings?: {
359
361
  measurement?: {
360
- id: string;
361
362
  name: string;
363
+ id: string;
362
364
  abbrev: string;
363
365
  conversion: {
364
366
  amount: number;
@@ -367,24 +369,24 @@ export declare function useClosingDraftImport(): {
367
369
  } | null | undefined;
368
370
  rules?: Record<string, any> | null | undefined;
369
371
  alternatives?: {
370
- priority?: number | null | undefined;
371
372
  default?: boolean | null | undefined;
372
373
  trackingMeasurement?: string | null | undefined;
374
+ priority?: number | null | undefined;
373
375
  _id: string;
374
376
  }[] | null | undefined;
375
- id: string;
376
377
  type: "RECIPE" | "SKU" | "SKU_GROUP";
377
378
  amount: {
378
379
  amount: number;
379
380
  precision: number;
380
381
  };
382
+ id: string;
381
383
  }[] | null | undefined;
382
384
  } | null | undefined;
383
385
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
384
386
  defaultCost?: {
385
387
  measurement?: {
386
- id: string;
387
388
  name: string;
389
+ id: string;
388
390
  abbrev: string;
389
391
  conversion: {
390
392
  amount: number;
@@ -403,17 +405,14 @@ export declare function useClosingDraftImport(): {
403
405
  mid: number;
404
406
  } | null | undefined;
405
407
  customAttributes?: Record<string, any> | null | undefined;
406
- _id: string;
407
- name: string;
408
- code: string;
409
408
  unit: {
410
409
  _id: string;
411
410
  name: string;
412
411
  abbrev: string;
413
412
  precision: number;
414
413
  measurements: {
415
- id: string;
416
414
  name: string;
415
+ id: string;
417
416
  abbrev: string;
418
417
  conversion: {
419
418
  amount: number;
@@ -421,48 +420,49 @@ export declare function useClosingDraftImport(): {
421
420
  };
422
421
  }[];
423
422
  };
423
+ code: string;
424
+ _id: string;
425
+ name: string;
424
426
  };
425
427
  baseAmount: {
426
428
  amount: number;
427
429
  precision: number;
428
430
  };
429
431
  measurementsAmounts: {
430
- amount: {
431
- amount: number;
432
- precision: number;
433
- };
434
432
  measurement: {
435
- id: string;
436
433
  name: string;
434
+ id: string;
437
435
  abbrev: string;
438
436
  conversion: {
439
437
  amount: number;
440
438
  precision: number;
441
439
  };
442
440
  };
441
+ amount: {
442
+ amount: number;
443
+ precision: number;
444
+ };
443
445
  }[];
444
446
  }[];
445
- createdBy: {
447
+ updatedBy: {
446
448
  name: string;
447
449
  id: string;
448
450
  };
449
- createdAt: string;
450
- updatedAt: string;
451
- updatedBy: {
451
+ createdBy: {
452
452
  name: string;
453
453
  id: string;
454
454
  };
455
455
  usingTemplates: {
456
- ref?: string | null | undefined;
457
456
  _rev?: string | null | undefined;
458
457
  updatedAt?: string | null | undefined;
458
+ ref?: string | null | undefined;
459
459
  locations?: {
460
460
  inventory?: {
461
461
  _id: string;
462
462
  updatedAt: string;
463
463
  } | null | undefined;
464
- name: string;
465
464
  type: "restaurant" | "warehouse";
465
+ name: string;
466
466
  acceptRequest: boolean;
467
467
  dbName: string;
468
468
  doc: {