@feedmepos/mf-inventory-portal 1.5.12 → 1.6.0-dev.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 (133) hide show
  1. package/dist/{App-DBEmTaMX.js → App-BWiKiRD2.js} +4 -4
  2. package/dist/{ApprovalView-BvzIwH1r.js → ApprovalView-TFet-Rht.js} +7 -7
  3. package/dist/{BindingsDialog-DnqHoU0Y.js → BindingsDialog-ByO16R7B.js} +2 -2
  4. package/dist/{BindingsPicker-Bjpj0zdJ.js → BindingsPicker-BzeipJDM.js} +2 -2
  5. package/dist/{BindingsTable-S5Nqq4Qv.js → BindingsTable-CATRwDGx.js} +3 -3
  6. package/dist/ClosingDraftView-Bilo3C7N.js +4318 -0
  7. package/dist/{ClosingHistoryView-B2ccrB2K.js → ClosingHistoryView-DJEhuzBh.js} +5 -5
  8. package/dist/ClosingTemplateView-DTS__1eO.js +2221 -0
  9. package/dist/{DefaultView-DQhLe6LE.js → DefaultView-Dpwvllot.js} +2 -2
  10. package/dist/{DeliveryOrderPrintPreview-Cup9mzpO.js → DeliveryOrderPrintPreview-BZ-BDWlS.js} +2 -2
  11. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DuZFuSbw.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BMJVOiL_.js} +2 -2
  12. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DoPyc0aE.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-QvgQwP6t.js} +2 -2
  13. package/dist/{FmMultiselectDialog-Cwazmlw3.js → FmMultiselectDialog-B1rAOXTC.js} +2 -2
  14. package/dist/{FmMultiselectDialog-DnuUrW7h.js → FmMultiselectDialog-W0_FfMmH.js} +1 -1
  15. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BMzzUsa4.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DNpKzzVC.js} +5 -5
  16. package/dist/{ImportView-CXtrdABV.js → ImportView-B_3OeL5b.js} +6 -6
  17. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Cfp95IvX.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CdNdnCp-.js} +1 -1
  18. package/dist/{IngredientGroupView-Bm-2yK8J.js → IngredientGroupView-B_v-UNeR.js} +5 -5
  19. package/dist/{IngredientsView-Bo8w9LSr.js → IngredientsView-DTXevc-8.js} +15 -15
  20. package/dist/{IntegrationExplorerView-DUqQ64CE.js → IntegrationExplorerView-C6JUipFs.js} +352 -352
  21. package/dist/IntegrationView-DX4hhKYv.js +5100 -0
  22. package/dist/{InventoryBindingForm-DWJRCTf8.js → InventoryBindingForm-BpNKhiGF.js} +1 -1
  23. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DH-xUQ5m.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BWy-YpCv.js} +5 -5
  24. package/dist/{InventoryBindingSummary-DSwCvTnu.js → InventoryBindingSummary-BL4AkZY3.js} +1 -1
  25. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-KDWRZCxm.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DURnZteR.js} +1 -1
  26. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Wuv2teWn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BR0Hc9cL.js} +1 -1
  27. package/dist/{PublishView-BSahQbqy.js → PublishView-CELngZXP.js} +3 -3
  28. package/dist/{PurchaseOrderPrintPreview-C8umjCEU.js → PurchaseOrderPrintPreview-HCGMQWdo.js} +2 -2
  29. package/dist/{ReceiveRequestView-Bf5dAcun.js → ReceiveRequestView-DfrpsGeI.js} +26 -26
  30. package/dist/{RecipeView-wU9u23Zp.js → RecipeView-DCrrdrhp.js} +1104 -1117
  31. package/dist/{SettingsView-C5Uc6h0A.js → SettingsView-CHoDkUIF.js} +4 -4
  32. package/dist/{StockView-QF68mXtU.js → StockView-DlP1-pbq.js} +19 -19
  33. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Cgw8EDXb.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-NZcNoQ6u.js} +1 -1
  34. package/dist/{SupplierView-xBONJSsg.js → SupplierView-DqQbgLqh.js} +12 -12
  35. package/dist/{SurchargeView-BK8aNKZl.js → SurchargeView-CtlXOPJ3.js} +6 -6
  36. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-tsuedeNl.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-BRrHPAJj.js} +2 -2
  37. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BXVa7pt5.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bw3UN_Zn.js} +1 -1
  38. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CVRD5iri.js → TransferDetails.vue_vue_type_script_setup_true_lang-atZZPJBf.js} +20 -20
  39. package/dist/TransferTemplateView-Dl0k38tD.js +2327 -0
  40. package/dist/{UnitCostHistoryView-BS0nrbkD.js → UnitCostHistoryView-Dh-yAgvG.js} +4 -4
  41. package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CeD0qWRC.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-FqnqY9bU.js} +5 -5
  42. package/dist/{UnitView-DsKX7DM0.js → UnitView-D5Zvz2xm.js} +7 -7
  43. package/dist/{WarehouseView-DRZaGu80.js → WarehouseView-s5g9AQq5.js} +5 -5
  44. package/dist/{WastageTemplateView-CtMSWKFj.js → WastageTemplateView-XzJSsB29.js} +14 -14
  45. package/dist/api/closing-draft.d.ts +6 -0
  46. package/dist/api/codemax.d.ts +11 -0
  47. package/dist/api/inventory.d.ts +1 -0
  48. package/dist/api/netsuite.d.ts +5 -4
  49. package/dist/api/surcharge.d.ts +1 -0
  50. package/dist/{app-DYMYQwvV.js → app-D-l9FM2n.js} +15762 -13683
  51. package/dist/app.d.ts +288 -0
  52. package/dist/app.js +1 -1
  53. package/dist/{closing-template-Cxsa4j_W.js → closing-template-C56_2aLc.js} +1 -1
  54. package/dist/{date2-BdXL0GG5.js → date2-CRMgo5NH.js} +1 -1
  55. package/dist/{dayjs.min-LoBFKjU2.js → dayjs.min-9bo3vPqj.js} +1 -1
  56. package/dist/{decimal-BFFta-yv.js → decimal-CsE7mms2.js} +2 -2
  57. package/dist/{defineDeepModel-CCZ3fqXQ.js → defineDeepModel-DDX70CM6.js} +1 -1
  58. package/dist/{duplicate-template-C2Qho2Ig.js → duplicate-template-BrEOP-1V.js} +1 -1
  59. package/dist/{feature-Dt5ZFkZR.js → feature-Bl6yUhw_.js} +2 -2
  60. package/dist/{format-time-from-id-LqoWbcB4.js → format-time-from-id-BuMdYlM9.js} +1 -1
  61. package/dist/format-unit-display-CMfuvGP6.js +1432 -0
  62. package/dist/{import-export.helper-DogBd6aS.js → import-export.helper-C9F9d-rh.js} +6 -6
  63. package/dist/{index-IMHyRNdu.js → index-BcOtIfdU.js} +1 -1
  64. package/dist/index-BdSVteJV.js +257 -0
  65. package/dist/{index-D0xsiYLO.js → index-cbmIhZ6F.js} +1 -1
  66. package/dist/{inventory-core-dart.default-BkcD7c_a.js → inventory-core-dart.default-DewosGoK.js} +1 -1
  67. package/dist/{lz-string-CgecKowu.js → lz-string-Ye-dLAix.js} +1 -1
  68. package/dist/modules/print-template/api/print-template.d.ts +1 -0
  69. package/dist/{netsuite-9qEVrdMv.js → netsuite-Dyw1JtQL.js} +2 -2
  70. package/dist/{number-DSMFbPf0.js → number-YiCgPFTE.js} +3 -3
  71. package/dist/{predefined-templates-OZoiOUoA.js → predefined-templates-B0Eto9Jx.js} +1 -1
  72. package/dist/{purchase-order-template-CUee1L_x.js → purchase-order-template-zHPLRQDQ.js} +1 -1
  73. package/dist/{recalculationUtils-CPcCUHIm.js → recalculationUtils-DZLZlctO.js} +1 -1
  74. package/dist/{rules-CMNaUkUU.js → rules-BsVkaxL5.js} +2 -2
  75. package/dist/{stock-BOaUT0Y3.js → stock-DlQopDTl.js} +1 -1
  76. package/dist/stores/api.d.ts +1 -0
  77. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  78. package/dist/stores/integration/codemax.d.ts +432 -0
  79. package/dist/stores/integration/index.d.ts +4 -1
  80. package/dist/{supplier-BAbQZL7x.js → supplier-UPX_1aFs.js} +2 -2
  81. package/dist/{surcharge-C5tQ0vs0.js → surcharge-DO3-kAit.js} +1 -1
  82. package/dist/tsconfig.app.tsbuildinfo +1 -1
  83. package/dist/{uom-rules-CSmRb5Ds.js → uom-rules-DbhFLCUC.js} +1 -1
  84. package/dist/{use-ingredient-select-dialog-B9XYlxjA.js → use-ingredient-select-dialog-BASkk3-u.js} +16 -16
  85. package/dist/{use-inventory-binding-dialog-BzIb4yxm.js → use-inventory-binding-dialog-DTc48xUU.js} +2 -2
  86. package/dist/use-template-enabled-locations-gwYjb6_p.js +132 -0
  87. package/dist/{use-transfer-locations-Di5ozOgU.js → use-transfer-locations-BJ0xIECi.js} +2 -2
  88. package/dist/{useHrmPermission-N8GPw9P_.js → useHrmPermission-G4mfvYF8.js} +1 -1
  89. package/dist/{useNavigationMenu-BLnGMLsm.js → useNavigationMenu-Be-99JmQ.js} +2 -2
  90. package/dist/{useSseClient-BQtJfryY.js → useSseClient-D1h38l_K.js} +3 -3
  91. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftApprovalDialog.vue.d.ts +800 -0
  92. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +40 -0
  93. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupAction.vue.d.ts +21 -0
  94. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupCard.vue.d.ts +20 -0
  95. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupDetailSideSheet.vue.d.ts +823 -0
  96. package/dist/views/closing-draft/components/closing-draft-groups/ClosingGroupGrid.vue.d.ts +20 -0
  97. package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +10 -0
  98. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1400 -133
  99. package/dist/views/closing-draft/helpers/closing-draft-summary.helper.d.ts +11 -0
  100. package/dist/views/closing-draft/helpers/closing-group-detail.helper.d.ts +68 -0
  101. package/dist/views/closing-draft/helpers/closing-group-status.helper.d.ts +6 -0
  102. package/dist/views/closing-draft/helpers/closing-groups.helper.d.ts +28 -0
  103. package/dist/views/closing-draft/helpers/merge-closing-draft-items.helper.d.ts +9 -0
  104. package/dist/views/closing-template/components/closing-template-form/components/ClosingTemplateGroupsEditor.vue.d.ts +31 -0
  105. package/dist/views/closing-template/components/closing-template-form/components/ClosingTemplateItem.vue.d.ts +164 -7
  106. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +24 -88
  107. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +108 -0
  108. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +108 -0
  109. package/dist/views/ingredients/composables/use-ingredient-select-dialog.d.ts +3 -3
  110. package/dist/views/integration/Codemax.vue.d.ts +2 -0
  111. package/dist/views/integration/components/ApplyProductCodemax.vue.d.ts +341 -0
  112. package/dist/views/integration/components/ApplyProductDialogCodemax.vue.d.ts +298 -0
  113. package/dist/views/integration/components/ApplyProductDialogPropsCodemax.d.ts +17 -0
  114. package/dist/views/integration/components/CodemaxDialog.vue.d.ts +519 -0
  115. package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +3 -3
  116. package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorDialog.vue.d.ts +2 -0
  117. package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep1.vue.d.ts +2 -0
  118. package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep2.vue.d.ts +8 -0
  119. package/dist/views/transfer-template/components/template-item-bulk-editor/TemplateItemBulkEditorStep3.vue.d.ts +2 -0
  120. package/dist/views/transfer-template/composables/use-template-item-bulk-editor.d.ts +3225 -0
  121. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +4 -1
  122. package/dist/views/transfer-template/helpers/template-item-bulk-editor-export.d.ts +9 -0
  123. package/dist/{vue-i18n-DR8I1LQH.js → vue-i18n-fX3C6wjd.js} +306 -306
  124. package/dist/{xlsx-D5-Cqx-l.js → xlsx-BsL1DoEA.js} +1 -1
  125. package/dist/{xlsx.util-DEdsfN6W.js → xlsx.util-D_XTOHMv.js} +3 -3
  126. package/package.json +4 -4
  127. package/dist/ClosingDraftView-Y074sSoz.js +0 -3343
  128. package/dist/ClosingTemplateView-BcvKBWVJ.js +0 -2077
  129. package/dist/IntegrationView-CtkbKPzC.js +0 -4586
  130. package/dist/TransferTemplateView-Cm4evaK3.js +0 -1564
  131. package/dist/format-unit-display-CWqmpVa_.js +0 -1268
  132. package/dist/index-2DNXazDV.js +0 -164
  133. package/dist/use-template-enabled-locations-V5iE0ywc.js +0 -146
