@fiado/type-kit 3.257.0 → 3.258.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.
@@ -5,7 +5,4 @@ export interface EffectivePermissionsResponse {
5
5
  permissions: Permission[];
6
6
  roleAssignments: RoleAssignmentInfo[];
7
7
  permsEpoch: number;
8
- /** Perfil del usuario (del SharedUser ya resuelto). Opcionales, aditivos: el jwt-inyector los ignora; los consume zendesk-business para mostrar la identidad del vendedor. */
9
- displayName?: string;
10
- email?: string;
11
8
  }
@@ -0,0 +1,9 @@
1
+ /** Respuesta de platform-rbac-business GET /internal/users/{cognitoSub}/profile. */
2
+ export interface UserProfileResponse {
3
+ cognitoSub: string;
4
+ tenantId: string;
5
+ displayName?: string;
6
+ email?: string;
7
+ phone?: string;
8
+ status?: string;
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -39,6 +39,7 @@ export type { UserFieldDef } from './dtos/UserFieldDef';
39
39
  export * from './dtos/CreateUserFieldRequest';
40
40
  export * from './dtos/UpdateUserFieldRequest';
41
41
  export type { InjectableUserAttributesResponse } from './dtos/InjectableUserAttributesResponse';
42
+ export type { UserProfileResponse } from './dtos/UserProfileResponse';
42
43
  export * from './enums/ApplicationStatus';
43
44
  export * from './enums/PermissionKind';
44
45
  export type { LevelDef, ApplicationSecurityPolicyDefault, ApplicationBrandingDefault, AutoregisterAllowedRole, AutoregisterConfig, ApplicationDefaults, SeedRole, Application, } from './application/Application';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "3.257.0",
3
+ "version": "3.258.0",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -6,7 +6,4 @@ export interface EffectivePermissionsResponse {
6
6
  permissions: Permission[];
7
7
  roleAssignments: RoleAssignmentInfo[];
8
8
  permsEpoch: number;
9
- /** Perfil del usuario (del SharedUser ya resuelto). Opcionales, aditivos: el jwt-inyector los ignora; los consume zendesk-business para mostrar la identidad del vendedor. */
10
- displayName?: string;
11
- email?: string;
12
9
  }
@@ -0,0 +1,9 @@
1
+ /** Respuesta de platform-rbac-business GET /internal/users/{cognitoSub}/profile. */
2
+ export interface UserProfileResponse {
3
+ cognitoSub: string;
4
+ tenantId: string;
5
+ displayName?: string;
6
+ email?: string;
7
+ phone?: string;
8
+ status?: string;
9
+ }
@@ -84,6 +84,7 @@ export type { UserFieldDef } from './dtos/UserFieldDef';
84
84
  export * from './dtos/CreateUserFieldRequest';
85
85
  export * from './dtos/UpdateUserFieldRequest';
86
86
  export type { InjectableUserAttributesResponse } from './dtos/InjectableUserAttributesResponse';
87
+ export type { UserProfileResponse } from './dtos/UserProfileResponse';
87
88
 
88
89
  // Aplicación + niveles genéricos (sub-proyecto #1 de platform-rbac-business, DEC-RBAC-030/031/033).
89
90
  // ApplicationStatus/PermissionKind son enums (export de valor); Application, ApplicationPermission y