sigo-entities 1.2.377 → 1.2.379
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 +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +128 -85
- package/dist/index.mjs +92 -52
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ClassConstructor } from 'class-transformer';
|
|
2
|
+
import { ValidationError } from 'class-validator';
|
|
2
3
|
import { Request, Response, NextFunction } from 'express';
|
|
3
4
|
|
|
4
5
|
declare class DestinatarioDTO {
|
|
@@ -9413,6 +9414,10 @@ declare class ResponseSignInDto {
|
|
|
9413
9414
|
user: PayloadTokenDto;
|
|
9414
9415
|
}
|
|
9415
9416
|
|
|
9417
|
+
declare class ForgotPasswordDto {
|
|
9418
|
+
email: string;
|
|
9419
|
+
}
|
|
9420
|
+
|
|
9416
9421
|
declare class BaseEntity {
|
|
9417
9422
|
_id: string;
|
|
9418
9423
|
active: boolean;
|
|
@@ -9438,6 +9443,10 @@ declare class UserEntity extends BaseEntity {
|
|
|
9438
9443
|
|
|
9439
9444
|
declare function validateCustom<T extends object>(plain: unknown, cls: ClassConstructor<T>, UnprocessableEntityException: ClassConstructor<Error>, groups?: string[]): Promise<T>;
|
|
9440
9445
|
|
|
9446
|
+
declare function removeUndefined<T>(obj: T): T;
|
|
9447
|
+
|
|
9448
|
+
declare function getFirstError(errors: ValidationError[], parentPath?: string): string | undefined;
|
|
9449
|
+
|
|
9441
9450
|
interface ValidateRequestBodyOptions<T extends object> {
|
|
9442
9451
|
dtoClass: ClassConstructor<T>;
|
|
9443
9452
|
BadRequestException: ClassConstructor<Error>;
|
|
@@ -9445,4 +9454,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
9445
9454
|
}
|
|
9446
9455
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
9447
9456
|
|
|
9448
|
-
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 };
|
|
9457
|
+
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, ForgotPasswordDto, 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, getFirstError, hydrate, latLngDTO, removeUndefined, 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 { ValidationError } from 'class-validator';
|
|
2
3
|
import { Request, Response, NextFunction } from 'express';
|
|
3
4
|
|
|
4
5
|
declare class DestinatarioDTO {
|
|
@@ -9413,6 +9414,10 @@ declare class ResponseSignInDto {
|
|
|
9413
9414
|
user: PayloadTokenDto;
|
|
9414
9415
|
}
|
|
9415
9416
|
|
|
9417
|
+
declare class ForgotPasswordDto {
|
|
9418
|
+
email: string;
|
|
9419
|
+
}
|
|
9420
|
+
|
|
9416
9421
|
declare class BaseEntity {
|
|
9417
9422
|
_id: string;
|
|
9418
9423
|
active: boolean;
|
|
@@ -9438,6 +9443,10 @@ declare class UserEntity extends BaseEntity {
|
|
|
9438
9443
|
|
|
9439
9444
|
declare function validateCustom<T extends object>(plain: unknown, cls: ClassConstructor<T>, UnprocessableEntityException: ClassConstructor<Error>, groups?: string[]): Promise<T>;
|
|
9440
9445
|
|
|
9446
|
+
declare function removeUndefined<T>(obj: T): T;
|
|
9447
|
+
|
|
9448
|
+
declare function getFirstError(errors: ValidationError[], parentPath?: string): string | undefined;
|
|
9449
|
+
|
|
9441
9450
|
interface ValidateRequestBodyOptions<T extends object> {
|
|
9442
9451
|
dtoClass: ClassConstructor<T>;
|
|
9443
9452
|
BadRequestException: ClassConstructor<Error>;
|
|
@@ -9445,4 +9454,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
9445
9454
|
}
|
|
9446
9455
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
9447
9456
|
|
|
9448
|
-
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 };
|
|
9457
|
+
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, ForgotPasswordDto, 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, getFirstError, hydrate, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.js
CHANGED
|
@@ -326,6 +326,7 @@ __export(index_exports, {
|
|
|
326
326
|
FlujoDocDTO: () => FlujoDocDTO,
|
|
327
327
|
FlujoDto: () => FlujoDto,
|
|
328
328
|
ForceString: () => ForceString,
|
|
329
|
+
ForgotPasswordDto: () => ForgotPasswordDto,
|
|
329
330
|
FormaPagoDto: () => FormaPagoDto,
|
|
330
331
|
FotoDTO: () => FotoDTO,
|
|
331
332
|
FotosDTO: () => FotosDTO,
|
|
@@ -823,8 +824,10 @@ __export(index_exports, {
|
|
|
823
824
|
convertStringsToDates: () => convertStringsToDates,
|
|
824
825
|
convertTypeNumber: () => convertTypeNumber,
|
|
825
826
|
enumToArray: () => enumToArray,
|
|
827
|
+
getFirstError: () => getFirstError,
|
|
826
828
|
hydrate: () => hydrate,
|
|
827
829
|
latLngDTO: () => latLngDTO,
|
|
830
|
+
removeUndefined: () => removeUndefined,
|
|
828
831
|
transformToDateIfEmpty: () => transformToDateIfEmpty,
|
|
829
832
|
trimAndUpperCaseString: () => trimAndUpperCaseString,
|
|
830
833
|
validateAndFormatData: () => validateAndFormatData,
|
|
@@ -49841,16 +49844,16 @@ var LoginDto = class {
|
|
|
49841
49844
|
password = "";
|
|
49842
49845
|
};
|
|
49843
49846
|
__decorateClass([
|
|
49844
|
-
(0, import_class_transformer779.Transform)(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value
|
|
49845
|
-
(0, import_class_validator756.IsDefined)({ message: "Debe proporcionar un email"
|
|
49846
|
-
(0, import_class_validator756.IsEmail)({}, { message: "El email es inv\xE1lido"
|
|
49847
|
-
(0, import_class_transformer779.Expose)(
|
|
49847
|
+
(0, import_class_transformer779.Transform)(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
49848
|
+
(0, import_class_validator756.IsDefined)({ message: "Debe proporcionar un email" }),
|
|
49849
|
+
(0, import_class_validator756.IsEmail)({}, { message: "El email es inv\xE1lido" }),
|
|
49850
|
+
(0, import_class_transformer779.Expose)()
|
|
49848
49851
|
], LoginDto.prototype, "email", 2);
|
|
49849
49852
|
__decorateClass([
|
|
49850
|
-
(0, import_class_transformer779.Transform)(({ value }) => typeof value === "string" ? value.trim() : value
|
|
49851
|
-
(0, import_class_validator756.IsDefined)({ message: "Debe proporcionar una contrase\xF1a"
|
|
49852
|
-
(0, import_class_validator756.Length)(8, 20, { message: "La contrase\xF1a debe tener entre 8 y 20 caracteres"
|
|
49853
|
-
(0, import_class_transformer779.Expose)(
|
|
49853
|
+
(0, import_class_transformer779.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49854
|
+
(0, import_class_validator756.IsDefined)({ message: "Debe proporcionar una contrase\xF1a" }),
|
|
49855
|
+
(0, import_class_validator756.Length)(8, 20, { message: "La contrase\xF1a debe tener entre 8 y 20 caracteres" }),
|
|
49856
|
+
(0, import_class_transformer779.Expose)()
|
|
49854
49857
|
], LoginDto.prototype, "password", 2);
|
|
49855
49858
|
|
|
49856
49859
|
// src/v2/dtos/PayloadToken.ts
|
|
@@ -49927,26 +49930,39 @@ __decorateClass([
|
|
|
49927
49930
|
(0, import_class_transformer781.Expose)()
|
|
49928
49931
|
], ResponseSignInDto.prototype, "user", 2);
|
|
49929
49932
|
|
|
49933
|
+
// src/v2/dtos/ForgotPassword.ts
|
|
49934
|
+
var import_class_transformer782 = require("class-transformer");
|
|
49935
|
+
var import_class_validator759 = require("class-validator");
|
|
49936
|
+
var ForgotPasswordDto = class {
|
|
49937
|
+
email = "";
|
|
49938
|
+
};
|
|
49939
|
+
__decorateClass([
|
|
49940
|
+
(0, import_class_transformer782.Transform)(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
49941
|
+
(0, import_class_validator759.IsDefined)({ message: "Debe proporcionar un email" }),
|
|
49942
|
+
(0, import_class_validator759.IsEmail)({}, { message: "El email es inv\xE1lido" }),
|
|
49943
|
+
(0, import_class_transformer782.Expose)()
|
|
49944
|
+
], ForgotPasswordDto.prototype, "email", 2);
|
|
49945
|
+
|
|
49930
49946
|
// src/v2/entities/Delegacion.ts
|
|
49931
|
-
var
|
|
49932
|
-
var
|
|
49947
|
+
var import_class_transformer784 = require("class-transformer");
|
|
49948
|
+
var import_class_validator761 = require("class-validator");
|
|
49933
49949
|
|
|
49934
49950
|
// src/v2/entities/Base.ts
|
|
49935
|
-
var
|
|
49936
|
-
var
|
|
49951
|
+
var import_class_transformer783 = require("class-transformer");
|
|
49952
|
+
var import_class_validator760 = require("class-validator");
|
|
49937
49953
|
var BaseEntity = class {
|
|
49938
49954
|
_id;
|
|
49939
49955
|
active;
|
|
49940
49956
|
};
|
|
49941
49957
|
__decorateClass([
|
|
49942
|
-
(0,
|
|
49943
|
-
(0,
|
|
49944
|
-
(0,
|
|
49958
|
+
(0, import_class_validator760.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
49959
|
+
(0, import_class_validator760.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
49960
|
+
(0, import_class_transformer783.Expose)()
|
|
49945
49961
|
], BaseEntity.prototype, "_id", 2);
|
|
49946
49962
|
__decorateClass([
|
|
49947
|
-
(0,
|
|
49948
|
-
(0,
|
|
49949
|
-
(0,
|
|
49963
|
+
(0, import_class_validator760.IsDefined)({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
49964
|
+
(0, import_class_validator760.IsBoolean)({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
49965
|
+
(0, import_class_transformer783.Expose)()
|
|
49950
49966
|
], BaseEntity.prototype, "active", 2);
|
|
49951
49967
|
|
|
49952
49968
|
// src/v2/entities/Delegacion.ts
|
|
@@ -49956,28 +49972,28 @@ var DelegacionEntity = class extends BaseEntity {
|
|
|
49956
49972
|
nombre;
|
|
49957
49973
|
};
|
|
49958
49974
|
__decorateClass([
|
|
49959
|
-
(0,
|
|
49960
|
-
(0,
|
|
49961
|
-
(0,
|
|
49962
|
-
(0,
|
|
49963
|
-
(0,
|
|
49975
|
+
(0, import_class_validator761.IsDefined)({ message: 'La propiedad "pais" es obligatoria.' }),
|
|
49976
|
+
(0, import_class_transformer784.Type)(() => CodeNameMinLengthDto),
|
|
49977
|
+
(0, import_class_validator761.IsObject)({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
49978
|
+
(0, import_class_validator761.ValidateNested)({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
49979
|
+
(0, import_class_transformer784.Expose)()
|
|
49964
49980
|
], DelegacionEntity.prototype, "pais", 2);
|
|
49965
49981
|
__decorateClass([
|
|
49966
|
-
(0,
|
|
49967
|
-
(0,
|
|
49968
|
-
(0,
|
|
49969
|
-
(0,
|
|
49982
|
+
(0, import_class_validator761.IsDefined)({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
49983
|
+
(0, import_class_validator761.IsString)({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
49984
|
+
(0, import_class_validator761.MinLength)(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' }),
|
|
49985
|
+
(0, import_class_transformer784.Expose)()
|
|
49970
49986
|
], DelegacionEntity.prototype, "codigo", 2);
|
|
49971
49987
|
__decorateClass([
|
|
49972
|
-
(0,
|
|
49973
|
-
(0,
|
|
49974
|
-
(0,
|
|
49975
|
-
(0,
|
|
49988
|
+
(0, import_class_validator761.IsDefined)({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
49989
|
+
(0, import_class_validator761.IsString)({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
49990
|
+
(0, import_class_validator761.MinLength)(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' }),
|
|
49991
|
+
(0, import_class_transformer784.Expose)()
|
|
49976
49992
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
49977
49993
|
|
|
49978
49994
|
// src/v2/entities/User.ts
|
|
49979
|
-
var
|
|
49980
|
-
var
|
|
49995
|
+
var import_class_validator762 = require("class-validator");
|
|
49996
|
+
var import_class_transformer785 = require("class-transformer");
|
|
49981
49997
|
var UserEntity = class extends BaseEntity {
|
|
49982
49998
|
email;
|
|
49983
49999
|
password;
|
|
@@ -49990,66 +50006,66 @@ var UserEntity = class extends BaseEntity {
|
|
|
49990
50006
|
delegation;
|
|
49991
50007
|
};
|
|
49992
50008
|
__decorateClass([
|
|
49993
|
-
(0,
|
|
49994
|
-
(0,
|
|
49995
|
-
(0,
|
|
49996
|
-
(0,
|
|
50009
|
+
(0, import_class_validator762.IsDefined)({ message: "El correo es requerido" }),
|
|
50010
|
+
(0, import_class_validator762.IsEmail)({}, { message: "El correo es invalido" }),
|
|
50011
|
+
(0, import_class_transformer785.Transform)(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
50012
|
+
(0, import_class_transformer785.Expose)()
|
|
49997
50013
|
], UserEntity.prototype, "email", 2);
|
|
49998
50014
|
__decorateClass([
|
|
49999
|
-
(0,
|
|
50000
|
-
(0,
|
|
50001
|
-
(0,
|
|
50002
|
-
(0,
|
|
50015
|
+
(0, import_class_transformer785.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50016
|
+
(0, import_class_validator762.IsDefined)({ message: "La contrase\xF1a es requerida" }),
|
|
50017
|
+
(0, import_class_validator762.IsString)({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
50018
|
+
(0, import_class_transformer785.Expose)()
|
|
50003
50019
|
], UserEntity.prototype, "password", 2);
|
|
50004
50020
|
__decorateClass([
|
|
50005
|
-
(0,
|
|
50006
|
-
(0,
|
|
50007
|
-
(0,
|
|
50008
|
-
(0,
|
|
50021
|
+
(0, import_class_transformer785.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50022
|
+
(0, import_class_validator762.IsDefined)({ message: "El apellido paterno es requerido" }),
|
|
50023
|
+
(0, import_class_validator762.IsString)({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
50024
|
+
(0, import_class_transformer785.Expose)()
|
|
50009
50025
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
50010
50026
|
__decorateClass([
|
|
50011
|
-
(0,
|
|
50012
|
-
(0,
|
|
50013
|
-
(0,
|
|
50014
|
-
(0,
|
|
50027
|
+
(0, import_class_transformer785.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50028
|
+
(0, import_class_validator762.IsDefined)({ message: "El apellido materno es requerido" }),
|
|
50029
|
+
(0, import_class_validator762.IsString)({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
50030
|
+
(0, import_class_transformer785.Expose)()
|
|
50015
50031
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
50016
50032
|
__decorateClass([
|
|
50017
|
-
(0,
|
|
50018
|
-
(0,
|
|
50019
|
-
(0,
|
|
50020
|
-
(0,
|
|
50033
|
+
(0, import_class_transformer785.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50034
|
+
(0, import_class_validator762.IsDefined)({ message: "El nombre es requerido" }),
|
|
50035
|
+
(0, import_class_validator762.IsString)({ message: "El nombre debe ser una cadena de texto" }),
|
|
50036
|
+
(0, import_class_transformer785.Expose)()
|
|
50021
50037
|
], UserEntity.prototype, "firstNames", 2);
|
|
50022
50038
|
__decorateClass([
|
|
50023
|
-
(0,
|
|
50024
|
-
(0,
|
|
50025
|
-
(0,
|
|
50026
|
-
(0,
|
|
50039
|
+
(0, import_class_transformer785.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50040
|
+
(0, import_class_validator762.IsDefined)({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
50041
|
+
(0, import_class_validator762.IsString)({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
50042
|
+
(0, import_class_transformer785.Expose)()
|
|
50027
50043
|
], UserEntity.prototype, "identification", 2);
|
|
50028
50044
|
__decorateClass([
|
|
50029
|
-
(0,
|
|
50030
|
-
(0,
|
|
50031
|
-
(0,
|
|
50032
|
-
(0,
|
|
50033
|
-
(0,
|
|
50045
|
+
(0, import_class_validator762.IsDefined)({ message: "La empresa es requerida" }),
|
|
50046
|
+
(0, import_class_transformer785.Type)(() => CodeNameDto),
|
|
50047
|
+
(0, import_class_validator762.ValidateNested)(),
|
|
50048
|
+
(0, import_class_validator762.IsObject)(),
|
|
50049
|
+
(0, import_class_transformer785.Expose)()
|
|
50034
50050
|
], UserEntity.prototype, "company", 2);
|
|
50035
50051
|
__decorateClass([
|
|
50036
|
-
(0,
|
|
50037
|
-
(0,
|
|
50038
|
-
(0,
|
|
50039
|
-
(0,
|
|
50040
|
-
(0,
|
|
50052
|
+
(0, import_class_validator762.IsDefined)({ message: "debe proporcionar el pa\xEDs" }),
|
|
50053
|
+
(0, import_class_validator762.ValidateNested)(),
|
|
50054
|
+
(0, import_class_transformer785.Type)(() => CodeNameMinLengthDto),
|
|
50055
|
+
(0, import_class_validator762.IsObject)(),
|
|
50056
|
+
(0, import_class_transformer785.Expose)()
|
|
50041
50057
|
], UserEntity.prototype, "country", 2);
|
|
50042
50058
|
__decorateClass([
|
|
50043
|
-
(0,
|
|
50044
|
-
(0,
|
|
50045
|
-
(0,
|
|
50046
|
-
(0,
|
|
50047
|
-
(0,
|
|
50059
|
+
(0, import_class_validator762.IsDefined)({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
50060
|
+
(0, import_class_validator762.ValidateNested)(),
|
|
50061
|
+
(0, import_class_transformer785.Type)(() => CodeNameMinLengthDto),
|
|
50062
|
+
(0, import_class_validator762.IsObject)(),
|
|
50063
|
+
(0, import_class_transformer785.Expose)()
|
|
50048
50064
|
], UserEntity.prototype, "delegation", 2);
|
|
50049
50065
|
|
|
50050
50066
|
// src/v2/utils/validateCustom.ts
|
|
50051
|
-
var
|
|
50052
|
-
var
|
|
50067
|
+
var import_class_transformer786 = require("class-transformer");
|
|
50068
|
+
var import_class_validator763 = require("class-validator");
|
|
50053
50069
|
|
|
50054
50070
|
// src/v2/utils/getFirstError.ts
|
|
50055
50071
|
function getFirstError(errors, parentPath = "") {
|
|
@@ -50064,43 +50080,67 @@ function getFirstError(errors, parentPath = "") {
|
|
|
50064
50080
|
}
|
|
50065
50081
|
}
|
|
50066
50082
|
|
|
50083
|
+
// src/v2/utils/removeUndefined.ts
|
|
50084
|
+
function removeUndefined(obj) {
|
|
50085
|
+
if (obj === null || obj === void 0) {
|
|
50086
|
+
return obj;
|
|
50087
|
+
}
|
|
50088
|
+
if (Array.isArray(obj)) {
|
|
50089
|
+
for (const item of obj) {
|
|
50090
|
+
removeUndefined(item);
|
|
50091
|
+
}
|
|
50092
|
+
return obj;
|
|
50093
|
+
}
|
|
50094
|
+
if (typeof obj === "object") {
|
|
50095
|
+
for (const key of Object.keys(obj)) {
|
|
50096
|
+
const value = obj[key];
|
|
50097
|
+
if (value === void 0) {
|
|
50098
|
+
delete obj[key];
|
|
50099
|
+
continue;
|
|
50100
|
+
}
|
|
50101
|
+
removeUndefined(value);
|
|
50102
|
+
}
|
|
50103
|
+
}
|
|
50104
|
+
return obj;
|
|
50105
|
+
}
|
|
50106
|
+
|
|
50067
50107
|
// src/v2/utils/validateCustom.ts
|
|
50068
50108
|
async function validateCustom(plain, cls, UnprocessableEntityException, groups) {
|
|
50069
|
-
const instance = (0,
|
|
50070
|
-
const errors = await (0,
|
|
50109
|
+
const instance = (0, import_class_transformer786.plainToInstance)(cls, plain, { excludeExtraneousValues: true, groups });
|
|
50110
|
+
const errors = await (0, import_class_validator763.validate)(instance, { groups });
|
|
50071
50111
|
if (errors.length) {
|
|
50072
50112
|
const msg = getFirstError(errors);
|
|
50073
50113
|
throw new UnprocessableEntityException(msg);
|
|
50074
50114
|
}
|
|
50075
|
-
return instance;
|
|
50115
|
+
return removeUndefined(instance);
|
|
50076
50116
|
}
|
|
50077
50117
|
|
|
50078
50118
|
// src/v2/middlewares/validateRequestBody.ts
|
|
50079
|
-
var
|
|
50080
|
-
var
|
|
50119
|
+
var import_class_transformer787 = require("class-transformer");
|
|
50120
|
+
var import_class_validator764 = require("class-validator");
|
|
50081
50121
|
async function validateRequestBody({ dtoClass, BadRequestException, groups }, req, _res, next) {
|
|
50082
50122
|
try {
|
|
50083
50123
|
if (Array.isArray(req.body)) {
|
|
50084
50124
|
const newBody = [];
|
|
50085
50125
|
for (const element of req.body) {
|
|
50086
|
-
const dtoInstance2 = (0,
|
|
50087
|
-
const errors2 = await (0,
|
|
50126
|
+
const dtoInstance2 = (0, import_class_transformer787.plainToInstance)(dtoClass, element, { excludeExtraneousValues: true, groups });
|
|
50127
|
+
const errors2 = await (0, import_class_validator764.validate)(dtoInstance2, { groups });
|
|
50088
50128
|
if (errors2.length > 0) {
|
|
50089
50129
|
const firstError = getFirstError(errors2);
|
|
50090
50130
|
return next(new BadRequestException(firstError));
|
|
50091
50131
|
}
|
|
50092
|
-
newBody.push(dtoInstance2);
|
|
50132
|
+
newBody.push(removeUndefined(dtoInstance2));
|
|
50093
50133
|
}
|
|
50094
50134
|
req.body = newBody;
|
|
50095
50135
|
return next();
|
|
50096
50136
|
}
|
|
50097
|
-
const dtoInstance = (0,
|
|
50098
|
-
const errors = await (0,
|
|
50137
|
+
const dtoInstance = (0, import_class_transformer787.plainToInstance)(dtoClass, req.body, { excludeExtraneousValues: true, groups });
|
|
50138
|
+
const errors = await (0, import_class_validator764.validate)(dtoInstance, { groups });
|
|
50099
50139
|
if (errors.length > 0) {
|
|
50100
50140
|
const firstError = getFirstError(errors);
|
|
50101
50141
|
return next(new BadRequestException(firstError));
|
|
50102
50142
|
}
|
|
50103
|
-
req.body = dtoInstance;
|
|
50143
|
+
req.body = removeUndefined(dtoInstance);
|
|
50104
50144
|
return next();
|
|
50105
50145
|
} catch (error) {
|
|
50106
50146
|
return next(new BadRequestException("Error interno de validaci\xF3n"));
|
|
@@ -50406,6 +50446,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
50406
50446
|
FlujoDocDTO,
|
|
50407
50447
|
FlujoDto,
|
|
50408
50448
|
ForceString,
|
|
50449
|
+
ForgotPasswordDto,
|
|
50409
50450
|
FormaPagoDto,
|
|
50410
50451
|
FotoDTO,
|
|
50411
50452
|
FotosDTO,
|
|
@@ -50903,8 +50944,10 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
50903
50944
|
convertStringsToDates,
|
|
50904
50945
|
convertTypeNumber,
|
|
50905
50946
|
enumToArray,
|
|
50947
|
+
getFirstError,
|
|
50906
50948
|
hydrate,
|
|
50907
50949
|
latLngDTO,
|
|
50950
|
+
removeUndefined,
|
|
50908
50951
|
transformToDateIfEmpty,
|
|
50909
50952
|
trimAndUpperCaseString,
|
|
50910
50953
|
validateAndFormatData,
|
package/dist/index.mjs
CHANGED
|
@@ -49368,16 +49368,16 @@ var LoginDto = class {
|
|
|
49368
49368
|
password = "";
|
|
49369
49369
|
};
|
|
49370
49370
|
__decorateClass([
|
|
49371
|
-
Transform111(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value
|
|
49372
|
-
IsDefined254({ message: "Debe proporcionar un email"
|
|
49373
|
-
IsEmail4({}, { message: "El email es inv\xE1lido"
|
|
49374
|
-
Expose752(
|
|
49371
|
+
Transform111(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
49372
|
+
IsDefined254({ message: "Debe proporcionar un email" }),
|
|
49373
|
+
IsEmail4({}, { message: "El email es inv\xE1lido" }),
|
|
49374
|
+
Expose752()
|
|
49375
49375
|
], LoginDto.prototype, "email", 2);
|
|
49376
49376
|
__decorateClass([
|
|
49377
|
-
Transform111(({ value }) => typeof value === "string" ? value.trim() : value
|
|
49378
|
-
IsDefined254({ message: "Debe proporcionar una contrase\xF1a"
|
|
49379
|
-
Length339(8, 20, { message: "La contrase\xF1a debe tener entre 8 y 20 caracteres"
|
|
49380
|
-
Expose752(
|
|
49377
|
+
Transform111(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49378
|
+
IsDefined254({ message: "Debe proporcionar una contrase\xF1a" }),
|
|
49379
|
+
Length339(8, 20, { message: "La contrase\xF1a debe tener entre 8 y 20 caracteres" }),
|
|
49380
|
+
Expose752()
|
|
49381
49381
|
], LoginDto.prototype, "password", 2);
|
|
49382
49382
|
|
|
49383
49383
|
// src/v2/dtos/PayloadToken.ts
|
|
@@ -49454,26 +49454,39 @@ __decorateClass([
|
|
|
49454
49454
|
Expose754()
|
|
49455
49455
|
], ResponseSignInDto.prototype, "user", 2);
|
|
49456
49456
|
|
|
49457
|
+
// src/v2/dtos/ForgotPassword.ts
|
|
49458
|
+
import { Expose as Expose755, Transform as Transform112 } from "class-transformer";
|
|
49459
|
+
import { IsDefined as IsDefined257, IsEmail as IsEmail6 } from "class-validator";
|
|
49460
|
+
var ForgotPasswordDto = class {
|
|
49461
|
+
email = "";
|
|
49462
|
+
};
|
|
49463
|
+
__decorateClass([
|
|
49464
|
+
Transform112(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
49465
|
+
IsDefined257({ message: "Debe proporcionar un email" }),
|
|
49466
|
+
IsEmail6({}, { message: "El email es inv\xE1lido" }),
|
|
49467
|
+
Expose755()
|
|
49468
|
+
], ForgotPasswordDto.prototype, "email", 2);
|
|
49469
|
+
|
|
49457
49470
|
// src/v2/entities/Delegacion.ts
|
|
49458
|
-
import { Expose as
|
|
49459
|
-
import { IsDefined as
|
|
49471
|
+
import { Expose as Expose757, Type as Type475 } from "class-transformer";
|
|
49472
|
+
import { IsDefined as IsDefined259, IsObject as IsObject16, IsString as IsString623, MinLength as MinLength57, ValidateNested as ValidateNested415 } from "class-validator";
|
|
49460
49473
|
|
|
49461
49474
|
// src/v2/entities/Base.ts
|
|
49462
|
-
import { Expose as
|
|
49463
|
-
import { IsBoolean as IsBoolean68, IsDefined as
|
|
49475
|
+
import { Expose as Expose756 } from "class-transformer";
|
|
49476
|
+
import { IsBoolean as IsBoolean68, IsDefined as IsDefined258, IsUUID as IsUUID18 } from "class-validator";
|
|
49464
49477
|
var BaseEntity = class {
|
|
49465
49478
|
_id;
|
|
49466
49479
|
active;
|
|
49467
49480
|
};
|
|
49468
49481
|
__decorateClass([
|
|
49469
|
-
|
|
49482
|
+
IsDefined258({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
49470
49483
|
IsUUID18("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
49471
|
-
|
|
49484
|
+
Expose756()
|
|
49472
49485
|
], BaseEntity.prototype, "_id", 2);
|
|
49473
49486
|
__decorateClass([
|
|
49474
|
-
|
|
49487
|
+
IsDefined258({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
49475
49488
|
IsBoolean68({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
49476
|
-
|
|
49489
|
+
Expose756()
|
|
49477
49490
|
], BaseEntity.prototype, "active", 2);
|
|
49478
49491
|
|
|
49479
49492
|
// src/v2/entities/Delegacion.ts
|
|
@@ -49483,28 +49496,28 @@ var DelegacionEntity = class extends BaseEntity {
|
|
|
49483
49496
|
nombre;
|
|
49484
49497
|
};
|
|
49485
49498
|
__decorateClass([
|
|
49486
|
-
|
|
49499
|
+
IsDefined259({ message: 'La propiedad "pais" es obligatoria.' }),
|
|
49487
49500
|
Type475(() => CodeNameMinLengthDto),
|
|
49488
49501
|
IsObject16({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
49489
49502
|
ValidateNested415({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
49490
|
-
|
|
49503
|
+
Expose757()
|
|
49491
49504
|
], DelegacionEntity.prototype, "pais", 2);
|
|
49492
49505
|
__decorateClass([
|
|
49493
|
-
|
|
49506
|
+
IsDefined259({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
49494
49507
|
IsString623({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
49495
49508
|
MinLength57(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' }),
|
|
49496
|
-
|
|
49509
|
+
Expose757()
|
|
49497
49510
|
], DelegacionEntity.prototype, "codigo", 2);
|
|
49498
49511
|
__decorateClass([
|
|
49499
|
-
|
|
49512
|
+
IsDefined259({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
49500
49513
|
IsString623({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
49501
49514
|
MinLength57(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' }),
|
|
49502
|
-
|
|
49515
|
+
Expose757()
|
|
49503
49516
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
49504
49517
|
|
|
49505
49518
|
// src/v2/entities/User.ts
|
|
49506
|
-
import { IsDefined as
|
|
49507
|
-
import { Expose as
|
|
49519
|
+
import { IsDefined as IsDefined260, IsEmail as IsEmail7, IsObject as IsObject17, IsString as IsString624, ValidateNested as ValidateNested416 } from "class-validator";
|
|
49520
|
+
import { Expose as Expose758, Transform as Transform113, Type as Type476 } from "class-transformer";
|
|
49508
49521
|
var UserEntity = class extends BaseEntity {
|
|
49509
49522
|
email;
|
|
49510
49523
|
password;
|
|
@@ -49517,61 +49530,61 @@ var UserEntity = class extends BaseEntity {
|
|
|
49517
49530
|
delegation;
|
|
49518
49531
|
};
|
|
49519
49532
|
__decorateClass([
|
|
49520
|
-
|
|
49521
|
-
|
|
49522
|
-
|
|
49523
|
-
|
|
49533
|
+
IsDefined260({ message: "El correo es requerido" }),
|
|
49534
|
+
IsEmail7({}, { message: "El correo es invalido" }),
|
|
49535
|
+
Transform113(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
49536
|
+
Expose758()
|
|
49524
49537
|
], UserEntity.prototype, "email", 2);
|
|
49525
49538
|
__decorateClass([
|
|
49526
|
-
|
|
49527
|
-
|
|
49539
|
+
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49540
|
+
IsDefined260({ message: "La contrase\xF1a es requerida" }),
|
|
49528
49541
|
IsString624({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
49529
|
-
|
|
49542
|
+
Expose758()
|
|
49530
49543
|
], UserEntity.prototype, "password", 2);
|
|
49531
49544
|
__decorateClass([
|
|
49532
|
-
|
|
49533
|
-
|
|
49545
|
+
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49546
|
+
IsDefined260({ message: "El apellido paterno es requerido" }),
|
|
49534
49547
|
IsString624({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
49535
|
-
|
|
49548
|
+
Expose758()
|
|
49536
49549
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
49537
49550
|
__decorateClass([
|
|
49538
|
-
|
|
49539
|
-
|
|
49551
|
+
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49552
|
+
IsDefined260({ message: "El apellido materno es requerido" }),
|
|
49540
49553
|
IsString624({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
49541
|
-
|
|
49554
|
+
Expose758()
|
|
49542
49555
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
49543
49556
|
__decorateClass([
|
|
49544
|
-
|
|
49545
|
-
|
|
49557
|
+
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49558
|
+
IsDefined260({ message: "El nombre es requerido" }),
|
|
49546
49559
|
IsString624({ message: "El nombre debe ser una cadena de texto" }),
|
|
49547
|
-
|
|
49560
|
+
Expose758()
|
|
49548
49561
|
], UserEntity.prototype, "firstNames", 2);
|
|
49549
49562
|
__decorateClass([
|
|
49550
|
-
|
|
49551
|
-
|
|
49563
|
+
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49564
|
+
IsDefined260({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
49552
49565
|
IsString624({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
49553
|
-
|
|
49566
|
+
Expose758()
|
|
49554
49567
|
], UserEntity.prototype, "identification", 2);
|
|
49555
49568
|
__decorateClass([
|
|
49556
|
-
|
|
49569
|
+
IsDefined260({ message: "La empresa es requerida" }),
|
|
49557
49570
|
Type476(() => CodeNameDto),
|
|
49558
49571
|
ValidateNested416(),
|
|
49559
49572
|
IsObject17(),
|
|
49560
|
-
|
|
49573
|
+
Expose758()
|
|
49561
49574
|
], UserEntity.prototype, "company", 2);
|
|
49562
49575
|
__decorateClass([
|
|
49563
|
-
|
|
49576
|
+
IsDefined260({ message: "debe proporcionar el pa\xEDs" }),
|
|
49564
49577
|
ValidateNested416(),
|
|
49565
49578
|
Type476(() => CodeNameMinLengthDto),
|
|
49566
49579
|
IsObject17(),
|
|
49567
|
-
|
|
49580
|
+
Expose758()
|
|
49568
49581
|
], UserEntity.prototype, "country", 2);
|
|
49569
49582
|
__decorateClass([
|
|
49570
|
-
|
|
49583
|
+
IsDefined260({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
49571
49584
|
ValidateNested416(),
|
|
49572
49585
|
Type476(() => CodeNameMinLengthDto),
|
|
49573
49586
|
IsObject17(),
|
|
49574
|
-
|
|
49587
|
+
Expose758()
|
|
49575
49588
|
], UserEntity.prototype, "delegation", 2);
|
|
49576
49589
|
|
|
49577
49590
|
// src/v2/utils/validateCustom.ts
|
|
@@ -49591,6 +49604,30 @@ function getFirstError(errors, parentPath = "") {
|
|
|
49591
49604
|
}
|
|
49592
49605
|
}
|
|
49593
49606
|
|
|
49607
|
+
// src/v2/utils/removeUndefined.ts
|
|
49608
|
+
function removeUndefined(obj) {
|
|
49609
|
+
if (obj === null || obj === void 0) {
|
|
49610
|
+
return obj;
|
|
49611
|
+
}
|
|
49612
|
+
if (Array.isArray(obj)) {
|
|
49613
|
+
for (const item of obj) {
|
|
49614
|
+
removeUndefined(item);
|
|
49615
|
+
}
|
|
49616
|
+
return obj;
|
|
49617
|
+
}
|
|
49618
|
+
if (typeof obj === "object") {
|
|
49619
|
+
for (const key of Object.keys(obj)) {
|
|
49620
|
+
const value = obj[key];
|
|
49621
|
+
if (value === void 0) {
|
|
49622
|
+
delete obj[key];
|
|
49623
|
+
continue;
|
|
49624
|
+
}
|
|
49625
|
+
removeUndefined(value);
|
|
49626
|
+
}
|
|
49627
|
+
}
|
|
49628
|
+
return obj;
|
|
49629
|
+
}
|
|
49630
|
+
|
|
49594
49631
|
// src/v2/utils/validateCustom.ts
|
|
49595
49632
|
async function validateCustom(plain, cls, UnprocessableEntityException, groups) {
|
|
49596
49633
|
const instance = plainToInstance4(cls, plain, { excludeExtraneousValues: true, groups });
|
|
@@ -49599,7 +49636,7 @@ async function validateCustom(plain, cls, UnprocessableEntityException, groups)
|
|
|
49599
49636
|
const msg = getFirstError(errors);
|
|
49600
49637
|
throw new UnprocessableEntityException(msg);
|
|
49601
49638
|
}
|
|
49602
|
-
return instance;
|
|
49639
|
+
return removeUndefined(instance);
|
|
49603
49640
|
}
|
|
49604
49641
|
|
|
49605
49642
|
// src/v2/middlewares/validateRequestBody.ts
|
|
@@ -49616,7 +49653,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
49616
49653
|
const firstError = getFirstError(errors2);
|
|
49617
49654
|
return next(new BadRequestException(firstError));
|
|
49618
49655
|
}
|
|
49619
|
-
newBody.push(dtoInstance2);
|
|
49656
|
+
newBody.push(removeUndefined(dtoInstance2));
|
|
49620
49657
|
}
|
|
49621
49658
|
req.body = newBody;
|
|
49622
49659
|
return next();
|
|
@@ -49627,7 +49664,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
49627
49664
|
const firstError = getFirstError(errors);
|
|
49628
49665
|
return next(new BadRequestException(firstError));
|
|
49629
49666
|
}
|
|
49630
|
-
req.body = dtoInstance;
|
|
49667
|
+
req.body = removeUndefined(dtoInstance);
|
|
49631
49668
|
return next();
|
|
49632
49669
|
} catch (error) {
|
|
49633
49670
|
return next(new BadRequestException("Error interno de validaci\xF3n"));
|
|
@@ -49932,6 +49969,7 @@ export {
|
|
|
49932
49969
|
FlujoDocDTO,
|
|
49933
49970
|
FlujoDto,
|
|
49934
49971
|
ForceString,
|
|
49972
|
+
ForgotPasswordDto,
|
|
49935
49973
|
FormaPagoDto,
|
|
49936
49974
|
FotoDTO,
|
|
49937
49975
|
FotosDTO,
|
|
@@ -50429,8 +50467,10 @@ export {
|
|
|
50429
50467
|
convertStringsToDates,
|
|
50430
50468
|
convertTypeNumber,
|
|
50431
50469
|
enumToArray,
|
|
50470
|
+
getFirstError,
|
|
50432
50471
|
hydrate,
|
|
50433
50472
|
latLngDTO,
|
|
50473
|
+
removeUndefined,
|
|
50434
50474
|
transformToDateIfEmpty,
|
|
50435
50475
|
trimAndUpperCaseString,
|
|
50436
50476
|
validateAndFormatData,
|