@feedmepos/mf-inventory-portal 0.0.25-dev.9 → 0.0.26-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/{App-9zSE_swt.js → App-CipfIdtR.js} +71 -72
  2. package/dist/ApprovalView-IC33yBg7.js +143 -0
  3. package/dist/{BindingsDialog-eGbOIQkw.js → BindingsDialog-EN6Kbnu7.js} +2 -2
  4. package/dist/{BindingsPicker-CVXrd29s.js → BindingsPicker-DQ_LEoqq.js} +3 -3
  5. package/dist/BindingsTable-DGXpAyM4.js +120 -0
  6. package/dist/ClosingDraftView-DR9xsW9I.js +1348 -0
  7. package/dist/ClosingTemplateView-CC1T7ovX.js +1804 -0
  8. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C9un0wCK.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CovzlB-s.js} +43 -43
  9. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BRSABJnM.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BxEtsFXp.js} +29 -29
  10. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DeRvrF7O.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B8H6vFJ5.js} +1 -1
  11. package/dist/{IngredientGroupView-ZWCOAljO.js → IngredientGroupView-DRPbXH8d.js} +24 -24
  12. package/dist/IngredientsView-DSHcH30X.js +1731 -0
  13. package/dist/{IntegrationView-DO3Ambro.js → IntegrationView-BgACk-jP.js} +605 -669
  14. package/dist/{InventoryBindingForm-BjtFP29c.js → InventoryBindingForm-Fs-CHoT-.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CFMZ4VsK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DVHQjAEC.js} +63 -63
  16. package/dist/{InventoryBindingSummary-C6DkVX-B.js → InventoryBindingSummary-CHWMtGtk.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-nb1t6u2V.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cu9V-8Cf.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BcMAXo4F.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CyVRCAqv.js} +12 -12
  19. package/dist/PublishView-CI7o5a0F.js +222 -0
  20. package/dist/{PurchaseOrderPrintPreview-_MCAsdw9.js → PurchaseOrderPrintPreview-CO4a811o.js} +1 -1
  21. package/dist/ReceiveRequestView-KH5wY5BA.js +2562 -0
  22. package/dist/{RecipeView-dmmjklwh.js → RecipeView-DxVbUxOG.js} +47 -47
  23. package/dist/StockView-CiHPAaYh.js +1840 -0
  24. package/dist/{SupplierView-CO5460uC.js → SupplierView-DPj87kld.js} +448 -461
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CfPPCFh8.js +1566 -0
  26. package/dist/TransferTemplateView-3W29v8hd.js +1420 -0
  27. package/dist/{UnitView-DbYzxCXF.js → UnitView-WCtNQFf8.js} +23 -23
  28. package/dist/{WarehouseView-BII4SEVC.js → WarehouseView-tgFFbQY7.js} +40 -40
  29. package/dist/api/bill.d.ts +12 -2
  30. package/dist/api/closing-draft.d.ts +1 -0
  31. package/dist/api/inventory.d.ts +8 -7
  32. package/dist/api/netsuite.d.ts +22 -5
  33. package/dist/api/purchase-order.d.ts +6 -1
  34. package/dist/api/stock.d.ts +1 -0
  35. package/dist/{app-IM1yJnE8.js → app-Ba80HxT3.js} +38448 -34777
  36. package/dist/app.d.ts +965 -120
  37. package/dist/app.js +1 -1
  38. package/dist/components/FmDroppableField.vue.d.ts +1 -1
  39. package/dist/components/FmMultiselectDialog.d.ts +23 -0
  40. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -1
  41. package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -1
  42. package/dist/{decimal-DQUpCN-B.js → decimal-DFqusYHB.js} +1 -1
  43. package/dist/{format-unit-display-COuIZISg.js → format-unit-display-Bsod5Ra6.js} +232 -238
  44. package/dist/helper/country.d.ts +1 -0
  45. package/dist/helper/fuzzy.d.ts +1 -1
  46. package/dist/helper/number.d.ts +1 -1
  47. package/dist/index-0ekVGPtB.js +12197 -0
  48. package/dist/index-ZAEVHtfa.js +84 -0
  49. package/dist/{stock-BJUTiXXk.js → stock-Cn6EQvTz.js} +29 -25
  50. package/dist/stores/feature.d.ts +11 -6
  51. package/dist/stores/helper/generate-backend-urls.d.ts +0 -1
  52. package/dist/stores/integration/index.d.ts +2 -0
  53. package/dist/stores/integration/netsuite.d.ts +22 -5
  54. package/dist/stores/inventory.d.ts +141 -8
  55. package/dist/stores/location.d.ts +0 -9
  56. package/dist/stores/stock.d.ts +5 -0
  57. package/dist/stores/warehouse.d.ts +4 -7
  58. package/dist/style.css +1 -1
  59. package/dist/{supplier-CM-qQVyI.js → supplier-P1gi71dg.js} +4 -4
  60. package/dist/tsconfig.app.tsbuildinfo +1 -1
  61. package/dist/{use-ingredient-select-dialog-Cn79xFNg.js → use-ingredient-select-dialog-BW5imbB5.js} +1 -1
  62. package/dist/{use-inventory-binding-dialog-zwOG19YV.js → use-inventory-binding-dialog-BYxb8nXg.js} +1 -1
  63. package/dist/views/adjustment-template/wastage-template/actions.d.ts +0 -24
  64. package/dist/views/adjustment-template/wastage-template/table.d.ts +0 -24
  65. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +92 -8
  66. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
  67. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +552 -48
  68. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +1 -1
  69. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -1
  70. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +12 -36
  71. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -36
  72. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +3 -3
  73. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -2
  74. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
  75. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -0
  76. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +4 -1
  77. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -0
  78. package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
  79. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +529 -489
  80. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +8 -4
  81. package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +382 -2
  82. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -2
  83. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1238 -972
  84. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1080 -1003
  85. package/dist/views/receive-request/import/XilnexImportDialog.vue.d.ts +22 -0
  86. package/dist/views/receive-request/import/XilnexImportForm.vue.d.ts +17 -0
  87. package/dist/views/receive-request/import/XilnexResult.vue.d.ts +17 -0
  88. package/dist/views/receive-request/import/export.d.ts +14 -0
  89. package/dist/views/receive-request/import/props.d.ts +7 -0
  90. package/dist/views/stock/components/StockRecordCard.vue.d.ts +6 -1
  91. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +6 -4
  92. package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +220 -0
  93. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +0 -8
  94. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +0 -1
  95. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +7 -2
  96. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +530 -530
  97. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +530 -530
  98. package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +305 -0
  99. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
  100. package/dist/vue-i18n-CjtRsQMl.js +2365 -0
  101. package/package.json +7 -7
  102. package/dist/ApprovalView-C2tg-wsm.js +0 -138
  103. package/dist/BindingsTable-CCsQEFnu.js +0 -145
  104. package/dist/ClosingDraftView-BI8b3CJ9.js +0 -1225
  105. package/dist/ClosingTemplateView-miJnC-ML.js +0 -1859
  106. package/dist/IngredientsView-5-pSX6y_.js +0 -1718
  107. package/dist/PublishView-DOMQdIJ7.js +0 -192
  108. package/dist/ReceiveRequestView-902hWGtz.js +0 -1877
  109. package/dist/StockView-C4lEYLXU.js +0 -7847
  110. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-D6sZDCEY.js +0 -1328
  111. package/dist/TransferTemplateView-C9UwNTnY.js +0 -1371
  112. package/dist/components/FmAutocompleteTextField.vue.d.ts +0 -31
  113. package/dist/feature-DMBVVBsQ.js +0 -1005
  114. package/dist/index-CIrsMt6f.js +0 -35546
  115. package/dist/views/dev/components/AutocompleteTextField.vue.d.ts +0 -2
  116. package/dist/vue-i18n-CzPFJ9JY.js +0 -2365
