@elevenlabs/elevenlabs-js 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +1 -1
- package/Client.js +2 -2
- package/api/resources/audioIsolation/client/Client.d.ts +1 -1
- package/api/resources/audioIsolation/client/Client.js +2 -2
- package/api/resources/audioNative/client/Client.d.ts +1 -1
- package/api/resources/audioNative/client/Client.js +3 -3
- package/api/resources/conversationalAi/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/client/Client.js +5 -5
- package/api/resources/conversationalAi/conversation/Conversation.js +5 -2
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/client/Client.js +8 -8
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -4
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +8 -8
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -6
- package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
- package/api/resources/dubbing/client/Client.d.ts +14 -1
- package/api/resources/dubbing/client/Client.js +91 -4
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +26 -0
- package/api/resources/dubbing/client/requests/DubbingListRequest.js +5 -0
- package/api/resources/dubbing/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/index.d.ts +1 -0
- package/api/resources/dubbing/index.js +1 -0
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +5 -5
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +12 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.js +11 -0
- package/api/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +12 -0
- package/api/resources/dubbing/types/DubbingListRequestFilterByCreator.js +11 -0
- package/api/resources/dubbing/types/index.d.ts +2 -0
- package/api/resources/dubbing/types/index.js +18 -0
- package/api/resources/forcedAlignment/client/Client.d.ts +1 -1
- package/api/resources/forcedAlignment/client/Client.js +1 -1
- package/api/resources/history/client/Client.d.ts +1 -1
- package/api/resources/history/client/Client.js +5 -5
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/models/client/Client.d.ts +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +5 -5
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
- package/api/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/samples/client/Client.js +1 -1
- package/api/resources/speechToSpeech/client/Client.d.ts +1 -1
- package/api/resources/speechToSpeech/client/Client.js +2 -2
- package/api/resources/speechToText/client/Client.d.ts +1 -1
- package/api/resources/speechToText/client/Client.js +4 -1
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/api/resources/studio/client/Client.d.ts +1 -1
- package/api/resources/studio/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- package/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.js +2 -2
- package/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
- package/api/resources/textToSoundEffects/client/Client.js +1 -1
- package/api/resources/textToSpeech/client/Client.d.ts +1 -1
- package/api/resources/textToSpeech/client/Client.js +4 -4
- package/api/resources/textToVoice/client/Client.d.ts +1 -1
- package/api/resources/textToVoice/client/Client.js +4 -4
- package/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -1
- package/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
- package/api/resources/usage/client/Client.d.ts +1 -1
- package/api/resources/usage/client/Client.js +1 -1
- package/api/resources/user/client/Client.d.ts +1 -1
- package/api/resources/user/client/Client.js +1 -1
- package/api/resources/user/resources/subscription/client/Client.d.ts +1 -1
- package/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/api/resources/voices/client/Client.d.ts +1 -1
- package/api/resources/voices/client/Client.js +8 -8
- package/api/resources/voices/resources/ivc/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/api/resources/voices/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/api/resources/webhooks/client/Client.d.ts +1 -1
- package/api/resources/webhooks/client/Client.js +1 -1
- package/api/resources/workspace/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/client/Client.js +1 -1
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/invites/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/resources/workspace/resources/members/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/resources/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/resources/client/Client.js +3 -3
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/api/types/AgentTestingSettings.d.ts +10 -0
- package/api/types/AgentTestingSettings.js +5 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +4 -0
- package/api/types/CreateTwilioPhoneNumberRequest.d.ts +4 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/DubbingMetadataPageResponseModel.d.ts +9 -0
- package/api/types/DubbingMetadataPageResponseModel.js +5 -0
- package/api/types/DubbingMetadataResponse.d.ts +4 -0
- package/api/types/GetAgentResponseModel.d.ts +1 -0
- package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +4 -0
- package/api/types/GetPhoneNumberTwilioResponseModel.d.ts +4 -0
- package/api/types/Llm.d.ts +1 -3
- package/api/types/Llm.js +0 -2
- package/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.d.ts +1 -1
- package/dist/Client.js +2 -2
- package/dist/api/resources/audioIsolation/client/Client.d.ts +1 -1
- package/dist/api/resources/audioIsolation/client/Client.js +2 -2
- package/dist/api/resources/audioNative/client/Client.d.ts +1 -1
- package/dist/api/resources/audioNative/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/conversation/Conversation.js +5 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +8 -8
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -4
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +8 -8
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -6
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
- package/dist/api/resources/dubbing/client/Client.d.ts +14 -1
- package/dist/api/resources/dubbing/client/Client.js +91 -4
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +26 -0
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.js +5 -0
- package/dist/api/resources/dubbing/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/index.d.ts +1 -0
- package/dist/api/resources/dubbing/index.js +1 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +5 -5
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +12 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.js +11 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +12 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestFilterByCreator.js +11 -0
- package/dist/api/resources/dubbing/types/index.d.ts +2 -0
- package/dist/api/resources/dubbing/types/index.js +18 -0
- package/dist/api/resources/forcedAlignment/client/Client.d.ts +1 -1
- package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
- package/dist/api/resources/history/client/Client.d.ts +1 -1
- package/dist/api/resources/history/client/Client.js +5 -5
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/models/client/Client.d.ts +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +5 -5
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
- package/dist/api/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/samples/client/Client.js +1 -1
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToSpeech/client/Client.js +2 -2
- package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToText/client/Client.js +4 -1
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/dist/api/resources/studio/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.js +2 -2
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
- package/dist/api/resources/textToSoundEffects/client/Client.js +1 -1
- package/dist/api/resources/textToSpeech/client/Client.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/Client.js +4 -4
- package/dist/api/resources/textToVoice/client/Client.d.ts +1 -1
- package/dist/api/resources/textToVoice/client/Client.js +4 -4
- package/dist/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -1
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
- package/dist/api/resources/usage/client/Client.d.ts +1 -1
- package/dist/api/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/user/client/Client.d.ts +1 -1
- package/dist/api/resources/user/client/Client.js +1 -1
- package/dist/api/resources/user/resources/subscription/client/Client.d.ts +1 -1
- package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/dist/api/resources/voices/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/client/Client.js +8 -8
- package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
- package/dist/api/resources/webhooks/client/Client.js +1 -1
- package/dist/api/resources/workspace/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -3
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/AgentTestingSettings.d.ts +10 -0
- package/dist/api/types/AgentTestingSettings.js +5 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +4 -0
- package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +4 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/DubbingMetadataPageResponseModel.d.ts +9 -0
- package/dist/api/types/DubbingMetadataPageResponseModel.js +5 -0
- package/dist/api/types/DubbingMetadataResponse.d.ts +4 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +1 -0
- package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +4 -0
- package/dist/api/types/GetPhoneNumberTwilioResponseModel.d.ts +4 -0
- package/dist/api/types/Llm.d.ts +1 -3
- package/dist/api/types/Llm.js +0 -2
- package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/environments.d.ts +4 -20
- package/dist/environments.js +4 -16
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/dist/serialization/resources/dubbing/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/index.js +1 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +10 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.js +41 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +10 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.js +41 -0
- package/dist/serialization/resources/dubbing/types/index.d.ts +2 -0
- package/dist/serialization/resources/dubbing/types/index.js +18 -0
- package/dist/serialization/resources/index.d.ts +2 -1
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/dist/serialization/types/AgentTestingSettings.d.ts +12 -0
- package/dist/serialization/types/AgentTestingSettings.js +43 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +2 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +2 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/dist/serialization/types/CustomLlm.d.ts +1 -0
- package/dist/serialization/types/CustomLlm.js +1 -0
- package/dist/serialization/types/DubbingMetadataPageResponseModel.d.ts +15 -0
- package/dist/serialization/types/DubbingMetadataPageResponseModel.js +46 -0
- package/dist/serialization/types/DubbingMetadataResponse.d.ts +2 -0
- package/dist/serialization/types/DubbingMetadataResponse.js +2 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetAgentResponseModel.js +1 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
- package/dist/serialization/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberTwilioResponseModel.js +2 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +0 -2
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +4 -20
- package/environments.js +4 -16
- package/package.json +1 -1
- package/reference.md +63 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/serialization/resources/dubbing/index.d.ts +1 -0
- package/serialization/resources/dubbing/index.js +1 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.js +41 -0
- package/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.js +41 -0
- package/serialization/resources/dubbing/types/index.d.ts +2 -0
- package/serialization/resources/dubbing/types/index.js +18 -0
- package/serialization/resources/index.d.ts +2 -1
- package/serialization/resources/index.js +3 -2
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/serialization/types/AgentTestingSettings.d.ts +12 -0
- package/serialization/types/AgentTestingSettings.js +43 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +2 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +2 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/serialization/types/CustomLlm.d.ts +1 -0
- package/serialization/types/CustomLlm.js +1 -0
- package/serialization/types/DubbingMetadataPageResponseModel.d.ts +15 -0
- package/serialization/types/DubbingMetadataPageResponseModel.js +46 -0
- package/serialization/types/DubbingMetadataResponse.d.ts +2 -0
- package/serialization/types/DubbingMetadataResponse.js +2 -0
- package/serialization/types/GetAgentResponseModel.d.ts +1 -0
- package/serialization/types/GetAgentResponseModel.js +1 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
- package/serialization/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberTwilioResponseModel.js +2 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +0 -2
- package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../index";
|
|
7
7
|
export declare namespace Settings {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -71,7 +71,7 @@ class Settings {
|
|
|
71
71
|
return __awaiter(this, void 0, void 0, function* () {
|
|
72
72
|
var _a, _b, _c;
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
74
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/voices/settings/default"),
|
|
75
75
|
method: "GET",
|
|
76
76
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -131,7 +131,7 @@ class Settings {
|
|
|
131
131
|
return __awaiter(this, void 0, void 0, function* () {
|
|
132
132
|
var _a, _b, _c;
|
|
133
133
|
const _response = yield core.fetcher({
|
|
134
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
134
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/voices/${encodeURIComponent(voiceId)}/settings`),
|
|
135
135
|
method: "GET",
|
|
136
136
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
137
137
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -208,7 +208,7 @@ class Settings {
|
|
|
208
208
|
return __awaiter(this, void 0, void 0, function* () {
|
|
209
209
|
var _a, _b, _c;
|
|
210
210
|
const _response = yield core.fetcher({
|
|
211
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
211
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/voices/${encodeURIComponent(voiceId)}/settings/edit`),
|
|
212
212
|
method: "POST",
|
|
213
213
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
214
214
|
contentType: "application/json",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../index";
|
|
7
7
|
export declare namespace Webhooks {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -81,7 +81,7 @@ class Webhooks {
|
|
|
81
81
|
_queryParams["include_usages"] = includeUsages.toString();
|
|
82
82
|
}
|
|
83
83
|
const _response = yield core.fetcher({
|
|
84
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
84
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/workspace/webhooks"),
|
|
85
85
|
method: "GET",
|
|
86
86
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
87
87
|
queryParameters: _queryParams,
|
|
@@ -9,7 +9,7 @@ import { Members } from "../resources/members/client/Client";
|
|
|
9
9
|
import { Resources } from "../resources/resources/client/Client";
|
|
10
10
|
export declare namespace Workspace {
|
|
11
11
|
interface Options {
|
|
12
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
12
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
13
13
|
/** Specify a custom URL to connect the client to. */
|
|
14
14
|
baseUrl?: core.Supplier<string>;
|
|
15
15
|
/** Override the xi-api-key header */
|
|
@@ -7,7 +7,7 @@ import * as ElevenLabs from "../../../../../index";
|
|
|
7
7
|
import { Members } from "../resources/members/client/Client";
|
|
8
8
|
export declare namespace Groups {
|
|
9
9
|
interface Options {
|
|
10
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
10
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
11
11
|
/** Specify a custom URL to connect the client to. */
|
|
12
12
|
baseUrl?: core.Supplier<string>;
|
|
13
13
|
/** Override the xi-api-key header */
|
|
@@ -84,7 +84,7 @@ class Groups {
|
|
|
84
84
|
const _queryParams = {};
|
|
85
85
|
_queryParams["name"] = name;
|
|
86
86
|
const _response = yield core.fetcher({
|
|
87
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
87
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/workspace/groups/search"),
|
|
88
88
|
method: "GET",
|
|
89
89
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
90
90
|
queryParameters: _queryParams,
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../../../index";
|
|
7
7
|
export declare namespace Members {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -77,7 +77,7 @@ class Members {
|
|
|
77
77
|
return __awaiter(this, void 0, void 0, function* () {
|
|
78
78
|
var _a, _b, _c;
|
|
79
79
|
const _response = yield core.fetcher({
|
|
80
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
80
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/workspace/groups/${encodeURIComponent(groupId)}/members/remove`),
|
|
81
81
|
method: "POST",
|
|
82
82
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
83
83
|
contentType: "application/json",
|
|
@@ -153,7 +153,7 @@ class Members {
|
|
|
153
153
|
return __awaiter(this, void 0, void 0, function* () {
|
|
154
154
|
var _a, _b, _c;
|
|
155
155
|
const _response = yield core.fetcher({
|
|
156
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
156
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/workspace/groups/${encodeURIComponent(groupId)}/members`),
|
|
157
157
|
method: "POST",
|
|
158
158
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
159
|
contentType: "application/json",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../index";
|
|
7
7
|
export declare namespace Invites {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -76,7 +76,7 @@ class Invites {
|
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
77
|
var _a, _b, _c;
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
79
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/workspace/invites/add"),
|
|
80
80
|
method: "POST",
|
|
81
81
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
82
|
contentType: "application/json",
|
|
@@ -151,7 +151,7 @@ class Invites {
|
|
|
151
151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
152
152
|
var _a, _b, _c;
|
|
153
153
|
const _response = yield core.fetcher({
|
|
154
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
154
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/workspace/invites/add-bulk"),
|
|
155
155
|
method: "POST",
|
|
156
156
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
157
157
|
contentType: "application/json",
|
|
@@ -228,7 +228,7 @@ class Invites {
|
|
|
228
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
229
229
|
var _a, _b, _c;
|
|
230
230
|
const _response = yield core.fetcher({
|
|
231
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
231
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/workspace/invites"),
|
|
232
232
|
method: "DELETE",
|
|
233
233
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
234
234
|
contentType: "application/json",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../index";
|
|
7
7
|
export declare namespace Members {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -76,7 +76,7 @@ class Members {
|
|
|
76
76
|
return __awaiter(this, void 0, void 0, function* () {
|
|
77
77
|
var _a, _b, _c;
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
79
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/workspace/members"),
|
|
80
80
|
method: "POST",
|
|
81
81
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
82
82
|
contentType: "application/json",
|
|
@@ -151,7 +151,7 @@ class Members {
|
|
|
151
151
|
return __awaiter(this, void 0, void 0, function* () {
|
|
152
152
|
var _a, _b, _c;
|
|
153
153
|
const _response = yield core.fetcher({
|
|
154
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
154
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/workspace/members"),
|
|
155
155
|
method: "DELETE",
|
|
156
156
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
157
157
|
contentType: "application/json",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../index";
|
|
7
7
|
export declare namespace Resources {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -82,7 +82,7 @@ class Resources {
|
|
|
82
82
|
unrecognizedObjectKeys: "strip",
|
|
83
83
|
});
|
|
84
84
|
const _response = yield core.fetcher({
|
|
85
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
85
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/workspace/resources/${encodeURIComponent(resourceId)}`),
|
|
86
86
|
method: "GET",
|
|
87
87
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
88
88
|
queryParameters: _queryParams,
|
|
@@ -157,7 +157,7 @@ class Resources {
|
|
|
157
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
158
158
|
var _a, _b, _c;
|
|
159
159
|
const _response = yield core.fetcher({
|
|
160
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
160
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/workspace/resources/${encodeURIComponent(resourceId)}/share`),
|
|
161
161
|
method: "POST",
|
|
162
162
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
163
163
|
contentType: "application/json",
|
|
@@ -225,7 +225,7 @@ class Resources {
|
|
|
225
225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
226
226
|
var _a, _b, _c;
|
|
227
227
|
const _response = yield core.fetcher({
|
|
228
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
228
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/workspace/resources/${encodeURIComponent(resourceId)}/unshare`),
|
|
229
229
|
method: "POST",
|
|
230
230
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
231
231
|
contentType: "application/json",
|
|
@@ -19,4 +19,6 @@ export interface AgentPlatformSettingsRequestModel {
|
|
|
19
19
|
privacy?: ElevenLabs.PrivacyConfig;
|
|
20
20
|
/** Workspace overrides for the agent */
|
|
21
21
|
workspaceOverrides?: ElevenLabs.AgentWorkspaceOverridesInput;
|
|
22
|
+
/** Testing configuration for the agent */
|
|
23
|
+
testing?: ElevenLabs.AgentTestingSettings;
|
|
22
24
|
}
|
|
@@ -19,5 +19,7 @@ export interface AgentPlatformSettingsResponseModel {
|
|
|
19
19
|
privacy?: ElevenLabs.PrivacyConfig;
|
|
20
20
|
/** Workspace overrides for the agent */
|
|
21
21
|
workspaceOverrides?: ElevenLabs.AgentWorkspaceOverridesOutput;
|
|
22
|
+
/** Testing configuration for the agent */
|
|
23
|
+
testing?: ElevenLabs.AgentTestingSettings;
|
|
22
24
|
safety?: ElevenLabs.SafetyResponseModel;
|
|
23
25
|
}
|
|
@@ -22,4 +22,6 @@ export interface ConversationHistoryMetadataCommonModel {
|
|
|
22
22
|
elevenAssistant?: ElevenLabs.ConversationHistoryElevenAssistantCommonModel;
|
|
23
23
|
initiatorId?: string;
|
|
24
24
|
conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
|
|
25
|
+
conversationInitiationSourceVersion?: string;
|
|
26
|
+
timezone?: string;
|
|
25
27
|
}
|
|
@@ -7,6 +7,10 @@ export interface CreateSipTrunkPhoneNumberRequest {
|
|
|
7
7
|
phoneNumber: string;
|
|
8
8
|
/** Label for the phone number */
|
|
9
9
|
label: string;
|
|
10
|
+
/** Whether this phone number supports inbound calls */
|
|
11
|
+
supportsInbound?: boolean;
|
|
12
|
+
/** Whether this phone number supports outbound calls */
|
|
13
|
+
supportsOutbound?: boolean;
|
|
10
14
|
inboundTrunkConfig?: ElevenLabs.InboundSipTrunkConfigRequestModel;
|
|
11
15
|
outboundTrunkConfig?: ElevenLabs.OutboundSipTrunkConfigRequestModel;
|
|
12
16
|
}
|
|
@@ -6,6 +6,10 @@ export interface CreateTwilioPhoneNumberRequest {
|
|
|
6
6
|
phoneNumber: string;
|
|
7
7
|
/** Label for the phone number */
|
|
8
8
|
label: string;
|
|
9
|
+
/** Whether this phone number supports inbound calls */
|
|
10
|
+
supportsInbound?: boolean;
|
|
11
|
+
/** Whether this phone number supports outbound calls */
|
|
12
|
+
supportsOutbound?: boolean;
|
|
9
13
|
/** Twilio Account SID */
|
|
10
14
|
sid: string;
|
|
11
15
|
/** Twilio Auth Token */
|
package/api/types/CustomLlm.d.ts
CHANGED
|
@@ -11,4 +11,6 @@ export interface CustomLlm {
|
|
|
11
11
|
apiKey?: ElevenLabs.ConvAiSecretLocator;
|
|
12
12
|
/** Headers that should be included in the request */
|
|
13
13
|
requestHeaders?: Record<string, ElevenLabs.CustomLlmRequestHeadersValue>;
|
|
14
|
+
/** The API version to use for the request */
|
|
15
|
+
apiVersion?: string;
|
|
14
16
|
}
|
|
@@ -11,6 +11,10 @@ export interface DubbingMetadataResponse {
|
|
|
11
11
|
status: string;
|
|
12
12
|
/** The target languages of the dubbing project. */
|
|
13
13
|
targetLanguages: string[];
|
|
14
|
+
/** Whether this dubbing project is editable in Dubbing Studio. */
|
|
15
|
+
editable?: boolean;
|
|
16
|
+
/** Timestamp this dub was created. */
|
|
17
|
+
createdAt: Date;
|
|
14
18
|
/** The media metadata of the dubbing project. */
|
|
15
19
|
mediaMetadata?: ElevenLabs.DubbingMediaMetadata;
|
|
16
20
|
/** Optional error message if the dubbing project failed. */
|
|
@@ -15,6 +15,7 @@ export interface GetAgentResponseModel {
|
|
|
15
15
|
platformSettings?: ElevenLabs.AgentPlatformSettingsResponseModel;
|
|
16
16
|
/** The phone numbers of the agent */
|
|
17
17
|
phoneNumbers?: ElevenLabs.GetAgentResponseModelPhoneNumbersItem[];
|
|
18
|
+
workflow?: unknown;
|
|
18
19
|
/** The access information of the agent for the user */
|
|
19
20
|
accessInfo?: ElevenLabs.ResourceAccessInfo;
|
|
20
21
|
/** Agent tags used to categorize the agent */
|
|
@@ -7,6 +7,10 @@ export interface GetPhoneNumberSipTrunkResponseModel {
|
|
|
7
7
|
phoneNumber: string;
|
|
8
8
|
/** Label for the phone number */
|
|
9
9
|
label: string;
|
|
10
|
+
/** Whether this phone number supports inbound calls */
|
|
11
|
+
supportsInbound?: boolean;
|
|
12
|
+
/** Whether this phone number supports outbound calls */
|
|
13
|
+
supportsOutbound?: boolean;
|
|
10
14
|
/** The ID of the phone number */
|
|
11
15
|
phoneNumberId: string;
|
|
12
16
|
/** The agent that is assigned to the phone number */
|
|
@@ -7,6 +7,10 @@ export interface GetPhoneNumberTwilioResponseModel {
|
|
|
7
7
|
phoneNumber: string;
|
|
8
8
|
/** Label for the phone number */
|
|
9
9
|
label: string;
|
|
10
|
+
/** Whether this phone number supports inbound calls */
|
|
11
|
+
supportsInbound?: boolean;
|
|
12
|
+
/** Whether this phone number supports outbound calls */
|
|
13
|
+
supportsOutbound?: boolean;
|
|
10
14
|
/** The ID of the phone number */
|
|
11
15
|
phoneNumberId: string;
|
|
12
16
|
/** The agent that is assigned to the phone number */
|
package/api/types/Llm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type Llm = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "gemini-2.
|
|
4
|
+
export type Llm = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106";
|
|
5
5
|
export declare const Llm: {
|
|
6
6
|
readonly Gpt4OMini: "gpt-4o-mini";
|
|
7
7
|
readonly Gpt4O: "gpt-4o";
|
|
@@ -23,8 +23,6 @@ export declare const Llm: {
|
|
|
23
23
|
readonly Claude3Haiku: "claude-3-haiku";
|
|
24
24
|
readonly GrokBeta: "grok-beta";
|
|
25
25
|
readonly CustomLlm: "custom-llm";
|
|
26
|
-
readonly Gemini25FlashPreview0520: "gemini-2.5-flash-preview-05-20";
|
|
27
|
-
readonly Gemini25FlashPreview0417: "gemini-2.5-flash-preview-04-17";
|
|
28
26
|
readonly Gemini20FlashLite001: "gemini-2.0-flash-lite-001";
|
|
29
27
|
readonly Gemini20Flash001: "gemini-2.0-flash-001";
|
|
30
28
|
readonly Gemini15Flash002: "gemini-1.5-flash-002";
|
package/api/types/Llm.js
CHANGED
|
@@ -25,8 +25,6 @@ exports.Llm = {
|
|
|
25
25
|
Claude3Haiku: "claude-3-haiku",
|
|
26
26
|
GrokBeta: "grok-beta",
|
|
27
27
|
CustomLlm: "custom-llm",
|
|
28
|
-
Gemini25FlashPreview0520: "gemini-2.5-flash-preview-05-20",
|
|
29
|
-
Gemini25FlashPreview0417: "gemini-2.5-flash-preview-04-17",
|
|
30
28
|
Gemini20FlashLite001: "gemini-2.0-flash-lite-001",
|
|
31
29
|
Gemini20Flash001: "gemini-2.0-flash-001",
|
|
32
30
|
Gemini15Flash002: "gemini-1.5-flash-002",
|
|
@@ -27,6 +27,8 @@ export interface PromptAgentApiModelInput {
|
|
|
27
27
|
ignoreDefaultPersonality?: boolean;
|
|
28
28
|
/** Configuration for RAG */
|
|
29
29
|
rag?: ElevenLabs.RagConfig;
|
|
30
|
+
/** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). */
|
|
31
|
+
timezone?: string;
|
|
30
32
|
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
31
33
|
tools?: ElevenLabs.PromptAgentApiModelInputToolsItem[];
|
|
32
34
|
}
|
|
@@ -27,6 +27,8 @@ export interface PromptAgentApiModelOutput {
|
|
|
27
27
|
ignoreDefaultPersonality?: boolean;
|
|
28
28
|
/** Configuration for RAG */
|
|
29
29
|
rag?: ElevenLabs.RagConfig;
|
|
30
|
+
/** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). */
|
|
31
|
+
timezone?: string;
|
|
30
32
|
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
31
33
|
tools?: ElevenLabs.PromptAgentApiModelOutputToolsItem[];
|
|
32
34
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ export * from "./AgentPlatformSettingsRequestModel";
|
|
|
24
24
|
export * from "./AgentPlatformSettingsResponseModel";
|
|
25
25
|
export * from "./AgentSimulatedChatTestResponseModel";
|
|
26
26
|
export * from "./AgentSummaryResponseModel";
|
|
27
|
+
export * from "./AgentTestingSettings";
|
|
27
28
|
export * from "./AgentTransfer";
|
|
28
29
|
export * from "./AgentWorkspaceOverridesInput";
|
|
29
30
|
export * from "./AgentWorkspaceOverridesOutput";
|
|
@@ -194,6 +195,7 @@ export * from "./DocxExportOptions";
|
|
|
194
195
|
export * from "./DubbedSegment";
|
|
195
196
|
export * from "./DubbingMediaMetadata";
|
|
196
197
|
export * from "./DubbingMediaReference";
|
|
198
|
+
export * from "./DubbingMetadataPageResponseModel";
|
|
197
199
|
export * from "./DubbingMetadataResponse";
|
|
198
200
|
export * from "./DubbingRenderResponseModel";
|
|
199
201
|
export * from "./DubbingResource";
|
package/api/types/index.js
CHANGED
|
@@ -40,6 +40,7 @@ __exportStar(require("./AgentPlatformSettingsRequestModel"), exports);
|
|
|
40
40
|
__exportStar(require("./AgentPlatformSettingsResponseModel"), exports);
|
|
41
41
|
__exportStar(require("./AgentSimulatedChatTestResponseModel"), exports);
|
|
42
42
|
__exportStar(require("./AgentSummaryResponseModel"), exports);
|
|
43
|
+
__exportStar(require("./AgentTestingSettings"), exports);
|
|
43
44
|
__exportStar(require("./AgentTransfer"), exports);
|
|
44
45
|
__exportStar(require("./AgentWorkspaceOverridesInput"), exports);
|
|
45
46
|
__exportStar(require("./AgentWorkspaceOverridesOutput"), exports);
|
|
@@ -210,6 +211,7 @@ __exportStar(require("./DocxExportOptions"), exports);
|
|
|
210
211
|
__exportStar(require("./DubbedSegment"), exports);
|
|
211
212
|
__exportStar(require("./DubbingMediaMetadata"), exports);
|
|
212
213
|
__exportStar(require("./DubbingMediaReference"), exports);
|
|
214
|
+
__exportStar(require("./DubbingMetadataPageResponseModel"), exports);
|
|
213
215
|
__exportStar(require("./DubbingMetadataResponse"), exports);
|
|
214
216
|
__exportStar(require("./DubbingRenderResponseModel"), exports);
|
|
215
217
|
__exportStar(require("./DubbingResource"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { ConversationalAi } from "./api/resources/conversationalAi/client/Client
|
|
|
26
26
|
import { Workspace } from "./api/resources/workspace/client/Client";
|
|
27
27
|
export declare namespace ElevenLabsClient {
|
|
28
28
|
interface Options {
|
|
29
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
29
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
30
30
|
/** Specify a custom URL to connect the client to. */
|
|
31
31
|
baseUrl?: core.Supplier<string>;
|
|
32
32
|
/** Override the xi-api-key header */
|
package/dist/Client.js
CHANGED
|
@@ -66,8 +66,8 @@ class ElevenLabsClient {
|
|
|
66
66
|
"xi-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
69
|
-
"X-Fern-SDK-Version": "v2.
|
|
70
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
69
|
+
"X-Fern-SDK-Version": "v2.7.0",
|
|
70
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.7.0",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../index";
|
|
7
7
|
export declare namespace AudioIsolation {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -75,7 +75,7 @@ class AudioIsolation {
|
|
|
75
75
|
}
|
|
76
76
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
77
77
|
const _response = yield core.fetcher({
|
|
78
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
78
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/audio-isolation"),
|
|
79
79
|
method: "POST",
|
|
80
80
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
requestType: "file",
|
|
@@ -142,7 +142,7 @@ class AudioIsolation {
|
|
|
142
142
|
}
|
|
143
143
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
144
144
|
const _response = yield core.fetcher({
|
|
145
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
145
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/audio-isolation/stream"),
|
|
146
146
|
method: "POST",
|
|
147
147
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
148
148
|
requestType: "file",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../index";
|
|
7
7
|
export declare namespace AudioNative {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -112,7 +112,7 @@ class AudioNative {
|
|
|
112
112
|
}
|
|
113
113
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
114
114
|
const _response = yield core.fetcher({
|
|
115
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
115
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/audio-native"),
|
|
116
116
|
method: "POST",
|
|
117
117
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
118
118
|
requestType: "file",
|
|
@@ -185,7 +185,7 @@ class AudioNative {
|
|
|
185
185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
186
186
|
var _a, _b, _c;
|
|
187
187
|
const _response = yield core.fetcher({
|
|
188
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
188
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/audio-native/${encodeURIComponent(projectId)}/settings`),
|
|
189
189
|
method: "GET",
|
|
190
190
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
191
191
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -267,7 +267,7 @@ class AudioNative {
|
|
|
267
267
|
}
|
|
268
268
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
269
269
|
const _response = yield core.fetcher({
|
|
270
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
270
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/audio-native/${encodeURIComponent(projectId)}/content`),
|
|
271
271
|
method: "POST",
|
|
272
272
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
273
273
|
requestType: "file",
|
|
@@ -19,7 +19,7 @@ import { McpServers } from "../resources/mcpServers/client/Client";
|
|
|
19
19
|
import { Dashboard } from "../resources/dashboard/client/Client";
|
|
20
20
|
export declare namespace ConversationalAi {
|
|
21
21
|
interface Options {
|
|
22
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
22
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
23
23
|
/** Specify a custom URL to connect the client to. */
|
|
24
24
|
baseUrl?: core.Supplier<string>;
|
|
25
25
|
/** Override the xi-api-key header */
|