import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptions } from "../../../../BaseClient"; import * as core from "../../../../core"; import * as ElevenLabs from "../../../index"; import { AnalyticsClient } from "../resources/analytics/client/Client"; import { AuditLogsClient } from "../resources/auditLogs/client/Client"; import { AuthConnectionsClient } from "../resources/authConnections/client/Client"; import { GroupsClient } from "../resources/groups/client/Client"; import { InvitesClient } from "../resources/invites/client/Client"; import { MembersClient } from "../resources/members/client/Client"; import { ResourcesClient } from "../resources/resources/client/Client"; import { UsageClient } from "../resources/usage/client/Client"; export declare namespace WorkspaceClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class WorkspaceClient { protected readonly _options: NormalizedClientOptions; protected _auditLogs: AuditLogsClient | undefined; protected _authConnections: AuthConnectionsClient | undefined; protected _groups: GroupsClient | undefined; protected _invites: InvitesClient | undefined; protected _members: MembersClient | undefined; protected _resources: ResourcesClient | undefined; protected _usage: UsageClient | undefined; protected _analytics: AnalyticsClient | undefined; constructor(options?: WorkspaceClient.Options); get auditLogs(): AuditLogsClient; get authConnections(): AuthConnectionsClient; get groups(): GroupsClient; get invites(): InvitesClient; get members(): MembersClient; get resources(): ResourcesClient; get usage(): UsageClient; get analytics(): AnalyticsClient; /** * Set the workspace-wide Third-Party Disabling policy. When set, it forces, for every API key in the workspace, whether the holder of a key (potentially a third party who found it) may disable it via the self-disable endpoint or when it leaks publicly — overriding each key's own setting. Pass `true` to allow it for all keys, `false` to forbid it for all keys, or `null` to clear the override so per-key values and the plan default apply again. Workspace admins only. * * @param {ElevenLabs.BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost} request * @param {WorkspaceClient.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link ElevenLabs.UnprocessableEntityError} * * @example * await client.workspace.setThirdPartyDisablingPolicy() */ setThirdPartyDisablingPolicy(request?: ElevenLabs.BodySetWorkspaceThirdPartyDisablingPolicyV1WorkspacesApiKeysThirdPartyDisablingPost, requestOptions?: WorkspaceClient.RequestOptions): core.HttpResponsePromise; private __setThirdPartyDisablingPolicy; }