@@ -3,6 +3,406 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3
3
  refreshing: boolean;
4
4
  approving: boolean;
5
5
  draft: FdoClosingDraft;
6
+ groups?: {
7
+ stockSnapshot?: {
8
+ closing?: {
9
+ costBalances?: {
10
+ adjustmentId?: string | null | undefined;
11
+ amount: {
12
+ amount: number;
13
+ precision: number;
14
+ };
15
+ cost: {
16
+ 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";
17
+ amount: number;
18
+ precision: number;
19
+ };
20
+ }[] | null | undefined;
21
+ id: string;
22
+ createdAt: string;
23
+ balance: {
24
+ amount: number;
25
+ precision: number;
26
+ };
27
+ } | null | undefined;
28
+ weightedAverage?: {
29
+ 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";
30
+ amount: number;
31
+ precision: number;
32
+ } | null | undefined;
33
+ costs?: {
34
+ adjustmentId?: string | null | undefined;
35
+ amount: {
36
+ amount: number;
37
+ precision: number;
38
+ };
39
+ cost: {
40
+ 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";
41
+ amount: number;
42
+ precision: number;
43
+ };
44
+ }[] | null | undefined;
45
+ id: string;
46
+ balance: {
47
+ amount: number;
48
+ precision: number;
49
+ };
50
+ }[] | null | undefined;
51
+ _rev?: string | null | undefined;
52
+ remark?: string | null | undefined;
53
+ effectiveAt?: string | null | undefined;
54
+ adjustmentSnapshot?: {
55
+ skuId: string;
56
+ adjustmentsByType: Partial<Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE", {
57
+ amount: number;
58
+ precision: number;
59
+ }>>;
60
+ }[] | null | undefined;
61
+ opening?: {
62
+ skuId: string;
63
+ balance: {
64
+ amount: number;
65
+ precision: number;
66
+ };
67
+ }[] | null | undefined;
68
+ approvedAt?: string | null | undefined;
69
+ approvedBy?: {
70
+ name: string;
71
+ id: string;
72
+ } | null | undefined;
73
+ approveRemark?: string | null | undefined;
74
+ rejectionHistory?: {
75
+ rejectedAt: string;
76
+ rejectedBy: {
77
+ name: string;
78
+ id: string;
79
+ };
80
+ rejectRemark: string;
81
+ }[] | null | undefined;
82
+ closingAdjustmentId?: string | null | undefined;
83
+ closingId?: string | null | undefined;
84
+ negativeStockItems?: {
85
+ remark?: string | null | undefined;
86
+ sku: {
87
+ trackingMeasurement?: string | null | undefined;
88
+ isInactive?: boolean | null | undefined;
89
+ convert?: {
90
+ measurement?: string | null | undefined;
91
+ inventoryBindings?: {
92
+ measurement?: {
93
+ name: string;
94
+ id: string;
95
+ abbrev: string;
96
+ conversion: {
97
+ amount: number;
98
+ precision: number;
99
+ };
100
+ } | null | undefined;
101
+ rules?: Record<string, any> | null | undefined;
102
+ alternatives?: {
103
+ default?: boolean | null | undefined;
104
+ trackingMeasurement?: string | null | undefined;
105
+ priority?: number | null | undefined;
106
+ _id: string;
107
+ }[] | null | undefined;
108
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
109
+ amount: {
110
+ amount: number;
111
+ precision: number;
112
+ };
113
+ id: string;
114
+ }[] | null | undefined;
115
+ } | null | undefined;
116
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
117
+ defaultCost?: {
118
+ measurement?: {
119
+ name: string;
120
+ id: string;
121
+ abbrev: string;
122
+ conversion: {
123
+ amount: number;
124
+ precision: number;
125
+ };
126
+ } | null | undefined;
127
+ costPerUnit: {
128
+ 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";
129
+ amount: number;
130
+ precision: number;
131
+ };
132
+ } | null | undefined;
133
+ operationalGroup?: string | null | undefined;
134
+ thresholds?: {
135
+ low: number;
136
+ mid: number;
137
+ } | null | undefined;
138
+ customAttributes?: Record<string, any> | null | undefined;
139
+ unit: {
140
+ _id: string;
141
+ name: string;
142
+ abbrev: string;
143
+ precision: number;
144
+ measurements: {
145
+ name: string;
146
+ id: string;
147
+ abbrev: string;
148
+ conversion: {
149
+ amount: number;
150
+ precision: number;
151
+ };
152
+ }[];
153
+ };
154
+ code: string;
155
+ _id: string;
156
+ name: string;
157
+ };
158
+ baseAmount: {
159
+ amount: number;
160
+ precision: number;
161
+ };
162
+ measurementsAmounts: {
163
+ measurement: {
164
+ name: string;
165
+ id: string;
166
+ abbrev: string;
167
+ conversion: {
168
+ amount: number;
169
+ precision: number;
170
+ };
171
+ };
172
+ amount: {
173
+ amount: number;
174
+ precision: number;
175
+ };
176
+ }[];
177
+ }[] | null | undefined;
178
+ activityLogs?: {
179
+ remark?: string | null | undefined;
180
+ action: "approveDraft" | "rejectDraft" | "markAsFailed";
181
+ performedAt: string;
182
+ performedBy: {
183
+ name: string;
184
+ id: string;
185
+ };
186
+ }[] | null | undefined;
187
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
188
+ _id: string;
189
+ updatedAt: string;
190
+ createdAt: string;
191
+ items: {
192
+ remark?: string | null | undefined;
193
+ sku: {
194
+ trackingMeasurement?: string | null | undefined;
195
+ isInactive?: boolean | null | undefined;
196
+ convert?: {
197
+ measurement?: string | null | undefined;
198
+ inventoryBindings?: {
199
+ measurement?: {
200
+ name: string;
201
+ id: string;
202
+ abbrev: string;
203
+ conversion: {
204
+ amount: number;
205
+ precision: number;
206
+ };
207
+ } | null | undefined;
208
+ rules?: Record<string, any> | null | undefined;
209
+ alternatives?: {
210
+ default?: boolean | null | undefined;
211
+ trackingMeasurement?: string | null | undefined;
212
+ priority?: number | null | undefined;
213
+ _id: string;
214
+ }[] | null | undefined;
215
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
216
+ amount: {
217
+ amount: number;
218
+ precision: number;
219
+ };
220
+ id: string;
221
+ }[] | null | undefined;
222
+ } | null | undefined;
223
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
224
+ defaultCost?: {
225
+ measurement?: {
226
+ name: string;
227
+ id: string;
228
+ abbrev: string;
229
+ conversion: {
230
+ amount: number;
231
+ precision: number;
232
+ };
233
+ } | null | undefined;
234
+ costPerUnit: {
235
+ 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";
236
+ amount: number;
237
+ precision: number;
238
+ };
239
+ } | null | undefined;
240
+ operationalGroup?: string | null | undefined;
241
+ thresholds?: {
242
+ low: number;
243
+ mid: number;
244
+ } | null | undefined;
245
+ customAttributes?: Record<string, any> | null | undefined;
246
+ unit: {
247
+ _id: string;
248
+ name: string;
249
+ abbrev: string;
250
+ precision: number;
251
+ measurements: {
252
+ name: string;
253
+ id: string;
254
+ abbrev: string;
255
+ conversion: {
256
+ amount: number;
257
+ precision: number;
258
+ };
259
+ }[];
260
+ };
261
+ code: string;
262
+ _id: string;
263
+ name: string;
264
+ };
265
+ baseAmount: {
266
+ amount: number;
267
+ precision: number;
268
+ };
269
+ measurementsAmounts: {
270
+ measurement: {
271
+ name: string;
272
+ id: string;
273
+ abbrev: string;
274
+ conversion: {
275
+ amount: number;
276
+ precision: number;
277
+ };
278
+ };
279
+ amount: {
280
+ amount: number;
281
+ precision: number;
282
+ };
283
+ }[];
284
+ }[];
285
+ updatedBy: {
286
+ name: string;
287
+ id: string;
288
+ };
289
+ createdBy: {
290
+ name: string;
291
+ id: string;
292
+ };
293
+ parentId: string;
294
+ usingTemplates: {
295
+ _rev?: string | null | undefined;
296
+ updatedAt?: string | null | undefined;
297
+ ref?: string | null | undefined;
298
+ locations?: {
299
+ inventory?: {
300
+ _id: string;
301
+ updatedAt: string;
302
+ } | null | undefined;
303
+ type: "restaurant" | "warehouse";
304
+ name: string;
305
+ acceptRequest: boolean;
306
+ dbName: string;
307
+ doc: {
308
+ _id: string;
309
+ businessId: string;
310
+ profile: {
311
+ code?: string | null | undefined;
312
+ url?: string | null | undefined;
313
+ description?: string | null | undefined;
314
+ _id?: string | null | undefined;
315
+ legalName?: string | null | undefined;
316
+ sstRegNo?: string | null | undefined;
317
+ discovery?: boolean | null | undefined;
318
+ coverPhoto?: string | null | undefined;
319
+ thumbnailPhoto?: string | null | undefined;
320
+ photos?: string[] | null | undefined;
321
+ operatingHours?: {
322
+ 0: {
323
+ hours: {
324
+ end: string;
325
+ start: string;
326
+ }[];
327
+ enable: boolean;
328
+ };
329
+ 2: {
330
+ hours: {
331
+ end: string;
332
+ start: string;
333
+ }[];
334
+ enable: boolean;
335
+ };
336
+ 1: {
337
+ hours: {
338
+ end: string;
339
+ start: string;
340
+ }[];
341
+ enable: boolean;
342
+ };
343
+ 3: {
344
+ hours: {
345
+ end: string;
346
+ start: string;
347
+ }[];
348
+ enable: boolean;
349
+ };
350
+ 4: {
351
+ hours: {
352
+ end: string;
353
+ start: string;
354
+ }[];
355
+ enable: boolean;
356
+ };
357
+ 5: {
358
+ hours: {
359
+ end: string;
360
+ start: string;
361
+ }[];
362
+ enable: boolean;
363
+ };
364
+ 6: {
365
+ hours: {
366
+ end: string;
367
+ start: string;
368
+ }[];
369
+ enable: boolean;
370
+ };
371
+ } | null | undefined;
372
+ tags?: string[] | null | undefined;
373
+ name: string;
374
+ address: {
375
+ coordinates?: number[] | null | undefined;
376
+ line2?: string | null | undefined;
377
+ state: string;
378
+ country: string;
379
+ line1: string;
380
+ city: string;
381
+ postcode: string;
382
+ };
383
+ email: string;
384
+ phoneNo: string;
385
+ regNo: string;
386
+ };
387
+ };
388
+ }[] | null | undefined;
389
+ updatedBy?: {
390
+ name: string;
391
+ id: string;
392
+ } | null | undefined;
393
+ groups?: {
394
+ name: string;
395
+ id: string;
396
+ items: {
397
+ disabledMeasurements?: string[] | null | undefined;
398
+ position?: number | null | undefined;
399
+ skuId: string;
400
+ }[];
401
+ }[] | null | undefined;
402
+ _id: string;
403
+ name: string;
404
+ }[];
405
+ }[] | undefined;
6
406
  }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
