sigo-entities 0.0.99 → 0.0.101
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/README.md +4 -4
- package/dist/index.d.mts +22 -12
- package/dist/index.d.ts +22 -12
- package/dist/index.js +85 -47
- package/dist/index.mjs +186 -136
- package/package.json +27 -27
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# sigo-entities
|
|
2
|
-
Desarrollo de modelos de datos SIGO
|
|
3
|
-
npm i sigo-entities@latest
|
|
4
|
-
## Test
|
|
1
|
+
# sigo-entities
|
|
2
|
+
Desarrollo de modelos de datos SIGO
|
|
3
|
+
npm i sigo-entities@latest
|
|
4
|
+
## Test
|
package/dist/index.d.mts
CHANGED
|
@@ -1539,6 +1539,7 @@ declare class PersonalENTITY {
|
|
|
1539
1539
|
OTs: OTDTO[];
|
|
1540
1540
|
EmpresaUsuario: EmpresaPersonalDTO;
|
|
1541
1541
|
EmpresasUsuario: EmpresaPersonalDTO[];
|
|
1542
|
+
InicioActividadTOA: Date;
|
|
1542
1543
|
}
|
|
1543
1544
|
|
|
1544
1545
|
declare class PerfilENTITY {
|
|
@@ -1797,13 +1798,17 @@ declare class EmpresaValDTO {
|
|
|
1797
1798
|
TipoEmpresa: string;
|
|
1798
1799
|
}
|
|
1799
1800
|
|
|
1801
|
+
type TipoVal = 'NUEVO' | 'RETIRADO';
|
|
1800
1802
|
declare class InventarioValDTO {
|
|
1801
1803
|
Descripcion: string;
|
|
1802
1804
|
LoteSAP: string;
|
|
1803
|
-
TipoInventario:
|
|
1805
|
+
TipoInventario: number;
|
|
1804
1806
|
CodigoSAP: string;
|
|
1805
1807
|
NumeroSerie: string;
|
|
1806
1808
|
Cantidad: number;
|
|
1809
|
+
Estado: EstadoVal;
|
|
1810
|
+
Tipo: TipoVal;
|
|
1811
|
+
ID_Recurso: string;
|
|
1807
1812
|
}
|
|
1808
1813
|
|
|
1809
1814
|
declare class ProductosServiciosValDTO {
|
|
@@ -1816,22 +1821,25 @@ declare class ProductosServiciosValDTO {
|
|
|
1816
1821
|
|
|
1817
1822
|
declare class TecnicoValDTO {
|
|
1818
1823
|
Nombres: string;
|
|
1819
|
-
ID_Recurso:
|
|
1824
|
+
ID_Recurso: string;
|
|
1820
1825
|
RUT: string;
|
|
1821
1826
|
}
|
|
1822
1827
|
|
|
1828
|
+
type EstadoVal = 'PENDIENTE' | 'PROCESADO';
|
|
1823
1829
|
declare class ValorizadaTOAENTITY {
|
|
1824
1830
|
ID_OrdenVal: number;
|
|
1825
1831
|
Orden: string;
|
|
1826
1832
|
Peticion: string;
|
|
1827
|
-
AccessId:
|
|
1833
|
+
AccessId: string;
|
|
1828
1834
|
FTTX_BAS: string;
|
|
1829
1835
|
Tipo_Trabajo: string;
|
|
1830
1836
|
TipoTrabajo: string;
|
|
1831
1837
|
Agencia: string;
|
|
1832
|
-
Estado:
|
|
1838
|
+
Estado: EstadoVal;
|
|
1839
|
+
Ciudad: string;
|
|
1833
1840
|
SubTipoActividad: string;
|
|
1834
1841
|
Actividad: string;
|
|
1842
|
+
Tipo_Acceso: string;
|
|
1835
1843
|
FTTX_AP: string;
|
|
1836
1844
|
FO: number;
|
|
1837
1845
|
Proteus: number;
|
|
@@ -1874,6 +1882,7 @@ declare class ProductosServiciosLiqDTO {
|
|
|
1874
1882
|
Cantidad: number;
|
|
1875
1883
|
}
|
|
1876
1884
|
|
|
1885
|
+
type TipoLiq = 'NUEVO' | 'RETIRADO';
|
|
1877
1886
|
declare class InventarioLiqDTO {
|
|
1878
1887
|
Descripcion: string;
|
|
1879
1888
|
LoteSAP: string;
|
|
@@ -1881,9 +1890,9 @@ declare class InventarioLiqDTO {
|
|
|
1881
1890
|
CodigoSAP: string;
|
|
1882
1891
|
NumeroSerie: string;
|
|
1883
1892
|
Cantidad: number;
|
|
1884
|
-
Estado:
|
|
1885
|
-
Tipo:
|
|
1886
|
-
ID_Recurso:
|
|
1893
|
+
Estado: EstadoLiq;
|
|
1894
|
+
Tipo: TipoLiq;
|
|
1895
|
+
ID_Recurso: string;
|
|
1887
1896
|
}
|
|
1888
1897
|
|
|
1889
1898
|
declare class BitacoraLiqDTO {
|
|
@@ -1897,18 +1906,19 @@ declare class EstadoLiqDTO {
|
|
|
1897
1906
|
Estado: string;
|
|
1898
1907
|
}
|
|
1899
1908
|
|
|
1909
|
+
type EstadoLiq = 'PENDIENTE' | 'PROCESADO';
|
|
1900
1910
|
declare class LiquidadaTOAENTITY {
|
|
1901
1911
|
ID_Orden: number;
|
|
1902
1912
|
Pais: CodigoNombreDTO;
|
|
1903
1913
|
Delegacion: CodigoNombreDTO;
|
|
1904
1914
|
Tecnico: string;
|
|
1905
|
-
ID_Recurso:
|
|
1915
|
+
ID_Recurso: string;
|
|
1906
1916
|
Peticion: string;
|
|
1907
1917
|
Orden: string;
|
|
1908
|
-
AccessId:
|
|
1918
|
+
AccessId: string;
|
|
1909
1919
|
DPX: string;
|
|
1910
1920
|
DPY: string;
|
|
1911
|
-
PVA:
|
|
1921
|
+
PVA: string;
|
|
1912
1922
|
Agencia: string;
|
|
1913
1923
|
Comuna: string;
|
|
1914
1924
|
Direccion: string;
|
|
@@ -1922,7 +1932,7 @@ declare class LiquidadaTOAENTITY {
|
|
|
1922
1932
|
SubTipoActividad: string;
|
|
1923
1933
|
TipoTrabajo: string;
|
|
1924
1934
|
Actividad: string;
|
|
1925
|
-
Estado:
|
|
1935
|
+
Estado: EstadoLiq;
|
|
1926
1936
|
HabilidadTrabajo: string;
|
|
1927
1937
|
ZonaTrabajo: string;
|
|
1928
1938
|
PlantaAsignada: string;
|
|
@@ -1965,4 +1975,4 @@ declare class LiquidadaTOAENTITY {
|
|
|
1965
1975
|
Bitacora: BitacoraLiqDTO[];
|
|
1966
1976
|
}
|
|
1967
1977
|
|
|
1968
|
-
export { AgenciaENTITY, AlmacenDTO, AlmacenENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, BaremosAlemaniaENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, ClienteDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialENTITY, ContratistasDTO, ContratoDTO, ContratoOTDTO, ConversionLogisticaDTO, CoordenadasDTO, DataCatalogoItemDTO, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DelegacionDTO, DelegacionZonalesDTO, DestinatarioDTO, DetalleDTO, DetalleManoObraChileDTO, DevolucionAlmacenENTITY, EECC_DTO, EmpresaDTO$3 as EmpresaDTO, EmpresaENTITY, EmpresaLogisticaDTO, EmpresaPersonalDTO, EmpresaStockPersonalDTO, EmpresaUsuarioDTO, EmpresaValDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoLiqDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosSSTDTO, GranFamiliaItemDTO, GrupoEmpresaDTO, HistoricoEmpresasDTO, HitoDTO, IngresoAlmacenENTITY, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemENTITY, ItemLogisticaDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MailStructureENTITY, ManoObraBaremoDTO, ManoObraGlobalENTITY, MaterialAmapDTO, MaterialLogisticaDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NombreDescripcionDTO, OTDTO, OTGlobalDTO, OpcionSistemaENTITY, OptionCatalogoDTO, PaisStockPersonalDTO, ParteDiarioDTO, PerfilENTITY, PermisosAppDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PreciosVigentesDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RepresentanteLegalDTO, ReservaENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SistemaDto, SizeDTO, SocketDTO, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TecnicoValDTO, TipoAlmacenDTO, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoMiembroGrupoEmpresaDTO, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoOpcionDto, TipoStockStockPersonalDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO, Ultima_PreLiquidacionAlemaniaDTO, UnidadMedidaDTO$1 as UnidadMedidaDTO, UpdateUltimaFaseFacturacionDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizadaTOAENTITY, VarianteDTO, VigenciaDTO, WBEDTO, ZonaTrabajoDTO, ZonalesDTO, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData };
|
|
1978
|
+
export { AgenciaENTITY, AlmacenDTO, AlmacenENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, BaremosAlemaniaENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, ClienteDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialENTITY, ContratistasDTO, ContratoDTO, ContratoOTDTO, ConversionLogisticaDTO, CoordenadasDTO, DataCatalogoItemDTO, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DelegacionDTO, DelegacionZonalesDTO, DestinatarioDTO, DetalleDTO, DetalleManoObraChileDTO, DevolucionAlmacenENTITY, EECC_DTO, EmpresaDTO$3 as EmpresaDTO, EmpresaENTITY, EmpresaLogisticaDTO, EmpresaPersonalDTO, EmpresaStockPersonalDTO, EmpresaUsuarioDTO, EmpresaValDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, type EstadoLiq, EstadoLiqDTO, type EstadoVal, FamiliaItemDTO, FaseDTO, FaseENTITY, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosSSTDTO, GranFamiliaItemDTO, GrupoEmpresaDTO, HistoricoEmpresasDTO, HitoDTO, IngresoAlmacenENTITY, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemENTITY, ItemLogisticaDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MailStructureENTITY, ManoObraBaremoDTO, ManoObraGlobalENTITY, MaterialAmapDTO, MaterialLogisticaDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NombreDescripcionDTO, OTDTO, OTGlobalDTO, OpcionSistemaENTITY, OptionCatalogoDTO, PaisStockPersonalDTO, ParteDiarioDTO, PerfilENTITY, PermisosAppDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PreciosVigentesDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RepresentanteLegalDTO, ReservaENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SistemaDto, SizeDTO, SocketDTO, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TecnicoValDTO, TipoAlmacenDTO, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, type TipoLiq, TipoMiembroGrupoEmpresaDTO, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoOpcionDto, TipoStockStockPersonalDTO, type TipoVal, TrabajoAlemaniaENTITY, TrabajoENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO, Ultima_PreLiquidacionAlemaniaDTO, UnidadMedidaDTO$1 as UnidadMedidaDTO, UpdateUltimaFaseFacturacionDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizadaTOAENTITY, VarianteDTO, VigenciaDTO, WBEDTO, ZonaTrabajoDTO, ZonalesDTO, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData };
|
package/dist/index.d.ts
CHANGED
|
@@ -1539,6 +1539,7 @@ declare class PersonalENTITY {
|
|
|
1539
1539
|
OTs: OTDTO[];
|
|
1540
1540
|
EmpresaUsuario: EmpresaPersonalDTO;
|
|
1541
1541
|
EmpresasUsuario: EmpresaPersonalDTO[];
|
|
1542
|
+
InicioActividadTOA: Date;
|
|
1542
1543
|
}
|
|
1543
1544
|
|
|
1544
1545
|
declare class PerfilENTITY {
|
|
@@ -1797,13 +1798,17 @@ declare class EmpresaValDTO {
|
|
|
1797
1798
|
TipoEmpresa: string;
|
|
1798
1799
|
}
|
|
1799
1800
|
|
|
1801
|
+
type TipoVal = 'NUEVO' | 'RETIRADO';
|
|
1800
1802
|
declare class InventarioValDTO {
|
|
1801
1803
|
Descripcion: string;
|
|
1802
1804
|
LoteSAP: string;
|
|
1803
|
-
TipoInventario:
|
|
1805
|
+
TipoInventario: number;
|
|
1804
1806
|
CodigoSAP: string;
|
|
1805
1807
|
NumeroSerie: string;
|
|
1806
1808
|
Cantidad: number;
|
|
1809
|
+
Estado: EstadoVal;
|
|
1810
|
+
Tipo: TipoVal;
|
|
1811
|
+
ID_Recurso: string;
|
|
1807
1812
|
}
|
|
1808
1813
|
|
|
1809
1814
|
declare class ProductosServiciosValDTO {
|
|
@@ -1816,22 +1821,25 @@ declare class ProductosServiciosValDTO {
|
|
|
1816
1821
|
|
|
1817
1822
|
declare class TecnicoValDTO {
|
|
1818
1823
|
Nombres: string;
|
|
1819
|
-
ID_Recurso:
|
|
1824
|
+
ID_Recurso: string;
|
|
1820
1825
|
RUT: string;
|
|
1821
1826
|
}
|
|
1822
1827
|
|
|
1828
|
+
type EstadoVal = 'PENDIENTE' | 'PROCESADO';
|
|
1823
1829
|
declare class ValorizadaTOAENTITY {
|
|
1824
1830
|
ID_OrdenVal: number;
|
|
1825
1831
|
Orden: string;
|
|
1826
1832
|
Peticion: string;
|
|
1827
|
-
AccessId:
|
|
1833
|
+
AccessId: string;
|
|
1828
1834
|
FTTX_BAS: string;
|
|
1829
1835
|
Tipo_Trabajo: string;
|
|
1830
1836
|
TipoTrabajo: string;
|
|
1831
1837
|
Agencia: string;
|
|
1832
|
-
Estado:
|
|
1838
|
+
Estado: EstadoVal;
|
|
1839
|
+
Ciudad: string;
|
|
1833
1840
|
SubTipoActividad: string;
|
|
1834
1841
|
Actividad: string;
|
|
1842
|
+
Tipo_Acceso: string;
|
|
1835
1843
|
FTTX_AP: string;
|
|
1836
1844
|
FO: number;
|
|
1837
1845
|
Proteus: number;
|
|
@@ -1874,6 +1882,7 @@ declare class ProductosServiciosLiqDTO {
|
|
|
1874
1882
|
Cantidad: number;
|
|
1875
1883
|
}
|
|
1876
1884
|
|
|
1885
|
+
type TipoLiq = 'NUEVO' | 'RETIRADO';
|
|
1877
1886
|
declare class InventarioLiqDTO {
|
|
1878
1887
|
Descripcion: string;
|
|
1879
1888
|
LoteSAP: string;
|
|
@@ -1881,9 +1890,9 @@ declare class InventarioLiqDTO {
|
|
|
1881
1890
|
CodigoSAP: string;
|
|
1882
1891
|
NumeroSerie: string;
|
|
1883
1892
|
Cantidad: number;
|
|
1884
|
-
Estado:
|
|
1885
|
-
Tipo:
|
|
1886
|
-
ID_Recurso:
|
|
1893
|
+
Estado: EstadoLiq;
|
|
1894
|
+
Tipo: TipoLiq;
|
|
1895
|
+
ID_Recurso: string;
|
|
1887
1896
|
}
|
|
1888
1897
|
|
|
1889
1898
|
declare class BitacoraLiqDTO {
|
|
@@ -1897,18 +1906,19 @@ declare class EstadoLiqDTO {
|
|
|
1897
1906
|
Estado: string;
|
|
1898
1907
|
}
|
|
1899
1908
|
|
|
1909
|
+
type EstadoLiq = 'PENDIENTE' | 'PROCESADO';
|
|
1900
1910
|
declare class LiquidadaTOAENTITY {
|
|
1901
1911
|
ID_Orden: number;
|
|
1902
1912
|
Pais: CodigoNombreDTO;
|
|
1903
1913
|
Delegacion: CodigoNombreDTO;
|
|
1904
1914
|
Tecnico: string;
|
|
1905
|
-
ID_Recurso:
|
|
1915
|
+
ID_Recurso: string;
|
|
1906
1916
|
Peticion: string;
|
|
1907
1917
|
Orden: string;
|
|
1908
|
-
AccessId:
|
|
1918
|
+
AccessId: string;
|
|
1909
1919
|
DPX: string;
|
|
1910
1920
|
DPY: string;
|
|
1911
|
-
PVA:
|
|
1921
|
+
PVA: string;
|
|
1912
1922
|
Agencia: string;
|
|
1913
1923
|
Comuna: string;
|
|
1914
1924
|
Direccion: string;
|
|
@@ -1922,7 +1932,7 @@ declare class LiquidadaTOAENTITY {
|
|
|
1922
1932
|
SubTipoActividad: string;
|
|
1923
1933
|
TipoTrabajo: string;
|
|
1924
1934
|
Actividad: string;
|
|
1925
|
-
Estado:
|
|
1935
|
+
Estado: EstadoLiq;
|
|
1926
1936
|
HabilidadTrabajo: string;
|
|
1927
1937
|
ZonaTrabajo: string;
|
|
1928
1938
|
PlantaAsignada: string;
|
|
@@ -1965,4 +1975,4 @@ declare class LiquidadaTOAENTITY {
|
|
|
1965
1975
|
Bitacora: BitacoraLiqDTO[];
|
|
1966
1976
|
}
|
|
1967
1977
|
|
|
1968
|
-
export { AgenciaENTITY, AlmacenDTO, AlmacenENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, BaremosAlemaniaENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, ClienteDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialENTITY, ContratistasDTO, ContratoDTO, ContratoOTDTO, ConversionLogisticaDTO, CoordenadasDTO, DataCatalogoItemDTO, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DelegacionDTO, DelegacionZonalesDTO, DestinatarioDTO, DetalleDTO, DetalleManoObraChileDTO, DevolucionAlmacenENTITY, EECC_DTO, EmpresaDTO$3 as EmpresaDTO, EmpresaENTITY, EmpresaLogisticaDTO, EmpresaPersonalDTO, EmpresaStockPersonalDTO, EmpresaUsuarioDTO, EmpresaValDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoLiqDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosSSTDTO, GranFamiliaItemDTO, GrupoEmpresaDTO, HistoricoEmpresasDTO, HitoDTO, IngresoAlmacenENTITY, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemENTITY, ItemLogisticaDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MailStructureENTITY, ManoObraBaremoDTO, ManoObraGlobalENTITY, MaterialAmapDTO, MaterialLogisticaDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NombreDescripcionDTO, OTDTO, OTGlobalDTO, OpcionSistemaENTITY, OptionCatalogoDTO, PaisStockPersonalDTO, ParteDiarioDTO, PerfilENTITY, PermisosAppDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PreciosVigentesDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RepresentanteLegalDTO, ReservaENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SistemaDto, SizeDTO, SocketDTO, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TecnicoValDTO, TipoAlmacenDTO, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoMiembroGrupoEmpresaDTO, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoOpcionDto, TipoStockStockPersonalDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO, Ultima_PreLiquidacionAlemaniaDTO, UnidadMedidaDTO$1 as UnidadMedidaDTO, UpdateUltimaFaseFacturacionDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizadaTOAENTITY, VarianteDTO, VigenciaDTO, WBEDTO, ZonaTrabajoDTO, ZonalesDTO, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData };
|
|
1978
|
+
export { AgenciaENTITY, AlmacenDTO, AlmacenENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, BaremosAlemaniaENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, ClienteDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialENTITY, ContratistasDTO, ContratoDTO, ContratoOTDTO, ConversionLogisticaDTO, CoordenadasDTO, DataCatalogoItemDTO, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DelegacionDTO, DelegacionZonalesDTO, DestinatarioDTO, DetalleDTO, DetalleManoObraChileDTO, DevolucionAlmacenENTITY, EECC_DTO, EmpresaDTO$3 as EmpresaDTO, EmpresaENTITY, EmpresaLogisticaDTO, EmpresaPersonalDTO, EmpresaStockPersonalDTO, EmpresaUsuarioDTO, EmpresaValDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, type EstadoLiq, EstadoLiqDTO, type EstadoVal, FamiliaItemDTO, FaseDTO, FaseENTITY, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosSSTDTO, GranFamiliaItemDTO, GrupoEmpresaDTO, HistoricoEmpresasDTO, HitoDTO, IngresoAlmacenENTITY, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemENTITY, ItemLogisticaDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MailStructureENTITY, ManoObraBaremoDTO, ManoObraGlobalENTITY, MaterialAmapDTO, MaterialLogisticaDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NombreDescripcionDTO, OTDTO, OTGlobalDTO, OpcionSistemaENTITY, OptionCatalogoDTO, PaisStockPersonalDTO, ParteDiarioDTO, PerfilENTITY, PermisosAppDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PreciosVigentesDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RepresentanteLegalDTO, ReservaENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SistemaDto, SizeDTO, SocketDTO, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TecnicoValDTO, TipoAlmacenDTO, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, type TipoLiq, TipoMiembroGrupoEmpresaDTO, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoOpcionDto, TipoStockStockPersonalDTO, type TipoVal, TrabajoAlemaniaENTITY, TrabajoENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO, Ultima_PreLiquidacionAlemaniaDTO, UnidadMedidaDTO$1 as UnidadMedidaDTO, UpdateUltimaFaseFacturacionDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizadaTOAENTITY, VarianteDTO, VigenciaDTO, WBEDTO, ZonaTrabajoDTO, ZonalesDTO, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData };
|
package/dist/index.js
CHANGED
|
@@ -7665,6 +7665,7 @@ var PersonalENTITY = class {
|
|
|
7665
7665
|
OTs = [];
|
|
7666
7666
|
EmpresaUsuario = new EmpresaPersonalDTO();
|
|
7667
7667
|
EmpresasUsuario = [];
|
|
7668
|
+
InicioActividadTOA = /* @__PURE__ */ new Date(0);
|
|
7668
7669
|
};
|
|
7669
7670
|
__decorateClass([
|
|
7670
7671
|
(0, import_class_validator130.IsNumber)({}, { message: "debe ser un numero" }),
|
|
@@ -7811,6 +7812,11 @@ __decorateClass([
|
|
|
7811
7812
|
(0, import_class_validator130.IsArray)(),
|
|
7812
7813
|
(0, import_class_validator130.ValidateNested)({ each: true })
|
|
7813
7814
|
], PersonalENTITY.prototype, "EmpresasUsuario", 2);
|
|
7815
|
+
__decorateClass([
|
|
7816
|
+
(0, import_class_validator130.IsDate)({ message: "debe ser una fecha" }),
|
|
7817
|
+
(0, import_class_validator130.IsNotEmpty)({ message: "es requerido" }),
|
|
7818
|
+
(0, import_class_transformer130.Expose)()
|
|
7819
|
+
], PersonalENTITY.prototype, "InicioActividadTOA", 2);
|
|
7814
7820
|
|
|
7815
7821
|
// src/configuracion/perfiles/shared/index.ts
|
|
7816
7822
|
var import_class_transformer131 = require("class-transformer");
|
|
@@ -9176,42 +9182,60 @@ var import_class_validator159 = require("class-validator");
|
|
|
9176
9182
|
var InventarioValDTO = class {
|
|
9177
9183
|
Descripcion = "";
|
|
9178
9184
|
LoteSAP = "";
|
|
9179
|
-
TipoInventario =
|
|
9185
|
+
TipoInventario = 0;
|
|
9180
9186
|
CodigoSAP = "";
|
|
9181
9187
|
NumeroSerie = "";
|
|
9182
9188
|
Cantidad = 0;
|
|
9189
|
+
Estado = "PENDIENTE";
|
|
9190
|
+
Tipo = "NUEVO";
|
|
9191
|
+
ID_Recurso = "";
|
|
9183
9192
|
};
|
|
9184
9193
|
__decorateClass([
|
|
9185
9194
|
(0, import_class_validator159.IsString)({ message: "debe ser un texto" }),
|
|
9186
|
-
(0, import_class_validator159.
|
|
9195
|
+
(0, import_class_validator159.Length)(0, 250, { message: "debe tener entre 1 y 250 caracteres" }),
|
|
9187
9196
|
(0, import_class_transformer159.Expose)()
|
|
9188
9197
|
], InventarioValDTO.prototype, "Descripcion", 2);
|
|
9189
9198
|
__decorateClass([
|
|
9190
9199
|
(0, import_class_validator159.IsString)({ message: "debe ser un texto" }),
|
|
9191
|
-
(0, import_class_validator159.
|
|
9200
|
+
(0, import_class_validator159.Length)(0, 50, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
9192
9201
|
(0, import_class_transformer159.Expose)()
|
|
9193
9202
|
], InventarioValDTO.prototype, "LoteSAP", 2);
|
|
9194
9203
|
__decorateClass([
|
|
9195
|
-
(0, import_class_validator159.
|
|
9204
|
+
(0, import_class_validator159.IsNumber)({}, { message: "debe ser un numero" }),
|
|
9196
9205
|
(0, import_class_validator159.IsNotEmpty)({ message: "es requerido" }),
|
|
9197
|
-
(0, import_class_transformer159.Expose)()
|
|
9206
|
+
(0, import_class_transformer159.Expose)(),
|
|
9207
|
+
(0, import_class_validator159.Min)(0)
|
|
9198
9208
|
], InventarioValDTO.prototype, "TipoInventario", 2);
|
|
9199
9209
|
__decorateClass([
|
|
9200
9210
|
(0, import_class_validator159.IsString)({ message: "debe ser un texto" }),
|
|
9201
9211
|
(0, import_class_validator159.IsNotEmpty)({ message: "es requerido" }),
|
|
9212
|
+
(0, import_class_validator159.Length)(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
9202
9213
|
(0, import_class_transformer159.Expose)()
|
|
9203
9214
|
], InventarioValDTO.prototype, "CodigoSAP", 2);
|
|
9204
9215
|
__decorateClass([
|
|
9205
9216
|
(0, import_class_validator159.IsString)({ message: "debe ser un texto" }),
|
|
9206
|
-
(0, import_class_validator159.
|
|
9217
|
+
(0, import_class_validator159.Length)(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
9207
9218
|
(0, import_class_transformer159.Expose)()
|
|
9208
9219
|
], InventarioValDTO.prototype, "NumeroSerie", 2);
|
|
9209
9220
|
__decorateClass([
|
|
9210
|
-
(0, import_class_transformer159.Expose)(),
|
|
9211
9221
|
(0, import_class_validator159.IsNumber)({}, { message: "debe ser un numero" }),
|
|
9212
9222
|
(0, import_class_validator159.IsNotEmpty)({ message: "es requerido" }),
|
|
9213
|
-
(0,
|
|
9223
|
+
(0, import_class_transformer159.Expose)(),
|
|
9224
|
+
(0, import_class_validator159.Min)(0)
|
|
9214
9225
|
], InventarioValDTO.prototype, "Cantidad", 2);
|
|
9226
|
+
__decorateClass([
|
|
9227
|
+
(0, import_class_validator159.IsEnum)({ PENDIENTE: "PENDIENTE", PROCESADO: "PROCESADO" }, { message: "El estado debe ser uno de los siguientes: PENDIENTE, PROCESADO" }),
|
|
9228
|
+
(0, import_class_transformer159.Expose)()
|
|
9229
|
+
], InventarioValDTO.prototype, "Estado", 2);
|
|
9230
|
+
__decorateClass([
|
|
9231
|
+
(0, import_class_validator159.IsEnum)({ NUEVO: "NUEVO", RETIRADO: "RETIRADO" }, { message: "El tipo debe ser NUEVO o RETIRADO" }),
|
|
9232
|
+
(0, import_class_transformer159.Expose)()
|
|
9233
|
+
], InventarioValDTO.prototype, "Tipo", 2);
|
|
9234
|
+
__decorateClass([
|
|
9235
|
+
(0, import_class_validator159.IsString)({ message: "debe ser un texto" }),
|
|
9236
|
+
(0, import_class_validator159.Length)(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
9237
|
+
(0, import_class_transformer159.Expose)()
|
|
9238
|
+
], InventarioValDTO.prototype, "ID_Recurso", 2);
|
|
9215
9239
|
|
|
9216
9240
|
// src/operativa/procesos/valorizadas_toa/shared/dto/productos-servicios-val-dto.ts
|
|
9217
9241
|
var import_class_transformer160 = require("class-transformer");
|
|
@@ -9225,18 +9249,22 @@ var ProductosServiciosValDTO = class {
|
|
|
9225
9249
|
};
|
|
9226
9250
|
__decorateClass([
|
|
9227
9251
|
(0, import_class_validator160.IsString)({ message: "debe ser un texto" }),
|
|
9252
|
+
(0, import_class_validator160.Length)(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
9228
9253
|
(0, import_class_transformer160.Expose)()
|
|
9229
9254
|
], ProductosServiciosValDTO.prototype, "Codigo", 2);
|
|
9230
9255
|
__decorateClass([
|
|
9231
9256
|
(0, import_class_validator160.IsString)({ message: "debe ser un texto" }),
|
|
9257
|
+
(0, import_class_validator160.Length)(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
9232
9258
|
(0, import_class_transformer160.Expose)()
|
|
9233
9259
|
], ProductosServiciosValDTO.prototype, "Descripcion", 2);
|
|
9234
9260
|
__decorateClass([
|
|
9235
9261
|
(0, import_class_validator160.IsString)({ message: "debe ser un texto" }),
|
|
9262
|
+
(0, import_class_validator160.Length)(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
9236
9263
|
(0, import_class_transformer160.Expose)()
|
|
9237
9264
|
], ProductosServiciosValDTO.prototype, "Familia", 2);
|
|
9238
9265
|
__decorateClass([
|
|
9239
9266
|
(0, import_class_validator160.IsString)({ message: "debe ser un texto" }),
|
|
9267
|
+
(0, import_class_validator160.Length)(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
9240
9268
|
(0, import_class_transformer160.Expose)()
|
|
9241
9269
|
], ProductosServiciosValDTO.prototype, "OperacionComercial", 2);
|
|
9242
9270
|
__decorateClass([
|
|
@@ -9251,7 +9279,7 @@ var import_class_transformer161 = require("class-transformer");
|
|
|
9251
9279
|
var import_class_validator161 = require("class-validator");
|
|
9252
9280
|
var TecnicoValDTO = class {
|
|
9253
9281
|
Nombres = "";
|
|
9254
|
-
ID_Recurso =
|
|
9282
|
+
ID_Recurso = "";
|
|
9255
9283
|
RUT = "";
|
|
9256
9284
|
};
|
|
9257
9285
|
__decorateClass([
|
|
@@ -9260,10 +9288,9 @@ __decorateClass([
|
|
|
9260
9288
|
(0, import_class_transformer161.Expose)()
|
|
9261
9289
|
], TecnicoValDTO.prototype, "Nombres", 2);
|
|
9262
9290
|
__decorateClass([
|
|
9263
|
-
(0,
|
|
9264
|
-
(0, import_class_validator161.
|
|
9265
|
-
(0,
|
|
9266
|
-
(0, import_class_validator161.Min)(0, { message: "el valor m\xEDnimo es 0" })
|
|
9291
|
+
(0, import_class_validator161.IsString)({ message: "debe ser un texto" }),
|
|
9292
|
+
(0, import_class_validator161.Length)(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
9293
|
+
(0, import_class_transformer161.Expose)()
|
|
9267
9294
|
], TecnicoValDTO.prototype, "ID_Recurso", 2);
|
|
9268
9295
|
__decorateClass([
|
|
9269
9296
|
(0, import_class_validator161.IsString)({ message: "debe ser un texto" }),
|
|
@@ -9276,14 +9303,16 @@ var ValorizadaTOAENTITY = class {
|
|
|
9276
9303
|
ID_OrdenVal = 0;
|
|
9277
9304
|
Orden = "";
|
|
9278
9305
|
Peticion = "";
|
|
9279
|
-
AccessId =
|
|
9306
|
+
AccessId = "";
|
|
9280
9307
|
FTTX_BAS = "";
|
|
9281
9308
|
Tipo_Trabajo = "";
|
|
9282
9309
|
TipoTrabajo = "";
|
|
9283
9310
|
Agencia = "";
|
|
9284
|
-
Estado = "";
|
|
9311
|
+
Estado = "PENDIENTE";
|
|
9312
|
+
Ciudad = "";
|
|
9285
9313
|
SubTipoActividad = "";
|
|
9286
9314
|
Actividad = "";
|
|
9315
|
+
Tipo_Acceso = "";
|
|
9287
9316
|
FTTX_AP = "";
|
|
9288
9317
|
FO = 0;
|
|
9289
9318
|
Proteus = 0;
|
|
@@ -9334,14 +9363,15 @@ __decorateClass([
|
|
|
9334
9363
|
(0, import_class_transformer162.Expose)()
|
|
9335
9364
|
], ValorizadaTOAENTITY.prototype, "Peticion", 2);
|
|
9336
9365
|
__decorateClass([
|
|
9337
|
-
(0, import_class_validator162.
|
|
9338
|
-
(0, import_class_validator162.
|
|
9339
|
-
(0,
|
|
9340
|
-
(0,
|
|
9366
|
+
(0, import_class_validator162.IsString)({ message: "debe ser un texto" }),
|
|
9367
|
+
(0, import_class_validator162.Length)(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
9368
|
+
(0, import_class_validator162.IsOptional)(),
|
|
9369
|
+
(0, import_class_transformer162.Expose)()
|
|
9341
9370
|
], ValorizadaTOAENTITY.prototype, "AccessId", 2);
|
|
9342
9371
|
__decorateClass([
|
|
9343
9372
|
(0, import_class_validator162.IsString)({ message: "debe ser un texto" }),
|
|
9344
9373
|
(0, import_class_validator162.Length)(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
9374
|
+
(0, import_class_validator162.IsOptional)(),
|
|
9345
9375
|
(0, import_class_transformer162.Expose)()
|
|
9346
9376
|
], ValorizadaTOAENTITY.prototype, "FTTX_BAS", 2);
|
|
9347
9377
|
__decorateClass([
|
|
@@ -9360,10 +9390,15 @@ __decorateClass([
|
|
|
9360
9390
|
(0, import_class_transformer162.Expose)()
|
|
9361
9391
|
], ValorizadaTOAENTITY.prototype, "Agencia", 2);
|
|
9362
9392
|
__decorateClass([
|
|
9363
|
-
(0, import_class_validator162.
|
|
9364
|
-
(0, import_class_validator162.IsNotEmpty)({ message: "es requerido" }),
|
|
9393
|
+
(0, import_class_validator162.IsEnum)({ PENDIENTE: "PENDIENTE", PROCESADO: "PROCESADO" }, { message: "El estado debe ser uno de los siguientes: PENDIENTE, PROCESADO" }),
|
|
9365
9394
|
(0, import_class_transformer162.Expose)()
|
|
9366
9395
|
], ValorizadaTOAENTITY.prototype, "Estado", 2);
|
|
9396
|
+
__decorateClass([
|
|
9397
|
+
(0, import_class_validator162.IsString)({ message: "debe ser un texto" }),
|
|
9398
|
+
(0, import_class_validator162.IsOptional)(),
|
|
9399
|
+
(0, import_class_validator162.Length)(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
9400
|
+
(0, import_class_transformer162.Expose)()
|
|
9401
|
+
], ValorizadaTOAENTITY.prototype, "Ciudad", 2);
|
|
9367
9402
|
__decorateClass([
|
|
9368
9403
|
(0, import_class_validator162.IsString)({ message: "debe ser un texto" }),
|
|
9369
9404
|
(0, import_class_validator162.IsNotEmpty)({ message: "es requerido" }),
|
|
@@ -9374,9 +9409,16 @@ __decorateClass([
|
|
|
9374
9409
|
(0, import_class_validator162.IsNotEmpty)({ message: "es requerido" }),
|
|
9375
9410
|
(0, import_class_transformer162.Expose)()
|
|
9376
9411
|
], ValorizadaTOAENTITY.prototype, "Actividad", 2);
|
|
9412
|
+
__decorateClass([
|
|
9413
|
+
(0, import_class_validator162.IsString)({ message: "debe ser un texto" }),
|
|
9414
|
+
(0, import_class_validator162.Length)(0, 100, { message: "debe tener una longitud de 0 a 100" }),
|
|
9415
|
+
(0, import_class_transformer162.Expose)(),
|
|
9416
|
+
(0, import_class_validator162.IsOptional)()
|
|
9417
|
+
], ValorizadaTOAENTITY.prototype, "Tipo_Acceso", 2);
|
|
9377
9418
|
__decorateClass([
|
|
9378
9419
|
(0, import_class_validator162.IsString)({ message: "debe ser un texto" }),
|
|
9379
9420
|
(0, import_class_validator162.Length)(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
9421
|
+
(0, import_class_validator162.IsOptional)(),
|
|
9380
9422
|
(0, import_class_transformer162.Expose)()
|
|
9381
9423
|
], ValorizadaTOAENTITY.prototype, "FTTX_AP", 2);
|
|
9382
9424
|
__decorateClass([
|
|
@@ -9471,6 +9513,7 @@ __decorateClass([
|
|
|
9471
9513
|
], ValorizadaTOAENTITY.prototype, "Nro_Productos", 2);
|
|
9472
9514
|
__decorateClass([
|
|
9473
9515
|
(0, import_class_validator162.IsString)({ message: "debe ser un texto" }),
|
|
9516
|
+
(0, import_class_validator162.Length)(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
9474
9517
|
(0, import_class_transformer162.Expose)()
|
|
9475
9518
|
], ValorizadaTOAENTITY.prototype, "LlaveRegla", 2);
|
|
9476
9519
|
__decorateClass([
|
|
@@ -9491,7 +9534,7 @@ __decorateClass([
|
|
|
9491
9534
|
], ValorizadaTOAENTITY.prototype, "Fecha_Liquidacion", 2);
|
|
9492
9535
|
__decorateClass([
|
|
9493
9536
|
(0, import_class_validator162.IsString)({ message: "debe ser un texto" }),
|
|
9494
|
-
(0, import_class_validator162.
|
|
9537
|
+
(0, import_class_validator162.IsOptional)(),
|
|
9495
9538
|
(0, import_class_transformer162.Expose)()
|
|
9496
9539
|
], ValorizadaTOAENTITY.prototype, "Reutilizaci\xF3n_de_Drop", 2);
|
|
9497
9540
|
__decorateClass([
|
|
@@ -9615,9 +9658,9 @@ var InventarioLiqDTO = class {
|
|
|
9615
9658
|
CodigoSAP = "";
|
|
9616
9659
|
NumeroSerie = "";
|
|
9617
9660
|
Cantidad = 0;
|
|
9618
|
-
Estado = "";
|
|
9619
|
-
Tipo = "";
|
|
9620
|
-
ID_Recurso =
|
|
9661
|
+
Estado = "PENDIENTE";
|
|
9662
|
+
Tipo = "NUEVO";
|
|
9663
|
+
ID_Recurso = "";
|
|
9621
9664
|
};
|
|
9622
9665
|
__decorateClass([
|
|
9623
9666
|
(0, import_class_validator164.IsString)({ message: "debe ser un texto" }),
|
|
@@ -9653,22 +9696,17 @@ __decorateClass([
|
|
|
9653
9696
|
(0, import_class_validator164.Min)(0)
|
|
9654
9697
|
], InventarioLiqDTO.prototype, "Cantidad", 2);
|
|
9655
9698
|
__decorateClass([
|
|
9656
|
-
(0, import_class_validator164.
|
|
9657
|
-
(0, import_class_validator164.IsNotEmpty)({ message: "es requerido" }),
|
|
9658
|
-
(0, import_class_validator164.Length)(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
9699
|
+
(0, import_class_validator164.IsEnum)({ PENDIENTE: "PENDIENTE", PROCESADO: "PROCESADO" }, { message: "El estado debe ser uno de los siguientes: PENDIENTE, PROCESADO" }),
|
|
9659
9700
|
(0, import_class_transformer164.Expose)()
|
|
9660
9701
|
], InventarioLiqDTO.prototype, "Estado", 2);
|
|
9661
9702
|
__decorateClass([
|
|
9662
|
-
(0, import_class_validator164.
|
|
9663
|
-
(0, import_class_validator164.IsNotEmpty)({ message: "es requerido" }),
|
|
9664
|
-
(0, import_class_validator164.Length)(1, 50, { message: "debe tener entre 1 y 50 caracteres" }),
|
|
9703
|
+
(0, import_class_validator164.IsEnum)({ NUEVO: "NUEVO", RETIRADO: "RETIRADO" }, { message: "El tipo debe ser NUEVO o RETIRADO" }),
|
|
9665
9704
|
(0, import_class_transformer164.Expose)()
|
|
9666
9705
|
], InventarioLiqDTO.prototype, "Tipo", 2);
|
|
9667
9706
|
__decorateClass([
|
|
9668
|
-
(0, import_class_validator164.
|
|
9669
|
-
(0, import_class_validator164.
|
|
9670
|
-
(0, import_class_transformer164.Expose)()
|
|
9671
|
-
(0, import_class_validator164.Min)(0)
|
|
9707
|
+
(0, import_class_validator164.IsString)({ message: "debe ser un texto" }),
|
|
9708
|
+
(0, import_class_validator164.Length)(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
9709
|
+
(0, import_class_transformer164.Expose)()
|
|
9672
9710
|
], InventarioLiqDTO.prototype, "ID_Recurso", 2);
|
|
9673
9711
|
|
|
9674
9712
|
// src/operativa/procesos/liquidadas_toa/shared/dto/bitacora-liq-dto.ts
|
|
@@ -9723,13 +9761,13 @@ var LiquidadaTOAENTITY = class {
|
|
|
9723
9761
|
Pais = new CodigoNombreDTO();
|
|
9724
9762
|
Delegacion = new CodigoNombreDTO();
|
|
9725
9763
|
Tecnico = "";
|
|
9726
|
-
ID_Recurso =
|
|
9764
|
+
ID_Recurso = "";
|
|
9727
9765
|
Peticion = "";
|
|
9728
9766
|
Orden = "";
|
|
9729
|
-
AccessId =
|
|
9767
|
+
AccessId = "";
|
|
9730
9768
|
DPX = "";
|
|
9731
9769
|
DPY = "";
|
|
9732
|
-
PVA =
|
|
9770
|
+
PVA = "";
|
|
9733
9771
|
Agencia = "";
|
|
9734
9772
|
Comuna = "";
|
|
9735
9773
|
Direccion = "";
|
|
@@ -9743,7 +9781,7 @@ var LiquidadaTOAENTITY = class {
|
|
|
9743
9781
|
SubTipoActividad = "";
|
|
9744
9782
|
TipoTrabajo = "";
|
|
9745
9783
|
Actividad = "";
|
|
9746
|
-
Estado = "";
|
|
9784
|
+
Estado = "PENDIENTE";
|
|
9747
9785
|
HabilidadTrabajo = "";
|
|
9748
9786
|
ZonaTrabajo = "";
|
|
9749
9787
|
PlantaAsignada = "";
|
|
@@ -9809,8 +9847,8 @@ __decorateClass([
|
|
|
9809
9847
|
(0, import_class_transformer167.Expose)()
|
|
9810
9848
|
], LiquidadaTOAENTITY.prototype, "Tecnico", 2);
|
|
9811
9849
|
__decorateClass([
|
|
9812
|
-
(0, import_class_validator167.
|
|
9813
|
-
(0, import_class_validator167.
|
|
9850
|
+
(0, import_class_validator167.IsString)({ message: "debe ser un texto" }),
|
|
9851
|
+
(0, import_class_validator167.Length)(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
9814
9852
|
(0, import_class_transformer167.Expose)()
|
|
9815
9853
|
], LiquidadaTOAENTITY.prototype, "ID_Recurso", 2);
|
|
9816
9854
|
__decorateClass([
|
|
@@ -9824,8 +9862,9 @@ __decorateClass([
|
|
|
9824
9862
|
(0, import_class_transformer167.Expose)()
|
|
9825
9863
|
], LiquidadaTOAENTITY.prototype, "Orden", 2);
|
|
9826
9864
|
__decorateClass([
|
|
9827
|
-
(0, import_class_validator167.
|
|
9828
|
-
(0, import_class_validator167.
|
|
9865
|
+
(0, import_class_validator167.IsString)({ message: "debe ser un texto" }),
|
|
9866
|
+
(0, import_class_validator167.Length)(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
9867
|
+
(0, import_class_validator167.IsOptional)(),
|
|
9829
9868
|
(0, import_class_transformer167.Expose)()
|
|
9830
9869
|
], LiquidadaTOAENTITY.prototype, "AccessId", 2);
|
|
9831
9870
|
__decorateClass([
|
|
@@ -9839,8 +9878,8 @@ __decorateClass([
|
|
|
9839
9878
|
(0, import_class_transformer167.Expose)()
|
|
9840
9879
|
], LiquidadaTOAENTITY.prototype, "DPY", 2);
|
|
9841
9880
|
__decorateClass([
|
|
9842
|
-
(0, import_class_validator167.
|
|
9843
|
-
(0, import_class_validator167.
|
|
9881
|
+
(0, import_class_validator167.IsString)({ message: "debe ser un texto" }),
|
|
9882
|
+
(0, import_class_validator167.Length)(0, 50, { message: "debe tener una longitud de 0 a 50" }),
|
|
9844
9883
|
(0, import_class_transformer167.Expose)()
|
|
9845
9884
|
], LiquidadaTOAENTITY.prototype, "PVA", 2);
|
|
9846
9885
|
__decorateClass([
|
|
@@ -9910,8 +9949,7 @@ __decorateClass([
|
|
|
9910
9949
|
(0, import_class_transformer167.Expose)()
|
|
9911
9950
|
], LiquidadaTOAENTITY.prototype, "Actividad", 2);
|
|
9912
9951
|
__decorateClass([
|
|
9913
|
-
(0, import_class_validator167.
|
|
9914
|
-
(0, import_class_validator167.Length)(0, 250, { message: "debe tener una longitud de 0 a 250" }),
|
|
9952
|
+
(0, import_class_validator167.IsEnum)({ PENDIENTE: "PENDIENTE", PROCESADO: "PROCESADO" }, { message: "El estado debe ser uno de los siguientes: PENDIENTE, PROCESADO" }),
|
|
9915
9953
|
(0, import_class_transformer167.Expose)()
|
|
9916
9954
|
], LiquidadaTOAENTITY.prototype, "Estado", 2);
|
|
9917
9955
|
__decorateClass([
|