@cm-sigoo-temp/ui 0.2.45 → 1.0.0
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/lib/api/permisos.d.ts +1 -1
- package/dist/lib/api/terminales.d.ts +2 -1
- package/dist/lib/auth/index.d.ts +1 -0
- package/dist/lib/auth/keycloakInstance.d.ts +4 -0
- package/dist/lib/cm-sigoo-temp-ui.js +3423 -5303
- package/dist/lib/cm-sigoo-temp-ui.js.map +1 -1
- package/dist/lib/tipos/Api/Terminales.d.ts +13 -3
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { TPermisosResponse } from '../tipos';
|
|
|
2
2
|
export type EnvPermisos = 'dev' | 'test' | 'prod';
|
|
3
3
|
/**
|
|
4
4
|
* Obtiene permisos del usuario para la plataforma.
|
|
5
|
-
*
|
|
5
|
+
* Usa el token de la sesión activa de Keycloak (usuario autenticado).
|
|
6
6
|
* Si no se recibe ambiente, se usa 'dev' por defecto.
|
|
7
7
|
*/
|
|
8
8
|
export declare const obtenerPermisos: (usuario: string, plataforma: string, env?: EnvPermisos) => Promise<TPermisosResponse>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { TResponseTerminales } from '../tipos';
|
|
2
|
-
export
|
|
2
|
+
export type EnvTerminales = 'dev' | 'test' | 'prod';
|
|
3
|
+
export declare const obtenerTerminales: (env?: EnvTerminales) => Promise<TResponseTerminales>;
|
package/dist/lib/auth/index.d.ts
CHANGED