import type * as ElevenLabs from "../index"; /** * Request model for creating OAuth2 JWT auth connections - inherits common settings and includes sensitive fields */ export interface CreateOAuth2JwtRequest { name: string; provider: string; /** JWT signing algorithm */ algorithm?: ElevenLabs.CreateOAuth2JwtRequestAlgorithm; /** Key ID (kid) for JWT header - useful for key rotation */ keyId?: string; /** JWT issuer (iss claim) */ issuer: string; /** JWT audience (aud claim) */ audience: string; /** JWT subject (sub claim) */ subject: string; /** Token expiration time in seconds */ expirationSeconds?: number; /** Additional custom claims to include in the JWT */ extraParams?: Record; /** Token endpoint URL for exchanging JWT for access token */ tokenUrl: string; /** OAuth2 scopes to request when exchanging JWT for access token */ scopes?: string[]; secretKey: string; }