import type * as ElevenLabs from "../index";
/**
 * Response model for integration-managed OAuth2 Auth Code auth connections
 */
export interface ApiIntegrationOAuth2AuthCodeResponse {
    name: string;
    provider: string;
    tokenUrl: string;
    scopes?: string[];
    /** Separator for scopes */
    scopeSeparator?: ElevenLabs.ApiIntegrationOAuth2AuthCodeResponseScopeSeparator;
    /** 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;
    id: string;
    usedBy?: ElevenLabs.AuthConnectionDependencies;
}
