sigo-entities 0.0.178 → 0.0.179

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/index.d.mts CHANGED
@@ -6,6 +6,8 @@ declare class DestinatarioDTO {
6
6
 
7
7
  declare function validateAndFormatData<T extends object, Skip extends undefined | (keyof T)[] = undefined>(data: any, dtoClass: new () => T, propertiesToValidate?: Skip): Promise<Skip extends undefined ? T : Partial<T>>;
8
8
 
9
+ declare function convertStringsToDates(obj: any): any;
10
+
9
11
  declare class AlmacenDTO {
10
12
  Codigo: string;
11
13
  ID_Almacen: number;
@@ -2603,4 +2605,4 @@ declare class LiquidadaTOAENTITY {
2603
2605
  Bitacora: BitacoraLiqDTO[];
2604
2606
  }
2605
2607
 
2606
- export { AgenciaENTITY, AlmacenDTO, AlmacenENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AreaGOMDTO, AreaGomDTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CausacionDTO, CentroCostosENTITY, CertificacionProduccionDTO, ClienteDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialENTITY, ContratistasDTO, ContratoDTO, ContratoOTDTO, ContratoObraOTDTO, ConversionLogisticaDTO, CoordenadasDTO, CorteBobinaStockAlmacenDTO, CuadrillaLiberacionPagosDTO, DataAdicionalDTO, DataCatalogoItemDTO, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoMODTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetalleChileDTO, DetalleChileValorizacionManoObraDTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleDTO, DetalleManoObraChileDTO, DevolucionAlmacenENTITY, EECC_DTO, EmpresaDTO$4 as EmpresaDTO, EmpresaENTITY, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPersonalDTO, EmpresaProduccionDTO, EmpresaStockPersonalDTO, EmpresaUsuarioDTO, EmpresaValDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, type EstadoVal, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosSSTDTO, GOMDTO, GranFamiliaItemDTO, GrupoEmpresaDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, IngresoAlmacenENTITY, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemENTITY, ItemLogisticaDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MailStructureENTITY, ManoObraBaremoDTO, ManoObraGlobalENTITY, ManoObraLiberacionPagosDTO, MaterialAmapDTO, MaterialLogisticaDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTDTO, OTGlobalDTO, ObraENTITY, OpcionSistemaENTITY, OperacionDataAdicional, OptionCatalogoDTO, PaisStockPersonalDTO, ParteDiarioDTO, PerfilesENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PreciosVigentesDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaDTO, PrioridadNotificacion, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RegularizacionPositivaNegativaDTO, RepresentanteLegalDTO, ReservaENTITY, ReservaManoObraENTITY, ReservaManoObraRegularizacionENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SizeDTO, SocketDTO, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TecnicoValDTO, TipoAlmacenDTO, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, type TipoLiq, TipoMiembroGrupoEmpresaDTO, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoSistemaDTO, TipoStockStockPersonalDTO, type TipoVal, TotalGeneralObraDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO, UbicacionObraDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO$2 as UnidadMedidaDTO, UnidadMedidaLiberacionPagosDTO, UpdateUltimaFaseFacturacionDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizadaTOAENTITY, VarianteDTO, VigenciaDTO, WBEDTO$1 as WBEDTO, ZonaTrabajoDTO, ZonalesDTO, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData };
2608
+ export { AgenciaENTITY, AlmacenDTO, AlmacenENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AreaGOMDTO, AreaGomDTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CausacionDTO, CentroCostosENTITY, CertificacionProduccionDTO, ClienteDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialENTITY, ContratistasDTO, ContratoDTO, ContratoOTDTO, ContratoObraOTDTO, ConversionLogisticaDTO, CoordenadasDTO, CorteBobinaStockAlmacenDTO, CuadrillaLiberacionPagosDTO, DataAdicionalDTO, DataCatalogoItemDTO, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoMODTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetalleChileDTO, DetalleChileValorizacionManoObraDTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleDTO, DetalleManoObraChileDTO, DevolucionAlmacenENTITY, EECC_DTO, EmpresaDTO$4 as EmpresaDTO, EmpresaENTITY, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPersonalDTO, EmpresaProduccionDTO, EmpresaStockPersonalDTO, EmpresaUsuarioDTO, EmpresaValDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, type EstadoVal, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosSSTDTO, GOMDTO, GranFamiliaItemDTO, GrupoEmpresaDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, IngresoAlmacenENTITY, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemENTITY, ItemLogisticaDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MailStructureENTITY, ManoObraBaremoDTO, ManoObraGlobalENTITY, ManoObraLiberacionPagosDTO, MaterialAmapDTO, MaterialLogisticaDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTDTO, OTGlobalDTO, ObraENTITY, OpcionSistemaENTITY, OperacionDataAdicional, OptionCatalogoDTO, PaisStockPersonalDTO, ParteDiarioDTO, PerfilesENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PreciosVigentesDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaDTO, PrioridadNotificacion, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RegularizacionPositivaNegativaDTO, RepresentanteLegalDTO, ReservaENTITY, ReservaManoObraENTITY, ReservaManoObraRegularizacionENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SizeDTO, SocketDTO, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TecnicoValDTO, TipoAlmacenDTO, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, type TipoLiq, TipoMiembroGrupoEmpresaDTO, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoSistemaDTO, TipoStockStockPersonalDTO, type TipoVal, TotalGeneralObraDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO, UbicacionObraDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO$2 as UnidadMedidaDTO, UnidadMedidaLiberacionPagosDTO, UpdateUltimaFaseFacturacionDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizadaTOAENTITY, VarianteDTO, VigenciaDTO, WBEDTO$1 as WBEDTO, ZonaTrabajoDTO, ZonalesDTO, convertStringsToDates, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData };
package/dist/index.d.ts CHANGED
@@ -6,6 +6,8 @@ declare class DestinatarioDTO {
6
6
 
7
7
  declare function validateAndFormatData<T extends object, Skip extends undefined | (keyof T)[] = undefined>(data: any, dtoClass: new () => T, propertiesToValidate?: Skip): Promise<Skip extends undefined ? T : Partial<T>>;
8
8
 
9
+ declare function convertStringsToDates(obj: any): any;
10
+
9
11
  declare class AlmacenDTO {
10
12
  Codigo: string;
11
13
  ID_Almacen: number;
@@ -2603,4 +2605,4 @@ declare class LiquidadaTOAENTITY {
2603
2605
  Bitacora: BitacoraLiqDTO[];
2604
2606
  }
2605
2607
 
2606
- export { AgenciaENTITY, AlmacenDTO, AlmacenENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AreaGOMDTO, AreaGomDTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CausacionDTO, CentroCostosENTITY, CertificacionProduccionDTO, ClienteDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialENTITY, ContratistasDTO, ContratoDTO, ContratoOTDTO, ContratoObraOTDTO, ConversionLogisticaDTO, CoordenadasDTO, CorteBobinaStockAlmacenDTO, CuadrillaLiberacionPagosDTO, DataAdicionalDTO, DataCatalogoItemDTO, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoMODTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetalleChileDTO, DetalleChileValorizacionManoObraDTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleDTO, DetalleManoObraChileDTO, DevolucionAlmacenENTITY, EECC_DTO, EmpresaDTO$4 as EmpresaDTO, EmpresaENTITY, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPersonalDTO, EmpresaProduccionDTO, EmpresaStockPersonalDTO, EmpresaUsuarioDTO, EmpresaValDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, type EstadoVal, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosSSTDTO, GOMDTO, GranFamiliaItemDTO, GrupoEmpresaDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, IngresoAlmacenENTITY, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemENTITY, ItemLogisticaDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MailStructureENTITY, ManoObraBaremoDTO, ManoObraGlobalENTITY, ManoObraLiberacionPagosDTO, MaterialAmapDTO, MaterialLogisticaDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTDTO, OTGlobalDTO, ObraENTITY, OpcionSistemaENTITY, OperacionDataAdicional, OptionCatalogoDTO, PaisStockPersonalDTO, ParteDiarioDTO, PerfilesENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PreciosVigentesDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaDTO, PrioridadNotificacion, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RegularizacionPositivaNegativaDTO, RepresentanteLegalDTO, ReservaENTITY, ReservaManoObraENTITY, ReservaManoObraRegularizacionENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SizeDTO, SocketDTO, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TecnicoValDTO, TipoAlmacenDTO, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, type TipoLiq, TipoMiembroGrupoEmpresaDTO, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoSistemaDTO, TipoStockStockPersonalDTO, type TipoVal, TotalGeneralObraDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO, UbicacionObraDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO$2 as UnidadMedidaDTO, UnidadMedidaLiberacionPagosDTO, UpdateUltimaFaseFacturacionDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizadaTOAENTITY, VarianteDTO, VigenciaDTO, WBEDTO$1 as WBEDTO, ZonaTrabajoDTO, ZonalesDTO, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData };
2608
+ export { AgenciaENTITY, AlmacenDTO, AlmacenENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AreaGOMDTO, AreaGomDTO, AsignacionGomDTO, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CausacionDTO, CentroCostosENTITY, CertificacionProduccionDTO, ClienteDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, ConsumoMaterialENTITY, ContratistasDTO, ContratoDTO, ContratoOTDTO, ContratoObraOTDTO, ConversionLogisticaDTO, CoordenadasDTO, CorteBobinaStockAlmacenDTO, CuadrillaLiberacionPagosDTO, DataAdicionalDTO, DataCatalogoItemDTO, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoMODTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosItemDTO, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetalleChileDTO, DetalleChileValorizacionManoObraDTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleDTO, DetalleManoObraChileDTO, DevolucionAlmacenENTITY, EECC_DTO, EmpresaDTO$4 as EmpresaDTO, EmpresaENTITY, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPersonalDTO, EmpresaProduccionDTO, EmpresaStockPersonalDTO, EmpresaUsuarioDTO, EmpresaValDTO, EquipoLogisticaDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, type EstadoVal, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FechaDTO, FilesDocDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosSSTDTO, GOMDTO, GranFamiliaItemDTO, GrupoEmpresaDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, IngresoAlmacenENTITY, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemENTITY, ItemLogisticaDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MailStructureENTITY, ManoObraBaremoDTO, ManoObraGlobalENTITY, ManoObraLiberacionPagosDTO, MaterialAmapDTO, MaterialLogisticaDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTDTO, OTGlobalDTO, ObraENTITY, OpcionSistemaENTITY, OperacionDataAdicional, OptionCatalogoDTO, PaisStockPersonalDTO, ParteDiarioDTO, PerfilesENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PreciosVigentesDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaDTO, PrioridadNotificacion, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RegularizacionPositivaNegativaDTO, RepresentanteLegalDTO, ReservaENTITY, ReservaManoObraENTITY, ReservaManoObraRegularizacionENTITY, SalidaAlmacenENTITY, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SizeDTO, SocketDTO, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, TecnicoValDTO, TipoAlmacenDTO, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, type TipoLiq, TipoMiembroGrupoEmpresaDTO, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoSistemaDTO, TipoStockStockPersonalDTO, type TipoVal, TotalGeneralObraDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO, UbicacionObraDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO$2 as UnidadMedidaDTO, UnidadMedidaLiberacionPagosDTO, UpdateUltimaFaseFacturacionDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizadaTOAENTITY, VarianteDTO, VigenciaDTO, WBEDTO$1 as WBEDTO, ZonaTrabajoDTO, ZonalesDTO, convertStringsToDates, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData };
package/dist/index.js CHANGED
@@ -243,6 +243,7 @@ __export(src_exports, {
243
243
  WBEDTO: () => WBEDTO,
244
244
  ZonaTrabajoDTO: () => ZonaTrabajoDTO,
245
245
  ZonalesDTO: () => ZonalesDTO,
246
+ convertStringsToDates: () => convertStringsToDates,
246
247
  validateAndFormatData: () => validateAndFormatData
247
248
  });
248
249
  module.exports = __toCommonJS(src_exports);
@@ -333,6 +334,25 @@ function formatErrors(errors, parentPath = "") {
333
334
  });
334
335
  }
335
336
 
337
+ // src/shared/utils/convertStringsToDates.ts
338
+ function convertStringsToDates(obj) {
339
+ if (typeof obj === "string") {
340
+ const date = new Date(obj);
341
+ return isNaN(date.getTime()) ? obj : date;
342
+ }
343
+ if (Array.isArray(obj)) {
344
+ return obj.map((item) => convertStringsToDates(item));
345
+ }
346
+ if (typeof obj === "object" && obj !== null) {
347
+ for (const key in obj) {
348
+ if (obj.hasOwnProperty(key)) {
349
+ obj[key] = convertStringsToDates(obj[key]);
350
+ }
351
+ }
352
+ }
353
+ return obj;
354
+ }
355
+
336
356
  // src/shared/dto/almacen-dto.ts
337
357
  var import_class_validator3 = require("class-validator");
338
358
  var import_class_transformer3 = require("class-transformer");
@@ -13705,5 +13725,6 @@ __decorateClass([
13705
13725
  WBEDTO,
13706
13726
  ZonaTrabajoDTO,
13707
13727
  ZonalesDTO,
13728
+ convertStringsToDates,
13708
13729
  validateAndFormatData
13709
13730
  });
package/dist/index.mjs CHANGED
@@ -95,6 +95,25 @@ function formatErrors(errors, parentPath = "") {
95
95
  });
96
96
  }
