@elevenlabs/elevenlabs-js 2.1.0 → 2.3.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 +12 -4
- package/Client.js +85 -32
- 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 +45 -1
- package/api/resources/conversationalAi/client/Client.js +222 -10
- package/api/resources/conversationalAi/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/client/Client.js +15 -34
- package/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
- 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 +29 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +147 -16
- 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 +2 -0
- package/api/resources/conversationalAi/resources/index.js +3 -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 +4 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +4 -5
- 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 +5 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +28 -44
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/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/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 +7 -16
- package/api/resources/dubbing/client/index.d.ts +1 -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 +6 -0
- package/api/resources/index.js +7 -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 +4 -0
- 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 +45 -0
- package/api/resources/textToDialogue/client/Client.js +209 -0
- package/api/resources/textToDialogue/client/index.d.ts +2 -0
- package/api/resources/textToDialogue/client/index.js +17 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
- package/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/index.js +2 -0
- package/api/resources/textToDialogue/index.d.ts +2 -0
- package/api/resources/textToDialogue/index.js +18 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
- package/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/index.js +18 -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 +3 -1
- package/api/resources/textToVoice/client/Client.js +5 -8
- package/api/resources/textToVoice/client/index.d.ts +1 -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 +22 -44
- package/api/resources/voices/client/index.d.ts +1 -0
- package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -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 +4 -2
- package/api/resources/voices/resources/settings/client/Client.js +8 -17
- 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 +30 -0
- package/api/resources/workspace/client/Client.js +121 -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/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +12 -0
- package/api/resources/workspace/client/requests/index.d.ts +1 -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/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/api/types/AddProjectRequest.d.ts +60 -3
- package/api/types/AgentCallLimits.d.ts +2 -0
- package/api/types/AgentConfigOverride.d.ts +4 -4
- package/api/types/AgentConfigOverrideConfig.d.ts +4 -4
- package/api/types/AuthorizationMethod.d.ts +2 -1
- package/api/types/AuthorizationMethod.js +1 -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/BuiltInTools.d.ts +16 -0
- package/api/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/api/types/ClientEvent.d.ts +4 -1
- package/api/types/ClientEvent.js +3 -0
- package/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
- package/api/types/ConversationChargingCommonModel.d.ts +1 -0
- package/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
- package/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
- package/api/types/ConversationConfigOverride.d.ts +1 -0
- package/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/api/types/ConversationSimulationSpecification.d.ts +1 -0
- package/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
- package/api/types/ConversationalConfig.d.ts +1 -1
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
- package/api/types/DialogueInput.d.ts +9 -0
- package/api/types/DialogueInput.js +5 -0
- package/api/types/DialogueInputResponseModel.d.ts +11 -0
- package/api/types/DialogueInputResponseModel.js +5 -0
- package/api/types/EmbedVariant.d.ts +2 -1
- package/api/types/EmbedVariant.js +1 -0
- package/api/types/FeatureStatusCommonModel.d.ts +7 -0
- package/api/types/FeatureStatusCommonModel.js +5 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +12 -0
- package/api/types/FeaturesUsageCommonModel.js +5 -0
- package/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
- package/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
- 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/ListMcpToolsResponseModel.js +5 -0
- package/api/types/Llm.d.ts +28 -3
- package/api/types/Llm.js +27 -2
- 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/McpServerConfigInput.js +5 -0
- package/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
- package/api/types/McpServerConfigInputRequestHeadersValue.js +5 -0
- package/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
- package/api/types/McpServerConfigInputSecretToken.js +5 -0
- package/api/types/McpServerConfigInputUrl.d.ts +8 -0
- package/api/types/McpServerConfigInputUrl.js +5 -0
- package/api/types/McpServerConfigOutput.d.ts +19 -0
- package/api/types/McpServerConfigOutput.js +5 -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 -1
- package/api/types/McpToolConfigOutput.d.ts +11 -1
- package/api/types/ModelSettingsResponseModel.d.ts +9 -0
- package/api/types/ModelSettingsResponseModel.js +5 -0
- package/api/types/PromptAgentDbModel.d.ts +1 -0
- package/api/types/PromptAgentDbModelToolsItem.d.ts +1 -4
- package/api/types/PromptAgentInputToolsItem.d.ts +1 -4
- package/api/types/PromptAgentOutputToolsItem.d.ts +1 -4
- package/api/types/PromptAgentOverride.d.ts +1 -1
- package/api/types/PromptAgentOverrideConfig.d.ts +1 -1
- package/api/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/api/types/RagConfig.d.ts +2 -0
- package/api/types/{RagIndexResponseModel.d.ts → RagDocumentIndexResponseModel.d.ts} +4 -1
- package/api/types/RagDocumentIndexResponseModel.js +5 -0
- package/api/types/RagDocumentIndexUsage.d.ts +6 -0
- package/api/types/RagDocumentIndexUsage.js +5 -0
- package/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
- package/api/types/RagDocumentIndexesResponseModel.js +5 -0
- package/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
- package/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
- package/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
- package/api/types/RagIndexOverviewResponseModel.js +5 -0
- package/api/types/RagIndexStatus.d.ts +3 -1
- package/api/types/RagIndexStatus.js +2 -0
- package/api/types/SkipTurnToolConfig.d.ts +16 -0
- package/api/types/SkipTurnToolConfig.js +5 -0
- package/api/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/api/types/Subscription.d.ts +1 -1
- package/api/types/SubscriptionResponse.d.ts +1 -1
- package/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +4 -7
- package/{dist/api/types/SubscriptionStatus.js → api/types/SubscriptionStatusType.js} +4 -4
- package/api/types/SupportedVoice.d.ts +15 -0
- package/api/types/SupportedVoice.js +5 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -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/TransferToNumberToolConfig.d.ts +2 -0
- package/{dist/api/types/TtsConversationalConfig.d.ts → api/types/TtsConversationalConfigInput.d.ts} +3 -1
- package/api/types/TtsConversationalConfigInput.js +5 -0
- package/api/types/TtsConversationalConfigOutput.d.ts +24 -0
- package/api/types/TtsConversationalConfigOutput.js +5 -0
- package/api/types/TtsConversationalConfigOverride.d.ts +1 -0
- package/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
- package/api/types/TtsModelFamily.d.ts +9 -0
- package/api/types/TtsModelFamily.js +11 -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/VoiceSettings.d.ts +2 -2
- package/api/types/WebhookAuthMethodType.d.ts +8 -0
- package/api/types/WebhookAuthMethodType.js +10 -0
- package/api/types/WebhookUsageType.d.ts +10 -0
- package/api/types/WebhookUsageType.js +12 -0
- package/api/types/WidgetConfig.d.ts +15 -1
- package/{dist/api/types/WidgetConfigAvatar.d.ts → api/types/WidgetConfigInputAvatar.d.ts} +2 -2
- package/api/types/WidgetConfigInputAvatar.js +5 -0
- package/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
- package/api/types/WidgetConfigOutputAvatar.js +5 -0
- package/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +18 -1
- package/api/types/WidgetConfigResponse.js +5 -0
- package/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/api/types/WidgetLanguagePreset.js +5 -0
- package/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
- package/api/types/WidgetLanguagePresetResponse.js +5 -0
- package/api/types/WidgetPlacement.d.ts +12 -0
- package/api/types/WidgetPlacement.js +14 -0
- package/api/types/WidgetStyles.d.ts +45 -0
- package/api/types/WidgetStyles.js +5 -0
- package/api/types/WidgetTextContents.d.ts +47 -0
- package/api/types/WidgetTextContents.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 +53 -8
- package/api/types/index.js +53 -8
- 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/core/{streaming-fetcher → stream}/Stream.d.ts +1 -2
- package/dist/Client.d.ts +12 -4
- package/dist/Client.js +85 -32
- 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 +45 -1
- package/dist/api/resources/conversationalAi/client/Client.js +222 -10
- package/dist/api/resources/conversationalAi/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +15 -34
- package/dist/api/resources/conversationalAi/resources/agents/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +5 -2
- 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 +29 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +147 -16
- 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 +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +3 -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 +4 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +4 -5
- 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 +5 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +28 -44
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/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/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 +7 -16
- package/dist/api/resources/dubbing/client/index.d.ts +1 -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 +6 -0
- package/dist/api/resources/index.js +7 -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 +4 -0
- 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 +45 -0
- package/dist/api/resources/textToDialogue/client/Client.js +209 -0
- package/dist/api/resources/textToDialogue/client/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/index.js +17 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +5 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +32 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +5 -0
- package/dist/api/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/index.js +2 -0
- package/dist/api/resources/textToDialogue/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/index.js +18 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/index.js +18 -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 +3 -1
- package/dist/api/resources/textToVoice/client/Client.js +5 -8
- package/dist/api/resources/textToVoice/client/index.d.ts +1 -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 +22 -44
- package/dist/api/resources/voices/client/index.d.ts +1 -0
- package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +4 -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 +4 -2
- package/dist/api/resources/voices/resources/settings/client/Client.js +8 -17
- 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 +30 -0
- package/dist/api/resources/workspace/client/Client.js +121 -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/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 +1 -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/AddKnowledgeBaseResponseModel.d.ts +0 -1
- 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 +4 -4
- package/dist/api/types/AgentConfigOverrideConfig.d.ts +4 -4
- package/dist/api/types/AuthorizationMethod.d.ts +2 -1
- package/dist/api/types/AuthorizationMethod.js +1 -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/BuiltInTools.d.ts +16 -0
- package/dist/api/types/BuiltInTools.js +5 -0
- package/dist/api/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/dist/api/types/ClientEvent.d.ts +4 -1
- package/dist/api/types/ClientEvent.js +3 -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 +1 -0
- package/dist/api/types/ConversationConfigClientOverrideConfigInput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideConfigOutput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideInput.d.ts +4 -4
- package/dist/api/types/ConversationConfigClientOverrideOutput.d.ts +4 -4
- package/dist/api/types/ConversationConfigOverride.d.ts +1 -0
- package/dist/api/types/ConversationConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- 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/ConversationalConfig.d.ts +1 -1
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/CustomLlmRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/CustomLlmRequestHeadersValue.js +5 -0
- package/dist/api/types/DialogueInput.d.ts +9 -0
- package/dist/api/types/DialogueInput.js +5 -0
- package/dist/api/types/DialogueInputResponseModel.d.ts +11 -0
- package/dist/api/types/DialogueInputResponseModel.js +5 -0
- package/dist/api/types/EmbedVariant.d.ts +2 -1
- package/dist/api/types/EmbedVariant.js +1 -0
- package/dist/api/types/FeatureStatusCommonModel.d.ts +7 -0
- package/dist/api/types/FeatureStatusCommonModel.js +5 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +12 -0
- package/dist/api/types/FeaturesUsageCommonModel.js +5 -0
- package/dist/api/types/GetAgentEmbedResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseTextResponseModel.d.ts +1 -1
- package/dist/api/types/GetKnowledgeBaseUrlResponseModel.d.ts +1 -1
- 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/Llm.d.ts +28 -3
- package/dist/api/types/Llm.js +27 -2
- 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 -1
- package/dist/api/types/McpToolConfigOutput.d.ts +11 -1
- package/dist/api/types/ModelSettingsResponseModel.d.ts +9 -0
- package/dist/api/types/ModelSettingsResponseModel.js +5 -0
- package/dist/api/types/PromptAgentDbModel.d.ts +1 -0
- package/dist/api/types/PromptAgentDbModelToolsItem.d.ts +1 -4
- package/dist/api/types/PromptAgentInputToolsItem.d.ts +1 -4
- package/dist/api/types/PromptAgentOutputToolsItem.d.ts +1 -4
- package/dist/api/types/PromptAgentOverride.d.ts +1 -1
- package/dist/api/types/PromptAgentOverrideConfig.d.ts +1 -1
- package/dist/api/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/dist/api/types/RagConfig.d.ts +2 -0
- package/dist/api/types/{RagIndexResponseModel.d.ts → RagDocumentIndexResponseModel.d.ts} +4 -1
- package/dist/api/types/RagDocumentIndexResponseModel.js +5 -0
- package/dist/api/types/RagDocumentIndexUsage.d.ts +6 -0
- package/dist/api/types/RagDocumentIndexUsage.js +5 -0
- package/dist/api/types/RagDocumentIndexesResponseModel.d.ts +7 -0
- package/dist/api/types/RagDocumentIndexesResponseModel.js +5 -0
- package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +8 -0
- package/dist/api/types/RagIndexOverviewEmbeddingModelResponseModel.js +5 -0
- package/dist/api/types/RagIndexOverviewResponseModel.d.ts +9 -0
- package/dist/api/types/RagIndexOverviewResponseModel.js +5 -0
- package/dist/api/types/RagIndexStatus.d.ts +3 -1
- package/dist/api/types/RagIndexStatus.js +2 -0
- package/dist/api/types/SkipTurnToolConfig.d.ts +16 -0
- package/dist/api/types/SkipTurnToolConfig.js +5 -0
- package/dist/api/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/dist/api/types/Subscription.d.ts +1 -1
- package/dist/api/types/SubscriptionResponse.d.ts +1 -1
- package/dist/api/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +4 -7
- package/{api/types/SubscriptionStatus.js → dist/api/types/SubscriptionStatusType.js} +4 -4
- package/dist/api/types/SupportedVoice.d.ts +15 -0
- package/dist/api/types/SupportedVoice.js +5 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -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/TransferToNumberToolConfig.d.ts +2 -0
- package/{api/types/TtsConversationalConfig.d.ts → dist/api/types/TtsConversationalConfigInput.d.ts} +3 -1
- package/dist/api/types/TtsConversationalConfigInput.js +5 -0
- package/dist/api/types/TtsConversationalConfigOutput.d.ts +24 -0
- package/dist/api/types/TtsConversationalConfigOutput.js +5 -0
- package/dist/api/types/TtsConversationalConfigOverride.d.ts +1 -0
- package/dist/api/types/TtsConversationalConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/TtsModelFamily.d.ts +9 -0
- package/dist/api/types/TtsModelFamily.js +11 -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/VoiceSettings.d.ts +2 -2
- package/dist/api/types/WebhookAuthMethodType.d.ts +8 -0
- package/dist/api/types/WebhookAuthMethodType.js +10 -0
- package/dist/api/types/WebhookUsageType.d.ts +10 -0
- package/dist/api/types/WebhookUsageType.js +12 -0
- package/dist/api/types/WidgetConfig.d.ts +15 -1
- package/{api/types/WidgetConfigAvatar.d.ts → dist/api/types/WidgetConfigInputAvatar.d.ts} +2 -2
- package/dist/api/types/WidgetConfigInputAvatar.js +5 -0
- package/dist/api/types/WidgetConfigOutputAvatar.d.ts +19 -0
- package/dist/api/types/WidgetConfigOutputAvatar.js +5 -0
- package/dist/api/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +18 -1
- package/dist/api/types/WidgetConfigResponse.js +5 -0
- package/dist/api/types/WidgetLanguagePreset.d.ts +8 -0
- package/dist/api/types/WidgetLanguagePreset.js +5 -0
- package/dist/api/types/WidgetLanguagePresetResponse.d.ts +9 -0
- package/dist/api/types/WidgetLanguagePresetResponse.js +5 -0
- package/dist/api/types/WidgetPlacement.d.ts +12 -0
- package/dist/api/types/WidgetPlacement.js +14 -0
- package/dist/api/types/WidgetStyles.d.ts +45 -0
- package/dist/api/types/WidgetStyles.js +5 -0
- package/dist/api/types/WidgetTextContents.d.ts +47 -0
- package/dist/api/types/WidgetTextContents.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 +53 -8
- package/dist/api/types/index.js +53 -8
- 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/dist/core/{streaming-fetcher → stream}/Stream.d.ts +1 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
- 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/{serialization/types/NativeMcpToolConfigInput.js → dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js} +8 -11
- 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 +4 -0
- package/dist/serialization/resources/index.js +5 -1
- package/dist/serialization/resources/textToDialogue/client/index.d.ts +1 -0
- package/dist/serialization/resources/textToDialogue/client/index.js +17 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/client/requests/index.js +7 -0
- package/dist/serialization/resources/textToDialogue/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/index.js +18 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +18 -0
- package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/index.js +17 -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 +1 -0
- package/dist/serialization/resources/workspace/client/requests/index.js +5 -0
- package/dist/serialization/resources/workspace/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/index.js +1 -0
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/dist/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
- 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 +1 -1
- package/dist/serialization/types/AgentConfigOverride.js +1 -1
- package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/dist/serialization/types/AgentConfigOverrideConfig.js +1 -1
- package/dist/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/dist/serialization/types/AuthorizationMethod.js +1 -0
- package/dist/serialization/types/BuiltInTools.d.ts +17 -0
- package/dist/serialization/types/{NativeMcpToolConfigOutput.js → BuiltInTools.js} +8 -10
- 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 -0
- package/dist/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
- package/dist/serialization/types/ConvAiUserSecretDbModel.js +46 -0
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +1 -0
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- 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/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
- package/dist/serialization/types/ConversationalConfig.d.ts +2 -2
- package/dist/serialization/types/ConversationalConfig.js +2 -2
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/dist/serialization/types/CustomLlm.d.ts +2 -0
- package/dist/serialization/types/CustomLlm.js +2 -0
- package/dist/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
- package/dist/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
- package/dist/serialization/types/DialogueInput.d.ts +13 -0
- package/dist/serialization/types/DialogueInput.js +44 -0
- package/dist/serialization/types/DialogueInputResponseModel.d.ts +14 -0
- package/dist/serialization/types/DialogueInputResponseModel.js +45 -0
- package/dist/serialization/types/EmbedVariant.d.ts +1 -1
- package/dist/serialization/types/EmbedVariant.js +1 -1
- package/dist/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
- package/dist/serialization/types/FeatureStatusCommonModel.js +44 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +49 -0
- package/dist/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
- package/dist/serialization/types/GetAgentEmbedResponseModel.js +2 -2
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
- package/dist/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
- package/dist/serialization/types/IntegrationType.d.ts +10 -0
- package/dist/serialization/types/IntegrationType.js +41 -0
- 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/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +27 -2
- 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/dist/serialization/types/McpServerConfigInput.js +56 -0
- 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/McpServerConfigInputUrl.js +42 -0
- 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/McpServerTransport.js +41 -0
- 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 -0
- package/dist/serialization/types/McpToolConfigInput.js +7 -0
- package/dist/serialization/types/McpToolConfigOutput.d.ts +7 -0
- package/dist/serialization/types/McpToolConfigOutput.js +7 -0
- package/dist/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
- package/dist/serialization/types/ModelSettingsResponseModel.js +44 -0
- package/dist/serialization/types/PromptAgentDbModel.d.ts +2 -0
- package/dist/serialization/types/PromptAgentDbModel.js +2 -0
- package/dist/serialization/types/PromptAgentDbModelToolsItem.d.ts +1 -5
- package/dist/serialization/types/PromptAgentDbModelToolsItem.js +0 -2
- package/dist/serialization/types/PromptAgentInputToolsItem.d.ts +1 -5
- package/dist/serialization/types/PromptAgentInputToolsItem.js +0 -2
- package/dist/serialization/types/PromptAgentOutputToolsItem.d.ts +1 -5
- package/dist/serialization/types/PromptAgentOutputToolsItem.js +0 -2
- package/dist/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/dist/serialization/types/PronunciationDictionaryLocator.js +1 -1
- package/dist/serialization/types/RagConfig.d.ts +1 -0
- package/dist/serialization/types/RagConfig.js +1 -0
- package/dist/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
- package/dist/serialization/types/RagDocumentIndexResponseModel.js +50 -0
- package/dist/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
- package/dist/serialization/types/RagDocumentIndexUsage.js +43 -0
- package/dist/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
- package/{serialization/types/RagIndexResponseModel.js → dist/serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
- package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
- package/dist/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
- package/dist/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
- package/dist/serialization/types/RagIndexOverviewResponseModel.js +46 -0
- package/dist/serialization/types/RagIndexStatus.d.ts +1 -1
- package/dist/serialization/types/RagIndexStatus.js +8 -1
- package/dist/serialization/types/SkipTurnToolConfig.d.ts +11 -0
- package/dist/serialization/types/SkipTurnToolConfig.js +41 -0
- package/dist/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/dist/serialization/types/SpeechHistoryItemResponse.js +5 -3
- package/dist/serialization/types/Subscription.d.ts +2 -2
- package/dist/serialization/types/Subscription.js +2 -2
- package/dist/serialization/types/SubscriptionResponse.d.ts +2 -2
- package/dist/serialization/types/SubscriptionResponse.js +2 -2
- package/dist/serialization/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -3
- package/dist/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +4 -4
- package/dist/serialization/types/SupportedVoice.d.ts +22 -0
- package/dist/serialization/types/SupportedVoice.js +53 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- 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/TransferToNumberToolConfig.d.ts +1 -0
- package/dist/serialization/types/TransferToNumberToolConfig.js +1 -0
- package/{serialization/types/TtsConversationalConfig.d.ts → dist/serialization/types/TtsConversationalConfigInput.d.ts} +4 -2
- package/{serialization/types/TtsConversationalConfig.js → dist/serialization/types/TtsConversationalConfigInput.js} +4 -2
- package/dist/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
- package/dist/serialization/types/TtsConversationalConfigOutput.js +56 -0
- package/dist/serialization/types/TtsModelFamily.d.ts +10 -0
- package/dist/serialization/types/TtsModelFamily.js +41 -0
- package/dist/serialization/types/VoiceSettings.d.ts +1 -1
- package/dist/serialization/types/VoiceSettings.js +1 -1
- package/dist/serialization/types/WebhookAuthMethodType.d.ts +10 -0
- package/dist/serialization/types/WebhookAuthMethodType.js +41 -0
- package/dist/serialization/types/WebhookUsageType.d.ts +10 -0
- package/dist/serialization/types/{ExtendedSubscriptionResponseModelStatus.js → WebhookUsageType.js} +6 -10
- package/dist/serialization/types/WidgetConfig.d.ts +13 -2
- package/dist/serialization/types/WidgetConfig.js +13 -2
- package/{serialization/types/WidgetConfigAvatar.d.ts → dist/serialization/types/WidgetConfigInputAvatar.d.ts} +3 -3
- package/{serialization/types/WidgetConfigAvatar.js → dist/serialization/types/WidgetConfigInputAvatar.js} +2 -2
- package/dist/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
- package/dist/serialization/types/WidgetConfigOutputAvatar.js +53 -0
- package/dist/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +15 -2
- package/dist/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +15 -2
- package/dist/serialization/types/WidgetLanguagePreset.d.ts +13 -0
- package/dist/serialization/types/WidgetLanguagePreset.js +44 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
- package/dist/serialization/types/WidgetLanguagePresetResponse.js +45 -0
- package/dist/serialization/types/WidgetPlacement.d.ts +10 -0
- package/dist/serialization/types/WidgetPlacement.js +41 -0
- package/dist/serialization/types/WidgetStyles.d.ts +31 -0
- package/dist/serialization/types/WidgetStyles.js +62 -0
- package/dist/serialization/types/WidgetTextContents.d.ts +32 -0
- package/dist/serialization/types/WidgetTextContents.js +63 -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/{serialization/types/NativeMcpToolConfigOutput.js → dist/serialization/types/WorkspaceWebhookResponseModel.js} +13 -9
- package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
- package/dist/serialization/types/index.d.ts +53 -8
- package/dist/serialization/types/index.js +53 -8
- 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 +1487 -405
- package/scripts/rename-to-esm-files.js +10 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +4 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +4 -2
- 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 +4 -0
- package/serialization/resources/index.js +5 -1
- package/serialization/resources/textToDialogue/client/index.d.ts +1 -0
- package/serialization/resources/textToDialogue/client/index.js +17 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +50 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +19 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +50 -0
- package/serialization/resources/textToDialogue/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/client/requests/index.js +7 -0
- package/serialization/resources/textToDialogue/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/index.js +18 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +61 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/types/index.js +18 -0
- package/serialization/resources/workspace/client/index.d.ts +1 -0
- package/serialization/resources/workspace/client/index.js +17 -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 +1 -0
- package/serialization/resources/workspace/client/requests/index.js +5 -0
- package/serialization/resources/workspace/index.d.ts +1 -0
- package/serialization/resources/workspace/index.js +1 -0
- package/serialization/types/AddKnowledgeBaseResponseModel.d.ts +0 -1
- package/serialization/types/AddKnowledgeBaseResponseModel.js +0 -1
- 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 +1 -1
- package/serialization/types/AgentConfigOverride.js +1 -1
- package/serialization/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/serialization/types/AgentConfigOverrideConfig.js +1 -1
- package/serialization/types/AuthorizationMethod.d.ts +1 -1
- package/serialization/types/AuthorizationMethod.js +1 -0
- package/serialization/types/BuiltInTools.d.ts +17 -0
- package/{dist/serialization/types/NativeMcpToolConfigInput.js → serialization/types/BuiltInTools.js} +8 -10
- 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 -0
- package/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
- package/serialization/types/ConvAiUserSecretDbModel.js +46 -0
- package/serialization/types/ConversationChargingCommonModel.d.ts +1 -0
- package/serialization/types/ConversationChargingCommonModel.js +1 -0
- package/serialization/types/ConversationConfigClientOverrideConfigInput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigInput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideConfigOutput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideInput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideInput.js +2 -2
- package/serialization/types/ConversationConfigClientOverrideOutput.d.ts +2 -2
- package/serialization/types/ConversationConfigClientOverrideOutput.js +2 -2
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +3 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +3 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- 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/ConversationalConfig.d.ts +2 -2
- package/serialization/types/ConversationalConfig.js +2 -2
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/serialization/types/CustomLlm.d.ts +2 -0
- package/serialization/types/CustomLlm.js +2 -0
- package/serialization/types/CustomLlmRequestHeadersValue.d.ts +12 -0
- package/serialization/types/CustomLlmRequestHeadersValue.js +43 -0
- package/serialization/types/DialogueInput.d.ts +13 -0
- package/serialization/types/DialogueInput.js +44 -0
- package/serialization/types/DialogueInputResponseModel.d.ts +14 -0
- package/serialization/types/DialogueInputResponseModel.js +45 -0
- package/serialization/types/EmbedVariant.d.ts +1 -1
- package/serialization/types/EmbedVariant.js +1 -1
- package/serialization/types/FeatureStatusCommonModel.d.ts +13 -0
- package/serialization/types/FeatureStatusCommonModel.js +44 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +18 -0
- package/serialization/types/FeaturesUsageCommonModel.js +49 -0
- package/serialization/types/GetAgentEmbedResponseModel.d.ts +2 -2
- package/serialization/types/GetAgentEmbedResponseModel.js +2 -2
- package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseTextResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseTextResponseModel.js +2 -1
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.d.ts +2 -1
- package/serialization/types/GetKnowledgeBaseUrlResponseModel.js +2 -1
- 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/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +27 -2
- 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 -0
- package/serialization/types/McpToolConfigInput.js +7 -0
- package/serialization/types/McpToolConfigOutput.d.ts +7 -0
- package/serialization/types/McpToolConfigOutput.js +7 -0
- package/serialization/types/ModelSettingsResponseModel.d.ts +13 -0
- package/serialization/types/ModelSettingsResponseModel.js +44 -0
- package/serialization/types/PromptAgentDbModel.d.ts +2 -0
- package/serialization/types/PromptAgentDbModel.js +2 -0
- package/serialization/types/PromptAgentDbModelToolsItem.d.ts +1 -5
- package/serialization/types/PromptAgentDbModelToolsItem.js +0 -2
- package/serialization/types/PromptAgentInputToolsItem.d.ts +1 -5
- package/serialization/types/PromptAgentInputToolsItem.js +0 -2
- package/serialization/types/PromptAgentOutputToolsItem.d.ts +1 -5
- package/serialization/types/PromptAgentOutputToolsItem.js +0 -2
- package/serialization/types/PronunciationDictionaryLocator.d.ts +1 -1
- package/serialization/types/PronunciationDictionaryLocator.js +1 -1
- package/serialization/types/RagConfig.d.ts +1 -0
- package/serialization/types/RagConfig.js +1 -0
- package/serialization/types/RagDocumentIndexResponseModel.d.ts +19 -0
- package/serialization/types/RagDocumentIndexResponseModel.js +50 -0
- package/serialization/types/RagDocumentIndexUsage.d.ts +12 -0
- package/serialization/types/RagDocumentIndexUsage.js +43 -0
- package/serialization/types/RagDocumentIndexesResponseModel.d.ts +13 -0
- package/{dist/serialization/types/RagIndexResponseModel.js → serialization/types/RagDocumentIndexesResponseModel.js} +4 -5
- package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.d.ts +14 -0
- package/serialization/types/RagIndexOverviewEmbeddingModelResponseModel.js +45 -0
- package/serialization/types/RagIndexOverviewResponseModel.d.ts +15 -0
- package/serialization/types/RagIndexOverviewResponseModel.js +46 -0
- package/serialization/types/RagIndexStatus.d.ts +1 -1
- package/serialization/types/RagIndexStatus.js +8 -1
- package/serialization/types/SkipTurnToolConfig.d.ts +11 -0
- package/serialization/types/SkipTurnToolConfig.js +41 -0
- package/serialization/types/SpeechHistoryItemResponse.d.ts +5 -3
- package/serialization/types/SpeechHistoryItemResponse.js +5 -3
- package/serialization/types/Subscription.d.ts +2 -2
- package/serialization/types/Subscription.js +2 -2
- package/serialization/types/SubscriptionResponse.d.ts +2 -2
- package/serialization/types/SubscriptionResponse.js +2 -2
- package/serialization/types/{SubscriptionStatus.d.ts → SubscriptionStatusType.d.ts} +3 -3
- package/serialization/types/{SubscriptionStatus.js → SubscriptionStatusType.js} +4 -4
- package/serialization/types/SupportedVoice.d.ts +22 -0
- package/serialization/types/SupportedVoice.js +53 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- 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/TransferToNumberToolConfig.d.ts +1 -0
- package/serialization/types/TransferToNumberToolConfig.js +1 -0
- package/{dist/serialization/types/TtsConversationalConfig.d.ts → serialization/types/TtsConversationalConfigInput.d.ts} +4 -2
- package/{dist/serialization/types/TtsConversationalConfig.js → serialization/types/TtsConversationalConfigInput.js} +4 -2
- package/serialization/types/TtsConversationalConfigOutput.d.ts +25 -0
- package/serialization/types/TtsConversationalConfigOutput.js +56 -0
- package/serialization/types/TtsModelFamily.d.ts +10 -0
- package/serialization/types/TtsModelFamily.js +41 -0
- package/serialization/types/VoiceSettings.d.ts +1 -1
- package/serialization/types/VoiceSettings.js +1 -1
- package/serialization/types/WebhookAuthMethodType.d.ts +10 -0
- package/serialization/types/WebhookAuthMethodType.js +41 -0
- package/serialization/types/WebhookUsageType.d.ts +10 -0
- package/serialization/types/{ExtendedSubscriptionResponseModelStatus.js → WebhookUsageType.js} +6 -10
- package/serialization/types/WidgetConfig.d.ts +13 -2
- package/serialization/types/WidgetConfig.js +13 -2
- package/{dist/serialization/types/WidgetConfigAvatar.d.ts → serialization/types/WidgetConfigInputAvatar.d.ts} +3 -3
- package/{dist/serialization/types/WidgetConfigAvatar.js → serialization/types/WidgetConfigInputAvatar.js} +2 -2
- package/serialization/types/WidgetConfigOutputAvatar.d.ts +22 -0
- package/serialization/types/WidgetConfigOutputAvatar.js +53 -0
- package/serialization/types/{WidgetConfigResponseModel.d.ts → WidgetConfigResponse.d.ts} +15 -2
- package/serialization/types/{WidgetConfigResponseModel.js → WidgetConfigResponse.js} +15 -2
- package/serialization/types/WidgetLanguagePreset.d.ts +13 -0
- package/serialization/types/WidgetLanguagePreset.js +44 -0
- package/serialization/types/WidgetLanguagePresetResponse.d.ts +14 -0
- package/serialization/types/WidgetLanguagePresetResponse.js +45 -0
- package/serialization/types/WidgetPlacement.d.ts +10 -0
- package/serialization/types/WidgetPlacement.js +41 -0
- package/serialization/types/WidgetStyles.d.ts +31 -0
- package/serialization/types/WidgetStyles.js +62 -0
- package/serialization/types/WidgetTextContents.d.ts +32 -0
- package/serialization/types/WidgetTextContents.js +63 -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/WorkspaceWebhookResponseModel.js +54 -0
- package/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
- package/serialization/types/index.d.ts +53 -8
- package/serialization/types/index.js +53 -8
- 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 -7842
- 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 -77
- package/.mock/definition/conversationalAi/agents.yml +0 -651
- package/.mock/definition/conversationalAi/batchCalls.yml +0 -139
- 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 -48
- package/.mock/definition/conversationalAi/knowledgeBase/documents/chunk.yml +0 -42
- package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +0 -346
- package/.mock/definition/conversationalAi/knowledgeBase.yml +0 -87
- 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 -94
- 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 -262
- 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 -177
- 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/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 -904
- package/.mock/definition/workspace/groups/members.yml +0 -82
- package/.mock/definition/workspace/groups.yml +0 -41
- 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 -36753
- package/api/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
- package/api/types/ExtendedSubscriptionResponseModelStatus.js +0 -16
- package/api/types/NativeMcpToolConfigInput.d.ts +0 -20
- package/api/types/NativeMcpToolConfigOutput.d.ts +0 -20
- 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/ExtendedSubscriptionResponseModelStatus.d.ts +0 -17
- package/dist/api/types/ExtendedSubscriptionResponseModelStatus.js +0 -16
- package/dist/api/types/NativeMcpToolConfigInput.d.ts +0 -20
- package/dist/api/types/NativeMcpToolConfigOutput.d.ts +0 -20
- 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/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
- package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +0 -18
- package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -18
- package/dist/serialization/types/RagIndexResponseModel.d.ts +0 -14
- package/serialization/types/ExtendedSubscriptionResponseModelStatus.d.ts +0 -10
- package/serialization/types/NativeMcpToolConfigInput.d.ts +0 -18
- package/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -18
- package/serialization/types/RagIndexResponseModel.d.ts +0 -14
- /package/api/{types/NativeMcpToolConfigInput.js → resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.js} +0 -0
- /package/api/{types/NativeMcpToolConfigOutput.js → resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js} +0 -0
- /package/api/{types/RagIndexResponseModel.js → resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js} +0 -0
- /package/api/{types/TtsConversationalConfig.js → resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js} +0 -0
- /package/api/{types/WidgetConfigAvatar.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js} +0 -0
- /package/api/{types/WidgetConfigResponseModel.js → resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js} +0 -0
- /package/{dist/api/types/NativeMcpToolConfigInput.js → api/resources/webhooks/client/requests/WebhooksListRequest.js} +0 -0
- /package/{dist/api/types/NativeMcpToolConfigOutput.js → api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js} +0 -0
- /package/{dist/api/types/RagIndexResponseModel.js → api/types/BuiltInTools.js} +0 -0
- /package/{dist/api/types/TtsConversationalConfig.js → api/types/ConvAiUserSecretDbModel.js} +0 -0
- /package/{dist/api/types/WidgetConfigAvatar.js → api/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +0 -0
- /package/{dist/api/types/WidgetConfigResponseModel.js → api/types/CustomLlmRequestHeadersValue.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
|
|
|
@@ -636,9 +636,159 @@ for await (const item of response) {
|
|
|
636
636
|
</dl>
|
|
637
637
|
</details>
|
|
638
638
|
|
|
639
|
+
## TextToDialogue
|
|
640
|
+
|
|
641
|
+
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">convert</a>({ ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
642
|
+
<dl>
|
|
643
|
+
<dd>
|
|
644
|
+
|
|
645
|
+
#### 📝 Description
|
|
646
|
+
|
|
647
|
+
<dl>
|
|
648
|
+
<dd>
|
|
649
|
+
|
|
650
|
+
<dl>
|
|
651
|
+
<dd>
|
|
652
|
+
|
|
653
|
+
<Warning>Eleven v3 API access is currently not publicly available, but will be soon.</Warning><br/>Converts a list of text and voice ID pairs into speech (dialogue) and returns audio.
|
|
654
|
+
|
|
655
|
+
</dd>
|
|
656
|
+
</dl>
|
|
657
|
+
</dd>
|
|
658
|
+
</dl>
|
|
659
|
+
|
|
660
|
+
#### 🔌 Usage
|
|
661
|
+
|
|
662
|
+
<dl>
|
|
663
|
+
<dd>
|
|
664
|
+
|
|
665
|
+
<dl>
|
|
666
|
+
<dd>
|
|
667
|
+
|
|
668
|
+
```typescript
|
|
669
|
+
await client.textToDialogue.convert({
|
|
670
|
+
inputs: [
|
|
671
|
+
{
|
|
672
|
+
text: "Knock knock",
|
|
673
|
+
voiceId: "JBFqnCBsd6RMkjVDRZzb",
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
text: "Who is there?",
|
|
677
|
+
voiceId: "Aw4FAjKCGjjNkVhN1Xmq",
|
|
678
|
+
},
|
|
679
|
+
],
|
|
680
|
+
});
|
|
681
|
+
```
|
|
682
|
+
|
|
683
|
+
</dd>
|
|
684
|
+
</dl>
|
|
685
|
+
</dd>
|
|
686
|
+
</dl>
|
|
687
|
+
|
|
688
|
+
#### ⚙️ Parameters
|
|
689
|
+
|
|
690
|
+
<dl>
|
|
691
|
+
<dd>
|
|
692
|
+
|
|
693
|
+
<dl>
|
|
694
|
+
<dd>
|
|
695
|
+
|
|
696
|
+
**request:** `ElevenLabs.BodyTextToDialogueMultiVoiceV1TextToDialoguePost`
|
|
697
|
+
|
|
698
|
+
</dd>
|
|
699
|
+
</dl>
|
|
700
|
+
|
|
701
|
+
<dl>
|
|
702
|
+
<dd>
|
|
703
|
+
|
|
704
|
+
**requestOptions:** `TextToDialogue.RequestOptions`
|
|
705
|
+
|
|
706
|
+
</dd>
|
|
707
|
+
</dl>
|
|
708
|
+
</dd>
|
|
709
|
+
</dl>
|
|
710
|
+
|
|
711
|
+
</dd>
|
|
712
|
+
</dl>
|
|
713
|
+
</details>
|
|
714
|
+
|
|
715
|
+
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">stream</a>({ ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
716
|
+
<dl>
|
|
717
|
+
<dd>
|
|
718
|
+
|
|
719
|
+
#### 📝 Description
|
|
720
|
+
|
|
721
|
+
<dl>
|
|
722
|
+
<dd>
|
|
723
|
+
|
|
724
|
+
<dl>
|
|
725
|
+
<dd>
|
|
726
|
+
|
|
727
|
+
<Warning>Eleven v3 API access is currently not publicly available, but will be soon.</Warning><br/>Converts a list of text and voice ID pairs into speech (dialogue) and returns an audio stream.
|
|
728
|
+
|
|
729
|
+
</dd>
|
|
730
|
+
</dl>
|
|
731
|
+
</dd>
|
|
732
|
+
</dl>
|
|
733
|
+
|
|
734
|
+
#### 🔌 Usage
|
|
735
|
+
|
|
736
|
+
<dl>
|
|
737
|
+
<dd>
|
|
738
|
+
|
|
739
|
+
<dl>
|
|
740
|
+
<dd>
|
|
741
|
+
|
|
742
|
+
```typescript
|
|
743
|
+
await client.textToDialogue.stream({
|
|
744
|
+
inputs: [
|
|
745
|
+
{
|
|
746
|
+
text: "Knock knock",
|
|
747
|
+
voiceId: "JBFqnCBsd6RMkjVDRZzb",
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
text: "Who is there?",
|
|
751
|
+
voiceId: "Aw4FAjKCGjjNkVhN1Xmq",
|
|
752
|
+
},
|
|
753
|
+
],
|
|
754
|
+
});
|
|
755
|
+
```
|
|
756
|
+
|
|
757
|
+
</dd>
|
|
758
|
+
</dl>
|
|
759
|
+
</dd>
|
|
760
|
+
</dl>
|
|
761
|
+
|
|
762
|
+
#### ⚙️ Parameters
|
|
763
|
+
|
|
764
|
+
<dl>
|
|
765
|
+
<dd>
|
|
766
|
+
|
|
767
|
+
<dl>
|
|
768
|
+
<dd>
|
|
769
|
+
|
|
770
|
+
**request:** `ElevenLabs.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost`
|
|
771
|
+
|
|
772
|
+
</dd>
|
|
773
|
+
</dl>
|
|
774
|
+
|
|
775
|
+
<dl>
|
|
776
|
+
<dd>
|
|
777
|
+
|
|
778
|
+
**requestOptions:** `TextToDialogue.RequestOptions`
|
|
779
|
+
|
|
780
|
+
</dd>
|
|
781
|
+
</dl>
|
|
782
|
+
</dd>
|
|
783
|
+
</dl>
|
|
784
|
+
|
|
785
|
+
</dd>
|
|
786
|
+
</dl>
|
|
787
|
+
</details>
|
|
788
|
+
|
|
639
789
|
## SpeechToSpeech
|
|
640
790
|
|
|
641
|
-
<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>
|
|
642
792
|
<dl>
|
|
643
793
|
<dd>
|
|
644
794
|
|
|
@@ -713,7 +863,7 @@ await client.speechToSpeech.convert("JBFqnCBsd6RMkjVDRZzb", {
|
|
|
713
863
|
</dl>
|
|
714
864
|
</details>
|
|
715
865
|
|
|
716
|
-
<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>
|
|
717
867
|
<dl>
|
|
718
868
|
<dd>
|
|
719
869
|
|
|
@@ -1557,7 +1707,7 @@ Create and auto-convert a podcast project. Currently, the LLM cost is covered by
|
|
|
1557
1707
|
|
|
1558
1708
|
```typescript
|
|
1559
1709
|
await client.studio.createPodcast({
|
|
1560
|
-
modelId: "
|
|
1710
|
+
modelId: "eleven_multilingual_v2",
|
|
1561
1711
|
mode: {
|
|
1562
1712
|
type: "conversation",
|
|
1563
1713
|
conversation: {
|
|
@@ -2385,9 +2535,9 @@ await client.pronunciationDictionaries.list();
|
|
|
2385
2535
|
</dl>
|
|
2386
2536
|
</details>
|
|
2387
2537
|
|
|
2388
|
-
##
|
|
2538
|
+
## Workspace
|
|
2389
2539
|
|
|
2390
|
-
<details><summary><code>client.
|
|
2540
|
+
<details><summary><code>client.workspace.<a href="/src/api/resources/workspace/client/Client.ts">updateUserAutoProvisioning</a>({ ...params }) -> unknown</code></summary>
|
|
2391
2541
|
<dl>
|
|
2392
2542
|
<dd>
|
|
2393
2543
|
|
|
@@ -2399,7 +2549,7 @@ await client.pronunciationDictionaries.list();
|
|
|
2399
2549
|
<dl>
|
|
2400
2550
|
<dd>
|
|
2401
2551
|
|
|
2402
|
-
|
|
2552
|
+
Update user auto provisioning settings for the workspace.
|
|
2403
2553
|
|
|
2404
2554
|
</dd>
|
|
2405
2555
|
</dl>
|
|
@@ -2415,8 +2565,8 @@ Transcribe an audio or video file.
|
|
|
2415
2565
|
<dd>
|
|
2416
2566
|
|
|
2417
2567
|
```typescript
|
|
2418
|
-
await client.
|
|
2419
|
-
|
|
2568
|
+
await client.workspace.updateUserAutoProvisioning({
|
|
2569
|
+
enabled: true,
|
|
2420
2570
|
});
|
|
2421
2571
|
```
|
|
2422
2572
|
|
|
@@ -2433,7 +2583,7 @@ await client.speechToText.convert({
|
|
|
2433
2583
|
<dl>
|
|
2434
2584
|
<dd>
|
|
2435
2585
|
|
|
2436
|
-
**request:** `ElevenLabs.
|
|
2586
|
+
**request:** `ElevenLabs.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost`
|
|
2437
2587
|
|
|
2438
2588
|
</dd>
|
|
2439
2589
|
</dl>
|
|
@@ -2441,7 +2591,7 @@ await client.speechToText.convert({
|
|
|
2441
2591
|
<dl>
|
|
2442
2592
|
<dd>
|
|
2443
2593
|
|
|
2444
|
-
**requestOptions:** `
|
|
2594
|
+
**requestOptions:** `Workspace.RequestOptions`
|
|
2445
2595
|
|
|
2446
2596
|
</dd>
|
|
2447
2597
|
</dl>
|
|
@@ -2452,9 +2602,9 @@ await client.speechToText.convert({
|
|
|
2452
2602
|
</dl>
|
|
2453
2603
|
</details>
|
|
2454
2604
|
|
|
2455
|
-
##
|
|
2605
|
+
## Webhooks
|
|
2456
2606
|
|
|
2457
|
-
<details><summary><code>client.
|
|
2607
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.WorkspaceWebhookListResponseModel</code></summary>
|
|
2458
2608
|
<dl>
|
|
2459
2609
|
<dd>
|
|
2460
2610
|
|
|
@@ -2466,7 +2616,7 @@ await client.speechToText.convert({
|
|
|
2466
2616
|
<dl>
|
|
2467
2617
|
<dd>
|
|
2468
2618
|
|
|
2469
|
-
|
|
2619
|
+
List all webhooks for a workspace
|
|
2470
2620
|
|
|
2471
2621
|
</dd>
|
|
2472
2622
|
</dl>
|
|
@@ -2482,9 +2632,8 @@ Force align an audio file to text. Use this endpoint to get the timing informati
|
|
|
2482
2632
|
<dd>
|
|
2483
2633
|
|
|
2484
2634
|
```typescript
|
|
2485
|
-
await client.
|
|
2486
|
-
|
|
2487
|
-
text: "text",
|
|
2635
|
+
await client.webhooks.list({
|
|
2636
|
+
includeUsages: false,
|
|
2488
2637
|
});
|
|
2489
2638
|
```
|
|
2490
2639
|
|
|
@@ -2501,7 +2650,7 @@ await client.forcedAlignment.create({
|
|
|
2501
2650
|
<dl>
|
|
2502
2651
|
<dd>
|
|
2503
2652
|
|
|
2504
|
-
**request:** `ElevenLabs.
|
|
2653
|
+
**request:** `ElevenLabs.WebhooksListRequest`
|
|
2505
2654
|
|
|
2506
2655
|
</dd>
|
|
2507
2656
|
</dl>
|
|
@@ -2509,7 +2658,7 @@ await client.forcedAlignment.create({
|
|
|
2509
2658
|
<dl>
|
|
2510
2659
|
<dd>
|
|
2511
2660
|
|
|
2512
|
-
**requestOptions:** `
|
|
2661
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
2513
2662
|
|
|
2514
2663
|
</dd>
|
|
2515
2664
|
</dl>
|
|
@@ -2520,9 +2669,9 @@ await client.forcedAlignment.create({
|
|
|
2520
2669
|
</dl>
|
|
2521
2670
|
</details>
|
|
2522
2671
|
|
|
2523
|
-
##
|
|
2672
|
+
## SpeechToText
|
|
2524
2673
|
|
|
2525
|
-
<details><summary><code>client.
|
|
2674
|
+
<details><summary><code>client.speechToText.<a href="/src/api/resources/speechToText/client/Client.ts">convert</a>({ ...params }) -> ElevenLabs.SpeechToTextChunkResponseModel</code></summary>
|
|
2526
2675
|
<dl>
|
|
2527
2676
|
<dd>
|
|
2528
2677
|
|
|
@@ -2534,7 +2683,7 @@ await client.forcedAlignment.create({
|
|
|
2534
2683
|
<dl>
|
|
2535
2684
|
<dd>
|
|
2536
2685
|
|
|
2537
|
-
|
|
2686
|
+
Transcribe an audio or video file. If webhook is set to true, the request will be processed asynchronously and results sent to configured webhooks.
|
|
2538
2687
|
|
|
2539
2688
|
</dd>
|
|
2540
2689
|
</dl>
|
|
@@ -2550,7 +2699,9 @@ Upload a file or webpage URL to create a knowledge base document. <br> <Note> Af
|
|
|
2550
2699
|
<dd>
|
|
2551
2700
|
|
|
2552
2701
|
```typescript
|
|
2553
|
-
await client.
|
|
2702
|
+
await client.speechToText.convert({
|
|
2703
|
+
modelId: "model_id",
|
|
2704
|
+
});
|
|
2554
2705
|
```
|
|
2555
2706
|
|
|
2556
2707
|
</dd>
|
|
@@ -2566,7 +2717,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2566
2717
|
<dl>
|
|
2567
2718
|
<dd>
|
|
2568
2719
|
|
|
2569
|
-
**request:** `ElevenLabs.
|
|
2720
|
+
**request:** `ElevenLabs.BodySpeechToTextV1SpeechToTextPost`
|
|
2570
2721
|
|
|
2571
2722
|
</dd>
|
|
2572
2723
|
</dl>
|
|
@@ -2574,7 +2725,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2574
2725
|
<dl>
|
|
2575
2726
|
<dd>
|
|
2576
2727
|
|
|
2577
|
-
**requestOptions:** `
|
|
2728
|
+
**requestOptions:** `SpeechToText.RequestOptions`
|
|
2578
2729
|
|
|
2579
2730
|
</dd>
|
|
2580
2731
|
</dl>
|
|
@@ -2585,7 +2736,9 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2585
2736
|
</dl>
|
|
2586
2737
|
</details>
|
|
2587
2738
|
|
|
2588
|
-
|
|
2739
|
+
## ForcedAlignment
|
|
2740
|
+
|
|
2741
|
+
<details><summary><code>client.forcedAlignment.<a href="/src/api/resources/forcedAlignment/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.ForcedAlignmentResponseModel</code></summary>
|
|
2589
2742
|
<dl>
|
|
2590
2743
|
<dd>
|
|
2591
2744
|
|
|
@@ -2597,7 +2750,7 @@ await client.conversationalAi.addToKnowledgeBase({});
|
|
|
2597
2750
|
<dl>
|
|
2598
2751
|
<dd>
|
|
2599
2752
|
|
|
2600
|
-
|
|
2753
|
+
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.
|
|
2601
2754
|
|
|
2602
2755
|
</dd>
|
|
2603
2756
|
</dl>
|
|
@@ -2613,9 +2766,9 @@ Update an existing secret for the workspace
|
|
|
2613
2766
|
<dd>
|
|
2614
2767
|
|
|
2615
2768
|
```typescript
|
|
2616
|
-
await client.
|
|
2617
|
-
|
|
2618
|
-
|
|
2769
|
+
await client.forcedAlignment.create({
|
|
2770
|
+
file: fs.createReadStream("/path/to/your/file"),
|
|
2771
|
+
text: "text",
|
|
2619
2772
|
});
|
|
2620
2773
|
```
|
|
2621
2774
|
|
|
@@ -2632,15 +2785,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2632
2785
|
<dl>
|
|
2633
2786
|
<dd>
|
|
2634
2787
|
|
|
2635
|
-
**
|
|
2636
|
-
|
|
2637
|
-
</dd>
|
|
2638
|
-
</dl>
|
|
2639
|
-
|
|
2640
|
-
<dl>
|
|
2641
|
-
<dd>
|
|
2642
|
-
|
|
2643
|
-
**request:** `ElevenLabs.PatchWorkspaceSecretRequest`
|
|
2788
|
+
**request:** `ElevenLabs.BodyCreateForcedAlignmentV1ForcedAlignmentPost`
|
|
2644
2789
|
|
|
2645
2790
|
</dd>
|
|
2646
2791
|
</dl>
|
|
@@ -2648,7 +2793,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2648
2793
|
<dl>
|
|
2649
2794
|
<dd>
|
|
2650
2795
|
|
|
2651
|
-
**requestOptions:** `
|
|
2796
|
+
**requestOptions:** `ForcedAlignment.RequestOptions`
|
|
2652
2797
|
|
|
2653
2798
|
</dd>
|
|
2654
2799
|
</dl>
|
|
@@ -2659,9 +2804,9 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2659
2804
|
</dl>
|
|
2660
2805
|
</details>
|
|
2661
2806
|
|
|
2662
|
-
## ConversationalAi
|
|
2807
|
+
## ConversationalAi
|
|
2663
2808
|
|
|
2664
|
-
<details><summary><code>client.conversationalAi
|
|
2809
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">addToKnowledgeBase</a>({ ...params }) -> ElevenLabs.AddKnowledgeBaseResponseModel</code></summary>
|
|
2665
2810
|
<dl>
|
|
2666
2811
|
<dd>
|
|
2667
2812
|
|
|
@@ -2673,7 +2818,7 @@ await client.conversationalAi.updateSecret("secret_id", {
|
|
|
2673
2818
|
<dl>
|
|
2674
2819
|
<dd>
|
|
2675
2820
|
|
|
2676
|
-
|
|
2821
|
+
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>
|
|
2677
2822
|
|
|
2678
2823
|
</dd>
|
|
2679
2824
|
</dl>
|
|
@@ -2689,9 +2834,7 @@ Get a signed url to start a conversation with an agent with an agent that requir
|
|
|
2689
2834
|
<dd>
|
|
2690
2835
|
|
|
2691
2836
|
```typescript
|
|
2692
|
-
await client.conversationalAi.
|
|
2693
|
-
agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
2694
|
-
});
|
|
2837
|
+
await client.conversationalAi.addToKnowledgeBase({});
|
|
2695
2838
|
```
|
|
2696
2839
|
|
|
2697
2840
|
</dd>
|
|
@@ -2707,7 +2850,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
2707
2850
|
<dl>
|
|
2708
2851
|
<dd>
|
|
2709
2852
|
|
|
2710
|
-
**request:** `ElevenLabs.
|
|
2853
|
+
**request:** `ElevenLabs.BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost`
|
|
2711
2854
|
|
|
2712
2855
|
</dd>
|
|
2713
2856
|
</dl>
|
|
@@ -2715,7 +2858,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
2715
2858
|
<dl>
|
|
2716
2859
|
<dd>
|
|
2717
2860
|
|
|
2718
|
-
**requestOptions:** `
|
|
2861
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2719
2862
|
|
|
2720
2863
|
</dd>
|
|
2721
2864
|
</dl>
|
|
@@ -2726,7 +2869,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
2726
2869
|
</dl>
|
|
2727
2870
|
</details>
|
|
2728
2871
|
|
|
2729
|
-
<details><summary><code>client.conversationalAi
|
|
2872
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">getDocumentRagIndexes</a>(documentationId) -> ElevenLabs.RagDocumentIndexesResponseModel</code></summary>
|
|
2730
2873
|
<dl>
|
|
2731
2874
|
<dd>
|
|
2732
2875
|
|
|
@@ -2738,7 +2881,7 @@ await client.conversationalAi.conversations.getSignedUrl({
|
|
|
2738
2881
|
<dl>
|
|
2739
2882
|
<dd>
|
|
2740
2883
|
|
|
2741
|
-
|
|
2884
|
+
Provides information about all RAG indexes of the specified knowledgebase document.
|
|
2742
2885
|
|
|
2743
2886
|
</dd>
|
|
2744
2887
|
</dl>
|
|
@@ -2754,7 +2897,7 @@ Get all conversations of agents that user owns. With option to restrict to a spe
|
|
|
2754
2897
|
<dd>
|
|
2755
2898
|
|
|
2756
2899
|
```typescript
|
|
2757
|
-
await client.conversationalAi.
|
|
2900
|
+
await client.conversationalAi.getDocumentRagIndexes("21m00Tcm4TlvDq8ikWAM");
|
|
2758
2901
|
```
|
|
2759
2902
|
|
|
2760
2903
|
</dd>
|
|
@@ -2770,7 +2913,7 @@ await client.conversationalAi.conversations.list();
|
|
|
2770
2913
|
<dl>
|
|
2771
2914
|
<dd>
|
|
2772
2915
|
|
|
2773
|
-
**
|
|
2916
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
2774
2917
|
|
|
2775
2918
|
</dd>
|
|
2776
2919
|
</dl>
|
|
@@ -2778,7 +2921,7 @@ await client.conversationalAi.conversations.list();
|
|
|
2778
2921
|
<dl>
|
|
2779
2922
|
<dd>
|
|
2780
2923
|
|
|
2781
|
-
**requestOptions:** `
|
|
2924
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2782
2925
|
|
|
2783
2926
|
</dd>
|
|
2784
2927
|
</dl>
|
|
@@ -2789,7 +2932,7 @@ await client.conversationalAi.conversations.list();
|
|
|
2789
2932
|
</dl>
|
|
2790
2933
|
</details>
|
|
2791
2934
|
|
|
2792
|
-
<details><summary><code>client.conversationalAi
|
|
2935
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">deleteDocumentRagIndex</a>(documentationId, ragIndexId) -> ElevenLabs.RagDocumentIndexResponseModel</code></summary>
|
|
2793
2936
|
<dl>
|
|
2794
2937
|
<dd>
|
|
2795
2938
|
|
|
@@ -2801,7 +2944,7 @@ await client.conversationalAi.conversations.list();
|
|
|
2801
2944
|
<dl>
|
|
2802
2945
|
<dd>
|
|
2803
2946
|
|
|
2804
|
-
|
|
2947
|
+
Delete RAG index for the knowledgebase document.
|
|
2805
2948
|
|
|
2806
2949
|
</dd>
|
|
2807
2950
|
</dl>
|
|
@@ -2817,7 +2960,7 @@ Get the details of a particular conversation
|
|
|
2817
2960
|
<dd>
|
|
2818
2961
|
|
|
2819
2962
|
```typescript
|
|
2820
|
-
await client.conversationalAi.
|
|
2963
|
+
await client.conversationalAi.deleteDocumentRagIndex("21m00Tcm4TlvDq8ikWAM", "21m00Tcm4TlvDq8ikWAM");
|
|
2821
2964
|
```
|
|
2822
2965
|
|
|
2823
2966
|
</dd>
|
|
@@ -2833,7 +2976,7 @@ await client.conversationalAi.conversations.get("123");
|
|
|
2833
2976
|
<dl>
|
|
2834
2977
|
<dd>
|
|
2835
2978
|
|
|
2836
|
-
**
|
|
2979
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
2837
2980
|
|
|
2838
2981
|
</dd>
|
|
2839
2982
|
</dl>
|
|
@@ -2841,7 +2984,15 @@ await client.conversationalAi.conversations.get("123");
|
|
|
2841
2984
|
<dl>
|
|
2842
2985
|
<dd>
|
|
2843
2986
|
|
|
2844
|
-
**
|
|
2987
|
+
**ragIndexId:** `string` — The id of RAG index of document from the knowledge base.
|
|
2988
|
+
|
|
2989
|
+
</dd>
|
|
2990
|
+
</dl>
|
|
2991
|
+
|
|
2992
|
+
<dl>
|
|
2993
|
+
<dd>
|
|
2994
|
+
|
|
2995
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2845
2996
|
|
|
2846
2997
|
</dd>
|
|
2847
2998
|
</dl>
|
|
@@ -2852,7 +3003,7 @@ await client.conversationalAi.conversations.get("123");
|
|
|
2852
3003
|
</dl>
|
|
2853
3004
|
</details>
|
|
2854
3005
|
|
|
2855
|
-
<details><summary><code>client.conversationalAi
|
|
3006
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">ragIndexOverview</a>() -> ElevenLabs.RagIndexOverviewResponseModel</code></summary>
|
|
2856
3007
|
<dl>
|
|
2857
3008
|
<dd>
|
|
2858
3009
|
|
|
@@ -2864,7 +3015,7 @@ await client.conversationalAi.conversations.get("123");
|
|
|
2864
3015
|
<dl>
|
|
2865
3016
|
<dd>
|
|
2866
3017
|
|
|
2867
|
-
|
|
3018
|
+
Provides total size and other information of RAG indexes used by knowledgebase documents
|
|
2868
3019
|
|
|
2869
3020
|
</dd>
|
|
2870
3021
|
</dl>
|
|
@@ -2880,7 +3031,7 @@ Delete a particular conversation
|
|
|
2880
3031
|
<dd>
|
|
2881
3032
|
|
|
2882
3033
|
```typescript
|
|
2883
|
-
await client.conversationalAi.
|
|
3034
|
+
await client.conversationalAi.ragIndexOverview();
|
|
2884
3035
|
```
|
|
2885
3036
|
|
|
2886
3037
|
</dd>
|
|
@@ -2896,15 +3047,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
2896
3047
|
<dl>
|
|
2897
3048
|
<dd>
|
|
2898
3049
|
|
|
2899
|
-
**
|
|
2900
|
-
|
|
2901
|
-
</dd>
|
|
2902
|
-
</dl>
|
|
2903
|
-
|
|
2904
|
-
<dl>
|
|
2905
|
-
<dd>
|
|
2906
|
-
|
|
2907
|
-
**requestOptions:** `Conversations.RequestOptions`
|
|
3050
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2908
3051
|
|
|
2909
3052
|
</dd>
|
|
2910
3053
|
</dl>
|
|
@@ -2915,9 +3058,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
2915
3058
|
</dl>
|
|
2916
3059
|
</details>
|
|
2917
3060
|
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
<details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.TwilioOutboundCallResponse</code></summary>
|
|
3061
|
+
<details><summary><code>client.conversationalAi.<a href="/src/api/resources/conversationalAi/client/Client.ts">updateSecret</a>(secretId, { ...params }) -> ElevenLabs.PostWorkspaceSecretResponseModel</code></summary>
|
|
2921
3062
|
<dl>
|
|
2922
3063
|
<dd>
|
|
2923
3064
|
|
|
@@ -2929,7 +3070,7 @@ await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
2929
3070
|
<dl>
|
|
2930
3071
|
<dd>
|
|
2931
3072
|
|
|
2932
|
-
|
|
3073
|
+
Update an existing secret for the workspace
|
|
2933
3074
|
|
|
2934
3075
|
</dd>
|
|
2935
3076
|
</dl>
|
|
@@ -2945,10 +3086,9 @@ Handle an outbound call via Twilio
|
|
|
2945
3086
|
<dd>
|
|
2946
3087
|
|
|
2947
3088
|
```typescript
|
|
2948
|
-
await client.conversationalAi.
|
|
2949
|
-
|
|
2950
|
-
|
|
2951
|
-
toNumber: "to_number",
|
|
3089
|
+
await client.conversationalAi.updateSecret("secret_id", {
|
|
3090
|
+
name: "name",
|
|
3091
|
+
value: "value",
|
|
2952
3092
|
});
|
|
2953
3093
|
```
|
|
2954
3094
|
|
|
@@ -2965,7 +3105,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
2965
3105
|
<dl>
|
|
2966
3106
|
<dd>
|
|
2967
3107
|
|
|
2968
|
-
**
|
|
3108
|
+
**secretId:** `string`
|
|
2969
3109
|
|
|
2970
3110
|
</dd>
|
|
2971
3111
|
</dl>
|
|
@@ -2973,7 +3113,15 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
2973
3113
|
<dl>
|
|
2974
3114
|
<dd>
|
|
2975
3115
|
|
|
2976
|
-
**
|
|
3116
|
+
**request:** `ElevenLabs.PatchWorkspaceSecretRequest`
|
|
3117
|
+
|
|
3118
|
+
</dd>
|
|
3119
|
+
</dl>
|
|
3120
|
+
|
|
3121
|
+
<dl>
|
|
3122
|
+
<dd>
|
|
3123
|
+
|
|
3124
|
+
**requestOptions:** `ConversationalAi.RequestOptions`
|
|
2977
3125
|
|
|
2978
3126
|
</dd>
|
|
2979
3127
|
</dl>
|
|
@@ -2984,9 +3132,9 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
2984
3132
|
</dl>
|
|
2985
3133
|
</details>
|
|
2986
3134
|
|
|
2987
|
-
## ConversationalAi
|
|
3135
|
+
## ConversationalAi Conversations
|
|
2988
3136
|
|
|
2989
|
-
<details><summary><code>client.conversationalAi.
|
|
3137
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">getSignedUrl</a>({ ...params }) -> ElevenLabs.ConversationSignedUrlResponseModel</code></summary>
|
|
2990
3138
|
<dl>
|
|
2991
3139
|
<dd>
|
|
2992
3140
|
|
|
@@ -2998,7 +3146,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
2998
3146
|
<dl>
|
|
2999
3147
|
<dd>
|
|
3000
3148
|
|
|
3001
|
-
|
|
3149
|
+
Get a signed url to start a conversation with an agent with an agent that requires authorization
|
|
3002
3150
|
|
|
3003
3151
|
</dd>
|
|
3004
3152
|
</dl>
|
|
@@ -3014,8 +3162,8 @@ Create an agent from a config object
|
|
|
3014
3162
|
<dd>
|
|
3015
3163
|
|
|
3016
3164
|
```typescript
|
|
3017
|
-
await client.conversationalAi.
|
|
3018
|
-
|
|
3165
|
+
await client.conversationalAi.conversations.getSignedUrl({
|
|
3166
|
+
agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
3019
3167
|
});
|
|
3020
3168
|
```
|
|
3021
3169
|
|
|
@@ -3032,7 +3180,7 @@ await client.conversationalAi.agents.create({
|
|
|
3032
3180
|
<dl>
|
|
3033
3181
|
<dd>
|
|
3034
3182
|
|
|
3035
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
3183
|
+
**request:** `ElevenLabs.conversationalAi.ConversationsGetSignedUrlRequest`
|
|
3036
3184
|
|
|
3037
3185
|
</dd>
|
|
3038
3186
|
</dl>
|
|
@@ -3040,7 +3188,7 @@ await client.conversationalAi.agents.create({
|
|
|
3040
3188
|
<dl>
|
|
3041
3189
|
<dd>
|
|
3042
3190
|
|
|
3043
|
-
**requestOptions:** `
|
|
3191
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3044
3192
|
|
|
3045
3193
|
</dd>
|
|
3046
3194
|
</dl>
|
|
@@ -3051,7 +3199,7 @@ await client.conversationalAi.agents.create({
|
|
|
3051
3199
|
</dl>
|
|
3052
3200
|
</details>
|
|
3053
3201
|
|
|
3054
|
-
<details><summary><code>client.conversationalAi.
|
|
3202
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetConversationsPageResponseModel</code></summary>
|
|
3055
3203
|
<dl>
|
|
3056
3204
|
<dd>
|
|
3057
3205
|
|
|
@@ -3063,7 +3211,7 @@ await client.conversationalAi.agents.create({
|
|
|
3063
3211
|
<dl>
|
|
3064
3212
|
<dd>
|
|
3065
3213
|
|
|
3066
|
-
|
|
3214
|
+
Get all conversations of agents that user owns. With option to restrict to a specific agent.
|
|
3067
3215
|
|
|
3068
3216
|
</dd>
|
|
3069
3217
|
</dl>
|
|
@@ -3079,7 +3227,7 @@ Retrieve config for an agent
|
|
|
3079
3227
|
<dd>
|
|
3080
3228
|
|
|
3081
3229
|
```typescript
|
|
3082
|
-
await client.conversationalAi.
|
|
3230
|
+
await client.conversationalAi.conversations.list();
|
|
3083
3231
|
```
|
|
3084
3232
|
|
|
3085
3233
|
</dd>
|
|
@@ -3095,7 +3243,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3095
3243
|
<dl>
|
|
3096
3244
|
<dd>
|
|
3097
3245
|
|
|
3098
|
-
**
|
|
3246
|
+
**request:** `ElevenLabs.conversationalAi.ConversationsListRequest`
|
|
3099
3247
|
|
|
3100
3248
|
</dd>
|
|
3101
3249
|
</dl>
|
|
@@ -3103,7 +3251,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3103
3251
|
<dl>
|
|
3104
3252
|
<dd>
|
|
3105
3253
|
|
|
3106
|
-
**requestOptions:** `
|
|
3254
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3107
3255
|
|
|
3108
3256
|
</dd>
|
|
3109
3257
|
</dl>
|
|
@@ -3114,7 +3262,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3114
3262
|
</dl>
|
|
3115
3263
|
</details>
|
|
3116
3264
|
|
|
3117
|
-
<details><summary><code>client.conversationalAi.
|
|
3265
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">get</a>(conversationId) -> ElevenLabs.GetConversationResponseModel</code></summary>
|
|
3118
3266
|
<dl>
|
|
3119
3267
|
<dd>
|
|
3120
3268
|
|
|
@@ -3126,7 +3274,7 @@ await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
3126
3274
|
<dl>
|
|
3127
3275
|
<dd>
|
|
3128
3276
|
|
|
3129
|
-
|
|
3277
|
+
Get the details of a particular conversation
|
|
3130
3278
|
|
|
3131
3279
|
</dd>
|
|
3132
3280
|
</dl>
|
|
@@ -3142,7 +3290,7 @@ Delete an agent
|
|
|
3142
3290
|
<dd>
|
|
3143
3291
|
|
|
3144
3292
|
```typescript
|
|
3145
|
-
await client.conversationalAi.
|
|
3293
|
+
await client.conversationalAi.conversations.get("123");
|
|
3146
3294
|
```
|
|
3147
3295
|
|
|
3148
3296
|
</dd>
|
|
@@ -3158,7 +3306,7 @@ await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3158
3306
|
<dl>
|
|
3159
3307
|
<dd>
|
|
3160
3308
|
|
|
3161
|
-
**
|
|
3309
|
+
**conversationId:** `string` — The id of the conversation you're taking the action on.
|
|
3162
3310
|
|
|
3163
3311
|
</dd>
|
|
3164
3312
|
</dl>
|
|
@@ -3166,7 +3314,7 @@ await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3166
3314
|
<dl>
|
|
3167
3315
|
<dd>
|
|
3168
3316
|
|
|
3169
|
-
**requestOptions:** `
|
|
3317
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3170
3318
|
|
|
3171
3319
|
</dd>
|
|
3172
3320
|
</dl>
|
|
@@ -3177,7 +3325,7 @@ await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3177
3325
|
</dl>
|
|
3178
3326
|
</details>
|
|
3179
3327
|
|
|
3180
|
-
<details><summary><code>client.conversationalAi.
|
|
3328
|
+
<details><summary><code>client.conversationalAi.conversations.<a href="/src/api/resources/conversationalAi/resources/conversations/client/Client.ts">delete</a>(conversationId) -> unknown</code></summary>
|
|
3181
3329
|
<dl>
|
|
3182
3330
|
<dd>
|
|
3183
3331
|
|
|
@@ -3189,7 +3337,7 @@ await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
3189
3337
|
<dl>
|
|
3190
3338
|
<dd>
|
|
3191
3339
|
|
|
3192
|
-
|
|
3340
|
+
Delete a particular conversation
|
|
3193
3341
|
|
|
3194
3342
|
</dd>
|
|
3195
3343
|
</dl>
|
|
@@ -3205,7 +3353,7 @@ Patches an Agent settings
|
|
|
3205
3353
|
<dd>
|
|
3206
3354
|
|
|
3207
3355
|
```typescript
|
|
3208
|
-
await client.conversationalAi.
|
|
3356
|
+
await client.conversationalAi.conversations.delete("21m00Tcm4TlvDq8ikWAM");
|
|
3209
3357
|
```
|
|
3210
3358
|
|
|
3211
3359
|
</dd>
|
|
@@ -3221,7 +3369,7 @@ await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
|
3221
3369
|
<dl>
|
|
3222
3370
|
<dd>
|
|
3223
3371
|
|
|
3224
|
-
**
|
|
3372
|
+
**conversationId:** `string` — The id of the conversation you're taking the action on.
|
|
3225
3373
|
|
|
3226
3374
|
</dd>
|
|
3227
3375
|
</dl>
|
|
@@ -3229,15 +3377,76 @@ await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
|
3229
3377
|
<dl>
|
|
3230
3378
|
<dd>
|
|
3231
3379
|
|
|
3232
|
-
**
|
|
3380
|
+
**requestOptions:** `Conversations.RequestOptions`
|
|
3381
|
+
|
|
3382
|
+
</dd>
|
|
3383
|
+
</dl>
|
|
3384
|
+
</dd>
|
|
3385
|
+
</dl>
|
|
3233
3386
|
|
|
3234
3387
|
</dd>
|
|
3235
3388
|
</dl>
|
|
3389
|
+
</details>
|
|
3236
3390
|
|
|
3391
|
+
## ConversationalAi Twilio
|
|
3392
|
+
|
|
3393
|
+
<details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.TwilioOutboundCallResponse</code></summary>
|
|
3237
3394
|
<dl>
|
|
3238
3395
|
<dd>
|
|
3239
3396
|
|
|
3240
|
-
|
|
3397
|
+
#### 📝 Description
|
|
3398
|
+
|
|
3399
|
+
<dl>
|
|
3400
|
+
<dd>
|
|
3401
|
+
|
|
3402
|
+
<dl>
|
|
3403
|
+
<dd>
|
|
3404
|
+
|
|
3405
|
+
Handle an outbound call via Twilio
|
|
3406
|
+
|
|
3407
|
+
</dd>
|
|
3408
|
+
</dl>
|
|
3409
|
+
</dd>
|
|
3410
|
+
</dl>
|
|
3411
|
+
|
|
3412
|
+
#### 🔌 Usage
|
|
3413
|
+
|
|
3414
|
+
<dl>
|
|
3415
|
+
<dd>
|
|
3416
|
+
|
|
3417
|
+
<dl>
|
|
3418
|
+
<dd>
|
|
3419
|
+
|
|
3420
|
+
```typescript
|
|
3421
|
+
await client.conversationalAi.twilio.outboundCall({
|
|
3422
|
+
agentId: "agent_id",
|
|
3423
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
3424
|
+
toNumber: "to_number",
|
|
3425
|
+
});
|
|
3426
|
+
```
|
|
3427
|
+
|
|
3428
|
+
</dd>
|
|
3429
|
+
</dl>
|
|
3430
|
+
</dd>
|
|
3431
|
+
</dl>
|
|
3432
|
+
|
|
3433
|
+
#### ⚙️ Parameters
|
|
3434
|
+
|
|
3435
|
+
<dl>
|
|
3436
|
+
<dd>
|
|
3437
|
+
|
|
3438
|
+
<dl>
|
|
3439
|
+
<dd>
|
|
3440
|
+
|
|
3441
|
+
**request:** `ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost`
|
|
3442
|
+
|
|
3443
|
+
</dd>
|
|
3444
|
+
</dl>
|
|
3445
|
+
|
|
3446
|
+
<dl>
|
|
3447
|
+
<dd>
|
|
3448
|
+
|
|
3449
|
+
**requestOptions:** `Twilio.RequestOptions`
|
|
3241
3450
|
|
|
3242
3451
|
</dd>
|
|
3243
3452
|
</dl>
|
|
@@ -3248,7 +3457,9 @@ await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
|
3248
3457
|
</dl>
|
|
3249
3458
|
</details>
|
|
3250
3459
|
|
|
3251
|
-
|
|
3460
|
+
## ConversationalAi Agents
|
|
3461
|
+
|
|
3462
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.CreateAgentResponseModel</code></summary>
|
|
3252
3463
|
<dl>
|
|
3253
3464
|
<dd>
|
|
3254
3465
|
|
|
@@ -3260,7 +3471,7 @@ await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
|
3260
3471
|
<dl>
|
|
3261
3472
|
<dd>
|
|
3262
3473
|
|
|
3263
|
-
|
|
3474
|
+
Create an agent from a config object
|
|
3264
3475
|
|
|
3265
3476
|
</dd>
|
|
3266
3477
|
</dl>
|
|
@@ -3276,7 +3487,9 @@ Returns a list of your agents and their metadata.
|
|
|
3276
3487
|
<dd>
|
|
3277
3488
|
|
|
3278
3489
|
```typescript
|
|
3279
|
-
await client.conversationalAi.agents.
|
|
3490
|
+
await client.conversationalAi.agents.create({
|
|
3491
|
+
conversationConfig: {},
|
|
3492
|
+
});
|
|
3280
3493
|
```
|
|
3281
3494
|
|
|
3282
3495
|
</dd>
|
|
@@ -3292,7 +3505,7 @@ await client.conversationalAi.agents.list();
|
|
|
3292
3505
|
<dl>
|
|
3293
3506
|
<dd>
|
|
3294
3507
|
|
|
3295
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
3508
|
+
**request:** `ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost`
|
|
3296
3509
|
|
|
3297
3510
|
</dd>
|
|
3298
3511
|
</dl>
|
|
@@ -3311,7 +3524,7 @@ await client.conversationalAi.agents.list();
|
|
|
3311
3524
|
</dl>
|
|
3312
3525
|
</details>
|
|
3313
3526
|
|
|
3314
|
-
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">
|
|
3527
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">get</a>(agentId) -> ElevenLabs.GetAgentResponseModel</code></summary>
|
|
3315
3528
|
<dl>
|
|
3316
3529
|
<dd>
|
|
3317
3530
|
|
|
@@ -3323,7 +3536,7 @@ await client.conversationalAi.agents.list();
|
|
|
3323
3536
|
<dl>
|
|
3324
3537
|
<dd>
|
|
3325
3538
|
|
|
3326
|
-
|
|
3539
|
+
Retrieve config for an agent
|
|
3327
3540
|
|
|
3328
3541
|
</dd>
|
|
3329
3542
|
</dl>
|
|
@@ -3339,14 +3552,7 @@ Run a conversation between the agent and a simulated user.
|
|
|
3339
3552
|
<dd>
|
|
3340
3553
|
|
|
3341
3554
|
```typescript
|
|
3342
|
-
await client.conversationalAi.agents.
|
|
3343
|
-
simulationSpecification: {
|
|
3344
|
-
simulatedUserConfig: {
|
|
3345
|
-
firstMessage: "Hello, how can I help you today?",
|
|
3346
|
-
language: "en",
|
|
3347
|
-
},
|
|
3348
|
-
},
|
|
3349
|
-
});
|
|
3555
|
+
await client.conversationalAi.agents.get("21m00Tcm4TlvDq8ikWAM");
|
|
3350
3556
|
```
|
|
3351
3557
|
|
|
3352
3558
|
</dd>
|
|
@@ -3370,7 +3576,62 @@ await client.conversationalAi.agents.simulateConversation("21m00Tcm4TlvDq8ikWAM"
|
|
|
3370
3576
|
<dl>
|
|
3371
3577
|
<dd>
|
|
3372
3578
|
|
|
3373
|
-
**
|
|
3579
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3580
|
+
|
|
3581
|
+
</dd>
|
|
3582
|
+
</dl>
|
|
3583
|
+
</dd>
|
|
3584
|
+
</dl>
|
|
3585
|
+
|
|
3586
|
+
</dd>
|
|
3587
|
+
</dl>
|
|
3588
|
+
</details>
|
|
3589
|
+
|
|
3590
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">delete</a>(agentId) -> void</code></summary>
|
|
3591
|
+
<dl>
|
|
3592
|
+
<dd>
|
|
3593
|
+
|
|
3594
|
+
#### 📝 Description
|
|
3595
|
+
|
|
3596
|
+
<dl>
|
|
3597
|
+
<dd>
|
|
3598
|
+
|
|
3599
|
+
<dl>
|
|
3600
|
+
<dd>
|
|
3601
|
+
|
|
3602
|
+
Delete an agent
|
|
3603
|
+
|
|
3604
|
+
</dd>
|
|
3605
|
+
</dl>
|
|
3606
|
+
</dd>
|
|
3607
|
+
</dl>
|
|
3608
|
+
|
|
3609
|
+
#### 🔌 Usage
|
|
3610
|
+
|
|
3611
|
+
<dl>
|
|
3612
|
+
<dd>
|
|
3613
|
+
|
|
3614
|
+
<dl>
|
|
3615
|
+
<dd>
|
|
3616
|
+
|
|
3617
|
+
```typescript
|
|
3618
|
+
await client.conversationalAi.agents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
3619
|
+
```
|
|
3620
|
+
|
|
3621
|
+
</dd>
|
|
3622
|
+
</dl>
|
|
3623
|
+
</dd>
|
|
3624
|
+
</dl>
|
|
3625
|
+
|
|
3626
|
+
#### ⚙️ Parameters
|
|
3627
|
+
|
|
3628
|
+
<dl>
|
|
3629
|
+
<dd>
|
|
3630
|
+
|
|
3631
|
+
<dl>
|
|
3632
|
+
<dd>
|
|
3633
|
+
|
|
3634
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
3374
3635
|
|
|
3375
3636
|
</dd>
|
|
3376
3637
|
</dl>
|
|
@@ -3389,7 +3650,7 @@ await client.conversationalAi.agents.simulateConversation("21m00Tcm4TlvDq8ikWAM"
|
|
|
3389
3650
|
</dl>
|
|
3390
3651
|
</details>
|
|
3391
3652
|
|
|
3392
|
-
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">
|
|
3653
|
+
<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>
|
|
3393
3654
|
<dl>
|
|
3394
3655
|
<dd>
|
|
3395
3656
|
|
|
@@ -3401,7 +3662,7 @@ await client.conversationalAi.agents.simulateConversation("21m00Tcm4TlvDq8ikWAM"
|
|
|
3401
3662
|
<dl>
|
|
3402
3663
|
<dd>
|
|
3403
3664
|
|
|
3404
|
-
|
|
3665
|
+
Patches an Agent settings
|
|
3405
3666
|
|
|
3406
3667
|
</dd>
|
|
3407
3668
|
</dl>
|
|
@@ -3417,14 +3678,7 @@ Run a conversation between the agent and a simulated user and stream back the re
|
|
|
3417
3678
|
<dd>
|
|
3418
3679
|
|
|
3419
3680
|
```typescript
|
|
3420
|
-
await client.conversationalAi.agents.
|
|
3421
|
-
simulationSpecification: {
|
|
3422
|
-
simulatedUserConfig: {
|
|
3423
|
-
firstMessage: "Hello, how can I help you today?",
|
|
3424
|
-
language: "en",
|
|
3425
|
-
},
|
|
3426
|
-
},
|
|
3427
|
-
});
|
|
3681
|
+
await client.conversationalAi.agents.update("21m00Tcm4TlvDq8ikWAM");
|
|
3428
3682
|
```
|
|
3429
3683
|
|
|
3430
3684
|
</dd>
|
|
@@ -3448,7 +3702,7 @@ await client.conversationalAi.agents.simulateConversationStream("21m00Tcm4TlvDq8
|
|
|
3448
3702
|
<dl>
|
|
3449
3703
|
<dd>
|
|
3450
3704
|
|
|
3451
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
3705
|
+
**request:** `ElevenLabs.conversationalAi.UpdateAgentRequest`
|
|
3452
3706
|
|
|
3453
3707
|
</dd>
|
|
3454
3708
|
</dl>
|
|
@@ -3467,9 +3721,7 @@ await client.conversationalAi.agents.simulateConversationStream("21m00Tcm4TlvDq8
|
|
|
3467
3721
|
</dl>
|
|
3468
3722
|
</details>
|
|
3469
3723
|
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.CreatePhoneNumberResponseModel</code></summary>
|
|
3724
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetAgentsPageResponseModel</code></summary>
|
|
3473
3725
|
<dl>
|
|
3474
3726
|
<dd>
|
|
3475
3727
|
|
|
@@ -3481,7 +3733,7 @@ await client.conversationalAi.agents.simulateConversationStream("21m00Tcm4TlvDq8
|
|
|
3481
3733
|
<dl>
|
|
3482
3734
|
<dd>
|
|
3483
3735
|
|
|
3484
|
-
|
|
3736
|
+
Returns a list of your agents and their metadata.
|
|
3485
3737
|
|
|
3486
3738
|
</dd>
|
|
3487
3739
|
</dl>
|
|
@@ -3497,13 +3749,7 @@ Import Phone Number from provider configuration (Twilio or SIP trunk)
|
|
|
3497
3749
|
<dd>
|
|
3498
3750
|
|
|
3499
3751
|
```typescript
|
|
3500
|
-
await client.conversationalAi.
|
|
3501
|
-
provider: "twilio",
|
|
3502
|
-
phoneNumber: "phone_number",
|
|
3503
|
-
label: "label",
|
|
3504
|
-
sid: "sid",
|
|
3505
|
-
token: "token",
|
|
3506
|
-
});
|
|
3752
|
+
await client.conversationalAi.agents.list();
|
|
3507
3753
|
```
|
|
3508
3754
|
|
|
3509
3755
|
</dd>
|
|
@@ -3519,15 +3765,805 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3519
3765
|
<dl>
|
|
3520
3766
|
<dd>
|
|
3521
3767
|
|
|
3522
|
-
**request:** `ElevenLabs.
|
|
3768
|
+
**request:** `ElevenLabs.conversationalAi.AgentsListRequest`
|
|
3769
|
+
|
|
3770
|
+
</dd>
|
|
3771
|
+
</dl>
|
|
3772
|
+
|
|
3773
|
+
<dl>
|
|
3774
|
+
<dd>
|
|
3523
3775
|
|
|
3776
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3777
|
+
|
|
3778
|
+
</dd>
|
|
3779
|
+
</dl>
|
|
3780
|
+
</dd>
|
|
3781
|
+
</dl>
|
|
3782
|
+
|
|
3783
|
+
</dd>
|
|
3784
|
+
</dl>
|
|
3785
|
+
</details>
|
|
3786
|
+
|
|
3787
|
+
<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>
|
|
3788
|
+
<dl>
|
|
3789
|
+
<dd>
|
|
3790
|
+
|
|
3791
|
+
#### 📝 Description
|
|
3792
|
+
|
|
3793
|
+
<dl>
|
|
3794
|
+
<dd>
|
|
3795
|
+
|
|
3796
|
+
<dl>
|
|
3797
|
+
<dd>
|
|
3798
|
+
|
|
3799
|
+
Run a conversation between the agent and a simulated user.
|
|
3800
|
+
|
|
3801
|
+
</dd>
|
|
3802
|
+
</dl>
|
|
3524
3803
|
</dd>
|
|
3525
3804
|
</dl>
|
|
3526
3805
|
|
|
3806
|
+
#### 🔌 Usage
|
|
3807
|
+
|
|
3808
|
+
<dl>
|
|
3809
|
+
<dd>
|
|
3810
|
+
|
|
3811
|
+
<dl>
|
|
3812
|
+
<dd>
|
|
3813
|
+
|
|
3814
|
+
```typescript
|
|
3815
|
+
await client.conversationalAi.agents.simulateConversation("21m00Tcm4TlvDq8ikWAM", {
|
|
3816
|
+
simulationSpecification: {
|
|
3817
|
+
simulatedUserConfig: {
|
|
3818
|
+
firstMessage: "Hello, how can I help you today?",
|
|
3819
|
+
language: "en",
|
|
3820
|
+
},
|
|
3821
|
+
},
|
|
3822
|
+
});
|
|
3823
|
+
```
|
|
3824
|
+
|
|
3825
|
+
</dd>
|
|
3826
|
+
</dl>
|
|
3827
|
+
</dd>
|
|
3828
|
+
</dl>
|
|
3829
|
+
|
|
3830
|
+
#### ⚙️ Parameters
|
|
3831
|
+
|
|
3832
|
+
<dl>
|
|
3833
|
+
<dd>
|
|
3834
|
+
|
|
3835
|
+
<dl>
|
|
3836
|
+
<dd>
|
|
3837
|
+
|
|
3838
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
3839
|
+
|
|
3840
|
+
</dd>
|
|
3841
|
+
</dl>
|
|
3842
|
+
|
|
3843
|
+
<dl>
|
|
3844
|
+
<dd>
|
|
3845
|
+
|
|
3846
|
+
**request:** `ElevenLabs.conversationalAi.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost`
|
|
3847
|
+
|
|
3848
|
+
</dd>
|
|
3849
|
+
</dl>
|
|
3850
|
+
|
|
3851
|
+
<dl>
|
|
3852
|
+
<dd>
|
|
3853
|
+
|
|
3854
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3855
|
+
|
|
3856
|
+
</dd>
|
|
3857
|
+
</dl>
|
|
3858
|
+
</dd>
|
|
3859
|
+
</dl>
|
|
3860
|
+
|
|
3861
|
+
</dd>
|
|
3862
|
+
</dl>
|
|
3863
|
+
</details>
|
|
3864
|
+
|
|
3865
|
+
<details><summary><code>client.conversationalAi.agents.<a href="/src/api/resources/conversationalAi/resources/agents/client/Client.ts">simulateConversationStream</a>(agentId, { ...params }) -> void</code></summary>
|
|
3866
|
+
<dl>
|
|
3867
|
+
<dd>
|
|
3868
|
+
|
|
3869
|
+
#### 📝 Description
|
|
3870
|
+
|
|
3871
|
+
<dl>
|
|
3872
|
+
<dd>
|
|
3873
|
+
|
|
3874
|
+
<dl>
|
|
3875
|
+
<dd>
|
|
3876
|
+
|
|
3877
|
+
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.
|
|
3878
|
+
|
|
3879
|
+
</dd>
|
|
3880
|
+
</dl>
|
|
3881
|
+
</dd>
|
|
3882
|
+
</dl>
|
|
3883
|
+
|
|
3884
|
+
#### 🔌 Usage
|
|
3885
|
+
|
|
3886
|
+
<dl>
|
|
3887
|
+
<dd>
|
|
3888
|
+
|
|
3889
|
+
<dl>
|
|
3890
|
+
<dd>
|
|
3891
|
+
|
|
3892
|
+
```typescript
|
|
3893
|
+
await client.conversationalAi.agents.simulateConversationStream("21m00Tcm4TlvDq8ikWAM", {
|
|
3894
|
+
simulationSpecification: {
|
|
3895
|
+
simulatedUserConfig: {
|
|
3896
|
+
firstMessage: "Hello, how can I help you today?",
|
|
3897
|
+
language: "en",
|
|
3898
|
+
},
|
|
3899
|
+
},
|
|
3900
|
+
});
|
|
3901
|
+
```
|
|
3902
|
+
|
|
3903
|
+
</dd>
|
|
3904
|
+
</dl>
|
|
3905
|
+
</dd>
|
|
3906
|
+
</dl>
|
|
3907
|
+
|
|
3908
|
+
#### ⚙️ Parameters
|
|
3909
|
+
|
|
3910
|
+
<dl>
|
|
3911
|
+
<dd>
|
|
3912
|
+
|
|
3913
|
+
<dl>
|
|
3914
|
+
<dd>
|
|
3915
|
+
|
|
3916
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
3917
|
+
|
|
3918
|
+
</dd>
|
|
3919
|
+
</dl>
|
|
3920
|
+
|
|
3921
|
+
<dl>
|
|
3922
|
+
<dd>
|
|
3923
|
+
|
|
3924
|
+
**request:** `ElevenLabs.conversationalAi.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost`
|
|
3925
|
+
|
|
3926
|
+
</dd>
|
|
3927
|
+
</dl>
|
|
3928
|
+
|
|
3929
|
+
<dl>
|
|
3930
|
+
<dd>
|
|
3931
|
+
|
|
3932
|
+
**requestOptions:** `Agents.RequestOptions`
|
|
3933
|
+
|
|
3934
|
+
</dd>
|
|
3935
|
+
</dl>
|
|
3936
|
+
</dd>
|
|
3937
|
+
</dl>
|
|
3938
|
+
|
|
3939
|
+
</dd>
|
|
3940
|
+
</dl>
|
|
3941
|
+
</details>
|
|
3942
|
+
|
|
3943
|
+
## ConversationalAi PhoneNumbers
|
|
3944
|
+
|
|
3945
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.CreatePhoneNumberResponseModel</code></summary>
|
|
3946
|
+
<dl>
|
|
3947
|
+
<dd>
|
|
3948
|
+
|
|
3949
|
+
#### 📝 Description
|
|
3950
|
+
|
|
3951
|
+
<dl>
|
|
3952
|
+
<dd>
|
|
3953
|
+
|
|
3954
|
+
<dl>
|
|
3955
|
+
<dd>
|
|
3956
|
+
|
|
3957
|
+
Import Phone Number from provider configuration (Twilio or SIP trunk)
|
|
3958
|
+
|
|
3959
|
+
</dd>
|
|
3960
|
+
</dl>
|
|
3961
|
+
</dd>
|
|
3962
|
+
</dl>
|
|
3963
|
+
|
|
3964
|
+
#### 🔌 Usage
|
|
3965
|
+
|
|
3966
|
+
<dl>
|
|
3967
|
+
<dd>
|
|
3968
|
+
|
|
3969
|
+
<dl>
|
|
3970
|
+
<dd>
|
|
3971
|
+
|
|
3972
|
+
```typescript
|
|
3973
|
+
await client.conversationalAi.phoneNumbers.create({
|
|
3974
|
+
provider: "twilio",
|
|
3975
|
+
phoneNumber: "phone_number",
|
|
3976
|
+
label: "label",
|
|
3977
|
+
sid: "sid",
|
|
3978
|
+
token: "token",
|
|
3979
|
+
});
|
|
3980
|
+
```
|
|
3981
|
+
|
|
3982
|
+
</dd>
|
|
3983
|
+
</dl>
|
|
3984
|
+
</dd>
|
|
3985
|
+
</dl>
|
|
3986
|
+
|
|
3987
|
+
#### ⚙️ Parameters
|
|
3988
|
+
|
|
3989
|
+
<dl>
|
|
3990
|
+
<dd>
|
|
3991
|
+
|
|
3992
|
+
<dl>
|
|
3993
|
+
<dd>
|
|
3994
|
+
|
|
3995
|
+
**request:** `ElevenLabs.PhoneNumbersCreateRequestBody`
|
|
3996
|
+
|
|
3997
|
+
</dd>
|
|
3998
|
+
</dl>
|
|
3999
|
+
|
|
4000
|
+
<dl>
|
|
4001
|
+
<dd>
|
|
4002
|
+
|
|
4003
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4004
|
+
|
|
4005
|
+
</dd>
|
|
4006
|
+
</dl>
|
|
4007
|
+
</dd>
|
|
4008
|
+
</dl>
|
|
4009
|
+
|
|
4010
|
+
</dd>
|
|
4011
|
+
</dl>
|
|
4012
|
+
</details>
|
|
4013
|
+
|
|
4014
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">get</a>(phoneNumberId) -> ElevenLabs.PhoneNumbersGetResponse</code></summary>
|
|
4015
|
+
<dl>
|
|
4016
|
+
<dd>
|
|
4017
|
+
|
|
4018
|
+
#### 📝 Description
|
|
4019
|
+
|
|
4020
|
+
<dl>
|
|
4021
|
+
<dd>
|
|
4022
|
+
|
|
4023
|
+
<dl>
|
|
4024
|
+
<dd>
|
|
4025
|
+
|
|
4026
|
+
Retrieve Phone Number details by ID
|
|
4027
|
+
|
|
4028
|
+
</dd>
|
|
4029
|
+
</dl>
|
|
4030
|
+
</dd>
|
|
4031
|
+
</dl>
|
|
4032
|
+
|
|
4033
|
+
#### 🔌 Usage
|
|
4034
|
+
|
|
4035
|
+
<dl>
|
|
4036
|
+
<dd>
|
|
4037
|
+
|
|
4038
|
+
<dl>
|
|
4039
|
+
<dd>
|
|
4040
|
+
|
|
4041
|
+
```typescript
|
|
4042
|
+
await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
4043
|
+
```
|
|
4044
|
+
|
|
4045
|
+
</dd>
|
|
4046
|
+
</dl>
|
|
4047
|
+
</dd>
|
|
4048
|
+
</dl>
|
|
4049
|
+
|
|
4050
|
+
#### ⚙️ Parameters
|
|
4051
|
+
|
|
4052
|
+
<dl>
|
|
4053
|
+
<dd>
|
|
4054
|
+
|
|
4055
|
+
<dl>
|
|
4056
|
+
<dd>
|
|
4057
|
+
|
|
4058
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4059
|
+
|
|
4060
|
+
</dd>
|
|
4061
|
+
</dl>
|
|
4062
|
+
|
|
4063
|
+
<dl>
|
|
4064
|
+
<dd>
|
|
4065
|
+
|
|
4066
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4067
|
+
|
|
4068
|
+
</dd>
|
|
4069
|
+
</dl>
|
|
4070
|
+
</dd>
|
|
4071
|
+
</dl>
|
|
4072
|
+
|
|
4073
|
+
</dd>
|
|
4074
|
+
</dl>
|
|
4075
|
+
</details>
|
|
4076
|
+
|
|
4077
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">delete</a>(phoneNumberId) -> unknown</code></summary>
|
|
4078
|
+
<dl>
|
|
4079
|
+
<dd>
|
|
4080
|
+
|
|
4081
|
+
#### 📝 Description
|
|
4082
|
+
|
|
4083
|
+
<dl>
|
|
4084
|
+
<dd>
|
|
4085
|
+
|
|
4086
|
+
<dl>
|
|
4087
|
+
<dd>
|
|
4088
|
+
|
|
4089
|
+
Delete Phone Number by ID
|
|
4090
|
+
|
|
4091
|
+
</dd>
|
|
4092
|
+
</dl>
|
|
4093
|
+
</dd>
|
|
4094
|
+
</dl>
|
|
4095
|
+
|
|
4096
|
+
#### 🔌 Usage
|
|
4097
|
+
|
|
4098
|
+
<dl>
|
|
4099
|
+
<dd>
|
|
4100
|
+
|
|
4101
|
+
<dl>
|
|
4102
|
+
<dd>
|
|
4103
|
+
|
|
4104
|
+
```typescript
|
|
4105
|
+
await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
4106
|
+
```
|
|
4107
|
+
|
|
4108
|
+
</dd>
|
|
4109
|
+
</dl>
|
|
4110
|
+
</dd>
|
|
4111
|
+
</dl>
|
|
4112
|
+
|
|
4113
|
+
#### ⚙️ Parameters
|
|
4114
|
+
|
|
4115
|
+
<dl>
|
|
4116
|
+
<dd>
|
|
4117
|
+
|
|
4118
|
+
<dl>
|
|
4119
|
+
<dd>
|
|
4120
|
+
|
|
4121
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4122
|
+
|
|
4123
|
+
</dd>
|
|
4124
|
+
</dl>
|
|
4125
|
+
|
|
4126
|
+
<dl>
|
|
4127
|
+
<dd>
|
|
4128
|
+
|
|
4129
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4130
|
+
|
|
4131
|
+
</dd>
|
|
4132
|
+
</dl>
|
|
4133
|
+
</dd>
|
|
4134
|
+
</dl>
|
|
4135
|
+
|
|
4136
|
+
</dd>
|
|
4137
|
+
</dl>
|
|
4138
|
+
</details>
|
|
4139
|
+
|
|
4140
|
+
<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>
|
|
4141
|
+
<dl>
|
|
4142
|
+
<dd>
|
|
4143
|
+
|
|
4144
|
+
#### 📝 Description
|
|
4145
|
+
|
|
4146
|
+
<dl>
|
|
4147
|
+
<dd>
|
|
4148
|
+
|
|
4149
|
+
<dl>
|
|
4150
|
+
<dd>
|
|
4151
|
+
|
|
4152
|
+
Update Phone Number details by ID
|
|
4153
|
+
|
|
4154
|
+
</dd>
|
|
4155
|
+
</dl>
|
|
4156
|
+
</dd>
|
|
4157
|
+
</dl>
|
|
4158
|
+
|
|
4159
|
+
#### 🔌 Usage
|
|
4160
|
+
|
|
4161
|
+
<dl>
|
|
4162
|
+
<dd>
|
|
4163
|
+
|
|
4164
|
+
<dl>
|
|
4165
|
+
<dd>
|
|
4166
|
+
|
|
4167
|
+
```typescript
|
|
4168
|
+
await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
4169
|
+
```
|
|
4170
|
+
|
|
4171
|
+
</dd>
|
|
4172
|
+
</dl>
|
|
4173
|
+
</dd>
|
|
4174
|
+
</dl>
|
|
4175
|
+
|
|
4176
|
+
#### ⚙️ Parameters
|
|
4177
|
+
|
|
4178
|
+
<dl>
|
|
4179
|
+
<dd>
|
|
4180
|
+
|
|
4181
|
+
<dl>
|
|
4182
|
+
<dd>
|
|
4183
|
+
|
|
4184
|
+
**phoneNumberId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4185
|
+
|
|
4186
|
+
</dd>
|
|
4187
|
+
</dl>
|
|
4188
|
+
|
|
4189
|
+
<dl>
|
|
4190
|
+
<dd>
|
|
4191
|
+
|
|
4192
|
+
**request:** `ElevenLabs.conversationalAi.UpdatePhoneNumberRequest`
|
|
4193
|
+
|
|
4194
|
+
</dd>
|
|
4195
|
+
</dl>
|
|
4196
|
+
|
|
4197
|
+
<dl>
|
|
4198
|
+
<dd>
|
|
4199
|
+
|
|
4200
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4201
|
+
|
|
4202
|
+
</dd>
|
|
4203
|
+
</dl>
|
|
4204
|
+
</dd>
|
|
4205
|
+
</dl>
|
|
4206
|
+
|
|
4207
|
+
</dd>
|
|
4208
|
+
</dl>
|
|
4209
|
+
</details>
|
|
4210
|
+
|
|
4211
|
+
<details><summary><code>client.conversationalAi.phoneNumbers.<a href="/src/api/resources/conversationalAi/resources/phoneNumbers/client/Client.ts">list</a>() -> ElevenLabs.PhoneNumbersListResponseItem[]</code></summary>
|
|
4212
|
+
<dl>
|
|
4213
|
+
<dd>
|
|
4214
|
+
|
|
4215
|
+
#### 📝 Description
|
|
4216
|
+
|
|
4217
|
+
<dl>
|
|
4218
|
+
<dd>
|
|
4219
|
+
|
|
4220
|
+
<dl>
|
|
4221
|
+
<dd>
|
|
4222
|
+
|
|
4223
|
+
Retrieve all Phone Numbers
|
|
4224
|
+
|
|
4225
|
+
</dd>
|
|
4226
|
+
</dl>
|
|
4227
|
+
</dd>
|
|
4228
|
+
</dl>
|
|
4229
|
+
|
|
4230
|
+
#### 🔌 Usage
|
|
4231
|
+
|
|
4232
|
+
<dl>
|
|
4233
|
+
<dd>
|
|
4234
|
+
|
|
4235
|
+
<dl>
|
|
4236
|
+
<dd>
|
|
4237
|
+
|
|
4238
|
+
```typescript
|
|
4239
|
+
await client.conversationalAi.phoneNumbers.list();
|
|
4240
|
+
```
|
|
4241
|
+
|
|
4242
|
+
</dd>
|
|
4243
|
+
</dl>
|
|
4244
|
+
</dd>
|
|
4245
|
+
</dl>
|
|
4246
|
+
|
|
4247
|
+
#### ⚙️ Parameters
|
|
4248
|
+
|
|
4249
|
+
<dl>
|
|
4250
|
+
<dd>
|
|
4251
|
+
|
|
4252
|
+
<dl>
|
|
4253
|
+
<dd>
|
|
4254
|
+
|
|
4255
|
+
**requestOptions:** `PhoneNumbers.RequestOptions`
|
|
4256
|
+
|
|
4257
|
+
</dd>
|
|
4258
|
+
</dl>
|
|
4259
|
+
</dd>
|
|
4260
|
+
</dl>
|
|
4261
|
+
|
|
4262
|
+
</dd>
|
|
4263
|
+
</dl>
|
|
4264
|
+
</details>
|
|
4265
|
+
|
|
4266
|
+
## ConversationalAi LlmUsage
|
|
4267
|
+
|
|
4268
|
+
<details><summary><code>client.conversationalAi.llmUsage.<a href="/src/api/resources/conversationalAi/resources/llmUsage/client/Client.ts">calculate</a>({ ...params }) -> ElevenLabs.LlmUsageCalculatorResponseModel</code></summary>
|
|
4269
|
+
<dl>
|
|
4270
|
+
<dd>
|
|
4271
|
+
|
|
4272
|
+
#### 📝 Description
|
|
4273
|
+
|
|
4274
|
+
<dl>
|
|
4275
|
+
<dd>
|
|
4276
|
+
|
|
4277
|
+
<dl>
|
|
4278
|
+
<dd>
|
|
4279
|
+
|
|
4280
|
+
Returns a list of LLM models and the expected cost for using them based on the provided values.
|
|
4281
|
+
|
|
4282
|
+
</dd>
|
|
4283
|
+
</dl>
|
|
4284
|
+
</dd>
|
|
4285
|
+
</dl>
|
|
4286
|
+
|
|
4287
|
+
#### 🔌 Usage
|
|
4288
|
+
|
|
4289
|
+
<dl>
|
|
4290
|
+
<dd>
|
|
4291
|
+
|
|
4292
|
+
<dl>
|
|
4293
|
+
<dd>
|
|
4294
|
+
|
|
4295
|
+
```typescript
|
|
4296
|
+
await client.conversationalAi.llmUsage.calculate({
|
|
4297
|
+
promptLength: 1,
|
|
4298
|
+
numberOfPages: 1,
|
|
4299
|
+
ragEnabled: true,
|
|
4300
|
+
});
|
|
4301
|
+
```
|
|
4302
|
+
|
|
4303
|
+
</dd>
|
|
4304
|
+
</dl>
|
|
4305
|
+
</dd>
|
|
4306
|
+
</dl>
|
|
4307
|
+
|
|
4308
|
+
#### ⚙️ Parameters
|
|
4309
|
+
|
|
4310
|
+
<dl>
|
|
4311
|
+
<dd>
|
|
4312
|
+
|
|
4313
|
+
<dl>
|
|
4314
|
+
<dd>
|
|
4315
|
+
|
|
4316
|
+
**request:** `ElevenLabs.conversationalAi.LlmUsageCalculatorPublicRequestModel`
|
|
4317
|
+
|
|
4318
|
+
</dd>
|
|
4319
|
+
</dl>
|
|
4320
|
+
|
|
4321
|
+
<dl>
|
|
4322
|
+
<dd>
|
|
4323
|
+
|
|
4324
|
+
**requestOptions:** `LlmUsage.RequestOptions`
|
|
4325
|
+
|
|
4326
|
+
</dd>
|
|
4327
|
+
</dl>
|
|
4328
|
+
</dd>
|
|
4329
|
+
</dl>
|
|
4330
|
+
|
|
4331
|
+
</dd>
|
|
4332
|
+
</dl>
|
|
4333
|
+
</details>
|
|
4334
|
+
|
|
4335
|
+
## ConversationalAi KnowledgeBase
|
|
4336
|
+
|
|
4337
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetKnowledgeBaseListResponseModel</code></summary>
|
|
4338
|
+
<dl>
|
|
4339
|
+
<dd>
|
|
4340
|
+
|
|
4341
|
+
#### 📝 Description
|
|
4342
|
+
|
|
4343
|
+
<dl>
|
|
4344
|
+
<dd>
|
|
4345
|
+
|
|
4346
|
+
<dl>
|
|
4347
|
+
<dd>
|
|
4348
|
+
|
|
4349
|
+
Get a list of available knowledge base documents
|
|
4350
|
+
|
|
4351
|
+
</dd>
|
|
4352
|
+
</dl>
|
|
4353
|
+
</dd>
|
|
4354
|
+
</dl>
|
|
4355
|
+
|
|
4356
|
+
#### 🔌 Usage
|
|
4357
|
+
|
|
4358
|
+
<dl>
|
|
4359
|
+
<dd>
|
|
4360
|
+
|
|
4361
|
+
<dl>
|
|
4362
|
+
<dd>
|
|
4363
|
+
|
|
4364
|
+
```typescript
|
|
4365
|
+
await client.conversationalAi.knowledgeBase.list();
|
|
4366
|
+
```
|
|
4367
|
+
|
|
4368
|
+
</dd>
|
|
4369
|
+
</dl>
|
|
4370
|
+
</dd>
|
|
4371
|
+
</dl>
|
|
4372
|
+
|
|
4373
|
+
#### ⚙️ Parameters
|
|
4374
|
+
|
|
4375
|
+
<dl>
|
|
4376
|
+
<dd>
|
|
4377
|
+
|
|
4378
|
+
<dl>
|
|
4379
|
+
<dd>
|
|
4380
|
+
|
|
4381
|
+
**request:** `ElevenLabs.conversationalAi.KnowledgeBaseListRequest`
|
|
4382
|
+
|
|
4383
|
+
</dd>
|
|
4384
|
+
</dl>
|
|
4385
|
+
|
|
4386
|
+
<dl>
|
|
4387
|
+
<dd>
|
|
4388
|
+
|
|
4389
|
+
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
4390
|
+
|
|
4391
|
+
</dd>
|
|
4392
|
+
</dl>
|
|
4393
|
+
</dd>
|
|
4394
|
+
</dl>
|
|
4395
|
+
|
|
4396
|
+
</dd>
|
|
4397
|
+
</dl>
|
|
4398
|
+
</details>
|
|
4399
|
+
|
|
4400
|
+
## ConversationalAi Settings
|
|
4401
|
+
|
|
4402
|
+
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">get</a>() -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
4403
|
+
<dl>
|
|
4404
|
+
<dd>
|
|
4405
|
+
|
|
4406
|
+
#### 📝 Description
|
|
4407
|
+
|
|
4408
|
+
<dl>
|
|
4409
|
+
<dd>
|
|
4410
|
+
|
|
4411
|
+
<dl>
|
|
4412
|
+
<dd>
|
|
4413
|
+
|
|
4414
|
+
Retrieve Convai settings for the workspace
|
|
4415
|
+
|
|
4416
|
+
</dd>
|
|
4417
|
+
</dl>
|
|
4418
|
+
</dd>
|
|
4419
|
+
</dl>
|
|
4420
|
+
|
|
4421
|
+
#### 🔌 Usage
|
|
4422
|
+
|
|
4423
|
+
<dl>
|
|
4424
|
+
<dd>
|
|
4425
|
+
|
|
4426
|
+
<dl>
|
|
4427
|
+
<dd>
|
|
4428
|
+
|
|
4429
|
+
```typescript
|
|
4430
|
+
await client.conversationalAi.settings.get();
|
|
4431
|
+
```
|
|
4432
|
+
|
|
4433
|
+
</dd>
|
|
4434
|
+
</dl>
|
|
4435
|
+
</dd>
|
|
4436
|
+
</dl>
|
|
4437
|
+
|
|
4438
|
+
#### ⚙️ Parameters
|
|
4439
|
+
|
|
4440
|
+
<dl>
|
|
4441
|
+
<dd>
|
|
4442
|
+
|
|
4443
|
+
<dl>
|
|
4444
|
+
<dd>
|
|
4445
|
+
|
|
4446
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
4447
|
+
|
|
4448
|
+
</dd>
|
|
4449
|
+
</dl>
|
|
4450
|
+
</dd>
|
|
4451
|
+
</dl>
|
|
4452
|
+
|
|
4453
|
+
</dd>
|
|
4454
|
+
</dl>
|
|
4455
|
+
</details>
|
|
4456
|
+
|
|
4457
|
+
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">update</a>({ ...params }) -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
4458
|
+
<dl>
|
|
4459
|
+
<dd>
|
|
4460
|
+
|
|
4461
|
+
#### 📝 Description
|
|
4462
|
+
|
|
4463
|
+
<dl>
|
|
4464
|
+
<dd>
|
|
4465
|
+
|
|
4466
|
+
<dl>
|
|
4467
|
+
<dd>
|
|
4468
|
+
|
|
4469
|
+
Update Convai settings for the workspace
|
|
4470
|
+
|
|
4471
|
+
</dd>
|
|
4472
|
+
</dl>
|
|
4473
|
+
</dd>
|
|
4474
|
+
</dl>
|
|
4475
|
+
|
|
4476
|
+
#### 🔌 Usage
|
|
4477
|
+
|
|
4478
|
+
<dl>
|
|
4479
|
+
<dd>
|
|
4480
|
+
|
|
4481
|
+
<dl>
|
|
4482
|
+
<dd>
|
|
4483
|
+
|
|
4484
|
+
```typescript
|
|
4485
|
+
await client.conversationalAi.settings.update();
|
|
4486
|
+
```
|
|
4487
|
+
|
|
4488
|
+
</dd>
|
|
4489
|
+
</dl>
|
|
4490
|
+
</dd>
|
|
4491
|
+
</dl>
|
|
4492
|
+
|
|
4493
|
+
#### ⚙️ Parameters
|
|
4494
|
+
|
|
4495
|
+
<dl>
|
|
4496
|
+
<dd>
|
|
4497
|
+
|
|
4498
|
+
<dl>
|
|
4499
|
+
<dd>
|
|
4500
|
+
|
|
4501
|
+
**request:** `ElevenLabs.conversationalAi.PatchConvAiSettingsRequest`
|
|
4502
|
+
|
|
4503
|
+
</dd>
|
|
4504
|
+
</dl>
|
|
4505
|
+
|
|
4506
|
+
<dl>
|
|
4507
|
+
<dd>
|
|
4508
|
+
|
|
4509
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
4510
|
+
|
|
4511
|
+
</dd>
|
|
4512
|
+
</dl>
|
|
4513
|
+
</dd>
|
|
4514
|
+
</dl>
|
|
4515
|
+
|
|
4516
|
+
</dd>
|
|
4517
|
+
</dl>
|
|
4518
|
+
</details>
|
|
4519
|
+
|
|
4520
|
+
## ConversationalAi Secrets
|
|
4521
|
+
|
|
4522
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">list</a>() -> ElevenLabs.GetWorkspaceSecretsResponseModel</code></summary>
|
|
4523
|
+
<dl>
|
|
4524
|
+
<dd>
|
|
4525
|
+
|
|
4526
|
+
#### 📝 Description
|
|
4527
|
+
|
|
4528
|
+
<dl>
|
|
4529
|
+
<dd>
|
|
4530
|
+
|
|
4531
|
+
<dl>
|
|
4532
|
+
<dd>
|
|
4533
|
+
|
|
4534
|
+
Get all workspace secrets for the user
|
|
4535
|
+
|
|
4536
|
+
</dd>
|
|
4537
|
+
</dl>
|
|
4538
|
+
</dd>
|
|
4539
|
+
</dl>
|
|
4540
|
+
|
|
4541
|
+
#### 🔌 Usage
|
|
4542
|
+
|
|
4543
|
+
<dl>
|
|
4544
|
+
<dd>
|
|
4545
|
+
|
|
4546
|
+
<dl>
|
|
4547
|
+
<dd>
|
|
4548
|
+
|
|
4549
|
+
```typescript
|
|
4550
|
+
await client.conversationalAi.secrets.list();
|
|
4551
|
+
```
|
|
4552
|
+
|
|
4553
|
+
</dd>
|
|
4554
|
+
</dl>
|
|
4555
|
+
</dd>
|
|
4556
|
+
</dl>
|
|
4557
|
+
|
|
4558
|
+
#### ⚙️ Parameters
|
|
4559
|
+
|
|
4560
|
+
<dl>
|
|
4561
|
+
<dd>
|
|
4562
|
+
|
|
3527
4563
|
<dl>
|
|
3528
4564
|
<dd>
|
|
3529
4565
|
|
|
3530
|
-
**requestOptions:** `
|
|
4566
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
3531
4567
|
|
|
3532
4568
|
</dd>
|
|
3533
4569
|
</dl>
|
|
@@ -3538,7 +4574,7 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3538
4574
|
</dl>
|
|
3539
4575
|
</details>
|
|
3540
4576
|
|
|
3541
|
-
<details><summary><code>client.conversationalAi.
|
|
4577
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.PostWorkspaceSecretResponseModel</code></summary>
|
|
3542
4578
|
<dl>
|
|
3543
4579
|
<dd>
|
|
3544
4580
|
|
|
@@ -3550,7 +4586,7 @@ await client.conversationalAi.phoneNumbers.create({
|
|
|
3550
4586
|
<dl>
|
|
3551
4587
|
<dd>
|
|
3552
4588
|
|
|
3553
|
-
|
|
4589
|
+
Create a new secret for the workspace
|
|
3554
4590
|
|
|
3555
4591
|
</dd>
|
|
3556
4592
|
</dl>
|
|
@@ -3566,7 +4602,10 @@ Retrieve Phone Number details by ID
|
|
|
3566
4602
|
<dd>
|
|
3567
4603
|
|
|
3568
4604
|
```typescript
|
|
3569
|
-
await client.conversationalAi.
|
|
4605
|
+
await client.conversationalAi.secrets.create({
|
|
4606
|
+
name: "name",
|
|
4607
|
+
value: "value",
|
|
4608
|
+
});
|
|
3570
4609
|
```
|
|
3571
4610
|
|
|
3572
4611
|
</dd>
|
|
@@ -3582,7 +4621,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3582
4621
|
<dl>
|
|
3583
4622
|
<dd>
|
|
3584
4623
|
|
|
3585
|
-
**
|
|
4624
|
+
**request:** `ElevenLabs.conversationalAi.PostWorkspaceSecretRequest`
|
|
3586
4625
|
|
|
3587
4626
|
</dd>
|
|
3588
4627
|
</dl>
|
|
@@ -3590,7 +4629,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3590
4629
|
<dl>
|
|
3591
4630
|
<dd>
|
|
3592
4631
|
|
|
3593
|
-
**requestOptions:** `
|
|
4632
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
3594
4633
|
|
|
3595
4634
|
</dd>
|
|
3596
4635
|
</dl>
|
|
@@ -3601,7 +4640,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3601
4640
|
</dl>
|
|
3602
4641
|
</details>
|
|
3603
4642
|
|
|
3604
|
-
<details><summary><code>client.conversationalAi.
|
|
4643
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">delete</a>(secretId) -> void</code></summary>
|
|
3605
4644
|
<dl>
|
|
3606
4645
|
<dd>
|
|
3607
4646
|
|
|
@@ -3613,7 +4652,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3613
4652
|
<dl>
|
|
3614
4653
|
<dd>
|
|
3615
4654
|
|
|
3616
|
-
Delete
|
|
4655
|
+
Delete a workspace secret if it's not in use
|
|
3617
4656
|
|
|
3618
4657
|
</dd>
|
|
3619
4658
|
</dl>
|
|
@@ -3629,7 +4668,7 @@ Delete Phone Number by ID
|
|
|
3629
4668
|
<dd>
|
|
3630
4669
|
|
|
3631
4670
|
```typescript
|
|
3632
|
-
await client.conversationalAi.
|
|
4671
|
+
await client.conversationalAi.secrets.delete("secret_id");
|
|
3633
4672
|
```
|
|
3634
4673
|
|
|
3635
4674
|
</dd>
|
|
@@ -3645,7 +4684,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3645
4684
|
<dl>
|
|
3646
4685
|
<dd>
|
|
3647
4686
|
|
|
3648
|
-
**
|
|
4687
|
+
**secretId:** `string`
|
|
3649
4688
|
|
|
3650
4689
|
</dd>
|
|
3651
4690
|
</dl>
|
|
@@ -3653,7 +4692,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3653
4692
|
<dl>
|
|
3654
4693
|
<dd>
|
|
3655
4694
|
|
|
3656
|
-
**requestOptions:** `
|
|
4695
|
+
**requestOptions:** `Secrets.RequestOptions`
|
|
3657
4696
|
|
|
3658
4697
|
</dd>
|
|
3659
4698
|
</dl>
|
|
@@ -3664,7 +4703,9 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3664
4703
|
</dl>
|
|
3665
4704
|
</details>
|
|
3666
4705
|
|
|
3667
|
-
|
|
4706
|
+
## ConversationalAi BatchCalls
|
|
4707
|
+
|
|
4708
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
3668
4709
|
<dl>
|
|
3669
4710
|
<dd>
|
|
3670
4711
|
|
|
@@ -3676,7 +4717,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3676
4717
|
<dl>
|
|
3677
4718
|
<dd>
|
|
3678
4719
|
|
|
3679
|
-
|
|
4720
|
+
Submit a batch call request to schedule calls for multiple recipients.
|
|
3680
4721
|
|
|
3681
4722
|
</dd>
|
|
3682
4723
|
</dl>
|
|
@@ -3692,7 +4733,16 @@ Update Phone Number details by ID
|
|
|
3692
4733
|
<dd>
|
|
3693
4734
|
|
|
3694
4735
|
```typescript
|
|
3695
|
-
await client.conversationalAi.
|
|
4736
|
+
await client.conversationalAi.batchCalls.create({
|
|
4737
|
+
callName: "call_name",
|
|
4738
|
+
agentId: "agent_id",
|
|
4739
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
4740
|
+
recipients: [
|
|
4741
|
+
{
|
|
4742
|
+
phoneNumber: "phone_number",
|
|
4743
|
+
},
|
|
4744
|
+
],
|
|
4745
|
+
});
|
|
3696
4746
|
```
|
|
3697
4747
|
|
|
3698
4748
|
</dd>
|
|
@@ -3708,15 +4758,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3708
4758
|
<dl>
|
|
3709
4759
|
<dd>
|
|
3710
4760
|
|
|
3711
|
-
**
|
|
3712
|
-
|
|
3713
|
-
</dd>
|
|
3714
|
-
</dl>
|
|
3715
|
-
|
|
3716
|
-
<dl>
|
|
3717
|
-
<dd>
|
|
3718
|
-
|
|
3719
|
-
**request:** `ElevenLabs.conversationalAi.UpdatePhoneNumberRequest`
|
|
4761
|
+
**request:** `ElevenLabs.conversationalAi.BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost`
|
|
3720
4762
|
|
|
3721
4763
|
</dd>
|
|
3722
4764
|
</dl>
|
|
@@ -3724,7 +4766,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3724
4766
|
<dl>
|
|
3725
4767
|
<dd>
|
|
3726
4768
|
|
|
3727
|
-
**requestOptions:** `
|
|
4769
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
3728
4770
|
|
|
3729
4771
|
</dd>
|
|
3730
4772
|
</dl>
|
|
@@ -3735,7 +4777,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3735
4777
|
</dl>
|
|
3736
4778
|
</details>
|
|
3737
4779
|
|
|
3738
|
-
<details><summary><code>client.conversationalAi.
|
|
4780
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.WorkspaceBatchCallsResponse</code></summary>
|
|
3739
4781
|
<dl>
|
|
3740
4782
|
<dd>
|
|
3741
4783
|
|
|
@@ -3747,7 +4789,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
3747
4789
|
<dl>
|
|
3748
4790
|
<dd>
|
|
3749
4791
|
|
|
3750
|
-
|
|
4792
|
+
Get all batch calls for the current workspace.
|
|
3751
4793
|
|
|
3752
4794
|
</dd>
|
|
3753
4795
|
</dl>
|
|
@@ -3763,7 +4805,7 @@ Retrieve all Phone Numbers
|
|
|
3763
4805
|
<dd>
|
|
3764
4806
|
|
|
3765
4807
|
```typescript
|
|
3766
|
-
await client.conversationalAi.
|
|
4808
|
+
await client.conversationalAi.batchCalls.list();
|
|
3767
4809
|
```
|
|
3768
4810
|
|
|
3769
4811
|
</dd>
|
|
@@ -3779,7 +4821,15 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
3779
4821
|
<dl>
|
|
3780
4822
|
<dd>
|
|
3781
4823
|
|
|
3782
|
-
**
|
|
4824
|
+
**request:** `ElevenLabs.conversationalAi.BatchCallsListRequest`
|
|
4825
|
+
|
|
4826
|
+
</dd>
|
|
4827
|
+
</dl>
|
|
4828
|
+
|
|
4829
|
+
<dl>
|
|
4830
|
+
<dd>
|
|
4831
|
+
|
|
4832
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
3783
4833
|
|
|
3784
4834
|
</dd>
|
|
3785
4835
|
</dl>
|
|
@@ -3790,9 +4840,7 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
3790
4840
|
</dl>
|
|
3791
4841
|
</details>
|
|
3792
4842
|
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
<details><summary><code>client.conversationalAi.llmUsage.<a href="/src/api/resources/conversationalAi/resources/llmUsage/client/Client.ts">calculate</a>({ ...params }) -> ElevenLabs.LlmUsageCalculatorResponseModel</code></summary>
|
|
4843
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">get</a>(batchId) -> ElevenLabs.BatchCallDetailedResponse</code></summary>
|
|
3796
4844
|
<dl>
|
|
3797
4845
|
<dd>
|
|
3798
4846
|
|
|
@@ -3804,7 +4852,7 @@ await client.conversationalAi.phoneNumbers.list();
|
|
|
3804
4852
|
<dl>
|
|
3805
4853
|
<dd>
|
|
3806
4854
|
|
|
3807
|
-
|
|
4855
|
+
Get detailed information about a batch call including all recipients.
|
|
3808
4856
|
|
|
3809
4857
|
</dd>
|
|
3810
4858
|
</dl>
|
|
@@ -3820,11 +4868,7 @@ Returns a list of LLM models and the expected cost for using them based on the p
|
|
|
3820
4868
|
<dd>
|
|
3821
4869
|
|
|
3822
4870
|
```typescript
|
|
3823
|
-
await client.conversationalAi.
|
|
3824
|
-
promptLength: 1,
|
|
3825
|
-
numberOfPages: 1,
|
|
3826
|
-
ragEnabled: true,
|
|
3827
|
-
});
|
|
4871
|
+
await client.conversationalAi.batchCalls.get("batch_id");
|
|
3828
4872
|
```
|
|
3829
4873
|
|
|
3830
4874
|
</dd>
|
|
@@ -3840,7 +4884,7 @@ await client.conversationalAi.llmUsage.calculate({
|
|
|
3840
4884
|
<dl>
|
|
3841
4885
|
<dd>
|
|
3842
4886
|
|
|
3843
|
-
**
|
|
4887
|
+
**batchId:** `string`
|
|
3844
4888
|
|
|
3845
4889
|
</dd>
|
|
3846
4890
|
</dl>
|
|
@@ -3848,7 +4892,7 @@ await client.conversationalAi.llmUsage.calculate({
|
|
|
3848
4892
|
<dl>
|
|
3849
4893
|
<dd>
|
|
3850
4894
|
|
|
3851
|
-
**requestOptions:** `
|
|
4895
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
3852
4896
|
|
|
3853
4897
|
</dd>
|
|
3854
4898
|
</dl>
|
|
@@ -3859,9 +4903,7 @@ await client.conversationalAi.llmUsage.calculate({
|
|
|
3859
4903
|
</dl>
|
|
3860
4904
|
</details>
|
|
3861
4905
|
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.GetKnowledgeBaseListResponseModel</code></summary>
|
|
4906
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">cancel</a>(batchId) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
3865
4907
|
<dl>
|
|
3866
4908
|
<dd>
|
|
3867
4909
|
|
|
@@ -3873,7 +4915,7 @@ await client.conversationalAi.llmUsage.calculate({
|
|
|
3873
4915
|
<dl>
|
|
3874
4916
|
<dd>
|
|
3875
4917
|
|
|
3876
|
-
|
|
4918
|
+
Cancel a running batch call and set all recipients to cancelled status.
|
|
3877
4919
|
|
|
3878
4920
|
</dd>
|
|
3879
4921
|
</dl>
|
|
@@ -3889,7 +4931,7 @@ Get a list of available knowledge base documents
|
|
|
3889
4931
|
<dd>
|
|
3890
4932
|
|
|
3891
4933
|
```typescript
|
|
3892
|
-
await client.conversationalAi.
|
|
4934
|
+
await client.conversationalAi.batchCalls.cancel("batch_id");
|
|
3893
4935
|
```
|
|
3894
4936
|
|
|
3895
4937
|
</dd>
|
|
@@ -3905,7 +4947,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
3905
4947
|
<dl>
|
|
3906
4948
|
<dd>
|
|
3907
4949
|
|
|
3908
|
-
**
|
|
4950
|
+
**batchId:** `string`
|
|
3909
4951
|
|
|
3910
4952
|
</dd>
|
|
3911
4953
|
</dl>
|
|
@@ -3913,7 +4955,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
3913
4955
|
<dl>
|
|
3914
4956
|
<dd>
|
|
3915
4957
|
|
|
3916
|
-
**requestOptions:** `
|
|
4958
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
3917
4959
|
|
|
3918
4960
|
</dd>
|
|
3919
4961
|
</dl>
|
|
@@ -3924,9 +4966,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
3924
4966
|
</dl>
|
|
3925
4967
|
</details>
|
|
3926
4968
|
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
<details><summary><code>client.conversationalAi.settings.<a href="/src/api/resources/conversationalAi/resources/settings/client/Client.ts">get</a>() -> ElevenLabs.GetConvAiSettingsResponseModel</code></summary>
|
|
4969
|
+
<details><summary><code>client.conversationalAi.batchCalls.<a href="/src/api/resources/conversationalAi/resources/batchCalls/client/Client.ts">retry</a>(batchId) -> ElevenLabs.BatchCallResponse</code></summary>
|
|
3930
4970
|
<dl>
|
|
3931
4971
|
<dd>
|
|
3932
4972
|
|
|
@@ -3938,7 +4978,7 @@ await client.conversationalAi.knowledgeBase.list();
|
|
|
3938
4978
|
<dl>
|
|
3939
4979
|
<dd>
|
|
3940
4980
|
|
|
3941
|
-
|
|
4981
|
+
Retry a batch call by setting completed recipients back to pending status.
|
|
3942
4982
|
|
|
3943
4983
|
</dd>
|
|
3944
4984
|
</dl>
|
|
@@ -3954,7 +4994,7 @@ Retrieve Convai settings for the workspace
|
|
|
3954
4994
|
<dd>
|
|
3955
4995
|
|
|
3956
4996
|
```typescript
|
|
3957
|
-
await client.conversationalAi.
|
|
4997
|
+
await client.conversationalAi.batchCalls.retry("batch_id");
|
|
3958
4998
|
```
|
|
3959
4999
|
|
|
3960
5000
|
</dd>
|
|
@@ -3970,7 +5010,15 @@ await client.conversationalAi.settings.get();
|
|
|
3970
5010
|
<dl>
|
|
3971
5011
|
<dd>
|
|
3972
5012
|
|
|
3973
|
-
**
|
|
5013
|
+
**batchId:** `string`
|
|
5014
|
+
|
|
5015
|
+
</dd>
|
|
5016
|
+
</dl>
|
|
5017
|
+
|
|
5018
|
+
<dl>
|
|
5019
|
+
<dd>
|
|
5020
|
+
|
|
5021
|
+
**requestOptions:** `BatchCalls.RequestOptions`
|
|
3974
5022
|
|
|
3975
5023
|
</dd>
|
|
3976
5024
|
</dl>
|
|
@@ -3981,7 +5029,9 @@ await client.conversationalAi.settings.get();
|
|
|
3981
5029
|
</dl>
|
|
3982
5030
|
</details>
|
|
3983
5031
|
|
|
3984
|
-
|
|
5032
|
+
## ConversationalAi SipTrunk
|
|
5033
|
+
|
|
5034
|
+
<details><summary><code>client.conversationalAi.sipTrunk.<a href="/src/api/resources/conversationalAi/resources/sipTrunk/client/Client.ts">outboundCall</a>({ ...params }) -> ElevenLabs.SipTrunkOutboundCallResponse</code></summary>
|
|
3985
5035
|
<dl>
|
|
3986
5036
|
<dd>
|
|
3987
5037
|
|
|
@@ -3993,7 +5043,7 @@ await client.conversationalAi.settings.get();
|
|
|
3993
5043
|
<dl>
|
|
3994
5044
|
<dd>
|
|
3995
5045
|
|
|
3996
|
-
|
|
5046
|
+
Handle an outbound call via SIP trunk
|
|
3997
5047
|
|
|
3998
5048
|
</dd>
|
|
3999
5049
|
</dl>
|
|
@@ -4009,7 +5059,11 @@ Update Convai settings for the workspace
|
|
|
4009
5059
|
<dd>
|
|
4010
5060
|
|
|
4011
5061
|
```typescript
|
|
4012
|
-
await client.conversationalAi.
|
|
5062
|
+
await client.conversationalAi.sipTrunk.outboundCall({
|
|
5063
|
+
agentId: "agent_id",
|
|
5064
|
+
agentPhoneNumberId: "agent_phone_number_id",
|
|
5065
|
+
toNumber: "to_number",
|
|
5066
|
+
});
|
|
4013
5067
|
```
|
|
4014
5068
|
|
|
4015
5069
|
</dd>
|
|
@@ -4025,7 +5079,7 @@ await client.conversationalAi.settings.update();
|
|
|
4025
5079
|
<dl>
|
|
4026
5080
|
<dd>
|
|
4027
5081
|
|
|
4028
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
5082
|
+
**request:** `ElevenLabs.conversationalAi.BodyHandleAnOutboundCallViaSipTrunkV1ConvaiSipTrunkOutboundCallPost`
|
|
4029
5083
|
|
|
4030
5084
|
</dd>
|
|
4031
5085
|
</dl>
|
|
@@ -4033,7 +5087,7 @@ await client.conversationalAi.settings.update();
|
|
|
4033
5087
|
<dl>
|
|
4034
5088
|
<dd>
|
|
4035
5089
|
|
|
4036
|
-
**requestOptions:** `
|
|
5090
|
+
**requestOptions:** `SipTrunk.RequestOptions`
|
|
4037
5091
|
|
|
4038
5092
|
</dd>
|
|
4039
5093
|
</dl>
|
|
@@ -4044,9 +5098,9 @@ await client.conversationalAi.settings.update();
|
|
|
4044
5098
|
</dl>
|
|
4045
5099
|
</details>
|
|
4046
5100
|
|
|
4047
|
-
## ConversationalAi
|
|
5101
|
+
## ConversationalAi McpServers
|
|
4048
5102
|
|
|
4049
|
-
<details><summary><code>client.conversationalAi.
|
|
5103
|
+
<details><summary><code>client.conversationalAi.mcpServers.<a href="/src/api/resources/conversationalAi/resources/mcpServers/client/Client.ts">list</a>() -> ElevenLabs.McpServersResponseModel</code></summary>
|
|
4050
5104
|
<dl>
|
|
4051
5105
|
<dd>
|
|
4052
5106
|
|
|
@@ -4058,7 +5112,7 @@ await client.conversationalAi.settings.update();
|
|
|
4058
5112
|
<dl>
|
|
4059
5113
|
<dd>
|
|
4060
5114
|
|
|
4061
|
-
|
|
5115
|
+
Retrieve all MCP server configurations available in the workspace.
|
|
4062
5116
|
|
|
4063
5117
|
</dd>
|
|
4064
5118
|
</dl>
|
|
@@ -4074,7 +5128,7 @@ Get all workspace secrets for the user
|
|
|
4074
5128
|
<dd>
|
|
4075
5129
|
|
|
4076
5130
|
```typescript
|
|
4077
|
-
await client.conversationalAi.
|
|
5131
|
+
await client.conversationalAi.mcpServers.list();
|
|
4078
5132
|
```
|
|
4079
5133
|
|
|
4080
5134
|
</dd>
|
|
@@ -4090,7 +5144,7 @@ await client.conversationalAi.secrets.list();
|
|
|
4090
5144
|
<dl>
|
|
4091
5145
|
<dd>
|
|
4092
5146
|
|
|
4093
|
-
**requestOptions:** `
|
|
5147
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
4094
5148
|
|
|
4095
5149
|
</dd>
|
|
4096
5150
|
</dl>
|
|
@@ -4101,7 +5155,7 @@ await client.conversationalAi.secrets.list();
|
|
|
4101
5155
|
</dl>
|
|
4102
5156
|
</details>
|
|
4103
5157
|
|
|
4104
|
-
<details><summary><code>client.conversationalAi.
|
|
5158
|
+
<details><summary><code>client.conversationalAi.mcpServers.<a href="/src/api/resources/conversationalAi/resources/mcpServers/client/Client.ts">create</a>({ ...params }) -> ElevenLabs.McpServerResponseModel</code></summary>
|
|
4105
5159
|
<dl>
|
|
4106
5160
|
<dd>
|
|
4107
5161
|
|
|
@@ -4113,7 +5167,7 @@ await client.conversationalAi.secrets.list();
|
|
|
4113
5167
|
<dl>
|
|
4114
5168
|
<dd>
|
|
4115
5169
|
|
|
4116
|
-
Create a new
|
|
5170
|
+
Create a new MCP server configuration in the workspace.
|
|
4117
5171
|
|
|
4118
5172
|
</dd>
|
|
4119
5173
|
</dl>
|
|
@@ -4129,9 +5183,11 @@ Create a new secret for the workspace
|
|
|
4129
5183
|
<dd>
|
|
4130
5184
|
|
|
4131
5185
|
```typescript
|
|
4132
|
-
await client.conversationalAi.
|
|
4133
|
-
|
|
4134
|
-
|
|
5186
|
+
await client.conversationalAi.mcpServers.create({
|
|
5187
|
+
config: {
|
|
5188
|
+
url: "url",
|
|
5189
|
+
name: "name",
|
|
5190
|
+
},
|
|
4135
5191
|
});
|
|
4136
5192
|
```
|
|
4137
5193
|
|
|
@@ -4148,7 +5204,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4148
5204
|
<dl>
|
|
4149
5205
|
<dd>
|
|
4150
5206
|
|
|
4151
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
5207
|
+
**request:** `ElevenLabs.conversationalAi.McpServerRequestModel`
|
|
4152
5208
|
|
|
4153
5209
|
</dd>
|
|
4154
5210
|
</dl>
|
|
@@ -4156,7 +5212,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4156
5212
|
<dl>
|
|
4157
5213
|
<dd>
|
|
4158
5214
|
|
|
4159
|
-
**requestOptions:** `
|
|
5215
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
4160
5216
|
|
|
4161
5217
|
</dd>
|
|
4162
5218
|
</dl>
|
|
@@ -4167,7 +5223,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4167
5223
|
</dl>
|
|
4168
5224
|
</details>
|
|
4169
5225
|
|
|
4170
|
-
<details><summary><code>client.conversationalAi.
|
|
5226
|
+
<details><summary><code>client.conversationalAi.mcpServers.<a href="/src/api/resources/conversationalAi/resources/mcpServers/client/Client.ts">get</a>(mcpServerId) -> ElevenLabs.McpServerResponseModel</code></summary>
|
|
4171
5227
|
<dl>
|
|
4172
5228
|
<dd>
|
|
4173
5229
|
|
|
@@ -4179,7 +5235,7 @@ await client.conversationalAi.secrets.create({
|
|
|
4179
5235
|
<dl>
|
|
4180
5236
|
<dd>
|
|
4181
5237
|
|
|
4182
|
-
|
|
5238
|
+
Retrieve a specific MCP server configuration from the workspace.
|
|
4183
5239
|
|
|
4184
5240
|
</dd>
|
|
4185
5241
|
</dl>
|
|
@@ -4195,7 +5251,7 @@ Delete a workspace secret if it's not in use
|
|
|
4195
5251
|
<dd>
|
|
4196
5252
|
|
|
4197
5253
|
```typescript
|
|
4198
|
-
await client.conversationalAi.
|
|
5254
|
+
await client.conversationalAi.mcpServers.get("mcp_server_id");
|
|
4199
5255
|
```
|
|
4200
5256
|
|
|
4201
5257
|
</dd>
|
|
@@ -4211,7 +5267,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4211
5267
|
<dl>
|
|
4212
5268
|
<dd>
|
|
4213
5269
|
|
|
4214
|
-
**
|
|
5270
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
4215
5271
|
|
|
4216
5272
|
</dd>
|
|
4217
5273
|
</dl>
|
|
@@ -4219,7 +5275,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4219
5275
|
<dl>
|
|
4220
5276
|
<dd>
|
|
4221
5277
|
|
|
4222
|
-
**requestOptions:** `
|
|
5278
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
4223
5279
|
|
|
4224
5280
|
</dd>
|
|
4225
5281
|
</dl>
|
|
@@ -4230,9 +5286,9 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4230
5286
|
</dl>
|
|
4231
5287
|
</details>
|
|
4232
5288
|
|
|
4233
|
-
## ConversationalAi
|
|
5289
|
+
## ConversationalAi Agents Widget
|
|
4234
5290
|
|
|
4235
|
-
<details><summary><code>client.conversationalAi.
|
|
5291
|
+
<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>
|
|
4236
5292
|
<dl>
|
|
4237
5293
|
<dd>
|
|
4238
5294
|
|
|
@@ -4244,7 +5300,7 @@ await client.conversationalAi.secrets.delete("secret_id");
|
|
|
4244
5300
|
<dl>
|
|
4245
5301
|
<dd>
|
|
4246
5302
|
|
|
4247
|
-
|
|
5303
|
+
Retrieve the widget configuration for an agent
|
|
4248
5304
|
|
|
4249
5305
|
</dd>
|
|
4250
5306
|
</dl>
|
|
@@ -4260,16 +5316,7 @@ Submit a batch call request to schedule calls for multiple recipients.
|
|
|
4260
5316
|
<dd>
|
|
4261
5317
|
|
|
4262
5318
|
```typescript
|
|
4263
|
-
await client.conversationalAi.
|
|
4264
|
-
callName: "call_name",
|
|
4265
|
-
agentId: "agent_id",
|
|
4266
|
-
agentPhoneNumberId: "agent_phone_number_id",
|
|
4267
|
-
recipients: [
|
|
4268
|
-
{
|
|
4269
|
-
phoneNumber: "phone_number",
|
|
4270
|
-
},
|
|
4271
|
-
],
|
|
4272
|
-
});
|
|
5319
|
+
await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
4273
5320
|
```
|
|
4274
5321
|
|
|
4275
5322
|
</dd>
|
|
@@ -4285,7 +5332,7 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4285
5332
|
<dl>
|
|
4286
5333
|
<dd>
|
|
4287
5334
|
|
|
4288
|
-
**
|
|
5335
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4289
5336
|
|
|
4290
5337
|
</dd>
|
|
4291
5338
|
</dl>
|
|
@@ -4293,7 +5340,15 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4293
5340
|
<dl>
|
|
4294
5341
|
<dd>
|
|
4295
5342
|
|
|
4296
|
-
**
|
|
5343
|
+
**request:** `ElevenLabs.conversationalAi.agents.WidgetGetRequest`
|
|
5344
|
+
|
|
5345
|
+
</dd>
|
|
5346
|
+
</dl>
|
|
5347
|
+
|
|
5348
|
+
<dl>
|
|
5349
|
+
<dd>
|
|
5350
|
+
|
|
5351
|
+
**requestOptions:** `Widget.RequestOptions`
|
|
4297
5352
|
|
|
4298
5353
|
</dd>
|
|
4299
5354
|
</dl>
|
|
@@ -4304,7 +5359,9 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4304
5359
|
</dl>
|
|
4305
5360
|
</details>
|
|
4306
5361
|
|
|
4307
|
-
|
|
5362
|
+
## ConversationalAi Agents Link
|
|
5363
|
+
|
|
5364
|
+
<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>
|
|
4308
5365
|
<dl>
|
|
4309
5366
|
<dd>
|
|
4310
5367
|
|
|
@@ -4316,7 +5373,7 @@ await client.conversationalAi.batchCalls.create({
|
|
|
4316
5373
|
<dl>
|
|
4317
5374
|
<dd>
|
|
4318
5375
|
|
|
4319
|
-
Get
|
|
5376
|
+
Get the current link used to share the agent with others
|
|
4320
5377
|
|
|
4321
5378
|
</dd>
|
|
4322
5379
|
</dl>
|
|
@@ -4332,7 +5389,7 @@ Get all batch calls for the current workspace.
|
|
|
4332
5389
|
<dd>
|
|
4333
5390
|
|
|
4334
5391
|
```typescript
|
|
4335
|
-
await client.conversationalAi.
|
|
5392
|
+
await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
4336
5393
|
```
|
|
4337
5394
|
|
|
4338
5395
|
</dd>
|
|
@@ -4348,7 +5405,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4348
5405
|
<dl>
|
|
4349
5406
|
<dd>
|
|
4350
5407
|
|
|
4351
|
-
**
|
|
5408
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
4352
5409
|
|
|
4353
5410
|
</dd>
|
|
4354
5411
|
</dl>
|
|
@@ -4356,7 +5413,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4356
5413
|
<dl>
|
|
4357
5414
|
<dd>
|
|
4358
5415
|
|
|
4359
|
-
**requestOptions:** `
|
|
5416
|
+
**requestOptions:** `Link.RequestOptions`
|
|
4360
5417
|
|
|
4361
5418
|
</dd>
|
|
4362
5419
|
</dl>
|
|
@@ -4367,7 +5424,9 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4367
5424
|
</dl>
|
|
4368
5425
|
</details>
|
|
4369
5426
|
|
|
4370
|
-
|
|
5427
|
+
## ConversationalAi Agents KnowledgeBase
|
|
5428
|
+
|
|
5429
|
+
<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>
|
|
4371
5430
|
<dl>
|
|
4372
5431
|
<dd>
|
|
4373
5432
|
|
|
@@ -4379,7 +5438,7 @@ await client.conversationalAi.batchCalls.list();
|
|
|
4379
5438
|
<dl>
|
|
4380
5439
|
<dd>
|
|
4381
5440
|
|
|
4382
|
-
|
|
5441
|
+
Returns the number of pages in the agent's knowledge base.
|
|
4383
5442
|
|
|
4384
5443
|
</dd>
|
|
4385
5444
|
</dl>
|
|
@@ -4395,7 +5454,7 @@ Get detailed information about a batch call including all recipients.
|
|
|
4395
5454
|
<dd>
|
|
4396
5455
|
|
|
4397
5456
|
```typescript
|
|
4398
|
-
await client.conversationalAi.
|
|
5457
|
+
await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
4399
5458
|
```
|
|
4400
5459
|
|
|
4401
5460
|
</dd>
|
|
@@ -4411,7 +5470,7 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4411
5470
|
<dl>
|
|
4412
5471
|
<dd>
|
|
4413
5472
|
|
|
4414
|
-
**
|
|
5473
|
+
**agentId:** `string`
|
|
4415
5474
|
|
|
4416
5475
|
</dd>
|
|
4417
5476
|
</dl>
|
|
@@ -4419,7 +5478,7 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4419
5478
|
<dl>
|
|
4420
5479
|
<dd>
|
|
4421
5480
|
|
|
4422
|
-
**requestOptions:** `
|
|
5481
|
+
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
4423
5482
|
|
|
4424
5483
|
</dd>
|
|
4425
5484
|
</dl>
|
|
@@ -4430,9 +5489,9 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4430
5489
|
</dl>
|
|
4431
5490
|
</details>
|
|
4432
5491
|
|
|
4433
|
-
## ConversationalAi
|
|
5492
|
+
## ConversationalAi Agents LlmUsage
|
|
4434
5493
|
|
|
4435
|
-
<details><summary><code>client.conversationalAi.
|
|
5494
|
+
<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>
|
|
4436
5495
|
<dl>
|
|
4437
5496
|
<dd>
|
|
4438
5497
|
|
|
@@ -4444,7 +5503,7 @@ await client.conversationalAi.batchCalls.get("batch_id");
|
|
|
4444
5503
|
<dl>
|
|
4445
5504
|
<dd>
|
|
4446
5505
|
|
|
4447
|
-
|
|
5506
|
+
Calculates expected number of LLM tokens needed for the specified agent.
|
|
4448
5507
|
|
|
4449
5508
|
</dd>
|
|
4450
5509
|
</dl>
|
|
@@ -4460,11 +5519,7 @@ Handle an outbound call via SIP trunk
|
|
|
4460
5519
|
<dd>
|
|
4461
5520
|
|
|
4462
5521
|
```typescript
|
|
4463
|
-
await client.conversationalAi.
|
|
4464
|
-
agentId: "agent_id",
|
|
4465
|
-
agentPhoneNumberId: "agent_phone_number_id",
|
|
4466
|
-
toNumber: "to_number",
|
|
4467
|
-
});
|
|
5522
|
+
await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
4468
5523
|
```
|
|
4469
5524
|
|
|
4470
5525
|
</dd>
|
|
@@ -4480,7 +5535,7 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4480
5535
|
<dl>
|
|
4481
5536
|
<dd>
|
|
4482
5537
|
|
|
4483
|
-
**
|
|
5538
|
+
**agentId:** `string`
|
|
4484
5539
|
|
|
4485
5540
|
</dd>
|
|
4486
5541
|
</dl>
|
|
@@ -4488,7 +5543,15 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4488
5543
|
<dl>
|
|
4489
5544
|
<dd>
|
|
4490
5545
|
|
|
4491
|
-
**
|
|
5546
|
+
**request:** `ElevenLabs.conversationalAi.agents.LlmUsageCalculatorRequestModel`
|
|
5547
|
+
|
|
5548
|
+
</dd>
|
|
5549
|
+
</dl>
|
|
5550
|
+
|
|
5551
|
+
<dl>
|
|
5552
|
+
<dd>
|
|
5553
|
+
|
|
5554
|
+
**requestOptions:** `LlmUsage.RequestOptions`
|
|
4492
5555
|
|
|
4493
5556
|
</dd>
|
|
4494
5557
|
</dl>
|
|
@@ -4499,9 +5562,9 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4499
5562
|
</dl>
|
|
4500
5563
|
</details>
|
|
4501
5564
|
|
|
4502
|
-
## ConversationalAi Agents Widget
|
|
5565
|
+
## ConversationalAi Agents Widget Avatar
|
|
4503
5566
|
|
|
4504
|
-
<details><summary><code>client.conversationalAi.agents.widget.<a href="/src/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.ts">
|
|
5567
|
+
<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>
|
|
4505
5568
|
<dl>
|
|
4506
5569
|
<dd>
|
|
4507
5570
|
|
|
@@ -4513,7 +5576,7 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4513
5576
|
<dl>
|
|
4514
5577
|
<dd>
|
|
4515
5578
|
|
|
4516
|
-
|
|
5579
|
+
Sets the avatar for an agent displayed in the widget
|
|
4517
5580
|
|
|
4518
5581
|
</dd>
|
|
4519
5582
|
</dl>
|
|
@@ -4529,7 +5592,9 @@ Retrieve the widget configuration for an agent
|
|
|
4529
5592
|
<dd>
|
|
4530
5593
|
|
|
4531
5594
|
```typescript
|
|
4532
|
-
await client.conversationalAi.agents.widget.
|
|
5595
|
+
await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM", {
|
|
5596
|
+
avatarFile: fs.createReadStream("/path/to/your/file"),
|
|
5597
|
+
});
|
|
4533
5598
|
```
|
|
4534
5599
|
|
|
4535
5600
|
</dd>
|
|
@@ -4545,7 +5610,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4545
5610
|
<dl>
|
|
4546
5611
|
<dd>
|
|
4547
5612
|
|
|
4548
|
-
**agentId:** `string`
|
|
5613
|
+
**agentId:** `string`
|
|
4549
5614
|
|
|
4550
5615
|
</dd>
|
|
4551
5616
|
</dl>
|
|
@@ -4553,7 +5618,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4553
5618
|
<dl>
|
|
4554
5619
|
<dd>
|
|
4555
5620
|
|
|
4556
|
-
**request:** `ElevenLabs.conversationalAi.agents.
|
|
5621
|
+
**request:** `ElevenLabs.conversationalAi.agents.widget.BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost`
|
|
4557
5622
|
|
|
4558
5623
|
</dd>
|
|
4559
5624
|
</dl>
|
|
@@ -4561,7 +5626,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4561
5626
|
<dl>
|
|
4562
5627
|
<dd>
|
|
4563
5628
|
|
|
4564
|
-
**requestOptions:** `
|
|
5629
|
+
**requestOptions:** `Avatar.RequestOptions`
|
|
4565
5630
|
|
|
4566
5631
|
</dd>
|
|
4567
5632
|
</dl>
|
|
@@ -4572,9 +5637,11 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4572
5637
|
</dl>
|
|
4573
5638
|
</details>
|
|
4574
5639
|
|
|
4575
|
-
## ConversationalAi
|
|
5640
|
+
## ConversationalAi Conversations Audio
|
|
4576
5641
|
|
|
4577
|
-
|
|
5642
|
+
## ConversationalAi Conversations Feedback
|
|
5643
|
+
|
|
5644
|
+
<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>
|
|
4578
5645
|
<dl>
|
|
4579
5646
|
<dd>
|
|
4580
5647
|
|
|
@@ -4586,7 +5653,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4586
5653
|
<dl>
|
|
4587
5654
|
<dd>
|
|
4588
5655
|
|
|
4589
|
-
|
|
5656
|
+
Send the feedback for the given conversation
|
|
4590
5657
|
|
|
4591
5658
|
</dd>
|
|
4592
5659
|
</dl>
|
|
@@ -4602,7 +5669,9 @@ Get the current link used to share the agent with others
|
|
|
4602
5669
|
<dd>
|
|
4603
5670
|
|
|
4604
5671
|
```typescript
|
|
4605
|
-
await client.conversationalAi.
|
|
5672
|
+
await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWAM", {
|
|
5673
|
+
feedback: "like",
|
|
5674
|
+
});
|
|
4606
5675
|
```
|
|
4607
5676
|
|
|
4608
5677
|
</dd>
|
|
@@ -4618,7 +5687,15 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4618
5687
|
<dl>
|
|
4619
5688
|
<dd>
|
|
4620
5689
|
|
|
4621
|
-
**
|
|
5690
|
+
**conversationId:** `string` — The id of the conversation you're taking the action on.
|
|
5691
|
+
|
|
5692
|
+
</dd>
|
|
5693
|
+
</dl>
|
|
5694
|
+
|
|
5695
|
+
<dl>
|
|
5696
|
+
<dd>
|
|
5697
|
+
|
|
5698
|
+
**request:** `ElevenLabs.conversationalAi.conversations.BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost`
|
|
4622
5699
|
|
|
4623
5700
|
</dd>
|
|
4624
5701
|
</dl>
|
|
@@ -4626,7 +5703,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4626
5703
|
<dl>
|
|
4627
5704
|
<dd>
|
|
4628
5705
|
|
|
4629
|
-
**requestOptions:** `
|
|
5706
|
+
**requestOptions:** `Feedback.RequestOptions`
|
|
4630
5707
|
|
|
4631
5708
|
</dd>
|
|
4632
5709
|
</dl>
|
|
@@ -4637,9 +5714,9 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4637
5714
|
</dl>
|
|
4638
5715
|
</details>
|
|
4639
5716
|
|
|
4640
|
-
## ConversationalAi
|
|
5717
|
+
## ConversationalAi Dashboard Settings
|
|
4641
5718
|
|
|
4642
|
-
<details><summary><code>client.conversationalAi.
|
|
5719
|
+
<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>
|
|
4643
5720
|
<dl>
|
|
4644
5721
|
<dd>
|
|
4645
5722
|
|
|
@@ -4651,7 +5728,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
4651
5728
|
<dl>
|
|
4652
5729
|
<dd>
|
|
4653
5730
|
|
|
4654
|
-
|
|
5731
|
+
Retrieve Convai dashboard settings for the workspace
|
|
4655
5732
|
|
|
4656
5733
|
</dd>
|
|
4657
5734
|
</dl>
|
|
@@ -4667,7 +5744,7 @@ Returns the number of pages in the agent's knowledge base.
|
|
|
4667
5744
|
<dd>
|
|
4668
5745
|
|
|
4669
5746
|
```typescript
|
|
4670
|
-
await client.conversationalAi.
|
|
5747
|
+
await client.conversationalAi.dashboard.settings.get();
|
|
4671
5748
|
```
|
|
4672
5749
|
|
|
4673
5750
|
</dd>
|
|
@@ -4683,15 +5760,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
4683
5760
|
<dl>
|
|
4684
5761
|
<dd>
|
|
4685
5762
|
|
|
4686
|
-
**
|
|
4687
|
-
|
|
4688
|
-
</dd>
|
|
4689
|
-
</dl>
|
|
4690
|
-
|
|
4691
|
-
<dl>
|
|
4692
|
-
<dd>
|
|
4693
|
-
|
|
4694
|
-
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
5763
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
4695
5764
|
|
|
4696
5765
|
</dd>
|
|
4697
5766
|
</dl>
|
|
@@ -4702,9 +5771,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
4702
5771
|
</dl>
|
|
4703
5772
|
</details>
|
|
4704
5773
|
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
<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>
|
|
5774
|
+
<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>
|
|
4708
5775
|
<dl>
|
|
4709
5776
|
<dd>
|
|
4710
5777
|
|
|
@@ -4716,7 +5783,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
4716
5783
|
<dl>
|
|
4717
5784
|
<dd>
|
|
4718
5785
|
|
|
4719
|
-
|
|
5786
|
+
Update Convai dashboard settings for the workspace
|
|
4720
5787
|
|
|
4721
5788
|
</dd>
|
|
4722
5789
|
</dl>
|
|
@@ -4732,7 +5799,7 @@ Calculates expected number of LLM tokens needed for the specified agent.
|
|
|
4732
5799
|
<dd>
|
|
4733
5800
|
|
|
4734
5801
|
```typescript
|
|
4735
|
-
await client.conversationalAi.
|
|
5802
|
+
await client.conversationalAi.dashboard.settings.update();
|
|
4736
5803
|
```
|
|
4737
5804
|
|
|
4738
5805
|
</dd>
|
|
@@ -4748,15 +5815,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
4748
5815
|
<dl>
|
|
4749
5816
|
<dd>
|
|
4750
5817
|
|
|
4751
|
-
**
|
|
4752
|
-
|
|
4753
|
-
</dd>
|
|
4754
|
-
</dl>
|
|
4755
|
-
|
|
4756
|
-
<dl>
|
|
4757
|
-
<dd>
|
|
4758
|
-
|
|
4759
|
-
**request:** `ElevenLabs.conversationalAi.agents.LlmUsageCalculatorRequestModel`
|
|
5818
|
+
**request:** `ElevenLabs.conversationalAi.dashboard.PatchConvAiDashboardSettingsRequest`
|
|
4760
5819
|
|
|
4761
5820
|
</dd>
|
|
4762
5821
|
</dl>
|
|
@@ -4764,7 +5823,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
4764
5823
|
<dl>
|
|
4765
5824
|
<dd>
|
|
4766
5825
|
|
|
4767
|
-
**requestOptions:** `
|
|
5826
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
4768
5827
|
|
|
4769
5828
|
</dd>
|
|
4770
5829
|
</dl>
|
|
@@ -4775,9 +5834,9 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
4775
5834
|
</dl>
|
|
4776
5835
|
</details>
|
|
4777
5836
|
|
|
4778
|
-
## ConversationalAi
|
|
5837
|
+
## ConversationalAi KnowledgeBase Documents
|
|
4779
5838
|
|
|
4780
|
-
<details><summary><code>client.conversationalAi.
|
|
5839
|
+
<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>
|
|
4781
5840
|
<dl>
|
|
4782
5841
|
<dd>
|
|
4783
5842
|
|
|
@@ -4789,7 +5848,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
4789
5848
|
<dl>
|
|
4790
5849
|
<dd>
|
|
4791
5850
|
|
|
4792
|
-
|
|
5851
|
+
Create a knowledge base document generated by scraping the given webpage.
|
|
4793
5852
|
|
|
4794
5853
|
</dd>
|
|
4795
5854
|
</dl>
|
|
@@ -4805,8 +5864,8 @@ Sets the avatar for an agent displayed in the widget
|
|
|
4805
5864
|
<dd>
|
|
4806
5865
|
|
|
4807
5866
|
```typescript
|
|
4808
|
-
await client.conversationalAi.
|
|
4809
|
-
|
|
5867
|
+
await client.conversationalAi.knowledgeBase.documents.createFromUrl({
|
|
5868
|
+
url: "url",
|
|
4810
5869
|
});
|
|
4811
5870
|
```
|
|
4812
5871
|
|
|
@@ -4823,15 +5882,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
4823
5882
|
<dl>
|
|
4824
5883
|
<dd>
|
|
4825
5884
|
|
|
4826
|
-
**
|
|
4827
|
-
|
|
4828
|
-
</dd>
|
|
4829
|
-
</dl>
|
|
4830
|
-
|
|
4831
|
-
<dl>
|
|
4832
|
-
<dd>
|
|
4833
|
-
|
|
4834
|
-
**request:** `ElevenLabs.conversationalAi.agents.widget.BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost`
|
|
5885
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.BodyCreateUrlDocumentV1ConvaiKnowledgeBaseUrlPost`
|
|
4835
5886
|
|
|
4836
5887
|
</dd>
|
|
4837
5888
|
</dl>
|
|
@@ -4839,7 +5890,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
4839
5890
|
<dl>
|
|
4840
5891
|
<dd>
|
|
4841
5892
|
|
|
4842
|
-
**requestOptions:** `
|
|
5893
|
+
**requestOptions:** `Documents.RequestOptions`
|
|
4843
5894
|
|
|
4844
5895
|
</dd>
|
|
4845
5896
|
</dl>
|
|
@@ -4850,11 +5901,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
4850
5901
|
</dl>
|
|
4851
5902
|
</details>
|
|
4852
5903
|
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
## ConversationalAi Conversations Feedback
|
|
4856
|
-
|
|
4857
|
-
<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>
|
|
5904
|
+
<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>
|
|
4858
5905
|
<dl>
|
|
4859
5906
|
<dd>
|
|
4860
5907
|
|
|
@@ -4866,7 +5913,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
4866
5913
|
<dl>
|
|
4867
5914
|
<dd>
|
|
4868
5915
|
|
|
4869
|
-
|
|
5916
|
+
Create a knowledge base document generated form the uploaded file.
|
|
4870
5917
|
|
|
4871
5918
|
</dd>
|
|
4872
5919
|
</dl>
|
|
@@ -4882,8 +5929,8 @@ Send the feedback for the given conversation
|
|
|
4882
5929
|
<dd>
|
|
4883
5930
|
|
|
4884
5931
|
```typescript
|
|
4885
|
-
await client.conversationalAi.
|
|
4886
|
-
|
|
5932
|
+
await client.conversationalAi.knowledgeBase.documents.createFromFile({
|
|
5933
|
+
file: fs.createReadStream("/path/to/your/file"),
|
|
4887
5934
|
});
|
|
4888
5935
|
```
|
|
4889
5936
|
|
|
@@ -4900,15 +5947,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
4900
5947
|
<dl>
|
|
4901
5948
|
<dd>
|
|
4902
5949
|
|
|
4903
|
-
**
|
|
4904
|
-
|
|
4905
|
-
</dd>
|
|
4906
|
-
</dl>
|
|
4907
|
-
|
|
4908
|
-
<dl>
|
|
4909
|
-
<dd>
|
|
4910
|
-
|
|
4911
|
-
**request:** `ElevenLabs.conversationalAi.conversations.BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost`
|
|
5950
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost`
|
|
4912
5951
|
|
|
4913
5952
|
</dd>
|
|
4914
5953
|
</dl>
|
|
@@ -4916,7 +5955,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
4916
5955
|
<dl>
|
|
4917
5956
|
<dd>
|
|
4918
5957
|
|
|
4919
|
-
**requestOptions:** `
|
|
5958
|
+
**requestOptions:** `Documents.RequestOptions`
|
|
4920
5959
|
|
|
4921
5960
|
</dd>
|
|
4922
5961
|
</dl>
|
|
@@ -4927,9 +5966,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
4927
5966
|
</dl>
|
|
4928
5967
|
</details>
|
|
4929
5968
|
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
<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>
|
|
5969
|
+
<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>
|
|
4933
5970
|
<dl>
|
|
4934
5971
|
<dd>
|
|
4935
5972
|
|
|
@@ -4941,7 +5978,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
4941
5978
|
<dl>
|
|
4942
5979
|
<dd>
|
|
4943
5980
|
|
|
4944
|
-
|
|
5981
|
+
Create a knowledge base document containing the provided text.
|
|
4945
5982
|
|
|
4946
5983
|
</dd>
|
|
4947
5984
|
</dl>
|
|
@@ -4957,7 +5994,9 @@ Retrieve Convai dashboard settings for the workspace
|
|
|
4957
5994
|
<dd>
|
|
4958
5995
|
|
|
4959
5996
|
```typescript
|
|
4960
|
-
await client.conversationalAi.
|
|
5997
|
+
await client.conversationalAi.knowledgeBase.documents.createFromText({
|
|
5998
|
+
text: "text",
|
|
5999
|
+
});
|
|
4961
6000
|
```
|
|
4962
6001
|
|
|
4963
6002
|
</dd>
|
|
@@ -4973,7 +6012,15 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
4973
6012
|
<dl>
|
|
4974
6013
|
<dd>
|
|
4975
6014
|
|
|
4976
|
-
**
|
|
6015
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.BodyCreateTextDocumentV1ConvaiKnowledgeBaseTextPost`
|
|
6016
|
+
|
|
6017
|
+
</dd>
|
|
6018
|
+
</dl>
|
|
6019
|
+
|
|
6020
|
+
<dl>
|
|
6021
|
+
<dd>
|
|
6022
|
+
|
|
6023
|
+
**requestOptions:** `Documents.RequestOptions`
|
|
4977
6024
|
|
|
4978
6025
|
</dd>
|
|
4979
6026
|
</dl>
|
|
@@ -4984,7 +6031,7 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
4984
6031
|
</dl>
|
|
4985
6032
|
</details>
|
|
4986
6033
|
|
|
4987
|
-
<details><summary><code>client.conversationalAi.
|
|
6034
|
+
<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>
|
|
4988
6035
|
<dl>
|
|
4989
6036
|
<dd>
|
|
4990
6037
|
|
|
@@ -4996,7 +6043,7 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
4996
6043
|
<dl>
|
|
4997
6044
|
<dd>
|
|
4998
6045
|
|
|
4999
|
-
|
|
6046
|
+
Get details about a specific documentation making up the agent's knowledge base
|
|
5000
6047
|
|
|
5001
6048
|
</dd>
|
|
5002
6049
|
</dl>
|
|
@@ -5012,7 +6059,7 @@ Update Convai dashboard settings for the workspace
|
|
|
5012
6059
|
<dd>
|
|
5013
6060
|
|
|
5014
6061
|
```typescript
|
|
5015
|
-
await client.conversationalAi.
|
|
6062
|
+
await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM");
|
|
5016
6063
|
```
|
|
5017
6064
|
|
|
5018
6065
|
</dd>
|
|
@@ -5028,7 +6075,7 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5028
6075
|
<dl>
|
|
5029
6076
|
<dd>
|
|
5030
6077
|
|
|
5031
|
-
**
|
|
6078
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
5032
6079
|
|
|
5033
6080
|
</dd>
|
|
5034
6081
|
</dl>
|
|
@@ -5036,7 +6083,7 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5036
6083
|
<dl>
|
|
5037
6084
|
<dd>
|
|
5038
6085
|
|
|
5039
|
-
**requestOptions:** `
|
|
6086
|
+
**requestOptions:** `Documents.RequestOptions`
|
|
5040
6087
|
|
|
5041
6088
|
</dd>
|
|
5042
6089
|
</dl>
|
|
@@ -5047,9 +6094,7 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5047
6094
|
</dl>
|
|
5048
6095
|
</details>
|
|
5049
6096
|
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
<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>
|
|
6097
|
+
<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>
|
|
5053
6098
|
<dl>
|
|
5054
6099
|
<dd>
|
|
5055
6100
|
|
|
@@ -5061,7 +6106,7 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5061
6106
|
<dl>
|
|
5062
6107
|
<dd>
|
|
5063
6108
|
|
|
5064
|
-
|
|
6109
|
+
Delete a document from the knowledge base
|
|
5065
6110
|
|
|
5066
6111
|
</dd>
|
|
5067
6112
|
</dl>
|
|
@@ -5077,9 +6122,7 @@ Create a knowledge base document generated by scraping the given webpage.
|
|
|
5077
6122
|
<dd>
|
|
5078
6123
|
|
|
5079
6124
|
```typescript
|
|
5080
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
5081
|
-
url: "url",
|
|
5082
|
-
});
|
|
6125
|
+
await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikWAM");
|
|
5083
6126
|
```
|
|
5084
6127
|
|
|
5085
6128
|
</dd>
|
|
@@ -5095,7 +6138,15 @@ await client.conversationalAi.knowledgeBase.documents.createFromUrl({
|
|
|
5095
6138
|
<dl>
|
|
5096
6139
|
<dd>
|
|
5097
6140
|
|
|
5098
|
-
**
|
|
6141
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
6142
|
+
|
|
6143
|
+
</dd>
|
|
6144
|
+
</dl>
|
|
6145
|
+
|
|
6146
|
+
<dl>
|
|
6147
|
+
<dd>
|
|
6148
|
+
|
|
6149
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest`
|
|
5099
6150
|
|
|
5100
6151
|
</dd>
|
|
5101
6152
|
</dl>
|
|
@@ -5114,7 +6165,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromUrl({
|
|
|
5114
6165
|
</dl>
|
|
5115
6166
|
</details>
|
|
5116
6167
|
|
|
5117
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">
|
|
6168
|
+
<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>
|
|
5118
6169
|
<dl>
|
|
5119
6170
|
<dd>
|
|
5120
6171
|
|
|
@@ -5126,7 +6177,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromUrl({
|
|
|
5126
6177
|
<dl>
|
|
5127
6178
|
<dd>
|
|
5128
6179
|
|
|
5129
|
-
|
|
6180
|
+
Update the name of a document
|
|
5130
6181
|
|
|
5131
6182
|
</dd>
|
|
5132
6183
|
</dl>
|
|
@@ -5142,8 +6193,8 @@ Create a knowledge base document generated form the uploaded file.
|
|
|
5142
6193
|
<dd>
|
|
5143
6194
|
|
|
5144
6195
|
```typescript
|
|
5145
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
5146
|
-
|
|
6196
|
+
await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikWAM", {
|
|
6197
|
+
name: "name",
|
|
5147
6198
|
});
|
|
5148
6199
|
```
|
|
5149
6200
|
|
|
@@ -5160,7 +6211,15 @@ await client.conversationalAi.knowledgeBase.documents.createFromFile({
|
|
|
5160
6211
|
<dl>
|
|
5161
6212
|
<dd>
|
|
5162
6213
|
|
|
5163
|
-
**
|
|
6214
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
6215
|
+
|
|
6216
|
+
</dd>
|
|
6217
|
+
</dl>
|
|
6218
|
+
|
|
6219
|
+
<dl>
|
|
6220
|
+
<dd>
|
|
6221
|
+
|
|
6222
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.BodyUpdateDocumentV1ConvaiKnowledgeBaseDocumentationIdPatch`
|
|
5164
6223
|
|
|
5165
6224
|
</dd>
|
|
5166
6225
|
</dl>
|
|
@@ -5179,7 +6238,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromFile({
|
|
|
5179
6238
|
</dl>
|
|
5180
6239
|
</details>
|
|
5181
6240
|
|
|
5182
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">
|
|
6241
|
+
<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>
|
|
5183
6242
|
<dl>
|
|
5184
6243
|
<dd>
|
|
5185
6244
|
|
|
@@ -5191,7 +6250,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromFile({
|
|
|
5191
6250
|
<dl>
|
|
5192
6251
|
<dd>
|
|
5193
6252
|
|
|
5194
|
-
|
|
6253
|
+
Get a list of agents depending on this knowledge base document
|
|
5195
6254
|
|
|
5196
6255
|
</dd>
|
|
5197
6256
|
</dl>
|
|
@@ -5207,9 +6266,7 @@ Create a knowledge base document containing the provided text.
|
|
|
5207
6266
|
<dd>
|
|
5208
6267
|
|
|
5209
6268
|
```typescript
|
|
5210
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
5211
|
-
text: "text",
|
|
5212
|
-
});
|
|
6269
|
+
await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8ikWAM");
|
|
5213
6270
|
```
|
|
5214
6271
|
|
|
5215
6272
|
</dd>
|
|
@@ -5225,7 +6282,15 @@ await client.conversationalAi.knowledgeBase.documents.createFromText({
|
|
|
5225
6282
|
<dl>
|
|
5226
6283
|
<dd>
|
|
5227
6284
|
|
|
5228
|
-
**
|
|
6285
|
+
**documentationId:** `string` — The id of a document from the knowledge base. This is returned on document addition.
|
|
6286
|
+
|
|
6287
|
+
</dd>
|
|
6288
|
+
</dl>
|
|
6289
|
+
|
|
6290
|
+
<dl>
|
|
6291
|
+
<dd>
|
|
6292
|
+
|
|
6293
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetAgentsRequest`
|
|
5229
6294
|
|
|
5230
6295
|
</dd>
|
|
5231
6296
|
</dl>
|
|
@@ -5244,7 +6309,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromText({
|
|
|
5244
6309
|
</dl>
|
|
5245
6310
|
</details>
|
|
5246
6311
|
|
|
5247
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">
|
|
6312
|
+
<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>
|
|
5248
6313
|
<dl>
|
|
5249
6314
|
<dd>
|
|
5250
6315
|
|
|
@@ -5256,7 +6321,7 @@ await client.conversationalAi.knowledgeBase.documents.createFromText({
|
|
|
5256
6321
|
<dl>
|
|
5257
6322
|
<dd>
|
|
5258
6323
|
|
|
5259
|
-
Get
|
|
6324
|
+
Get the entire content of a document from the knowledge base
|
|
5260
6325
|
|
|
5261
6326
|
</dd>
|
|
5262
6327
|
</dl>
|
|
@@ -5272,7 +6337,7 @@ Get details about a specific documentation making up the agent's knowledge base
|
|
|
5272
6337
|
<dd>
|
|
5273
6338
|
|
|
5274
6339
|
```typescript
|
|
5275
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
6340
|
+
await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq8ikWAM");
|
|
5276
6341
|
```
|
|
5277
6342
|
|
|
5278
6343
|
</dd>
|
|
@@ -5307,7 +6372,9 @@ await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM"
|
|
|
5307
6372
|
</dl>
|
|
5308
6373
|
</details>
|
|
5309
6374
|
|
|
5310
|
-
|
|
6375
|
+
## ConversationalAi KnowledgeBase Document
|
|
6376
|
+
|
|
6377
|
+
<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>
|
|
5311
6378
|
<dl>
|
|
5312
6379
|
<dd>
|
|
5313
6380
|
|
|
@@ -5319,7 +6386,7 @@ await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM"
|
|
|
5319
6386
|
<dl>
|
|
5320
6387
|
<dd>
|
|
5321
6388
|
|
|
5322
|
-
|
|
6389
|
+
In case the document is not RAG indexed, it triggers rag indexing task, otherwise it just returns the current status.
|
|
5323
6390
|
|
|
5324
6391
|
</dd>
|
|
5325
6392
|
</dl>
|
|
@@ -5335,7 +6402,9 @@ Delete a document from the knowledge base
|
|
|
5335
6402
|
<dd>
|
|
5336
6403
|
|
|
5337
6404
|
```typescript
|
|
5338
|
-
await client.conversationalAi.knowledgeBase.
|
|
6405
|
+
await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4TlvDq8ikWAM", {
|
|
6406
|
+
model: "e5_mistral_7b_instruct",
|
|
6407
|
+
});
|
|
5339
6408
|
```
|
|
5340
6409
|
|
|
5341
6410
|
</dd>
|
|
@@ -5359,7 +6428,15 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
|
|
|
5359
6428
|
<dl>
|
|
5360
6429
|
<dd>
|
|
5361
6430
|
|
|
5362
|
-
**
|
|
6431
|
+
**request:** `ElevenLabs.conversationalAi.knowledgeBase.RagIndexRequestModel`
|
|
6432
|
+
|
|
6433
|
+
</dd>
|
|
6434
|
+
</dl>
|
|
6435
|
+
|
|
6436
|
+
<dl>
|
|
6437
|
+
<dd>
|
|
6438
|
+
|
|
6439
|
+
**requestOptions:** `Document.RequestOptions`
|
|
5363
6440
|
|
|
5364
6441
|
</dd>
|
|
5365
6442
|
</dl>
|
|
@@ -5370,7 +6447,9 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
|
|
|
5370
6447
|
</dl>
|
|
5371
6448
|
</details>
|
|
5372
6449
|
|
|
5373
|
-
|
|
6450
|
+
## ConversationalAi KnowledgeBase Documents Chunk
|
|
6451
|
+
|
|
6452
|
+
<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>
|
|
5374
6453
|
<dl>
|
|
5375
6454
|
<dd>
|
|
5376
6455
|
|
|
@@ -5382,7 +6461,7 @@ await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikW
|
|
|
5382
6461
|
<dl>
|
|
5383
6462
|
<dd>
|
|
5384
6463
|
|
|
5385
|
-
|
|
6464
|
+
Get details about a specific documentation part used by RAG.
|
|
5386
6465
|
|
|
5387
6466
|
</dd>
|
|
5388
6467
|
</dl>
|
|
@@ -5398,9 +6477,7 @@ Update the name of a document
|
|
|
5398
6477
|
<dd>
|
|
5399
6478
|
|
|
5400
6479
|
```typescript
|
|
5401
|
-
await client.conversationalAi.knowledgeBase.documents.
|
|
5402
|
-
name: "name",
|
|
5403
|
-
});
|
|
6480
|
+
await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8ikWAM", "chunk_id");
|
|
5404
6481
|
```
|
|
5405
6482
|
|
|
5406
6483
|
</dd>
|
|
@@ -5424,7 +6501,7 @@ await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikW
|
|
|
5424
6501
|
<dl>
|
|
5425
6502
|
<dd>
|
|
5426
6503
|
|
|
5427
|
-
**
|
|
6504
|
+
**chunkId:** `string` — The id of a document RAG chunk from the knowledge base.
|
|
5428
6505
|
|
|
5429
6506
|
</dd>
|
|
5430
6507
|
</dl>
|
|
@@ -5432,7 +6509,7 @@ await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikW
|
|
|
5432
6509
|
<dl>
|
|
5433
6510
|
<dd>
|
|
5434
6511
|
|
|
5435
|
-
**requestOptions:** `
|
|
6512
|
+
**requestOptions:** `Chunk.RequestOptions`
|
|
5436
6513
|
|
|
5437
6514
|
</dd>
|
|
5438
6515
|
</dl>
|
|
@@ -5443,7 +6520,9 @@ await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikW
|
|
|
5443
6520
|
</dl>
|
|
5444
6521
|
</details>
|
|
5445
6522
|
|
|
5446
|
-
|
|
6523
|
+
## ConversationalAi McpServers Tools
|
|
6524
|
+
|
|
6525
|
+
<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>
|
|
5447
6526
|
<dl>
|
|
5448
6527
|
<dd>
|
|
5449
6528
|
|
|
@@ -5455,7 +6534,7 @@ await client.conversationalAi.knowledgeBase.documents.update("21m00Tcm4TlvDq8ikW
|
|
|
5455
6534
|
<dl>
|
|
5456
6535
|
<dd>
|
|
5457
6536
|
|
|
5458
|
-
|
|
6537
|
+
Retrieve all tools available for a specific MCP server configuration.
|
|
5459
6538
|
|
|
5460
6539
|
</dd>
|
|
5461
6540
|
</dl>
|
|
@@ -5471,7 +6550,7 @@ Get a list of agents depending on this knowledge base document
|
|
|
5471
6550
|
<dd>
|
|
5472
6551
|
|
|
5473
6552
|
```typescript
|
|
5474
|
-
await client.conversationalAi.
|
|
6553
|
+
await client.conversationalAi.mcpServers.tools.list("mcp_server_id");
|
|
5475
6554
|
```
|
|
5476
6555
|
|
|
5477
6556
|
</dd>
|
|
@@ -5487,15 +6566,7 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
5487
6566
|
<dl>
|
|
5488
6567
|
<dd>
|
|
5489
6568
|
|
|
5490
|
-
**
|
|
5491
|
-
|
|
5492
|
-
</dd>
|
|
5493
|
-
</dl>
|
|
5494
|
-
|
|
5495
|
-
<dl>
|
|
5496
|
-
<dd>
|
|
5497
|
-
|
|
5498
|
-
**request:** `ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetAgentsRequest`
|
|
6569
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
5499
6570
|
|
|
5500
6571
|
</dd>
|
|
5501
6572
|
</dl>
|
|
@@ -5503,7 +6574,7 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
5503
6574
|
<dl>
|
|
5504
6575
|
<dd>
|
|
5505
6576
|
|
|
5506
|
-
**requestOptions:** `
|
|
6577
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
5507
6578
|
|
|
5508
6579
|
</dd>
|
|
5509
6580
|
</dl>
|
|
@@ -5514,7 +6585,9 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
5514
6585
|
</dl>
|
|
5515
6586
|
</details>
|
|
5516
6587
|
|
|
5517
|
-
|
|
6588
|
+
## ConversationalAi McpServers ApprovalPolicy
|
|
6589
|
+
|
|
6590
|
+
<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>
|
|
5518
6591
|
<dl>
|
|
5519
6592
|
<dd>
|
|
5520
6593
|
|
|
@@ -5526,7 +6599,7 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
5526
6599
|
<dl>
|
|
5527
6600
|
<dd>
|
|
5528
6601
|
|
|
5529
|
-
|
|
6602
|
+
Update the approval policy configuration for an MCP server.
|
|
5530
6603
|
|
|
5531
6604
|
</dd>
|
|
5532
6605
|
</dl>
|
|
@@ -5542,7 +6615,9 @@ Get the entire content of a document from the knowledge base
|
|
|
5542
6615
|
<dd>
|
|
5543
6616
|
|
|
5544
6617
|
```typescript
|
|
5545
|
-
await client.conversationalAi.
|
|
6618
|
+
await client.conversationalAi.mcpServers.approvalPolicy.update("mcp_server_id", {
|
|
6619
|
+
approvalPolicy: "auto_approve_all",
|
|
6620
|
+
});
|
|
5546
6621
|
```
|
|
5547
6622
|
|
|
5548
6623
|
</dd>
|
|
@@ -5558,7 +6633,7 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
5558
6633
|
<dl>
|
|
5559
6634
|
<dd>
|
|
5560
6635
|
|
|
5561
|
-
**
|
|
6636
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
5562
6637
|
|
|
5563
6638
|
</dd>
|
|
5564
6639
|
</dl>
|
|
@@ -5566,7 +6641,15 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
5566
6641
|
<dl>
|
|
5567
6642
|
<dd>
|
|
5568
6643
|
|
|
5569
|
-
**
|
|
6644
|
+
**request:** `ElevenLabs.conversationalAi.mcpServers.McpApprovalPolicyUpdateRequestModel`
|
|
6645
|
+
|
|
6646
|
+
</dd>
|
|
6647
|
+
</dl>
|
|
6648
|
+
|
|
6649
|
+
<dl>
|
|
6650
|
+
<dd>
|
|
6651
|
+
|
|
6652
|
+
**requestOptions:** `ApprovalPolicy.RequestOptions`
|
|
5570
6653
|
|
|
5571
6654
|
</dd>
|
|
5572
6655
|
</dl>
|
|
@@ -5577,9 +6660,9 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
5577
6660
|
</dl>
|
|
5578
6661
|
</details>
|
|
5579
6662
|
|
|
5580
|
-
## ConversationalAi
|
|
6663
|
+
## ConversationalAi McpServers ToolApprovals
|
|
5581
6664
|
|
|
5582
|
-
<details><summary><code>client.conversationalAi.
|
|
6665
|
+
<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>
|
|
5583
6666
|
<dl>
|
|
5584
6667
|
<dd>
|
|
5585
6668
|
|
|
@@ -5591,7 +6674,7 @@ await client.conversationalAi.knowledgeBase.documents.getContent("21m00Tcm4TlvDq
|
|
|
5591
6674
|
<dl>
|
|
5592
6675
|
<dd>
|
|
5593
6676
|
|
|
5594
|
-
|
|
6677
|
+
Add approval for a specific MCP tool when using per-tool approval mode.
|
|
5595
6678
|
|
|
5596
6679
|
</dd>
|
|
5597
6680
|
</dl>
|
|
@@ -5607,8 +6690,9 @@ In case the document is not RAG indexed, it triggers rag indexing task, otherwis
|
|
|
5607
6690
|
<dd>
|
|
5608
6691
|
|
|
5609
6692
|
```typescript
|
|
5610
|
-
await client.conversationalAi.
|
|
5611
|
-
|
|
6693
|
+
await client.conversationalAi.mcpServers.toolApprovals.create("mcp_server_id", {
|
|
6694
|
+
toolName: "tool_name",
|
|
6695
|
+
toolDescription: "tool_description",
|
|
5612
6696
|
});
|
|
5613
6697
|
```
|
|
5614
6698
|
|
|
@@ -5625,7 +6709,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
5625
6709
|
<dl>
|
|
5626
6710
|
<dd>
|
|
5627
6711
|
|
|
5628
|
-
**
|
|
6712
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
5629
6713
|
|
|
5630
6714
|
</dd>
|
|
5631
6715
|
</dl>
|
|
@@ -5633,7 +6717,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
5633
6717
|
<dl>
|
|
5634
6718
|
<dd>
|
|
5635
6719
|
|
|
5636
|
-
**request:** `ElevenLabs.conversationalAi.
|
|
6720
|
+
**request:** `ElevenLabs.conversationalAi.mcpServers.McpToolAddApprovalRequestModel`
|
|
5637
6721
|
|
|
5638
6722
|
</dd>
|
|
5639
6723
|
</dl>
|
|
@@ -5641,7 +6725,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
5641
6725
|
<dl>
|
|
5642
6726
|
<dd>
|
|
5643
6727
|
|
|
5644
|
-
**requestOptions:** `
|
|
6728
|
+
**requestOptions:** `ToolApprovals.RequestOptions`
|
|
5645
6729
|
|
|
5646
6730
|
</dd>
|
|
5647
6731
|
</dl>
|
|
@@ -5652,9 +6736,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
5652
6736
|
</dl>
|
|
5653
6737
|
</details>
|
|
5654
6738
|
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
<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>
|
|
6739
|
+
<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>
|
|
5658
6740
|
<dl>
|
|
5659
6741
|
<dd>
|
|
5660
6742
|
|
|
@@ -5666,7 +6748,7 @@ await client.conversationalAi.knowledgeBase.document.computeRagIndex("21m00Tcm4T
|
|
|
5666
6748
|
<dl>
|
|
5667
6749
|
<dd>
|
|
5668
6750
|
|
|
5669
|
-
|
|
6751
|
+
Remove approval for a specific MCP tool when using per-tool approval mode.
|
|
5670
6752
|
|
|
5671
6753
|
</dd>
|
|
5672
6754
|
</dl>
|
|
@@ -5682,7 +6764,7 @@ Get details about a specific documentation part used by RAG.
|
|
|
5682
6764
|
<dd>
|
|
5683
6765
|
|
|
5684
6766
|
```typescript
|
|
5685
|
-
await client.conversationalAi.
|
|
6767
|
+
await client.conversationalAi.mcpServers.toolApprovals.delete("mcp_server_id", "tool_name");
|
|
5686
6768
|
```
|
|
5687
6769
|
|
|
5688
6770
|
</dd>
|
|
@@ -5698,7 +6780,7 @@ await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8
|
|
|
5698
6780
|
<dl>
|
|
5699
6781
|
<dd>
|
|
5700
6782
|
|
|
5701
|
-
**
|
|
6783
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
5702
6784
|
|
|
5703
6785
|
</dd>
|
|
5704
6786
|
</dl>
|
|
@@ -5706,7 +6788,7 @@ await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8
|
|
|
5706
6788
|
<dl>
|
|
5707
6789
|
<dd>
|
|
5708
6790
|
|
|
5709
|
-
**
|
|
6791
|
+
**toolName:** `string` — Name of the MCP tool to remove approval for.
|
|
5710
6792
|
|
|
5711
6793
|
</dd>
|
|
5712
6794
|
</dl>
|
|
@@ -5714,7 +6796,7 @@ await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8
|
|
|
5714
6796
|
<dl>
|
|
5715
6797
|
<dd>
|
|
5716
6798
|
|
|
5717
|
-
**requestOptions:** `
|
|
6799
|
+
**requestOptions:** `ToolApprovals.RequestOptions`
|
|
5718
6800
|
|
|
5719
6801
|
</dd>
|
|
5720
6802
|
</dl>
|
|
@@ -8266,9 +9348,9 @@ Edit your settings for a specific voice. "similarity_boost" corresponds to "Clar
|
|
|
8266
9348
|
```typescript
|
|
8267
9349
|
await client.voices.settings.update("21m00Tcm4TlvDq8ikWAM", {
|
|
8268
9350
|
stability: 1,
|
|
9351
|
+
useSpeakerBoost: true,
|
|
8269
9352
|
similarityBoost: 1,
|
|
8270
9353
|
style: 0,
|
|
8271
|
-
useSpeakerBoost: true,
|
|
8272
9354
|
speed: 1,
|
|
8273
9355
|
});
|
|
8274
9356
|
```
|