sigo-entities 1.2.365 → 1.2.367
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 +22 -9
- package/dist/index.d.ts +22 -9
- package/dist/index.js +107 -21
- package/dist/index.mjs +98 -14
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ClassConstructor } from 'class-transformer';
|
|
2
|
+
import { Request, Response, NextFunction } from 'express';
|
|
2
3
|
|
|
3
4
|
declare class DestinatarioDTO {
|
|
4
5
|
Identificacion: string;
|
|
@@ -9403,26 +9404,38 @@ declare class BantelENTITY {
|
|
|
9403
9404
|
estado_interno: StateInternalOrder;
|
|
9404
9405
|
}
|
|
9405
9406
|
|
|
9406
|
-
declare class
|
|
9407
|
-
|
|
9408
|
-
|
|
9407
|
+
declare class CodeNameDto {
|
|
9408
|
+
code: string;
|
|
9409
|
+
name: string;
|
|
9409
9410
|
}
|
|
9410
|
-
declare class
|
|
9411
|
-
|
|
9412
|
-
|
|
9411
|
+
declare class CodeNameMinLengthDto extends CodeNameDto {
|
|
9412
|
+
code: string;
|
|
9413
|
+
name: string;
|
|
9413
9414
|
}
|
|
9414
9415
|
|
|
9415
9416
|
declare class BaseEntity {
|
|
9416
9417
|
_id: string;
|
|
9417
|
-
|
|
9418
|
+
active: boolean;
|
|
9418
9419
|
}
|
|
9419
9420
|
|
|
9420
9421
|
declare class DelegacionEntity extends BaseEntity {
|
|
9421
|
-
pais:
|
|
9422
|
+
pais: CodeNameMinLengthDto;
|
|
9422
9423
|
codigo: string;
|
|
9423
9424
|
nombre: string;
|
|
9424
9425
|
}
|
|
9425
9426
|
|
|
9427
|
+
declare class UserEntity extends BaseEntity {
|
|
9428
|
+
email: string;
|
|
9429
|
+
password: string;
|
|
9430
|
+
paternalLastName: string;
|
|
9431
|
+
maternalLastName: string;
|
|
9432
|
+
firstNames: string;
|
|
9433
|
+
identification: string;
|
|
9434
|
+
company: CodeNameDto;
|
|
9435
|
+
}
|
|
9436
|
+
|
|
9426
9437
|
declare function validateCustom<T extends object>(plain: any, cls: new () => T, UnprocessableEntityException: ClassConstructor<any>): Promise<T>;
|
|
9427
9438
|
|
|
9428
|
-
export { ADM_RM_ZonasActividadENTITY, AcceptedDto, AccesortiosBantelDTO, AccesortiosMifibraDBDTO, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddMOPContrataMODTO, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AjusteReprocesoDTO, AlbaranDto, AlmacenDTO, AlmacenDto, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenRequerimientoDto, AlmacenUsuarioGIADTO, AnexoPreOrdenDto, AnexosDTO, AnexosDetailMantenanceOrderDTO, AprobacionDto, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AutoInventarioENTITY, BankVendorDto, BantelENTITY, BaremoAlemaniaENTITY, BaremoProcessENTITY, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraDto, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, CHILE_9512_PaquetizadoManoObraENTITY, CHILE_9512_PaquetizadoMaterialENTITY, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsAlemaniaDTO, CalculatePercentsColombiaDTO, CalculatePercentsDTO, CalculatePercentsPeruDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CargoPersonalENTITY, CategoriaDto, CausacionCubicacionColombiaDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeStateBaremosDTO, ChileTdCENTITY, ClienteDTO, ClienteTdCDTO, ClienteWAOOENTITY, Cliente_ContratistaDTO, ClosedDto, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreDto, CodigoNombreMinLengthDto, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloAlemaniaDTO, CodigoTituloColombiaDTO, CodigoTituloDTO, ComparativoDto, CondicionDTO, ConsumoMaterialAlemaniaENTITY, ConsumoMaterialENTITY, ConsumosMaterialDTO, ConsumosMaterialExcelDTO, ConsumosP117ENTITY, ContabilizadoDto, ContratistaDTO, ContratistasDTO, Contratistas_PE_DTO, ContratoDTO, ContratoOTDTO, ContratoOTENTITY, ContratoOTGeneralDTO, ContratoOT_PRE_DTO, ContratoOT_ZT_DTO, ContratoObraOTDTO, ContratoPagosENTITY, Contrato_DTO, ConversionLogisticaDTO, CoordenadasDTO, CoordenadasTdCDTO, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CotizacionDto, CrearNavisionpreordenEntityRequestDto, CuadrillaBaremoDTO, CuadrillaDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CuadrillaRegularizarDTO, CuadrillasDTO, CubicacionAlemaniaAL02ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataChildrenTreeNodesAlemaniaDTO, DataChildrenTreeNodesColombiaDTO, DataDocumentacionDTO, DataDocumentacionPeruDTO, DataGridTabBusinessHP, DataGridTabBusinessHPPeruDTO, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemAlemaniaDTO, DataWithPercentItemChile, DataWithPercentItemColombiaDTO, DataWithPercentItemPeruDTO, DateDto, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosEmpresaDto, DatosFacturacionDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosIssueProduccionDTO, DatosIssueProduccionEmpresaDTO, DatosJefeObraDto, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosNavDto, DatosPagoDto, DatosPaiDto, DatosPersonalDto, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoDto, DatosTrabajoRequerimientoDto, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionDto, DelegacionEntity, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAlbaranDTO, DetalleAlemaniaDTO, DetalleAtipicaDTO, DetalleAtipicaPeruDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChilePeruObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCotizacionDto, DetalleCubicajeDTO, DetalleDTO, DetalleDto, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetallePeruDTO, DetallePeruFechasDTO, DetalleProductoDto, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DireccionDTO, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteAlemaniaDTO, DocumentoDetalleClienteColombiaDTO, DocumentoDetalleClienteDTO, DocumentoDetalleClientePeruDTO, DocumentoDetalleNoClienteAlemaniaDTO, DocumentoDetalleNoClienteColombiaDTO, DocumentoDetalleNoClienteDTO, DocumentoDetalleNoClientePeruDTO, DocumentosInicialesDTO, DocumentosInicialesPeruDTO, EECCBantelDTO, EECCClienteWAOODTO, EECCDBMIFIBRADTO, EECCDBTOADTO, EECCDBWINDTO, EECCFibramasDBDTO, EECC_DTO, EFaseObraBaremo, EmisionDto, EmpalmeDTO, EmpresaBaremoDTO, EmpresaDTO, EmpresaENTITY, EmpresaGanadoraDto, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaPersonalDatosTrabajoDTO, EmpresaProduccionDTO, EmpresaRegularizarDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EncargadoDTO, EncargadoRegularizarDTO, EnviarNavDto, EquipoLogisticaDTO, EquipoSerieDto, EquiposAIDTO, EquiposDTO, EspecialidadDTO, EstadoAntiguoDTO, EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoObraDTO, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, EstadoProcesoValPeru, EstadoProcesoValPeruDTO, EstadoProcesoValSomacyl, EstadoProcesoValSomacylDTO, EstadoSerieDto, type EstadoVal, Estado_Model_MO, EstadosTuvesEnum, FacturaDto, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasePagoDTO, FasesObraBaremoDTO, FasesType, FechaDTO, FechaEntregaDto, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FileDto, FilesDocDTO, FlagsDTO, FlujoDocDTO, FlujoDto, ForceString, FormaPagoDto, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO, GOMDTO, GemeindeENTITY, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistorialEstadosBantelDTO, HistorialEstadosMifibraDBDTO, HistorialEstadoswinDBDTO, HistorialEstadoswinDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, HomePassDTO$1 as HomePassDTO, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetTdC, IDataSheetTiemposCumplimentados, ISheetsJsonChileTdC, IconoDto, ImgLogoNavBarDTO, ImporteDto, IncidenciasAlemaniaDTO, IncidenciasChileDTO, IncidenciasColombiaDTO, IncidenciasDTO, IncidenciasPeruDTO, IngresoAlmacenENTITY, InventarioDTO, InventarioExistenteDTO, InventarioLiqDTO, InventarioValDTO, IssueENTITY, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemEspañaENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, JobMacroByGemeindeRequestDTO, KCMActividadDTO, KeyDTO, KeyIntegracionENTITY, KitConsumoMaterialENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoginDto, LoteDTO$1 as LoteDTO, MOBaremoDTO, MOChileVigenciaDTO, MacroObraAlemaniaENTITY, MacroObraChileENTITY, MacroObraColombiaENTITY, MacroObraENTITY, MacroObraPeruENTITY, MailStructureENTITY, ManoObraAlemaniaENTITY, ManoObraBaremoDTO, ManoObraBaremoENTITY, ManoObraBaremoProduccionDTO, ManoObraBaseENTITY, ManoObraENTITY, ManoObraGlobalDTO, ManoObraGlobalENTITY, ManoObraGlobalPCIssueAlemaniaAL02DTO, ManoObraGlobalPCIssueDTO, ManoObraGlobalPCMOAlemaniaAL02DTO, ManoObraGlobalPCMODTO, ManoObraGlobalPCMOEspania1729DTO, ManoObraLiberacionPagosDTO, ManoObraMttoENTITY, ManoObraPorUnidadObraENTITY, MarcaDTO, MaterialAmapDTO, MaterialAmapMODTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesBantelDTO, MaterialesClaroDTO, MaterialesClienteWAOODTO, MaterialesConsumoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MaterialesFibramasDBDTO, MaterialesFibramasDTO, MaterialesMifibraDBDTO, MaterialesSomacylDTO, MaterialestoaDBDTO, MaterialestoaDTO, MaterialeswinDBDTO, MaterialeswinDTO, MateterialesTuvesDTO, MedidorDTO, MetadataUOMaterialDTO, MiFibraENTITYDB, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MonedaDto, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, MovimientoDto, MovimientosRecepcionDto, NavDto, NavisionBitacoraFileDto, NavisionDateRegistryDto, NavisionMovimientoAlmacenDTO, NavisionPersonalLogisticaDTO, NavisionRegistryDateDto, NavisionUserRegistryDto, NavisionpreordenEntity, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, ObraPeru9112ENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdReclMatDescargadoDTO, OrdenDetailMaintenanceDTO, OrdenDto, OrdenesInstalacionDTO, OrderStockENTITY, OrderStockStoreENTITY, OrigenCUB, OtDto, PBbyMaterialQuantitiesDTO, PBbyMaterialQuantitiesSomacylDTO, PagosECBaremoDTO, PagosECDTO, PaisStockPersonalDTO, ParteDiarioDTO, PasosDTO, type PayloadTokenDTO, PayloadTokenDto, PedidoCompraDto, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$2 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonalCuadrillaDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, Peru9112FibramasENTITY, Peru9112FibramasENTITYDB, Peru9112TOAENTITY, Peru9112TOAENTITYDB, Peru9112WinENTITY, Peru9112WinENTITYDB, PlantaDBDTO, PlantaDTO, PlantaSomacylDTO, PreAcceptedDto, PrecioActualDTO, PrecioAgencia_mam_onnetENTITY, PrecioContratistaIssueAL02ENTITY, PrecioContratistaIssueENTITY, PrecioContratistaMOAL02ENTITY, PrecioContratistaMOAL04ENTITY, PrecioContratistaMOENTITY, PrecioContratistaMOESPANIA1729ENTITY, PrecioContratistaMaterialENTITY, PrecioDTO, PrecioEmpresaDTO, PrecioEspecialidadENTITY, PrecioManoObraENTITY, PrecioMaterialENTITY, PrecioTrabajoDTO, PrecioUOMaterialesDTO, PreciosVigentesDTO, PresupuestadoTotalObraAlemaniaDTO, PresupuestadoTotalObraChilaDTO, PresupuestadoTotalObraColombiaDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaAlemaniaDTO, PresupuestadoTotalObraEmpresaChileDTO, PresupuestadoTotalObraEmpresaColombiaDTO, PresupuestadoTotalObraEmpresaCuadrillaAlemaniaDTO, PresupuestadoTotalObraEmpresaCuadrillaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaColombiaDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaCuadrillaPeruDTO, PresupuestadoTotalObraEmpresaDTO, PresupuestadoTotalObraEmpresaPeruDTO, PresupuestadoTotalObraPeruDTO, PresupuestoDTO, PresupuestoOTENTITY, PrioridadNotificacion, ProcedenciaDto, ProdCursoBaremoFasesCuadrillaDTO, ProdCursoBaremoFasesManoObraDTO, ProdCursoBaremoFasesPeriodoDTO, ProdCursoBaremoFasesUltimaFaseDTO, ProdCursoBaremoFasesUltimoEstadoInternoDTO, ProduccionDTO, ProductoDto, ProductosServiciosContratadoDBDTO, ProductosServiciosContratadoDTO, ProductosServiciosContratadoSomacylDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RawLiqPenBantelDTO, RawLiqPenDTO, RawParteDiarioBantelDTO, RawParteDiarioDTO, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RepresentanteLegalDTO, RequeridoEnum, RequerimientoDto, RequestDataMigrationDTO, RequestNumberTTLENTITY, ReservaENTITY, ReservaManoObraRegularizacionENTITY, ResponseSignInDto, ResultadoDTO, ResumemENTITY, ResumenAvanceAlemaniaDTO, ResumenAvanceChileDTO, ResumenAvanceColombiaDTO, ResumenAvanceDataDocumentacionAlemaniaDTO, ResumenAvanceDataDocumentacionColombiaDTO, ResumenAvanceDataDocumentacionDTO, ResumenAvanceDataDocumentacionDataGroupToDrawAlemaniaDTO, ResumenAvanceDataDocumentacionDataGroupToDrawColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsAlemaniaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesAlemaniaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesPeruDTO, ResumenAvanceDataDocumentacionDataWithPercentsChile, ResumenAvanceDataDocumentacionDataWithPercentsColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsPeruDTO, ResumenAvanceDataDocumentacionPeruDTO, ResumenAvanceDataGranTotal, ResumenAvanceDataGranTotalAlemaniaDTO, ResumenAvanceDataGranTotalColombiaDTO, ResumenAvanceDataGranTotalEmpresasAlemaniaDTO, ResumenAvanceDataGranTotalEmpresasChileDTO, ResumenAvanceDataGranTotalEmpresasColombiaDTO, ResumenAvanceDataGranTotalEmpresasPeruDTO, ResumenAvanceDataGranTotalManoObraAlemaniaDTO, ResumenAvanceDataGranTotalManoObraCHILEDTO, ResumenAvanceDataGranTotalManoObraColombiaDTO, ResumenAvanceDataGranTotalManoObraPeruDTO, ResumenAvanceDataGranTotalPeruDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosAlemaniaDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosColombiaDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosPeruDTO, ResumenAvancePeruDTO, ResumenProcessENTITY, ResumentAvanceDocumentacionHPAlemaniaDTO, ResumentAvanceDocumentacionHPColombiaDTO, ResumentAvanceDocumentacionHPDTO, ResumentAvanceDocumentacionHPPeruDTO, RptProduccionCurso_Baremos_FasesENTITY, SEUpdateAnexosObraRequestBody, SEUpdateAnexosTrabajoRequestBody, STB_DTH_ToaENTITY, STB_DTH_ToaPlanta, STB_DTH_ToaUbicacion, SalidaAlmacenENTITY, ScrapingCredentialENTITY, SegmentoDBDTO, SeguimientoObraDTO, SiNoEnum, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SmartDateTransformer, SocketDTO, SolicitudDto, SomacylEntregablesDTO, SomacylOrderENTITY, StateBantel, StateFibramas, StateInternalOrder, StateInternalOrderClienteWAOO, StateInternalOrderSomacyl, StateInternalOrderTOA, StateInventory, StateMifibra, StateServiceFibramas, StateWin, StatuDto, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, StockQuantityEmployeeDTO, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, SummaryDTO, TOAClaroOrderStockENTITY, TOAOrdenLiquidacionENTITY, TOAOrdenLiquidacionENTITYDB, TOAOrderStockENTITY, TUVESOrdReclMatDescargadoDTO, TUVESOrdReclamosFinDTO, TecnicoValDTO, TerminoPagoDto, ThemeConfigCountryENTITY, TipoActividadMOENTITY, TipoAlmacenDTO, TipoAlmacenENTITY, TipoClaveENTITY, TipoCompraDto, TipoConsumoMaterial, TipoDocumentoDto, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoEspecialidadMOENTITY, TipoFamiliaDto, TipoGranFamiliaDto, TipoItemDto, type TipoLiq, TipoMOPCIssueDTO, TipoMOPCMODTO, TipoMiembroGrupoEmpresaDTO, TipoMovilCuadrillaDTO, TipoMovilENTITY, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenDatosTrabajoDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoObraENTITY, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoOperacionDto, TipoProductoDto, TipoSistemaDTO, TipoStockENTITY, TipoStockStockPersonalDTO, TipoStockStockPersonalDatosTrabajoDTO, TipoSubFamiliaDto, type TipoVal, TipoVarianteDto, Tipo_MO, ToaClaroENTITY, ToaSegmentoDBDTO, ToaSegmentoDTO, TotBaremosDTO, TotalGeneralObraAlemaniaDTO, TotalGeneralObraChile9512DTO, TotalGeneralObraChileDTO, TotalGeneralObraColombia9612DTO, TotalGeneralObraColombiaDTO, TotalGeneralObraDTO, TotalGeneralObraPeru9112DTO, TotalGeneralObraPeruDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TrabajoHechoEnum, TrabajoMacroObraAlemaniaENTITY, TrabajoMacroObraENTITY, TransaccionFoliosENTITY, TransaccionesDTO, TuvesENTITY, TuvesOrdEqFinalizadasDTO, TuvesOrdEqMatDescargadosDTO, TuvesOrderStockENTITY, UOMaterialesExcelDTO, UO_MaterialesENTITY, UbicacionAlmacenDTO, UbicacionBantelDTO, UbicacionDTO, UbicacionMifibraDBDTO, UbicacionObraDTO, UbicacionPresupuestoDTO, UbicacionSomacylDTO, UbicacionTdCDTO, UbicaciontoaDBDTO, UbicaciontoaDTO, UbicacionwinDBDTO, UbicacionwinDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultima_PreLiquidacionDTO$1 as Ultima_PreLiquidacionDTO, Ultima_PreLiquidacionTMOAlemaniaDTO, Ultima_asignacionAlemaniaDTO, Ultima_asignacionDTO$1 as Ultima_asignacionDTO, UltimoEstadoClienteDTO, Ultimo_Estado_InternoDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO, UnidadMedidaENTITY, UnidadMedidaLiberacionPagosDTO, UnidadObraENTITY, UnidadObraMaterialENTITY, UpdateDto, UpdateEstadoInternoObraRequestDTO, UpdateUltimaFaseFacturacionDTO, UserDto, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, enumToArray, hydrate, latLngDTO, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom };
|
|
9439
|
+
declare function validateRequestBody(dtoClass: any, BadRequestException: any, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
9440
|
+
|
|
9441
|
+
export { ADM_RM_ZonasActividadENTITY, AcceptedDto, AccesortiosBantelDTO, AccesortiosMifibraDBDTO, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddMOPContrataMODTO, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AjusteReprocesoDTO, AlbaranDto, AlmacenDTO, AlmacenDto, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenRequerimientoDto, AlmacenUsuarioGIADTO, AnexoPreOrdenDto, AnexosDTO, AnexosDetailMantenanceOrderDTO, AprobacionDto, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AutoInventarioENTITY, BankVendorDto, BantelENTITY, BaremoAlemaniaENTITY, BaremoProcessENTITY, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraDto, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, CHILE_9512_PaquetizadoManoObraENTITY, CHILE_9512_PaquetizadoMaterialENTITY, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsAlemaniaDTO, CalculatePercentsColombiaDTO, CalculatePercentsDTO, CalculatePercentsPeruDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CargoPersonalENTITY, CategoriaDto, CausacionCubicacionColombiaDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeStateBaremosDTO, ChileTdCENTITY, ClienteDTO, ClienteTdCDTO, ClienteWAOOENTITY, Cliente_ContratistaDTO, ClosedDto, CodeNameDto, CodeNameMinLengthDto, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloAlemaniaDTO, CodigoTituloColombiaDTO, CodigoTituloDTO, ComparativoDto, CondicionDTO, ConsumoMaterialAlemaniaENTITY, ConsumoMaterialENTITY, ConsumosMaterialDTO, ConsumosMaterialExcelDTO, ConsumosP117ENTITY, ContabilizadoDto, ContratistaDTO, ContratistasDTO, Contratistas_PE_DTO, ContratoDTO, ContratoOTDTO, ContratoOTENTITY, ContratoOTGeneralDTO, ContratoOT_PRE_DTO, ContratoOT_ZT_DTO, ContratoObraOTDTO, ContratoPagosENTITY, Contrato_DTO, ConversionLogisticaDTO, CoordenadasDTO, CoordenadasTdCDTO, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CotizacionDto, CrearNavisionpreordenEntityRequestDto, CuadrillaBaremoDTO, CuadrillaDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CuadrillaRegularizarDTO, CuadrillasDTO, CubicacionAlemaniaAL02ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataChildrenTreeNodesAlemaniaDTO, DataChildrenTreeNodesColombiaDTO, DataDocumentacionDTO, DataDocumentacionPeruDTO, DataGridTabBusinessHP, DataGridTabBusinessHPPeruDTO, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemAlemaniaDTO, DataWithPercentItemChile, DataWithPercentItemColombiaDTO, DataWithPercentItemPeruDTO, DateDto, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosEmpresaDto, DatosFacturacionDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosIssueProduccionDTO, DatosIssueProduccionEmpresaDTO, DatosJefeObraDto, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosNavDto, DatosPagoDto, DatosPaiDto, DatosPersonalDto, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoDto, DatosTrabajoRequerimientoDto, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionDto, DelegacionEntity, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAlbaranDTO, DetalleAlemaniaDTO, DetalleAtipicaDTO, DetalleAtipicaPeruDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChilePeruObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCotizacionDto, DetalleCubicajeDTO, DetalleDTO, DetalleDto, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetallePeruDTO, DetallePeruFechasDTO, DetalleProductoDto, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DireccionDTO, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteAlemaniaDTO, DocumentoDetalleClienteColombiaDTO, DocumentoDetalleClienteDTO, DocumentoDetalleClientePeruDTO, DocumentoDetalleNoClienteAlemaniaDTO, DocumentoDetalleNoClienteColombiaDTO, DocumentoDetalleNoClienteDTO, DocumentoDetalleNoClientePeruDTO, DocumentosInicialesDTO, DocumentosInicialesPeruDTO, EECCBantelDTO, EECCClienteWAOODTO, EECCDBMIFIBRADTO, EECCDBTOADTO, EECCDBWINDTO, EECCFibramasDBDTO, EECC_DTO, EFaseObraBaremo, EmisionDto, EmpalmeDTO, EmpresaBaremoDTO, EmpresaDTO, EmpresaENTITY, EmpresaGanadoraDto, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaPersonalDatosTrabajoDTO, EmpresaProduccionDTO, EmpresaRegularizarDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EncargadoDTO, EncargadoRegularizarDTO, EnviarNavDto, EquipoLogisticaDTO, EquipoSerieDto, EquiposAIDTO, EquiposDTO, EspecialidadDTO, EstadoAntiguoDTO, EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoObraDTO, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, EstadoProcesoValPeru, EstadoProcesoValPeruDTO, EstadoProcesoValSomacyl, EstadoProcesoValSomacylDTO, EstadoSerieDto, type EstadoVal, Estado_Model_MO, EstadosTuvesEnum, FacturaDto, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasePagoDTO, FasesObraBaremoDTO, FasesType, FechaDTO, FechaEntregaDto, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FileDto, FilesDocDTO, FlagsDTO, FlujoDocDTO, FlujoDto, ForceString, FormaPagoDto, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO, GOMDTO, GemeindeENTITY, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistorialEstadosBantelDTO, HistorialEstadosMifibraDBDTO, HistorialEstadoswinDBDTO, HistorialEstadoswinDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, HomePassDTO$1 as HomePassDTO, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetTdC, IDataSheetTiemposCumplimentados, ISheetsJsonChileTdC, IconoDto, ImgLogoNavBarDTO, ImporteDto, IncidenciasAlemaniaDTO, IncidenciasChileDTO, IncidenciasColombiaDTO, IncidenciasDTO, IncidenciasPeruDTO, IngresoAlmacenENTITY, InventarioDTO, InventarioExistenteDTO, InventarioLiqDTO, InventarioValDTO, IssueENTITY, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemEspañaENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, JobMacroByGemeindeRequestDTO, KCMActividadDTO, KeyDTO, KeyIntegracionENTITY, KitConsumoMaterialENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoginDto, LoteDTO$1 as LoteDTO, MOBaremoDTO, MOChileVigenciaDTO, MacroObraAlemaniaENTITY, MacroObraChileENTITY, MacroObraColombiaENTITY, MacroObraENTITY, MacroObraPeruENTITY, MailStructureENTITY, ManoObraAlemaniaENTITY, ManoObraBaremoDTO, ManoObraBaremoENTITY, ManoObraBaremoProduccionDTO, ManoObraBaseENTITY, ManoObraENTITY, ManoObraGlobalDTO, ManoObraGlobalENTITY, ManoObraGlobalPCIssueAlemaniaAL02DTO, ManoObraGlobalPCIssueDTO, ManoObraGlobalPCMOAlemaniaAL02DTO, ManoObraGlobalPCMODTO, ManoObraGlobalPCMOEspania1729DTO, ManoObraLiberacionPagosDTO, ManoObraMttoENTITY, ManoObraPorUnidadObraENTITY, MarcaDTO, MaterialAmapDTO, MaterialAmapMODTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesBantelDTO, MaterialesClaroDTO, MaterialesClienteWAOODTO, MaterialesConsumoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MaterialesFibramasDBDTO, MaterialesFibramasDTO, MaterialesMifibraDBDTO, MaterialesSomacylDTO, MaterialestoaDBDTO, MaterialestoaDTO, MaterialeswinDBDTO, MaterialeswinDTO, MateterialesTuvesDTO, MedidorDTO, MetadataUOMaterialDTO, MiFibraENTITYDB, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MonedaDto, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, MovimientoDto, MovimientosRecepcionDto, NavDto, NavisionBitacoraFileDto, NavisionDateRegistryDto, NavisionMovimientoAlmacenDTO, NavisionPersonalLogisticaDTO, NavisionRegistryDateDto, NavisionUserRegistryDto, NavisionpreordenEntity, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, ObraPeru9112ENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdReclMatDescargadoDTO, OrdenDetailMaintenanceDTO, OrdenDto, OrdenesInstalacionDTO, OrderStockENTITY, OrderStockStoreENTITY, OrigenCUB, OtDto, PBbyMaterialQuantitiesDTO, PBbyMaterialQuantitiesSomacylDTO, PagosECBaremoDTO, PagosECDTO, PaisStockPersonalDTO, ParteDiarioDTO, PasosDTO, type PayloadTokenDTO, PayloadTokenDto, PedidoCompraDto, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$2 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonalCuadrillaDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, Peru9112FibramasENTITY, Peru9112FibramasENTITYDB, Peru9112TOAENTITY, Peru9112TOAENTITYDB, Peru9112WinENTITY, Peru9112WinENTITYDB, PlantaDBDTO, PlantaDTO, PlantaSomacylDTO, PreAcceptedDto, PrecioActualDTO, PrecioAgencia_mam_onnetENTITY, PrecioContratistaIssueAL02ENTITY, PrecioContratistaIssueENTITY, PrecioContratistaMOAL02ENTITY, PrecioContratistaMOAL04ENTITY, PrecioContratistaMOENTITY, PrecioContratistaMOESPANIA1729ENTITY, PrecioContratistaMaterialENTITY, PrecioDTO, PrecioEmpresaDTO, PrecioEspecialidadENTITY, PrecioManoObraENTITY, PrecioMaterialENTITY, PrecioTrabajoDTO, PrecioUOMaterialesDTO, PreciosVigentesDTO, PresupuestadoTotalObraAlemaniaDTO, PresupuestadoTotalObraChilaDTO, PresupuestadoTotalObraColombiaDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaAlemaniaDTO, PresupuestadoTotalObraEmpresaChileDTO, PresupuestadoTotalObraEmpresaColombiaDTO, PresupuestadoTotalObraEmpresaCuadrillaAlemaniaDTO, PresupuestadoTotalObraEmpresaCuadrillaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaColombiaDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaCuadrillaPeruDTO, PresupuestadoTotalObraEmpresaDTO, PresupuestadoTotalObraEmpresaPeruDTO, PresupuestadoTotalObraPeruDTO, PresupuestoDTO, PresupuestoOTENTITY, PrioridadNotificacion, ProcedenciaDto, ProdCursoBaremoFasesCuadrillaDTO, ProdCursoBaremoFasesManoObraDTO, ProdCursoBaremoFasesPeriodoDTO, ProdCursoBaremoFasesUltimaFaseDTO, ProdCursoBaremoFasesUltimoEstadoInternoDTO, ProduccionDTO, ProductoDto, ProductosServiciosContratadoDBDTO, ProductosServiciosContratadoDTO, ProductosServiciosContratadoSomacylDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RawLiqPenBantelDTO, RawLiqPenDTO, RawParteDiarioBantelDTO, RawParteDiarioDTO, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RepresentanteLegalDTO, RequeridoEnum, RequerimientoDto, RequestDataMigrationDTO, RequestNumberTTLENTITY, ReservaENTITY, ReservaManoObraRegularizacionENTITY, ResponseSignInDto, ResultadoDTO, ResumemENTITY, ResumenAvanceAlemaniaDTO, ResumenAvanceChileDTO, ResumenAvanceColombiaDTO, ResumenAvanceDataDocumentacionAlemaniaDTO, ResumenAvanceDataDocumentacionColombiaDTO, ResumenAvanceDataDocumentacionDTO, ResumenAvanceDataDocumentacionDataGroupToDrawAlemaniaDTO, ResumenAvanceDataDocumentacionDataGroupToDrawColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsAlemaniaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesAlemaniaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesPeruDTO, ResumenAvanceDataDocumentacionDataWithPercentsChile, ResumenAvanceDataDocumentacionDataWithPercentsColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsPeruDTO, ResumenAvanceDataDocumentacionPeruDTO, ResumenAvanceDataGranTotal, ResumenAvanceDataGranTotalAlemaniaDTO, ResumenAvanceDataGranTotalColombiaDTO, ResumenAvanceDataGranTotalEmpresasAlemaniaDTO, ResumenAvanceDataGranTotalEmpresasChileDTO, ResumenAvanceDataGranTotalEmpresasColombiaDTO, ResumenAvanceDataGranTotalEmpresasPeruDTO, ResumenAvanceDataGranTotalManoObraAlemaniaDTO, ResumenAvanceDataGranTotalManoObraCHILEDTO, ResumenAvanceDataGranTotalManoObraColombiaDTO, ResumenAvanceDataGranTotalManoObraPeruDTO, ResumenAvanceDataGranTotalPeruDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosAlemaniaDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosColombiaDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosPeruDTO, ResumenAvancePeruDTO, ResumenProcessENTITY, ResumentAvanceDocumentacionHPAlemaniaDTO, ResumentAvanceDocumentacionHPColombiaDTO, ResumentAvanceDocumentacionHPDTO, ResumentAvanceDocumentacionHPPeruDTO, RptProduccionCurso_Baremos_FasesENTITY, SEUpdateAnexosObraRequestBody, SEUpdateAnexosTrabajoRequestBody, STB_DTH_ToaENTITY, STB_DTH_ToaPlanta, STB_DTH_ToaUbicacion, SalidaAlmacenENTITY, ScrapingCredentialENTITY, SegmentoDBDTO, SeguimientoObraDTO, SiNoEnum, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SmartDateTransformer, SocketDTO, SolicitudDto, SomacylEntregablesDTO, SomacylOrderENTITY, StateBantel, StateFibramas, StateInternalOrder, StateInternalOrderClienteWAOO, StateInternalOrderSomacyl, StateInternalOrderTOA, StateInventory, StateMifibra, StateServiceFibramas, StateWin, StatuDto, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, StockQuantityEmployeeDTO, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, SummaryDTO, TOAClaroOrderStockENTITY, TOAOrdenLiquidacionENTITY, TOAOrdenLiquidacionENTITYDB, TOAOrderStockENTITY, TUVESOrdReclMatDescargadoDTO, TUVESOrdReclamosFinDTO, TecnicoValDTO, TerminoPagoDto, ThemeConfigCountryENTITY, TipoActividadMOENTITY, TipoAlmacenDTO, TipoAlmacenENTITY, TipoClaveENTITY, TipoCompraDto, TipoConsumoMaterial, TipoDocumentoDto, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoEspecialidadMOENTITY, TipoFamiliaDto, TipoGranFamiliaDto, TipoItemDto, type TipoLiq, TipoMOPCIssueDTO, TipoMOPCMODTO, TipoMiembroGrupoEmpresaDTO, TipoMovilCuadrillaDTO, TipoMovilENTITY, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenDatosTrabajoDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoObraENTITY, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoOperacionDto, TipoProductoDto, TipoSistemaDTO, TipoStockENTITY, TipoStockStockPersonalDTO, TipoStockStockPersonalDatosTrabajoDTO, TipoSubFamiliaDto, type TipoVal, TipoVarianteDto, Tipo_MO, ToaClaroENTITY, ToaSegmentoDBDTO, ToaSegmentoDTO, TotBaremosDTO, TotalGeneralObraAlemaniaDTO, TotalGeneralObraChile9512DTO, TotalGeneralObraChileDTO, TotalGeneralObraColombia9612DTO, TotalGeneralObraColombiaDTO, TotalGeneralObraDTO, TotalGeneralObraPeru9112DTO, TotalGeneralObraPeruDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TrabajoHechoEnum, TrabajoMacroObraAlemaniaENTITY, TrabajoMacroObraENTITY, TransaccionFoliosENTITY, TransaccionesDTO, TuvesENTITY, TuvesOrdEqFinalizadasDTO, TuvesOrdEqMatDescargadosDTO, TuvesOrderStockENTITY, UOMaterialesExcelDTO, UO_MaterialesENTITY, UbicacionAlmacenDTO, UbicacionBantelDTO, UbicacionDTO, UbicacionMifibraDBDTO, UbicacionObraDTO, UbicacionPresupuestoDTO, UbicacionSomacylDTO, UbicacionTdCDTO, UbicaciontoaDBDTO, UbicaciontoaDTO, UbicacionwinDBDTO, UbicacionwinDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultima_PreLiquidacionDTO$1 as Ultima_PreLiquidacionDTO, Ultima_PreLiquidacionTMOAlemaniaDTO, Ultima_asignacionAlemaniaDTO, Ultima_asignacionDTO$1 as Ultima_asignacionDTO, UltimoEstadoClienteDTO, Ultimo_Estado_InternoDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO, UnidadMedidaENTITY, UnidadMedidaLiberacionPagosDTO, UnidadObraENTITY, UnidadObraMaterialENTITY, UpdateDto, UpdateEstadoInternoObraRequestDTO, UpdateUltimaFaseFacturacionDTO, UserDto, UserEntity, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, enumToArray, hydrate, latLngDTO, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ClassConstructor } from 'class-transformer';
|
|
2
|
+
import { Request, Response, NextFunction } from 'express';
|
|
2
3
|
|
|
3
4
|
declare class DestinatarioDTO {
|
|
4
5
|
Identificacion: string;
|
|
@@ -9403,26 +9404,38 @@ declare class BantelENTITY {
|
|
|
9403
9404
|
estado_interno: StateInternalOrder;
|
|
9404
9405
|
}
|
|
9405
9406
|
|
|
9406
|
-
declare class
|
|
9407
|
-
|
|
9408
|
-
|
|
9407
|
+
declare class CodeNameDto {
|
|
9408
|
+
code: string;
|
|
9409
|
+
name: string;
|
|
9409
9410
|
}
|
|
9410
|
-
declare class
|
|
9411
|
-
|
|
9412
|
-
|
|
9411
|
+
declare class CodeNameMinLengthDto extends CodeNameDto {
|
|
9412
|
+
code: string;
|
|
9413
|
+
name: string;
|
|
9413
9414
|
}
|
|
9414
9415
|
|
|
9415
9416
|
declare class BaseEntity {
|
|
9416
9417
|
_id: string;
|
|
9417
|
-
|
|
9418
|
+
active: boolean;
|
|
9418
9419
|
}
|
|
9419
9420
|
|
|
9420
9421
|
declare class DelegacionEntity extends BaseEntity {
|
|
9421
|
-
pais:
|
|
9422
|
+
pais: CodeNameMinLengthDto;
|
|
9422
9423
|
codigo: string;
|
|
9423
9424
|
nombre: string;
|
|
9424
9425
|
}
|
|
9425
9426
|
|
|
9427
|
+
declare class UserEntity extends BaseEntity {
|
|
9428
|
+
email: string;
|
|
9429
|
+
password: string;
|
|
9430
|
+
paternalLastName: string;
|
|
9431
|
+
maternalLastName: string;
|
|
9432
|
+
firstNames: string;
|
|
9433
|
+
identification: string;
|
|
9434
|
+
company: CodeNameDto;
|
|
9435
|
+
}
|
|
9436
|
+
|
|
9426
9437
|
declare function validateCustom<T extends object>(plain: any, cls: new () => T, UnprocessableEntityException: ClassConstructor<any>): Promise<T>;
|
|
9427
9438
|
|
|
9428
|
-
export { ADM_RM_ZonasActividadENTITY, AcceptedDto, AccesortiosBantelDTO, AccesortiosMifibraDBDTO, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddMOPContrataMODTO, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AjusteReprocesoDTO, AlbaranDto, AlmacenDTO, AlmacenDto, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenRequerimientoDto, AlmacenUsuarioGIADTO, AnexoPreOrdenDto, AnexosDTO, AnexosDetailMantenanceOrderDTO, AprobacionDto, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AutoInventarioENTITY, BankVendorDto, BantelENTITY, BaremoAlemaniaENTITY, BaremoProcessENTITY, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraDto, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, CHILE_9512_PaquetizadoManoObraENTITY, CHILE_9512_PaquetizadoMaterialENTITY, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsAlemaniaDTO, CalculatePercentsColombiaDTO, CalculatePercentsDTO, CalculatePercentsPeruDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CargoPersonalENTITY, CategoriaDto, CausacionCubicacionColombiaDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeStateBaremosDTO, ChileTdCENTITY, ClienteDTO, ClienteTdCDTO, ClienteWAOOENTITY, Cliente_ContratistaDTO, ClosedDto, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreDto, CodigoNombreMinLengthDto, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloAlemaniaDTO, CodigoTituloColombiaDTO, CodigoTituloDTO, ComparativoDto, CondicionDTO, ConsumoMaterialAlemaniaENTITY, ConsumoMaterialENTITY, ConsumosMaterialDTO, ConsumosMaterialExcelDTO, ConsumosP117ENTITY, ContabilizadoDto, ContratistaDTO, ContratistasDTO, Contratistas_PE_DTO, ContratoDTO, ContratoOTDTO, ContratoOTENTITY, ContratoOTGeneralDTO, ContratoOT_PRE_DTO, ContratoOT_ZT_DTO, ContratoObraOTDTO, ContratoPagosENTITY, Contrato_DTO, ConversionLogisticaDTO, CoordenadasDTO, CoordenadasTdCDTO, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CotizacionDto, CrearNavisionpreordenEntityRequestDto, CuadrillaBaremoDTO, CuadrillaDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CuadrillaRegularizarDTO, CuadrillasDTO, CubicacionAlemaniaAL02ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataChildrenTreeNodesAlemaniaDTO, DataChildrenTreeNodesColombiaDTO, DataDocumentacionDTO, DataDocumentacionPeruDTO, DataGridTabBusinessHP, DataGridTabBusinessHPPeruDTO, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemAlemaniaDTO, DataWithPercentItemChile, DataWithPercentItemColombiaDTO, DataWithPercentItemPeruDTO, DateDto, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosEmpresaDto, DatosFacturacionDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosIssueProduccionDTO, DatosIssueProduccionEmpresaDTO, DatosJefeObraDto, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosNavDto, DatosPagoDto, DatosPaiDto, DatosPersonalDto, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoDto, DatosTrabajoRequerimientoDto, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionDto, DelegacionEntity, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAlbaranDTO, DetalleAlemaniaDTO, DetalleAtipicaDTO, DetalleAtipicaPeruDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChilePeruObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCotizacionDto, DetalleCubicajeDTO, DetalleDTO, DetalleDto, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetallePeruDTO, DetallePeruFechasDTO, DetalleProductoDto, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DireccionDTO, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteAlemaniaDTO, DocumentoDetalleClienteColombiaDTO, DocumentoDetalleClienteDTO, DocumentoDetalleClientePeruDTO, DocumentoDetalleNoClienteAlemaniaDTO, DocumentoDetalleNoClienteColombiaDTO, DocumentoDetalleNoClienteDTO, DocumentoDetalleNoClientePeruDTO, DocumentosInicialesDTO, DocumentosInicialesPeruDTO, EECCBantelDTO, EECCClienteWAOODTO, EECCDBMIFIBRADTO, EECCDBTOADTO, EECCDBWINDTO, EECCFibramasDBDTO, EECC_DTO, EFaseObraBaremo, EmisionDto, EmpalmeDTO, EmpresaBaremoDTO, EmpresaDTO, EmpresaENTITY, EmpresaGanadoraDto, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaPersonalDatosTrabajoDTO, EmpresaProduccionDTO, EmpresaRegularizarDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EncargadoDTO, EncargadoRegularizarDTO, EnviarNavDto, EquipoLogisticaDTO, EquipoSerieDto, EquiposAIDTO, EquiposDTO, EspecialidadDTO, EstadoAntiguoDTO, EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoObraDTO, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, EstadoProcesoValPeru, EstadoProcesoValPeruDTO, EstadoProcesoValSomacyl, EstadoProcesoValSomacylDTO, EstadoSerieDto, type EstadoVal, Estado_Model_MO, EstadosTuvesEnum, FacturaDto, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasePagoDTO, FasesObraBaremoDTO, FasesType, FechaDTO, FechaEntregaDto, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FileDto, FilesDocDTO, FlagsDTO, FlujoDocDTO, FlujoDto, ForceString, FormaPagoDto, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO, GOMDTO, GemeindeENTITY, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistorialEstadosBantelDTO, HistorialEstadosMifibraDBDTO, HistorialEstadoswinDBDTO, HistorialEstadoswinDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, HomePassDTO$1 as HomePassDTO, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetTdC, IDataSheetTiemposCumplimentados, ISheetsJsonChileTdC, IconoDto, ImgLogoNavBarDTO, ImporteDto, IncidenciasAlemaniaDTO, IncidenciasChileDTO, IncidenciasColombiaDTO, IncidenciasDTO, IncidenciasPeruDTO, IngresoAlmacenENTITY, InventarioDTO, InventarioExistenteDTO, InventarioLiqDTO, InventarioValDTO, IssueENTITY, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemEspañaENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, JobMacroByGemeindeRequestDTO, KCMActividadDTO, KeyDTO, KeyIntegracionENTITY, KitConsumoMaterialENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoginDto, LoteDTO$1 as LoteDTO, MOBaremoDTO, MOChileVigenciaDTO, MacroObraAlemaniaENTITY, MacroObraChileENTITY, MacroObraColombiaENTITY, MacroObraENTITY, MacroObraPeruENTITY, MailStructureENTITY, ManoObraAlemaniaENTITY, ManoObraBaremoDTO, ManoObraBaremoENTITY, ManoObraBaremoProduccionDTO, ManoObraBaseENTITY, ManoObraENTITY, ManoObraGlobalDTO, ManoObraGlobalENTITY, ManoObraGlobalPCIssueAlemaniaAL02DTO, ManoObraGlobalPCIssueDTO, ManoObraGlobalPCMOAlemaniaAL02DTO, ManoObraGlobalPCMODTO, ManoObraGlobalPCMOEspania1729DTO, ManoObraLiberacionPagosDTO, ManoObraMttoENTITY, ManoObraPorUnidadObraENTITY, MarcaDTO, MaterialAmapDTO, MaterialAmapMODTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesBantelDTO, MaterialesClaroDTO, MaterialesClienteWAOODTO, MaterialesConsumoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MaterialesFibramasDBDTO, MaterialesFibramasDTO, MaterialesMifibraDBDTO, MaterialesSomacylDTO, MaterialestoaDBDTO, MaterialestoaDTO, MaterialeswinDBDTO, MaterialeswinDTO, MateterialesTuvesDTO, MedidorDTO, MetadataUOMaterialDTO, MiFibraENTITYDB, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MonedaDto, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, MovimientoDto, MovimientosRecepcionDto, NavDto, NavisionBitacoraFileDto, NavisionDateRegistryDto, NavisionMovimientoAlmacenDTO, NavisionPersonalLogisticaDTO, NavisionRegistryDateDto, NavisionUserRegistryDto, NavisionpreordenEntity, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, ObraPeru9112ENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdReclMatDescargadoDTO, OrdenDetailMaintenanceDTO, OrdenDto, OrdenesInstalacionDTO, OrderStockENTITY, OrderStockStoreENTITY, OrigenCUB, OtDto, PBbyMaterialQuantitiesDTO, PBbyMaterialQuantitiesSomacylDTO, PagosECBaremoDTO, PagosECDTO, PaisStockPersonalDTO, ParteDiarioDTO, PasosDTO, type PayloadTokenDTO, PayloadTokenDto, PedidoCompraDto, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$2 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonalCuadrillaDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, Peru9112FibramasENTITY, Peru9112FibramasENTITYDB, Peru9112TOAENTITY, Peru9112TOAENTITYDB, Peru9112WinENTITY, Peru9112WinENTITYDB, PlantaDBDTO, PlantaDTO, PlantaSomacylDTO, PreAcceptedDto, PrecioActualDTO, PrecioAgencia_mam_onnetENTITY, PrecioContratistaIssueAL02ENTITY, PrecioContratistaIssueENTITY, PrecioContratistaMOAL02ENTITY, PrecioContratistaMOAL04ENTITY, PrecioContratistaMOENTITY, PrecioContratistaMOESPANIA1729ENTITY, PrecioContratistaMaterialENTITY, PrecioDTO, PrecioEmpresaDTO, PrecioEspecialidadENTITY, PrecioManoObraENTITY, PrecioMaterialENTITY, PrecioTrabajoDTO, PrecioUOMaterialesDTO, PreciosVigentesDTO, PresupuestadoTotalObraAlemaniaDTO, PresupuestadoTotalObraChilaDTO, PresupuestadoTotalObraColombiaDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaAlemaniaDTO, PresupuestadoTotalObraEmpresaChileDTO, PresupuestadoTotalObraEmpresaColombiaDTO, PresupuestadoTotalObraEmpresaCuadrillaAlemaniaDTO, PresupuestadoTotalObraEmpresaCuadrillaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaColombiaDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaCuadrillaPeruDTO, PresupuestadoTotalObraEmpresaDTO, PresupuestadoTotalObraEmpresaPeruDTO, PresupuestadoTotalObraPeruDTO, PresupuestoDTO, PresupuestoOTENTITY, PrioridadNotificacion, ProcedenciaDto, ProdCursoBaremoFasesCuadrillaDTO, ProdCursoBaremoFasesManoObraDTO, ProdCursoBaremoFasesPeriodoDTO, ProdCursoBaremoFasesUltimaFaseDTO, ProdCursoBaremoFasesUltimoEstadoInternoDTO, ProduccionDTO, ProductoDto, ProductosServiciosContratadoDBDTO, ProductosServiciosContratadoDTO, ProductosServiciosContratadoSomacylDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RawLiqPenBantelDTO, RawLiqPenDTO, RawParteDiarioBantelDTO, RawParteDiarioDTO, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RepresentanteLegalDTO, RequeridoEnum, RequerimientoDto, RequestDataMigrationDTO, RequestNumberTTLENTITY, ReservaENTITY, ReservaManoObraRegularizacionENTITY, ResponseSignInDto, ResultadoDTO, ResumemENTITY, ResumenAvanceAlemaniaDTO, ResumenAvanceChileDTO, ResumenAvanceColombiaDTO, ResumenAvanceDataDocumentacionAlemaniaDTO, ResumenAvanceDataDocumentacionColombiaDTO, ResumenAvanceDataDocumentacionDTO, ResumenAvanceDataDocumentacionDataGroupToDrawAlemaniaDTO, ResumenAvanceDataDocumentacionDataGroupToDrawColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsAlemaniaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesAlemaniaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesPeruDTO, ResumenAvanceDataDocumentacionDataWithPercentsChile, ResumenAvanceDataDocumentacionDataWithPercentsColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsPeruDTO, ResumenAvanceDataDocumentacionPeruDTO, ResumenAvanceDataGranTotal, ResumenAvanceDataGranTotalAlemaniaDTO, ResumenAvanceDataGranTotalColombiaDTO, ResumenAvanceDataGranTotalEmpresasAlemaniaDTO, ResumenAvanceDataGranTotalEmpresasChileDTO, ResumenAvanceDataGranTotalEmpresasColombiaDTO, ResumenAvanceDataGranTotalEmpresasPeruDTO, ResumenAvanceDataGranTotalManoObraAlemaniaDTO, ResumenAvanceDataGranTotalManoObraCHILEDTO, ResumenAvanceDataGranTotalManoObraColombiaDTO, ResumenAvanceDataGranTotalManoObraPeruDTO, ResumenAvanceDataGranTotalPeruDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosAlemaniaDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosColombiaDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosPeruDTO, ResumenAvancePeruDTO, ResumenProcessENTITY, ResumentAvanceDocumentacionHPAlemaniaDTO, ResumentAvanceDocumentacionHPColombiaDTO, ResumentAvanceDocumentacionHPDTO, ResumentAvanceDocumentacionHPPeruDTO, RptProduccionCurso_Baremos_FasesENTITY, SEUpdateAnexosObraRequestBody, SEUpdateAnexosTrabajoRequestBody, STB_DTH_ToaENTITY, STB_DTH_ToaPlanta, STB_DTH_ToaUbicacion, SalidaAlmacenENTITY, ScrapingCredentialENTITY, SegmentoDBDTO, SeguimientoObraDTO, SiNoEnum, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SmartDateTransformer, SocketDTO, SolicitudDto, SomacylEntregablesDTO, SomacylOrderENTITY, StateBantel, StateFibramas, StateInternalOrder, StateInternalOrderClienteWAOO, StateInternalOrderSomacyl, StateInternalOrderTOA, StateInventory, StateMifibra, StateServiceFibramas, StateWin, StatuDto, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, StockQuantityEmployeeDTO, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, SummaryDTO, TOAClaroOrderStockENTITY, TOAOrdenLiquidacionENTITY, TOAOrdenLiquidacionENTITYDB, TOAOrderStockENTITY, TUVESOrdReclMatDescargadoDTO, TUVESOrdReclamosFinDTO, TecnicoValDTO, TerminoPagoDto, ThemeConfigCountryENTITY, TipoActividadMOENTITY, TipoAlmacenDTO, TipoAlmacenENTITY, TipoClaveENTITY, TipoCompraDto, TipoConsumoMaterial, TipoDocumentoDto, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoEspecialidadMOENTITY, TipoFamiliaDto, TipoGranFamiliaDto, TipoItemDto, type TipoLiq, TipoMOPCIssueDTO, TipoMOPCMODTO, TipoMiembroGrupoEmpresaDTO, TipoMovilCuadrillaDTO, TipoMovilENTITY, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenDatosTrabajoDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoObraENTITY, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoOperacionDto, TipoProductoDto, TipoSistemaDTO, TipoStockENTITY, TipoStockStockPersonalDTO, TipoStockStockPersonalDatosTrabajoDTO, TipoSubFamiliaDto, type TipoVal, TipoVarianteDto, Tipo_MO, ToaClaroENTITY, ToaSegmentoDBDTO, ToaSegmentoDTO, TotBaremosDTO, TotalGeneralObraAlemaniaDTO, TotalGeneralObraChile9512DTO, TotalGeneralObraChileDTO, TotalGeneralObraColombia9612DTO, TotalGeneralObraColombiaDTO, TotalGeneralObraDTO, TotalGeneralObraPeru9112DTO, TotalGeneralObraPeruDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TrabajoHechoEnum, TrabajoMacroObraAlemaniaENTITY, TrabajoMacroObraENTITY, TransaccionFoliosENTITY, TransaccionesDTO, TuvesENTITY, TuvesOrdEqFinalizadasDTO, TuvesOrdEqMatDescargadosDTO, TuvesOrderStockENTITY, UOMaterialesExcelDTO, UO_MaterialesENTITY, UbicacionAlmacenDTO, UbicacionBantelDTO, UbicacionDTO, UbicacionMifibraDBDTO, UbicacionObraDTO, UbicacionPresupuestoDTO, UbicacionSomacylDTO, UbicacionTdCDTO, UbicaciontoaDBDTO, UbicaciontoaDTO, UbicacionwinDBDTO, UbicacionwinDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultima_PreLiquidacionDTO$1 as Ultima_PreLiquidacionDTO, Ultima_PreLiquidacionTMOAlemaniaDTO, Ultima_asignacionAlemaniaDTO, Ultima_asignacionDTO$1 as Ultima_asignacionDTO, UltimoEstadoClienteDTO, Ultimo_Estado_InternoDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO, UnidadMedidaENTITY, UnidadMedidaLiberacionPagosDTO, UnidadObraENTITY, UnidadObraMaterialENTITY, UpdateDto, UpdateEstadoInternoObraRequestDTO, UpdateUltimaFaseFacturacionDTO, UserDto, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, enumToArray, hydrate, latLngDTO, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom };
|
|
9439
|
+
declare function validateRequestBody(dtoClass: any, BadRequestException: any, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
9440
|
+
|
|
9441
|
+
export { ADM_RM_ZonasActividadENTITY, AcceptedDto, AccesortiosBantelDTO, AccesortiosMifibraDBDTO, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddMOPContrataMODTO, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AjusteReprocesoDTO, AlbaranDto, AlmacenDTO, AlmacenDto, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenRequerimientoDto, AlmacenUsuarioGIADTO, AnexoPreOrdenDto, AnexosDTO, AnexosDetailMantenanceOrderDTO, AprobacionDto, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AutoInventarioENTITY, BankVendorDto, BantelENTITY, BaremoAlemaniaENTITY, BaremoProcessENTITY, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraDto, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, CHILE_9512_PaquetizadoManoObraENTITY, CHILE_9512_PaquetizadoMaterialENTITY, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsAlemaniaDTO, CalculatePercentsColombiaDTO, CalculatePercentsDTO, CalculatePercentsPeruDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CargoPersonalENTITY, CategoriaDto, CausacionCubicacionColombiaDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeStateBaremosDTO, ChileTdCENTITY, ClienteDTO, ClienteTdCDTO, ClienteWAOOENTITY, Cliente_ContratistaDTO, ClosedDto, CodeNameDto, CodeNameMinLengthDto, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloAlemaniaDTO, CodigoTituloColombiaDTO, CodigoTituloDTO, ComparativoDto, CondicionDTO, ConsumoMaterialAlemaniaENTITY, ConsumoMaterialENTITY, ConsumosMaterialDTO, ConsumosMaterialExcelDTO, ConsumosP117ENTITY, ContabilizadoDto, ContratistaDTO, ContratistasDTO, Contratistas_PE_DTO, ContratoDTO, ContratoOTDTO, ContratoOTENTITY, ContratoOTGeneralDTO, ContratoOT_PRE_DTO, ContratoOT_ZT_DTO, ContratoObraOTDTO, ContratoPagosENTITY, Contrato_DTO, ConversionLogisticaDTO, CoordenadasDTO, CoordenadasTdCDTO, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CotizacionDto, CrearNavisionpreordenEntityRequestDto, CuadrillaBaremoDTO, CuadrillaDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CuadrillaRegularizarDTO, CuadrillasDTO, CubicacionAlemaniaAL02ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataChildrenTreeNodesAlemaniaDTO, DataChildrenTreeNodesColombiaDTO, DataDocumentacionDTO, DataDocumentacionPeruDTO, DataGridTabBusinessHP, DataGridTabBusinessHPPeruDTO, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemAlemaniaDTO, DataWithPercentItemChile, DataWithPercentItemColombiaDTO, DataWithPercentItemPeruDTO, DateDto, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosEmpresaDto, DatosFacturacionDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosIssueProduccionDTO, DatosIssueProduccionEmpresaDTO, DatosJefeObraDto, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosNavDto, DatosPagoDto, DatosPaiDto, DatosPersonalDto, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoDto, DatosTrabajoRequerimientoDto, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionDto, DelegacionEntity, DelegacionZonalesDTO, DeleteBaremoFaseDTO, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAlbaranDTO, DetalleAlemaniaDTO, DetalleAtipicaDTO, DetalleAtipicaPeruDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChilePeruObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCotizacionDto, DetalleCubicajeDTO, DetalleDTO, DetalleDto, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetallePeruDTO, DetallePeruFechasDTO, DetalleProductoDto, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DireccionDTO, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteAlemaniaDTO, DocumentoDetalleClienteColombiaDTO, DocumentoDetalleClienteDTO, DocumentoDetalleClientePeruDTO, DocumentoDetalleNoClienteAlemaniaDTO, DocumentoDetalleNoClienteColombiaDTO, DocumentoDetalleNoClienteDTO, DocumentoDetalleNoClientePeruDTO, DocumentosInicialesDTO, DocumentosInicialesPeruDTO, EECCBantelDTO, EECCClienteWAOODTO, EECCDBMIFIBRADTO, EECCDBTOADTO, EECCDBWINDTO, EECCFibramasDBDTO, EECC_DTO, EFaseObraBaremo, EmisionDto, EmpalmeDTO, EmpresaBaremoDTO, EmpresaDTO, EmpresaENTITY, EmpresaGanadoraDto, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaPersonalDatosTrabajoDTO, EmpresaProduccionDTO, EmpresaRegularizarDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EncargadoDTO, EncargadoRegularizarDTO, EnviarNavDto, EquipoLogisticaDTO, EquipoSerieDto, EquiposAIDTO, EquiposDTO, EspecialidadDTO, EstadoAntiguoDTO, EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoObraDTO, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, EstadoProcesoValPeru, EstadoProcesoValPeruDTO, EstadoProcesoValSomacyl, EstadoProcesoValSomacylDTO, EstadoSerieDto, type EstadoVal, Estado_Model_MO, EstadosTuvesEnum, FacturaDto, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasePagoDTO, FasesObraBaremoDTO, FasesType, FechaDTO, FechaEntregaDto, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FileDto, FilesDocDTO, FlagsDTO, FlujoDocDTO, FlujoDto, ForceString, FormaPagoDto, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO, GOMDTO, GemeindeENTITY, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistorialEstadosBantelDTO, HistorialEstadosMifibraDBDTO, HistorialEstadoswinDBDTO, HistorialEstadoswinDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, HomePassDTO$1 as HomePassDTO, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetTdC, IDataSheetTiemposCumplimentados, ISheetsJsonChileTdC, IconoDto, ImgLogoNavBarDTO, ImporteDto, IncidenciasAlemaniaDTO, IncidenciasChileDTO, IncidenciasColombiaDTO, IncidenciasDTO, IncidenciasPeruDTO, IngresoAlmacenENTITY, InventarioDTO, InventarioExistenteDTO, InventarioLiqDTO, InventarioValDTO, IssueENTITY, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemEspañaENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, JobMacroByGemeindeRequestDTO, KCMActividadDTO, KeyDTO, KeyIntegracionENTITY, KitConsumoMaterialENTITY, LiberacionDePagosAlemaniaENTITY, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoginDto, LoteDTO$1 as LoteDTO, MOBaremoDTO, MOChileVigenciaDTO, MacroObraAlemaniaENTITY, MacroObraChileENTITY, MacroObraColombiaENTITY, MacroObraENTITY, MacroObraPeruENTITY, MailStructureENTITY, ManoObraAlemaniaENTITY, ManoObraBaremoDTO, ManoObraBaremoENTITY, ManoObraBaremoProduccionDTO, ManoObraBaseENTITY, ManoObraENTITY, ManoObraGlobalDTO, ManoObraGlobalENTITY, ManoObraGlobalPCIssueAlemaniaAL02DTO, ManoObraGlobalPCIssueDTO, ManoObraGlobalPCMOAlemaniaAL02DTO, ManoObraGlobalPCMODTO, ManoObraGlobalPCMOEspania1729DTO, ManoObraLiberacionPagosDTO, ManoObraMttoENTITY, ManoObraPorUnidadObraENTITY, MarcaDTO, MaterialAmapDTO, MaterialAmapMODTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesBantelDTO, MaterialesClaroDTO, MaterialesClienteWAOODTO, MaterialesConsumoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MaterialesFibramasDBDTO, MaterialesFibramasDTO, MaterialesMifibraDBDTO, MaterialesSomacylDTO, MaterialestoaDBDTO, MaterialestoaDTO, MaterialeswinDBDTO, MaterialeswinDTO, MateterialesTuvesDTO, MedidorDTO, MetadataUOMaterialDTO, MiFibraENTITYDB, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MonedaDto, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, MovimientoDto, MovimientosRecepcionDto, NavDto, NavisionBitacoraFileDto, NavisionDateRegistryDto, NavisionMovimientoAlmacenDTO, NavisionPersonalLogisticaDTO, NavisionRegistryDateDto, NavisionUserRegistryDto, NavisionpreordenEntity, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, ObraPeru9112ENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdReclMatDescargadoDTO, OrdenDetailMaintenanceDTO, OrdenDto, OrdenesInstalacionDTO, OrderStockENTITY, OrderStockStoreENTITY, OrigenCUB, OtDto, PBbyMaterialQuantitiesDTO, PBbyMaterialQuantitiesSomacylDTO, PagosECBaremoDTO, PagosECDTO, PaisStockPersonalDTO, ParteDiarioDTO, PasosDTO, type PayloadTokenDTO, PayloadTokenDto, PedidoCompraDto, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$2 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonalCuadrillaDTO, PersonalDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, Peru9112FibramasENTITY, Peru9112FibramasENTITYDB, Peru9112TOAENTITY, Peru9112TOAENTITYDB, Peru9112WinENTITY, Peru9112WinENTITYDB, PlantaDBDTO, PlantaDTO, PlantaSomacylDTO, PreAcceptedDto, PrecioActualDTO, PrecioAgencia_mam_onnetENTITY, PrecioContratistaIssueAL02ENTITY, PrecioContratistaIssueENTITY, PrecioContratistaMOAL02ENTITY, PrecioContratistaMOAL04ENTITY, PrecioContratistaMOENTITY, PrecioContratistaMOESPANIA1729ENTITY, PrecioContratistaMaterialENTITY, PrecioDTO, PrecioEmpresaDTO, PrecioEspecialidadENTITY, PrecioManoObraENTITY, PrecioMaterialENTITY, PrecioTrabajoDTO, PrecioUOMaterialesDTO, PreciosVigentesDTO, PresupuestadoTotalObraAlemaniaDTO, PresupuestadoTotalObraChilaDTO, PresupuestadoTotalObraColombiaDTO, PresupuestadoTotalObraDTO, PresupuestadoTotalObraEmpresaAlemaniaDTO, PresupuestadoTotalObraEmpresaChileDTO, PresupuestadoTotalObraEmpresaColombiaDTO, PresupuestadoTotalObraEmpresaCuadrillaAlemaniaDTO, PresupuestadoTotalObraEmpresaCuadrillaChileDTO, PresupuestadoTotalObraEmpresaCuadrillaColombiaDTO, PresupuestadoTotalObraEmpresaCuadrillaDTO, PresupuestadoTotalObraEmpresaCuadrillaPeruDTO, PresupuestadoTotalObraEmpresaDTO, PresupuestadoTotalObraEmpresaPeruDTO, PresupuestadoTotalObraPeruDTO, PresupuestoDTO, PresupuestoOTENTITY, PrioridadNotificacion, ProcedenciaDto, ProdCursoBaremoFasesCuadrillaDTO, ProdCursoBaremoFasesManoObraDTO, ProdCursoBaremoFasesPeriodoDTO, ProdCursoBaremoFasesUltimaFaseDTO, ProdCursoBaremoFasesUltimoEstadoInternoDTO, ProduccionDTO, ProductoDto, ProductosServiciosContratadoDBDTO, ProductosServiciosContratadoDTO, ProductosServiciosContratadoSomacylDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RawLiqPenBantelDTO, RawLiqPenDTO, RawParteDiarioBantelDTO, RawParteDiarioDTO, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RepresentanteLegalDTO, RequeridoEnum, RequerimientoDto, RequestDataMigrationDTO, RequestNumberTTLENTITY, ReservaENTITY, ReservaManoObraRegularizacionENTITY, ResponseSignInDto, ResultadoDTO, ResumemENTITY, ResumenAvanceAlemaniaDTO, ResumenAvanceChileDTO, ResumenAvanceColombiaDTO, ResumenAvanceDataDocumentacionAlemaniaDTO, ResumenAvanceDataDocumentacionColombiaDTO, ResumenAvanceDataDocumentacionDTO, ResumenAvanceDataDocumentacionDataGroupToDrawAlemaniaDTO, ResumenAvanceDataDocumentacionDataGroupToDrawColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsAlemaniaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesAlemaniaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesChileDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsByFasesPeruDTO, ResumenAvanceDataDocumentacionDataWithPercentsChile, ResumenAvanceDataDocumentacionDataWithPercentsColombiaDTO, ResumenAvanceDataDocumentacionDataWithPercentsPeruDTO, ResumenAvanceDataDocumentacionPeruDTO, ResumenAvanceDataGranTotal, ResumenAvanceDataGranTotalAlemaniaDTO, ResumenAvanceDataGranTotalColombiaDTO, ResumenAvanceDataGranTotalEmpresasAlemaniaDTO, ResumenAvanceDataGranTotalEmpresasChileDTO, ResumenAvanceDataGranTotalEmpresasColombiaDTO, ResumenAvanceDataGranTotalEmpresasPeruDTO, ResumenAvanceDataGranTotalManoObraAlemaniaDTO, ResumenAvanceDataGranTotalManoObraCHILEDTO, ResumenAvanceDataGranTotalManoObraColombiaDTO, ResumenAvanceDataGranTotalManoObraPeruDTO, ResumenAvanceDataGranTotalPeruDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosAlemaniaDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosColombiaDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosDTO, ResumenAvanceDataGranTotalValorizacionesByPeriodosPeruDTO, ResumenAvancePeruDTO, ResumenProcessENTITY, ResumentAvanceDocumentacionHPAlemaniaDTO, ResumentAvanceDocumentacionHPColombiaDTO, ResumentAvanceDocumentacionHPDTO, ResumentAvanceDocumentacionHPPeruDTO, RptProduccionCurso_Baremos_FasesENTITY, SEUpdateAnexosObraRequestBody, SEUpdateAnexosTrabajoRequestBody, STB_DTH_ToaENTITY, STB_DTH_ToaPlanta, STB_DTH_ToaUbicacion, SalidaAlmacenENTITY, ScrapingCredentialENTITY, SegmentoDBDTO, SeguimientoObraDTO, SiNoEnum, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SmartDateTransformer, SocketDTO, SolicitudDto, SomacylEntregablesDTO, SomacylOrderENTITY, StateBantel, StateFibramas, StateInternalOrder, StateInternalOrderClienteWAOO, StateInternalOrderSomacyl, StateInternalOrderTOA, StateInventory, StateMifibra, StateServiceFibramas, StateWin, StatuDto, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, StockQuantityEmployeeDTO, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, SummaryDTO, TOAClaroOrderStockENTITY, TOAOrdenLiquidacionENTITY, TOAOrdenLiquidacionENTITYDB, TOAOrderStockENTITY, TUVESOrdReclMatDescargadoDTO, TUVESOrdReclamosFinDTO, TecnicoValDTO, TerminoPagoDto, ThemeConfigCountryENTITY, TipoActividadMOENTITY, TipoAlmacenDTO, TipoAlmacenENTITY, TipoClaveENTITY, TipoCompraDto, TipoConsumoMaterial, TipoDocumentoDto, TipoDocumentoIdentidadDTO, TipoDocumentoUsuarioDTO, TipoEmpresaDTO, TipoEspecialidadMOENTITY, TipoFamiliaDto, TipoGranFamiliaDto, TipoItemDto, type TipoLiq, TipoMOPCIssueDTO, TipoMOPCMODTO, TipoMiembroGrupoEmpresaDTO, TipoMovilCuadrillaDTO, TipoMovilENTITY, TipoMovimientoAlmacenDTO, TipoMovimientoAlmacenDatosTrabajoDTO, TipoMovimientoAlmacenENTITY, TipoNotificacion, TipoObraENTITY, TipoOpcionDTO, TipoOpcionSistemaENTITY, TipoOperacionDto, TipoProductoDto, TipoSistemaDTO, TipoStockENTITY, TipoStockStockPersonalDTO, TipoStockStockPersonalDatosTrabajoDTO, TipoSubFamiliaDto, type TipoVal, TipoVarianteDto, Tipo_MO, ToaClaroENTITY, ToaSegmentoDBDTO, ToaSegmentoDTO, TotBaremosDTO, TotalGeneralObraAlemaniaDTO, TotalGeneralObraChile9512DTO, TotalGeneralObraChileDTO, TotalGeneralObraColombia9612DTO, TotalGeneralObraColombiaDTO, TotalGeneralObraDTO, TotalGeneralObraPeru9112DTO, TotalGeneralObraPeruDTO, TrabajoAlemaniaENTITY, TrabajoENTITY, TrabajoHechoEnum, TrabajoMacroObraAlemaniaENTITY, TrabajoMacroObraENTITY, TransaccionFoliosENTITY, TransaccionesDTO, TuvesENTITY, TuvesOrdEqFinalizadasDTO, TuvesOrdEqMatDescargadosDTO, TuvesOrderStockENTITY, UOMaterialesExcelDTO, UO_MaterialesENTITY, UbicacionAlmacenDTO, UbicacionBantelDTO, UbicacionDTO, UbicacionMifibraDBDTO, UbicacionObraDTO, UbicacionPresupuestoDTO, UbicacionSomacylDTO, UbicacionTdCDTO, UbicaciontoaDBDTO, UbicaciontoaDTO, UbicacionwinDBDTO, UbicacionwinDTO, Ultima_FaseLiberacionPagosDTO, Ultima_PreLiquidacionAlemaniaDTO, Ultima_PreLiquidacionDTO$1 as Ultima_PreLiquidacionDTO, Ultima_PreLiquidacionTMOAlemaniaDTO, Ultima_asignacionAlemaniaDTO, Ultima_asignacionDTO$1 as Ultima_asignacionDTO, UltimoEstadoClienteDTO, Ultimo_Estado_InternoDTO, Ultimo_Estado_InternoLiberacionPagosDTO, UnidadMedidaDTO, UnidadMedidaENTITY, UnidadMedidaLiberacionPagosDTO, UnidadObraENTITY, UnidadObraMaterialENTITY, UpdateDto, UpdateEstadoInternoObraRequestDTO, UpdateUltimaFaseFacturacionDTO, UserDto, UserEntity, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, enumToArray, hydrate, latLngDTO, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.js
CHANGED
|
@@ -115,10 +115,10 @@ __export(index_exports, {
|
|
|
115
115
|
ClienteWAOOENTITY: () => ClienteWAOOENTITY,
|
|
116
116
|
Cliente_ContratistaDTO: () => Cliente_ContratistaDTO,
|
|
117
117
|
ClosedDto: () => ClosedDto,
|
|
118
|
+
CodeNameDto: () => CodeNameDto,
|
|
119
|
+
CodeNameMinLengthDto: () => CodeNameMinLengthDto,
|
|
118
120
|
CodigoDescripcionDTO: () => CodigoDescripcionDTO,
|
|
119
121
|
CodigoNombreDTO: () => CodigoNombreDTO,
|
|
120
|
-
CodigoNombreDto: () => CodigoNombreDto,
|
|
121
|
-
CodigoNombreMinLengthDto: () => CodigoNombreMinLengthDto,
|
|
122
122
|
CodigoNombreUMDTO: () => CodigoNombreUMDTO,
|
|
123
123
|
CodigoRazonSocialDTO: () => CodigoRazonSocialDTO,
|
|
124
124
|
CodigoTituloAlemaniaDTO: () => CodigoTituloAlemaniaDTO,
|
|
@@ -776,6 +776,7 @@ __export(index_exports, {
|
|
|
776
776
|
UpdateEstadoInternoObraRequestDTO: () => UpdateEstadoInternoObraRequestDTO,
|
|
777
777
|
UpdateUltimaFaseFacturacionDTO: () => UpdateUltimaFaseFacturacionDTO,
|
|
778
778
|
UserDto: () => UserDto,
|
|
779
|
+
UserEntity: () => UserEntity,
|
|
779
780
|
UsuarioBaremoDTO: () => UsuarioBaremoDTO,
|
|
780
781
|
UsuarioBitacoraDTO: () => UsuarioBitacoraDTO,
|
|
781
782
|
UsuarioDTO: () => UsuarioDTO,
|
|
@@ -828,7 +829,8 @@ __export(index_exports, {
|
|
|
828
829
|
trimAndUpperCaseString: () => trimAndUpperCaseString,
|
|
829
830
|
validateAndFormatData: () => validateAndFormatData,
|
|
830
831
|
validateArrayBody: () => validateArrayBody,
|
|
831
|
-
validateCustom: () => validateCustom
|
|
832
|
+
validateCustom: () => validateCustom,
|
|
833
|
+
validateRequestBody: () => validateRequestBody
|
|
832
834
|
});
|
|
833
835
|
module.exports = __toCommonJS(index_exports);
|
|
834
836
|
var import_reflect_metadata44 = require("reflect-metadata");
|
|
@@ -49903,28 +49905,28 @@ __decorateClass([
|
|
|
49903
49905
|
// src/v2/dtos/CodigoNombre.ts
|
|
49904
49906
|
var import_class_transformer780 = require("class-transformer");
|
|
49905
49907
|
var import_class_validator757 = require("class-validator");
|
|
49906
|
-
var
|
|
49907
|
-
|
|
49908
|
-
|
|
49908
|
+
var CodeNameDto = class {
|
|
49909
|
+
code;
|
|
49910
|
+
name;
|
|
49909
49911
|
};
|
|
49910
49912
|
__decorateClass([
|
|
49911
49913
|
(0, import_class_validator757.IsDefined)({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
49912
49914
|
(0, import_class_validator757.IsString)({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
49913
49915
|
(0, import_class_transformer780.Expose)()
|
|
49914
|
-
],
|
|
49916
|
+
], CodeNameDto.prototype, "code", 2);
|
|
49915
49917
|
__decorateClass([
|
|
49916
49918
|
(0, import_class_validator757.IsDefined)({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
49917
49919
|
(0, import_class_validator757.IsString)({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
49918
49920
|
(0, import_class_transformer780.Expose)()
|
|
49919
|
-
],
|
|
49920
|
-
var
|
|
49921
|
+
], CodeNameDto.prototype, "name", 2);
|
|
49922
|
+
var CodeNameMinLengthDto = class extends CodeNameDto {
|
|
49921
49923
|
};
|
|
49922
49924
|
__decorateClass([
|
|
49923
49925
|
(0, import_class_validator757.MinLength)(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' })
|
|
49924
|
-
],
|
|
49926
|
+
], CodeNameMinLengthDto.prototype, "code", 2);
|
|
49925
49927
|
__decorateClass([
|
|
49926
49928
|
(0, import_class_validator757.MinLength)(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' })
|
|
49927
|
-
],
|
|
49929
|
+
], CodeNameMinLengthDto.prototype, "name", 2);
|
|
49928
49930
|
|
|
49929
49931
|
// src/v2/entities/Delegacion.ts
|
|
49930
49932
|
var import_class_transformer782 = require("class-transformer");
|
|
@@ -49935,7 +49937,7 @@ var import_class_transformer781 = require("class-transformer");
|
|
|
49935
49937
|
var import_class_validator758 = require("class-validator");
|
|
49936
49938
|
var BaseEntity = class {
|
|
49937
49939
|
_id;
|
|
49938
|
-
|
|
49940
|
+
active;
|
|
49939
49941
|
};
|
|
49940
49942
|
__decorateClass([
|
|
49941
49943
|
(0, import_class_validator758.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
@@ -49946,7 +49948,7 @@ __decorateClass([
|
|
|
49946
49948
|
(0, import_class_validator758.IsDefined)({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
49947
49949
|
(0, import_class_validator758.IsBoolean)({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
49948
49950
|
(0, import_class_transformer781.Expose)()
|
|
49949
|
-
], BaseEntity.prototype, "
|
|
49951
|
+
], BaseEntity.prototype, "active", 2);
|
|
49950
49952
|
|
|
49951
49953
|
// src/v2/entities/Delegacion.ts
|
|
49952
49954
|
var DelegacionEntity = class extends BaseEntity {
|
|
@@ -49956,7 +49958,7 @@ var DelegacionEntity = class extends BaseEntity {
|
|
|
49956
49958
|
};
|
|
49957
49959
|
__decorateClass([
|
|
49958
49960
|
(0, import_class_validator759.IsDefined)({ message: 'La propiedad "pais" es obligatoria.' }),
|
|
49959
|
-
(0, import_class_transformer782.Type)(() =>
|
|
49961
|
+
(0, import_class_transformer782.Type)(() => CodeNameMinLengthDto),
|
|
49960
49962
|
(0, import_class_validator759.IsObject)({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
49961
49963
|
(0, import_class_validator759.ValidateNested)({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
49962
49964
|
(0, import_class_transformer782.Expose)()
|
|
@@ -49974,9 +49976,59 @@ __decorateClass([
|
|
|
49974
49976
|
(0, import_class_transformer782.Expose)()
|
|
49975
49977
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
49976
49978
|
|
|
49977
|
-
// src/v2/
|
|
49978
|
-
var import_class_transformer783 = require("class-transformer");
|
|
49979
|
+
// src/v2/entities/User.ts
|
|
49979
49980
|
var import_class_validator760 = require("class-validator");
|
|
49981
|
+
var import_class_transformer783 = require("class-transformer");
|
|
49982
|
+
var UserEntity = class extends BaseEntity {
|
|
49983
|
+
email;
|
|
49984
|
+
password;
|
|
49985
|
+
paternalLastName;
|
|
49986
|
+
maternalLastName;
|
|
49987
|
+
firstNames;
|
|
49988
|
+
identification;
|
|
49989
|
+
company;
|
|
49990
|
+
};
|
|
49991
|
+
__decorateClass([
|
|
49992
|
+
(0, import_class_validator760.IsDefined)({ message: "El correo es requerido" }),
|
|
49993
|
+
(0, import_class_validator760.IsEmail)({}, { message: "El correo es invalido" }),
|
|
49994
|
+
(0, import_class_transformer783.Expose)()
|
|
49995
|
+
], UserEntity.prototype, "email", 2);
|
|
49996
|
+
__decorateClass([
|
|
49997
|
+
(0, import_class_validator760.IsDefined)({ message: "La contrase\xF1a es requerida" }),
|
|
49998
|
+
(0, import_class_validator760.IsString)({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
49999
|
+
(0, import_class_transformer783.Expose)()
|
|
50000
|
+
], UserEntity.prototype, "password", 2);
|
|
50001
|
+
__decorateClass([
|
|
50002
|
+
(0, import_class_validator760.IsDefined)({ message: "El apellido paterno es requerido" }),
|
|
50003
|
+
(0, import_class_validator760.IsString)({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
50004
|
+
(0, import_class_transformer783.Expose)()
|
|
50005
|
+
], UserEntity.prototype, "paternalLastName", 2);
|
|
50006
|
+
__decorateClass([
|
|
50007
|
+
(0, import_class_validator760.IsDefined)({ message: "El apellido materno es requerido" }),
|
|
50008
|
+
(0, import_class_validator760.IsString)({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
50009
|
+
(0, import_class_transformer783.Expose)()
|
|
50010
|
+
], UserEntity.prototype, "maternalLastName", 2);
|
|
50011
|
+
__decorateClass([
|
|
50012
|
+
(0, import_class_validator760.IsDefined)({ message: "El nombre es requerido" }),
|
|
50013
|
+
(0, import_class_validator760.IsString)({ message: "El nombre debe ser una cadena de texto" }),
|
|
50014
|
+
(0, import_class_transformer783.Expose)()
|
|
50015
|
+
], UserEntity.prototype, "firstNames", 2);
|
|
50016
|
+
__decorateClass([
|
|
50017
|
+
(0, import_class_validator760.IsDefined)({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
50018
|
+
(0, import_class_validator760.IsString)({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
50019
|
+
(0, import_class_transformer783.Expose)()
|
|
50020
|
+
], UserEntity.prototype, "identification", 2);
|
|
50021
|
+
__decorateClass([
|
|
50022
|
+
(0, import_class_validator760.IsDefined)({ message: "La empresa es requerida" }),
|
|
50023
|
+
(0, import_class_transformer783.Type)(() => CodeNameDto),
|
|
50024
|
+
(0, import_class_validator760.ValidateNested)(),
|
|
50025
|
+
(0, import_class_validator760.IsObject)(),
|
|
50026
|
+
(0, import_class_transformer783.Expose)()
|
|
50027
|
+
], UserEntity.prototype, "company", 2);
|
|
50028
|
+
|
|
50029
|
+
// src/v2/utils/validateCustom.ts
|
|
50030
|
+
var import_class_transformer784 = require("class-transformer");
|
|
50031
|
+
var import_class_validator761 = require("class-validator");
|
|
49980
50032
|
|
|
49981
50033
|
// src/v2/utils/getFirstError.ts
|
|
49982
50034
|
function getFirstError(errors, parentPath = "") {
|
|
@@ -49993,14 +50045,46 @@ function getFirstError(errors, parentPath = "") {
|
|
|
49993
50045
|
|
|
49994
50046
|
// src/v2/utils/validateCustom.ts
|
|
49995
50047
|
async function validateCustom(plain, cls, UnprocessableEntityException) {
|
|
49996
|
-
const instance = (0,
|
|
49997
|
-
const errors = await (0,
|
|
50048
|
+
const instance = (0, import_class_transformer784.plainToInstance)(cls, plain, { excludeExtraneousValues: true });
|
|
50049
|
+
const errors = await (0, import_class_validator761.validate)(instance);
|
|
49998
50050
|
if (errors.length) {
|
|
49999
50051
|
const msg = getFirstError(errors);
|
|
50000
50052
|
throw new UnprocessableEntityException(msg);
|
|
50001
50053
|
}
|
|
50002
50054
|
return instance;
|
|
50003
50055
|
}
|
|
50056
|
+
|
|
50057
|
+
// src/v2/middlewares/validateRequestBody.ts
|
|
50058
|
+
var import_class_transformer785 = require("class-transformer");
|
|
50059
|
+
var import_class_validator762 = require("class-validator");
|
|
50060
|
+
async function validateRequestBody(dtoClass, BadRequestException, req, _res, next) {
|
|
50061
|
+
try {
|
|
50062
|
+
if (Array.isArray(req.body)) {
|
|
50063
|
+
const newBody = [];
|
|
50064
|
+
for (const element of req.body) {
|
|
50065
|
+
const dtoInstance2 = (0, import_class_transformer785.plainToInstance)(dtoClass, element, { excludeExtraneousValues: true });
|
|
50066
|
+
const errors2 = await (0, import_class_validator762.validate)(dtoInstance2);
|
|
50067
|
+
if (errors2.length > 0) {
|
|
50068
|
+
const firstError = getFirstError(errors2);
|
|
50069
|
+
return next(new BadRequestException(firstError));
|
|
50070
|
+
}
|
|
50071
|
+
newBody.push(dtoInstance2);
|
|
50072
|
+
}
|
|
50073
|
+
req.body = newBody;
|
|
50074
|
+
return next();
|
|
50075
|
+
}
|
|
50076
|
+
const dtoInstance = (0, import_class_transformer785.plainToInstance)(dtoClass, req.body, { excludeExtraneousValues: true });
|
|
50077
|
+
const errors = await (0, import_class_validator762.validate)(dtoInstance);
|
|
50078
|
+
if (errors.length > 0) {
|
|
50079
|
+
const firstError = getFirstError(errors);
|
|
50080
|
+
return next(new BadRequestException(firstError));
|
|
50081
|
+
}
|
|
50082
|
+
req.body = dtoInstance;
|
|
50083
|
+
return next();
|
|
50084
|
+
} catch (error) {
|
|
50085
|
+
return next(new BadRequestException("Error interno de validaci\xF3n"));
|
|
50086
|
+
}
|
|
50087
|
+
}
|
|
50004
50088
|
// Annotate the CommonJS export names for ESM import in node:
|
|
50005
50089
|
0 && (module.exports = {
|
|
50006
50090
|
ADM_RM_ZonasActividadENTITY,
|
|
@@ -50090,10 +50174,10 @@ async function validateCustom(plain, cls, UnprocessableEntityException) {
|
|
|
50090
50174
|
ClienteWAOOENTITY,
|
|
50091
50175
|
Cliente_ContratistaDTO,
|
|
50092
50176
|
ClosedDto,
|
|
50177
|
+
CodeNameDto,
|
|
50178
|
+
CodeNameMinLengthDto,
|
|
50093
50179
|
CodigoDescripcionDTO,
|
|
50094
50180
|
CodigoNombreDTO,
|
|
50095
|
-
CodigoNombreDto,
|
|
50096
|
-
CodigoNombreMinLengthDto,
|
|
50097
50181
|
CodigoNombreUMDTO,
|
|
50098
50182
|
CodigoRazonSocialDTO,
|
|
50099
50183
|
CodigoTituloAlemaniaDTO,
|
|
@@ -50751,6 +50835,7 @@ async function validateCustom(plain, cls, UnprocessableEntityException) {
|
|
|
50751
50835
|
UpdateEstadoInternoObraRequestDTO,
|
|
50752
50836
|
UpdateUltimaFaseFacturacionDTO,
|
|
50753
50837
|
UserDto,
|
|
50838
|
+
UserEntity,
|
|
50754
50839
|
UsuarioBaremoDTO,
|
|
50755
50840
|
UsuarioBitacoraDTO,
|
|
50756
50841
|
UsuarioDTO,
|
|
@@ -50803,5 +50888,6 @@ async function validateCustom(plain, cls, UnprocessableEntityException) {
|
|
|
50803
50888
|
trimAndUpperCaseString,
|
|
50804
50889
|
validateAndFormatData,
|
|
50805
50890
|
validateArrayBody,
|
|
50806
|
-
validateCustom
|
|
50891
|
+
validateCustom,
|
|
50892
|
+
validateRequestBody
|
|
50807
50893
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -49433,28 +49433,28 @@ __decorateClass([
|
|
|
49433
49433
|
// src/v2/dtos/CodigoNombre.ts
|
|
49434
49434
|
import { Expose as Expose753 } from "class-transformer";
|
|
49435
49435
|
import { IsDefined as IsDefined255, IsString as IsString622, MinLength as MinLength56 } from "class-validator";
|
|
49436
|
-
var
|
|
49437
|
-
|
|
49438
|
-
|
|
49436
|
+
var CodeNameDto = class {
|
|
49437
|
+
code;
|
|
49438
|
+
name;
|
|
49439
49439
|
};
|
|
49440
49440
|
__decorateClass([
|
|
49441
49441
|
IsDefined255({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
49442
49442
|
IsString622({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
49443
49443
|
Expose753()
|
|
49444
|
-
],
|
|
49444
|
+
], CodeNameDto.prototype, "code", 2);
|
|
49445
49445
|
__decorateClass([
|
|
49446
49446
|
IsDefined255({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
49447
49447
|
IsString622({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
49448
49448
|
Expose753()
|
|
49449
|
-
],
|
|
49450
|
-
var
|
|
49449
|
+
], CodeNameDto.prototype, "name", 2);
|
|
49450
|
+
var CodeNameMinLengthDto = class extends CodeNameDto {
|
|
49451
49451
|
};
|
|
49452
49452
|
__decorateClass([
|
|
49453
49453
|
MinLength56(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' })
|
|
49454
|
-
],
|
|
49454
|
+
], CodeNameMinLengthDto.prototype, "code", 2);
|
|
49455
49455
|
__decorateClass([
|
|
49456
49456
|
MinLength56(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' })
|
|
49457
|
-
],
|
|
49457
|
+
], CodeNameMinLengthDto.prototype, "name", 2);
|
|
49458
49458
|
|
|
49459
49459
|
// src/v2/entities/Delegacion.ts
|
|
49460
49460
|
import { Expose as Expose755, Type as Type474 } from "class-transformer";
|
|
@@ -49465,7 +49465,7 @@ import { Expose as Expose754 } from "class-transformer";
|
|
|
49465
49465
|
import { IsBoolean as IsBoolean69, IsDefined as IsDefined256, IsUUID as IsUUID18 } from "class-validator";
|
|
49466
49466
|
var BaseEntity = class {
|
|
49467
49467
|
_id;
|
|
49468
|
-
|
|
49468
|
+
active;
|
|
49469
49469
|
};
|
|
49470
49470
|
__decorateClass([
|
|
49471
49471
|
IsDefined256({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
@@ -49476,7 +49476,7 @@ __decorateClass([
|
|
|
49476
49476
|
IsDefined256({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
49477
49477
|
IsBoolean69({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
49478
49478
|
Expose754()
|
|
49479
|
-
], BaseEntity.prototype, "
|
|
49479
|
+
], BaseEntity.prototype, "active", 2);
|
|
49480
49480
|
|
|
49481
49481
|
// src/v2/entities/Delegacion.ts
|
|
49482
49482
|
var DelegacionEntity = class extends BaseEntity {
|
|
@@ -49486,7 +49486,7 @@ var DelegacionEntity = class extends BaseEntity {
|
|
|
49486
49486
|
};
|
|
49487
49487
|
__decorateClass([
|
|
49488
49488
|
IsDefined257({ message: 'La propiedad "pais" es obligatoria.' }),
|
|
49489
|
-
Type474(() =>
|
|
49489
|
+
Type474(() => CodeNameMinLengthDto),
|
|
49490
49490
|
IsObject14({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
49491
49491
|
ValidateNested414({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
49492
49492
|
Expose755()
|
|
@@ -49504,6 +49504,56 @@ __decorateClass([
|
|
|
49504
49504
|
Expose755()
|
|
49505
49505
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
49506
49506
|
|
|
49507
|
+
// src/v2/entities/User.ts
|
|
49508
|
+
import { IsDefined as IsDefined258, IsEmail as IsEmail5, IsObject as IsObject15, IsString as IsString624, ValidateNested as ValidateNested415 } from "class-validator";
|
|
49509
|
+
import { Expose as Expose756, Type as Type475 } from "class-transformer";
|
|
49510
|
+
var UserEntity = class extends BaseEntity {
|
|
49511
|
+
email;
|
|
49512
|
+
password;
|
|
49513
|
+
paternalLastName;
|
|
49514
|
+
maternalLastName;
|
|
49515
|
+
firstNames;
|
|
49516
|
+
identification;
|
|
49517
|
+
company;
|
|
49518
|
+
};
|
|
49519
|
+
__decorateClass([
|
|
49520
|
+
IsDefined258({ message: "El correo es requerido" }),
|
|
49521
|
+
IsEmail5({}, { message: "El correo es invalido" }),
|
|
49522
|
+
Expose756()
|
|
49523
|
+
], UserEntity.prototype, "email", 2);
|
|
49524
|
+
__decorateClass([
|
|
49525
|
+
IsDefined258({ message: "La contrase\xF1a es requerida" }),
|
|
49526
|
+
IsString624({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
49527
|
+
Expose756()
|
|
49528
|
+
], UserEntity.prototype, "password", 2);
|
|
49529
|
+
__decorateClass([
|
|
49530
|
+
IsDefined258({ message: "El apellido paterno es requerido" }),
|
|
49531
|
+
IsString624({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
49532
|
+
Expose756()
|
|
49533
|
+
], UserEntity.prototype, "paternalLastName", 2);
|
|
49534
|
+
__decorateClass([
|
|
49535
|
+
IsDefined258({ message: "El apellido materno es requerido" }),
|
|
49536
|
+
IsString624({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
49537
|
+
Expose756()
|
|
49538
|
+
], UserEntity.prototype, "maternalLastName", 2);
|
|
49539
|
+
__decorateClass([
|
|
49540
|
+
IsDefined258({ message: "El nombre es requerido" }),
|
|
49541
|
+
IsString624({ message: "El nombre debe ser una cadena de texto" }),
|
|
49542
|
+
Expose756()
|
|
49543
|
+
], UserEntity.prototype, "firstNames", 2);
|
|
49544
|
+
__decorateClass([
|
|
49545
|
+
IsDefined258({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
49546
|
+
IsString624({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
49547
|
+
Expose756()
|
|
49548
|
+
], UserEntity.prototype, "identification", 2);
|
|
49549
|
+
__decorateClass([
|
|
49550
|
+
IsDefined258({ message: "La empresa es requerida" }),
|
|
49551
|
+
Type475(() => CodeNameDto),
|
|
49552
|
+
ValidateNested415(),
|
|
49553
|
+
IsObject15(),
|
|
49554
|
+
Expose756()
|
|
49555
|
+
], UserEntity.prototype, "company", 2);
|
|
49556
|
+
|
|
49507
49557
|
// src/v2/utils/validateCustom.ts
|
|
49508
49558
|
import { plainToInstance as plainToInstance4 } from "class-transformer";
|
|
49509
49559
|
import { validate as validate3 } from "class-validator";
|
|
@@ -49531,6 +49581,38 @@ async function validateCustom(plain, cls, UnprocessableEntityException) {
|
|
|
49531
49581
|
}
|
|
49532
49582
|
return instance;
|
|
49533
49583
|
}
|
|
49584
|
+
|
|
49585
|
+
// src/v2/middlewares/validateRequestBody.ts
|
|
49586
|
+
import { plainToInstance as plainToInstance5 } from "class-transformer";
|
|
49587
|
+
import { validate as validate4 } from "class-validator";
|
|
49588
|
+
async function validateRequestBody(dtoClass, BadRequestException, req, _res, next) {
|
|
49589
|
+
try {
|
|
49590
|
+
if (Array.isArray(req.body)) {
|
|
49591
|
+
const newBody = [];
|
|
49592
|
+
for (const element of req.body) {
|
|
49593
|
+
const dtoInstance2 = plainToInstance5(dtoClass, element, { excludeExtraneousValues: true });
|
|
49594
|
+
const errors2 = await validate4(dtoInstance2);
|
|
49595
|
+
if (errors2.length > 0) {
|
|
49596
|
+
const firstError = getFirstError(errors2);
|
|
49597
|
+
return next(new BadRequestException(firstError));
|
|
49598
|
+
}
|
|
49599
|
+
newBody.push(dtoInstance2);
|
|
49600
|
+
}
|
|
49601
|
+
req.body = newBody;
|
|
49602
|
+
return next();
|
|
49603
|
+
}
|
|
49604
|
+
const dtoInstance = plainToInstance5(dtoClass, req.body, { excludeExtraneousValues: true });
|
|
49605
|
+
const errors = await validate4(dtoInstance);
|
|
49606
|
+
if (errors.length > 0) {
|
|
49607
|
+
const firstError = getFirstError(errors);
|
|
49608
|
+
return next(new BadRequestException(firstError));
|
|
49609
|
+
}
|
|
49610
|
+
req.body = dtoInstance;
|
|
49611
|
+
return next();
|
|
49612
|
+
} catch (error) {
|
|
49613
|
+
return next(new BadRequestException("Error interno de validaci\xF3n"));
|
|
49614
|
+
}
|
|
49615
|
+
}
|
|
49534
49616
|
export {
|
|
49535
49617
|
ADM_RM_ZonasActividadENTITY,
|
|
49536
49618
|
AcceptedDto,
|
|
@@ -49619,10 +49701,10 @@ export {
|
|
|
49619
49701
|
ClienteWAOOENTITY,
|
|
49620
49702
|
Cliente_ContratistaDTO,
|
|
49621
49703
|
ClosedDto,
|
|
49704
|
+
CodeNameDto,
|
|
49705
|
+
CodeNameMinLengthDto,
|
|
49622
49706
|
CodigoDescripcionDTO,
|
|
49623
49707
|
CodigoNombreDTO,
|
|
49624
|
-
CodigoNombreDto,
|
|
49625
|
-
CodigoNombreMinLengthDto,
|
|
49626
49708
|
CodigoNombreUMDTO,
|
|
49627
49709
|
CodigoRazonSocialDTO,
|
|
49628
49710
|
CodigoTituloAlemaniaDTO,
|
|
@@ -50280,6 +50362,7 @@ export {
|
|
|
50280
50362
|
UpdateEstadoInternoObraRequestDTO,
|
|
50281
50363
|
UpdateUltimaFaseFacturacionDTO,
|
|
50282
50364
|
UserDto,
|
|
50365
|
+
UserEntity,
|
|
50283
50366
|
UsuarioBaremoDTO,
|
|
50284
50367
|
UsuarioBitacoraDTO,
|
|
50285
50368
|
UsuarioDTO,
|
|
@@ -50332,5 +50415,6 @@ export {
|
|
|
50332
50415
|
trimAndUpperCaseString,
|
|
50333
50416
|
validateAndFormatData,
|
|
50334
50417
|
validateArrayBody,
|
|
50335
|
-
validateCustom
|
|
50418
|
+
validateCustom,
|
|
50419
|
+
validateRequestBody
|
|
50336
50420
|
};
|