fiscalia_bo-nest-helpers 0.1.39 → 0.1.41

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 CHANGED
@@ -24,3 +24,4 @@ export * as Dtos from './dto';
24
24
  export * as RequestRestrict from './request-restrict';
25
25
  export * as MsRabbit from './ms-rabbit';
26
26
  export * as Helpers from './helpers';
27
+ export * as HttpService from './http-service';
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.Helpers = exports.MsRabbit = exports.RequestRestrict = exports.Dtos = exports.Decorators = exports.CustomValidators = exports.MsSkylogs = exports.MsFiles = exports.MsPdf = exports.MsWhatsApp = exports.MsPersonas = exports.PermissionsGuard = exports.MsSeguridadHttpError = void 0;
17
+ exports.HttpService = exports.Helpers = exports.MsRabbit = exports.RequestRestrict = exports.Dtos = exports.Decorators = exports.CustomValidators = exports.MsSkylogs = exports.MsFiles = exports.MsPdf = 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);
@@ -43,4 +43,5 @@ exports.Dtos = require("./dto");
43
43
  exports.RequestRestrict = require("./request-restrict");
44
44
  exports.MsRabbit = require("./ms-rabbit");
45
45
  exports.Helpers = require("./helpers");
46
+ exports.HttpService = require("./http-service");
46
47
  //# sourceMappingURL=index.js.map
@@ -118,6 +118,9 @@ export interface LoginResponse_Usuario {
118
118
  nombre: string;
119
119
  paterno: string;
120
120
  materno: string;
121
+ perfilPersonaId: number;
122
+ personaId: number;
123
+ msPersonaId: number;
121
124
  nombreCompleto: string;
122
125
  nacimiento: string;
123
126
  sexo: string;
@@ -134,7 +137,13 @@ export interface LoginResponse_Usuario {
134
137
  notificacionDefault: string;
135
138
  }
136
139
  export interface LoginResponse_Funcionario {
140
+ funcionarioId: number;
137
141
  estado: number;
142
+ latitud?: number | undefined;
143
+ longitud?: number | undefined;
144
+ divisiones: number;
145
+ organizaciones: number;
146
+ nombreCompleto: string;
138
147
  fechaIngresoInstitucion: string;
139
148
  aniosAntiguedad: number;
140
149
  idFirma: number;
@@ -142,6 +151,14 @@ export interface LoginResponse_Funcionario {
142
151
  conInamovilidad: number;
143
152
  siglaProfesion: string;
144
153
  usuarioId: number;
154
+ division: string;
155
+ cargo: string;
156
+ cargoId: number;
157
+ divisionId: number;
158
+ oficina: string;
159
+ oficinaId: number;
160
+ municipio: string;
161
+ departamentoId: number;
145
162
  }
146
163
  export interface LoginResponse_App {
147
164
  nombre: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Seguridad.pb.js","sourceRoot":"","sources":["../../src/ms-seguridad/Seguridad.pb.ts"],"names":[],"mappings":";;;AACA,yDAAqE;AAGxD,QAAA,eAAe,GAAG,qBAAqB,CAAC;AAuLxC,QAAA,iCAAiC,GAAG,qBAAqB,CAAC;AAyDvE,SAAgB,oCAAoC;IAClD,OAAO,UAAU,WAAqB;QACpC,MAAM,WAAW,GAAa;YAC5B,iBAAiB;YACjB,cAAc;YACd,YAAY;YACZ,OAAO;YACP,kBAAkB;YAClB,QAAQ;YACR,iBAAiB;YACjB,YAAY;SACb,CAAC;QACF,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE;YAChC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,IAAA,0BAAU,EAAC,qBAAqB,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC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xF,IAAA,gCAAgB,EAAC,qBAAqB,EAAE,MAAM,CAAC,CAC7C,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAC7B,MAAM,EACN,UAAU,CACX,CAAC;SACH;IACH,CAAC,CAAC;AACJ,CAAC;AA1BD,oFA0BC;AAEY,QAAA,iCAAiC,GAAG,qBAAqB,CAAC"}
@@ -159,31 +159,48 @@ message LoginResponse {
159
159
  string nombre = 2;
160
160
  string paterno = 3;
161
161
  string materno = 4;
162
- string nombreCompleto = 5;
163
- string nacimiento = 6;
164
- string sexo = 7;
165
- string direccion = 8;
166
- uint32 celular = 9;
167
- string email = 10;
168
- string nacionalidad = 11;
169
- string profesion = 12;
170
- string foto = 13;
171
- string fotoRuta = 14;
172
- int32 whatsapp = 15;
173
- int32 telegram = 16;
174
- int32 emailValidado = 17;
175
- string notificacionDefault = 18;
162
+ int32 perfilPersonaId = 5;
163
+ int32 personaId = 6;
164
+ int32 msPersonaId = 7;
165
+ string nombreCompleto = 8;
166
+ string nacimiento = 9;
167
+ string sexo = 10;
168
+ string direccion = 11;
169
+ uint32 celular = 12;
170
+ string email = 13;
171
+ string nacionalidad = 14;
172
+ string profesion = 15;
173
+ string foto = 16;
174
+ string fotoRuta = 17;
175
+ int32 whatsapp = 18;
176
+ int32 telegram = 19;
177
+ int32 emailValidado = 20;
178
+ string notificacionDefault = 21;
176
179
  }
177
180
 
178
181
  message Funcionario {
179
- int32 estado = 1;
180
- string fechaIngresoInstitucion = 2;
181
- int32 aniosAntiguedad = 3;
182
- int32 idFirma = 4;
183
- int32 sinControlAsistencia = 5;
184
- int32 conInamovilidad = 6;
185
- string siglaProfesion = 7;
186
- int32 usuarioId = 8;
182
+ int32 funcionarioId = 1;
183
+ int32 estado = 2;
184
+ optional float latitud = 3;
185
+ optional float longitud = 4;
186
+ int32 divisiones = 5;
187
+ int32 organizaciones = 6;
188
+ string nombreCompleto = 7;
189
+ string fechaIngresoInstitucion = 8;
190
+ int32 aniosAntiguedad = 9;
191
+ int32 idFirma = 10;
192
+ int32 sinControlAsistencia = 11;
193
+ int32 conInamovilidad = 12;
194
+ string siglaProfesion = 13;
195
+ int32 usuarioId = 14;
196
+ string division = 15;
197
+ string cargo = 16;
198
+ int32 cargoId = 17;
199
+ int32 divisionId = 18;
200
+ string oficina = 19;
201
+ int32 oficinaId = 20;
202
+ string municipio = 21;
203
+ int32 departamentoId = 22;
187
204
  }
188
205
 
189
206
  message App {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fiscalia_bo-nest-helpers",
3
- "version": "0.1.39",
3
+ "version": "0.1.41",
4
4
  "description": "Helpers y servicios para NestJS",
5
5
  "author": "UTIC - Ministerio Público",
6
6
  "contact": {