sigo-entities 1.2.555 → 1.2.556
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/.claude/settings.local.json +8 -0
- package/README.md +25 -25
- package/dist/index.d.mts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +27 -9
- package/dist/index.mjs +25 -9
- package/package.json +1 -1
- package/.claude/CLAUDE.md +0 -70
- package/.claude/settings.json +0 -21
- package/.claude/skills/mdl-administracion/SKILL.md +0 -60
- package/.claude/skills/mdl-configuracion/SKILL.md +0 -49
- package/.claude/skills/ope-im/SKILL.md +0 -71
- package/.claude/skills/ope-logistica/SKILL.md +0 -60
- package/.claude/skills/ope-pex/SKILL.md +0 -106
- package/.claude/skills/shared-dtos/SKILL.md +0 -76
- package/__tests__/altasNvtReapertura.test.mjs +0 -58
- package/__tests__/asistenciaCuadrilla.test.mjs +0 -67
- package/__tests__/mongoJsonSchema.test.mjs +0 -66
- package/__tests__/replanteo.test.mjs +0 -44
package/README.md
CHANGED
|
@@ -10,28 +10,28 @@ npm logout
|
|
|
10
10
|
|
|
11
11
|
# Verificar usuario
|
|
12
12
|
npm whoami
|
|
13
|
-
|
|
14
|
-
## Publicar una nueva versión (`npm run release`)
|
|
15
|
-
Publica `sigo-entities` en npm y sube el commit a `origin/main`. Requiere estar en la rama `main` y con sesión iniciada en npm (`npm whoami`).
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
# Commit: "chore: versión X"
|
|
19
|
-
npm run release
|
|
20
|
-
|
|
21
|
-
# Commit: "feat: nuevo DTO y versión X"
|
|
22
|
-
npm run release -- "feat: nuevo DTO"
|
|
23
|
-
|
|
24
|
-
# Solo muestra qué haría, sin cambiar nada
|
|
25
|
-
npm run release -- --dry
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Pasos que ejecuta (`scripts/release.mjs`):
|
|
29
|
-
1. Verifica que la rama sea `main` y que haya sesión en npm.
|
|
30
|
-
2. `git pull --autostash` para bajar cambios.
|
|
31
|
-
3. Toma la última versión publicada (`npm view sigo-entities version`) y le sube el patch.
|
|
32
|
-
4. `npm version <nueva> --no-git-tag-version` y `npm run build`.
|
|
33
|
-
5. `git add -A` y commit (si no hay cambios, continúa sin commit).
|
|
34
|
-
6. `npm publish --ignore-scripts`.
|
|
35
|
-
7. `git push`.
|
|
36
|
-
|
|
37
|
-
Si algún paso falla, el release se detiene y muestra el error.
|
|
13
|
+
|
|
14
|
+
## Publicar una nueva versión (`npm run release`)
|
|
15
|
+
Publica `sigo-entities` en npm y sube el commit a `origin/main`. Requiere estar en la rama `main` y con sesión iniciada en npm (`npm whoami`).
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Commit: "chore: versión X"
|
|
19
|
+
npm run release
|
|
20
|
+
|
|
21
|
+
# Commit: "feat: nuevo DTO y versión X"
|
|
22
|
+
npm run release -- "feat: nuevo DTO"
|
|
23
|
+
|
|
24
|
+
# Solo muestra qué haría, sin cambiar nada
|
|
25
|
+
npm run release -- --dry
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Pasos que ejecuta (`scripts/release.mjs`):
|
|
29
|
+
1. Verifica que la rama sea `main` y que haya sesión en npm.
|
|
30
|
+
2. `git pull --autostash` para bajar cambios.
|
|
31
|
+
3. Toma la última versión publicada (`npm view sigo-entities version`) y le sube el patch.
|
|
32
|
+
4. `npm version <nueva> --no-git-tag-version` y `npm run build`.
|
|
33
|
+
5. `git add -A` y commit (si no hay cambios, continúa sin commit).
|
|
34
|
+
6. `npm publish --ignore-scripts`.
|
|
35
|
+
7. `git push`.
|
|
36
|
+
|
|
37
|
+
Si algún paso falla, el release se detiene y muestra el error.
|
package/dist/index.d.mts
CHANGED
|
@@ -9646,6 +9646,10 @@ declare class PlantaAltasNVTDTO {
|
|
|
9646
9646
|
}
|
|
9647
9647
|
|
|
9648
9648
|
declare const itemsCanalizacion: string[];
|
|
9649
|
+
/** Materiales que admiten cualquier cantidad (mínimo 1): canalización, latiguillos 20 m / 40 m y SP (distribuidor de planta) */
|
|
9650
|
+
declare const itemsCantidadLibre: string[];
|
|
9651
|
+
/** Materiales con cantidad máxima (de 1 al máximo): tapón de gas 7mm */
|
|
9652
|
+
declare const itemsCantidadMaxima: Record<string, number>;
|
|
9649
9653
|
declare class MaterialesAltasNVTDTO {
|
|
9650
9654
|
codigo: string;
|
|
9651
9655
|
descripcion: string;
|
|
@@ -11620,4 +11624,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
11620
11624
|
}
|
|
11621
11625
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
11622
11626
|
|
|
11623
|
-
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, AprobarVeredaDTO, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsignarVeredaDTO, AsistenciaCuadrillaENTITY, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AuthUserDto, AutoInventarioENTITY, AutoInventoryStatusDto, 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, DesmonteVeredaDTO, 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_DESTINO_REABRIR_ALTAS_NVT, 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, type EstadoDestinoReabrirAltasNVT, 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, FormularioVeredaDTO, 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, MOTIVO_REABRIR_ALTAS_NVT_MIN_LENGTH, 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, ObservarVeredaDTO, 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, PreLiquidateInstalledMaterialCOLOMBIA9612Dto, PreLiquidateLineCHILE9512Dto, PreLiquidateLineCOLOMBIA9612Dto, PreLiquidateLineDto, PreLiquidateMaterialDto, PreLiquidateNewLaborDto, PreLiquidateRemovedMaterialCOLOMBIA9612Dto, PreLiquidateSubMOCOLOMBIA9612Dto, type PreLiquidateType, PreLiquidateUnitDto, PreLiquidateValuationCHILE9512Dto, PreLiquidateValuationCOLOMBIA9612Dto, 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, ReabrirAltasNVTDTO, ReasignarVeredaDTO, ReasonNoFinalizedAltasNVT, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RejectValuationRequestBody, ReplanteoArchivoRequestBodyDTO, ReplanteoENTITY, ReplanteoFotoDTO, ReplanteoGomRequestBodyDTO, ReplanteoGuardarRequestBodyDTO, ReplanteoReservasDTO, ReportAutoInventoryDto, ReportAutoInventoryLineDto, 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, TotalesTrabajosMacroDTO, 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, WorkflowVeredaDTO, 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 };
|
|
11627
|
+
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, AprobarVeredaDTO, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsignarVeredaDTO, AsistenciaCuadrillaENTITY, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AuthUserDto, AutoInventarioENTITY, AutoInventoryStatusDto, 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, DesmonteVeredaDTO, 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_DESTINO_REABRIR_ALTAS_NVT, 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, type EstadoDestinoReabrirAltasNVT, 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, FormularioVeredaDTO, 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, MOTIVO_REABRIR_ALTAS_NVT_MIN_LENGTH, 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, ObservarVeredaDTO, 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, PreLiquidateInstalledMaterialCOLOMBIA9612Dto, PreLiquidateLineCHILE9512Dto, PreLiquidateLineCOLOMBIA9612Dto, PreLiquidateLineDto, PreLiquidateMaterialDto, PreLiquidateNewLaborDto, PreLiquidateRemovedMaterialCOLOMBIA9612Dto, PreLiquidateSubMOCOLOMBIA9612Dto, type PreLiquidateType, PreLiquidateUnitDto, PreLiquidateValuationCHILE9512Dto, PreLiquidateValuationCOLOMBIA9612Dto, 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, ReabrirAltasNVTDTO, ReasignarVeredaDTO, ReasonNoFinalizedAltasNVT, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RejectValuationRequestBody, ReplanteoArchivoRequestBodyDTO, ReplanteoENTITY, ReplanteoFotoDTO, ReplanteoGomRequestBodyDTO, ReplanteoGuardarRequestBodyDTO, ReplanteoReservasDTO, ReportAutoInventoryDto, ReportAutoInventoryLineDto, 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, TotalesTrabajosMacroDTO, 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, WorkflowVeredaDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, entityToMongoJsonSchema, enumToArray, getFirstError, hydrate, itemsCanalizacion, itemsCantidadLibre, itemsCantidadMaxima, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.d.ts
CHANGED
|
@@ -9646,6 +9646,10 @@ declare class PlantaAltasNVTDTO {
|
|
|
9646
9646
|
}
|
|
9647
9647
|
|
|
9648
9648
|
declare const itemsCanalizacion: string[];
|
|
9649
|
+
/** Materiales que admiten cualquier cantidad (mínimo 1): canalización, latiguillos 20 m / 40 m y SP (distribuidor de planta) */
|
|
9650
|
+
declare const itemsCantidadLibre: string[];
|
|
9651
|
+
/** Materiales con cantidad máxima (de 1 al máximo): tapón de gas 7mm */
|
|
9652
|
+
declare const itemsCantidadMaxima: Record<string, number>;
|
|
9649
9653
|
declare class MaterialesAltasNVTDTO {
|
|
9650
9654
|
codigo: string;
|
|
9651
9655
|
descripcion: string;
|
|
@@ -11620,4 +11624,4 @@ interface ValidateRequestBodyOptions<T extends object> {
|
|
|
11620
11624
|
}
|
|
11621
11625
|
declare function validateRequestBody<T extends object>({ dtoClass, BadRequestException, groups }: ValidateRequestBodyOptions<T>, req: Request, _res: Response, next: NextFunction): Promise<void>;
|
|
11622
11626
|
|
|
11623
|
-
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, AprobarVeredaDTO, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsignarVeredaDTO, AsistenciaCuadrillaENTITY, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AuthUserDto, AutoInventarioENTITY, AutoInventoryStatusDto, 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, DesmonteVeredaDTO, 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_DESTINO_REABRIR_ALTAS_NVT, 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, type EstadoDestinoReabrirAltasNVT, 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, FormularioVeredaDTO, 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, MOTIVO_REABRIR_ALTAS_NVT_MIN_LENGTH, 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, ObservarVeredaDTO, 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, PreLiquidateInstalledMaterialCOLOMBIA9612Dto, PreLiquidateLineCHILE9512Dto, PreLiquidateLineCOLOMBIA9612Dto, PreLiquidateLineDto, PreLiquidateMaterialDto, PreLiquidateNewLaborDto, PreLiquidateRemovedMaterialCOLOMBIA9612Dto, PreLiquidateSubMOCOLOMBIA9612Dto, type PreLiquidateType, PreLiquidateUnitDto, PreLiquidateValuationCHILE9512Dto, PreLiquidateValuationCOLOMBIA9612Dto, 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, ReabrirAltasNVTDTO, ReasignarVeredaDTO, ReasonNoFinalizedAltasNVT, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RejectValuationRequestBody, ReplanteoArchivoRequestBodyDTO, ReplanteoENTITY, ReplanteoFotoDTO, ReplanteoGomRequestBodyDTO, ReplanteoGuardarRequestBodyDTO, ReplanteoReservasDTO, ReportAutoInventoryDto, ReportAutoInventoryLineDto, 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, TotalesTrabajosMacroDTO, 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, WorkflowVeredaDTO, 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 };
|
|
11627
|
+
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, AprobarVeredaDTO, AreaGOMDTO, AreaGOMDatosReferenciaDTO, AreaGOMENTITY, AreaGOMResumenDTO, AreaGOMSubGOMSDTO, AreaGomCentroCostosDTO, AsignacionGomDTO, AsignacionGomDTO_Old, AsignacionRegularizarDTO, AsignarVeredaDTO, AsistenciaCuadrillaENTITY, AsistenciaENTITY, AtencionOrdenesLiquidadasENTITY, AtiendeBodegaDTO, AttendanceDTO, AttendanceStatus, AuthUserDto, AutoInventarioENTITY, AutoInventoryStatusDto, 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, DesmonteVeredaDTO, 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_DESTINO_REABRIR_ALTAS_NVT, 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, type EstadoDestinoReabrirAltasNVT, 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, FormularioVeredaDTO, 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, MOTIVO_REABRIR_ALTAS_NVT_MIN_LENGTH, 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, ObservarVeredaDTO, 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, PreLiquidateInstalledMaterialCOLOMBIA9612Dto, PreLiquidateLineCHILE9512Dto, PreLiquidateLineCOLOMBIA9612Dto, PreLiquidateLineDto, PreLiquidateMaterialDto, PreLiquidateNewLaborDto, PreLiquidateRemovedMaterialCOLOMBIA9612Dto, PreLiquidateSubMOCOLOMBIA9612Dto, type PreLiquidateType, PreLiquidateUnitDto, PreLiquidateValuationCHILE9512Dto, PreLiquidateValuationCOLOMBIA9612Dto, 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, ReabrirAltasNVTDTO, ReasignarVeredaDTO, ReasonNoFinalizedAltasNVT, ReasonNoFinalizedSomacyl, RecepcionDto, ReclamosDistribuidorDTO, RecursosPersonalDTO, RegistroAudioDTO, RegistryDto, RegularizacionPositivaNegativaDTO, RegularizarObraJobRequestDTO, RejectValuationRequestBody, ReplanteoArchivoRequestBodyDTO, ReplanteoENTITY, ReplanteoFotoDTO, ReplanteoGomRequestBodyDTO, ReplanteoGuardarRequestBodyDTO, ReplanteoReservasDTO, ReportAutoInventoryDto, ReportAutoInventoryLineDto, 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, TotalesTrabajosMacroDTO, 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, WorkflowVeredaDTO, ZonaTrabajoCuadrillaDTO, ZonaTrabajoDTO, ZonaTrabajoENTITY, ZonalesDTO, ZonasDTO, convertStringsToDates, convertTypeNumber, entityToMongoJsonSchema, enumToArray, getFirstError, hydrate, itemsCanalizacion, itemsCantidadLibre, itemsCantidadMaxima, latLngDTO, removeUndefined, transformToDateIfEmpty, trimAndUpperCaseString, type typeEstado, type typeEstadoNroDocumento, type typeFuente, type typeTipo, validateAndFormatData, validateArrayBody, validateCustom, validateRequestBody };
|
package/dist/index.js
CHANGED
|
@@ -1010,6 +1010,8 @@ __export(index_exports, {
|
|
|
1010
1010
|
getFirstError: () => getFirstError,
|
|
1011
1011
|
hydrate: () => hydrate,
|
|
1012
1012
|
itemsCanalizacion: () => itemsCanalizacion,
|
|
1013
|
+
itemsCantidadLibre: () => itemsCantidadLibre,
|
|
1014
|
+
itemsCantidadMaxima: () => itemsCantidadMaxima,
|
|
1013
1015
|
latLngDTO: () => latLngDTO,
|
|
1014
1016
|
removeUndefined: () => removeUndefined,
|
|
1015
1017
|
transformToDateIfEmpty: () => transformToDateIfEmpty,
|
|
@@ -50546,29 +50548,43 @@ var itemsCanalizacion = [
|
|
|
50546
50548
|
"47112939",
|
|
50547
50549
|
"40266013"
|
|
50548
50550
|
];
|
|
50549
|
-
|
|
50551
|
+
var itemsCantidadLibre = [
|
|
50552
|
+
...itemsCanalizacion,
|
|
50553
|
+
"47139587",
|
|
50554
|
+
"47139588",
|
|
50555
|
+
"47100627"
|
|
50556
|
+
];
|
|
50557
|
+
var itemsCantidadMaxima = {
|
|
50558
|
+
"40290567": 10
|
|
50559
|
+
};
|
|
50560
|
+
function IsValidCantidad(validationOptions) {
|
|
50550
50561
|
return function(object, propertyName) {
|
|
50551
50562
|
(0, import_class_validator790.registerDecorator)({
|
|
50552
50563
|
name: "isValidCantidad",
|
|
50553
50564
|
target: object.constructor,
|
|
50554
50565
|
propertyName,
|
|
50555
|
-
constraints: [itemsCanalizacion2],
|
|
50556
50566
|
options: validationOptions,
|
|
50557
50567
|
validator: {
|
|
50558
50568
|
validate(value, args) {
|
|
50559
|
-
const
|
|
50560
|
-
|
|
50561
|
-
if (items.includes(dto.codigo)) {
|
|
50569
|
+
const { codigo } = args.object;
|
|
50570
|
+
if (itemsCantidadLibre.includes(codigo)) {
|
|
50562
50571
|
return value >= 1;
|
|
50563
50572
|
}
|
|
50573
|
+
const max = itemsCantidadMaxima[codigo];
|
|
50574
|
+
if (max !== void 0) {
|
|
50575
|
+
return value >= 1 && value <= max;
|
|
50576
|
+
}
|
|
50564
50577
|
return value === 1;
|
|
50565
50578
|
},
|
|
50566
50579
|
defaultMessage(args) {
|
|
50567
|
-
const
|
|
50568
|
-
|
|
50569
|
-
if (items.includes(dto.codigo)) {
|
|
50580
|
+
const { codigo } = args.object;
|
|
50581
|
+
if (itemsCantidadLibre.includes(codigo)) {
|
|
50570
50582
|
return "La cantidad m\xEDnima es 1";
|
|
50571
50583
|
}
|
|
50584
|
+
const max = itemsCantidadMaxima[codigo];
|
|
50585
|
+
if (max !== void 0) {
|
|
50586
|
+
return `La cantidad debe estar entre 1 y ${max}`;
|
|
50587
|
+
}
|
|
50572
50588
|
return "La cantidad debe ser exactamente 1";
|
|
50573
50589
|
}
|
|
50574
50590
|
}
|
|
@@ -50597,7 +50613,7 @@ __decorateClass([
|
|
|
50597
50613
|
(0, import_class_validator790.IsDefined)({ message: "El campo quantity es obligatorio" }),
|
|
50598
50614
|
(0, import_class_transformer813.Type)(() => Number),
|
|
50599
50615
|
(0, import_class_validator790.IsNumber)(),
|
|
50600
|
-
IsValidCantidad(
|
|
50616
|
+
IsValidCantidad()
|
|
50601
50617
|
], MaterialesAltasNVTDTO.prototype, "cantidad", 2);
|
|
50602
50618
|
__decorateClass([
|
|
50603
50619
|
(0, import_class_transformer813.Expose)(),
|
|
@@ -60127,6 +60143,8 @@ async function validateRequestBody({ dtoClass, BadRequestException, groups }, re
|
|
|
60127
60143
|
getFirstError,
|
|
60128
60144
|
hydrate,
|
|
60129
60145
|
itemsCanalizacion,
|
|
60146
|
+
itemsCantidadLibre,
|
|
60147
|
+
itemsCantidadMaxima,
|
|
60130
60148
|
latLngDTO,
|
|
60131
60149
|
removeUndefined,
|
|
60132
60150
|
transformToDateIfEmpty,
|
package/dist/index.mjs
CHANGED
|
@@ -49901,29 +49901,43 @@ var itemsCanalizacion = [
|
|
|
49901
49901
|
"47112939",
|
|
49902
49902
|
"40266013"
|
|
49903
49903
|
];
|
|
49904
|
-
|
|
49904
|
+
var itemsCantidadLibre = [
|
|
49905
|
+
...itemsCanalizacion,
|
|
49906
|
+
"47139587",
|
|
49907
|
+
"47139588",
|
|
49908
|
+
"47100627"
|
|
49909
|
+
];
|
|
49910
|
+
var itemsCantidadMaxima = {
|
|
49911
|
+
"40290567": 10
|
|
49912
|
+
};
|
|
49913
|
+
function IsValidCantidad(validationOptions) {
|
|
49905
49914
|
return function(object, propertyName) {
|
|
49906
49915
|
registerDecorator({
|
|
49907
49916
|
name: "isValidCantidad",
|
|
49908
49917
|
target: object.constructor,
|
|
49909
49918
|
propertyName,
|
|
49910
|
-
constraints: [itemsCanalizacion2],
|
|
49911
49919
|
options: validationOptions,
|
|
49912
49920
|
validator: {
|
|
49913
49921
|
validate(value, args) {
|
|
49914
|
-
const
|
|
49915
|
-
|
|
49916
|
-
if (items.includes(dto.codigo)) {
|
|
49922
|
+
const { codigo } = args.object;
|
|
49923
|
+
if (itemsCantidadLibre.includes(codigo)) {
|
|
49917
49924
|
return value >= 1;
|
|
49918
49925
|
}
|
|
49926
|
+
const max = itemsCantidadMaxima[codigo];
|
|
49927
|
+
if (max !== void 0) {
|
|
49928
|
+
return value >= 1 && value <= max;
|
|
49929
|
+
}
|
|
49919
49930
|
return value === 1;
|
|
49920
49931
|
},
|
|
49921
49932
|
defaultMessage(args) {
|
|
49922
|
-
const
|
|
49923
|
-
|
|
49924
|
-
if (items.includes(dto.codigo)) {
|
|
49933
|
+
const { codigo } = args.object;
|
|
49934
|
+
if (itemsCantidadLibre.includes(codigo)) {
|
|
49925
49935
|
return "La cantidad m\xEDnima es 1";
|
|
49926
49936
|
}
|
|
49937
|
+
const max = itemsCantidadMaxima[codigo];
|
|
49938
|
+
if (max !== void 0) {
|
|
49939
|
+
return `La cantidad debe estar entre 1 y ${max}`;
|
|
49940
|
+
}
|
|
49927
49941
|
return "La cantidad debe ser exactamente 1";
|
|
49928
49942
|
}
|
|
49929
49943
|
}
|
|
@@ -49952,7 +49966,7 @@ __decorateClass([
|
|
|
49952
49966
|
IsDefined279({ message: "El campo quantity es obligatorio" }),
|
|
49953
49967
|
Type491(() => Number),
|
|
49954
49968
|
IsNumber515(),
|
|
49955
|
-
IsValidCantidad(
|
|
49969
|
+
IsValidCantidad()
|
|
49956
49970
|
], MaterialesAltasNVTDTO.prototype, "cantidad", 2);
|
|
49957
49971
|
__decorateClass([
|
|
49958
49972
|
Expose785(),
|
|
@@ -59613,6 +59627,8 @@ export {
|
|
|
59613
59627
|
getFirstError,
|
|
59614
59628
|
hydrate,
|
|
59615
59629
|
itemsCanalizacion,
|
|
59630
|
+
itemsCantidadLibre,
|
|
59631
|
+
itemsCantidadMaxima,
|
|
59616
59632
|
latLngDTO,
|
|
59617
59633
|
removeUndefined,
|
|
59618
59634
|
transformToDateIfEmpty,
|
package/package.json
CHANGED
package/.claude/CLAUDE.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# CLAUDE.md
|
|
2
|
-
|
|
3
|
-
Frontend: C:\Users\USER\Desktop\Michael\5_cobra\1_workspace\1_projects\SIGO\Frontend\sigo-frontend-2
|
|
4
|
-
Backend: C:\Users\USER\Desktop\Michael\5_cobra\1_workspace\1_projects\SIGO\Backend\sigo-backend
|
|
5
|
-
Sigo-entities: C:\Users\USER\Desktop\Michael\5_cobra\1_workspace\1_projects\SIGO\npm\sigo-entities
|
|
6
|
-
|
|
7
|
-
## Descripción
|
|
8
|
-
Paquete NPM interno — contrato compartido de tipos, validación y transformación entre `sigo-frontend` y `sigo-backend`.
|
|
9
|
-
|
|
10
|
-
## Comandos
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
npm run build # Compila con tsup (CJS + ESM) y resuelve path aliases con tsc-alias
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Arquitectura
|
|
17
|
-
|
|
18
|
-
El paquete exporta todo desde `src/index.ts`, que re-exporta por dominio:
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
src/
|
|
22
|
-
administracion/ — asistencia, personal, etc.
|
|
23
|
-
configuracion/ — usuarios, perfiles
|
|
24
|
-
logistica/ — bodega, items, almacen
|
|
25
|
-
operativa/ — mantenimientos, procesos
|
|
26
|
-
programados/ — tareas programadas
|
|
27
|
-
shared/ — DTOs, enums, types y utils reutilizables
|
|
28
|
-
v2/ — versión 2 de entidades/DTOs
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Cada dominio tiene su propio `index.ts` que agrega exports de sus submódulos. El entry point es `dist/index.js` (CJS) / `dist/index.mjs` (ESM) con tipos en `dist/index.d.ts`.
|
|
32
|
-
|
|
33
|
-
## Patrón de entidades y DTOs
|
|
34
|
-
|
|
35
|
-
**ENTITY**: Representa un documento completo de una colección MongoDB.
|
|
36
|
-
**DTO**: Representa una sub-estructura reutilizable o forma de datos anidados.
|
|
37
|
-
|
|
38
|
-
Ejemplo de propiedad con el patrón completo:
|
|
39
|
-
|
|
40
|
-
```ts
|
|
41
|
-
@Expose()
|
|
42
|
-
@IsDefined({ message: "El campo X es obligatorio" })
|
|
43
|
-
@IsString()
|
|
44
|
-
@Length(0, 75)
|
|
45
|
-
@Transform(({ value }) => value?.toUpperCase().trim())
|
|
46
|
-
Codigo: string = ''
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Patrones clave:
|
|
50
|
-
|
|
51
|
-
- Todas las propiedades se inicializan con valores por defecto (strings vacíos, `0`, `new Class()`)
|
|
52
|
-
- Objetos anidados usan `@Type(() => DtoClass)` + `@ValidateNested()`
|
|
53
|
-
- Arrays usan `@IsArray()` + `@ValidateNested({ each: true })`
|
|
54
|
-
- Texto normalmente se transforma con `.toUpperCase().trim()`
|
|
55
|
-
|
|
56
|
-
## Path aliases (tsconfig)
|
|
57
|
-
|
|
58
|
-
```json
|
|
59
|
-
"@shared-dto/*" → "src/shared/dto/*"
|
|
60
|
-
"@shared-types/*" → "src/shared/types/*"
|
|
61
|
-
"@shared-enums/*" → "src/shared/enums/*"
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## Convenciones importantes
|
|
65
|
-
|
|
66
|
-
- Cada colección MongoDB tiene exactamente una `ENTITY`
|
|
67
|
-
- Naming: `[Nombre]ENTITY` y `[Nombre]DTO`
|
|
68
|
-
- Este paquete es la única fuente de verdad para los tipos — no duplicar en front ni back
|
|
69
|
-
- Cualquier cambio en una entidad impacta ambos proyectos — cuidado con breaking changes
|
|
70
|
-
- `reflect-metadata` se importa en el `src/index.ts` raíz (requerido por class-validator/transformer)
|
package/.claude/settings.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"allow": [
|
|
3
|
-
"Read(//c/Users/USER/Desktop/Michael/5_cobra/1_workspace/1_projects/SIGO/Frontend/sigo-frontend-2/**)",
|
|
4
|
-
"Read(//c/Users/USER/Desktop/Michael/5_cobra/1_workspace/1_projects/SIGO/Backend/sigo-backend/**)",
|
|
5
|
-
"Read(//c/Users/USER/Desktop/Michael/5_cobra/1_workspace/1_projects/SIGO/npm/sigo-entities/**)",
|
|
6
|
-
"Read(//c/Users/USER/Desktop/Michael/5_cobra/1_workspace/1_projects/SIGO/npm/sigo-package/**)",
|
|
7
|
-
"Read(.env)",
|
|
8
|
-
"Read(.env.*)"
|
|
9
|
-
],
|
|
10
|
-
"env": {
|
|
11
|
-
"SIGO_FRONTEND": "C:/Users/USER/Desktop/Michael/5_cobra/1_workspace/1_projects/SIGO/Frontend/sigo-frontend-2",
|
|
12
|
-
"SIGO_BACKEND": "C:/Users/USER/Desktop/Michael/5_cobra/1_workspace/1_projects/SIGO/Backend/sigo-backend",
|
|
13
|
-
"SIGO_ENTITIES": "C:/Users/USER/Desktop/Michael/5_cobra/1_workspace/1_projects/SIGO/npm/sigo-entities"
|
|
14
|
-
},
|
|
15
|
-
"permissions": {
|
|
16
|
-
"deny": [
|
|
17
|
-
"Read(node_modules/**)",
|
|
18
|
-
"Read(dist/**)"
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: mdl-administracion
|
|
3
|
-
description: >
|
|
4
|
-
Dominio administracion/ — base de datos MDL_ADMINISTRACION. Usar cuando se trabaje con
|
|
5
|
-
órdenes de trabajo (OT), asistencia, mano de obra, precios, baremos, documentación PEX,
|
|
6
|
-
zonas de trabajo, o cualquier entidad/DTO dentro de src/administracion/.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Skill: MDL_ADMINISTRACION
|
|
10
|
-
|
|
11
|
-
Carpeta: `src/administracion/`
|
|
12
|
-
Base de datos MongoDB: **MDL_ADMINISTRACION**
|
|
13
|
-
|
|
14
|
-
También contiene parte de **MDL_CATALOGO** — datos de referencia como precios, tipos y unidades.
|
|
15
|
-
|
|
16
|
-
## Sub-dominios principales
|
|
17
|
-
|
|
18
|
-
| Carpeta | Contenido |
|
|
19
|
-
|---|---|
|
|
20
|
-
| `ot/` | Órdenes de Trabajo — vigencia, estado |
|
|
21
|
-
| `otglobal/` | OT globales |
|
|
22
|
-
| `asistencia/` | Registro de asistencia y resumen |
|
|
23
|
-
| `mano-obra-unidad-obra/` | Relación mano de obra ↔ unidad de obra |
|
|
24
|
-
| `mano_obra_mtto/` | Mano de obra en mantenimiento |
|
|
25
|
-
| `precio-mano-obra/` | Precios de MO (global, empresa, precio actual) — **MDL_CATALOGO** |
|
|
26
|
-
| `precio material/` | Precios de materiales — **MDL_CATALOGO** |
|
|
27
|
-
| `precio especialidad/` | Precios por especialidad y agencia — **MDL_CATALOGO** |
|
|
28
|
-
| `unidad_obra/` | Catálogo de unidades de obra — **MDL_CATALOGO** |
|
|
29
|
-
| `unidad obra material/` | Materiales por unidad de obra — **MDL_CATALOGO** |
|
|
30
|
-
| `zona trabajo/` | Zonas de trabajo y contratos OT |
|
|
31
|
-
| `documentacion-pex/` | Documentación de procesos PEX |
|
|
32
|
-
| `documentacion-baremo-pex/` | Baremos para documentación PEX |
|
|
33
|
-
| `tipo movil/` | Tipos de vehículo/móvil — **MDL_CATALOGO** |
|
|
34
|
-
| `tipo_clave/` | Tipos de clave — **MDL_CATALOGO** |
|
|
35
|
-
| `rm_zona_actividad/` | Relación RM zona-actividad |
|
|
36
|
-
| `ItemExtra/` | Ítems extra (SKU, proveedor) |
|
|
37
|
-
| `EstadoInterno/` | Estados internos de OT |
|
|
38
|
-
| `permisos-app/` | Permisos de la app |
|
|
39
|
-
| `mail structure/` | Estructura de destinatarios de mail |
|
|
40
|
-
| `key integracion/` | Claves de integración externa |
|
|
41
|
-
| `PrecioAgencia_mam_onnet/` | Precios de agencia MAM/Onnet |
|
|
42
|
-
| `chile 9512 paquetizado mano obra/` | Chile: MO paquetizada contrato 9512 |
|
|
43
|
-
| `chile 9512 paquetizado material/` | Chile: material paquetizado contrato 9512 |
|
|
44
|
-
|
|
45
|
-
## Naming
|
|
46
|
-
|
|
47
|
-
- Entidades: `[Nombre]ENTITY` — representan una colección MongoDB completa
|
|
48
|
-
- DTOs: `[Nombre]DTO` — sub-estructuras anidadas o reutilizables
|
|
49
|
-
- Ejemplo: `OtENTITY`, `VigenciaOtDTO`, `PrecioManoObraENTITY`, `PrecioEmpresaDTO`
|
|
50
|
-
|
|
51
|
-
## Ubicación de archivos
|
|
52
|
-
|
|
53
|
-
```
|
|
54
|
-
src/administracion/
|
|
55
|
-
└── [nombre-modulo]/
|
|
56
|
-
└── shared/
|
|
57
|
-
├── [nombre].entity.ts ← ENTITY principal
|
|
58
|
-
└── dto/
|
|
59
|
-
└── [nombre]-dto.ts ← DTOs anidados
|
|
60
|
-
```
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: mdl-configuracion
|
|
3
|
-
description: >
|
|
4
|
-
Dominio configuracion/ — base de datos MDL_CONFIGURACION. Usar cuando se trabaje con
|
|
5
|
-
usuarios, perfiles, empresas, sistema, notificaciones, cargos, contratos OT,
|
|
6
|
-
o cualquier entidad/DTO dentro de src/configuracion/.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Skill: MDL_CONFIGURACION
|
|
10
|
-
|
|
11
|
-
Carpeta: `src/configuracion/`
|
|
12
|
-
Base de datos MongoDB: **MDL_CONFIGURACION**
|
|
13
|
-
|
|
14
|
-
## Sub-dominios principales
|
|
15
|
-
|
|
16
|
-
| Carpeta | Contenido |
|
|
17
|
-
|---|---|
|
|
18
|
-
| `usuarios/` | Usuarios del sistema |
|
|
19
|
-
| `usuarios autoinventario/` | Usuarios del módulo autoinventario |
|
|
20
|
-
| `perfiles/` | Perfiles de acceso y sistemas asociados |
|
|
21
|
-
| `personal/` | Datos del personal |
|
|
22
|
-
| `cargo personal/` | Cargos/roles del personal |
|
|
23
|
-
| `empresa/` | Empresas (datos generales, GIA, grupo empresa, representante legal, tipo) |
|
|
24
|
-
| `sistema/` | Configuración general del sistema |
|
|
25
|
-
| `opcion sistema/` | Opciones del sistema |
|
|
26
|
-
| `tipo opcion sistema/` | Tipos de opciones del sistema |
|
|
27
|
-
| `tipo especialidad mo/` | Tipos de especialidad de mano de obra |
|
|
28
|
-
| `tipo clave/` | Tipos de clave de configuración |
|
|
29
|
-
| `contrato ot/` | Contratos de órdenes de trabajo |
|
|
30
|
-
| `notificaciones/` | Notificaciones (data adicional) |
|
|
31
|
-
| `scraping credential/` | Credenciales para scraping |
|
|
32
|
-
| `theme config country/` | Configuración de tema por país |
|
|
33
|
-
|
|
34
|
-
## Naming
|
|
35
|
-
|
|
36
|
-
- Entidades: `[Nombre]ENTITY`
|
|
37
|
-
- DTOs: `[Nombre]DTO`
|
|
38
|
-
- Ejemplo: `UsuarioENTITY`, `EmpresaENTITY`, `DatosGeneralesDTO`, `SistemaDTO`, `PerfilENTITY`
|
|
39
|
-
|
|
40
|
-
## Ubicación de archivos
|
|
41
|
-
|
|
42
|
-
```
|
|
43
|
-
src/configuracion/
|
|
44
|
-
└── [nombre-modulo]/
|
|
45
|
-
└── shared/
|
|
46
|
-
├── [nombre].entity.ts
|
|
47
|
-
└── dto/
|
|
48
|
-
└── [nombre]-dto.ts
|
|
49
|
-
```
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ope-im
|
|
3
|
-
description: >
|
|
4
|
-
Dominio operativa/ — base de datos OPE_IM. Usar cuando se trabaje con
|
|
5
|
-
mantenimientos, procesos de integración externa (TOA, WAOO, WIN, Fibramas, Onnet,
|
|
6
|
-
Movistar, Somacyl, Tuves, TDC), órdenes de liquidación, order stock,
|
|
7
|
-
o cualquier entidad/DTO dentro de src/operativa/.
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Skill: OPE_IM
|
|
11
|
-
|
|
12
|
-
Carpeta: `src/operativa/`
|
|
13
|
-
Base de datos MongoDB: **OPE_IM**
|
|
14
|
-
|
|
15
|
-
Contiene integraciones con sistemas externos de operadores de telecomunicaciones y procesos de mantenimiento.
|
|
16
|
-
|
|
17
|
-
## Sub-dominios principales
|
|
18
|
-
|
|
19
|
-
### `mantenimientos/`
|
|
20
|
-
Entidades de mantenimiento operativo.
|
|
21
|
-
|
|
22
|
-
### `procesos/`
|
|
23
|
-
Integraciones con sistemas externos por operador:
|
|
24
|
-
|
|
25
|
-
| Carpeta | Operador / Sistema |
|
|
26
|
-
|---|---|
|
|
27
|
-
| `TOA orden liquidacion/` | TOA — órdenes de liquidación |
|
|
28
|
-
| `TOA orden liquidacion_db/` | TOA — órdenes de liquidación (versión BD) |
|
|
29
|
-
| `TOA Claro order stock/` | TOA Claro — order stock |
|
|
30
|
-
| `TOA order stock/` | TOA — order stock genérico |
|
|
31
|
-
| `toa_claro/` | TOA Claro (scraper + shared) |
|
|
32
|
-
| `toa_movistar/` | TOA Movistar |
|
|
33
|
-
| `toa_movistar_db/` | TOA Movistar (versión BD) |
|
|
34
|
-
| `baremos_toa/` | Baremos TOA (Chile + shared) |
|
|
35
|
-
| `liquidadas_toa/` | Órdenes TOA liquidadas |
|
|
36
|
-
| `valorizadas_toa/` | Órdenes TOA valorizadas |
|
|
37
|
-
| `onnet_fibra/` | Onnet Fibra (DTOs + utils) |
|
|
38
|
-
| `fibramas_order/` | Fibramas — órdenes |
|
|
39
|
-
| `fibramas_order_db/` | Fibramas — órdenes (versión BD) |
|
|
40
|
-
| `win_order/` | WIN — órdenes |
|
|
41
|
-
| `win_order_db/` | WIN — órdenes (versión BD) |
|
|
42
|
-
| `waoo_order_stock/` | WAOO — order stock |
|
|
43
|
-
| `cliente_waoo/` | WAOO — clientes |
|
|
44
|
-
| `somacyl_order/` | Somacyl — órdenes |
|
|
45
|
-
| `tuves/` | Tuves |
|
|
46
|
-
| `tuves_order_stock/` | Tuves — order stock |
|
|
47
|
-
| `tdc/` | TDC (Chile — DTOs + interfaces) |
|
|
48
|
-
| `stb_dth_toaperu/` | STB DTH TOA Perú |
|
|
49
|
-
| `order stock/` | Order stock genérico |
|
|
50
|
-
| `request number TTL/` | Request number TTL |
|
|
51
|
-
|
|
52
|
-
## Naming
|
|
53
|
-
|
|
54
|
-
- Entidades: `[Nombre]ENTITY`
|
|
55
|
-
- DTOs: `[Nombre]DTO`
|
|
56
|
-
- Ejemplo: `ToaOrdenLiquidacionENTITY`, `BaremoToaENTITY`, `OnnetFibraENTITY`
|
|
57
|
-
|
|
58
|
-
## Ubicación de archivos
|
|
59
|
-
|
|
60
|
-
```
|
|
61
|
-
src/operativa/
|
|
62
|
-
├── mantenimientos/
|
|
63
|
-
│ └── shared/
|
|
64
|
-
│ └── [nombre].entity.ts
|
|
65
|
-
└── procesos/
|
|
66
|
-
└── [nombre-operador]/
|
|
67
|
-
└── shared/
|
|
68
|
-
├── [nombre].entity.ts
|
|
69
|
-
└── dto/
|
|
70
|
-
└── [nombre]-dto.ts
|
|
71
|
-
```
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ope-logistica
|
|
3
|
-
description: >
|
|
4
|
-
Dominio logistica/ — base de datos OPE_LOGISTICA. Usar cuando se trabaje con
|
|
5
|
-
almacenes, bodega, stock, inventario, movimientos de almacén, consumo de material,
|
|
6
|
-
devoluciones, ítems, kits, o cualquier entidad/DTO dentro de src/logistica/.
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
# Skill: OPE_LOGISTICA
|
|
10
|
-
|
|
11
|
-
Carpeta: `src/logistica/`
|
|
12
|
-
Base de datos MongoDB: **OPE_LOGISTICA**
|
|
13
|
-
|
|
14
|
-
También contiene parte de **MDL_CATALOGO** — catálogo de ítems, tipos de almacén, unidades de medida.
|
|
15
|
-
|
|
16
|
-
## Sub-dominios principales
|
|
17
|
-
|
|
18
|
-
| Carpeta | Contenido |
|
|
19
|
-
|---|---|
|
|
20
|
-
| `almacen/` | Almacenes |
|
|
21
|
-
| `almacen extra/` | Almacenes extra |
|
|
22
|
-
| `bodega/` | Bodegas |
|
|
23
|
-
| `stock almacen/` | Stock en almacén |
|
|
24
|
-
| `stock almacen equipos/` | Stock de equipos en almacén |
|
|
25
|
-
| `stock personal/` | Stock asignado a personal |
|
|
26
|
-
| `stock personal equipos/` | Stock de equipos del personal |
|
|
27
|
-
| `movimiento almacen/` | Movimientos de almacén |
|
|
28
|
-
| `ingreso almacen/` | Ingresos a almacén |
|
|
29
|
-
| `salida almacen/` | Salidas de almacén |
|
|
30
|
-
| `devolucion almacen/` | Devoluciones de almacén |
|
|
31
|
-
| `consumo material/` | Consumo de material (incluye variante Alemania) |
|
|
32
|
-
| `consumos P117/` | Consumos protocolo P117 |
|
|
33
|
-
| `kitconsumo/` | Kits de consumo |
|
|
34
|
-
| `autoinventario/` | Autoinventario |
|
|
35
|
-
| `transaccion folios/` | Transacciones con folios |
|
|
36
|
-
| `atencion ordenes liquidadas/` | Atención de órdenes liquidadas |
|
|
37
|
-
| `items/` | Catálogo de ítems (incluye variante Alemania) — **MDL_CATALOGO** |
|
|
38
|
-
| `gran familia item/` | Gran familia de ítems — **MDL_CATALOGO** |
|
|
39
|
-
| `tipo almacen/` | Tipos de almacén — **MDL_CATALOGO** |
|
|
40
|
-
| `tipo movimiento almacen/` | Tipos de movimiento de almacén — **MDL_CATALOGO** |
|
|
41
|
-
| `tipo stock/` | Tipos de stock — **MDL_CATALOGO** |
|
|
42
|
-
| `unidad medida/` | Unidades de medida — **MDL_CATALOGO** |
|
|
43
|
-
| `procesos/navisionpreorden/` | Pre-órdenes Navision (DTOs, enums, requestDtos) |
|
|
44
|
-
|
|
45
|
-
## Naming
|
|
46
|
-
|
|
47
|
-
- Entidades: `[Nombre]ENTITY`
|
|
48
|
-
- DTOs: `[Nombre]DTO`
|
|
49
|
-
- Ejemplo: `AlmacenENTITY`, `AlmacenDTO`, `StockAlmacenENTITY`, `MovimientoAlmacenENTITY`
|
|
50
|
-
|
|
51
|
-
## Ubicación de archivos
|
|
52
|
-
|
|
53
|
-
```
|
|
54
|
-
src/logistica/
|
|
55
|
-
└── [nombre-modulo]/
|
|
56
|
-
└── shared/
|
|
57
|
-
├── [nombre].entity.ts
|
|
58
|
-
└── dto/
|
|
59
|
-
└── [nombre]-dto.ts
|
|
60
|
-
```
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ope-pex
|
|
3
|
-
description: >
|
|
4
|
-
Dominio programados/ — base de datos OPE_PEX. Usar cuando se trabaje con
|
|
5
|
-
procesos programados de ejecución: obra, trabajo, cubicación, macroobra,
|
|
6
|
-
reservas (MO y material), reportes de producción, liberación de pagos,
|
|
7
|
-
mantenimientos de catálogos (agencia, cuadrilla, periodo, presupuesto),
|
|
8
|
-
o cualquier entidad/DTO dentro de src/programados/.
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Skill: OPE_PEX
|
|
12
|
-
|
|
13
|
-
Carpeta: `src/programados/`
|
|
14
|
-
Base de datos MongoDB: **OPE_PEX**
|
|
15
|
-
|
|
16
|
-
Procesos programados de ejecución — el dominio más grande del paquete.
|
|
17
|
-
|
|
18
|
-
## Sub-dominios principales
|
|
19
|
-
|
|
20
|
-
### `Reportes/`
|
|
21
|
-
|
|
22
|
-
| Carpeta | Contenido |
|
|
23
|
-
|---|---|
|
|
24
|
-
| `LiberacionDePagos/` | Reporte de liberación de pagos (DTOs + requestDtos) |
|
|
25
|
-
| `ReporteProduccion/` | Reporte de producción (Alemania, Chile, Colombia — baremos y resumen) |
|
|
26
|
-
| `RptProduccionCurso_Baremos_Fases/` | Reporte producción en curso con baremos y fases |
|
|
27
|
-
|
|
28
|
-
### `mantenimientos/`
|
|
29
|
-
Catálogos y configuraciones base de OPE_PEX:
|
|
30
|
-
|
|
31
|
-
| Carpeta | Contenido |
|
|
32
|
-
|---|---|
|
|
33
|
-
| `agencia/` | Agencias |
|
|
34
|
-
| `area_gom/` | Áreas GOM |
|
|
35
|
-
| `centro costos/` | Centros de costo |
|
|
36
|
-
| `contrato-pagos/` | Contratos de pago (Alemania) |
|
|
37
|
-
| `cuadrilla/` | Cuadrillas de trabajo |
|
|
38
|
-
| `mano obra global/` | Mano de obra global |
|
|
39
|
-
| `mano-obra-baremo/` | Mano de obra × baremo |
|
|
40
|
-
| `periodo/` | Períodos |
|
|
41
|
-
| `presupuesto-ot/` | Presupuesto de OT |
|
|
42
|
-
| `rm actividad/` | RM actividad |
|
|
43
|
-
| `rm comuna/` | RM comuna |
|
|
44
|
-
| `rm mano obra/` | RM mano de obra |
|
|
45
|
-
| `rm paquetizado/` | RM paquetizado |
|
|
46
|
-
| `rm-material/` | RM material |
|
|
47
|
-
| `rm-zonas-actividad/` | RM zonas de actividad |
|
|
48
|
-
| `tipo actividad mo/` | Tipos de actividad MO |
|
|
49
|
-
| `tipo obra/` | Tipos de obra |
|
|
50
|
-
|
|
51
|
-
### `procesos/`
|
|
52
|
-
Procesos de ejecución programada:
|
|
53
|
-
|
|
54
|
-
| Carpeta | Contenido |
|
|
55
|
-
|---|---|
|
|
56
|
-
| `obra/` | Obra (Alemania AL02/AL04, Chile 9512, Colombia 9612, Perú 9112, shared) |
|
|
57
|
-
| `trabajo/` | Trabajo (Alemania + shared) |
|
|
58
|
-
| `macroobra/` | Macro-obra (Chile, Perú, shared) |
|
|
59
|
-
| `trabajoMacroObra/` | Trabajo en macro-obra (Alemania + shared) |
|
|
60
|
-
| `cubicacion/` | Cubicación (Alemania, Chile, Colombia, Perú, shared) |
|
|
61
|
-
| `reservaManoObra/` | Reserva de mano de obra (Alemania + shared) |
|
|
62
|
-
| `reservaManoObraRegularizacion/` | Regularización de reserva MO |
|
|
63
|
-
| `reservaMaterial/` | Reserva de material |
|
|
64
|
-
| `precioContratistaIssue/` | Precio contratista — issues (Alemania AL02 + shared) |
|
|
65
|
-
| `precioContratistaMO/` | Precio contratista MO (Alemania AL02/AL04 + shared) |
|
|
66
|
-
| `precioContratistaMaterial/` | Precio contratista material |
|
|
67
|
-
| `gom/` | GOM (Colombia + shared) |
|
|
68
|
-
| `Issue/` | Issues generales |
|
|
69
|
-
| `addressList_AL04/` | Lista de direcciones AL04 (Alemania) |
|
|
70
|
-
| `data-migrations/` | Migraciones de datos |
|
|
71
|
-
| `model mo sql/` | Modelo MO SQL (Perú) |
|
|
72
|
-
| `model obra sql/` | Modelo obra SQL (Perú) |
|
|
73
|
-
|
|
74
|
-
## Naming
|
|
75
|
-
|
|
76
|
-
- Entidades: `[Nombre]ENTITY`
|
|
77
|
-
- DTOs: `[Nombre]DTO`
|
|
78
|
-
- Ejemplo: `ObraENTITY`, `TrabajoENTITY`, `CubicacionENTITY`, `ReservaManoObraENTITY`
|
|
79
|
-
|
|
80
|
-
## Patrón por país
|
|
81
|
-
|
|
82
|
-
Muchos módulos tienen variantes por país dentro del mismo proceso:
|
|
83
|
-
|
|
84
|
-
```
|
|
85
|
-
procesos/obra/
|
|
86
|
-
├── alemania/AL02/ ← contrato alemán AL02
|
|
87
|
-
├── alemania/AL04/ ← contrato alemán AL04
|
|
88
|
-
├── chile/9512/ ← contrato chileno 9512
|
|
89
|
-
├── colombia/9612/ ← contrato colombiano 9612
|
|
90
|
-
├── peru/9112/ ← contrato peruano 9112
|
|
91
|
-
└── shared/ ← estructura base compartida
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
## Ubicación de archivos
|
|
95
|
-
|
|
96
|
-
```
|
|
97
|
-
src/programados/
|
|
98
|
-
├── Reportes/[nombre]/shared/(dto|request_dto)/
|
|
99
|
-
├── mantenimientos/[nombre]/shared/(entity|dto)/
|
|
100
|
-
└── procesos/[nombre]/
|
|
101
|
-
├── shared/
|
|
102
|
-
│ ├── [nombre].entity.ts
|
|
103
|
-
│ ├── dto/
|
|
104
|
-
│ └── requestDto/
|
|
105
|
-
└── [pais]/dto/
|
|
106
|
-
```
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: shared-dtos
|
|
3
|
-
description: >
|
|
4
|
-
Dominio shared/ — DTOs, enums, types y utils reutilizables en todos los dominios.
|
|
5
|
-
Usar cuando se necesite un DTO transversal como CodigoNombre, UsuarioDTO, o cualquier
|
|
6
|
-
estructura que se repite en múltiples colecciones/módulos. También contiene enums
|
|
7
|
-
globales, tipos TypeScript y utilidades de transformación.
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Skill: Shared DTOs
|
|
11
|
-
|
|
12
|
-
Carpeta: `src/shared/`
|
|
13
|
-
**No tiene base de datos propia** — es código reutilizado por todos los dominios.
|
|
14
|
-
|
|
15
|
-
## Sub-carpetas
|
|
16
|
-
|
|
17
|
-
### `dto/`
|
|
18
|
-
DTOs transversales usados en múltiples entidades y dominios.
|
|
19
|
-
|
|
20
|
-
Ejemplos clave:
|
|
21
|
-
|
|
22
|
-
| DTO | Forma | Uso |
|
|
23
|
-
|---|---|---|
|
|
24
|
-
| `CodigoNombre` | `{ Codigo: string, Nombre: string }` | Referencia genérica a catálogos |
|
|
25
|
-
| `UsuarioDTO` | datos del usuario | Auditoría, asignaciones |
|
|
26
|
-
| `AlmacenDTO` | datos de almacén | Referencia a almacenes en otros módulos |
|
|
27
|
-
| `AutoinventarioDTO` | — | Inventario en múltiples dominios |
|
|
28
|
-
| `ZonasDTO` | — | Zonas de trabajo transversales |
|
|
29
|
-
|
|
30
|
-
> Si una estructura `{ Codigo, Nombre }` aparece en varios módulos, usar `CodigoNombre` de shared en vez de redefinirla.
|
|
31
|
-
|
|
32
|
-
### `enums/`
|
|
33
|
-
Enums globales del sistema:
|
|
34
|
-
|
|
35
|
-
| Archivo | Contenido |
|
|
36
|
-
|---|---|
|
|
37
|
-
| `RequeridoEnum.ts` | Enum de campos requeridos |
|
|
38
|
-
| `StateInternalOrder.ts` | Estados de órdenes internas |
|
|
39
|
-
| `StateInternalOrderTOA.ts` | Estados de órdenes TOA |
|
|
40
|
-
|
|
41
|
-
### `types/`
|
|
42
|
-
Tipos TypeScript globales:
|
|
43
|
-
|
|
44
|
-
| Archivo | Contenido |
|
|
45
|
-
|---|---|
|
|
46
|
-
| `sistema-recurso.ts` | Tipo de recurso del sistema |
|
|
47
|
-
| `state-inventory.ts` | Tipo de estado de inventario |
|
|
48
|
-
|
|
49
|
-
### `utils/`
|
|
50
|
-
Utilidades de transformación usadas en decoradores `@Transform`:
|
|
51
|
-
|
|
52
|
-
| Utilidad | Función |
|
|
53
|
-
|---|---|
|
|
54
|
-
| `trimAndUpperCaseString` | `.trim().toUpperCase()` — la más usada |
|
|
55
|
-
| `smartDateTransformer` | Transforma strings a Date de forma segura |
|
|
56
|
-
| `convertStringsToDates` | Convierte strings ISO a Date en objetos |
|
|
57
|
-
| `convertTypeNumber` | Fuerza conversión a número |
|
|
58
|
-
| `forceString` | Fuerza conversión a string |
|
|
59
|
-
| `transformToDateIfEmpty` | Date con fallback si vacío |
|
|
60
|
-
| `enumToArray` | Convierte enum a array |
|
|
61
|
-
| `entity_generator` | Genera instancias de entidad con defaults |
|
|
62
|
-
| `entity_generator_under_hyphen` | Variante con naming hyphen |
|
|
63
|
-
| `validarYFormatearDatos` | Valida y formatea datos |
|
|
64
|
-
| `validateArrayBody` | Valida arrays en body |
|
|
65
|
-
|
|
66
|
-
## Path aliases
|
|
67
|
-
|
|
68
|
-
```ts
|
|
69
|
-
import { ... } from '@shared-dto/nombre-dto' // src/shared/dto/
|
|
70
|
-
import { ... } from '@shared-types/nombre-type' // src/shared/types/
|
|
71
|
-
import { ... } from '@shared-enums/nombre-enum' // src/shared/enums/
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
## Regla
|
|
75
|
-
|
|
76
|
-
Antes de crear un DTO nuevo, revisar si ya existe en `shared/dto/`. Si la misma forma de datos aparece en ≥2 módulos distintos, pertenece a `shared/`.
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// Ejecutar tras `npm run build`: npm test
|
|
2
|
-
import { test } from "node:test";
|
|
3
|
-
import assert from "node:assert/strict";
|
|
4
|
-
import {
|
|
5
|
-
validateAndFormatData,
|
|
6
|
-
AltasNVTOrderENTITY,
|
|
7
|
-
ReabrirAltasNVTDTO,
|
|
8
|
-
StateInternalOrderAltasNVT,
|
|
9
|
-
AddressClassification,
|
|
10
|
-
} from "../dist/index.mjs";
|
|
11
|
-
|
|
12
|
-
const ordenSinDocumentacionAdicional = () => {
|
|
13
|
-
const orden = Object.assign({}, new AltasNVTOrderENTITY(), {
|
|
14
|
-
_id: "2f1b8a7e-4c3d-4e5f-9a6b-7c8d9e0f1a2b",
|
|
15
|
-
classification: AddressClassification.UNIFAMILIAR,
|
|
16
|
-
documentation: [],
|
|
17
|
-
mo: [],
|
|
18
|
-
});
|
|
19
|
-
delete orden.documentacion_adicional;
|
|
20
|
-
return orden;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
const reapertura = (overrides) => ({
|
|
24
|
-
numero_de_peticion: "AL04-26036",
|
|
25
|
-
estado_destino: StateInternalOrderAltasNVT.PENDIENTE,
|
|
26
|
-
id_recurso: "",
|
|
27
|
-
motivo: "Cliente volvió a solicitar la visita",
|
|
28
|
-
...overrides,
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
test("AltasNVTOrderENTITY: orden existente sin documentacion_adicional sigue validando", async () => {
|
|
32
|
-
await assert.doesNotReject(validateAndFormatData(ordenSinDocumentacionAdicional(), AltasNVTOrderENTITY));
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
test("AltasNVTOrderENTITY: documentacion_adicional que no es arreglo se rechaza", async () => {
|
|
36
|
-
const orden = { ...ordenSinDocumentacionAdicional(), documentacion_adicional: "x" };
|
|
37
|
-
await assert.rejects(validateAndFormatData(orden, AltasNVTOrderENTITY));
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
test("ReabrirAltasNVTDTO: destino Pendiente no exige id_recurso", async () => {
|
|
41
|
-
await assert.doesNotReject(validateAndFormatData(reapertura(), ReabrirAltasNVTDTO));
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
test("ReabrirAltasNVTDTO: destino Asignado exige id_recurso", async () => {
|
|
45
|
-
const sinRecurso = reapertura({ estado_destino: StateInternalOrderAltasNVT.ASIGNADO });
|
|
46
|
-
const conRecurso = reapertura({ estado_destino: StateInternalOrderAltasNVT.ASIGNADO, id_recurso: "TEC01" });
|
|
47
|
-
await assert.rejects(validateAndFormatData(sinRecurso, ReabrirAltasNVTDTO));
|
|
48
|
-
await assert.doesNotReject(validateAndFormatData(conRecurso, ReabrirAltasNVTDTO));
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
test("ReabrirAltasNVTDTO: motivo de 5 caracteres se rechaza", async () => {
|
|
52
|
-
await assert.rejects(validateAndFormatData(reapertura({ motivo: "corto" }), ReabrirAltasNVTDTO));
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
test("ReabrirAltasNVTDTO: estado destino fuera de Pendiente/Asignado se rechaza", async () => {
|
|
56
|
-
const finalizada = reapertura({ estado_destino: StateInternalOrderAltasNVT.FINALIZADA });
|
|
57
|
-
await assert.rejects(validateAndFormatData(finalizada, ReabrirAltasNVTDTO));
|
|
58
|
-
});
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
// Ejecutar tras `npm run build`: npm test
|
|
2
|
-
import { test } from "node:test";
|
|
3
|
-
import assert from "node:assert/strict";
|
|
4
|
-
import {
|
|
5
|
-
toFechaKey,
|
|
6
|
-
mapAsistenciaToCuadrillaOrden,
|
|
7
|
-
validateAndFormatData,
|
|
8
|
-
CuadrillaBtAlpPluzOrder2DTO,
|
|
9
|
-
EstadoIntegranteCuadrilla,
|
|
10
|
-
OrigenIntegrante,
|
|
11
|
-
AttendanceStatus,
|
|
12
|
-
} from "../dist/index.mjs";
|
|
13
|
-
|
|
14
|
-
test("toFechaKey: 23:30 hora Lima no corre al día siguiente", () => {
|
|
15
|
-
assert.equal(toFechaKey(new Date("2026-10-04T23:30:00-05:00")), "2026-10-04");
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
test("toFechaKey: medianoche UTC es el día anterior en Lima", () => {
|
|
19
|
-
assert.equal(toFechaKey(new Date("2026-10-05T00:00:00Z")), "2026-10-04");
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
test("toFechaKey: fin de mes y fin de año", () => {
|
|
23
|
-
assert.equal(toFechaKey(new Date("2026-11-01T03:00:00Z")), "2026-10-31");
|
|
24
|
-
assert.equal(toFechaKey(new Date("2027-01-01T04:59:59Z")), "2026-12-31");
|
|
25
|
-
});
|
|
26
|
-
|
|
27
|
-
const integrante = (overrides) => ({
|
|
28
|
-
Identificacion: "", Apellidos: "AP", Nombres: "NOM", Cargo: "TECNICO", PesoPersonal: 1, IdRecurso: "",
|
|
29
|
-
EsJefeTitular: false, EsJefe: false, Origen: OrigenIntegrante.TITULAR,
|
|
30
|
-
Estado: EstadoIntegranteCuadrilla.PRESENTE, Motivo: "", Observacion: "",
|
|
31
|
-
...overrides,
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
const asistencia = {
|
|
35
|
-
Cuadrilla: { ID_Cuadrilla: 12, Codigo: "CUA-012", Nombre: "Cuadrilla 12" },
|
|
36
|
-
Integrantes: [
|
|
37
|
-
integrante({ Identificacion: "1", Cargo: "JEFE DE CUADRILLA", EsJefeTitular: true, Estado: EstadoIntegranteCuadrilla.AUSENTE, Motivo: AttendanceStatus.DescansoMedico }),
|
|
38
|
-
integrante({ Identificacion: "2", EsJefe: true, IdRecurso: "R2" }),
|
|
39
|
-
integrante({ Identificacion: "3", Estado: EstadoIntegranteCuadrilla.CEDIDO, CuadrillaDestino: { ID_Cuadrilla: 20, Codigo: "CUA-020", Nombre: "" } }),
|
|
40
|
-
integrante({ Identificacion: "99", Origen: OrigenIntegrante.PRESTADO, CuadrillaOrigen: { ID_Cuadrilla: 7, Codigo: "CUA-007", Nombre: "" } }),
|
|
41
|
-
],
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
test("mapAsistenciaToCuadrillaOrden: excluye AUSENTE y CEDIDO", () => {
|
|
45
|
-
const cuadrilla = mapAsistenciaToCuadrillaOrden(asistencia);
|
|
46
|
-
assert.deepEqual(cuadrilla.map((m) => m.Identificacion), ["2", "99"]);
|
|
47
|
-
assert.ok(cuadrilla.every((m) => m instanceof CuadrillaBtAlpPluzOrder2DTO));
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
test("mapAsistenciaToCuadrillaOrden: marca al suplente", () => {
|
|
51
|
-
const suplente = mapAsistenciaToCuadrillaOrden(asistencia).find((m) => m.Identificacion === "2");
|
|
52
|
-
assert.equal(suplente.EsJefe, true);
|
|
53
|
-
assert.equal(suplente.EsJefeSuplente, true);
|
|
54
|
-
assert.equal(suplente.IdRecurso, "R2");
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
test("mapAsistenciaToCuadrillaOrden: prestado lleva Codigo destino y CodigoCuadrillaOrigen", () => {
|
|
58
|
-
const prestado = mapAsistenciaToCuadrillaOrden(asistencia).find((m) => m.Identificacion === "99");
|
|
59
|
-
assert.equal(prestado.Codigo, "CUA-012");
|
|
60
|
-
assert.equal(prestado.CodigoCuadrillaOrigen, "CUA-007");
|
|
61
|
-
assert.equal(prestado.Origen, OrigenIntegrante.PRESTADO);
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
test("CuadrillaBtAlpPluzOrder2DTO: documento antiguo sin campos nuevos valida", async () => {
|
|
65
|
-
const antiguo = { Codigo: "CUA-1", Identificacion: "1", Apellidos: "A", Nombres: "N", Cargo: "TECNICO", PesoPersonal: 1 };
|
|
66
|
-
await assert.doesNotReject(validateAndFormatData(antiguo, CuadrillaBtAlpPluzOrder2DTO));
|
|
67
|
-
});
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
// Ejecutar tras `npm run build`: npm test
|
|
2
|
-
import { test } from "node:test";
|
|
3
|
-
import assert from "node:assert/strict";
|
|
4
|
-
import { CamposExtraValidacion, entityToMongoJsonSchema, PersonalENTITY } from "../dist/index.mjs";
|
|
5
|
-
|
|
6
|
-
const schema = entityToMongoJsonSchema(PersonalENTITY);
|
|
7
|
-
const props = schema.properties;
|
|
8
|
-
|
|
9
|
-
test("PersonalENTITY: campos raíz con tipo y longitudes", () => {
|
|
10
|
-
assert.deepEqual(props.IdPersonal, { bsonType: "number", minimum: 1 });
|
|
11
|
-
assert.deepEqual(props.Code, { bsonType: "string", minLength: 1, maxLength: 50 });
|
|
12
|
-
assert.deepEqual(props.Identificacion, { bsonType: "string", minLength: 1, maxLength: 41 });
|
|
13
|
-
assert.deepEqual(props.Administrativo, { bsonType: "bool" });
|
|
14
|
-
assert.deepEqual(props.InicioActividadTOA, { bsonType: "date" });
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
test("PersonalENTITY: @IsOptional no es requerido y acepta null", () => {
|
|
18
|
-
assert.ok(!schema.required.includes("ApellidoMaterno"));
|
|
19
|
-
assert.deepEqual(props.ApellidoMaterno, { anyOf: [{ bsonType: "null" }, { bsonType: "string", maxLength: 70 }] });
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
test("PersonalENTITY: DTOs anidados se leen recursivamente", () => {
|
|
23
|
-
assert.deepEqual(props.DatosTrabajo.required, ["Delegacion", "OT", "Code01", "Code02"]);
|
|
24
|
-
assert.deepEqual(props.DatosTrabajo.properties.OT.properties.Name, { bsonType: "string", maxLength: 200 });
|
|
25
|
-
assert.deepEqual(props.Bitacora.items.properties.Usuario.required, ["User", "Apellidos", "Nombre", "Perfil"]);
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
test("PersonalENTITY: arrays con each, minItems y enum", () => {
|
|
29
|
-
assert.deepEqual(props.DatosGenerales.properties.Telefono, { bsonType: "array", items: { bsonType: "string" } });
|
|
30
|
-
assert.equal(props.EmpresasUsuario.minItems, 1);
|
|
31
|
-
assert.ok(props.RecursosPersonal.items.properties.Sistema.enum.includes("TOA_MOVISTAR"));
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
test("PersonalENTITY: @ValidateIf de Email admite vacío o correo", () => {
|
|
35
|
-
const email = props.DatosGenerales.properties.Email;
|
|
36
|
-
assert.deepEqual(email.anyOf[0], { bsonType: "string", maxLength: 0 });
|
|
37
|
-
assert.ok(email.anyOf[1].pattern);
|
|
38
|
-
assert.ok(props.DatosGenerales.required.includes("Email"));
|
|
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
|
-
});
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Ejecutar tras `npm run build`: npm test
|
|
2
|
-
import { test } from "node:test";
|
|
3
|
-
import assert from "node:assert/strict";
|
|
4
|
-
import {
|
|
5
|
-
validateAndFormatData,
|
|
6
|
-
ReplanteoENTITY,
|
|
7
|
-
ReplanteoGomRequestBodyDTO,
|
|
8
|
-
ReplanteoGuardarRequestBodyDTO,
|
|
9
|
-
} from "../dist/index.mjs";
|
|
10
|
-
|
|
11
|
-
const pais = { Codigo: "PE", Nombre: "PERU" };
|
|
12
|
-
const delegacion = { Codigo: "9112", Nombre: "LIMA" };
|
|
13
|
-
const usuario = { Identificacion: "1", Apellidos: "AP", Nombres: "NOM", Fecha: new Date() };
|
|
14
|
-
|
|
15
|
-
const replanteo = (overrides = {}) => ({
|
|
16
|
-
_id: "a7c1b6c2-3d0e-4f9b-9a51-0c2f1d3e4b5a", ID_GOM: 10, GOM: "GOM-10", ID_incidencia: 5,
|
|
17
|
-
Pais: pais, Delegacion: delegacion, Estado: "BORRADOR",
|
|
18
|
-
Foto: { ID_Reserva: 1, ID_ManoObra: 2, Huella: "abc", Fecha: new Date(), Material: [], ManoObra: [] },
|
|
19
|
-
Cambios: { Material: [], ManoObra: [] },
|
|
20
|
-
Adjunto: null, PDF: null, Firma: null,
|
|
21
|
-
UsuarioCreacion: usuario, UsuarioEdicion: usuario,
|
|
22
|
-
...overrides,
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
test("ReplanteoENTITY: borrador sin adjunto, PDF ni firma es válido", async () => {
|
|
26
|
-
await assert.doesNotReject(validateAndFormatData(replanteo(), ReplanteoENTITY));
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
test("ReplanteoENTITY: estado fuera de BORRADOR/FIRMADO se rechaza", async () => {
|
|
30
|
-
await assert.rejects(validateAndFormatData(replanteo({ Estado: "ANULADO" }), ReplanteoENTITY));
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
test("ReplanteoENTITY: firmado con usuario de firma es válido", async () => {
|
|
34
|
-
await assert.doesNotReject(validateAndFormatData(replanteo({ Estado: "FIRMADO", Firma: usuario }), ReplanteoENTITY));
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
test("ReplanteoGomRequestBodyDTO: ID_GOM 0 se rechaza", async () => {
|
|
38
|
-
await assert.rejects(validateAndFormatData({ ID_GOM: 0 }, ReplanteoGomRequestBodyDTO));
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
test("ReplanteoGuardarRequestBodyDTO: cambios vacíos son válidos", async () => {
|
|
42
|
-
const body = { ID_GOM: 10, Cambios: { Material: [], ManoObra: [] } };
|
|
43
|
-
await assert.doesNotReject(validateAndFormatData(body, ReplanteoGuardarRequestBodyDTO));
|
|
44
|
-
});
|