@thinkai/tai-api-contract 2.168.0 → 2.169.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.
@@ -4774,6 +4774,8 @@ export interface components {
4774
4774
  email: string;
4775
4775
  /** @enum {string} */
4776
4776
  role: "admin" | "editor" | "viewer";
4777
+ /** @description True when this member is `tai_workspaces.owner_user_id` for the workspace. Workspace owners cannot be removed (`409` `workspace_owner`). Distinct from the Admin role — a workspace may have multiple admins but only one owner. */
4778
+ isOwner: boolean;
4777
4779
  };
4778
4780
  TeamMemberListDto: {
4779
4781
  members: components["schemas"]["TeamMemberDto"][];
@@ -12771,7 +12773,8 @@ export interface operations {
12771
12773
  * "id": "11111111-1111-4111-8111-111111111111",
12772
12774
  * "name": "Alex Admin",
12773
12775
  * "email": "alex@example.com",
12774
- * "role": "admin"
12776
+ * "role": "admin",
12777
+ * "isOwner": true
12775
12778
  * }
12776
12779
  * ]
12777
12780
  * }