fge-auth-component 1.0.2 → 1.0.3

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.
@@ -8,6 +8,7 @@ export type ConfigOptions = {
8
8
  baseUrl: string;
9
9
  aplicacion: string;
10
10
  rrhhUrl: string;
11
+ telegramBot: string;
11
12
  API_SERVER_REDIRECT: string;
12
13
  verificarSiFuncionario?: boolean;
13
14
  };
@@ -16,6 +16,7 @@ export declare const AUTH_STORE: () => {
16
16
  roles: string[];
17
17
  permisos: string[];
18
18
  }>;
19
+ tgBot: import("vue").Ref<string>;
19
20
  goLoginPage: () => void;
20
21
  goRegistrarPage: () => void;
21
22
  goRecuperarCont: () => void;
@@ -25,11 +26,12 @@ export declare const AUTH_STORE: () => {
25
26
  on2AuthLogin: (values: any) => Promise<void>;
26
27
  onLogout: () => Promise<void>;
27
28
  onLoginCiudadania: (values: any) => Promise<void>;
28
- setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario }: {
29
+ setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot }: {
29
30
  newBaseURL: string;
30
31
  newAplicacion: string;
31
32
  newRrhhUrl: string;
32
33
  verificarSiFuncionario?: boolean | undefined;
34
+ telegramBot: string;
33
35
  }) => void;
34
36
  setDispositivoConfianzaCookie: ({ usuario, value, days }: {
35
37
  usuario: string;
@@ -59,6 +61,7 @@ export declare const useLoginStore: import("pinia").StoreDefinition<"LOGIN_STORE
59
61
  roles: string[];
60
62
  permisos: string[];
61
63
  }>;
64
+ tgBot: import("vue").Ref<string>;
62
65
  goLoginPage: () => void;
63
66
  goRegistrarPage: () => void;
64
67
  goRecuperarCont: () => void;
@@ -68,11 +71,12 @@ export declare const useLoginStore: import("pinia").StoreDefinition<"LOGIN_STORE
68
71
  on2AuthLogin: (values: any) => Promise<void>;
69
72
  onLogout: () => Promise<void>;
70
73
  onLoginCiudadania: (values: any) => Promise<void>;
71
- setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario }: {
74
+ setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot }: {
72
75
  newBaseURL: string;
73
76
  newAplicacion: string;
74
77
  newRrhhUrl: string;
75
78
  verificarSiFuncionario?: boolean | undefined;
79
+ telegramBot: string;
76
80
  }) => void;
77
81
  setDispositivoConfianzaCookie: ({ usuario, value, days }: {
78
82
  usuario: string;
@@ -84,7 +88,7 @@ export declare const useLoginStore: import("pinia").StoreDefinition<"LOGIN_STORE
84
88
  [key: string]: any;
85
89
  }) => void;
86
90
  onRefreshToken: () => Promise<void>;
87
- }, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "aplicacion" | "userState">>, Pick<{
91
+ }, "id" | "binnacleId" | "currentPage" | "apiBaseURL" | "aplicacion" | "userState" | "tgBot">>, Pick<{
88
92
  id: import("vue").Ref<string>;
89
93
  currentPage: import("vue").Ref<ShowPage>;
90
94
  binnacleId: import("vue").Ref<string | null>;
@@ -101,6 +105,7 @@ export declare const useLoginStore: import("pinia").StoreDefinition<"LOGIN_STORE
101
105
  roles: string[];
102
106
  permisos: string[];
103
107
  }>;
108
+ tgBot: import("vue").Ref<string>;
104
109
  goLoginPage: () => void;
105
110
  goRegistrarPage: () => void;
106
111
  goRecuperarCont: () => void;
@@ -110,11 +115,12 @@ export declare const useLoginStore: import("pinia").StoreDefinition<"LOGIN_STORE
110
115
  on2AuthLogin: (values: any) => Promise<void>;
111
116
  onLogout: () => Promise<void>;
112
117
  onLoginCiudadania: (values: any) => Promise<void>;
113
- setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario }: {
118
+ setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot }: {
114
119
  newBaseURL: string;
115
120
  newAplicacion: string;
116
121
  newRrhhUrl: string;
117
122
  verificarSiFuncionario?: boolean | undefined;
123
+ telegramBot: string;
118
124
  }) => void;
119
125
  setDispositivoConfianzaCookie: ({ usuario, value, days }: {
120
126
  usuario: string;
@@ -143,6 +149,7 @@ export declare const useLoginStore: import("pinia").StoreDefinition<"LOGIN_STORE
143
149
  roles: string[];
144
150
  permisos: string[];
145
151
  }>;
152
+ tgBot: import("vue").Ref<string>;
146
153
  goLoginPage: () => void;
147
154
  goRegistrarPage: () => void;
148
155
  goRecuperarCont: () => void;
@@ -152,11 +159,12 @@ export declare const useLoginStore: import("pinia").StoreDefinition<"LOGIN_STORE
152
159
  on2AuthLogin: (values: any) => Promise<void>;
153
160
  onLogout: () => Promise<void>;
154
161
  onLoginCiudadania: (values: any) => Promise<void>;
155
- setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario }: {
162
+ setConfigs: ({ newBaseURL, newAplicacion, newRrhhUrl, verificarSiFuncionario, telegramBot }: {
156
163
  newBaseURL: string;
157
164
  newAplicacion: string;
158
165
  newRrhhUrl: string;
159
166
  verificarSiFuncionario?: boolean | undefined;
167
+ telegramBot: string;
160
168
  }) => void;
161
169
  setDispositivoConfianzaCookie: ({ usuario, value, days }: {
162
170
  usuario: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fge-auth-component",
3
3
  "private": false,
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -1,5 +0,0 @@
1
- export declare const SEGURIDAD_API_URL: any;
2
- export declare const CIUDADANIA_DIGITAL_URL: any;
3
- export declare const FGE_TELEGRAM_BOT: any;
4
- export declare const APP_URL: any;
5
- export declare const TELEGRAM_URL: string;