@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
@@ -6,8 +6,6 @@ type DraftWithDisplay = FdoClosingDraft & RevisionIdMeta & {
6
6
  export declare const useClosingDraftTable: import("pinia").StoreDefinition<"closingDraftTable", import("pinia")._UnwrapAll<Pick<{
7
7
  columnDefs: ColumnDef<DraftWithDisplay>[];
8
8
  drafts: import("vue").Ref<{
9
- remark?: string | null | undefined;
10
- _rev: string;
11
9
  stockSnapshot?: {
12
10
  closing?: {
13
11
  costBalances?: {
@@ -22,12 +20,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
22
20
  precision: number;
23
21
  };
24
22
  }[] | null | undefined;
23
+ id: string;
24
+ createdAt: string;
25
25
  balance: {
26
26
  amount: number;
27
27
  precision: number;
28
28
  };
29
- id: string;
30
- createdAt: string;
31
29
  } | null | undefined;
32
30
  weightedAverage?: {
33
31
  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";
@@ -46,12 +44,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
46
44
  precision: number;
47
45
  };
48
46
  }[] | null | undefined;
47
+ id: string;
49
48
  balance: {
50
49
  amount: number;
51
50
  precision: number;
52
51
  };
53
- id: string;
54
52
  }[] | null | undefined;
53
+ _rev: string;
54
+ remark?: string | null | undefined;
55
55
  effectiveAt?: string | null | undefined;
56
56
  adjustmentSnapshot?: {
57
57
  skuId: string;
@@ -111,11 +111,11 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
111
111
  };
112
112
  }[] | null | undefined;
113
113
  opening?: {
114
+ skuId: string;
114
115
  balance: {
115
116
  amount: number;
116
117
  precision: number;
117
118
  };
118
- skuId: string;
119
119
  }[] | null | undefined;
120
120
  approvedAt?: string | null | undefined;
121
121
  approvedBy?: {
@@ -142,8 +142,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
142
142
  measurement?: string | null | undefined;
143
143
  inventoryBindings?: {
144
144
  measurement?: {
145
- id: string;
146
145
  name: string;
146
+ id: string;
147
147
  abbrev: string;
148
148
  conversion: {
149
149
  amount: number;
@@ -152,24 +152,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
152
152
  } | null | undefined;
153
153
  rules?: Record<string, any> | null | undefined;
154
154
  alternatives?: {
155
- priority?: number | null | undefined;
156
155
  default?: boolean | null | undefined;
157
156
  trackingMeasurement?: string | null | undefined;
157
+ priority?: number | null | undefined;
158
158
  _id: string;
159
159
  }[] | null | undefined;
160
- id: string;
161
160
  type: "RECIPE" | "SKU" | "SKU_GROUP";
162
161
  amount: {
163
162
  amount: number;
164
163
  precision: number;
165
164
  };
165
+ id: string;
166
166
  }[] | null | undefined;
167
167
  } | null | undefined;
168
168
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
169
169
  defaultCost?: {
170
170
  measurement?: {
171
- id: string;
172
171
  name: string;
172
+ id: string;
173
173
  abbrev: string;
174
174
  conversion: {
175
175
  amount: number;
@@ -188,17 +188,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
188
188
  mid: number;
189
189
  } | null | undefined;
190
190
  customAttributes?: Record<string, any> | null | undefined;
191
- _id: string;
192
- name: string;
193
- code: string;
194
191
  unit: {
195
192
  _id: string;
196
193
  name: string;
197
194
  abbrev: string;
198
195
  precision: number;
199
196
  measurements: {
200
- id: string;
201
197
  name: string;
198
+ id: string;
202
199
  abbrev: string;
203
200
  conversion: {
204
201
  amount: number;
@@ -206,25 +203,28 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
206
203
  };
207
204
  }[];
208
205
  };
206
+ code: string;
207
+ _id: string;
208
+ name: string;
209
209
  };
210
210
  baseAmount: {
211
211
  amount: number;
212
212
  precision: number;
213
213
  };
214
214
  measurementsAmounts: {
215
- amount: {
216
- amount: number;
217
- precision: number;
218
- };
219
215
  measurement: {
220
- id: string;
221
216
  name: string;
217
+ id: string;
222
218
  abbrev: string;
223
219
  conversion: {
224
220
  amount: number;
225
221
  precision: number;
226
222
  };
227
223
  };
224
+ amount: {
225
+ amount: number;
226
+ precision: number;
227
+ };
228
228
  }[];
229
229
  }[] | null | undefined;
230
230
  activityLogs?: {
@@ -236,8 +236,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
236
236
  id: string;
237
237
  };
238
238
  }[] | null | undefined;
239
- _id: string;
240
239
  status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
