sigo-entities 1.1.72 → 1.1.73
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 +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +9 -0
- package/dist/index.mjs +134 -126
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -24,6 +24,10 @@ interface ItrimAndUpperCaseString {
|
|
|
24
24
|
}
|
|
25
25
|
declare function trimAndUpperCaseString({ value, defaultValue }: ItrimAndUpperCaseString): any;
|
|
26
26
|
|
|
27
|
+
declare function convertTypeNumber({ value }: {
|
|
28
|
+
value: any;
|
|
29
|
+
}): any;
|
|
30
|
+
|
|
27
31
|
declare class WBEDTO {
|
|
28
32
|
ID_WBE: number;
|
|
29
33
|
CodigoWBE: string;
|
|
@@ -5715,4 +5719,4 @@ declare class OnnetFibraENTITY extends BitacoraDeOrdenesDTO {
|
|
|
5715
5719
|
DetailMaintenanceOrder: DetailMaintenanceOrderDTO;
|
|
5716
5720
|
}
|
|
5717
5721
|
|
|
5718
|
-
export { ADM_RM_ZonasActividadENTITY, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddMOPContrataMODTO, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AlmacenDTO, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AnexosDetailMantenanceOrderDTO, AreaGOMDTO, AreaGomDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AutoInventarioENTITY, BaremoAlemaniaENTITY, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CargoPersonalENTITY, CausacionCubicacionColombiaDTO, CausacionCubicacionDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeStateBaremosDTO, ChileTdCENTITY, ClienteDTO, ClienteTdCDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloDTO, ConsumoMaterialAlemaniaENTITY, ConsumoMaterialENTITY, ContratistaDTO, ContratistasDTO, Contratistas_PE_DTO, ContratoDTO, ContratoOTDTO, ContratoOTENTITY, ContratoOTGeneralDTO, ContratoOT_PRE_DTO, ContratoOT_ZT_DTO, ContratoObraOTDTO, ConversionLogisticaDTO, CoordenadasDTO, CoordenadasTdCDTO, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CuadrillaBaremoDTO, CuadrillaDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CubicacionAlemaniaAL02ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataDocumentacionDTO, DataGridTabBusinessHP, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemChile, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAtipicaDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCubicajeDTO, DetalleDTO, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DireccionDTO, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteDTO, DocumentoDetalleNoClienteDTO, DocumentosInicialesDTO, EECC_DTO, EFaseObraBaremo, EmpalmeDTO, EmpresaBaremoDTO, EmpresaDTO$4 as EmpresaDTO, EmpresaENTITY, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaProduccionDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EquipoLogisticaDTO, EquiposAIDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, type EstadoVal, Estado_Model_MO, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasesObraBaremoDTO, FechaDTO, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FilesDocDTO, FlagsDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO$1 as FotosSSTDTO, GOMDTO, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, HomePassDTO$1 as HomePassDTO, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetTdC, IDataSheetTiemposCumplimentados, ISheetsJsonChileTdC, IncidenciasChileDTO, IncidenciasDTO, IngresoAlmacenENTITY, InventarioDTO, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, KeyDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MOBaremoDTO, MOChileVigenciaDTO, MacroObraChileENTITY, MacroObraENTITY, MailStructureENTITY, ManoObraBaremoDTO, ManoObraBaremoENTITY, ManoObraBaremoProduccionDTO, ManoObraENTITY, ManoObraGlobalENTITY, ManoObraGlobalPCMOAlemaniaAL02DTO, ManoObraGlobalPCMODTO, ManoObraLiberacionPagosDTO, ManoObraMttoENTITY, ManoObraPorUnidadObraENTITY, MarcaDTO, MaterialAmapDTO, MaterialAmapMODTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MedidorDTO, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdenDetailMaintenanceDTO, OrigenCUB, PagosECBaremoDTO, PagosECDTO, PaisStockPersonalDTO, ParteDiarioDTO$1 as ParteDiarioDTO, PasosDTO, type PayloadTokenDTO, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$4 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonalCuadrillaDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, PrecioAgencia_mam_onnetENTITY, PrecioContratistaMOAL02ENTITY, PrecioContratistaMOAL04ENTITY, PrecioContratistaMOENTITY, PrecioContratistaMaterialENTITY, PrecioDTO, PrecioEspecialidadENTITY, PrecioMaterialENTITY, PrecioTrabajoDTO, PreciosVigentesDTO, PresupuestadoTotalObraChilaDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaDTO, PrioridadNotificacion, ProdCursoBaremoFasesCuadrillaDTO, ProdCursoBaremoFasesManoObraDTO, ProdCursoBaremoFasesPeriodoDTO, ProdCursoBaremoFasesUltimaFaseDTO, ProdCursoBaremoFasesUltimoEstadoInternoDTO, ProduccionDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RecursosPersonalDTO, RegularizacionPositivaNegativaDTO, RepresentanteLegalDTO, ReservaENTITY, ReservaManoObraRegularizacionENTITY, ResultadoDTO, ResumenAvanceChileDTO, ResumenAvanceDataDocumentacionDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO, ResumenAvanceDataDocumentacionDataWithPercentsChile, ResumenAvanceDataGranTotal, ResumenAvanceDataGranTotalEmpresasChileDTO, ResumenAvanceDataGranTotalManoObraCHILEDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO, ResumentAvanceDocumentacionHPDTO, RptProduccionCurso_Baremos_FasesENTITY, SalidaAlmacenENTITY, SeguimientoObraDTO, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SocketDTO, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, TecnicoValDTO, TipoActividadMOENTITY, TipoAlmacenDTO, TipoAlmacenENTITY, TipoClaveENTITY, TipoConsumoMaterial, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoEspecialidadMOENTITY, type TipoLiq, TipoMOPCMODTO, TipoMiembroGrupoEmpresaDTO, TipoMovilCuadrillaDTO, TipoMovilENTITY, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoSistemaDTO, TipoStockENTITY, TipoStockStockPersonalDTO, type TipoVal, Tipo_MO, ToaClaroENTITY, TotBaremosDTO, TotalGeneralObraChile9512DTO, TotalGeneralObraChileDTO, TotalGeneralObraColombia9612DTO, TotalGeneralObraDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TrabajoMacroObraAlemaniaENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO$1 as UbicacionDTO, UbicacionObraDTO, UbicacionTdCDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultima_PreLiquidacionDTO, Ultima_PreLiquidacionTMOAlemaniaDTO, Ultima_asignacionDTO$1 as Ultima_asignacionDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO$2 as UnidadMedidaDTO, UnidadMedidaENTITY, UnidadMedidaLiberacionPagosDTO, UnidadObraENTITY, UnidadObraMaterialENTITY, UpdateUltimaFaseFacturacionDTO, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizacionDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, latLngDTO, peru9112TOAENTITY, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody };
|
|
5722
|
+
export { ADM_RM_ZonasActividadENTITY, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddMOPContrataMODTO, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AlmacenDTO, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AnexosDetailMantenanceOrderDTO, AreaGOMDTO, AreaGomDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AutoInventarioENTITY, BaremoAlemaniaENTITY, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CargoPersonalENTITY, CausacionCubicacionColombiaDTO, CausacionCubicacionDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeStateBaremosDTO, ChileTdCENTITY, ClienteDTO, ClienteTdCDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloDTO, ConsumoMaterialAlemaniaENTITY, ConsumoMaterialENTITY, ContratistaDTO, ContratistasDTO, Contratistas_PE_DTO, ContratoDTO, ContratoOTDTO, ContratoOTENTITY, ContratoOTGeneralDTO, ContratoOT_PRE_DTO, ContratoOT_ZT_DTO, ContratoObraOTDTO, ConversionLogisticaDTO, CoordenadasDTO, CoordenadasTdCDTO, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CuadrillaBaremoDTO, CuadrillaDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CubicacionAlemaniaAL02ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataDocumentacionDTO, DataGridTabBusinessHP, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemChile, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAtipicaDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCubicajeDTO, DetalleDTO, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DireccionDTO, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteDTO, DocumentoDetalleNoClienteDTO, DocumentosInicialesDTO, EECC_DTO, EFaseObraBaremo, EmpalmeDTO, EmpresaBaremoDTO, EmpresaDTO$4 as EmpresaDTO, EmpresaENTITY, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaProduccionDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EquipoLogisticaDTO, EquiposAIDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, type EstadoVal, Estado_Model_MO, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasesObraBaremoDTO, FechaDTO, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FilesDocDTO, FlagsDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO$1 as FotosSSTDTO, GOMDTO, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, HomePassDTO$1 as HomePassDTO, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetTdC, IDataSheetTiemposCumplimentados, ISheetsJsonChileTdC, IncidenciasChileDTO, IncidenciasDTO, IngresoAlmacenENTITY, InventarioDTO, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, KeyDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MOBaremoDTO, MOChileVigenciaDTO, MacroObraChileENTITY, MacroObraENTITY, MailStructureENTITY, ManoObraBaremoDTO, ManoObraBaremoENTITY, ManoObraBaremoProduccionDTO, ManoObraENTITY, ManoObraGlobalENTITY, ManoObraGlobalPCMOAlemaniaAL02DTO, ManoObraGlobalPCMODTO, ManoObraLiberacionPagosDTO, ManoObraMttoENTITY, ManoObraPorUnidadObraENTITY, MarcaDTO, MaterialAmapDTO, MaterialAmapMODTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MedidorDTO, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdenDetailMaintenanceDTO, OrigenCUB, PagosECBaremoDTO, PagosECDTO, PaisStockPersonalDTO, ParteDiarioDTO$1 as ParteDiarioDTO, PasosDTO, type PayloadTokenDTO, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$4 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonalCuadrillaDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, PrecioAgencia_mam_onnetENTITY, PrecioContratistaMOAL02ENTITY, PrecioContratistaMOAL04ENTITY, PrecioContratistaMOENTITY, PrecioContratistaMaterialENTITY, PrecioDTO, PrecioEspecialidadENTITY, PrecioMaterialENTITY, PrecioTrabajoDTO, PreciosVigentesDTO, PresupuestadoTotalObraChilaDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaDTO, PrioridadNotificacion, ProdCursoBaremoFasesCuadrillaDTO, ProdCursoBaremoFasesManoObraDTO, ProdCursoBaremoFasesPeriodoDTO, ProdCursoBaremoFasesUltimaFaseDTO, ProdCursoBaremoFasesUltimoEstadoInternoDTO, ProduccionDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RecursosPersonalDTO, RegularizacionPositivaNegativaDTO, RepresentanteLegalDTO, ReservaENTITY, ReservaManoObraRegularizacionENTITY, ResultadoDTO, ResumenAvanceChileDTO, ResumenAvanceDataDocumentacionDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO, ResumenAvanceDataDocumentacionDataWithPercentsChile, ResumenAvanceDataGranTotal, ResumenAvanceDataGranTotalEmpresasChileDTO, ResumenAvanceDataGranTotalManoObraCHILEDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO, ResumentAvanceDocumentacionHPDTO, RptProduccionCurso_Baremos_FasesENTITY, SalidaAlmacenENTITY, SeguimientoObraDTO, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SocketDTO, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, TecnicoValDTO, TipoActividadMOENTITY, TipoAlmacenDTO, TipoAlmacenENTITY, TipoClaveENTITY, TipoConsumoMaterial, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoEspecialidadMOENTITY, type TipoLiq, TipoMOPCMODTO, TipoMiembroGrupoEmpresaDTO, TipoMovilCuadrillaDTO, TipoMovilENTITY, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoSistemaDTO, TipoStockENTITY, TipoStockStockPersonalDTO, type TipoVal, Tipo_MO, ToaClaroENTITY, TotBaremosDTO, TotalGeneralObraChile9512DTO, TotalGeneralObraChileDTO, TotalGeneralObraColombia9612DTO, TotalGeneralObraDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TrabajoMacroObraAlemaniaENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO$1 as UbicacionDTO, UbicacionObraDTO, UbicacionTdCDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultima_PreLiquidacionDTO, Ultima_PreLiquidacionTMOAlemaniaDTO, Ultima_asignacionDTO$1 as Ultima_asignacionDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO$2 as UnidadMedidaDTO, UnidadMedidaENTITY, UnidadMedidaLiberacionPagosDTO, UnidadObraENTITY, UnidadObraMaterialENTITY, UpdateUltimaFaseFacturacionDTO, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizacionDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, latLngDTO, peru9112TOAENTITY, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody };
|
package/dist/index.d.ts
CHANGED
|
@@ -24,6 +24,10 @@ interface ItrimAndUpperCaseString {
|
|
|
24
24
|
}
|
|
25
25
|
declare function trimAndUpperCaseString({ value, defaultValue }: ItrimAndUpperCaseString): any;
|
|
26
26
|
|
|
27
|
+
declare function convertTypeNumber({ value }: {
|
|
28
|
+
value: any;
|
|
29
|
+
}): any;
|
|
30
|
+
|
|
27
31
|
declare class WBEDTO {
|
|
28
32
|
ID_WBE: number;
|
|
29
33
|
CodigoWBE: string;
|
|
@@ -5715,4 +5719,4 @@ declare class OnnetFibraENTITY extends BitacoraDeOrdenesDTO {
|
|
|
5715
5719
|
DetailMaintenanceOrder: DetailMaintenanceOrderDTO;
|
|
5716
5720
|
}
|
|
5717
5721
|
|
|
5718
|
-
export { ADM_RM_ZonasActividadENTITY, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddMOPContrataMODTO, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AlmacenDTO, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AnexosDetailMantenanceOrderDTO, AreaGOMDTO, AreaGomDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AutoInventarioENTITY, BaremoAlemaniaENTITY, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CargoPersonalENTITY, CausacionCubicacionColombiaDTO, CausacionCubicacionDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeStateBaremosDTO, ChileTdCENTITY, ClienteDTO, ClienteTdCDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloDTO, ConsumoMaterialAlemaniaENTITY, ConsumoMaterialENTITY, ContratistaDTO, ContratistasDTO, Contratistas_PE_DTO, ContratoDTO, ContratoOTDTO, ContratoOTENTITY, ContratoOTGeneralDTO, ContratoOT_PRE_DTO, ContratoOT_ZT_DTO, ContratoObraOTDTO, ConversionLogisticaDTO, CoordenadasDTO, CoordenadasTdCDTO, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CuadrillaBaremoDTO, CuadrillaDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CubicacionAlemaniaAL02ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataDocumentacionDTO, DataGridTabBusinessHP, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemChile, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAtipicaDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCubicajeDTO, DetalleDTO, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DireccionDTO, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteDTO, DocumentoDetalleNoClienteDTO, DocumentosInicialesDTO, EECC_DTO, EFaseObraBaremo, EmpalmeDTO, EmpresaBaremoDTO, EmpresaDTO$4 as EmpresaDTO, EmpresaENTITY, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaProduccionDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EquipoLogisticaDTO, EquiposAIDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, type EstadoVal, Estado_Model_MO, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasesObraBaremoDTO, FechaDTO, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FilesDocDTO, FlagsDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO$1 as FotosSSTDTO, GOMDTO, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, HomePassDTO$1 as HomePassDTO, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetTdC, IDataSheetTiemposCumplimentados, ISheetsJsonChileTdC, IncidenciasChileDTO, IncidenciasDTO, IngresoAlmacenENTITY, InventarioDTO, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, KeyDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MOBaremoDTO, MOChileVigenciaDTO, MacroObraChileENTITY, MacroObraENTITY, MailStructureENTITY, ManoObraBaremoDTO, ManoObraBaremoENTITY, ManoObraBaremoProduccionDTO, ManoObraENTITY, ManoObraGlobalENTITY, ManoObraGlobalPCMOAlemaniaAL02DTO, ManoObraGlobalPCMODTO, ManoObraLiberacionPagosDTO, ManoObraMttoENTITY, ManoObraPorUnidadObraENTITY, MarcaDTO, MaterialAmapDTO, MaterialAmapMODTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MedidorDTO, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdenDetailMaintenanceDTO, OrigenCUB, PagosECBaremoDTO, PagosECDTO, PaisStockPersonalDTO, ParteDiarioDTO$1 as ParteDiarioDTO, PasosDTO, type PayloadTokenDTO, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$4 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonalCuadrillaDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, PrecioAgencia_mam_onnetENTITY, PrecioContratistaMOAL02ENTITY, PrecioContratistaMOAL04ENTITY, PrecioContratistaMOENTITY, PrecioContratistaMaterialENTITY, PrecioDTO, PrecioEspecialidadENTITY, PrecioMaterialENTITY, PrecioTrabajoDTO, PreciosVigentesDTO, PresupuestadoTotalObraChilaDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaDTO, PrioridadNotificacion, ProdCursoBaremoFasesCuadrillaDTO, ProdCursoBaremoFasesManoObraDTO, ProdCursoBaremoFasesPeriodoDTO, ProdCursoBaremoFasesUltimaFaseDTO, ProdCursoBaremoFasesUltimoEstadoInternoDTO, ProduccionDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RecursosPersonalDTO, RegularizacionPositivaNegativaDTO, RepresentanteLegalDTO, ReservaENTITY, ReservaManoObraRegularizacionENTITY, ResultadoDTO, ResumenAvanceChileDTO, ResumenAvanceDataDocumentacionDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO, ResumenAvanceDataDocumentacionDataWithPercentsChile, ResumenAvanceDataGranTotal, ResumenAvanceDataGranTotalEmpresasChileDTO, ResumenAvanceDataGranTotalManoObraCHILEDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO, ResumentAvanceDocumentacionHPDTO, RptProduccionCurso_Baremos_FasesENTITY, SalidaAlmacenENTITY, SeguimientoObraDTO, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SocketDTO, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, TecnicoValDTO, TipoActividadMOENTITY, TipoAlmacenDTO, TipoAlmacenENTITY, TipoClaveENTITY, TipoConsumoMaterial, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoEspecialidadMOENTITY, type TipoLiq, TipoMOPCMODTO, TipoMiembroGrupoEmpresaDTO, TipoMovilCuadrillaDTO, TipoMovilENTITY, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoSistemaDTO, TipoStockENTITY, TipoStockStockPersonalDTO, type TipoVal, Tipo_MO, ToaClaroENTITY, TotBaremosDTO, TotalGeneralObraChile9512DTO, TotalGeneralObraChileDTO, TotalGeneralObraColombia9612DTO, TotalGeneralObraDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TrabajoMacroObraAlemaniaENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO$1 as UbicacionDTO, UbicacionObraDTO, UbicacionTdCDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultima_PreLiquidacionDTO, Ultima_PreLiquidacionTMOAlemaniaDTO, Ultima_asignacionDTO$1 as Ultima_asignacionDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO$2 as UnidadMedidaDTO, UnidadMedidaENTITY, UnidadMedidaLiberacionPagosDTO, UnidadObraENTITY, UnidadObraMaterialENTITY, UpdateUltimaFaseFacturacionDTO, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizacionDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, latLngDTO, peru9112TOAENTITY, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody };
|
|
5722
|
+
export { ADM_RM_ZonasActividadENTITY, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddMOPContrataMODTO, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AlmacenDTO, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenUsuarioGIADTO, AnexosDetailMantenanceOrderDTO, AreaGOMDTO, AreaGomDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AutoInventarioENTITY, BaremoAlemaniaENTITY, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CargoPersonalENTITY, CausacionCubicacionColombiaDTO, CausacionCubicacionDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeStateBaremosDTO, ChileTdCENTITY, ClienteDTO, ClienteTdCDTO, Cliente_ContratistaDTO, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloDTO, ConsumoMaterialAlemaniaENTITY, ConsumoMaterialENTITY, ContratistaDTO, ContratistasDTO, Contratistas_PE_DTO, ContratoDTO, ContratoOTDTO, ContratoOTENTITY, ContratoOTGeneralDTO, ContratoOT_PRE_DTO, ContratoOT_ZT_DTO, ContratoObraOTDTO, ConversionLogisticaDTO, CoordenadasDTO, CoordenadasTdCDTO, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CuadrillaBaremoDTO, CuadrillaDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CubicacionAlemaniaAL02ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataDocumentacionDTO, DataGridTabBusinessHP, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemChile, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAtipicaDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCubicajeDTO, DetalleDTO, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DireccionDTO, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteDTO, DocumentoDetalleNoClienteDTO, DocumentosInicialesDTO, EECC_DTO, EFaseObraBaremo, EmpalmeDTO, EmpresaBaremoDTO, EmpresaDTO$4 as EmpresaDTO, EmpresaENTITY, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaProduccionDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EquipoLogisticaDTO, EquiposAIDTO, EquiposDTO, EstadoAntiguoDTO, EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, type EstadoVal, Estado_Model_MO, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasesObraBaremoDTO, FechaDTO, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FilesDocDTO, FlagsDTO, FlujoDocDTO, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO$1 as FotosSSTDTO, GOMDTO, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, HomePassDTO$1 as HomePassDTO, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetTdC, IDataSheetTiemposCumplimentados, ISheetsJsonChileTdC, IncidenciasChileDTO, IncidenciasDTO, IngresoAlmacenENTITY, InventarioDTO, InventarioLiqDTO, InventarioValDTO, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, KeyDTO, KeyIntegracionENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoteDTO$1 as LoteDTO, MOBaremoDTO, MOChileVigenciaDTO, MacroObraChileENTITY, MacroObraENTITY, MailStructureENTITY, ManoObraBaremoDTO, ManoObraBaremoENTITY, ManoObraBaremoProduccionDTO, ManoObraENTITY, ManoObraGlobalENTITY, ManoObraGlobalPCMOAlemaniaAL02DTO, ManoObraGlobalPCMODTO, ManoObraLiberacionPagosDTO, ManoObraMttoENTITY, ManoObraPorUnidadObraENTITY, MarcaDTO, MaterialAmapDTO, MaterialAmapMODTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MedidorDTO, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdenDetailMaintenanceDTO, OrigenCUB, PagosECBaremoDTO, PagosECDTO, PaisStockPersonalDTO, ParteDiarioDTO$1 as ParteDiarioDTO, PasosDTO, type PayloadTokenDTO, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$4 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonalCuadrillaDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, PrecioAgencia_mam_onnetENTITY, PrecioContratistaMOAL02ENTITY, PrecioContratistaMOAL04ENTITY, PrecioContratistaMOENTITY, PrecioContratistaMaterialENTITY, PrecioDTO, PrecioEspecialidadENTITY, PrecioMaterialENTITY, PrecioTrabajoDTO, PreciosVigentesDTO, PresupuestadoTotalObraChilaDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaDTO, PrioridadNotificacion, ProdCursoBaremoFasesCuadrillaDTO, ProdCursoBaremoFasesManoObraDTO, ProdCursoBaremoFasesPeriodoDTO, ProdCursoBaremoFasesUltimaFaseDTO, ProdCursoBaremoFasesUltimoEstadoInternoDTO, ProduccionDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RecursosPersonalDTO, RegularizacionPositivaNegativaDTO, RepresentanteLegalDTO, ReservaENTITY, ReservaManoObraRegularizacionENTITY, ResultadoDTO, ResumenAvanceChileDTO, ResumenAvanceDataDocumentacionDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO, ResumenAvanceDataDocumentacionDataWithPercentsChile, ResumenAvanceDataGranTotal, ResumenAvanceDataGranTotalEmpresasChileDTO, ResumenAvanceDataGranTotalManoObraCHILEDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO, ResumentAvanceDocumentacionHPDTO, RptProduccionCurso_Baremos_FasesENTITY, SalidaAlmacenENTITY, SeguimientoObraDTO, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SocketDTO, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, TecnicoValDTO, TipoActividadMOENTITY, TipoAlmacenDTO, TipoAlmacenENTITY, TipoClaveENTITY, TipoConsumoMaterial, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoEspecialidadMOENTITY, type TipoLiq, TipoMOPCMODTO, TipoMiembroGrupoEmpresaDTO, TipoMovilCuadrillaDTO, TipoMovilENTITY, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoSistemaDTO, TipoStockENTITY, TipoStockStockPersonalDTO, type TipoVal, Tipo_MO, ToaClaroENTITY, TotBaremosDTO, TotalGeneralObraChile9512DTO, TotalGeneralObraChileDTO, TotalGeneralObraColombia9612DTO, TotalGeneralObraDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TrabajoMacroObraAlemaniaENTITY, TransaccionFoliosENTITY, TransaccionesDTO, UbicacionAlmacenDTO, UbicacionDTO$1 as UbicacionDTO, UbicacionObraDTO, UbicacionTdCDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultima_PreLiquidacionDTO, Ultima_PreLiquidacionTMOAlemaniaDTO, Ultima_asignacionDTO$1 as Ultima_asignacionDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO$2 as UnidadMedidaDTO, UnidadMedidaENTITY, UnidadMedidaLiberacionPagosDTO, UnidadObraENTITY, UnidadObraMaterialENTITY, UpdateUltimaFaseFacturacionDTO, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValorizacionAlemaniaDTO, ValorizacionDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, latLngDTO, peru9112TOAENTITY, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody };
|
package/dist/index.js
CHANGED
|
@@ -480,6 +480,7 @@ __export(index_exports, {
|
|
|
480
480
|
ZonalesDTO: () => ZonalesDTO,
|
|
481
481
|
ZonasDTO: () => ZonasDTO,
|
|
482
482
|
convertStringsToDates: () => convertStringsToDates,
|
|
483
|
+
convertTypeNumber: () => convertTypeNumber,
|
|
483
484
|
latLngDTO: () => latLngDTO,
|
|
484
485
|
peru9112TOAENTITY: () => peru9112TOAENTITY,
|
|
485
486
|
transformToDateIfEmpty: () => transformToDateIfEmpty,
|
|
@@ -662,6 +663,12 @@ function trimAndUpperCaseString({ value, defaultValue = "" }) {
|
|
|
662
663
|
return value;
|
|
663
664
|
}
|
|
664
665
|
|
|
666
|
+
// src/shared/utils/convertTypeNumber.ts
|
|
667
|
+
function convertTypeNumber({ value }) {
|
|
668
|
+
if (isNaN(value)) return value;
|
|
669
|
+
return Number(value);
|
|
670
|
+
}
|
|
671
|
+
|
|
665
672
|
// src/shared/dto/WBE-dto.ts
|
|
666
673
|
var import_class_transformer4 = require("class-transformer");
|
|
667
674
|
var import_class_validator4 = require("class-validator");
|
|
@@ -5712,6 +5719,7 @@ __decorateClass([
|
|
|
5712
5719
|
(0, import_class_transformer116.Expose)()
|
|
5713
5720
|
], ItemDTO.prototype, "Lote", 2);
|
|
5714
5721
|
__decorateClass([
|
|
5722
|
+
(0, import_class_transformer116.Transform)(({ value }) => convertTypeNumber({ value })),
|
|
5715
5723
|
(0, import_class_validator117.IsDefined)({ message: "es requerido" }),
|
|
5716
5724
|
(0, import_class_validator117.IsNumber)({}, { message: "debe ser un numero" }),
|
|
5717
5725
|
(0, import_class_validator117.Min)(0, { message: "el valor m\xEDnimo es 0" }),
|
|
@@ -30775,6 +30783,7 @@ __decorateClass([
|
|
|
30775
30783
|
ZonalesDTO,
|
|
30776
30784
|
ZonasDTO,
|
|
30777
30785
|
convertStringsToDates,
|
|
30786
|
+
convertTypeNumber,
|
|
30778
30787
|
latLngDTO,
|
|
30779
30788
|
peru9112TOAENTITY,
|
|
30780
30789
|
transformToDateIfEmpty,
|
package/dist/index.mjs
CHANGED
|
@@ -184,6 +184,12 @@ function trimAndUpperCaseString({ value, defaultValue = "" }) {
|
|
|
184
184
|
return value;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
+
// src/shared/utils/convertTypeNumber.ts
|
|
188
|
+
function convertTypeNumber({ value }) {
|
|
189
|
+
if (isNaN(value)) return value;
|
|
190
|
+
return Number(value);
|
|
191
|
+
}
|
|
192
|
+
|
|
187
193
|
// src/shared/dto/WBE-dto.ts
|
|
188
194
|
import { Expose as Expose2 } from "class-transformer";
|
|
189
195
|
import { IsNotEmpty as IsNotEmpty2, IsNumber, IsString as IsString2, Length as Length2, Min } from "class-validator";
|
|
@@ -5159,7 +5165,7 @@ __decorateClass([
|
|
|
5159
5165
|
], ItemCantidadesDTO.prototype, "Fecha", 2);
|
|
5160
5166
|
|
|
5161
5167
|
// src/programados/procesos/reservaMaterial/shared/dto/item-dto.ts
|
|
5162
|
-
import { Expose as Expose114, Type as Type72 } from "class-transformer";
|
|
5168
|
+
import { Expose as Expose114, Transform as Transform20, Type as Type72 } from "class-transformer";
|
|
5163
5169
|
import { IsArray as IsArray31, IsDefined as IsDefined17, IsNotEmpty as IsNotEmpty92, IsNumber as IsNumber79, IsString as IsString94, Min as Min71, MinLength as MinLength9, ValidateNested as ValidateNested65 } from "class-validator";
|
|
5164
5170
|
var ItemDTO = class {
|
|
5165
5171
|
ID_Item = 0;
|
|
@@ -5234,6 +5240,7 @@ __decorateClass([
|
|
|
5234
5240
|
Expose114()
|
|
5235
5241
|
], ItemDTO.prototype, "Lote", 2);
|
|
5236
5242
|
__decorateClass([
|
|
5243
|
+
Transform20(({ value }) => convertTypeNumber({ value })),
|
|
5237
5244
|
IsDefined17({ message: "es requerido" }),
|
|
5238
5245
|
IsNumber79({}, { message: "debe ser un numero" }),
|
|
5239
5246
|
Min71(0, { message: "el valor m\xEDnimo es 0" }),
|
|
@@ -6287,7 +6294,7 @@ __decorateClass([
|
|
|
6287
6294
|
], ProduccionDTO.prototype, "CentroCostos", 2);
|
|
6288
6295
|
|
|
6289
6296
|
// src/programados/procesos/trabajo/shared/dto/detalle-chile-dto.ts
|
|
6290
|
-
import { Expose as Expose130, Transform as
|
|
6297
|
+
import { Expose as Expose130, Transform as Transform21, Type as Type87 } from "class-transformer";
|
|
6291
6298
|
import { IsDefined as IsDefined26, IsNotEmpty as IsNotEmpty102, IsNumber as IsNumber92, IsString as IsString106, Length as Length84, Min as Min81, MinLength as MinLength14, ValidateNested as ValidateNested78 } from "class-validator";
|
|
6292
6299
|
var DetalleChileDTO = class {
|
|
6293
6300
|
Codigo = "";
|
|
@@ -6444,7 +6451,7 @@ __decorateClass([
|
|
|
6444
6451
|
], DetalleChileDTO.prototype, "CanUOApr", 2);
|
|
6445
6452
|
__decorateClass([
|
|
6446
6453
|
IsDefined26({ message: "es requerido" }),
|
|
6447
|
-
|
|
6454
|
+
Transform21(({ value }) => {
|
|
6448
6455
|
const num = Number(value);
|
|
6449
6456
|
return isNaN(num) ? value : num;
|
|
6450
6457
|
}),
|
|
@@ -6815,7 +6822,7 @@ __decorateClass([
|
|
|
6815
6822
|
], SubManoObraDTO.prototype, "Cantidad", 2);
|
|
6816
6823
|
|
|
6817
6824
|
// src/programados/procesos/trabajo/shared/dto/ubicacion-dto.ts
|
|
6818
|
-
import { Expose as Expose138, Transform as
|
|
6825
|
+
import { Expose as Expose138, Transform as Transform22, Type as Type91 } from "class-transformer";
|
|
6819
6826
|
import { IsNotEmpty as IsNotEmpty109, IsString as IsString113, Length as Length90, MinLength as MinLength18, ValidateNested as ValidateNested82 } from "class-validator";
|
|
6820
6827
|
var UbicacionDTO = class {
|
|
6821
6828
|
Direccion = "";
|
|
@@ -6832,7 +6839,7 @@ __decorateClass([
|
|
|
6832
6839
|
Expose138()
|
|
6833
6840
|
], UbicacionDTO.prototype, "Direccion", 2);
|
|
6834
6841
|
__decorateClass([
|
|
6835
|
-
|
|
6842
|
+
Transform22(({ value }) => value === null ? "" : value),
|
|
6836
6843
|
IsString113({ message: "debe ser un texto" }),
|
|
6837
6844
|
MinLength18(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
6838
6845
|
Expose138()
|
|
@@ -6844,7 +6851,7 @@ __decorateClass([
|
|
|
6844
6851
|
ValidateNested82()
|
|
6845
6852
|
], UbicacionDTO.prototype, "Coordenadas", 2);
|
|
6846
6853
|
__decorateClass([
|
|
6847
|
-
|
|
6854
|
+
Transform22(({ value }) => value === null ? "" : value),
|
|
6848
6855
|
IsString113({ message: "debe ser un texto" }),
|
|
6849
6856
|
MinLength18(0, { message: "debe tener entre como m\xEDnimo 0 caracteres" }),
|
|
6850
6857
|
Expose138()
|
|
@@ -7235,7 +7242,7 @@ __decorateClass([
|
|
|
7235
7242
|
], ValorizacionesDTO.prototype, "Estado", 2);
|
|
7236
7243
|
|
|
7237
7244
|
// src/programados/procesos/trabajo/shared/dto/personal-trabajo-dto.ts
|
|
7238
|
-
import { Expose as Expose142, Transform as
|
|
7245
|
+
import { Expose as Expose142, Transform as Transform23 } from "class-transformer";
|
|
7239
7246
|
import { IsNumber as IsNumber100, IsString as IsString116, Length as Length93, MinLength as MinLength20 } from "class-validator";
|
|
7240
7247
|
var PersonalTrabajoDTO = class {
|
|
7241
7248
|
Identificacion = "";
|
|
@@ -7250,7 +7257,7 @@ __decorateClass([
|
|
|
7250
7257
|
Expose142()
|
|
7251
7258
|
], PersonalTrabajoDTO.prototype, "Identificacion", 2);
|
|
7252
7259
|
__decorateClass([
|
|
7253
|
-
|
|
7260
|
+
Transform23(({ value }) => value === "" ? 0 : value),
|
|
7254
7261
|
IsNumber100({}, { message: "debe ser un numero" }),
|
|
7255
7262
|
Expose142()
|
|
7256
7263
|
], PersonalTrabajoDTO.prototype, "IdPersonal", 2);
|
|
@@ -11053,7 +11060,7 @@ __decorateClass([
|
|
|
11053
11060
|
], TotalGeneralObraDTO.prototype, "ResumenAvance", 2);
|
|
11054
11061
|
|
|
11055
11062
|
// src/programados/procesos/obra/shared/dto/ubicacion-dto.ts
|
|
11056
|
-
import { Expose as Expose204, Transform as
|
|
11063
|
+
import { Expose as Expose204, Transform as Transform24, Type as Type142 } from "class-transformer";
|
|
11057
11064
|
import { IsNotEmpty as IsNotEmpty162, IsString as IsString161, Length as Length127, ValidateNested as ValidateNested130 } from "class-validator";
|
|
11058
11065
|
var UbicacionObraDTO = class {
|
|
11059
11066
|
Direccion = "";
|
|
@@ -11070,7 +11077,7 @@ __decorateClass([
|
|
|
11070
11077
|
Expose204()
|
|
11071
11078
|
], UbicacionObraDTO.prototype, "Direccion", 2);
|
|
11072
11079
|
__decorateClass([
|
|
11073
|
-
|
|
11080
|
+
Transform24(({ value }) => value === null ? "" : value),
|
|
11074
11081
|
IsString161({ message: "debe ser un texto" }),
|
|
11075
11082
|
Length127(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
11076
11083
|
Expose204()
|
|
@@ -11082,7 +11089,7 @@ __decorateClass([
|
|
|
11082
11089
|
ValidateNested130()
|
|
11083
11090
|
], UbicacionObraDTO.prototype, "Coordenadas", 2);
|
|
11084
11091
|
__decorateClass([
|
|
11085
|
-
|
|
11092
|
+
Transform24(({ value }) => value === null ? "" : value),
|
|
11086
11093
|
IsString161({ message: "debe ser un texto" }),
|
|
11087
11094
|
Length127(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
11088
11095
|
Expose204()
|
|
@@ -11627,7 +11634,7 @@ import { Expose as Expose218, Type as Type153 } from "class-transformer";
|
|
|
11627
11634
|
import { IsNotEmpty as IsNotEmpty174, ValidateNested as ValidateNested141 } from "class-validator";
|
|
11628
11635
|
|
|
11629
11636
|
// src/programados/procesos/obra/alemania/shared/detalle-chile-alemania-obra-dto.ts
|
|
11630
|
-
import { Expose as Expose217, Transform as
|
|
11637
|
+
import { Expose as Expose217, Transform as Transform25, Type as Type152 } from "class-transformer";
|
|
11631
11638
|
import { IsArray as IsArray76, IsDate as IsDate51, IsNotEmpty as IsNotEmpty173, IsNumber as IsNumber151, IsString as IsString166, Length as Length131, Min as Min117, ValidateNested as ValidateNested140, MinLength as MinLength27 } from "class-validator";
|
|
11632
11639
|
var DetalleChileAlemaniaObraDTO = class {
|
|
11633
11640
|
codigoCalc = "";
|
|
@@ -11783,7 +11790,7 @@ __decorateClass([
|
|
|
11783
11790
|
IsNumber151({}, { message: "debe ser un numero" }),
|
|
11784
11791
|
Expose217(),
|
|
11785
11792
|
Min117(0),
|
|
11786
|
-
|
|
11793
|
+
Transform25(({ value }) => Number(value))
|
|
11787
11794
|
], DetalleChileAlemaniaObraDTO.prototype, "CostoTotal", 2);
|
|
11788
11795
|
__decorateClass([
|
|
11789
11796
|
Type152(() => HistoricoDTO),
|
|
@@ -13157,11 +13164,11 @@ __decorateClass([
|
|
|
13157
13164
|
], GomENTITY.prototype, "Anexos", 2);
|
|
13158
13165
|
|
|
13159
13166
|
// src/programados/procesos/cubicacion/shared/index.ts
|
|
13160
|
-
import { Expose as Expose240, Transform as
|
|
13167
|
+
import { Expose as Expose240, Transform as Transform28, Type as Type168 } from "class-transformer";
|
|
13161
13168
|
import { IsArray as IsArray85, IsDate as IsDate59, IsEnum as IsEnum3, IsNumber as IsNumber169, IsString as IsString183, Min as Min135, MinLength as MinLength31, ValidateNested as ValidateNested153 } from "class-validator";
|
|
13162
13169
|
|
|
13163
13170
|
// src/programados/procesos/cubicacion/shared/dto/cabecera-cubicaje-dto.ts
|
|
13164
|
-
import { Expose as Expose238, Transform as
|
|
13171
|
+
import { Expose as Expose238, Transform as Transform26, Type as Type167 } from "class-transformer";
|
|
13165
13172
|
import { IsDate as IsDate58, IsNumber as IsNumber167, IsString as IsString181, Min as Min133, MinLength as MinLength29 } from "class-validator";
|
|
13166
13173
|
var CabeceraCubicajeDTO = class {
|
|
13167
13174
|
codigoCalc = "";
|
|
@@ -13204,13 +13211,13 @@ __decorateClass([
|
|
|
13204
13211
|
Expose238()
|
|
13205
13212
|
], CabeceraCubicajeDTO.prototype, "nombre", 2);
|
|
13206
13213
|
__decorateClass([
|
|
13207
|
-
|
|
13214
|
+
Transform26(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
13208
13215
|
IsString181({ message: "debe ser un texto" }),
|
|
13209
13216
|
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
13210
13217
|
Expose238()
|
|
13211
13218
|
], CabeceraCubicajeDTO.prototype, "contrato", 2);
|
|
13212
13219
|
__decorateClass([
|
|
13213
|
-
|
|
13220
|
+
Transform26(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
13214
13221
|
IsString181({ message: "debe ser un texto" }),
|
|
13215
13222
|
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
13216
13223
|
Expose238()
|
|
@@ -13221,7 +13228,7 @@ __decorateClass([
|
|
|
13221
13228
|
Expose238()
|
|
13222
13229
|
], CabeceraCubicajeDTO.prototype, "numoe", 2);
|
|
13223
13230
|
__decorateClass([
|
|
13224
|
-
|
|
13231
|
+
Transform26(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
13225
13232
|
IsString181({ message: "debe ser un texto" }),
|
|
13226
13233
|
MinLength29(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
13227
13234
|
Expose238()
|
|
@@ -13308,7 +13315,7 @@ __decorateClass([
|
|
|
13308
13315
|
], CabeceraCubicajeDTO.prototype, "CostoTotal", 2);
|
|
13309
13316
|
|
|
13310
13317
|
// src/programados/procesos/cubicacion/shared/dto/detalle-cubicaje-dto.ts
|
|
13311
|
-
import { Expose as Expose239, Transform as
|
|
13318
|
+
import { Expose as Expose239, Transform as Transform27 } from "class-transformer";
|
|
13312
13319
|
import { IsNumber as IsNumber168, IsString as IsString182, MinLength as MinLength30, Min as Min134 } from "class-validator";
|
|
13313
13320
|
var DetalleCubicajeDTO = class {
|
|
13314
13321
|
codigo = "";
|
|
@@ -13372,19 +13379,19 @@ __decorateClass([
|
|
|
13372
13379
|
Expose239()
|
|
13373
13380
|
], DetalleCubicajeDTO.prototype, "plano", 2);
|
|
13374
13381
|
__decorateClass([
|
|
13375
|
-
|
|
13382
|
+
Transform27(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
13376
13383
|
IsString182({ message: "debe ser un texto" }),
|
|
13377
13384
|
MinLength30(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
13378
13385
|
Expose239()
|
|
13379
13386
|
], DetalleCubicajeDTO.prototype, "codesp", 2);
|
|
13380
13387
|
__decorateClass([
|
|
13381
|
-
|
|
13388
|
+
Transform27(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
13382
13389
|
IsString182({ message: "debe ser un texto" }),
|
|
13383
13390
|
MinLength30(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
13384
13391
|
Expose239()
|
|
13385
13392
|
], DetalleCubicajeDTO.prototype, "codact", 2);
|
|
13386
13393
|
__decorateClass([
|
|
13387
|
-
|
|
13394
|
+
Transform27(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
13388
13395
|
IsString182({ message: "debe ser un texto" }),
|
|
13389
13396
|
MinLength30(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
13390
13397
|
Expose239()
|
|
@@ -13395,13 +13402,13 @@ __decorateClass([
|
|
|
13395
13402
|
Expose239()
|
|
13396
13403
|
], DetalleCubicajeDTO.prototype, "tarea", 2);
|
|
13397
13404
|
__decorateClass([
|
|
13398
|
-
|
|
13405
|
+
Transform27(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
13399
13406
|
IsString182({ message: "debe ser un texto" }),
|
|
13400
13407
|
MinLength30(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
13401
13408
|
Expose239()
|
|
13402
13409
|
], DetalleCubicajeDTO.prototype, "codmo", 2);
|
|
13403
13410
|
__decorateClass([
|
|
13404
|
-
|
|
13411
|
+
Transform27(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
13405
13412
|
IsString182({ message: "debe ser un texto" }),
|
|
13406
13413
|
MinLength30(1, { message: "debe tener al menos 1 car\xE1cter" }),
|
|
13407
13414
|
Expose239()
|
|
@@ -13489,7 +13496,7 @@ __decorateClass([
|
|
|
13489
13496
|
Expose240()
|
|
13490
13497
|
], CubicacionENTITY.prototype, "Accion", 2);
|
|
13491
13498
|
__decorateClass([
|
|
13492
|
-
|
|
13499
|
+
Transform28(({ value }) => typeof value === "string" ? value.replaceAll(" ", "") : value),
|
|
13493
13500
|
IsDate59({ message: "debe ser una fecha" }),
|
|
13494
13501
|
Type168(() => Date),
|
|
13495
13502
|
Expose240()
|
|
@@ -14128,7 +14135,7 @@ __decorateClass([
|
|
|
14128
14135
|
], VigenciaKeyDTO.prototype, "FechaFin", 2);
|
|
14129
14136
|
|
|
14130
14137
|
// src/programados/procesos/precioContratistaMaterial/shared/dto/material-precio-contratista-dto.ts
|
|
14131
|
-
import { Expose as Expose260, Transform as
|
|
14138
|
+
import { Expose as Expose260, Transform as Transform29, Type as Type182 } from "class-transformer";
|
|
14132
14139
|
import { IsArray as IsArray91, IsNumber as IsNumber178, IsString as IsString193, Length as Length140, Min as Min140, ValidateNested as ValidateNested165, IsBoolean as IsBoolean16, IsDate as IsDate64, IsDefined as IsDefined55 } from "class-validator";
|
|
14133
14140
|
var MaterialPrecioContratistaDTO = class {
|
|
14134
14141
|
ID_Item = 0;
|
|
@@ -14217,14 +14224,14 @@ __decorateClass([
|
|
|
14217
14224
|
Expose260()
|
|
14218
14225
|
], MaterialPrecioContratistaDTO.prototype, "Tipo", 2);
|
|
14219
14226
|
__decorateClass([
|
|
14220
|
-
|
|
14227
|
+
Transform29(({ value }) => Number(value)),
|
|
14221
14228
|
IsDefined55({ message: "El campo Valor es obligatorio" }),
|
|
14222
14229
|
Expose260(),
|
|
14223
14230
|
IsNumber178({}, { message: "debe ser un numero" }),
|
|
14224
14231
|
Min140(0, { message: "el valor m\xEDnimo es 0" })
|
|
14225
14232
|
], MaterialPrecioContratistaDTO.prototype, "Valor", 2);
|
|
14226
14233
|
__decorateClass([
|
|
14227
|
-
|
|
14234
|
+
Transform29(({ value }) => Number(value)),
|
|
14228
14235
|
IsDefined55({ message: "El Prioridad Valor es obligatorio" }),
|
|
14229
14236
|
Expose260(),
|
|
14230
14237
|
IsNumber178({}, { message: "debe ser un numero" }),
|
|
@@ -14237,7 +14244,7 @@ __decorateClass([
|
|
|
14237
14244
|
Expose260()
|
|
14238
14245
|
], MaterialPrecioContratistaDTO.prototype, "CodigoSAP", 2);
|
|
14239
14246
|
__decorateClass([
|
|
14240
|
-
|
|
14247
|
+
Transform29(({ value }) => Number(value)),
|
|
14241
14248
|
IsDefined55({ message: "El Precio Valor es obligatorio" }),
|
|
14242
14249
|
Expose260(),
|
|
14243
14250
|
IsNumber178({}, { message: "debe ser un numero" }),
|
|
@@ -14522,7 +14529,7 @@ import { Expose as Expose267, Type as Type188 } from "class-transformer";
|
|
|
14522
14529
|
import { IsNotEmpty as IsNotEmpty199, IsArray as IsArray95, ValidateNested as ValidateNested172 } from "class-validator";
|
|
14523
14530
|
|
|
14524
14531
|
// src/programados/mantenimientos/mano obra global/shared/dto/mano-obra-baremo-dto.ts
|
|
14525
|
-
import { Expose as Expose265, Transform as
|
|
14532
|
+
import { Expose as Expose265, Transform as Transform30, Type as Type186 } from "class-transformer";
|
|
14526
14533
|
import { IsNumber as IsNumber183, Min as Min145, IsNotEmpty as IsNotEmpty197, ValidateNested as ValidateNested170 } from "class-validator";
|
|
14527
14534
|
var ManoObraBaremoDTO = class {
|
|
14528
14535
|
ID_ManoObraBaremo = 0;
|
|
@@ -14545,21 +14552,21 @@ __decorateClass([
|
|
|
14545
14552
|
ValidateNested170()
|
|
14546
14553
|
], ManoObraBaremoDTO.prototype, "Especialidad", 2);
|
|
14547
14554
|
__decorateClass([
|
|
14548
|
-
|
|
14555
|
+
Transform30(({ value }) => isNaN(Number(value)) ? value : Number(value)),
|
|
14549
14556
|
IsNumber183({}, { message: "debe ser un numero" }),
|
|
14550
14557
|
IsNotEmpty197({ message: "es requerido" }),
|
|
14551
14558
|
Min145(0),
|
|
14552
14559
|
Expose265()
|
|
14553
14560
|
], ManoObraBaremoDTO.prototype, "PuntoBaremo", 2);
|
|
14554
14561
|
__decorateClass([
|
|
14555
|
-
|
|
14562
|
+
Transform30(({ value }) => isNaN(Number(value)) ? value : Number(value)),
|
|
14556
14563
|
IsNumber183({}, { message: "debe ser un numero" }),
|
|
14557
14564
|
IsNotEmpty197({ message: "es requerido" }),
|
|
14558
14565
|
Min145(0),
|
|
14559
14566
|
Expose265()
|
|
14560
14567
|
], ManoObraBaremoDTO.prototype, "PuntoBaremoContratista", 2);
|
|
14561
14568
|
__decorateClass([
|
|
14562
|
-
|
|
14569
|
+
Transform30(({ value }) => isNaN(Number(value)) ? value : Number(value)),
|
|
14563
14570
|
IsNumber183({}, { message: "debe ser un numero" }),
|
|
14564
14571
|
IsNotEmpty197({ message: "es requerido" }),
|
|
14565
14572
|
Min145(0),
|
|
@@ -14612,7 +14619,7 @@ __decorateClass([
|
|
|
14612
14619
|
], DetalleManoObraChileDTO.prototype, "ManoObraBaremo", 2);
|
|
14613
14620
|
|
|
14614
14621
|
// src/programados/mantenimientos/mano obra global/shared/dto/add-mo-pcontrata-mo.ts
|
|
14615
|
-
import { Expose as Expose268, Transform as
|
|
14622
|
+
import { Expose as Expose268, Transform as Transform31 } from "class-transformer";
|
|
14616
14623
|
import { IsBoolean as IsBoolean17, IsDefined as IsDefined57, IsNumber as IsNumber185, IsString as IsString198, Length as Length145 } from "class-validator";
|
|
14617
14624
|
var AddMOPContrataMODTO = class {
|
|
14618
14625
|
CodigoMO = "";
|
|
@@ -14628,7 +14635,7 @@ __decorateClass([
|
|
|
14628
14635
|
], AddMOPContrataMODTO.prototype, "CodigoMO", 2);
|
|
14629
14636
|
__decorateClass([
|
|
14630
14637
|
IsDefined57({ message: "El campo newPrecio es obligatorio" }),
|
|
14631
|
-
|
|
14638
|
+
Transform31(({ value }) => isNaN(Number(value)) ? 0 : Number(value)),
|
|
14632
14639
|
IsNumber185({}, { message: "debe ser un numero" }),
|
|
14633
14640
|
Expose268()
|
|
14634
14641
|
], AddMOPContrataMODTO.prototype, "NewPrecio", 2);
|
|
@@ -14753,7 +14760,7 @@ __decorateClass([
|
|
|
14753
14760
|
], AreaGomDTO.prototype, "Descripcion", 2);
|
|
14754
14761
|
|
|
14755
14762
|
// src/programados/mantenimientos/centro costos/shared/index.ts
|
|
14756
|
-
import { Expose as Expose271, Type as Type190, Transform as
|
|
14763
|
+
import { Expose as Expose271, Type as Type190, Transform as Transform32 } from "class-transformer";
|
|
14757
14764
|
import { IsDefined as IsDefined59, IsNumber as IsNumber187, IsString as IsString201, Length as Length148, Min as Min148, ValidateNested as ValidateNested174 } from "class-validator";
|
|
14758
14765
|
var CentroCostosENTITY = class {
|
|
14759
14766
|
ID_CentroCostos = 0;
|
|
@@ -14791,7 +14798,7 @@ __decorateClass([
|
|
|
14791
14798
|
ValidateNested174()
|
|
14792
14799
|
], CentroCostosENTITY.prototype, "Delegacion", 2);
|
|
14793
14800
|
__decorateClass([
|
|
14794
|
-
|
|
14801
|
+
Transform32(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
14795
14802
|
IsDefined59({ message: "El campo Codigo es obligatorio" }),
|
|
14796
14803
|
IsString201({ message: "debe ser un texto" }),
|
|
14797
14804
|
Length148(1, 75, { message: "debe tener entre 1 y 75 caracteres" }),
|
|
@@ -14927,7 +14934,7 @@ __decorateClass([
|
|
|
14927
14934
|
], RM_ZonasActividadENTITY.prototype, "Bitacora", 2);
|
|
14928
14935
|
|
|
14929
14936
|
// src/programados/mantenimientos/rm-material/shared/index.ts
|
|
14930
|
-
import { Expose as Expose275, Transform as
|
|
14937
|
+
import { Expose as Expose275, Transform as Transform33, Type as Type192 } from "class-transformer";
|
|
14931
14938
|
import { IsDefined as IsDefined60, IsNotEmpty as IsNotEmpty203, IsNumber as IsNumber190, IsString as IsString205, Length as Length152, Min as Min150, ValidateNested as ValidateNested176 } from "class-validator";
|
|
14932
14939
|
var RM_MaterialENTITY = class {
|
|
14933
14940
|
ID_RM_Material = 0;
|
|
@@ -14983,7 +14990,7 @@ __decorateClass([
|
|
|
14983
14990
|
Expose275()
|
|
14984
14991
|
], RM_MaterialENTITY.prototype, "Proveedor", 2);
|
|
14985
14992
|
__decorateClass([
|
|
14986
|
-
|
|
14993
|
+
Transform33(({ value }) => Number(value)),
|
|
14987
14994
|
IsDefined60({ message: "El campo Precio es obligatorio" }),
|
|
14988
14995
|
IsNumber190({}, { message: "debe ser un numero" }),
|
|
14989
14996
|
Expose275(),
|
|
@@ -14996,7 +15003,7 @@ __decorateClass([
|
|
|
14996
15003
|
Expose275()
|
|
14997
15004
|
], RM_MaterialENTITY.prototype, "Tipo_Moneda", 2);
|
|
14998
15005
|
__decorateClass([
|
|
14999
|
-
|
|
15006
|
+
Transform33(({ value }) => Number(value)),
|
|
15000
15007
|
IsDefined60({ message: "El campo Valor_Moneda es obligatorio" }),
|
|
15001
15008
|
IsNumber190({}, { message: "debe ser un numero" }),
|
|
15002
15009
|
Expose275(),
|
|
@@ -15430,7 +15437,7 @@ __decorateClass([
|
|
|
15430
15437
|
], RM_ComunaENTITY.prototype, "Estado", 2);
|
|
15431
15438
|
|
|
15432
15439
|
// src/programados/mantenimientos/rm mano obra/shared/index.ts
|
|
15433
|
-
import { Expose as Expose283, Transform as
|
|
15440
|
+
import { Expose as Expose283, Transform as Transform34, Type as Type200 } from "class-transformer";
|
|
15434
15441
|
import { IsDefined as IsDefined61, IsNumber as IsNumber198, IsString as IsString213, Length as Length160, Min as Min158, ValidateNested as ValidateNested182 } from "class-validator";
|
|
15435
15442
|
var RM_ManoObraENTITY = class {
|
|
15436
15443
|
ID_RM_ManoObra = 0;
|
|
@@ -15475,7 +15482,7 @@ __decorateClass([
|
|
|
15475
15482
|
Expose283()
|
|
15476
15483
|
], RM_ManoObraENTITY.prototype, "Especialidad", 2);
|
|
15477
15484
|
__decorateClass([
|
|
15478
|
-
|
|
15485
|
+
Transform34(({ value }) => Number(value)),
|
|
15479
15486
|
IsDefined61({ message: "El campo Puntos_Baremos es obligatorio" }),
|
|
15480
15487
|
IsNumber198({}, { message: "debe ser un numero" }),
|
|
15481
15488
|
Expose283(),
|
|
@@ -15507,7 +15514,7 @@ __decorateClass([
|
|
|
15507
15514
|
], RM_ManoObraENTITY.prototype, "Estado", 2);
|
|
15508
15515
|
|
|
15509
15516
|
// src/programados/mantenimientos/rm paquetizado/shared/index.ts
|
|
15510
|
-
import { Expose as Expose284, Transform as
|
|
15517
|
+
import { Expose as Expose284, Transform as Transform35, Type as Type201 } from "class-transformer";
|
|
15511
15518
|
import { IsDefined as IsDefined62, IsNumber as IsNumber199, IsString as IsString214, Length as Length161, Min as Min159, ValidateNested as ValidateNested183 } from "class-validator";
|
|
15512
15519
|
var RM_PaquetizadoENTITY = class {
|
|
15513
15520
|
ID_RM_Paquetizado = 0;
|
|
@@ -15541,35 +15548,35 @@ __decorateClass([
|
|
|
15541
15548
|
Expose284()
|
|
15542
15549
|
], RM_PaquetizadoENTITY.prototype, "LLAVE", 2);
|
|
15543
15550
|
__decorateClass([
|
|
15544
|
-
|
|
15551
|
+
Transform35(({ value }) => Number(value)),
|
|
15545
15552
|
IsDefined62({ message: "El campo Total_PB es obligatorio" }),
|
|
15546
15553
|
IsNumber199({}, { message: "debe ser un numero" }),
|
|
15547
15554
|
Expose284(),
|
|
15548
15555
|
Min159(0)
|
|
15549
15556
|
], RM_PaquetizadoENTITY.prototype, "Total_PB", 2);
|
|
15550
15557
|
__decorateClass([
|
|
15551
|
-
|
|
15558
|
+
Transform35(({ value }) => Number(value)),
|
|
15552
15559
|
IsDefined62({ message: "El campo Total_Ctta es obligatorio" }),
|
|
15553
15560
|
IsNumber199({}, { message: "debe ser un numero" }),
|
|
15554
15561
|
Expose284(),
|
|
15555
15562
|
Min159(0)
|
|
15556
15563
|
], RM_PaquetizadoENTITY.prototype, "Total_Ctta", 2);
|
|
15557
15564
|
__decorateClass([
|
|
15558
|
-
|
|
15565
|
+
Transform35(({ value }) => Number(value)),
|
|
15559
15566
|
IsDefined62({ message: "El campo zona_10 es obligatorio" }),
|
|
15560
15567
|
IsNumber199({}, { message: "debe ser un numero" }),
|
|
15561
15568
|
Expose284(),
|
|
15562
15569
|
Min159(0)
|
|
15563
15570
|
], RM_PaquetizadoENTITY.prototype, "zona_10", 2);
|
|
15564
15571
|
__decorateClass([
|
|
15565
|
-
|
|
15572
|
+
Transform35(({ value }) => Number(value)),
|
|
15566
15573
|
IsDefined62({ message: "El campo zona_14 es obligatorio" }),
|
|
15567
15574
|
IsNumber199({}, { message: "debe ser un numero" }),
|
|
15568
15575
|
Expose284(),
|
|
15569
15576
|
Min159(0)
|
|
15570
15577
|
], RM_PaquetizadoENTITY.prototype, "zona_14", 2);
|
|
15571
15578
|
__decorateClass([
|
|
15572
|
-
|
|
15579
|
+
Transform35(({ value }) => Number(value)),
|
|
15573
15580
|
IsDefined62({ message: "El campo Total_MAT es obligatorio" }),
|
|
15574
15581
|
IsNumber199({}, { message: "debe ser un numero" }),
|
|
15575
15582
|
Expose284(),
|
|
@@ -15595,7 +15602,7 @@ __decorateClass([
|
|
|
15595
15602
|
], RM_PaquetizadoENTITY.prototype, "Estado", 2);
|
|
15596
15603
|
|
|
15597
15604
|
// src/programados/mantenimientos/rm actividad/shared/index.ts
|
|
15598
|
-
import { Expose as Expose285, Transform as
|
|
15605
|
+
import { Expose as Expose285, Transform as Transform36, Type as Type202 } from "class-transformer";
|
|
15599
15606
|
import { IsDefined as IsDefined63, IsNumber as IsNumber200, IsString as IsString215, Length as Length162, Min as Min160, ValidateNested as ValidateNested184 } from "class-validator";
|
|
15600
15607
|
var RM_ActividadENTITY = class {
|
|
15601
15608
|
ID_RM_Actividad = 0;
|
|
@@ -15625,7 +15632,7 @@ __decorateClass([
|
|
|
15625
15632
|
Expose285()
|
|
15626
15633
|
], RM_ActividadENTITY.prototype, "Descripcion", 2);
|
|
15627
15634
|
__decorateClass([
|
|
15628
|
-
|
|
15635
|
+
Transform36(({ value }) => Number(value)),
|
|
15629
15636
|
IsDefined63({ message: "El campo Precio_EECC es obligatorio" }),
|
|
15630
15637
|
IsNumber200({}, { message: "debe ser un numero" }),
|
|
15631
15638
|
Expose285(),
|
|
@@ -17038,7 +17045,7 @@ import { Expose as Expose319, Type as Type217 } from "class-transformer";
|
|
|
17038
17045
|
import { IsArray as IsArray106, IsBoolean as IsBoolean25, IsNotEmpty as IsNotEmpty243, IsNumber as IsNumber215, IsOptional as IsOptional11, IsString as IsString248, Min as Min171, ValidateNested as ValidateNested197 } from "class-validator";
|
|
17039
17046
|
|
|
17040
17047
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/cambios-estados-pagos-produccion-dto.ts
|
|
17041
|
-
import { Expose as Expose311, Transform as
|
|
17048
|
+
import { Expose as Expose311, Transform as Transform37, Type as Type214 } from "class-transformer";
|
|
17042
17049
|
import { IsArray as IsArray104, IsDate as IsDate73, IsIn as IsIn3, IsNotEmpty as IsNotEmpty235, IsString as IsString240, Length as Length183, ValidateNested as ValidateNested194 } from "class-validator";
|
|
17043
17050
|
var CambiosEstadosPagosProduccionDTO = class {
|
|
17044
17051
|
NroDocumento = "";
|
|
@@ -17059,7 +17066,7 @@ __decorateClass([
|
|
|
17059
17066
|
ValidateNested194()
|
|
17060
17067
|
], CambiosEstadosPagosProduccionDTO.prototype, "UsuarioCambio", 2);
|
|
17061
17068
|
__decorateClass([
|
|
17062
|
-
|
|
17069
|
+
Transform37(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
17063
17070
|
IsDate73({ message: "debe ser una fecha" }),
|
|
17064
17071
|
IsNotEmpty235({ message: "es requerido" }),
|
|
17065
17072
|
Expose311()
|
|
@@ -17158,7 +17165,7 @@ __decorateClass([
|
|
|
17158
17165
|
], ManoObraDTO3.prototype, "UnidadMedida", 2);
|
|
17159
17166
|
|
|
17160
17167
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/periodo-dto.ts
|
|
17161
|
-
import { Expose as Expose315, Transform as
|
|
17168
|
+
import { Expose as Expose315, Transform as Transform38 } from "class-transformer";
|
|
17162
17169
|
import { IsDate as IsDate74, IsNotEmpty as IsNotEmpty239, IsNumber as IsNumber212, IsString as IsString244, Length as Length187 } from "class-validator";
|
|
17163
17170
|
var PeriodoDTO5 = class {
|
|
17164
17171
|
FechaInicio = /* @__PURE__ */ new Date(0);
|
|
@@ -17169,19 +17176,19 @@ var PeriodoDTO5 = class {
|
|
|
17169
17176
|
Codigo = "";
|
|
17170
17177
|
};
|
|
17171
17178
|
__decorateClass([
|
|
17172
|
-
|
|
17179
|
+
Transform38(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
17173
17180
|
IsDate74({ message: "debe ser de tipo fecha" }),
|
|
17174
17181
|
IsNotEmpty239({ message: "es requerido" }),
|
|
17175
17182
|
Expose315()
|
|
17176
17183
|
], PeriodoDTO5.prototype, "FechaInicio", 2);
|
|
17177
17184
|
__decorateClass([
|
|
17178
|
-
|
|
17185
|
+
Transform38(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
17179
17186
|
IsDate74({ message: "debe ser de tipo fecha" }),
|
|
17180
17187
|
IsNotEmpty239({ message: "es requerido" }),
|
|
17181
17188
|
Expose315()
|
|
17182
17189
|
], PeriodoDTO5.prototype, "FechaFin", 2);
|
|
17183
17190
|
__decorateClass([
|
|
17184
|
-
|
|
17191
|
+
Transform38(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
17185
17192
|
IsDate74({ message: "debe ser de tipo fecha" }),
|
|
17186
17193
|
IsNotEmpty239({ message: "es requerido" }),
|
|
17187
17194
|
Expose315()
|
|
@@ -17204,7 +17211,7 @@ __decorateClass([
|
|
|
17204
17211
|
], PeriodoDTO5.prototype, "Codigo", 2);
|
|
17205
17212
|
|
|
17206
17213
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/ultima_estado_interno-dto.ts
|
|
17207
|
-
import { Expose as Expose316, Transform as
|
|
17214
|
+
import { Expose as Expose316, Transform as Transform39, Type as Type215 } from "class-transformer";
|
|
17208
17215
|
import { IsDate as IsDate75, IsNotEmpty as IsNotEmpty240, IsNumber as IsNumber213, IsString as IsString245, Length as Length188, ValidateNested as ValidateNested195 } from "class-validator";
|
|
17209
17216
|
var Ultimo_Estado_InternoDTO = class {
|
|
17210
17217
|
ID_EstadoInterno = 0;
|
|
@@ -17231,7 +17238,7 @@ __decorateClass([
|
|
|
17231
17238
|
Expose316()
|
|
17232
17239
|
], Ultimo_Estado_InternoDTO.prototype, "ID_EstadoInternoPadre", 2);
|
|
17233
17240
|
__decorateClass([
|
|
17234
|
-
|
|
17241
|
+
Transform39(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
17235
17242
|
IsDate75({ message: "debe ser una fecha" }),
|
|
17236
17243
|
IsNotEmpty240({ message: "es requerido" }),
|
|
17237
17244
|
Expose316()
|
|
@@ -17291,7 +17298,7 @@ __decorateClass([
|
|
|
17291
17298
|
], Ultimo_Estado_InternoDTO.prototype, "UsuarioEdicion", 2);
|
|
17292
17299
|
|
|
17293
17300
|
// src/programados/Reportes/ReporteProduccion/Colombia/Baremos/dto/ultima_fase-dto.ts
|
|
17294
|
-
import { Expose as Expose317, Transform as
|
|
17301
|
+
import { Expose as Expose317, Transform as Transform40, Type as Type216 } from "class-transformer";
|
|
17295
17302
|
import { IsArray as IsArray105, IsDate as IsDate76, IsIn as IsIn4, Max as Max6, IsNotEmpty as IsNotEmpty241, IsNumber as IsNumber214, IsString as IsString246, Length as Length189, Min as Min170, ValidateNested as ValidateNested196 } from "class-validator";
|
|
17296
17303
|
var Ultima_FaseDTO = class {
|
|
17297
17304
|
ID_Fase = 0;
|
|
@@ -17338,7 +17345,7 @@ __decorateClass([
|
|
|
17338
17345
|
ValidateNested196()
|
|
17339
17346
|
], Ultima_FaseDTO.prototype, "UsuarioCambio", 2);
|
|
17340
17347
|
__decorateClass([
|
|
17341
|
-
|
|
17348
|
+
Transform40(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
17342
17349
|
IsDate76({ message: "debe ser una fecha" }),
|
|
17343
17350
|
IsNotEmpty241({ message: "es requerido" }),
|
|
17344
17351
|
Expose317()
|
|
@@ -17366,7 +17373,7 @@ __decorateClass([
|
|
|
17366
17373
|
ValidateNested196()
|
|
17367
17374
|
], Ultima_FaseDTO.prototype, "UsuarioDocumento", 2);
|
|
17368
17375
|
__decorateClass([
|
|
17369
|
-
|
|
17376
|
+
Transform40(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
17370
17377
|
IsDate76({ message: "debe ser una fecha" }),
|
|
17371
17378
|
IsNotEmpty241({ message: "es requerido" }),
|
|
17372
17379
|
Expose317()
|
|
@@ -19185,7 +19192,7 @@ __decorateClass([
|
|
|
19185
19192
|
], AtencionOrdenesLiquidadasENTITY.prototype, "Fuente", 2);
|
|
19186
19193
|
|
|
19187
19194
|
// src/logistica/salida almacen/shared/index.ts
|
|
19188
|
-
import { Expose as Expose345, Transform as
|
|
19195
|
+
import { Expose as Expose345, Transform as Transform41, Type as Type232 } from "class-transformer";
|
|
19189
19196
|
import { IsArray as IsArray117, IsNotEmpty as IsNotEmpty265, IsNumber as IsNumber230, IsString as IsString274, Length as Length209, Max as Max11, Min as Min181, ValidateNested as ValidateNested211 } from "class-validator";
|
|
19190
19197
|
|
|
19191
19198
|
// src/logistica/salida almacen/shared/dto/datos-transportista-dto.ts
|
|
@@ -19487,7 +19494,7 @@ __decorateClass([
|
|
|
19487
19494
|
], SalidaAlmacenENTITY.prototype, "ZonaTrabajo", 2);
|
|
19488
19495
|
__decorateClass([
|
|
19489
19496
|
IsString274({ message: "debe ser un texto" }),
|
|
19490
|
-
|
|
19497
|
+
Transform41(trimAndUpperCaseString),
|
|
19491
19498
|
Length209(0, 300, { message: "debe tener entre 0 y 300 caracteres" }),
|
|
19492
19499
|
Expose345()
|
|
19493
19500
|
], SalidaAlmacenENTITY.prototype, "Observaciones", 2);
|
|
@@ -19499,13 +19506,13 @@ __decorateClass([
|
|
|
19499
19506
|
], SalidaAlmacenENTITY.prototype, "MovimientoAlmacen", 2);
|
|
19500
19507
|
__decorateClass([
|
|
19501
19508
|
IsString274({ message: "debe ser un texto" }),
|
|
19502
|
-
|
|
19509
|
+
Transform41(trimAndUpperCaseString),
|
|
19503
19510
|
Length209(0, 75, { message: "debe tener entre 0 y 75 caracteres" }),
|
|
19504
19511
|
Expose345()
|
|
19505
19512
|
], SalidaAlmacenENTITY.prototype, "NroGuia", 2);
|
|
19506
19513
|
__decorateClass([
|
|
19507
19514
|
IsString274({ message: "debe ser un texto" }),
|
|
19508
|
-
|
|
19515
|
+
Transform41(trimAndUpperCaseString),
|
|
19509
19516
|
Length209(0, 200, { message: "debe tener entre 0 y 200 caracteres" }),
|
|
19510
19517
|
Expose345()
|
|
19511
19518
|
], SalidaAlmacenENTITY.prototype, "OrdenCompra", 2);
|
|
@@ -20000,7 +20007,7 @@ __decorateClass([
|
|
|
20000
20007
|
|
|
20001
20008
|
// src/logistica/movimiento almacen/shared/index.ts
|
|
20002
20009
|
import { IsNotEmpty as IsNotEmpty269, IsNumber as IsNumber234, IsString as IsString277, Length as Length212, Min as Min185, ValidateNested as ValidateNested215 } from "class-validator";
|
|
20003
|
-
import { Expose as Expose349, Transform as
|
|
20010
|
+
import { Expose as Expose349, Transform as Transform42, Type as Type236 } from "class-transformer";
|
|
20004
20011
|
var MovimientoAlmacenENTITY = class {
|
|
20005
20012
|
ID_MovimientoAlmacen = 0;
|
|
20006
20013
|
Codigo = "";
|
|
@@ -20020,13 +20027,13 @@ __decorateClass([
|
|
|
20020
20027
|
__decorateClass([
|
|
20021
20028
|
IsString277({ message: "debe ser un texto" }),
|
|
20022
20029
|
Length212(0, 10, { message: "debe tener entre 0 y 50 caracteres" }),
|
|
20023
|
-
|
|
20030
|
+
Transform42(({ value }) => typeof value === "string" ? value.toUpperCase() : value),
|
|
20024
20031
|
Expose349()
|
|
20025
20032
|
], MovimientoAlmacenENTITY.prototype, "Codigo", 2);
|
|
20026
20033
|
__decorateClass([
|
|
20027
20034
|
IsString277({ message: "debe ser un texto" }),
|
|
20028
20035
|
Length212(0, 100, { message: "debe tener entre 0 y 100 caracteres" }),
|
|
20029
|
-
|
|
20036
|
+
Transform42(({ value }) => typeof value === "string" ? value.toUpperCase() : value),
|
|
20030
20037
|
Expose349()
|
|
20031
20038
|
], MovimientoAlmacenENTITY.prototype, "Descripcion", 2);
|
|
20032
20039
|
__decorateClass([
|
|
@@ -20293,7 +20300,7 @@ __decorateClass([
|
|
|
20293
20300
|
], DevolucionAlmacenENTITY.prototype, "Estado", 2);
|
|
20294
20301
|
|
|
20295
20302
|
// src/logistica/items/shared/index.ts
|
|
20296
|
-
import { Expose as Expose358, Transform as
|
|
20303
|
+
import { Expose as Expose358, Transform as Transform43, Type as Type243 } from "class-transformer";
|
|
20297
20304
|
import { IsArray as IsArray122, IsNotEmpty as IsNotEmpty277, IsNumber as IsNumber239, IsString as IsString284, Length as Length219, Min as Min190, ValidateNested as ValidateNested222, IsBoolean as IsBoolean33 } from "class-validator";
|
|
20298
20305
|
|
|
20299
20306
|
// src/logistica/items/shared/dto/cliente-dto.ts
|
|
@@ -20623,14 +20630,14 @@ __decorateClass([
|
|
|
20623
20630
|
], ItemENTITY.prototype, "Tipo", 2);
|
|
20624
20631
|
__decorateClass([
|
|
20625
20632
|
Expose358(),
|
|
20626
|
-
|
|
20633
|
+
Transform43(({ value }) => Number(value)),
|
|
20627
20634
|
IsNumber239({}, { message: "debe ser un numero" }),
|
|
20628
20635
|
IsNotEmpty277({ message: "es requerido" }),
|
|
20629
20636
|
Min190(0, { message: "el valor m\xEDnimo es 0" })
|
|
20630
20637
|
], ItemENTITY.prototype, "Valor", 2);
|
|
20631
20638
|
__decorateClass([
|
|
20632
20639
|
Expose358(),
|
|
20633
|
-
|
|
20640
|
+
Transform43(({ value }) => Number(value)),
|
|
20634
20641
|
IsNumber239({}, { message: "debe ser un numero" }),
|
|
20635
20642
|
IsNotEmpty277({ message: "es requerido" }),
|
|
20636
20643
|
Min190(0, { message: "el valor m\xEDnimo es 0" })
|
|
@@ -21003,7 +21010,7 @@ __decorateClass([
|
|
|
21003
21010
|
], StockAlmacenEquiposENTITY.prototype, "Equipos", 2);
|
|
21004
21011
|
|
|
21005
21012
|
// src/logistica/transaccion folios/shared/index.ts
|
|
21006
|
-
import { Transform as
|
|
21013
|
+
import { Transform as Transform44, Expose as Expose365, Type as Type247 } from "class-transformer";
|
|
21007
21014
|
|
|
21008
21015
|
// src/logistica/transaccion folios/shared/dto/transacciones-dto.ts
|
|
21009
21016
|
import { Expose as Expose364 } from "class-transformer";
|
|
@@ -21085,21 +21092,21 @@ __decorateClass([
|
|
|
21085
21092
|
Expose365()
|
|
21086
21093
|
], TransaccionFoliosENTITY.prototype, "Vigencia_Final", 2);
|
|
21087
21094
|
__decorateClass([
|
|
21088
|
-
|
|
21095
|
+
Transform44(({ value }) => Number(value)),
|
|
21089
21096
|
IsDefined72({ message: "El campo FolioInicial es obligatorio" }),
|
|
21090
21097
|
Expose365(),
|
|
21091
21098
|
IsNumber245({}, { message: "debe ser un numero" }),
|
|
21092
21099
|
Min196(1, { message: "el valor m\xEDnimo es 1" })
|
|
21093
21100
|
], TransaccionFoliosENTITY.prototype, "FolioInicial", 2);
|
|
21094
21101
|
__decorateClass([
|
|
21095
|
-
|
|
21102
|
+
Transform44(({ value }) => Number(value)),
|
|
21096
21103
|
IsDefined72({ message: "El campo FolioFinal es obligatorio" }),
|
|
21097
21104
|
Expose365(),
|
|
21098
21105
|
IsNumber245({}, { message: "debe ser un numero" }),
|
|
21099
21106
|
Min196(1, { message: "el valor m\xEDnimo es 1" })
|
|
21100
21107
|
], TransaccionFoliosENTITY.prototype, "FolioFinal", 2);
|
|
21101
21108
|
__decorateClass([
|
|
21102
|
-
|
|
21109
|
+
Transform44(({ value }) => Number(value)),
|
|
21103
21110
|
IsDefined72({ message: "El campo NumeroInterno es obligatorio" }),
|
|
21104
21111
|
Expose365(),
|
|
21105
21112
|
IsNumber245({}, { message: "debe ser un numero" }),
|
|
@@ -21429,7 +21436,7 @@ __decorateClass([
|
|
|
21429
21436
|
], BodegaENTITY.prototype, "Bitacora", 2);
|
|
21430
21437
|
|
|
21431
21438
|
// src/logistica/autoinventario/shared/index.ts
|
|
21432
|
-
import { Expose as Expose374, Transform as
|
|
21439
|
+
import { Expose as Expose374, Transform as Transform45, Type as Type253 } from "class-transformer";
|
|
21433
21440
|
|
|
21434
21441
|
// src/logistica/autoinventario/shared/dto/equipos-AI-dto.ts
|
|
21435
21442
|
import { Expose as Expose373 } from "class-transformer";
|
|
@@ -21534,7 +21541,7 @@ __decorateClass([
|
|
|
21534
21541
|
Expose374()
|
|
21535
21542
|
], AutoInventarioENTITY.prototype, "Observacion", 2);
|
|
21536
21543
|
__decorateClass([
|
|
21537
|
-
|
|
21544
|
+
Transform45(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
21538
21545
|
IsDate94({ message: "debe ser una fecha" }),
|
|
21539
21546
|
IsNotEmpty291({ message: "es requerido" }),
|
|
21540
21547
|
Expose374()
|
|
@@ -21756,7 +21763,7 @@ __decorateClass([
|
|
|
21756
21763
|
], TipoStockENTITY.prototype, "Delegacion", 2);
|
|
21757
21764
|
|
|
21758
21765
|
// src/logistica/almacen extra/shared/index.ts
|
|
21759
|
-
import { Expose as Expose379, Transform as
|
|
21766
|
+
import { Expose as Expose379, Transform as Transform46, Type as Type258 } from "class-transformer";
|
|
21760
21767
|
import { IsNotEmpty as IsNotEmpty296, IsNumber as IsNumber256, IsString as IsString302, Length as Length236, Min as Min207, ValidateNested as ValidateNested237 } from "class-validator";
|
|
21761
21768
|
var AlmacenExtraENTITY = class {
|
|
21762
21769
|
ID_AlmacenExtra = 0;
|
|
@@ -21829,13 +21836,13 @@ __decorateClass([
|
|
|
21829
21836
|
Expose379()
|
|
21830
21837
|
], AlmacenExtraENTITY.prototype, "Country", 2);
|
|
21831
21838
|
__decorateClass([
|
|
21832
|
-
|
|
21839
|
+
Transform46(({ value }) => isNaN(Number(value)) ? 0 : Number(value)),
|
|
21833
21840
|
IsNumber256({}, { message: "debe ser una coordenada" }),
|
|
21834
21841
|
IsNotEmpty296({ message: "es requerido" }),
|
|
21835
21842
|
Expose379()
|
|
21836
21843
|
], AlmacenExtraENTITY.prototype, "Latitude", 2);
|
|
21837
21844
|
__decorateClass([
|
|
21838
|
-
|
|
21845
|
+
Transform46(({ value }) => isNaN(Number(value)) ? 0 : Number(value)),
|
|
21839
21846
|
IsNumber256({}, { message: "debe ser una coordenada" }),
|
|
21840
21847
|
IsNotEmpty296({ message: "es requerido" }),
|
|
21841
21848
|
Expose379()
|
|
@@ -22026,7 +22033,7 @@ __decorateClass([
|
|
|
22026
22033
|
], RecursosPersonalDTO.prototype, "InicioActividad", 2);
|
|
22027
22034
|
|
|
22028
22035
|
// src/configuracion/personal/shared/index.ts
|
|
22029
|
-
import { Expose as Expose386, Transform as
|
|
22036
|
+
import { Expose as Expose386, Transform as Transform47, Type as Type263 } from "class-transformer";
|
|
22030
22037
|
import {
|
|
22031
22038
|
ArrayNotEmpty as ArrayNotEmpty3,
|
|
22032
22039
|
IsArray as IsArray133,
|
|
@@ -22129,7 +22136,7 @@ __decorateClass([
|
|
|
22129
22136
|
ValidateNested241()
|
|
22130
22137
|
], PersonalENTITY.prototype, "TipoDocumento", 2);
|
|
22131
22138
|
__decorateClass([
|
|
22132
|
-
|
|
22139
|
+
Transform47(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
22133
22140
|
IsString308({ message: "debe ser un texto" }),
|
|
22134
22141
|
IsNotEmpty301({ message: "es requerido" }),
|
|
22135
22142
|
Length241(1, 41, { message: "debe tener entre 1 y 40 caracteres" }),
|
|
@@ -23209,7 +23216,7 @@ __decorateClass([
|
|
|
23209
23216
|
], ContratistasDTO.prototype, "Estado", 2);
|
|
23210
23217
|
|
|
23211
23218
|
// src/configuracion/usuarios/shared/index.ts
|
|
23212
|
-
import { Expose as Expose409, Transform as
|
|
23219
|
+
import { Expose as Expose409, Transform as Transform48, Type as Type279 } from "class-transformer";
|
|
23213
23220
|
import { IsArray as IsArray140, IsBoolean as IsBoolean39, IsNotEmpty as IsNotEmpty321, IsNumber as IsNumber275, IsString as IsString330, Length as Length262, Min as Min224, ValidateNested as ValidateNested251, IsEmail as IsEmail3, IsEnum as IsEnum9 } from "class-validator";
|
|
23214
23221
|
var UsuarioENTITY = class {
|
|
23215
23222
|
IdUsuario = 0;
|
|
@@ -23287,7 +23294,7 @@ __decorateClass([
|
|
|
23287
23294
|
ValidateNested251()
|
|
23288
23295
|
], UsuarioENTITY.prototype, "TipoDocumento", 2);
|
|
23289
23296
|
__decorateClass([
|
|
23290
|
-
|
|
23297
|
+
Transform48(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
23291
23298
|
IsString330({ message: "debe ser un texto" }),
|
|
23292
23299
|
IsNotEmpty321({ message: "es requerido" }),
|
|
23293
23300
|
Length262(1, 30, { message: "debe tener entre 1 y 30 caracteres" }),
|
|
@@ -23437,7 +23444,7 @@ __decorateClass([
|
|
|
23437
23444
|
], UsuarioENTITY.prototype, "Contratistas", 2);
|
|
23438
23445
|
|
|
23439
23446
|
// src/configuracion/tipo opcion sistema/shared/index.ts
|
|
23440
|
-
import { Expose as Expose410, Transform as
|
|
23447
|
+
import { Expose as Expose410, Transform as Transform49, Type as Type280 } from "class-transformer";
|
|
23441
23448
|
import { IsDefined as IsDefined75, IsNumber as IsNumber276, IsString as IsString331, Length as Length263, Min as Min225, ValidateNested as ValidateNested252 } from "class-validator";
|
|
23442
23449
|
var TipoOpcionSistemaENTITY = class {
|
|
23443
23450
|
IdTipoOpcion = 0;
|
|
@@ -23466,7 +23473,7 @@ __decorateClass([
|
|
|
23466
23473
|
], TipoOpcionSistemaENTITY.prototype, "Descripcion", 2);
|
|
23467
23474
|
__decorateClass([
|
|
23468
23475
|
IsDefined75({ message: "El campo Padre es obligatorio" }),
|
|
23469
|
-
|
|
23476
|
+
Transform49(({ value }) => Number(value)),
|
|
23470
23477
|
Expose410(),
|
|
23471
23478
|
IsNumber276({}, { message: "debe ser un numero" }),
|
|
23472
23479
|
Min225(0, { message: "el valor m\xEDnimo es 0" })
|
|
@@ -23565,7 +23572,7 @@ __decorateClass([
|
|
|
23565
23572
|
import { IsDate as IsDate104, IsEnum as IsEnum11, IsNotEmpty as IsNotEmpty325, IsString as IsString335, Length as Length267, ValidateNested as ValidateNested254 } from "class-validator";
|
|
23566
23573
|
|
|
23567
23574
|
// src/configuracion/notificaciones/shared/dto/data-adicional-dto.ts
|
|
23568
|
-
import { Expose as Expose413, Transform as
|
|
23575
|
+
import { Expose as Expose413, Transform as Transform50 } from "class-transformer";
|
|
23569
23576
|
import { IsDate as IsDate103, IsEnum as IsEnum10, IsNotEmpty as IsNotEmpty324, IsString as IsString334, Length as Length266 } from "class-validator";
|
|
23570
23577
|
var OperacionDataAdicional = /* @__PURE__ */ ((OperacionDataAdicional2) => {
|
|
23571
23578
|
OperacionDataAdicional2["CREAR"] = "crear";
|
|
@@ -23596,7 +23603,7 @@ __decorateClass([
|
|
|
23596
23603
|
Expose413()
|
|
23597
23604
|
], DataAdicionalDTO.prototype, "operacion", 2);
|
|
23598
23605
|
__decorateClass([
|
|
23599
|
-
|
|
23606
|
+
Transform50(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
23600
23607
|
IsDate103({ message: "debe ser una fecha" }),
|
|
23601
23608
|
IsNotEmpty324({ message: "es requerido" }),
|
|
23602
23609
|
Expose413()
|
|
@@ -23608,7 +23615,7 @@ __decorateClass([
|
|
|
23608
23615
|
], DataAdicionalDTO.prototype, "localName", 2);
|
|
23609
23616
|
|
|
23610
23617
|
// src/configuracion/notificaciones/shared/index.ts
|
|
23611
|
-
import { Expose as Expose414, Transform as
|
|
23618
|
+
import { Expose as Expose414, Transform as Transform51, Type as Type282 } from "class-transformer";
|
|
23612
23619
|
var TipoNotificacion = /* @__PURE__ */ ((TipoNotificacion2) => {
|
|
23613
23620
|
TipoNotificacion2["INFO"] = "info";
|
|
23614
23621
|
TipoNotificacion2["ERROR"] = "error";
|
|
@@ -23651,7 +23658,7 @@ __decorateClass([
|
|
|
23651
23658
|
Expose414()
|
|
23652
23659
|
], NotificacionesENTITY.prototype, "titulo", 2);
|
|
23653
23660
|
__decorateClass([
|
|
23654
|
-
|
|
23661
|
+
Transform51(({ value }) => typeof value === "string" ? value.substring(0, 400) : value),
|
|
23655
23662
|
IsString335({ message: "debe ser un texto" }),
|
|
23656
23663
|
Length267(1, 400, { message: "debe tener entre 1 y 400 caracteres" }),
|
|
23657
23664
|
Expose414()
|
|
@@ -23673,13 +23680,13 @@ __decorateClass([
|
|
|
23673
23680
|
ValidateNested254()
|
|
23674
23681
|
], NotificacionesENTITY.prototype, "dataAdicional", 2);
|
|
23675
23682
|
__decorateClass([
|
|
23676
|
-
|
|
23683
|
+
Transform51(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
23677
23684
|
IsDate104({ message: "debe ser una fecha" }),
|
|
23678
23685
|
IsNotEmpty325({ message: "es requerido" }),
|
|
23679
23686
|
Expose414()
|
|
23680
23687
|
], NotificacionesENTITY.prototype, "fechaCreacion", 2);
|
|
23681
23688
|
__decorateClass([
|
|
23682
|
-
|
|
23689
|
+
Transform51(({ value }) => typeof value === "string" ? new Date(value) : value, { toClassOnly: true }),
|
|
23683
23690
|
IsDate104({ message: "debe ser una fecha" }),
|
|
23684
23691
|
IsNotEmpty325({ message: "es requerido" }),
|
|
23685
23692
|
Expose414()
|
|
@@ -25933,7 +25940,7 @@ var ISheetsJsonChileTdC = class {
|
|
|
25933
25940
|
};
|
|
25934
25941
|
|
|
25935
25942
|
// src/operativa/procesos/toa_claro/shared/index.ts
|
|
25936
|
-
import { Expose as Expose455, Transform as
|
|
25943
|
+
import { Expose as Expose455, Transform as Transform53, Type as Type299 } from "class-transformer";
|
|
25937
25944
|
import { IsNotEmpty as IsNotEmpty350, IsNumber as IsNumber299, IsString as IsString373, Length as Length303, Min as Min246, IsDate as IsDate112, ValidateNested as ValidateNested266, IsEnum as IsEnum15 } from "class-validator";
|
|
25938
25945
|
|
|
25939
25946
|
// src/operativa/procesos/toa_claro/shared/dto/direccion toa dto.ts
|
|
@@ -26224,7 +26231,7 @@ __decorateClass([
|
|
|
26224
26231
|
Expose455()
|
|
26225
26232
|
], ToaClaroENTITY.prototype, "ID_ToaClaro", 2);
|
|
26226
26233
|
__decorateClass([
|
|
26227
|
-
|
|
26234
|
+
Transform53(({ value }) => "TOA_CLARO" /* TOA_CLARO */),
|
|
26228
26235
|
IsEnum15(SistemaRecurso, { message: "debe ser un valor v\xE1lido de enum SistemaRecurso" }),
|
|
26229
26236
|
Expose455()
|
|
26230
26237
|
], ToaClaroENTITY.prototype, "Sistema", 2);
|
|
@@ -26554,7 +26561,7 @@ import { IsArray as IsArray146, IsDefined as IsDefined81, IsString as IsString37
|
|
|
26554
26561
|
import { Expose as Expose458, Type as Type300 } from "class-transformer";
|
|
26555
26562
|
|
|
26556
26563
|
// src/operativa/procesos/toa_claro/data_scraper/dto/items-orden-scraper-claro-vtr-dto.ts
|
|
26557
|
-
import { Expose as Expose456, Transform as
|
|
26564
|
+
import { Expose as Expose456, Transform as Transform54 } from "class-transformer";
|
|
26558
26565
|
import { IsDefined as IsDefined79, IsNumber as IsNumber300, IsString as IsString374 } from "class-validator";
|
|
26559
26566
|
var ItemsOrdenScraperClaroVTRDTO = class {
|
|
26560
26567
|
id = "";
|
|
@@ -26598,7 +26605,7 @@ __decorateClass([
|
|
|
26598
26605
|
IsNumber300({}, { message: "El campo cantidad debe ser un n\xFAmero" })
|
|
26599
26606
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "cantidad", 2);
|
|
26600
26607
|
__decorateClass([
|
|
26601
|
-
|
|
26608
|
+
Transform54(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
26602
26609
|
Expose456(),
|
|
26603
26610
|
IsDefined79({ message: "El campo ServiceId es requerido" }),
|
|
26604
26611
|
IsString374({ message: "El campo ServiceId debe ser una cadena de texto" })
|
|
@@ -26609,7 +26616,7 @@ __decorateClass([
|
|
|
26609
26616
|
IsString374({ message: "El campo estado debe ser una cadena de texto" })
|
|
26610
26617
|
], ItemsOrdenScraperClaroVTRDTO.prototype, "estado", 2);
|
|
26611
26618
|
__decorateClass([
|
|
26612
|
-
|
|
26619
|
+
Transform54(({ value }) => typeof value === "number" ? value.toString() : value),
|
|
26613
26620
|
Expose456(),
|
|
26614
26621
|
IsDefined79({ message: "El campo serial es requerido" }),
|
|
26615
26622
|
IsString374({ message: "El campo serial debe ser una cadena de texto" })
|
|
@@ -28987,10 +28994,10 @@ __decorateClass([
|
|
|
28987
28994
|
], peru9112TOAENTITY.prototype, "Salida_a_campo", 2);
|
|
28988
28995
|
|
|
28989
28996
|
// src/operativa/procesos/onnet_fibra/shared/index.ts
|
|
28990
|
-
import { Expose as Expose468, Transform as
|
|
28997
|
+
import { Expose as Expose468, Transform as Transform59, Type as Type304 } from "class-transformer";
|
|
28991
28998
|
|
|
28992
28999
|
// src/operativa/procesos/onnet_fibra/shared/dto/bitacora_de_ordenes.ts
|
|
28993
|
-
import { Expose as Expose460, Transform as
|
|
29000
|
+
import { Expose as Expose460, Transform as Transform55 } from "class-transformer";
|
|
28994
29001
|
import { IsDate as IsDate114, IsDefined as IsDefined82, IsNumber as IsNumber303, IsOptional as IsOptional18, IsString as IsString378 } from "class-validator";
|
|
28995
29002
|
|
|
28996
29003
|
// src/operativa/procesos/onnet_fibra/utils/format_date_onnet_fibra.ts
|
|
@@ -29058,14 +29065,14 @@ __decorateClass([
|
|
|
29058
29065
|
], BitacoraDeOrdenesDTO.prototype, "estado", 2);
|
|
29059
29066
|
__decorateClass([
|
|
29060
29067
|
IsOptional18(),
|
|
29061
|
-
|
|
29068
|
+
Transform55(({ value }) => value ? String(value) : ""),
|
|
29062
29069
|
IsString378({ message: "El campo lt debe ser una cadena de texto" }),
|
|
29063
29070
|
Expose460()
|
|
29064
29071
|
], BitacoraDeOrdenesDTO.prototype, "lt", 2);
|
|
29065
29072
|
__decorateClass([
|
|
29066
29073
|
IsOptional18(),
|
|
29067
29074
|
IsNumber303({}, { message: "El campo id_orden_mantenimiento_anexo debe ser un n\xFAmero" }),
|
|
29068
|
-
|
|
29075
|
+
Transform55(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
29069
29076
|
Expose460()
|
|
29070
29077
|
], BitacoraDeOrdenesDTO.prototype, "id_orden_mantenimiento_anexo", 2);
|
|
29071
29078
|
__decorateClass([
|
|
@@ -29076,7 +29083,7 @@ __decorateClass([
|
|
|
29076
29083
|
__decorateClass([
|
|
29077
29084
|
IsOptional18(),
|
|
29078
29085
|
IsNumber303({}, { message: "El campo cantidad_clientes_afectados debe ser un n\xFAmero" }),
|
|
29079
|
-
|
|
29086
|
+
Transform55(({ value }) => typeof value === "number" && !isNaN(value) ? Number(value) : 0),
|
|
29080
29087
|
Expose460()
|
|
29081
29088
|
], BitacoraDeOrdenesDTO.prototype, "cantidad_clientes_afectados", 2);
|
|
29082
29089
|
__decorateClass([
|
|
@@ -29112,13 +29119,13 @@ __decorateClass([
|
|
|
29112
29119
|
__decorateClass([
|
|
29113
29120
|
IsOptional18(),
|
|
29114
29121
|
IsString378({ message: "El campo tecnologia debe ser una cadena de texto" }),
|
|
29115
|
-
|
|
29122
|
+
Transform55(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29116
29123
|
Expose460()
|
|
29117
29124
|
], BitacoraDeOrdenesDTO.prototype, "tecnologia", 2);
|
|
29118
29125
|
__decorateClass([
|
|
29119
29126
|
IsOptional18(),
|
|
29120
29127
|
IsString378({ message: "El campo olt debe ser una cadena de texto" }),
|
|
29121
|
-
|
|
29128
|
+
Transform55(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29122
29129
|
Expose460()
|
|
29123
29130
|
], BitacoraDeOrdenesDTO.prototype, "olt", 2);
|
|
29124
29131
|
__decorateClass([
|
|
@@ -29173,7 +29180,7 @@ __decorateClass([
|
|
|
29173
29180
|
], BitacoraDeOrdenesDTO.prototype, "tipo_orden", 2);
|
|
29174
29181
|
__decorateClass([
|
|
29175
29182
|
IsOptional18(),
|
|
29176
|
-
|
|
29183
|
+
Transform55(({ value }) => formatDateOnnetFibra(value)),
|
|
29177
29184
|
IsDate114({ message: "El campo fecha_instalacion debe ser FECHA" }),
|
|
29178
29185
|
Expose460()
|
|
29179
29186
|
], BitacoraDeOrdenesDTO.prototype, "fecha_instalacion", 2);
|
|
@@ -29195,7 +29202,7 @@ __decorateClass([
|
|
|
29195
29202
|
__decorateClass([
|
|
29196
29203
|
IsOptional18(),
|
|
29197
29204
|
IsString378({ message: "El campo puerto_pon debe ser una cadena de texto" }),
|
|
29198
|
-
|
|
29205
|
+
Transform55(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29199
29206
|
Expose460()
|
|
29200
29207
|
], BitacoraDeOrdenesDTO.prototype, "puerto_pon", 2);
|
|
29201
29208
|
__decorateClass([
|
|
@@ -29205,20 +29212,20 @@ __decorateClass([
|
|
|
29205
29212
|
], BitacoraDeOrdenesDTO.prototype, "nombre_especialidad", 2);
|
|
29206
29213
|
__decorateClass([
|
|
29207
29214
|
IsOptional18({ message: "El campo cliente es opcional" }),
|
|
29208
|
-
|
|
29215
|
+
Transform55(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29209
29216
|
IsString378({ message: "El campo cliente debe ser una cadena de texto" }),
|
|
29210
29217
|
Expose460()
|
|
29211
29218
|
], BitacoraDeOrdenesDTO.prototype, "cliente", 2);
|
|
29212
29219
|
__decorateClass([
|
|
29213
29220
|
IsOptional18({ message: "El campo comuna es opcional" }),
|
|
29214
|
-
|
|
29221
|
+
Transform55(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29215
29222
|
IsString378({ message: "El campo comuna debe ser una cadena de texto" }),
|
|
29216
29223
|
Expose460()
|
|
29217
29224
|
], BitacoraDeOrdenesDTO.prototype, "comuna", 2);
|
|
29218
29225
|
__decorateClass([
|
|
29219
29226
|
IsOptional18({ message: "El campo pep es opcional" }),
|
|
29220
29227
|
IsString378({ message: "El campo pep debe ser una cadena de texto" }),
|
|
29221
|
-
|
|
29228
|
+
Transform55(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29222
29229
|
Expose460()
|
|
29223
29230
|
], BitacoraDeOrdenesDTO.prototype, "pep", 2);
|
|
29224
29231
|
__decorateClass([
|
|
@@ -29248,7 +29255,7 @@ __decorateClass([
|
|
|
29248
29255
|
__decorateClass([
|
|
29249
29256
|
IsOptional18(),
|
|
29250
29257
|
IsNumber303({}, { message: "El campo capacidad_cable debe ser una cadena de texto" }),
|
|
29251
|
-
|
|
29258
|
+
Transform55(({ value }) => isNaN(value) ? 0 : Number(value)),
|
|
29252
29259
|
Expose460()
|
|
29253
29260
|
], BitacoraDeOrdenesDTO.prototype, "capacidad_cable", 2);
|
|
29254
29261
|
__decorateClass([
|
|
@@ -29263,7 +29270,7 @@ __decorateClass([
|
|
|
29263
29270
|
], BitacoraDeOrdenesDTO.prototype, "mensaje_contingencia", 2);
|
|
29264
29271
|
|
|
29265
29272
|
// src/operativa/procesos/onnet_fibra/shared/dto/estado_de_pago.ts
|
|
29266
|
-
import { Expose as Expose461, Transform as
|
|
29273
|
+
import { Expose as Expose461, Transform as Transform56 } from "class-transformer";
|
|
29267
29274
|
import { IsDate as IsDate115, IsDefined as IsDefined83, IsNumber as IsNumber304, IsString as IsString379 } from "class-validator";
|
|
29268
29275
|
var EstadoDePagoDTO = class {
|
|
29269
29276
|
capacidad_cable = "";
|
|
@@ -29291,7 +29298,7 @@ __decorateClass([
|
|
|
29291
29298
|
Expose461()
|
|
29292
29299
|
], EstadoDePagoDTO.prototype, "estado", 2);
|
|
29293
29300
|
__decorateClass([
|
|
29294
|
-
|
|
29301
|
+
Transform56(({ value }) => formatDateOnnetFibra(value)),
|
|
29295
29302
|
IsDate115({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
29296
29303
|
Expose461()
|
|
29297
29304
|
], EstadoDePagoDTO.prototype, "fecha_crea", 2);
|
|
@@ -29306,7 +29313,7 @@ __decorateClass([
|
|
|
29306
29313
|
Expose461()
|
|
29307
29314
|
], EstadoDePagoDTO.prototype, "id_orden_mantenimiento", 2);
|
|
29308
29315
|
__decorateClass([
|
|
29309
|
-
|
|
29316
|
+
Transform56(({ value }) => formatDateOnnetFibra(value)),
|
|
29310
29317
|
IsDate115({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
29311
29318
|
Expose461()
|
|
29312
29319
|
], EstadoDePagoDTO.prototype, "fecha_validador", 2);
|
|
@@ -29411,7 +29418,7 @@ import { Expose as Expose466, Type as Type303 } from "class-transformer";
|
|
|
29411
29418
|
import { IsArray as IsArray147, IsDefined as IsDefined88, IsString as IsString384, ValidateNested as ValidateNested270 } from "class-validator";
|
|
29412
29419
|
|
|
29413
29420
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/detalle_orden_real_dto.ts
|
|
29414
|
-
import { Expose as Expose463, Transform as
|
|
29421
|
+
import { Expose as Expose463, Transform as Transform57, Type as Type302 } from "class-transformer";
|
|
29415
29422
|
import { IsDefined as IsDefined85, IsNumber as IsNumber306, IsOptional as IsOptional19, IsString as IsString381 } from "class-validator";
|
|
29416
29423
|
var DetalleOrdenRealDTO = class {
|
|
29417
29424
|
descripcion = "";
|
|
@@ -29429,25 +29436,25 @@ var DetalleOrdenRealDTO = class {
|
|
|
29429
29436
|
__decorateClass([
|
|
29430
29437
|
IsDefined85({ message: "El campo descripcion es requerido" }),
|
|
29431
29438
|
IsString381({ message: "El campo descripcion debe ser una cadena de texto" }),
|
|
29432
|
-
|
|
29439
|
+
Transform57(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29433
29440
|
Expose463()
|
|
29434
29441
|
], DetalleOrdenRealDTO.prototype, "descripcion", 2);
|
|
29435
29442
|
__decorateClass([
|
|
29436
29443
|
IsDefined85({ message: "El campo tipo es requerido" }),
|
|
29437
29444
|
IsString381({ message: "El campo tipo debe ser una cadena de texto" }),
|
|
29438
|
-
|
|
29445
|
+
Transform57(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29439
29446
|
Expose463()
|
|
29440
29447
|
], DetalleOrdenRealDTO.prototype, "tipo", 2);
|
|
29441
29448
|
__decorateClass([
|
|
29442
29449
|
IsDefined85({ message: "El campo tipo_material es requerido" }),
|
|
29443
29450
|
IsString381({ message: "El campo tipo_material debe ser una cadena de texto" }),
|
|
29444
|
-
|
|
29451
|
+
Transform57(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29445
29452
|
Expose463()
|
|
29446
29453
|
], DetalleOrdenRealDTO.prototype, "tipo_material", 2);
|
|
29447
29454
|
__decorateClass([
|
|
29448
29455
|
IsDefined85({ message: "El campo codigo es requerido" }),
|
|
29449
29456
|
IsString381({ message: "El campo codigo debe ser una cadena de texto" }),
|
|
29450
|
-
|
|
29457
|
+
Transform57(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29451
29458
|
Expose463()
|
|
29452
29459
|
], DetalleOrdenRealDTO.prototype, "codigo", 2);
|
|
29453
29460
|
__decorateClass([
|
|
@@ -29461,12 +29468,12 @@ __decorateClass([
|
|
|
29461
29468
|
__decorateClass([
|
|
29462
29469
|
IsOptional19({ message: "El campo tecnico es requerido" }),
|
|
29463
29470
|
IsString381({ message: "El campo tecnico debe ser una cadena de texto" }),
|
|
29464
|
-
|
|
29471
|
+
Transform57(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29465
29472
|
Expose463()
|
|
29466
29473
|
], DetalleOrdenRealDTO.prototype, "tecnico", 2);
|
|
29467
29474
|
__decorateClass([
|
|
29468
29475
|
IsString381({ message: "El campo unidad debe ser una cadena de texto" }),
|
|
29469
|
-
|
|
29476
|
+
Transform57(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29470
29477
|
Expose463()
|
|
29471
29478
|
], DetalleOrdenRealDTO.prototype, "unidad", 2);
|
|
29472
29479
|
__decorateClass([
|
|
@@ -29476,18 +29483,18 @@ __decorateClass([
|
|
|
29476
29483
|
__decorateClass([
|
|
29477
29484
|
IsOptional19({ message: "El campo contrato es opcional" }),
|
|
29478
29485
|
IsString381({ message: "El campo contrato debe ser una cadena de texto" }),
|
|
29479
|
-
|
|
29486
|
+
Transform57(({ value }) => typeof value !== "string" ? "" : String(value)),
|
|
29480
29487
|
Expose463()
|
|
29481
29488
|
], DetalleOrdenRealDTO.prototype, "contrato", 2);
|
|
29482
29489
|
__decorateClass([
|
|
29483
29490
|
Type302(() => CodigoNombreDTO),
|
|
29484
29491
|
IsOptional19(),
|
|
29485
|
-
|
|
29492
|
+
Transform57(({ value }) => value ?? new CodigoNombreDTO()),
|
|
29486
29493
|
Expose463()
|
|
29487
29494
|
], DetalleOrdenRealDTO.prototype, "especialidad", 2);
|
|
29488
29495
|
|
|
29489
29496
|
// src/operativa/procesos/onnet_fibra/shared/dto/detail-maintenance-order/orden_detail_maintenance.ts
|
|
29490
|
-
import { Expose as Expose464, Transform as
|
|
29497
|
+
import { Expose as Expose464, Transform as Transform58 } from "class-transformer";
|
|
29491
29498
|
import { IsDate as IsDate116, IsDefined as IsDefined86, IsNumber as IsNumber307, IsString as IsString382 } from "class-validator";
|
|
29492
29499
|
var OrdenDetailMaintenanceDTO = class {
|
|
29493
29500
|
tipo = "";
|
|
@@ -29538,7 +29545,7 @@ __decorateClass([
|
|
|
29538
29545
|
Expose464()
|
|
29539
29546
|
], OrdenDetailMaintenanceDTO.prototype, "estado", 2);
|
|
29540
29547
|
__decorateClass([
|
|
29541
|
-
|
|
29548
|
+
Transform58(({ value }) => formatDateOnnetFibra(value)),
|
|
29542
29549
|
IsDate116({ message: "El campo fecha_crea debe ser una cadena de texto" }),
|
|
29543
29550
|
Expose464()
|
|
29544
29551
|
], OrdenDetailMaintenanceDTO.prototype, "fecha_crea", 2);
|
|
@@ -29893,12 +29900,12 @@ __decorateClass([
|
|
|
29893
29900
|
Expose468()
|
|
29894
29901
|
], OnnetFibraENTITY.prototype, "LlaveRegla", 2);
|
|
29895
29902
|
__decorateClass([
|
|
29896
|
-
|
|
29903
|
+
Transform59(({ value }) => value === void 0 || value === null ? 0 : value),
|
|
29897
29904
|
IsNumber310({}, { message: "El campo MO debe ser numero" }),
|
|
29898
29905
|
Expose468()
|
|
29899
29906
|
], OnnetFibraENTITY.prototype, "MO", 2);
|
|
29900
29907
|
__decorateClass([
|
|
29901
|
-
|
|
29908
|
+
Transform59(({ value }) => value === void 0 || value === null ? 0 : value),
|
|
29902
29909
|
IsNumber310({}, { message: "El campo PB debe ser numero" }),
|
|
29903
29910
|
Expose468()
|
|
29904
29911
|
], OnnetFibraENTITY.prototype, "PB", 2);
|
|
@@ -30383,6 +30390,7 @@ export {
|
|
|
30383
30390
|
ZonalesDTO,
|
|
30384
30391
|
ZonasDTO,
|
|
30385
30392
|
convertStringsToDates,
|
|
30393
|
+
convertTypeNumber,
|
|
30386
30394
|
latLngDTO,
|
|
30387
30395
|
peru9112TOAENTITY,
|
|
30388
30396
|
transformToDateIfEmpty,
|