@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
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
delete:
|
|
8
|
-
path: /v1/voices/{voice_id}/samples/{sample_id}
|
|
9
|
-
method: DELETE
|
|
10
|
-
auth: false
|
|
11
|
-
docs: Removes a sample by its ID.
|
|
12
|
-
source:
|
|
13
|
-
openapi: openapi.json
|
|
14
|
-
path-parameters:
|
|
15
|
-
voice_id:
|
|
16
|
-
type: string
|
|
17
|
-
docs: >-
|
|
18
|
-
ID of the voice to be used. You can use the [Get
|
|
19
|
-
voices](/docs/api-reference/voices/search) endpoint list all the
|
|
20
|
-
available voices.
|
|
21
|
-
sample_id:
|
|
22
|
-
type: string
|
|
23
|
-
docs: >-
|
|
24
|
-
ID of the sample to be used. You can use the [Get
|
|
25
|
-
voices](/docs/api-reference/voices/get) endpoint list all the
|
|
26
|
-
available samples for a voice.
|
|
27
|
-
display-name: Delete voice sample
|
|
28
|
-
response:
|
|
29
|
-
docs: Successful Response
|
|
30
|
-
type: root.DeleteSampleResponse
|
|
31
|
-
status-code: 200
|
|
32
|
-
errors:
|
|
33
|
-
- root.UnprocessableEntityError
|
|
34
|
-
examples:
|
|
35
|
-
- path-parameters:
|
|
36
|
-
voice_id: 21m00Tcm4TlvDq8ikWAM
|
|
37
|
-
sample_id: VW7YKqPnjY4h39yTbx2L
|
|
38
|
-
response:
|
|
39
|
-
body:
|
|
40
|
-
status: ok
|
|
41
|
-
source:
|
|
42
|
-
openapi: openapi.json
|
|
43
|
-
display-name: Samples
|
|
44
|
-
docs: >-
|
|
45
|
-
Access to your samples. A sample is any audio file you attached to a voice. A
|
|
46
|
-
voice can have one or more samples.
|
|
@@ -1,324 +0,0 @@
|
|
|
1
|
-
types:
|
|
2
|
-
SpeechToSpeechConvertRequestOutputFormat:
|
|
3
|
-
enum:
|
|
4
|
-
- mp3_22050_32
|
|
5
|
-
- mp3_44100_32
|
|
6
|
-
- mp3_44100_64
|
|
7
|
-
- mp3_44100_96
|
|
8
|
-
- mp3_44100_128
|
|
9
|
-
- mp3_44100_192
|
|
10
|
-
- pcm_8000
|
|
11
|
-
- pcm_16000
|
|
12
|
-
- pcm_22050
|
|
13
|
-
- pcm_24000
|
|
14
|
-
- pcm_44100
|
|
15
|
-
- pcm_48000
|
|
16
|
-
- ulaw_8000
|
|
17
|
-
- alaw_8000
|
|
18
|
-
- opus_48000_32
|
|
19
|
-
- opus_48000_64
|
|
20
|
-
- opus_48000_96
|
|
21
|
-
- opus_48000_128
|
|
22
|
-
- opus_48000_192
|
|
23
|
-
docs: >-
|
|
24
|
-
Output format of the generated audio. Formatted as
|
|
25
|
-
codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is
|
|
26
|
-
represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be
|
|
27
|
-
subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires
|
|
28
|
-
you to be subscribed to Pro tier or above. Note that the μ-law format
|
|
29
|
-
(sometimes written mu-law, often approximated as u-law) is commonly used
|
|
30
|
-
for Twilio audio inputs.
|
|
31
|
-
default: mp3_44100_128
|
|
32
|
-
source:
|
|
33
|
-
openapi: openapi.json
|
|
34
|
-
SpeechToSpeechConvertRequestFileFormat:
|
|
35
|
-
enum:
|
|
36
|
-
- pcm_s16le_16
|
|
37
|
-
- other
|
|
38
|
-
inline: true
|
|
39
|
-
source:
|
|
40
|
-
openapi: openapi.json
|
|
41
|
-
SpeechToSpeechStreamRequestOutputFormat:
|
|
42
|
-
enum:
|
|
43
|
-
- mp3_22050_32
|
|
44
|
-
- mp3_44100_32
|
|
45
|
-
- mp3_44100_64
|
|
46
|
-
- mp3_44100_96
|
|
47
|
-
- mp3_44100_128
|
|
48
|
-
- mp3_44100_192
|
|
49
|
-
- pcm_8000
|
|
50
|
-
- pcm_16000
|
|
51
|
-
- pcm_22050
|
|
52
|
-
- pcm_24000
|
|
53
|
-
- pcm_44100
|
|
54
|
-
- pcm_48000
|
|
55
|
-
- ulaw_8000
|
|
56
|
-
- alaw_8000
|
|
57
|
-
- opus_48000_32
|
|
58
|
-
- opus_48000_64
|
|
59
|
-
- opus_48000_96
|
|
60
|
-
- opus_48000_128
|
|
61
|
-
- opus_48000_192
|
|
62
|
-
docs: >-
|
|
63
|
-
Output format of the generated audio. Formatted as
|
|
64
|
-
codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is
|
|
65
|
-
represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be
|
|
66
|
-
subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires
|
|
67
|
-
you to be subscribed to Pro tier or above. Note that the μ-law format
|
|
68
|
-
(sometimes written mu-law, often approximated as u-law) is commonly used
|
|
69
|
-
for Twilio audio inputs.
|
|
70
|
-
default: mp3_44100_128
|
|
71
|
-
source:
|
|
72
|
-
openapi: openapi.json
|
|
73
|
-
SpeechToSpeechStreamRequestFileFormat:
|
|
74
|
-
enum:
|
|
75
|
-
- pcm_s16le_16
|
|
76
|
-
- other
|
|
77
|
-
inline: true
|
|
78
|
-
source:
|
|
79
|
-
openapi: openapi.json
|
|
80
|
-
imports:
|
|
81
|
-
root: __package__.yml
|
|
82
|
-
service:
|
|
83
|
-
auth: false
|
|
84
|
-
base-path: ''
|
|
85
|
-
endpoints:
|
|
86
|
-
convert:
|
|
87
|
-
path: /v1/speech-to-speech/{voice_id}
|
|
88
|
-
method: POST
|
|
89
|
-
auth: false
|
|
90
|
-
docs: >-
|
|
91
|
-
Transform audio from one voice to another. Maintain full control over
|
|
92
|
-
emotion, timing and delivery.
|
|
93
|
-
source:
|
|
94
|
-
openapi: openapi.json
|
|
95
|
-
path-parameters:
|
|
96
|
-
voice_id:
|
|
97
|
-
type: string
|
|
98
|
-
docs: >-
|
|
99
|
-
ID of the voice to be used. Use the [Get
|
|
100
|
-
voices](/docs/api-reference/voices/search) endpoint list all the
|
|
101
|
-
available voices.
|
|
102
|
-
display-name: Voice changer
|
|
103
|
-
request:
|
|
104
|
-
name: Body_Speech_to_Speech_v1_speech_to_speech__voice_id__post
|
|
105
|
-
query-parameters:
|
|
106
|
-
enable_logging:
|
|
107
|
-
type: optional<boolean>
|
|
108
|
-
default: true
|
|
109
|
-
docs: >-
|
|
110
|
-
When enable_logging is set to false zero retention mode will be
|
|
111
|
-
used for the request. This will mean history features are
|
|
112
|
-
unavailable for this request, including request stitching. Zero
|
|
113
|
-
retention mode may only be used by enterprise customers.
|
|
114
|
-
optimize_streaming_latency:
|
|
115
|
-
type: optional<integer>
|
|
116
|
-
docs: >
|
|
117
|
-
You can turn on latency optimizations at some cost of quality. The
|
|
118
|
-
best possible final latency varies by model. Possible values:
|
|
119
|
-
|
|
120
|
-
0 - default mode (no latency optimizations)
|
|
121
|
-
|
|
122
|
-
1 - normal latency optimizations (about 50% of possible latency
|
|
123
|
-
improvement of option 3)
|
|
124
|
-
|
|
125
|
-
2 - strong latency optimizations (about 75% of possible latency
|
|
126
|
-
improvement of option 3)
|
|
127
|
-
|
|
128
|
-
3 - max latency optimizations
|
|
129
|
-
|
|
130
|
-
4 - max latency optimizations, but also with text normalizer
|
|
131
|
-
turned off for even more latency savings (best latency, but can
|
|
132
|
-
mispronounce eg numbers and dates).
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
Defaults to None.
|
|
136
|
-
availability: deprecated
|
|
137
|
-
output_format:
|
|
138
|
-
type: optional<SpeechToSpeechConvertRequestOutputFormat>
|
|
139
|
-
default: mp3_44100_128
|
|
140
|
-
docs: >-
|
|
141
|
-
Output format of the generated audio. Formatted as
|
|
142
|
-
codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at
|
|
143
|
-
32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate
|
|
144
|
-
requires you to be subscribed to Creator tier or above. PCM with
|
|
145
|
-
44.1kHz sample rate requires you to be subscribed to Pro tier or
|
|
146
|
-
above. Note that the μ-law format (sometimes written mu-law, often
|
|
147
|
-
approximated as u-law) is commonly used for Twilio audio inputs.
|
|
148
|
-
body:
|
|
149
|
-
properties:
|
|
150
|
-
audio:
|
|
151
|
-
type: file
|
|
152
|
-
docs: >-
|
|
153
|
-
The audio file which holds the content and emotion that will
|
|
154
|
-
control the generated speech.
|
|
155
|
-
model_id:
|
|
156
|
-
type: optional<string>
|
|
157
|
-
docs: >-
|
|
158
|
-
Identifier of the model that will be used, you can query them
|
|
159
|
-
using GET /v1/models. The model needs to have support for speech
|
|
160
|
-
to speech, you can check this using the can_do_voice_conversion
|
|
161
|
-
property.
|
|
162
|
-
default: eleven_english_sts_v2
|
|
163
|
-
voice_settings:
|
|
164
|
-
type: optional<string>
|
|
165
|
-
docs: >-
|
|
166
|
-
Voice settings overriding stored settings for the given voice.
|
|
167
|
-
They are applied only on the given request. Needs to be send as
|
|
168
|
-
a JSON encoded string.
|
|
169
|
-
seed:
|
|
170
|
-
type: optional<integer>
|
|
171
|
-
docs: >-
|
|
172
|
-
If specified, our system will make a best effort to sample
|
|
173
|
-
deterministically, such that repeated requests with the same
|
|
174
|
-
seed and parameters should return the same result. Determinism
|
|
175
|
-
is not guaranteed. Must be integer between 0 and 4294967295.
|
|
176
|
-
remove_background_noise:
|
|
177
|
-
type: optional<boolean>
|
|
178
|
-
docs: >-
|
|
179
|
-
If set, will remove the background noise from your audio input
|
|
180
|
-
using our audio isolation model. Only applies to Voice Changer.
|
|
181
|
-
default: false
|
|
182
|
-
file_format:
|
|
183
|
-
type: optional<SpeechToSpeechConvertRequestFileFormat>
|
|
184
|
-
docs: >-
|
|
185
|
-
The format of input audio. Options are 'pcm_s16le_16' or 'other'
|
|
186
|
-
For `pcm_s16le_16`, the input audio must be 16-bit PCM at a
|
|
187
|
-
16kHz sample rate, single channel (mono), and little-endian byte
|
|
188
|
-
order. Latency will be lower than with passing an encoded
|
|
189
|
-
waveform.
|
|
190
|
-
content-type: multipart/form-data
|
|
191
|
-
response:
|
|
192
|
-
docs: The generated audio file
|
|
193
|
-
type: file
|
|
194
|
-
status-code: 200
|
|
195
|
-
errors:
|
|
196
|
-
- root.UnprocessableEntityError
|
|
197
|
-
examples:
|
|
198
|
-
- path-parameters:
|
|
199
|
-
voice_id: JBFqnCBsd6RMkjVDRZzb
|
|
200
|
-
query-parameters:
|
|
201
|
-
output_format: mp3_44100_128
|
|
202
|
-
request:
|
|
203
|
-
model_id: eleven_multilingual_sts_v2
|
|
204
|
-
stream:
|
|
205
|
-
path: /v1/speech-to-speech/{voice_id}/stream
|
|
206
|
-
method: POST
|
|
207
|
-
auth: false
|
|
208
|
-
docs: >-
|
|
209
|
-
Stream audio from one voice to another. Maintain full control over
|
|
210
|
-
emotion, timing and delivery.
|
|
211
|
-
source:
|
|
212
|
-
openapi: openapi.json
|
|
213
|
-
path-parameters:
|
|
214
|
-
voice_id:
|
|
215
|
-
type: string
|
|
216
|
-
docs: >-
|
|
217
|
-
ID of the voice to be used. Use the [Get
|
|
218
|
-
voices](/docs/api-reference/voices/search) endpoint list all the
|
|
219
|
-
available voices.
|
|
220
|
-
display-name: Voice changer stream
|
|
221
|
-
request:
|
|
222
|
-
name: >-
|
|
223
|
-
Body_Speech_to_Speech_Streaming_v1_speech_to_speech__voice_id__stream_post
|
|
224
|
-
query-parameters:
|
|
225
|
-
enable_logging:
|
|
226
|
-
type: optional<boolean>
|
|
227
|
-
default: true
|
|
228
|
-
docs: >-
|
|
229
|
-
When enable_logging is set to false zero retention mode will be
|
|
230
|
-
used for the request. This will mean history features are
|
|
231
|
-
unavailable for this request, including request stitching. Zero
|
|
232
|
-
retention mode may only be used by enterprise customers.
|
|
233
|
-
optimize_streaming_latency:
|
|
234
|
-
type: optional<integer>
|
|
235
|
-
docs: >
|
|
236
|
-
You can turn on latency optimizations at some cost of quality. The
|
|
237
|
-
best possible final latency varies by model. Possible values:
|
|
238
|
-
|
|
239
|
-
0 - default mode (no latency optimizations)
|
|
240
|
-
|
|
241
|
-
1 - normal latency optimizations (about 50% of possible latency
|
|
242
|
-
improvement of option 3)
|
|
243
|
-
|
|
244
|
-
2 - strong latency optimizations (about 75% of possible latency
|
|
245
|
-
improvement of option 3)
|
|
246
|
-
|
|
247
|
-
3 - max latency optimizations
|
|
248
|
-
|
|
249
|
-
4 - max latency optimizations, but also with text normalizer
|
|
250
|
-
turned off for even more latency savings (best latency, but can
|
|
251
|
-
mispronounce eg numbers and dates).
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
Defaults to None.
|
|
255
|
-
availability: deprecated
|
|
256
|
-
output_format:
|
|
257
|
-
type: optional<SpeechToSpeechStreamRequestOutputFormat>
|
|
258
|
-
default: mp3_44100_128
|
|
259
|
-
docs: >-
|
|
260
|
-
Output format of the generated audio. Formatted as
|
|
261
|
-
codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at
|
|
262
|
-
32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate
|
|
263
|
-
requires you to be subscribed to Creator tier or above. PCM with
|
|
264
|
-
44.1kHz sample rate requires you to be subscribed to Pro tier or
|
|
265
|
-
above. Note that the μ-law format (sometimes written mu-law, often
|
|
266
|
-
approximated as u-law) is commonly used for Twilio audio inputs.
|
|
267
|
-
body:
|
|
268
|
-
properties:
|
|
269
|
-
audio:
|
|
270
|
-
type: file
|
|
271
|
-
docs: >-
|
|
272
|
-
The audio file which holds the content and emotion that will
|
|
273
|
-
control the generated speech.
|
|
274
|
-
model_id:
|
|
275
|
-
type: optional<string>
|
|
276
|
-
docs: >-
|
|
277
|
-
Identifier of the model that will be used, you can query them
|
|
278
|
-
using GET /v1/models. The model needs to have support for speech
|
|
279
|
-
to speech, you can check this using the can_do_voice_conversion
|
|
280
|
-
property.
|
|
281
|
-
default: eleven_english_sts_v2
|
|
282
|
-
voice_settings:
|
|
283
|
-
type: optional<string>
|
|
284
|
-
docs: >-
|
|
285
|
-
Voice settings overriding stored settings for the given voice.
|
|
286
|
-
They are applied only on the given request. Needs to be send as
|
|
287
|
-
a JSON encoded string.
|
|
288
|
-
seed:
|
|
289
|
-
type: optional<integer>
|
|
290
|
-
docs: >-
|
|
291
|
-
If specified, our system will make a best effort to sample
|
|
292
|
-
deterministically, such that repeated requests with the same
|
|
293
|
-
seed and parameters should return the same result. Determinism
|
|
294
|
-
is not guaranteed. Must be integer between 0 and 4294967295.
|
|
295
|
-
remove_background_noise:
|
|
296
|
-
type: optional<boolean>
|
|
297
|
-
docs: >-
|
|
298
|
-
If set, will remove the background noise from your audio input
|
|
299
|
-
using our audio isolation model. Only applies to Voice Changer.
|
|
300
|
-
default: false
|
|
301
|
-
file_format:
|
|
302
|
-
type: optional<SpeechToSpeechStreamRequestFileFormat>
|
|
303
|
-
docs: >-
|
|
304
|
-
The format of input audio. Options are 'pcm_s16le_16' or 'other'
|
|
305
|
-
For `pcm_s16le_16`, the input audio must be 16-bit PCM at a
|
|
306
|
-
16kHz sample rate, single channel (mono), and little-endian byte
|
|
307
|
-
order. Latency will be lower than with passing an encoded
|
|
308
|
-
waveform.
|
|
309
|
-
content-type: multipart/form-data
|
|
310
|
-
response:
|
|
311
|
-
docs: Streaming audio data
|
|
312
|
-
type: file
|
|
313
|
-
status-code: 200
|
|
314
|
-
errors:
|
|
315
|
-
- root.UnprocessableEntityError
|
|
316
|
-
examples:
|
|
317
|
-
- path-parameters:
|
|
318
|
-
voice_id: JBFqnCBsd6RMkjVDRZzb
|
|
319
|
-
query-parameters:
|
|
320
|
-
output_format: mp3_44100_128
|
|
321
|
-
request:
|
|
322
|
-
model_id: eleven_multilingual_sts_v2
|
|
323
|
-
source:
|
|
324
|
-
openapi: openapi.json
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
types:
|
|
2
|
-
SpeechToTextConvertRequestTimestampsGranularity:
|
|
3
|
-
enum:
|
|
4
|
-
- none
|
|
5
|
-
- word
|
|
6
|
-
- character
|
|
7
|
-
docs: >-
|
|
8
|
-
The granularity of the timestamps in the transcription. 'word' provides
|
|
9
|
-
word-level timestamps and 'character' provides character-level timestamps
|
|
10
|
-
per word.
|
|
11
|
-
default: word
|
|
12
|
-
inline: true
|
|
13
|
-
source:
|
|
14
|
-
openapi: openapi.json
|
|
15
|
-
SpeechToTextConvertRequestFileFormat:
|
|
16
|
-
enum:
|
|
17
|
-
- pcm_s16le_16
|
|
18
|
-
- other
|
|
19
|
-
docs: >-
|
|
20
|
-
The format of input audio. Options are 'pcm_s16le_16' or 'other' For
|
|
21
|
-
`pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate,
|
|
22
|
-
single channel (mono), and little-endian byte order. Latency will be lower
|
|
23
|
-
than with passing an encoded waveform.
|
|
24
|
-
default: other
|
|
25
|
-
inline: true
|
|
26
|
-
source:
|
|
27
|
-
openapi: openapi.json
|
|
28
|
-
imports:
|
|
29
|
-
root: __package__.yml
|
|
30
|
-
service:
|
|
31
|
-
auth: false
|
|
32
|
-
base-path: ''
|
|
33
|
-
endpoints:
|
|
34
|
-
convert:
|
|
35
|
-
path: /v1/speech-to-text
|
|
36
|
-
method: POST
|
|
37
|
-
auth: false
|
|
38
|
-
docs: >-
|
|
39
|
-
Transcribe an audio or video file. If webhook is set to true, the
|
|
40
|
-
request will be processed asynchronously and results sent to configured
|
|
41
|
-
webhooks.
|
|
42
|
-
source:
|
|
43
|
-
openapi: openapi.json
|
|
44
|
-
display-name: Create transcript
|
|
45
|
-
request:
|
|
46
|
-
name: Body_Speech_to_Text_v1_speech_to_text_post
|
|
47
|
-
query-parameters:
|
|
48
|
-
enable_logging:
|
|
49
|
-
type: optional<boolean>
|
|
50
|
-
default: true
|
|
51
|
-
docs: >-
|
|
52
|
-
When enable_logging is set to false zero retention mode will be
|
|
53
|
-
used for the request. This will mean history features are
|
|
54
|
-
unavailable for this request, including request stitching. Zero
|
|
55
|
-
retention mode may only be used by enterprise customers.
|
|
56
|
-
body:
|
|
57
|
-
properties:
|
|
58
|
-
model_id:
|
|
59
|
-
type: string
|
|
60
|
-
docs: >-
|
|
61
|
-
The ID of the model to use for transcription, currently only
|
|
62
|
-
'scribe_v1' and 'scribe_v1_experimental' are available.
|
|
63
|
-
file:
|
|
64
|
-
type: optional<file>
|
|
65
|
-
docs: >-
|
|
66
|
-
The file to transcribe. All major audio and video formats are
|
|
67
|
-
supported. Exactly one of the file or cloud_storage_url
|
|
68
|
-
parameters must be provided. The file size must be less than
|
|
69
|
-
1GB.
|
|
70
|
-
language_code:
|
|
71
|
-
type: optional<string>
|
|
72
|
-
docs: >-
|
|
73
|
-
An ISO-639-1 or ISO-639-3 language_code corresponding to the
|
|
74
|
-
language of the audio file. Can sometimes improve transcription
|
|
75
|
-
performance if known beforehand. Defaults to null, in this case
|
|
76
|
-
the language is predicted automatically.
|
|
77
|
-
tag_audio_events:
|
|
78
|
-
type: optional<boolean>
|
|
79
|
-
docs: >-
|
|
80
|
-
Whether to tag audio events like (laughter), (footsteps), etc.
|
|
81
|
-
in the transcription.
|
|
82
|
-
default: true
|
|
83
|
-
num_speakers:
|
|
84
|
-
type: optional<integer>
|
|
85
|
-
docs: >-
|
|
86
|
-
The maximum amount of speakers talking in the uploaded file. Can
|
|
87
|
-
help with predicting who speaks when. The maximum amount of
|
|
88
|
-
speakers that can be predicted is 32. Defaults to null, in this
|
|
89
|
-
case the amount of speakers is set to the maximum value the
|
|
90
|
-
model supports.
|
|
91
|
-
validation:
|
|
92
|
-
min: 1
|
|
93
|
-
max: 32
|
|
94
|
-
timestamps_granularity:
|
|
95
|
-
type: optional<SpeechToTextConvertRequestTimestampsGranularity>
|
|
96
|
-
docs: >-
|
|
97
|
-
The granularity of the timestamps in the transcription. 'word'
|
|
98
|
-
provides word-level timestamps and 'character' provides
|
|
99
|
-
character-level timestamps per word.
|
|
100
|
-
default: word
|
|
101
|
-
diarize:
|
|
102
|
-
type: optional<boolean>
|
|
103
|
-
docs: >-
|
|
104
|
-
Whether to annotate which speaker is currently talking in the
|
|
105
|
-
uploaded file.
|
|
106
|
-
default: false
|
|
107
|
-
additional_formats:
|
|
108
|
-
type: optional<root.AdditionalFormats>
|
|
109
|
-
docs: A list of additional formats to export the transcript to.
|
|
110
|
-
file_format:
|
|
111
|
-
type: optional<SpeechToTextConvertRequestFileFormat>
|
|
112
|
-
docs: >-
|
|
113
|
-
The format of input audio. Options are 'pcm_s16le_16' or 'other'
|
|
114
|
-
For `pcm_s16le_16`, the input audio must be 16-bit PCM at a
|
|
115
|
-
16kHz sample rate, single channel (mono), and little-endian byte
|
|
116
|
-
order. Latency will be lower than with passing an encoded
|
|
117
|
-
waveform.
|
|
118
|
-
default: other
|
|
119
|
-
cloud_storage_url:
|
|
120
|
-
type: optional<string>
|
|
121
|
-
docs: >-
|
|
122
|
-
The valid AWS S3, Cloudflare R2 or Google Cloud Storage URL of
|
|
123
|
-
the file to transcribe. Exactly one of the file or
|
|
124
|
-
cloud_storage_url parameters must be provided. The file must be
|
|
125
|
-
a valid publicly accessible cloud storage URL. The file size
|
|
126
|
-
must be less than 2GB. URL can be pre-signed.
|
|
127
|
-
webhook:
|
|
128
|
-
type: optional<boolean>
|
|
129
|
-
docs: >-
|
|
130
|
-
Whether to send the transcription result to configured
|
|
131
|
-
speech-to-text webhooks. If set the request will return early
|
|
132
|
-
without the transcription, which will be delivered later via
|
|
133
|
-
webhook. Webhooks can be created and assigned to a transcription
|
|
134
|
-
task in webhook settings page in the UI.
|
|
135
|
-
default: false
|
|
136
|
-
content-type: multipart/form-data
|
|
137
|
-
response:
|
|
138
|
-
docs: Synchronous transcription result
|
|
139
|
-
type: root.SpeechToTextChunkResponseModel
|
|
140
|
-
status-code: 200
|
|
141
|
-
errors:
|
|
142
|
-
- root.UnprocessableEntityError
|
|
143
|
-
examples:
|
|
144
|
-
- request:
|
|
145
|
-
model_id: model_id
|
|
146
|
-
response:
|
|
147
|
-
body:
|
|
148
|
-
language_code: en
|
|
149
|
-
language_probability: 0.98
|
|
150
|
-
text: Hello world!
|
|
151
|
-
words:
|
|
152
|
-
- text: Hello
|
|
153
|
-
start: 0
|
|
154
|
-
end: 0.5
|
|
155
|
-
type: word
|
|
156
|
-
speaker_id: speaker_1
|
|
157
|
-
logprob: 1.1
|
|
158
|
-
characters:
|
|
159
|
-
- text: text
|
|
160
|
-
start: 0
|
|
161
|
-
end: 0.1
|
|
162
|
-
- text: ' '
|
|
163
|
-
start: 0.5
|
|
164
|
-
end: 0.5
|
|
165
|
-
type: spacing
|
|
166
|
-
speaker_id: speaker_1
|
|
167
|
-
logprob: 1.1
|
|
168
|
-
characters:
|
|
169
|
-
- text: text
|
|
170
|
-
start: 0
|
|
171
|
-
end: 0.1
|
|
172
|
-
- text: world!
|
|
173
|
-
start: 0.5
|
|
174
|
-
end: 1.2
|
|
175
|
-
type: word
|
|
176
|
-
speaker_id: speaker_1
|
|
177
|
-
logprob: 1.1
|
|
178
|
-
characters:
|
|
179
|
-
- text: text
|
|
180
|
-
start: 0
|
|
181
|
-
end: 0.1
|
|
182
|
-
additional_formats:
|
|
183
|
-
- requested_format: requested_format
|
|
184
|
-
file_extension: file_extension
|
|
185
|
-
content_type: content_type
|
|
186
|
-
is_base64_encoded: true
|
|
187
|
-
content: content
|
|
188
|
-
source:
|
|
189
|
-
openapi: openapi.json
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: ../../../__package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
list:
|
|
8
|
-
path: /v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots
|
|
9
|
-
method: GET
|
|
10
|
-
auth: false
|
|
11
|
-
docs: >-
|
|
12
|
-
Gets information about all the snapshots of a chapter. Each snapshot can
|
|
13
|
-
be downloaded as audio. Whenever a chapter is converted a snapshot will
|
|
14
|
-
automatically be created.
|
|
15
|
-
source:
|
|
16
|
-
openapi: openapi.json
|
|
17
|
-
path-parameters:
|
|
18
|
-
project_id:
|
|
19
|
-
type: string
|
|
20
|
-
docs: >-
|
|
21
|
-
The ID of the project to be used. You can use the [List
|
|
22
|
-
projects](/docs/api-reference/studio/get-projects) endpoint to list
|
|
23
|
-
all the available projects.
|
|
24
|
-
chapter_id:
|
|
25
|
-
type: string
|
|
26
|
-
docs: >-
|
|
27
|
-
The ID of the chapter to be used. You can use the [List project
|
|
28
|
-
chapters](/docs/api-reference/studio/get-chapters) endpoint to list
|
|
29
|
-
all the available chapters.
|
|
30
|
-
display-name: List Chapter Snapshots
|
|
31
|
-
response:
|
|
32
|
-
docs: Successful Response
|
|
33
|
-
type: root.ChapterSnapshotsResponse
|
|
34
|
-
status-code: 200
|
|
35
|
-
errors:
|
|
36
|
-
- root.UnprocessableEntityError
|
|
37
|
-
examples:
|
|
38
|
-
- path-parameters:
|
|
39
|
-
project_id: 21m00Tcm4TlvDq8ikWAM
|
|
40
|
-
chapter_id: 21m00Tcm4TlvDq8ikWAM
|
|
41
|
-
response:
|
|
42
|
-
body:
|
|
43
|
-
snapshots:
|
|
44
|
-
- chapter_snapshot_id: aw1NgEzBg83R7vgmiJt1
|
|
45
|
-
project_id: aw1NgEzBg83R7vgmiJt2
|
|
46
|
-
chapter_id: aw1NgEzBg83R7vgmiJt3
|
|
47
|
-
created_at_unix: 1714204800
|
|
48
|
-
name: My Chapter Snapshot
|
|
49
|
-
get:
|
|
50
|
-
path: >-
|
|
51
|
-
/v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}
|
|
52
|
-
method: GET
|
|
53
|
-
auth: false
|
|
54
|
-
docs: Returns the chapter snapshot.
|
|
55
|
-
source:
|
|
56
|
-
openapi: openapi.json
|
|
57
|
-
path-parameters:
|
|
58
|
-
project_id:
|
|
59
|
-
type: string
|
|
60
|
-
docs: The ID of the Studio project.
|
|
61
|
-
chapter_id:
|
|
62
|
-
type: string
|
|
63
|
-
docs: The ID of the chapter.
|
|
64
|
-
chapter_snapshot_id:
|
|
65
|
-
type: string
|
|
66
|
-
docs: The ID of the chapter snapshot.
|
|
67
|
-
display-name: Get Chapter Snapshot
|
|
68
|
-
response:
|
|
69
|
-
docs: Successful Response
|
|
70
|
-
type: root.ChapterSnapshotExtendedResponseModel
|
|
71
|
-
status-code: 200
|
|
72
|
-
errors:
|
|
73
|
-
- root.UnprocessableEntityError
|
|
74
|
-
examples:
|
|
75
|
-
- path-parameters:
|
|
76
|
-
project_id: 21m00Tcm4TlvDq8ikWAM
|
|
77
|
-
chapter_id: 21m00Tcm4TlvDq8ikWAM
|
|
78
|
-
chapter_snapshot_id: 21m00Tcm4TlvDq8ikWAM
|
|
79
|
-
response:
|
|
80
|
-
body:
|
|
81
|
-
chapter_snapshot_id: aw1NgEzBg83R7vgmiJt1
|
|
82
|
-
project_id: aw1NgEzBg83R7vgmiJt2
|
|
83
|
-
chapter_id: aw1NgEzBg83R7vgmiJt3
|
|
84
|
-
created_at_unix: 1714204800
|
|
85
|
-
name: My Chapter Snapshot
|
|
86
|
-
character_alignments:
|
|
87
|
-
- characters:
|
|
88
|
-
- characters
|
|
89
|
-
character_start_times_seconds:
|
|
90
|
-
- 1.1
|
|
91
|
-
character_end_times_seconds:
|
|
92
|
-
- 1.1
|
|
93
|
-
stream:
|
|
94
|
-
path: >-
|
|
95
|
-
/v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots/{chapter_snapshot_id}/stream
|
|
96
|
-
method: POST
|
|
97
|
-
auth: false
|
|
98
|
-
docs: >-
|
|
99
|
-
Stream the audio from a chapter snapshot. Use `GET
|
|
100
|
-
/v1/studio/projects/{project_id}/chapters/{chapter_id}/snapshots` to
|
|
101
|
-
return the snapshots of a chapter.
|
|
102
|
-
source:
|
|
103
|
-
openapi: openapi.json
|
|
104
|
-
path-parameters:
|
|
105
|
-
project_id:
|
|
106
|
-
type: string
|
|
107
|
-
docs: >-
|
|
108
|
-
The ID of the project to be used. You can use the [List
|
|
109
|
-
projects](/docs/api-reference/studio/get-projects) endpoint to list
|
|
110
|
-
all the available projects.
|
|
111
|
-
chapter_id:
|
|
112
|
-
type: string
|
|
113
|
-
docs: >-
|
|
114
|
-
The ID of the chapter to be used. You can use the [List project
|
|
115
|
-
chapters](/docs/api-reference/studio/get-chapters) endpoint to list
|
|
116
|
-
all the available chapters.
|
|
117
|
-
chapter_snapshot_id:
|
|
118
|
-
type: string
|
|
119
|
-
docs: >-
|
|
120
|
-
The ID of the chapter snapshot to be used. You can use the [List
|
|
121
|
-
project chapter snapshots](/docs/api-reference/studio/get-snapshots)
|
|
122
|
-
endpoint to list all the available snapshots.
|
|
123
|
-
display-name: Stream Chapter Audio
|
|
124
|
-
request:
|
|
125
|
-
name: >-
|
|
126
|
-
BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost
|
|
127
|
-
body:
|
|
128
|
-
properties:
|
|
129
|
-
convert_to_mpeg:
|
|
130
|
-
type: optional<boolean>
|
|
131
|
-
docs: Whether to convert the audio to mpeg format.
|
|
132
|
-
default: false
|
|
133
|
-
content-type: application/json
|
|
134
|
-
response:
|
|
135
|
-
docs: Streaming audio data
|
|
136
|
-
type: file
|
|
137
|
-
status-code: 200
|
|
138
|
-
errors:
|
|
139
|
-
- root.UnprocessableEntityError
|
|
140
|
-
source:
|
|
141
|
-
openapi: openapi.json
|