Versions in this module Expand all Collapse all v3 v3.88.13 Feb 25, 2025 Changes in this version + var DubbingNotFound = "dubbing_not_found" + var IdToPermission = map[int]Permission + var InternalServerError = "internal_server_error" + var InvalidAPIKey = "invalid_api_key" + var InvalidContent = "invalid_content" + var InvalidProjectID = "invalid_project_id" + var InvalidSubscription = "invalid_subscription" + var MissingPermissions = "missing_permissions" + var ModelNotFound = "model_not_found" + var NotVerifiable = "api_key_not_verifiable" + var PermissionIDs = map[Permission]int + var PermissionStrings = map[Permission]string + var ProjectNotFound = "project_not_found" + var PronunciationDictionaryNotFound = "pronunciation_dictionary_not_found" + var StringToPermission = map[string]Permission + var VoiceDoesNotExist = "voice_does_not_exist" + var VoiceNotFound = "voice_not_found" + func AnalyzeAndPrintPermissions(cfg *config.Config, key string) + type AgentsResponse struct + Agents []struct{ ... } + type Analyzer struct + Cfg *config.Config + func (a Analyzer) Analyze(_ context.Context, credInfo map[string]string) (*analyzers.AnalyzerResult, error) + func (a Analyzer) Type() analyzers.AnalyzerType + type ConversationResponse struct + Conversations []struct{ ... } + type ElevenLabsResource struct + ID string + Metadata map[string]string + Name string + Permission string + Type string + type ErrorResponse struct + Detail struct{ ... } + type HistoryResponse struct + History []struct{ ... } + type ModelsResponse struct + ID string + Name string + type Permission int + const AudioIsolation + const AudioNativeRead + const AudioNativeWrite + const DubbingRead + const DubbingWrite + const Invalid + const ModelsRead + const ProjectsRead + const ProjectsWrite + const PronunciationDictionariesRead + const PronunciationDictionariesWrite + const SpeechHistoryRead + const SpeechHistoryWrite + const SpeechToSpeech + const TextToSpeech + const UserRead + const VoicesRead + const VoicesWrite + const WorkspaceRead + const WorkspaceWrite + func PermissionFromID(id int) (Permission, error) + func PermissionFromString(s string) (Permission, error) + func (p Permission) ToID() (int, error) + func (p Permission) ToString() (string, error) + type ProjectsResponse struct + Projects []struct{ ... } + type PronunciationDictionariesResponse struct + PronunciationDictionaries []struct{ ... } + type SecretInfo struct + ElevenLabsResources []ElevenLabsResource + Permissions []string + Reference string + User User + Valid bool + func AnalyzePermissions(cfg *config.Config, key string) (*SecretInfo, error) + func (s *SecretInfo) AppendPermission(perm string) + func (s *SecretInfo) AppendResource(resource ElevenLabsResource) + func (s *SecretInfo) HasPermission(perm Permission) bool + type User struct + ID string + Name string + SubscriptionStatus string + SubscriptionTier string + type UserResponse struct + FirstName string + Subscription struct{ ... } + UserID string + type VoicesResponse struct + Voices []struct{ ... }