import type * as ElevenLabs from "../index"; /** * Response model for user-owned OAuth2 Custom App auth connections */ export interface ApiIntegrationOAuth2CustomAppResponse { name: string; provider: string; tokenUrl: string; scopes?: string[]; /** Separator for scopes */ scopeSeparator?: ElevenLabs.ApiIntegrationOAuth2CustomAppResponseScopeSeparator; /** ISO 8601 timestamp of when the access token expires */ expiresAt: string; integrationId: string; credentialId: string; /** Current health status of the OAuth connection */ status?: ElevenLabs.OAuthConnectionStatus; /** Human-readable detail about the current status, e.g. the error message on refresh failure */ statusDetail?: string; /** ISO 8601 timestamp of the last status change */ statusUpdatedAt?: string; /** OAuth client ID (rendered from template if credential uses templated credentials, None for legacy connections) */ clientId: string; id: string; usedBy?: ElevenLabs.AuthConnectionDependencies; }