feat(web): expose independent company master in inventory setup

This commit is contained in:
2026-09-08 21:46:29 -03:00
parent 0e320a9395
commit 53c7ca45f1
+3 -1
View File
@@ -1,6 +1,6 @@
import { apiRequest } from './api';
export type InventoryStructureKind = 'AREA' | 'YACIMIENTO' | 'INSTALACION' | 'SUBINSTALACION';
export type InventoryStructureKind = 'EMPRESA' | 'AREA' | 'YACIMIENTO' | 'INSTALACION' | 'SUBINSTALACION';
export interface InventoryFamily {
id: string;
@@ -23,6 +23,7 @@ export interface InventoryStructureLevel {
}
export interface InventoryStructureOptions {
independentMasters: InventoryStructureLevel[];
levels: InventoryStructureLevel[];
installationFamilies: InventoryFamily[];
subinstallationFamilies: InventoryFamily[];
@@ -79,6 +80,7 @@ export interface CreatedInventoryStructure {
operationalStatus: string;
type: { id: string; code: string; name: string };
parent: null | { id: string; code: string; name: string };
operationalArea?: null | { id: string; code: string; name: string };
inventoryFamily: null | {
id: string;
code: string;