@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,270 +0,0 @@
|
|
|
1
|
-
types:
|
|
2
|
-
HistoryListRequestSource:
|
|
3
|
-
enum:
|
|
4
|
-
- TTS
|
|
5
|
-
- STS
|
|
6
|
-
source:
|
|
7
|
-
openapi: openapi.json
|
|
8
|
-
imports:
|
|
9
|
-
root: __package__.yml
|
|
10
|
-
service:
|
|
11
|
-
auth: false
|
|
12
|
-
base-path: ''
|
|
13
|
-
endpoints:
|
|
14
|
-
list:
|
|
15
|
-
path: /v1/history
|
|
16
|
-
method: GET
|
|
17
|
-
auth: false
|
|
18
|
-
docs: Returns a list of your generated audio.
|
|
19
|
-
source:
|
|
20
|
-
openapi: openapi.json
|
|
21
|
-
display-name: Get generated items
|
|
22
|
-
request:
|
|
23
|
-
name: HistoryListRequest
|
|
24
|
-
query-parameters:
|
|
25
|
-
page_size:
|
|
26
|
-
type: optional<integer>
|
|
27
|
-
default: 100
|
|
28
|
-
docs: >-
|
|
29
|
-
How many history items to return at maximum. Can not exceed 1000,
|
|
30
|
-
defaults to 100.
|
|
31
|
-
start_after_history_item_id:
|
|
32
|
-
type: optional<string>
|
|
33
|
-
docs: >-
|
|
34
|
-
After which ID to start fetching, use this parameter to paginate
|
|
35
|
-
across a large collection of history items. In case this parameter
|
|
36
|
-
is not provided history items will be fetched starting from the
|
|
37
|
-
most recently created one ordered descending by their creation
|
|
38
|
-
date.
|
|
39
|
-
voice_id:
|
|
40
|
-
type: optional<string>
|
|
41
|
-
docs: >-
|
|
42
|
-
ID of the voice to be filtered for. You can use the [Get
|
|
43
|
-
voices](/docs/api-reference/voices/search) endpoint list all the
|
|
44
|
-
available voices.
|
|
45
|
-
search:
|
|
46
|
-
type: optional<string>
|
|
47
|
-
docs: >-
|
|
48
|
-
Search term used for filtering history items. If provided, source
|
|
49
|
-
becomes required.
|
|
50
|
-
source:
|
|
51
|
-
type: optional<HistoryListRequestSource>
|
|
52
|
-
docs: Source of the generated history item
|
|
53
|
-
response:
|
|
54
|
-
docs: Successful Response
|
|
55
|
-
type: root.GetSpeechHistoryResponse
|
|
56
|
-
status-code: 200
|
|
57
|
-
errors:
|
|
58
|
-
- root.UnprocessableEntityError
|
|
59
|
-
examples:
|
|
60
|
-
- response:
|
|
61
|
-
body:
|
|
62
|
-
history:
|
|
63
|
-
- history_item_id: ja9xsmfGhxYcymxGcOGB
|
|
64
|
-
request_id: BF0BZg4IwLGBlaVjv9Im
|
|
65
|
-
voice_id: 21m00Tcm4TlvDq8ikWAM
|
|
66
|
-
model_id: eleven_multilingual_v2
|
|
67
|
-
voice_name: Rachel
|
|
68
|
-
voice_category: premade
|
|
69
|
-
text: Hello, world!
|
|
70
|
-
date_unix: 1714650306
|
|
71
|
-
character_count_change_from: 17189
|
|
72
|
-
character_count_change_to: 17231
|
|
73
|
-
content_type: audio/mpeg
|
|
74
|
-
state: created
|
|
75
|
-
settings:
|
|
76
|
-
similarity_boost: 0.5
|
|
77
|
-
stability: 0.71
|
|
78
|
-
style: 0
|
|
79
|
-
use_speaker_boost: true
|
|
80
|
-
feedback:
|
|
81
|
-
thumbs_up: true
|
|
82
|
-
feedback: This is an example of test feedback.
|
|
83
|
-
emotions: true
|
|
84
|
-
inaccurate_clone: false
|
|
85
|
-
glitches: true
|
|
86
|
-
audio_quality: true
|
|
87
|
-
other: false
|
|
88
|
-
review_status: not_reviewed
|
|
89
|
-
share_link_id: share_link_id
|
|
90
|
-
source: TTS
|
|
91
|
-
alignments:
|
|
92
|
-
alignment:
|
|
93
|
-
characters:
|
|
94
|
-
- characters
|
|
95
|
-
character_start_times_seconds:
|
|
96
|
-
- 1.1
|
|
97
|
-
character_end_times_seconds:
|
|
98
|
-
- 1.1
|
|
99
|
-
normalized_alignment:
|
|
100
|
-
characters:
|
|
101
|
-
- characters
|
|
102
|
-
character_start_times_seconds:
|
|
103
|
-
- 1.1
|
|
104
|
-
character_end_times_seconds:
|
|
105
|
-
- 1.1
|
|
106
|
-
dialogue:
|
|
107
|
-
- text: text
|
|
108
|
-
voice_id: voice_id
|
|
109
|
-
voice_name: voice_name
|
|
110
|
-
last_history_item_id: ja9xsmfGhxYcymxGcOGB
|
|
111
|
-
has_more: true
|
|
112
|
-
get:
|
|
113
|
-
path: /v1/history/{history_item_id}
|
|
114
|
-
method: GET
|
|
115
|
-
auth: false
|
|
116
|
-
docs: Retrieves a history item.
|
|
117
|
-
source:
|
|
118
|
-
openapi: openapi.json
|
|
119
|
-
path-parameters:
|
|
120
|
-
history_item_id:
|
|
121
|
-
type: string
|
|
122
|
-
docs: >-
|
|
123
|
-
ID of the history item to be used. You can use the [Get generated
|
|
124
|
-
items](/docs/api-reference/history/get-all) endpoint to retrieve a
|
|
125
|
-
list of history items.
|
|
126
|
-
display-name: Get history item
|
|
127
|
-
response:
|
|
128
|
-
docs: Successful Response
|
|
129
|
-
type: root.SpeechHistoryItemResponse
|
|
130
|
-
status-code: 200
|
|
131
|
-
errors:
|
|
132
|
-
- root.UnprocessableEntityError
|
|
133
|
-
examples:
|
|
134
|
-
- path-parameters:
|
|
135
|
-
history_item_id: VW7YKqPnjY4h39yTbx2L
|
|
136
|
-
response:
|
|
137
|
-
body:
|
|
138
|
-
history_item_id: ja9xsmfGhxYcymxGcOGB
|
|
139
|
-
request_id: BF0BZg4IwLGBlaVjv9Im
|
|
140
|
-
voice_id: 21m00Tcm4TlvDq8ikWAM
|
|
141
|
-
model_id: eleven_multilingual_v2
|
|
142
|
-
voice_name: Rachel
|
|
143
|
-
voice_category: premade
|
|
144
|
-
text: Hello, world!
|
|
145
|
-
date_unix: 1714650306
|
|
146
|
-
character_count_change_from: 17189
|
|
147
|
-
character_count_change_to: 17231
|
|
148
|
-
content_type: audio/mpeg
|
|
149
|
-
state: created
|
|
150
|
-
settings:
|
|
151
|
-
similarity_boost: 0.5
|
|
152
|
-
stability: 0.71
|
|
153
|
-
style: 0
|
|
154
|
-
use_speaker_boost: true
|
|
155
|
-
feedback:
|
|
156
|
-
thumbs_up: true
|
|
157
|
-
feedback: This is an example of test feedback.
|
|
158
|
-
emotions: true
|
|
159
|
-
inaccurate_clone: false
|
|
160
|
-
glitches: true
|
|
161
|
-
audio_quality: true
|
|
162
|
-
other: false
|
|
163
|
-
review_status: not_reviewed
|
|
164
|
-
share_link_id: share_link_id
|
|
165
|
-
source: TTS
|
|
166
|
-
alignments:
|
|
167
|
-
alignment:
|
|
168
|
-
characters:
|
|
169
|
-
- characters
|
|
170
|
-
character_start_times_seconds:
|
|
171
|
-
- 1.1
|
|
172
|
-
character_end_times_seconds:
|
|
173
|
-
- 1.1
|
|
174
|
-
normalized_alignment:
|
|
175
|
-
characters:
|
|
176
|
-
- characters
|
|
177
|
-
character_start_times_seconds:
|
|
178
|
-
- 1.1
|
|
179
|
-
character_end_times_seconds:
|
|
180
|
-
- 1.1
|
|
181
|
-
dialogue:
|
|
182
|
-
- text: text
|
|
183
|
-
voice_id: voice_id
|
|
184
|
-
voice_name: voice_name
|
|
185
|
-
delete:
|
|
186
|
-
path: /v1/history/{history_item_id}
|
|
187
|
-
method: DELETE
|
|
188
|
-
auth: false
|
|
189
|
-
docs: Delete a history item by its ID
|
|
190
|
-
source:
|
|
191
|
-
openapi: openapi.json
|
|
192
|
-
path-parameters:
|
|
193
|
-
history_item_id:
|
|
194
|
-
type: string
|
|
195
|
-
docs: >-
|
|
196
|
-
ID of the history item to be used. You can use the [Get generated
|
|
197
|
-
items](/docs/api-reference/history/get-all) endpoint to retrieve a
|
|
198
|
-
list of history items.
|
|
199
|
-
display-name: Delete history item
|
|
200
|
-
response:
|
|
201
|
-
docs: Successful Response
|
|
202
|
-
type: root.DeleteHistoryItemResponse
|
|
203
|
-
status-code: 200
|
|
204
|
-
errors:
|
|
205
|
-
- root.UnprocessableEntityError
|
|
206
|
-
examples:
|
|
207
|
-
- path-parameters:
|
|
208
|
-
history_item_id: VW7YKqPnjY4h39yTbx2L
|
|
209
|
-
response:
|
|
210
|
-
body:
|
|
211
|
-
status: ok
|
|
212
|
-
get_audio:
|
|
213
|
-
path: /v1/history/{history_item_id}/audio
|
|
214
|
-
method: GET
|
|
215
|
-
auth: false
|
|
216
|
-
docs: Returns the audio of an history item.
|
|
217
|
-
source:
|
|
218
|
-
openapi: openapi.json
|
|
219
|
-
path-parameters:
|
|
220
|
-
history_item_id:
|
|
221
|
-
type: string
|
|
222
|
-
docs: >-
|
|
223
|
-
ID of the history item to be used. You can use the [Get generated
|
|
224
|
-
items](/docs/api-reference/history/get-all) endpoint to retrieve a
|
|
225
|
-
list of history items.
|
|
226
|
-
display-name: Get audio from history item
|
|
227
|
-
response:
|
|
228
|
-
docs: The audio file of the history item.
|
|
229
|
-
type: file
|
|
230
|
-
status-code: 200
|
|
231
|
-
errors:
|
|
232
|
-
- root.UnprocessableEntityError
|
|
233
|
-
download:
|
|
234
|
-
path: /v1/history/download
|
|
235
|
-
method: POST
|
|
236
|
-
auth: false
|
|
237
|
-
docs: >-
|
|
238
|
-
Download one or more history items. If one history item ID is provided,
|
|
239
|
-
we will return a single audio file. If more than one history item IDs
|
|
240
|
-
are provided, we will provide the history items packed into a .zip file.
|
|
241
|
-
source:
|
|
242
|
-
openapi: openapi.json
|
|
243
|
-
display-name: Download history items
|
|
244
|
-
request:
|
|
245
|
-
name: DownloadHistoryRequest
|
|
246
|
-
body:
|
|
247
|
-
properties:
|
|
248
|
-
history_item_ids:
|
|
249
|
-
docs: >-
|
|
250
|
-
A list of history items to download, you can get IDs of history
|
|
251
|
-
items and other metadata using the GET
|
|
252
|
-
https://api.elevenlabs.io/v1/history endpoint.
|
|
253
|
-
type: list<string>
|
|
254
|
-
output_format:
|
|
255
|
-
type: optional<string>
|
|
256
|
-
docs: >-
|
|
257
|
-
Output format to transcode the audio file, can be wav or
|
|
258
|
-
default.
|
|
259
|
-
content-type: application/json
|
|
260
|
-
response:
|
|
261
|
-
docs: >-
|
|
262
|
-
The requested audio file, or a zip file containing multiple audio
|
|
263
|
-
files when multiple history items are requested.
|
|
264
|
-
type: file
|
|
265
|
-
status-code: 200
|
|
266
|
-
errors:
|
|
267
|
-
- root.BadRequestError
|
|
268
|
-
- root.UnprocessableEntityError
|
|
269
|
-
source:
|
|
270
|
-
openapi: openapi.json
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
list:
|
|
8
|
-
path: /v1/models
|
|
9
|
-
method: GET
|
|
10
|
-
auth: false
|
|
11
|
-
docs: Gets a list of available models.
|
|
12
|
-
source:
|
|
13
|
-
openapi: openapi.json
|
|
14
|
-
display-name: List models
|
|
15
|
-
response:
|
|
16
|
-
docs: Successful Response
|
|
17
|
-
type: list<root.Model>
|
|
18
|
-
status-code: 200
|
|
19
|
-
errors:
|
|
20
|
-
- root.UnprocessableEntityError
|
|
21
|
-
examples:
|
|
22
|
-
- response:
|
|
23
|
-
body:
|
|
24
|
-
- model_id: eleven_multilingual_v2
|
|
25
|
-
name: Eleven Multilingual v2
|
|
26
|
-
can_be_finetuned: true
|
|
27
|
-
can_do_text_to_speech: true
|
|
28
|
-
can_do_voice_conversion: true
|
|
29
|
-
can_use_style: true
|
|
30
|
-
can_use_speaker_boost: true
|
|
31
|
-
serves_pro_voices: false
|
|
32
|
-
token_cost_factor: 1
|
|
33
|
-
description: >-
|
|
34
|
-
Our state of the art multilingual speech synthesis model, able
|
|
35
|
-
to generate life-like speech in 29 languages.
|
|
36
|
-
requires_alpha_access: false
|
|
37
|
-
max_characters_request_free_user: 2500
|
|
38
|
-
max_characters_request_subscribed_user: 5000
|
|
39
|
-
maximum_text_length_per_request: 1000000
|
|
40
|
-
languages:
|
|
41
|
-
- language_id: en
|
|
42
|
-
name: English
|
|
43
|
-
model_rates:
|
|
44
|
-
character_cost_multiplier: 1
|
|
45
|
-
concurrency_group: standard
|
|
46
|
-
source:
|
|
47
|
-
openapi: openapi.json
|
|
48
|
-
display-name: Models
|
|
49
|
-
docs: Access the different models of the platform.
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: ../__package__.yml
|
|
3
|
-
types:
|
|
4
|
-
PronunciationDictionaryRule:
|
|
5
|
-
discriminant: type
|
|
6
|
-
base-properties: {}
|
|
7
|
-
union:
|
|
8
|
-
alias:
|
|
9
|
-
type: root.PronunciationDictionaryAliasRuleRequestModel
|
|
10
|
-
phoneme:
|
|
11
|
-
type: root.PronunciationDictionaryPhonemeRuleRequestModel
|
|
12
|
-
source:
|
|
13
|
-
openapi: openapi.json
|
|
14
|
-
service:
|
|
15
|
-
auth: false
|
|
16
|
-
base-path: ''
|
|
17
|
-
endpoints:
|
|
18
|
-
add:
|
|
19
|
-
path: /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/add-rules
|
|
20
|
-
method: POST
|
|
21
|
-
auth: false
|
|
22
|
-
docs: Add rules to the pronunciation dictionary
|
|
23
|
-
source:
|
|
24
|
-
openapi: openapi.json
|
|
25
|
-
path-parameters:
|
|
26
|
-
pronunciation_dictionary_id:
|
|
27
|
-
type: string
|
|
28
|
-
docs: The id of the pronunciation dictionary
|
|
29
|
-
display-name: Add pronunciation dictionary rules
|
|
30
|
-
request:
|
|
31
|
-
name: PronunciationDictionary
|
|
32
|
-
body:
|
|
33
|
-
properties:
|
|
34
|
-
rules:
|
|
35
|
-
docs: |-
|
|
36
|
-
List of pronunciation rules. Rule can be either:
|
|
37
|
-
an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', }
|
|
38
|
-
or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' }
|
|
39
|
-
type: list<PronunciationDictionaryRule>
|
|
40
|
-
content-type: application/json
|
|
41
|
-
response:
|
|
42
|
-
docs: Successful Response
|
|
43
|
-
type: root.PronunciationDictionaryRulesResponseModel
|
|
44
|
-
status-code: 200
|
|
45
|
-
errors:
|
|
46
|
-
- root.UnprocessableEntityError
|
|
47
|
-
examples:
|
|
48
|
-
- path-parameters:
|
|
49
|
-
pronunciation_dictionary_id: 21m00Tcm4TlvDq8ikWAM
|
|
50
|
-
request:
|
|
51
|
-
rules:
|
|
52
|
-
- string_to_replace: Thailand
|
|
53
|
-
alias: tie-land
|
|
54
|
-
type: alias
|
|
55
|
-
response:
|
|
56
|
-
body:
|
|
57
|
-
id: 5xM3yVvZQKV0EfqQpLrJ
|
|
58
|
-
version_id: 5xM3yVvZQKV0EfqQpLr2
|
|
59
|
-
version_rules_num: 1
|
|
60
|
-
remove:
|
|
61
|
-
path: >-
|
|
62
|
-
/v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/remove-rules
|
|
63
|
-
method: POST
|
|
64
|
-
auth: false
|
|
65
|
-
docs: Remove rules from the pronunciation dictionary
|
|
66
|
-
source:
|
|
67
|
-
openapi: openapi.json
|
|
68
|
-
path-parameters:
|
|
69
|
-
pronunciation_dictionary_id:
|
|
70
|
-
type: string
|
|
71
|
-
docs: The id of the pronunciation dictionary
|
|
72
|
-
display-name: Remove pronunciation dictionary rules
|
|
73
|
-
request:
|
|
74
|
-
name: RemovePronunciationDictionaryRulesRequest
|
|
75
|
-
body:
|
|
76
|
-
properties:
|
|
77
|
-
rule_strings:
|
|
78
|
-
docs: List of strings to remove from the pronunciation dictionary.
|
|
79
|
-
type: list<string>
|
|
80
|
-
content-type: application/json
|
|
81
|
-
response:
|
|
82
|
-
docs: Successful Response
|
|
83
|
-
type: root.PronunciationDictionaryRulesResponseModel
|
|
84
|
-
status-code: 200
|
|
85
|
-
errors:
|
|
86
|
-
- root.UnprocessableEntityError
|
|
87
|
-
examples:
|
|
88
|
-
- path-parameters:
|
|
89
|
-
pronunciation_dictionary_id: 21m00Tcm4TlvDq8ikWAM
|
|
90
|
-
request:
|
|
91
|
-
rule_strings:
|
|
92
|
-
- rule_strings
|
|
93
|
-
response:
|
|
94
|
-
body:
|
|
95
|
-
id: 5xM3yVvZQKV0EfqQpLrJ
|
|
96
|
-
version_id: 5xM3yVvZQKV0EfqQpLr2
|
|
97
|
-
version_rules_num: 1
|
|
98
|
-
source:
|
|
99
|
-
openapi: openapi.json
|
|
@@ -1,262 +0,0 @@
|
|
|
1
|
-
types:
|
|
2
|
-
PronunciationDictionariesCreateFromFileRequestWorkspaceAccess:
|
|
3
|
-
enum:
|
|
4
|
-
- admin
|
|
5
|
-
- editor
|
|
6
|
-
- viewer
|
|
7
|
-
inline: true
|
|
8
|
-
source:
|
|
9
|
-
openapi: openapi.json
|
|
10
|
-
BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem:
|
|
11
|
-
discriminant: type
|
|
12
|
-
base-properties: {}
|
|
13
|
-
union:
|
|
14
|
-
alias:
|
|
15
|
-
type: root.PronunciationDictionaryAliasRuleRequestModel
|
|
16
|
-
phoneme:
|
|
17
|
-
type: root.PronunciationDictionaryPhonemeRuleRequestModel
|
|
18
|
-
source:
|
|
19
|
-
openapi: openapi.json
|
|
20
|
-
BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess:
|
|
21
|
-
enum:
|
|
22
|
-
- admin
|
|
23
|
-
- editor
|
|
24
|
-
- viewer
|
|
25
|
-
inline: true
|
|
26
|
-
source:
|
|
27
|
-
openapi: openapi.json
|
|
28
|
-
PronunciationDictionariesListRequestSort:
|
|
29
|
-
enum:
|
|
30
|
-
- creation_time_unix
|
|
31
|
-
- name
|
|
32
|
-
source:
|
|
33
|
-
openapi: openapi.json
|
|
34
|
-
imports:
|
|
35
|
-
root: __package__.yml
|
|
36
|
-
service:
|
|
37
|
-
auth: false
|
|
38
|
-
base-path: ''
|
|
39
|
-
endpoints:
|
|
40
|
-
create_from_file:
|
|
41
|
-
path: /v1/pronunciation-dictionaries/add-from-file
|
|
42
|
-
method: POST
|
|
43
|
-
auth: false
|
|
44
|
-
docs: Creates a new pronunciation dictionary from a lexicon .PLS file
|
|
45
|
-
source:
|
|
46
|
-
openapi: openapi.json
|
|
47
|
-
display-name: Create a pronunciation dictionary from a file
|
|
48
|
-
request:
|
|
49
|
-
name: >-
|
|
50
|
-
Body_Add_a_pronunciation_dictionary_v1_pronunciation_dictionaries_add_from_file_post
|
|
51
|
-
body:
|
|
52
|
-
properties:
|
|
53
|
-
name:
|
|
54
|
-
type: string
|
|
55
|
-
docs: >-
|
|
56
|
-
The name of the pronunciation dictionary, used for
|
|
57
|
-
identification only.
|
|
58
|
-
file:
|
|
59
|
-
type: optional<file>
|
|
60
|
-
docs: >-
|
|
61
|
-
A lexicon .pls file which we will use to initialize the project
|
|
62
|
-
with.
|
|
63
|
-
description:
|
|
64
|
-
type: optional<string>
|
|
65
|
-
docs: >-
|
|
66
|
-
A description of the pronunciation dictionary, used for
|
|
67
|
-
identification only.
|
|
68
|
-
workspace_access:
|
|
69
|
-
type: >-
|
|
70
|
-
optional<PronunciationDictionariesCreateFromFileRequestWorkspaceAccess>
|
|
71
|
-
docs: >-
|
|
72
|
-
Should be one of 'admin', 'editor' or 'viewer'. If not provided,
|
|
73
|
-
defaults to no access.
|
|
74
|
-
content-type: multipart/form-data
|
|
75
|
-
response:
|
|
76
|
-
docs: Successful Response
|
|
77
|
-
type: root.AddPronunciationDictionaryResponseModel
|
|
78
|
-
status-code: 200
|
|
79
|
-
errors:
|
|
80
|
-
- root.UnprocessableEntityError
|
|
81
|
-
examples:
|
|
82
|
-
- request:
|
|
83
|
-
name: name
|
|
84
|
-
response:
|
|
85
|
-
body:
|
|
86
|
-
id: 5xM3yVvZQKV0EfqQpLrJ
|
|
87
|
-
name: My Dictionary
|
|
88
|
-
created_by: ar6633Es2kUjFXBdR1iVc9ztsXl1
|
|
89
|
-
creation_time_unix: 1714156800
|
|
90
|
-
version_id: 5xM3yVvZQKV0EfqQpLrJ
|
|
91
|
-
version_rules_num: 1
|
|
92
|
-
description: This is a test dictionary
|
|
93
|
-
permission_on_resource: admin
|
|
94
|
-
create_from_rules:
|
|
95
|
-
path: /v1/pronunciation-dictionaries/add-from-rules
|
|
96
|
-
method: POST
|
|
97
|
-
auth: false
|
|
98
|
-
docs: Creates a new pronunciation dictionary from provided rules.
|
|
99
|
-
source:
|
|
100
|
-
openapi: openapi.json
|
|
101
|
-
display-name: Create a pronunciation dictionary from rules
|
|
102
|
-
request:
|
|
103
|
-
name: >-
|
|
104
|
-
BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost
|
|
105
|
-
body:
|
|
106
|
-
properties:
|
|
107
|
-
rules:
|
|
108
|
-
docs: |-
|
|
109
|
-
List of pronunciation rules. Rule can be either:
|
|
110
|
-
an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', }
|
|
111
|
-
or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' }
|
|
112
|
-
type: >-
|
|
113
|
-
list<BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem>
|
|
114
|
-
name:
|
|
115
|
-
type: string
|
|
116
|
-
docs: >-
|
|
117
|
-
The name of the pronunciation dictionary, used for
|
|
118
|
-
identification only.
|
|
119
|
-
description:
|
|
120
|
-
type: optional<string>
|
|
121
|
-
docs: >-
|
|
122
|
-
A description of the pronunciation dictionary, used for
|
|
123
|
-
identification only.
|
|
124
|
-
workspace_access:
|
|
125
|
-
type: >-
|
|
126
|
-
optional<BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess>
|
|
127
|
-
docs: >-
|
|
128
|
-
Should be one of 'admin', 'editor' or 'viewer'. If not provided,
|
|
129
|
-
defaults to no access.
|
|
130
|
-
content-type: application/json
|
|
131
|
-
response:
|
|
132
|
-
docs: Successful Response
|
|
133
|
-
type: root.AddPronunciationDictionaryResponseModel
|
|
134
|
-
status-code: 200
|
|
135
|
-
errors:
|
|
136
|
-
- root.UnprocessableEntityError
|
|
137
|
-
examples:
|
|
138
|
-
- request:
|
|
139
|
-
rules:
|
|
140
|
-
- string_to_replace: Thailand
|
|
141
|
-
alias: tie-land
|
|
142
|
-
type: alias
|
|
143
|
-
name: My Dictionary
|
|
144
|
-
response:
|
|
145
|
-
body:
|
|
146
|
-
id: 5xM3yVvZQKV0EfqQpLrJ
|
|
147
|
-
name: My Dictionary
|
|
148
|
-
created_by: ar6633Es2kUjFXBdR1iVc9ztsXl1
|
|
149
|
-
creation_time_unix: 1714156800
|
|
150
|
-
version_id: 5xM3yVvZQKV0EfqQpLrJ
|
|
151
|
-
version_rules_num: 1
|
|
152
|
-
description: This is a test dictionary
|
|
153
|
-
permission_on_resource: admin
|
|
154
|
-
download:
|
|
155
|
-
path: /v1/pronunciation-dictionaries/{dictionary_id}/{version_id}/download
|
|
156
|
-
method: GET
|
|
157
|
-
auth: false
|
|
158
|
-
docs: Get a PLS file with a pronunciation dictionary version rules
|
|
159
|
-
source:
|
|
160
|
-
openapi: openapi.json
|
|
161
|
-
path-parameters:
|
|
162
|
-
dictionary_id:
|
|
163
|
-
type: string
|
|
164
|
-
docs: The id of the pronunciation dictionary
|
|
165
|
-
version_id:
|
|
166
|
-
type: string
|
|
167
|
-
docs: The id of the version of the pronunciation dictionary
|
|
168
|
-
display-name: Get pronunciation dictionary by version
|
|
169
|
-
response:
|
|
170
|
-
docs: The PLS file containing pronunciation dictionary rules
|
|
171
|
-
type: file
|
|
172
|
-
status-code: 200
|
|
173
|
-
errors:
|
|
174
|
-
- root.UnprocessableEntityError
|
|
175
|
-
get:
|
|
176
|
-
path: /v1/pronunciation-dictionaries/{pronunciation_dictionary_id}/
|
|
177
|
-
method: GET
|
|
178
|
-
auth: false
|
|
179
|
-
docs: Get metadata for a pronunciation dictionary
|
|
180
|
-
source:
|
|
181
|
-
openapi: openapi.json
|
|
182
|
-
path-parameters:
|
|
183
|
-
pronunciation_dictionary_id:
|
|
184
|
-
type: string
|
|
185
|
-
docs: The id of the pronunciation dictionary
|
|
186
|
-
display-name: Get pronunciation dictionary
|
|
187
|
-
response:
|
|
188
|
-
docs: Successful Response
|
|
189
|
-
type: root.GetPronunciationDictionaryMetadataResponse
|
|
190
|
-
status-code: 200
|
|
191
|
-
errors:
|
|
192
|
-
- root.UnprocessableEntityError
|
|
193
|
-
examples:
|
|
194
|
-
- path-parameters:
|
|
195
|
-
pronunciation_dictionary_id: 21m00Tcm4TlvDq8ikWAM
|
|
196
|
-
response:
|
|
197
|
-
body:
|
|
198
|
-
id: 5xM3yVvZQKV0EfqQpLrJ
|
|
199
|
-
latest_version_id: 5xM3yVvZQKV0EfqQpLr2
|
|
200
|
-
latest_version_rules_num: 2
|
|
201
|
-
name: My Dictionary
|
|
202
|
-
permission_on_resource: admin
|
|
203
|
-
created_by: ar6633Es2kUjFXBdR1iVc9ztsXl1
|
|
204
|
-
creation_time_unix: 1714156800
|
|
205
|
-
archived_time_unix: 1
|
|
206
|
-
description: This is a test dictionary
|
|
207
|
-
list:
|
|
208
|
-
path: /v1/pronunciation-dictionaries/
|
|
209
|
-
method: GET
|
|
210
|
-
auth: false
|
|
211
|
-
docs: >-
|
|
212
|
-
Get a list of the pronunciation dictionaries you have access to and
|
|
213
|
-
their metadata
|
|
214
|
-
source:
|
|
215
|
-
openapi: openapi.json
|
|
216
|
-
display-name: List pronunciation dictionaries
|
|
217
|
-
request:
|
|
218
|
-
name: PronunciationDictionariesListRequest
|
|
219
|
-
query-parameters:
|
|
220
|
-
cursor:
|
|
221
|
-
type: optional<string>
|
|
222
|
-
docs: Used for fetching next page. Cursor is returned in the response.
|
|
223
|
-
page_size:
|
|
224
|
-
type: optional<integer>
|
|
225
|
-
default: 30
|
|
226
|
-
docs: >-
|
|
227
|
-
How many pronunciation dictionaries to return at maximum. Can not
|
|
228
|
-
exceed 100, defaults to 30.
|
|
229
|
-
validation:
|
|
230
|
-
min: 1
|
|
231
|
-
max: 100
|
|
232
|
-
sort:
|
|
233
|
-
type: optional<PronunciationDictionariesListRequestSort>
|
|
234
|
-
docs: Which field to sort by, one of 'created_at_unix' or 'name'.
|
|
235
|
-
sort_direction:
|
|
236
|
-
type: optional<string>
|
|
237
|
-
docs: >-
|
|
238
|
-
Which direction to sort the voices in. 'ascending' or
|
|
239
|
-
'descending'.
|
|
240
|
-
response:
|
|
241
|
-
docs: Successful Response
|
|
242
|
-
type: root.GetPronunciationDictionariesMetadataResponseModel
|
|
243
|
-
status-code: 200
|
|
244
|
-
errors:
|
|
245
|
-
- root.UnprocessableEntityError
|
|
246
|
-
examples:
|
|
247
|
-
- response:
|
|
248
|
-
body:
|
|
249
|
-
pronunciation_dictionaries:
|
|
250
|
-
- id: 5xM3yVvZQKV0EfqQpLrJ
|
|
251
|
-
latest_version_id: 5xM3yVvZQKV0EfqQpLr2
|
|
252
|
-
latest_version_rules_num: 2
|
|
253
|
-
name: My Dictionary
|
|
254
|
-
permission_on_resource: admin
|
|
255
|
-
created_by: ar6633Es2kUjFXBdR1iVc9ztsXl1
|
|
256
|
-
creation_time_unix: 1714156800
|
|
257
|
-
archived_time_unix: 1
|
|
258
|
-
description: This is a test dictionary
|
|
259
|
-
next_cursor: 5xM3yVvZQKV0EfqQpLr2
|
|
260
|
-
has_more: false
|
|
261
|
-
source:
|
|
262
|
-
openapi: openapi.json
|