fiscalia_bo-nest-helpers 0.2.65 → 0.2.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/rrhh-lite/index.d.ts +1 -0
- package/dist/rrhh-lite/index.js +5 -0
- package/dist/rrhh-lite/index.js.map +1 -0
- package/dist/rrhh-lite/types.d.ts +117 -0
- package/dist/rrhh-lite/types.js +3 -0
- package/dist/rrhh-lite/types.js.map +1 -0
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
@@ -20,6 +20,7 @@ export * from './helpers/request.helper';
|
|
20
20
|
export * as MsPersonas from './ms-personas';
|
21
21
|
export * as MsWhatsApp from './ms-whatsapp';
|
22
22
|
export * as MsTelegram from './ms-telegram';
|
23
|
+
export * as RrhhLite from './rrhh-lite';
|
23
24
|
export * as MsPdf from './ms-pdf';
|
24
25
|
export * as MsFiles from './ms-files';
|
25
26
|
export * as MsAgetic from './ms-agetic';
|
package/dist/index.js
CHANGED
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
exports.SeguridadConvenio = exports.ExcelJS = exports.MsShortLink = exports.HttpService = exports.Helpers = exports.MsLogs = exports.MsRabbit = exports.RequestRestrict = exports.Dtos = exports.Decorators = exports.CustomValidators = exports.MsMarcaAgua = exports.MsAgetic = exports.MsFiles = exports.MsPdf = exports.MsTelegram = exports.MsWhatsApp = exports.MsPersonas = exports.PermissionsGuard = exports.MsSeguridadHttpError = void 0;
|
17
|
+
exports.SeguridadConvenio = exports.ExcelJS = exports.MsShortLink = exports.HttpService = exports.Helpers = exports.MsLogs = exports.MsRabbit = exports.RequestRestrict = exports.Dtos = exports.Decorators = exports.CustomValidators = exports.MsMarcaAgua = exports.MsAgetic = exports.MsFiles = exports.MsPdf = exports.RrhhLite = exports.MsTelegram = exports.MsWhatsApp = exports.MsPersonas = exports.PermissionsGuard = exports.MsSeguridadHttpError = void 0;
|
18
18
|
__exportStar(require("./ms-redis/ms-redis.module"), exports);
|
19
19
|
__exportStar(require("./ms-redis/ms-redis.service"), exports);
|
20
20
|
__exportStar(require("./ms-redis/datapass.interceptor"), exports);
|
@@ -39,6 +39,7 @@ __exportStar(require("./helpers/request.helper"), exports);
|
|
39
39
|
exports.MsPersonas = require("./ms-personas");
|
40
40
|
exports.MsWhatsApp = require("./ms-whatsapp");
|
41
41
|
exports.MsTelegram = require("./ms-telegram");
|
42
|
+
exports.RrhhLite = require("./rrhh-lite");
|
42
43
|
exports.MsPdf = require("./ms-pdf");
|
43
44
|
exports.MsFiles = require("./ms-files");
|
44
45
|
exports.MsAgetic = require("./ms-agetic");
|
@@ -0,0 +1 @@
|
|
1
|
+
export * as Types from './types';
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rrhh-lite/index.ts"],"names":[],"mappings":";;;AAAA,mCAAiC"}
|
@@ -0,0 +1,117 @@
|
|
1
|
+
export interface IFuncionarioAsistencias {
|
2
|
+
fecha: string;
|
3
|
+
funcionarioId: number;
|
4
|
+
departamentoId?: number;
|
5
|
+
municipioId?: number;
|
6
|
+
oficinaId?: number;
|
7
|
+
biometricoId?: number;
|
8
|
+
}
|
9
|
+
export interface RRHHFuncionarioData {
|
10
|
+
id: number;
|
11
|
+
funcionarioId: number;
|
12
|
+
personaId: number;
|
13
|
+
divisionId: number;
|
14
|
+
oficinaId: number;
|
15
|
+
entidadId: number;
|
16
|
+
institucionId: number;
|
17
|
+
unidadOrganizacionalId: number;
|
18
|
+
cargoId: number;
|
19
|
+
esResponsableUnidad: number;
|
20
|
+
divisionNombre: string;
|
21
|
+
oficinaNombre: string;
|
22
|
+
entidadNombre: string;
|
23
|
+
institucionNombre: string;
|
24
|
+
unidadOrganizacionalNombre: string;
|
25
|
+
municipioNombre?: string;
|
26
|
+
cargoNombre?: string;
|
27
|
+
nombreCompleto: string;
|
28
|
+
numeroDocumento: string;
|
29
|
+
NumeroDocumento?: string;
|
30
|
+
url?: string;
|
31
|
+
urlfoto?: string;
|
32
|
+
fotoRuta?: string;
|
33
|
+
fotoMsFileId: string;
|
34
|
+
celular: number;
|
35
|
+
fechaNacimiento: string;
|
36
|
+
nacimiento?: string;
|
37
|
+
direccion: string;
|
38
|
+
email: string;
|
39
|
+
sexo: string;
|
40
|
+
fechaIngresoInstitucion: string;
|
41
|
+
aniosAntiguedad: number;
|
42
|
+
idFirma?: string;
|
43
|
+
siglaProfesion?: string;
|
44
|
+
institucionLogoRuta?: string;
|
45
|
+
perfilPersonaId: number;
|
46
|
+
usuarioId?: number;
|
47
|
+
whatsapp: number;
|
48
|
+
telegramChatId?: number;
|
49
|
+
}
|
50
|
+
export interface RRHHOficinaUbicacion {
|
51
|
+
oficina: string;
|
52
|
+
entidadId: number;
|
53
|
+
entidad: string;
|
54
|
+
institucionId: number;
|
55
|
+
institucion: string;
|
56
|
+
municipioId: number;
|
57
|
+
municipio: string;
|
58
|
+
provinciaId: number;
|
59
|
+
provincia: string;
|
60
|
+
departamentoId: number;
|
61
|
+
departamento: string;
|
62
|
+
}
|
63
|
+
export interface RrhhFeriadoType {
|
64
|
+
id: number;
|
65
|
+
estado: number;
|
66
|
+
detalle: string;
|
67
|
+
fechaFeriado: string;
|
68
|
+
departamentoId?: number;
|
69
|
+
departamento?: string;
|
70
|
+
municipioId?: number;
|
71
|
+
municipio?: string;
|
72
|
+
esDepartamento: string;
|
73
|
+
esMunicpio: string;
|
74
|
+
esNacional: string;
|
75
|
+
}
|
76
|
+
export interface RrhhAsistenciaType {
|
77
|
+
asistenciaId: number;
|
78
|
+
asistenciaFechaEntrada: string;
|
79
|
+
asistenciaFechaSalida: string;
|
80
|
+
asistenciaTipoTurno: number;
|
81
|
+
asistenciaTipoTurnoNombre: string;
|
82
|
+
funcionarioId: number;
|
83
|
+
tipoHorarioId: number;
|
84
|
+
tipoMarcacion: number;
|
85
|
+
tipoMarcacionNombre: string;
|
86
|
+
toleranciaId: number;
|
87
|
+
horaMarcacionEntrada?: string;
|
88
|
+
marcacionEntradaBiometricoId: string;
|
89
|
+
horaMarcacionSalida?: string;
|
90
|
+
marcacionSalidaBiometricoId: string;
|
91
|
+
funcionarioPermisoIdDias: number;
|
92
|
+
tipoPermisoId: number;
|
93
|
+
esVacacion: number | string;
|
94
|
+
funcionarioPermisoIdHoras: number;
|
95
|
+
justificacionId?: number;
|
96
|
+
minutosAtraso: number;
|
97
|
+
timeAtraso?: any;
|
98
|
+
asistenciaPadre: number;
|
99
|
+
personaId: number;
|
100
|
+
divisionId: number;
|
101
|
+
nombreCompleto: string;
|
102
|
+
cargos: number;
|
103
|
+
oficinaId: number;
|
104
|
+
celular: number;
|
105
|
+
email: string;
|
106
|
+
municipioId: number;
|
107
|
+
departamentoId: number;
|
108
|
+
numeroDocumento: string;
|
109
|
+
tipoTurno: number;
|
110
|
+
tipoHorarioHoraEntrada: string;
|
111
|
+
tipoHorarioHoraSalida: string;
|
112
|
+
tipoHorarioHoraEntradaDesde: string;
|
113
|
+
tipoHorarioHoraEntradaHasta: string;
|
114
|
+
tipoHorarioHoraSalidaDesde: string;
|
115
|
+
tipoHorarioHoraSalidaHasta: string;
|
116
|
+
tipoHorarioTolerancia: number;
|
117
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/rrhh-lite/types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "fiscalia_bo-nest-helpers",
|
3
|
-
"version": "0.2.
|
3
|
+
"version": "0.2.67",
|
4
4
|
"description": "Helpers y servicios para NestJS",
|
5
5
|
"author": "UTIC - Ministerio Público",
|
6
6
|
"contact": {
|
@@ -17,6 +17,7 @@
|
|
17
17
|
"dist/ms-marca-agua/*",
|
18
18
|
"dist/ms-whatsapp/*",
|
19
19
|
"dist/ms-telegram/*",
|
20
|
+
"dist/rrhh-lite/*",
|
20
21
|
"dist/ms-agetic/*",
|
21
22
|
"dist/ms-pdf/*",
|
22
23
|
"dist/ms-rabbit/*",
|
@@ -65,7 +66,7 @@
|
|
65
66
|
},
|
66
67
|
"peerDependencies": {
|
67
68
|
"@grpc/grpc-js": "^1.8.14",
|
68
|
-
"@nestjs/axios": "^
|
69
|
+
"@nestjs/axios": "^3.0.2",
|
69
70
|
"@nestjs/microservices": "^9.3.12",
|
70
71
|
"@nestjs/throttler": "^4.0.0",
|
71
72
|
"amqplib": "^0.10.3",
|