407
  "update:show": (value: boolean) => void;
8
408
  refresh: () => void;
@@ -12,6 +412,406 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
12
412
  refreshing: boolean;
13
413
  approving: boolean;
14
414
  draft: FdoClosingDraft;
415
+ groups?: {
416
+ stockSnapshot?: {
417
+ closing?: {
418
+ costBalances?: {
419
+ adjustmentId?: string | null | undefined;
420
+ amount: {
421
+ amount: number;
422
+ precision: number;
423
+ };
424
+ cost: {
425
+ 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";
426
+ amount: number;
427
+ precision: number;
428
+ };
429
+ }[] | null | undefined;
430
+ id: string;
431
+ createdAt: string;
432
+ balance: {
433
+ amount: number;
434
+ precision: number;
435
+ };
436
+ } | null | undefined;
437
+ weightedAverage?: {
438
+ 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";
439
+ amount: number;
440
+ precision: number;
441
+ } | null | undefined;
442
+ costs?: {
443
+ adjustmentId?: string | null | undefined;
444
+ amount: {
445
+ amount: number;
446
+ precision: number;
447
+ };
448
+ cost: {
449
+ 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";
450
+ amount: number;
451
+ precision: number;
452
+ };
453
+ }[] | null | undefined;
454
+ id: string;
455
+ balance: {
456
+ amount: number;
457
+ precision: number;
458
+ };
459
+ }[] | null | undefined;
460
+ _rev?: string | null | undefined;
461
+ remark?: string | null | undefined;
462
+ effectiveAt?: string | null | undefined;
463
+ adjustmentSnapshot?: {
464
+ skuId: string;
465
+ adjustmentsByType: Partial<Record<"RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE", {
466
+ amount: number;
467
+ precision: number;
468
+ }>>;
469
+ }[] | null | undefined;
470
+ opening?: {
471
+ skuId: string;
472
+ balance: {
473
+ amount: number;
474
+ precision: number;
475
+ };
476
+ }[] | null | undefined;
477
+ approvedAt?: string | null | undefined;
478
+ approvedBy?: {
479
+ name: string;
480
+ id: string;
481
+ } | null | undefined;
482
+ approveRemark?: string | null | undefined;
483
+ rejectionHistory?: {
484
+ rejectedAt: string;
485
+ rejectedBy: {
486
+ name: string;
487
+ id: string;
488
+ };
489
+ rejectRemark: string;
490
+ }[] | null | undefined;
491
+ closingAdjustmentId?: string | null | undefined;
492
+ closingId?: string | null | undefined;
493
+ negativeStockItems?: {
494
+ remark?: string | null | undefined;
495
+ sku: {
496
+ trackingMeasurement?: string | null | undefined;
497
+ isInactive?: boolean | null | undefined;
498
+ convert?: {
499
+ measurement?: string | null | undefined;
500
+ inventoryBindings?: {
501
+ measurement?: {
502
+ name: string;
503
+ id: string;
504
+ abbrev: string;
505
+ conversion: {
506
+ amount: number;
507
+ precision: number;
508
+ };
509
+ } | null | undefined;
510
+ rules?: Record<string, any> | null | undefined;
511
+ alternatives?: {
512
+ default?: boolean | null | undefined;
513
+ trackingMeasurement?: string | null | undefined;
514
+ priority?: number | null | undefined;
515
+ _id: string;
516
+ }[] | null | undefined;
517
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
518
+ amount: {
519
+ amount: number;
520
+ precision: number;
521
+ };
522
+ id: string;
523
+ }[] | null | undefined;
524
+ } | null | undefined;
525
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
526
+ defaultCost?: {
527
+ measurement?: {
528
+ name: string;
529
+ id: string;
530
+ abbrev: string;
531
+ conversion: {
532
+ amount: number;
533
+ precision: number;
534
+ };
535
+ } | null | undefined;
536
+ costPerUnit: {
537
+ 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";
538
+ amount: number;
539
+ precision: number;
540
+ };
541
+ } | null | undefined;
542
+ operationalGroup?: string | null | undefined;
543
+ thresholds?: {
544
+ low: number;
545
+ mid: number;
546
+ } | null | undefined;
547
+ customAttributes?: Record<string, any> | null | undefined;
548
+ unit: {
549
+ _id: string;
550
+ name: string;
551
+ abbrev: string;
552
+ precision: number;
553
+ measurements: {
554
+ name: string;
555
+ id: string;
556
+ abbrev: string;
557
+ conversion: {
558
+ amount: number;
559
+ precision: number;
560
+ };
561
+ }[];
562
+ };
563
+ code: string;
564
+ _id: string;
565
+ name: string;
566
+ };
567
+ baseAmount: {
568
+ amount: number;
569
+ precision: number;
570
+ };
571
+ measurementsAmounts: {
572
+ measurement: {
573
+ name: string;
574
+ id: string;
575
+ abbrev: string;
576
+ conversion: {
577
+ amount: number;
578
+ precision: number;
579
+ };
580
+ };
581
+ amount: {
582
+ amount: number;
583
+ precision: number;
584
+ };
585
+ }[];
586
+ }[] | null | undefined;
587
+ activityLogs?: {
588
+ remark?: string | null | undefined;
589
+ action: "approveDraft" | "rejectDraft" | "markAsFailed";
590
+ performedAt: string;
591
+ performedBy: {
592
+ name: string;
593
+ id: string;
594
+ };
595
+ }[] | null | undefined;
596
+ status: "DRAFT" | "COMPLETED" | "FAILED" | "PROCESSING";
597
+ _id: string;
598
+ updatedAt: string;
599
+ createdAt: string;
600
+ items: {
601
+ remark?: string | null | undefined;
602
+ sku: {
603
+ trackingMeasurement?: string | null | undefined;
604
+ isInactive?: boolean | null | undefined;
605
+ convert?: {
606
+ measurement?: string | null | undefined;
607
+ inventoryBindings?: {
608
+ measurement?: {
609
+ name: string;
610
+ id: string;
611
+ abbrev: string;
612
+ conversion: {
613
+ amount: number;
614
+ precision: number;
615
+ };
616
+ } | null | undefined;
617
+ rules?: Record<string, any> | null | undefined;
618
+ alternatives?: {
619
+ default?: boolean | null | undefined;
620
+ trackingMeasurement?: string | null | undefined;
621
+ priority?: number | null | undefined;
622
+ _id: string;
623
+ }[] | null | undefined;
624
+ type: "RECIPE" | "SKU" | "SKU_GROUP";
625
+ amount: {
626
+ amount: number;
627
+ precision: number;
628
+ };
629
+ id: string;
630
+ }[] | null | undefined;
631
+ } | null | undefined;
632
+ valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
633
+ defaultCost?: {
634
+ measurement?: {
635
+ name: string;
636
+ id: string;
637
+ abbrev: string;
638
+ conversion: {
639
+ amount: number;
640
+ precision: number;
641
+ };
642
+ } | null | undefined;
643
+ costPerUnit: {
644
+ 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";
645
+ amount: number;
646
+ precision: number;
647
+ };
648
+ } | null | undefined;
649
+ operationalGroup?: string | null | undefined;
650
+ thresholds?: {
651
+ low: number;
652
+ mid: number;
653
+ } | null | undefined;
654
+ customAttributes?: Record<string, any> | null | undefined;
655
+ unit: {
656
+ _id: string;
657
+ name: string;
658
+ abbrev: string;
659
+ precision: number;
660
+ measurements: {
661
+ name: string;
662
+ id: string;
663
+ abbrev: string;
664
+ conversion: {
665
+ amount: number;
666
+ precision: number;
667
+ };
668
+ }[];
669
+ };
670
+ code: string;
671
+ _id: string;
672
+ name: string;
673
+ };
674
+ baseAmount: {
675
+ amount: number;
676
+ precision: number;
677
+ };
678
+ measurementsAmounts: {
679
+ measurement: {
680
+ name: string;
681
+ id: string;
682
+ abbrev: string;
683
+ conversion: {
684
+ amount: number;
685
+ precision: number;
686
+ };
687
+ };
688
+ amount: {
689
+ amount: number;
690
+ precision: number;
691
+ };
692
+ }[];
693
+ }[];
694
+ updatedBy: {
695
+ name: string;
696
+ id: string;
697
+ };
698
+ createdBy: {
699
+ name: string;
700
+ id: string;
701
+ };
702
+ parentId: string;
703
+ usingTemplates: {
704
+ _rev?: string | null | undefined;
705
+ updatedAt?: string | null | undefined;
706
+ ref?: string | null | undefined;
707
+ locations?: {
708
+ inventory?: {
709
+ _id: string;
710
+ updatedAt: string;
711
+ } | null | undefined;
712
+ type: "restaurant" | "warehouse";
713
+ name: string;
714
+ acceptRequest: boolean;
715
+ dbName: string;
716
+ doc: {
717
+ _id: string;
718
+ businessId: string;
719
+ profile: {
720
+ code?: string | null | undefined;
721
+ url?: string | null | undefined;
722
+ description?: string | null | undefined;
723
+ _id?: string | null | undefined;
724
+ legalName?: string | null | undefined;
725
+ sstRegNo?: string | null | undefined;
726
+ discovery?: boolean | null | undefined;
727
+ coverPhoto?: string | null | undefined;
728
+ thumbnailPhoto?: string | null | undefined;
729
+ photos?: string[] | null | undefined;
730
+ operatingHours?: {
731
+ 0: {
732
+ hours: {
733
+ end: string;
734
+ start: string;
735
+ }[];
736
+ enable: boolean;
737
+ };
738
+ 2: {
739
+ hours: {
740
+ end: string;
741
+ start: string;
742
+ }[];
743
+ enable: boolean;
744
+ };
745
+ 1: {
746
+ hours: {
747
+ end: string;
748
+ start: string;
749
+ }[];
750
+ enable: boolean;
751
+ };
752
+ 3: {
753
+ hours: {
754
+ end: string;
755
+ start: string;
756
+ }[];
757
+ enable: boolean;
758
+ };
759
+ 4: {
760
+ hours: {
761
+ end: string;
762
+ start: string;
763
+ }[];
764
+ enable: boolean;
765
+ };
766
+ 5: {
767
+ hours: {
768
+ end: string;
769
+ start: string;
770
+ }[];
771
+ enable: boolean;
772
+ };
773
+ 6: {
774
+ hours: {
775
+ end: string;
776
+ start: string;
777
+ }[];
778
+ enable: boolean;
779
+ };
780
+ } | null | undefined;
781
+ tags?: string[] | null | undefined;
782
+ name: string;
783
+ address: {
784
+ coordinates?: number[] | null | undefined;
785
+ line2?: string | null | undefined;
786
+ state: string;
787
+ country: string;
788
+ line1: string;
789
+ city: string;
790
+ postcode: string;
791
+ };
792
+ email: string;
793
+ phoneNo: string;
794
+ regNo: string;
795
+ };
796
+ };
797
+ }[] | null | undefined;
798
+ updatedBy?: {
799
+ name: string;
800
+ id: string;
801
+ } | null | undefined;
802
+ groups?: {
803
+ name: string;
804
+ id: string;
805
+ items: {
806
+ disabledMeasurements?: string[] | null | undefined;
807
+ position?: number | null | undefined;
808
+ skuId: string;
809
+ }[];
810
+ }[] | null | undefined;
811
+ _id: string;
812
+ name: string;
813
+ }[];
814
+ }[] | undefined;
15
815
  }>>> & Readonly<{
16
816
  "onUpdate:show"?: ((value: boolean) => any) | undefined;
17
817
  onRefresh?: (() => any) | undefined;