@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.
- package/dist/{App-ChJEzu4r.js → App-D8p5pMar.js} +5 -5
- package/dist/{ApprovalView-DE7cizNA.js → ApprovalView-B6WmrP3R.js} +7 -7
- package/dist/{BindingsDialog-BsMtvOJG.js → BindingsDialog-DAG2toHR.js} +2 -2
- package/dist/{BindingsPicker-Cqm2FCk4.js → BindingsPicker-CPbNuwFq.js} +2 -2
- package/dist/{BindingsTable-DnmlqSXV.js → BindingsTable-Hkkel0vq.js} +3 -3
- package/dist/{ClosingDraftView-DCo7R5X_.js → ClosingDraftView-JCtS2MZa.js} +15 -15
- package/dist/{ClosingHistoryView-B8pvoz_L.js → ClosingHistoryView-D7GacAqj.js} +5 -5
- package/dist/{ClosingTemplateView-BhWMZskM.js → ClosingTemplateView-DqpbjHK2.js} +14 -14
- package/dist/{DefaultView-7L4zg3pD.js → DefaultView-BSm6fE5w.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BJUAI20p.js → DeliveryOrderPrintPreview-DFj56iJk.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZz44xPT.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaVUl6v3.js} +2 -2
- 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
- package/dist/{FmMultiselectDialog-CSlbhVxn.js → FmMultiselectDialog-BE2Tqm4H.js} +1 -1
- package/dist/{FmMultiselectDialog-CPt0eMqz.js → FmMultiselectDialog-DpekFj8a.js} +2 -2
- 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
- package/dist/{ImportView-DDq7-EqO.js → ImportView-CAcUO9Pv.js} +6 -6
- 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
- package/dist/{IngredientGroupView-BOPm59h1.js → IngredientGroupView-CeUfykez.js} +5 -5
- package/dist/{IngredientsView-Drxqdl5C.js → IngredientsView-Cdhgw3Tw.js} +15 -15
- package/dist/{IntegrationExplorerView-ClolIlZJ.js → IntegrationExplorerView-BioiObpU.js} +5 -5
- package/dist/{IntegrationView-BhsxOMny.js → IntegrationView-BHjOvMpX.js} +13 -13
- package/dist/{InventoryBindingForm-DSmmb2Re.js → InventoryBindingForm-D892WEqV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bs1WRSC4.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BMfmKcz8.js} +5 -5
- package/dist/{InventoryBindingSummary-DwmmGqLA.js → InventoryBindingSummary-DOGWF0fo.js} +1 -1
- 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
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WgbXX2to.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CKuIWTXZ.js} +1 -1
- package/dist/{PublishView-CjIwzQ1D.js → PublishView-Dh6OiaG1.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D14UaMbm.js → PurchaseOrderPrintPreview-Cpme08gm.js} +2 -2
- package/dist/{ReceiveRequestView-C5s6H1ly.js → ReceiveRequestView-Dldwu3-H.js} +25 -25
- package/dist/{RecipeView-BWlgNjqM.js → RecipeView-gkZuFdCP.js} +17 -17
- package/dist/{SettingsView-BiaJS0Qs.js → SettingsView-wOy_OATI.js} +4 -4
- package/dist/{StockView-DzdW3saV.js → StockView-DeLcyQrC.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CziwNGpm.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-C2Jax3tb.js} +1 -1
- package/dist/{SupplierView-CEH1mh4O.js → SupplierView-Bf2AW8JH.js} +12 -12
- package/dist/{SurchargeView-DLL1vb1m.js → SurchargeView-CJtg87ol.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CyzJFEM1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bfzqxalj.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-riu5GB0x.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CEz3Yc2Z.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CdPx9jtv.js → TransferDetails.vue_vue_type_script_setup_true_lang-CcpH12aM.js} +20 -20
- package/dist/{TransferTemplateView-B1hOOEld.js → TransferTemplateView-DpWFExzQ.js} +18 -18
- package/dist/{UnitCostHistoryView-CfVLgSsg.js → UnitCostHistoryView-PEexDaAO.js} +4 -4
- 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
- package/dist/{UnitView-CNEW1ZyC.js → UnitView-BPyyMHKE.js} +7 -7
- package/dist/{WarehouseView-BAEddBqH.js → WarehouseView-BmCech19.js} +5 -5
- package/dist/{WastageTemplateView-BDDcGlH1.js → WastageTemplateView-DJOBAWKd.js} +14 -14
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +92 -92
- package/dist/api/netsuite.d.ts +67 -67
- package/dist/api/surcharge.d.ts +2 -2
- package/dist/{app-8jckOqPv.js → app-D4P-koOR.js} +31824 -31795
- package/dist/app.d.ts +24 -24
- package/dist/app.js +1 -1
- package/dist/{closing-template-DI_wHTs-.js → closing-template-CCvXzoLm.js} +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +20 -20
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +6 -6
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +11 -11
- package/dist/{date2-R--GWp3h.js → date2-XHYHbI0K.js} +1 -1
- package/dist/{dayjs.min-BLMwzZoP.js → dayjs.min-pkE_kmHZ.js} +1 -1
- package/dist/{decimal-C1gVMYNr.js → decimal-CQ7SlCe0.js} +2 -2
- package/dist/{defineDeepModel-v4CSJ0KR.js → defineDeepModel-CZDkmNol.js} +1 -1
- package/dist/{duplicate-template-B2FyWucr.js → duplicate-template-BQ0bF_MO.js} +1 -1
- package/dist/export-CDIp6ydU.js +26 -0
- package/dist/{feature-D5wDntDA.js → feature-C4zPjstX.js} +2 -2
- package/dist/{format-time-from-id-iIaeuVUR.js → format-time-from-id-D_USijTz.js} +1 -1
- package/dist/{format-unit-display-DoXOol_B.js → format-unit-display-CF6-yU7v.js} +11 -11
- package/dist/helper/xlsx.util.d.ts +9 -0
- package/dist/{import-export.helper-CRZm_4kx.js → import-export.helper-iVXMr9yw.js} +6 -6
- package/dist/{index-DvydJuBP.js → index-BIG8c4oA.js} +3 -3
- package/dist/{index-Dctf0kPG.js → index-CTNLpvtM.js} +1 -1
- package/dist/{index-BlCcDs_t.js → index-EoaZ_eFV.js} +1 -1
- package/dist/{inventory-core-dart.default-BGNoRNOu.js → inventory-core-dart.default-D6cCA8tk.js} +1 -1
- package/dist/{lodash-BGLr9-Z4.js → lodash-DR7t9CsC.js} +1 -1
- package/dist/{lz-string-BXxSHhql.js → lz-string-DgqLqrsO.js} +1 -1
- package/dist/modules/print-template/api/print-template.d.ts +3 -3
- package/dist/modules/print-template/components/PrintTemplateEditorDialog.vue.d.ts +6 -6
- package/dist/modules/print-template/store/print-template.d.ts +36 -36
- package/dist/{netsuite-QrjgLCzF.js → netsuite-ByBZj6uf.js} +55 -44
- package/dist/{number-BW3CMNw8.js → number-f4J4YlZT.js} +3 -3
- package/dist/{predefined-templates-BAl0dgvF.js → predefined-templates-BlmLhRsh.js} +1 -1
- package/dist/{purchase-order-template-BXiI76-R.js → purchase-order-template-BS94QDpg.js} +1 -1
- package/dist/{recalculationUtils-DryzcsyX.js → recalculationUtils-D0wl-tgM.js} +1 -1
- package/dist/{rules-uhOTzvDT.js → rules-Cpi5Vduo.js} +2 -2
- package/dist/{stock-DIzLmqOG.js → stock-BynB5KIH.js} +1 -1
- package/dist/{stock-CFigyCpv.js → stock-GYUDrBUF.js} +3 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +22 -22
- package/dist/stores/inventory.d.ts +91 -91
- package/dist/stores/location.d.ts +28 -28
- package/dist/stores/stock.d.ts +3 -3
- package/dist/stores/supplier.d.ts +120 -120
- package/dist/stores/surcharge.d.ts +1 -1
- package/dist/stores/warehouse.d.ts +5 -5
- package/dist/{supplier-DnHSGzUP.js → supplier-BDpzWHvm.js} +2 -2
- package/dist/{surcharge-NTU0Whsq.js → surcharge-ztZ3mUE2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BTeCOYD1.js → use-ingredient-select-dialog-xx_W7OyU.js} +2 -2
- package/dist/{use-inventory-binding-dialog-C5dSHkMZ.js → use-inventory-binding-dialog-B_OV8CCL.js} +2 -2
- package/dist/{use-template-enabled-locations-Ba9BFrFN.js → use-template-enabled-locations-ByOi4t2R.js} +2 -2
- package/dist/{use-transfer-locations-D__VLxA7.js → use-transfer-locations-BOR-wq8s.js} +2 -2
- package/dist/{useHrmPermission-DMlbCSlp.js → useHrmPermission-BtXw89bp.js} +1 -1
- package/dist/{useNavigationMenu-jtnBmp0t.js → useNavigationMenu-Ds6IBfYX.js} +2 -2
- package/dist/{useSseClient-D8q23tYV.js → useSseClient-q5d7Qjrq.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +60 -60
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +4 -4
- package/dist/views/adjustment-template/wastage-template/table.d.ts +66 -66
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +156 -156
- package/dist/views/closing-draft/composables/use-closing-draft-import.d.ts +55 -55
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +234 -234
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +8 -8
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +132 -132
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +132 -132
- package/dist/views/ingredient-group/components/ingredient-group-rule-field/IngredientGroupRuleField.vue.d.ts +2 -2
- package/dist/views/ingredient-group/composables/use-ingredient-group-rule-item.d.ts +1 -1
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +9 -9
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +32 -32
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/InventoryBindingFormV2.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryBindingAlternative.vue.d.ts +4 -4
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventoryRecipeBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/components/InventorySkuBindingV2Field.vue.d.ts +12 -12
- package/dist/views/ingredients/components/inventory-binding/v2/composables/use-inventory-binding-alternative-table.d.ts +1 -1
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +8 -8
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/InventoryTransfer.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +32 -32
- package/dist/views/integration/components/netsuite/PurchaseOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/TransferOrder.vue.d.ts +4 -4
- package/dist/views/integration/components/netsuite/business/AddLocationDialog.vue.d.ts +12 -12
- package/dist/views/integration/components/netsuite/business/AddVendorDialog.vue.d.ts +60 -60
- package/dist/views/integration-explorer/netsuite/inventoryTransfer/InventoryTransferView.vue.d.ts +4 -4
- package/dist/views/integration-explorer/netsuite/orders/OrdersView.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +152 -152
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +32 -32
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +64 -64
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +16 -16
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +221 -221
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1503 -1503
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1758 -1758
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +6 -6
- package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +90 -90
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +26 -26
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +2 -2
- package/dist/views/supplier/composables/use-supplier-table.d.ts +5 -5
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +122 -122
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +18 -18
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +32 -32
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +16 -16
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +16 -16
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +48 -48
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +757 -757
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +755 -755
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +2 -2
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +2 -2
- package/dist/views/unit/composables/use-unit-table.d.ts +1 -1
- package/dist/views/unit-cost-history/composables/use-unit-cost-history.d.ts +3 -3
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +10 -10
- package/dist/{vue-i18n-8-OMxHzQ.js → vue-i18n-C35dl24s.js} +302 -302
- package/dist/{xlsx-BFjtlsJV.js → xlsx-CzLrFB_A.js} +1 -1
- package/dist/xlsx.util-osyDkxYO.js +101 -0
- package/package.json +5 -5
- package/dist/export-rvaYes9_.js +0 -25
- package/dist/xlsx.util-0LMGvDYM.js +0 -78
|
@@ -44,8 +44,8 @@ export declare function useInventoryStore(): {
|
|
|
44
44
|
abbrev: string;
|
|
45
45
|
precision: number;
|
|
46
46
|
measurements: {
|
|
47
|
-
id: string;
|
|
48
47
|
name: string;
|
|
48
|
+
id: string;
|
|
49
49
|
abbrev: string;
|
|
50
50
|
conversion: {
|
|
51
51
|
amount: number;
|
|
@@ -60,8 +60,8 @@ export declare function useInventoryStore(): {
|
|
|
60
60
|
name: string;
|
|
61
61
|
contains: {
|
|
62
62
|
measurement?: {
|
|
63
|
-
id: string;
|
|
64
63
|
name: string;
|
|
64
|
+
id: string;
|
|
65
65
|
abbrev: string;
|
|
66
66
|
conversion: {
|
|
67
67
|
amount: number;
|
|
@@ -70,17 +70,17 @@ export declare function useInventoryStore(): {
|
|
|
70
70
|
} | null | undefined;
|
|
71
71
|
rules?: Record<string, any> | null | undefined;
|
|
72
72
|
alternatives?: {
|
|
73
|
-
priority?: number | null | undefined;
|
|
74
73
|
default?: boolean | null | undefined;
|
|
75
74
|
trackingMeasurement?: string | null | undefined;
|
|
75
|
+
priority?: number | null | undefined;
|
|
76
76
|
_id: string;
|
|
77
77
|
}[] | null | undefined;
|
|
78
|
-
id: string;
|
|
79
78
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
80
79
|
amount: {
|
|
81
80
|
amount: number;
|
|
82
81
|
precision: number;
|
|
83
82
|
};
|
|
83
|
+
id: string;
|
|
84
84
|
}[];
|
|
85
85
|
}[] | null | undefined;
|
|
86
86
|
sku?: {
|
|
@@ -90,8 +90,8 @@ export declare function useInventoryStore(): {
|
|
|
90
90
|
measurement?: string | null | undefined;
|
|
91
91
|
inventoryBindings?: {
|
|
92
92
|
measurement?: {
|
|
93
|
-
id: string;
|
|
94
93
|
name: string;
|
|
94
|
+
id: string;
|
|
95
95
|
abbrev: string;
|
|
96
96
|
conversion: {
|
|
97
97
|
amount: number;
|
|
@@ -100,24 +100,24 @@ export declare function useInventoryStore(): {
|
|
|
100
100
|
} | null | undefined;
|
|
101
101
|
rules?: Record<string, any> | null | undefined;
|
|
102
102
|
alternatives?: {
|
|
103
|
-
priority?: number | null | undefined;
|
|
104
103
|
default?: boolean | null | undefined;
|
|
105
104
|
trackingMeasurement?: string | null | undefined;
|
|
105
|
+
priority?: number | null | undefined;
|
|
106
106
|
_id: string;
|
|
107
107
|
}[] | null | undefined;
|
|
108
|
-
id: string;
|
|
109
108
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
110
109
|
amount: {
|
|
111
110
|
amount: number;
|
|
112
111
|
precision: number;
|
|
113
112
|
};
|
|
113
|
+
id: string;
|
|
114
114
|
}[] | null | undefined;
|
|
115
115
|
} | null | undefined;
|
|
116
116
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
117
117
|
defaultCost?: {
|
|
118
118
|
measurement?: {
|
|
119
|
-
id: string;
|
|
120
119
|
name: string;
|
|
120
|
+
id: string;
|
|
121
121
|
abbrev: string;
|
|
122
122
|
conversion: {
|
|
123
123
|
amount: number;
|
|
@@ -136,17 +136,14 @@ export declare function useInventoryStore(): {
|
|
|
136
136
|
mid: number;
|
|
137
137
|
} | null | undefined;
|
|
138
138
|
customAttributes?: Record<string, any> | null | undefined;
|
|
139
|
-
_id: string;
|
|
140
|
-
name: string;
|
|
141
|
-
code: string;
|
|
142
139
|
unit: {
|
|
143
140
|
_id: string;
|
|
144
141
|
name: string;
|
|
145
142
|
abbrev: string;
|
|
146
143
|
precision: number;
|
|
147
144
|
measurements: {
|
|
148
|
-
id: string;
|
|
149
145
|
name: string;
|
|
146
|
+
id: string;
|
|
150
147
|
abbrev: string;
|
|
151
148
|
conversion: {
|
|
152
149
|
amount: number;
|
|
@@ -154,24 +151,27 @@ export declare function useInventoryStore(): {
|
|
|
154
151
|
};
|
|
155
152
|
}[];
|
|
156
153
|
};
|
|
154
|
+
code: string;
|
|
155
|
+
_id: string;
|
|
156
|
+
name: string;
|
|
157
157
|
}[] | null | undefined;
|
|
158
158
|
skuGroup?: {
|
|
159
|
-
ref?: string | null | undefined;
|
|
160
159
|
rules?: {
|
|
161
160
|
rule?: any;
|
|
162
161
|
_id: string;
|
|
163
162
|
name: string;
|
|
164
163
|
skuRefs: {
|
|
165
|
-
priority?: number | null | undefined;
|
|
166
164
|
default?: boolean | null | undefined;
|
|
167
165
|
trackingMeasurement?: string | null | undefined;
|
|
166
|
+
priority?: number | null | undefined;
|
|
168
167
|
_id: string;
|
|
169
168
|
}[];
|
|
170
169
|
}[] | null | undefined;
|
|
170
|
+
ref?: string | null | undefined;
|
|
171
171
|
defaultSkuRefs?: {
|
|
172
|
-
priority?: number | null | undefined;
|
|
173
172
|
default?: boolean | null | undefined;
|
|
174
173
|
trackingMeasurement?: string | null | undefined;
|
|
174
|
+
priority?: number | null | undefined;
|
|
175
175
|
_id: string;
|
|
176
176
|
}[] | null | undefined;
|
|
177
177
|
_id: string;
|
|
@@ -865,8 +865,8 @@ export declare function useInventoryStore(): {
|
|
|
865
865
|
abbrev: string;
|
|
866
866
|
precision: number;
|
|
867
867
|
measurements: {
|
|
868
|
-
id: string;
|
|
869
868
|
name: string;
|
|
869
|
+
id: string;
|
|
870
870
|
abbrev: string;
|
|
871
871
|
conversion: {
|
|
872
872
|
amount: number;
|
|
@@ -881,8 +881,8 @@ export declare function useInventoryStore(): {
|
|
|
881
881
|
name: string;
|
|
882
882
|
contains: {
|
|
883
883
|
measurement?: {
|
|
884
|
-
id: string;
|
|
885
884
|
name: string;
|
|
885
|
+
id: string;
|
|
886
886
|
abbrev: string;
|
|
887
887
|
conversion: {
|
|
888
888
|
amount: number;
|
|
@@ -891,17 +891,17 @@ export declare function useInventoryStore(): {
|
|
|
891
891
|
} | null | undefined;
|
|
892
892
|
rules?: Record<string, any> | null | undefined;
|
|
893
893
|
alternatives?: {
|
|
894
|
-
priority?: number | null | undefined;
|
|
895
894
|
default?: boolean | null | undefined;
|
|
896
895
|
trackingMeasurement?: string | null | undefined;
|
|
896
|
+
priority?: number | null | undefined;
|
|
897
897
|
_id: string;
|
|
898
898
|
}[] | null | undefined;
|
|
899
|
-
id: string;
|
|
900
899
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
901
900
|
amount: {
|
|
902
901
|
amount: number;
|
|
903
902
|
precision: number;
|
|
904
903
|
};
|
|
904
|
+
id: string;
|
|
905
905
|
}[];
|
|
906
906
|
}[] | null | undefined;
|
|
907
907
|
sku?: {
|
|
@@ -911,8 +911,8 @@ export declare function useInventoryStore(): {
|
|
|
911
911
|
measurement?: string | null | undefined;
|
|
912
912
|
inventoryBindings?: {
|
|
913
913
|
measurement?: {
|
|
914
|
-
id: string;
|
|
915
914
|
name: string;
|
|
915
|
+
id: string;
|
|
916
916
|
abbrev: string;
|
|
917
917
|
conversion: {
|
|
918
918
|
amount: number;
|
|
@@ -921,24 +921,24 @@ export declare function useInventoryStore(): {
|
|
|
921
921
|
} | null | undefined;
|
|
922
922
|
rules?: Record<string, any> | null | undefined;
|
|
923
923
|
alternatives?: {
|
|
924
|
-
priority?: number | null | undefined;
|
|
925
924
|
default?: boolean | null | undefined;
|
|
926
925
|
trackingMeasurement?: string | null | undefined;
|
|
926
|
+
priority?: number | null | undefined;
|
|
927
927
|
_id: string;
|
|
928
928
|
}[] | null | undefined;
|
|
929
|
-
id: string;
|
|
930
929
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
931
930
|
amount: {
|
|
932
931
|
amount: number;
|
|
933
932
|
precision: number;
|
|
934
933
|
};
|
|
934
|
+
id: string;
|
|
935
935
|
}[] | null | undefined;
|
|
936
936
|
} | null | undefined;
|
|
937
937
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
938
938
|
defaultCost?: {
|
|
939
939
|
measurement?: {
|
|
940
|
-
id: string;
|
|
941
940
|
name: string;
|
|
941
|
+
id: string;
|
|
942
942
|
abbrev: string;
|
|
943
943
|
conversion: {
|
|
944
944
|
amount: number;
|
|
@@ -957,17 +957,14 @@ export declare function useInventoryStore(): {
|
|
|
957
957
|
mid: number;
|
|
958
958
|
} | null | undefined;
|
|
959
959
|
customAttributes?: Record<string, any> | null | undefined;
|
|
960
|
-
_id: string;
|
|
961
|
-
name: string;
|
|
962
|
-
code: string;
|
|
963
960
|
unit: {
|
|
964
961
|
_id: string;
|
|
965
962
|
name: string;
|
|
966
963
|
abbrev: string;
|
|
967
964
|
precision: number;
|
|
968
965
|
measurements: {
|
|
969
|
-
id: string;
|
|
970
966
|
name: string;
|
|
967
|
+
id: string;
|
|
971
968
|
abbrev: string;
|
|
972
969
|
conversion: {
|
|
973
970
|
amount: number;
|
|
@@ -975,24 +972,27 @@ export declare function useInventoryStore(): {
|
|
|
975
972
|
};
|
|
976
973
|
}[];
|
|
977
974
|
};
|
|
975
|
+
code: string;
|
|
976
|
+
_id: string;
|
|
977
|
+
name: string;
|
|
978
978
|
}[] | null | undefined;
|
|
979
979
|
skuGroup?: {
|
|
980
|
-
ref?: string | null | undefined;
|
|
981
980
|
rules?: {
|
|
982
981
|
rule?: any;
|
|
983
982
|
_id: string;
|
|
984
983
|
name: string;
|
|
985
984
|
skuRefs: {
|
|
986
|
-
priority?: number | null | undefined;
|
|
987
985
|
default?: boolean | null | undefined;
|
|
988
986
|
trackingMeasurement?: string | null | undefined;
|
|
987
|
+
priority?: number | null | undefined;
|
|
989
988
|
_id: string;
|
|
990
989
|
}[];
|
|
991
990
|
}[] | null | undefined;
|
|
991
|
+
ref?: string | null | undefined;
|
|
992
992
|
defaultSkuRefs?: {
|
|
993
|
-
priority?: number | null | undefined;
|
|
994
993
|
default?: boolean | null | undefined;
|
|
995
994
|
trackingMeasurement?: string | null | undefined;
|
|
995
|
+
priority?: number | null | undefined;
|
|
996
996
|
_id: string;
|
|
997
997
|
}[] | null | undefined;
|
|
998
998
|
_id: string;
|
|
@@ -2096,8 +2096,8 @@ export declare function useInventoryStore(): {
|
|
|
2096
2096
|
unitUsedBy: Record<string, UnitUsedBy[]>;
|
|
2097
2097
|
};
|
|
2098
2098
|
closing: {
|
|
2099
|
-
remark?: string | null | undefined;
|
|
2100
2099
|
ref?: string | null | undefined;
|
|
2100
|
+
remark?: string | null | undefined;
|
|
2101
2101
|
effectiveAt?: string | null | undefined;
|
|
2102
2102
|
closedBy?: {
|
|
2103
2103
|
name: string;
|
|
@@ -2119,12 +2119,12 @@ export declare function useInventoryStore(): {
|
|
|
2119
2119
|
precision: number;
|
|
2120
2120
|
};
|
|
2121
2121
|
}[] | null | undefined;
|
|
2122
|
+
id: string;
|
|
2123
|
+
createdAt: string;
|
|
2122
2124
|
balance: {
|
|
2123
2125
|
amount: number;
|
|
2124
2126
|
precision: number;
|
|
2125
2127
|
};
|
|
2126
|
-
id: string;
|
|
2127
|
-
createdAt: string;
|
|
2128
2128
|
} | null | undefined;
|
|
2129
2129
|
weightedAverage?: {
|
|
2130
2130
|
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";
|
|
@@ -2143,11 +2143,11 @@ export declare function useInventoryStore(): {
|
|
|
2143
2143
|
precision: number;
|
|
2144
2144
|
};
|
|
2145
2145
|
}[] | null | undefined;
|
|
2146
|
+
id: string;
|
|
2146
2147
|
balance: {
|
|
2147
2148
|
amount: number;
|
|
2148
2149
|
precision: number;
|
|
2149
2150
|
};
|
|
2150
|
-
id: string;
|
|
2151
2151
|
}[] | undefined;
|
|
2152
2152
|
} | null;
|
|
2153
2153
|
inventoryFetching: boolean;
|
|
@@ -2159,8 +2159,8 @@ export declare function useInventoryStore(): {
|
|
|
2159
2159
|
abbrev: string;
|
|
2160
2160
|
precision: number;
|
|
2161
2161
|
measurements: {
|
|
2162
|
-
id: string;
|
|
2163
2162
|
name: string;
|
|
2163
|
+
id: string;
|
|
2164
2164
|
abbrev: string;
|
|
2165
2165
|
conversion: {
|
|
2166
2166
|
amount: number;
|
|
@@ -2174,8 +2174,8 @@ export declare function useInventoryStore(): {
|
|
|
2174
2174
|
abbrev: string;
|
|
2175
2175
|
precision: number;
|
|
2176
2176
|
measurements: {
|
|
2177
|
-
id: string;
|
|
2178
2177
|
name: string;
|
|
2178
|
+
id: string;
|
|
2179
2179
|
abbrev: string;
|
|
2180
2180
|
conversion: {
|
|
2181
2181
|
amount: number;
|
|
@@ -2190,8 +2190,8 @@ export declare function useInventoryStore(): {
|
|
|
2190
2190
|
name: string;
|
|
2191
2191
|
contains: {
|
|
2192
2192
|
measurement?: {
|
|
2193
|
-
id: string;
|
|
2194
2193
|
name: string;
|
|
2194
|
+
id: string;
|
|
2195
2195
|
abbrev: string;
|
|
2196
2196
|
conversion: {
|
|
2197
2197
|
amount: number;
|
|
@@ -2200,17 +2200,17 @@ export declare function useInventoryStore(): {
|
|
|
2200
2200
|
} | null | undefined;
|
|
2201
2201
|
rules?: Record<string, any> | null | undefined;
|
|
2202
2202
|
alternatives?: {
|
|
2203
|
-
priority?: number | null | undefined;
|
|
2204
2203
|
default?: boolean | null | undefined;
|
|
2205
2204
|
trackingMeasurement?: string | null | undefined;
|
|
2205
|
+
priority?: number | null | undefined;
|
|
2206
2206
|
_id: string;
|
|
2207
2207
|
}[] | null | undefined;
|
|
2208
|
-
id: string;
|
|
2209
2208
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2210
2209
|
amount: {
|
|
2211
2210
|
amount: number;
|
|
2212
2211
|
precision: number;
|
|
2213
2212
|
};
|
|
2213
|
+
id: string;
|
|
2214
2214
|
}[];
|
|
2215
2215
|
}[];
|
|
2216
2216
|
readonly recipeById: Record<string, {
|
|
@@ -2220,8 +2220,8 @@ export declare function useInventoryStore(): {
|
|
|
2220
2220
|
name: string;
|
|
2221
2221
|
contains: {
|
|
2222
2222
|
measurement?: {
|
|
2223
|
-
id: string;
|
|
2224
2223
|
name: string;
|
|
2224
|
+
id: string;
|
|
2225
2225
|
abbrev: string;
|
|
2226
2226
|
conversion: {
|
|
2227
2227
|
amount: number;
|
|
@@ -2230,17 +2230,17 @@ export declare function useInventoryStore(): {
|
|
|
2230
2230
|
} | null | undefined;
|
|
2231
2231
|
rules?: Record<string, any> | null | undefined;
|
|
2232
2232
|
alternatives?: {
|
|
2233
|
-
priority?: number | null | undefined;
|
|
2234
2233
|
default?: boolean | null | undefined;
|
|
2235
2234
|
trackingMeasurement?: string | null | undefined;
|
|
2235
|
+
priority?: number | null | undefined;
|
|
2236
2236
|
_id: string;
|
|
2237
2237
|
}[] | null | undefined;
|
|
2238
|
-
id: string;
|
|
2239
2238
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2240
2239
|
amount: {
|
|
2241
2240
|
amount: number;
|
|
2242
2241
|
precision: number;
|
|
2243
2242
|
};
|
|
2243
|
+
id: string;
|
|
2244
2244
|
}[];
|
|
2245
2245
|
}>;
|
|
2246
2246
|
readonly recipeByName: Record<string, {
|
|
@@ -2250,8 +2250,8 @@ export declare function useInventoryStore(): {
|
|
|
2250
2250
|
name: string;
|
|
2251
2251
|
contains: {
|
|
2252
2252
|
measurement?: {
|
|
2253
|
-
id: string;
|
|
2254
2253
|
name: string;
|
|
2254
|
+
id: string;
|
|
2255
2255
|
abbrev: string;
|
|
2256
2256
|
conversion: {
|
|
2257
2257
|
amount: number;
|
|
@@ -2260,17 +2260,17 @@ export declare function useInventoryStore(): {
|
|
|
2260
2260
|
} | null | undefined;
|
|
2261
2261
|
rules?: Record<string, any> | null | undefined;
|
|
2262
2262
|
alternatives?: {
|
|
2263
|
-
priority?: number | null | undefined;
|
|
2264
2263
|
default?: boolean | null | undefined;
|
|
2265
2264
|
trackingMeasurement?: string | null | undefined;
|
|
2265
|
+
priority?: number | null | undefined;
|
|
2266
2266
|
_id: string;
|
|
2267
2267
|
}[] | null | undefined;
|
|
2268
|
-
id: string;
|
|
2269
2268
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2270
2269
|
amount: {
|
|
2271
2270
|
amount: number;
|
|
2272
2271
|
precision: number;
|
|
2273
2272
|
};
|
|
2273
|
+
id: string;
|
|
2274
2274
|
}[];
|
|
2275
2275
|
}>;
|
|
2276
2276
|
readonly skus: {
|
|
@@ -2280,8 +2280,8 @@ export declare function useInventoryStore(): {
|
|
|
2280
2280
|
measurement?: string | null | undefined;
|
|
2281
2281
|
inventoryBindings?: {
|
|
2282
2282
|
measurement?: {
|
|
2283
|
-
id: string;
|
|
2284
2283
|
name: string;
|
|
2284
|
+
id: string;
|
|
2285
2285
|
abbrev: string;
|
|
2286
2286
|
conversion: {
|
|
2287
2287
|
amount: number;
|
|
@@ -2290,24 +2290,24 @@ export declare function useInventoryStore(): {
|
|
|
2290
2290
|
} | null | undefined;
|
|
2291
2291
|
rules?: Record<string, any> | null | undefined;
|
|
2292
2292
|
alternatives?: {
|
|
2293
|
-
priority?: number | null | undefined;
|
|
2294
2293
|
default?: boolean | null | undefined;
|
|
2295
2294
|
trackingMeasurement?: string | null | undefined;
|
|
2295
|
+
priority?: number | null | undefined;
|
|
2296
2296
|
_id: string;
|
|
2297
2297
|
}[] | null | undefined;
|
|
2298
|
-
id: string;
|
|
2299
2298
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2300
2299
|
amount: {
|
|
2301
2300
|
amount: number;
|
|
2302
2301
|
precision: number;
|
|
2303
2302
|
};
|
|
2303
|
+
id: string;
|
|
2304
2304
|
}[] | null | undefined;
|
|
2305
2305
|
} | null | undefined;
|
|
2306
2306
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2307
2307
|
defaultCost?: {
|
|
2308
2308
|
measurement?: {
|
|
2309
|
-
id: string;
|
|
2310
2309
|
name: string;
|
|
2310
|
+
id: string;
|
|
2311
2311
|
abbrev: string;
|
|
2312
2312
|
conversion: {
|
|
2313
2313
|
amount: number;
|
|
@@ -2326,17 +2326,14 @@ export declare function useInventoryStore(): {
|
|
|
2326
2326
|
mid: number;
|
|
2327
2327
|
} | null | undefined;
|
|
2328
2328
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2329
|
-
_id: string;
|
|
2330
|
-
name: string;
|
|
2331
|
-
code: string;
|
|
2332
2329
|
unit: {
|
|
2333
2330
|
_id: string;
|
|
2334
2331
|
name: string;
|
|
2335
2332
|
abbrev: string;
|
|
2336
2333
|
precision: number;
|
|
2337
2334
|
measurements: {
|
|
2338
|
-
id: string;
|
|
2339
2335
|
name: string;
|
|
2336
|
+
id: string;
|
|
2340
2337
|
abbrev: string;
|
|
2341
2338
|
conversion: {
|
|
2342
2339
|
amount: number;
|
|
@@ -2344,6 +2341,9 @@ export declare function useInventoryStore(): {
|
|
|
2344
2341
|
};
|
|
2345
2342
|
}[];
|
|
2346
2343
|
};
|
|
2344
|
+
code: string;
|
|
2345
|
+
_id: string;
|
|
2346
|
+
name: string;
|
|
2347
2347
|
}[];
|
|
2348
2348
|
readonly skuById: Record<string, {
|
|
2349
2349
|
trackingMeasurement?: string | null | undefined;
|
|
@@ -2352,8 +2352,8 @@ export declare function useInventoryStore(): {
|
|
|
2352
2352
|
measurement?: string | null | undefined;
|
|
2353
2353
|
inventoryBindings?: {
|
|
2354
2354
|
measurement?: {
|
|
2355
|
-
id: string;
|
|
2356
2355
|
name: string;
|
|
2356
|
+
id: string;
|
|
2357
2357
|
abbrev: string;
|
|
2358
2358
|
conversion: {
|
|
2359
2359
|
amount: number;
|
|
@@ -2362,24 +2362,24 @@ export declare function useInventoryStore(): {
|
|
|
2362
2362
|
} | null | undefined;
|
|
2363
2363
|
rules?: Record<string, any> | null | undefined;
|
|
2364
2364
|
alternatives?: {
|
|
2365
|
-
priority?: number | null | undefined;
|
|
2366
2365
|
default?: boolean | null | undefined;
|
|
2367
2366
|
trackingMeasurement?: string | null | undefined;
|
|
2367
|
+
priority?: number | null | undefined;
|
|
2368
2368
|
_id: string;
|
|
2369
2369
|
}[] | null | undefined;
|
|
2370
|
-
id: string;
|
|
2371
2370
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2372
2371
|
amount: {
|
|
2373
2372
|
amount: number;
|
|
2374
2373
|
precision: number;
|
|
2375
2374
|
};
|
|
2375
|
+
id: string;
|
|
2376
2376
|
}[] | null | undefined;
|
|
2377
2377
|
} | null | undefined;
|
|
2378
2378
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2379
2379
|
defaultCost?: {
|
|
2380
2380
|
measurement?: {
|
|
2381
|
-
id: string;
|
|
2382
2381
|
name: string;
|
|
2382
|
+
id: string;
|
|
2383
2383
|
abbrev: string;
|
|
2384
2384
|
conversion: {
|
|
2385
2385
|
amount: number;
|
|
@@ -2398,17 +2398,14 @@ export declare function useInventoryStore(): {
|
|
|
2398
2398
|
mid: number;
|
|
2399
2399
|
} | null | undefined;
|
|
2400
2400
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2401
|
-
_id: string;
|
|
2402
|
-
name: string;
|
|
2403
|
-
code: string;
|
|
2404
2401
|
unit: {
|
|
2405
2402
|
_id: string;
|
|
2406
2403
|
name: string;
|
|
2407
2404
|
abbrev: string;
|
|
2408
2405
|
precision: number;
|
|
2409
2406
|
measurements: {
|
|
2410
|
-
id: string;
|
|
2411
2407
|
name: string;
|
|
2408
|
+
id: string;
|
|
2412
2409
|
abbrev: string;
|
|
2413
2410
|
conversion: {
|
|
2414
2411
|
amount: number;
|
|
@@ -2416,6 +2413,9 @@ export declare function useInventoryStore(): {
|
|
|
2416
2413
|
};
|
|
2417
2414
|
}[];
|
|
2418
2415
|
};
|
|
2416
|
+
code: string;
|
|
2417
|
+
_id: string;
|
|
2418
|
+
name: string;
|
|
2419
2419
|
}>;
|
|
2420
2420
|
readonly skuByCode: Record<string, {
|
|
2421
2421
|
trackingMeasurement?: string | null | undefined;
|
|
@@ -2424,8 +2424,8 @@ export declare function useInventoryStore(): {
|
|
|
2424
2424
|
measurement?: string | null | undefined;
|
|
2425
2425
|
inventoryBindings?: {
|
|
2426
2426
|
measurement?: {
|
|
2427
|
-
id: string;
|
|
2428
2427
|
name: string;
|
|
2428
|
+
id: string;
|
|
2429
2429
|
abbrev: string;
|
|
2430
2430
|
conversion: {
|
|
2431
2431
|
amount: number;
|
|
@@ -2434,24 +2434,24 @@ export declare function useInventoryStore(): {
|
|
|
2434
2434
|
} | null | undefined;
|
|
2435
2435
|
rules?: Record<string, any> | null | undefined;
|
|
2436
2436
|
alternatives?: {
|
|
2437
|
-
priority?: number | null | undefined;
|
|
2438
2437
|
default?: boolean | null | undefined;
|
|
2439
2438
|
trackingMeasurement?: string | null | undefined;
|
|
2439
|
+
priority?: number | null | undefined;
|
|
2440
2440
|
_id: string;
|
|
2441
2441
|
}[] | null | undefined;
|
|
2442
|
-
id: string;
|
|
2443
2442
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2444
2443
|
amount: {
|
|
2445
2444
|
amount: number;
|
|
2446
2445
|
precision: number;
|
|
2447
2446
|
};
|
|
2447
|
+
id: string;
|
|
2448
2448
|
}[] | null | undefined;
|
|
2449
2449
|
} | null | undefined;
|
|
2450
2450
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2451
2451
|
defaultCost?: {
|
|
2452
2452
|
measurement?: {
|
|
2453
|
-
id: string;
|
|
2454
2453
|
name: string;
|
|
2454
|
+
id: string;
|
|
2455
2455
|
abbrev: string;
|
|
2456
2456
|
conversion: {
|
|
2457
2457
|
amount: number;
|
|
@@ -2470,17 +2470,14 @@ export declare function useInventoryStore(): {
|
|
|
2470
2470
|
mid: number;
|
|
2471
2471
|
} | null | undefined;
|
|
2472
2472
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2473
|
-
_id: string;
|
|
2474
|
-
name: string;
|
|
2475
|
-
code: string;
|
|
2476
2473
|
unit: {
|
|
2477
2474
|
_id: string;
|
|
2478
2475
|
name: string;
|
|
2479
2476
|
abbrev: string;
|
|
2480
2477
|
precision: number;
|
|
2481
2478
|
measurements: {
|
|
2482
|
-
id: string;
|
|
2483
2479
|
name: string;
|
|
2480
|
+
id: string;
|
|
2484
2481
|
abbrev: string;
|
|
2485
2482
|
conversion: {
|
|
2486
2483
|
amount: number;
|
|
@@ -2488,48 +2485,51 @@ export declare function useInventoryStore(): {
|
|
|
2488
2485
|
};
|
|
2489
2486
|
}[];
|
|
2490
2487
|
};
|
|
2488
|
+
code: string;
|
|
2489
|
+
_id: string;
|
|
2490
|
+
name: string;
|
|
2491
2491
|
}>;
|
|
2492
2492
|
readonly skuBindingFlattenCache: Record<string, FlattenInventoryBindingResult>;
|
|
2493
2493
|
readonly recipeBindingFlattenCache: Record<string, FlattenInventoryBindingResult>;
|
|
2494
2494
|
readonly skuGroups: {
|
|
2495
|
-
ref?: string | null | undefined;
|
|
2496
2495
|
rules?: {
|
|
2497
2496
|
rule?: any;
|
|
2498
2497
|
_id: string;
|
|
2499
2498
|
name: string;
|
|
2500
2499
|
skuRefs: {
|
|
2501
|
-
priority?: number | null | undefined;
|
|
2502
2500
|
default?: boolean | null | undefined;
|
|
2503
2501
|
trackingMeasurement?: string | null | undefined;
|
|
2502
|
+
priority?: number | null | undefined;
|
|
2504
2503
|
_id: string;
|
|
2505
2504
|
}[];
|
|
2506
2505
|
}[] | null | undefined;
|
|
2506
|
+
ref?: string | null | undefined;
|
|
2507
2507
|
defaultSkuRefs?: {
|
|
2508
|
-
priority?: number | null | undefined;
|
|
2509
2508
|
default?: boolean | null | undefined;
|
|
2510
2509
|
trackingMeasurement?: string | null | undefined;
|
|
2510
|
+
priority?: number | null | undefined;
|
|
2511
2511
|
_id: string;
|
|
2512
2512
|
}[] | null | undefined;
|
|
2513
2513
|
_id: string;
|
|
2514
2514
|
name: string;
|
|
2515
2515
|
}[];
|
|
2516
2516
|
readonly skuGroupById: Record<string, {
|
|
2517
|
-
ref?: string | null | undefined;
|
|
2518
2517
|
rules?: {
|
|
2519
2518
|
rule?: any;
|
|
2520
2519
|
_id: string;
|
|
2521
2520
|
name: string;
|
|
2522
2521
|
skuRefs: {
|
|
2523
|
-
priority?: number | null | undefined;
|
|
2524
2522
|
default?: boolean | null | undefined;
|
|
2525
2523
|
trackingMeasurement?: string | null | undefined;
|
|
2524
|
+
priority?: number | null | undefined;
|
|
2526
2525
|
_id: string;
|
|
2527
2526
|
}[];
|
|
2528
2527
|
}[] | null | undefined;
|
|
2528
|
+
ref?: string | null | undefined;
|
|
2529
2529
|
defaultSkuRefs?: {
|
|
2530
|
-
priority?: number | null | undefined;
|
|
2531
2530
|
default?: boolean | null | undefined;
|
|
2532
2531
|
trackingMeasurement?: string | null | undefined;
|
|
2532
|
+
priority?: number | null | undefined;
|
|
2533
2533
|
_id: string;
|
|
2534
2534
|
}[] | null | undefined;
|
|
2535
2535
|
_id: string;
|
|
@@ -2542,8 +2542,8 @@ export declare function useInventoryStore(): {
|
|
|
2542
2542
|
measurement?: string | null | undefined;
|
|
2543
2543
|
inventoryBindings?: {
|
|
2544
2544
|
measurement?: {
|
|
2545
|
-
id: string;
|
|
2546
2545
|
name: string;
|
|
2546
|
+
id: string;
|
|
2547
2547
|
abbrev: string;
|
|
2548
2548
|
conversion: {
|
|
2549
2549
|
amount: number;
|
|
@@ -2552,24 +2552,24 @@ export declare function useInventoryStore(): {
|
|
|
2552
2552
|
} | null | undefined;
|
|
2553
2553
|
rules?: Record<string, any> | null | undefined;
|
|
2554
2554
|
alternatives?: {
|
|
2555
|
-
priority?: number | null | undefined;
|
|
2556
2555
|
default?: boolean | null | undefined;
|
|
2557
2556
|
trackingMeasurement?: string | null | undefined;
|
|
2557
|
+
priority?: number | null | undefined;
|
|
2558
2558
|
_id: string;
|
|
2559
2559
|
}[] | null | undefined;
|
|
2560
|
-
id: string;
|
|
2561
2560
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2562
2561
|
amount: {
|
|
2563
2562
|
amount: number;
|
|
2564
2563
|
precision: number;
|
|
2565
2564
|
};
|
|
2565
|
+
id: string;
|
|
2566
2566
|
}[] | null | undefined;
|
|
2567
2567
|
} | null | undefined;
|
|
2568
2568
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2569
2569
|
defaultCost?: {
|
|
2570
2570
|
measurement?: {
|
|
2571
|
-
id: string;
|
|
2572
2571
|
name: string;
|
|
2572
|
+
id: string;
|
|
2573
2573
|
abbrev: string;
|
|
2574
2574
|
conversion: {
|
|
2575
2575
|
amount: number;
|
|
@@ -2588,17 +2588,14 @@ export declare function useInventoryStore(): {
|
|
|
2588
2588
|
mid: number;
|
|
2589
2589
|
} | null | undefined;
|
|
2590
2590
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2591
|
-
_id: string;
|
|
2592
|
-
name: string;
|
|
2593
|
-
code: string;
|
|
2594
2591
|
unit: {
|
|
2595
2592
|
_id: string;
|
|
2596
2593
|
name: string;
|
|
2597
2594
|
abbrev: string;
|
|
2598
2595
|
precision: number;
|
|
2599
2596
|
measurements: {
|
|
2600
|
-
id: string;
|
|
2601
2597
|
name: string;
|
|
2598
|
+
id: string;
|
|
2602
2599
|
abbrev: string;
|
|
2603
2600
|
conversion: {
|
|
2604
2601
|
amount: number;
|
|
@@ -2606,6 +2603,9 @@ export declare function useInventoryStore(): {
|
|
|
2606
2603
|
};
|
|
2607
2604
|
}[];
|
|
2608
2605
|
};
|
|
2606
|
+
code: string;
|
|
2607
|
+
_id: string;
|
|
2608
|
+
name: string;
|
|
2609
2609
|
}, ...{
|
|
2610
2610
|
trackingMeasurement?: string | null | undefined;
|
|
2611
2611
|
isInactive?: boolean | null | undefined;
|
|
@@ -2613,8 +2613,8 @@ export declare function useInventoryStore(): {
|
|
|
2613
2613
|
measurement?: string | null | undefined;
|
|
2614
2614
|
inventoryBindings?: {
|
|
2615
2615
|
measurement?: {
|
|
2616
|
-
id: string;
|
|
2617
2616
|
name: string;
|
|
2617
|
+
id: string;
|
|
2618
2618
|
abbrev: string;
|
|
2619
2619
|
conversion: {
|
|
2620
2620
|
amount: number;
|
|
@@ -2623,24 +2623,24 @@ export declare function useInventoryStore(): {
|
|
|
2623
2623
|
} | null | undefined;
|
|
2624
2624
|
rules?: Record<string, any> | null | undefined;
|
|
2625
2625
|
alternatives?: {
|
|
2626
|
-
priority?: number | null | undefined;
|
|
2627
2626
|
default?: boolean | null | undefined;
|
|
2628
2627
|
trackingMeasurement?: string | null | undefined;
|
|
2628
|
+
priority?: number | null | undefined;
|
|
2629
2629
|
_id: string;
|
|
2630
2630
|
}[] | null | undefined;
|
|
2631
|
-
id: string;
|
|
2632
2631
|
type: "RECIPE" | "SKU" | "SKU_GROUP";
|
|
2633
2632
|
amount: {
|
|
2634
2633
|
amount: number;
|
|
2635
2634
|
precision: number;
|
|
2636
2635
|
};
|
|
2636
|
+
id: string;
|
|
2637
2637
|
}[] | null | undefined;
|
|
2638
2638
|
} | null | undefined;
|
|
2639
2639
|
valuation?: "FIFO" | "LIFO" | "FEFO" | "WAVG" | null | undefined;
|
|
2640
2640
|
defaultCost?: {
|
|
2641
2641
|
measurement?: {
|
|
2642
|
-
id: string;
|
|
2643
2642
|
name: string;
|
|
2643
|
+
id: string;
|
|
2644
2644
|
abbrev: string;
|
|
2645
2645
|
conversion: {
|
|
2646
2646
|
amount: number;
|
|
@@ -2659,17 +2659,14 @@ export declare function useInventoryStore(): {
|
|
|
2659
2659
|
mid: number;
|
|
2660
2660
|
} | null | undefined;
|
|
2661
2661
|
customAttributes?: Record<string, any> | null | undefined;
|
|
2662
|
-
_id: string;
|
|
2663
|
-
name: string;
|
|
2664
|
-
code: string;
|
|
2665
2662
|
unit: {
|
|
2666
2663
|
_id: string;
|
|
2667
2664
|
name: string;
|
|
2668
2665
|
abbrev: string;
|
|
2669
2666
|
precision: number;
|
|
2670
2667
|
measurements: {
|
|
2671
|
-
id: string;
|
|
2672
2668
|
name: string;
|
|
2669
|
+
id: string;
|
|
2673
2670
|
abbrev: string;
|
|
2674
2671
|
conversion: {
|
|
2675
2672
|
amount: number;
|
|
@@ -2677,6 +2674,9 @@ export declare function useInventoryStore(): {
|
|
|
2677
2674
|
};
|
|
2678
2675
|
}[];
|
|
2679
2676
|
};
|
|
2677
|
+
code: string;
|
|
2678
|
+
_id: string;
|
|
2679
|
+
name: string;
|
|
2680
2680
|
}[]]>;
|
|
2681
2681
|
init(): Promise<void>;
|
|
2682
2682
|
readClosing(): Promise<void>;
|