import type * as ElevenLabs from "../index"; export interface ResourceAccessInfo { /** Whether the user making the request is the creator of the agent */ isCreator: boolean; /** Name of the agent's creator */ creatorName: string; /** Email of the agent's creator */ creatorEmail: string; /** The role of the user making the request */ role: ElevenLabs.ResourceAccessInfoRole; /** The access level for anonymous users. If None, the resource is not shared publicly. */ anonymousAccessLevelOverride?: ElevenLabs.ResourceAccessInfoAnonymousAccessLevelOverride; /** Why the requesting user has access to this resource. 'creator' = caller is the owner. 'explicit' = caller (or one of their workspace groups) is listed in role_to_group_ids beyond the workspace-wide everyone group. 'workspace_default' = the workspace-wide everyone group is listed in role_to_group_ids (every non-anon workspace member, including admins, sees this resource). 'workspace_admin' = caller is a workspace admin and the admin seat is the *only* path to access; reserved for docs nobody else can see. Lets the UI disclose why an admin-bypass viewer sees a doc that wasn't explicitly shared with them. */ accessSource?: ElevenLabs.ResourceAccessInfoAccessSource; }