sigo-entities 1.2.543 → 1.2.544
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/__tests__/mongoJsonSchema.test.mjs +28 -1
- package/dist/index.d.mts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +46 -7
- package/dist/index.mjs +43 -7
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Ejecutar tras `npm run build`: npm test
|
|
2
2
|
import { test } from "node:test";
|
|
3
3
|
import assert from "node:assert/strict";
|
|
4
|
-
import { entityToMongoJsonSchema, PersonalENTITY } from "../dist/index.mjs";
|
|
4
|
+
import { CamposExtraValidacion, entityToMongoJsonSchema, PersonalENTITY } from "../dist/index.mjs";
|
|
5
5
|
|
|
6
6
|
const schema = entityToMongoJsonSchema(PersonalENTITY);
|
|
7
7
|
const props = schema.properties;
|
|
@@ -37,3 +37,30 @@ test("PersonalENTITY: @ValidateIf de Email admite vacío o correo", () => {
|
|
|
37
37
|
assert.ok(email.anyOf[1].pattern);
|
|
38
38
|
assert.ok(props.DatosGenerales.required.includes("Email"));
|
|
39
39
|
});
|
|
40
|
+
|
|
41
|
+
test("Sin opciones el esquema queda abierto (no agrega additionalProperties ni _id)", () => {
|
|
42
|
+
assert.equal(schema.additionalProperties, undefined);
|
|
43
|
+
assert.equal(props._id, undefined);
|
|
44
|
+
assert.equal(props.DatosTrabajo.additionalProperties, undefined);
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
test("PERMITIR equivale a no pasar opciones", () => {
|
|
48
|
+
const permitir = entityToMongoJsonSchema(PersonalENTITY, { camposExtra: CamposExtraValidacion.PERMITIR });
|
|
49
|
+
assert.deepEqual(permitir, schema);
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
test("RECHAZAR cierra la raíz, los DTOs anidados y los items de arrays", () => {
|
|
53
|
+
const closed = entityToMongoJsonSchema(PersonalENTITY, { camposExtra: CamposExtraValidacion.RECHAZAR });
|
|
54
|
+
assert.equal(closed.additionalProperties, false);
|
|
55
|
+
assert.equal(closed.properties.DatosTrabajo.additionalProperties, false);
|
|
56
|
+
assert.equal(closed.properties.DatosTrabajo.properties.OT.additionalProperties, false);
|
|
57
|
+
assert.equal(closed.properties.Bitacora.items.additionalProperties, false);
|
|
58
|
+
assert.equal(closed.properties.Code.additionalProperties, undefined);
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
test("RECHAZAR admite _id como ObjectId o texto solo en la raíz", () => {
|
|
62
|
+
const closed = entityToMongoJsonSchema(PersonalENTITY, { camposExtra: CamposExtraValidacion.RECHAZAR });
|
|
63
|
+
assert.deepEqual(closed.properties._id, { bsonType: ["objectId", "string"] });
|
|
64
|
+
assert.equal(closed.properties.DatosTrabajo.properties._id, undefined);
|
|
65
|
+
assert.deepEqual(closed.required, schema.required);
|
|
66
|
+
});
|
package/dist/index.d.mts
CHANGED
|
@@ -43,13 +43,31 @@ declare function hydrate<T>(ClassRef: new () => T, plain: any): T;
|
|
|
43
43
|
|
|
44
44
|
type MongoJsonSchema = Record<string, any>;
|
|
45
45
|
|
|
46
|
+
declare enum CamposExtraValidacion {
|
|
47
|
+
RECHAZAR = "rechazar",
|
|
48
|
+
PERMITIR = "permitir"
|
|
49
|
+
}
|
|
50
|
+
declare enum NivelValidacion {
|
|
51
|
+
STRICT = "strict",
|
|
52
|
+
MODERATE = "moderate"
|
|
53
|
+
}
|
|
54
|
+
declare enum AccionValidacion {
|
|
55
|
+
ERROR = "error",
|
|
56
|
+
WARN = "warn"
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface MongoJsonSchemaOptions {
|
|
60
|
+
camposExtra?: CamposExtraValidacion;
|
|
61
|
+
}
|
|
62
|
+
|
|
46
63
|
type EntityClass = new () => any;
|
|
47
64
|
/**
|
|
48
65
|
* Genera el $jsonSchema de MongoDB leyendo recursivamente los decoradores class-validator
|
|
49
66
|
* de la entidad y de sus DTOs anidados (@ValidateNested + @Type).
|
|
67
|
+
* Con { camposExtra: CamposExtraValidacion.RECHAZAR } cada objeto queda cerrado a sus propiedades (y la raíz admite _id).
|
|
50
68
|
* Uso: db.runCommand({ collMod: 'Personal', validator: { $jsonSchema: entityToMongoJsonSchema(PersonalENTITY) } })
|
|
51
69
|
*/
|
|
52
|
-
declare function entityToMongoJsonSchema(entity: EntityClass): MongoJsonSchema;
|
|
70
|
+
declare function entityToMongoJsonSchema(entity: EntityClass, options?: MongoJsonSchemaOptions): MongoJsonSchema;
|
|
53
71
|
|
|
54
72
|
declare class WBEDTO {
|
|
55
73
|
ID_WBE: number;
|
|
@@ -11472,4 +11490,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
11472
11490
|
}
|
|
11473
11491
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
11474
11492
|
|
|
11475
|
-
export { ACCIONES_BITACORA_VEREDA, ACCIONES_REVISION_VEREDA, ADM_RM_ZonasActividadENTITY, AREAS_ASIGNABLES_VEREDA, AcceptedDto, AccesortiosBantelDTO, AccesortiosMifibraDBDTO, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddDetailWarehouseExitATCDto, AddInventorySomacylOrderDto, AddMOPContrataMODTO, AddressClassification, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AjusteReprocesoDTO, AlbaranDto, AlmacenDTO, AlmacenDto, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenRequerimientoDto, AlmacenUsuarioGIADTO, AltasNVTEntregablesDTO, AltasNVTOrderENTITY, AnexoPreOrdenDto, AnexosDTO, AnexosDetailMantenanceOrderDTO, AnularVeredaDTO, AprobacionDto, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsignarVeredaDTO, AsistenciaCuadrillaENTITY, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AuthUserDto, AutoInventarioENTITY, BAREMO_SUBCONTRATA_TYPES, BankVendorDto, BantelENTITY, BaremoAlemaniaENTITY, BaremoProcessENTITY, type BaremoSubcontrataType, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAltasNVTDTO, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraDto, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BitacoraSomacylDTO, BitacoraTOADTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, BtAlpPluzOrder2ENTITY, BtAlpPluzOrderStockENTITY, BtAlpPluzPendienteOrderENTITY, BtAlpPluzVeredaAsignacionENTITY, 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, ChangeHomePassStateDto, ChangeJobStateDto, ChangeStateBaremosDTO, Chile9512TOAENTITY, ChileTdCENTITY, CierreSsamVeredaDTO, ClasificacionIncidencia, ClienteDTO, ClienteTdCDTO, ClienteWAOOENTITY, Cliente_ContratistaDTO, ClosedDto, CodeNameDto, CodeNameMinLengthDto, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO$1 as CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloAlemaniaDTO, CodigoTituloColombiaDTO, CodigoTituloDTO, Colombia9612TOAENTITY, CompanyDto, CompanyEntity, CompanyType, 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$1 as CoordenadasDTO, CoordenadasTdCDTO, CorrectRejectedValuationDto, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CotizacionDto, CountryEntity, CrearNavisionpreordenEntityRequestDto, CreateCompanyDto, CreateCountryDto, CreateDelegationDto, CreateProfileDto, CreateShiftTransferDto, CreateThemeConfigCountryDto, CreateThemeConfigUserDto, CreateUserDto, CreateWarehouseExitATCDto, CuadrillaBaremoDTO, CuadrillaBtAlpPluzOrder2DTO, CuadrillaDTO, CuadrillaDevolucionTRDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CuadrillaParejaDTO, CuadrillaRefDTO, CuadrillaRegularizarDTO, CuadrillaVeredaDTO, CuadrillasDTO, CubicacionAlemaniaAL02ENTITY, CubicacionAlemaniaAL04ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataChildrenTreeNodesAlemaniaDTO, DataChildrenTreeNodesColombiaDTO, DataDocumentacionDTO, DataDocumentacionPeruDTO, DataGridTabBusinessHP, DataGridTabBusinessHPPeruDTO, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemAlemaniaDTO, DataWithPercentItemChile, DataWithPercentItemColombiaDTO, DataWithPercentItemPeruDTO, DateDto, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosEmpresaDto, DatosFacturacionDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosIssueProduccionDTO, DatosIssueProduccionEmpresaDTO, DatosJefeObraDto, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosNavDto, DatosPagoDto, DatosPaiDto, DatosPersonalDto, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoDto, DatosTrabajoRequerimientoDto, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionDto, DelegacionENTITY, DelegacionZonalesDTO, DelegationEntity, DeleteBaremoFaseDTO, DeleteFileSomacylOrderDto, DeleteInventorySomacylOrderDto, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAlbaranDTO, DetalleAlemaniaAL04DTO, DetalleAlemaniaDTO, DetalleAtipicaDTO, DetalleAtipicaPeruDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChilePeruObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCotizacionDto, DetalleCubicacionAlemaniaDTO, DetalleCubicajeAL04DTO, DetalleCubicajeDTO, DetalleDTO, DetalleDevolucionTRDTO, DetalleDto, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetallePeruDTO, DetallePeruFechasDTO, DetalleProductoDto, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DevolucionTRENTITY, DireccionDTO, DocumentRequirementDto, type DocumentRequirementNode, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteAlemaniaDTO, DocumentoDetalleClienteColombiaDTO, DocumentoDetalleClienteDTO, DocumentoDetalleClientePeruDTO, DocumentoDetalleNoClienteAlemaniaDTO, DocumentoDetalleNoClienteColombiaDTO, DocumentoDetalleNoClienteDTO, DocumentoDetalleNoClientePeruDTO, DocumentosInicialesDTO, DocumentosInicialesPeruDTO, EECCAltasNVTDTO, EECCBantelDTO, EECCBtAlpPluzDTO, EECCChileTdCDTO, EECCClienteWAOODTO, EECCDBMIFIBRADTO, EECCDBTOADTO, EECCDBWINDTO, EECCFibramasDBDTO, EECCSomacylDTO, EECC_DTO, EFaseObraBaremo, ESTADOS_ASIGNACION_VEREDA, ESTADOS_MODIFICABLES_ASIGNACION_VEREDA, ESTADOS_REPLANTEO, EmisionDto, EmpalmeDTO, EmploymentType, EmpresaBaremoDTO, EmpresaDTO, EmpresaENTITY, EmpresaGanadoraDto, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaPersonalDatosTrabajoDTO, EmpresaProduccionDTO, EmpresaRegularizarDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EncargadoDTO, EncargadoRegularizarDTO, EnviarNavDto, EquipoLogisticaDTO, EquipoSerieDto, EquiposAIDTO, EquiposDTO, EspecialidadDTO, EstadoActividad, EstadoActividadAltasNVT, EstadoAntiguoDTO, EstadoDTO$1 as EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoObraDTO, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, EstadoProcesoValAltasNVT, EstadoProcesoValAltasNVTDTO, EstadoProcesoValPeru, EstadoProcesoValPeru9112Claro, EstadoProcesoValPeru9112ClaroDTO, EstadoProcesoValPeruDTO, EstadoProcesoValSomacyl, EstadoProcesoValSomacylDTO, type EstadoReplanteo, EstadoSerieDto, EstadoTOADTO, type EstadoVal, Estado_Model_MO, EstadosTuvesEnum, FacturaDto, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasePagoDTO, FasesObraBaremoDTO, FasesType, FechaDTO, FechaEntregaDto, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FileDto, FileExtension, FilesDocDTO, FinalizeSomacylOrderDto, FlagsDTO, FlujoDocDTO, FlujoDto, ForceString, ForgotPasswordDto, FormaPagoDto, FormularioCivilVeredaDTO, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO, GOMDTO, GemeindeENTITY, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HOME_PASS_CLIENT_TYPES, HOME_PASS_STATE_TYPES, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistorialEstadosBantelDTO, HistorialEstadosMifibraDBDTO, HistorialEstadoswinDBDTO, HistorialEstadoswinDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, type HomePassClientType, HomePassDTO$1 as HomePassDTO, HomePassRefDto, type HomePassStateType, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetMedidoresNormalizaciones, IDataSheetTdC, IDataSheetTdcNormalizaciones, IDataSheetTiemposCumplimentados, IDataSheetTrabajos, ISheetsJsonChileTdC, IconoDto, ImporteDto, IncidenciasAlemaniaDTO, IncidenciasChileDTO, IncidenciasColombiaDTO, IncidenciasDTO, IncidenciasPeruDTO, IngresoAlmacenENTITY, IntegranteAsistenciaCuadrillaDTO, InvPoolAction, InventarioDTO, InventarioExistenteAltasNVTDTO, InventarioExistenteDTO, InventarioLiqDTO, InventarioTOADTO, InventarioValDTO, IssueENTITY, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemEspañaENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, JobMacroByGemeindeRequestDTO, KCMActividadDTO, KeyDTO, KeyIntegracionENTITY, KitConsumoMaterialENTITY, LiberacionDePagosAlemaniaENTITY, LiquidacionBtAlpPluzOrder2DTO, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoginDto, LoteDTO$1 as LoteDTO, MAX_ORDENES_ASIGNACION_VEREDA, MAX_SEARCH_RANGE_DAYS, MOAltasNVTDTO, 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, MaterialCubicacionAL04DTO, MaterialCubicacionAlemaniaDTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesAltasNVTDTO, MaterialesBantelDTO, MaterialesClaroDTO, MaterialesClienteWAOODTO, MaterialesConsumoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MaterialesFibramasDBDTO, MaterialesFibramasDTO, MaterialesMifibraDBDTO, MaterialesPeru9112ClaroDTO, MaterialesSomacylDTO, MaterialestoaDBDTO, MaterialestoaDTO, MaterialeswinDBDTO, MaterialeswinDTO, MateterialesTuvesDTO, MedidorDTO, type MenuDto, MetadataUOMaterialDTO, MetradosVeredaDTO, MiFibraENTITYDB, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MonedaDto, type MongoJsonSchema, 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, OrdenAsignarVeredaDTO, OrdenDetailMaintenanceDTO, OrdenDto, OrdenesInstalacionDTO, OrderStockENTITY, OrderStockStoreENTITY, OrigenCUB, OrigenIntegrante, OtDto, PASOS_WORKFLOW_VEREDA, PBbyMaterialQuantitiesAltasNVTDTO, PBbyMaterialQuantitiesDTO, PBbyMaterialQuantitiesPeru9112ClaroDTO, PBbyMaterialQuantitiesSomacylDTO, PRE_LIQUIDATE_TYPES, PagosECBaremoDTO, PagosECDTO, PaisENTITY, PaisStockPersonalDTO, ParteDiarioDTO, PasoDeWorkflow, PasosDTO, type PayloadTokenDTO, PayloadTokenDto, PedidoCompraDto, PendienteOriginalVeredaDTO, PendienteVeredaDTO, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$2 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonaVeredaDTO, PersonalCuadrillaDTO, PersonalDTO, PersonalDevolucionTRDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, Peru9112ClaroENTITY, Peru9112FibramasENTITY, Peru9112FibramasENTITYDB, Peru9112TOAENTITY, Peru9112TOAENTITYDB, Peru9112WinENTITY, Peru9112WinENTITYDB, PlantaAltasNVTDTO, PlantaDBDTO, PlantaDTO, PlantaPeru9112ClaroDTO, PlantaSomacylDTO, PreAcceptedDto, PreLiquidateLineCHILE9512Dto, PreLiquidateLineDto, PreLiquidateMaterialDto, PreLiquidateNewLaborDto, type PreLiquidateType, PreLiquidateUnitDto, PreLiquidateValuationCHILE9512Dto, PreLiquidateValuationDto, 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, ProductoServicioDTO, ProductosServiciosContratadoAltasNVTDTO, ProductosServiciosContratadoDBDTO, ProductosServiciosContratadoDTO, ProductosServiciosContratadoPeru9112ClaroDTO, ProductosServiciosContratadoSomacylDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, ProfileDto, ProfileEntity, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RawLiqPenBantelDTO, RawLiqPenDTO, RawParteDiarioBantelDTO, RawParteDiarioDTO, ReasignarVeredaDTO, ReasonNoFinalizedAltasNVT, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RejectValuationRequestBody, ReplanteoArchivoRequestBodyDTO, ReplanteoENTITY, ReplanteoFotoDTO, ReplanteoGomRequestBodyDTO, ReplanteoGuardarRequestBodyDTO, ReplanteoReservasDTO, 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, RevisionVeredaDTO, RptProduccionCurso_Baremos_FasesENTITY, SEUpdateAnexosObraRequestBody, SEUpdateAnexosTrabajoRequestBody, STATUS_SAP_ASIGNABLES_VEREDA, STB_DTH_ToaENTITY, STB_DTH_ToaPlanta, STB_DTH_ToaUbicacion, SalidaAlmacenENTITY, SaveDailyReportDto, SaveDailyReportPhotoDto, ScrapingCredentialENTITY, SearchDateRangeDto, SearchJobWorkOrderDto, SegmentoDBDTO, SegmentoPeru9112ClaroDTO, SeguimientoObraDTO, SelectCrewDto, ShiftTransferLineDto, type ShiftTransferStockDto, type ShiftTransferStockLineDto, SiNoEnum, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SmartDateTransformer, SocketDTO, SolicitudDto, SomacylEntregablesDTO, SomacylOrderENTITY, SomacylPhotoPosition, StateBantel, StateFibramas, StateInternalOrder, StateInternalOrderAltasNVT, StateInternalOrderClienteWAOO, StateInternalOrderSomacyl, StateInternalOrderTOA, StateInventory, StateMifibra, StateServiceFibramas, StateWin, StatuDto, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, StockQuantityEmployeeDTO, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, SummaryDTO, SystemOptionEntity, SystemResource, TOAClaroOrderStockENTITY, TOAOrdenLiquidacionENTITY, TOAOrdenLiquidacionENTITYDB, TOAOrderStockENTITY, TUVESOrdReclMatDescargadoDTO, TUVESOrdReclamosFinDTO, TdcOrderStockENTITY, TecnicoValDTO, TerminoPagoDto, ThemeConfigCountryENTITY, ThemeConfigCountryEntity, ThemeConfigUserENTITY, ThemeConfigUserEntity, 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, TrabajoChileTDCDTO, TrabajoENTITY, TrabajoHechoEnum, TrabajoMacroObraAlemaniaENTITY, TrabajoMacroObraENTITY, TransaccionFoliosENTITY, TransaccionesDTO, TransferValuationRequestBody, TuvesENTITY, TuvesOrdEqFinalizadasDTO, TuvesOrdEqMatDescargadosDTO, TuvesOrderStockENTITY, UOMaterialesBaremoDTO, UOMaterialesExcelDTO, UO_MaterialesENTITY, UbicacionAlmacenDTO, UbicacionAltasNVTDTO, UbicacionBantelDTO, UbicacionDTO, UbicacionMifibraDBDTO, UbicacionObraDTO, UbicacionPeru9112ClaroDTO, 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, UpdateCompanyDto, UpdateCountryDto, UpdateDelegationDto, UpdateDto, UpdateEstadoInternoObraRequestDTO, UpdateHomePassAnexosDto, UpdateProfileDto, UpdateThemeConfigCountryDto, UpdateThemeConfigUserDto, UpdateUltimaFaseFacturacionDTO, UpdateUserDto, UploadFileSomacylOrderDto, UserDto, UserEntity, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionAltasNVTDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeru9112ClaroDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, WorkflowPasoVeredaDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, entityToMongoJsonSchema, enumToArray, getFirstError, hydrate, itemsCanalizacion, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
|
11493
|
+
export { ACCIONES_BITACORA_VEREDA, ACCIONES_REVISION_VEREDA, ADM_RM_ZonasActividadENTITY, AREAS_ASIGNABLES_VEREDA, AcceptedDto, AccesortiosBantelDTO, AccesortiosMifibraDBDTO, AccionValidacion, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddDetailWarehouseExitATCDto, AddInventorySomacylOrderDto, AddMOPContrataMODTO, AddressClassification, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AjusteReprocesoDTO, AlbaranDto, AlmacenDTO, AlmacenDto, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenRequerimientoDto, AlmacenUsuarioGIADTO, AltasNVTEntregablesDTO, AltasNVTOrderENTITY, AnexoPreOrdenDto, AnexosDTO, AnexosDetailMantenanceOrderDTO, AnularVeredaDTO, AprobacionDto, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsignarVeredaDTO, AsistenciaCuadrillaENTITY, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AuthUserDto, AutoInventarioENTITY, BAREMO_SUBCONTRATA_TYPES, BankVendorDto, BantelENTITY, BaremoAlemaniaENTITY, BaremoProcessENTITY, type BaremoSubcontrataType, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAltasNVTDTO, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraDto, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BitacoraSomacylDTO, BitacoraTOADTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, BtAlpPluzOrder2ENTITY, BtAlpPluzOrderStockENTITY, BtAlpPluzPendienteOrderENTITY, BtAlpPluzVeredaAsignacionENTITY, CHILE_9512_PaquetizadoManoObraENTITY, CHILE_9512_PaquetizadoMaterialENTITY, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsAlemaniaDTO, CalculatePercentsColombiaDTO, CalculatePercentsDTO, CalculatePercentsPeruDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CamposExtraValidacion, CargoPersonalENTITY, CategoriaDto, CausacionCubicacionColombiaDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeHomePassStateDto, ChangeJobStateDto, ChangeStateBaremosDTO, Chile9512TOAENTITY, ChileTdCENTITY, CierreSsamVeredaDTO, ClasificacionIncidencia, ClienteDTO, ClienteTdCDTO, ClienteWAOOENTITY, Cliente_ContratistaDTO, ClosedDto, CodeNameDto, CodeNameMinLengthDto, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO$1 as CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloAlemaniaDTO, CodigoTituloColombiaDTO, CodigoTituloDTO, Colombia9612TOAENTITY, CompanyDto, CompanyEntity, CompanyType, 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$1 as CoordenadasDTO, CoordenadasTdCDTO, CorrectRejectedValuationDto, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CotizacionDto, CountryEntity, CrearNavisionpreordenEntityRequestDto, CreateCompanyDto, CreateCountryDto, CreateDelegationDto, CreateProfileDto, CreateShiftTransferDto, CreateThemeConfigCountryDto, CreateThemeConfigUserDto, CreateUserDto, CreateWarehouseExitATCDto, CuadrillaBaremoDTO, CuadrillaBtAlpPluzOrder2DTO, CuadrillaDTO, CuadrillaDevolucionTRDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CuadrillaParejaDTO, CuadrillaRefDTO, CuadrillaRegularizarDTO, CuadrillaVeredaDTO, CuadrillasDTO, CubicacionAlemaniaAL02ENTITY, CubicacionAlemaniaAL04ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataChildrenTreeNodesAlemaniaDTO, DataChildrenTreeNodesColombiaDTO, DataDocumentacionDTO, DataDocumentacionPeruDTO, DataGridTabBusinessHP, DataGridTabBusinessHPPeruDTO, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemAlemaniaDTO, DataWithPercentItemChile, DataWithPercentItemColombiaDTO, DataWithPercentItemPeruDTO, DateDto, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosEmpresaDto, DatosFacturacionDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosIssueProduccionDTO, DatosIssueProduccionEmpresaDTO, DatosJefeObraDto, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosNavDto, DatosPagoDto, DatosPaiDto, DatosPersonalDto, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoDto, DatosTrabajoRequerimientoDto, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionDto, DelegacionENTITY, DelegacionZonalesDTO, DelegationEntity, DeleteBaremoFaseDTO, DeleteFileSomacylOrderDto, DeleteInventorySomacylOrderDto, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAlbaranDTO, DetalleAlemaniaAL04DTO, DetalleAlemaniaDTO, DetalleAtipicaDTO, DetalleAtipicaPeruDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChilePeruObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCotizacionDto, DetalleCubicacionAlemaniaDTO, DetalleCubicajeAL04DTO, DetalleCubicajeDTO, DetalleDTO, DetalleDevolucionTRDTO, DetalleDto, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetallePeruDTO, DetallePeruFechasDTO, DetalleProductoDto, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DevolucionTRENTITY, DireccionDTO, DocumentRequirementDto, type DocumentRequirementNode, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteAlemaniaDTO, DocumentoDetalleClienteColombiaDTO, DocumentoDetalleClienteDTO, DocumentoDetalleClientePeruDTO, DocumentoDetalleNoClienteAlemaniaDTO, DocumentoDetalleNoClienteColombiaDTO, DocumentoDetalleNoClienteDTO, DocumentoDetalleNoClientePeruDTO, DocumentosInicialesDTO, DocumentosInicialesPeruDTO, EECCAltasNVTDTO, EECCBantelDTO, EECCBtAlpPluzDTO, EECCChileTdCDTO, EECCClienteWAOODTO, EECCDBMIFIBRADTO, EECCDBTOADTO, EECCDBWINDTO, EECCFibramasDBDTO, EECCSomacylDTO, EECC_DTO, EFaseObraBaremo, ESTADOS_ASIGNACION_VEREDA, ESTADOS_MODIFICABLES_ASIGNACION_VEREDA, ESTADOS_REPLANTEO, EmisionDto, EmpalmeDTO, EmploymentType, EmpresaBaremoDTO, EmpresaDTO, EmpresaENTITY, EmpresaGanadoraDto, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaPersonalDatosTrabajoDTO, EmpresaProduccionDTO, EmpresaRegularizarDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EncargadoDTO, EncargadoRegularizarDTO, EnviarNavDto, EquipoLogisticaDTO, EquipoSerieDto, EquiposAIDTO, EquiposDTO, EspecialidadDTO, EstadoActividad, EstadoActividadAltasNVT, EstadoAntiguoDTO, EstadoDTO$1 as EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoObraDTO, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, EstadoProcesoValAltasNVT, EstadoProcesoValAltasNVTDTO, EstadoProcesoValPeru, EstadoProcesoValPeru9112Claro, EstadoProcesoValPeru9112ClaroDTO, EstadoProcesoValPeruDTO, EstadoProcesoValSomacyl, EstadoProcesoValSomacylDTO, type EstadoReplanteo, EstadoSerieDto, EstadoTOADTO, type EstadoVal, Estado_Model_MO, EstadosTuvesEnum, FacturaDto, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasePagoDTO, FasesObraBaremoDTO, FasesType, FechaDTO, FechaEntregaDto, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FileDto, FileExtension, FilesDocDTO, FinalizeSomacylOrderDto, FlagsDTO, FlujoDocDTO, FlujoDto, ForceString, ForgotPasswordDto, FormaPagoDto, FormularioCivilVeredaDTO, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO, GOMDTO, GemeindeENTITY, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HOME_PASS_CLIENT_TYPES, HOME_PASS_STATE_TYPES, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistorialEstadosBantelDTO, HistorialEstadosMifibraDBDTO, HistorialEstadoswinDBDTO, HistorialEstadoswinDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, type HomePassClientType, HomePassDTO$1 as HomePassDTO, HomePassRefDto, type HomePassStateType, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetMedidoresNormalizaciones, IDataSheetTdC, IDataSheetTdcNormalizaciones, IDataSheetTiemposCumplimentados, IDataSheetTrabajos, ISheetsJsonChileTdC, IconoDto, ImporteDto, IncidenciasAlemaniaDTO, IncidenciasChileDTO, IncidenciasColombiaDTO, IncidenciasDTO, IncidenciasPeruDTO, IngresoAlmacenENTITY, IntegranteAsistenciaCuadrillaDTO, InvPoolAction, InventarioDTO, InventarioExistenteAltasNVTDTO, InventarioExistenteDTO, InventarioLiqDTO, InventarioTOADTO, InventarioValDTO, IssueENTITY, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemEspañaENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, JobMacroByGemeindeRequestDTO, KCMActividadDTO, KeyDTO, KeyIntegracionENTITY, KitConsumoMaterialENTITY, LiberacionDePagosAlemaniaENTITY, LiquidacionBtAlpPluzOrder2DTO, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoginDto, LoteDTO$1 as LoteDTO, MAX_ORDENES_ASIGNACION_VEREDA, MAX_SEARCH_RANGE_DAYS, MOAltasNVTDTO, 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, MaterialCubicacionAL04DTO, MaterialCubicacionAlemaniaDTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesAltasNVTDTO, MaterialesBantelDTO, MaterialesClaroDTO, MaterialesClienteWAOODTO, MaterialesConsumoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MaterialesFibramasDBDTO, MaterialesFibramasDTO, MaterialesMifibraDBDTO, MaterialesPeru9112ClaroDTO, MaterialesSomacylDTO, MaterialestoaDBDTO, MaterialestoaDTO, MaterialeswinDBDTO, MaterialeswinDTO, MateterialesTuvesDTO, MedidorDTO, type MenuDto, MetadataUOMaterialDTO, MetradosVeredaDTO, MiFibraENTITYDB, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MonedaDto, type MongoJsonSchema, type MongoJsonSchemaOptions, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, MovimientoDto, MovimientosRecepcionDto, NavDto, NavisionBitacoraFileDto, NavisionDateRegistryDto, NavisionMovimientoAlmacenDTO, NavisionPersonalLogisticaDTO, NavisionRegistryDateDto, NavisionUserRegistryDto, NavisionpreordenEntity, NivelValidacion, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, ObraPeru9112ENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdReclMatDescargadoDTO, OrdenAsignarVeredaDTO, OrdenDetailMaintenanceDTO, OrdenDto, OrdenesInstalacionDTO, OrderStockENTITY, OrderStockStoreENTITY, OrigenCUB, OrigenIntegrante, OtDto, PASOS_WORKFLOW_VEREDA, PBbyMaterialQuantitiesAltasNVTDTO, PBbyMaterialQuantitiesDTO, PBbyMaterialQuantitiesPeru9112ClaroDTO, PBbyMaterialQuantitiesSomacylDTO, PRE_LIQUIDATE_TYPES, PagosECBaremoDTO, PagosECDTO, PaisENTITY, PaisStockPersonalDTO, ParteDiarioDTO, PasoDeWorkflow, PasosDTO, type PayloadTokenDTO, PayloadTokenDto, PedidoCompraDto, PendienteOriginalVeredaDTO, PendienteVeredaDTO, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$2 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonaVeredaDTO, PersonalCuadrillaDTO, PersonalDTO, PersonalDevolucionTRDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, Peru9112ClaroENTITY, Peru9112FibramasENTITY, Peru9112FibramasENTITYDB, Peru9112TOAENTITY, Peru9112TOAENTITYDB, Peru9112WinENTITY, Peru9112WinENTITYDB, PlantaAltasNVTDTO, PlantaDBDTO, PlantaDTO, PlantaPeru9112ClaroDTO, PlantaSomacylDTO, PreAcceptedDto, PreLiquidateLineCHILE9512Dto, PreLiquidateLineDto, PreLiquidateMaterialDto, PreLiquidateNewLaborDto, type PreLiquidateType, PreLiquidateUnitDto, PreLiquidateValuationCHILE9512Dto, PreLiquidateValuationDto, 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, ProductoServicioDTO, ProductosServiciosContratadoAltasNVTDTO, ProductosServiciosContratadoDBDTO, ProductosServiciosContratadoDTO, ProductosServiciosContratadoPeru9112ClaroDTO, ProductosServiciosContratadoSomacylDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, ProfileDto, ProfileEntity, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RawLiqPenBantelDTO, RawLiqPenDTO, RawParteDiarioBantelDTO, RawParteDiarioDTO, ReasignarVeredaDTO, ReasonNoFinalizedAltasNVT, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RejectValuationRequestBody, ReplanteoArchivoRequestBodyDTO, ReplanteoENTITY, ReplanteoFotoDTO, ReplanteoGomRequestBodyDTO, ReplanteoGuardarRequestBodyDTO, ReplanteoReservasDTO, 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, RevisionVeredaDTO, RptProduccionCurso_Baremos_FasesENTITY, SEUpdateAnexosObraRequestBody, SEUpdateAnexosTrabajoRequestBody, STATUS_SAP_ASIGNABLES_VEREDA, STB_DTH_ToaENTITY, STB_DTH_ToaPlanta, STB_DTH_ToaUbicacion, SalidaAlmacenENTITY, SaveDailyReportDto, SaveDailyReportPhotoDto, ScrapingCredentialENTITY, SearchDateRangeDto, SearchJobWorkOrderDto, SegmentoDBDTO, SegmentoPeru9112ClaroDTO, SeguimientoObraDTO, SelectCrewDto, ShiftTransferLineDto, type ShiftTransferStockDto, type ShiftTransferStockLineDto, SiNoEnum, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SmartDateTransformer, SocketDTO, SolicitudDto, SomacylEntregablesDTO, SomacylOrderENTITY, SomacylPhotoPosition, StateBantel, StateFibramas, StateInternalOrder, StateInternalOrderAltasNVT, StateInternalOrderClienteWAOO, StateInternalOrderSomacyl, StateInternalOrderTOA, StateInventory, StateMifibra, StateServiceFibramas, StateWin, StatuDto, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, StockQuantityEmployeeDTO, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, SummaryDTO, SystemOptionEntity, SystemResource, TOAClaroOrderStockENTITY, TOAOrdenLiquidacionENTITY, TOAOrdenLiquidacionENTITYDB, TOAOrderStockENTITY, TUVESOrdReclMatDescargadoDTO, TUVESOrdReclamosFinDTO, TdcOrderStockENTITY, TecnicoValDTO, TerminoPagoDto, ThemeConfigCountryENTITY, ThemeConfigCountryEntity, ThemeConfigUserENTITY, ThemeConfigUserEntity, 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, TrabajoChileTDCDTO, TrabajoENTITY, TrabajoHechoEnum, TrabajoMacroObraAlemaniaENTITY, TrabajoMacroObraENTITY, TransaccionFoliosENTITY, TransaccionesDTO, TransferValuationRequestBody, TuvesENTITY, TuvesOrdEqFinalizadasDTO, TuvesOrdEqMatDescargadosDTO, TuvesOrderStockENTITY, UOMaterialesBaremoDTO, UOMaterialesExcelDTO, UO_MaterialesENTITY, UbicacionAlmacenDTO, UbicacionAltasNVTDTO, UbicacionBantelDTO, UbicacionDTO, UbicacionMifibraDBDTO, UbicacionObraDTO, UbicacionPeru9112ClaroDTO, 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, UpdateCompanyDto, UpdateCountryDto, UpdateDelegationDto, UpdateDto, UpdateEstadoInternoObraRequestDTO, UpdateHomePassAnexosDto, UpdateProfileDto, UpdateThemeConfigCountryDto, UpdateThemeConfigUserDto, UpdateUltimaFaseFacturacionDTO, UpdateUserDto, UploadFileSomacylOrderDto, UserDto, UserEntity, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionAltasNVTDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeru9112ClaroDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, WorkflowPasoVeredaDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, entityToMongoJsonSchema, enumToArray, getFirstError, hydrate, itemsCanalizacion, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.d.ts
CHANGED
|
@@ -43,13 +43,31 @@ declare function hydrate<T>(ClassRef: new () => T, plain: any): T;
|
|
|
43
43
|
|
|
44
44
|
type MongoJsonSchema = Record<string, any>;
|
|
45
45
|
|
|
46
|
+
declare enum CamposExtraValidacion {
|
|
47
|
+
RECHAZAR = "rechazar",
|
|
48
|
+
PERMITIR = "permitir"
|
|
49
|
+
}
|
|
50
|
+
declare enum NivelValidacion {
|
|
51
|
+
STRICT = "strict",
|
|
52
|
+
MODERATE = "moderate"
|
|
53
|
+
}
|
|
54
|
+
declare enum AccionValidacion {
|
|
55
|
+
ERROR = "error",
|
|
56
|
+
WARN = "warn"
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface MongoJsonSchemaOptions {
|
|
60
|
+
camposExtra?: CamposExtraValidacion;
|
|
61
|
+
}
|
|
62
|
+
|
|
46
63
|
type EntityClass = new () => any;
|
|
47
64
|
/**
|
|
48
65
|
* Genera el $jsonSchema de MongoDB leyendo recursivamente los decoradores class-validator
|
|
49
66
|
* de la entidad y de sus DTOs anidados (@ValidateNested + @Type).
|
|
67
|
+
* Con { camposExtra: CamposExtraValidacion.RECHAZAR } cada objeto queda cerrado a sus propiedades (y la raíz admite _id).
|
|
50
68
|
* Uso: db.runCommand({ collMod: 'Personal', validator: { $jsonSchema: entityToMongoJsonSchema(PersonalENTITY) } })
|
|
51
69
|
*/
|
|
52
|
-
declare function entityToMongoJsonSchema(entity: EntityClass): MongoJsonSchema;
|
|
70
|
+
declare function entityToMongoJsonSchema(entity: EntityClass, options?: MongoJsonSchemaOptions): MongoJsonSchema;
|
|
53
71
|
|
|
54
72
|
declare class WBEDTO {
|
|
55
73
|
ID_WBE: number;
|
|
@@ -11472,4 +11490,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
11472
11490
|
}
|
|
11473
11491
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
11474
11492
|
|
|
11475
|
-
export { ACCIONES_BITACORA_VEREDA, ACCIONES_REVISION_VEREDA, ADM_RM_ZonasActividadENTITY, AREAS_ASIGNABLES_VEREDA, AcceptedDto, AccesortiosBantelDTO, AccesortiosMifibraDBDTO, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddDetailWarehouseExitATCDto, AddInventorySomacylOrderDto, AddMOPContrataMODTO, AddressClassification, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AjusteReprocesoDTO, AlbaranDto, AlmacenDTO, AlmacenDto, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenRequerimientoDto, AlmacenUsuarioGIADTO, AltasNVTEntregablesDTO, AltasNVTOrderENTITY, AnexoPreOrdenDto, AnexosDTO, AnexosDetailMantenanceOrderDTO, AnularVeredaDTO, AprobacionDto, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsignarVeredaDTO, AsistenciaCuadrillaENTITY, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AuthUserDto, AutoInventarioENTITY, BAREMO_SUBCONTRATA_TYPES, BankVendorDto, BantelENTITY, BaremoAlemaniaENTITY, BaremoProcessENTITY, type BaremoSubcontrataType, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAltasNVTDTO, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraDto, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BitacoraSomacylDTO, BitacoraTOADTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, BtAlpPluzOrder2ENTITY, BtAlpPluzOrderStockENTITY, BtAlpPluzPendienteOrderENTITY, BtAlpPluzVeredaAsignacionENTITY, 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, ChangeHomePassStateDto, ChangeJobStateDto, ChangeStateBaremosDTO, Chile9512TOAENTITY, ChileTdCENTITY, CierreSsamVeredaDTO, ClasificacionIncidencia, ClienteDTO, ClienteTdCDTO, ClienteWAOOENTITY, Cliente_ContratistaDTO, ClosedDto, CodeNameDto, CodeNameMinLengthDto, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO$1 as CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloAlemaniaDTO, CodigoTituloColombiaDTO, CodigoTituloDTO, Colombia9612TOAENTITY, CompanyDto, CompanyEntity, CompanyType, 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$1 as CoordenadasDTO, CoordenadasTdCDTO, CorrectRejectedValuationDto, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CotizacionDto, CountryEntity, CrearNavisionpreordenEntityRequestDto, CreateCompanyDto, CreateCountryDto, CreateDelegationDto, CreateProfileDto, CreateShiftTransferDto, CreateThemeConfigCountryDto, CreateThemeConfigUserDto, CreateUserDto, CreateWarehouseExitATCDto, CuadrillaBaremoDTO, CuadrillaBtAlpPluzOrder2DTO, CuadrillaDTO, CuadrillaDevolucionTRDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CuadrillaParejaDTO, CuadrillaRefDTO, CuadrillaRegularizarDTO, CuadrillaVeredaDTO, CuadrillasDTO, CubicacionAlemaniaAL02ENTITY, CubicacionAlemaniaAL04ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataChildrenTreeNodesAlemaniaDTO, DataChildrenTreeNodesColombiaDTO, DataDocumentacionDTO, DataDocumentacionPeruDTO, DataGridTabBusinessHP, DataGridTabBusinessHPPeruDTO, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemAlemaniaDTO, DataWithPercentItemChile, DataWithPercentItemColombiaDTO, DataWithPercentItemPeruDTO, DateDto, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosEmpresaDto, DatosFacturacionDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosIssueProduccionDTO, DatosIssueProduccionEmpresaDTO, DatosJefeObraDto, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosNavDto, DatosPagoDto, DatosPaiDto, DatosPersonalDto, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoDto, DatosTrabajoRequerimientoDto, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionDto, DelegacionENTITY, DelegacionZonalesDTO, DelegationEntity, DeleteBaremoFaseDTO, DeleteFileSomacylOrderDto, DeleteInventorySomacylOrderDto, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAlbaranDTO, DetalleAlemaniaAL04DTO, DetalleAlemaniaDTO, DetalleAtipicaDTO, DetalleAtipicaPeruDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChilePeruObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCotizacionDto, DetalleCubicacionAlemaniaDTO, DetalleCubicajeAL04DTO, DetalleCubicajeDTO, DetalleDTO, DetalleDevolucionTRDTO, DetalleDto, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetallePeruDTO, DetallePeruFechasDTO, DetalleProductoDto, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DevolucionTRENTITY, DireccionDTO, DocumentRequirementDto, type DocumentRequirementNode, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteAlemaniaDTO, DocumentoDetalleClienteColombiaDTO, DocumentoDetalleClienteDTO, DocumentoDetalleClientePeruDTO, DocumentoDetalleNoClienteAlemaniaDTO, DocumentoDetalleNoClienteColombiaDTO, DocumentoDetalleNoClienteDTO, DocumentoDetalleNoClientePeruDTO, DocumentosInicialesDTO, DocumentosInicialesPeruDTO, EECCAltasNVTDTO, EECCBantelDTO, EECCBtAlpPluzDTO, EECCChileTdCDTO, EECCClienteWAOODTO, EECCDBMIFIBRADTO, EECCDBTOADTO, EECCDBWINDTO, EECCFibramasDBDTO, EECCSomacylDTO, EECC_DTO, EFaseObraBaremo, ESTADOS_ASIGNACION_VEREDA, ESTADOS_MODIFICABLES_ASIGNACION_VEREDA, ESTADOS_REPLANTEO, EmisionDto, EmpalmeDTO, EmploymentType, EmpresaBaremoDTO, EmpresaDTO, EmpresaENTITY, EmpresaGanadoraDto, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaPersonalDatosTrabajoDTO, EmpresaProduccionDTO, EmpresaRegularizarDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EncargadoDTO, EncargadoRegularizarDTO, EnviarNavDto, EquipoLogisticaDTO, EquipoSerieDto, EquiposAIDTO, EquiposDTO, EspecialidadDTO, EstadoActividad, EstadoActividadAltasNVT, EstadoAntiguoDTO, EstadoDTO$1 as EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoObraDTO, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, EstadoProcesoValAltasNVT, EstadoProcesoValAltasNVTDTO, EstadoProcesoValPeru, EstadoProcesoValPeru9112Claro, EstadoProcesoValPeru9112ClaroDTO, EstadoProcesoValPeruDTO, EstadoProcesoValSomacyl, EstadoProcesoValSomacylDTO, type EstadoReplanteo, EstadoSerieDto, EstadoTOADTO, type EstadoVal, Estado_Model_MO, EstadosTuvesEnum, FacturaDto, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasePagoDTO, FasesObraBaremoDTO, FasesType, FechaDTO, FechaEntregaDto, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FileDto, FileExtension, FilesDocDTO, FinalizeSomacylOrderDto, FlagsDTO, FlujoDocDTO, FlujoDto, ForceString, ForgotPasswordDto, FormaPagoDto, FormularioCivilVeredaDTO, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO, GOMDTO, GemeindeENTITY, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HOME_PASS_CLIENT_TYPES, HOME_PASS_STATE_TYPES, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistorialEstadosBantelDTO, HistorialEstadosMifibraDBDTO, HistorialEstadoswinDBDTO, HistorialEstadoswinDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, type HomePassClientType, HomePassDTO$1 as HomePassDTO, HomePassRefDto, type HomePassStateType, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetMedidoresNormalizaciones, IDataSheetTdC, IDataSheetTdcNormalizaciones, IDataSheetTiemposCumplimentados, IDataSheetTrabajos, ISheetsJsonChileTdC, IconoDto, ImporteDto, IncidenciasAlemaniaDTO, IncidenciasChileDTO, IncidenciasColombiaDTO, IncidenciasDTO, IncidenciasPeruDTO, IngresoAlmacenENTITY, IntegranteAsistenciaCuadrillaDTO, InvPoolAction, InventarioDTO, InventarioExistenteAltasNVTDTO, InventarioExistenteDTO, InventarioLiqDTO, InventarioTOADTO, InventarioValDTO, IssueENTITY, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemEspañaENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, JobMacroByGemeindeRequestDTO, KCMActividadDTO, KeyDTO, KeyIntegracionENTITY, KitConsumoMaterialENTITY, LiberacionDePagosAlemaniaENTITY, LiquidacionBtAlpPluzOrder2DTO, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoginDto, LoteDTO$1 as LoteDTO, MAX_ORDENES_ASIGNACION_VEREDA, MAX_SEARCH_RANGE_DAYS, MOAltasNVTDTO, 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, MaterialCubicacionAL04DTO, MaterialCubicacionAlemaniaDTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesAltasNVTDTO, MaterialesBantelDTO, MaterialesClaroDTO, MaterialesClienteWAOODTO, MaterialesConsumoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MaterialesFibramasDBDTO, MaterialesFibramasDTO, MaterialesMifibraDBDTO, MaterialesPeru9112ClaroDTO, MaterialesSomacylDTO, MaterialestoaDBDTO, MaterialestoaDTO, MaterialeswinDBDTO, MaterialeswinDTO, MateterialesTuvesDTO, MedidorDTO, type MenuDto, MetadataUOMaterialDTO, MetradosVeredaDTO, MiFibraENTITYDB, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MonedaDto, type MongoJsonSchema, 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, OrdenAsignarVeredaDTO, OrdenDetailMaintenanceDTO, OrdenDto, OrdenesInstalacionDTO, OrderStockENTITY, OrderStockStoreENTITY, OrigenCUB, OrigenIntegrante, OtDto, PASOS_WORKFLOW_VEREDA, PBbyMaterialQuantitiesAltasNVTDTO, PBbyMaterialQuantitiesDTO, PBbyMaterialQuantitiesPeru9112ClaroDTO, PBbyMaterialQuantitiesSomacylDTO, PRE_LIQUIDATE_TYPES, PagosECBaremoDTO, PagosECDTO, PaisENTITY, PaisStockPersonalDTO, ParteDiarioDTO, PasoDeWorkflow, PasosDTO, type PayloadTokenDTO, PayloadTokenDto, PedidoCompraDto, PendienteOriginalVeredaDTO, PendienteVeredaDTO, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$2 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonaVeredaDTO, PersonalCuadrillaDTO, PersonalDTO, PersonalDevolucionTRDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, Peru9112ClaroENTITY, Peru9112FibramasENTITY, Peru9112FibramasENTITYDB, Peru9112TOAENTITY, Peru9112TOAENTITYDB, Peru9112WinENTITY, Peru9112WinENTITYDB, PlantaAltasNVTDTO, PlantaDBDTO, PlantaDTO, PlantaPeru9112ClaroDTO, PlantaSomacylDTO, PreAcceptedDto, PreLiquidateLineCHILE9512Dto, PreLiquidateLineDto, PreLiquidateMaterialDto, PreLiquidateNewLaborDto, type PreLiquidateType, PreLiquidateUnitDto, PreLiquidateValuationCHILE9512Dto, PreLiquidateValuationDto, 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, ProductoServicioDTO, ProductosServiciosContratadoAltasNVTDTO, ProductosServiciosContratadoDBDTO, ProductosServiciosContratadoDTO, ProductosServiciosContratadoPeru9112ClaroDTO, ProductosServiciosContratadoSomacylDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, ProfileDto, ProfileEntity, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RawLiqPenBantelDTO, RawLiqPenDTO, RawParteDiarioBantelDTO, RawParteDiarioDTO, ReasignarVeredaDTO, ReasonNoFinalizedAltasNVT, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RejectValuationRequestBody, ReplanteoArchivoRequestBodyDTO, ReplanteoENTITY, ReplanteoFotoDTO, ReplanteoGomRequestBodyDTO, ReplanteoGuardarRequestBodyDTO, ReplanteoReservasDTO, 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, RevisionVeredaDTO, RptProduccionCurso_Baremos_FasesENTITY, SEUpdateAnexosObraRequestBody, SEUpdateAnexosTrabajoRequestBody, STATUS_SAP_ASIGNABLES_VEREDA, STB_DTH_ToaENTITY, STB_DTH_ToaPlanta, STB_DTH_ToaUbicacion, SalidaAlmacenENTITY, SaveDailyReportDto, SaveDailyReportPhotoDto, ScrapingCredentialENTITY, SearchDateRangeDto, SearchJobWorkOrderDto, SegmentoDBDTO, SegmentoPeru9112ClaroDTO, SeguimientoObraDTO, SelectCrewDto, ShiftTransferLineDto, type ShiftTransferStockDto, type ShiftTransferStockLineDto, SiNoEnum, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SmartDateTransformer, SocketDTO, SolicitudDto, SomacylEntregablesDTO, SomacylOrderENTITY, SomacylPhotoPosition, StateBantel, StateFibramas, StateInternalOrder, StateInternalOrderAltasNVT, StateInternalOrderClienteWAOO, StateInternalOrderSomacyl, StateInternalOrderTOA, StateInventory, StateMifibra, StateServiceFibramas, StateWin, StatuDto, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, StockQuantityEmployeeDTO, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, SummaryDTO, SystemOptionEntity, SystemResource, TOAClaroOrderStockENTITY, TOAOrdenLiquidacionENTITY, TOAOrdenLiquidacionENTITYDB, TOAOrderStockENTITY, TUVESOrdReclMatDescargadoDTO, TUVESOrdReclamosFinDTO, TdcOrderStockENTITY, TecnicoValDTO, TerminoPagoDto, ThemeConfigCountryENTITY, ThemeConfigCountryEntity, ThemeConfigUserENTITY, ThemeConfigUserEntity, 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, TrabajoChileTDCDTO, TrabajoENTITY, TrabajoHechoEnum, TrabajoMacroObraAlemaniaENTITY, TrabajoMacroObraENTITY, TransaccionFoliosENTITY, TransaccionesDTO, TransferValuationRequestBody, TuvesENTITY, TuvesOrdEqFinalizadasDTO, TuvesOrdEqMatDescargadosDTO, TuvesOrderStockENTITY, UOMaterialesBaremoDTO, UOMaterialesExcelDTO, UO_MaterialesENTITY, UbicacionAlmacenDTO, UbicacionAltasNVTDTO, UbicacionBantelDTO, UbicacionDTO, UbicacionMifibraDBDTO, UbicacionObraDTO, UbicacionPeru9112ClaroDTO, 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, UpdateCompanyDto, UpdateCountryDto, UpdateDelegationDto, UpdateDto, UpdateEstadoInternoObraRequestDTO, UpdateHomePassAnexosDto, UpdateProfileDto, UpdateThemeConfigCountryDto, UpdateThemeConfigUserDto, UpdateUltimaFaseFacturacionDTO, UpdateUserDto, UploadFileSomacylOrderDto, UserDto, UserEntity, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionAltasNVTDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeru9112ClaroDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, WorkflowPasoVeredaDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, entityToMongoJsonSchema, enumToArray, getFirstError, hydrate, itemsCanalizacion, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
|
11493
|
+
export { ACCIONES_BITACORA_VEREDA, ACCIONES_REVISION_VEREDA, ADM_RM_ZonasActividadENTITY, AREAS_ASIGNABLES_VEREDA, AcceptedDto, AccesortiosBantelDTO, AccesortiosMifibraDBDTO, AccionValidacion, ActaFinalCubicacionDTO, ActaFinalCubicacionSharedDTO, ActividadZonasActividadDTO, ActividadesDTO, AddDetailWarehouseExitATCDto, AddInventorySomacylOrderDto, AddMOPContrataMODTO, AddressClassification, AddressListENTITY, AgenciaDTO, AgenciaENTITY, AgenciasDTO, AjusteReprocesoDTO, AlbaranDto, AlmacenDTO, AlmacenDto, AlmacenENTITY, AlmacenExtraENTITY, AlmacenLogisticaDTO, AlmacenRequerimientoDto, AlmacenUsuarioGIADTO, AltasNVTEntregablesDTO, AltasNVTOrderENTITY, AnexoPreOrdenDto, AnexosDTO, AnexosDetailMantenanceOrderDTO, AnularVeredaDTO, AprobacionDto, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsignarVeredaDTO, AsistenciaCuadrillaENTITY, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AuthUserDto, AutoInventarioENTITY, BAREMO_SUBCONTRATA_TYPES, BankVendorDto, BantelENTITY, BaremoAlemaniaENTITY, BaremoProcessENTITY, type BaremoSubcontrataType, BaremosAlemaniaENTITY, BaremosChileENTITY, BaremosColombiaENTITY, BaremosTOAChileENTITY, BaremosTOAENTITY, BitacoraAltasNVTDTO, BitacoraAntiguaDTO, BitacoraDTO, BitacoraDeOrdenesDTO, BitacoraDto, BitacoraLiqDTO, BitacoraOpcionSitemaDTO, BitacoraSomacylDTO, BitacoraTOADTO, BodegaENTITY, BodyUpdateFasesDTO, BodyUpdateOne, BtAlpPluzOrder2ENTITY, BtAlpPluzOrderStockENTITY, BtAlpPluzPendienteOrderENTITY, BtAlpPluzVeredaAsignacionENTITY, CHILE_9512_PaquetizadoManoObraENTITY, CHILE_9512_PaquetizadoMaterialENTITY, CabeceraCubicacionColombiaDTO, CabeceraCubicajeAlemaniaDTO, CabeceraCubicajeChileDTO, CabeceraCubicajeDTO, CabeceraCubicajePeruDTO, CalculatePercentsAlemaniaDTO, CalculatePercentsColombiaDTO, CalculatePercentsDTO, CalculatePercentsPeruDTO, CambioEstadoFacturadoRequest, CambioEstadoFaseRequest, CambiosEstadosFaseLiberacionPagosDTO, CamposExtraValidacion, CargoPersonalENTITY, CategoriaDto, CausacionCubicacionColombiaDTO, CausacionDTO, CentroCostosDTO, CentroCostosENTITY, CertificacionDTO, ChangeHomePassStateDto, ChangeJobStateDto, ChangeStateBaremosDTO, Chile9512TOAENTITY, ChileTdCENTITY, CierreSsamVeredaDTO, ClasificacionIncidencia, ClienteDTO, ClienteTdCDTO, ClienteWAOOENTITY, Cliente_ContratistaDTO, ClosedDto, CodeNameDto, CodeNameMinLengthDto, CodigoDescripcionDTO, type CodigoMovimientoAlmacen, CodigoNombreDTO$1 as CodigoNombreDTO, CodigoNombreUMDTO, CodigoRazonSocialDTO, CodigoTituloAlemaniaDTO, CodigoTituloColombiaDTO, CodigoTituloDTO, Colombia9612TOAENTITY, CompanyDto, CompanyEntity, CompanyType, 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$1 as CoordenadasDTO, CoordenadasTdCDTO, CorrectRejectedValuationDto, CorteBobinaStockAlmacenDTO, CosumoMaterialAlemaniaDTO, CotizacionDto, CountryEntity, CrearNavisionpreordenEntityRequestDto, CreateCompanyDto, CreateCountryDto, CreateDelegationDto, CreateProfileDto, CreateShiftTransferDto, CreateThemeConfigCountryDto, CreateThemeConfigUserDto, CreateUserDto, CreateWarehouseExitATCDto, CuadrillaBaremoDTO, CuadrillaBtAlpPluzOrder2DTO, CuadrillaDTO, CuadrillaDevolucionTRDTO, CuadrillaENTITY, CuadrillaLiberacionPagosDTO, CuadrillaParejaDTO, CuadrillaRefDTO, CuadrillaRegularizarDTO, CuadrillaVeredaDTO, CuadrillasDTO, CubicacionAlemaniaAL02ENTITY, CubicacionAlemaniaAL04ENTITY, CubicacionChile9512ENTITY, CubicacionColombia9612ENTITY, CubicacionENTITY, CubicacionPeru9112ENTITY, CumplimientoDTO, DataAdicionalDTO, DataCatalogoItemDTO, DataChildrenTreeNodes, DataChildrenTreeNodesAlemaniaDTO, DataChildrenTreeNodesColombiaDTO, DataDocumentacionDTO, DataDocumentacionPeruDTO, DataGridTabBusinessHP, DataGridTabBusinessHPPeruDTO, DataGridTabResidentialHP, DataScraperClaroVTRENTITY, DataWithPercentItemAlemaniaDTO, DataWithPercentItemChile, DataWithPercentItemColombiaDTO, DataWithPercentItemPeruDTO, DateDto, DatoUsuarioTipoOpcionDto, DatosAreaPersonalDTO, DatosCatalogoItemDTO, DatosCatalogoMODTO, DatosEmpresaDto, DatosFacturacionDTO, DatosGIADTO, DatosGeneralesDTO, DatosGeneralesPersonalDTO, DatosIssueProduccionDTO, DatosIssueProduccionEmpresaDTO, DatosJefeObraDto, DatosManoObraGlobalDTO, DatosManoObraGlobalDetalleChileDTO, DatosNavDto, DatosPagoDto, DatosPaiDto, DatosPersonalDto, DatosPrecioEspecialidadDTO, DatosPrecioMaterialDTO, DatosReferenciaDTO, DatosTecnicosDTO, DatosTrabajoCatalogoDTO, DatosTrabajoDto, DatosTrabajoRequerimientoDto, DatosTrabajoUsuarioDTO, DatosTransportistaChileDTO, DatosTransportistaDTO, DatosUnidadObraMaterialDTO, DelegacionDTO, DelegacionDto, DelegacionENTITY, DelegacionZonalesDTO, DelegationEntity, DeleteBaremoFaseDTO, DeleteFileSomacylOrderDto, DeleteInventorySomacylOrderDto, DestinatarioDTO, DetailMaintenanceOrderDTO, DetalleAlbaranDTO, DetalleAlemaniaAL04DTO, DetalleAlemaniaDTO, DetalleAtipicaDTO, DetalleAtipicaPeruDTO, DetalleChileAlemaniaObraDTO, DetalleChileChileObraDTO, DetalleChileColombiaObraDTO, DetalleChileDTO$1 as DetalleChileDTO, DetalleChileObraDTO, DetalleChilePeruObraDTO, DetalleChileValorizacionMODTO, DetalleChileValorizacionManoObraRegularizacionDTO, DetalleColombiaDTO, DetalleCotizacionDto, DetalleCubicacionAlemaniaDTO, DetalleCubicajeAL04DTO, DetalleCubicajeDTO, DetalleDTO, DetalleDevolucionTRDTO, DetalleDto, DetalleManoObraChileDTO, DetalleOrdenRealDTO, DetallePeruDTO, DetallePeruFechasDTO, DetalleProductoDto, DetalleSalidaAlmacenDTO, DevolucionAlmacenENTITY, DevolucionTRENTITY, DireccionDTO, DocumentRequirementDto, type DocumentRequirementNode, DocumentacionBaremoPexENTITY, DocumentacionPEXENTITY, DocumentoDetalleClienteAlemaniaDTO, DocumentoDetalleClienteColombiaDTO, DocumentoDetalleClienteDTO, DocumentoDetalleClientePeruDTO, DocumentoDetalleNoClienteAlemaniaDTO, DocumentoDetalleNoClienteColombiaDTO, DocumentoDetalleNoClienteDTO, DocumentoDetalleNoClientePeruDTO, DocumentosInicialesDTO, DocumentosInicialesPeruDTO, EECCAltasNVTDTO, EECCBantelDTO, EECCBtAlpPluzDTO, EECCChileTdCDTO, EECCClienteWAOODTO, EECCDBMIFIBRADTO, EECCDBTOADTO, EECCDBWINDTO, EECCFibramasDBDTO, EECCSomacylDTO, EECC_DTO, EFaseObraBaremo, ESTADOS_ASIGNACION_VEREDA, ESTADOS_MODIFICABLES_ASIGNACION_VEREDA, ESTADOS_REPLANTEO, EmisionDto, EmpalmeDTO, EmploymentType, EmpresaBaremoDTO, EmpresaDTO, EmpresaENTITY, EmpresaGanadoraDto, EmpresaLiberacionPagosDTO, EmpresaLogisticaDTO, EmpresaPCMODTO, EmpresaPersonalDTO, EmpresaPersonalDatosTrabajoDTO, EmpresaProduccionDTO, EmpresaRegularizarDTO, EmpresaStockPersonalDTO, EmpresaTdCDTO, EmpresaUsuarioDTO, EmpresaValDTO, EmpresaZonasActividadDTO, EncargadoDTO, EncargadoRegularizarDTO, EnviarNavDto, EquipoLogisticaDTO, EquipoSerieDto, EquiposAIDTO, EquiposDTO, EspecialidadDTO, EstadoActividad, EstadoActividadAltasNVT, EstadoAntiguoDTO, EstadoDTO$1 as EstadoDTO, EstadoDePagoDTO, EstadoFaseObraBaremo, EstadoHPListDTO$2 as EstadoHPListDTO, EstadoIntegracionDTO, EstadoInternoDTO, EstadoInternoENTITY, EstadoInternoObraDTO, EstadoInternoWithoutSubstateDTO, type EstadoLiq, EstadoLiqDTO, EstadoNotificacion, EstadoProcesoValAltasNVT, EstadoProcesoValAltasNVTDTO, EstadoProcesoValPeru, EstadoProcesoValPeru9112Claro, EstadoProcesoValPeru9112ClaroDTO, EstadoProcesoValPeruDTO, EstadoProcesoValSomacyl, EstadoProcesoValSomacylDTO, type EstadoReplanteo, EstadoSerieDto, EstadoTOADTO, type EstadoVal, Estado_Model_MO, EstadosTuvesEnum, FacturaDto, FacturaGeneradaDTO, FacturacionDTO, FamiliaItemDTO, FaseDTO, FaseENTITY, FasePagoDTO, FasesObraBaremoDTO, FasesType, FechaDTO, FechaEntregaDto, FechaVigenciaBaremosDTO, FechaVigenciaPCMODTO, FechasDTO, FechasValorizacionBaremoDTO, FileDto, FileExtension, FilesDocDTO, FinalizeSomacylOrderDto, FlagsDTO, FlujoDocDTO, FlujoDto, ForceString, ForgotPasswordDto, FormaPagoDto, FormularioCivilVeredaDTO, FotoDTO, FotosDTO, FotosDetailMaintenanceDTO, FotosSSTDTO, GOMDTO, GemeindeENTITY, GomENTITY, GomNovedadesDTO, GomNovedadesTipoNovedadDTO, GranFamiliaItemDTO, GranFamiliaItemENTITY, GrupoEmpresaDTO, HOME_PASS_CLIENT_TYPES, HOME_PASS_STATE_TYPES, HPListAsignacionDTO, HPListDTO, HistorialCubicacionDTO, HistorialEstadosBantelDTO, HistorialEstadosMifibraDBDTO, HistorialEstadoswinDBDTO, HistorialEstadoswinDTO, HistoricoDTO, HistoricoEmpresasDTO, HitoDTO, type HomePassClientType, HomePassDTO$1 as HomePassDTO, HomePassRefDto, type HomePassStateType, IDataSheetCoordenadas, IDataSheetLineasTdC, IDataSheetMateriales, IDataSheetMedidores, IDataSheetMedidoresNormalizaciones, IDataSheetTdC, IDataSheetTdcNormalizaciones, IDataSheetTiemposCumplimentados, IDataSheetTrabajos, ISheetsJsonChileTdC, IconoDto, ImporteDto, IncidenciasAlemaniaDTO, IncidenciasChileDTO, IncidenciasColombiaDTO, IncidenciasDTO, IncidenciasPeruDTO, IngresoAlmacenENTITY, IntegranteAsistenciaCuadrillaDTO, InvPoolAction, InventarioDTO, InventarioExistenteAltasNVTDTO, InventarioExistenteDTO, InventarioLiqDTO, InventarioTOADTO, InventarioValDTO, IssueENTITY, ItemCantidadesDTO, ItemDTO, ItemDetalleLogisticaDTO, ItemDetallePMDTO, ItemENTITY, ItemEspañaENTITY, ItemExtraENTITY, ItemLogisticaDTO, ItemsOrdenDTO, ItemsOrdenScraperClaroVTRDTO, JobMacroByGemeindeRequestDTO, KCMActividadDTO, KeyDTO, KeyIntegracionENTITY, KitConsumoMaterialENTITY, LiberacionDePagosAlemaniaENTITY, LiquidacionBtAlpPluzOrder2DTO, LiquidadaTOAENTITY, ListaCapacidadesCableDTO, LogAlmacenDTO, LogDTO, LogModificarDTO, LogRegisterDTO, LoginDto, LoteDTO$1 as LoteDTO, MAX_ORDENES_ASIGNACION_VEREDA, MAX_SEARCH_RANGE_DAYS, MOAltasNVTDTO, 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, MaterialCubicacionAL04DTO, MaterialCubicacionAlemaniaDTO, MaterialCubicacionColombiaDTO, MaterialCubicacionPeruDTO, MaterialLogisticaDTO, MaterialMOGlobalDTO, MaterialUtilizadoRetiradoBaremoDTO, MaterialesAltasNVTDTO, MaterialesBantelDTO, MaterialesClaroDTO, MaterialesClienteWAOODTO, MaterialesConsumoDTO, MaterialesCubicacionDTO, MaterialesDTO$1 as MaterialesDTO, MaterialesFibramasDBDTO, MaterialesFibramasDTO, MaterialesMifibraDBDTO, MaterialesPeru9112ClaroDTO, MaterialesSomacylDTO, MaterialestoaDBDTO, MaterialestoaDTO, MaterialeswinDBDTO, MaterialeswinDTO, MateterialesTuvesDTO, MedidorDTO, type MenuDto, MetadataUOMaterialDTO, MetradosVeredaDTO, MiFibraENTITYDB, ModelMOSQLPeruENTITY, ModelObraSQLPeruENTITY, ModeloDTO, MonedaDto, type MongoJsonSchema, type MongoJsonSchemaOptions, MovimientoAlmacenDTO, MovimientoAlmacenENTITY, MovimientoDto, MovimientosRecepcionDto, NavDto, NavisionBitacoraFileDto, NavisionDateRegistryDto, NavisionMovimientoAlmacenDTO, NavisionPersonalLogisticaDTO, NavisionRegistryDateDto, NavisionUserRegistryDto, NavisionpreordenEntity, NivelValidacion, NodoDocDTO, NombreDescripcionDTO, NotasDTO, NotificacionesENTITY, OTBYESPECIALIDADGEMEINDEENTITY, OTDTO, OTENTITY, OTGlobalDTO, OTGlobalENTITY, ObraAlemaniaAL02ENTITY, ObraAlemaniaAL04ENTITY, ObraChile9512ENTITY, ObraColombia9612ENTITY, ObraENTITY, ObraPeru9112ENTITY, OnnetFibraENTITY, OpcionSistemaENTITY, OperacionDTO, OperacionDataAdicional, OptionCatalogoDTO, OrdReclMatDescargadoDTO, OrdenAsignarVeredaDTO, OrdenDetailMaintenanceDTO, OrdenDto, OrdenesInstalacionDTO, OrderStockENTITY, OrderStockStoreENTITY, OrigenCUB, OrigenIntegrante, OtDto, PASOS_WORKFLOW_VEREDA, PBbyMaterialQuantitiesAltasNVTDTO, PBbyMaterialQuantitiesDTO, PBbyMaterialQuantitiesPeru9112ClaroDTO, PBbyMaterialQuantitiesSomacylDTO, PRE_LIQUIDATE_TYPES, PagosECBaremoDTO, PagosECDTO, PaisENTITY, PaisStockPersonalDTO, ParteDiarioDTO, PasoDeWorkflow, PasosDTO, type PayloadTokenDTO, PayloadTokenDto, PedidoCompraDto, PendienteOriginalVeredaDTO, PendienteVeredaDTO, PerfilesENTITY, PeriodoBaremoDTO, PeriodoDTO$2 as PeriodoDTO, PeriodoENTITY, PeriodoLiberacionPagosDTO, PermisosAppDTO, PermisosAppENTITY, PersonaVeredaDTO, PersonalCuadrillaDTO, PersonalDTO, PersonalDevolucionTRDTO, PersonalENTITY, PersonalLogisticaDTO$1 as PersonalLogisticaDTO, PersonalTOADTO, PersonalTrabajoDTO, Peru9112ClaroENTITY, Peru9112FibramasENTITY, Peru9112FibramasENTITYDB, Peru9112TOAENTITY, Peru9112TOAENTITYDB, Peru9112WinENTITY, Peru9112WinENTITYDB, PlantaAltasNVTDTO, PlantaDBDTO, PlantaDTO, PlantaPeru9112ClaroDTO, PlantaSomacylDTO, PreAcceptedDto, PreLiquidateLineCHILE9512Dto, PreLiquidateLineDto, PreLiquidateMaterialDto, PreLiquidateNewLaborDto, type PreLiquidateType, PreLiquidateUnitDto, PreLiquidateValuationCHILE9512Dto, PreLiquidateValuationDto, 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, ProductoServicioDTO, ProductosServiciosContratadoAltasNVTDTO, ProductosServiciosContratadoDBDTO, ProductosServiciosContratadoDTO, ProductosServiciosContratadoPeru9112ClaroDTO, ProductosServiciosContratadoSomacylDTO, ProductosServiciosLiqDTO, ProductosServiciosValDTO, ProfileDTO, ProfileDto, ProfileEntity, RM_ActividadENTITY, RM_ComunaENTITY, RM_ManoObraENTITY, RM_MaterialENTITY, RM_PaquetizadoENTITY, RM_ZonasActividadENTITY, RawLiqPenBantelDTO, RawLiqPenDTO, RawParteDiarioBantelDTO, RawParteDiarioDTO, ReasignarVeredaDTO, ReasonNoFinalizedAltasNVT, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RejectValuationRequestBody, ReplanteoArchivoRequestBodyDTO, ReplanteoENTITY, ReplanteoFotoDTO, ReplanteoGomRequestBodyDTO, ReplanteoGuardarRequestBodyDTO, ReplanteoReservasDTO, 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, RevisionVeredaDTO, RptProduccionCurso_Baremos_FasesENTITY, SEUpdateAnexosObraRequestBody, SEUpdateAnexosTrabajoRequestBody, STATUS_SAP_ASIGNABLES_VEREDA, STB_DTH_ToaENTITY, STB_DTH_ToaPlanta, STB_DTH_ToaUbicacion, SalidaAlmacenENTITY, SaveDailyReportDto, SaveDailyReportPhotoDto, ScrapingCredentialENTITY, SearchDateRangeDto, SearchJobWorkOrderDto, SegmentoDBDTO, SegmentoPeru9112ClaroDTO, SeguimientoObraDTO, SelectCrewDto, ShiftTransferLineDto, type ShiftTransferStockDto, type ShiftTransferStockLineDto, SiNoEnum, SincronizacionPersonalDTO, SistemaDto, SistemaENTITY, SistemaRecurso, SizeDTO, SmartDateTransformer, SocketDTO, SolicitudDto, SomacylEntregablesDTO, SomacylOrderENTITY, SomacylPhotoPosition, StateBantel, StateFibramas, StateInternalOrder, StateInternalOrderAltasNVT, StateInternalOrderClienteWAOO, StateInternalOrderSomacyl, StateInternalOrderTOA, StateInventory, StateMifibra, StateServiceFibramas, StateWin, StatuDto, StockAlmacenENTITY, StockAlmacenEquiposENTITY, StockPersonalENTITY, StockPersonalEquiposENTITY, StockQuantityEmployeeDTO, SubEstadoInternoDTO, SubManoObraDTO$1 as SubManoObraDTO, SummaryDTO, SystemOptionEntity, SystemResource, TOAClaroOrderStockENTITY, TOAOrdenLiquidacionENTITY, TOAOrdenLiquidacionENTITYDB, TOAOrderStockENTITY, TUVESOrdReclMatDescargadoDTO, TUVESOrdReclamosFinDTO, TdcOrderStockENTITY, TecnicoValDTO, TerminoPagoDto, ThemeConfigCountryENTITY, ThemeConfigCountryEntity, ThemeConfigUserENTITY, ThemeConfigUserEntity, 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, TrabajoChileTDCDTO, TrabajoENTITY, TrabajoHechoEnum, TrabajoMacroObraAlemaniaENTITY, TrabajoMacroObraENTITY, TransaccionFoliosENTITY, TransaccionesDTO, TransferValuationRequestBody, TuvesENTITY, TuvesOrdEqFinalizadasDTO, TuvesOrdEqMatDescargadosDTO, TuvesOrderStockENTITY, UOMaterialesBaremoDTO, UOMaterialesExcelDTO, UO_MaterialesENTITY, UbicacionAlmacenDTO, UbicacionAltasNVTDTO, UbicacionBantelDTO, UbicacionDTO, UbicacionMifibraDBDTO, UbicacionObraDTO, UbicacionPeru9112ClaroDTO, 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, UpdateCompanyDto, UpdateCountryDto, UpdateDelegationDto, UpdateDto, UpdateEstadoInternoObraRequestDTO, UpdateHomePassAnexosDto, UpdateProfileDto, UpdateThemeConfigCountryDto, UpdateThemeConfigUserDto, UpdateUltimaFaseFacturacionDTO, UpdateUserDto, UploadFileSomacylOrderDto, UserDto, UserEntity, UsuarioBaremoDTO, UsuarioBitacoraDTO, UsuarioDTO, UsuarioENTITY, UsuarioEdicionDTO, UsuarioID_UsuarioDTO, UsuarioLiqDTO, UsuarioLogisticaDTO, UsuarioRegistrarDTO, UsuariosAutoinventarioENTITY, ValidadoDTO, ValidadoSerieDto, ValidadoUsuarioSerieDto, ValidateJobExistsRequestDTO, ValorizacionAlemaniaDTO, ValorizacionAltasNVTDTO, ValorizacionDTO$1 as ValorizacionDTO, ValorizacionManoObraBaseDTO, ValorizacionManoObraDTO, ValorizacionManoObraRegularizacionDTO, ValorizacionPeru9112ClaroDTO, ValorizacionPeruTOADTO, ValorizacionSomacylDTO, ValorizacionTMOAlemaniaDTO, ValorizacionesDTO$1 as ValorizacionesDTO, ValorizadaTOAENTITY, ValorizadoPorEstado, ValorizadoPorEstadoPeruDTO, ValorizadoTotalObraColombia9612DTO, ValorizadoTotalObraColombiaDTO, ValorizadoTotalObraDTO, ValorizadoTotalObraPeruDTO, VarianteDTO, VigenciaBaremosDTO, VigenciaDTO, VigenciaIssueDTO, VigenciaKeyDTO, VigenciaOTDTO, VigenciaPCMODTO, WBEDTO, WorkflowPasoVeredaDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, entityToMongoJsonSchema, enumToArray, getFirstError, hydrate, itemsCanalizacion, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __export(index_exports, {
|
|
|
35
35
|
AcceptedDto: () => AcceptedDto,
|
|
36
36
|
AccesortiosBantelDTO: () => AccesortiosBantelDTO,
|
|
37
37
|
AccesortiosMifibraDBDTO: () => AccesortiosMifibraDBDTO,
|
|
38
|
+
AccionValidacion: () => AccionValidacion,
|
|
38
39
|
ActaFinalCubicacionDTO: () => ActaFinalCubicacionDTO,
|
|
39
40
|
ActaFinalCubicacionSharedDTO: () => ActaFinalCubicacionSharedDTO,
|
|
40
41
|
ActividadZonasActividadDTO: () => ActividadZonasActividadDTO,
|
|
@@ -121,6 +122,7 @@ __export(index_exports, {
|
|
|
121
122
|
CambioEstadoFacturadoRequest: () => CambioEstadoFacturadoRequest,
|
|
122
123
|
CambioEstadoFaseRequest: () => CambioEstadoFaseRequest,
|
|
123
124
|
CambiosEstadosFaseLiberacionPagosDTO: () => CambiosEstadosFaseLiberacionPagosDTO,
|
|
125
|
+
CamposExtraValidacion: () => CamposExtraValidacion,
|
|
124
126
|
CargoPersonalENTITY: () => CargoPersonalENTITY,
|
|
125
127
|
CategoriaDto: () => CategoriaDto,
|
|
126
128
|
CausacionCubicacionColombiaDTO: () => CausacionCubicacionColombiaDTO,
|
|
@@ -553,6 +555,7 @@ __export(index_exports, {
|
|
|
553
555
|
NavisionRegistryDateDto: () => NavisionRegistryDateDto,
|
|
554
556
|
NavisionUserRegistryDto: () => NavisionUserRegistryDto,
|
|
555
557
|
NavisionpreordenEntity: () => NavisionpreordenEntity,
|
|
558
|
+
NivelValidacion: () => NivelValidacion,
|
|
556
559
|
NodoDocDTO: () => NodoDocDTO,
|
|
557
560
|
NombreDescripcionDTO: () => NombreDescripcionDTO,
|
|
558
561
|
NotasDTO: () => NotasDTO,
|
|
@@ -1369,11 +1372,40 @@ function withConditionalAlternatives(schema, rule) {
|
|
|
1369
1372
|
return alternatives.length ? { anyOf: [...alternatives, schema] } : schema;
|
|
1370
1373
|
}
|
|
1371
1374
|
|
|
1375
|
+
// src/shared/enums/MongoValidation.ts
|
|
1376
|
+
var CamposExtraValidacion = /* @__PURE__ */ ((CamposExtraValidacion2) => {
|
|
1377
|
+
CamposExtraValidacion2["RECHAZAR"] = "rechazar";
|
|
1378
|
+
CamposExtraValidacion2["PERMITIR"] = "permitir";
|
|
1379
|
+
return CamposExtraValidacion2;
|
|
1380
|
+
})(CamposExtraValidacion || {});
|
|
1381
|
+
var NivelValidacion = /* @__PURE__ */ ((NivelValidacion2) => {
|
|
1382
|
+
NivelValidacion2["STRICT"] = "strict";
|
|
1383
|
+
NivelValidacion2["MODERATE"] = "moderate";
|
|
1384
|
+
return NivelValidacion2;
|
|
1385
|
+
})(NivelValidacion || {});
|
|
1386
|
+
var AccionValidacion = /* @__PURE__ */ ((AccionValidacion2) => {
|
|
1387
|
+
AccionValidacion2["ERROR"] = "error";
|
|
1388
|
+
AccionValidacion2["WARN"] = "warn";
|
|
1389
|
+
return AccionValidacion2;
|
|
1390
|
+
})(AccionValidacion || {});
|
|
1391
|
+
|
|
1392
|
+
// src/shared/utils/mongoJsonSchema/options.ts
|
|
1393
|
+
var ID_SCHEMA = { bsonType: ["objectId", "string"] };
|
|
1394
|
+
function rejectsExtraFields(options) {
|
|
1395
|
+
return options?.camposExtra === "rechazar" /* RECHAZAR */;
|
|
1396
|
+
}
|
|
1397
|
+
function closeObject(schema, isRoot) {
|
|
1398
|
+
const properties = isRoot && !schema.properties._id ? { _id: ID_SCHEMA, ...schema.properties } : schema.properties;
|
|
1399
|
+
return { ...schema, properties, additionalProperties: false };
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1372
1402
|
// src/shared/utils/mongoJsonSchema/index.ts
|
|
1373
|
-
function entityToMongoJsonSchema(entity) {
|
|
1374
|
-
|
|
1403
|
+
function entityToMongoJsonSchema(entity, options) {
|
|
1404
|
+
const closed = rejectsExtraFields(options);
|
|
1405
|
+
const schema = buildObjectSchema(entity, [], closed);
|
|
1406
|
+
return closed ? closeObject(schema, true) : schema;
|
|
1375
1407
|
}
|
|
1376
|
-
function buildObjectSchema(entity, stack) {
|
|
1408
|
+
function buildObjectSchema(entity, stack, closed) {
|
|
1377
1409
|
if (stack.includes(entity)) return { bsonType: "object" };
|
|
1378
1410
|
const storage = (0, import_class_validator4.getMetadataStorage)();
|
|
1379
1411
|
const metadatas = storage.getTargetValidationMetadatas(entity, "", false, false);
|
|
@@ -1386,7 +1418,7 @@ function buildObjectSchema(entity, stack) {
|
|
|
1386
1418
|
const conditional = evaluateConditional(propertyMetadatas, property);
|
|
1387
1419
|
if (conditional?.unconstrained) continue;
|
|
1388
1420
|
if (!conditional || conditional.required) required.push(property);
|
|
1389
|
-
const propertySchema = buildPropertySchema(entity, property, propertyMetadatas, defaults[property], nextStack);
|
|
1421
|
+
const propertySchema = buildPropertySchema(entity, property, propertyMetadatas, defaults[property], nextStack, closed);
|
|
1390
1422
|
properties[property] = conditional ? withConditionalAlternatives(propertySchema, conditional) : propertySchema;
|
|
1391
1423
|
}
|
|
1392
1424
|
const schema = { bsonType: "object" };
|
|
@@ -1394,7 +1426,7 @@ function buildObjectSchema(entity, stack) {
|
|
|
1394
1426
|
schema.properties = properties;
|
|
1395
1427
|
return schema;
|
|
1396
1428
|
}
|
|
1397
|
-
function buildPropertySchema(entity, property, metadatas, defaultValue, stack) {
|
|
1429
|
+
function buildPropertySchema(entity, property, metadatas, defaultValue, stack, closed) {
|
|
1398
1430
|
const validators = metadatas.filter((m) => m.type !== "nestedValidation" && m.type !== "conditionalValidation");
|
|
1399
1431
|
const nested = metadatas.find((m) => m.type === "nestedValidation");
|
|
1400
1432
|
const ownValidators = validators.filter((m) => !m.each);
|
|
@@ -1403,18 +1435,22 @@ function buildPropertySchema(entity, property, metadatas, defaultValue, stack) {
|
|
|
1403
1435
|
if (!isArray) {
|
|
1404
1436
|
const nestedType = nested ? resolveNestedType(entity, property, false, defaultValue) : void 0;
|
|
1405
1437
|
if (!nestedType) return schema;
|
|
1406
|
-
const objectSchema =
|
|
1438
|
+
const objectSchema = buildNestedSchema(nestedType, stack, closed);
|
|
1407
1439
|
return { ...schema, ...objectSchema };
|
|
1408
1440
|
}
|
|
1409
1441
|
const eachValidators = validators.filter((m) => m.each);
|
|
1410
1442
|
const itemConstraints = applyConstraints(eachValidators);
|
|
1411
1443
|
const itemType = nested ? resolveNestedType(entity, property, true, void 0) : void 0;
|
|
1412
|
-
const itemObjectSchema = itemType ?
|
|
1444
|
+
const itemObjectSchema = itemType ? buildNestedSchema(itemType, stack, closed) : {};
|
|
1413
1445
|
const items = { ...itemConstraints, ...itemObjectSchema };
|
|
1414
1446
|
schema.bsonType = "array";
|
|
1415
1447
|
if (Object.keys(items).length) schema.items = items;
|
|
1416
1448
|
return schema;
|
|
1417
1449
|
}
|
|
1450
|
+
function buildNestedSchema(entity, stack, closed) {
|
|
1451
|
+
const schema = buildObjectSchema(entity, stack, closed);
|
|
1452
|
+
return closed && schema.properties ? closeObject(schema, false) : schema;
|
|
1453
|
+
}
|
|
1418
1454
|
function resolveNestedType(entity, property, isArray, defaultValue) {
|
|
1419
1455
|
const sample = isArray ? [{}] : {};
|
|
1420
1456
|
let resolved;
|
|
@@ -58682,6 +58718,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
58682
58718
|
AcceptedDto,
|
|
58683
58719
|
AccesortiosBantelDTO,
|
|
58684
58720
|
AccesortiosMifibraDBDTO,
|
|
58721
|
+
AccionValidacion,
|
|
58685
58722
|
ActaFinalCubicacionDTO,
|
|
58686
58723
|
ActaFinalCubicacionSharedDTO,
|
|
58687
58724
|
ActividadZonasActividadDTO,
|
|
@@ -58768,6 +58805,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
58768
58805
|
CambioEstadoFacturadoRequest,
|
|
58769
58806
|
CambioEstadoFaseRequest,
|
|
58770
58807
|
CambiosEstadosFaseLiberacionPagosDTO,
|
|
58808
|
+
CamposExtraValidacion,
|
|
58771
58809
|
CargoPersonalENTITY,
|
|
58772
58810
|
CategoriaDto,
|
|
58773
58811
|
CausacionCubicacionColombiaDTO,
|
|
@@ -59200,6 +59238,7 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
59200
59238
|
NavisionRegistryDateDto,
|
|
59201
59239
|
NavisionUserRegistryDto,
|
|
59202
59240
|
NavisionpreordenEntity,
|
|
59241
|
+
NivelValidacion,
|
|
59203
59242
|
NodoDocDTO,
|
|
59204
59243
|
NombreDescripcionDTO,
|
|
59205
59244
|
NotasDTO,
|
package/dist/index.mjs
CHANGED
|
@@ -379,11 +379,40 @@ function withConditionalAlternatives(schema, rule) {
|
|
|
379
379
|
return alternatives.length ? { anyOf: [...alternatives, schema] } : schema;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
// src/shared/enums/MongoValidation.ts
|
|
383
|
+
var CamposExtraValidacion = /* @__PURE__ */ ((CamposExtraValidacion2) => {
|
|
384
|
+
CamposExtraValidacion2["RECHAZAR"] = "rechazar";
|
|
385
|
+
CamposExtraValidacion2["PERMITIR"] = "permitir";
|
|
386
|
+
return CamposExtraValidacion2;
|
|
387
|
+
})(CamposExtraValidacion || {});
|
|
388
|
+
var NivelValidacion = /* @__PURE__ */ ((NivelValidacion2) => {
|
|
389
|
+
NivelValidacion2["STRICT"] = "strict";
|
|
390
|
+
NivelValidacion2["MODERATE"] = "moderate";
|
|
391
|
+
return NivelValidacion2;
|
|
392
|
+
})(NivelValidacion || {});
|
|
393
|
+
var AccionValidacion = /* @__PURE__ */ ((AccionValidacion2) => {
|
|
394
|
+
AccionValidacion2["ERROR"] = "error";
|
|
395
|
+
AccionValidacion2["WARN"] = "warn";
|
|
396
|
+
return AccionValidacion2;
|
|
397
|
+
})(AccionValidacion || {});
|
|
398
|
+
|
|
399
|
+
// src/shared/utils/mongoJsonSchema/options.ts
|
|
400
|
+
var ID_SCHEMA = { bsonType: ["objectId", "string"] };
|
|
401
|
+
function rejectsExtraFields(options) {
|
|
402
|
+
return options?.camposExtra === "rechazar" /* RECHAZAR */;
|
|
403
|
+
}
|
|
404
|
+
function closeObject(schema, isRoot) {
|
|
405
|
+
const properties = isRoot && !schema.properties._id ? { _id: ID_SCHEMA, ...schema.properties } : schema.properties;
|
|
406
|
+
return { ...schema, properties, additionalProperties: false };
|
|
407
|
+
}
|
|
408
|
+
|
|
382
409
|
// src/shared/utils/mongoJsonSchema/index.ts
|
|
383
|
-
function entityToMongoJsonSchema(entity) {
|
|
384
|
-
|
|
410
|
+
function entityToMongoJsonSchema(entity, options) {
|
|
411
|
+
const closed = rejectsExtraFields(options);
|
|
412
|
+
const schema = buildObjectSchema(entity, [], closed);
|
|
413
|
+
return closed ? closeObject(schema, true) : schema;
|
|
385
414
|
}
|
|
386
|
-
function buildObjectSchema(entity, stack) {
|
|
415
|
+
function buildObjectSchema(entity, stack, closed) {
|
|
387
416
|
if (stack.includes(entity)) return { bsonType: "object" };
|
|
388
417
|
const storage = getMetadataStorage();
|
|
389
418
|
const metadatas = storage.getTargetValidationMetadatas(entity, "", false, false);
|
|
@@ -396,7 +425,7 @@ function buildObjectSchema(entity, stack) {
|
|
|
396
425
|
const conditional = evaluateConditional(propertyMetadatas, property);
|
|
397
426
|
if (conditional?.unconstrained) continue;
|
|
398
427
|
if (!conditional || conditional.required) required.push(property);
|
|
399
|
-
const propertySchema = buildPropertySchema(entity, property, propertyMetadatas, defaults[property], nextStack);
|
|
428
|
+
const propertySchema = buildPropertySchema(entity, property, propertyMetadatas, defaults[property], nextStack, closed);
|
|
400
429
|
properties[property] = conditional ? withConditionalAlternatives(propertySchema, conditional) : propertySchema;
|
|
401
430
|
}
|
|
402
431
|
const schema = { bsonType: "object" };
|
|
@@ -404,7 +433,7 @@ function buildObjectSchema(entity, stack) {
|
|
|
404
433
|
schema.properties = properties;
|
|
405
434
|
return schema;
|
|
406
435
|
}
|
|
407
|
-
function buildPropertySchema(entity, property, metadatas, defaultValue, stack) {
|
|
436
|
+
function buildPropertySchema(entity, property, metadatas, defaultValue, stack, closed) {
|
|
408
437
|
const validators = metadatas.filter((m) => m.type !== "nestedValidation" && m.type !== "conditionalValidation");
|
|
409
438
|
const nested = metadatas.find((m) => m.type === "nestedValidation");
|
|
410
439
|
const ownValidators = validators.filter((m) => !m.each);
|
|
@@ -413,18 +442,22 @@ function buildPropertySchema(entity, property, metadatas, defaultValue, stack) {
|
|
|
413
442
|
if (!isArray) {
|
|
414
443
|
const nestedType = nested ? resolveNestedType(entity, property, false, defaultValue) : void 0;
|
|
415
444
|
if (!nestedType) return schema;
|
|
416
|
-
const objectSchema =
|
|
445
|
+
const objectSchema = buildNestedSchema(nestedType, stack, closed);
|
|
417
446
|
return { ...schema, ...objectSchema };
|
|
418
447
|
}
|
|
419
448
|
const eachValidators = validators.filter((m) => m.each);
|
|
420
449
|
const itemConstraints = applyConstraints(eachValidators);
|
|
421
450
|
const itemType = nested ? resolveNestedType(entity, property, true, void 0) : void 0;
|
|
422
|
-
const itemObjectSchema = itemType ?
|
|
451
|
+
const itemObjectSchema = itemType ? buildNestedSchema(itemType, stack, closed) : {};
|
|
423
452
|
const items = { ...itemConstraints, ...itemObjectSchema };
|
|
424
453
|
schema.bsonType = "array";
|
|
425
454
|
if (Object.keys(items).length) schema.items = items;
|
|
426
455
|
return schema;
|
|
427
456
|
}
|
|
457
|
+
function buildNestedSchema(entity, stack, closed) {
|
|
458
|
+
const schema = buildObjectSchema(entity, stack, closed);
|
|
459
|
+
return closed && schema.properties ? closeObject(schema, false) : schema;
|
|
460
|
+
}
|
|
428
461
|
function resolveNestedType(entity, property, isArray, defaultValue) {
|
|
429
462
|
const sample = isArray ? [{}] : {};
|
|
430
463
|
let resolved;
|
|
@@ -58164,6 +58197,7 @@ export {
|
|
|
58164
58197
|
AcceptedDto,
|
|
58165
58198
|
AccesortiosBantelDTO,
|
|
58166
58199
|
AccesortiosMifibraDBDTO,
|
|
58200
|
+
AccionValidacion,
|
|
58167
58201
|
ActaFinalCubicacionDTO,
|
|
58168
58202
|
ActaFinalCubicacionSharedDTO,
|
|
58169
58203
|
ActividadZonasActividadDTO,
|
|
@@ -58250,6 +58284,7 @@ export {
|
|
|
58250
58284
|
CambioEstadoFacturadoRequest,
|
|
58251
58285
|
CambioEstadoFaseRequest,
|
|
58252
58286
|
CambiosEstadosFaseLiberacionPagosDTO,
|
|
58287
|
+
CamposExtraValidacion,
|
|
58253
58288
|
CargoPersonalENTITY,
|
|
58254
58289
|
CategoriaDto,
|
|
58255
58290
|
CausacionCubicacionColombiaDTO,
|
|
@@ -58682,6 +58717,7 @@ export {
|
|
|
58682
58717
|
NavisionRegistryDateDto,
|
|
58683
58718
|
NavisionUserRegistryDto,
|
|
58684
58719
|
NavisionpreordenEntity,
|
|
58720
|
+
NivelValidacion,
|
|
58685
58721
|
NodoDocDTO,
|
|
58686
58722
|
NombreDescripcionDTO,
|
|
58687
58723
|
NotasDTO,
|