valtech-components 4.0.183 → 4.0.185
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/esm2022/lib/components/organisms/switch-org-modal/switch-org-modal.component.mjs +3 -5
- package/esm2022/lib/services/auth/auth.service.mjs +4 -4
- package/esm2022/lib/services/auth/types.mjs +1 -1
- package/esm2022/lib/services/org/org.service.mjs +13 -1
- package/esm2022/lib/version.mjs +2 -2
- package/fesm2022/valtech-components.mjs +18 -8
- package/fesm2022/valtech-components.mjs.map +1 -1
- package/lib/services/auth/types.d.ts +2 -0
- package/lib/services/org/org.service.d.ts +5 -0
- package/lib/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -645,6 +645,8 @@ export interface JWTClaims {
|
|
|
645
645
|
premium?: boolean;
|
|
646
646
|
/** Active organization ID (JWT claim "org") */
|
|
647
647
|
org?: string;
|
|
648
|
+
/** Platform admin — bypass total de RBAC en todos los servicios */
|
|
649
|
+
admin?: boolean;
|
|
648
650
|
/** Issued at */
|
|
649
651
|
iat: number;
|
|
650
652
|
/** Expiration */
|
|
@@ -9,6 +9,11 @@ export declare class OrgService {
|
|
|
9
9
|
constructor(config: ValtechAuthConfig, http: HttpClient);
|
|
10
10
|
private get baseUrl();
|
|
11
11
|
listMyOrgs(): Observable<Organization[]>;
|
|
12
|
+
listAllOrgs(params?: {
|
|
13
|
+
limit?: number;
|
|
14
|
+
nextToken?: string;
|
|
15
|
+
filter?: string;
|
|
16
|
+
}): Observable<Organization[]>;
|
|
12
17
|
listMyOrgsPage(params?: {
|
|
13
18
|
limit?: number;
|
|
14
19
|
nextToken?: string;
|
package/lib/version.d.ts
CHANGED