@elevenlabs/elevenlabs-js 2.2.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 +9 -4
- package/Client.js +60 -12
- package/README.md +4 -11
- package/api/resources/audioIsolation/client/Client.d.ts +5 -4
- package/api/resources/audioIsolation/client/Client.js +5 -8
- package/api/resources/audioIsolation/client/index.d.ts +1 -0
- package/api/resources/audioNative/client/Client.d.ts +3 -1
- package/api/resources/audioNative/client/Client.js +7 -14
- package/api/resources/audioNative/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/client/Client.d.ts +6 -1
- package/api/resources/conversationalAi/client/Client.js +18 -28
- 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/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
- package/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
- package/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.d.ts +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 +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
- package/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
- package/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
- package/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
- package/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/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 +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/models/client/Client.d.ts +3 -1
- package/api/resources/models/client/Client.js +3 -6
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
- package/api/resources/pronunciationDictionaries/client/Client.js +11 -26
- package/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
- package/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
- package/api/resources/samples/client/Client.d.ts +3 -1
- package/api/resources/samples/client/Client.js +3 -6
- package/api/resources/speechToSpeech/client/Client.d.ts +5 -4
- package/api/resources/speechToSpeech/client/Client.js +5 -8
- package/api/resources/speechToSpeech/client/index.d.ts +1 -0
- package/api/resources/speechToText/client/Client.d.ts +4 -4
- package/api/resources/speechToText/client/Client.js +46 -10
- package/api/resources/speechToText/client/index.d.ts +1 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/api/resources/studio/client/Client.d.ts +4 -2
- package/api/resources/studio/client/Client.js +4 -5
- package/api/resources/studio/client/index.d.ts +1 -0
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
- package/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/client/Client.js +16 -32
- package/api/resources/studio/resources/projects/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
- package/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
- package/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
- package/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.d.ts +5 -4
- package/api/resources/textToDialogue/client/Client.js +5 -8
- package/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
- package/api/resources/textToSoundEffects/client/Client.js +3 -4
- package/api/resources/textToSoundEffects/client/index.d.ts +1 -0
- package/api/resources/textToSpeech/client/Client.d.ts +5 -4
- package/api/resources/textToSpeech/client/Client.js +9 -16
- package/api/resources/textToSpeech/client/index.d.ts +1 -0
- package/api/resources/textToVoice/client/Client.d.ts +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 +18 -43
- package/api/resources/voices/client/index.d.ts +1 -0
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/ivc/client/Client.js +3 -4
- package/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/client/Client.js +7 -12
- package/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
- package/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
- package/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
- package/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
- package/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
- package/api/resources/voices/resources/settings/client/Client.js +7 -16
- package/api/resources/webhooks/client/Client.d.ts +48 -0
- package/api/resources/webhooks/client/Client.js +142 -0
- package/api/resources/webhooks/client/index.d.ts +2 -0
- package/api/resources/webhooks/client/index.js +17 -0
- package/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
- package/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/api/resources/webhooks/client/requests/index.js +2 -0
- package/api/resources/webhooks/index.d.ts +1 -0
- package/api/resources/webhooks/index.js +17 -0
- package/api/resources/workspace/client/Client.d.ts +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/AddProjectRequest.d.ts +60 -3
- package/api/types/AgentCallLimits.d.ts +2 -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 -2
- package/api/types/ClientEvent.js +3 -1
- package/api/types/ConvAiUserSecretDbModel.d.ts +12 -0
- package/api/types/ConversationChargingCommonModel.d.ts +1 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -0
- package/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/api/types/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/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 -3
- package/api/types/McpToolConfigOutput.d.ts +11 -3
- 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/SubscriptionStatusType.d.ts +2 -3
- package/api/types/SubscriptionStatusType.js +1 -2
- package/api/types/SupportedVoice.d.ts +4 -0
- 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/api/types/User.d.ts +1 -1
- package/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
- package/api/types/VoicePreviewResponseModel.d.ts +4 -0
- package/api/types/WebhookAuthMethodType.d.ts +8 -0
- package/api/types/WebhookAuthMethodType.js +10 -0
- package/api/types/WebhookUsageType.d.ts +10 -0
- package/api/types/WebhookUsageType.js +12 -0
- package/api/types/WidgetConfig.d.ts +2 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -0
- package/api/types/WidgetStyles.d.ts +45 -0
- package/api/types/WidgetStyles.js +5 -0
- package/api/types/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 +29 -5
- package/api/types/index.js +29 -5
- package/core/fetcher/Fetcher.d.ts +2 -1
- package/core/fetcher/Fetcher.js +22 -9
- package/core/form-data-utils/FormDataWrapper.js +5 -4
- package/core/form-data-utils/toReadableStream.d.ts +1 -0
- package/core/form-data-utils/toReadableStream.js +28 -0
- package/core/headers.d.ts +3 -0
- package/core/headers.js +29 -0
- package/core/index.d.ts +1 -1
- package/core/index.js +1 -1
- package/core/runtime/runtime.js +0 -1
- package/{dist/core/streaming-fetcher → core/stream}/Stream.d.ts +1 -2
- package/dist/Client.d.ts +9 -4
- package/dist/Client.js +60 -12
- package/dist/api/resources/audioIsolation/client/Client.d.ts +5 -4
- package/dist/api/resources/audioIsolation/client/Client.js +5 -8
- package/dist/api/resources/audioIsolation/client/index.d.ts +1 -0
- package/dist/api/resources/audioNative/client/Client.d.ts +3 -1
- package/dist/api/resources/audioNative/client/Client.js +7 -14
- package/dist/api/resources/audioNative/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/client/Client.d.ts +6 -1
- package/dist/api/resources/conversationalAi/client/Client.js +18 -28
- 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/resources/knowledgeBase/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +11 -28
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +9 -24
- package/dist/api/resources/conversationalAi/resources/conversations/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +4 -3
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +5 -10
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +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 +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +17 -40
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +3 -6
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +85 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +298 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +49 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +142 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/index.js +44 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +64 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +214 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +21 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +46 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +134 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +11 -26
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +7 -16
- package/dist/api/resources/conversationalAi/resources/secrets/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +5 -10
- package/dist/api/resources/conversationalAi/resources/settings/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +3 -4
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/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 +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/models/client/Client.d.ts +3 -1
- package/dist/api/resources/models/client/Client.js +3 -6
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +4 -3
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +11 -26
- package/dist/api/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +3 -1
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +5 -8
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/index.d.ts +1 -0
- package/dist/api/resources/samples/client/Client.d.ts +3 -1
- package/dist/api/resources/samples/client/Client.js +3 -6
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +5 -4
- package/dist/api/resources/speechToSpeech/client/Client.js +5 -8
- package/dist/api/resources/speechToSpeech/client/index.d.ts +1 -0
- package/dist/api/resources/speechToText/client/Client.d.ts +4 -4
- package/dist/api/resources/speechToText/client/Client.js +46 -10
- package/dist/api/resources/speechToText/client/index.d.ts +1 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +3 -1
- package/dist/api/resources/studio/client/Client.d.ts +4 -2
- package/dist/api/resources/studio/client/Client.js +4 -5
- package/dist/api/resources/studio/client/index.d.ts +1 -0
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +58 -3
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +16 -32
- package/dist/api/resources/studio/resources/projects/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +59 -2
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +13 -32
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/requests/BodyCreateChapterV1StudioProjectsProjectIdChaptersPost.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +4 -3
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +7 -16
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -4
- package/dist/api/resources/studio/resources/projects/resources/content/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +3 -4
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/index.d.ts +1 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +5 -4
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +9 -22
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/index.d.ts +1 -0
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostDurationScale.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.d.ts +5 -4
- package/dist/api/resources/textToDialogue/client/Client.js +5 -8
- package/dist/api/resources/textToDialogue/client/index.d.ts +1 -0
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +4 -3
- package/dist/api/resources/textToSoundEffects/client/Client.js +3 -4
- package/dist/api/resources/textToSoundEffects/client/index.d.ts +1 -0
- package/dist/api/resources/textToSpeech/client/Client.d.ts +5 -4
- package/dist/api/resources/textToSpeech/client/Client.js +9 -16
- package/dist/api/resources/textToSpeech/client/index.d.ts +1 -0
- package/dist/api/resources/textToVoice/client/Client.d.ts +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 +18 -43
- package/dist/api/resources/voices/client/index.d.ts +1 -0
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.js +3 -4
- package/dist/api/resources/voices/resources/ivc/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +7 -12
- package/dist/api/resources/voices/resources/pvc/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +7 -14
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +5 -12
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +3 -4
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +5 -10
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/samples/client/Client.d.ts +2 -0
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +4 -3
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +3 -6
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +3 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +7 -16
- package/dist/api/resources/webhooks/client/Client.d.ts +48 -0
- package/dist/api/resources/webhooks/client/Client.js +142 -0
- package/dist/api/resources/webhooks/client/index.d.ts +2 -0
- package/dist/api/resources/webhooks/client/index.js +17 -0
- package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.d.ts +15 -0
- package/dist/api/resources/webhooks/client/requests/WebhooksListRequest.js +5 -0
- package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/index.js +2 -0
- package/dist/api/resources/webhooks/index.d.ts +1 -0
- package/dist/api/resources/webhooks/index.js +17 -0
- package/dist/api/resources/workspace/client/Client.d.ts +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/AddProjectRequest.d.ts +60 -3
- package/dist/api/types/AgentCallLimits.d.ts +2 -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 -2
- package/dist/api/types/ClientEvent.js +3 -1
- 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/ConversationSimulationSpecification.d.ts +1 -0
- package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +4 -0
- package/dist/api/types/ConversationSimulationSpecificationDynamicVariablesValue.js +5 -0
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/dist/api/types/IntegrationType.d.ts +8 -0
- package/dist/api/types/IntegrationType.js +10 -0
- package/dist/api/types/InvoiceResponse.d.ts +2 -0
- package/dist/api/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/dist/api/types/ListMcpToolsResponseModel.js +5 -0
- package/dist/api/types/McpApprovalPolicy.d.ts +12 -0
- package/dist/api/types/McpApprovalPolicy.js +11 -0
- package/dist/api/types/McpServerConfigInput.d.ts +19 -0
- package/dist/api/types/McpServerConfigInput.js +5 -0
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/McpServerConfigInputRequestHeadersValue.js +5 -0
- package/dist/api/types/McpServerConfigInputSecretToken.d.ts +8 -0
- package/dist/api/types/McpServerConfigInputSecretToken.js +5 -0
- package/dist/api/types/McpServerConfigInputUrl.d.ts +8 -0
- package/dist/api/types/McpServerConfigInputUrl.js +5 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +19 -0
- package/dist/api/types/McpServerConfigOutput.js +5 -0
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.d.ts +5 -0
- package/dist/api/types/McpServerConfigOutputRequestHeadersValue.js +5 -0
- package/dist/api/types/McpServerConfigOutputSecretToken.d.ts +8 -0
- package/dist/api/types/McpServerConfigOutputSecretToken.js +5 -0
- package/dist/api/types/McpServerConfigOutputUrl.d.ts +8 -0
- package/dist/api/types/McpServerConfigOutputUrl.js +5 -0
- package/dist/api/types/McpServerMetadataResponseModel.d.ts +7 -0
- package/dist/api/types/McpServerMetadataResponseModel.js +5 -0
- package/dist/api/types/McpServerResponseModel.d.ts +17 -0
- package/dist/api/types/McpServerResponseModel.js +5 -0
- package/dist/api/types/McpServerResponseModelDependentAgentsItem.d.ts +13 -0
- package/dist/api/types/McpServerResponseModelDependentAgentsItem.js +5 -0
- package/dist/api/types/McpServerTransport.d.ts +11 -0
- package/dist/api/types/McpServerTransport.js +10 -0
- package/dist/api/types/McpServersResponseModel.d.ts +10 -0
- package/dist/api/types/McpServersResponseModel.js +5 -0
- package/dist/api/types/McpToolApprovalHash.d.ts +15 -0
- package/dist/api/types/McpToolApprovalHash.js +5 -0
- package/dist/api/types/McpToolApprovalPolicy.d.ts +11 -0
- package/dist/api/types/McpToolApprovalPolicy.js +10 -0
- package/dist/api/types/McpToolConfigInput.d.ts +11 -3
- package/dist/api/types/McpToolConfigOutput.d.ts +11 -3
- 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/SubscriptionStatusType.d.ts +2 -3
- package/dist/api/types/SubscriptionStatusType.js +1 -2
- package/dist/api/types/SupportedVoice.d.ts +4 -0
- package/dist/api/types/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/dist/api/types/User.d.ts +1 -1
- package/dist/api/types/VoiceDesignPreviewResponse.d.ts +2 -0
- package/dist/api/types/VoicePreviewResponseModel.d.ts +4 -0
- package/dist/api/types/WebhookAuthMethodType.d.ts +8 -0
- package/dist/api/types/WebhookAuthMethodType.js +10 -0
- package/dist/api/types/WebhookUsageType.d.ts +10 -0
- package/dist/api/types/WebhookUsageType.js +12 -0
- package/dist/api/types/WidgetConfig.d.ts +2 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/api/types/WidgetStyles.d.ts +45 -0
- package/dist/api/types/WidgetStyles.js +5 -0
- package/dist/api/types/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 +29 -5
- package/dist/api/types/index.js +29 -5
- package/dist/core/fetcher/Fetcher.d.ts +2 -1
- package/dist/core/fetcher/Fetcher.js +22 -9
- package/dist/core/form-data-utils/FormDataWrapper.js +5 -4
- package/dist/core/form-data-utils/toReadableStream.d.ts +1 -0
- package/dist/core/form-data-utils/toReadableStream.js +28 -0
- package/dist/core/headers.d.ts +3 -0
- package/dist/core/headers.js +29 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.js +1 -1
- package/dist/core/runtime/runtime.js +0 -1
- package/{core/streaming-fetcher → dist/core/stream}/Stream.d.ts +1 -2
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.d.ts +13 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js +44 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/index.js +18 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.d.ts +13 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js +44 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/index.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.d.ts +16 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js +47 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/index.js +5 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/index.js +17 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/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/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/BuiltInTools.d.ts +17 -0
- package/dist/serialization/types/BuiltInTools.js +48 -0
- package/dist/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/dist/serialization/types/ChapterContentBlockInputModel.js +1 -1
- package/dist/serialization/types/ClientEvent.d.ts +1 -1
- package/dist/serialization/types/ClientEvent.js +3 -1
- package/dist/serialization/types/ConvAiUserSecretDbModel.d.ts +15 -0
- package/dist/serialization/types/{GetSharedSoundGenerationsResponseModel.js → ConvAiUserSecretDbModel.js} +6 -6
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +1 -0
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +2 -0
- package/dist/serialization/types/ConversationSimulationSpecification.js +4 -0
- package/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
- package/dist/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- 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/{serialization/types/GetSharedSoundGenerationsResponseModel.js → dist/serialization/types/ListMcpToolsResponseModel.js} +6 -6
- 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/{NativeMcpToolConfigInput.js → McpServerResponseModel.js} +11 -12
- 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 -2
- package/dist/serialization/types/McpToolConfigInput.js +7 -2
- package/dist/serialization/types/McpToolConfigOutput.d.ts +7 -2
- package/dist/serialization/types/McpToolConfigOutput.js +7 -2
- 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/SubscriptionStatusType.d.ts +1 -1
- package/dist/serialization/types/SubscriptionStatusType.js +1 -2
- package/dist/serialization/types/SupportedVoice.d.ts +5 -0
- package/dist/serialization/types/SupportedVoice.js +5 -0
- package/dist/serialization/types/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/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/{serialization/types/McpApprovalRequiredModel.js → dist/serialization/types/WebhookUsageType.js} +6 -5
- package/dist/serialization/types/WidgetConfig.d.ts +2 -0
- package/dist/serialization/types/WidgetConfig.js +2 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/serialization/types/WidgetConfigResponse.js +2 -0
- package/dist/serialization/types/WidgetStyles.d.ts +31 -0
- package/dist/serialization/types/WidgetStyles.js +62 -0
- package/dist/serialization/types/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 -11
- package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
- package/dist/serialization/types/index.d.ts +29 -5
- package/dist/serialization/types/index.js +29 -5
- 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 +702 -93
- package/scripts/rename-to-esm-files.js +10 -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 +1 -0
- package/serialization/resources/index.js +1 -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/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/BuiltInTools.d.ts +17 -0
- package/serialization/types/BuiltInTools.js +48 -0
- package/serialization/types/ChapterContentBlockInputModel.d.ts +1 -1
- package/serialization/types/ChapterContentBlockInputModel.js +1 -1
- package/serialization/types/ClientEvent.d.ts +1 -1
- package/serialization/types/ClientEvent.js +3 -1
- package/serialization/types/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/ConversationSimulationSpecification.d.ts +2 -0
- package/serialization/types/ConversationSimulationSpecification.js +4 -0
- package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.d.ts +10 -0
- package/serialization/types/ConversationSimulationSpecificationDynamicVariablesValue.js +46 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +1 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +1 -0
- package/serialization/types/IntegrationType.d.ts +10 -0
- package/serialization/types/IntegrationType.js +41 -0
- package/serialization/types/InvoiceResponse.d.ts +1 -0
- package/serialization/types/InvoiceResponse.js +1 -0
- package/serialization/types/ListMcpToolsResponseModel.d.ts +15 -0
- package/serialization/types/ListMcpToolsResponseModel.js +46 -0
- package/serialization/types/McpApprovalPolicy.d.ts +10 -0
- package/serialization/types/McpApprovalPolicy.js +41 -0
- package/serialization/types/McpServerConfigInput.d.ts +25 -0
- package/serialization/types/McpServerConfigInput.js +56 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.d.ts +11 -0
- package/serialization/types/McpServerConfigInputRequestHeadersValue.js +42 -0
- package/serialization/types/McpServerConfigInputSecretToken.d.ts +12 -0
- package/serialization/types/McpServerConfigInputSecretToken.js +43 -0
- package/serialization/types/McpServerConfigInputUrl.d.ts +11 -0
- package/serialization/types/McpServerConfigInputUrl.js +42 -0
- package/serialization/types/McpServerConfigOutput.d.ts +25 -0
- package/serialization/types/McpServerConfigOutput.js +56 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.d.ts +11 -0
- package/serialization/types/McpServerConfigOutputRequestHeadersValue.js +42 -0
- package/serialization/types/McpServerConfigOutputSecretToken.d.ts +12 -0
- package/serialization/types/McpServerConfigOutputSecretToken.js +43 -0
- package/serialization/types/McpServerConfigOutputUrl.d.ts +11 -0
- package/serialization/types/McpServerConfigOutputUrl.js +42 -0
- package/serialization/types/McpServerMetadataResponseModel.d.ts +13 -0
- package/serialization/types/McpServerMetadataResponseModel.js +44 -0
- package/serialization/types/McpServerResponseModel.d.ts +20 -0
- package/serialization/types/{NativeMcpToolConfigInput.js → McpServerResponseModel.js} +11 -12
- 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 -2
- package/serialization/types/McpToolConfigInput.js +7 -2
- package/serialization/types/McpToolConfigOutput.d.ts +7 -2
- package/serialization/types/McpToolConfigOutput.js +7 -2
- 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/SubscriptionStatusType.d.ts +1 -1
- package/serialization/types/SubscriptionStatusType.js +1 -2
- package/serialization/types/SupportedVoice.d.ts +5 -0
- package/serialization/types/SupportedVoice.js +5 -0
- package/serialization/types/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/serialization/types/WebhookAuthMethodType.d.ts +10 -0
- package/serialization/types/WebhookAuthMethodType.js +41 -0
- package/serialization/types/WebhookUsageType.d.ts +10 -0
- package/{dist/serialization/types/McpApprovalRequiredModel.js → serialization/types/WebhookUsageType.js} +6 -5
- package/serialization/types/WidgetConfig.d.ts +2 -0
- package/serialization/types/WidgetConfig.js +2 -0
- package/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/serialization/types/WidgetConfigResponse.js +2 -0
- package/serialization/types/WidgetStyles.d.ts +31 -0
- package/serialization/types/WidgetStyles.js +62 -0
- package/serialization/types/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/{dist/serialization/types/NativeMcpToolConfigOutput.js → serialization/types/WorkspaceWebhookResponseModel.js} +13 -11
- package/serialization/types/WorkspaceWebhookUsageResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceWebhookUsageResponseModel.js +44 -0
- package/serialization/types/index.d.ts +29 -5
- package/serialization/types/index.js +29 -5
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +4 -3
- package/wrapper/ElevenLabsClient.js +6 -1
- package/wrapper/webhooks.d.ts +4 -3
- package/wrapper/webhooks.js +68 -46
- package/.mock/asyncapi.yml +0 -856
- package/.mock/definition/__package__.yml +0 -8340
- package/.mock/definition/api.yml +0 -24
- package/.mock/definition/audioIsolation.yml +0 -83
- package/.mock/definition/audioNative.yml +0 -198
- package/.mock/definition/conversationalAi/agents/knowledgeBase.yml +0 -32
- package/.mock/definition/conversationalAi/agents/link.yml +0 -40
- package/.mock/definition/conversationalAi/agents/llmUsage.yml +0 -51
- package/.mock/definition/conversationalAi/agents/widget/avatar.yml +0 -44
- package/.mock/definition/conversationalAi/agents/widget.yml +0 -107
- package/.mock/definition/conversationalAi/agents.yml +0 -671
- package/.mock/definition/conversationalAi/batchCalls.yml +0 -222
- package/.mock/definition/conversationalAi/conversations/audio.yml +0 -28
- package/.mock/definition/conversationalAi/conversations/feedback.yml +0 -47
- package/.mock/definition/conversationalAi/conversations.yml +0 -165
- package/.mock/definition/conversationalAi/dashboard/settings.yml +0 -73
- package/.mock/definition/conversationalAi/knowledgeBase/document.yml +0 -52
- package/.mock/definition/conversationalAi/knowledgeBase/documents/chunk.yml +0 -42
- package/.mock/definition/conversationalAi/knowledgeBase/documents.yml +0 -355
- package/.mock/definition/conversationalAi/knowledgeBase.yml +0 -88
- package/.mock/definition/conversationalAi/llmUsage.yml +0 -52
- package/.mock/definition/conversationalAi/phoneNumbers.yml +0 -206
- package/.mock/definition/conversationalAi/secrets.yml +0 -100
- package/.mock/definition/conversationalAi/settings.yml +0 -81
- package/.mock/definition/conversationalAi/sipTrunk.yml +0 -45
- package/.mock/definition/conversationalAi/twilio.yml +0 -45
- package/.mock/definition/conversationalAi.yml +0 -192
- package/.mock/definition/dubbing/audio.yml +0 -35
- package/.mock/definition/dubbing/resource/language.yml +0 -43
- package/.mock/definition/dubbing/resource/segment.yml +0 -83
- package/.mock/definition/dubbing/resource/speaker/segment.yml +0 -54
- package/.mock/definition/dubbing/resource/speaker.yml +0 -91
- package/.mock/definition/dubbing/resource.yml +0 -271
- package/.mock/definition/dubbing/transcript.yml +0 -48
- package/.mock/definition/dubbing.yml +0 -170
- package/.mock/definition/forcedAlignment.yml +0 -60
- package/.mock/definition/history.yml +0 -270
- package/.mock/definition/models.yml +0 -49
- package/.mock/definition/pronunciationDictionaries/rules.yml +0 -99
- package/.mock/definition/pronunciationDictionaries.yml +0 -262
- package/.mock/definition/samples.yml +0 -46
- package/.mock/definition/speechToSpeech.yml +0 -324
- package/.mock/definition/speechToText.yml +0 -189
- package/.mock/definition/studio/projects/chapters/snapshots.yml +0 -141
- package/.mock/definition/studio/projects/chapters.yml +0 -289
- package/.mock/definition/studio/projects/content.yml +0 -94
- package/.mock/definition/studio/projects/pronunciationDictionaries.yml +0 -70
- package/.mock/definition/studio/projects/snapshots.yml +0 -140
- package/.mock/definition/studio/projects.yml +0 -579
- package/.mock/definition/studio.yml +0 -216
- package/.mock/definition/textToDialogue.yml +0 -213
- package/.mock/definition/textToSoundEffects.yml +0 -92
- package/.mock/definition/textToSpeech.yml +0 -959
- package/.mock/definition/textToVoice.yml +0 -355
- package/.mock/definition/usage.yml +0 -73
- package/.mock/definition/user/subscription.yml +0 -50
- package/.mock/definition/user.yml +0 -86
- package/.mock/definition/v1TextToSpeechVoiceIdMultiStreamInput.yml +0 -252
- package/.mock/definition/v1TextToSpeechVoiceIdStreamInput.yml +0 -207
- package/.mock/definition/voices/ivc.yml +0 -57
- package/.mock/definition/voices/pvc/samples/audio.yml +0 -44
- package/.mock/definition/voices/pvc/samples/speakers/audio.yml +0 -48
- package/.mock/definition/voices/pvc/samples/speakers.yml +0 -81
- package/.mock/definition/voices/pvc/samples/waveform.yml +0 -44
- package/.mock/definition/voices/pvc/samples.yml +0 -159
- package/.mock/definition/voices/pvc/verification/captcha.yml +0 -62
- package/.mock/definition/voices/pvc/verification.yml +0 -47
- package/.mock/definition/voices/pvc.yml +0 -137
- package/.mock/definition/voices/samples/audio.yml +0 -35
- package/.mock/definition/voices/settings.yml +0 -105
- package/.mock/definition/voices.yml +0 -907
- package/.mock/definition/workspace/groups/members.yml +0 -80
- package/.mock/definition/workspace/groups.yml +0 -40
- package/.mock/definition/workspace/invites.yml +0 -141
- package/.mock/definition/workspace/members.yml +0 -83
- package/.mock/definition/workspace/resources.yml +0 -184
- package/.mock/fern.config.json +0 -4
- package/.mock/openapi.json +0 -39184
- package/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
- package/api/types/McpApprovalRequiredModel.d.ts +0 -12
- package/api/types/McpApprovalRequiredModel.js +0 -11
- package/api/types/NativeMcpToolConfigInput.d.ts +0 -22
- package/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
- package/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/api/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -9
- package/dist/api/types/McpApprovalRequiredModel.d.ts +0 -12
- package/dist/api/types/McpApprovalRequiredModel.js +0 -11
- package/dist/api/types/NativeMcpToolConfigInput.d.ts +0 -22
- package/dist/api/types/NativeMcpToolConfigOutput.d.ts +0 -22
- package/dist/api/types/SharedSoundGenerationResponseModel.d.ts +0 -17
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
- package/dist/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
- package/dist/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
- package/dist/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
- package/dist/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
- package/dist/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
- package/serialization/types/GetSharedSoundGenerationsResponseModel.d.ts +0 -15
- package/serialization/types/McpApprovalRequiredModel.d.ts +0 -10
- package/serialization/types/NativeMcpToolConfigInput.d.ts +0 -20
- package/serialization/types/NativeMcpToolConfigOutput.d.ts +0 -20
- package/serialization/types/SharedSoundGenerationResponseModel.d.ts +0 -23
- package/serialization/types/SharedSoundGenerationResponseModel.js +0 -54
- /package/api/{types/GetSharedSoundGenerationsResponseModel.js → resources/conversationalAi/resources/mcpServers/client/requests/McpServerRequestModel.js} +0 -0
- /package/api/{types/NativeMcpToolConfigInput.js → resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/requests/McpApprovalPolicyUpdateRequestModel.js} +0 -0
- /package/api/{types/NativeMcpToolConfigOutput.js → resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/requests/McpToolAddApprovalRequestModel.js} +0 -0
- /package/api/{types/SharedSoundGenerationResponseModel.js → resources/webhooks/client/requests/WebhooksListRequest.js} +0 -0
- /package/{dist/api/types/GetSharedSoundGenerationsResponseModel.js → api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js} +0 -0
- /package/{dist/api/types/NativeMcpToolConfigInput.js → api/types/BuiltInTools.js} +0 -0
- /package/{dist/api/types/NativeMcpToolConfigOutput.js → api/types/ConvAiUserSecretDbModel.js} +0 -0
- /package/{dist/api/types/SharedSoundGenerationResponseModel.js → api/types/ConversationSimulationSpecificationDynamicVariablesValue.js} +0 -0
- /package/core/{streaming-fetcher → stream}/Stream.js +0 -0
- /package/core/{streaming-fetcher → stream}/index.d.ts +0 -0
- /package/core/{streaming-fetcher → stream}/index.js +0 -0
- /package/dist/core/{streaming-fetcher → stream}/Stream.js +0 -0
- /package/dist/core/{streaming-fetcher → stream}/index.d.ts +0 -0
- /package/dist/core/{streaming-fetcher → stream}/index.js +0 -0
package/reference.md
CHANGED
|
@@ -193,7 +193,7 @@ await client.history.delete("VW7YKqPnjY4h39yTbx2L");
|
|
|
193
193
|
|
|
194
194
|
## TextToSoundEffects
|
|
195
195
|
|
|
196
|
-
<details><summary><code>client.textToSoundEffects.<a href="/src/api/resources/textToSoundEffects/client/Client.ts">convert</a>({ ...params }) ->
|
|
196
|
+
<details><summary><code>client.textToSoundEffects.<a href="/src/api/resources/textToSoundEffects/client/Client.ts">convert</a>({ ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
197
197
|
<dl>
|
|
198
198
|
<dd>
|
|
199
199
|
|
|
@@ -335,7 +335,7 @@ await client.samples.delete("21m00Tcm4TlvDq8ikWAM", "VW7YKqPnjY4h39yTbx2L");
|
|
|
335
335
|
|
|
336
336
|
## TextToSpeech
|
|
337
337
|
|
|
338
|
-
<details><summary><code>client.textToSpeech.<a href="/src/api/resources/textToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) ->
|
|
338
|
+
<details><summary><code>client.textToSpeech.<a href="/src/api/resources/textToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
339
339
|
<dl>
|
|
340
340
|
<dd>
|
|
341
341
|
|
|
@@ -483,7 +483,7 @@ await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
|
|
|
483
483
|
</dl>
|
|
484
484
|
</details>
|
|
485
485
|
|
|
486
|
-
<details><summary><code>client.textToSpeech.<a href="/src/api/resources/textToSpeech/client/Client.ts">stream</a>(voiceId, { ...params }) ->
|
|
486
|
+
<details><summary><code>client.textToSpeech.<a href="/src/api/resources/textToSpeech/client/Client.ts">stream</a>(voiceId, { ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
487
487
|
<dl>
|
|
488
488
|
<dd>
|
|
489
489
|
|
|
@@ -638,7 +638,7 @@ for await (const item of response) {
|
|
|
638
638
|
|
|
639
639
|
## TextToDialogue
|
|
640
640
|
|
|
641
|
-
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">convert</a>({ ...params }) ->
|
|
641
|
+
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">convert</a>({ ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
642
642
|
<dl>
|
|
643
643
|
<dd>
|
|
644
644
|
|
|
@@ -712,7 +712,7 @@ await client.textToDialogue.convert({
|
|
|
712
712
|
</dl>
|
|
713
713
|
</details>
|
|
714
714
|
|
|
715
|
-
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">stream</a>({ ...params }) ->
|
|
715
|
+
<details><summary><code>client.textToDialogue.<a href="/src/api/resources/textToDialogue/client/Client.ts">stream</a>({ ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
716
716
|
<dl>
|
|
717
717
|
<dd>
|
|
718
718
|
|
|
@@ -788,7 +788,7 @@ await client.textToDialogue.stream({
|
|
|
788
788
|
|
|
789
789
|
## SpeechToSpeech
|
|
790
790
|
|
|
791
|
-
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) ->
|
|
791
|
+
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">convert</a>(voiceId, { ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
792
792
|
<dl>
|
|
793
793
|
<dd>
|
|
794
794
|
|
|
@@ -863,7 +863,7 @@ await client.speechToSpeech.convert("JBFqnCBsd6RMkjVDRZzb", {
|
|
|
863
863
|
</dl>
|
|
864
864
|
</details>
|
|
865
865
|
|
|
866
|
-
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">stream</a>(voiceId, { ...params }) ->
|
|
866
|
+
<details><summary><code>client.speechToSpeech.<a href="/src/api/resources/speechToSpeech/client/Client.ts">stream</a>(voiceId, { ...params }) -> ReadableStream<Uint8Array></code></summary>
|
|
867
867
|
<dl>
|
|
868
868
|
<dd>
|
|
869
869
|
|
|
@@ -1707,7 +1707,7 @@ Create and auto-convert a podcast project. Currently, the LLM cost is covered by
|
|
|
1707
1707
|
|
|
1708
1708
|
```typescript
|
|
1709
1709
|
await client.studio.createPodcast({
|
|
1710
|
-
modelId: "
|
|
1710
|
+
modelId: "eleven_multilingual_v2",
|
|
1711
1711
|
mode: {
|
|
1712
1712
|
type: "conversation",
|
|
1713
1713
|
conversation: {
|
|
@@ -2535,6 +2535,140 @@ await client.pronunciationDictionaries.list();
|
|
|
2535
2535
|
</dl>
|
|
2536
2536
|
</details>
|
|
2537
2537
|
|
|
2538
|
+
## Workspace
|
|
2539
|
+
|
|
2540
|
+
<details><summary><code>client.workspace.<a href="/src/api/resources/workspace/client/Client.ts">updateUserAutoProvisioning</a>({ ...params }) -> unknown</code></summary>
|
|
2541
|
+
<dl>
|
|
2542
|
+
<dd>
|
|
2543
|
+
|
|
2544
|
+
#### 📝 Description
|
|
2545
|
+
|
|
2546
|
+
<dl>
|
|
2547
|
+
<dd>
|
|
2548
|
+
|
|
2549
|
+
<dl>
|
|
2550
|
+
<dd>
|
|
2551
|
+
|
|
2552
|
+
Update user auto provisioning settings for the workspace.
|
|
2553
|
+
|
|
2554
|
+
</dd>
|
|
2555
|
+
</dl>
|
|
2556
|
+
</dd>
|
|
2557
|
+
</dl>
|
|
2558
|
+
|
|
2559
|
+
#### 🔌 Usage
|
|
2560
|
+
|
|
2561
|
+
<dl>
|
|
2562
|
+
<dd>
|
|
2563
|
+
|
|
2564
|
+
<dl>
|
|
2565
|
+
<dd>
|
|
2566
|
+
|
|
2567
|
+
```typescript
|
|
2568
|
+
await client.workspace.updateUserAutoProvisioning({
|
|
2569
|
+
enabled: true,
|
|
2570
|
+
});
|
|
2571
|
+
```
|
|
2572
|
+
|
|
2573
|
+
</dd>
|
|
2574
|
+
</dl>
|
|
2575
|
+
</dd>
|
|
2576
|
+
</dl>
|
|
2577
|
+
|
|
2578
|
+
#### ⚙️ Parameters
|
|
2579
|
+
|
|
2580
|
+
<dl>
|
|
2581
|
+
<dd>
|
|
2582
|
+
|
|
2583
|
+
<dl>
|
|
2584
|
+
<dd>
|
|
2585
|
+
|
|
2586
|
+
**request:** `ElevenLabs.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost`
|
|
2587
|
+
|
|
2588
|
+
</dd>
|
|
2589
|
+
</dl>
|
|
2590
|
+
|
|
2591
|
+
<dl>
|
|
2592
|
+
<dd>
|
|
2593
|
+
|
|
2594
|
+
**requestOptions:** `Workspace.RequestOptions`
|
|
2595
|
+
|
|
2596
|
+
</dd>
|
|
2597
|
+
</dl>
|
|
2598
|
+
</dd>
|
|
2599
|
+
</dl>
|
|
2600
|
+
|
|
2601
|
+
</dd>
|
|
2602
|
+
</dl>
|
|
2603
|
+
</details>
|
|
2604
|
+
|
|
2605
|
+
## Webhooks
|
|
2606
|
+
|
|
2607
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">list</a>({ ...params }) -> ElevenLabs.WorkspaceWebhookListResponseModel</code></summary>
|
|
2608
|
+
<dl>
|
|
2609
|
+
<dd>
|
|
2610
|
+
|
|
2611
|
+
#### 📝 Description
|
|
2612
|
+
|
|
2613
|
+
<dl>
|
|
2614
|
+
<dd>
|
|
2615
|
+
|
|
2616
|
+
<dl>
|
|
2617
|
+
<dd>
|
|
2618
|
+
|
|
2619
|
+
List all webhooks for a workspace
|
|
2620
|
+
|
|
2621
|
+
</dd>
|
|
2622
|
+
</dl>
|
|
2623
|
+
</dd>
|
|
2624
|
+
</dl>
|
|
2625
|
+
|
|
2626
|
+
#### 🔌 Usage
|
|
2627
|
+
|
|
2628
|
+
<dl>
|
|
2629
|
+
<dd>
|
|
2630
|
+
|
|
2631
|
+
<dl>
|
|
2632
|
+
<dd>
|
|
2633
|
+
|
|
2634
|
+
```typescript
|
|
2635
|
+
await client.webhooks.list({
|
|
2636
|
+
includeUsages: false,
|
|
2637
|
+
});
|
|
2638
|
+
```
|
|
2639
|
+
|
|
2640
|
+
</dd>
|
|
2641
|
+
</dl>
|
|
2642
|
+
</dd>
|
|
2643
|
+
</dl>
|
|
2644
|
+
|
|
2645
|
+
#### ⚙️ Parameters
|
|
2646
|
+
|
|
2647
|
+
<dl>
|
|
2648
|
+
<dd>
|
|
2649
|
+
|
|
2650
|
+
<dl>
|
|
2651
|
+
<dd>
|
|
2652
|
+
|
|
2653
|
+
**request:** `ElevenLabs.WebhooksListRequest`
|
|
2654
|
+
|
|
2655
|
+
</dd>
|
|
2656
|
+
</dl>
|
|
2657
|
+
|
|
2658
|
+
<dl>
|
|
2659
|
+
<dd>
|
|
2660
|
+
|
|
2661
|
+
**requestOptions:** `Webhooks.RequestOptions`
|
|
2662
|
+
|
|
2663
|
+
</dd>
|
|
2664
|
+
</dl>
|
|
2665
|
+
</dd>
|
|
2666
|
+
</dl>
|
|
2667
|
+
|
|
2668
|
+
</dd>
|
|
2669
|
+
</dl>
|
|
2670
|
+
</details>
|
|
2671
|
+
|
|
2538
2672
|
## SpeechToText
|
|
2539
2673
|
|
|
2540
2674
|
<details><summary><code>client.speechToText.<a href="/src/api/resources/speechToText/client/Client.ts">convert</a>({ ...params }) -> ElevenLabs.SpeechToTextChunkResponseModel</code></summary>
|
|
@@ -4964,9 +5098,9 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4964
5098
|
</dl>
|
|
4965
5099
|
</details>
|
|
4966
5100
|
|
|
4967
|
-
## ConversationalAi
|
|
5101
|
+
## ConversationalAi McpServers
|
|
4968
5102
|
|
|
4969
|
-
<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>
|
|
4970
5104
|
<dl>
|
|
4971
5105
|
<dd>
|
|
4972
5106
|
|
|
@@ -4978,7 +5112,7 @@ await client.conversationalAi.sipTrunk.outboundCall({
|
|
|
4978
5112
|
<dl>
|
|
4979
5113
|
<dd>
|
|
4980
5114
|
|
|
4981
|
-
Retrieve
|
|
5115
|
+
Retrieve all MCP server configurations available in the workspace.
|
|
4982
5116
|
|
|
4983
5117
|
</dd>
|
|
4984
5118
|
</dl>
|
|
@@ -4994,7 +5128,7 @@ Retrieve the widget configuration for an agent
|
|
|
4994
5128
|
<dd>
|
|
4995
5129
|
|
|
4996
5130
|
```typescript
|
|
4997
|
-
await client.conversationalAi.
|
|
5131
|
+
await client.conversationalAi.mcpServers.list();
|
|
4998
5132
|
```
|
|
4999
5133
|
|
|
5000
5134
|
</dd>
|
|
@@ -5010,23 +5144,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5010
5144
|
<dl>
|
|
5011
5145
|
<dd>
|
|
5012
5146
|
|
|
5013
|
-
**
|
|
5014
|
-
|
|
5015
|
-
</dd>
|
|
5016
|
-
</dl>
|
|
5017
|
-
|
|
5018
|
-
<dl>
|
|
5019
|
-
<dd>
|
|
5020
|
-
|
|
5021
|
-
**request:** `ElevenLabs.conversationalAi.agents.WidgetGetRequest`
|
|
5022
|
-
|
|
5023
|
-
</dd>
|
|
5024
|
-
</dl>
|
|
5025
|
-
|
|
5026
|
-
<dl>
|
|
5027
|
-
<dd>
|
|
5028
|
-
|
|
5029
|
-
**requestOptions:** `Widget.RequestOptions`
|
|
5147
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
5030
5148
|
|
|
5031
5149
|
</dd>
|
|
5032
5150
|
</dl>
|
|
@@ -5037,9 +5155,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5037
5155
|
</dl>
|
|
5038
5156
|
</details>
|
|
5039
5157
|
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
<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>
|
|
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>
|
|
5043
5159
|
<dl>
|
|
5044
5160
|
<dd>
|
|
5045
5161
|
|
|
@@ -5051,7 +5167,7 @@ await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5051
5167
|
<dl>
|
|
5052
5168
|
<dd>
|
|
5053
5169
|
|
|
5054
|
-
|
|
5170
|
+
Create a new MCP server configuration in the workspace.
|
|
5055
5171
|
|
|
5056
5172
|
</dd>
|
|
5057
5173
|
</dl>
|
|
@@ -5067,7 +5183,12 @@ Get the current link used to share the agent with others
|
|
|
5067
5183
|
<dd>
|
|
5068
5184
|
|
|
5069
5185
|
```typescript
|
|
5070
|
-
await client.conversationalAi.
|
|
5186
|
+
await client.conversationalAi.mcpServers.create({
|
|
5187
|
+
config: {
|
|
5188
|
+
url: "url",
|
|
5189
|
+
name: "name",
|
|
5190
|
+
},
|
|
5191
|
+
});
|
|
5071
5192
|
```
|
|
5072
5193
|
|
|
5073
5194
|
</dd>
|
|
@@ -5083,7 +5204,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5083
5204
|
<dl>
|
|
5084
5205
|
<dd>
|
|
5085
5206
|
|
|
5086
|
-
**
|
|
5207
|
+
**request:** `ElevenLabs.conversationalAi.McpServerRequestModel`
|
|
5087
5208
|
|
|
5088
5209
|
</dd>
|
|
5089
5210
|
</dl>
|
|
@@ -5091,7 +5212,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5091
5212
|
<dl>
|
|
5092
5213
|
<dd>
|
|
5093
5214
|
|
|
5094
|
-
**requestOptions:** `
|
|
5215
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
5095
5216
|
|
|
5096
5217
|
</dd>
|
|
5097
5218
|
</dl>
|
|
@@ -5102,9 +5223,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5102
5223
|
</dl>
|
|
5103
5224
|
</details>
|
|
5104
5225
|
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
<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>
|
|
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>
|
|
5108
5227
|
<dl>
|
|
5109
5228
|
<dd>
|
|
5110
5229
|
|
|
@@ -5116,7 +5235,7 @@ await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
5116
5235
|
<dl>
|
|
5117
5236
|
<dd>
|
|
5118
5237
|
|
|
5119
|
-
|
|
5238
|
+
Retrieve a specific MCP server configuration from the workspace.
|
|
5120
5239
|
|
|
5121
5240
|
</dd>
|
|
5122
5241
|
</dl>
|
|
@@ -5132,7 +5251,7 @@ Returns the number of pages in the agent's knowledge base.
|
|
|
5132
5251
|
<dd>
|
|
5133
5252
|
|
|
5134
5253
|
```typescript
|
|
5135
|
-
await client.conversationalAi.
|
|
5254
|
+
await client.conversationalAi.mcpServers.get("mcp_server_id");
|
|
5136
5255
|
```
|
|
5137
5256
|
|
|
5138
5257
|
</dd>
|
|
@@ -5148,7 +5267,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
5148
5267
|
<dl>
|
|
5149
5268
|
<dd>
|
|
5150
5269
|
|
|
5151
|
-
**
|
|
5270
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
5152
5271
|
|
|
5153
5272
|
</dd>
|
|
5154
5273
|
</dl>
|
|
@@ -5156,7 +5275,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
5156
5275
|
<dl>
|
|
5157
5276
|
<dd>
|
|
5158
5277
|
|
|
5159
|
-
**requestOptions:** `
|
|
5278
|
+
**requestOptions:** `McpServers.RequestOptions`
|
|
5160
5279
|
|
|
5161
5280
|
</dd>
|
|
5162
5281
|
</dl>
|
|
@@ -5167,9 +5286,9 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
5167
5286
|
</dl>
|
|
5168
5287
|
</details>
|
|
5169
5288
|
|
|
5170
|
-
## ConversationalAi Agents
|
|
5289
|
+
## ConversationalAi Agents Widget
|
|
5171
5290
|
|
|
5172
|
-
<details><summary><code>client.conversationalAi.agents.
|
|
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>
|
|
5173
5292
|
<dl>
|
|
5174
5293
|
<dd>
|
|
5175
5294
|
|
|
@@ -5181,7 +5300,7 @@ await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
|
5181
5300
|
<dl>
|
|
5182
5301
|
<dd>
|
|
5183
5302
|
|
|
5184
|
-
|
|
5303
|
+
Retrieve the widget configuration for an agent
|
|
5185
5304
|
|
|
5186
5305
|
</dd>
|
|
5187
5306
|
</dl>
|
|
@@ -5197,7 +5316,7 @@ Calculates expected number of LLM tokens needed for the specified agent.
|
|
|
5197
5316
|
<dd>
|
|
5198
5317
|
|
|
5199
5318
|
```typescript
|
|
5200
|
-
await client.conversationalAi.agents.
|
|
5319
|
+
await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM");
|
|
5201
5320
|
```
|
|
5202
5321
|
|
|
5203
5322
|
</dd>
|
|
@@ -5213,7 +5332,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5213
5332
|
<dl>
|
|
5214
5333
|
<dd>
|
|
5215
5334
|
|
|
5216
|
-
**agentId:** `string`
|
|
5335
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
5217
5336
|
|
|
5218
5337
|
</dd>
|
|
5219
5338
|
</dl>
|
|
@@ -5221,7 +5340,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5221
5340
|
<dl>
|
|
5222
5341
|
<dd>
|
|
5223
5342
|
|
|
5224
|
-
**request:** `ElevenLabs.conversationalAi.agents.
|
|
5343
|
+
**request:** `ElevenLabs.conversationalAi.agents.WidgetGetRequest`
|
|
5225
5344
|
|
|
5226
5345
|
</dd>
|
|
5227
5346
|
</dl>
|
|
@@ -5229,7 +5348,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5229
5348
|
<dl>
|
|
5230
5349
|
<dd>
|
|
5231
5350
|
|
|
5232
|
-
**requestOptions:** `
|
|
5351
|
+
**requestOptions:** `Widget.RequestOptions`
|
|
5233
5352
|
|
|
5234
5353
|
</dd>
|
|
5235
5354
|
</dl>
|
|
@@ -5240,9 +5359,9 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5240
5359
|
</dl>
|
|
5241
5360
|
</details>
|
|
5242
5361
|
|
|
5243
|
-
## ConversationalAi Agents
|
|
5362
|
+
## ConversationalAi Agents Link
|
|
5244
5363
|
|
|
5245
|
-
<details><summary><code>client.conversationalAi.agents.
|
|
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>
|
|
5246
5365
|
<dl>
|
|
5247
5366
|
<dd>
|
|
5248
5367
|
|
|
@@ -5254,7 +5373,7 @@ await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
|
5254
5373
|
<dl>
|
|
5255
5374
|
<dd>
|
|
5256
5375
|
|
|
5257
|
-
|
|
5376
|
+
Get the current link used to share the agent with others
|
|
5258
5377
|
|
|
5259
5378
|
</dd>
|
|
5260
5379
|
</dl>
|
|
@@ -5270,9 +5389,7 @@ Sets the avatar for an agent displayed in the widget
|
|
|
5270
5389
|
<dd>
|
|
5271
5390
|
|
|
5272
5391
|
```typescript
|
|
5273
|
-
await client.conversationalAi.agents.
|
|
5274
|
-
avatarFile: fs.createReadStream("/path/to/your/file"),
|
|
5275
|
-
});
|
|
5392
|
+
await client.conversationalAi.agents.link.get("21m00Tcm4TlvDq8ikWAM");
|
|
5276
5393
|
```
|
|
5277
5394
|
|
|
5278
5395
|
</dd>
|
|
@@ -5288,15 +5405,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
5288
5405
|
<dl>
|
|
5289
5406
|
<dd>
|
|
5290
5407
|
|
|
5291
|
-
**agentId:** `string`
|
|
5292
|
-
|
|
5293
|
-
</dd>
|
|
5294
|
-
</dl>
|
|
5295
|
-
|
|
5296
|
-
<dl>
|
|
5297
|
-
<dd>
|
|
5298
|
-
|
|
5299
|
-
**request:** `ElevenLabs.conversationalAi.agents.widget.BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost`
|
|
5408
|
+
**agentId:** `string` — The id of an agent. This is returned on agent creation.
|
|
5300
5409
|
|
|
5301
5410
|
</dd>
|
|
5302
5411
|
</dl>
|
|
@@ -5304,7 +5413,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
5304
5413
|
<dl>
|
|
5305
5414
|
<dd>
|
|
5306
5415
|
|
|
5307
|
-
**requestOptions:** `
|
|
5416
|
+
**requestOptions:** `Link.RequestOptions`
|
|
5308
5417
|
|
|
5309
5418
|
</dd>
|
|
5310
5419
|
</dl>
|
|
@@ -5315,11 +5424,9 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
5315
5424
|
</dl>
|
|
5316
5425
|
</details>
|
|
5317
5426
|
|
|
5318
|
-
## ConversationalAi
|
|
5319
|
-
|
|
5320
|
-
## ConversationalAi Conversations Feedback
|
|
5427
|
+
## ConversationalAi Agents KnowledgeBase
|
|
5321
5428
|
|
|
5322
|
-
<details><summary><code>client.conversationalAi.
|
|
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>
|
|
5323
5430
|
<dl>
|
|
5324
5431
|
<dd>
|
|
5325
5432
|
|
|
@@ -5331,7 +5438,7 @@ await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM"
|
|
|
5331
5438
|
<dl>
|
|
5332
5439
|
<dd>
|
|
5333
5440
|
|
|
5334
|
-
|
|
5441
|
+
Returns the number of pages in the agent's knowledge base.
|
|
5335
5442
|
|
|
5336
5443
|
</dd>
|
|
5337
5444
|
</dl>
|
|
@@ -5347,9 +5454,7 @@ Send the feedback for the given conversation
|
|
|
5347
5454
|
<dd>
|
|
5348
5455
|
|
|
5349
5456
|
```typescript
|
|
5350
|
-
await client.conversationalAi.
|
|
5351
|
-
feedback: "like",
|
|
5352
|
-
});
|
|
5457
|
+
await client.conversationalAi.agents.knowledgeBase.size("agent_id");
|
|
5353
5458
|
```
|
|
5354
5459
|
|
|
5355
5460
|
</dd>
|
|
@@ -5365,15 +5470,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
5365
5470
|
<dl>
|
|
5366
5471
|
<dd>
|
|
5367
5472
|
|
|
5368
|
-
**
|
|
5369
|
-
|
|
5370
|
-
</dd>
|
|
5371
|
-
</dl>
|
|
5372
|
-
|
|
5373
|
-
<dl>
|
|
5374
|
-
<dd>
|
|
5375
|
-
|
|
5376
|
-
**request:** `ElevenLabs.conversationalAi.conversations.BodySendConversationFeedbackV1ConvaiConversationsConversationIdFeedbackPost`
|
|
5473
|
+
**agentId:** `string`
|
|
5377
5474
|
|
|
5378
5475
|
</dd>
|
|
5379
5476
|
</dl>
|
|
@@ -5381,7 +5478,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
5381
5478
|
<dl>
|
|
5382
5479
|
<dd>
|
|
5383
5480
|
|
|
5384
|
-
**requestOptions:** `
|
|
5481
|
+
**requestOptions:** `KnowledgeBase.RequestOptions`
|
|
5385
5482
|
|
|
5386
5483
|
</dd>
|
|
5387
5484
|
</dl>
|
|
@@ -5392,9 +5489,9 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
5392
5489
|
</dl>
|
|
5393
5490
|
</details>
|
|
5394
5491
|
|
|
5395
|
-
## ConversationalAi
|
|
5492
|
+
## ConversationalAi Agents LlmUsage
|
|
5396
5493
|
|
|
5397
|
-
<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>
|
|
5398
5495
|
<dl>
|
|
5399
5496
|
<dd>
|
|
5400
5497
|
|
|
@@ -5406,7 +5503,7 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
|
|
|
5406
5503
|
<dl>
|
|
5407
5504
|
<dd>
|
|
5408
5505
|
|
|
5409
|
-
|
|
5506
|
+
Calculates expected number of LLM tokens needed for the specified agent.
|
|
5410
5507
|
|
|
5411
5508
|
</dd>
|
|
5412
5509
|
</dl>
|
|
@@ -5422,7 +5519,7 @@ Retrieve Convai dashboard settings for the workspace
|
|
|
5422
5519
|
<dd>
|
|
5423
5520
|
|
|
5424
5521
|
```typescript
|
|
5425
|
-
await client.conversationalAi.
|
|
5522
|
+
await client.conversationalAi.agents.llmUsage.calculate("agent_id");
|
|
5426
5523
|
```
|
|
5427
5524
|
|
|
5428
5525
|
</dd>
|
|
@@ -5438,7 +5535,23 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
5438
5535
|
<dl>
|
|
5439
5536
|
<dd>
|
|
5440
5537
|
|
|
5441
|
-
**
|
|
5538
|
+
**agentId:** `string`
|
|
5539
|
+
|
|
5540
|
+
</dd>
|
|
5541
|
+
</dl>
|
|
5542
|
+
|
|
5543
|
+
<dl>
|
|
5544
|
+
<dd>
|
|
5545
|
+
|
|
5546
|
+
**request:** `ElevenLabs.conversationalAi.agents.LlmUsageCalculatorRequestModel`
|
|
5547
|
+
|
|
5548
|
+
</dd>
|
|
5549
|
+
</dl>
|
|
5550
|
+
|
|
5551
|
+
<dl>
|
|
5552
|
+
<dd>
|
|
5553
|
+
|
|
5554
|
+
**requestOptions:** `LlmUsage.RequestOptions`
|
|
5442
5555
|
|
|
5443
5556
|
</dd>
|
|
5444
5557
|
</dl>
|
|
@@ -5449,7 +5562,9 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
5449
5562
|
</dl>
|
|
5450
5563
|
</details>
|
|
5451
5564
|
|
|
5452
|
-
|
|
5565
|
+
## ConversationalAi Agents Widget Avatar
|
|
5566
|
+
|
|
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>
|
|
5453
5568
|
<dl>
|
|
5454
5569
|
<dd>
|
|
5455
5570
|
|
|
@@ -5461,7 +5576,7 @@ await client.conversationalAi.dashboard.settings.get();
|
|
|
5461
5576
|
<dl>
|
|
5462
5577
|
<dd>
|
|
5463
5578
|
|
|
5464
|
-
|
|
5579
|
+
Sets the avatar for an agent displayed in the widget
|
|
5465
5580
|
|
|
5466
5581
|
</dd>
|
|
5467
5582
|
</dl>
|
|
@@ -5477,7 +5592,9 @@ Update Convai dashboard settings for the workspace
|
|
|
5477
5592
|
<dd>
|
|
5478
5593
|
|
|
5479
5594
|
```typescript
|
|
5480
|
-
await client.conversationalAi.
|
|
5595
|
+
await client.conversationalAi.agents.widget.avatar.create("21m00Tcm4TlvDq8ikWAM", {
|
|
5596
|
+
avatarFile: fs.createReadStream("/path/to/your/file"),
|
|
5597
|
+
});
|
|
5481
5598
|
```
|
|
5482
5599
|
|
|
5483
5600
|
</dd>
|
|
@@ -5493,7 +5610,212 @@ await client.conversationalAi.dashboard.settings.update();
|
|
|
5493
5610
|
<dl>
|
|
5494
5611
|
<dd>
|
|
5495
5612
|
|
|
5496
|
-
**
|
|
5613
|
+
**agentId:** `string`
|
|
5614
|
+
|
|
5615
|
+
</dd>
|
|
5616
|
+
</dl>
|
|
5617
|
+
|
|
5618
|
+
<dl>
|
|
5619
|
+
<dd>
|
|
5620
|
+
|
|
5621
|
+
**request:** `ElevenLabs.conversationalAi.agents.widget.BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost`
|
|
5622
|
+
|
|
5623
|
+
</dd>
|
|
5624
|
+
</dl>
|
|
5625
|
+
|
|
5626
|
+
<dl>
|
|
5627
|
+
<dd>
|
|
5628
|
+
|
|
5629
|
+
**requestOptions:** `Avatar.RequestOptions`
|
|
5630
|
+
|
|
5631
|
+
</dd>
|
|
5632
|
+
</dl>
|
|
5633
|
+
</dd>
|
|
5634
|
+
</dl>
|
|
5635
|
+
|
|
5636
|
+
</dd>
|
|
5637
|
+
</dl>
|
|
5638
|
+
</details>
|
|
5639
|
+
|
|
5640
|
+
## ConversationalAi Conversations Audio
|
|
5641
|
+
|
|
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>
|
|
5645
|
+
<dl>
|
|
5646
|
+
<dd>
|
|
5647
|
+
|
|
5648
|
+
#### 📝 Description
|
|
5649
|
+
|
|
5650
|
+
<dl>
|
|
5651
|
+
<dd>
|
|
5652
|
+
|
|
5653
|
+
<dl>
|
|
5654
|
+
<dd>
|
|
5655
|
+
|
|
5656
|
+
Send the feedback for the given conversation
|
|
5657
|
+
|
|
5658
|
+
</dd>
|
|
5659
|
+
</dl>
|
|
5660
|
+
</dd>
|
|
5661
|
+
</dl>
|
|
5662
|
+
|
|
5663
|
+
#### 🔌 Usage
|
|
5664
|
+
|
|
5665
|
+
<dl>
|
|
5666
|
+
<dd>
|
|
5667
|
+
|
|
5668
|
+
<dl>
|
|
5669
|
+
<dd>
|
|
5670
|
+
|
|
5671
|
+
```typescript
|
|
5672
|
+
await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWAM", {
|
|
5673
|
+
feedback: "like",
|
|
5674
|
+
});
|
|
5675
|
+
```
|
|
5676
|
+
|
|
5677
|
+
</dd>
|
|
5678
|
+
</dl>
|
|
5679
|
+
</dd>
|
|
5680
|
+
</dl>
|
|
5681
|
+
|
|
5682
|
+
#### ⚙️ Parameters
|
|
5683
|
+
|
|
5684
|
+
<dl>
|
|
5685
|
+
<dd>
|
|
5686
|
+
|
|
5687
|
+
<dl>
|
|
5688
|
+
<dd>
|
|
5689
|
+
|
|
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`
|
|
5699
|
+
|
|
5700
|
+
</dd>
|
|
5701
|
+
</dl>
|
|
5702
|
+
|
|
5703
|
+
<dl>
|
|
5704
|
+
<dd>
|
|
5705
|
+
|
|
5706
|
+
**requestOptions:** `Feedback.RequestOptions`
|
|
5707
|
+
|
|
5708
|
+
</dd>
|
|
5709
|
+
</dl>
|
|
5710
|
+
</dd>
|
|
5711
|
+
</dl>
|
|
5712
|
+
|
|
5713
|
+
</dd>
|
|
5714
|
+
</dl>
|
|
5715
|
+
</details>
|
|
5716
|
+
|
|
5717
|
+
## ConversationalAi Dashboard Settings
|
|
5718
|
+
|
|
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>
|
|
5720
|
+
<dl>
|
|
5721
|
+
<dd>
|
|
5722
|
+
|
|
5723
|
+
#### 📝 Description
|
|
5724
|
+
|
|
5725
|
+
<dl>
|
|
5726
|
+
<dd>
|
|
5727
|
+
|
|
5728
|
+
<dl>
|
|
5729
|
+
<dd>
|
|
5730
|
+
|
|
5731
|
+
Retrieve Convai dashboard settings for the workspace
|
|
5732
|
+
|
|
5733
|
+
</dd>
|
|
5734
|
+
</dl>
|
|
5735
|
+
</dd>
|
|
5736
|
+
</dl>
|
|
5737
|
+
|
|
5738
|
+
#### 🔌 Usage
|
|
5739
|
+
|
|
5740
|
+
<dl>
|
|
5741
|
+
<dd>
|
|
5742
|
+
|
|
5743
|
+
<dl>
|
|
5744
|
+
<dd>
|
|
5745
|
+
|
|
5746
|
+
```typescript
|
|
5747
|
+
await client.conversationalAi.dashboard.settings.get();
|
|
5748
|
+
```
|
|
5749
|
+
|
|
5750
|
+
</dd>
|
|
5751
|
+
</dl>
|
|
5752
|
+
</dd>
|
|
5753
|
+
</dl>
|
|
5754
|
+
|
|
5755
|
+
#### ⚙️ Parameters
|
|
5756
|
+
|
|
5757
|
+
<dl>
|
|
5758
|
+
<dd>
|
|
5759
|
+
|
|
5760
|
+
<dl>
|
|
5761
|
+
<dd>
|
|
5762
|
+
|
|
5763
|
+
**requestOptions:** `Settings.RequestOptions`
|
|
5764
|
+
|
|
5765
|
+
</dd>
|
|
5766
|
+
</dl>
|
|
5767
|
+
</dd>
|
|
5768
|
+
</dl>
|
|
5769
|
+
|
|
5770
|
+
</dd>
|
|
5771
|
+
</dl>
|
|
5772
|
+
</details>
|
|
5773
|
+
|
|
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>
|
|
5775
|
+
<dl>
|
|
5776
|
+
<dd>
|
|
5777
|
+
|
|
5778
|
+
#### 📝 Description
|
|
5779
|
+
|
|
5780
|
+
<dl>
|
|
5781
|
+
<dd>
|
|
5782
|
+
|
|
5783
|
+
<dl>
|
|
5784
|
+
<dd>
|
|
5785
|
+
|
|
5786
|
+
Update Convai dashboard settings for the workspace
|
|
5787
|
+
|
|
5788
|
+
</dd>
|
|
5789
|
+
</dl>
|
|
5790
|
+
</dd>
|
|
5791
|
+
</dl>
|
|
5792
|
+
|
|
5793
|
+
#### 🔌 Usage
|
|
5794
|
+
|
|
5795
|
+
<dl>
|
|
5796
|
+
<dd>
|
|
5797
|
+
|
|
5798
|
+
<dl>
|
|
5799
|
+
<dd>
|
|
5800
|
+
|
|
5801
|
+
```typescript
|
|
5802
|
+
await client.conversationalAi.dashboard.settings.update();
|
|
5803
|
+
```
|
|
5804
|
+
|
|
5805
|
+
</dd>
|
|
5806
|
+
</dl>
|
|
5807
|
+
</dd>
|
|
5808
|
+
</dl>
|
|
5809
|
+
|
|
5810
|
+
#### ⚙️ Parameters
|
|
5811
|
+
|
|
5812
|
+
<dl>
|
|
5813
|
+
<dd>
|
|
5814
|
+
|
|
5815
|
+
<dl>
|
|
5816
|
+
<dd>
|
|
5817
|
+
|
|
5818
|
+
**request:** `ElevenLabs.conversationalAi.dashboard.PatchConvAiDashboardSettingsRequest`
|
|
5497
5819
|
|
|
5498
5820
|
</dd>
|
|
5499
5821
|
</dl>
|
|
@@ -6198,6 +6520,293 @@ await client.conversationalAi.knowledgeBase.documents.chunk.get("21m00Tcm4TlvDq8
|
|
|
6198
6520
|
</dl>
|
|
6199
6521
|
</details>
|
|
6200
6522
|
|
|
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>
|
|
6526
|
+
<dl>
|
|
6527
|
+
<dd>
|
|
6528
|
+
|
|
6529
|
+
#### 📝 Description
|
|
6530
|
+
|
|
6531
|
+
<dl>
|
|
6532
|
+
<dd>
|
|
6533
|
+
|
|
6534
|
+
<dl>
|
|
6535
|
+
<dd>
|
|
6536
|
+
|
|
6537
|
+
Retrieve all tools available for a specific MCP server configuration.
|
|
6538
|
+
|
|
6539
|
+
</dd>
|
|
6540
|
+
</dl>
|
|
6541
|
+
</dd>
|
|
6542
|
+
</dl>
|
|
6543
|
+
|
|
6544
|
+
#### 🔌 Usage
|
|
6545
|
+
|
|
6546
|
+
<dl>
|
|
6547
|
+
<dd>
|
|
6548
|
+
|
|
6549
|
+
<dl>
|
|
6550
|
+
<dd>
|
|
6551
|
+
|
|
6552
|
+
```typescript
|
|
6553
|
+
await client.conversationalAi.mcpServers.tools.list("mcp_server_id");
|
|
6554
|
+
```
|
|
6555
|
+
|
|
6556
|
+
</dd>
|
|
6557
|
+
</dl>
|
|
6558
|
+
</dd>
|
|
6559
|
+
</dl>
|
|
6560
|
+
|
|
6561
|
+
#### ⚙️ Parameters
|
|
6562
|
+
|
|
6563
|
+
<dl>
|
|
6564
|
+
<dd>
|
|
6565
|
+
|
|
6566
|
+
<dl>
|
|
6567
|
+
<dd>
|
|
6568
|
+
|
|
6569
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
6570
|
+
|
|
6571
|
+
</dd>
|
|
6572
|
+
</dl>
|
|
6573
|
+
|
|
6574
|
+
<dl>
|
|
6575
|
+
<dd>
|
|
6576
|
+
|
|
6577
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
6578
|
+
|
|
6579
|
+
</dd>
|
|
6580
|
+
</dl>
|
|
6581
|
+
</dd>
|
|
6582
|
+
</dl>
|
|
6583
|
+
|
|
6584
|
+
</dd>
|
|
6585
|
+
</dl>
|
|
6586
|
+
</details>
|
|
6587
|
+
|
|
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>
|
|
6591
|
+
<dl>
|
|
6592
|
+
<dd>
|
|
6593
|
+
|
|
6594
|
+
#### 📝 Description
|
|
6595
|
+
|
|
6596
|
+
<dl>
|
|
6597
|
+
<dd>
|
|
6598
|
+
|
|
6599
|
+
<dl>
|
|
6600
|
+
<dd>
|
|
6601
|
+
|
|
6602
|
+
Update the approval policy configuration for an MCP server.
|
|
6603
|
+
|
|
6604
|
+
</dd>
|
|
6605
|
+
</dl>
|
|
6606
|
+
</dd>
|
|
6607
|
+
</dl>
|
|
6608
|
+
|
|
6609
|
+
#### 🔌 Usage
|
|
6610
|
+
|
|
6611
|
+
<dl>
|
|
6612
|
+
<dd>
|
|
6613
|
+
|
|
6614
|
+
<dl>
|
|
6615
|
+
<dd>
|
|
6616
|
+
|
|
6617
|
+
```typescript
|
|
6618
|
+
await client.conversationalAi.mcpServers.approvalPolicy.update("mcp_server_id", {
|
|
6619
|
+
approvalPolicy: "auto_approve_all",
|
|
6620
|
+
});
|
|
6621
|
+
```
|
|
6622
|
+
|
|
6623
|
+
</dd>
|
|
6624
|
+
</dl>
|
|
6625
|
+
</dd>
|
|
6626
|
+
</dl>
|
|
6627
|
+
|
|
6628
|
+
#### ⚙️ Parameters
|
|
6629
|
+
|
|
6630
|
+
<dl>
|
|
6631
|
+
<dd>
|
|
6632
|
+
|
|
6633
|
+
<dl>
|
|
6634
|
+
<dd>
|
|
6635
|
+
|
|
6636
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
6637
|
+
|
|
6638
|
+
</dd>
|
|
6639
|
+
</dl>
|
|
6640
|
+
|
|
6641
|
+
<dl>
|
|
6642
|
+
<dd>
|
|
6643
|
+
|
|
6644
|
+
**request:** `ElevenLabs.conversationalAi.mcpServers.McpApprovalPolicyUpdateRequestModel`
|
|
6645
|
+
|
|
6646
|
+
</dd>
|
|
6647
|
+
</dl>
|
|
6648
|
+
|
|
6649
|
+
<dl>
|
|
6650
|
+
<dd>
|
|
6651
|
+
|
|
6652
|
+
**requestOptions:** `ApprovalPolicy.RequestOptions`
|
|
6653
|
+
|
|
6654
|
+
</dd>
|
|
6655
|
+
</dl>
|
|
6656
|
+
</dd>
|
|
6657
|
+
</dl>
|
|
6658
|
+
|
|
6659
|
+
</dd>
|
|
6660
|
+
</dl>
|
|
6661
|
+
</details>
|
|
6662
|
+
|
|
6663
|
+
## ConversationalAi McpServers ToolApprovals
|
|
6664
|
+
|
|
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>
|
|
6666
|
+
<dl>
|
|
6667
|
+
<dd>
|
|
6668
|
+
|
|
6669
|
+
#### 📝 Description
|
|
6670
|
+
|
|
6671
|
+
<dl>
|
|
6672
|
+
<dd>
|
|
6673
|
+
|
|
6674
|
+
<dl>
|
|
6675
|
+
<dd>
|
|
6676
|
+
|
|
6677
|
+
Add approval for a specific MCP tool when using per-tool approval mode.
|
|
6678
|
+
|
|
6679
|
+
</dd>
|
|
6680
|
+
</dl>
|
|
6681
|
+
</dd>
|
|
6682
|
+
</dl>
|
|
6683
|
+
|
|
6684
|
+
#### 🔌 Usage
|
|
6685
|
+
|
|
6686
|
+
<dl>
|
|
6687
|
+
<dd>
|
|
6688
|
+
|
|
6689
|
+
<dl>
|
|
6690
|
+
<dd>
|
|
6691
|
+
|
|
6692
|
+
```typescript
|
|
6693
|
+
await client.conversationalAi.mcpServers.toolApprovals.create("mcp_server_id", {
|
|
6694
|
+
toolName: "tool_name",
|
|
6695
|
+
toolDescription: "tool_description",
|
|
6696
|
+
});
|
|
6697
|
+
```
|
|
6698
|
+
|
|
6699
|
+
</dd>
|
|
6700
|
+
</dl>
|
|
6701
|
+
</dd>
|
|
6702
|
+
</dl>
|
|
6703
|
+
|
|
6704
|
+
#### ⚙️ Parameters
|
|
6705
|
+
|
|
6706
|
+
<dl>
|
|
6707
|
+
<dd>
|
|
6708
|
+
|
|
6709
|
+
<dl>
|
|
6710
|
+
<dd>
|
|
6711
|
+
|
|
6712
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
6713
|
+
|
|
6714
|
+
</dd>
|
|
6715
|
+
</dl>
|
|
6716
|
+
|
|
6717
|
+
<dl>
|
|
6718
|
+
<dd>
|
|
6719
|
+
|
|
6720
|
+
**request:** `ElevenLabs.conversationalAi.mcpServers.McpToolAddApprovalRequestModel`
|
|
6721
|
+
|
|
6722
|
+
</dd>
|
|
6723
|
+
</dl>
|
|
6724
|
+
|
|
6725
|
+
<dl>
|
|
6726
|
+
<dd>
|
|
6727
|
+
|
|
6728
|
+
**requestOptions:** `ToolApprovals.RequestOptions`
|
|
6729
|
+
|
|
6730
|
+
</dd>
|
|
6731
|
+
</dl>
|
|
6732
|
+
</dd>
|
|
6733
|
+
</dl>
|
|
6734
|
+
|
|
6735
|
+
</dd>
|
|
6736
|
+
</dl>
|
|
6737
|
+
</details>
|
|
6738
|
+
|
|
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>
|
|
6740
|
+
<dl>
|
|
6741
|
+
<dd>
|
|
6742
|
+
|
|
6743
|
+
#### 📝 Description
|
|
6744
|
+
|
|
6745
|
+
<dl>
|
|
6746
|
+
<dd>
|
|
6747
|
+
|
|
6748
|
+
<dl>
|
|
6749
|
+
<dd>
|
|
6750
|
+
|
|
6751
|
+
Remove approval for a specific MCP tool when using per-tool approval mode.
|
|
6752
|
+
|
|
6753
|
+
</dd>
|
|
6754
|
+
</dl>
|
|
6755
|
+
</dd>
|
|
6756
|
+
</dl>
|
|
6757
|
+
|
|
6758
|
+
#### 🔌 Usage
|
|
6759
|
+
|
|
6760
|
+
<dl>
|
|
6761
|
+
<dd>
|
|
6762
|
+
|
|
6763
|
+
<dl>
|
|
6764
|
+
<dd>
|
|
6765
|
+
|
|
6766
|
+
```typescript
|
|
6767
|
+
await client.conversationalAi.mcpServers.toolApprovals.delete("mcp_server_id", "tool_name");
|
|
6768
|
+
```
|
|
6769
|
+
|
|
6770
|
+
</dd>
|
|
6771
|
+
</dl>
|
|
6772
|
+
</dd>
|
|
6773
|
+
</dl>
|
|
6774
|
+
|
|
6775
|
+
#### ⚙️ Parameters
|
|
6776
|
+
|
|
6777
|
+
<dl>
|
|
6778
|
+
<dd>
|
|
6779
|
+
|
|
6780
|
+
<dl>
|
|
6781
|
+
<dd>
|
|
6782
|
+
|
|
6783
|
+
**mcpServerId:** `string` — ID of the MCP Server.
|
|
6784
|
+
|
|
6785
|
+
</dd>
|
|
6786
|
+
</dl>
|
|
6787
|
+
|
|
6788
|
+
<dl>
|
|
6789
|
+
<dd>
|
|
6790
|
+
|
|
6791
|
+
**toolName:** `string` — Name of the MCP tool to remove approval for.
|
|
6792
|
+
|
|
6793
|
+
</dd>
|
|
6794
|
+
</dl>
|
|
6795
|
+
|
|
6796
|
+
<dl>
|
|
6797
|
+
<dd>
|
|
6798
|
+
|
|
6799
|
+
**requestOptions:** `ToolApprovals.RequestOptions`
|
|
6800
|
+
|
|
6801
|
+
</dd>
|
|
6802
|
+
</dl>
|
|
6803
|
+
</dd>
|
|
6804
|
+
</dl>
|
|
6805
|
+
|
|
6806
|
+
</dd>
|
|
6807
|
+
</dl>
|
|
6808
|
+
</details>
|
|
6809
|
+
|
|
6201
6810
|
## Dubbing Resource
|
|
6202
6811
|
|
|
6203
6812
|
<details><summary><code>client.dubbing.resource.<a href="/src/api/resources/dubbing/resources/resource/client/Client.ts">get</a>(dubbingId) -> ElevenLabs.DubbingResource</code></summary>
|