sigo-entities 1.2.379 → 1.2.381
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 +41 -3
- package/dist/index.d.ts +41 -3
- package/dist/index.js +195 -74
- package/dist/index.mjs +150 -28
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -12,11 +12,11 @@ declare function convertStringsToDates(obj: any): any;
|
|
|
12
12
|
|
|
13
13
|
declare function validateAndFormatData<T extends object, Skip extends undefined | (keyof T)[] = undefined>(data: any, dtoClass: new () => T, propertiesToValidate?: Skip): Promise<Skip extends undefined ? T : Partial<T>>;
|
|
14
14
|
|
|
15
|
-
interface IParams<T> {
|
|
15
|
+
interface IParams$1<T> {
|
|
16
16
|
exception: new (message: string) => Error;
|
|
17
17
|
dtoItems?: ClassConstructor<T>;
|
|
18
18
|
}
|
|
19
|
-
declare function validateArrayBody<T extends object>(params: IParams<T>): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
19
|
+
declare function validateArrayBody<T extends object>(params: IParams$1<T>): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
20
20
|
|
|
21
21
|
declare const transformToDateIfEmpty: (value: any) => Date;
|
|
22
22
|
|
|
@@ -9418,6 +9418,12 @@ declare class ForgotPasswordDto {
|
|
|
9418
9418
|
email: string;
|
|
9419
9419
|
}
|
|
9420
9420
|
|
|
9421
|
+
declare class ResetPasswordDto {
|
|
9422
|
+
password: string;
|
|
9423
|
+
confirmPassword: string;
|
|
9424
|
+
token: string;
|
|
9425
|
+
}
|
|
9426
|
+
|
|
9421
9427
|
declare class BaseEntity {
|
|
9422
9428
|
_id: string;
|
|
9423
9429
|
active: boolean;
|
|
@@ -9441,12 +9447,44 @@ declare class UserEntity extends BaseEntity {
|
|
|
9441
9447
|
delegation: CodeNameMinLengthDto;
|
|
9442
9448
|
}
|
|
9443
9449
|
|
|
9450
|
+
declare class SystemOptionEntity {
|
|
9451
|
+
_id: string;
|
|
9452
|
+
key: string;
|
|
9453
|
+
name: string;
|
|
9454
|
+
prefix: string;
|
|
9455
|
+
method: string;
|
|
9456
|
+
father: string;
|
|
9457
|
+
route: string;
|
|
9458
|
+
root: boolean;
|
|
9459
|
+
}
|
|
9460
|
+
|
|
9444
9461
|
declare function validateCustom<T extends object>(plain: unknown, cls: ClassConstructor<T>, UnprocessableEntityException: ClassConstructor<Error>, groups?: string[]): Promise<T>;
|
|
9445
9462
|
|
|
9446
9463
|
declare function removeUndefined<T>(obj: T): T;
|
|
9447
9464
|
|
|
9448
9465
|
declare function getFirstError(errors: ValidationError[], parentPath?: string): string | undefined;
|
|
9449
9466
|
|
|
9467
|
+
interface RouteDetails {
|
|
9468
|
+
args?: string[];
|
|
9469
|
+
route: string;
|
|
9470
|
+
}
|
|
9471
|
+
interface RouteInfo {
|
|
9472
|
+
controller: string;
|
|
9473
|
+
endpoints: RouteDetails[];
|
|
9474
|
+
}
|
|
9475
|
+
interface IParams {
|
|
9476
|
+
rootPath: string;
|
|
9477
|
+
prefix: string;
|
|
9478
|
+
dataDB: SystemOptionEntity[];
|
|
9479
|
+
rawData: RouteInfo[];
|
|
9480
|
+
UnprocessableEntityException: any;
|
|
9481
|
+
root?: boolean;
|
|
9482
|
+
}
|
|
9483
|
+
declare function builSystemOption(params: IParams): Promise<{
|
|
9484
|
+
_ids: string[];
|
|
9485
|
+
newData: SystemOptionEntity[];
|
|
9486
|
+
}>;
|
|
9487
|
+
|
|
9450
9488
|
interface ValidateRequestBodyOptions<T extends object> {
|
|
9451
9489
|
dtoClass: ClassConstructor<T>;
|
|
9452
9490
|
BadRequestException: ClassConstructor<Error>;
|
|
@@ -9454,4 +9492,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
9454
9492
|
}
|
|
9455
9493
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
9456
9494
|
|
|
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 };
|
|
9495
|
+
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, ResetPasswordDto, 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, SystemOptionEntity, 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, builSystemOption, 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
|
@@ -12,11 +12,11 @@ declare function convertStringsToDates(obj: any): any;
|
|
|
12
12
|
|
|
13
13
|
declare function validateAndFormatData<T extends object, Skip extends undefined | (keyof T)[] = undefined>(data: any, dtoClass: new () => T, propertiesToValidate?: Skip): Promise<Skip extends undefined ? T : Partial<T>>;
|
|
14
14
|
|
|
15
|
-
interface IParams<T> {
|
|
15
|
+
interface IParams$1<T> {
|
|
16
16
|
exception: new (message: string) => Error;
|
|
17
17
|
dtoItems?: ClassConstructor<T>;
|
|
18
18
|
}
|
|
19
|
-
declare function validateArrayBody<T extends object>(params: IParams<T>): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
19
|
+
declare function validateArrayBody<T extends object>(params: IParams$1<T>): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
20
20
|
|
|
21
21
|
declare const transformToDateIfEmpty: (value: any) => Date;
|
|
22
22
|
|
|
@@ -9418,6 +9418,12 @@ declare class ForgotPasswordDto {
|
|
|
9418
9418
|
email: string;
|
|
9419
9419
|
}
|
|
9420
9420
|
|
|
9421
|
+
declare class ResetPasswordDto {
|
|
9422
|
+
password: string;
|
|
9423
|
+
confirmPassword: string;
|
|
9424
|
+
token: string;
|
|
9425
|
+
}
|
|
9426
|
+
|
|
9421
9427
|
declare class BaseEntity {
|
|
9422
9428
|
_id: string;
|
|
9423
9429
|
active: boolean;
|
|
@@ -9441,12 +9447,44 @@ declare class UserEntity extends BaseEntity {
|
|
|
9441
9447
|
delegation: CodeNameMinLengthDto;
|
|
9442
9448
|
}
|
|
9443
9449
|
|
|
9450
|
+
declare class SystemOptionEntity {
|
|
9451
|
+
_id: string;
|
|
9452
|
+
key: string;
|
|
9453
|
+
name: string;
|
|
9454
|
+
prefix: string;
|
|
9455
|
+
method: string;
|
|
9456
|
+
father: string;
|
|
9457
|
+
route: string;
|
|
9458
|
+
root: boolean;
|
|
9459
|
+
}
|
|
9460
|
+
|
|
9444
9461
|
declare function validateCustom<T extends object>(plain: unknown, cls: ClassConstructor<T>, UnprocessableEntityException: ClassConstructor<Error>, groups?: string[]): Promise<T>;
|
|
9445
9462
|
|
|
9446
9463
|
declare function removeUndefined<T>(obj: T): T;
|
|
9447
9464
|
|
|
9448
9465
|
declare function getFirstError(errors: ValidationError[], parentPath?: string): string | undefined;
|
|
9449
9466
|
|
|
9467
|
+
interface RouteDetails {
|
|
9468
|
+
args?: string[];
|
|
9469
|
+
route: string;
|
|
9470
|
+
}
|
|
9471
|
+
interface RouteInfo {
|
|
9472
|
+
controller: string;
|
|
9473
|
+
endpoints: RouteDetails[];
|
|
9474
|
+
}
|
|
9475
|
+
interface IParams {
|
|
9476
|
+
rootPath: string;
|
|
9477
|
+
prefix: string;
|
|
9478
|
+
dataDB: SystemOptionEntity[];
|
|
9479
|
+
rawData: RouteInfo[];
|
|
9480
|
+
UnprocessableEntityException: any;
|
|
9481
|
+
root?: boolean;
|
|
9482
|
+
}
|
|
9483
|
+
declare function builSystemOption(params: IParams): Promise<{
|
|
9484
|
+
_ids: string[];
|
|
9485
|
+
newData: SystemOptionEntity[];
|
|
9486
|
+
}>;
|
|
9487
|
+
|
|
9450
9488
|
interface ValidateRequestBodyOptions<T extends object> {
|
|
9451
9489
|
dtoClass: ClassConstructor<T>;
|
|
9452
9490
|
BadRequestException: ClassConstructor<Error>;
|
|
@@ -9454,4 +9492,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
9454
9492
|
}
|
|
9455
9493
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
9456
9494
|
|
|
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 };
|
|
9495
|
+
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, ResetPasswordDto, 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, SystemOptionEntity, 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, builSystemOption, 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
|
@@ -596,6 +596,7 @@ __export(index_exports, {
|
|
|
596
596
|
RequestNumberTTLENTITY: () => RequestNumberTTLENTITY,
|
|
597
597
|
ReservaENTITY: () => ReservaENTITY,
|
|
598
598
|
ReservaManoObraRegularizacionENTITY: () => ReservaManoObraRegularizacionENTITY,
|
|
599
|
+
ResetPasswordDto: () => ResetPasswordDto,
|
|
599
600
|
ResponseSignInDto: () => ResponseSignInDto,
|
|
600
601
|
ResultadoDTO: () => ResultadoDTO,
|
|
601
602
|
ResumemENTITY: () => ResumemENTITY,
|
|
@@ -678,6 +679,7 @@ __export(index_exports, {
|
|
|
678
679
|
SubEstadoInternoDTO: () => SubEstadoInternoDTO,
|
|
679
680
|
SubManoObraDTO: () => SubManoObraDTO,
|
|
680
681
|
SummaryDTO: () => SummaryDTO,
|
|
682
|
+
SystemOptionEntity: () => SystemOptionEntity,
|
|
681
683
|
TOAClaroOrderStockENTITY: () => TOAClaroOrderStockENTITY,
|
|
682
684
|
TOAOrdenLiquidacionENTITY: () => TOAOrdenLiquidacionENTITY,
|
|
683
685
|
TOAOrdenLiquidacionENTITYDB: () => TOAOrdenLiquidacionENTITYDB,
|
|
@@ -821,6 +823,7 @@ __export(index_exports, {
|
|
|
821
823
|
ZonaTrabajoENTITY: () => ZonaTrabajoENTITY,
|
|
822
824
|
ZonalesDTO: () => ZonalesDTO,
|
|
823
825
|
ZonasDTO: () => ZonasDTO,
|
|
826
|
+
builSystemOption: () => builSystemOption,
|
|
824
827
|
convertStringsToDates: () => convertStringsToDates,
|
|
825
828
|
convertTypeNumber: () => convertTypeNumber,
|
|
826
829
|
enumToArray: () => enumToArray,
|
|
@@ -49943,26 +49946,52 @@ __decorateClass([
|
|
|
49943
49946
|
(0, import_class_transformer782.Expose)()
|
|
49944
49947
|
], ForgotPasswordDto.prototype, "email", 2);
|
|
49945
49948
|
|
|
49949
|
+
// src/v2/dtos/ResetPassword.ts
|
|
49950
|
+
var import_class_transformer783 = require("class-transformer");
|
|
49951
|
+
var import_class_validator760 = require("class-validator");
|
|
49952
|
+
var ResetPasswordDto = class {
|
|
49953
|
+
password = "";
|
|
49954
|
+
confirmPassword = "";
|
|
49955
|
+
token = "";
|
|
49956
|
+
};
|
|
49957
|
+
__decorateClass([
|
|
49958
|
+
(0, import_class_validator760.IsString)(),
|
|
49959
|
+
(0, import_class_validator760.MinLength)(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
49960
|
+
(0, import_class_validator760.IsStrongPassword)({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
49961
|
+
(0, import_class_transformer783.Expose)()
|
|
49962
|
+
], ResetPasswordDto.prototype, "password", 2);
|
|
49963
|
+
__decorateClass([
|
|
49964
|
+
(0, import_class_validator760.IsString)(),
|
|
49965
|
+
(0, import_class_validator760.MinLength)(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
49966
|
+
(0, import_class_validator760.IsStrongPassword)({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
49967
|
+
(0, import_class_transformer783.Expose)()
|
|
49968
|
+
], ResetPasswordDto.prototype, "confirmPassword", 2);
|
|
49969
|
+
__decorateClass([
|
|
49970
|
+
(0, import_class_validator760.IsString)(),
|
|
49971
|
+
(0, import_class_validator760.MinLength)(50),
|
|
49972
|
+
(0, import_class_transformer783.Expose)()
|
|
49973
|
+
], ResetPasswordDto.prototype, "token", 2);
|
|
49974
|
+
|
|
49946
49975
|
// src/v2/entities/Delegacion.ts
|
|
49947
|
-
var
|
|
49948
|
-
var
|
|
49976
|
+
var import_class_transformer785 = require("class-transformer");
|
|
49977
|
+
var import_class_validator762 = require("class-validator");
|
|
49949
49978
|
|
|
49950
49979
|
// src/v2/entities/Base.ts
|
|
49951
|
-
var
|
|
49952
|
-
var
|
|
49980
|
+
var import_class_transformer784 = require("class-transformer");
|
|
49981
|
+
var import_class_validator761 = require("class-validator");
|
|
49953
49982
|
var BaseEntity = class {
|
|
49954
49983
|
_id;
|
|
49955
49984
|
active;
|
|
49956
49985
|
};
|
|
49957
49986
|
__decorateClass([
|
|
49958
|
-
(0,
|
|
49959
|
-
(0,
|
|
49960
|
-
(0,
|
|
49987
|
+
(0, import_class_validator761.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
49988
|
+
(0, import_class_validator761.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
49989
|
+
(0, import_class_transformer784.Expose)()
|
|
49961
49990
|
], BaseEntity.prototype, "_id", 2);
|
|
49962
49991
|
__decorateClass([
|
|
49963
|
-
(0,
|
|
49964
|
-
(0,
|
|
49965
|
-
(0,
|
|
49992
|
+
(0, import_class_validator761.IsDefined)({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
49993
|
+
(0, import_class_validator761.IsBoolean)({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
49994
|
+
(0, import_class_transformer784.Expose)()
|
|
49966
49995
|
], BaseEntity.prototype, "active", 2);
|
|
49967
49996
|
|
|
49968
49997
|
// src/v2/entities/Delegacion.ts
|
|
@@ -49972,28 +50001,28 @@ var DelegacionEntity = class extends BaseEntity {
|
|
|
49972
50001
|
nombre;
|
|
49973
50002
|
};
|
|
49974
50003
|
__decorateClass([
|
|
49975
|
-
(0,
|
|
49976
|
-
(0,
|
|
49977
|
-
(0,
|
|
49978
|
-
(0,
|
|
49979
|
-
(0,
|
|
50004
|
+
(0, import_class_validator762.IsDefined)({ message: 'La propiedad "pais" es obligatoria.' }),
|
|
50005
|
+
(0, import_class_transformer785.Type)(() => CodeNameMinLengthDto),
|
|
50006
|
+
(0, import_class_validator762.IsObject)({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
50007
|
+
(0, import_class_validator762.ValidateNested)({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
50008
|
+
(0, import_class_transformer785.Expose)()
|
|
49980
50009
|
], DelegacionEntity.prototype, "pais", 2);
|
|
49981
50010
|
__decorateClass([
|
|
49982
|
-
(0,
|
|
49983
|
-
(0,
|
|
49984
|
-
(0,
|
|
49985
|
-
(0,
|
|
50011
|
+
(0, import_class_validator762.IsDefined)({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
50012
|
+
(0, import_class_validator762.IsString)({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
50013
|
+
(0, import_class_validator762.MinLength)(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' }),
|
|
50014
|
+
(0, import_class_transformer785.Expose)()
|
|
49986
50015
|
], DelegacionEntity.prototype, "codigo", 2);
|
|
49987
50016
|
__decorateClass([
|
|
49988
|
-
(0,
|
|
49989
|
-
(0,
|
|
49990
|
-
(0,
|
|
49991
|
-
(0,
|
|
50017
|
+
(0, import_class_validator762.IsDefined)({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
50018
|
+
(0, import_class_validator762.IsString)({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
50019
|
+
(0, import_class_validator762.MinLength)(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' }),
|
|
50020
|
+
(0, import_class_transformer785.Expose)()
|
|
49992
50021
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
49993
50022
|
|
|
49994
50023
|
// src/v2/entities/User.ts
|
|
49995
|
-
var
|
|
49996
|
-
var
|
|
50024
|
+
var import_class_validator763 = require("class-validator");
|
|
50025
|
+
var import_class_transformer786 = require("class-transformer");
|
|
49997
50026
|
var UserEntity = class extends BaseEntity {
|
|
49998
50027
|
email;
|
|
49999
50028
|
password;
|
|
@@ -50006,66 +50035,115 @@ var UserEntity = class extends BaseEntity {
|
|
|
50006
50035
|
delegation;
|
|
50007
50036
|
};
|
|
50008
50037
|
__decorateClass([
|
|
50009
|
-
(0,
|
|
50010
|
-
(0,
|
|
50011
|
-
(0,
|
|
50012
|
-
(0,
|
|
50038
|
+
(0, import_class_validator763.IsDefined)({ message: "El correo es requerido" }),
|
|
50039
|
+
(0, import_class_validator763.IsEmail)({}, { message: "El correo es invalido" }),
|
|
50040
|
+
(0, import_class_transformer786.Transform)(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
50041
|
+
(0, import_class_transformer786.Expose)()
|
|
50013
50042
|
], UserEntity.prototype, "email", 2);
|
|
50014
50043
|
__decorateClass([
|
|
50015
|
-
(0,
|
|
50016
|
-
(0,
|
|
50017
|
-
(0,
|
|
50018
|
-
(0,
|
|
50044
|
+
(0, import_class_transformer786.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50045
|
+
(0, import_class_validator763.IsDefined)({ message: "La contrase\xF1a es requerida" }),
|
|
50046
|
+
(0, import_class_validator763.IsString)({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
50047
|
+
(0, import_class_transformer786.Expose)()
|
|
50019
50048
|
], UserEntity.prototype, "password", 2);
|
|
50020
50049
|
__decorateClass([
|
|
50021
|
-
(0,
|
|
50022
|
-
(0,
|
|
50023
|
-
(0,
|
|
50024
|
-
(0,
|
|
50050
|
+
(0, import_class_transformer786.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50051
|
+
(0, import_class_validator763.IsDefined)({ message: "El apellido paterno es requerido" }),
|
|
50052
|
+
(0, import_class_validator763.IsString)({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
50053
|
+
(0, import_class_transformer786.Expose)()
|
|
50025
50054
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
50026
50055
|
__decorateClass([
|
|
50027
|
-
(0,
|
|
50028
|
-
(0,
|
|
50029
|
-
(0,
|
|
50030
|
-
(0,
|
|
50056
|
+
(0, import_class_transformer786.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50057
|
+
(0, import_class_validator763.IsDefined)({ message: "El apellido materno es requerido" }),
|
|
50058
|
+
(0, import_class_validator763.IsString)({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
50059
|
+
(0, import_class_transformer786.Expose)()
|
|
50031
50060
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
50032
50061
|
__decorateClass([
|
|
50033
|
-
(0,
|
|
50034
|
-
(0,
|
|
50035
|
-
(0,
|
|
50036
|
-
(0,
|
|
50062
|
+
(0, import_class_transformer786.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50063
|
+
(0, import_class_validator763.IsDefined)({ message: "El nombre es requerido" }),
|
|
50064
|
+
(0, import_class_validator763.IsString)({ message: "El nombre debe ser una cadena de texto" }),
|
|
50065
|
+
(0, import_class_transformer786.Expose)()
|
|
50037
50066
|
], UserEntity.prototype, "firstNames", 2);
|
|
50038
50067
|
__decorateClass([
|
|
50039
|
-
(0,
|
|
50040
|
-
(0,
|
|
50041
|
-
(0,
|
|
50042
|
-
(0,
|
|
50068
|
+
(0, import_class_transformer786.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50069
|
+
(0, import_class_validator763.IsDefined)({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
50070
|
+
(0, import_class_validator763.IsString)({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
50071
|
+
(0, import_class_transformer786.Expose)()
|
|
50043
50072
|
], UserEntity.prototype, "identification", 2);
|
|
50044
50073
|
__decorateClass([
|
|
50045
|
-
(0,
|
|
50046
|
-
(0,
|
|
50047
|
-
(0,
|
|
50048
|
-
(0,
|
|
50049
|
-
(0,
|
|
50074
|
+
(0, import_class_validator763.IsDefined)({ message: "La empresa es requerida" }),
|
|
50075
|
+
(0, import_class_transformer786.Type)(() => CodeNameDto),
|
|
50076
|
+
(0, import_class_validator763.ValidateNested)(),
|
|
50077
|
+
(0, import_class_validator763.IsObject)(),
|
|
50078
|
+
(0, import_class_transformer786.Expose)()
|
|
50050
50079
|
], UserEntity.prototype, "company", 2);
|
|
50051
50080
|
__decorateClass([
|
|
50052
|
-
(0,
|
|
50053
|
-
(0,
|
|
50054
|
-
(0,
|
|
50055
|
-
(0,
|
|
50056
|
-
(0,
|
|
50081
|
+
(0, import_class_validator763.IsDefined)({ message: "debe proporcionar el pa\xEDs" }),
|
|
50082
|
+
(0, import_class_validator763.ValidateNested)(),
|
|
50083
|
+
(0, import_class_transformer786.Type)(() => CodeNameMinLengthDto),
|
|
50084
|
+
(0, import_class_validator763.IsObject)(),
|
|
50085
|
+
(0, import_class_transformer786.Expose)()
|
|
50057
50086
|
], UserEntity.prototype, "country", 2);
|
|
50058
50087
|
__decorateClass([
|
|
50059
|
-
(0,
|
|
50060
|
-
(0,
|
|
50061
|
-
(0,
|
|
50062
|
-
(0,
|
|
50063
|
-
(0,
|
|
50088
|
+
(0, import_class_validator763.IsDefined)({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
50089
|
+
(0, import_class_validator763.ValidateNested)(),
|
|
50090
|
+
(0, import_class_transformer786.Type)(() => CodeNameMinLengthDto),
|
|
50091
|
+
(0, import_class_validator763.IsObject)(),
|
|
50092
|
+
(0, import_class_transformer786.Expose)()
|
|
50064
50093
|
], UserEntity.prototype, "delegation", 2);
|
|
50065
50094
|
|
|
50095
|
+
// src/v2/entities/SystemOption.ts
|
|
50096
|
+
var import_class_transformer787 = require("class-transformer");
|
|
50097
|
+
var import_class_validator764 = require("class-validator");
|
|
50098
|
+
var SystemOptionEntity = class {
|
|
50099
|
+
_id;
|
|
50100
|
+
key;
|
|
50101
|
+
name;
|
|
50102
|
+
prefix;
|
|
50103
|
+
method;
|
|
50104
|
+
father;
|
|
50105
|
+
route;
|
|
50106
|
+
root;
|
|
50107
|
+
};
|
|
50108
|
+
__decorateClass([
|
|
50109
|
+
(0, import_class_validator764.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
50110
|
+
(0, import_class_validator764.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
50111
|
+
(0, import_class_transformer787.Expose)()
|
|
50112
|
+
], SystemOptionEntity.prototype, "_id", 2);
|
|
50113
|
+
__decorateClass([
|
|
50114
|
+
(0, import_class_validator764.IsNotEmpty)({ message: "Key no puede estar vac\xEDo" }),
|
|
50115
|
+
(0, import_class_validator764.IsString)({ message: "Key debe ser una cadena de texto" }),
|
|
50116
|
+
(0, import_class_transformer787.Expose)()
|
|
50117
|
+
], SystemOptionEntity.prototype, "key", 2);
|
|
50118
|
+
__decorateClass([
|
|
50119
|
+
(0, import_class_validator764.IsString)({ message: "Nombre debe ser una cadena de texto" }),
|
|
50120
|
+
(0, import_class_transformer787.Expose)()
|
|
50121
|
+
], SystemOptionEntity.prototype, "name", 2);
|
|
50122
|
+
__decorateClass([
|
|
50123
|
+
(0, import_class_validator764.IsNotEmpty)({ message: "Prefijo no puede estar vac\xEDo" }),
|
|
50124
|
+
(0, import_class_validator764.IsString)({ message: "Prefijo debe ser una cadena de texto" }),
|
|
50125
|
+
(0, import_class_transformer787.Expose)()
|
|
50126
|
+
], SystemOptionEntity.prototype, "prefix", 2);
|
|
50127
|
+
__decorateClass([
|
|
50128
|
+
(0, import_class_validator764.IsString)({ message: "M\xE9todo debe ser una cadena de texto" }),
|
|
50129
|
+
(0, import_class_transformer787.Expose)()
|
|
50130
|
+
], SystemOptionEntity.prototype, "method", 2);
|
|
50131
|
+
__decorateClass([
|
|
50132
|
+
(0, import_class_validator764.IsString)({ message: "Padre debe ser una cadena de texto" }),
|
|
50133
|
+
(0, import_class_transformer787.Expose)()
|
|
50134
|
+
], SystemOptionEntity.prototype, "father", 2);
|
|
50135
|
+
__decorateClass([
|
|
50136
|
+
(0, import_class_validator764.IsString)({ message: "Padre debe ser una cadena de texto" }),
|
|
50137
|
+
(0, import_class_transformer787.Expose)()
|
|
50138
|
+
], SystemOptionEntity.prototype, "route", 2);
|
|
50139
|
+
__decorateClass([
|
|
50140
|
+
(0, import_class_validator764.IsBoolean)({ message: "Root debe ser booleano" }),
|
|
50141
|
+
(0, import_class_transformer787.Expose)()
|
|
50142
|
+
], SystemOptionEntity.prototype, "root", 2);
|
|
50143
|
+
|
|
50066
50144
|
// src/v2/utils/validateCustom.ts
|
|
50067
|
-
var
|
|
50068
|
-
var
|
|
50145
|
+
var import_class_transformer788 = require("class-transformer");
|
|
50146
|
+
var import_class_validator765 = require("class-validator");
|
|
50069
50147
|
|
|
50070
50148
|
// src/v2/utils/getFirstError.ts
|
|
50071
50149
|
function getFirstError(errors, parentPath = "") {
|
|
@@ -50106,8 +50184,8 @@ function removeUndefined(obj) {
|
|
|
50106
50184
|
|
|
50107
50185
|
// src/v2/utils/validateCustom.ts
|
|
50108
50186
|
async function validateCustom(plain, cls, UnprocessableEntityException, groups) {
|
|
50109
|
-
const instance = (0,
|
|
50110
|
-
const errors = await (0,
|
|
50187
|
+
const instance = (0, import_class_transformer788.plainToInstance)(cls, plain, { excludeExtraneousValues: true, groups });
|
|
50188
|
+
const errors = await (0, import_class_validator765.validate)(instance, { groups });
|
|
50111
50189
|
if (errors.length) {
|
|
50112
50190
|
const msg = getFirstError(errors);
|
|
50113
50191
|
throw new UnprocessableEntityException(msg);
|
|
@@ -50115,16 +50193,56 @@ async function validateCustom(plain, cls, UnprocessableEntityException, groups)
|
|
|
50115
50193
|
return removeUndefined(instance);
|
|
50116
50194
|
}
|
|
50117
50195
|
|
|
50196
|
+
// src/v2/utils/buildSystemOption.ts
|
|
50197
|
+
function separarPalabras(texto) {
|
|
50198
|
+
return texto.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/([A-Z])([A-Z][a-z])/g, "$1 $2");
|
|
50199
|
+
}
|
|
50200
|
+
async function builSystemOption(params) {
|
|
50201
|
+
const { rootPath, prefix, dataDB, rawData, UnprocessableEntityException, root = false } = params;
|
|
50202
|
+
const dataDBSet = new Set(dataDB.map((e) => e.key));
|
|
50203
|
+
const mapaLocal = /* @__PURE__ */ new Set();
|
|
50204
|
+
const newData = [];
|
|
50205
|
+
for (const raw of rawData) {
|
|
50206
|
+
for (const endpoint of raw.endpoints) {
|
|
50207
|
+
const [method, pathParts] = endpoint.route.split(" ");
|
|
50208
|
+
const partsRoute = `${prefix}${pathParts}`.split("/");
|
|
50209
|
+
for (const [i, element] of partsRoute.entries()) {
|
|
50210
|
+
const father = partsRoute.slice(0, i).join("");
|
|
50211
|
+
const isLast = i === partsRoute.length - 1;
|
|
50212
|
+
const key = `${partsRoute.slice(0, i + 1).join("")}${isLast ? method : ""}`;
|
|
50213
|
+
if (mapaLocal.has(key)) continue;
|
|
50214
|
+
mapaLocal.add(key);
|
|
50215
|
+
if (!dataDBSet.has(key)) {
|
|
50216
|
+
const _newEntity = new SystemOptionEntity();
|
|
50217
|
+
_newEntity.father = father;
|
|
50218
|
+
_newEntity.name = separarPalabras(element);
|
|
50219
|
+
_newEntity.prefix = prefix;
|
|
50220
|
+
_newEntity.root = root;
|
|
50221
|
+
_newEntity.key = key;
|
|
50222
|
+
if (isLast) {
|
|
50223
|
+
_newEntity.method = method;
|
|
50224
|
+
_newEntity.route = `${method} ${rootPath}${pathParts}`;
|
|
50225
|
+
}
|
|
50226
|
+
const newItem = await validateCustom(_newEntity, SystemOptionEntity, UnprocessableEntityException);
|
|
50227
|
+
newData.push(newItem);
|
|
50228
|
+
}
|
|
50229
|
+
}
|
|
50230
|
+
}
|
|
50231
|
+
}
|
|
50232
|
+
const _ids = dataDB.filter((e) => !mapaLocal.has(e.key)).map((e) => e._id);
|
|
50233
|
+
return { _ids, newData };
|
|
50234
|
+
}
|
|
50235
|
+
|
|
50118
50236
|
// src/v2/middlewares/validateRequestBody.ts
|
|
50119
|
-
var
|
|
50120
|
-
var
|
|
50237
|
+
var import_class_transformer789 = require("class-transformer");
|
|
50238
|
+
var import_class_validator766 = require("class-validator");
|
|
50121
50239
|
async function validateRequestBody({ dtoClass, BadRequestException, groups }, req, _res, next) {
|
|
50122
50240
|
try {
|
|
50123
50241
|
if (Array.isArray(req.body)) {
|
|
50124
50242
|
const newBody = [];
|
|
50125
50243
|
for (const element of req.body) {
|
|
50126
|
-
const dtoInstance2 = (0,
|
|
50127
|
-
const errors2 = await (0,
|
|
50244
|
+
const dtoInstance2 = (0, import_class_transformer789.plainToInstance)(dtoClass, element, { excludeExtraneousValues: true, groups });
|
|
50245
|
+
const errors2 = await (0, import_class_validator766.validate)(dtoInstance2, { groups });
|
|
50128
50246
|
if (errors2.length > 0) {
|
|
50129
50247
|
const firstError = getFirstError(errors2);
|
|
50130
50248
|
return next(new BadRequestException(firstError));
|
|
@@ -50134,8 +50252,8 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
50134
50252
|
req.body = newBody;
|
|
50135
50253
|
return next();
|
|
50136
50254
|
}
|
|
50137
|
-
const dtoInstance = (0,
|
|
50138
|
-
const errors = await (0,
|
|
50255
|
+
const dtoInstance = (0, import_class_transformer789.plainToInstance)(dtoClass, req.body, { excludeExtraneousValues: true, groups });
|
|
50256
|
+
const errors = await (0, import_class_validator766.validate)(dtoInstance, { groups });
|
|
50139
50257
|
if (errors.length > 0) {
|
|
50140
50258
|
const firstError = getFirstError(errors);
|
|
50141
50259
|
return next(new BadRequestException(firstError));
|
|
@@ -50716,6 +50834,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
50716
50834
|
RequestNumberTTLENTITY,
|
|
50717
50835
|
ReservaENTITY,
|
|
50718
50836
|
ReservaManoObraRegularizacionENTITY,
|
|
50837
|
+
ResetPasswordDto,
|
|
50719
50838
|
ResponseSignInDto,
|
|
50720
50839
|
ResultadoDTO,
|
|
50721
50840
|
ResumemENTITY,
|
|
@@ -50798,6 +50917,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
50798
50917
|
SubEstadoInternoDTO,
|
|
50799
50918
|
SubManoObraDTO,
|
|
50800
50919
|
SummaryDTO,
|
|
50920
|
+
SystemOptionEntity,
|
|
50801
50921
|
TOAClaroOrderStockENTITY,
|
|
50802
50922
|
TOAOrdenLiquidacionENTITY,
|
|
50803
50923
|
TOAOrdenLiquidacionENTITYDB,
|
|
@@ -50941,6 +51061,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
50941
51061
|
ZonaTrabajoENTITY,
|
|
50942
51062
|
ZonalesDTO,
|
|
50943
51063
|
ZonasDTO,
|
|
51064
|
+
builSystemOption,
|
|
50944
51065
|
convertStringsToDates,
|
|
50945
51066
|
convertTypeNumber,
|
|
50946
51067
|
enumToArray,
|
package/dist/index.mjs
CHANGED
|
@@ -49467,12 +49467,42 @@ __decorateClass([
|
|
|
49467
49467
|
Expose755()
|
|
49468
49468
|
], ForgotPasswordDto.prototype, "email", 2);
|
|
49469
49469
|
|
|
49470
|
+
// src/v2/dtos/ResetPassword.ts
|
|
49471
|
+
import { Expose as Expose756 } from "class-transformer";
|
|
49472
|
+
import {
|
|
49473
|
+
IsString as IsString623,
|
|
49474
|
+
MinLength as MinLength57,
|
|
49475
|
+
IsStrongPassword
|
|
49476
|
+
} from "class-validator";
|
|
49477
|
+
var ResetPasswordDto = class {
|
|
49478
|
+
password = "";
|
|
49479
|
+
confirmPassword = "";
|
|
49480
|
+
token = "";
|
|
49481
|
+
};
|
|
49482
|
+
__decorateClass([
|
|
49483
|
+
IsString623(),
|
|
49484
|
+
MinLength57(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
49485
|
+
IsStrongPassword({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
49486
|
+
Expose756()
|
|
49487
|
+
], ResetPasswordDto.prototype, "password", 2);
|
|
49488
|
+
__decorateClass([
|
|
49489
|
+
IsString623(),
|
|
49490
|
+
MinLength57(8, { message: "La contrase\xF1a debe tener al menos 8 caracteres" }),
|
|
49491
|
+
IsStrongPassword({}, { message: "La contrase\xF1a no es lo suficientemente segura." }),
|
|
49492
|
+
Expose756()
|
|
49493
|
+
], ResetPasswordDto.prototype, "confirmPassword", 2);
|
|
49494
|
+
__decorateClass([
|
|
49495
|
+
IsString623(),
|
|
49496
|
+
MinLength57(50),
|
|
49497
|
+
Expose756()
|
|
49498
|
+
], ResetPasswordDto.prototype, "token", 2);
|
|
49499
|
+
|
|
49470
49500
|
// src/v2/entities/Delegacion.ts
|
|
49471
|
-
import { Expose as
|
|
49472
|
-
import { IsDefined as IsDefined259, IsObject as IsObject16, IsString as
|
|
49501
|
+
import { Expose as Expose758, Type as Type475 } from "class-transformer";
|
|
49502
|
+
import { IsDefined as IsDefined259, IsObject as IsObject16, IsString as IsString624, MinLength as MinLength58, ValidateNested as ValidateNested415 } from "class-validator";
|
|
49473
49503
|
|
|
49474
49504
|
// src/v2/entities/Base.ts
|
|
49475
|
-
import { Expose as
|
|
49505
|
+
import { Expose as Expose757 } from "class-transformer";
|
|
49476
49506
|
import { IsBoolean as IsBoolean68, IsDefined as IsDefined258, IsUUID as IsUUID18 } from "class-validator";
|
|
49477
49507
|
var BaseEntity = class {
|
|
49478
49508
|
_id;
|
|
@@ -49481,12 +49511,12 @@ var BaseEntity = class {
|
|
|
49481
49511
|
__decorateClass([
|
|
49482
49512
|
IsDefined258({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
49483
49513
|
IsUUID18("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
49484
|
-
|
|
49514
|
+
Expose757()
|
|
49485
49515
|
], BaseEntity.prototype, "_id", 2);
|
|
49486
49516
|
__decorateClass([
|
|
49487
49517
|
IsDefined258({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
49488
49518
|
IsBoolean68({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
49489
|
-
|
|
49519
|
+
Expose757()
|
|
49490
49520
|
], BaseEntity.prototype, "active", 2);
|
|
49491
49521
|
|
|
49492
49522
|
// src/v2/entities/Delegacion.ts
|
|
@@ -49500,24 +49530,24 @@ __decorateClass([
|
|
|
49500
49530
|
Type475(() => CodeNameMinLengthDto),
|
|
49501
49531
|
IsObject16({ message: 'La propiedad "pais" debe ser un objeto v\xE1lido.' }),
|
|
49502
49532
|
ValidateNested415({ message: 'La propiedad "pais" no es v\xE1lida.' }),
|
|
49503
|
-
|
|
49533
|
+
Expose758()
|
|
49504
49534
|
], DelegacionEntity.prototype, "pais", 2);
|
|
49505
49535
|
__decorateClass([
|
|
49506
49536
|
IsDefined259({ message: 'La propiedad "codigo" es obligatoria.' }),
|
|
49507
|
-
|
|
49508
|
-
|
|
49509
|
-
|
|
49537
|
+
IsString624({ message: 'La propiedad "codigo" debe ser una cadena de texto.' }),
|
|
49538
|
+
MinLength58(1, { message: 'La propiedad "codigo" debe tener al menos 1 car\xE1cter.' }),
|
|
49539
|
+
Expose758()
|
|
49510
49540
|
], DelegacionEntity.prototype, "codigo", 2);
|
|
49511
49541
|
__decorateClass([
|
|
49512
49542
|
IsDefined259({ message: 'La propiedad "nombre" es obligatoria.' }),
|
|
49513
|
-
|
|
49514
|
-
|
|
49515
|
-
|
|
49543
|
+
IsString624({ message: 'La propiedad "nombre" debe ser una cadena de texto.' }),
|
|
49544
|
+
MinLength58(1, { message: 'La propiedad "nombre" debe tener al menos 1 car\xE1cter.' }),
|
|
49545
|
+
Expose758()
|
|
49516
49546
|
], DelegacionEntity.prototype, "nombre", 2);
|
|
49517
49547
|
|
|
49518
49548
|
// src/v2/entities/User.ts
|
|
49519
|
-
import { IsDefined as IsDefined260, IsEmail as IsEmail7, IsObject as IsObject17, IsString as
|
|
49520
|
-
import { Expose as
|
|
49549
|
+
import { IsDefined as IsDefined260, IsEmail as IsEmail7, IsObject as IsObject17, IsString as IsString625, ValidateNested as ValidateNested416 } from "class-validator";
|
|
49550
|
+
import { Expose as Expose759, Transform as Transform113, Type as Type476 } from "class-transformer";
|
|
49521
49551
|
var UserEntity = class extends BaseEntity {
|
|
49522
49552
|
email;
|
|
49523
49553
|
password;
|
|
@@ -49533,60 +49563,109 @@ __decorateClass([
|
|
|
49533
49563
|
IsDefined260({ message: "El correo es requerido" }),
|
|
49534
49564
|
IsEmail7({}, { message: "El correo es invalido" }),
|
|
49535
49565
|
Transform113(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
49536
|
-
|
|
49566
|
+
Expose759()
|
|
49537
49567
|
], UserEntity.prototype, "email", 2);
|
|
49538
49568
|
__decorateClass([
|
|
49539
49569
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49540
49570
|
IsDefined260({ message: "La contrase\xF1a es requerida" }),
|
|
49541
|
-
|
|
49542
|
-
|
|
49571
|
+
IsString625({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
49572
|
+
Expose759()
|
|
49543
49573
|
], UserEntity.prototype, "password", 2);
|
|
49544
49574
|
__decorateClass([
|
|
49545
49575
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49546
49576
|
IsDefined260({ message: "El apellido paterno es requerido" }),
|
|
49547
|
-
|
|
49548
|
-
|
|
49577
|
+
IsString625({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
49578
|
+
Expose759()
|
|
49549
49579
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
49550
49580
|
__decorateClass([
|
|
49551
49581
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49552
49582
|
IsDefined260({ message: "El apellido materno es requerido" }),
|
|
49553
|
-
|
|
49554
|
-
|
|
49583
|
+
IsString625({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
49584
|
+
Expose759()
|
|
49555
49585
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
49556
49586
|
__decorateClass([
|
|
49557
49587
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49558
49588
|
IsDefined260({ message: "El nombre es requerido" }),
|
|
49559
|
-
|
|
49560
|
-
|
|
49589
|
+
IsString625({ message: "El nombre debe ser una cadena de texto" }),
|
|
49590
|
+
Expose759()
|
|
49561
49591
|
], UserEntity.prototype, "firstNames", 2);
|
|
49562
49592
|
__decorateClass([
|
|
49563
49593
|
Transform113(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49564
49594
|
IsDefined260({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
49565
|
-
|
|
49566
|
-
|
|
49595
|
+
IsString625({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
49596
|
+
Expose759()
|
|
49567
49597
|
], UserEntity.prototype, "identification", 2);
|
|
49568
49598
|
__decorateClass([
|
|
49569
49599
|
IsDefined260({ message: "La empresa es requerida" }),
|
|
49570
49600
|
Type476(() => CodeNameDto),
|
|
49571
49601
|
ValidateNested416(),
|
|
49572
49602
|
IsObject17(),
|
|
49573
|
-
|
|
49603
|
+
Expose759()
|
|
49574
49604
|
], UserEntity.prototype, "company", 2);
|
|
49575
49605
|
__decorateClass([
|
|
49576
49606
|
IsDefined260({ message: "debe proporcionar el pa\xEDs" }),
|
|
49577
49607
|
ValidateNested416(),
|
|
49578
49608
|
Type476(() => CodeNameMinLengthDto),
|
|
49579
49609
|
IsObject17(),
|
|
49580
|
-
|
|
49610
|
+
Expose759()
|
|
49581
49611
|
], UserEntity.prototype, "country", 2);
|
|
49582
49612
|
__decorateClass([
|
|
49583
49613
|
IsDefined260({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
49584
49614
|
ValidateNested416(),
|
|
49585
49615
|
Type476(() => CodeNameMinLengthDto),
|
|
49586
49616
|
IsObject17(),
|
|
49587
|
-
|
|
49617
|
+
Expose759()
|
|
49588
49618
|
], UserEntity.prototype, "delegation", 2);
|
|
49589
49619
|
|
|
49620
|
+
// src/v2/entities/SystemOption.ts
|
|
49621
|
+
import { Expose as Expose760 } from "class-transformer";
|
|
49622
|
+
import { IsBoolean as IsBoolean69, IsDefined as IsDefined261, IsNotEmpty as IsNotEmpty460, IsString as IsString626, IsUUID as IsUUID19 } from "class-validator";
|
|
49623
|
+
var SystemOptionEntity = class {
|
|
49624
|
+
_id;
|
|
49625
|
+
key;
|
|
49626
|
+
name;
|
|
49627
|
+
prefix;
|
|
49628
|
+
method;
|
|
49629
|
+
father;
|
|
49630
|
+
route;
|
|
49631
|
+
root;
|
|
49632
|
+
};
|
|
49633
|
+
__decorateClass([
|
|
49634
|
+
IsDefined261({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
49635
|
+
IsUUID19("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
49636
|
+
Expose760()
|
|
49637
|
+
], SystemOptionEntity.prototype, "_id", 2);
|
|
49638
|
+
__decorateClass([
|
|
49639
|
+
IsNotEmpty460({ message: "Key no puede estar vac\xEDo" }),
|
|
49640
|
+
IsString626({ message: "Key debe ser una cadena de texto" }),
|
|
49641
|
+
Expose760()
|
|
49642
|
+
], SystemOptionEntity.prototype, "key", 2);
|
|
49643
|
+
__decorateClass([
|
|
49644
|
+
IsString626({ message: "Nombre debe ser una cadena de texto" }),
|
|
49645
|
+
Expose760()
|
|
49646
|
+
], SystemOptionEntity.prototype, "name", 2);
|
|
49647
|
+
__decorateClass([
|
|
49648
|
+
IsNotEmpty460({ message: "Prefijo no puede estar vac\xEDo" }),
|
|
49649
|
+
IsString626({ message: "Prefijo debe ser una cadena de texto" }),
|
|
49650
|
+
Expose760()
|
|
49651
|
+
], SystemOptionEntity.prototype, "prefix", 2);
|
|
49652
|
+
__decorateClass([
|
|
49653
|
+
IsString626({ message: "M\xE9todo debe ser una cadena de texto" }),
|
|
49654
|
+
Expose760()
|
|
49655
|
+
], SystemOptionEntity.prototype, "method", 2);
|
|
49656
|
+
__decorateClass([
|
|
49657
|
+
IsString626({ message: "Padre debe ser una cadena de texto" }),
|
|
49658
|
+
Expose760()
|
|
49659
|
+
], SystemOptionEntity.prototype, "father", 2);
|
|
49660
|
+
__decorateClass([
|
|
49661
|
+
IsString626({ message: "Padre debe ser una cadena de texto" }),
|
|
49662
|
+
Expose760()
|
|
49663
|
+
], SystemOptionEntity.prototype, "route", 2);
|
|
49664
|
+
__decorateClass([
|
|
49665
|
+
IsBoolean69({ message: "Root debe ser booleano" }),
|
|
49666
|
+
Expose760()
|
|
49667
|
+
], SystemOptionEntity.prototype, "root", 2);
|
|
49668
|
+
|
|
49590
49669
|
// src/v2/utils/validateCustom.ts
|
|
49591
49670
|
import { plainToInstance as plainToInstance4 } from "class-transformer";
|
|
49592
49671
|
import { validate as validate3 } from "class-validator";
|
|
@@ -49639,6 +49718,46 @@ async function validateCustom(plain, cls, UnprocessableEntityException, groups)
|
|
|
49639
49718
|
return removeUndefined(instance);
|
|
49640
49719
|
}
|
|
49641
49720
|
|
|
49721
|
+
// src/v2/utils/buildSystemOption.ts
|
|
49722
|
+
function separarPalabras(texto) {
|
|
49723
|
+
return texto.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/([A-Z])([A-Z][a-z])/g, "$1 $2");
|
|
49724
|
+
}
|
|
49725
|
+
async function builSystemOption(params) {
|
|
49726
|
+
const { rootPath, prefix, dataDB, rawData, UnprocessableEntityException, root = false } = params;
|
|
49727
|
+
const dataDBSet = new Set(dataDB.map((e) => e.key));
|
|
49728
|
+
const mapaLocal = /* @__PURE__ */ new Set();
|
|
49729
|
+
const newData = [];
|
|
49730
|
+
for (const raw of rawData) {
|
|
49731
|
+
for (const endpoint of raw.endpoints) {
|
|
49732
|
+
const [method, pathParts] = endpoint.route.split(" ");
|
|
49733
|
+
const partsRoute = `${prefix}${pathParts}`.split("/");
|
|
49734
|
+
for (const [i, element] of partsRoute.entries()) {
|
|
49735
|
+
const father = partsRoute.slice(0, i).join("");
|
|
49736
|
+
const isLast = i === partsRoute.length - 1;
|
|
49737
|
+
const key = `${partsRoute.slice(0, i + 1).join("")}${isLast ? method : ""}`;
|
|
49738
|
+
if (mapaLocal.has(key)) continue;
|
|
49739
|
+
mapaLocal.add(key);
|
|
49740
|
+
if (!dataDBSet.has(key)) {
|
|
49741
|
+
const _newEntity = new SystemOptionEntity();
|
|
49742
|
+
_newEntity.father = father;
|
|
49743
|
+
_newEntity.name = separarPalabras(element);
|
|
49744
|
+
_newEntity.prefix = prefix;
|
|
49745
|
+
_newEntity.root = root;
|
|
49746
|
+
_newEntity.key = key;
|
|
49747
|
+
if (isLast) {
|
|
49748
|
+
_newEntity.method = method;
|
|
49749
|
+
_newEntity.route = `${method} ${rootPath}${pathParts}`;
|
|
49750
|
+
}
|
|
49751
|
+
const newItem = await validateCustom(_newEntity, SystemOptionEntity, UnprocessableEntityException);
|
|
49752
|
+
newData.push(newItem);
|
|
49753
|
+
}
|
|
49754
|
+
}
|
|
49755
|
+
}
|
|
49756
|
+
}
|
|
49757
|
+
const _ids = dataDB.filter((e) => !mapaLocal.has(e.key)).map((e) => e._id);
|
|
49758
|
+
return { _ids, newData };
|
|
49759
|
+
}
|
|
49760
|
+
|
|
49642
49761
|
// src/v2/middlewares/validateRequestBody.ts
|
|
49643
49762
|
import { plainToInstance as plainToInstance5 } from "class-transformer";
|
|
49644
49763
|
import { validate as validate4 } from "class-validator";
|
|
@@ -50239,6 +50358,7 @@ export {
|
|
|
50239
50358
|
RequestNumberTTLENTITY,
|
|
50240
50359
|
ReservaENTITY,
|
|
50241
50360
|
ReservaManoObraRegularizacionENTITY,
|
|
50361
|
+
ResetPasswordDto,
|
|
50242
50362
|
ResponseSignInDto,
|
|
50243
50363
|
ResultadoDTO,
|
|
50244
50364
|
ResumemENTITY,
|
|
@@ -50321,6 +50441,7 @@ export {
|
|
|
50321
50441
|
SubEstadoInternoDTO,
|
|
50322
50442
|
SubManoObraDTO,
|
|
50323
50443
|
SummaryDTO,
|
|
50444
|
+
SystemOptionEntity,
|
|
50324
50445
|
TOAClaroOrderStockENTITY,
|
|
50325
50446
|
TOAOrdenLiquidacionENTITY,
|
|
50326
50447
|
TOAOrdenLiquidacionENTITYDB,
|
|
@@ -50464,6 +50585,7 @@ export {
|
|
|
50464
50585
|
ZonaTrabajoENTITY,
|
|
50465
50586
|
ZonalesDTO,
|
|
50466
50587
|
ZonasDTO,
|
|
50588
|
+
builSystemOption,
|
|
50467
50589
|
convertStringsToDates,
|
|
50468
50590
|
convertTypeNumber,
|
|
50469
50591
|
enumToArray,
|