97
97
 
98
+ // src/shared/utils/convertStringsToDates.ts
99
+ function convertStringsToDates(obj) {
100
+ if (typeof obj === "string") {
101
+ const date = new Date(obj);
102
+ return isNaN(date.getTime()) ? obj : date;
103
+ }
104
+ if (Array.isArray(obj)) {
105
+ return obj.map((item) => convertStringsToDates(item));
106
+ }
107
+ if (typeof obj === "object" && obj !== null) {
108
+ for (const key in obj) {
109
+ if (obj.hasOwnProperty(key)) {
110
+ obj[key] = convertStringsToDates(obj[key]);
111
+ }
112
+ }
113
+ }
114
+ return obj;
115
+ }
116
+
98
117
  // src/shared/dto/almacen-dto.ts
99
118
  import { IsNotEmpty as IsNotEmpty2, IsNumber, IsString as IsString2, Length as Length2, Min, ValidateNested } from "class-validator";
100
119
  import { Expose as Expose2, Type } from "class-transformer";
@@ -13497,5 +13516,6 @@ export {
13497
13516
  WBEDTO,
13498
13517
  ZonaTrabajoDTO,
13499
13518
  ZonalesDTO,
13519
+ convertStringsToDates,
13500
13520
  validateAndFormatData
13501
13521
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "0.0.178",
3
+ "version": "0.0.179",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",