diff --git a/client/organization.go b/client/organization.go index ee6c40238..aec504052 100644 --- a/client/organization.go +++ b/client/organization.go @@ -146,6 +146,19 @@ type SharedAgentInfo struct { SharedAt time.Time `json:"shared_at"` } +// UserInfo represents user information for API responses +type UserInfo struct { + ID string `json:"id"` + Username string `json:"username"` + Email string `json:"email"` + Avatar string `json:"avatar"` + TenantID uint64 `json:"tenant_id"` + IsActive bool `json:"is_active"` + CanAccessAllTenants bool `json:"can_access_all_tenants"` + CreatedAt time.Time `json:"created_at"` + UpdatedAt time.Time `json:"updated_at"` +} + // --- Organization CRUD --- // CreateOrganization creates a new organization