240
+ _id: string;
241
+ updatedAt: string;
242
+ createdAt: string;
241
243
  items: {
242
244
  remark?: string | null | undefined;
243
245
  sku: {
@@ -247,8 +249,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
247
249
  measurement?: string | null | undefined;
248
250
  inventoryBindings?: {
249
251
  measurement?: {
250
- id: string;
251
252
  name: string;
253
+ id: string;
252
254
  abbrev: string;
253
255
  conversion: {
254
256
  amount: number;
@@ -257,24 +259,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
257
259
  } | null | undefined;
258
260
  rules?: Record<string, any> | null | undefined;
259
261
  alternatives?: {
260
- priority?: number | null | undefined;
261
262
  default?: boolean | null | undefined;
262
263
  trackingMeasurement?: string | null | undefined;
264
+ priority?: number | null | undefined;
263
265
  _id: string;
264
266
  }[] | null | undefined;
265
- id: string;
266
267
  type: "RECIPE" | "SKU" | "SKU_GROUP";
267
268
  amount: {
268
269
  amount: number;
269
270
  precision: number;
270
271
  };
272
+ id: string;
271
273
  }[] | null | undefined;
272
274
  } | null | undefined;
273
275
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
274
276
  defaultCost?: {
275
277
  measurement?: {
276
- id: string;
277
278
  name: string;
279
+ id: string;
278
280
  abbrev: string;
279
281
  conversion: {
280
282
  amount: number;
@@ -293,17 +295,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
293
295
  mid: number;
294
296
  } | null | undefined;
295
297
  customAttributes?: Record<string, any> | null | undefined;
296
- _id: string;
297
- name: string;
298
- code: string;
299
298
  unit: {
300
299
  _id: string;
301
300
  name: string;
302
301
  abbrev: string;
303
302
  precision: number;
304
303
  measurements: {
305
- id: string;
306
304
  name: string;
305
+ id: string;
307
306
  abbrev: string;
308
307
  conversion: {
309
308
  amount: number;
@@ -311,48 +310,49 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
311
310
  };
312
311
  }[];
313
312
  };
313
+ code: string;
314
+ _id: string;
315
+ name: string;
314
316
  };
315
317
  baseAmount: {
316
318
  amount: number;
317
319
  precision: number;
318
320
  };
319
321
  measurementsAmounts: {
320
- amount: {
321
- amount: number;
322
- precision: number;
323
- };
324
322
  measurement: {
325
- id: string;
326
323
  name: string;
324
+ id: string;
327
325
  abbrev: string;
328
326
  conversion: {
329
327
  amount: number;
330
328
  precision: number;
331
329
  };
332
330
  };
331
+ amount: {
332
+ amount: number;
333
+ precision: number;
334
+ };
333
335
  }[];
334
336
  }[];
335
- createdBy: {
337
+ updatedBy: {
336
338
  name: string;
337
339
  id: string;
338
340
  };
339
- createdAt: string;
340
- updatedAt: string;
341
- updatedBy: {
341
+ createdBy: {
342
342
  name: string;
343
343
  id: string;
344
344
  };
345
345
  usingTemplates: {
346
- ref?: string | null | undefined;
347
346
  _rev?: string | null | undefined;
348
347
  updatedAt?: string | null | undefined;
348
+ ref?: string | null | undefined;
349
349
  locations?: {
350
350
  inventory?: {
351
351
  _id: string;
352
352
  updatedAt: string;
353
353
  } | null | undefined;
354
- name: string;
355
354
  type: "restaurant" | "warehouse";
355
+ name: string;
356
356
  acceptRequest: boolean;
357
357
  dbName: string;
358
358
  doc: {
@@ -446,8 +446,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
446
446
  }[];
447
447
  closingIdDisplay: string | null;
448
448
  }[], DraftWithDisplay[] | {
449
- remark?: string | null | undefined;
450
- _rev: string;
451
449
  stockSnapshot?: {
452
450
  closing?: {
453
451
  costBalances?: {
@@ -462,12 +460,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
462
460
  precision: number;
463
461
  };
464
462
  }[] | null | undefined;
463
+ id: string;
464
+ createdAt: string;
465
465
  balance: {
466
466
  amount: number;
467
467
  precision: number;
468
468
  };
469
- id: string;
470
- createdAt: string;
471
469
  } | null | undefined;
472
470
  weightedAverage?: {
473
471
  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";
@@ -486,12 +484,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
486
484
  precision: number;
487
485
  };
488
486
  }[] | null | undefined;
487
+ id: string;
489
488
  balance: {
490
489
  amount: number;
491
490
  precision: number;
492
491
  };
493
- id: string;
494
492
  }[] | null | undefined;
493
+ _rev: string;
494
+ remark?: string | null | undefined;
495
495
  effectiveAt?: string | null | undefined;
496
496
  adjustmentSnapshot?: {
497
497
  skuId: string;
@@ -551,11 +551,11 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
551
551
  };
552
552
  }[] | null | undefined;
553
553
  opening?: {
554
+ skuId: string;
554
555
  balance: {
555
556
  amount: number;
556
557
  precision: number;
557
558
  };
558
- skuId: string;
559
559
  }[] | null | undefined;
560
560
  approvedAt?: string | null | undefined;
561
561
  approvedBy?: {
@@ -582,8 +582,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
582
582
  measurement?: string | null | undefined;
583
583
  inventoryBindings?: {
584
584
  measurement?: {
585
- id: string;
586
585
  name: string;
586
+ id: string;
587
587
  abbrev: string;
588
588
  conversion: {
589
589
  amount: number;
@@ -592,24 +592,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
592
592
  } | null | undefined;
593
593
  rules?: Record<string, any> | null | undefined;
594
594
  alternatives?: {
595
- priority?: number | null | undefined;
596
595
  default?: boolean | null | undefined;
597
596
  trackingMeasurement?: string | null | undefined;
597
+ priority?: number | null | undefined;
598
598
  _id: string;
599
599
  }[] | null | undefined;
600
- id: string;
601
600
  type: "RECIPE" | "SKU" | "SKU_GROUP";
602
601
  amount: {
603
602
  amount: number;
604
603
  precision: number;
605
604
  };
605
+ id: string;
606
606
  }[] | null | undefined;
607
607
  } | null | undefined;
608
608
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
609
609
  defaultCost?: {
610
610
  measurement?: {
611
- id: string;
612
611
  name: string;
612
+ id: string;
613
613
  abbrev: string;
614
614
  conversion: {
615
615
  amount: number;
@@ -628,17 +628,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
628
628
  mid: number;
629
629
  } | null | undefined;
630
630
  customAttributes?: Record<string, any> | null | undefined;
631
- _id: string;
632
- name: string;
633
- code: string;
634
631
  unit: {
635
632
  _id: string;
636
633
  name: string;
637
634
  abbrev: string;
638
635
  precision: number;
639
636
  measurements: {
640
- id: string;
641
637
  name: string;
638
+ id: string;
642
639
  abbrev: string;
643
640
  conversion: {
644
641
  amount: number;
@@ -646,25 +643,28 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
646
643
  };
647
644
  }[];
648
645
  };
646
+ code: string;
647
+ _id: string;
648
+ name: string;
649
649
  };
650
650
  baseAmount: {
651
651
  amount: number;
652
652
  precision: number;
653
653
  };
654
654
  measurementsAmounts: {
655
- amount: {
656
- amount: number;
657
- precision: number;
658
- };
659
655
  measurement: {
660
- id: string;
661
656
  name: string;
657
+ id: string;
662
658
  abbrev: string;
663
659
  conversion: {
664
660
  amount: number;
665
661
  precision: number;
666
662
  };
667
663
  };
664
+ amount: {
665
+ amount: number;
666
+ precision: number;
667
+ };
668
668
  }[];
669
669
  }[] | null | undefined;
670
670
  activityLogs?: {
@@ -676,8 +676,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
676
676
  id: string;
677
677
  };
678
678
  }[] | null | undefined;
679
- _id: string;
680
679
  status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
680
+ _id: string;
681
+ updatedAt: string;
682
+ createdAt: string;
681
683
  items: {
682
684
  remark?: string | null | undefined;
683
685
  sku: {
@@ -687,8 +689,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
687
689
  measurement?: string | null | undefined;
688
690
  inventoryBindings?: {
689
691
  measurement?: {
690
- id: string;
691
692
  name: string;
693
+ id: string;
692
694
  abbrev: string;
693
695
  conversion: {
694
696
  amount: number;
@@ -697,24 +699,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
697
699
  } | null | undefined;
698
700
  rules?: Record<string, any> | null | undefined;
699
701
  alternatives?: {
700
- priority?: number | null | undefined;
701
702
  default?: boolean | null | undefined;
702
703
  trackingMeasurement?: string | null | undefined;
704
+ priority?: number | null | undefined;
703
705
  _id: string;
704
706
  }[] | null | undefined;
705
- id: string;
706
707
  type: "RECIPE" | "SKU" | "SKU_GROUP";
707
708
  amount: {
708
709
  amount: number;
709
710
  precision: number;
710
711
  };
712
+ id: string;
711
713
  }[] | null | undefined;
712
714
  } | null | undefined;
713
715
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
714
716
  defaultCost?: {
715
717
  measurement?: {
716
- id: string;
717
718
  name: string;
719
+ id: string;
718
720
  abbrev: string;
719
721
  conversion: {
720
722
  amount: number;
@@ -733,17 +735,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
733
735
  mid: number;
734
736
  } | null | undefined;
735
737
  customAttributes?: Record<string, any> | null | undefined;
736
- _id: string;
737
- name: string;
738
- code: string;
739
738
  unit: {
740
739
  _id: string;
741
740
  name: string;
742
741
  abbrev: string;
743
742
  precision: number;
744
743
  measurements: {
745
- id: string;
746
744
  name: string;
745
+ id: string;
747
746
  abbrev: string;
748
747
  conversion: {
749
748
  amount: number;
@@ -751,48 +750,49 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
751
750
  };
752
751
  }[];
753
752
  };
753
+ code: string;
754
+ _id: string;
755
+ name: string;
754
756
  };
755
757
  baseAmount: {
756
758
  amount: number;
757
759
  precision: number;
758
760
  };
759
761
  measurementsAmounts: {
760
- amount: {
761
- amount: number;
762
- precision: number;
763
- };
764
762
  measurement: {
765
- id: string;
766
763
  name: string;
764
+ id: string;
767
765
  abbrev: string;
768
766
  conversion: {
769
767
  amount: number;
770
768
  precision: number;
771
769
  };
772
770
  };
771
+ amount: {
772
+ amount: number;
773
+ precision: number;
774
+ };
773
775
  }[];
774
776
  }[];
775
- createdBy: {
777
+ updatedBy: {
776
778
  name: string;
777
779
  id: string;
778
780
  };
779
- createdAt: string;
780
- updatedAt: string;
781
- updatedBy: {
781
+ createdBy: {
782
782
  name: string;
783
783
  id: string;
784
784
  };
785
785
  usingTemplates: {
786
- ref?: string | null | undefined;
787
786
  _rev?: string | null | undefined;
788
787
  updatedAt?: string | null | undefined;
788
+ ref?: string | null | undefined;
789
789
  locations?: {
790
790
  inventory?: {
791
791
  _id: string;
792
792
  updatedAt: string;
793
793
  } | null | undefined;
794
- name: string;
795
794
  type: "restaurant" | "warehouse";
795
+ name: string;
796
796
  acceptRequest: boolean;
797
797
  dbName: string;
798
798
  doc: {
@@ -894,8 +894,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
894
894
  }, "loading" | "columnDefs" | "drafts" | "tableKey">>, Pick<{
895
895
  columnDefs: ColumnDef<DraftWithDisplay>[];
896
896
  drafts: import("vue").Ref<{
897
- remark?: string | null | undefined;
898
- _rev: string;
899
897
  stockSnapshot?: {
900
898
  closing?: {
901
899
  costBalances?: {
@@ -910,12 +908,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
910
908
  precision: number;
911
909
  };
912
910
  }[] | null | undefined;
911
+ id: string;
912
+ createdAt: string;
913
913
  balance: {
914
914
  amount: number;
915
915
  precision: number;
916
916
  };
917
- id: string;
918
- createdAt: string;
919
917
  } | null | undefined;
920
918
  weightedAverage?: {
921
919
  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";
@@ -934,12 +932,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
934
932
  precision: number;
935
933
  };
936
934
  }[] | null | undefined;
935
+ id: string;
937
936
  balance: {
938
937
  amount: number;
939
938
  precision: number;
940
939
  };
941
- id: string;
942
940
  }[] | null | undefined;
941
+ _rev: string;
942
+ remark?: string | null | undefined;
943
943
  effectiveAt?: string | null | undefined;
944
944
  adjustmentSnapshot?: {
945
945
  skuId: string;
@@ -999,11 +999,11 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
999
999
  };
1000
1000
  }[] | null | undefined;
1001
1001
  opening?: {
1002
+ skuId: string;
1002
1003
  balance: {
1003
1004
  amount: number;
1004
1005
  precision: number;
1005
1006
  };
1006
- skuId: string;
1007
1007
  }[] | null | undefined;
1008
1008
  approvedAt?: string | null | undefined;
1009
1009
  approvedBy?: {
@@ -1030,8 +1030,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1030
1030
  measurement?: string | null | undefined;
1031
1031
  inventoryBindings?: {
1032
1032
  measurement?: {
1033
- id: string;
1034
1033
  name: string;
1034
+ id: string;
1035
1035
  abbrev: string;
1036
1036
  conversion: {
1037
1037
  amount: number;
@@ -1040,24 +1040,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1040
1040
  } | null | undefined;
1041
1041
  rules?: Record<string, any> | null | undefined;
1042
1042
  alternatives?: {
1043
- priority?: number | null | undefined;
1044
1043
  default?: boolean | null | undefined;
1045
1044
  trackingMeasurement?: string | null | undefined;
1045
+ priority?: number | null | undefined;
1046
1046
  _id: string;
1047
1047
  }[] | null | undefined;
1048
- id: string;
1049
1048
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1050
1049
  amount: {
1051
1050
  amount: number;
1052
1051
  precision: number;
1053
1052
  };
1053
+ id: string;
1054
1054
  }[] | null | undefined;
1055
1055
  } | null | undefined;
1056
1056
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1057
1057
  defaultCost?: {
1058
1058
  measurement?: {
1059
- id: string;
1060
1059
  name: string;
1060
+ id: string;
1061
1061
  abbrev: string;
1062
1062
  conversion: {
1063
1063
  amount: number;
@@ -1076,17 +1076,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1076
1076
  mid: number;
1077
1077
  } | null | undefined;
1078
1078
  customAttributes?: Record<string, any> | null | undefined;
1079
- _id: string;
1080
- name: string;
1081
- code: string;
1082
1079
  unit: {
1083
1080
  _id: string;
1084
1081
  name: string;
1085
1082
  abbrev: string;
1086
1083
  precision: number;
1087
1084
  measurements: {
1088
- id: string;
1089
1085
  name: string;
1086
+ id: string;
1090
1087
  abbrev: string;
1091
1088
  conversion: {
1092
1089
  amount: number;
@@ -1094,25 +1091,28 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1094
1091
  };
1095
1092
  }[];
1096
1093
  };
1094
+ code: string;
1095
+ _id: string;
1096
+ name: string;
1097
1097
  };
1098
1098
  baseAmount: {
1099
1099
  amount: number;
1100
1100
  precision: number;
1101
1101
  };
1102
1102
  measurementsAmounts: {
1103
- amount: {
1104
- amount: number;
1105
- precision: number;
1106
- };
1107
1103
  measurement: {
1108
- id: string;
1109
1104
  name: string;
1105
+ id: string;
1110
1106
  abbrev: string;
1111
1107
  conversion: {
1112
1108
  amount: number;
1113
1109
  precision: number;
1114
1110
  };
1115
1111
  };
1112
+ amount: {
1113
+ amount: number;
1114
+ precision: number;
1115
+ };
1116
1116
  }[];
1117
1117
  }[] | null | undefined;
1118
1118
  activityLogs?: {
@@ -1124,8 +1124,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1124
1124
  id: string;
1125
1125
  };
1126
1126
  }[] | null | undefined;
1127
- _id: string;
1128
1127
  status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
1128
+ _id: string;
1129
+ updatedAt: string;
1130
+ createdAt: string;
1129
1131
  items: {
1130
1132
  remark?: string | null | undefined;
1131
1133
  sku: {
@@ -1135,8 +1137,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1135
1137
  measurement?: string | null | undefined;
1136
1138
  inventoryBindings?: {
1137
1139
  measurement?: {
1138
- id: string;
1139
1140
  name: string;
1141
+ id: string;
1140
1142
  abbrev: string;
1141
1143
  conversion: {
1142
1144
  amount: number;
@@ -1145,24 +1147,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1145
1147
  } | null | undefined;
1146
1148
  rules?: Record<string, any> | null | undefined;
1147
1149
  alternatives?: {
1148
- priority?: number | null | undefined;
1149
1150
  default?: boolean | null | undefined;
1150
1151
  trackingMeasurement?: string | null | undefined;
1152
+ priority?: number | null | undefined;
1151
1153
  _id: string;
1152
1154
  }[] | null | undefined;
1153
- id: string;
1154
1155
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1155
1156
  amount: {
1156
1157
  amount: number;
1157
1158
  precision: number;
1158
1159
  };
1160
+ id: string;
1159
1161
  }[] | null | undefined;
1160
1162
  } | null | undefined;
1161
1163
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1162
1164
  defaultCost?: {
1163
1165
  measurement?: {
1164
- id: string;
1165
1166
  name: string;
1167
+ id: string;
1166
1168
  abbrev: string;
1167
1169
  conversion: {
1168
1170
  amount: number;
@@ -1181,17 +1183,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1181
1183
  mid: number;
1182
1184
  } | null | undefined;
1183
1185
  customAttributes?: Record<string, any> | null | undefined;
1184
- _id: string;
1185
- name: string;
1186
- code: string;
1187
1186
  unit: {
1188
1187
  _id: string;
1189
1188
  name: string;
1190
1189
  abbrev: string;
1191
1190
  precision: number;
1192
1191
  measurements: {
1193
- id: string;
1194
1192
  name: string;
1193
+ id: string;
1195
1194
  abbrev: string;
1196
1195
  conversion: {
1197
1196
  amount: number;
@@ -1199,48 +1198,49 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1199
1198
  };
1200
1199
  }[];
1201
1200
  };
1201
+ code: string;
1202
+ _id: string;
1203
+ name: string;
1202
1204
  };
1203
1205
  baseAmount: {
1204
1206
  amount: number;
1205
1207
  precision: number;
1206
1208
  };
1207
1209
  measurementsAmounts: {
1208
- amount: {
1209
- amount: number;
1210
- precision: number;
1211
- };
1212
1210
  measurement: {
1213
- id: string;
1214
1211
  name: string;
1212
+ id: string;
1215
1213
  abbrev: string;
1216
1214
  conversion: {
1217
1215
  amount: number;
1218
1216
  precision: number;
1219
1217
  };
1220
1218
  };
1219
+ amount: {
1220
+ amount: number;
1221
+ precision: number;
1222
+ };
1221
1223
  }[];
1222
1224
  }[];
1223
- createdBy: {
1225
+ updatedBy: {
1224
1226
  name: string;
1225
1227
  id: string;
1226
1228
  };
1227
- createdAt: string;
1228
- updatedAt: string;
1229
- updatedBy: {
1229
+ createdBy: {
1230
1230
  name: string;
1231
1231
  id: string;
1232
1232
  };
1233
1233
  usingTemplates: {
1234
- ref?: string | null | undefined;
1235
1234
  _rev?: string | null | undefined;
1236
1235
  updatedAt?: string | null | undefined;
1236
+ ref?: string | null | undefined;
1237
1237
  locations?: {
1238
1238
  inventory?: {
1239
1239
  _id: string;
1240
1240
  updatedAt: string;
1241
1241
  } | null | undefined;
1242
- name: string;
1243
1242
  type: "restaurant" | "warehouse";
1243
+ name: string;
1244
1244
  acceptRequest: boolean;
1245
1245
  dbName: string;
1246
1246
  doc: {
@@ -1334,8 +1334,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1334
1334
  }[];
1335
1335
  closingIdDisplay: string | null;
1336
1336
  }[], DraftWithDisplay[] | {
1337
- remark?: string | null | undefined;
1338
- _rev: string;
1339
1337
  stockSnapshot?: {
1340
1338
  closing?: {
1341
1339
  costBalances?: {
@@ -1350,12 +1348,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1350
1348
  precision: number;
1351
1349
  };
1352
1350
  }[] | null | undefined;
1351
+ id: string;
1352
+ createdAt: string;
1353
1353
  balance: {
1354
1354
  amount: number;
1355
1355
  precision: number;
1356
1356
  };
1357
- id: string;
1358
- createdAt: string;
1359
1357
  } | null | undefined;
1360
1358
  weightedAverage?: {
1361
1359
  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";
@@ -1374,12 +1372,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1374
1372
  precision: number;
1375
1373
  };
1376
1374
  }[] | null | undefined;
1375
+ id: string;
1377
1376
  balance: {
1378
1377
  amount: number;
1379
1378
  precision: number;
1380
1379
  };
1381
- id: string;
1382
1380
  }[] | null | undefined;
1381
+ _rev: string;
1382
+ remark?: string | null | undefined;
1383
1383
  effectiveAt?: string | null | undefined;
1384
1384
  adjustmentSnapshot?: {
1385
1385
  skuId: string;
@@ -1439,11 +1439,11 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1439
1439
  };
1440
1440
  }[] | null | undefined;
1441
1441
  opening?: {
1442
+ skuId: string;
1442
1443
  balance: {
1443
1444
  amount: number;
1444
1445
  precision: number;
1445
1446
  };
1446
- skuId: string;
1447
1447
  }[] | null | undefined;
1448
1448
  approvedAt?: string | null | undefined;
1449
1449
  approvedBy?: {
@@ -1470,8 +1470,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1470
1470
  measurement?: string | null | undefined;
1471
1471
  inventoryBindings?: {
1472
1472
  measurement?: {
1473
- id: string;
1474
1473
  name: string;
1474
+ id: string;
1475
1475
  abbrev: string;
1476
1476
  conversion: {
1477
1477
  amount: number;
@@ -1480,24 +1480,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1480
1480
  } | null | undefined;
1481
1481
  rules?: Record<string, any> | null | undefined;
1482
1482
  alternatives?: {
1483
- priority?: number | null | undefined;
1484
1483
  default?: boolean | null | undefined;
1485
1484
  trackingMeasurement?: string | null | undefined;
1485
+ priority?: number | null | undefined;
1486
1486
  _id: string;
1487
1487
  }[] | null | undefined;
1488
- id: string;
1489
1488
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1490
1489
  amount: {
1491
1490
  amount: number;
1492
1491
  precision: number;
1493
1492
  };
1493
+ id: string;
1494
1494
  }[] | null | undefined;
1495
1495
  } | null | undefined;
1496
1496
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1497
1497
  defaultCost?: {
1498
1498
  measurement?: {
1499
- id: string;
1500
1499
  name: string;
1500
+ id: string;
1501
1501
  abbrev: string;
1502
1502
  conversion: {
1503
1503
  amount: number;
@@ -1516,17 +1516,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1516
1516
  mid: number;
1517
1517
  } | null | undefined;
1518
1518
  customAttributes?: Record<string, any> | null | undefined;
1519
- _id: string;
1520
- name: string;
1521
- code: string;
1522
1519
  unit: {
1523
1520
  _id: string;
1524
1521
  name: string;
1525
1522
  abbrev: string;
1526
1523
  precision: number;
1527
1524
  measurements: {
1528
- id: string;
1529
1525
  name: string;
1526
+ id: string;
1530
1527
  abbrev: string;
1531
1528
  conversion: {
1532
1529
  amount: number;
@@ -1534,25 +1531,28 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1534
1531
  };
1535
1532
  }[];
1536
1533
  };
1534
+ code: string;
1535
+ _id: string;
1536
+ name: string;
1537
1537
  };
1538
1538
  baseAmount: {
1539
1539
  amount: number;
1540
1540
  precision: number;
1541
1541
  };
1542
1542
  measurementsAmounts: {
1543
- amount: {
1544
- amount: number;
1545
- precision: number;
1546
- };
1547
1543
  measurement: {
1548
- id: string;
1549
1544
  name: string;
1545
+ id: string;
1550
1546
  abbrev: string;
1551
1547
  conversion: {
1552
1548
  amount: number;
1553
1549
  precision: number;
1554
1550
  };
1555
1551
  };
1552
+ amount: {
1553
+ amount: number;
1554
+ precision: number;
1555
+ };
1556
1556
  }[];
1557
1557
  }[] | null | undefined;
1558
1558
  activityLogs?: {
@@ -1564,8 +1564,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1564
1564
  id: string;
1565
1565
  };
1566
1566
  }[] | null | undefined;
1567
- _id: string;
1568
1567
  status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
1568
+ _id: string;
1569
+ updatedAt: string;
1570
+ createdAt: string;
1569
1571
  items: {
1570
1572
  remark?: string | null | undefined;
1571
1573
  sku: {
@@ -1575,8 +1577,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1575
1577
  measurement?: string | null | undefined;
1576
1578
  inventoryBindings?: {
1577
1579
  measurement?: {
1578
- id: string;
1579
1580
  name: string;
1581
+ id: string;
1580
1582
  abbrev: string;
1581
1583
  conversion: {
1582
1584
  amount: number;
@@ -1585,24 +1587,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1585
1587
  } | null | undefined;
1586
1588
  rules?: Record<string, any> | null | undefined;
1587
1589
  alternatives?: {
1588
- priority?: number | null | undefined;
1589
1590
  default?: boolean | null | undefined;
1590
1591
  trackingMeasurement?: string | null | undefined;
1592
+ priority?: number | null | undefined;
1591
1593
  _id: string;
1592
1594
  }[] | null | undefined;
1593
- id: string;
1594
1595
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1595
1596
  amount: {
1596
1597
  amount: number;
1597
1598
  precision: number;
1598
1599
  };
1600
+ id: string;
1599
1601
  }[] | null | undefined;
1600
1602
  } | null | undefined;
1601
1603
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1602
1604
  defaultCost?: {
1603
1605
  measurement?: {
1604
- id: string;
1605
1606
  name: string;
1607
+ id: string;
1606
1608
  abbrev: string;
1607
1609
  conversion: {
1608
1610
  amount: number;
@@ -1621,17 +1623,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1621
1623
  mid: number;
1622
1624
  } | null | undefined;
1623
1625
  customAttributes?: Record<string, any> | null | undefined;
1624
- _id: string;
1625
- name: string;
1626
- code: string;
1627
1626
  unit: {
1628
1627
  _id: string;
1629
1628
  name: string;
1630
1629
  abbrev: string;
1631
1630
  precision: number;
1632
1631
  measurements: {
1633
- id: string;
1634
1632
  name: string;
1633
+ id: string;
1635
1634
  abbrev: string;
1636
1635
  conversion: {
1637
1636
  amount: number;
@@ -1639,48 +1638,49 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1639
1638
  };
1640
1639
  }[];
1641
1640
  };
1641
+ code: string;
1642
+ _id: string;
1643
+ name: string;
1642
1644
  };
1643
1645
  baseAmount: {
1644
1646
  amount: number;
1645
1647
  precision: number;
1646
1648
  };
1647
1649
  measurementsAmounts: {
1648
- amount: {
1649
- amount: number;
1650
- precision: number;
1651
- };
1652
1650
  measurement: {
1653
- id: string;
1654
1651
  name: string;
1652
+ id: string;
1655
1653
  abbrev: string;
1656
1654
  conversion: {
1657
1655
  amount: number;
1658
1656
  precision: number;
1659
1657
  };
1660
1658
  };
1659
+ amount: {
1660
+ amount: number;
1661
+ precision: number;
1662
+ };
1661
1663
  }[];
1662
1664
  }[];
1663
- createdBy: {
1665
+ updatedBy: {
1664
1666
  name: string;
1665
1667
  id: string;
1666
1668
  };
1667
- createdAt: string;
1668
- updatedAt: string;
1669
- updatedBy: {
1669
+ createdBy: {
1670
1670
  name: string;
1671
1671
  id: string;
1672
1672
  };
1673
1673
  usingTemplates: {
1674
- ref?: string | null | undefined;
1675
1674
  _rev?: string | null | undefined;
1676
1675
  updatedAt?: string | null | undefined;
1676
+ ref?: string | null | undefined;
1677
1677
  locations?: {
1678
1678
  inventory?: {
1679
1679
  _id: string;
1680
1680
  updatedAt: string;
1681
1681
  } | null | undefined;
1682
- name: string;
1683
1682
  type: "restaurant" | "warehouse";
1683
+ name: string;
1684
1684
  acceptRequest: boolean;
1685
1685
  dbName: string;
1686
1686
  doc: {
@@ -1782,8 +1782,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1782
1782
  }, never>, Pick<{
1783
1783
  columnDefs: ColumnDef<DraftWithDisplay>[];
1784
1784
  drafts: import("vue").Ref<{
1785
- remark?: string | null | undefined;
1786
- _rev: string;
1787
1785
  stockSnapshot?: {
1788
1786
  closing?: {
1789
1787
  costBalances?: {
@@ -1798,12 +1796,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1798
1796
  precision: number;
1799
1797
  };
1800
1798
  }[] | null | undefined;
1799
+ id: string;
1800
+ createdAt: string;
1801
1801
  balance: {
1802
1802
  amount: number;
1803
1803
  precision: number;
1804
1804
  };
1805
- id: string;
1806
- createdAt: string;
1807
1805
  } | null | undefined;
1808
1806
  weightedAverage?: {
1809
1807
  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";
@@ -1822,12 +1820,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1822
1820
  precision: number;
1823
1821
  };
1824
1822
  }[] | null | undefined;
1823
+ id: string;
1825
1824
  balance: {
1826
1825
  amount: number;
1827
1826
  precision: number;
1828
1827
  };
1829
- id: string;
1830
1828
  }[] | null | undefined;
1829
+ _rev: string;
1830
+ remark?: string | null | undefined;
1831
1831
  effectiveAt?: string | null | undefined;
1832
1832
  adjustmentSnapshot?: {
1833
1833
  skuId: string;
@@ -1887,11 +1887,11 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1887
1887
  };
1888
1888
  }[] | null | undefined;
1889
1889
  opening?: {
1890
+ skuId: string;
1890
1891
  balance: {
1891
1892
  amount: number;
1892
1893
  precision: number;
1893
1894
  };
1894
- skuId: string;
1895
1895
  }[] | null | undefined;
1896
1896
  approvedAt?: string | null | undefined;
1897
1897
  approvedBy?: {
@@ -1918,8 +1918,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1918
1918
  measurement?: string | null | undefined;
1919
1919
  inventoryBindings?: {
1920
1920
  measurement?: {
1921
- id: string;
1922
1921
  name: string;
1922
+ id: string;
1923
1923
  abbrev: string;
1924
1924
  conversion: {
1925
1925
  amount: number;
@@ -1928,24 +1928,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1928
1928
  } | null | undefined;
1929
1929
  rules?: Record<string, any> | null | undefined;
1930
1930
  alternatives?: {
1931
- priority?: number | null | undefined;
1932
1931
  default?: boolean | null | undefined;
1933
1932
  trackingMeasurement?: string | null | undefined;
1933
+ priority?: number | null | undefined;
1934
1934
  _id: string;
1935
1935
  }[] | null | undefined;
1936
- id: string;
1937
1936
  type: "RECIPE" | "SKU" | "SKU_GROUP";
1938
1937
  amount: {
1939
1938
  amount: number;
1940
1939
  precision: number;
1941
1940
  };
1941
+ id: string;
1942
1942
  }[] | null | undefined;
1943
1943
  } | null | undefined;
1944
1944
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
1945
1945
  defaultCost?: {
1946
1946
  measurement?: {
1947
- id: string;
1948
1947
  name: string;
1948
+ id: string;
1949
1949
  abbrev: string;
1950
1950
  conversion: {
1951
1951
  amount: number;
@@ -1964,17 +1964,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1964
1964
  mid: number;
1965
1965
  } | null | undefined;
1966
1966
  customAttributes?: Record<string, any> | null | undefined;
1967
- _id: string;
1968
- name: string;
1969
- code: string;
1970
1967
  unit: {
1971
1968
  _id: string;
1972
1969
  name: string;
1973
1970
  abbrev: string;
1974
1971
  precision: number;
1975
1972
  measurements: {
1976
- id: string;
1977
1973
  name: string;
1974
+ id: string;
1978
1975
  abbrev: string;
1979
1976
  conversion: {
1980
1977
  amount: number;
@@ -1982,25 +1979,28 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
1982
1979
  };
1983
1980
  }[];
1984
1981
  };
1982
+ code: string;
1983
+ _id: string;
1984
+ name: string;
1985
1985
  };
1986
1986
  baseAmount: {
1987
1987
  amount: number;
1988
1988
  precision: number;
1989
1989
  };
1990
1990
  measurementsAmounts: {
1991
- amount: {
1992
- amount: number;
1993
- precision: number;
1994
- };
1995
1991
  measurement: {
1996
- id: string;
1997
1992
  name: string;
1993
+ id: string;
1998
1994
  abbrev: string;
1999
1995
  conversion: {
2000
1996
  amount: number;
2001
1997
  precision: number;
2002
1998
  };
2003
1999
  };
2000
+ amount: {
2001
+ amount: number;
2002
+ precision: number;
2003
+ };
2004
2004
  }[];
2005
2005
  }[] | null | undefined;
2006
2006
  activityLogs?: {
@@ -2012,8 +2012,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2012
2012
  id: string;
2013
2013
  };
2014
2014
  }[] | null | undefined;
2015
- _id: string;
2016
2015
  status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
2016
+ _id: string;
2017
+ updatedAt: string;
2018
+ createdAt: string;
2017
2019
  items: {
2018
2020
  remark?: string | null | undefined;
2019
2021
  sku: {
@@ -2023,8 +2025,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2023
2025
  measurement?: string | null | undefined;
2024
2026
  inventoryBindings?: {
2025
2027
  measurement?: {
2026
- id: string;
2027
2028
  name: string;
2029
+ id: string;
2028
2030
  abbrev: string;
2029
2031
  conversion: {
2030
2032
  amount: number;
@@ -2033,24 +2035,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2033
2035
  } | null | undefined;
2034
2036
  rules?: Record<string, any> | null | undefined;
2035
2037
  alternatives?: {
2036
- priority?: number | null | undefined;
2037
2038
  default?: boolean | null | undefined;
2038
2039
  trackingMeasurement?: string | null | undefined;
2040
+ priority?: number | null | undefined;
2039
2041
  _id: string;
2040
2042
  }[] | null | undefined;
2041
- id: string;
2042
2043
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2043
2044
  amount: {
2044
2045
  amount: number;
2045
2046
  precision: number;
2046
2047
  };
2048
+ id: string;
2047
2049
  }[] | null | undefined;
2048
2050
  } | null | undefined;
2049
2051
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2050
2052
  defaultCost?: {
2051
2053
  measurement?: {
2052
- id: string;
2053
2054
  name: string;
2055
+ id: string;
2054
2056
  abbrev: string;
2055
2057
  conversion: {
2056
2058
  amount: number;
@@ -2069,17 +2071,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2069
2071
  mid: number;
2070
2072
  } | null | undefined;
2071
2073
  customAttributes?: Record<string, any> | null | undefined;
2072
- _id: string;
2073
- name: string;
2074
- code: string;
2075
2074
  unit: {
2076
2075
  _id: string;
2077
2076
  name: string;
2078
2077
  abbrev: string;
2079
2078
  precision: number;
2080
2079
  measurements: {
2081
- id: string;
2082
2080
  name: string;
2081
+ id: string;
2083
2082
  abbrev: string;
2084
2083
  conversion: {
2085
2084
  amount: number;
@@ -2087,48 +2086,49 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2087
2086
  };
2088
2087
  }[];
2089
2088
  };
2089
+ code: string;
2090
+ _id: string;
2091
+ name: string;
2090
2092
  };
2091
2093
  baseAmount: {
2092
2094
  amount: number;
2093
2095
  precision: number;
2094
2096
  };
2095
2097
  measurementsAmounts: {
2096
- amount: {
2097
- amount: number;
2098
- precision: number;
2099
- };
2100
2098
  measurement: {
2101
- id: string;
2102
2099
  name: string;
2100
+ id: string;
2103
2101
  abbrev: string;
2104
2102
  conversion: {
2105
2103
  amount: number;
2106
2104
  precision: number;
2107
2105
  };
2108
2106
  };
2107
+ amount: {
2108
+ amount: number;
2109
+ precision: number;
2110
+ };
2109
2111
  }[];
2110
2112
  }[];
2111
- createdBy: {
2113
+ updatedBy: {
2112
2114
  name: string;
2113
2115
  id: string;
2114
2116
  };
2115
- createdAt: string;
2116
- updatedAt: string;
2117
- updatedBy: {
2117
+ createdBy: {
2118
2118
  name: string;
2119
2119
  id: string;
2120
2120
  };
2121
2121
  usingTemplates: {
2122
- ref?: string | null | undefined;
2123
2122
  _rev?: string | null | undefined;
2124
2123
  updatedAt?: string | null | undefined;
2124
+ ref?: string | null | undefined;
2125
2125
  locations?: {
2126
2126
  inventory?: {
2127
2127
  _id: string;
2128
2128
  updatedAt: string;
2129
2129
  } | null | undefined;
2130
- name: string;
2131
2130
  type: "restaurant" | "warehouse";
2131
+ name: string;
2132
2132
  acceptRequest: boolean;
2133
2133
  dbName: string;
2134
2134
  doc: {
@@ -2222,8 +2222,6 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2222
2222
  }[];
2223
2223
  closingIdDisplay: string | null;
2224
2224
  }[], DraftWithDisplay[] | {
2225
- remark?: string | null | undefined;
2226
- _rev: string;
2227
2225
  stockSnapshot?: {
2228
2226
  closing?: {
2229
2227
  costBalances?: {
@@ -2238,12 +2236,12 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2238
2236
  precision: number;
2239
2237
  };
2240
2238
  }[] | null | undefined;
2239
+ id: string;
2240
+ createdAt: string;
2241
2241
  balance: {
2242
2242
  amount: number;
2243
2243
  precision: number;
2244
2244
  };
2245
- id: string;
2246
- createdAt: string;
2247
2245
  } | null | undefined;
2248
2246
  weightedAverage?: {
2249
2247
  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";
@@ -2262,12 +2260,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2262
2260
  precision: number;
2263
2261
  };
2264
2262
  }[] | null | undefined;
2263
+ id: string;
2265
2264
  balance: {
2266
2265
  amount: number;
2267
2266
  precision: number;
2268
2267
  };
2269
- id: string;
2270
2268
  }[] | null | undefined;
2269
+ _rev: string;
2270
+ remark?: string | null | undefined;
2271
2271
  effectiveAt?: string | null | undefined;
2272
2272
  adjustmentSnapshot?: {
2273
2273
  skuId: string;
@@ -2327,11 +2327,11 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2327
2327
  };
2328
2328
  }[] | null | undefined;
2329
2329
  opening?: {
2330
+ skuId: string;
2330
2331
  balance: {
2331
2332
  amount: number;
2332
2333
  precision: number;
2333
2334
  };
2334
- skuId: string;
2335
2335
  }[] | null | undefined;
2336
2336
  approvedAt?: string | null | undefined;
2337
2337
  approvedBy?: {
@@ -2358,8 +2358,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2358
2358
  measurement?: string | null | undefined;
2359
2359
  inventoryBindings?: {
2360
2360
  measurement?: {
2361
- id: string;
2362
2361
  name: string;
2362
+ id: string;
2363
2363
  abbrev: string;
2364
2364
  conversion: {
2365
2365
  amount: number;
@@ -2368,24 +2368,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2368
2368
  } | null | undefined;
2369
2369
  rules?: Record<string, any> | null | undefined;
2370
2370
  alternatives?: {
2371
- priority?: number | null | undefined;
2372
2371
  default?: boolean | null | undefined;
2373
2372
  trackingMeasurement?: string | null | undefined;
2373
+ priority?: number | null | undefined;
2374
2374
  _id: string;
2375
2375
  }[] | null | undefined;
2376
- id: string;
2377
2376
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2378
2377
  amount: {
2379
2378
  amount: number;
2380
2379
  precision: number;
2381
2380
  };
2381
+ id: string;
2382
2382
  }[] | null | undefined;
2383
2383
  } | null | undefined;
2384
2384
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2385
2385
  defaultCost?: {
2386
2386
  measurement?: {
2387
- id: string;
2388
2387
  name: string;
2388
+ id: string;
2389
2389
  abbrev: string;
2390
2390
  conversion: {
2391
2391
  amount: number;
@@ -2404,17 +2404,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2404
2404
  mid: number;
2405
2405
  } | null | undefined;
2406
2406
  customAttributes?: Record<string, any> | null | undefined;
2407
- _id: string;
2408
- name: string;
2409
- code: string;
2410
2407
  unit: {
2411
2408
  _id: string;
2412
2409
  name: string;
2413
2410
  abbrev: string;
2414
2411
  precision: number;
2415
2412
  measurements: {
2416
- id: string;
2417
2413
  name: string;
2414
+ id: string;
2418
2415
  abbrev: string;
2419
2416
  conversion: {
2420
2417
  amount: number;
@@ -2422,25 +2419,28 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2422
2419
  };
2423
2420
  }[];
2424
2421
  };
2422
+ code: string;
2423
+ _id: string;
2424
+ name: string;
2425
2425
  };
2426
2426
  baseAmount: {
2427
2427
  amount: number;
2428
2428
  precision: number;
2429
2429
  };
2430
2430
  measurementsAmounts: {
2431
- amount: {
2432
- amount: number;
2433
- precision: number;
2434
- };
2435
2431
  measurement: {
2436
- id: string;
2437
2432
  name: string;
2433
+ id: string;
2438
2434
  abbrev: string;
2439
2435
  conversion: {
2440
2436
  amount: number;
2441
2437
  precision: number;
2442
2438
  };
2443
2439
  };
2440
+ amount: {
2441
+ amount: number;
2442
+ precision: number;
2443
+ };
2444
2444
  }[];
2445
2445
  }[] | null | undefined;
2446
2446
  activityLogs?: {
@@ -2452,8 +2452,10 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2452
2452
  id: string;
2453
2453
  };
2454
2454
  }[] | null | undefined;
2455
- _id: string;
2456
2455
  status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
2456
+ _id: string;
2457
+ updatedAt: string;
2458
+ createdAt: string;
2457
2459
  items: {
2458
2460
  remark?: string | null | undefined;
2459
2461
  sku: {
@@ -2463,8 +2465,8 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2463
2465
  measurement?: string | null | undefined;
2464
2466
  inventoryBindings?: {
2465
2467
  measurement?: {
2466
- id: string;
2467
2468
  name: string;
2469
+ id: string;
2468
2470
  abbrev: string;
2469
2471
  conversion: {
2470
2472
  amount: number;
@@ -2473,24 +2475,24 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2473
2475
  } | null | undefined;
2474
2476
  rules?: Record<string, any> | null | undefined;
2475
2477
  alternatives?: {
2476
- priority?: number | null | undefined;
2477
2478
  default?: boolean | null | undefined;
2478
2479
  trackingMeasurement?: string | null | undefined;
2480
+ priority?: number | null | undefined;
2479
2481
  _id: string;
2480
2482
  }[] | null | undefined;
2481
- id: string;
2482
2483
  type: "RECIPE" | "SKU" | "SKU_GROUP";
2483
2484
  amount: {
2484
2485
  amount: number;
2485
2486
  precision: number;
2486
2487
  };
2488
+ id: string;
2487
2489
  }[] | null | undefined;
2488
2490
  } | null | undefined;
2489
2491
  valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
2490
2492
  defaultCost?: {
2491
2493
  measurement?: {
2492
- id: string;
2493
2494
  name: string;
2495
+ id: string;
2494
2496
  abbrev: string;
2495
2497
  conversion: {
2496
2498
  amount: number;
@@ -2509,17 +2511,14 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2509
2511
  mid: number;
2510
2512
  } | null | undefined;
2511
2513
  customAttributes?: Record<string, any> | null | undefined;
2512
- _id: string;
2513
- name: string;
2514
- code: string;
2515
2514
  unit: {
2516
2515
  _id: string;
2517
2516
  name: string;
2518
2517
  abbrev: string;
2519
2518
  precision: number;
2520
2519
  measurements: {
2521
- id: string;
2522
2520
  name: string;
2521
+ id: string;
2523
2522
  abbrev: string;
2524
2523
  conversion: {
2525
2524
  amount: number;
@@ -2527,48 +2526,49 @@ export declare const useClosingDraftTable: import("pinia").StoreDefinition<"clos
2527
2526
  };
2528
2527
  }[];
2529
2528
  };
2529
+ code: string;
2530
+ _id: string;
2531
+ name: string;
2530
2532
  };
2531
2533
  baseAmount: {
2532
2534
  amount: number;
2533
2535
  precision: number;
2534
2536
  };
2535
2537
  measurementsAmounts: {
2536
- amount: {
2537
- amount: number;
2538
- precision: number;
2539
- };
2540
2538
  measurement: {
2541
- id: string;
2542
2539
  name: string;
2540
+ id: string;
2543
2541
  abbrev: string;
2544
2542
  conversion: {
2545
2543
  amount: number;
2546
2544
  precision: number;
2547
2545
  };
2548
2546
  };
2547
+ amount: {
2548
+ amount: number;
2549
+ precision: number;
2550
+ };
2549
2551
  }[];
2550
2552
  }[];
2551
- createdBy: {
2553
+ updatedBy: {
2552
2554
  name: string;
2553
2555
  id: string;
2554
2556
  };
2555
- createdAt: string;
2556
- updatedAt: string;
2557
- updatedBy: {
2557
+ createdBy: {
2558
2558
  name: string;
2559
2559
  id: string;
2560
2560
  };
2561
2561
  usingTemplates: {
2562
- ref?: string | null | undefined;
2563
2562
  _rev?: string | null | undefined;
2564
2563
  updatedAt?: string | null | undefined;
2564
+ ref?: string | null | undefined;
2565
2565
  locations?: {
2566
2566
  inventory?: {
2567
2567
  _id: string;
2568
2568
  updatedAt: string;
2569
2569
  } | null | undefined;
2570
- name: string;
2571
2570
  type: "restaurant" | "warehouse";
2571
+ name: string;
2572
2572
  acceptRequest: boolean;
2573
2573
  dbName: string;
2574
2574
  doc: {