@@ -1,5 +1,5 @@
1
1
  import { defineStore as y } from "pinia";
2
- import { a as S, H as b } from "./app-IM1yJnE8.js";
2
+ import { a as S, J as b } from "./app-Ba80HxT3.js";
3
3
  import { useDialog as A } from "@feedmepos/ui-library";
4
4
  import { useI18n as I } from "@feedmepos/mf-common";
5
5
  const h = y(
@@ -1,4 +1,4 @@
1
- import { a as g, H as y } from "./app-IM1yJnE8.js";
1
+ import { a as g, J as y } from "./app-Ba80HxT3.js";
2
2
  import { useDialog as C } from "@feedmepos/ui-library";
3
3
  function P() {
4
4
  const c = g(), u = C();
@@ -36,7 +36,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
36
36
  acceptRequest: boolean;
37
37
  dbName: string;
38
38
  doc: {
39
- customAttributes?: Record<string, any> | null | undefined;
40
39
  _id: string;
41
40
  businessId: string;
42
41
  profile: {
@@ -118,7 +117,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
118
117
  };
119
118
  };
120
119
  }[] | null | undefined;
121
- locationTags?: string[] | null | undefined;
122
120
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
123
121
  _id: string;
124
122
  items: {
@@ -147,7 +145,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
147
145
  acceptRequest: boolean;
148
146
  dbName: string;
149
147
  doc: {
150
- customAttributes?: Record<string, any> | null | undefined;
151
148
  _id: string;
152
149
  businessId: string;
153
150
  profile: {
@@ -229,7 +226,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
229
226
  };
230
227
  };
231
228
  }[] | null | undefined;
232
- locationTags?: string[] | null | undefined;
233
229
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
234
230
  _id: string;
235
231
  items: {
@@ -258,7 +254,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
258
254
  acceptRequest: boolean;
259
255
  dbName: string;
260
256
  doc: {
261
- customAttributes?: Record<string, any> | null | undefined;
262
257
  _id: string;
263
258
  businessId: string;
264
259
  profile: {
@@ -340,7 +335,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
340
335
  };
341
336
  };
342
337
  }[] | null | undefined;
343
- locationTags?: string[] | null | undefined;
344
338
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
345
339
  _id: string;
346
340
  items: {
@@ -368,7 +362,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
368
362
  acceptRequest: boolean;
369
363
  dbName: string;
370
364
  doc: {
371
- customAttributes?: Record<string, any> | null | undefined;
372
365
  _id: string;
373
366
  businessId: string;
374
367
  profile: {
@@ -450,7 +443,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
450
443
  };
451
444
  };
452
445
  }[] | null | undefined;
453
- locationTags?: string[] | null | undefined;
454
446
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
455
447
  _id: string;
456
448
  items: {
@@ -497,7 +489,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
497
489
  acceptRequest: boolean;
498
490
  dbName: string;
499
491
  doc: {
500
- customAttributes?: Record<string, any> | null | undefined;
501
492
  _id: string;
502
493
  businessId: string;
503
494
  profile: {
@@ -579,7 +570,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
579
570
  };
580
571
  };
581
572
  }[] | null | undefined;
582
- locationTags?: string[] | null | undefined;
583
573
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
584
574
  _id: string;
585
575
  items: {
@@ -608,7 +598,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
608
598
  acceptRequest: boolean;
609
599
  dbName: string;
610
600
  doc: {
611
- customAttributes?: Record<string, any> | null | undefined;
612
601
  _id: string;
613
602
  businessId: string;
614
603
  profile: {
@@ -690,7 +679,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
690
679
  };
691
680
  };
692
681
  }[] | null | undefined;
693
- locationTags?: string[] | null | undefined;
694
682
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
695
683
  _id: string;
696
684
  items: {
@@ -719,7 +707,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
719
707
  acceptRequest: boolean;
720
708
  dbName: string;
721
709
  doc: {
722
- customAttributes?: Record<string, any> | null | undefined;
723
710
  _id: string;
724
711
  businessId: string;
725
712
  profile: {
@@ -801,7 +788,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
801
788
  };
802
789
  };
803
790
  }[] | null | undefined;
804
- locationTags?: string[] | null | undefined;
805
791
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
806
792
  _id: string;
807
793
  items: {
@@ -829,7 +815,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
829
815
  acceptRequest: boolean;
830
816
  dbName: string;
831
817
  doc: {
832
- customAttributes?: Record<string, any> | null | undefined;
833
818
  _id: string;
834
819
  businessId: string;
835
820
  profile: {
@@ -911,7 +896,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
911
896
  };
912
897
  };
913
898
  }[] | null | undefined;
914
- locationTags?: string[] | null | undefined;
915
899
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
916
900
  _id: string;
917
901
  items: {
@@ -958,7 +942,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
958
942
  acceptRequest: boolean;
959
943
  dbName: string;
960
944
  doc: {
961
- customAttributes?: Record<string, any> | null | undefined;
962
945
  _id: string;
963
946
  businessId: string;
964
947
  profile: {
@@ -1040,7 +1023,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1040
1023
  };
1041
1024
  };
1042
1025
  }[] | null | undefined;
1043
- locationTags?: string[] | null | undefined;
1044
1026
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1045
1027
  _id: string;
1046
1028
  items: {
@@ -1069,7 +1051,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1069
1051
  acceptRequest: boolean;
1070
1052
  dbName: string;
1071
1053
  doc: {
1072
- customAttributes?: Record<string, any> | null | undefined;
1073
1054
  _id: string;
1074
1055
  businessId: string;
1075
1056
  profile: {
@@ -1151,7 +1132,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1151
1132
  };
1152
1133
  };
1153
1134
  }[] | null | undefined;
1154
- locationTags?: string[] | null | undefined;
1155
1135
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1156
1136
  _id: string;
1157
1137
  items: {
@@ -1180,7 +1160,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1180
1160
  acceptRequest: boolean;
1181
1161
  dbName: string;
1182
1162
  doc: {
1183
- customAttributes?: Record<string, any> | null | undefined;
1184
1163
  _id: string;
1185
1164
  businessId: string;
1186
1165
  profile: {
@@ -1262,7 +1241,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1262
1241
  };
1263
1242
  };
1264
1243
  }[] | null | undefined;
1265
- locationTags?: string[] | null | undefined;
1266
1244
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1267
1245
  _id: string;
1268
1246
  items: {
@@ -1290,7 +1268,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1290
1268
  acceptRequest: boolean;
1291
1269
  dbName: string;
1292
1270
  doc: {
1293
- customAttributes?: Record<string, any> | null | undefined;
1294
1271
  _id: string;
1295
1272
  businessId: string;
1296
1273
  profile: {
@@ -1372,7 +1349,6 @@ export declare const useWastageTemplateActions: import("pinia").StoreDefinition<
1372
1349
  };
1373
1350
  };
1374
1351
  }[] | null | undefined;
1375
- locationTags?: string[] | null | undefined;
1376
1352
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1377
1353
  _id: string;
1378
1354
  items: {
@@ -14,7 +14,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
14
14
  acceptRequest: boolean;
15
15
  dbName: string;
16
16
  doc: {
17
- customAttributes?: Record<string, any> | null | undefined;
18
17
  _id: string;
19
18
  businessId: string;
20
19
  profile: {
@@ -96,7 +95,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
96
95
  };
97
96
  };
98
97
  }[] | null | undefined;
99
- locationTags?: string[] | null | undefined;
100
98
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
101
99
  _id: string;
102
100
  items: {
@@ -141,7 +139,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
141
139
  acceptRequest: boolean;
142
140
  dbName: string;
143
141
  doc: {
144
- customAttributes?: Record<string, any> | null | undefined;
145
142
  _id: string;
146
143
  businessId: string;
147
144
  profile: {
@@ -223,7 +220,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
223
220
  };
224
221
  };
225
222
  }[] | null | undefined;
226
- locationTags?: string[] | null | undefined;
227
223
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
228
224
  _id: string;
229
225
  items: {
@@ -246,7 +242,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
246
242
  acceptRequest: boolean;
247
243
  dbName: string;
248
244
  doc: {
249
- customAttributes?: Record<string, any> | null | undefined;
250
245
  _id: string;
251
246
  businessId: string;
252
247
  profile: {
@@ -328,7 +323,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
328
323
  };
329
324
  };
330
325
  }[] | null | undefined;
331
- locationTags?: string[] | null | undefined;
332
326
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
333
327
  _id: string;
334
328
  items: {
@@ -351,7 +345,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
351
345
  acceptRequest: boolean;
352
346
  dbName: string;
353
347
  doc: {
354
- customAttributes?: Record<string, any> | null | undefined;
355
348
  _id: string;
356
349
  businessId: string;
357
350
  profile: {
@@ -433,7 +426,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
433
426
  };
434
427
  };
435
428
  }[] | null | undefined;
436
- locationTags?: string[] | null | undefined;
437
429
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
438
430
  _id: string;
439
431
  items: {
@@ -471,7 +463,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
471
463
  acceptRequest: boolean;
472
464
  dbName: string;
473
465
  doc: {
474
- customAttributes?: Record<string, any> | null | undefined;
475
466
  _id: string;
476
467
  businessId: string;
477
468
  profile: {
@@ -553,7 +544,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
553
544
  };
554
545
  };
555
546
  }[] | null | undefined;
556
- locationTags?: string[] | null | undefined;
557
547
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
558
548
  _id: string;
559
549
  items: {
@@ -598,7 +588,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
598
588
  acceptRequest: boolean;
599
589
  dbName: string;
600
590
  doc: {
601
- customAttributes?: Record<string, any> | null | undefined;
602
591
  _id: string;
603
592
  businessId: string;
604
593
  profile: {
@@ -680,7 +669,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
680
669
  };
681
670
  };
682
671
  }[] | null | undefined;
683
- locationTags?: string[] | null | undefined;
684
672
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
685
673
  _id: string;
686
674
  items: {
@@ -703,7 +691,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
703
691
  acceptRequest: boolean;
704
692
  dbName: string;
705
693
  doc: {
706
- customAttributes?: Record<string, any> | null | undefined;
707
694
  _id: string;
708
695
  businessId: string;
709
696
  profile: {
@@ -785,7 +772,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
785
772
  };
786
773
  };
787
774
  }[] | null | undefined;
788
- locationTags?: string[] | null | undefined;
789
775
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
790
776
  _id: string;
791
777
  items: {
@@ -808,7 +794,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
808
794
  acceptRequest: boolean;
809
795
  dbName: string;
810
796
  doc: {
811
- customAttributes?: Record<string, any> | null | undefined;
812
797
  _id: string;
813
798
  businessId: string;
814
799
  profile: {
@@ -890,7 +875,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
890
875
  };
891
876
  };
892
877
  }[] | null | undefined;
893
- locationTags?: string[] | null | undefined;
894
878
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
895
879
  _id: string;
896
880
  items: {
@@ -928,7 +912,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
928
912
  acceptRequest: boolean;
929
913
  dbName: string;
930
914
  doc: {
931
- customAttributes?: Record<string, any> | null | undefined;
932
915
  _id: string;
933
916
  businessId: string;
934
917
  profile: {
@@ -1010,7 +993,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1010
993
  };
1011
994
  };
1012
995
  }[] | null | undefined;
1013
- locationTags?: string[] | null | undefined;
1014
996
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1015
997
  _id: string;
1016
998
  items: {
@@ -1055,7 +1037,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1055
1037
  acceptRequest: boolean;
1056
1038
  dbName: string;
1057
1039
  doc: {
1058
- customAttributes?: Record<string, any> | null | undefined;
1059
1040
  _id: string;
1060
1041
  businessId: string;
1061
1042
  profile: {
@@ -1137,7 +1118,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1137
1118
  };
1138
1119
  };
1139
1120
  }[] | null | undefined;
1140
- locationTags?: string[] | null | undefined;
1141
1121
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1142
1122
  _id: string;
1143
1123
  items: {
@@ -1160,7 +1140,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1160
1140
  acceptRequest: boolean;
1161
1141
  dbName: string;
1162
1142
  doc: {
1163
- customAttributes?: Record<string, any> | null | undefined;
1164
1143
  _id: string;
1165
1144
  businessId: string;
1166
1145
  profile: {
@@ -1242,7 +1221,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1242
1221
  };
1243
1222
  };
1244
1223
  }[] | null | undefined;
1245
- locationTags?: string[] | null | undefined;
1246
1224
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1247
1225
  _id: string;
1248
1226
  items: {
@@ -1265,7 +1243,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1265
1243
  acceptRequest: boolean;
1266
1244
  dbName: string;
1267
1245
  doc: {
1268
- customAttributes?: Record<string, any> | null | undefined;
1269
1246
  _id: string;
1270
1247
  businessId: string;
1271
1248
  profile: {
@@ -1347,7 +1324,6 @@ export declare const useWastageTemplateTable: import("pinia").StoreDefinition<"w
1347
1324
  };
1348
1325
  };
1349
1326
  }[] | null | undefined;
1350
- locationTags?: string[] | null | undefined;
1351
1327
  type: "RECEIVE" | "REQUEST" | "SALES" | "RETURN" | "LOSE" | "THEFT" | "DAMAGE" | "EXTRA" | "PURCHASE" | "CONVERT" | "CLOSING" | "USAGE" | "WASTAGE";
1352
1328
  _id: string;
1353
1329
  items: {
@@ -4,6 +4,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4
4
  remark?: string | null | undefined;
5
5
  _rev?: string | null | undefined;
6
6
  effectiveAt?: string | null | undefined;
7
+ stockSnapshot?: {
8
+ costs?: {
9
+ adjustmentId?: string | null | undefined;
10
+ amount: {
11
+ amount: number;
12
+ precision: number;
13
+ };
14
+ cost: {
15
+ 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";
16
+ amount: number;
17
+ precision: number;
18
+ };
19
+ }[] | null | undefined;
20
+ closing?: {
21
+ costBalances?: {
22
+ adjustmentId?: string | null | undefined;
23
+ amount: {
24
+ amount: number;
25
+ precision: number;
26
+ };
27
+ cost: {
28
+ 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";
29
+ amount: number;
30
+ precision: number;
31
+ };
32
+ }[] | null | undefined;
33
+ balance: {
34
+ amount: number;
35
+ precision: number;
36
+ };
37
+ id: string;
38
+ createdAt: string;
39
+ } | null | undefined;
40
+ weightedAverage?: {
41
+ 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";
42
+ amount: number;
43
+ precision: number;
44
+ } | null | undefined;
45
+ balance: {
46
+ amount: number;
47
+ precision: number;
48
+ };
49
+ id: string;
50
+ }[] | null | undefined;
7
51
  approvedAt?: string | null | undefined;
8
52
  approvedBy?: {
9
53
  name: string;
@@ -23,7 +67,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
23
67
  negativeStockItems?: {
24
68
  remark?: string | null | undefined;
25
69
  sku: {
26
- customAttributes?: Record<string, any> | null | undefined;
27
70
  trackingMeasurement?: string | null | undefined;
28
71
  convert?: {
29
72
  measurement?: string | null | undefined;
@@ -67,6 +110,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
67
110
  low: number;
68
111
  mid: number;
69
112
  } | null | undefined;
113
+ customAttributes?: Record<string, any> | null | undefined;
70
114
  unit: {
71
115
  _id: string;
72
116
  name: string;
@@ -111,7 +155,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
111
155
  items: {
112
156
  remark?: string | null | undefined;
113
157
  sku: {
114
- customAttributes?: Record<string, any> | null | undefined;
115
158
  trackingMeasurement?: string | null | undefined;
116
159
  convert?: {
117
160
  measurement?: string | null | undefined;
@@ -155,6 +198,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
155
198
  low: number;
156
199
  mid: number;
157
200
  } | null | undefined;
201
+ customAttributes?: Record<string, any> | null | undefined;
158
202
  unit: {
159
203
  _id: string;
160
204
  name: string;
@@ -214,7 +258,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
214
258
  acceptRequest: boolean;
215
259
  dbName: string;
216
260
  doc: {
217
- customAttributes?: Record<string, any> | null | undefined;
218
261
  _id: string;
219
262
  businessId: string;
220
263
  profile: {
@@ -296,7 +339,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
296
339
  };
297
340
  };
298
341
  }[] | null | undefined;
299
- locationTags?: string[] | null | undefined;
300
342
  updatedBy?: {
301
343
  name: string;
302
344
  id: string;
@@ -317,6 +359,50 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
317
359
  remark?: string | null | undefined;
318
360
  _rev?: string | null | undefined;
319
361
  effectiveAt?: string | null | undefined;
362
+ stockSnapshot?: {
363
+ costs?: {
364
+ adjustmentId?: string | null | undefined;
365
+ amount: {
366
+ amount: number;
367
+ precision: number;
368
+ };
369
+ cost: {
370
+ 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";
371
+ amount: number;
372
+ precision: number;
373
+ };
374
+ }[] | null | undefined;
375
+ closing?: {
376
+ costBalances?: {
377
+ adjustmentId?: string | null | undefined;
378
+ amount: {
379
+ amount: number;
380
+ precision: number;
381
+ };
382
+ cost: {
383
+ 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";
384
+ amount: number;
385
+ precision: number;
386
+ };
387
+ }[] | null | undefined;
388
+ balance: {
389
+ amount: number;
390
+ precision: number;
391
+ };
392
+ id: string;
393
+ createdAt: string;
394
+ } | null | undefined;
395
+ weightedAverage?: {
396
+ 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";
397
+ amount: number;
398
+ precision: number;
399
+ } | null | undefined;
400
+ balance: {
401
+ amount: number;
402
+ precision: number;
403
+ };
404
+ id: string;
405
+ }[] | null | undefined;
320
406
  approvedAt?: string | null | undefined;
321
407
  approvedBy?: {
322
408
  name: string;
@@ -336,7 +422,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
336
422
  negativeStockItems?: {
337
423
  remark?: string | null | undefined;
338
424
  sku: {
339
- customAttributes?: Record<string, any> | null | undefined;
340
425
  trackingMeasurement?: string | null | undefined;
341
426
  convert?: {
342
427
  measurement?: string | null | undefined;
@@ -380,6 +465,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
380
465
  low: number;
381
466
  mid: number;
382
467
  } | null | undefined;
468
+ customAttributes?: Record<string, any> | null | undefined;
383
469
  unit: {
384
470
  _id: string;
385
471
  name: string;
@@ -424,7 +510,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
424
510
  items: {
425
511
  remark?: string | null | undefined;
426
512
  sku: {
427
- customAttributes?: Record<string, any> | null | undefined;
428
513
  trackingMeasurement?: string | null | undefined;
429
514
  convert?: {
430
515
  measurement?: string | null | undefined;
@@ -468,6 +553,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
468
553
  low: number;
469
554
  mid: number;
470
555
  } | null | undefined;
556
+ customAttributes?: Record<string, any> | null | undefined;
471
557
  unit: {
472
558
  _id: string;
473
559
  name: string;
@@ -527,7 +613,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
527
613
  acceptRequest: boolean;
528
614
  dbName: string;
529
615
  doc: {
530
- customAttributes?: Record<string, any> | null | undefined;
531
616
  _id: string;
532
617
  businessId: string;
533
618
  profile: {
@@ -609,7 +694,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
609
694
  };
610
695
  };
611
696
  }[] | null | undefined;
612
- locationTags?: string[] | null | undefined;
613
697
  updatedBy?: {
614
698
  name: string;
615
699
  id: string;
@@ -3,6 +3,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
3
3
  closeDraftDialog: () => void;
4
4
  approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
5
5
  rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
6
+ syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
6
7
  exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
7
8
  viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
8
9
  viewClosingDraftProps: import("vue").Ref<any, any>;
@@ -11,6 +12,7 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
11
12
  closeDraftDialog: () => void;
12
13
  approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
13
14
  rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
15
+ syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
14
16
  exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
15
17
  viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
16
18
  viewClosingDraftProps: import("vue").Ref<any, any>;
@@ -19,7 +21,8 @@ export declare const useClosingDraftActions: import("pinia").StoreDefinition<"cl
19
21
  closeDraftDialog: () => void;
20
22
  approveDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
21
23
  rejectDraft: (draft: FdoClosingDraft, onFinished?: Function) => void;
24
+ syncDraft: (draft: FdoClosingDraft, onFinished?: Function) => Promise<void>;
22
25
  exportDraft: (draft: FdoClosingDraft, skuBalances?: FdoSkuBalance[]) => Promise<void>;
23
26
  viewClosingDraftShow: import("vue").Ref<boolean, boolean>;
24
27
  viewClosingDraftProps: import("vue").Ref<any, any>;
25
- }, "approveDraft" | "rejectDraft" | "viewDraft" | "closeDraftDialog" | "exportDraft">>;
28
+ }, "approveDraft" | "rejectDraft" | "viewDraft" | "closeDraftDialog" | "syncDraft" | "exportDraft">>;