@elevenlabs/elevenlabs-js 2.2.0 → 2.4.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 +9 -4
- package/Client.js +60 -12
- package/README.md +4 -11
- package/api/resources/audioIsolation/client/Client.d.ts +5 -4
- package/api/resources/audioIsolation/client/Client.js +5 -8
- package/api/resources/audioIsolation/client/index.d.ts +1 -0
- package/api/resources/audioNative/client/Client.d.ts +3 -1
- package/api/resources/audioNative/client/Client.js +7 -14
- package/api/resources/audioNative/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/client/Client.d.ts +9 -1
- package/api/resources/conversationalAi/client/Client.js +31 -36
- package/api/resources/conversationalAi/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +17 -1
- package/api/resources/conversationalAi/resources/agents/client/Client.js +89 -34
- package/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
- package/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
- package/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.d.ts +4 -0
- package/api/resources/conversationalAi/resources/index.js +5 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
- package/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
- package/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
- package/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
- package/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/index.js +17 -0
- package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
- package/api/resources/dubbing/client/Client.d.ts +3 -1
- package/api/resources/dubbing/client/Client.js +10 -16
- package/api/resources/dubbing/client/index.d.ts +1 -0
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
- package/api/resources/dubbing/resources/audio/client/Client.js +3 -6
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +11 -22
- package/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
- package/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
- package/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
- package/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
- package/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
- package/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
- package/api/resources/forcedAlignment/client/Client.d.ts +3 -1
- package/api/resources/forcedAlignment/client/Client.js +3 -4
- package/api/resources/forcedAlignment/client/index.d.ts +1 -0
- package/api/resources/history/client/Client.d.ts +5 -4
- package/api/resources/history/client/Client.js +11 -28
- package/api/resources/history/client/index.d.ts +1 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/models/client/Client.d.ts +3 -1
- package/api/resources/models/client/Client.js +3 -6
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
- package/api/resources/pronunciationDictionaries/client/Client.js +11 -26
- package/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
- package/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
- package/api/resources/samples/client/Client.d.ts +3 -1
- package/api/resources/samples/client/Client.js +3 -6
- package/api/resources/speechToSpeech/client/Client.d.ts +5 -4
- package/api/resources/speechToSpeech/client/Client.js +5 -8
- package/api/resources/speechToSpeech/client/index.d.ts +1 -0
- package/api/resources/speechToText/client/Client.d.ts +4 -4
- package/api/resources/speechToText/client/Client.js +46 -10
- package/api/resources/speechToText/client/index.d.ts +1 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/api/resources/studio/client/Client.d.ts +4 -2
- package/api/resources/studio/client/Client.js +4 -5
- package/api/resources/studio/client/index.d.ts +1 -0
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
- package/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/client/Client.js +16 -32
- package/api/resources/studio/resources/projects/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
- package/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
- package/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
- package/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.d.ts +5 -4
- package/api/resources/textToDialogue/client/Client.js +5 -8
- package/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
- package/api/resources/textToSoundEffects/client/Client.js +3 -4
- package/api/resources/textToSoundEffects/client/index.d.ts +1 -0
- package/api/resources/textToSpeech/client/Client.d.ts +5 -4
- package/api/resources/textToSpeech/client/Client.js +9 -16
- package/api/resources/textToSpeech/client/index.d.ts +1 -0
- package/api/resources/textToVoice/client/Client.d.ts +35 -1
- package/api/resources/textToVoice/client/Client.js +167 -8
- package/api/resources/textToVoice/client/index.d.ts +1 -0
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
- package/api/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
- package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
- package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
- package/api/resources/textToVoice/types/index.d.ts +2 -0
- package/api/resources/textToVoice/types/index.js +2 -0
- package/api/resources/usage/client/Client.d.ts +3 -1
- package/api/resources/usage/client/Client.js +3 -6
- package/api/resources/usage/client/index.d.ts +1 -0
- package/api/resources/user/client/Client.d.ts +3 -1
- package/api/resources/user/client/Client.js +3 -6
- package/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
- package/api/resources/user/resources/subscription/client/Client.js +3 -6
- package/api/resources/voices/client/Client.d.ts +4 -2
- package/api/resources/voices/client/Client.js +18 -43
- package/api/resources/voices/client/index.d.ts +1 -0
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/ivc/client/Client.js +3 -4
- package/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/client/Client.js +7 -12
- package/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
- package/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
- package/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
- package/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/settings/client/Client.js +7 -16
- package/api/resources/webhooks/client/Client.d.ts +48 -0
- package/api/resources/webhooks/client/Client.js +142 -0
- package/api/resources/webhooks/client/index.d.ts +2 -0
- package/api/resources/webhooks/client/index.js +17 -0
- package/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
- package/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/api/resources/webhooks/client/requests/index.js +2 -0
- package/api/resources/webhooks/index.d.ts +1 -0
- package/api/resources/webhooks/index.js +17 -0
- package/api/resources/workspace/client/Client.d.ts +69 -0
- package/api/resources/workspace/client/Client.js +326 -0
- package/api/resources/workspace/client/index.d.ts +1 -0
- package/api/resources/workspace/client/index.js +15 -0
- package/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
- package/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/api/resources/workspace/client/requests/index.d.ts +2 -0
- package/api/resources/workspace/client/requests/index.js +2 -0
- package/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/groups/client/Client.js +3 -6
- package/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
- package/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/invites/client/Client.js +7 -12
- package/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/members/client/Client.js +5 -8
- package/api/resources/workspace/resources/members/client/index.d.ts +1 -0
- package/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
- package/api/resources/workspace/resources/resources/client/Client.js +7 -14
- package/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
- package/api/types/AddProjectRequest.d.ts +60 -3
- package/api/types/AgentCallLimits.d.ts +2 -0
- package/api/types/AgentConfigOverride.d.ts +1 -1
- package/api/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/api/types/AsrProvider.d.ts +5 -1
- package/api/types/AsrProvider.js +5 -0
- package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
- package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
- package/api/types/BuiltInToolsInput.d.ts +16 -0
- package/api/types/BuiltInToolsOutput.d.ts +16 -0
- package/api/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/api/types/ClientEvent.d.ts +4 -2
- package/api/types/ClientEvent.js +3 -1
- package/api/types/ClientToolConfigInput.d.ts +0 -1
- package/api/types/ClientToolConfigOutput.d.ts +0 -1
- package/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
- package/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
- package/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
- package/api/types/ConversationChargingCommonModel.d.ts +3 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -0
- package/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
- package/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
- package/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
- package/api/types/IntegrationType.d.ts +8 -0
- package/api/types/IntegrationType.js +10 -0
- package/api/types/InvoiceResponse.d.ts +2 -0
- package/api/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/api/types/McpApprovalPolicy.d.ts +12 -0
- package/api/types/McpApprovalPolicy.js +11 -0
- package/api/types/McpServerConfigInput.d.ts +19 -0
- package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
- package/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
- package/api/types/McpServerConfigInputUrl.d.ts +8 -0
- package/api/types/McpServerConfigOutput.d.ts +19 -0
- package/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
- package/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
- package/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
- package/api/types/McpServerConfigOutputSecretToken.js +5 -0
- package/api/types/McpServerConfigOutputUrl.d.ts +8 -0
- package/api/types/McpServerConfigOutputUrl.js +5 -0
- package/api/types/McpServerMetadataResponseModel.d.ts +7 -0
- package/api/types/McpServerMetadataResponseModel.js +5 -0
- package/api/types/McpServerResponseModel.d.ts +17 -0
- package/api/types/McpServerResponseModel.js +5 -0
- package/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
- package/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
- package/api/types/McpServerTransport.d.ts +11 -0
- package/api/types/McpServerTransport.js +10 -0
- package/api/types/McpServersResponseModel.d.ts +10 -0
- package/api/types/McpServersResponseModel.js +5 -0
- package/api/types/McpToolApprovalHash.d.ts +15 -0
- package/api/types/McpToolApprovalHash.js +5 -0
- package/api/types/McpToolApprovalPolicy.d.ts +11 -0
- package/api/types/McpToolApprovalPolicy.js +10 -0
- package/api/types/McpToolConfigInput.d.ts +11 -4
- package/api/types/McpToolConfigOutput.d.ts +11 -4
- package/api/types/PromptAgent.d.ts +1 -27
- package/api/types/PromptAgentApiModelInput.d.ts +32 -0
- package/api/types/PromptAgentApiModelInput.js +5 -0
- package/{dist/api/types/PromptAgentInputToolsItem.d.ts → api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -5
- package/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +32 -0
- package/api/types/PromptAgentApiModelOutput.js +5 -0
- package/api/types/{PromptAgentOutputToolsItem.d.ts → PromptAgentApiModelOutputToolsItem.d.ts} +2 -5
- package/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
- package/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
- package/api/types/PromptAgentApiModelOverride.js +5 -0
- package/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
- package/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
- package/api/types/PromptAgentDbModel.d.ts +3 -2
- package/api/types/SubscriptionStatusType.d.ts +2 -3
- package/api/types/SubscriptionStatusType.js +1 -2
- package/api/types/SupportedVoice.d.ts +4 -0
- package/api/types/SystemToolConfigInput.d.ts +0 -1
- package/api/types/SystemToolConfigOutput.d.ts +0 -1
- package/api/types/Tool.d.ts +15 -0
- package/api/types/Tool.js +5 -0
- package/api/types/ToolAnnotations.d.ts +22 -0
- package/api/types/ToolAnnotations.js +5 -0
- package/api/types/ToolRequestModel.d.ts +8 -0
- package/api/types/ToolRequestModel.js +5 -0
- package/api/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -6
- package/api/types/ToolRequestModelToolConfig.js +5 -0
- package/api/types/ToolResponseModel.d.ts +10 -0
- package/api/types/ToolResponseModel.js +5 -0
- package/{dist/api/types/PromptAgentOutputToolsItem.d.ts → api/types/ToolResponseModelToolConfig.d.ts} +2 -5
- package/api/types/ToolResponseModelToolConfig.js +5 -0
- package/api/types/ToolsResponseModel.d.ts +7 -0
- package/api/types/ToolsResponseModel.js +5 -0
- package/api/types/TransferToNumberToolConfig.d.ts +2 -0
- package/api/types/User.d.ts +1 -1
- package/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
- package/api/types/VoicePreviewResponseModel.d.ts +4 -0
- package/api/types/WebhookAuthMethodType.d.ts +8 -0
- package/api/types/WebhookAuthMethodType.js +10 -0
- package/api/types/WebhookToolConfigInput.d.ts +0 -1
- package/api/types/WebhookToolConfigOutput.d.ts +0 -1
- package/api/types/WebhookUsageType.d.ts +10 -0
- package/api/types/WebhookUsageType.js +12 -0
- package/api/types/WidgetConfig.d.ts +2 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -0
- package/api/types/WidgetStyles.d.ts +45 -0
- package/api/types/WidgetStyles.js +5 -0
- package/api/types/WorkspaceGroupPermission.d.ts +22 -0
- package/api/types/WorkspaceGroupPermission.js +24 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
- package/api/types/WorkspaceGroupResponseModel.js +5 -0
- package/api/types/WorkspaceResourceType.d.ts +2 -2
- package/api/types/WorkspaceResourceType.js +1 -1
- package/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
- package/api/types/WorkspaceWebhookListResponseModel.js +5 -0
- package/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
- package/api/types/WorkspaceWebhookResponseModel.js +5 -0
- package/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
- package/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
- package/api/types/index.d.ts +48 -15
- package/api/types/index.js +48 -15
- package/core/fetcher/Fetcher.d.ts +2 -1
- package/core/fetcher/Fetcher.js +22 -9
- package/core/form-data-utils/FormDataWrapper.js +5 -4
- package/core/form-data-utils/toReadableStream.d.ts +1 -0
- package/core/form-data-utils/toReadableStream.js +28 -0
- package/core/headers.d.ts +3 -0
- package/core/headers.js +29 -0
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/core/runtime/runtime.js +0 -1
- package/{dist/core/streaming-fetcher → core/stream}/Stream.d.ts +1 -2
- package/dist/Client.d.ts +9 -4
- package/dist/Client.js +60 -12
- package/dist/api/resources/audioIsolation/client/Client.d.ts +5 -4
- package/dist/api/resources/audioIsolation/client/Client.js +5 -8
- package/dist/api/resources/audioIsolation/client/index.d.ts +1 -0
- package/dist/api/resources/audioNative/client/Client.d.ts +3 -1
- package/dist/api/resources/audioNative/client/Client.js +7 -14
- package/dist/api/resources/audioNative/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/client/Client.d.ts +9 -1
- package/dist/api/resources/conversationalAi/client/Client.js +31 -36
- package/dist/api/resources/conversationalAi/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +17 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +89 -34
- package/dist/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +5 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
- package/dist/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/index.js +5 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
- package/dist/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
- package/dist/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/twilio/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/client/Client.js +10 -16
- package/dist/api/resources/dubbing/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +4 -3
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +11 -22
- package/dist/api/resources/dubbing/resources/resource/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +3 -4
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +5 -10
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +5 -10
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +3 -4
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +3 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +3 -6
- package/dist/api/resources/dubbing/resources/transcript/client/index.d.ts +1 -0
- package/dist/api/resources/forcedAlignment/client/Client.d.ts +3 -1
- package/dist/api/resources/forcedAlignment/client/Client.js +3 -4
- package/dist/api/resources/forcedAlignment/client/index.d.ts +1 -0
- package/dist/api/resources/history/client/Client.d.ts +5 -4
- package/dist/api/resources/history/client/Client.js +11 -28
- package/dist/api/resources/history/client/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/models/client/Client.d.ts +3 -1
- package/dist/api/resources/models/client/Client.js +3 -6
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +11 -26
- package/dist/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
- package/dist/api/resources/samples/client/Client.d.ts +3 -1
- package/dist/api/resources/samples/client/Client.js +3 -6
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +5 -4
- package/dist/api/resources/speechToSpeech/client/Client.js +5 -8
- package/dist/api/resources/speechToSpeech/client/index.d.ts +1 -0
- package/dist/api/resources/speechToText/client/Client.d.ts +4 -4
- package/dist/api/resources/speechToText/client/Client.js +46 -10
- package/dist/api/resources/speechToText/client/index.d.ts +1 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/dist/api/resources/studio/client/Client.d.ts +4 -2
- package/dist/api/resources/studio/client/Client.js +4 -5
- package/dist/api/resources/studio/client/index.d.ts +1 -0
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +16 -32
- package/dist/api/resources/studio/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
- package/dist/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.d.ts +5 -4
- package/dist/api/resources/textToDialogue/client/Client.js +5 -8
- package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
- package/dist/api/resources/textToSoundEffects/client/Client.js +3 -4
- package/dist/api/resources/textToSoundEffects/client/index.d.ts +1 -0
- package/dist/api/resources/textToSpeech/client/Client.d.ts +5 -4
- package/dist/api/resources/textToSpeech/client/Client.js +9 -16
- package/dist/api/resources/textToSpeech/client/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/client/Client.d.ts +35 -1
- package/dist/api/resources/textToVoice/client/Client.js +167 -8
- package/dist/api/resources/textToVoice/client/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
- package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
- package/dist/api/resources/textToVoice/types/index.d.ts +2 -0
- package/dist/api/resources/textToVoice/types/index.js +2 -0
- package/dist/api/resources/usage/client/Client.d.ts +3 -1
- package/dist/api/resources/usage/client/Client.js +3 -6
- package/dist/api/resources/usage/client/index.d.ts +1 -0
- package/dist/api/resources/user/client/Client.d.ts +3 -1
- package/dist/api/resources/user/client/Client.js +3 -6
- package/dist/api/resources/user/resources/subscription/client/Client.d.ts +3 -1
- package/dist/api/resources/user/resources/subscription/client/Client.js +3 -6
- package/dist/api/resources/voices/client/Client.d.ts +4 -2
- package/dist/api/resources/voices/client/Client.js +18 -43
- package/dist/api/resources/voices/client/index.d.ts +1 -0
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.js +3 -4
- package/dist/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +7 -12
- package/dist/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +7 -16
- package/dist/api/resources/webhooks/client/Client.d.ts +48 -0
- package/dist/api/resources/webhooks/client/Client.js +142 -0
- package/dist/api/resources/webhooks/client/index.d.ts +2 -0
- package/dist/api/resources/webhooks/client/index.js +17 -0
- package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
- package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.js +5 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/index.js +2 -0
- package/dist/api/resources/webhooks/index.d.ts +1 -0
- package/dist/api/resources/webhooks/index.js +17 -0
- package/dist/api/resources/workspace/client/Client.d.ts +69 -0
- package/dist/api/resources/workspace/client/Client.js +326 -0
- package/dist/api/resources/workspace/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/client/index.js +15 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +5 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +5 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +2 -0
- package/dist/api/resources/workspace/client/requests/index.js +2 -0
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/groups/client/Client.js +3 -6
- package/dist/api/resources/workspace/resources/groups/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +5 -8
- package/dist/api/resources/workspace/resources/groups/resources/members/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/invites/client/Client.js +7 -12
- package/dist/api/resources/workspace/resources/invites/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/members/client/Client.js +5 -8
- package/dist/api/resources/workspace/resources/members/client/index.d.ts +1 -0
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +3 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.js +7 -14
- package/dist/api/resources/workspace/resources/resources/client/index.d.ts +1 -0
- package/dist/api/types/AddProjectRequest.d.ts +60 -3
- package/dist/api/types/AgentCallLimits.d.ts +2 -0
- package/dist/api/types/AgentConfigOverride.d.ts +1 -1
- package/dist/api/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/AsrProvider.d.ts +5 -1
- package/dist/api/types/AsrProvider.js +5 -0
- package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +1 -1
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +57 -2
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +1 -1
- package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +2 -2
- package/dist/api/types/BuiltInToolsInput.d.ts +16 -0
- package/dist/api/types/BuiltInToolsInput.js +5 -0
- package/dist/api/types/BuiltInToolsOutput.d.ts +16 -0
- package/dist/api/types/BuiltInToolsOutput.js +5 -0
- package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/dist/api/types/ClientEvent.d.ts +4 -2
- package/dist/api/types/ClientEvent.js +3 -1
- package/dist/api/types/ClientToolConfigInput.d.ts +0 -1
- package/dist/api/types/ClientToolConfigOutput.d.ts +0 -1
- package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.js +5 -0
- package/dist/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
- package/dist/api/types/ConvAiUserSecretDbModel.js +5 -0
- package/dist/api/types/ConversationChargingCommonModel.d.ts +3 -0
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -0
- package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
- package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.js +5 -0
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
- package/dist/api/types/DefaultSharingPreferencesResponseModel.js +5 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.js +5 -0
- package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
- package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.js +5 -0
- package/dist/api/types/IntegrationType.d.ts +8 -0
- package/dist/api/types/IntegrationType.js +10 -0
- package/dist/api/types/InvoiceResponse.d.ts +2 -0
- package/dist/api/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/dist/api/types/ListMcpToolsResponseModel.js +5 -0
- package/dist/api/types/McpApprovalPolicy.d.ts +12 -0
- package/dist/api/types/McpApprovalPolicy.js +11 -0
- package/dist/api/types/McpServerConfigInput.d.ts +19 -0
- package/dist/api/types/McpServerConfigInput.js +5 -0
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.js +5 -0
- package/dist/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
- package/dist/api/types/McpServerConfigInputSecretToken.js +5 -0
- package/dist/api/types/McpServerConfigInputUrl.d.ts +8 -0
- package/dist/api/types/McpServerConfigInputUrl.js +5 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +19 -0
- package/dist/api/types/McpServerConfigOutput.js +5 -0
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
- package/dist/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
- package/dist/api/types/McpServerConfigOutputSecretToken.js +5 -0
- package/dist/api/types/McpServerConfigOutputUrl.d.ts +8 -0
- package/dist/api/types/McpServerConfigOutputUrl.js +5 -0
- package/dist/api/types/McpServerMetadataResponseModel.d.ts +7 -0
- package/dist/api/types/McpServerMetadataResponseModel.js +5 -0
- package/dist/api/types/McpServerResponseModel.d.ts +17 -0
- package/dist/api/types/McpServerResponseModel.js +5 -0
- package/dist/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
- package/dist/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
- package/dist/api/types/McpServerTransport.d.ts +11 -0
- package/dist/api/types/McpServerTransport.js +10 -0
- package/dist/api/types/McpServersResponseModel.d.ts +10 -0
- package/dist/api/types/McpServersResponseModel.js +5 -0
- package/dist/api/types/McpToolApprovalHash.d.ts +15 -0
- package/dist/api/types/McpToolApprovalHash.js +5 -0
- package/dist/api/types/McpToolApprovalPolicy.d.ts +11 -0
- package/dist/api/types/McpToolApprovalPolicy.js +10 -0
- package/dist/api/types/McpToolConfigInput.d.ts +11 -4
- package/dist/api/types/McpToolConfigOutput.d.ts +11 -4
- package/dist/api/types/PromptAgent.d.ts +1 -27
- package/dist/api/types/PromptAgentApiModelInput.d.ts +32 -0
- package/dist/api/types/PromptAgentApiModelInput.js +5 -0
- package/{api/types/PromptAgentInputToolsItem.d.ts → dist/api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -5
- package/dist/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +32 -0
- package/dist/api/types/PromptAgentApiModelOutput.js +5 -0
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
- package/dist/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
- package/dist/api/types/PromptAgentApiModelOverride.js +5 -0
- package/dist/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
- package/dist/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
- package/dist/api/types/PromptAgentDbModel.d.ts +3 -2
- package/dist/api/types/SubscriptionStatusType.d.ts +2 -3
- package/dist/api/types/SubscriptionStatusType.js +1 -2
- package/dist/api/types/SupportedVoice.d.ts +4 -0
- package/dist/api/types/SystemToolConfigInput.d.ts +0 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +0 -1
- package/dist/api/types/Tool.d.ts +15 -0
- package/dist/api/types/Tool.js +5 -0
- package/dist/api/types/ToolAnnotations.d.ts +22 -0
- package/dist/api/types/ToolAnnotations.js +5 -0
- package/dist/api/types/ToolRequestModel.d.ts +8 -0
- package/dist/api/types/ToolRequestModel.js +5 -0
- package/dist/api/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -6
- package/dist/api/types/ToolRequestModelToolConfig.js +5 -0
- package/dist/api/types/ToolResponseModel.d.ts +10 -0
- package/dist/api/types/ToolResponseModel.js +5 -0
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +22 -0
- package/dist/api/types/ToolResponseModelToolConfig.js +5 -0
- package/dist/api/types/ToolsResponseModel.d.ts +7 -0
- package/dist/api/types/ToolsResponseModel.js +5 -0
- package/dist/api/types/TransferToNumberToolConfig.d.ts +2 -0
- package/dist/api/types/User.d.ts +1 -1
- package/dist/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
- package/dist/api/types/VoicePreviewResponseModel.d.ts +4 -0
- package/dist/api/types/WebhookAuthMethodType.d.ts +8 -0
- package/dist/api/types/WebhookAuthMethodType.js +10 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +0 -1
- package/dist/api/types/WebhookToolConfigOutput.d.ts +0 -1
- package/dist/api/types/WebhookUsageType.d.ts +10 -0
- package/dist/api/types/WebhookUsageType.js +12 -0
- package/dist/api/types/WidgetConfig.d.ts +2 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/api/types/WidgetStyles.d.ts +45 -0
- package/dist/api/types/WidgetStyles.js +5 -0
- package/dist/api/types/WorkspaceGroupPermission.d.ts +22 -0
- package/dist/api/types/WorkspaceGroupPermission.js +24 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
- package/dist/api/types/WorkspaceGroupResponseModel.js +5 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -2
- package/dist/api/types/WorkspaceResourceType.js +1 -1
- package/dist/api/types/WorkspaceWebhookListResponseModel.d.ts +8 -0
- package/dist/api/types/WorkspaceWebhookListResponseModel.js +5 -0
- package/dist/api/types/WorkspaceWebhookResponseModel.d.ts +26 -0
- package/dist/api/types/WorkspaceWebhookResponseModel.js +5 -0
- package/dist/api/types/WorkspaceWebhookUsageResponseModel.d.ts +7 -0
- package/dist/api/types/WorkspaceWebhookUsageResponseModel.js +5 -0
- package/dist/api/types/index.d.ts +48 -15
- package/dist/api/types/index.js +48 -15
- package/dist/core/fetcher/Fetcher.d.ts +2 -1
- package/dist/core/fetcher/Fetcher.js +22 -9
- package/dist/core/form-data-utils/FormDataWrapper.js +5 -4
- package/dist/core/form-data-utils/toReadableStream.d.ts +1 -0
- package/dist/core/form-data-utils/toReadableStream.js +28 -0
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.js +29 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/runtime/runtime.js +0 -1
- package/{core/streaming-fetcher → dist/core/stream}/Stream.d.ts +1 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
- package/dist/serialization/{types/NativeMcpToolConfigInput.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -13
- package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/index.js +5 -1
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
- package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +41 -0
- package/dist/serialization/resources/textToVoice/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/types/index.js +2 -0
- package/dist/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
- package/dist/serialization/resources/workspace/client/getShareOptions.js +42 -0
- package/dist/serialization/resources/workspace/client/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/client/index.js +41 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
- package/dist/serialization/resources/workspace/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/client/requests/index.js +7 -0
- package/dist/serialization/resources/workspace/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/index.js +1 -0
- package/dist/serialization/types/AddProjectRequest.d.ts +1 -0
- package/dist/serialization/types/AddProjectRequest.js +1 -0
- package/dist/serialization/types/AgentCallLimits.d.ts +1 -0
- package/dist/serialization/types/AgentCallLimits.js +1 -0
- package/dist/serialization/types/AgentConfigOverride.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverride.js +2 -2
- package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverrideConfig.js +2 -2
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/BuiltInToolsInput.d.ts +17 -0
- package/dist/serialization/types/BuiltInToolsInput.js +48 -0
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +17 -0
- package/dist/serialization/types/BuiltInToolsOutput.js +48 -0
- package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/dist/serialization/types/ChapterContentBlockInputModel.js +1 -1
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +3 -1
- package/dist/serialization/types/ClientToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/ClientToolConfigInput.js +0 -1
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/ClientToolConfigOutput.js +0 -1
- package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
- package/dist/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
- package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
- package/dist/serialization/types/{ConvAiStoredSecretDependenciesAgentToolsItem.js → ConvAiStoredSecretDependenciesAgentsItem.js} +6 -6
- package/dist/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
- package/dist/serialization/types/ConvAiUserSecretDbModel.js +46 -0
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +3 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +3 -0
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
- package/dist/serialization/types/ConversationSimulationSpecification.js +4 -0
- package/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
- package/{serialization/types/McpApprovalRequiredModel.js → dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +6 -5
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
- package/dist/serialization/types/{GetSharedSoundGenerationsResponseModel.js → GetToolDependentAgentsResponseModel.js} +5 -5
- package/dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
- package/{serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js} +6 -6
- package/dist/serialization/types/IntegrationType.d.ts +10 -0
- package/{serialization/types/DependentUnknownAgentToolIdentifier.js → dist/serialization/types/IntegrationType.js} +2 -2
- package/dist/serialization/types/InvoiceResponse.d.ts +1 -0
- package/dist/serialization/types/InvoiceResponse.js +1 -0
- package/dist/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/dist/serialization/types/ListMcpToolsResponseModel.js +46 -0
- package/dist/serialization/types/McpApprovalPolicy.d.ts +10 -0
- package/dist/serialization/types/McpApprovalPolicy.js +41 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +25 -0
- package/{serialization/types/NativeMcpToolConfigInput.js → dist/serialization/types/McpServerConfigInput.js} +15 -11
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
- package/dist/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
- package/dist/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
- package/dist/serialization/types/McpServerConfigInputSecretToken.js +43 -0
- package/dist/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
- package/dist/serialization/types/{McpApprovalRequiredModel.js → McpServerConfigInputUrl.js} +3 -6
- package/dist/serialization/types/McpServerConfigOutput.d.ts +25 -0
- package/dist/serialization/types/McpServerConfigOutput.js +56 -0
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
- package/dist/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
- package/dist/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
- package/dist/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
- package/dist/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
- package/dist/serialization/types/McpServerConfigOutputUrl.js +42 -0
- package/dist/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
- package/dist/serialization/types/McpServerMetadataResponseModel.js +44 -0
- package/dist/serialization/types/McpServerResponseModel.d.ts +20 -0
- package/dist/serialization/types/McpServerResponseModel.js +51 -0
- package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
- package/dist/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
- package/dist/serialization/types/McpServerTransport.d.ts +10 -0
- package/dist/serialization/types/{DependentUnknownAgentToolIdentifier.js → McpServerTransport.js} +2 -2
- package/dist/serialization/types/McpServersResponseModel.d.ts +13 -0
- package/dist/serialization/types/McpServersResponseModel.js +44 -0
- package/dist/serialization/types/McpToolApprovalHash.d.ts +15 -0
- package/dist/serialization/types/McpToolApprovalHash.js +46 -0
- package/dist/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
- package/dist/serialization/types/McpToolApprovalPolicy.js +41 -0
- package/dist/serialization/types/McpToolConfigInput.d.ts +7 -3
- package/dist/serialization/types/McpToolConfigInput.js +7 -3
- package/dist/serialization/types/McpToolConfigOutput.d.ts +7 -3
- package/dist/serialization/types/McpToolConfigOutput.js +7 -3
- package/dist/serialization/types/PromptAgent.d.ts +2 -20
- package/dist/serialization/types/PromptAgent.js +1 -19
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +61 -0
- package/dist/serialization/types/{PromptAgentInputToolsItem.d.ts → PromptAgentApiModelInputToolsItem.d.ts} +3 -7
- package/{serialization/types/PromptAgentInputToolsItem.js → dist/serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -4
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +61 -0
- package/{serialization/types/PromptAgentOutputToolsItem.d.ts → dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts} +3 -7
- package/dist/serialization/types/{PromptAgentOutputToolsItem.js → PromptAgentApiModelOutputToolsItem.js} +2 -4
- package/{serialization/types/PromptAgentOverride.d.ts → dist/serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
- package/{serialization/types/PromptAgentOverride.js → dist/serialization/types/PromptAgentApiModelOverride.js} +2 -2
- package/{serialization/types/PromptAgentOverrideConfig.d.ts → dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts} +2 -2
- package/dist/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
- package/dist/serialization/types/PromptAgentDbModel.d.ts +3 -2
- package/dist/serialization/types/PromptAgentDbModel.js +3 -2
- package/dist/serialization/types/SubscriptionStatusType.d.ts +1 -1
- package/dist/serialization/types/SubscriptionStatusType.js +1 -2
- package/dist/serialization/types/SupportedVoice.d.ts +5 -0
- package/dist/serialization/types/SupportedVoice.js +5 -0
- package/dist/serialization/types/SystemToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/SystemToolConfigInput.js +0 -1
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/SystemToolConfigOutput.js +0 -1
- package/dist/serialization/types/Tool.d.ts +17 -0
- package/dist/serialization/types/Tool.js +49 -0
- package/dist/serialization/types/ToolAnnotations.d.ts +17 -0
- package/dist/serialization/types/ToolAnnotations.js +49 -0
- package/dist/serialization/types/ToolRequestModel.d.ts +13 -0
- package/dist/serialization/types/ToolRequestModel.js +44 -0
- package/{serialization/types/PromptAgentInputToolsItem.d.ts → dist/serialization/types/ToolRequestModelToolConfig.d.ts} +3 -7
- package/dist/serialization/types/{PromptAgentInputToolsItem.js → ToolRequestModelToolConfig.js} +2 -4
- package/dist/serialization/types/ToolResponseModel.d.ts +16 -0
- package/dist/serialization/types/ToolResponseModel.js +47 -0
- package/dist/serialization/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +3 -7
- package/{serialization/types/PromptAgentOutputToolsItem.js → dist/serialization/types/ToolResponseModelToolConfig.js} +2 -4
- package/dist/serialization/types/ToolsResponseModel.d.ts +13 -0
- package/dist/serialization/types/ToolsResponseModel.js +44 -0
- package/dist/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
- package/dist/serialization/types/TransferToNumberToolConfig.js +1 -0
- package/dist/serialization/types/WebhookAuthMethodType.d.ts +10 -0
- package/dist/serialization/types/WebhookAuthMethodType.js +41 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/WebhookToolConfigInput.js +0 -1
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/WebhookToolConfigOutput.js +0 -1
- package/dist/serialization/types/WebhookUsageType.d.ts +10 -0
- package/dist/serialization/types/{DependentAvailableAgentToolIdentifierAccessLevel.js → WebhookUsageType.js} +7 -2
- package/dist/serialization/types/WidgetConfig.d.ts +2 -0
- package/dist/serialization/types/WidgetConfig.js +2 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/serialization/types/WidgetConfigResponse.js +2 -0
- package/dist/serialization/types/WidgetStyles.d.ts +31 -0
- package/dist/serialization/types/WidgetStyles.js +62 -0
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
- package/dist/serialization/types/WorkspaceGroupPermission.js +58 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +47 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -1
- package/dist/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
- package/dist/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
- package/dist/serialization/types/{NativeMcpToolConfigOutput.js → WorkspaceWebhookResponseModel.js} +13 -11
- package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
- package/dist/serialization/types/index.d.ts +48 -15
- package/dist/serialization/types/index.js +48 -15
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +4 -3
- package/dist/wrapper/ElevenLabsClient.js +6 -1
- package/dist/wrapper/webhooks.d.ts +4 -3
- package/dist/wrapper/webhooks.js +68 -46
- package/jest.config.mjs +1 -0
- package/package.json +6 -4
- package/reference.md +1868 -479
- package/scripts/rename-to-esm-files.js +10 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
- package/{dist/serialization/types/DependentAvailableAgentToolIdentifier.js → serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -9
- package/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToVoice/client/requests/index.js +5 -1
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
- package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
- package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +41 -0
- package/serialization/resources/textToVoice/types/index.d.ts +2 -0
- package/serialization/resources/textToVoice/types/index.js +2 -0
- package/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
- package/serialization/resources/workspace/client/getShareOptions.js +42 -0
- package/serialization/resources/workspace/client/index.d.ts +2 -0
- package/serialization/resources/workspace/client/index.js +41 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js +43 -0
- package/serialization/resources/workspace/client/requests/index.d.ts +2 -0
- package/serialization/resources/workspace/client/requests/index.js +7 -0
- package/serialization/resources/workspace/index.d.ts +1 -0
- package/serialization/resources/workspace/index.js +1 -0
- package/serialization/types/AddProjectRequest.d.ts +1 -0
- package/serialization/types/AddProjectRequest.js +1 -0
- package/serialization/types/AgentCallLimits.d.ts +1 -0
- package/serialization/types/AgentCallLimits.js +1 -0
- package/serialization/types/AgentConfigOverride.d.ts +2 -2
- package/serialization/types/AgentConfigOverride.js +2 -2
- package/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
- package/serialization/types/AgentConfigOverrideConfig.js +2 -2
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/BuiltInToolsInput.d.ts +17 -0
- package/serialization/types/BuiltInToolsInput.js +48 -0
- package/serialization/types/BuiltInToolsOutput.d.ts +17 -0
- package/serialization/types/BuiltInToolsOutput.js +48 -0
- package/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/serialization/types/ChapterContentBlockInputModel.js +1 -1
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +3 -1
- package/serialization/types/ClientToolConfigInput.d.ts +0 -1
- package/serialization/types/ClientToolConfigInput.js +0 -1
- package/serialization/types/ClientToolConfigOutput.d.ts +0 -1
- package/serialization/types/ClientToolConfigOutput.js +0 -1
- package/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
- package/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
- package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
- package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.js +51 -0
- package/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
- package/serialization/types/ConvAiUserSecretDbModel.js +46 -0
- package/serialization/types/ConversationChargingCommonModel.d.ts +3 -0
- package/serialization/types/ConversationChargingCommonModel.js +3 -0
- package/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
- package/serialization/types/ConversationSimulationSpecification.js +4 -0
- package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
- package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
- package/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
- package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
- package/serialization/types/{GetSharedSoundGenerationsResponseModel.js → GetToolDependentAgentsResponseModel.js} +5 -5
- package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
- package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js +51 -0
- package/serialization/types/IntegrationType.d.ts +10 -0
- package/serialization/types/IntegrationType.js +41 -0
- package/serialization/types/InvoiceResponse.d.ts +1 -0
- package/serialization/types/InvoiceResponse.js +1 -0
- package/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/serialization/types/ListMcpToolsResponseModel.js +46 -0
- package/serialization/types/McpApprovalPolicy.d.ts +10 -0
- package/serialization/types/McpApprovalPolicy.js +41 -0
- package/serialization/types/McpServerConfigInput.d.ts +25 -0
- package/serialization/types/McpServerConfigInput.js +56 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
- package/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
- package/serialization/types/McpServerConfigInputSecretToken.js +43 -0
- package/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
- package/serialization/types/McpServerConfigInputUrl.js +42 -0
- package/serialization/types/McpServerConfigOutput.d.ts +25 -0
- package/serialization/types/McpServerConfigOutput.js +56 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
- package/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
- package/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
- package/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
- package/serialization/types/McpServerConfigOutputUrl.js +42 -0
- package/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
- package/serialization/types/McpServerMetadataResponseModel.js +44 -0
- package/serialization/types/McpServerResponseModel.d.ts +20 -0
- package/serialization/types/McpServerResponseModel.js +51 -0
- package/serialization/types/McpServerResponseModelDependentAgentsItem.d.ts +18 -0
- package/serialization/types/McpServerResponseModelDependentAgentsItem.js +51 -0
- package/serialization/types/McpServerTransport.d.ts +10 -0
- package/serialization/types/McpServerTransport.js +41 -0
- package/serialization/types/McpServersResponseModel.d.ts +13 -0
- package/serialization/types/McpServersResponseModel.js +44 -0
- package/serialization/types/McpToolApprovalHash.d.ts +15 -0
- package/serialization/types/McpToolApprovalHash.js +46 -0
- package/serialization/types/McpToolApprovalPolicy.d.ts +10 -0
- package/serialization/types/McpToolApprovalPolicy.js +41 -0
- package/serialization/types/McpToolConfigInput.d.ts +7 -3
- package/serialization/types/McpToolConfigInput.js +7 -3
- package/serialization/types/McpToolConfigOutput.d.ts +7 -3
- package/serialization/types/McpToolConfigOutput.js +7 -3
- package/serialization/types/PromptAgent.d.ts +2 -20
- package/serialization/types/PromptAgent.js +1 -19
- package/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
- package/serialization/types/PromptAgentApiModelInput.js +61 -0
- package/{dist/serialization/types/PromptAgentDbModelToolsItem.d.ts → serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -7
- package/{dist/serialization/types/PromptAgentDbModelToolsItem.js → serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -4
- package/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
- package/serialization/types/PromptAgentApiModelOutput.js +61 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
- package/{dist/serialization/types/PromptAgentOverride.d.ts → serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
- package/{dist/serialization/types/PromptAgentOverride.js → serialization/types/PromptAgentApiModelOverride.js} +2 -2
- package/{dist/serialization/types/PromptAgentOverrideConfig.d.ts → serialization/types/PromptAgentApiModelOverrideConfig.d.ts} +2 -2
- package/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
- package/serialization/types/PromptAgentDbModel.d.ts +3 -2
- package/serialization/types/PromptAgentDbModel.js +3 -2
- package/serialization/types/SubscriptionStatusType.d.ts +1 -1
- package/serialization/types/SubscriptionStatusType.js +1 -2
- package/serialization/types/SupportedVoice.d.ts +5 -0
- package/serialization/types/SupportedVoice.js +5 -0
- package/serialization/types/SystemToolConfigInput.d.ts +0 -1
- package/serialization/types/SystemToolConfigInput.js +0 -1
- package/serialization/types/SystemToolConfigOutput.d.ts +0 -1
- package/serialization/types/SystemToolConfigOutput.js +0 -1
- package/serialization/types/Tool.d.ts +17 -0
- package/serialization/types/Tool.js +49 -0
- package/serialization/types/ToolAnnotations.d.ts +17 -0
- package/serialization/types/ToolAnnotations.js +49 -0
- package/serialization/types/ToolRequestModel.d.ts +13 -0
- package/serialization/types/ToolRequestModel.js +44 -0
- package/serialization/types/{PromptAgentDbModelToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -7
- package/serialization/types/{PromptAgentDbModelToolsItem.js → ToolRequestModelToolConfig.js} +2 -4
- package/serialization/types/ToolResponseModel.d.ts +16 -0
- package/serialization/types/ToolResponseModel.js +47 -0
- package/serialization/types/ToolResponseModelToolConfig.d.ts +26 -0
- package/serialization/types/ToolResponseModelToolConfig.js +55 -0
- package/serialization/types/ToolsResponseModel.d.ts +13 -0
- package/serialization/types/ToolsResponseModel.js +44 -0
- package/serialization/types/TransferToNumberToolConfig.d.ts +1 -0
- package/serialization/types/TransferToNumberToolConfig.js +1 -0
- package/serialization/types/WebhookAuthMethodType.d.ts +10 -0
- package/serialization/types/WebhookAuthMethodType.js +41 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +0 -1
- package/serialization/types/WebhookToolConfigInput.js +0 -1
- package/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
- package/serialization/types/WebhookToolConfigOutput.js +0 -1
- package/serialization/types/WebhookUsageType.d.ts +10 -0
- package/serialization/types/WebhookUsageType.js +46 -0
- package/serialization/types/WidgetConfig.d.ts +2 -0
- package/serialization/types/WidgetConfig.js +2 -0
- package/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/serialization/types/WidgetConfigResponse.js +2 -0
- package/serialization/types/WidgetStyles.d.ts +31 -0
- package/serialization/types/WidgetStyles.js +62 -0
- package/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
- package/serialization/types/WorkspaceGroupPermission.js +58 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +47 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -1
- package/serialization/types/WorkspaceWebhookListResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceWebhookListResponseModel.js +44 -0
- package/serialization/types/WorkspaceWebhookResponseModel.d.ts +23 -0
- package/serialization/types/{NativeMcpToolConfigOutput.js → WorkspaceWebhookResponseModel.js} +13 -11
- package/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
- package/serialization/types/index.d.ts +48 -15
- package/serialization/types/index.js +48 -15
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +4 -3
- package/wrapper/ElevenLabsClient.js +6 -1
- package/wrapper/webhooks.d.ts +4 -3
- package/wrapper/webhooks.js +68 -46
- package/.mock/asyncapi.yml +0 -856
- package/.mock/definition/__package__.yml +0 -8340
- package/.mock/definition/api.yml +0 -24
- package/.mock/definition/audioIsolation.yml +0 -83
- package/.mock/definition/audioNative.yml +0 -198
- package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +0 -32
- package/.mock/definition/conversationalAi/agents/link.yml +0 -40
- package/.mock/definition/conversationalAi/agents/llmUsage.yml +0 -51
- package/.mock/definition/conversationalAi/agents/widget/avatar.yml +0 -44
- package/.mock/definition/conversationalAi/agents/widget.yml +0 -107
- package/.mock/definition/conversationalAi/agents.yml +0 -671
- package/.mock/definition/conversationalAi/batchCalls.yml +0 -222
- package/.mock/definition/conversationalAi/conversations/audio.yml +0 -28
- package/.mock/definition/conversationalAi/conversations/feedback.yml +0 -47
- package/.mock/definition/conversationalAi/conversations.yml +0 -165
- package/.mock/definition/conversationalAi/dashboard/settings.yml +0 -73
- package/.mock/definition/conversationalAi/knowledgeBase/document.yml +0 -52
- package/.mock/definition/conversationalAi/knowledgeBase/documents/chunk.yml +0 -42
- package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +0 -355
- package/.mock/definition/conversationalAi/knowledgeBase.yml +0 -88
- package/.mock/definition/conversationalAi/llmUsage.yml +0 -52
- package/.mock/definition/conversationalAi/phoneNumbers.yml +0 -206
- package/.mock/definition/conversationalAi/secrets.yml +0 -100
- package/.mock/definition/conversationalAi/settings.yml +0 -81
- package/.mock/definition/conversationalAi/sipTrunk.yml +0 -45
- package/.mock/definition/conversationalAi/twilio.yml +0 -45
- package/.mock/definition/conversationalAi.yml +0 -192
- package/.mock/definition/dubbing/audio.yml +0 -35
- package/.mock/definition/dubbing/resource/language.yml +0 -43
- package/.mock/definition/dubbing/resource/segment.yml +0 -83
- package/.mock/definition/dubbing/resource/speaker/segment.yml +0 -54
- package/.mock/definition/dubbing/resource/speaker.yml +0 -91
- package/.mock/definition/dubbing/resource.yml +0 -271
- package/.mock/definition/dubbing/transcript.yml +0 -48
- package/.mock/definition/dubbing.yml +0 -170
- package/.mock/definition/forcedAlignment.yml +0 -60
- package/.mock/definition/history.yml +0 -270
- package/.mock/definition/models.yml +0 -49
- package/.mock/definition/pronunciationDictionaries/rules.yml +0 -99
- package/.mock/definition/pronunciationDictionaries.yml +0 -262
- package/.mock/definition/samples.yml +0 -46
- package/.mock/definition/speechToSpeech.yml +0 -324
- package/.mock/definition/speechToText.yml +0 -189
- package/.mock/definition/studio/projects/chapters/snapshots.yml +0 -141
- package/.mock/definition/studio/projects/chapters.yml +0 -289
- package/.mock/definition/studio/projects/content.yml +0 -94
- package/.mock/definition/studio/projects/pronunciationDictionaries.yml +0 -70
- package/.mock/definition/studio/projects/snapshots.yml +0 -140
- package/.mock/definition/studio/projects.yml +0 -579
- package/.mock/definition/studio.yml +0 -216
- package/.mock/definition/textToDialogue.yml +0 -213
- package/.mock/definition/textToSoundEffects.yml +0 -92
- package/.mock/definition/textToSpeech.yml +0 -959
- package/.mock/definition/textToVoice.yml +0 -355
- package/.mock/definition/usage.yml +0 -73
- package/.mock/definition/user/subscription.yml +0 -50
- package/.mock/definition/user.yml +0 -86
- package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +0 -252
- package/.mock/definition/v1TextToSpeechVoiceIdStreamInput.yml +0 -207
- package/.mock/definition/voices/ivc.yml +0 -57
- package/.mock/definition/voices/pvc/samples/audio.yml +0 -44
- package/.mock/definition/voices/pvc/samples/speakers/audio.yml +0 -48
- package/.mock/definition/voices/pvc/samples/speakers.yml +0 -81
- package/.mock/definition/voices/pvc/samples/waveform.yml +0 -44
- package/.mock/definition/voices/pvc/samples.yml +0 -159
- package/.mock/definition/voices/pvc/verification/captcha.yml +0 -62
- package/.mock/definition/voices/pvc/verification.yml +0 -47
- package/.mock/definition/voices/pvc.yml +0 -137
- package/.mock/definition/voices/samples/audio.yml +0 -35
- package/.mock/definition/voices/settings.yml +0 -105
- package/.mock/definition/voices.yml +0 -907
- package/.mock/definition/workspace/groups/members.yml +0 -80
- package/.mock/definition/workspace/groups.yml +0 -40
- package/.mock/definition/workspace/invites.yml +0 -141
- package/.mock/definition/workspace/members.yml +0 -83
- package/.mock/definition/workspace/resources.yml +0 -184
- package/.mock/fern.config.json +0 -4
- package/.mock/openapi.json +0 -39184
- package/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
- package/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
- package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
- package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
- package/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
- package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
- package/api/types/McpApprovalRequiredModel.d.ts +0 -12
- package/api/types/McpApprovalRequiredModel.js +0 -11
- package/api/types/NativeMcpToolConfigInput.d.ts +0 -22
- package/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
- package/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
- package/dist/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
- package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
- package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
- package/dist/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
- package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
- package/dist/api/types/McpApprovalRequiredModel.d.ts +0 -12
- package/dist/api/types/McpApprovalRequiredModel.js +0 -11
- package/dist/api/types/NativeMcpToolConfigInput.d.ts +0 -22
- package/dist/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
- package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
- package/dist/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
- package/dist/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
- package/dist/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
- package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
- package/dist/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
- package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
- package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
- package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
- package/dist/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
- package/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
- package/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
- package/serialization/types/DependentAvailableAgentToolIdentifier.js +0 -48
- package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
- package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -41
- package/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
- package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
- package/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
- package/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
- package/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
- package/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
- package/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
- /package/api/{types/ConvAiStoredSecretDependenciesAgentToolsItem.js → resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js} +0 -0
- /package/api/{types/DependentAvailableAgentToolIdentifier.js → resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js} +0 -0
- /package/api/{types/DependentUnknownAgentToolIdentifier.js → resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js} +0 -0
- /package/api/{types/GetSharedSoundGenerationsResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js} +0 -0
- /package/api/{types/NativeMcpToolConfigInput.js → resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js} +0 -0
- /package/api/{types/NativeMcpToolConfigOutput.js → resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js} +0 -0
- /package/api/{types/PromptAgentDbModelToolsItem.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +0 -0
- /package/api/{types/PromptAgentInputToolsItem.js → resources/webhooks/client/requests/WebhooksListRequest.js} +0 -0
- /package/api/{types/PromptAgentOutputToolsItem.js → resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js} +0 -0
- /package/api/{types/PromptAgentOverride.js → resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js} +0 -0
- /package/api/types/{PromptAgentOverrideConfig.js → BuiltInToolsInput.js} +0 -0
- /package/api/types/{SharedSoundGenerationResponseModel.js → BuiltInToolsOutput.js} +0 -0
- /package/{dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → api/types/ConvAiStoredSecretDependenciesAgentsItem.js} +0 -0
- /package/{dist/api/types/DependentAvailableAgentToolIdentifier.js → api/types/ConvAiUserSecretDbModel.js} +0 -0
- /package/{dist/api/types/DependentUnknownAgentToolIdentifier.js → api/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +0 -0
- /package/{dist/api/types/GetSharedSoundGenerationsResponseModel.js → api/types/DefaultSharingPreferencesResponseModel.js} +0 -0
- /package/{dist/api/types/NativeMcpToolConfigInput.js → api/types/GetToolDependentAgentsResponseModel.js} +0 -0
- /package/{dist/api/types/NativeMcpToolConfigOutput.js → api/types/GetToolDependentAgentsResponseModelAgentsItem.js} +0 -0
- /package/{dist/api/types/PromptAgentDbModelToolsItem.js → api/types/ListMcpToolsResponseModel.js} +0 -0
- /package/{dist/api/types/PromptAgentInputToolsItem.js → api/types/McpServerConfigInput.js} +0 -0
- /package/{dist/api/types/PromptAgentOutputToolsItem.js → api/types/McpServerConfigInputRequestHeadersValue.js} +0 -0
- /package/{dist/api/types/PromptAgentOverride.js → api/types/McpServerConfigInputSecretToken.js} +0 -0
- /package/{dist/api/types/PromptAgentOverrideConfig.js → api/types/McpServerConfigInputUrl.js} +0 -0
- /package/{dist/api/types/SharedSoundGenerationResponseModel.js → api/types/McpServerConfigOutput.js} +0 -0
- /package/core/{streaming-fetcher → stream}/Stream.js +0 -0
- /package/core/{streaming-fetcher → stream}/index.d.ts +0 -0
- /package/core/{streaming-fetcher → stream}/index.js +0 -0
- /package/dist/core/{streaming-fetcher → stream}/Stream.js +0 -0
- /package/dist/core/{streaming-fetcher → stream}/index.d.ts +0 -0
- /package/dist/core/{streaming-fetcher → stream}/index.js +0 -0
package/reference.md
CHANGED
|
@@ -193,7 +193,7 @@ await client.history.delete("VW7YKqPnjY4h39yTbx2L");
|
|
|
193
193
|
|
|
194
194
|
## TextToSoundEffects
|
|
195
195
|
|
|
196
|
-
<details><summary><code>client.textToSoundEffects.<a href="/src/api/resources/textToSoundEffects/client/Client.ts">convert</a>({ ...params }) ->
|
|
196
|
+
<details><summary><code>client.textToSoundEffects.<a href="/src/api/resources/textToSoundEffects/client/Client.ts">convert</a>({ ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
197
197
|
<dl>
|
|
198
198
|
<dd>
|
|
199
199
|
|
|
@@ -335,7 +335,7 @@ await client.samples.delete("21m00Tcm4TlvDq8ikWAM", "VW7YKqPnjY4h39yTbx2L");
|
|
|
335
335
|
|
|
336
336
|
## TextToSpeech
|
|
337
337
|
|
|
338
|
-
<details><summary><code>client.textToSpeech.<a href="/src/api/resources/textToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) ->
|
|
338
|
+
<details><summary><code>client.textToSpeech.<a href="/src/api/resources/textToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
339
339
|
<dl>
|
|
340
340
|
<dd>
|
|
341
341
|
|
|
@@ -483,7 +483,7 @@ await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
|
|
|
483
483
|
</dl>
|
|
484
484
|
</details>
|
|
485
485
|
|
|
486
|
-
<details><summary><code>client.textToSpeech.<a href="/src/api/resources/textToSpeech/client/Client.ts">stream</a>(voiceId, { ...params }) ->
|
|
486
|
+
<details><summary><code>client.textToSpeech.<a href="/src/api/resources/textToSpeech/client/Client.ts">stream</a>(voiceId, { ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
487
487
|
<dl>
|
|
488
488
|
<dd>
|
|
489
489
|
|
|
@@ -638,7 +638,7 @@ for await (const item of response) {
|
|
|
638
638
|
|
|
639
639
|
## TextToDialogue
|
|
640
640
|
|
|
641
|
-
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">convert</a>({ ...params }) ->
|
|
641
|
+
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">convert</a>({ ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
642
642
|
<dl>
|
|
643
643
|
<dd>
|
|
644
644
|
|
|
@@ -712,7 +712,7 @@ await client.textToDialogue.convert({
|
|
|
712
712
|
</dl>
|
|
713
713
|
</details>
|
|
714
714
|
|
|
715
|
-
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">stream</a>({ ...params }) ->
|
|
715
|
+
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">stream</a>({ ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
716
716
|
<dl>
|
|
717
717
|
<dd>
|
|
718
718
|
|
|
@@ -788,7 +788,7 @@ await client.textToDialogue.stream({
|
|
|
788
788
|
|
|
789
789
|
## SpeechToSpeech
|
|
790
790
|
|
|
791
|
-
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) ->
|
|
791
|
+
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
792
792
|
<dl>
|
|
793
793
|
<dd>
|
|
794
794
|
|
|
@@ -863,7 +863,7 @@ await client.speechToSpeech.convert("JBFqnCBsd6RMkjVDRZzb", {
|
|
|
863
863
|
</dl>
|
|
864
864
|
</details>
|
|
865
865
|
|
|
866
|
-
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">stream</a>(voiceId, { ...params }) ->
|
|
866
|
+
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">stream</a>(voiceId, { ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
867
867
|
<dl>
|
|
868
868
|
<dd>
|
|
869
869
|
|
|
@@ -1072,6 +1072,138 @@ await client.textToVoice.createVoiceFromPreview({
|
|
|
1072
1072
|
</dl>
|
|
1073
1073
|
</details>
|
|
1074
1074
|
|
|
1075
|
+
<details><summary><code>client.textToVoice.<a href="/src/api/resources/textToVoice/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.Voice</code></summary>
|
|
1076
|
+
<dl>
|
|
1077
|
+
<dd>
|
|
1078
|
+
|
|
1079
|
+
#### 📝 Description
|
|
1080
|
+
|
|
1081
|
+
<dl>
|
|
1082
|
+
<dd>
|
|
1083
|
+
|
|
1084
|
+
<dl>
|
|
1085
|
+
<dd>
|
|
1086
|
+
|
|
1087
|
+
Create a voice from previously generated voice preview. This endpoint should be called after you fetched a generated_voice_id using POST /v1/text-to-voice/design or POST /v1/text-to-voice/:voice_id/remix.
|
|
1088
|
+
|
|
1089
|
+
</dd>
|
|
1090
|
+
</dl>
|
|
1091
|
+
</dd>
|
|
1092
|
+
</dl>
|
|
1093
|
+
|
|
1094
|
+
#### 🔌 Usage
|
|
1095
|
+
|
|
1096
|
+
<dl>
|
|
1097
|
+
<dd>
|
|
1098
|
+
|
|
1099
|
+
<dl>
|
|
1100
|
+
<dd>
|
|
1101
|
+
|
|
1102
|
+
```typescript
|
|
1103
|
+
await client.textToVoice.create({
|
|
1104
|
+
voiceName: "Sassy squeaky mouse",
|
|
1105
|
+
voiceDescription: "A sassy squeaky mouse",
|
|
1106
|
+
generatedVoiceId: "37HceQefKmEi3bGovXjL",
|
|
1107
|
+
});
|
|
1108
|
+
```
|
|
1109
|
+
|
|
1110
|
+
</dd>
|
|
1111
|
+
</dl>
|
|
1112
|
+
</dd>
|
|
1113
|
+
</dl>
|
|
1114
|
+
|
|
1115
|
+
#### ⚙️ Parameters
|
|
1116
|
+
|
|
1117
|
+
<dl>
|
|
1118
|
+
<dd>
|
|
1119
|
+
|
|
1120
|
+
<dl>
|
|
1121
|
+
<dd>
|
|
1122
|
+
|
|
1123
|
+
**request:** `ElevenLabs.BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost`
|
|
1124
|
+
|
|
1125
|
+
</dd>
|
|
1126
|
+
</dl>
|
|
1127
|
+
|
|
1128
|
+
<dl>
|
|
1129
|
+
<dd>
|
|
1130
|
+
|
|
1131
|
+
**requestOptions:** `TextToVoice.RequestOptions`
|
|
1132
|
+
|
|
1133
|
+
</dd>
|
|
1134
|
+
</dl>
|
|
1135
|
+
</dd>
|
|
1136
|
+
</dl>
|
|
1137
|
+
|
|
1138
|
+
</dd>
|
|
1139
|
+
</dl>
|
|
1140
|
+
</details>
|
|
1141
|
+
|
|
1142
|
+
<details><summary><code>client.textToVoice.<a href="/src/api/resources/textToVoice/client/Client.ts">design</a>({ ...params }) -> ElevenLabs.VoiceDesignPreviewResponse</code></summary>
|
|
1143
|
+
<dl>
|
|
1144
|
+
<dd>
|
|
1145
|
+
|
|
1146
|
+
#### 📝 Description
|
|
1147
|
+
|
|
1148
|
+
<dl>
|
|
1149
|
+
<dd>
|
|
1150
|
+
|
|
1151
|
+
<dl>
|
|
1152
|
+
<dd>
|
|
1153
|
+
|
|
1154
|
+
Design a voice via a prompt. This method returns a list of voice previews. Each preview has a generated_voice_id and a sample of the voice as base64 encoded mp3 audio. To create a voice use the generated_voice_id of the preferred preview with the /v1/text-to-voice endpoint.
|
|
1155
|
+
|
|
1156
|
+
</dd>
|
|
1157
|
+
</dl>
|
|
1158
|
+
</dd>
|
|
1159
|
+
</dl>
|
|
1160
|
+
|
|
1161
|
+
#### 🔌 Usage
|
|
1162
|
+
|
|
1163
|
+
<dl>
|
|
1164
|
+
<dd>
|
|
1165
|
+
|
|
1166
|
+
<dl>
|
|
1167
|
+
<dd>
|
|
1168
|
+
|
|
1169
|
+
```typescript
|
|
1170
|
+
await client.textToVoice.design({
|
|
1171
|
+
voiceDescription: "A sassy squeaky mouse",
|
|
1172
|
+
});
|
|
1173
|
+
```
|
|
1174
|
+
|
|
1175
|
+
</dd>
|
|
1176
|
+
</dl>
|
|
1177
|
+
</dd>
|
|
1178
|
+
</dl>
|
|
1179
|
+
|
|
1180
|
+
#### ⚙️ Parameters
|
|
1181
|
+
|
|
1182
|
+
<dl>
|
|
1183
|
+
<dd>
|
|
1184
|
+
|
|
1185
|
+
<dl>
|
|
1186
|
+
<dd>
|
|
1187
|
+
|
|
1188
|
+
**request:** `ElevenLabs.VoiceDesignRequestModel`
|
|
1189
|
+
|
|
1190
|
+
</dd>
|
|
1191
|
+
</dl>
|
|
1192
|
+
|
|
1193
|
+
<dl>
|
|
1194
|
+
<dd>
|
|
1195
|
+
|
|
1196
|
+
**requestOptions:** `TextToVoice.RequestOptions`
|
|
1197
|
+
|
|
1198
|
+
</dd>
|
|
1199
|
+
</dl>
|
|
1200
|
+
</dd>
|
|
1201
|
+
</dl>
|
|
1202
|
+
|
|
1203
|
+
</dd>
|
|
1204
|
+
</dl>
|
|
1205
|
+
</details>
|
|
1206
|
+
|
|
1075
1207
|
## User
|
|
1076
1208
|
|
|
1077
1209
|
<details><summary><code>client.user.<a href="/src/api/resources/user/client/Client.ts">get</a>() -> ElevenLabs.User</code></summary>
|
|
@@ -1707,7 +1839,7 @@ Create and auto-convert a podcast project. Currently, the LLM cost is covered by
|
|
|
1707
1839
|
|
|
1708
1840
|
```typescript
|
|
1709
1841
|
await client.studio.createPodcast({
|
|
1710
|
-
modelId: "
|
|
1842
|
+
modelId: "eleven_multilingual_v2",
|
|
1711
1843
|
mode: {
|
|
1712
1844
|
type: "conversation",
|
|
1713
1845
|
conversation: {
|
|
@@ -2535,9 +2667,9 @@ await client.pronunciationDictionaries.list();
|
|
|
2535
2667
|
</dl>
|
|
2536
2668
|
</details>
|
|
2537
2669
|
|
|
2538
|
-
##
|
|
2670
|
+
## Workspace
|
|
2539
2671
|
|
|
2540
|
-
<details><summary><code>client.
|
|
2672
|
+
<details><summary><code>client.workspace.<a href="/src/api/resources/workspace/client/Client.ts">updateUserAutoProvisioning</a>({ ...params }) -> unknown</code></summary>
|
|
2541
2673
|
<dl>
|
|
2542
2674
|
<dd>
|
|
2543
2675
|
|
|
@@ -2549,7 +2681,7 @@ await client.pronunciationDictionaries.list();
|
|
|
2549
2681
|
<dl>
|
|
2550
2682
|
<dd>
|
|
2551
2683
|
|
|
2552
|
-
|
|
2684
|
+
Update user auto provisioning settings for the workspace.
|
|
2553
2685
|
|
|
2554
2686
|
</dd>
|
|
2555
2687
|
</dl>
|
|
@@ -2565,8 +2697,8 @@ Transcribe an audio or video file. If webhook is set to true, the request will b
|
|
|
2565
2697
|
<dd>
|
|
2566
2698
|
|
|
2567
2699
|
```typescript
|
|
2568
|
-
await client.
|
|
2569
|
-
|
|
2700
|
+
await client.workspace.updateUserAutoProvisioning({
|
|
2701
|
+
enabled: true,
|
|
2570
2702
|
});
|
|
2571
2703
|
```
|
|
2572
2704
|
|
|
@@ -2583,7 +2715,7 @@ await client.speechToText.convert({
|
|
|
2583
2715
|
<dl>
|
|
2584
2716
|
<dd>
|
|
2585
2717
|
|
|
2586
|
-
**request:** `ElevenLabs.
|
|
2718
|
+
**request:** `ElevenLabs.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost`
|
|
2587
2719
|
|
|
2588
2720
|
</dd>
|
|
2589
2721
|
</dl>
|
|
@@ -2591,7 +2723,7 @@ await client.speechToText.convert({
|
|
|
2591
2723
|
<dl>
|
|
2592
2724
|
<dd>
|
|
2593
2725
|
|
|
2594
|
-
**requestOptions:** `
|
|
2726
|
+
**requestOptions:** `Workspace.RequestOptions`
|
|
2595
2727
|
|
|
2596
2728
|
</dd>
|
|
2597
2729
|
</dl>
|
|
@@ -2602,9 +2734,7 @@ await client.speechToText.convert({
|
|
|
2602
2734
|
</dl>
|
|
2603
2735
|
</details>
|
|
2604
2736
|
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
<details><summary><code>client.forcedAlignment.<a href="/src/api/resources/forcedAlignment/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.ForcedAlignmentResponseModel</code></summary>
|
|
2737
|
+
<details><summary><code>client.workspace.<a href="/src/api/resources/workspace/client/Client.ts">getDefaultSharingPreferences</a>() -> ElevenLabs.DefaultSharingPreferencesResponseModel</code></summary>
|
|
2608
2738
|
<dl>
|
|
2609
2739
|
<dd>
|
|
2610
2740
|
|
|
@@ -2616,7 +2746,7 @@ await client.speechToText.convert({
|
|
|
2616
2746
|
<dl>
|
|
2617
2747
|
<dd>
|
|
2618
2748
|
|
|
2619
|
-
|
|
2749
|
+
Get the user's default sharing preferences.
|
|
2620
2750
|
|
|
2621
2751
|
</dd>
|
|
2622
2752
|
</dl>
|
|
@@ -2632,10 +2762,7 @@ Force align an audio file to text. Use this endpoint to get the timing informati
|
|
|
2632
2762
|
<dd>
|
|
2633
2763
|
|
|
2634
2764
|
```typescript
|
|
2635
|
-
await client.
|
|
2636
|
-
file: fs.createReadStream("/path/to/your/file"),
|
|
2637
|
-
text: "text",
|
|
2638
|
-
});
|
|
2765
|
+
await client.workspace.getDefaultSharingPreferences();
|
|
2639
2766
|
```
|
|
2640
2767
|
|
|
2641
2768
|
</dd>
|
|
@@ -2651,15 +2778,7 @@ await client.forcedAlignment.create({
|
|
|
2651
2778
|
<dl>
|
|
2652
2779
|
<dd>
|
|
2653
2780
|
|
|
2654
|
-
**
|
|
2655
|
-
|
|
2656
|
-
</dd>
|
|
2657
|
-
</dl>
|
|
2658
|
-
|
|
2659
|
-
<dl>
|
|
2660
|
-
<dd>
|
|
2661
|
-
|
|
2662
|
-
**requestOptions:** `ForcedAlignment.RequestOptions`
|
|
2781
|
+
**requestOptions:** `Workspace.RequestOptions`
|
|
2663
2782
|
|
|
2664
2783
|
</dd>
|
|
2665
2784
|
</dl>
|
|
@@ -2670,9 +2789,7 @@ await client.forcedAlignment.create({
|
|
|
2670
2789
|
</dl>
|
|
2671
2790
|
</details>
|
|
2672
2791
|
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">addToKnowledgeBase</a>({ ...params }) -> ElevenLabs.AddKnowledgeBaseResponseModel</code></summary>
|
|
2792
|
+
<details><summary><code>client.workspace.<a href="/src/api/resources/workspace/client/Client.ts">updateDefaultSharingPreferences</a>({ ...params }) -> unknown</code></summary>
|
|
2676
2793
|
<dl>
|
|
2677
2794
|
<dd>
|
|
2678
2795
|
|
|
@@ -2684,7 +2801,7 @@ await client.forcedAlignment.create({
|
|
|
2684
2801
|
<dl>
|
|
2685
2802
|
<dd>
|
|
2686
2803
|
|
|
2687
|
-
|
|
2804
|
+
Update the user's default sharing preferences.
|
|
2688
2805
|
|
|
2689
2806
|
</dd>
|
|
2690
2807
|
</dl>
|
|
@@ -2700,7 +2817,9 @@ Upload a file or webpage URL to create a knowledge base document. <br> <Note> Af
|
|
|
2700
2817
|
<dd>
|
|
2701
2818
|
|
|
2702
2819
|
```typescript
|
|
2703
|
-
await client.
|
|
2820
|
+
await client.workspace.updateDefaultSharingPreferences({
|
|
2821
|
+
defaultSharingGroups: ["default_sharing_groups"],
|
|
2822
|
+
});
|
|
2704
2823
|
```
|
|
2705
2824
|
|
|
2706
2825
|
</dd>
|
|
@@ -2716,7 +2835,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2716
2835
|
<dl>
|
|
2717
2836
|
<dd>
|
|
2718
2837
|
|
|
2719
|
-
**request:** `ElevenLabs.
|
|
2838
|
+
**request:** `ElevenLabs.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost`
|
|
2720
2839
|
|
|
2721
2840
|
</dd>
|
|
2722
2841
|
</dl>
|
|
@@ -2724,7 +2843,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2724
2843
|
<dl>
|
|
2725
2844
|
<dd>
|
|
2726
2845
|
|
|
2727
|
-
**requestOptions:** `
|
|
2846
|
+
**requestOptions:** `Workspace.RequestOptions`
|
|
2728
2847
|
|
|
2729
2848
|
</dd>
|
|
2730
2849
|
</dl>
|
|
@@ -2735,7 +2854,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2735
2854
|
</dl>
|
|
2736
2855
|
</details>
|
|
2737
2856
|
|
|
2738
|
-
<details><summary><code>client.
|
|
2857
|
+
<details><summary><code>client.workspace.<a href="/src/api/resources/workspace/client/Client.ts">getShareOptions</a>() -> ElevenLabs.ShareOptionResponseModel[]</code></summary>
|
|
2739
2858
|
<dl>
|
|
2740
2859
|
<dd>
|
|
2741
2860
|
|
|
@@ -2747,7 +2866,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2747
2866
|
<dl>
|
|
2748
2867
|
<dd>
|
|
2749
2868
|
|
|
2750
|
-
|
|
2869
|
+
Get the share options for a workspace.
|
|
2751
2870
|
|
|
2752
2871
|
</dd>
|
|
2753
2872
|
</dl>
|
|
@@ -2763,7 +2882,7 @@ Provides information about all RAG indexes of the specified knowledgebase docume
|
|
|
2763
2882
|
<dd>
|
|
2764
2883
|
|
|
2765
2884
|
```typescript
|
|
2766
|
-
await client.
|
|
2885
|
+
await client.workspace.getShareOptions();
|
|
2767
2886
|
```
|
|
2768
2887
|
|
|
2769
2888
|
</dd>
|
|
@@ -2779,15 +2898,7 @@ await client.conversationalAi.getDocumentRagIndexes("21m00Tcm4TlvDq8ikWAM");
|
|
|
2779
2898
|
<dl>
|
|
2780
2899
|
<dd>
|
|
2781
2900
|
|
|
2782
|
-
**
|
|
2783
|
-
|
|
2784
|
-
</dd>
|
|
2785
|
-
</dl>
|
|
2786
|
-
|
|
2787
|
-
<dl>
|
|
2788
|
-
<dd>
|
|
2789
|
-
|
|
2790
|
-
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2901
|
+
**requestOptions:** `Workspace.RequestOptions`
|
|
2791
2902
|
|
|
2792
2903
|
</dd>
|
|
2793
2904
|
</dl>
|
|
@@ -2798,7 +2909,9 @@ await client.conversationalAi.getDocumentRagIndexes("21m00Tcm4TlvDq8ikWAM");
|
|
|
2798
2909
|
</dl>
|
|
2799
2910
|
</details>
|
|
2800
2911
|
|
|
2801
|
-
|
|
2912
|
+
## Webhooks
|
|
2913
|
+
|
|
2914
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.WorkspaceWebhookListResponseModel</code></summary>
|
|
2802
2915
|
<dl>
|
|
2803
2916
|
<dd>
|
|
2804
2917
|
|
|
@@ -2810,7 +2923,7 @@ await client.conversationalAi.getDocumentRagIndexes("21m00Tcm4TlvDq8ikWAM");
|
|
|
2810
2923
|
<dl>
|
|
2811
2924
|
<dd>
|
|
2812
2925
|
|
|
2813
|
-
|
|
2926
|
+
List all webhooks for a workspace
|
|
2814
2927
|
|
|
2815
2928
|
</dd>
|
|
2816
2929
|
</dl>
|
|
@@ -2826,7 +2939,9 @@ Delete RAG index for the knowledgebase document.
|
|
|
2826
2939
|
<dd>
|
|
2827
2940
|
|
|
2828
2941
|
```typescript
|
|
2829
|
-
await client.
|
|
2942
|
+
await client.webhooks.list({
|
|
2943
|
+
includeUsages: false,
|
|
2944
|
+
});
|
|
2830
2945
|
```
|
|
2831
2946
|
|
|
2832
2947
|
</dd>
|
|
@@ -2842,15 +2957,7 @@ await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21
|
|
|
2842
2957
|
<dl>
|
|
2843
2958
|
<dd>
|
|
2844
2959
|
|
|
2845
|
-
**
|
|
2846
|
-
|
|
2847
|
-
</dd>
|
|
2848
|
-
</dl>
|
|
2849
|
-
|
|
2850
|
-
<dl>
|
|
2851
|
-
<dd>
|
|
2852
|
-
|
|
2853
|
-
**ragIndexId:** `string` — The id of RAG index of document from the knowledge base.
|
|
2960
|
+
**request:** `ElevenLabs.WebhooksListRequest`
|
|
2854
2961
|
|
|
2855
2962
|
</dd>
|
|
2856
2963
|
</dl>
|
|
@@ -2858,7 +2965,7 @@ await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21
|
|
|
2858
2965
|
<dl>
|
|
2859
2966
|
<dd>
|
|
2860
2967
|
|
|
2861
|
-
**requestOptions:** `
|
|
2968
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
2862
2969
|
|
|
2863
2970
|
</dd>
|
|
2864
2971
|
</dl>
|
|
@@ -2869,7 +2976,9 @@ await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21
|
|
|
2869
2976
|
</dl>
|
|
2870
2977
|
</details>
|
|
2871
2978
|
|
|
2872
|
-
|
|
2979
|
+
## SpeechToText
|
|
2980
|
+
|
|
2981
|
+
<details><summary><code>client.speechToText.<a href="/src/api/resources/speechToText/client/Client.ts">convert</a>({ ...params }) -> ElevenLabs.SpeechToTextChunkResponseModel</code></summary>
|
|
2873
2982
|
<dl>
|
|
2874
2983
|
<dd>
|
|
2875
2984
|
|
|
@@ -2881,7 +2990,7 @@ await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21
|
|
|
2881
2990
|
<dl>
|
|
2882
2991
|
<dd>
|
|
2883
2992
|
|
|
2884
|
-
|
|
2993
|
+
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks.
|
|
2885
2994
|
|
|
2886
2995
|
</dd>
|
|
2887
2996
|
</dl>
|
|
@@ -2897,7 +3006,9 @@ Provides total size and other information of RAG indexes used by knowledgebase d
|
|
|
2897
3006
|
<dd>
|
|
2898
3007
|
|
|
2899
3008
|
```typescript
|
|
2900
|
-
await client.
|
|
3009
|
+
await client.speechToText.convert({
|
|
3010
|
+
modelId: "model_id",
|
|
3011
|
+
});
|
|
2901
3012
|
```
|
|
2902
3013
|
|
|
2903
3014
|
</dd>
|
|
@@ -2913,7 +3024,15 @@ await client.conversationalAi.ragIndexOverview();
|
|
|
2913
3024
|
<dl>
|
|
2914
3025
|
<dd>
|
|
2915
3026
|
|
|
2916
|
-
**
|
|
3027
|
+
**request:** `ElevenLabs.BodySpeechToTextV1SpeechToTextPost`
|
|
3028
|
+
|
|
3029
|
+
</dd>
|
|
3030
|
+
</dl>
|
|
3031
|
+
|
|
3032
|
+
<dl>
|
|
3033
|
+
<dd>
|
|
3034
|
+
|
|
3035
|
+
**requestOptions:** `SpeechToText.RequestOptions`
|
|
2917
3036
|
|
|
2918
3037
|
</dd>
|
|
2919
3038
|
</dl>
|
|
@@ -2924,7 +3043,9 @@ await client.conversationalAi.ragIndexOverview();
|
|
|
2924
3043
|
</dl>
|
|
2925
3044
|
</details>
|
|
2926
3045
|
|
|
2927
|
-
|
|
3046
|
+
## ForcedAlignment
|
|
3047
|
+
|
|
3048
|
+
<details><summary><code>client.forcedAlignment.<a href="/src/api/resources/forcedAlignment/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.ForcedAlignmentResponseModel</code></summary>
|
|
2928
3049
|
<dl>
|
|
2929
3050
|
<dd>
|
|
2930
3051
|
|
|
@@ -2936,7 +3057,7 @@ await client.conversationalAi.ragIndexOverview();
|
|
|
2936
3057
|
<dl>
|
|
2937
3058
|
<dd>
|
|
2938
3059
|
|
|
2939
|
-
|
|
3060
|
+
Force align an audio file to text. Use this endpoint to get the timing information for each character and word in an audio file based on a provided text transcript.
|
|
2940
3061
|
|
|
2941
3062
|
</dd>
|
|
2942
3063
|
</dl>
|
|
@@ -2952,9 +3073,9 @@ Update an existing secret for the workspace
|
|
|
2952
3073
|
<dd>
|
|
2953
3074
|
|
|
2954
3075
|
```typescript
|
|
2955
|
-
await client.
|
|
2956
|
-
|
|
2957
|
-
|
|
3076
|
+
await client.forcedAlignment.create({
|
|
3077
|
+
file: fs.createReadStream("/path/to/your/file"),
|
|
3078
|
+
text: "text",
|
|
2958
3079
|
});
|
|
2959
3080
|
```
|
|
2960
3081
|
|
|
@@ -2971,15 +3092,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2971
3092
|
<dl>
|
|
2972
3093
|
<dd>
|
|
2973
3094
|
|
|
2974
|
-
**
|
|
2975
|
-
|
|
2976
|
-
</dd>
|
|
2977
|
-
</dl>
|
|
2978
|
-
|
|
2979
|
-
<dl>
|
|
2980
|
-
<dd>
|
|
2981
|
-
|
|
2982
|
-
**request:** `ElevenLabs.PatchWorkspaceSecretRequest`
|
|
3095
|
+
**request:** `ElevenLabs.BodyCreateForcedAlignmentV1ForcedAlignmentPost`
|
|
2983
3096
|
|
|
2984
3097
|
</dd>
|
|
2985
3098
|
</dl>
|
|
@@ -2987,7 +3100,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2987
3100
|
<dl>
|
|
2988
3101
|
<dd>
|
|
2989
3102
|
|
|
2990
|
-
**requestOptions:** `
|
|
3103
|
+
**requestOptions:** `ForcedAlignment.RequestOptions`
|
|
2991
3104
|
|
|
2992
3105
|
</dd>
|
|
2993
3106
|
</dl>
|
|
@@ -2998,9 +3111,9 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2998
3111
|
</dl>
|
|
2999
3112
|
</details>
|
|
3000
3113
|
|
|
3001
|
-
## ConversationalAi
|
|
3114
|
+
## ConversationalAi
|
|
3002
3115
|
|
|
3003
|
-
<details><summary><code>client.conversationalAi
|
|
3116
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">addToKnowledgeBase</a>({ ...params }) -> ElevenLabs.AddKnowledgeBaseResponseModel</code></summary>
|
|
3004
3117
|
<dl>
|
|
3005
3118
|
<dd>
|
|
3006
3119
|
|
|
@@ -3012,7 +3125,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
3012
3125
|
<dl>
|
|
3013
3126
|
<dd>
|
|
3014
3127
|
|
|
3015
|
-
|
|
3128
|
+
Upload a file or webpage URL to create a knowledge base document. <br> <Note> After creating the document, update the agent's knowledge base by calling [Update agent](/docs/conversational-ai/api-reference/agents/update-agent). </Note>
|
|
3016
3129
|
|
|
3017
3130
|
</dd>
|
|
3018
3131
|
</dl>
|
|
@@ -3028,9 +3141,7 @@ Get a signed url to start a conversation with an agent with an agent that requir
|
|
|
3028
3141
|
<dd>
|
|
3029
3142
|
|
|
3030
3143
|
```typescript
|
|
3031
|
-
await client.conversationalAi.
|
|
3032
|
-
agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
3033
|
-
});
|
|
3144
|
+
await client.conversationalAi.addToKnowledgeBase({});
|
|
3034
3145
|
```
|
|
3035
3146
|
|
|
3036
3147
|
</dd>
|
|
@@ -3046,7 +3157,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
3046
3157
|
<dl>
|
|
3047
3158
|
<dd>
|
|
3048
3159
|
|
|
3049
|
-
**request:** `ElevenLabs.
|
|
3160
|
+
**request:** `ElevenLabs.BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost`
|
|
3050
3161
|
|
|
3051
3162
|
</dd>
|
|
3052
3163
|
</dl>
|
|
@@ -3054,7 +3165,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
3054
3165
|
<dl>
|
|
3055
3166
|
<dd>
|
|
3056
3167
|
|
|
3057
|
-
**requestOptions:** `
|
|
3168
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
3058
3169
|
|
|
3059
3170
|
</dd>
|
|
3060
3171
|
</dl>
|
|
@@ -3065,7 +3176,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
3065
3176
|
</dl>
|
|
3066
3177
|
</details>
|
|
3067
3178
|
|
|
3068
|
-
<details><summary><code>client.conversationalAi
|
|
3179
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">getDocumentRagIndexes</a>(documentationId) -> ElevenLabs.RagDocumentIndexesResponseModel</code></summary>
|
|
3069
3180
|
<dl>
|
|
3070
3181
|
<dd>
|
|
3071
3182
|
|
|
@@ -3077,7 +3188,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
3077
3188
|
<dl>
|
|
3078
3189
|
<dd>
|
|
3079
3190
|
|
|
3080
|
-
|
|
3191
|
+
Provides information about all RAG indexes of the specified knowledgebase document.
|
|
3081
3192
|
|
|
3082
3193
|
</dd>
|
|
3083
3194
|
</dl>
|
|
@@ -3093,7 +3204,7 @@ Get all conversations of agents that user owns. With option to restrict to a spe
|
|
|
3093
3204
|
<dd>
|
|
3094
3205
|
|
|
3095
3206
|
```typescript
|
|
3096
|
-
await client.conversationalAi.
|
|
3207
|
+
await client.conversationalAi.getDocumentRagIndexes("21m00Tcm4TlvDq8ikWAM");
|
|
3097
3208
|
```
|
|
3098
3209
|
|
|
3099
3210
|
</dd>
|
|
@@ -3109,7 +3220,7 @@ await client.conversationalAi.conversations.list();
|
|
|
3109
3220
|
<dl>
|
|
3110
3221
|
<dd>
|
|
3111
3222
|
|
|
3112
|
-
**
|
|
3223
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
3113
3224
|
|
|
3114
3225
|
</dd>
|
|
3115
3226
|
</dl>
|
|
@@ -3117,7 +3228,7 @@ await client.conversationalAi.conversations.list();
|
|
|
3117
3228
|
<dl>
|
|
3118
3229
|
<dd>
|
|
3119
3230
|
|
|
3120
|
-
**requestOptions:** `
|
|
3231
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
3121
3232
|
|
|
3122
3233
|
</dd>
|
|
3123
3234
|
</dl>
|
|
@@ -3128,7 +3239,7 @@ await client.conversationalAi.conversations.list();
|
|
|
3128
3239
|
</dl>
|
|
3129
3240
|
</details>
|
|
3130
3241
|
|
|
3131
|
-
<details><summary><code>client.conversationalAi
|
|
3242
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">deleteDocumentRagIndex</a>(documentationId, ragIndexId) -> ElevenLabs.RagDocumentIndexResponseModel</code></summary>
|
|
3132
3243
|
<dl>
|
|
3133
3244
|
<dd>
|
|
3134
3245
|
|
|
@@ -3140,7 +3251,7 @@ await client.conversationalAi.conversations.list();
|
|
|
3140
3251
|
<dl>
|
|
3141
3252
|
<dd>
|
|
3142
3253
|
|
|
3143
|
-
|
|
3254
|
+
Delete RAG index for the knowledgebase document.
|
|
3144
3255
|
|
|
3145
3256
|
</dd>
|
|
3146
3257
|
</dl>
|
|
@@ -3156,7 +3267,7 @@ Get the details of a particular conversation
|
|
|
3156
3267
|
<dd>
|
|
3157
3268
|
|
|
3158
3269
|
```typescript
|
|
3159
|
-
await client.conversationalAi.
|
|
3270
|
+
await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM");
|
|
3160
3271
|
```
|
|
3161
3272
|
|
|
3162
3273
|
</dd>
|
|
@@ -3172,7 +3283,7 @@ await client.conversationalAi.conversations.get("123");
|
|
|
3172
3283
|
<dl>
|
|
3173
3284
|
<dd>
|
|
3174
3285
|
|
|
3175
|
-
**
|
|
3286
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
3176
3287
|
|
|
3177
3288
|
</dd>
|
|
3178
3289
|
</dl>
|
|
@@ -3180,7 +3291,15 @@ await client.conversationalAi.conversations.get("123");
|
|
|
3180
3291
|
<dl>
|
|
3181
3292
|
<dd>
|
|
3182
3293
|
|
|
3183
|
-
**
|
|
3294
|
+
**ragIndexId:** `string` — The id of RAG index of document from the knowledge base.
|
|
3295
|
+
|
|
3296
|
+
</dd>
|
|
3297
|
+
</dl>
|
|
3298
|
+
|
|
3299
|
+
<dl>
|
|
3300
|
+
<dd>
|
|
3301
|
+
|
|
3302
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
3184
3303
|
|
|
3185
3304
|
</dd>
|
|
3186
3305
|
</dl>
|
|
@@ -3191,7 +3310,7 @@ await client.conversationalAi.conversations.get("123");
|
|
|
3191
3310
|
</dl>
|
|
3192
3311
|
</details>
|
|
3193
3312
|
|
|
3194
|
-
<details><summary><code>client.conversationalAi
|
|
3313
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">ragIndexOverview</a>() -> ElevenLabs.RagIndexOverviewResponseModel</code></summary>
|
|
3195
3314
|
<dl>
|
|
3196
3315
|
<dd>
|
|
3197
3316
|
|
|
@@ -3203,7 +3322,7 @@ await client.conversationalAi.conversations.get("123");
|
|
|
3203
3322
|
<dl>
|
|
3204
3323
|
<dd>
|
|
3205
3324
|
|
|
3206
|
-
|
|
3325
|
+
Provides total size and other information of RAG indexes used by knowledgebase documents
|
|
3207
3326
|
|
|
3208
3327
|
</dd>
|
|
3209
3328
|
</dl>
|
|
@@ -3219,7 +3338,7 @@ Delete a particular conversation
|
|
|
3219
3338
|
<dd>
|
|
3220
3339
|
|
|
3221
3340
|
```typescript
|
|
3222
|
-
await client.conversationalAi.
|
|
3341
|
+
await client.conversationalAi.ragIndexOverview();
|
|
3223
3342
|
```
|
|
3224
3343
|
|
|
3225
3344
|
</dd>
|
|
@@ -3235,15 +3354,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3235
3354
|
<dl>
|
|
3236
3355
|
<dd>
|
|
3237
3356
|
|
|
3238
|
-
**
|
|
3239
|
-
|
|
3240
|
-
</dd>
|
|
3241
|
-
</dl>
|
|
3242
|
-
|
|
3243
|
-
<dl>
|
|
3244
|
-
<dd>
|
|
3245
|
-
|
|
3246
|
-
**requestOptions:** `Conversations.RequestOptions`
|
|
3357
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
3247
3358
|
|
|
3248
3359
|
</dd>
|
|
3249
3360
|
</dl>
|
|
@@ -3254,9 +3365,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3254
3365
|
</dl>
|
|
3255
3366
|
</details>
|
|
3256
3367
|
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
<details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.TwilioOutboundCallResponse</code></summary>
|
|
3368
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">updateSecret</a>(secretId, { ...params }) -> ElevenLabs.PostWorkspaceSecretResponseModel</code></summary>
|
|
3260
3369
|
<dl>
|
|
3261
3370
|
<dd>
|
|
3262
3371
|
|
|
@@ -3268,7 +3377,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3268
3377
|
<dl>
|
|
3269
3378
|
<dd>
|
|
3270
3379
|
|
|
3271
|
-
|
|
3380
|
+
Update an existing secret for the workspace
|
|
3272
3381
|
|
|
3273
3382
|
</dd>
|
|
3274
3383
|
</dl>
|
|
@@ -3284,10 +3393,9 @@ Handle an outbound call via Twilio
|
|
|
3284
3393
|
<dd>
|
|
3285
3394
|
|
|
3286
3395
|
```typescript
|
|
3287
|
-
await client.conversationalAi.
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
toNumber: "to_number",
|
|
3396
|
+
await client.conversationalAi.updateSecret("secret_id", {
|
|
3397
|
+
name: "name",
|
|
3398
|
+
value: "value",
|
|
3291
3399
|
});
|
|
3292
3400
|
```
|
|
3293
3401
|
|
|
@@ -3304,7 +3412,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
3304
3412
|
<dl>
|
|
3305
3413
|
<dd>
|
|
3306
3414
|
|
|
3307
|
-
**
|
|
3415
|
+
**secretId:** `string`
|
|
3308
3416
|
|
|
3309
3417
|
</dd>
|
|
3310
3418
|
</dl>
|
|
@@ -3312,7 +3420,15 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
3312
3420
|
<dl>
|
|
3313
3421
|
<dd>
|
|
3314
3422
|
|
|
3315
|
-
**
|
|
3423
|
+
**request:** `ElevenLabs.PatchWorkspaceSecretRequest`
|
|
3424
|
+
|
|
3425
|
+
</dd>
|
|
3426
|
+
</dl>
|
|
3427
|
+
|
|
3428
|
+
<dl>
|
|
3429
|
+
<dd>
|
|
3430
|
+
|
|
3431
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
3316
3432
|
|
|
3317
3433
|
</dd>
|
|
3318
3434
|
</dl>
|
|
@@ -3323,9 +3439,9 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
3323
3439
|
</dl>
|
|
3324
3440
|
</details>
|
|
3325
3441
|
|
|
3326
|
-
## ConversationalAi
|
|
3442
|
+
## ConversationalAi Conversations
|
|
3327
3443
|
|
|
3328
|
-
<details><summary><code>client.conversationalAi.
|
|
3444
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">getSignedUrl</a>({ ...params }) -> ElevenLabs.ConversationSignedUrlResponseModel</code></summary>
|
|
3329
3445
|
<dl>
|
|
3330
3446
|
<dd>
|
|
3331
3447
|
|
|
@@ -3337,7 +3453,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
3337
3453
|
<dl>
|
|
3338
3454
|
<dd>
|
|
3339
3455
|
|
|
3340
|
-
|
|
3456
|
+
Get a signed url to start a conversation with an agent with an agent that requires authorization
|
|
3341
3457
|
|
|
3342
3458
|
</dd>
|
|
3343
3459
|
</dl>
|
|
@@ -3353,8 +3469,8 @@ Create an agent from a config object
|
|
|
3353
3469
|
<dd>
|
|
3354
3470
|
|
|
3355
3471
|
```typescript
|
|
3356
|
-
await client.conversationalAi.
|
|
3357
|
-
|
|
3472
|
+
await client.conversationalAi.conversations.getSignedUrl({
|
|
3473
|
+
agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
3358
3474
|
});
|
|
3359
3475
|
```
|
|
3360
3476
|
|
|
@@ -3371,7 +3487,7 @@ await client.conversationalAi.agents.create({
|
|
|
3371
3487
|
<dl>
|
|
3372
3488
|
<dd>
|
|
3373
3489
|
|
|
3374
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
3490
|
+
**request:** `ElevenLabs.conversationalAi.ConversationsGetSignedUrlRequest`
|
|
3375
3491
|
|
|
3376
3492
|
</dd>
|
|
3377
3493
|
</dl>
|
|
@@ -3379,7 +3495,7 @@ await client.conversationalAi.agents.create({
|
|
|
3379
3495
|
<dl>
|
|
3380
3496
|
<dd>
|
|
3381
3497
|
|
|
3382
|
-
**requestOptions:** `
|
|
3498
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3383
3499
|
|
|
3384
3500
|
</dd>
|
|
3385
3501
|
</dl>
|
|
@@ -3390,7 +3506,7 @@ await client.conversationalAi.agents.create({
|
|
|
3390
3506
|
</dl>
|
|
3391
3507
|
</details>
|
|
3392
3508
|
|
|
3393
|
-
<details><summary><code>client.conversationalAi.
|
|
3509
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetConversationsPageResponseModel</code></summary>
|
|
3394
3510
|
<dl>
|
|
3395
3511
|
<dd>
|
|
3396
3512
|
|
|
@@ -3402,7 +3518,7 @@ await client.conversationalAi.agents.create({
|
|
|
3402
3518
|
<dl>
|
|
3403
3519
|
<dd>
|
|
3404
3520
|
|
|
3405
|
-
|
|
3521
|
+
Get all conversations of agents that user owns. With option to restrict to a specific agent.
|
|
3406
3522
|
|
|
3407
3523
|
</dd>
|
|
3408
3524
|
</dl>
|
|
@@ -3418,7 +3534,7 @@ Retrieve config for an agent
|
|
|
3418
3534
|
<dd>
|
|
3419
3535
|
|
|
3420
3536
|
```typescript
|
|
3421
|
-
await client.conversationalAi.
|
|
3537
|
+
await client.conversationalAi.conversations.list();
|
|
3422
3538
|
```
|
|
3423
3539
|
|
|
3424
3540
|
</dd>
|
|
@@ -3434,7 +3550,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3434
3550
|
<dl>
|
|
3435
3551
|
<dd>
|
|
3436
3552
|
|
|
3437
|
-
**
|
|
3553
|
+
**request:** `ElevenLabs.conversationalAi.ConversationsListRequest`
|
|
3438
3554
|
|
|
3439
3555
|
</dd>
|
|
3440
3556
|
</dl>
|
|
@@ -3442,7 +3558,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3442
3558
|
<dl>
|
|
3443
3559
|
<dd>
|
|
3444
3560
|
|
|
3445
|
-
**requestOptions:** `
|
|
3561
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3446
3562
|
|
|
3447
3563
|
</dd>
|
|
3448
3564
|
</dl>
|
|
@@ -3453,7 +3569,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3453
3569
|
</dl>
|
|
3454
3570
|
</details>
|
|
3455
3571
|
|
|
3456
|
-
<details><summary><code>client.conversationalAi.
|
|
3572
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">get</a>(conversationId) -> ElevenLabs.GetConversationResponseModel</code></summary>
|
|
3457
3573
|
<dl>
|
|
3458
3574
|
<dd>
|
|
3459
3575
|
|
|
@@ -3465,7 +3581,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3465
3581
|
<dl>
|
|
3466
3582
|
<dd>
|
|
3467
3583
|
|
|
3468
|
-
|
|
3584
|
+
Get the details of a particular conversation
|
|
3469
3585
|
|
|
3470
3586
|
</dd>
|
|
3471
3587
|
</dl>
|
|
@@ -3481,7 +3597,7 @@ Delete an agent
|
|
|
3481
3597
|
<dd>
|
|
3482
3598
|
|
|
3483
3599
|
```typescript
|
|
3484
|
-
await client.conversationalAi.
|
|
3600
|
+
await client.conversationalAi.conversations.get("123");
|
|
3485
3601
|
```
|
|
3486
3602
|
|
|
3487
3603
|
</dd>
|
|
@@ -3497,7 +3613,7 @@ await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3497
3613
|
<dl>
|
|
3498
3614
|
<dd>
|
|
3499
3615
|
|
|
3500
|
-
**
|
|
3616
|
+
**conversationId:** `string` — The id of the conversation you're taking the action on.
|
|
3501
3617
|
|
|
3502
3618
|
</dd>
|
|
3503
3619
|
</dl>
|
|
@@ -3505,7 +3621,7 @@ await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3505
3621
|
<dl>
|
|
3506
3622
|
<dd>
|
|
3507
3623
|
|
|
3508
|
-
**requestOptions:** `
|
|
3624
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3509
3625
|
|
|
3510
3626
|
</dd>
|
|
3511
3627
|
</dl>
|
|
@@ -3516,7 +3632,7 @@ await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3516
3632
|
</dl>
|
|
3517
3633
|
</details>
|
|
3518
3634
|
|
|
3519
|
-
<details><summary><code>client.conversationalAi.
|
|
3635
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">delete</a>(conversationId) -> unknown</code></summary>
|
|
3520
3636
|
<dl>
|
|
3521
3637
|
<dd>
|
|
3522
3638
|
|
|
@@ -3528,7 +3644,7 @@ await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3528
3644
|
<dl>
|
|
3529
3645
|
<dd>
|
|
3530
3646
|
|
|
3531
|
-
|
|
3647
|
+
Delete a particular conversation
|
|
3532
3648
|
|
|
3533
3649
|
</dd>
|
|
3534
3650
|
</dl>
|
|
@@ -3544,7 +3660,7 @@ Patches an Agent settings
|
|
|
3544
3660
|
<dd>
|
|
3545
3661
|
|
|
3546
3662
|
```typescript
|
|
3547
|
-
await client.conversationalAi.
|
|
3663
|
+
await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
3548
3664
|
```
|
|
3549
3665
|
|
|
3550
3666
|
</dd>
|
|
@@ -3560,15 +3676,7 @@ await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
|
3560
3676
|
<dl>
|
|
3561
3677
|
<dd>
|
|
3562
3678
|
|
|
3563
|
-
**
|
|
3564
|
-
|
|
3565
|
-
</dd>
|
|
3566
|
-
</dl>
|
|
3567
|
-
|
|
3568
|
-
<dl>
|
|
3569
|
-
<dd>
|
|
3570
|
-
|
|
3571
|
-
**request:** `ElevenLabs.conversationalAi.UpdateAgentRequest`
|
|
3679
|
+
**conversationId:** `string` — The id of the conversation you're taking the action on.
|
|
3572
3680
|
|
|
3573
3681
|
</dd>
|
|
3574
3682
|
</dl>
|
|
@@ -3576,7 +3684,7 @@ await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
|
3576
3684
|
<dl>
|
|
3577
3685
|
<dd>
|
|
3578
3686
|
|
|
3579
|
-
**requestOptions:** `
|
|
3687
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3580
3688
|
|
|
3581
3689
|
</dd>
|
|
3582
3690
|
</dl>
|
|
@@ -3587,7 +3695,9 @@ await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
|
3587
3695
|
</dl>
|
|
3588
3696
|
</details>
|
|
3589
3697
|
|
|
3590
|
-
|
|
3698
|
+
## ConversationalAi Twilio
|
|
3699
|
+
|
|
3700
|
+
<details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.TwilioOutboundCallResponse</code></summary>
|
|
3591
3701
|
<dl>
|
|
3592
3702
|
<dd>
|
|
3593
3703
|
|
|
@@ -3599,7 +3709,7 @@ await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
|
3599
3709
|
<dl>
|
|
3600
3710
|
<dd>
|
|
3601
3711
|
|
|
3602
|
-
|
|
3712
|
+
Handle an outbound call via Twilio
|
|
3603
3713
|
|
|
3604
3714
|
</dd>
|
|
3605
3715
|
</dl>
|
|
@@ -3615,7 +3725,11 @@ Returns a list of your agents and their metadata.
|
|
|
3615
3725
|
<dd>
|
|
3616
3726
|
|
|
3617
3727
|
```typescript
|
|
3618
|
-
await client.conversationalAi.
|
|
3728
|
+
await client.conversationalAi.twilio.outboundCall({
|
|
3729
|
+
agentId: "agent_id",
|
|
3730
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
3731
|
+
toNumber: "to_number",
|
|
3732
|
+
});
|
|
3619
3733
|
```
|
|
3620
3734
|
|
|
3621
3735
|
</dd>
|
|
@@ -3631,7 +3745,7 @@ await client.conversationalAi.agents.list();
|
|
|
3631
3745
|
<dl>
|
|
3632
3746
|
<dd>
|
|
3633
3747
|
|
|
3634
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
3748
|
+
**request:** `ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost`
|
|
3635
3749
|
|
|
3636
3750
|
</dd>
|
|
3637
3751
|
</dl>
|
|
@@ -3639,7 +3753,7 @@ await client.conversationalAi.agents.list();
|
|
|
3639
3753
|
<dl>
|
|
3640
3754
|
<dd>
|
|
3641
3755
|
|
|
3642
|
-
**requestOptions:** `
|
|
3756
|
+
**requestOptions:** `Twilio.RequestOptions`
|
|
3643
3757
|
|
|
3644
3758
|
</dd>
|
|
3645
3759
|
</dl>
|
|
@@ -3650,7 +3764,9 @@ await client.conversationalAi.agents.list();
|
|
|
3650
3764
|
</dl>
|
|
3651
3765
|
</details>
|
|
3652
3766
|
|
|
3653
|
-
|
|
3767
|
+
## ConversationalAi Agents
|
|
3768
|
+
|
|
3769
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.CreateAgentResponseModel</code></summary>
|
|
3654
3770
|
<dl>
|
|
3655
3771
|
<dd>
|
|
3656
3772
|
|
|
@@ -3662,7 +3778,7 @@ await client.conversationalAi.agents.list();
|
|
|
3662
3778
|
<dl>
|
|
3663
3779
|
<dd>
|
|
3664
3780
|
|
|
3665
|
-
|
|
3781
|
+
Create an agent from a config object
|
|
3666
3782
|
|
|
3667
3783
|
</dd>
|
|
3668
3784
|
</dl>
|
|
@@ -3678,13 +3794,8 @@ Run a conversation between the agent and a simulated user.
|
|
|
3678
3794
|
<dd>
|
|
3679
3795
|
|
|
3680
3796
|
```typescript
|
|
3681
|
-
await client.conversationalAi.agents.
|
|
3682
|
-
|
|
3683
|
-
simulatedUserConfig: {
|
|
3684
|
-
firstMessage: "Hello, how can I help you today?",
|
|
3685
|
-
language: "en",
|
|
3686
|
-
},
|
|
3687
|
-
},
|
|
3797
|
+
await client.conversationalAi.agents.create({
|
|
3798
|
+
conversationConfig: {},
|
|
3688
3799
|
});
|
|
3689
3800
|
```
|
|
3690
3801
|
|
|
@@ -3701,15 +3812,7 @@ await client.conversationalAi.agents.simulateConversation("21m00Tcm4TlvDq8ikWAM"
|
|
|
3701
3812
|
<dl>
|
|
3702
3813
|
<dd>
|
|
3703
3814
|
|
|
3704
|
-
**
|
|
3705
|
-
|
|
3706
|
-
</dd>
|
|
3707
|
-
</dl>
|
|
3708
|
-
|
|
3709
|
-
<dl>
|
|
3710
|
-
<dd>
|
|
3711
|
-
|
|
3712
|
-
**request:** `ElevenLabs.conversationalAi.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost`
|
|
3815
|
+
**request:** `ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost`
|
|
3713
3816
|
|
|
3714
3817
|
</dd>
|
|
3715
3818
|
</dl>
|
|
@@ -3728,7 +3831,7 @@ await client.conversationalAi.agents.simulateConversation("21m00Tcm4TlvDq8ikWAM"
|
|
|
3728
3831
|
</dl>
|
|
3729
3832
|
</details>
|
|
3730
3833
|
|
|
3731
|
-
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">
|
|
3834
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">get</a>(agentId) -> ElevenLabs.GetAgentResponseModel</code></summary>
|
|
3732
3835
|
<dl>
|
|
3733
3836
|
<dd>
|
|
3734
3837
|
|
|
@@ -3740,7 +3843,7 @@ await client.conversationalAi.agents.simulateConversation("21m00Tcm4TlvDq8ikWAM"
|
|
|
3740
3843
|
<dl>
|
|
3741
3844
|
<dd>
|
|
3742
3845
|
|
|
3743
|
-
|
|
3846
|
+
Retrieve config for an agent
|
|
3744
3847
|
|
|
3745
3848
|
</dd>
|
|
3746
3849
|
</dl>
|
|
@@ -3756,14 +3859,7 @@ Run a conversation between the agent and a simulated user and stream back the re
|
|
|
3756
3859
|
<dd>
|
|
3757
3860
|
|
|
3758
3861
|
```typescript
|
|
3759
|
-
await client.conversationalAi.agents.
|
|
3760
|
-
simulationSpecification: {
|
|
3761
|
-
simulatedUserConfig: {
|
|
3762
|
-
firstMessage: "Hello, how can I help you today?",
|
|
3763
|
-
language: "en",
|
|
3764
|
-
},
|
|
3765
|
-
},
|
|
3766
|
-
});
|
|
3862
|
+
await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
3767
3863
|
```
|
|
3768
3864
|
|
|
3769
3865
|
</dd>
|
|
@@ -3787,14 +3883,6 @@ await client.conversationalAi.agents.simulateConversationStream("21m00Tcm4TlvDq8
|
|
|
3787
3883
|
<dl>
|
|
3788
3884
|
<dd>
|
|
3789
3885
|
|
|
3790
|
-
**request:** `ElevenLabs.conversationalAi.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost`
|
|
3791
|
-
|
|
3792
|
-
</dd>
|
|
3793
|
-
</dl>
|
|
3794
|
-
|
|
3795
|
-
<dl>
|
|
3796
|
-
<dd>
|
|
3797
|
-
|
|
3798
3886
|
**requestOptions:** `Agents.RequestOptions`
|
|
3799
3887
|
|
|
3800
3888
|
</dd>
|
|
@@ -3806,9 +3894,7 @@ await client.conversationalAi.agents.simulateConversationStream("21m00Tcm4TlvDq8
|
|
|
3806
3894
|
</dl>
|
|
3807
3895
|
</details>
|
|
3808
3896
|
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.CreatePhoneNumberResponseModel</code></summary>
|
|
3897
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">delete</a>(agentId) -> void</code></summary>
|
|
3812
3898
|
<dl>
|
|
3813
3899
|
<dd>
|
|
3814
3900
|
|
|
@@ -3820,7 +3906,7 @@ await client.conversationalAi.agents.simulateConversationStream("21m00Tcm4TlvDq8
|
|
|
3820
3906
|
<dl>
|
|
3821
3907
|
<dd>
|
|
3822
3908
|
|
|
3823
|
-
|
|
3909
|
+
Delete an agent
|
|
3824
3910
|
|
|
3825
3911
|
</dd>
|
|
3826
3912
|
</dl>
|
|
@@ -3836,13 +3922,7 @@ Import Phone Number from provider configuration (Twilio or SIP trunk)
|
|
|
3836
3922
|
<dd>
|
|
3837
3923
|
|
|
3838
3924
|
```typescript
|
|
3839
|
-
await client.conversationalAi.
|
|
3840
|
-
provider: "twilio",
|
|
3841
|
-
phoneNumber: "phone_number",
|
|
3842
|
-
label: "label",
|
|
3843
|
-
sid: "sid",
|
|
3844
|
-
token: "token",
|
|
3845
|
-
});
|
|
3925
|
+
await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
3846
3926
|
```
|
|
3847
3927
|
|
|
3848
3928
|
</dd>
|
|
@@ -3858,7 +3938,7 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3858
3938
|
<dl>
|
|
3859
3939
|
<dd>
|
|
3860
3940
|
|
|
3861
|
-
**
|
|
3941
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
3862
3942
|
|
|
3863
3943
|
</dd>
|
|
3864
3944
|
</dl>
|
|
@@ -3866,7 +3946,7 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3866
3946
|
<dl>
|
|
3867
3947
|
<dd>
|
|
3868
3948
|
|
|
3869
|
-
**requestOptions:** `
|
|
3949
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3870
3950
|
|
|
3871
3951
|
</dd>
|
|
3872
3952
|
</dl>
|
|
@@ -3877,7 +3957,7 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3877
3957
|
</dl>
|
|
3878
3958
|
</details>
|
|
3879
3959
|
|
|
3880
|
-
<details><summary><code>client.conversationalAi.
|
|
3960
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">update</a>(agentId, { ...params }) -> ElevenLabs.GetAgentResponseModel</code></summary>
|
|
3881
3961
|
<dl>
|
|
3882
3962
|
<dd>
|
|
3883
3963
|
|
|
@@ -3889,7 +3969,7 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3889
3969
|
<dl>
|
|
3890
3970
|
<dd>
|
|
3891
3971
|
|
|
3892
|
-
|
|
3972
|
+
Patches an Agent settings
|
|
3893
3973
|
|
|
3894
3974
|
</dd>
|
|
3895
3975
|
</dl>
|
|
@@ -3905,7 +3985,7 @@ Retrieve Phone Number details by ID
|
|
|
3905
3985
|
<dd>
|
|
3906
3986
|
|
|
3907
3987
|
```typescript
|
|
3908
|
-
await client.conversationalAi.
|
|
3988
|
+
await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
3909
3989
|
```
|
|
3910
3990
|
|
|
3911
3991
|
</dd>
|
|
@@ -3921,7 +4001,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3921
4001
|
<dl>
|
|
3922
4002
|
<dd>
|
|
3923
4003
|
|
|
3924
|
-
**
|
|
4004
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
3925
4005
|
|
|
3926
4006
|
</dd>
|
|
3927
4007
|
</dl>
|
|
@@ -3929,7 +4009,15 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3929
4009
|
<dl>
|
|
3930
4010
|
<dd>
|
|
3931
4011
|
|
|
3932
|
-
**
|
|
4012
|
+
**request:** `ElevenLabs.conversationalAi.UpdateAgentRequest`
|
|
4013
|
+
|
|
4014
|
+
</dd>
|
|
4015
|
+
</dl>
|
|
4016
|
+
|
|
4017
|
+
<dl>
|
|
4018
|
+
<dd>
|
|
4019
|
+
|
|
4020
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3933
4021
|
|
|
3934
4022
|
</dd>
|
|
3935
4023
|
</dl>
|
|
@@ -3940,7 +4028,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3940
4028
|
</dl>
|
|
3941
4029
|
</details>
|
|
3942
4030
|
|
|
3943
|
-
<details><summary><code>client.conversationalAi.
|
|
4031
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetAgentsPageResponseModel</code></summary>
|
|
3944
4032
|
<dl>
|
|
3945
4033
|
<dd>
|
|
3946
4034
|
|
|
@@ -3952,7 +4040,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3952
4040
|
<dl>
|
|
3953
4041
|
<dd>
|
|
3954
4042
|
|
|
3955
|
-
|
|
4043
|
+
Returns a list of your agents and their metadata.
|
|
3956
4044
|
|
|
3957
4045
|
</dd>
|
|
3958
4046
|
</dl>
|
|
@@ -3968,7 +4056,7 @@ Delete Phone Number by ID
|
|
|
3968
4056
|
<dd>
|
|
3969
4057
|
|
|
3970
4058
|
```typescript
|
|
3971
|
-
await client.conversationalAi.
|
|
4059
|
+
await client.conversationalAi.agents.list();
|
|
3972
4060
|
```
|
|
3973
4061
|
|
|
3974
4062
|
</dd>
|
|
@@ -3984,7 +4072,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3984
4072
|
<dl>
|
|
3985
4073
|
<dd>
|
|
3986
4074
|
|
|
3987
|
-
**
|
|
4075
|
+
**request:** `ElevenLabs.conversationalAi.AgentsListRequest`
|
|
3988
4076
|
|
|
3989
4077
|
</dd>
|
|
3990
4078
|
</dl>
|
|
@@ -3992,7 +4080,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3992
4080
|
<dl>
|
|
3993
4081
|
<dd>
|
|
3994
4082
|
|
|
3995
|
-
**requestOptions:** `
|
|
4083
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3996
4084
|
|
|
3997
4085
|
</dd>
|
|
3998
4086
|
</dl>
|
|
@@ -4003,7 +4091,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
4003
4091
|
</dl>
|
|
4004
4092
|
</details>
|
|
4005
4093
|
|
|
4006
|
-
<details><summary><code>client.conversationalAi.
|
|
4094
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">duplicate</a>(agentId, { ...params }) -> ElevenLabs.CreateAgentResponseModel</code></summary>
|
|
4007
4095
|
<dl>
|
|
4008
4096
|
<dd>
|
|
4009
4097
|
|
|
@@ -4015,7 +4103,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
4015
4103
|
<dl>
|
|
4016
4104
|
<dd>
|
|
4017
4105
|
|
|
4018
|
-
|
|
4106
|
+
Create a new agent by duplicating an existing one
|
|
4019
4107
|
|
|
4020
4108
|
</dd>
|
|
4021
4109
|
</dl>
|
|
@@ -4031,7 +4119,7 @@ Update Phone Number details by ID
|
|
|
4031
4119
|
<dd>
|
|
4032
4120
|
|
|
4033
4121
|
```typescript
|
|
4034
|
-
await client.conversationalAi.
|
|
4122
|
+
await client.conversationalAi.agents.duplicate("21m00Tcm4TlvDq8ikWAM");
|
|
4035
4123
|
```
|
|
4036
4124
|
|
|
4037
4125
|
</dd>
|
|
@@ -4047,15 +4135,1273 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
4047
4135
|
<dl>
|
|
4048
4136
|
<dd>
|
|
4049
4137
|
|
|
4050
|
-
**
|
|
4138
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4139
|
+
|
|
4140
|
+
</dd>
|
|
4141
|
+
</dl>
|
|
4142
|
+
|
|
4143
|
+
<dl>
|
|
4144
|
+
<dd>
|
|
4145
|
+
|
|
4146
|
+
**request:** `ElevenLabs.conversationalAi.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost`
|
|
4147
|
+
|
|
4148
|
+
</dd>
|
|
4149
|
+
</dl>
|
|
4150
|
+
|
|
4151
|
+
<dl>
|
|
4152
|
+
<dd>
|
|
4153
|
+
|
|
4154
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
4155
|
+
|
|
4156
|
+
</dd>
|
|
4157
|
+
</dl>
|
|
4158
|
+
</dd>
|
|
4159
|
+
</dl>
|
|
4051
4160
|
|
|
4052
4161
|
</dd>
|
|
4053
4162
|
</dl>
|
|
4163
|
+
</details>
|
|
4164
|
+
|
|
4165
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">simulateConversation</a>(agentId, { ...params }) -> ElevenLabs.AgentSimulatedChatTestResponseModel</code></summary>
|
|
4166
|
+
<dl>
|
|
4167
|
+
<dd>
|
|
4168
|
+
|
|
4169
|
+
#### 📝 Description
|
|
4170
|
+
|
|
4171
|
+
<dl>
|
|
4172
|
+
<dd>
|
|
4173
|
+
|
|
4174
|
+
<dl>
|
|
4175
|
+
<dd>
|
|
4176
|
+
|
|
4177
|
+
Run a conversation between the agent and a simulated user.
|
|
4178
|
+
|
|
4179
|
+
</dd>
|
|
4180
|
+
</dl>
|
|
4181
|
+
</dd>
|
|
4182
|
+
</dl>
|
|
4183
|
+
|
|
4184
|
+
#### 🔌 Usage
|
|
4185
|
+
|
|
4186
|
+
<dl>
|
|
4187
|
+
<dd>
|
|
4188
|
+
|
|
4189
|
+
<dl>
|
|
4190
|
+
<dd>
|
|
4191
|
+
|
|
4192
|
+
```typescript
|
|
4193
|
+
await client.conversationalAi.agents.simulateConversation("21m00Tcm4TlvDq8ikWAM", {
|
|
4194
|
+
simulationSpecification: {
|
|
4195
|
+
simulatedUserConfig: {
|
|
4196
|
+
firstMessage: "Hello, how can I help you today?",
|
|
4197
|
+
language: "en",
|
|
4198
|
+
},
|
|
4199
|
+
},
|
|
4200
|
+
});
|
|
4201
|
+
```
|
|
4202
|
+
|
|
4203
|
+
</dd>
|
|
4204
|
+
</dl>
|
|
4205
|
+
</dd>
|
|
4206
|
+
</dl>
|
|
4207
|
+
|
|
4208
|
+
#### ⚙️ Parameters
|
|
4209
|
+
|
|
4210
|
+
<dl>
|
|
4211
|
+
<dd>
|
|
4212
|
+
|
|
4213
|
+
<dl>
|
|
4214
|
+
<dd>
|
|
4215
|
+
|
|
4216
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4217
|
+
|
|
4218
|
+
</dd>
|
|
4219
|
+
</dl>
|
|
4220
|
+
|
|
4221
|
+
<dl>
|
|
4222
|
+
<dd>
|
|
4223
|
+
|
|
4224
|
+
**request:** `ElevenLabs.conversationalAi.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost`
|
|
4225
|
+
|
|
4226
|
+
</dd>
|
|
4227
|
+
</dl>
|
|
4228
|
+
|
|
4229
|
+
<dl>
|
|
4230
|
+
<dd>
|
|
4231
|
+
|
|
4232
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
4233
|
+
|
|
4234
|
+
</dd>
|
|
4235
|
+
</dl>
|
|
4236
|
+
</dd>
|
|
4237
|
+
</dl>
|
|
4238
|
+
|
|
4239
|
+
</dd>
|
|
4240
|
+
</dl>
|
|
4241
|
+
</details>
|
|
4242
|
+
|
|
4243
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">simulateConversationStream</a>(agentId, { ...params }) -> void</code></summary>
|
|
4244
|
+
<dl>
|
|
4245
|
+
<dd>
|
|
4246
|
+
|
|
4247
|
+
#### 📝 Description
|
|
4248
|
+
|
|
4249
|
+
<dl>
|
|
4250
|
+
<dd>
|
|
4251
|
+
|
|
4252
|
+
<dl>
|
|
4253
|
+
<dd>
|
|
4254
|
+
|
|
4255
|
+
Run a conversation between the agent and a simulated user and stream back the response. Response is streamed back as partial lists of messages that should be concatenated and once the conversation has complete a single final message with the conversation analysis will be sent.
|
|
4256
|
+
|
|
4257
|
+
</dd>
|
|
4258
|
+
</dl>
|
|
4259
|
+
</dd>
|
|
4260
|
+
</dl>
|
|
4261
|
+
|
|
4262
|
+
#### 🔌 Usage
|
|
4263
|
+
|
|
4264
|
+
<dl>
|
|
4265
|
+
<dd>
|
|
4266
|
+
|
|
4267
|
+
<dl>
|
|
4268
|
+
<dd>
|
|
4269
|
+
|
|
4270
|
+
```typescript
|
|
4271
|
+
await client.conversationalAi.agents.simulateConversationStream("21m00Tcm4TlvDq8ikWAM", {
|
|
4272
|
+
simulationSpecification: {
|
|
4273
|
+
simulatedUserConfig: {
|
|
4274
|
+
firstMessage: "Hello, how can I help you today?",
|
|
4275
|
+
language: "en",
|
|
4276
|
+
},
|
|
4277
|
+
},
|
|
4278
|
+
});
|
|
4279
|
+
```
|
|
4280
|
+
|
|
4281
|
+
</dd>
|
|
4282
|
+
</dl>
|
|
4283
|
+
</dd>
|
|
4284
|
+
</dl>
|
|
4285
|
+
|
|
4286
|
+
#### ⚙️ Parameters
|
|
4287
|
+
|
|
4288
|
+
<dl>
|
|
4289
|
+
<dd>
|
|
4290
|
+
|
|
4291
|
+
<dl>
|
|
4292
|
+
<dd>
|
|
4293
|
+
|
|
4294
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4295
|
+
|
|
4296
|
+
</dd>
|
|
4297
|
+
</dl>
|
|
4298
|
+
|
|
4299
|
+
<dl>
|
|
4300
|
+
<dd>
|
|
4301
|
+
|
|
4302
|
+
**request:** `ElevenLabs.conversationalAi.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost`
|
|
4303
|
+
|
|
4304
|
+
</dd>
|
|
4305
|
+
</dl>
|
|
4306
|
+
|
|
4307
|
+
<dl>
|
|
4308
|
+
<dd>
|
|
4309
|
+
|
|
4310
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
4311
|
+
|
|
4312
|
+
</dd>
|
|
4313
|
+
</dl>
|
|
4314
|
+
</dd>
|
|
4315
|
+
</dl>
|
|
4316
|
+
|
|
4317
|
+
</dd>
|
|
4318
|
+
</dl>
|
|
4319
|
+
</details>
|
|
4320
|
+
|
|
4321
|
+
## ConversationalAi PhoneNumbers
|
|
4322
|
+
|
|
4323
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.CreatePhoneNumberResponseModel</code></summary>
|
|
4324
|
+
<dl>
|
|
4325
|
+
<dd>
|
|
4326
|
+
|
|
4327
|
+
#### 📝 Description
|
|
4328
|
+
|
|
4329
|
+
<dl>
|
|
4330
|
+
<dd>
|
|
4331
|
+
|
|
4332
|
+
<dl>
|
|
4333
|
+
<dd>
|
|
4334
|
+
|
|
4335
|
+
Import Phone Number from provider configuration (Twilio or SIP trunk)
|
|
4336
|
+
|
|
4337
|
+
</dd>
|
|
4338
|
+
</dl>
|
|
4339
|
+
</dd>
|
|
4340
|
+
</dl>
|
|
4341
|
+
|
|
4342
|
+
#### 🔌 Usage
|
|
4343
|
+
|
|
4344
|
+
<dl>
|
|
4345
|
+
<dd>
|
|
4346
|
+
|
|
4347
|
+
<dl>
|
|
4348
|
+
<dd>
|
|
4349
|
+
|
|
4350
|
+
```typescript
|
|
4351
|
+
await client.conversationalAi.phoneNumbers.create({
|
|
4352
|
+
provider: "twilio",
|
|
4353
|
+
phoneNumber: "phone_number",
|
|
4354
|
+
label: "label",
|
|
4355
|
+
sid: "sid",
|
|
4356
|
+
token: "token",
|
|
4357
|
+
});
|
|
4358
|
+
```
|
|
4359
|
+
|
|
4360
|
+
</dd>
|
|
4361
|
+
</dl>
|
|
4362
|
+
</dd>
|
|
4363
|
+
</dl>
|
|
4364
|
+
|
|
4365
|
+
#### ⚙️ Parameters
|
|
4366
|
+
|
|
4367
|
+
<dl>
|
|
4368
|
+
<dd>
|
|
4369
|
+
|
|
4370
|
+
<dl>
|
|
4371
|
+
<dd>
|
|
4372
|
+
|
|
4373
|
+
**request:** `ElevenLabs.PhoneNumbersCreateRequestBody`
|
|
4374
|
+
|
|
4375
|
+
</dd>
|
|
4376
|
+
</dl>
|
|
4377
|
+
|
|
4378
|
+
<dl>
|
|
4379
|
+
<dd>
|
|
4380
|
+
|
|
4381
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4382
|
+
|
|
4383
|
+
</dd>
|
|
4384
|
+
</dl>
|
|
4385
|
+
</dd>
|
|
4386
|
+
</dl>
|
|
4387
|
+
|
|
4388
|
+
</dd>
|
|
4389
|
+
</dl>
|
|
4390
|
+
</details>
|
|
4391
|
+
|
|
4392
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">get</a>(phoneNumberId) -> ElevenLabs.PhoneNumbersGetResponse</code></summary>
|
|
4393
|
+
<dl>
|
|
4394
|
+
<dd>
|
|
4395
|
+
|
|
4396
|
+
#### 📝 Description
|
|
4397
|
+
|
|
4398
|
+
<dl>
|
|
4399
|
+
<dd>
|
|
4400
|
+
|
|
4401
|
+
<dl>
|
|
4402
|
+
<dd>
|
|
4403
|
+
|
|
4404
|
+
Retrieve Phone Number details by ID
|
|
4405
|
+
|
|
4406
|
+
</dd>
|
|
4407
|
+
</dl>
|
|
4408
|
+
</dd>
|
|
4409
|
+
</dl>
|
|
4410
|
+
|
|
4411
|
+
#### 🔌 Usage
|
|
4412
|
+
|
|
4413
|
+
<dl>
|
|
4414
|
+
<dd>
|
|
4415
|
+
|
|
4416
|
+
<dl>
|
|
4417
|
+
<dd>
|
|
4418
|
+
|
|
4419
|
+
```typescript
|
|
4420
|
+
await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
4421
|
+
```
|
|
4422
|
+
|
|
4423
|
+
</dd>
|
|
4424
|
+
</dl>
|
|
4425
|
+
</dd>
|
|
4426
|
+
</dl>
|
|
4427
|
+
|
|
4428
|
+
#### ⚙️ Parameters
|
|
4429
|
+
|
|
4430
|
+
<dl>
|
|
4431
|
+
<dd>
|
|
4432
|
+
|
|
4433
|
+
<dl>
|
|
4434
|
+
<dd>
|
|
4435
|
+
|
|
4436
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4437
|
+
|
|
4438
|
+
</dd>
|
|
4439
|
+
</dl>
|
|
4440
|
+
|
|
4441
|
+
<dl>
|
|
4442
|
+
<dd>
|
|
4443
|
+
|
|
4444
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4445
|
+
|
|
4446
|
+
</dd>
|
|
4447
|
+
</dl>
|
|
4448
|
+
</dd>
|
|
4449
|
+
</dl>
|
|
4450
|
+
|
|
4451
|
+
</dd>
|
|
4452
|
+
</dl>
|
|
4453
|
+
</details>
|
|
4454
|
+
|
|
4455
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">delete</a>(phoneNumberId) -> unknown</code></summary>
|
|
4456
|
+
<dl>
|
|
4457
|
+
<dd>
|
|
4458
|
+
|
|
4459
|
+
#### 📝 Description
|
|
4460
|
+
|
|
4461
|
+
<dl>
|
|
4462
|
+
<dd>
|
|
4463
|
+
|
|
4464
|
+
<dl>
|
|
4465
|
+
<dd>
|
|
4466
|
+
|
|
4467
|
+
Delete Phone Number by ID
|
|
4468
|
+
|
|
4469
|
+
</dd>
|
|
4470
|
+
</dl>
|
|
4471
|
+
</dd>
|
|
4472
|
+
</dl>
|
|
4473
|
+
|
|
4474
|
+
#### 🔌 Usage
|
|
4475
|
+
|
|
4476
|
+
<dl>
|
|
4477
|
+
<dd>
|
|
4478
|
+
|
|
4479
|
+
<dl>
|
|
4480
|
+
<dd>
|
|
4481
|
+
|
|
4482
|
+
```typescript
|
|
4483
|
+
await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
4484
|
+
```
|
|
4485
|
+
|
|
4486
|
+
</dd>
|
|
4487
|
+
</dl>
|
|
4488
|
+
</dd>
|
|
4489
|
+
</dl>
|
|
4490
|
+
|
|
4491
|
+
#### ⚙️ Parameters
|
|
4492
|
+
|
|
4493
|
+
<dl>
|
|
4494
|
+
<dd>
|
|
4495
|
+
|
|
4496
|
+
<dl>
|
|
4497
|
+
<dd>
|
|
4498
|
+
|
|
4499
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4500
|
+
|
|
4501
|
+
</dd>
|
|
4502
|
+
</dl>
|
|
4503
|
+
|
|
4504
|
+
<dl>
|
|
4505
|
+
<dd>
|
|
4506
|
+
|
|
4507
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4508
|
+
|
|
4509
|
+
</dd>
|
|
4510
|
+
</dl>
|
|
4511
|
+
</dd>
|
|
4512
|
+
</dl>
|
|
4513
|
+
|
|
4514
|
+
</dd>
|
|
4515
|
+
</dl>
|
|
4516
|
+
</details>
|
|
4517
|
+
|
|
4518
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">update</a>(phoneNumberId, { ...params }) -> ElevenLabs.PhoneNumbersUpdateResponse</code></summary>
|
|
4519
|
+
<dl>
|
|
4520
|
+
<dd>
|
|
4521
|
+
|
|
4522
|
+
#### 📝 Description
|
|
4523
|
+
|
|
4524
|
+
<dl>
|
|
4525
|
+
<dd>
|
|
4526
|
+
|
|
4527
|
+
<dl>
|
|
4528
|
+
<dd>
|
|
4529
|
+
|
|
4530
|
+
Update Phone Number details by ID
|
|
4531
|
+
|
|
4532
|
+
</dd>
|
|
4533
|
+
</dl>
|
|
4534
|
+
</dd>
|
|
4535
|
+
</dl>
|
|
4536
|
+
|
|
4537
|
+
#### 🔌 Usage
|
|
4538
|
+
|
|
4539
|
+
<dl>
|
|
4540
|
+
<dd>
|
|
4541
|
+
|
|
4542
|
+
<dl>
|
|
4543
|
+
<dd>
|
|
4544
|
+
|
|
4545
|
+
```typescript
|
|
4546
|
+
await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
4547
|
+
```
|
|
4548
|
+
|
|
4549
|
+
</dd>
|
|
4550
|
+
</dl>
|
|
4551
|
+
</dd>
|
|
4552
|
+
</dl>
|
|
4553
|
+
|
|
4554
|
+
#### ⚙️ Parameters
|
|
4555
|
+
|
|
4556
|
+
<dl>
|
|
4557
|
+
<dd>
|
|
4558
|
+
|
|
4559
|
+
<dl>
|
|
4560
|
+
<dd>
|
|
4561
|
+
|
|
4562
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4563
|
+
|
|
4564
|
+
</dd>
|
|
4565
|
+
</dl>
|
|
4566
|
+
|
|
4567
|
+
<dl>
|
|
4568
|
+
<dd>
|
|
4569
|
+
|
|
4570
|
+
**request:** `ElevenLabs.conversationalAi.UpdatePhoneNumberRequest`
|
|
4571
|
+
|
|
4572
|
+
</dd>
|
|
4573
|
+
</dl>
|
|
4574
|
+
|
|
4575
|
+
<dl>
|
|
4576
|
+
<dd>
|
|
4577
|
+
|
|
4578
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4579
|
+
|
|
4580
|
+
</dd>
|
|
4581
|
+
</dl>
|
|
4582
|
+
</dd>
|
|
4583
|
+
</dl>
|
|
4584
|
+
|
|
4585
|
+
</dd>
|
|
4586
|
+
</dl>
|
|
4587
|
+
</details>
|
|
4588
|
+
|
|
4589
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">list</a>() -> ElevenLabs.PhoneNumbersListResponseItem[]</code></summary>
|
|
4590
|
+
<dl>
|
|
4591
|
+
<dd>
|
|
4592
|
+
|
|
4593
|
+
#### 📝 Description
|
|
4594
|
+
|
|
4595
|
+
<dl>
|
|
4596
|
+
<dd>
|
|
4597
|
+
|
|
4598
|
+
<dl>
|
|
4599
|
+
<dd>
|
|
4600
|
+
|
|
4601
|
+
Retrieve all Phone Numbers
|
|
4602
|
+
|
|
4603
|
+
</dd>
|
|
4604
|
+
</dl>
|
|
4605
|
+
</dd>
|
|
4606
|
+
</dl>
|
|
4607
|
+
|
|
4608
|
+
#### 🔌 Usage
|
|
4609
|
+
|
|
4610
|
+
<dl>
|
|
4611
|
+
<dd>
|
|
4612
|
+
|
|
4613
|
+
<dl>
|
|
4614
|
+
<dd>
|
|
4615
|
+
|
|
4616
|
+
```typescript
|
|
4617
|
+
await client.conversationalAi.phoneNumbers.list();
|
|
4618
|
+
```
|
|
4619
|
+
|
|
4620
|
+
</dd>
|
|
4621
|
+
</dl>
|
|
4622
|
+
</dd>
|
|
4623
|
+
</dl>
|
|
4624
|
+
|
|
4625
|
+
#### ⚙️ Parameters
|
|
4626
|
+
|
|
4627
|
+
<dl>
|
|
4628
|
+
<dd>
|
|
4629
|
+
|
|
4630
|
+
<dl>
|
|
4631
|
+
<dd>
|
|
4632
|
+
|
|
4633
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4634
|
+
|
|
4635
|
+
</dd>
|
|
4636
|
+
</dl>
|
|
4637
|
+
</dd>
|
|
4638
|
+
</dl>
|
|
4639
|
+
|
|
4640
|
+
</dd>
|
|
4641
|
+
</dl>
|
|
4642
|
+
</details>
|
|
4643
|
+
|
|
4644
|
+
## ConversationalAi LlmUsage
|
|
4645
|
+
|
|
4646
|
+
<details><summary><code>client.conversationalAi.llmUsage.<a href="/src/api/resources/conversationalAi/resources/llmUsage/client/Client.ts">calculate</a>({ ...params }) -> ElevenLabs.LlmUsageCalculatorResponseModel</code></summary>
|
|
4647
|
+
<dl>
|
|
4648
|
+
<dd>
|
|
4649
|
+
|
|
4650
|
+
#### 📝 Description
|
|
4651
|
+
|
|
4652
|
+
<dl>
|
|
4653
|
+
<dd>
|
|
4654
|
+
|
|
4655
|
+
<dl>
|
|
4656
|
+
<dd>
|
|
4657
|
+
|
|
4658
|
+
Returns a list of LLM models and the expected cost for using them based on the provided values.
|
|
4659
|
+
|
|
4660
|
+
</dd>
|
|
4661
|
+
</dl>
|
|
4662
|
+
</dd>
|
|
4663
|
+
</dl>
|
|
4664
|
+
|
|
4665
|
+
#### 🔌 Usage
|
|
4666
|
+
|
|
4667
|
+
<dl>
|
|
4668
|
+
<dd>
|
|
4669
|
+
|
|
4670
|
+
<dl>
|
|
4671
|
+
<dd>
|
|
4672
|
+
|
|
4673
|
+
```typescript
|
|
4674
|
+
await client.conversationalAi.llmUsage.calculate({
|
|
4675
|
+
promptLength: 1,
|
|
4676
|
+
numberOfPages: 1,
|
|
4677
|
+
ragEnabled: true,
|
|
4678
|
+
});
|
|
4679
|
+
```
|
|
4680
|
+
|
|
4681
|
+
</dd>
|
|
4682
|
+
</dl>
|
|
4683
|
+
</dd>
|
|
4684
|
+
</dl>
|
|
4685
|
+
|
|
4686
|
+
#### ⚙️ Parameters
|
|
4687
|
+
|
|
4688
|
+
<dl>
|
|
4689
|
+
<dd>
|
|
4690
|
+
|
|
4691
|
+
<dl>
|
|
4692
|
+
<dd>
|
|
4693
|
+
|
|
4694
|
+
**request:** `ElevenLabs.conversationalAi.LlmUsageCalculatorPublicRequestModel`
|
|
4695
|
+
|
|
4696
|
+
</dd>
|
|
4697
|
+
</dl>
|
|
4698
|
+
|
|
4699
|
+
<dl>
|
|
4700
|
+
<dd>
|
|
4701
|
+
|
|
4702
|
+
**requestOptions:** `LlmUsage.RequestOptions`
|
|
4703
|
+
|
|
4704
|
+
</dd>
|
|
4705
|
+
</dl>
|
|
4706
|
+
</dd>
|
|
4707
|
+
</dl>
|
|
4708
|
+
|
|
4709
|
+
</dd>
|
|
4710
|
+
</dl>
|
|
4711
|
+
</details>
|
|
4712
|
+
|
|
4713
|
+
## ConversationalAi KnowledgeBase
|
|
4714
|
+
|
|
4715
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetKnowledgeBaseListResponseModel</code></summary>
|
|
4716
|
+
<dl>
|
|
4717
|
+
<dd>
|
|
4718
|
+
|
|
4719
|
+
#### 📝 Description
|
|
4720
|
+
|
|
4721
|
+
<dl>
|
|
4722
|
+
<dd>
|
|
4723
|
+
|
|
4724
|
+
<dl>
|
|
4725
|
+
<dd>
|
|
4726
|
+
|
|
4727
|
+
Get a list of available knowledge base documents
|
|
4728
|
+
|
|
4729
|
+
</dd>
|
|
4730
|
+
</dl>
|
|
4731
|
+
</dd>
|
|
4732
|
+
</dl>
|
|
4733
|
+
|
|
4734
|
+
#### 🔌 Usage
|
|
4735
|
+
|
|
4736
|
+
<dl>
|
|
4737
|
+
<dd>
|
|
4738
|
+
|
|
4739
|
+
<dl>
|
|
4740
|
+
<dd>
|
|
4741
|
+
|
|
4742
|
+
```typescript
|
|
4743
|
+
await client.conversationalAi.knowledgeBase.list();
|
|
4744
|
+
```
|
|
4745
|
+
|
|
4746
|
+
</dd>
|
|
4747
|
+
</dl>
|
|
4748
|
+
</dd>
|
|
4749
|
+
</dl>
|
|
4750
|
+
|
|
4751
|
+
#### ⚙️ Parameters
|
|
4752
|
+
|
|
4753
|
+
<dl>
|
|
4754
|
+
<dd>
|
|
4755
|
+
|
|
4756
|
+
<dl>
|
|
4757
|
+
<dd>
|
|
4758
|
+
|
|
4759
|
+
**request:** `ElevenLabs.conversationalAi.KnowledgeBaseListRequest`
|
|
4760
|
+
|
|
4761
|
+
</dd>
|
|
4762
|
+
</dl>
|
|
4763
|
+
|
|
4764
|
+
<dl>
|
|
4765
|
+
<dd>
|
|
4766
|
+
|
|
4767
|
+
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
4768
|
+
|
|
4769
|
+
</dd>
|
|
4770
|
+
</dl>
|
|
4771
|
+
</dd>
|
|
4772
|
+
</dl>
|
|
4773
|
+
|
|
4774
|
+
</dd>
|
|
4775
|
+
</dl>
|
|
4776
|
+
</details>
|
|
4777
|
+
|
|
4778
|
+
## ConversationalAi Tools
|
|
4779
|
+
|
|
4780
|
+
<details><summary><code>client.conversationalAi.tools.<a href="/src/api/resources/conversationalAi/resources/tools/client/Client.ts">list</a>() -> ElevenLabs.ToolsResponseModel</code></summary>
|
|
4781
|
+
<dl>
|
|
4782
|
+
<dd>
|
|
4783
|
+
|
|
4784
|
+
#### 📝 Description
|
|
4785
|
+
|
|
4786
|
+
<dl>
|
|
4787
|
+
<dd>
|
|
4788
|
+
|
|
4789
|
+
<dl>
|
|
4790
|
+
<dd>
|
|
4791
|
+
|
|
4792
|
+
Get all available tools available in the workspace.
|
|
4793
|
+
|
|
4794
|
+
</dd>
|
|
4795
|
+
</dl>
|
|
4796
|
+
</dd>
|
|
4797
|
+
</dl>
|
|
4798
|
+
|
|
4799
|
+
#### 🔌 Usage
|
|
4800
|
+
|
|
4801
|
+
<dl>
|
|
4802
|
+
<dd>
|
|
4803
|
+
|
|
4804
|
+
<dl>
|
|
4805
|
+
<dd>
|
|
4806
|
+
|
|
4807
|
+
```typescript
|
|
4808
|
+
await client.conversationalAi.tools.list();
|
|
4809
|
+
```
|
|
4810
|
+
|
|
4811
|
+
</dd>
|
|
4812
|
+
</dl>
|
|
4813
|
+
</dd>
|
|
4814
|
+
</dl>
|
|
4815
|
+
|
|
4816
|
+
#### ⚙️ Parameters
|
|
4817
|
+
|
|
4818
|
+
<dl>
|
|
4819
|
+
<dd>
|
|
4820
|
+
|
|
4821
|
+
<dl>
|
|
4822
|
+
<dd>
|
|
4823
|
+
|
|
4824
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
4825
|
+
|
|
4826
|
+
</dd>
|
|
4827
|
+
</dl>
|
|
4828
|
+
</dd>
|
|
4829
|
+
</dl>
|
|
4830
|
+
|
|
4831
|
+
</dd>
|
|
4832
|
+
</dl>
|
|
4833
|
+
</details>
|
|
4834
|
+
|
|
4835
|
+
<details><summary><code>client.conversationalAi.tools.<a href="/src/api/resources/conversationalAi/resources/tools/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.ToolResponseModel</code></summary>
|
|
4836
|
+
<dl>
|
|
4837
|
+
<dd>
|
|
4838
|
+
|
|
4839
|
+
#### 📝 Description
|
|
4840
|
+
|
|
4841
|
+
<dl>
|
|
4842
|
+
<dd>
|
|
4843
|
+
|
|
4844
|
+
<dl>
|
|
4845
|
+
<dd>
|
|
4846
|
+
|
|
4847
|
+
Add a new tool to the available tools in the workspace.
|
|
4848
|
+
|
|
4849
|
+
</dd>
|
|
4850
|
+
</dl>
|
|
4851
|
+
</dd>
|
|
4852
|
+
</dl>
|
|
4853
|
+
|
|
4854
|
+
#### 🔌 Usage
|
|
4855
|
+
|
|
4856
|
+
<dl>
|
|
4857
|
+
<dd>
|
|
4858
|
+
|
|
4859
|
+
<dl>
|
|
4860
|
+
<dd>
|
|
4861
|
+
|
|
4862
|
+
```typescript
|
|
4863
|
+
await client.conversationalAi.tools.create({
|
|
4864
|
+
toolConfig: {
|
|
4865
|
+
type: "client",
|
|
4866
|
+
name: "name",
|
|
4867
|
+
description: "description",
|
|
4868
|
+
expectsResponse: false,
|
|
4869
|
+
},
|
|
4870
|
+
});
|
|
4871
|
+
```
|
|
4872
|
+
|
|
4873
|
+
</dd>
|
|
4874
|
+
</dl>
|
|
4875
|
+
</dd>
|
|
4876
|
+
</dl>
|
|
4877
|
+
|
|
4878
|
+
#### ⚙️ Parameters
|
|
4879
|
+
|
|
4880
|
+
<dl>
|
|
4881
|
+
<dd>
|
|
4882
|
+
|
|
4883
|
+
<dl>
|
|
4884
|
+
<dd>
|
|
4885
|
+
|
|
4886
|
+
**request:** `ElevenLabs.ToolRequestModel`
|
|
4887
|
+
|
|
4888
|
+
</dd>
|
|
4889
|
+
</dl>
|
|
4890
|
+
|
|
4891
|
+
<dl>
|
|
4892
|
+
<dd>
|
|
4893
|
+
|
|
4894
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
4895
|
+
|
|
4896
|
+
</dd>
|
|
4897
|
+
</dl>
|
|
4898
|
+
</dd>
|
|
4899
|
+
</dl>
|
|
4900
|
+
|
|
4901
|
+
</dd>
|
|
4902
|
+
</dl>
|
|
4903
|
+
</details>
|
|
4904
|
+
|
|
4905
|
+
<details><summary><code>client.conversationalAi.tools.<a href="/src/api/resources/conversationalAi/resources/tools/client/Client.ts">get</a>(toolId) -> ElevenLabs.ToolResponseModel</code></summary>
|
|
4906
|
+
<dl>
|
|
4907
|
+
<dd>
|
|
4908
|
+
|
|
4909
|
+
#### 📝 Description
|
|
4910
|
+
|
|
4911
|
+
<dl>
|
|
4912
|
+
<dd>
|
|
4913
|
+
|
|
4914
|
+
<dl>
|
|
4915
|
+
<dd>
|
|
4916
|
+
|
|
4917
|
+
Get tool that is available in the workspace.
|
|
4918
|
+
|
|
4919
|
+
</dd>
|
|
4920
|
+
</dl>
|
|
4921
|
+
</dd>
|
|
4922
|
+
</dl>
|
|
4923
|
+
|
|
4924
|
+
#### 🔌 Usage
|
|
4925
|
+
|
|
4926
|
+
<dl>
|
|
4927
|
+
<dd>
|
|
4928
|
+
|
|
4929
|
+
<dl>
|
|
4930
|
+
<dd>
|
|
4931
|
+
|
|
4932
|
+
```typescript
|
|
4933
|
+
await client.conversationalAi.tools.get("tool_id");
|
|
4934
|
+
```
|
|
4935
|
+
|
|
4936
|
+
</dd>
|
|
4937
|
+
</dl>
|
|
4938
|
+
</dd>
|
|
4939
|
+
</dl>
|
|
4940
|
+
|
|
4941
|
+
#### ⚙️ Parameters
|
|
4942
|
+
|
|
4943
|
+
<dl>
|
|
4944
|
+
<dd>
|
|
4945
|
+
|
|
4946
|
+
<dl>
|
|
4947
|
+
<dd>
|
|
4948
|
+
|
|
4949
|
+
**toolId:** `string` — ID of the requested tool.
|
|
4950
|
+
|
|
4951
|
+
</dd>
|
|
4952
|
+
</dl>
|
|
4953
|
+
|
|
4954
|
+
<dl>
|
|
4955
|
+
<dd>
|
|
4956
|
+
|
|
4957
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
4958
|
+
|
|
4959
|
+
</dd>
|
|
4960
|
+
</dl>
|
|
4961
|
+
</dd>
|
|
4962
|
+
</dl>
|
|
4963
|
+
|
|
4964
|
+
</dd>
|
|
4965
|
+
</dl>
|
|
4966
|
+
</details>
|
|
4967
|
+
|
|
4968
|
+
<details><summary><code>client.conversationalAi.tools.<a href="/src/api/resources/conversationalAi/resources/tools/client/Client.ts">delete</a>(toolId) -> unknown</code></summary>
|
|
4969
|
+
<dl>
|
|
4970
|
+
<dd>
|
|
4971
|
+
|
|
4972
|
+
#### 📝 Description
|
|
4973
|
+
|
|
4974
|
+
<dl>
|
|
4975
|
+
<dd>
|
|
4976
|
+
|
|
4977
|
+
<dl>
|
|
4978
|
+
<dd>
|
|
4979
|
+
|
|
4980
|
+
Delete tool from the workspace.
|
|
4981
|
+
|
|
4982
|
+
</dd>
|
|
4983
|
+
</dl>
|
|
4984
|
+
</dd>
|
|
4985
|
+
</dl>
|
|
4986
|
+
|
|
4987
|
+
#### 🔌 Usage
|
|
4988
|
+
|
|
4989
|
+
<dl>
|
|
4990
|
+
<dd>
|
|
4991
|
+
|
|
4992
|
+
<dl>
|
|
4993
|
+
<dd>
|
|
4994
|
+
|
|
4995
|
+
```typescript
|
|
4996
|
+
await client.conversationalAi.tools.delete("tool_id");
|
|
4997
|
+
```
|
|
4998
|
+
|
|
4999
|
+
</dd>
|
|
5000
|
+
</dl>
|
|
5001
|
+
</dd>
|
|
5002
|
+
</dl>
|
|
5003
|
+
|
|
5004
|
+
#### ⚙️ Parameters
|
|
5005
|
+
|
|
5006
|
+
<dl>
|
|
5007
|
+
<dd>
|
|
5008
|
+
|
|
5009
|
+
<dl>
|
|
5010
|
+
<dd>
|
|
5011
|
+
|
|
5012
|
+
**toolId:** `string` — ID of the requested tool.
|
|
5013
|
+
|
|
5014
|
+
</dd>
|
|
5015
|
+
</dl>
|
|
5016
|
+
|
|
5017
|
+
<dl>
|
|
5018
|
+
<dd>
|
|
5019
|
+
|
|
5020
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
5021
|
+
|
|
5022
|
+
</dd>
|
|
5023
|
+
</dl>
|
|
5024
|
+
</dd>
|
|
5025
|
+
</dl>
|
|
5026
|
+
|
|
5027
|
+
</dd>
|
|
5028
|
+
</dl>
|
|
5029
|
+
</details>
|
|
5030
|
+
|
|
5031
|
+
<details><summary><code>client.conversationalAi.tools.<a href="/src/api/resources/conversationalAi/resources/tools/client/Client.ts">update</a>(toolId, { ...params }) -> ElevenLabs.ToolResponseModel</code></summary>
|
|
5032
|
+
<dl>
|
|
5033
|
+
<dd>
|
|
5034
|
+
|
|
5035
|
+
#### 📝 Description
|
|
5036
|
+
|
|
5037
|
+
<dl>
|
|
5038
|
+
<dd>
|
|
5039
|
+
|
|
5040
|
+
<dl>
|
|
5041
|
+
<dd>
|
|
5042
|
+
|
|
5043
|
+
Update tool that is available in the workspace.
|
|
5044
|
+
|
|
5045
|
+
</dd>
|
|
5046
|
+
</dl>
|
|
5047
|
+
</dd>
|
|
5048
|
+
</dl>
|
|
5049
|
+
|
|
5050
|
+
#### 🔌 Usage
|
|
5051
|
+
|
|
5052
|
+
<dl>
|
|
5053
|
+
<dd>
|
|
5054
|
+
|
|
5055
|
+
<dl>
|
|
5056
|
+
<dd>
|
|
5057
|
+
|
|
5058
|
+
```typescript
|
|
5059
|
+
await client.conversationalAi.tools.update("tool_id", {
|
|
5060
|
+
toolConfig: {
|
|
5061
|
+
type: "client",
|
|
5062
|
+
name: "name",
|
|
5063
|
+
description: "description",
|
|
5064
|
+
expectsResponse: false,
|
|
5065
|
+
},
|
|
5066
|
+
});
|
|
5067
|
+
```
|
|
5068
|
+
|
|
5069
|
+
</dd>
|
|
5070
|
+
</dl>
|
|
5071
|
+
</dd>
|
|
5072
|
+
</dl>
|
|
5073
|
+
|
|
5074
|
+
#### ⚙️ Parameters
|
|
5075
|
+
|
|
5076
|
+
<dl>
|
|
5077
|
+
<dd>
|
|
5078
|
+
|
|
5079
|
+
<dl>
|
|
5080
|
+
<dd>
|
|
5081
|
+
|
|
5082
|
+
**toolId:** `string` — ID of the requested tool.
|
|
5083
|
+
|
|
5084
|
+
</dd>
|
|
5085
|
+
</dl>
|
|
5086
|
+
|
|
5087
|
+
<dl>
|
|
5088
|
+
<dd>
|
|
5089
|
+
|
|
5090
|
+
**request:** `ElevenLabs.ToolRequestModel`
|
|
5091
|
+
|
|
5092
|
+
</dd>
|
|
5093
|
+
</dl>
|
|
5094
|
+
|
|
5095
|
+
<dl>
|
|
5096
|
+
<dd>
|
|
5097
|
+
|
|
5098
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
5099
|
+
|
|
5100
|
+
</dd>
|
|
5101
|
+
</dl>
|
|
5102
|
+
</dd>
|
|
5103
|
+
</dl>
|
|
5104
|
+
|
|
5105
|
+
</dd>
|
|
5106
|
+
</dl>
|
|
5107
|
+
</details>
|
|
5108
|
+
|
|
5109
|
+
<details><summary><code>client.conversationalAi.tools.<a href="/src/api/resources/conversationalAi/resources/tools/client/Client.ts">getDependentAgents</a>(toolId, { ...params }) -> ElevenLabs.GetToolDependentAgentsResponseModel</code></summary>
|
|
5110
|
+
<dl>
|
|
5111
|
+
<dd>
|
|
5112
|
+
|
|
5113
|
+
#### 📝 Description
|
|
5114
|
+
|
|
5115
|
+
<dl>
|
|
5116
|
+
<dd>
|
|
5117
|
+
|
|
5118
|
+
<dl>
|
|
5119
|
+
<dd>
|
|
5120
|
+
|
|
5121
|
+
Get a list of agents depending on this tool
|
|
5122
|
+
|
|
5123
|
+
</dd>
|
|
5124
|
+
</dl>
|
|
5125
|
+
</dd>
|
|
5126
|
+
</dl>
|
|
5127
|
+
|
|
5128
|
+
#### 🔌 Usage
|
|
5129
|
+
|
|
5130
|
+
<dl>
|
|
5131
|
+
<dd>
|
|
5132
|
+
|
|
5133
|
+
<dl>
|
|
5134
|
+
<dd>
|
|
5135
|
+
|
|
5136
|
+
```typescript
|
|
5137
|
+
await client.conversationalAi.tools.getDependentAgents("tool_id");
|
|
5138
|
+
```
|
|
5139
|
+
|
|
5140
|
+
</dd>
|
|
5141
|
+
</dl>
|
|
5142
|
+
</dd>
|
|
5143
|
+
</dl>
|
|
5144
|
+
|
|
5145
|
+
#### ⚙️ Parameters
|
|
5146
|
+
|
|
5147
|
+
<dl>
|
|
5148
|
+
<dd>
|
|
5149
|
+
|
|
5150
|
+
<dl>
|
|
5151
|
+
<dd>
|
|
5152
|
+
|
|
5153
|
+
**toolId:** `string` — ID of the requested tool.
|
|
5154
|
+
|
|
5155
|
+
</dd>
|
|
5156
|
+
</dl>
|
|
5157
|
+
|
|
5158
|
+
<dl>
|
|
5159
|
+
<dd>
|
|
5160
|
+
|
|
5161
|
+
**request:** `ElevenLabs.conversationalAi.ToolsGetDependentAgentsRequest`
|
|
5162
|
+
|
|
5163
|
+
</dd>
|
|
5164
|
+
</dl>
|
|
5165
|
+
|
|
5166
|
+
<dl>
|
|
5167
|
+
<dd>
|
|
5168
|
+
|
|
5169
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
5170
|
+
|
|
5171
|
+
</dd>
|
|
5172
|
+
</dl>
|
|
5173
|
+
</dd>
|
|
5174
|
+
</dl>
|
|
5175
|
+
|
|
5176
|
+
</dd>
|
|
5177
|
+
</dl>
|
|
5178
|
+
</details>
|
|
5179
|
+
|
|
5180
|
+
## ConversationalAi Settings
|
|
5181
|
+
|
|
5182
|
+
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">get</a>() -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
5183
|
+
<dl>
|
|
5184
|
+
<dd>
|
|
5185
|
+
|
|
5186
|
+
#### 📝 Description
|
|
5187
|
+
|
|
5188
|
+
<dl>
|
|
5189
|
+
<dd>
|
|
5190
|
+
|
|
5191
|
+
<dl>
|
|
5192
|
+
<dd>
|
|
5193
|
+
|
|
5194
|
+
Retrieve Convai settings for the workspace
|
|
5195
|
+
|
|
5196
|
+
</dd>
|
|
5197
|
+
</dl>
|
|
5198
|
+
</dd>
|
|
5199
|
+
</dl>
|
|
5200
|
+
|
|
5201
|
+
#### 🔌 Usage
|
|
5202
|
+
|
|
5203
|
+
<dl>
|
|
5204
|
+
<dd>
|
|
5205
|
+
|
|
5206
|
+
<dl>
|
|
5207
|
+
<dd>
|
|
5208
|
+
|
|
5209
|
+
```typescript
|
|
5210
|
+
await client.conversationalAi.settings.get();
|
|
5211
|
+
```
|
|
5212
|
+
|
|
5213
|
+
</dd>
|
|
5214
|
+
</dl>
|
|
5215
|
+
</dd>
|
|
5216
|
+
</dl>
|
|
5217
|
+
|
|
5218
|
+
#### ⚙️ Parameters
|
|
5219
|
+
|
|
5220
|
+
<dl>
|
|
5221
|
+
<dd>
|
|
5222
|
+
|
|
5223
|
+
<dl>
|
|
5224
|
+
<dd>
|
|
5225
|
+
|
|
5226
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
5227
|
+
|
|
5228
|
+
</dd>
|
|
5229
|
+
</dl>
|
|
5230
|
+
</dd>
|
|
5231
|
+
</dl>
|
|
5232
|
+
|
|
5233
|
+
</dd>
|
|
5234
|
+
</dl>
|
|
5235
|
+
</details>
|
|
5236
|
+
|
|
5237
|
+
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">update</a>({ ...params }) -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
5238
|
+
<dl>
|
|
5239
|
+
<dd>
|
|
5240
|
+
|
|
5241
|
+
#### 📝 Description
|
|
5242
|
+
|
|
5243
|
+
<dl>
|
|
5244
|
+
<dd>
|
|
5245
|
+
|
|
5246
|
+
<dl>
|
|
5247
|
+
<dd>
|
|
5248
|
+
|
|
5249
|
+
Update Convai settings for the workspace
|
|
5250
|
+
|
|
5251
|
+
</dd>
|
|
5252
|
+
</dl>
|
|
5253
|
+
</dd>
|
|
5254
|
+
</dl>
|
|
5255
|
+
|
|
5256
|
+
#### 🔌 Usage
|
|
5257
|
+
|
|
5258
|
+
<dl>
|
|
5259
|
+
<dd>
|
|
5260
|
+
|
|
5261
|
+
<dl>
|
|
5262
|
+
<dd>
|
|
5263
|
+
|
|
5264
|
+
```typescript
|
|
5265
|
+
await client.conversationalAi.settings.update();
|
|
5266
|
+
```
|
|
5267
|
+
|
|
5268
|
+
</dd>
|
|
5269
|
+
</dl>
|
|
5270
|
+
</dd>
|
|
5271
|
+
</dl>
|
|
5272
|
+
|
|
5273
|
+
#### ⚙️ Parameters
|
|
5274
|
+
|
|
5275
|
+
<dl>
|
|
5276
|
+
<dd>
|
|
5277
|
+
|
|
5278
|
+
<dl>
|
|
5279
|
+
<dd>
|
|
5280
|
+
|
|
5281
|
+
**request:** `ElevenLabs.conversationalAi.PatchConvAiSettingsRequest`
|
|
5282
|
+
|
|
5283
|
+
</dd>
|
|
5284
|
+
</dl>
|
|
5285
|
+
|
|
5286
|
+
<dl>
|
|
5287
|
+
<dd>
|
|
5288
|
+
|
|
5289
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
5290
|
+
|
|
5291
|
+
</dd>
|
|
5292
|
+
</dl>
|
|
5293
|
+
</dd>
|
|
5294
|
+
</dl>
|
|
5295
|
+
|
|
5296
|
+
</dd>
|
|
5297
|
+
</dl>
|
|
5298
|
+
</details>
|
|
5299
|
+
|
|
5300
|
+
## ConversationalAi Secrets
|
|
5301
|
+
|
|
5302
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">list</a>() -> ElevenLabs.GetWorkspaceSecretsResponseModel</code></summary>
|
|
5303
|
+
<dl>
|
|
5304
|
+
<dd>
|
|
5305
|
+
|
|
5306
|
+
#### 📝 Description
|
|
5307
|
+
|
|
5308
|
+
<dl>
|
|
5309
|
+
<dd>
|
|
5310
|
+
|
|
5311
|
+
<dl>
|
|
5312
|
+
<dd>
|
|
5313
|
+
|
|
5314
|
+
Get all workspace secrets for the user
|
|
5315
|
+
|
|
5316
|
+
</dd>
|
|
5317
|
+
</dl>
|
|
5318
|
+
</dd>
|
|
5319
|
+
</dl>
|
|
5320
|
+
|
|
5321
|
+
#### 🔌 Usage
|
|
5322
|
+
|
|
5323
|
+
<dl>
|
|
5324
|
+
<dd>
|
|
5325
|
+
|
|
5326
|
+
<dl>
|
|
5327
|
+
<dd>
|
|
5328
|
+
|
|
5329
|
+
```typescript
|
|
5330
|
+
await client.conversationalAi.secrets.list();
|
|
5331
|
+
```
|
|
5332
|
+
|
|
5333
|
+
</dd>
|
|
5334
|
+
</dl>
|
|
5335
|
+
</dd>
|
|
5336
|
+
</dl>
|
|
5337
|
+
|
|
5338
|
+
#### ⚙️ Parameters
|
|
5339
|
+
|
|
5340
|
+
<dl>
|
|
5341
|
+
<dd>
|
|
5342
|
+
|
|
5343
|
+
<dl>
|
|
5344
|
+
<dd>
|
|
5345
|
+
|
|
5346
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
5347
|
+
|
|
5348
|
+
</dd>
|
|
5349
|
+
</dl>
|
|
5350
|
+
</dd>
|
|
5351
|
+
</dl>
|
|
5352
|
+
|
|
5353
|
+
</dd>
|
|
5354
|
+
</dl>
|
|
5355
|
+
</details>
|
|
5356
|
+
|
|
5357
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.PostWorkspaceSecretResponseModel</code></summary>
|
|
5358
|
+
<dl>
|
|
5359
|
+
<dd>
|
|
5360
|
+
|
|
5361
|
+
#### 📝 Description
|
|
5362
|
+
|
|
5363
|
+
<dl>
|
|
5364
|
+
<dd>
|
|
5365
|
+
|
|
5366
|
+
<dl>
|
|
5367
|
+
<dd>
|
|
5368
|
+
|
|
5369
|
+
Create a new secret for the workspace
|
|
5370
|
+
|
|
5371
|
+
</dd>
|
|
5372
|
+
</dl>
|
|
5373
|
+
</dd>
|
|
5374
|
+
</dl>
|
|
5375
|
+
|
|
5376
|
+
#### 🔌 Usage
|
|
5377
|
+
|
|
5378
|
+
<dl>
|
|
5379
|
+
<dd>
|
|
5380
|
+
|
|
5381
|
+
<dl>
|
|
5382
|
+
<dd>
|
|
5383
|
+
|
|
5384
|
+
```typescript
|
|
5385
|
+
await client.conversationalAi.secrets.create({
|
|
5386
|
+
name: "name",
|
|
5387
|
+
value: "value",
|
|
5388
|
+
});
|
|
5389
|
+
```
|
|
5390
|
+
|
|
5391
|
+
</dd>
|
|
5392
|
+
</dl>
|
|
5393
|
+
</dd>
|
|
5394
|
+
</dl>
|
|
5395
|
+
|
|
5396
|
+
#### ⚙️ Parameters
|
|
5397
|
+
|
|
5398
|
+
<dl>
|
|
5399
|
+
<dd>
|
|
4054
5400
|
|
|
4055
5401
|
<dl>
|
|
4056
5402
|
<dd>
|
|
4057
5403
|
|
|
4058
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
5404
|
+
**request:** `ElevenLabs.conversationalAi.PostWorkspaceSecretRequest`
|
|
4059
5405
|
|
|
4060
5406
|
</dd>
|
|
4061
5407
|
</dl>
|
|
@@ -4063,7 +5409,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
4063
5409
|
<dl>
|
|
4064
5410
|
<dd>
|
|
4065
5411
|
|
|
4066
|
-
**requestOptions:** `
|
|
5412
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
4067
5413
|
|
|
4068
5414
|
</dd>
|
|
4069
5415
|
</dl>
|
|
@@ -4074,7 +5420,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
4074
5420
|
</dl>
|
|
4075
5421
|
</details>
|
|
4076
5422
|
|
|
4077
|
-
<details><summary><code>client.conversationalAi.
|
|
5423
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">delete</a>(secretId) -> void</code></summary>
|
|
4078
5424
|
<dl>
|
|
4079
5425
|
<dd>
|
|
4080
5426
|
|
|
@@ -4086,7 +5432,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
4086
5432
|
<dl>
|
|
4087
5433
|
<dd>
|
|
4088
5434
|
|
|
4089
|
-
|
|
5435
|
+
Delete a workspace secret if it's not in use
|
|
4090
5436
|
|
|
4091
5437
|
</dd>
|
|
4092
5438
|
</dl>
|
|
@@ -4102,7 +5448,7 @@ Retrieve all Phone Numbers
|
|
|
4102
5448
|
<dd>
|
|
4103
5449
|
|
|
4104
5450
|
```typescript
|
|
4105
|
-
await client.conversationalAi.
|
|
5451
|
+
await client.conversationalAi.secrets.delete("secret_id");
|
|
4106
5452
|
```
|
|
4107
5453
|
|
|
4108
5454
|
</dd>
|
|
@@ -4118,7 +5464,15 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
4118
5464
|
<dl>
|
|
4119
5465
|
<dd>
|
|
4120
5466
|
|
|
4121
|
-
**
|
|
5467
|
+
**secretId:** `string`
|
|
5468
|
+
|
|
5469
|
+
</dd>
|
|
5470
|
+
</dl>
|
|
5471
|
+
|
|
5472
|
+
<dl>
|
|
5473
|
+
<dd>
|
|
5474
|
+
|
|
5475
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
4122
5476
|
|
|
4123
5477
|
</dd>
|
|
4124
5478
|
</dl>
|
|
@@ -4129,9 +5483,9 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
4129
5483
|
</dl>
|
|
4130
5484
|
</details>
|
|
4131
5485
|
|
|
4132
|
-
## ConversationalAi
|
|
5486
|
+
## ConversationalAi BatchCalls
|
|
4133
5487
|
|
|
4134
|
-
<details><summary><code>client.conversationalAi.
|
|
5488
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
4135
5489
|
<dl>
|
|
4136
5490
|
<dd>
|
|
4137
5491
|
|
|
@@ -4143,7 +5497,7 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
4143
5497
|
<dl>
|
|
4144
5498
|
<dd>
|
|
4145
5499
|
|
|
4146
|
-
|
|
5500
|
+
Submit a batch call request to schedule calls for multiple recipients.
|
|
4147
5501
|
|
|
4148
5502
|
</dd>
|
|
4149
5503
|
</dl>
|
|
@@ -4159,10 +5513,15 @@ Returns a list of LLM models and the expected cost for using them based on the p
|
|
|
4159
5513
|
<dd>
|
|
4160
5514
|
|
|
4161
5515
|
```typescript
|
|
4162
|
-
await client.conversationalAi.
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
5516
|
+
await client.conversationalAi.batchCalls.create({
|
|
5517
|
+
callName: "call_name",
|
|
5518
|
+
agentId: "agent_id",
|
|
5519
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
5520
|
+
recipients: [
|
|
5521
|
+
{
|
|
5522
|
+
phoneNumber: "phone_number",
|
|
5523
|
+
},
|
|
5524
|
+
],
|
|
4166
5525
|
});
|
|
4167
5526
|
```
|
|
4168
5527
|
|
|
@@ -4179,7 +5538,7 @@ await client.conversationalAi.llmUsage.calculate({
|
|
|
4179
5538
|
<dl>
|
|
4180
5539
|
<dd>
|
|
4181
5540
|
|
|
4182
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
5541
|
+
**request:** `ElevenLabs.conversationalAi.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost`
|
|
4183
5542
|
|
|
4184
5543
|
</dd>
|
|
4185
5544
|
</dl>
|
|
@@ -4187,7 +5546,7 @@ await client.conversationalAi.llmUsage.calculate({
|
|
|
4187
5546
|
<dl>
|
|
4188
5547
|
<dd>
|
|
4189
5548
|
|
|
4190
|
-
**requestOptions:** `
|
|
5549
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
4191
5550
|
|
|
4192
5551
|
</dd>
|
|
4193
5552
|
</dl>
|
|
@@ -4198,9 +5557,7 @@ await client.conversationalAi.llmUsage.calculate({
|
|
|
4198
5557
|
</dl>
|
|
4199
5558
|
</details>
|
|
4200
5559
|
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetKnowledgeBaseListResponseModel</code></summary>
|
|
5560
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.WorkspaceBatchCallsResponse</code></summary>
|
|
4204
5561
|
<dl>
|
|
4205
5562
|
<dd>
|
|
4206
5563
|
|
|
@@ -4212,7 +5569,7 @@ await client.conversationalAi.llmUsage.calculate({
|
|
|
4212
5569
|
<dl>
|
|
4213
5570
|
<dd>
|
|
4214
5571
|
|
|
4215
|
-
Get
|
|
5572
|
+
Get all batch calls for the current workspace.
|
|
4216
5573
|
|
|
4217
5574
|
</dd>
|
|
4218
5575
|
</dl>
|
|
@@ -4228,7 +5585,7 @@ Get a list of available knowledge base documents
|
|
|
4228
5585
|
<dd>
|
|
4229
5586
|
|
|
4230
5587
|
```typescript
|
|
4231
|
-
await client.conversationalAi.
|
|
5588
|
+
await client.conversationalAi.batchCalls.list();
|
|
4232
5589
|
```
|
|
4233
5590
|
|
|
4234
5591
|
</dd>
|
|
@@ -4244,7 +5601,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
4244
5601
|
<dl>
|
|
4245
5602
|
<dd>
|
|
4246
5603
|
|
|
4247
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
5604
|
+
**request:** `ElevenLabs.conversationalAi.BatchCallsListRequest`
|
|
4248
5605
|
|
|
4249
5606
|
</dd>
|
|
4250
5607
|
</dl>
|
|
@@ -4252,7 +5609,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
4252
5609
|
<dl>
|
|
4253
5610
|
<dd>
|
|
4254
5611
|
|
|
4255
|
-
**requestOptions:** `
|
|
5612
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
4256
5613
|
|
|
4257
5614
|
</dd>
|
|
4258
5615
|
</dl>
|
|
@@ -4263,9 +5620,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
4263
5620
|
</dl>
|
|
4264
5621
|
</details>
|
|
4265
5622
|
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">get</a>() -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
5623
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">get</a>(batchId) -> ElevenLabs.BatchCallDetailedResponse</code></summary>
|
|
4269
5624
|
<dl>
|
|
4270
5625
|
<dd>
|
|
4271
5626
|
|
|
@@ -4277,7 +5632,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
4277
5632
|
<dl>
|
|
4278
5633
|
<dd>
|
|
4279
5634
|
|
|
4280
|
-
|
|
5635
|
+
Get detailed information about a batch call including all recipients.
|
|
4281
5636
|
|
|
4282
5637
|
</dd>
|
|
4283
5638
|
</dl>
|
|
@@ -4293,7 +5648,7 @@ Retrieve Convai settings for the workspace
|
|
|
4293
5648
|
<dd>
|
|
4294
5649
|
|
|
4295
5650
|
```typescript
|
|
4296
|
-
await client.conversationalAi.
|
|
5651
|
+
await client.conversationalAi.batchCalls.get("batch_id");
|
|
4297
5652
|
```
|
|
4298
5653
|
|
|
4299
5654
|
</dd>
|
|
@@ -4309,7 +5664,15 @@ await client.conversationalAi.settings.get();
|
|
|
4309
5664
|
<dl>
|
|
4310
5665
|
<dd>
|
|
4311
5666
|
|
|
4312
|
-
**
|
|
5667
|
+
**batchId:** `string`
|
|
5668
|
+
|
|
5669
|
+
</dd>
|
|
5670
|
+
</dl>
|
|
5671
|
+
|
|
5672
|
+
<dl>
|
|
5673
|
+
<dd>
|
|
5674
|
+
|
|
5675
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
4313
5676
|
|
|
4314
5677
|
</dd>
|
|
4315
5678
|
</dl>
|
|
@@ -4320,7 +5683,7 @@ await client.conversationalAi.settings.get();
|
|
|
4320
5683
|
</dl>
|
|
4321
5684
|
</details>
|
|
4322
5685
|
|
|
4323
|
-
<details><summary><code>client.conversationalAi.
|
|
5686
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">cancel</a>(batchId) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
4324
5687
|
<dl>
|
|
4325
5688
|
<dd>
|
|
4326
5689
|
|
|
@@ -4332,7 +5695,7 @@ await client.conversationalAi.settings.get();
|
|
|
4332
5695
|
<dl>
|
|
4333
5696
|
<dd>
|
|
4334
5697
|
|
|
4335
|
-
|
|
5698
|
+
Cancel a running batch call and set all recipients to cancelled status.
|
|
4336
5699
|
|
|
4337
5700
|
</dd>
|
|
4338
5701
|
</dl>
|
|
@@ -4348,7 +5711,7 @@ Update Convai settings for the workspace
|
|
|
4348
5711
|
<dd>
|
|
4349
5712
|
|
|
4350
5713
|
```typescript
|
|
4351
|
-
await client.conversationalAi.
|
|
5714
|
+
await client.conversationalAi.batchCalls.cancel("batch_id");
|
|
4352
5715
|
```
|
|
4353
5716
|
|
|
4354
5717
|
</dd>
|
|
@@ -4364,7 +5727,7 @@ await client.conversationalAi.settings.update();
|
|
|
4364
5727
|
<dl>
|
|
4365
5728
|
<dd>
|
|
4366
5729
|
|
|
4367
|
-
**
|
|
5730
|
+
**batchId:** `string`
|
|
4368
5731
|
|
|
4369
5732
|
</dd>
|
|
4370
5733
|
</dl>
|
|
@@ -4372,7 +5735,7 @@ await client.conversationalAi.settings.update();
|
|
|
4372
5735
|
<dl>
|
|
4373
5736
|
<dd>
|
|
4374
5737
|
|
|
4375
|
-
**requestOptions:** `
|
|
5738
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
4376
5739
|
|
|
4377
5740
|
</dd>
|
|
4378
5741
|
</dl>
|
|
@@ -4383,9 +5746,7 @@ await client.conversationalAi.settings.update();
|
|
|
4383
5746
|
</dl>
|
|
4384
5747
|
</details>
|
|
4385
5748
|
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">list</a>() -> ElevenLabs.GetWorkspaceSecretsResponseModel</code></summary>
|
|
5749
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">retry</a>(batchId) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
4389
5750
|
<dl>
|
|
4390
5751
|
<dd>
|
|
4391
5752
|
|
|
@@ -4397,7 +5758,7 @@ await client.conversationalAi.settings.update();
|
|
|
4397
5758
|
<dl>
|
|
4398
5759
|
<dd>
|
|
4399
5760
|
|
|
4400
|
-
|
|
5761
|
+
Retry a batch call by setting completed recipients back to pending status.
|
|
4401
5762
|
|
|
4402
5763
|
</dd>
|
|
4403
5764
|
</dl>
|
|
@@ -4413,7 +5774,7 @@ Get all workspace secrets for the user
|
|
|
4413
5774
|
<dd>
|
|
4414
5775
|
|
|
4415
5776
|
```typescript
|
|
4416
|
-
await client.conversationalAi.
|
|
5777
|
+
await client.conversationalAi.batchCalls.retry("batch_id");
|
|
4417
5778
|
```
|
|
4418
5779
|
|
|
4419
5780
|
</dd>
|
|
@@ -4429,7 +5790,15 @@ await client.conversationalAi.secrets.list();
|
|
|
4429
5790
|
<dl>
|
|
4430
5791
|
<dd>
|
|
4431
5792
|
|
|
4432
|
-
**
|
|
5793
|
+
**batchId:** `string`
|
|
5794
|
+
|
|
5795
|
+
</dd>
|
|
5796
|
+
</dl>
|
|
5797
|
+
|
|
5798
|
+
<dl>
|
|
5799
|
+
<dd>
|
|
5800
|
+
|
|
5801
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
4433
5802
|
|
|
4434
5803
|
</dd>
|
|
4435
5804
|
</dl>
|
|
@@ -4440,7 +5809,9 @@ await client.conversationalAi.secrets.list();
|
|
|
4440
5809
|
</dl>
|
|
4441
5810
|
</details>
|
|
4442
5811
|
|
|
4443
|
-
|
|
5812
|
+
## ConversationalAi SipTrunk
|
|
5813
|
+
|
|
5814
|
+
<details><summary><code>client.conversationalAi.sipTrunk.<a href="/src/api/resources/conversationalAi/resources/sipTrunk/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.SipTrunkOutboundCallResponse</code></summary>
|
|
4444
5815
|
<dl>
|
|
4445
5816
|
<dd>
|
|
4446
5817
|
|
|
@@ -4452,7 +5823,7 @@ await client.conversationalAi.secrets.list();
|
|
|
4452
5823
|
<dl>
|
|
4453
5824
|
<dd>
|
|
4454
5825
|
|
|
4455
|
-
|
|
5826
|
+
Handle an outbound call via SIP trunk
|
|
4456
5827
|
|
|
4457
5828
|
</dd>
|
|
4458
5829
|
</dl>
|
|
@@ -4468,9 +5839,10 @@ Create a new secret for the workspace
|
|
|
4468
5839
|
<dd>
|
|
4469
5840
|
|
|
4470
5841
|
```typescript
|
|
4471
|
-
await client.conversationalAi.
|
|
4472
|
-
|
|
4473
|
-
|
|
5842
|
+
await client.conversationalAi.sipTrunk.outboundCall({
|
|
5843
|
+
agentId: "agent_id",
|
|
5844
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
5845
|
+
toNumber: "to_number",
|
|
4474
5846
|
});
|
|
4475
5847
|
```
|
|
4476
5848
|
|
|
@@ -4487,7 +5859,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4487
5859
|
<dl>
|
|
4488
5860
|
<dd>
|
|
4489
5861
|
|
|
4490
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
5862
|
+
**request:** `ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost`
|
|
4491
5863
|
|
|
4492
5864
|
</dd>
|
|
4493
5865
|
</dl>
|
|
@@ -4495,7 +5867,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4495
5867
|
<dl>
|
|
4496
5868
|
<dd>
|
|
4497
5869
|
|
|
4498
|
-
**requestOptions:** `
|
|
5870
|
+
**requestOptions:** `SipTrunk.RequestOptions`
|
|
4499
5871
|
|
|
4500
5872
|
</dd>
|
|
4501
5873
|
</dl>
|
|
@@ -4506,7 +5878,9 @@ await client.conversationalAi.secrets.create({
|
|
|
4506
5878
|
</dl>
|
|
4507
5879
|
</details>
|
|
4508
5880
|
|
|
4509
|
-
|
|
5881
|
+
## ConversationalAi McpServers
|
|
5882
|
+
|
|
5883
|
+
<details><summary><code>client.conversationalAi.mcpServers.<a href="/src/api/resources/conversationalAi/resources/mcpServers/client/Client.ts">list</a>() -> ElevenLabs.McpServersResponseModel</code></summary>
|
|
4510
5884
|
<dl>
|
|
4511
5885
|
<dd>
|
|
4512
5886
|
|
|
@@ -4518,7 +5892,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4518
5892
|
<dl>
|
|
4519
5893
|
<dd>
|
|
4520
5894
|
|
|
4521
|
-
|
|
5895
|
+
Retrieve all MCP server configurations available in the workspace.
|
|
4522
5896
|
|
|
4523
5897
|
</dd>
|
|
4524
5898
|
</dl>
|
|
@@ -4534,7 +5908,7 @@ Delete a workspace secret if it's not in use
|
|
|
4534
5908
|
<dd>
|
|
4535
5909
|
|
|
4536
5910
|
```typescript
|
|
4537
|
-
await client.conversationalAi.
|
|
5911
|
+
await client.conversationalAi.mcpServers.list();
|
|
4538
5912
|
```
|
|
4539
5913
|
|
|
4540
5914
|
</dd>
|
|
@@ -4550,15 +5924,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4550
5924
|
<dl>
|
|
4551
5925
|
<dd>
|
|
4552
5926
|
|
|
4553
|
-
**
|
|
4554
|
-
|
|
4555
|
-
</dd>
|
|
4556
|
-
</dl>
|
|
4557
|
-
|
|
4558
|
-
<dl>
|
|
4559
|
-
<dd>
|
|
4560
|
-
|
|
4561
|
-
**requestOptions:** `Secrets.RequestOptions`
|
|
5927
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
4562
5928
|
|
|
4563
5929
|
</dd>
|
|
4564
5930
|
</dl>
|
|
@@ -4569,9 +5935,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4569
5935
|
</dl>
|
|
4570
5936
|
</details>
|
|
4571
5937
|
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
5938
|
+
<details><summary><code>client.conversationalAi.mcpServers.<a href="/src/api/resources/conversationalAi/resources/mcpServers/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.McpServerResponseModel</code></summary>
|
|
4575
5939
|
<dl>
|
|
4576
5940
|
<dd>
|
|
4577
5941
|
|
|
@@ -4583,7 +5947,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4583
5947
|
<dl>
|
|
4584
5948
|
<dd>
|
|
4585
5949
|
|
|
4586
|
-
|
|
5950
|
+
Create a new MCP server configuration in the workspace.
|
|
4587
5951
|
|
|
4588
5952
|
</dd>
|
|
4589
5953
|
</dl>
|
|
@@ -4599,15 +5963,11 @@ Submit a batch call request to schedule calls for multiple recipients.
|
|
|
4599
5963
|
<dd>
|
|
4600
5964
|
|
|
4601
5965
|
```typescript
|
|
4602
|
-
await client.conversationalAi.
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
{
|
|
4608
|
-
phoneNumber: "phone_number",
|
|
4609
|
-
},
|
|
4610
|
-
],
|
|
5966
|
+
await client.conversationalAi.mcpServers.create({
|
|
5967
|
+
config: {
|
|
5968
|
+
url: "url",
|
|
5969
|
+
name: "name",
|
|
5970
|
+
},
|
|
4611
5971
|
});
|
|
4612
5972
|
```
|
|
4613
5973
|
|
|
@@ -4624,7 +5984,7 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4624
5984
|
<dl>
|
|
4625
5985
|
<dd>
|
|
4626
5986
|
|
|
4627
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
5987
|
+
**request:** `ElevenLabs.conversationalAi.McpServerRequestModel`
|
|
4628
5988
|
|
|
4629
5989
|
</dd>
|
|
4630
5990
|
</dl>
|
|
@@ -4632,7 +5992,7 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4632
5992
|
<dl>
|
|
4633
5993
|
<dd>
|
|
4634
5994
|
|
|
4635
|
-
**requestOptions:** `
|
|
5995
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
4636
5996
|
|
|
4637
5997
|
</dd>
|
|
4638
5998
|
</dl>
|
|
@@ -4643,7 +6003,7 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4643
6003
|
</dl>
|
|
4644
6004
|
</details>
|
|
4645
6005
|
|
|
4646
|
-
<details><summary><code>client.conversationalAi.
|
|
6006
|
+
<details><summary><code>client.conversationalAi.mcpServers.<a href="/src/api/resources/conversationalAi/resources/mcpServers/client/Client.ts">get</a>(mcpServerId) -> ElevenLabs.McpServerResponseModel</code></summary>
|
|
4647
6007
|
<dl>
|
|
4648
6008
|
<dd>
|
|
4649
6009
|
|
|
@@ -4655,7 +6015,7 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4655
6015
|
<dl>
|
|
4656
6016
|
<dd>
|
|
4657
6017
|
|
|
4658
|
-
|
|
6018
|
+
Retrieve a specific MCP server configuration from the workspace.
|
|
4659
6019
|
|
|
4660
6020
|
</dd>
|
|
4661
6021
|
</dl>
|
|
@@ -4671,7 +6031,7 @@ Get all batch calls for the current workspace.
|
|
|
4671
6031
|
<dd>
|
|
4672
6032
|
|
|
4673
6033
|
```typescript
|
|
4674
|
-
await client.conversationalAi.
|
|
6034
|
+
await client.conversationalAi.mcpServers.get("mcp_server_id");
|
|
4675
6035
|
```
|
|
4676
6036
|
|
|
4677
6037
|
</dd>
|
|
@@ -4687,7 +6047,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4687
6047
|
<dl>
|
|
4688
6048
|
<dd>
|
|
4689
6049
|
|
|
4690
|
-
**
|
|
6050
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
4691
6051
|
|
|
4692
6052
|
</dd>
|
|
4693
6053
|
</dl>
|
|
@@ -4695,7 +6055,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4695
6055
|
<dl>
|
|
4696
6056
|
<dd>
|
|
4697
6057
|
|
|
4698
|
-
**requestOptions:** `
|
|
6058
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
4699
6059
|
|
|
4700
6060
|
</dd>
|
|
4701
6061
|
</dl>
|
|
@@ -4706,7 +6066,9 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4706
6066
|
</dl>
|
|
4707
6067
|
</details>
|
|
4708
6068
|
|
|
4709
|
-
|
|
6069
|
+
## ConversationalAi Agents Widget
|
|
6070
|
+
|
|
6071
|
+
<details><summary><code>client.conversationalAi.agents.widget.<a href="/src/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.ts">get</a>(agentId, { ...params }) -> ElevenLabs.GetAgentEmbedResponseModel</code></summary>
|
|
4710
6072
|
<dl>
|
|
4711
6073
|
<dd>
|
|
4712
6074
|
|
|
@@ -4718,7 +6080,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4718
6080
|
<dl>
|
|
4719
6081
|
<dd>
|
|
4720
6082
|
|
|
4721
|
-
|
|
6083
|
+
Retrieve the widget configuration for an agent
|
|
4722
6084
|
|
|
4723
6085
|
</dd>
|
|
4724
6086
|
</dl>
|
|
@@ -4734,7 +6096,7 @@ Get detailed information about a batch call including all recipients.
|
|
|
4734
6096
|
<dd>
|
|
4735
6097
|
|
|
4736
6098
|
```typescript
|
|
4737
|
-
await client.conversationalAi.
|
|
6099
|
+
await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
4738
6100
|
```
|
|
4739
6101
|
|
|
4740
6102
|
</dd>
|
|
@@ -4750,7 +6112,7 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4750
6112
|
<dl>
|
|
4751
6113
|
<dd>
|
|
4752
6114
|
|
|
4753
|
-
**
|
|
6115
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4754
6116
|
|
|
4755
6117
|
</dd>
|
|
4756
6118
|
</dl>
|
|
@@ -4758,7 +6120,15 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4758
6120
|
<dl>
|
|
4759
6121
|
<dd>
|
|
4760
6122
|
|
|
4761
|
-
**
|
|
6123
|
+
**request:** `ElevenLabs.conversationalAi.agents.WidgetGetRequest`
|
|
6124
|
+
|
|
6125
|
+
</dd>
|
|
6126
|
+
</dl>
|
|
6127
|
+
|
|
6128
|
+
<dl>
|
|
6129
|
+
<dd>
|
|
6130
|
+
|
|
6131
|
+
**requestOptions:** `Widget.RequestOptions`
|
|
4762
6132
|
|
|
4763
6133
|
</dd>
|
|
4764
6134
|
</dl>
|
|
@@ -4769,7 +6139,9 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4769
6139
|
</dl>
|
|
4770
6140
|
</details>
|
|
4771
6141
|
|
|
4772
|
-
|
|
6142
|
+
## ConversationalAi Agents Link
|
|
6143
|
+
|
|
6144
|
+
<details><summary><code>client.conversationalAi.agents.link.<a href="/src/api/resources/conversationalAi/resources/agents/resources/link/client/Client.ts">get</a>(agentId) -> ElevenLabs.GetAgentLinkResponseModel</code></summary>
|
|
4773
6145
|
<dl>
|
|
4774
6146
|
<dd>
|
|
4775
6147
|
|
|
@@ -4781,7 +6153,7 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4781
6153
|
<dl>
|
|
4782
6154
|
<dd>
|
|
4783
6155
|
|
|
4784
|
-
|
|
6156
|
+
Get the current link used to share the agent with others
|
|
4785
6157
|
|
|
4786
6158
|
</dd>
|
|
4787
6159
|
</dl>
|
|
@@ -4797,7 +6169,7 @@ Cancel a running batch call and set all recipients to cancelled status.
|
|
|
4797
6169
|
<dd>
|
|
4798
6170
|
|
|
4799
6171
|
```typescript
|
|
4800
|
-
await client.conversationalAi.
|
|
6172
|
+
await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
4801
6173
|
```
|
|
4802
6174
|
|
|
4803
6175
|
</dd>
|
|
@@ -4813,7 +6185,7 @@ await client.conversationalAi.batchCalls.cancel("batch_id");
|
|
|
4813
6185
|
<dl>
|
|
4814
6186
|
<dd>
|
|
4815
6187
|
|
|
4816
|
-
**
|
|
6188
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4817
6189
|
|
|
4818
6190
|
</dd>
|
|
4819
6191
|
</dl>
|
|
@@ -4821,7 +6193,7 @@ await client.conversationalAi.batchCalls.cancel("batch_id");
|
|
|
4821
6193
|
<dl>
|
|
4822
6194
|
<dd>
|
|
4823
6195
|
|
|
4824
|
-
**requestOptions:** `
|
|
6196
|
+
**requestOptions:** `Link.RequestOptions`
|
|
4825
6197
|
|
|
4826
6198
|
</dd>
|
|
4827
6199
|
</dl>
|
|
@@ -4832,7 +6204,9 @@ await client.conversationalAi.batchCalls.cancel("batch_id");
|
|
|
4832
6204
|
</dl>
|
|
4833
6205
|
</details>
|
|
4834
6206
|
|
|
4835
|
-
|
|
6207
|
+
## ConversationalAi Agents KnowledgeBase
|
|
6208
|
+
|
|
6209
|
+
<details><summary><code>client.conversationalAi.agents.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.ts">size</a>(agentId) -> ElevenLabs.GetAgentKnowledgebaseSizeResponseModel</code></summary>
|
|
4836
6210
|
<dl>
|
|
4837
6211
|
<dd>
|
|
4838
6212
|
|
|
@@ -4844,7 +6218,7 @@ await client.conversationalAi.batchCalls.cancel("batch_id");
|
|
|
4844
6218
|
<dl>
|
|
4845
6219
|
<dd>
|
|
4846
6220
|
|
|
4847
|
-
|
|
6221
|
+
Returns the number of pages in the agent's knowledge base.
|
|
4848
6222
|
|
|
4849
6223
|
</dd>
|
|
4850
6224
|
</dl>
|
|
@@ -4860,7 +6234,7 @@ Retry a batch call by setting completed recipients back to pending status.
|
|
|
4860
6234
|
<dd>
|
|
4861
6235
|
|
|
4862
6236
|
```typescript
|
|
4863
|
-
await client.conversationalAi.
|
|
6237
|
+
await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
4864
6238
|
```
|
|
4865
6239
|
|
|
4866
6240
|
</dd>
|
|
@@ -4876,7 +6250,7 @@ await client.conversationalAi.batchCalls.retry("batch_id");
|
|
|
4876
6250
|
<dl>
|
|
4877
6251
|
<dd>
|
|
4878
6252
|
|
|
4879
|
-
**
|
|
6253
|
+
**agentId:** `string`
|
|
4880
6254
|
|
|
4881
6255
|
</dd>
|
|
4882
6256
|
</dl>
|
|
@@ -4884,7 +6258,7 @@ await client.conversationalAi.batchCalls.retry("batch_id");
|
|
|
4884
6258
|
<dl>
|
|
4885
6259
|
<dd>
|
|
4886
6260
|
|
|
4887
|
-
**requestOptions:** `
|
|
6261
|
+
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
4888
6262
|
|
|
4889
6263
|
</dd>
|
|
4890
6264
|
</dl>
|
|
@@ -4895,9 +6269,9 @@ await client.conversationalAi.batchCalls.retry("batch_id");
|
|
|
4895
6269
|
</dl>
|
|
4896
6270
|
</details>
|
|
4897
6271
|
|
|
4898
|
-
## ConversationalAi
|
|
6272
|
+
## ConversationalAi Agents LlmUsage
|
|
4899
6273
|
|
|
4900
|
-
<details><summary><code>client.conversationalAi.
|
|
6274
|
+
<details><summary><code>client.conversationalAi.agents.llmUsage.<a href="/src/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.ts">calculate</a>(agentId, { ...params }) -> ElevenLabs.LlmUsageCalculatorResponseModel</code></summary>
|
|
4901
6275
|
<dl>
|
|
4902
6276
|
<dd>
|
|
4903
6277
|
|
|
@@ -4909,7 +6283,7 @@ await client.conversationalAi.batchCalls.retry("batch_id");
|
|
|
4909
6283
|
<dl>
|
|
4910
6284
|
<dd>
|
|
4911
6285
|
|
|
4912
|
-
|
|
6286
|
+
Calculates expected number of LLM tokens needed for the specified agent.
|
|
4913
6287
|
|
|
4914
6288
|
</dd>
|
|
4915
6289
|
</dl>
|
|
@@ -4925,11 +6299,7 @@ Handle an outbound call via SIP trunk
|
|
|
4925
6299
|
<dd>
|
|
4926
6300
|
|
|
4927
6301
|
```typescript
|
|
4928
|
-
await client.conversationalAi.
|
|
4929
|
-
agentId: "agent_id",
|
|
4930
|
-
agentPhoneNumberId: "agent_phone_number_id",
|
|
4931
|
-
toNumber: "to_number",
|
|
4932
|
-
});
|
|
6302
|
+
await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
4933
6303
|
```
|
|
4934
6304
|
|
|
4935
6305
|
</dd>
|
|
@@ -4945,7 +6315,7 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4945
6315
|
<dl>
|
|
4946
6316
|
<dd>
|
|
4947
6317
|
|
|
4948
|
-
**
|
|
6318
|
+
**agentId:** `string`
|
|
4949
6319
|
|
|
4950
6320
|
</dd>
|
|
4951
6321
|
</dl>
|
|
@@ -4953,7 +6323,15 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4953
6323
|
<dl>
|
|
4954
6324
|
<dd>
|
|
4955
6325
|
|
|
4956
|
-
**
|
|
6326
|
+
**request:** `ElevenLabs.conversationalAi.agents.LlmUsageCalculatorRequestModel`
|
|
6327
|
+
|
|
6328
|
+
</dd>
|
|
6329
|
+
</dl>
|
|
6330
|
+
|
|
6331
|
+
<dl>
|
|
6332
|
+
<dd>
|
|
6333
|
+
|
|
6334
|
+
**requestOptions:** `LlmUsage.RequestOptions`
|
|
4957
6335
|
|
|
4958
6336
|
</dd>
|
|
4959
6337
|
</dl>
|
|
@@ -4964,9 +6342,9 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4964
6342
|
</dl>
|
|
4965
6343
|
</details>
|
|
4966
6344
|
|
|
4967
|
-
## ConversationalAi Agents Widget
|
|
6345
|
+
## ConversationalAi Agents Widget Avatar
|
|
4968
6346
|
|
|
4969
|
-
<details><summary><code>client.conversationalAi.agents.widget.<a href="/src/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.ts">
|
|
6347
|
+
<details><summary><code>client.conversationalAi.agents.widget.avatar.<a href="/src/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.ts">create</a>(agentId, { ...params }) -> ElevenLabs.PostAgentAvatarResponseModel</code></summary>
|
|
4970
6348
|
<dl>
|
|
4971
6349
|
<dd>
|
|
4972
6350
|
|
|
@@ -4978,7 +6356,7 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4978
6356
|
<dl>
|
|
4979
6357
|
<dd>
|
|
4980
6358
|
|
|
4981
|
-
|
|
6359
|
+
Sets the avatar for an agent displayed in the widget
|
|
4982
6360
|
|
|
4983
6361
|
</dd>
|
|
4984
6362
|
</dl>
|
|
@@ -4994,7 +6372,9 @@ Retrieve the widget configuration for an agent
|
|
|
4994
6372
|
<dd>
|
|
4995
6373
|
|
|
4996
6374
|
```typescript
|
|
4997
|
-
await client.conversationalAi.agents.widget.
|
|
6375
|
+
await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM", {
|
|
6376
|
+
avatarFile: fs.createReadStream("/path/to/your/file"),
|
|
6377
|
+
});
|
|
4998
6378
|
```
|
|
4999
6379
|
|
|
5000
6380
|
</dd>
|
|
@@ -5010,7 +6390,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5010
6390
|
<dl>
|
|
5011
6391
|
<dd>
|
|
5012
6392
|
|
|
5013
|
-
**agentId:** `string`
|
|
6393
|
+
**agentId:** `string`
|
|
5014
6394
|
|
|
5015
6395
|
</dd>
|
|
5016
6396
|
</dl>
|
|
@@ -5018,7 +6398,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5018
6398
|
<dl>
|
|
5019
6399
|
<dd>
|
|
5020
6400
|
|
|
5021
|
-
**request:** `ElevenLabs.conversationalAi.agents.
|
|
6401
|
+
**request:** `ElevenLabs.conversationalAi.agents.widget.BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost`
|
|
5022
6402
|
|
|
5023
6403
|
</dd>
|
|
5024
6404
|
</dl>
|
|
@@ -5026,7 +6406,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5026
6406
|
<dl>
|
|
5027
6407
|
<dd>
|
|
5028
6408
|
|
|
5029
|
-
**requestOptions:** `
|
|
6409
|
+
**requestOptions:** `Avatar.RequestOptions`
|
|
5030
6410
|
|
|
5031
6411
|
</dd>
|
|
5032
6412
|
</dl>
|
|
@@ -5037,9 +6417,11 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5037
6417
|
</dl>
|
|
5038
6418
|
</details>
|
|
5039
6419
|
|
|
5040
|
-
## ConversationalAi
|
|
6420
|
+
## ConversationalAi Conversations Audio
|
|
5041
6421
|
|
|
5042
|
-
|
|
6422
|
+
## ConversationalAi Conversations Feedback
|
|
6423
|
+
|
|
6424
|
+
<details><summary><code>client.conversationalAi.conversations.feedback.<a href="/src/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.ts">create</a>(conversationId, { ...params }) -> unknown</code></summary>
|
|
5043
6425
|
<dl>
|
|
5044
6426
|
<dd>
|
|
5045
6427
|
|
|
@@ -5051,7 +6433,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5051
6433
|
<dl>
|
|
5052
6434
|
<dd>
|
|
5053
6435
|
|
|
5054
|
-
|
|
6436
|
+
Send the feedback for the given conversation
|
|
5055
6437
|
|
|
5056
6438
|
</dd>
|
|
5057
6439
|
</dl>
|
|
@@ -5067,7 +6449,9 @@ Get the current link used to share the agent with others
|
|
|
5067
6449
|
<dd>
|
|
5068
6450
|
|
|
5069
6451
|
```typescript
|
|
5070
|
-
await client.conversationalAi.
|
|
6452
|
+
await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWAM", {
|
|
6453
|
+
feedback: "like",
|
|
6454
|
+
});
|
|
5071
6455
|
```
|
|
5072
6456
|
|
|
5073
6457
|
</dd>
|
|
@@ -5077,13 +6461,21 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5077
6461
|
|
|
5078
6462
|
#### ⚙️ Parameters
|
|
5079
6463
|
|
|
5080
|
-
<dl>
|
|
5081
|
-
<dd>
|
|
6464
|
+
<dl>
|
|
6465
|
+
<dd>
|
|
6466
|
+
|
|
6467
|
+
<dl>
|
|
6468
|
+
<dd>
|
|
6469
|
+
|
|
6470
|
+
**conversationId:** `string` — The id of the conversation you're taking the action on.
|
|
6471
|
+
|
|
6472
|
+
</dd>
|
|
6473
|
+
</dl>
|
|
5082
6474
|
|
|
5083
6475
|
<dl>
|
|
5084
6476
|
<dd>
|
|
5085
6477
|
|
|
5086
|
-
**
|
|
6478
|
+
**request:** `ElevenLabs.conversationalAi.conversations.BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost`
|
|
5087
6479
|
|
|
5088
6480
|
</dd>
|
|
5089
6481
|
</dl>
|
|
@@ -5091,7 +6483,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5091
6483
|
<dl>
|
|
5092
6484
|
<dd>
|
|
5093
6485
|
|
|
5094
|
-
**requestOptions:** `
|
|
6486
|
+
**requestOptions:** `Feedback.RequestOptions`
|
|
5095
6487
|
|
|
5096
6488
|
</dd>
|
|
5097
6489
|
</dl>
|
|
@@ -5102,9 +6494,9 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5102
6494
|
</dl>
|
|
5103
6495
|
</details>
|
|
5104
6496
|
|
|
5105
|
-
## ConversationalAi
|
|
6497
|
+
## ConversationalAi Dashboard Settings
|
|
5106
6498
|
|
|
5107
|
-
<details><summary><code>client.conversationalAi.
|
|
6499
|
+
<details><summary><code>client.conversationalAi.dashboard.settings.<a href="/src/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.ts">get</a>() -> ElevenLabs.GetConvAiDashboardSettingsResponseModel</code></summary>
|
|
5108
6500
|
<dl>
|
|
5109
6501
|
<dd>
|
|
5110
6502
|
|
|
@@ -5116,7 +6508,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5116
6508
|
<dl>
|
|
5117
6509
|
<dd>
|
|
5118
6510
|
|
|
5119
|
-
|
|
6511
|
+
Retrieve Convai dashboard settings for the workspace
|
|
5120
6512
|
|
|
5121
6513
|
</dd>
|
|
5122
6514
|
</dl>
|
|
@@ -5132,7 +6524,7 @@ Returns the number of pages in the agent's knowledge base.
|
|
|
5132
6524
|
<dd>
|
|
5133
6525
|
|
|
5134
6526
|
```typescript
|
|
5135
|
-
await client.conversationalAi.
|
|
6527
|
+
await client.conversationalAi.dashboard.settings.get();
|
|
5136
6528
|
```
|
|
5137
6529
|
|
|
5138
6530
|
</dd>
|
|
@@ -5148,15 +6540,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
5148
6540
|
<dl>
|
|
5149
6541
|
<dd>
|
|
5150
6542
|
|
|
5151
|
-
**
|
|
5152
|
-
|
|
5153
|
-
</dd>
|
|
5154
|
-
</dl>
|
|
5155
|
-
|
|
5156
|
-
<dl>
|
|
5157
|
-
<dd>
|
|
5158
|
-
|
|
5159
|
-
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
6543
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
5160
6544
|
|
|
5161
6545
|
</dd>
|
|
5162
6546
|
</dl>
|
|
@@ -5167,9 +6551,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
5167
6551
|
</dl>
|
|
5168
6552
|
</details>
|
|
5169
6553
|
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
<details><summary><code>client.conversationalAi.agents.llmUsage.<a href="/src/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.ts">calculate</a>(agentId, { ...params }) -> ElevenLabs.LlmUsageCalculatorResponseModel</code></summary>
|
|
6554
|
+
<details><summary><code>client.conversationalAi.dashboard.settings.<a href="/src/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.ts">update</a>({ ...params }) -> ElevenLabs.GetConvAiDashboardSettingsResponseModel</code></summary>
|
|
5173
6555
|
<dl>
|
|
5174
6556
|
<dd>
|
|
5175
6557
|
|
|
@@ -5181,7 +6563,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
5181
6563
|
<dl>
|
|
5182
6564
|
<dd>
|
|
5183
6565
|
|
|
5184
|
-
|
|
6566
|
+
Update Convai dashboard settings for the workspace
|
|
5185
6567
|
|
|
5186
6568
|
</dd>
|
|
5187
6569
|
</dl>
|
|
@@ -5197,7 +6579,7 @@ Calculates expected number of LLM tokens needed for the specified agent.
|
|
|
5197
6579
|
<dd>
|
|
5198
6580
|
|
|
5199
6581
|
```typescript
|
|
5200
|
-
await client.conversationalAi.
|
|
6582
|
+
await client.conversationalAi.dashboard.settings.update();
|
|
5201
6583
|
```
|
|
5202
6584
|
|
|
5203
6585
|
</dd>
|
|
@@ -5213,15 +6595,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5213
6595
|
<dl>
|
|
5214
6596
|
<dd>
|
|
5215
6597
|
|
|
5216
|
-
**
|
|
5217
|
-
|
|
5218
|
-
</dd>
|
|
5219
|
-
</dl>
|
|
5220
|
-
|
|
5221
|
-
<dl>
|
|
5222
|
-
<dd>
|
|
5223
|
-
|
|
5224
|
-
**request:** `ElevenLabs.conversationalAi.agents.LlmUsageCalculatorRequestModel`
|
|
6598
|
+
**request:** `ElevenLabs.conversationalAi.dashboard.PatchConvAiDashboardSettingsRequest`
|
|
5225
6599
|
|
|
5226
6600
|
</dd>
|
|
5227
6601
|
</dl>
|
|
@@ -5229,7 +6603,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5229
6603
|
<dl>
|
|
5230
6604
|
<dd>
|
|
5231
6605
|
|
|
5232
|
-
**requestOptions:** `
|
|
6606
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
5233
6607
|
|
|
5234
6608
|
</dd>
|
|
5235
6609
|
</dl>
|
|
@@ -5240,9 +6614,9 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5240
6614
|
</dl>
|
|
5241
6615
|
</details>
|
|
5242
6616
|
|
|
5243
|
-
## ConversationalAi
|
|
6617
|
+
## ConversationalAi KnowledgeBase Documents
|
|
5244
6618
|
|
|
5245
|
-
<details><summary><code>client.conversationalAi.
|
|
6619
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">createFromUrl</a>({ ...params }) -> ElevenLabs.AddKnowledgeBaseResponseModel</code></summary>
|
|
5246
6620
|
<dl>
|
|
5247
6621
|
<dd>
|
|
5248
6622
|
|
|
@@ -5254,7 +6628,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5254
6628
|
<dl>
|
|
5255
6629
|
<dd>
|
|
5256
6630
|
|
|
5257
|
-
|
|
6631
|
+
Create a knowledge base document generated by scraping the given webpage.
|
|
5258
6632
|
|
|
5259
6633
|
</dd>
|
|
5260
6634
|
</dl>
|
|
@@ -5270,8 +6644,8 @@ Sets the avatar for an agent displayed in the widget
|
|
|
5270
6644
|
<dd>
|
|
5271
6645
|
|
|
5272
6646
|
```typescript
|
|
5273
|
-
await client.conversationalAi.
|
|
5274
|
-
|
|
6647
|
+
await client.conversationalAi.knowledgeBase.documents.createFromUrl({
|
|
6648
|
+
url: "url",
|
|
5275
6649
|
});
|
|
5276
6650
|
```
|
|
5277
6651
|
|
|
@@ -5288,15 +6662,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
5288
6662
|
<dl>
|
|
5289
6663
|
<dd>
|
|
5290
6664
|
|
|
5291
|
-
**
|
|
5292
|
-
|
|
5293
|
-
</dd>
|
|
5294
|
-
</dl>
|
|
5295
|
-
|
|
5296
|
-
<dl>
|
|
5297
|
-
<dd>
|
|
5298
|
-
|
|
5299
|
-
**request:** `ElevenLabs.conversationalAi.agents.widget.BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost`
|
|
6665
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost`
|
|
5300
6666
|
|
|
5301
6667
|
</dd>
|
|
5302
6668
|
</dl>
|
|
@@ -5304,7 +6670,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
5304
6670
|
<dl>
|
|
5305
6671
|
<dd>
|
|
5306
6672
|
|
|
5307
|
-
**requestOptions:** `
|
|
6673
|
+
**requestOptions:** `Documents.RequestOptions`
|
|
5308
6674
|
|
|
5309
6675
|
</dd>
|
|
5310
6676
|
</dl>
|
|
@@ -5315,11 +6681,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
5315
6681
|
</dl>
|
|
5316
6682
|
</details>
|
|
5317
6683
|
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
## ConversationalAi Conversations Feedback
|
|
5321
|
-
|
|
5322
|
-
<details><summary><code>client.conversationalAi.conversations.feedback.<a href="/src/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.ts">create</a>(conversationId, { ...params }) -> unknown</code></summary>
|
|
6684
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">createFromFile</a>({ ...params }) -> ElevenLabs.AddKnowledgeBaseResponseModel</code></summary>
|
|
5323
6685
|
<dl>
|
|
5324
6686
|
<dd>
|
|
5325
6687
|
|
|
@@ -5331,7 +6693,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
5331
6693
|
<dl>
|
|
5332
6694
|
<dd>
|
|
5333
6695
|
|
|
5334
|
-
|
|
6696
|
+
Create a knowledge base document generated form the uploaded file.
|
|
5335
6697
|
|
|
5336
6698
|
</dd>
|
|
5337
6699
|
</dl>
|
|
@@ -5347,8 +6709,8 @@ Send the feedback for the given conversation
|
|
|
5347
6709
|
<dd>
|
|
5348
6710
|
|
|
5349
6711
|
```typescript
|
|
5350
|
-
await client.conversationalAi.
|
|
5351
|
-
|
|
6712
|
+
await client.conversationalAi.knowledgeBase.documents.createFromFile({
|
|
6713
|
+
file: fs.createReadStream("/path/to/your/file"),
|
|
5352
6714
|
});
|
|
5353
6715
|
```
|
|
5354
6716
|
|
|
@@ -5365,15 +6727,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
5365
6727
|
<dl>
|
|
5366
6728
|
<dd>
|
|
5367
6729
|
|
|
5368
|
-
**
|
|
5369
|
-
|
|
5370
|
-
</dd>
|
|
5371
|
-
</dl>
|
|
5372
|
-
|
|
5373
|
-
<dl>
|
|
5374
|
-
<dd>
|
|
5375
|
-
|
|
5376
|
-
**request:** `ElevenLabs.conversationalAi.conversations.BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost`
|
|
6730
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost`
|
|
5377
6731
|
|
|
5378
6732
|
</dd>
|
|
5379
6733
|
</dl>
|
|
@@ -5381,7 +6735,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
5381
6735
|
<dl>
|
|
5382
6736
|
<dd>
|
|
5383
6737
|
|
|
5384
|
-
**requestOptions:** `
|
|
6738
|
+
**requestOptions:** `Documents.RequestOptions`
|
|
5385
6739
|
|
|
5386
6740
|
</dd>
|
|
5387
6741
|
</dl>
|
|
@@ -5392,9 +6746,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
5392
6746
|
</dl>
|
|
5393
6747
|
</details>
|
|
5394
6748
|
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
<details><summary><code>client.conversationalAi.dashboard.settings.<a href="/src/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.ts">get</a>() -> ElevenLabs.GetConvAiDashboardSettingsResponseModel</code></summary>
|
|
6749
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">createFromText</a>({ ...params }) -> ElevenLabs.AddKnowledgeBaseResponseModel</code></summary>
|
|
5398
6750
|
<dl>
|
|
5399
6751
|
<dd>
|
|
5400
6752
|
|
|
@@ -5406,7 +6758,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
5406
6758
|
<dl>
|
|
5407
6759
|
<dd>
|
|
5408
6760
|
|
|
5409
|
-
|
|
6761
|
+
Create a knowledge base document containing the provided text.
|
|
5410
6762
|
|
|
5411
6763
|
</dd>
|
|
5412
6764
|
</dl>
|
|
@@ -5422,7 +6774,9 @@ Retrieve Convai dashboard settings for the workspace
|
|
|
5422
6774
|
<dd>
|
|
5423
6775
|
|
|
5424
6776
|
```typescript
|
|
5425
|
-
await client.conversationalAi.
|
|
6777
|
+
await client.conversationalAi.knowledgeBase.documents.createFromText({
|
|
6778
|
+
text: "text",
|
|
6779
|
+
});
|
|
5426
6780
|
```
|
|
5427
6781
|
|
|
5428
6782
|
</dd>
|
|
@@ -5438,7 +6792,15 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
5438
6792
|
<dl>
|
|
5439
6793
|
<dd>
|
|
5440
6794
|
|
|
5441
|
-
**
|
|
6795
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost`
|
|
6796
|
+
|
|
6797
|
+
</dd>
|
|
6798
|
+
</dl>
|
|
6799
|
+
|
|
6800
|
+
<dl>
|
|
6801
|
+
<dd>
|
|
6802
|
+
|
|
6803
|
+
**requestOptions:** `Documents.RequestOptions`
|
|
5442
6804
|
|
|
5443
6805
|
</dd>
|
|
5444
6806
|
</dl>
|
|
@@ -5449,7 +6811,7 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
5449
6811
|
</dl>
|
|
5450
6812
|
</details>
|
|
5451
6813
|
|
|
5452
|
-
<details><summary><code>client.conversationalAi.
|
|
6814
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">get</a>(documentationId) -> ElevenLabs.DocumentsGetResponse</code></summary>
|
|
5453
6815
|
<dl>
|
|
5454
6816
|
<dd>
|
|
5455
6817
|
|
|
@@ -5461,7 +6823,7 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
5461
6823
|
<dl>
|
|
5462
6824
|
<dd>
|
|
5463
6825
|
|
|
5464
|
-
|
|
6826
|
+
Get details about a specific documentation making up the agent's knowledge base
|
|
5465
6827
|
|
|
5466
6828
|
</dd>
|
|
5467
6829
|
</dl>
|
|
@@ -5477,7 +6839,7 @@ Update Convai dashboard settings for the workspace
|
|
|
5477
6839
|
<dd>
|
|
5478
6840
|
|
|
5479
6841
|
```typescript
|
|
5480
|
-
await client.conversationalAi.
|
|
6842
|
+
await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM");
|
|
5481
6843
|
```
|
|
5482
6844
|
|
|
5483
6845
|
</dd>
|
|
@@ -5493,7 +6855,7 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5493
6855
|
<dl>
|
|
5494
6856
|
<dd>
|
|
5495
6857
|
|
|
5496
|
-
**
|
|
6858
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
5497
6859
|
|
|
5498
6860
|
</dd>
|
|
5499
6861
|
</dl>
|
|
@@ -5501,7 +6863,7 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5501
6863
|
<dl>
|
|
5502
6864
|
<dd>
|
|
5503
6865
|
|
|
5504
|
-
**requestOptions:** `
|
|
6866
|
+
**requestOptions:** `Documents.RequestOptions`
|
|
5505
6867
|
|
|
5506
6868
|
</dd>
|
|
5507
6869
|
</dl>
|
|
@@ -5512,9 +6874,7 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5512
6874
|
</dl>
|
|
5513
6875
|
</details>
|
|
5514
6876
|
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">createFromUrl</a>({ ...params }) -> ElevenLabs.AddKnowledgeBaseResponseModel</code></summary>
|
|
6877
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">delete</a>(documentationId, { ...params }) -> unknown</code></summary>
|
|
5518
6878
|
<dl>
|
|
5519
6879
|
<dd>
|
|
5520
6880
|
|
|
@@ -5526,7 +6886,7 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5526
6886
|
<dl>
|
|
5527
6887
|
<dd>
|
|
5528
6888
|
|
|
5529
|
-
|
|
6889
|
+
Delete a document from the knowledge base
|
|
5530
6890
|
|
|
5531
6891
|
</dd>
|
|
5532
6892
|
</dl>
|
|
@@ -5542,9 +6902,7 @@ Create a knowledge base document generated by scraping the given webpage.
|
|
|
5542
6902
|
<dd>
|
|
5543
6903
|
|
|
5544
6904
|
```typescript
|
|
5545
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
5546
|
-
url: "url",
|
|
5547
|
-
});
|
|
6905
|
+
await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
5548
6906
|
```
|
|
5549
6907
|
|
|
5550
6908
|
</dd>
|
|
@@ -5560,7 +6918,15 @@ await client.conversationalAi.knowledgeBase.documents.createFromUrl({
|
|
|
5560
6918
|
<dl>
|
|
5561
6919
|
<dd>
|
|
5562
6920
|
|
|
5563
|
-
**
|
|
6921
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
6922
|
+
|
|
6923
|
+
</dd>
|
|
6924
|
+
</dl>
|
|
6925
|
+
|
|
6926
|
+
<dl>
|
|
6927
|
+
<dd>
|
|
6928
|
+
|
|
6929
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest`
|
|
5564
6930
|
|
|
5565
6931
|
</dd>
|
|
5566
6932
|
</dl>
|
|
@@ -5579,7 +6945,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromUrl({
|
|
|
5579
6945
|
</dl>
|
|
5580
6946
|
</details>
|
|
5581
6947
|
|
|
5582
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">
|
|
6948
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">update</a>(documentationId, { ...params }) -> ElevenLabs.DocumentsUpdateResponse</code></summary>
|
|
5583
6949
|
<dl>
|
|
5584
6950
|
<dd>
|
|
5585
6951
|
|
|
@@ -5591,7 +6957,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromUrl({
|
|
|
5591
6957
|
<dl>
|
|
5592
6958
|
<dd>
|
|
5593
6959
|
|
|
5594
|
-
|
|
6960
|
+
Update the name of a document
|
|
5595
6961
|
|
|
5596
6962
|
</dd>
|
|
5597
6963
|
</dl>
|
|
@@ -5607,8 +6973,8 @@ Create a knowledge base document generated form the uploaded file.
|
|
|
5607
6973
|
<dd>
|
|
5608
6974
|
|
|
5609
6975
|
```typescript
|
|
5610
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
5611
|
-
|
|
6976
|
+
await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikWAM", {
|
|
6977
|
+
name: "name",
|
|
5612
6978
|
});
|
|
5613
6979
|
```
|
|
5614
6980
|
|
|
@@ -5625,7 +6991,15 @@ await client.conversationalAi.knowledgeBase.documents.createFromFile({
|
|
|
5625
6991
|
<dl>
|
|
5626
6992
|
<dd>
|
|
5627
6993
|
|
|
5628
|
-
**
|
|
6994
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
6995
|
+
|
|
6996
|
+
</dd>
|
|
6997
|
+
</dl>
|
|
6998
|
+
|
|
6999
|
+
<dl>
|
|
7000
|
+
<dd>
|
|
7001
|
+
|
|
7002
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch`
|
|
5629
7003
|
|
|
5630
7004
|
</dd>
|
|
5631
7005
|
</dl>
|
|
@@ -5644,7 +7018,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromFile({
|
|
|
5644
7018
|
</dl>
|
|
5645
7019
|
</details>
|
|
5646
7020
|
|
|
5647
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">
|
|
7021
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">getAgents</a>(documentationId, { ...params }) -> ElevenLabs.GetKnowledgeBaseDependentAgentsResponseModel</code></summary>
|
|
5648
7022
|
<dl>
|
|
5649
7023
|
<dd>
|
|
5650
7024
|
|
|
@@ -5656,7 +7030,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromFile({
|
|
|
5656
7030
|
<dl>
|
|
5657
7031
|
<dd>
|
|
5658
7032
|
|
|
5659
|
-
|
|
7033
|
+
Get a list of agents depending on this knowledge base document
|
|
5660
7034
|
|
|
5661
7035
|
</dd>
|
|
5662
7036
|
</dl>
|
|
@@ -5672,9 +7046,7 @@ Create a knowledge base document containing the provided text.
|
|
|
5672
7046
|
<dd>
|
|
5673
7047
|
|
|
5674
7048
|
```typescript
|
|
5675
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
5676
|
-
text: "text",
|
|
5677
|
-
});
|
|
7049
|
+
await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8ikWAM");
|
|
5678
7050
|
```
|
|
5679
7051
|
|
|
5680
7052
|
</dd>
|
|
@@ -5690,7 +7062,15 @@ await client.conversationalAi.knowledgeBase.documents.createFromText({
|
|
|
5690
7062
|
<dl>
|
|
5691
7063
|
<dd>
|
|
5692
7064
|
|
|
5693
|
-
**
|
|
7065
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
7066
|
+
|
|
7067
|
+
</dd>
|
|
7068
|
+
</dl>
|
|
7069
|
+
|
|
7070
|
+
<dl>
|
|
7071
|
+
<dd>
|
|
7072
|
+
|
|
7073
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetAgentsRequest`
|
|
5694
7074
|
|
|
5695
7075
|
</dd>
|
|
5696
7076
|
</dl>
|
|
@@ -5709,7 +7089,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromText({
|
|
|
5709
7089
|
</dl>
|
|
5710
7090
|
</details>
|
|
5711
7091
|
|
|
5712
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">
|
|
7092
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">getContent</a>(documentationId) -> void</code></summary>
|
|
5713
7093
|
<dl>
|
|
5714
7094
|
<dd>
|
|
5715
7095
|
|
|
@@ -5721,7 +7101,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromText({
|
|
|
5721
7101
|
<dl>
|
|
5722
7102
|
<dd>
|
|
5723
7103
|
|
|
5724
|
-
Get
|
|
7104
|
+
Get the entire content of a document from the knowledge base
|
|
5725
7105
|
|
|
5726
7106
|
</dd>
|
|
5727
7107
|
</dl>
|
|
@@ -5737,7 +7117,7 @@ Get details about a specific documentation making up the agent's knowledge base
|
|
|
5737
7117
|
<dd>
|
|
5738
7118
|
|
|
5739
7119
|
```typescript
|
|
5740
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
7120
|
+
await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq8ikWAM");
|
|
5741
7121
|
```
|
|
5742
7122
|
|
|
5743
7123
|
</dd>
|
|
@@ -5772,7 +7152,9 @@ await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM"
|
|
|
5772
7152
|
</dl>
|
|
5773
7153
|
</details>
|
|
5774
7154
|
|
|
5775
|
-
|
|
7155
|
+
## ConversationalAi KnowledgeBase Document
|
|
7156
|
+
|
|
7157
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.document.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.ts">computeRagIndex</a>(documentationId, { ...params }) -> ElevenLabs.RagDocumentIndexResponseModel</code></summary>
|
|
5776
7158
|
<dl>
|
|
5777
7159
|
<dd>
|
|
5778
7160
|
|
|
@@ -5784,7 +7166,7 @@ await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM"
|
|
|
5784
7166
|
<dl>
|
|
5785
7167
|
<dd>
|
|
5786
7168
|
|
|
5787
|
-
|
|
7169
|
+
In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.
|
|
5788
7170
|
|
|
5789
7171
|
</dd>
|
|
5790
7172
|
</dl>
|
|
@@ -5800,7 +7182,9 @@ Delete a document from the knowledge base
|
|
|
5800
7182
|
<dd>
|
|
5801
7183
|
|
|
5802
7184
|
```typescript
|
|
5803
|
-
await client.conversationalAi.knowledgeBase.
|
|
7185
|
+
await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4TlvDq8ikWAM", {
|
|
7186
|
+
model: "e5_mistral_7b_instruct",
|
|
7187
|
+
});
|
|
5804
7188
|
```
|
|
5805
7189
|
|
|
5806
7190
|
</dd>
|
|
@@ -5824,7 +7208,7 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
|
|
|
5824
7208
|
<dl>
|
|
5825
7209
|
<dd>
|
|
5826
7210
|
|
|
5827
|
-
**request:** `ElevenLabs.conversationalAi.knowledgeBase.
|
|
7211
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.RagIndexRequestModel`
|
|
5828
7212
|
|
|
5829
7213
|
</dd>
|
|
5830
7214
|
</dl>
|
|
@@ -5832,7 +7216,7 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
|
|
|
5832
7216
|
<dl>
|
|
5833
7217
|
<dd>
|
|
5834
7218
|
|
|
5835
|
-
**requestOptions:** `
|
|
7219
|
+
**requestOptions:** `Document.RequestOptions`
|
|
5836
7220
|
|
|
5837
7221
|
</dd>
|
|
5838
7222
|
</dl>
|
|
@@ -5843,7 +7227,9 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
|
|
|
5843
7227
|
</dl>
|
|
5844
7228
|
</details>
|
|
5845
7229
|
|
|
5846
|
-
|
|
7230
|
+
## ConversationalAi KnowledgeBase Documents Chunk
|
|
7231
|
+
|
|
7232
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.chunk.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.ts">get</a>(documentationId, chunkId) -> ElevenLabs.KnowledgeBaseDocumentChunkResponseModel</code></summary>
|
|
5847
7233
|
<dl>
|
|
5848
7234
|
<dd>
|
|
5849
7235
|
|
|
@@ -5855,7 +7241,7 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
|
|
|
5855
7241
|
<dl>
|
|
5856
7242
|
<dd>
|
|
5857
7243
|
|
|
5858
|
-
|
|
7244
|
+
Get details about a specific documentation part used by RAG.
|
|
5859
7245
|
|
|
5860
7246
|
</dd>
|
|
5861
7247
|
</dl>
|
|
@@ -5871,9 +7257,7 @@ Update the name of a document
|
|
|
5871
7257
|
<dd>
|
|
5872
7258
|
|
|
5873
7259
|
```typescript
|
|
5874
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
5875
|
-
name: "name",
|
|
5876
|
-
});
|
|
7260
|
+
await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8ikWAM", "chunk_id");
|
|
5877
7261
|
```
|
|
5878
7262
|
|
|
5879
7263
|
</dd>
|
|
@@ -5897,7 +7281,7 @@ await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikW
|
|
|
5897
7281
|
<dl>
|
|
5898
7282
|
<dd>
|
|
5899
7283
|
|
|
5900
|
-
**
|
|
7284
|
+
**chunkId:** `string` — The id of a document RAG chunk from the knowledge base.
|
|
5901
7285
|
|
|
5902
7286
|
</dd>
|
|
5903
7287
|
</dl>
|
|
@@ -5905,7 +7289,7 @@ await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikW
|
|
|
5905
7289
|
<dl>
|
|
5906
7290
|
<dd>
|
|
5907
7291
|
|
|
5908
|
-
**requestOptions:** `
|
|
7292
|
+
**requestOptions:** `Chunk.RequestOptions`
|
|
5909
7293
|
|
|
5910
7294
|
</dd>
|
|
5911
7295
|
</dl>
|
|
@@ -5916,7 +7300,9 @@ await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikW
|
|
|
5916
7300
|
</dl>
|
|
5917
7301
|
</details>
|
|
5918
7302
|
|
|
5919
|
-
|
|
7303
|
+
## ConversationalAi McpServers Tools
|
|
7304
|
+
|
|
7305
|
+
<details><summary><code>client.conversationalAi.mcpServers.tools.<a href="/src/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.ts">list</a>(mcpServerId) -> ElevenLabs.ListMcpToolsResponseModel</code></summary>
|
|
5920
7306
|
<dl>
|
|
5921
7307
|
<dd>
|
|
5922
7308
|
|
|
@@ -5928,7 +7314,7 @@ await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikW
|
|
|
5928
7314
|
<dl>
|
|
5929
7315
|
<dd>
|
|
5930
7316
|
|
|
5931
|
-
|
|
7317
|
+
Retrieve all tools available for a specific MCP server configuration.
|
|
5932
7318
|
|
|
5933
7319
|
</dd>
|
|
5934
7320
|
</dl>
|
|
@@ -5944,7 +7330,7 @@ Get a list of agents depending on this knowledge base document
|
|
|
5944
7330
|
<dd>
|
|
5945
7331
|
|
|
5946
7332
|
```typescript
|
|
5947
|
-
await client.conversationalAi.
|
|
7333
|
+
await client.conversationalAi.mcpServers.tools.list("mcp_server_id");
|
|
5948
7334
|
```
|
|
5949
7335
|
|
|
5950
7336
|
</dd>
|
|
@@ -5960,15 +7346,7 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
5960
7346
|
<dl>
|
|
5961
7347
|
<dd>
|
|
5962
7348
|
|
|
5963
|
-
**
|
|
5964
|
-
|
|
5965
|
-
</dd>
|
|
5966
|
-
</dl>
|
|
5967
|
-
|
|
5968
|
-
<dl>
|
|
5969
|
-
<dd>
|
|
5970
|
-
|
|
5971
|
-
**request:** `ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetAgentsRequest`
|
|
7349
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
5972
7350
|
|
|
5973
7351
|
</dd>
|
|
5974
7352
|
</dl>
|
|
@@ -5976,7 +7354,7 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
5976
7354
|
<dl>
|
|
5977
7355
|
<dd>
|
|
5978
7356
|
|
|
5979
|
-
**requestOptions:** `
|
|
7357
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
5980
7358
|
|
|
5981
7359
|
</dd>
|
|
5982
7360
|
</dl>
|
|
@@ -5987,7 +7365,9 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
5987
7365
|
</dl>
|
|
5988
7366
|
</details>
|
|
5989
7367
|
|
|
5990
|
-
|
|
7368
|
+
## ConversationalAi McpServers ApprovalPolicy
|
|
7369
|
+
|
|
7370
|
+
<details><summary><code>client.conversationalAi.mcpServers.approvalPolicy.<a href="/src/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.ts">update</a>(mcpServerId, { ...params }) -> ElevenLabs.McpServerResponseModel</code></summary>
|
|
5991
7371
|
<dl>
|
|
5992
7372
|
<dd>
|
|
5993
7373
|
|
|
@@ -5999,7 +7379,7 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
5999
7379
|
<dl>
|
|
6000
7380
|
<dd>
|
|
6001
7381
|
|
|
6002
|
-
|
|
7382
|
+
Update the approval policy configuration for an MCP server.
|
|
6003
7383
|
|
|
6004
7384
|
</dd>
|
|
6005
7385
|
</dl>
|
|
@@ -6015,7 +7395,9 @@ Get the entire content of a document from the knowledge base
|
|
|
6015
7395
|
<dd>
|
|
6016
7396
|
|
|
6017
7397
|
```typescript
|
|
6018
|
-
await client.conversationalAi.
|
|
7398
|
+
await client.conversationalAi.mcpServers.approvalPolicy.update("mcp_server_id", {
|
|
7399
|
+
approvalPolicy: "auto_approve_all",
|
|
7400
|
+
});
|
|
6019
7401
|
```
|
|
6020
7402
|
|
|
6021
7403
|
</dd>
|
|
@@ -6031,7 +7413,7 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
6031
7413
|
<dl>
|
|
6032
7414
|
<dd>
|
|
6033
7415
|
|
|
6034
|
-
**
|
|
7416
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
6035
7417
|
|
|
6036
7418
|
</dd>
|
|
6037
7419
|
</dl>
|
|
@@ -6039,7 +7421,15 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
6039
7421
|
<dl>
|
|
6040
7422
|
<dd>
|
|
6041
7423
|
|
|
6042
|
-
**
|
|
7424
|
+
**request:** `ElevenLabs.conversationalAi.mcpServers.McpApprovalPolicyUpdateRequestModel`
|
|
7425
|
+
|
|
7426
|
+
</dd>
|
|
7427
|
+
</dl>
|
|
7428
|
+
|
|
7429
|
+
<dl>
|
|
7430
|
+
<dd>
|
|
7431
|
+
|
|
7432
|
+
**requestOptions:** `ApprovalPolicy.RequestOptions`
|
|
6043
7433
|
|
|
6044
7434
|
</dd>
|
|
6045
7435
|
</dl>
|
|
@@ -6050,9 +7440,9 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
6050
7440
|
</dl>
|
|
6051
7441
|
</details>
|
|
6052
7442
|
|
|
6053
|
-
## ConversationalAi
|
|
7443
|
+
## ConversationalAi McpServers ToolApprovals
|
|
6054
7444
|
|
|
6055
|
-
<details><summary><code>client.conversationalAi.
|
|
7445
|
+
<details><summary><code>client.conversationalAi.mcpServers.toolApprovals.<a href="/src/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.ts">create</a>(mcpServerId, { ...params }) -> ElevenLabs.McpServerResponseModel</code></summary>
|
|
6056
7446
|
<dl>
|
|
6057
7447
|
<dd>
|
|
6058
7448
|
|
|
@@ -6064,7 +7454,7 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
6064
7454
|
<dl>
|
|
6065
7455
|
<dd>
|
|
6066
7456
|
|
|
6067
|
-
|
|
7457
|
+
Add approval for a specific MCP tool when using per-tool approval mode.
|
|
6068
7458
|
|
|
6069
7459
|
</dd>
|
|
6070
7460
|
</dl>
|
|
@@ -6080,8 +7470,9 @@ In case the document is not RAG indexed, it triggers rag indexing task, otherwis
|
|
|
6080
7470
|
<dd>
|
|
6081
7471
|
|
|
6082
7472
|
```typescript
|
|
6083
|
-
await client.conversationalAi.
|
|
6084
|
-
|
|
7473
|
+
await client.conversationalAi.mcpServers.toolApprovals.create("mcp_server_id", {
|
|
7474
|
+
toolName: "tool_name",
|
|
7475
|
+
toolDescription: "tool_description",
|
|
6085
7476
|
});
|
|
6086
7477
|
```
|
|
6087
7478
|
|
|
@@ -6098,7 +7489,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
6098
7489
|
<dl>
|
|
6099
7490
|
<dd>
|
|
6100
7491
|
|
|
6101
|
-
**
|
|
7492
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
6102
7493
|
|
|
6103
7494
|
</dd>
|
|
6104
7495
|
</dl>
|
|
@@ -6106,7 +7497,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
6106
7497
|
<dl>
|
|
6107
7498
|
<dd>
|
|
6108
7499
|
|
|
6109
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
7500
|
+
**request:** `ElevenLabs.conversationalAi.mcpServers.McpToolAddApprovalRequestModel`
|
|
6110
7501
|
|
|
6111
7502
|
</dd>
|
|
6112
7503
|
</dl>
|
|
@@ -6114,7 +7505,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
6114
7505
|
<dl>
|
|
6115
7506
|
<dd>
|
|
6116
7507
|
|
|
6117
|
-
**requestOptions:** `
|
|
7508
|
+
**requestOptions:** `ToolApprovals.RequestOptions`
|
|
6118
7509
|
|
|
6119
7510
|
</dd>
|
|
6120
7511
|
</dl>
|
|
@@ -6125,9 +7516,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
6125
7516
|
</dl>
|
|
6126
7517
|
</details>
|
|
6127
7518
|
|
|
6128
|
-
|
|
6129
|
-
|
|
6130
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.chunk.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.ts">get</a>(documentationId, chunkId) -> ElevenLabs.KnowledgeBaseDocumentChunkResponseModel</code></summary>
|
|
7519
|
+
<details><summary><code>client.conversationalAi.mcpServers.toolApprovals.<a href="/src/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.ts">delete</a>(mcpServerId, toolName) -> ElevenLabs.McpServerResponseModel</code></summary>
|
|
6131
7520
|
<dl>
|
|
6132
7521
|
<dd>
|
|
6133
7522
|
|
|
@@ -6139,7 +7528,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
6139
7528
|
<dl>
|
|
6140
7529
|
<dd>
|
|
6141
7530
|
|
|
6142
|
-
|
|
7531
|
+
Remove approval for a specific MCP tool when using per-tool approval mode.
|
|
6143
7532
|
|
|
6144
7533
|
</dd>
|
|
6145
7534
|
</dl>
|
|
@@ -6155,7 +7544,7 @@ Get details about a specific documentation part used by RAG.
|
|
|
6155
7544
|
<dd>
|
|
6156
7545
|
|
|
6157
7546
|
```typescript
|
|
6158
|
-
await client.conversationalAi.
|
|
7547
|
+
await client.conversationalAi.mcpServers.toolApprovals.delete("mcp_server_id", "tool_name");
|
|
6159
7548
|
```
|
|
6160
7549
|
|
|
6161
7550
|
</dd>
|
|
@@ -6171,7 +7560,7 @@ await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8
|
|
|
6171
7560
|
<dl>
|
|
6172
7561
|
<dd>
|
|
6173
7562
|
|
|
6174
|
-
**
|
|
7563
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
6175
7564
|
|
|
6176
7565
|
</dd>
|
|
6177
7566
|
</dl>
|
|
@@ -6179,7 +7568,7 @@ await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8
|
|
|
6179
7568
|
<dl>
|
|
6180
7569
|
<dd>
|
|
6181
7570
|
|
|
6182
|
-
**
|
|
7571
|
+
**toolName:** `string` — Name of the MCP tool to remove approval for.
|
|
6183
7572
|
|
|
6184
7573
|
</dd>
|
|
6185
7574
|
</dl>
|
|
@@ -6187,7 +7576,7 @@ await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8
|
|
|
6187
7576
|
<dl>
|
|
6188
7577
|
<dd>
|
|
6189
7578
|
|
|
6190
|
-
**requestOptions:** `
|
|
7579
|
+
**requestOptions:** `ToolApprovals.RequestOptions`
|
|
6191
7580
|
|
|
6192
7581
|
</dd>
|
|
6193
7582
|
</dl>
|