fge-auth-component 5.3.38 → 5.3.40
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/components/2Fa/Fge2FActivator.vue.d.ts.map +1 -1
- package/dist/components/2Fa/Fge2FConfirm.vue.d.ts.map +1 -1
- package/dist/components/ConfirmationDialog.vue.d.ts.map +1 -1
- package/dist/components/FgeButtonCounter.vue.d.ts.map +1 -1
- package/dist/components/FgeDispositivos.vue.d.ts.map +1 -1
- package/dist/components/FgeEnviarCodigo.vue.d.ts.map +1 -1
- package/dist/components/FgeErrorMessage.vue.d.ts.map +1 -1
- package/dist/components/FgeFooter.vue.d.ts.map +1 -1
- package/dist/components/FgeHeader.vue.d.ts.map +1 -1
- package/dist/components/FgeLoadingComponent.vue.d.ts.map +1 -1
- package/dist/components/FgeLogin.vue.d.ts.map +1 -1
- package/dist/components/FgeMenuItems.vue.d.ts.map +1 -1
- package/dist/components/FgeOtpInput.vue.d.ts.map +1 -1
- package/dist/components/FgePassword.vue.d.ts.map +1 -1
- package/dist/components/FgePerfil.vue.d.ts.map +1 -1
- package/dist/components/FgePerfilHeader.vue.d.ts.map +1 -1
- package/dist/components/FgePerfilSidebar.vue.d.ts.map +1 -1
- package/dist/components/FgeRecuperarPassword.vue.d.ts.map +1 -1
- package/dist/components/FgeRegistrarPage.vue.d.ts.map +1 -1
- package/dist/components/FgeSesiones.vue.d.ts.map +1 -1
- package/dist/components/FgeStepComponent.vue.d.ts.map +1 -1
- package/dist/components/ObservedMediumDialog.vue.d.ts.map +1 -1
- package/dist/components/PasswordDialog.vue.d.ts.map +1 -1
- package/dist/components/PrincipalLoginComp.vue.d.ts.map +1 -1
- package/dist/components/Sidebar.vue.d.ts.map +1 -1
- package/dist/components/TelegramAyudaModal.vue.d.ts.map +1 -1
- package/dist/components/TelegramDialog.vue.d.ts.map +1 -1
- package/dist/components/UpdateImageDialog.vue.d.ts.map +1 -1
- package/dist/components/dialogs/Message2faDialog.vue.d.ts.map +1 -1
- package/dist/components/registro/FgeIdentityCapture.vue.d.ts.map +1 -1
- package/dist/components/registro/FgeRegistroOtpOverlay.vue.d.ts.map +1 -1
- package/dist/components/registro/RegistroKycProgress.vue.d.ts.map +1 -1
- package/dist/components/registro/RegistroMediosVerificacion.vue.d.ts.map +1 -1
- package/dist/components/registro/RegistroNav.vue.d.ts.map +1 -1
- package/dist/components/registro/RegistroSelfieGuiaModal.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/CheckMarkIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/DefaultUserIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/ErrorIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/EscudoIconBlack.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/ExclamationIcon.vue.d.ts.map +1 -1
- package/dist/components/svgIcons/LoaderIcon.vue.d.ts.map +1 -1
- package/dist/fge-auth-component.es.js +18058 -16533
- package/dist/fge-auth-component.umd.js +28 -21
- package/dist/main.d.ts +554 -66
- package/package.json +8 -2
package/dist/main.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
2
|
import type { AxiosInstance } from 'axios';
|
|
3
3
|
import type { ComponentOptionsMixin } from 'vue';
|
|
4
|
+
import type { ComponentProvideOptions } from 'vue';
|
|
4
5
|
import type { ComputedRef } from 'vue';
|
|
5
6
|
import type { DefineComponent } from 'vue';
|
|
6
7
|
import type { ExtractPropTypes } from 'vue';
|
|
@@ -44,6 +45,8 @@ export declare type ConfigOptions = {
|
|
|
44
45
|
isRegister?: boolean;
|
|
45
46
|
aplicacion: string;
|
|
46
47
|
baseUrlAuthNv?: string;
|
|
48
|
+
/** URL de ms-auth para SSE, independiente del proveedor de login. */
|
|
49
|
+
sessionEventsUrl?: string;
|
|
47
50
|
rrhhUrl: string;
|
|
48
51
|
telegramBot: string;
|
|
49
52
|
systemVersion?: string;
|
|
@@ -66,7 +69,7 @@ declare const _default: {
|
|
|
66
69
|
};
|
|
67
70
|
export default _default;
|
|
68
71
|
|
|
69
|
-
export declare const FgeAuthMenuComponent: DefineComponent<{
|
|
72
|
+
export declare const FgeAuthMenuComponent: DefineComponent<ExtractPropTypes<{
|
|
70
73
|
showChangeMode: {
|
|
71
74
|
type: BooleanConstructor;
|
|
72
75
|
default: boolean;
|
|
@@ -75,7 +78,7 @@ export declare const FgeAuthMenuComponent: DefineComponent<{
|
|
|
75
78
|
type: BooleanConstructor;
|
|
76
79
|
default: boolean;
|
|
77
80
|
};
|
|
78
|
-
}
|
|
81
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("onLogout" | "onChangeMode")[], "onLogout" | "onChangeMode", PublicProps, Readonly<ExtractPropTypes<{
|
|
79
82
|
showChangeMode: {
|
|
80
83
|
type: BooleanConstructor;
|
|
81
84
|
default: boolean;
|
|
@@ -84,20 +87,49 @@ export declare const FgeAuthMenuComponent: DefineComponent<{
|
|
|
84
87
|
type: BooleanConstructor;
|
|
85
88
|
default: boolean;
|
|
86
89
|
};
|
|
87
|
-
}>> & {
|
|
90
|
+
}>> & Readonly<{
|
|
88
91
|
onOnLogout?: ((...args: any[]) => any) | undefined;
|
|
89
92
|
onOnChangeMode?: ((...args: any[]) => any) | undefined;
|
|
90
|
-
}
|
|
93
|
+
}>, {
|
|
91
94
|
showChangeMode: boolean;
|
|
92
95
|
isDarkMode: boolean;
|
|
93
|
-
}, {}>;
|
|
96
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
94
97
|
|
|
95
|
-
export declare const FgeLoginComponent: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("onLogin" | "onLoginError")[], "onLogin" | "onLoginError", PublicProps, Readonly<
|
|
98
|
+
export declare const FgeLoginComponent: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("onLogin" | "onLoginError")[], "onLogin" | "onLoginError", PublicProps, Readonly<{}> & Readonly<{
|
|
96
99
|
onOnLogin?: ((...args: any[]) => any) | undefined;
|
|
97
100
|
onOnLoginError?: ((...args: any[]) => any) | undefined;
|
|
98
|
-
}, {}, {}>;
|
|
101
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
99
102
|
|
|
100
|
-
export declare const FgePerfilSidebar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
103
|
+
export declare const FgePerfilSidebar: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
104
|
+
|
|
105
|
+
declare interface Funcionario extends PerfilFuncionario {
|
|
106
|
+
funcionarioId: number;
|
|
107
|
+
estado?: number;
|
|
108
|
+
latitud?: number;
|
|
109
|
+
longitud?: number;
|
|
110
|
+
divisiones?: number;
|
|
111
|
+
organizaciones?: number;
|
|
112
|
+
nombreCompleto: string;
|
|
113
|
+
fechaIngresoInstitucion: string;
|
|
114
|
+
aniosAntiguedad: number;
|
|
115
|
+
idFirma?: number;
|
|
116
|
+
sinControlAsistencia: number;
|
|
117
|
+
conInamovilidad: number;
|
|
118
|
+
usuarioId: number;
|
|
119
|
+
division: string;
|
|
120
|
+
cargo: string;
|
|
121
|
+
cargoId: number;
|
|
122
|
+
divisionId: number;
|
|
123
|
+
oficinaId: number;
|
|
124
|
+
municipio: string;
|
|
125
|
+
municipioId: number;
|
|
126
|
+
entidad: string;
|
|
127
|
+
entidadId: number;
|
|
128
|
+
institucionId: number;
|
|
129
|
+
institucion: string;
|
|
130
|
+
departamento: string;
|
|
131
|
+
departamentoId: number;
|
|
132
|
+
}
|
|
101
133
|
|
|
102
134
|
export declare function getErrorRequestConfig(error: unknown): InternalAxiosRequestConfig | undefined;
|
|
103
135
|
|
|
@@ -124,6 +156,32 @@ export declare class MissingRefreshTokenError extends Error {
|
|
|
124
156
|
constructor(message?: string);
|
|
125
157
|
}
|
|
126
158
|
|
|
159
|
+
declare interface Oficina {
|
|
160
|
+
nombre: string;
|
|
161
|
+
direccion: string;
|
|
162
|
+
telefono: string;
|
|
163
|
+
fax: string;
|
|
164
|
+
latitud: string;
|
|
165
|
+
longitud: string;
|
|
166
|
+
id: 1;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
declare interface PerfilFuncionario {
|
|
170
|
+
id: number;
|
|
171
|
+
institucionNombre: string;
|
|
172
|
+
entidadNombre: string;
|
|
173
|
+
divisionNombre: string;
|
|
174
|
+
unidadOrganizacionalNombre: string;
|
|
175
|
+
oficinaNombre: string;
|
|
176
|
+
oficina: Oficina;
|
|
177
|
+
cargoNombre: string;
|
|
178
|
+
esMaeDepartamental: number;
|
|
179
|
+
esResponsableHelpDesk: number;
|
|
180
|
+
esResponsableRrhh: number;
|
|
181
|
+
esResponsableUnai: number;
|
|
182
|
+
esResponsableUnidad: number;
|
|
183
|
+
}
|
|
184
|
+
|
|
127
185
|
declare type RegistroPendienteLoginState = {
|
|
128
186
|
completitudToken: string;
|
|
129
187
|
observacion?: {
|
|
@@ -151,22 +209,23 @@ declare type ShowPage = 'login' | 'registrar' | 'recuperar-password';
|
|
|
151
209
|
declare type TipoEvidencia = 'anverso' | 'reverso' | 'selfie';
|
|
152
210
|
|
|
153
211
|
export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _UnwrapAll<Pick<{
|
|
154
|
-
id: Ref<string>;
|
|
155
|
-
currentPage: Ref<ShowPage>;
|
|
156
|
-
binnacleId: Ref<string | null>;
|
|
157
|
-
apiBaseURL: Ref<string>;
|
|
158
|
-
isRegister: Ref<boolean>;
|
|
159
|
-
apiBaseURLAuthNv: Ref<string>;
|
|
212
|
+
id: Ref<string, string>;
|
|
213
|
+
currentPage: Ref<ShowPage, ShowPage>;
|
|
214
|
+
binnacleId: Ref<string | null, string | null>;
|
|
215
|
+
apiBaseURL: Ref<string, string>;
|
|
216
|
+
isRegister: Ref<boolean, boolean>;
|
|
217
|
+
apiBaseURLAuthNv: Ref<string, string>;
|
|
218
|
+
sessionEventsUrl: Ref<string, string>;
|
|
160
219
|
usaAuthNv: ComputedRef<boolean>;
|
|
161
220
|
usaAuthNvRegistro: ComputedRef<boolean>;
|
|
162
221
|
usaAuthNvEnLogin: ComputedRef<boolean>;
|
|
163
|
-
apiWebSocketURL: Ref<string>;
|
|
164
|
-
webSocketToken: Ref<string>;
|
|
165
|
-
deviceId: Ref<string>;
|
|
166
|
-
aplicacion: Ref<string>;
|
|
167
|
-
enableChangePassword: Ref<boolean>;
|
|
168
|
-
enableForceChangePwd: Ref<boolean>;
|
|
169
|
-
defaultRedirectPath: Ref<string>;
|
|
222
|
+
apiWebSocketURL: Ref<string, string>;
|
|
223
|
+
webSocketToken: Ref<string, string>;
|
|
224
|
+
deviceId: Ref<string, string>;
|
|
225
|
+
aplicacion: Ref<string, string>;
|
|
226
|
+
enableChangePassword: Ref<boolean, boolean>;
|
|
227
|
+
enableForceChangePwd: Ref<boolean, boolean>;
|
|
228
|
+
defaultRedirectPath: Ref<string, string>;
|
|
170
229
|
userState: Ref<{
|
|
171
230
|
token?: string | undefined;
|
|
172
231
|
refreshToken?: string | undefined;
|
|
@@ -277,10 +336,120 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
277
336
|
default: boolean;
|
|
278
337
|
observado?: boolean | undefined;
|
|
279
338
|
}[] | undefined;
|
|
339
|
+
}, Partial<UserInterface> | {
|
|
340
|
+
token?: string | undefined;
|
|
341
|
+
refreshToken?: string | undefined;
|
|
342
|
+
fechaCambioPassword?: string | undefined;
|
|
343
|
+
diasVidaPassword?: number | null | undefined;
|
|
344
|
+
cambiarPassword?: boolean | undefined;
|
|
345
|
+
forzarCambioPassword?: boolean | undefined;
|
|
346
|
+
forzarActivar2FA?: boolean | undefined;
|
|
347
|
+
user?: {
|
|
348
|
+
id: number;
|
|
349
|
+
ci: string;
|
|
350
|
+
nombre: string;
|
|
351
|
+
paterno?: string | undefined;
|
|
352
|
+
materno?: string | undefined;
|
|
353
|
+
perfilPersonaId: number;
|
|
354
|
+
personaId: number;
|
|
355
|
+
msPersonaId: number;
|
|
356
|
+
nacimiento: string;
|
|
357
|
+
sexo: string;
|
|
358
|
+
direccion: string;
|
|
359
|
+
fotoUrl?: string | undefined;
|
|
360
|
+
celular: number;
|
|
361
|
+
email: string;
|
|
362
|
+
nacionalidad: string;
|
|
363
|
+
profesion: string;
|
|
364
|
+
foto: string;
|
|
365
|
+
fotoRuta: string;
|
|
366
|
+
whatsapp?: number | undefined;
|
|
367
|
+
telegram?: number | undefined;
|
|
368
|
+
telegramObservado?: boolean | undefined;
|
|
369
|
+
mediosObservados?: number[] | undefined;
|
|
370
|
+
sms?: number | boolean | undefined;
|
|
371
|
+
emailValidado?: number | undefined;
|
|
372
|
+
usuarioMediosVerificados?: {
|
|
373
|
+
medio: number;
|
|
374
|
+
valor: string;
|
|
375
|
+
default: boolean;
|
|
376
|
+
observado?: boolean | undefined;
|
|
377
|
+
}[] | undefined;
|
|
378
|
+
dobleAutenticacion?: number | undefined;
|
|
379
|
+
notificacionDefault?: string | undefined;
|
|
380
|
+
nombreCompleto: string;
|
|
381
|
+
ciudadanoDigital: boolean;
|
|
382
|
+
} | undefined;
|
|
383
|
+
funcionario?: {
|
|
384
|
+
funcionarioId: number;
|
|
385
|
+
estado?: number | undefined;
|
|
386
|
+
latitud?: number | undefined;
|
|
387
|
+
longitud?: number | undefined;
|
|
388
|
+
divisiones?: number | undefined;
|
|
389
|
+
organizaciones?: number | undefined;
|
|
390
|
+
nombreCompleto: string;
|
|
391
|
+
fechaIngresoInstitucion: string;
|
|
392
|
+
aniosAntiguedad: number;
|
|
393
|
+
idFirma?: number | undefined;
|
|
394
|
+
sinControlAsistencia: number;
|
|
395
|
+
conInamovilidad: number;
|
|
396
|
+
usuarioId: number;
|
|
397
|
+
division: string;
|
|
398
|
+
cargo: string;
|
|
399
|
+
cargoId: number;
|
|
400
|
+
divisionId: number;
|
|
401
|
+
oficinaId: number;
|
|
402
|
+
municipio: string;
|
|
403
|
+
municipioId: number;
|
|
404
|
+
entidad: string;
|
|
405
|
+
entidadId: number;
|
|
406
|
+
institucionId: number;
|
|
407
|
+
institucion: string;
|
|
408
|
+
departamento: string;
|
|
409
|
+
departamentoId: number;
|
|
410
|
+
id: number;
|
|
411
|
+
institucionNombre: string;
|
|
412
|
+
entidadNombre: string;
|
|
413
|
+
divisionNombre: string;
|
|
414
|
+
unidadOrganizacionalNombre: string;
|
|
415
|
+
oficinaNombre: string;
|
|
416
|
+
oficina: {
|
|
417
|
+
nombre: string;
|
|
418
|
+
direccion: string;
|
|
419
|
+
telefono: string;
|
|
420
|
+
fax: string;
|
|
421
|
+
latitud: string;
|
|
422
|
+
longitud: string;
|
|
423
|
+
id: 1;
|
|
424
|
+
};
|
|
425
|
+
cargoNombre: string;
|
|
426
|
+
esMaeDepartamental: number;
|
|
427
|
+
esResponsableHelpDesk: number;
|
|
428
|
+
esResponsableRrhh: number;
|
|
429
|
+
esResponsableUnai: number;
|
|
430
|
+
esResponsableUnidad: number;
|
|
431
|
+
} | undefined;
|
|
432
|
+
isAuth?: boolean | undefined;
|
|
433
|
+
isNvAuth?: boolean | undefined;
|
|
434
|
+
binnacleId?: string | undefined;
|
|
435
|
+
apps?: {
|
|
436
|
+
nombre: string;
|
|
437
|
+
codigo: string;
|
|
438
|
+
url: string;
|
|
439
|
+
msFileIdLogo: string;
|
|
440
|
+
}[] | undefined;
|
|
441
|
+
roles?: string[] | undefined;
|
|
442
|
+
permisos?: string[] | undefined;
|
|
443
|
+
usuarioMediosVerificados?: {
|
|
444
|
+
medio: number;
|
|
445
|
+
valor: string;
|
|
446
|
+
default: boolean;
|
|
447
|
+
observado?: boolean | undefined;
|
|
448
|
+
}[] | undefined;
|
|
280
449
|
}>;
|
|
281
|
-
tgBot: Ref<string>;
|
|
282
|
-
systemVer: Ref<string>;
|
|
283
|
-
verificarFunc: Ref<boolean>;
|
|
450
|
+
tgBot: Ref<string, string>;
|
|
451
|
+
systemVer: Ref<string, string>;
|
|
452
|
+
verificarFunc: Ref<boolean, boolean>;
|
|
284
453
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
285
454
|
[key: string]: any;
|
|
286
455
|
} | undefined>;
|
|
@@ -308,6 +477,16 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
308
477
|
faltantes?: TipoEvidencia[] | undefined;
|
|
309
478
|
code?: string | undefined;
|
|
310
479
|
ci?: string | undefined;
|
|
480
|
+
} | null, RegistroPendienteLoginState | {
|
|
481
|
+
completitudToken: string;
|
|
482
|
+
observacion?: {
|
|
483
|
+
motivo?: string | undefined;
|
|
484
|
+
texto?: string | undefined;
|
|
485
|
+
fotos?: TipoEvidencia[] | undefined;
|
|
486
|
+
} | undefined;
|
|
487
|
+
faltantes?: TipoEvidencia[] | undefined;
|
|
488
|
+
code?: string | undefined;
|
|
489
|
+
ci?: string | undefined;
|
|
311
490
|
} | null>;
|
|
312
491
|
goRecuperarCont: () => void;
|
|
313
492
|
onLogin: (values: any) => Promise<{
|
|
@@ -332,11 +511,12 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
332
511
|
usuario: string;
|
|
333
512
|
}) => Promise<void>;
|
|
334
513
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
335
|
-
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, newDefaultRedirectPath, }: {
|
|
514
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newSessionEventsUrl, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, newDefaultRedirectPath, }: {
|
|
336
515
|
newBaseURL: string;
|
|
337
516
|
newAplicacion: string;
|
|
338
517
|
newIsRegister?: boolean | undefined;
|
|
339
518
|
newBaseURLAuthNv?: string | undefined;
|
|
519
|
+
newSessionEventsUrl?: string | undefined;
|
|
340
520
|
newWebSocketUrl?: string | undefined;
|
|
341
521
|
newWebSocketToken?: string | undefined;
|
|
342
522
|
newRrhhUrl: string;
|
|
@@ -370,23 +550,24 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
370
550
|
cargarFotoPerfilDiferida: (options?: {
|
|
371
551
|
forceRefresh?: boolean;
|
|
372
552
|
}) => Promise<void>;
|
|
373
|
-
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "isRegister" | "apiBaseURLAuthNv" | "apiWebSocketURL" | "webSocketToken" | "deviceId" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "defaultRedirectPath" | "userState" | "tgBot" | "systemVer" | "verificarFunc" | "registroPendiente">>, Pick<{
|
|
374
|
-
id: Ref<string>;
|
|
375
|
-
currentPage: Ref<ShowPage>;
|
|
376
|
-
binnacleId: Ref<string | null>;
|
|
377
|
-
apiBaseURL: Ref<string>;
|
|
378
|
-
isRegister: Ref<boolean>;
|
|
379
|
-
apiBaseURLAuthNv: Ref<string>;
|
|
553
|
+
}, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "isRegister" | "apiBaseURLAuthNv" | "sessionEventsUrl" | "apiWebSocketURL" | "webSocketToken" | "deviceId" | "aplicacion" | "enableChangePassword" | "enableForceChangePwd" | "defaultRedirectPath" | "userState" | "tgBot" | "systemVer" | "verificarFunc" | "registroPendiente">>, Pick<{
|
|
554
|
+
id: Ref<string, string>;
|
|
555
|
+
currentPage: Ref<ShowPage, ShowPage>;
|
|
556
|
+
binnacleId: Ref<string | null, string | null>;
|
|
557
|
+
apiBaseURL: Ref<string, string>;
|
|
558
|
+
isRegister: Ref<boolean, boolean>;
|
|
559
|
+
apiBaseURLAuthNv: Ref<string, string>;
|
|
560
|
+
sessionEventsUrl: Ref<string, string>;
|
|
380
561
|
usaAuthNv: ComputedRef<boolean>;
|
|
381
562
|
usaAuthNvRegistro: ComputedRef<boolean>;
|
|
382
563
|
usaAuthNvEnLogin: ComputedRef<boolean>;
|
|
383
|
-
apiWebSocketURL: Ref<string>;
|
|
384
|
-
webSocketToken: Ref<string>;
|
|
385
|
-
deviceId: Ref<string>;
|
|
386
|
-
aplicacion: Ref<string>;
|
|
387
|
-
enableChangePassword: Ref<boolean>;
|
|
388
|
-
enableForceChangePwd: Ref<boolean>;
|
|
389
|
-
defaultRedirectPath: Ref<string>;
|
|
564
|
+
apiWebSocketURL: Ref<string, string>;
|
|
565
|
+
webSocketToken: Ref<string, string>;
|
|
566
|
+
deviceId: Ref<string, string>;
|
|
567
|
+
aplicacion: Ref<string, string>;
|
|
568
|
+
enableChangePassword: Ref<boolean, boolean>;
|
|
569
|
+
enableForceChangePwd: Ref<boolean, boolean>;
|
|
570
|
+
defaultRedirectPath: Ref<string, string>;
|
|
390
571
|
userState: Ref<{
|
|
391
572
|
token?: string | undefined;
|
|
392
573
|
refreshToken?: string | undefined;
|
|
@@ -497,10 +678,120 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
497
678
|
default: boolean;
|
|
498
679
|
observado?: boolean | undefined;
|
|
499
680
|
}[] | undefined;
|
|
681
|
+
}, Partial<UserInterface> | {
|
|
682
|
+
token?: string | undefined;
|
|
683
|
+
refreshToken?: string | undefined;
|
|
684
|
+
fechaCambioPassword?: string | undefined;
|
|
685
|
+
diasVidaPassword?: number | null | undefined;
|
|
686
|
+
cambiarPassword?: boolean | undefined;
|
|
687
|
+
forzarCambioPassword?: boolean | undefined;
|
|
688
|
+
forzarActivar2FA?: boolean | undefined;
|
|
689
|
+
user?: {
|
|
690
|
+
id: number;
|
|
691
|
+
ci: string;
|
|
692
|
+
nombre: string;
|
|
693
|
+
paterno?: string | undefined;
|
|
694
|
+
materno?: string | undefined;
|
|
695
|
+
perfilPersonaId: number;
|
|
696
|
+
personaId: number;
|
|
697
|
+
msPersonaId: number;
|
|
698
|
+
nacimiento: string;
|
|
699
|
+
sexo: string;
|
|
700
|
+
direccion: string;
|
|
701
|
+
fotoUrl?: string | undefined;
|
|
702
|
+
celular: number;
|
|
703
|
+
email: string;
|
|
704
|
+
nacionalidad: string;
|
|
705
|
+
profesion: string;
|
|
706
|
+
foto: string;
|
|
707
|
+
fotoRuta: string;
|
|
708
|
+
whatsapp?: number | undefined;
|
|
709
|
+
telegram?: number | undefined;
|
|
710
|
+
telegramObservado?: boolean | undefined;
|
|
711
|
+
mediosObservados?: number[] | undefined;
|
|
712
|
+
sms?: number | boolean | undefined;
|
|
713
|
+
emailValidado?: number | undefined;
|
|
714
|
+
usuarioMediosVerificados?: {
|
|
715
|
+
medio: number;
|
|
716
|
+
valor: string;
|
|
717
|
+
default: boolean;
|
|
718
|
+
observado?: boolean | undefined;
|
|
719
|
+
}[] | undefined;
|
|
720
|
+
dobleAutenticacion?: number | undefined;
|
|
721
|
+
notificacionDefault?: string | undefined;
|
|
722
|
+
nombreCompleto: string;
|
|
723
|
+
ciudadanoDigital: boolean;
|
|
724
|
+
} | undefined;
|
|
725
|
+
funcionario?: {
|
|
726
|
+
funcionarioId: number;
|
|
727
|
+
estado?: number | undefined;
|
|
728
|
+
latitud?: number | undefined;
|
|
729
|
+
longitud?: number | undefined;
|
|
730
|
+
divisiones?: number | undefined;
|
|
731
|
+
organizaciones?: number | undefined;
|
|
732
|
+
nombreCompleto: string;
|
|
733
|
+
fechaIngresoInstitucion: string;
|
|
734
|
+
aniosAntiguedad: number;
|
|
735
|
+
idFirma?: number | undefined;
|
|
736
|
+
sinControlAsistencia: number;
|
|
737
|
+
conInamovilidad: number;
|
|
738
|
+
usuarioId: number;
|
|
739
|
+
division: string;
|
|
740
|
+
cargo: string;
|
|
741
|
+
cargoId: number;
|
|
742
|
+
divisionId: number;
|
|
743
|
+
oficinaId: number;
|
|
744
|
+
municipio: string;
|
|
745
|
+
municipioId: number;
|
|
746
|
+
entidad: string;
|
|
747
|
+
entidadId: number;
|
|
748
|
+
institucionId: number;
|
|
749
|
+
institucion: string;
|
|
750
|
+
departamento: string;
|
|
751
|
+
departamentoId: number;
|
|
752
|
+
id: number;
|
|
753
|
+
institucionNombre: string;
|
|
754
|
+
entidadNombre: string;
|
|
755
|
+
divisionNombre: string;
|
|
756
|
+
unidadOrganizacionalNombre: string;
|
|
757
|
+
oficinaNombre: string;
|
|
758
|
+
oficina: {
|
|
759
|
+
nombre: string;
|
|
760
|
+
direccion: string;
|
|
761
|
+
telefono: string;
|
|
762
|
+
fax: string;
|
|
763
|
+
latitud: string;
|
|
764
|
+
longitud: string;
|
|
765
|
+
id: 1;
|
|
766
|
+
};
|
|
767
|
+
cargoNombre: string;
|
|
768
|
+
esMaeDepartamental: number;
|
|
769
|
+
esResponsableHelpDesk: number;
|
|
770
|
+
esResponsableRrhh: number;
|
|
771
|
+
esResponsableUnai: number;
|
|
772
|
+
esResponsableUnidad: number;
|
|
773
|
+
} | undefined;
|
|
774
|
+
isAuth?: boolean | undefined;
|
|
775
|
+
isNvAuth?: boolean | undefined;
|
|
776
|
+
binnacleId?: string | undefined;
|
|
777
|
+
apps?: {
|
|
778
|
+
nombre: string;
|
|
779
|
+
codigo: string;
|
|
780
|
+
url: string;
|
|
781
|
+
msFileIdLogo: string;
|
|
782
|
+
}[] | undefined;
|
|
783
|
+
roles?: string[] | undefined;
|
|
784
|
+
permisos?: string[] | undefined;
|
|
785
|
+
usuarioMediosVerificados?: {
|
|
786
|
+
medio: number;
|
|
787
|
+
valor: string;
|
|
788
|
+
default: boolean;
|
|
789
|
+
observado?: boolean | undefined;
|
|
790
|
+
}[] | undefined;
|
|
500
791
|
}>;
|
|
501
|
-
tgBot: Ref<string>;
|
|
502
|
-
systemVer: Ref<string>;
|
|
503
|
-
verificarFunc: Ref<boolean>;
|
|
792
|
+
tgBot: Ref<string, string>;
|
|
793
|
+
systemVer: Ref<string, string>;
|
|
794
|
+
verificarFunc: Ref<boolean, boolean>;
|
|
504
795
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
505
796
|
[key: string]: any;
|
|
506
797
|
} | undefined>;
|
|
@@ -528,6 +819,16 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
528
819
|
faltantes?: TipoEvidencia[] | undefined;
|
|
529
820
|
code?: string | undefined;
|
|
530
821
|
ci?: string | undefined;
|
|
822
|
+
} | null, RegistroPendienteLoginState | {
|
|
823
|
+
completitudToken: string;
|
|
824
|
+
observacion?: {
|
|
825
|
+
motivo?: string | undefined;
|
|
826
|
+
texto?: string | undefined;
|
|
827
|
+
fotos?: TipoEvidencia[] | undefined;
|
|
828
|
+
} | undefined;
|
|
829
|
+
faltantes?: TipoEvidencia[] | undefined;
|
|
830
|
+
code?: string | undefined;
|
|
831
|
+
ci?: string | undefined;
|
|
531
832
|
} | null>;
|
|
532
833
|
goRecuperarCont: () => void;
|
|
533
834
|
onLogin: (values: any) => Promise<{
|
|
@@ -552,11 +853,12 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
552
853
|
usuario: string;
|
|
553
854
|
}) => Promise<void>;
|
|
554
855
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
555
|
-
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, newDefaultRedirectPath, }: {
|
|
856
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newSessionEventsUrl, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, newDefaultRedirectPath, }: {
|
|
556
857
|
newBaseURL: string;
|
|
557
858
|
newAplicacion: string;
|
|
558
859
|
newIsRegister?: boolean | undefined;
|
|
559
860
|
newBaseURLAuthNv?: string | undefined;
|
|
861
|
+
newSessionEventsUrl?: string | undefined;
|
|
560
862
|
newWebSocketUrl?: string | undefined;
|
|
561
863
|
newWebSocketToken?: string | undefined;
|
|
562
864
|
newRrhhUrl: string;
|
|
@@ -591,22 +893,23 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
591
893
|
forceRefresh?: boolean;
|
|
592
894
|
}) => Promise<void>;
|
|
593
895
|
}, "usaAuthNv" | "usaAuthNvRegistro" | "usaAuthNvEnLogin">, Pick<{
|
|
594
|
-
id: Ref<string>;
|
|
595
|
-
currentPage: Ref<ShowPage>;
|
|
596
|
-
binnacleId: Ref<string | null>;
|
|
597
|
-
apiBaseURL: Ref<string>;
|
|
598
|
-
isRegister: Ref<boolean>;
|
|
599
|
-
apiBaseURLAuthNv: Ref<string>;
|
|
896
|
+
id: Ref<string, string>;
|
|
897
|
+
currentPage: Ref<ShowPage, ShowPage>;
|
|
898
|
+
binnacleId: Ref<string | null, string | null>;
|
|
899
|
+
apiBaseURL: Ref<string, string>;
|
|
900
|
+
isRegister: Ref<boolean, boolean>;
|
|
901
|
+
apiBaseURLAuthNv: Ref<string, string>;
|
|
902
|
+
sessionEventsUrl: Ref<string, string>;
|
|
600
903
|
usaAuthNv: ComputedRef<boolean>;
|
|
601
904
|
usaAuthNvRegistro: ComputedRef<boolean>;
|
|
602
905
|
usaAuthNvEnLogin: ComputedRef<boolean>;
|
|
603
|
-
apiWebSocketURL: Ref<string>;
|
|
604
|
-
webSocketToken: Ref<string>;
|
|
605
|
-
deviceId: Ref<string>;
|
|
606
|
-
aplicacion: Ref<string>;
|
|
607
|
-
enableChangePassword: Ref<boolean>;
|
|
608
|
-
enableForceChangePwd: Ref<boolean>;
|
|
609
|
-
defaultRedirectPath: Ref<string>;
|
|
906
|
+
apiWebSocketURL: Ref<string, string>;
|
|
907
|
+
webSocketToken: Ref<string, string>;
|
|
908
|
+
deviceId: Ref<string, string>;
|
|
909
|
+
aplicacion: Ref<string, string>;
|
|
910
|
+
enableChangePassword: Ref<boolean, boolean>;
|
|
911
|
+
enableForceChangePwd: Ref<boolean, boolean>;
|
|
912
|
+
defaultRedirectPath: Ref<string, string>;
|
|
610
913
|
userState: Ref<{
|
|
611
914
|
token?: string | undefined;
|
|
612
915
|
refreshToken?: string | undefined;
|
|
@@ -717,10 +1020,120 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
717
1020
|
default: boolean;
|
|
718
1021
|
observado?: boolean | undefined;
|
|
719
1022
|
}[] | undefined;
|
|
1023
|
+
}, Partial<UserInterface> | {
|
|
1024
|
+
token?: string | undefined;
|
|
1025
|
+
refreshToken?: string | undefined;
|
|
1026
|
+
fechaCambioPassword?: string | undefined;
|
|
1027
|
+
diasVidaPassword?: number | null | undefined;
|
|
1028
|
+
cambiarPassword?: boolean | undefined;
|
|
1029
|
+
forzarCambioPassword?: boolean | undefined;
|
|
1030
|
+
forzarActivar2FA?: boolean | undefined;
|
|
1031
|
+
user?: {
|
|
1032
|
+
id: number;
|
|
1033
|
+
ci: string;
|
|
1034
|
+
nombre: string;
|
|
1035
|
+
paterno?: string | undefined;
|
|
1036
|
+
materno?: string | undefined;
|
|
1037
|
+
perfilPersonaId: number;
|
|
1038
|
+
personaId: number;
|
|
1039
|
+
msPersonaId: number;
|
|
1040
|
+
nacimiento: string;
|
|
1041
|
+
sexo: string;
|
|
1042
|
+
direccion: string;
|
|
1043
|
+
fotoUrl?: string | undefined;
|
|
1044
|
+
celular: number;
|
|
1045
|
+
email: string;
|
|
1046
|
+
nacionalidad: string;
|
|
1047
|
+
profesion: string;
|
|
1048
|
+
foto: string;
|
|
1049
|
+
fotoRuta: string;
|
|
1050
|
+
whatsapp?: number | undefined;
|
|
1051
|
+
telegram?: number | undefined;
|
|
1052
|
+
telegramObservado?: boolean | undefined;
|
|
1053
|
+
mediosObservados?: number[] | undefined;
|
|
1054
|
+
sms?: number | boolean | undefined;
|
|
1055
|
+
emailValidado?: number | undefined;
|
|
1056
|
+
usuarioMediosVerificados?: {
|
|
1057
|
+
medio: number;
|
|
1058
|
+
valor: string;
|
|
1059
|
+
default: boolean;
|
|
1060
|
+
observado?: boolean | undefined;
|
|
1061
|
+
}[] | undefined;
|
|
1062
|
+
dobleAutenticacion?: number | undefined;
|
|
1063
|
+
notificacionDefault?: string | undefined;
|
|
1064
|
+
nombreCompleto: string;
|
|
1065
|
+
ciudadanoDigital: boolean;
|
|
1066
|
+
} | undefined;
|
|
1067
|
+
funcionario?: {
|
|
1068
|
+
funcionarioId: number;
|
|
1069
|
+
estado?: number | undefined;
|
|
1070
|
+
latitud?: number | undefined;
|
|
1071
|
+
longitud?: number | undefined;
|
|
1072
|
+
divisiones?: number | undefined;
|
|
1073
|
+
organizaciones?: number | undefined;
|
|
1074
|
+
nombreCompleto: string;
|
|
1075
|
+
fechaIngresoInstitucion: string;
|
|
1076
|
+
aniosAntiguedad: number;
|
|
1077
|
+
idFirma?: number | undefined;
|
|
1078
|
+
sinControlAsistencia: number;
|
|
1079
|
+
conInamovilidad: number;
|
|
1080
|
+
usuarioId: number;
|
|
1081
|
+
division: string;
|
|
1082
|
+
cargo: string;
|
|
1083
|
+
cargoId: number;
|
|
1084
|
+
divisionId: number;
|
|
1085
|
+
oficinaId: number;
|
|
1086
|
+
municipio: string;
|
|
1087
|
+
municipioId: number;
|
|
1088
|
+
entidad: string;
|
|
1089
|
+
entidadId: number;
|
|
1090
|
+
institucionId: number;
|
|
1091
|
+
institucion: string;
|
|
1092
|
+
departamento: string;
|
|
1093
|
+
departamentoId: number;
|
|
1094
|
+
id: number;
|
|
1095
|
+
institucionNombre: string;
|
|
1096
|
+
entidadNombre: string;
|
|
1097
|
+
divisionNombre: string;
|
|
1098
|
+
unidadOrganizacionalNombre: string;
|
|
1099
|
+
oficinaNombre: string;
|
|
1100
|
+
oficina: {
|
|
1101
|
+
nombre: string;
|
|
1102
|
+
direccion: string;
|
|
1103
|
+
telefono: string;
|
|
1104
|
+
fax: string;
|
|
1105
|
+
latitud: string;
|
|
1106
|
+
longitud: string;
|
|
1107
|
+
id: 1;
|
|
1108
|
+
};
|
|
1109
|
+
cargoNombre: string;
|
|
1110
|
+
esMaeDepartamental: number;
|
|
1111
|
+
esResponsableHelpDesk: number;
|
|
1112
|
+
esResponsableRrhh: number;
|
|
1113
|
+
esResponsableUnai: number;
|
|
1114
|
+
esResponsableUnidad: number;
|
|
1115
|
+
} | undefined;
|
|
1116
|
+
isAuth?: boolean | undefined;
|
|
1117
|
+
isNvAuth?: boolean | undefined;
|
|
1118
|
+
binnacleId?: string | undefined;
|
|
1119
|
+
apps?: {
|
|
1120
|
+
nombre: string;
|
|
1121
|
+
codigo: string;
|
|
1122
|
+
url: string;
|
|
1123
|
+
msFileIdLogo: string;
|
|
1124
|
+
}[] | undefined;
|
|
1125
|
+
roles?: string[] | undefined;
|
|
1126
|
+
permisos?: string[] | undefined;
|
|
1127
|
+
usuarioMediosVerificados?: {
|
|
1128
|
+
medio: number;
|
|
1129
|
+
valor: string;
|
|
1130
|
+
default: boolean;
|
|
1131
|
+
observado?: boolean | undefined;
|
|
1132
|
+
}[] | undefined;
|
|
720
1133
|
}>;
|
|
721
|
-
tgBot: Ref<string>;
|
|
722
|
-
systemVer: Ref<string>;
|
|
723
|
-
verificarFunc: Ref<boolean>;
|
|
1134
|
+
tgBot: Ref<string, string>;
|
|
1135
|
+
systemVer: Ref<string, string>;
|
|
1136
|
+
verificarFunc: Ref<boolean, boolean>;
|
|
724
1137
|
onAutorizarQrNv: (token: string, sessionId: string, usuarioId: number) => Promise<{
|
|
725
1138
|
[key: string]: any;
|
|
726
1139
|
} | undefined>;
|
|
@@ -748,6 +1161,16 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
748
1161
|
faltantes?: TipoEvidencia[] | undefined;
|
|
749
1162
|
code?: string | undefined;
|
|
750
1163
|
ci?: string | undefined;
|
|
1164
|
+
} | null, RegistroPendienteLoginState | {
|
|
1165
|
+
completitudToken: string;
|
|
1166
|
+
observacion?: {
|
|
1167
|
+
motivo?: string | undefined;
|
|
1168
|
+
texto?: string | undefined;
|
|
1169
|
+
fotos?: TipoEvidencia[] | undefined;
|
|
1170
|
+
} | undefined;
|
|
1171
|
+
faltantes?: TipoEvidencia[] | undefined;
|
|
1172
|
+
code?: string | undefined;
|
|
1173
|
+
ci?: string | undefined;
|
|
751
1174
|
} | null>;
|
|
752
1175
|
goRecuperarCont: () => void;
|
|
753
1176
|
onLogin: (values: any) => Promise<{
|
|
@@ -772,11 +1195,12 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
772
1195
|
usuario: string;
|
|
773
1196
|
}) => Promise<void>;
|
|
774
1197
|
onLoginCiudadania: (values: any) => Promise<void>;
|
|
775
|
-
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, newDefaultRedirectPath, }: {
|
|
1198
|
+
setConfigs: ({ newBaseURL, newBaseURLAuthNv, newSessionEventsUrl, newIsRegister, newWebSocketUrl, newWebSocketToken, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot, systemVersion, enableChangePasswordMsg, enableForceChangePassword, newDefaultRedirectPath, }: {
|
|
776
1199
|
newBaseURL: string;
|
|
777
1200
|
newAplicacion: string;
|
|
778
1201
|
newIsRegister?: boolean | undefined;
|
|
779
1202
|
newBaseURLAuthNv?: string | undefined;
|
|
1203
|
+
newSessionEventsUrl?: string | undefined;
|
|
780
1204
|
newWebSocketUrl?: string | undefined;
|
|
781
1205
|
newWebSocketToken?: string | undefined;
|
|
782
1206
|
newRrhhUrl: string;
|
|
@@ -813,17 +1237,81 @@ export declare const useFgeAuthLoginStore: StoreDefinition<"LOGIN_STORE", _Unwra
|
|
|
813
1237
|
}, "onAutorizarQrNv" | "goLoginPage" | "goRegistrarPage" | "goRegistrarRegularizacion" | "tomarRegistroPendiente" | "goRecuperarCont" | "onLogin" | "on2AuthLogin" | "on2AuthLoginNv" | "onConfirmarPushLoginNv" | "onConfirmarPushLogin" | "onLoginCiudadania" | "setConfigs" | "clearUserData" | "invalidateSession" | "updateUserData" | "disable2FAStore" | "onRefreshToken" | "initializeTokensFromStorage" | "on2AuthNuevoServicioLogin" | "logoutStore" | "resolveDeviceIdFromCookie" | "cargarFotoPerfilDiferida">>;
|
|
814
1238
|
|
|
815
1239
|
export declare const useFgeAuthStateStore: StoreDefinition<"STATE_STORE", _UnwrapAll<Pick<{
|
|
816
|
-
id: Ref<string>;
|
|
817
|
-
isLoading: Ref<boolean>;
|
|
1240
|
+
id: Ref<string, string>;
|
|
1241
|
+
isLoading: Ref<boolean, boolean>;
|
|
818
1242
|
setLoading: (value: boolean) => void;
|
|
819
1243
|
}, "id" | "isLoading">>, Pick<{
|
|
820
|
-
id: Ref<string>;
|
|
821
|
-
isLoading: Ref<boolean>;
|
|
1244
|
+
id: Ref<string, string>;
|
|
1245
|
+
isLoading: Ref<boolean, boolean>;
|
|
822
1246
|
setLoading: (value: boolean) => void;
|
|
823
1247
|
}, never>, Pick<{
|
|
824
|
-
id: Ref<string>;
|
|
825
|
-
isLoading: Ref<boolean>;
|
|
1248
|
+
id: Ref<string, string>;
|
|
1249
|
+
isLoading: Ref<boolean, boolean>;
|
|
826
1250
|
setLoading: (value: boolean) => void;
|
|
827
1251
|
}, "setLoading">>;
|
|
828
1252
|
|
|
1253
|
+
declare interface UserInterface {
|
|
1254
|
+
token: string | undefined;
|
|
1255
|
+
refreshToken: string | undefined;
|
|
1256
|
+
fechaCambioPassword?: string;
|
|
1257
|
+
diasVidaPassword?: number | null;
|
|
1258
|
+
cambiarPassword?: boolean;
|
|
1259
|
+
forzarCambioPassword: boolean;
|
|
1260
|
+
forzarActivar2FA: boolean;
|
|
1261
|
+
user?: Usuario;
|
|
1262
|
+
funcionario?: Funcionario;
|
|
1263
|
+
isAuth: boolean;
|
|
1264
|
+
isNvAuth?: boolean;
|
|
1265
|
+
binnacleId?: string | undefined;
|
|
1266
|
+
apps: {
|
|
1267
|
+
nombre: string;
|
|
1268
|
+
codigo: string;
|
|
1269
|
+
url: string;
|
|
1270
|
+
msFileIdLogo: string;
|
|
1271
|
+
}[];
|
|
1272
|
+
roles: string[];
|
|
1273
|
+
permisos: string[];
|
|
1274
|
+
/** Presente en la sesión de ms-auth: /me deja la lista en la raíz del estado. */
|
|
1275
|
+
usuarioMediosVerificados?: UsuarioMediosVerificado[];
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
declare interface Usuario {
|
|
1279
|
+
id: number;
|
|
1280
|
+
ci: string;
|
|
1281
|
+
nombre: string;
|
|
1282
|
+
paterno?: string;
|
|
1283
|
+
materno?: string;
|
|
1284
|
+
perfilPersonaId: number;
|
|
1285
|
+
personaId: number;
|
|
1286
|
+
msPersonaId: number;
|
|
1287
|
+
nacimiento: string;
|
|
1288
|
+
sexo: string;
|
|
1289
|
+
direccion: string;
|
|
1290
|
+
fotoUrl?: string;
|
|
1291
|
+
celular: number;
|
|
1292
|
+
email: string;
|
|
1293
|
+
nacionalidad: string;
|
|
1294
|
+
profesion: string;
|
|
1295
|
+
foto: string;
|
|
1296
|
+
fotoRuta: string;
|
|
1297
|
+
whatsapp?: number;
|
|
1298
|
+
telegram?: number;
|
|
1299
|
+
telegramObservado?: boolean;
|
|
1300
|
+
mediosObservados?: number[];
|
|
1301
|
+
sms?: number | boolean;
|
|
1302
|
+
emailValidado?: number;
|
|
1303
|
+
usuarioMediosVerificados?: UsuarioMediosVerificado[];
|
|
1304
|
+
dobleAutenticacion?: number;
|
|
1305
|
+
notificacionDefault?: string;
|
|
1306
|
+
nombreCompleto: string;
|
|
1307
|
+
ciudadanoDigital: boolean;
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
declare interface UsuarioMediosVerificado {
|
|
1311
|
+
medio: number;
|
|
1312
|
+
valor: string;
|
|
1313
|
+
default: boolean;
|
|
1314
|
+
observado?: boolean;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
829
1317
|
export { }
|