@thinkai/tai-api-contract 2.163.0 → 2.164.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.
@@ -4747,7 +4747,7 @@ export interface components {
4747
4747
  * @enum {string}
4748
4748
  */
4749
4749
  WorkspaceInvitationStatusDto: "pending" | "accepted" | "expired" | "revoked" | "rejected";
4750
- /** @description Workspace invitation as seen by an authenticated admin or invitee. */
4750
+ /** @description Workspace invitation as seen by an authenticated admin or invitee. Inviter identity is omitted from this DTO (mailer uses store rows; public preview exposes `invitedByName` on `WorkspaceInvitationPreviewDto` only). */
4751
4751
  WorkspaceInvitationDto: {
4752
4752
  /** Format: uuid */
4753
4753
  id: string;
@@ -4759,8 +4759,6 @@ export interface components {
4759
4759
  /** @enum {string} */
4760
4760
  role: "admin" | "editor" | "viewer";
4761
4761
  status: components["schemas"]["WorkspaceInvitationStatusDto"];
4762
- invitedByName?: string | null;
4763
- invitedByEmail?: string | null;
4764
4762
  /** Format: date-time */
4765
4763
  expiresAt: string;
4766
4764
  /** Format: date-time */
@@ -6551,10 +6549,10 @@ export interface components {
6551
6549
  heatmap: components["schemas"]["AiToolMemberHeatmapDayDto"][];
6552
6550
  };
6553
6551
  MeProfileDto: {
6552
+ /** @description Authenticated subject id (JWT `sub`). */
6554
6553
  id: string;
6555
6554
  email: string;
6556
6555
  name: string;
6557
- roles: string[];
6558
6556
  defaultWorkspaceId?: string | null;
6559
6557
  /** @description True when the caller's email is on the `PLATFORM_ADMIN_EMAILS` allowlist. Lets the frontend gate platform-admin surfaces (e.g. the privacy-request queue) without duplicating the allowlist client-side. */
6560
6558
  isPlatformAdmin?: boolean;