sigo-entities 1.2.391 → 1.2.392
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 +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +166 -144
- package/dist/index.mjs +145 -124
- package/generateDtos.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -9469,6 +9469,11 @@ declare class DelegationEntity extends BaseEntity {
|
|
|
9469
9469
|
name: string;
|
|
9470
9470
|
}
|
|
9471
9471
|
|
|
9472
|
+
declare class CompanyDto {
|
|
9473
|
+
_id: string;
|
|
9474
|
+
countryId: string;
|
|
9475
|
+
}
|
|
9476
|
+
|
|
9472
9477
|
declare class UserEntity extends BaseEntity {
|
|
9473
9478
|
email: string;
|
|
9474
9479
|
password: string;
|
|
@@ -9476,7 +9481,7 @@ declare class UserEntity extends BaseEntity {
|
|
|
9476
9481
|
maternalLastName: string;
|
|
9477
9482
|
firstNames: string;
|
|
9478
9483
|
identification: string;
|
|
9479
|
-
|
|
9484
|
+
companies: CompanyDto[];
|
|
9480
9485
|
delegationIds: string[];
|
|
9481
9486
|
root: boolean;
|
|
9482
9487
|
profileId: string;
|
|
@@ -9494,6 +9499,7 @@ declare class CountryEntity extends BaseEntity {
|
|
|
9494
9499
|
}
|
|
9495
9500
|
|
|
9496
9501
|
declare enum CompanyType {
|
|
9502
|
+
OPERATIVA = "Operativa",
|
|
9497
9503
|
PROVEEDOR = "Proveedor"
|
|
9498
9504
|
}
|
|
9499
9505
|
|
|
@@ -9507,7 +9513,7 @@ declare class CompanyEntity extends BaseEntity {
|
|
|
9507
9513
|
address: string;
|
|
9508
9514
|
emails: string[];
|
|
9509
9515
|
phones: string[];
|
|
9510
|
-
|
|
9516
|
+
countryId: string;
|
|
9511
9517
|
}
|
|
9512
9518
|
|
|
9513
9519
|
interface MenuDto {
|
|
@@ -9544,4 +9550,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
9544
9550
|
}
|
|
9545
9551
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
9546
9552
|
|
|
9547
|
-
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, AuthUserDto, 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, CompanyEntity, 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, CountryEntity, CrearNavisionpreordenEntityRequestDto, CreateProfileDto, 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, DelegacionZonalesDTO, DelegationEntity, 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, type MenuDto, 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, ProfileDto, ProfileEntity, 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, UOMaterialesBaremoDTO, 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, UpdateProfileDto, 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 };
|
|
9553
|
+
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, AuthUserDto, 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, CompanyDto, CompanyEntity, 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, CountryEntity, CrearNavisionpreordenEntityRequestDto, CreateProfileDto, 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, DelegacionZonalesDTO, DelegationEntity, 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, type MenuDto, 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, ProfileDto, ProfileEntity, 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, UOMaterialesBaremoDTO, 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, UpdateProfileDto, UpdateUltimaFaseFacturacionDTO, UserDto, UserEntity, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, enumToArray, getFirstError, hydrate, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.d.ts
CHANGED
|
@@ -9469,6 +9469,11 @@ declare class DelegationEntity extends BaseEntity {
|
|
|
9469
9469
|
name: string;
|
|
9470
9470
|
}
|
|
9471
9471
|
|
|
9472
|
+
declare class CompanyDto {
|
|
9473
|
+
_id: string;
|
|
9474
|
+
countryId: string;
|
|
9475
|
+
}
|
|
9476
|
+
|
|
9472
9477
|
declare class UserEntity extends BaseEntity {
|
|
9473
9478
|
email: string;
|
|
9474
9479
|
password: string;
|
|
@@ -9476,7 +9481,7 @@ declare class UserEntity extends BaseEntity {
|
|
|
9476
9481
|
maternalLastName: string;
|
|
9477
9482
|
firstNames: string;
|
|
9478
9483
|
identification: string;
|
|
9479
|
-
|
|
9484
|
+
companies: CompanyDto[];
|
|
9480
9485
|
delegationIds: string[];
|
|
9481
9486
|
root: boolean;
|
|
9482
9487
|
profileId: string;
|
|
@@ -9494,6 +9499,7 @@ declare class CountryEntity extends BaseEntity {
|
|
|
9494
9499
|
}
|
|
9495
9500
|
|
|
9496
9501
|
declare enum CompanyType {
|
|
9502
|
+
OPERATIVA = "Operativa",
|
|
9497
9503
|
PROVEEDOR = "Proveedor"
|
|
9498
9504
|
}
|
|
9499
9505
|
|
|
@@ -9507,7 +9513,7 @@ declare class CompanyEntity extends BaseEntity {
|
|
|
9507
9513
|
address: string;
|
|
9508
9514
|
emails: string[];
|
|
9509
9515
|
phones: string[];
|
|
9510
|
-
|
|
9516
|
+
countryId: string;
|
|
9511
9517
|
}
|
|
9512
9518
|
|
|
9513
9519
|
interface MenuDto {
|
|
@@ -9544,4 +9550,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
9544
9550
|
}
|
|
9545
9551
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
9546
9552
|
|
|
9547
|
-
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, AuthUserDto, 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, CompanyEntity, 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, CountryEntity, CrearNavisionpreordenEntityRequestDto, CreateProfileDto, 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, DelegacionZonalesDTO, DelegationEntity, 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, type MenuDto, 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, ProfileDto, ProfileEntity, 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, UOMaterialesBaremoDTO, 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, UpdateProfileDto, 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 };
|
|
9553
|
+
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, AuthUserDto, 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, CompanyDto, CompanyEntity, 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, CountryEntity, CrearNavisionpreordenEntityRequestDto, CreateProfileDto, 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, DelegacionZonalesDTO, DelegationEntity, 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, type MenuDto, 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, ProfileDto, ProfileEntity, 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, UOMaterialesBaremoDTO, 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, UpdateProfileDto, UpdateUltimaFaseFacturacionDTO, UserDto, UserEntity, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, enumToArray, getFirstError, hydrate, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.js
CHANGED
|
@@ -125,6 +125,7 @@ __export(index_exports, {
|
|
|
125
125
|
CodigoTituloAlemaniaDTO: () => CodigoTituloAlemaniaDTO,
|
|
126
126
|
CodigoTituloColombiaDTO: () => CodigoTituloColombiaDTO,
|
|
127
127
|
CodigoTituloDTO: () => CodigoTituloDTO,
|
|
128
|
+
CompanyDto: () => CompanyDto,
|
|
128
129
|
CompanyEntity: () => CompanyEntity,
|
|
129
130
|
ComparativoDto: () => ComparativoDto,
|
|
130
131
|
CondicionDTO: () => CondicionDTO,
|
|
@@ -49964,6 +49965,7 @@ __decorateClass([
|
|
|
49964
49965
|
], AuthUserDto.prototype, "root", 2);
|
|
49965
49966
|
__decorateClass([
|
|
49966
49967
|
(0, import_class_validator758.IsDefined)({ message: "El campo Perfil es obligatorio" }),
|
|
49968
|
+
(0, import_class_validator758.ValidateIf)((_, value) => value !== ""),
|
|
49967
49969
|
(0, import_class_validator758.IsUUID)("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
49968
49970
|
(0, import_class_transformer781.Expose)()
|
|
49969
49971
|
], AuthUserDto.prototype, "profileId", 2);
|
|
@@ -50220,26 +50222,44 @@ __decorateClass([
|
|
|
50220
50222
|
(0, import_class_transformer789.Expose)()
|
|
50221
50223
|
], UpdateProfileDto.prototype, "systemOptions", 2);
|
|
50222
50224
|
|
|
50223
|
-
// src/v2/
|
|
50224
|
-
var import_class_transformer791 = require("class-transformer");
|
|
50225
|
-
var import_class_validator768 = require("class-validator");
|
|
50226
|
-
|
|
50227
|
-
// src/v2/entities/Base.ts
|
|
50225
|
+
// src/v2/dtos/Company.ts
|
|
50228
50226
|
var import_class_transformer790 = require("class-transformer");
|
|
50229
50227
|
var import_class_validator767 = require("class-validator");
|
|
50230
|
-
var
|
|
50228
|
+
var CompanyDto = class {
|
|
50231
50229
|
_id;
|
|
50232
|
-
|
|
50230
|
+
countryId;
|
|
50233
50231
|
};
|
|
50234
50232
|
__decorateClass([
|
|
50235
50233
|
(0, import_class_validator767.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
50236
50234
|
(0, import_class_validator767.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
50237
50235
|
(0, import_class_transformer790.Expose)()
|
|
50238
|
-
],
|
|
50236
|
+
], CompanyDto.prototype, "_id", 2);
|
|
50239
50237
|
__decorateClass([
|
|
50240
|
-
(0, import_class_validator767.IsDefined)({ message:
|
|
50241
|
-
(0, import_class_validator767.
|
|
50238
|
+
(0, import_class_validator767.IsDefined)({ message: "El campo pa\xEDs es requerido" }),
|
|
50239
|
+
(0, import_class_validator767.IsUUID)("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
50242
50240
|
(0, import_class_transformer790.Expose)()
|
|
50241
|
+
], CompanyDto.prototype, "countryId", 2);
|
|
50242
|
+
|
|
50243
|
+
// src/v2/entities/Delegation.ts
|
|
50244
|
+
var import_class_transformer792 = require("class-transformer");
|
|
50245
|
+
var import_class_validator769 = require("class-validator");
|
|
50246
|
+
|
|
50247
|
+
// src/v2/entities/Base.ts
|
|
50248
|
+
var import_class_transformer791 = require("class-transformer");
|
|
50249
|
+
var import_class_validator768 = require("class-validator");
|
|
50250
|
+
var BaseEntity = class {
|
|
50251
|
+
_id;
|
|
50252
|
+
active;
|
|
50253
|
+
};
|
|
50254
|
+
__decorateClass([
|
|
50255
|
+
(0, import_class_validator768.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
50256
|
+
(0, import_class_validator768.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
50257
|
+
(0, import_class_transformer791.Expose)()
|
|
50258
|
+
], BaseEntity.prototype, "_id", 2);
|
|
50259
|
+
__decorateClass([
|
|
50260
|
+
(0, import_class_validator768.IsDefined)({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
50261
|
+
(0, import_class_validator768.IsBoolean)({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
50262
|
+
(0, import_class_transformer791.Expose)()
|
|
50243
50263
|
], BaseEntity.prototype, "active", 2);
|
|
50244
50264
|
|
|
50245
50265
|
// src/v2/entities/Delegation.ts
|
|
@@ -50249,26 +50269,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
50249
50269
|
name;
|
|
50250
50270
|
};
|
|
50251
50271
|
__decorateClass([
|
|
50252
|
-
(0,
|
|
50253
|
-
(0,
|
|
50254
|
-
(0,
|
|
50272
|
+
(0, import_class_validator769.IsDefined)({ message: "El campo pais es obligatorio" }),
|
|
50273
|
+
(0, import_class_validator769.IsUUID)("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
50274
|
+
(0, import_class_transformer792.Expose)()
|
|
50255
50275
|
], DelegationEntity.prototype, "countryId", 2);
|
|
50256
50276
|
__decorateClass([
|
|
50257
|
-
(0,
|
|
50258
|
-
(0,
|
|
50259
|
-
(0,
|
|
50260
|
-
(0,
|
|
50277
|
+
(0, import_class_validator769.IsDefined)({ message: "El campo c\xF3digo es obligatorio." }),
|
|
50278
|
+
(0, import_class_validator769.IsString)({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
50279
|
+
(0, import_class_validator769.IsNotEmpty)({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
50280
|
+
(0, import_class_transformer792.Expose)()
|
|
50261
50281
|
], DelegationEntity.prototype, "code", 2);
|
|
50262
50282
|
__decorateClass([
|
|
50263
|
-
(0,
|
|
50264
|
-
(0,
|
|
50265
|
-
(0,
|
|
50266
|
-
(0,
|
|
50283
|
+
(0, import_class_validator769.IsDefined)({ message: "El campo nombre es obligatorio." }),
|
|
50284
|
+
(0, import_class_validator769.IsString)({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
50285
|
+
(0, import_class_validator769.IsNotEmpty)({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
50286
|
+
(0, import_class_transformer792.Expose)()
|
|
50267
50287
|
], DelegationEntity.prototype, "name", 2);
|
|
50268
50288
|
|
|
50269
50289
|
// src/v2/entities/User.ts
|
|
50270
|
-
var
|
|
50271
|
-
var
|
|
50290
|
+
var import_class_validator770 = require("class-validator");
|
|
50291
|
+
var import_class_transformer793 = require("class-transformer");
|
|
50272
50292
|
var UserEntity = class extends BaseEntity {
|
|
50273
50293
|
email;
|
|
50274
50294
|
password;
|
|
@@ -50276,130 +50296,132 @@ var UserEntity = class extends BaseEntity {
|
|
|
50276
50296
|
maternalLastName;
|
|
50277
50297
|
firstNames;
|
|
50278
50298
|
identification;
|
|
50279
|
-
|
|
50299
|
+
companies;
|
|
50280
50300
|
delegationIds;
|
|
50281
50301
|
root;
|
|
50282
50302
|
profileId;
|
|
50283
50303
|
};
|
|
50284
50304
|
__decorateClass([
|
|
50285
|
-
(0,
|
|
50286
|
-
(0,
|
|
50287
|
-
(0,
|
|
50288
|
-
(0,
|
|
50305
|
+
(0, import_class_validator770.IsDefined)({ message: "El correo es requerido" }),
|
|
50306
|
+
(0, import_class_validator770.IsEmail)({}, { message: "El correo es invalido" }),
|
|
50307
|
+
(0, import_class_transformer793.Transform)(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
50308
|
+
(0, import_class_transformer793.Expose)()
|
|
50289
50309
|
], UserEntity.prototype, "email", 2);
|
|
50290
50310
|
__decorateClass([
|
|
50291
|
-
(0,
|
|
50292
|
-
(0,
|
|
50293
|
-
(0,
|
|
50294
|
-
(0,
|
|
50311
|
+
(0, import_class_transformer793.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50312
|
+
(0, import_class_validator770.IsDefined)({ message: "La contrase\xF1a es requerida" }),
|
|
50313
|
+
(0, import_class_validator770.IsString)({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
50314
|
+
(0, import_class_transformer793.Expose)()
|
|
50295
50315
|
], UserEntity.prototype, "password", 2);
|
|
50296
50316
|
__decorateClass([
|
|
50297
|
-
(0,
|
|
50298
|
-
(0,
|
|
50299
|
-
(0,
|
|
50300
|
-
(0,
|
|
50317
|
+
(0, import_class_transformer793.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50318
|
+
(0, import_class_validator770.IsDefined)({ message: "El apellido paterno es requerido" }),
|
|
50319
|
+
(0, import_class_validator770.IsString)({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
50320
|
+
(0, import_class_transformer793.Expose)()
|
|
50301
50321
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
50302
50322
|
__decorateClass([
|
|
50303
|
-
(0,
|
|
50304
|
-
(0,
|
|
50305
|
-
(0,
|
|
50306
|
-
(0,
|
|
50323
|
+
(0, import_class_transformer793.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50324
|
+
(0, import_class_validator770.IsDefined)({ message: "El apellido materno es requerido" }),
|
|
50325
|
+
(0, import_class_validator770.IsString)({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
50326
|
+
(0, import_class_transformer793.Expose)()
|
|
50307
50327
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
50308
50328
|
__decorateClass([
|
|
50309
|
-
(0,
|
|
50310
|
-
(0,
|
|
50311
|
-
(0,
|
|
50312
|
-
(0,
|
|
50329
|
+
(0, import_class_transformer793.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50330
|
+
(0, import_class_validator770.IsDefined)({ message: "El nombre es requerido" }),
|
|
50331
|
+
(0, import_class_validator770.IsString)({ message: "El nombre debe ser una cadena de texto" }),
|
|
50332
|
+
(0, import_class_transformer793.Expose)()
|
|
50313
50333
|
], UserEntity.prototype, "firstNames", 2);
|
|
50314
50334
|
__decorateClass([
|
|
50315
|
-
(0,
|
|
50316
|
-
(0,
|
|
50317
|
-
(0,
|
|
50318
|
-
(0,
|
|
50335
|
+
(0, import_class_transformer793.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50336
|
+
(0, import_class_validator770.IsDefined)({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
50337
|
+
(0, import_class_validator770.IsString)({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
50338
|
+
(0, import_class_transformer793.Expose)()
|
|
50319
50339
|
], UserEntity.prototype, "identification", 2);
|
|
50320
50340
|
__decorateClass([
|
|
50321
|
-
(0,
|
|
50322
|
-
(0,
|
|
50323
|
-
(0,
|
|
50324
|
-
(0,
|
|
50325
|
-
|
|
50341
|
+
(0, import_class_validator770.IsDefined)({ message: "El campo empresas es requerido" }),
|
|
50342
|
+
(0, import_class_validator770.IsArray)({ message: "El campo empresas debe ser un array" }),
|
|
50343
|
+
(0, import_class_transformer793.Type)(() => CompanyDto),
|
|
50344
|
+
(0, import_class_validator770.ValidateNested)({ each: true }),
|
|
50345
|
+
(0, import_class_transformer793.Expose)()
|
|
50346
|
+
], UserEntity.prototype, "companies", 2);
|
|
50326
50347
|
__decorateClass([
|
|
50327
|
-
(0,
|
|
50328
|
-
(0,
|
|
50329
|
-
(0,
|
|
50330
|
-
(0,
|
|
50348
|
+
(0, import_class_validator770.IsDefined)({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
50349
|
+
(0, import_class_validator770.IsArray)({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
50350
|
+
(0, import_class_validator770.IsUUID)("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
50351
|
+
(0, import_class_transformer793.Expose)()
|
|
50331
50352
|
], UserEntity.prototype, "delegationIds", 2);
|
|
50332
50353
|
__decorateClass([
|
|
50333
|
-
(0,
|
|
50334
|
-
(0,
|
|
50335
|
-
(0,
|
|
50354
|
+
(0, import_class_validator770.IsDefined)({ message: 'La propiedad "root" es obligatoria.' }),
|
|
50355
|
+
(0, import_class_validator770.IsBoolean)({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
50356
|
+
(0, import_class_transformer793.Expose)()
|
|
50336
50357
|
], UserEntity.prototype, "root", 2);
|
|
50337
50358
|
__decorateClass([
|
|
50338
|
-
(0,
|
|
50339
|
-
(0,
|
|
50340
|
-
(0,
|
|
50341
|
-
(0,
|
|
50359
|
+
(0, import_class_validator770.IsDefined)({ message: "El campo Perfil es obligatorio" }),
|
|
50360
|
+
(0, import_class_validator770.ValidateIf)((_, value) => value !== ""),
|
|
50361
|
+
(0, import_class_validator770.IsUUID)("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
50362
|
+
(0, import_class_transformer793.Expose)()
|
|
50342
50363
|
], UserEntity.prototype, "profileId", 2);
|
|
50343
50364
|
|
|
50344
50365
|
// src/v2/entities/Profile.ts
|
|
50345
|
-
var
|
|
50346
|
-
var
|
|
50366
|
+
var import_class_transformer794 = require("class-transformer");
|
|
50367
|
+
var import_class_validator771 = require("class-validator");
|
|
50347
50368
|
var ProfileEntity = class extends BaseEntity {
|
|
50348
50369
|
name;
|
|
50349
50370
|
description;
|
|
50350
50371
|
systemOptions;
|
|
50351
50372
|
};
|
|
50352
50373
|
__decorateClass([
|
|
50353
|
-
(0,
|
|
50354
|
-
(0,
|
|
50355
|
-
(0,
|
|
50356
|
-
(0,
|
|
50357
|
-
(0,
|
|
50374
|
+
(0, import_class_validator771.IsDefined)({ message: "El campo nombre es requerido" }),
|
|
50375
|
+
(0, import_class_transformer794.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50376
|
+
(0, import_class_validator771.IsString)({ message: "debe ser una cadena de texto" }),
|
|
50377
|
+
(0, import_class_validator771.Length)(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50378
|
+
(0, import_class_transformer794.Expose)()
|
|
50358
50379
|
], ProfileEntity.prototype, "name", 2);
|
|
50359
50380
|
__decorateClass([
|
|
50360
|
-
(0,
|
|
50361
|
-
(0,
|
|
50362
|
-
(0,
|
|
50363
|
-
(0,
|
|
50364
|
-
(0,
|
|
50381
|
+
(0, import_class_validator771.IsDefined)({ message: "El campo descripci\xF3n es requerido" }),
|
|
50382
|
+
(0, import_class_transformer794.Transform)(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
50383
|
+
(0, import_class_validator771.IsString)({ message: "debe ser una cadena de texto" }),
|
|
50384
|
+
(0, import_class_validator771.Length)(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
50385
|
+
(0, import_class_transformer794.Expose)()
|
|
50365
50386
|
], ProfileEntity.prototype, "description", 2);
|
|
50366
50387
|
__decorateClass([
|
|
50367
|
-
(0,
|
|
50368
|
-
(0,
|
|
50369
|
-
(0,
|
|
50370
|
-
(0,
|
|
50371
|
-
(0,
|
|
50388
|
+
(0, import_class_validator771.IsDefined)({ message: "El campo opciones de sistema es requerido" }),
|
|
50389
|
+
(0, import_class_validator771.IsArray)({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
50390
|
+
(0, import_class_validator771.IsString)({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
50391
|
+
(0, import_class_validator771.MinLength)(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
50392
|
+
(0, import_class_transformer794.Expose)()
|
|
50372
50393
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
50373
50394
|
|
|
50374
50395
|
// src/v2/entities/Country.ts
|
|
50375
|
-
var
|
|
50376
|
-
var
|
|
50396
|
+
var import_class_transformer795 = require("class-transformer");
|
|
50397
|
+
var import_class_validator772 = require("class-validator");
|
|
50377
50398
|
var CountryEntity = class extends BaseEntity {
|
|
50378
50399
|
code;
|
|
50379
50400
|
name;
|
|
50380
50401
|
};
|
|
50381
50402
|
__decorateClass([
|
|
50382
|
-
(0,
|
|
50383
|
-
(0,
|
|
50384
|
-
(0,
|
|
50385
|
-
(0,
|
|
50403
|
+
(0, import_class_validator772.IsDefined)({ message: "El campo c\xF3digo es obligatorio." }),
|
|
50404
|
+
(0, import_class_validator772.IsString)({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
50405
|
+
(0, import_class_validator772.IsNotEmpty)({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
50406
|
+
(0, import_class_transformer795.Expose)()
|
|
50386
50407
|
], CountryEntity.prototype, "code", 2);
|
|
50387
50408
|
__decorateClass([
|
|
50388
|
-
(0,
|
|
50389
|
-
(0,
|
|
50390
|
-
(0,
|
|
50391
|
-
(0,
|
|
50409
|
+
(0, import_class_validator772.IsDefined)({ message: "El campo nombre es obligatorio." }),
|
|
50410
|
+
(0, import_class_validator772.IsString)({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
50411
|
+
(0, import_class_validator772.IsNotEmpty)({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
50412
|
+
(0, import_class_transformer795.Expose)()
|
|
50392
50413
|
], CountryEntity.prototype, "name", 2);
|
|
50393
50414
|
|
|
50394
50415
|
// src/v2/enums/CompanyType.ts
|
|
50395
50416
|
var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
50417
|
+
CompanyType2["OPERATIVA"] = "Operativa";
|
|
50396
50418
|
CompanyType2["PROVEEDOR"] = "Proveedor";
|
|
50397
50419
|
return CompanyType2;
|
|
50398
50420
|
})(CompanyType || {});
|
|
50399
50421
|
|
|
50400
50422
|
// src/v2/entities/Company.ts
|
|
50401
|
-
var
|
|
50402
|
-
var
|
|
50423
|
+
var import_class_transformer796 = require("class-transformer");
|
|
50424
|
+
var import_class_validator773 = require("class-validator");
|
|
50403
50425
|
var CompanyEntity = class extends BaseEntity {
|
|
50404
50426
|
companyType;
|
|
50405
50427
|
identification;
|
|
@@ -50410,71 +50432,70 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
50410
50432
|
address;
|
|
50411
50433
|
emails;
|
|
50412
50434
|
phones;
|
|
50413
|
-
|
|
50435
|
+
countryId;
|
|
50414
50436
|
};
|
|
50415
50437
|
__decorateClass([
|
|
50416
|
-
(0,
|
|
50417
|
-
(0,
|
|
50418
|
-
(0,
|
|
50438
|
+
(0, import_class_validator773.IsDefined)({ message: "El tipo de empresa es requerido" }),
|
|
50439
|
+
(0, import_class_validator773.IsEnum)(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
50440
|
+
(0, import_class_transformer796.Expose)()
|
|
50419
50441
|
], CompanyEntity.prototype, "companyType", 2);
|
|
50420
50442
|
__decorateClass([
|
|
50421
|
-
(0,
|
|
50422
|
-
(0,
|
|
50423
|
-
(0,
|
|
50424
|
-
(0,
|
|
50443
|
+
(0, import_class_validator773.IsDefined)({ message: "La identificaci\xF3n es requerida" }),
|
|
50444
|
+
(0, import_class_validator773.IsString)({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
50445
|
+
(0, import_class_validator773.IsNotEmpty)({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
50446
|
+
(0, import_class_transformer796.Expose)()
|
|
50425
50447
|
], CompanyEntity.prototype, "identification", 2);
|
|
50426
50448
|
__decorateClass([
|
|
50427
|
-
(0,
|
|
50428
|
-
(0,
|
|
50429
|
-
(0,
|
|
50430
|
-
(0,
|
|
50449
|
+
(0, import_class_validator773.IsDefined)({ message: "El c\xF3digo es requerido" }),
|
|
50450
|
+
(0, import_class_validator773.IsString)({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
50451
|
+
(0, import_class_validator773.IsNotEmpty)({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
50452
|
+
(0, import_class_transformer796.Expose)()
|
|
50431
50453
|
], CompanyEntity.prototype, "code", 2);
|
|
50432
50454
|
__decorateClass([
|
|
50433
|
-
(0,
|
|
50434
|
-
(0,
|
|
50435
|
-
(0,
|
|
50436
|
-
(0,
|
|
50455
|
+
(0, import_class_validator773.IsDefined)({ message: "El nombre legal es requerido" }),
|
|
50456
|
+
(0, import_class_validator773.IsString)({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
50457
|
+
(0, import_class_validator773.IsNotEmpty)({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
50458
|
+
(0, import_class_transformer796.Expose)()
|
|
50437
50459
|
], CompanyEntity.prototype, "legalName", 2);
|
|
50438
50460
|
__decorateClass([
|
|
50439
|
-
(0,
|
|
50440
|
-
(0,
|
|
50441
|
-
(0,
|
|
50442
|
-
(0,
|
|
50461
|
+
(0, import_class_validator773.IsDefined)({ message: "El nombre comercial es requerido" }),
|
|
50462
|
+
(0, import_class_validator773.IsString)({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
50463
|
+
(0, import_class_validator773.IsNotEmpty)({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
50464
|
+
(0, import_class_transformer796.Expose)()
|
|
50443
50465
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
50444
50466
|
__decorateClass([
|
|
50445
|
-
(0,
|
|
50446
|
-
(0,
|
|
50447
|
-
(0,
|
|
50467
|
+
(0, import_class_validator773.IsDefined)({ message: "La propiedad es propia es requerida" }),
|
|
50468
|
+
(0, import_class_validator773.IsBoolean)({ message: "La propiedad es propia debe ser un booleano" }),
|
|
50469
|
+
(0, import_class_transformer796.Expose)()
|
|
50448
50470
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
50449
50471
|
__decorateClass([
|
|
50450
|
-
(0,
|
|
50451
|
-
(0,
|
|
50452
|
-
(0,
|
|
50453
|
-
(0,
|
|
50472
|
+
(0, import_class_validator773.IsDefined)({ message: "La direcci\xF3n es requerida" }),
|
|
50473
|
+
(0, import_class_validator773.IsString)({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
50474
|
+
(0, import_class_validator773.IsNotEmpty)({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
50475
|
+
(0, import_class_transformer796.Expose)()
|
|
50454
50476
|
], CompanyEntity.prototype, "address", 2);
|
|
50455
50477
|
__decorateClass([
|
|
50456
|
-
(0,
|
|
50457
|
-
(0,
|
|
50458
|
-
(0,
|
|
50459
|
-
(0,
|
|
50478
|
+
(0, import_class_validator773.IsDefined)({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
50479
|
+
(0, import_class_validator773.IsArray)({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
50480
|
+
(0, import_class_validator773.IsEmail)({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
50481
|
+
(0, import_class_transformer796.Expose)()
|
|
50460
50482
|
], CompanyEntity.prototype, "emails", 2);
|
|
50461
50483
|
__decorateClass([
|
|
50462
|
-
(0,
|
|
50463
|
-
(0,
|
|
50464
|
-
(0,
|
|
50465
|
-
(0,
|
|
50466
|
-
(0,
|
|
50484
|
+
(0, import_class_validator773.IsDefined)({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
50485
|
+
(0, import_class_validator773.IsArray)({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
50486
|
+
(0, import_class_validator773.IsString)({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
50487
|
+
(0, import_class_validator773.IsNotEmpty)({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
50488
|
+
(0, import_class_transformer796.Expose)()
|
|
50467
50489
|
], CompanyEntity.prototype, "phones", 2);
|
|
50468
50490
|
__decorateClass([
|
|
50469
|
-
(0,
|
|
50470
|
-
(0,
|
|
50471
|
-
(0,
|
|
50472
|
-
|
|
50473
|
-
], CompanyEntity.prototype, "delegationIds", 2);
|
|
50491
|
+
(0, import_class_validator773.IsDefined)({ message: "El campo pa\xEDs es requerido" }),
|
|
50492
|
+
(0, import_class_validator773.IsUUID)("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
50493
|
+
(0, import_class_transformer796.Expose)()
|
|
50494
|
+
], CompanyEntity.prototype, "countryId", 2);
|
|
50474
50495
|
|
|
50475
50496
|
// src/v2/utils/validateCustom.ts
|
|
50476
|
-
var
|
|
50477
|
-
var
|
|
50497
|
+
var import_class_transformer797 = require("class-transformer");
|
|
50498
|
+
var import_class_validator774 = require("class-validator");
|
|
50478
50499
|
|
|
50479
50500
|
// src/v2/utils/getFirstError.ts
|
|
50480
50501
|
function getFirstError(errors, parentPath = "") {
|
|
@@ -50515,8 +50536,8 @@ function removeUndefined(obj) {
|
|
|
50515
50536
|
|
|
50516
50537
|
// src/v2/utils/validateCustom.ts
|
|
50517
50538
|
async function validateCustom(plain, cls, UnprocessableEntityException, groups) {
|
|
50518
|
-
const instance = (0,
|
|
50519
|
-
const errors = await (0,
|
|
50539
|
+
const instance = (0, import_class_transformer797.plainToInstance)(cls, plain, { excludeExtraneousValues: true, groups });
|
|
50540
|
+
const errors = await (0, import_class_validator774.validate)(instance, { groups });
|
|
50520
50541
|
if (errors.length) {
|
|
50521
50542
|
const msg = getFirstError(errors);
|
|
50522
50543
|
throw new UnprocessableEntityException(msg);
|
|
@@ -50525,15 +50546,15 @@ async function validateCustom(plain, cls, UnprocessableEntityException, groups)
|
|
|
50525
50546
|
}
|
|
50526
50547
|
|
|
50527
50548
|
// src/v2/middlewares/validateRequestBody.ts
|
|
50528
|
-
var
|
|
50529
|
-
var
|
|
50549
|
+
var import_class_transformer798 = require("class-transformer");
|
|
50550
|
+
var import_class_validator775 = require("class-validator");
|
|
50530
50551
|
async function validateRequestBody({ dtoClass, BadRequestException, groups }, req, _res, next) {
|
|
50531
50552
|
try {
|
|
50532
50553
|
if (Array.isArray(req.body)) {
|
|
50533
50554
|
const newBody = [];
|
|
50534
50555
|
for (const element of req.body) {
|
|
50535
|
-
const dtoInstance2 = (0,
|
|
50536
|
-
const errors2 = await (0,
|
|
50556
|
+
const dtoInstance2 = (0, import_class_transformer798.plainToInstance)(dtoClass, element, { excludeExtraneousValues: true, groups });
|
|
50557
|
+
const errors2 = await (0, import_class_validator775.validate)(dtoInstance2, { groups });
|
|
50537
50558
|
if (errors2.length > 0) {
|
|
50538
50559
|
const firstError = getFirstError(errors2);
|
|
50539
50560
|
return next(new BadRequestException(firstError));
|
|
@@ -50543,8 +50564,8 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
50543
50564
|
req.body = newBody;
|
|
50544
50565
|
return next();
|
|
50545
50566
|
}
|
|
50546
|
-
const dtoInstance = (0,
|
|
50547
|
-
const errors = await (0,
|
|
50567
|
+
const dtoInstance = (0, import_class_transformer798.plainToInstance)(dtoClass, req.body, { excludeExtraneousValues: true, groups });
|
|
50568
|
+
const errors = await (0, import_class_validator775.validate)(dtoInstance, { groups });
|
|
50548
50569
|
if (errors.length > 0) {
|
|
50549
50570
|
const firstError = getFirstError(errors);
|
|
50550
50571
|
return next(new BadRequestException(firstError));
|
|
@@ -50654,6 +50675,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
50654
50675
|
CodigoTituloAlemaniaDTO,
|
|
50655
50676
|
CodigoTituloColombiaDTO,
|
|
50656
50677
|
CodigoTituloDTO,
|
|
50678
|
+
CompanyDto,
|
|
50657
50679
|
CompanyEntity,
|
|
50658
50680
|
ComparativoDto,
|
|
50659
50681
|
CondicionDTO,
|
package/dist/index.mjs
CHANGED
|
@@ -49430,7 +49430,7 @@ import { IsDefined as IsDefined258, IsObject as IsObject14, ValidateNested as Va
|
|
|
49430
49430
|
import { Expose as Expose756, Type as Type473 } from "class-transformer";
|
|
49431
49431
|
|
|
49432
49432
|
// src/v2/dtos/AuthUser.ts
|
|
49433
|
-
import { IsBoolean as IsBoolean68, IsDefined as IsDefined256, IsEmail as IsEmail5, IsString as IsString623, IsUUID as IsUUID18 } from "class-validator";
|
|
49433
|
+
import { IsBoolean as IsBoolean68, IsDefined as IsDefined256, IsEmail as IsEmail5, IsString as IsString623, IsUUID as IsUUID18, ValidateIf as ValidateIf6 } from "class-validator";
|
|
49434
49434
|
import { Expose as Expose754, Transform as Transform113 } from "class-transformer";
|
|
49435
49435
|
var AuthUserDto = class {
|
|
49436
49436
|
email;
|
|
@@ -49478,6 +49478,7 @@ __decorateClass([
|
|
|
49478
49478
|
], AuthUserDto.prototype, "root", 2);
|
|
49479
49479
|
__decorateClass([
|
|
49480
49480
|
IsDefined256({ message: "El campo Perfil es obligatorio" }),
|
|
49481
|
+
ValidateIf6((_, value) => value !== ""),
|
|
49481
49482
|
IsUUID18("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
49482
49483
|
Expose754()
|
|
49483
49484
|
], AuthUserDto.prototype, "profileId", 2);
|
|
@@ -49738,26 +49739,44 @@ __decorateClass([
|
|
|
49738
49739
|
Expose762()
|
|
49739
49740
|
], UpdateProfileDto.prototype, "systemOptions", 2);
|
|
49740
49741
|
|
|
49742
|
+
// src/v2/dtos/Company.ts
|
|
49743
|
+
import { Expose as Expose763 } from "class-transformer";
|
|
49744
|
+
import { IsDefined as IsDefined264, IsUUID as IsUUID23 } from "class-validator";
|
|
49745
|
+
var CompanyDto = class {
|
|
49746
|
+
_id;
|
|
49747
|
+
countryId;
|
|
49748
|
+
};
|
|
49749
|
+
__decorateClass([
|
|
49750
|
+
IsDefined264({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
49751
|
+
IsUUID23("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
49752
|
+
Expose763()
|
|
49753
|
+
], CompanyDto.prototype, "_id", 2);
|
|
49754
|
+
__decorateClass([
|
|
49755
|
+
IsDefined264({ message: "El campo pa\xEDs es requerido" }),
|
|
49756
|
+
IsUUID23("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
49757
|
+
Expose763()
|
|
49758
|
+
], CompanyDto.prototype, "countryId", 2);
|
|
49759
|
+
|
|
49741
49760
|
// src/v2/entities/Delegation.ts
|
|
49742
|
-
import { Expose as
|
|
49743
|
-
import { IsDefined as
|
|
49761
|
+
import { Expose as Expose765 } from "class-transformer";
|
|
49762
|
+
import { IsDefined as IsDefined266, IsNotEmpty as IsNotEmpty462, IsString as IsString631, IsUUID as IsUUID25 } from "class-validator";
|
|
49744
49763
|
|
|
49745
49764
|
// src/v2/entities/Base.ts
|
|
49746
|
-
import { Expose as
|
|
49747
|
-
import { IsBoolean as
|
|
49765
|
+
import { Expose as Expose764 } from "class-transformer";
|
|
49766
|
+
import { IsBoolean as IsBoolean74, IsDefined as IsDefined265, IsUUID as IsUUID24 } from "class-validator";
|
|
49748
49767
|
var BaseEntity = class {
|
|
49749
49768
|
_id;
|
|
49750
49769
|
active;
|
|
49751
49770
|
};
|
|
49752
49771
|
__decorateClass([
|
|
49753
|
-
|
|
49754
|
-
|
|
49755
|
-
|
|
49772
|
+
IsDefined265({ message: 'La propiedad "_id" es obligatoria.' }),
|
|
49773
|
+
IsUUID24("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
|
|
49774
|
+
Expose764()
|
|
49756
49775
|
], BaseEntity.prototype, "_id", 2);
|
|
49757
49776
|
__decorateClass([
|
|
49758
|
-
|
|
49759
|
-
|
|
49760
|
-
|
|
49777
|
+
IsDefined265({ message: 'La propiedad "activo" es obligatoria.' }),
|
|
49778
|
+
IsBoolean74({ message: 'La propiedad "activo" debe ser un valor booleano.' }),
|
|
49779
|
+
Expose764()
|
|
49761
49780
|
], BaseEntity.prototype, "active", 2);
|
|
49762
49781
|
|
|
49763
49782
|
// src/v2/entities/Delegation.ts
|
|
@@ -49767,26 +49786,26 @@ var DelegationEntity = class extends BaseEntity {
|
|
|
49767
49786
|
name;
|
|
49768
49787
|
};
|
|
49769
49788
|
__decorateClass([
|
|
49770
|
-
|
|
49771
|
-
|
|
49772
|
-
|
|
49789
|
+
IsDefined266({ message: "El campo pais es obligatorio" }),
|
|
49790
|
+
IsUUID25("4", { message: "El campo pais debe ser un UUID v4 v\xE1lido." }),
|
|
49791
|
+
Expose765()
|
|
49773
49792
|
], DelegationEntity.prototype, "countryId", 2);
|
|
49774
49793
|
__decorateClass([
|
|
49775
|
-
|
|
49776
|
-
|
|
49777
|
-
|
|
49778
|
-
|
|
49794
|
+
IsDefined266({ message: "El campo c\xF3digo es obligatorio." }),
|
|
49795
|
+
IsString631({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
49796
|
+
IsNotEmpty462({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
49797
|
+
Expose765()
|
|
49779
49798
|
], DelegationEntity.prototype, "code", 2);
|
|
49780
49799
|
__decorateClass([
|
|
49781
|
-
|
|
49782
|
-
|
|
49783
|
-
|
|
49784
|
-
|
|
49800
|
+
IsDefined266({ message: "El campo nombre es obligatorio." }),
|
|
49801
|
+
IsString631({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
49802
|
+
IsNotEmpty462({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
49803
|
+
Expose765()
|
|
49785
49804
|
], DelegationEntity.prototype, "name", 2);
|
|
49786
49805
|
|
|
49787
49806
|
// src/v2/entities/User.ts
|
|
49788
|
-
import { IsArray as
|
|
49789
|
-
import { Expose as
|
|
49807
|
+
import { IsArray as IsArray251, IsBoolean as IsBoolean75, IsDefined as IsDefined267, IsEmail as IsEmail8, IsString as IsString632, IsUUID as IsUUID26, ValidateIf as ValidateIf7, ValidateNested as ValidateNested415 } from "class-validator";
|
|
49808
|
+
import { Expose as Expose766, Transform as Transform118, Type as Type475 } from "class-transformer";
|
|
49790
49809
|
var UserEntity = class extends BaseEntity {
|
|
49791
49810
|
email;
|
|
49792
49811
|
password;
|
|
@@ -49794,130 +49813,132 @@ var UserEntity = class extends BaseEntity {
|
|
|
49794
49813
|
maternalLastName;
|
|
49795
49814
|
firstNames;
|
|
49796
49815
|
identification;
|
|
49797
|
-
|
|
49816
|
+
companies;
|
|
49798
49817
|
delegationIds;
|
|
49799
49818
|
root;
|
|
49800
49819
|
profileId;
|
|
49801
49820
|
};
|
|
49802
49821
|
__decorateClass([
|
|
49803
|
-
|
|
49804
|
-
|
|
49822
|
+
IsDefined267({ message: "El correo es requerido" }),
|
|
49823
|
+
IsEmail8({}, { message: "El correo es invalido" }),
|
|
49805
49824
|
Transform118(({ value }) => typeof value === "string" ? value.trim().toLowerCase() : value),
|
|
49806
|
-
|
|
49825
|
+
Expose766()
|
|
49807
49826
|
], UserEntity.prototype, "email", 2);
|
|
49808
49827
|
__decorateClass([
|
|
49809
49828
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49810
|
-
|
|
49811
|
-
|
|
49812
|
-
|
|
49829
|
+
IsDefined267({ message: "La contrase\xF1a es requerida" }),
|
|
49830
|
+
IsString632({ message: "La contrase\xF1a debe ser una cadena de texto" }),
|
|
49831
|
+
Expose766()
|
|
49813
49832
|
], UserEntity.prototype, "password", 2);
|
|
49814
49833
|
__decorateClass([
|
|
49815
49834
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49816
|
-
|
|
49817
|
-
|
|
49818
|
-
|
|
49835
|
+
IsDefined267({ message: "El apellido paterno es requerido" }),
|
|
49836
|
+
IsString632({ message: "El apellido paterno debe ser una cadena de texto" }),
|
|
49837
|
+
Expose766()
|
|
49819
49838
|
], UserEntity.prototype, "paternalLastName", 2);
|
|
49820
49839
|
__decorateClass([
|
|
49821
49840
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49822
|
-
|
|
49823
|
-
|
|
49824
|
-
|
|
49841
|
+
IsDefined267({ message: "El apellido materno es requerido" }),
|
|
49842
|
+
IsString632({ message: "El apellido materno debe ser una cadena de texto" }),
|
|
49843
|
+
Expose766()
|
|
49825
49844
|
], UserEntity.prototype, "maternalLastName", 2);
|
|
49826
49845
|
__decorateClass([
|
|
49827
49846
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49828
|
-
|
|
49829
|
-
|
|
49830
|
-
|
|
49847
|
+
IsDefined267({ message: "El nombre es requerido" }),
|
|
49848
|
+
IsString632({ message: "El nombre debe ser una cadena de texto" }),
|
|
49849
|
+
Expose766()
|
|
49831
49850
|
], UserEntity.prototype, "firstNames", 2);
|
|
49832
49851
|
__decorateClass([
|
|
49833
49852
|
Transform118(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49834
|
-
|
|
49835
|
-
|
|
49836
|
-
|
|
49853
|
+
IsDefined267({ message: "El n\xFAmero de identificaci\xF3n es requerido" }),
|
|
49854
|
+
IsString632({ message: "El n\xFAmero de identificaci\xF3n debe ser una cadena de texto" }),
|
|
49855
|
+
Expose766()
|
|
49837
49856
|
], UserEntity.prototype, "identification", 2);
|
|
49838
49857
|
__decorateClass([
|
|
49839
|
-
|
|
49840
|
-
|
|
49841
|
-
|
|
49842
|
-
|
|
49843
|
-
|
|
49858
|
+
IsDefined267({ message: "El campo empresas es requerido" }),
|
|
49859
|
+
IsArray251({ message: "El campo empresas debe ser un array" }),
|
|
49860
|
+
Type475(() => CompanyDto),
|
|
49861
|
+
ValidateNested415({ each: true }),
|
|
49862
|
+
Expose766()
|
|
49863
|
+
], UserEntity.prototype, "companies", 2);
|
|
49844
49864
|
__decorateClass([
|
|
49845
|
-
|
|
49846
|
-
|
|
49847
|
-
|
|
49848
|
-
|
|
49865
|
+
IsDefined267({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
49866
|
+
IsArray251({ message: "debe proporcionar la delegaci\xF3n" }),
|
|
49867
|
+
IsUUID26("4", { each: true, message: "El campo delegaci\xF3n debe ser un UUID v4 v\xE1lido." }),
|
|
49868
|
+
Expose766()
|
|
49849
49869
|
], UserEntity.prototype, "delegationIds", 2);
|
|
49850
49870
|
__decorateClass([
|
|
49851
|
-
|
|
49852
|
-
|
|
49853
|
-
|
|
49871
|
+
IsDefined267({ message: 'La propiedad "root" es obligatoria.' }),
|
|
49872
|
+
IsBoolean75({ message: 'La propiedad "root" debe ser un valor booleano.' }),
|
|
49873
|
+
Expose766()
|
|
49854
49874
|
], UserEntity.prototype, "root", 2);
|
|
49855
49875
|
__decorateClass([
|
|
49856
|
-
|
|
49857
|
-
|
|
49858
|
-
|
|
49859
|
-
|
|
49876
|
+
IsDefined267({ message: "El campo Perfil es obligatorio" }),
|
|
49877
|
+
ValidateIf7((_, value) => value !== ""),
|
|
49878
|
+
IsUUID26("4", { message: "El campo Perfil debe ser un UUID v4 v\xE1lido." }),
|
|
49879
|
+
Expose766()
|
|
49860
49880
|
], UserEntity.prototype, "profileId", 2);
|
|
49861
49881
|
|
|
49862
49882
|
// src/v2/entities/Profile.ts
|
|
49863
|
-
import { Expose as
|
|
49864
|
-
import { IsArray as
|
|
49883
|
+
import { Expose as Expose767, Transform as Transform119 } from "class-transformer";
|
|
49884
|
+
import { IsArray as IsArray252, IsDefined as IsDefined268, IsString as IsString633, Length as Length344, MinLength as MinLength62 } from "class-validator";
|
|
49865
49885
|
var ProfileEntity = class extends BaseEntity {
|
|
49866
49886
|
name;
|
|
49867
49887
|
description;
|
|
49868
49888
|
systemOptions;
|
|
49869
49889
|
};
|
|
49870
49890
|
__decorateClass([
|
|
49871
|
-
|
|
49891
|
+
IsDefined268({ message: "El campo nombre es requerido" }),
|
|
49872
49892
|
Transform119(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49873
|
-
|
|
49893
|
+
IsString633({ message: "debe ser una cadena de texto" }),
|
|
49874
49894
|
Length344(4, 50, { message: "Nombre de perfil debe tener entre 4 y 50 caracteres." }),
|
|
49875
|
-
|
|
49895
|
+
Expose767()
|
|
49876
49896
|
], ProfileEntity.prototype, "name", 2);
|
|
49877
49897
|
__decorateClass([
|
|
49878
|
-
|
|
49898
|
+
IsDefined268({ message: "El campo descripci\xF3n es requerido" }),
|
|
49879
49899
|
Transform119(({ value }) => typeof value === "string" ? value.trim() : value),
|
|
49880
|
-
|
|
49900
|
+
IsString633({ message: "debe ser una cadena de texto" }),
|
|
49881
49901
|
Length344(4, 50, { message: "Descripci\xF3n de perfil debe tener entre 4 y 50 caracteres." }),
|
|
49882
|
-
|
|
49902
|
+
Expose767()
|
|
49883
49903
|
], ProfileEntity.prototype, "description", 2);
|
|
49884
49904
|
__decorateClass([
|
|
49885
|
-
|
|
49886
|
-
|
|
49887
|
-
|
|
49905
|
+
IsDefined268({ message: "El campo opciones de sistema es requerido" }),
|
|
49906
|
+
IsArray252({ message: "Opciones de sistema debe ser un arreglo" }),
|
|
49907
|
+
IsString633({ each: true, message: "Cada elemento de opciones de sistema debe ser una cadena de texto v\xE1lida" }),
|
|
49888
49908
|
MinLength62(1, { each: true, message: "Cada opci\xF3n de sistema debe tener al menos un car\xE1cter" }),
|
|
49889
|
-
|
|
49909
|
+
Expose767()
|
|
49890
49910
|
], ProfileEntity.prototype, "systemOptions", 2);
|
|
49891
49911
|
|
|
49892
49912
|
// src/v2/entities/Country.ts
|
|
49893
|
-
import { Expose as
|
|
49894
|
-
import { IsDefined as
|
|
49913
|
+
import { Expose as Expose768 } from "class-transformer";
|
|
49914
|
+
import { IsDefined as IsDefined269, IsNotEmpty as IsNotEmpty463, IsString as IsString634 } from "class-validator";
|
|
49895
49915
|
var CountryEntity = class extends BaseEntity {
|
|
49896
49916
|
code;
|
|
49897
49917
|
name;
|
|
49898
49918
|
};
|
|
49899
49919
|
__decorateClass([
|
|
49900
|
-
|
|
49901
|
-
|
|
49902
|
-
|
|
49903
|
-
|
|
49920
|
+
IsDefined269({ message: "El campo c\xF3digo es obligatorio." }),
|
|
49921
|
+
IsString634({ message: "El campo c\xF3digo debe ser una cadena de texto." }),
|
|
49922
|
+
IsNotEmpty463({ message: "El campo c\xF3digo no puede estar vac\xEDo." }),
|
|
49923
|
+
Expose768()
|
|
49904
49924
|
], CountryEntity.prototype, "code", 2);
|
|
49905
49925
|
__decorateClass([
|
|
49906
|
-
|
|
49907
|
-
|
|
49908
|
-
|
|
49909
|
-
|
|
49926
|
+
IsDefined269({ message: "El campo nombre es obligatorio." }),
|
|
49927
|
+
IsString634({ message: "El campo nombre debe ser una cadena de texto." }),
|
|
49928
|
+
IsNotEmpty463({ message: "El campo nombre no puede estar vac\xEDo." }),
|
|
49929
|
+
Expose768()
|
|
49910
49930
|
], CountryEntity.prototype, "name", 2);
|
|
49911
49931
|
|
|
49912
49932
|
// src/v2/enums/CompanyType.ts
|
|
49913
49933
|
var CompanyType = /* @__PURE__ */ ((CompanyType2) => {
|
|
49934
|
+
CompanyType2["OPERATIVA"] = "Operativa";
|
|
49914
49935
|
CompanyType2["PROVEEDOR"] = "Proveedor";
|
|
49915
49936
|
return CompanyType2;
|
|
49916
49937
|
})(CompanyType || {});
|
|
49917
49938
|
|
|
49918
49939
|
// src/v2/entities/Company.ts
|
|
49919
|
-
import { Expose as
|
|
49920
|
-
import { IsArray as
|
|
49940
|
+
import { Expose as Expose769 } from "class-transformer";
|
|
49941
|
+
import { IsArray as IsArray253, IsBoolean as IsBoolean76, IsDefined as IsDefined270, IsEmail as IsEmail9, IsEnum as IsEnum40, IsNotEmpty as IsNotEmpty464, IsString as IsString635, IsUUID as IsUUID27 } from "class-validator";
|
|
49921
49942
|
var CompanyEntity = class extends BaseEntity {
|
|
49922
49943
|
companyType;
|
|
49923
49944
|
identification;
|
|
@@ -49928,67 +49949,66 @@ var CompanyEntity = class extends BaseEntity {
|
|
|
49928
49949
|
address;
|
|
49929
49950
|
emails;
|
|
49930
49951
|
phones;
|
|
49931
|
-
|
|
49952
|
+
countryId;
|
|
49932
49953
|
};
|
|
49933
49954
|
__decorateClass([
|
|
49934
|
-
|
|
49935
|
-
|
|
49936
|
-
|
|
49955
|
+
IsDefined270({ message: "El tipo de empresa es requerido" }),
|
|
49956
|
+
IsEnum40(CompanyType, { message: "El tipo de empresa debe ser ${eachValueInArray}" }),
|
|
49957
|
+
Expose769()
|
|
49937
49958
|
], CompanyEntity.prototype, "companyType", 2);
|
|
49938
49959
|
__decorateClass([
|
|
49939
|
-
|
|
49940
|
-
|
|
49941
|
-
|
|
49942
|
-
|
|
49960
|
+
IsDefined270({ message: "La identificaci\xF3n es requerida" }),
|
|
49961
|
+
IsString635({ message: "La identificaci\xF3n debe ser una cadena de texto" }),
|
|
49962
|
+
IsNotEmpty464({ message: "La identificaci\xF3n no debe estar vac\xEDa" }),
|
|
49963
|
+
Expose769()
|
|
49943
49964
|
], CompanyEntity.prototype, "identification", 2);
|
|
49944
49965
|
__decorateClass([
|
|
49945
|
-
|
|
49946
|
-
|
|
49947
|
-
|
|
49948
|
-
|
|
49966
|
+
IsDefined270({ message: "El c\xF3digo es requerido" }),
|
|
49967
|
+
IsString635({ message: "El c\xF3digo debe ser una cadena de texto" }),
|
|
49968
|
+
IsNotEmpty464({ message: "El c\xF3digo no debe estar vac\xEDo" }),
|
|
49969
|
+
Expose769()
|
|
49949
49970
|
], CompanyEntity.prototype, "code", 2);
|
|
49950
49971
|
__decorateClass([
|
|
49951
|
-
|
|
49952
|
-
|
|
49953
|
-
|
|
49954
|
-
|
|
49972
|
+
IsDefined270({ message: "El nombre legal es requerido" }),
|
|
49973
|
+
IsString635({ message: "El nombre legal debe ser una cadena de texto" }),
|
|
49974
|
+
IsNotEmpty464({ message: "El nombre legal no debe estar vac\xEDo" }),
|
|
49975
|
+
Expose769()
|
|
49955
49976
|
], CompanyEntity.prototype, "legalName", 2);
|
|
49956
49977
|
__decorateClass([
|
|
49957
|
-
|
|
49958
|
-
|
|
49959
|
-
|
|
49960
|
-
|
|
49978
|
+
IsDefined270({ message: "El nombre comercial es requerido" }),
|
|
49979
|
+
IsString635({ message: "El nombre comercial debe ser una cadena de texto" }),
|
|
49980
|
+
IsNotEmpty464({ message: "El nombre comercial no debe estar vac\xEDo" }),
|
|
49981
|
+
Expose769()
|
|
49961
49982
|
], CompanyEntity.prototype, "tradeName", 2);
|
|
49962
49983
|
__decorateClass([
|
|
49963
|
-
|
|
49964
|
-
|
|
49965
|
-
|
|
49984
|
+
IsDefined270({ message: "La propiedad es propia es requerida" }),
|
|
49985
|
+
IsBoolean76({ message: "La propiedad es propia debe ser un booleano" }),
|
|
49986
|
+
Expose769()
|
|
49966
49987
|
], CompanyEntity.prototype, "isOwn", 2);
|
|
49967
49988
|
__decorateClass([
|
|
49968
|
-
|
|
49969
|
-
|
|
49970
|
-
|
|
49971
|
-
|
|
49989
|
+
IsDefined270({ message: "La direcci\xF3n es requerida" }),
|
|
49990
|
+
IsString635({ message: "La direcci\xF3n debe ser una cadena de texto" }),
|
|
49991
|
+
IsNotEmpty464({ message: "La direcci\xF3n no debe estar vac\xEDa" }),
|
|
49992
|
+
Expose769()
|
|
49972
49993
|
], CompanyEntity.prototype, "address", 2);
|
|
49973
49994
|
__decorateClass([
|
|
49974
|
-
|
|
49975
|
-
|
|
49976
|
-
|
|
49977
|
-
|
|
49995
|
+
IsDefined270({ message: "El campo correos electr\xF3nicos es requerido" }),
|
|
49996
|
+
IsArray253({ message: "El campo correos electr\xF3nicos debe ser un arreglo" }),
|
|
49997
|
+
IsEmail9({}, { each: true, message: "Cada correo electr\xF3nico debe ser v\xE1lido" }),
|
|
49998
|
+
Expose769()
|
|
49978
49999
|
], CompanyEntity.prototype, "emails", 2);
|
|
49979
50000
|
__decorateClass([
|
|
49980
|
-
|
|
49981
|
-
|
|
49982
|
-
|
|
49983
|
-
|
|
49984
|
-
|
|
50001
|
+
IsDefined270({ message: "El campo tel\xE9fonos es requeridos" }),
|
|
50002
|
+
IsArray253({ message: "El campo tel\xE9fonos debe ser un arreglo" }),
|
|
50003
|
+
IsString635({ each: true, message: "Cada tel\xE9fono debe ser una cadena de texto" }),
|
|
50004
|
+
IsNotEmpty464({ each: true, message: "Cada tel\xE9fono no debe estar vac\xEDo" }),
|
|
50005
|
+
Expose769()
|
|
49985
50006
|
], CompanyEntity.prototype, "phones", 2);
|
|
49986
50007
|
__decorateClass([
|
|
49987
|
-
|
|
49988
|
-
|
|
49989
|
-
|
|
49990
|
-
|
|
49991
|
-
], CompanyEntity.prototype, "delegationIds", 2);
|
|
50008
|
+
IsDefined270({ message: "El campo pa\xEDs es requerido" }),
|
|
50009
|
+
IsUUID27("4", { message: "El campo pa\xEDs debe ser un UUID" }),
|
|
50010
|
+
Expose769()
|
|
50011
|
+
], CompanyEntity.prototype, "countryId", 2);
|
|
49992
50012
|
|
|
49993
50013
|
// src/v2/utils/validateCustom.ts
|
|
49994
50014
|
import { plainToInstance as plainToInstance4 } from "class-transformer";
|
|
@@ -50171,6 +50191,7 @@ export {
|
|
|
50171
50191
|
CodigoTituloAlemaniaDTO,
|
|
50172
50192
|
CodigoTituloColombiaDTO,
|
|
50173
50193
|
CodigoTituloDTO,
|
|
50194
|
+
CompanyDto,
|
|
50174
50195
|
CompanyEntity,
|
|
50175
50196
|
ComparativoDto,
|
|
50176
50197
|
CondicionDTO,
|
package/generateDtos.ts
CHANGED
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { generateDTO } from './functionGenerateDto'
|
|
2
2
|
import { ProfileEntity } from '@Entities/Profile'
|
|
3
3
|
import { UserEntity } from '@Entities/User'
|
|
4
|
+
import { CompanyEntity } from '@Entities/Company'
|
|
4
5
|
const path = './src/v2/entities'
|
|
5
6
|
|
|
6
7
|
function Bootstrap() {
|
|
8
|
+
generateDTO<CompanyEntity>(
|
|
9
|
+
`${path}/Company.ts`,
|
|
10
|
+
'CompanyEntity',
|
|
11
|
+
'CompanyDto',
|
|
12
|
+
['_id', 'countryId']
|
|
13
|
+
)
|
|
7
14
|
generateDTO<UserEntity>(
|
|
8
15
|
`${path}/User.ts`,
|
|
9
16
|
'UserEntity',
|