@elevenlabs/elevenlabs-js 2.16.0 → 2.17.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.js +2 -2
- package/api/resources/conversationalAi/client/Client.d.ts +3 -1
- package/api/resources/conversationalAi/client/Client.js +3 -1
- package/api/resources/conversationalAi/client/requests/BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost.d.ts +3 -1
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +7 -1
- package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
- 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 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +3 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +4 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +4 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +14 -3
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +14 -3
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +10 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +9 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +9 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +9 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +10 -3
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +10 -3
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +4 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetRequest.d.ts +3 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/client/Client.d.ts +5 -1
- package/api/resources/conversationalAi/resources/tests/client/Client.js +5 -1
- package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +5 -1
- package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +17 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +84 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +25 -0
- package/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +4 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.js +4 -1
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +4 -1
- package/api/resources/dubbing/client/Client.d.ts +8 -1
- package/api/resources/dubbing/client/Client.js +9 -2
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +3 -2
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +8 -1
- package/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +11 -0
- package/api/resources/dubbing/types/DubbingCreateRequestMode.js +10 -0
- package/api/resources/dubbing/types/index.d.ts +1 -0
- package/api/resources/dubbing/types/index.js +1 -0
- package/api/resources/history/client/Client.d.ts +11 -1
- package/api/resources/history/client/Client.js +11 -1
- package/api/resources/history/client/requests/HistoryListRequest.d.ts +11 -1
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +7 -4
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -1
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +4 -1
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +6 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +6 -1
- package/api/resources/pronunciationDictionaries/client/requests/PronunciationDictionariesListRequest.d.ts +6 -1
- package/api/resources/speechToText/client/Client.d.ts +1 -0
- package/api/resources/speechToText/client/Client.js +1 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +8 -0
- package/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
- package/api/resources/studio/resources/projects/client/Client.js +3 -1
- package/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +3 -1
- package/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
- package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js} +3 -2
- package/api/resources/studio/types/index.d.ts +1 -0
- package/api/resources/studio/types/index.js +1 -0
- package/api/resources/textToSpeech/client/Client.d.ts +4 -1
- package/api/resources/textToSpeech/client/Client.js +4 -1
- package/api/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +4 -2
- package/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +5 -0
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +2 -0
- package/api/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/api/resources/textToSpeech/types/{BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts → BodyTextToSpeechFullApplyTextNormalization.d.ts} +2 -2
- package/api/resources/textToSpeech/types/{BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → BodyTextToSpeechFullApplyTextNormalization.js} +2 -2
- package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts → api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts} +2 -2
- package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js} +2 -2
- package/api/resources/textToSpeech/types/index.d.ts +2 -2
- package/api/resources/textToSpeech/types/index.js +2 -2
- package/api/resources/textToVoice/client/Client.d.ts +3 -0
- package/api/resources/textToVoice/client/Client.js +3 -0
- package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
- package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -0
- package/api/resources/usage/client/Client.d.ts +6 -1
- package/api/resources/usage/client/Client.js +6 -1
- package/api/resources/usage/client/requests/UsageGetRequest.d.ts +6 -1
- package/api/resources/voices/client/Client.d.ts +30 -3
- package/api/resources/voices/client/Client.js +30 -3
- package/api/resources/voices/client/requests/VoicesGetAllRequest.d.ts +3 -1
- package/api/resources/voices/client/requests/VoicesGetRequest.d.ts +3 -1
- package/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +15 -1
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +9 -0
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.d.ts +2 -0
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/api/types/AstAndOperatorNode.d.ts +7 -0
- package/api/types/AstAndOperatorNode.js +5 -0
- package/api/types/AstAndOperatorNodeChildrenItem.d.ts +46 -0
- package/api/types/AstAndOperatorNodeChildrenItem.js +5 -0
- package/api/types/AstBooleanNode.d.ts +6 -0
- package/api/types/AstBooleanNode.js +5 -0
- package/api/types/AstDynamicVariableNode.d.ts +6 -0
- package/api/types/AstDynamicVariableNode.js +5 -0
- package/api/types/AstEqualsOperatorNode.d.ts +8 -0
- package/api/types/AstEqualsOperatorNode.js +5 -0
- package/api/types/AstEqualsOperatorNodeLeft.d.ts +46 -0
- package/api/types/AstEqualsOperatorNodeLeft.js +5 -0
- package/api/types/AstEqualsOperatorNodeRight.d.ts +46 -0
- package/api/types/AstEqualsOperatorNodeRight.js +5 -0
- package/api/types/AstGreaterThanOperatorNode.d.ts +8 -0
- package/api/types/AstGreaterThanOperatorNode.js +5 -0
- package/api/types/AstGreaterThanOperatorNodeLeft.d.ts +46 -0
- package/api/types/AstGreaterThanOperatorNodeLeft.js +5 -0
- package/api/types/AstGreaterThanOperatorNodeRight.d.ts +46 -0
- package/api/types/AstGreaterThanOperatorNodeRight.js +5 -0
- package/api/types/AstGreaterThanOrEqualsOperatorNode.d.ts +8 -0
- package/api/types/AstGreaterThanOrEqualsOperatorNode.js +5 -0
- package/api/types/AstGreaterThanOrEqualsOperatorNodeLeft.d.ts +46 -0
- package/api/types/AstGreaterThanOrEqualsOperatorNodeLeft.js +5 -0
- package/api/types/AstGreaterThanOrEqualsOperatorNodeRight.d.ts +46 -0
- package/api/types/AstGreaterThanOrEqualsOperatorNodeRight.js +5 -0
- package/api/types/AstLessThanOperatorNode.d.ts +8 -0
- package/api/types/AstLessThanOperatorNode.js +5 -0
- package/api/types/AstLessThanOperatorNodeLeft.d.ts +46 -0
- package/api/types/AstLessThanOperatorNodeLeft.js +5 -0
- package/api/types/AstLessThanOperatorNodeRight.d.ts +46 -0
- package/api/types/AstLessThanOperatorNodeRight.js +5 -0
- package/api/types/AstLessThanOrEqualsOperatorNode.d.ts +8 -0
- package/api/types/AstLessThanOrEqualsOperatorNode.js +5 -0
- package/api/types/AstLessThanOrEqualsOperatorNodeLeft.d.ts +46 -0
- package/api/types/AstLessThanOrEqualsOperatorNodeLeft.js +5 -0
- package/api/types/AstLessThanOrEqualsOperatorNodeRight.d.ts +46 -0
- package/api/types/AstLessThanOrEqualsOperatorNodeRight.js +5 -0
- package/api/types/AstNotEqualsOperatorNode.d.ts +8 -0
- package/api/types/AstNotEqualsOperatorNode.js +5 -0
- package/api/types/AstNotEqualsOperatorNodeLeft.d.ts +46 -0
- package/api/types/AstNotEqualsOperatorNodeLeft.js +5 -0
- package/api/types/AstNotEqualsOperatorNodeRight.d.ts +46 -0
- package/api/types/AstNotEqualsOperatorNodeRight.js +5 -0
- package/api/types/AstNumberNode.d.ts +6 -0
- package/api/types/AstNumberNode.js +5 -0
- package/api/types/AstOrOperatorNode.d.ts +7 -0
- package/api/types/AstOrOperatorNode.js +5 -0
- package/api/types/AstOrOperatorNodeChildrenItem.d.ts +46 -0
- package/api/types/AstOrOperatorNodeChildrenItem.js +5 -0
- package/api/types/AstStringNode.d.ts +6 -0
- package/api/types/AstStringNode.js +5 -0
- package/api/types/AstllmNode.d.ts +6 -0
- package/api/types/AstllmNode.js +5 -0
- package/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/api/types/GetTestInvocationsPageResponseModel.d.ts +12 -0
- package/api/types/GetTestInvocationsPageResponseModel.js +5 -0
- package/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/api/types/GetUnitTestResponseModel.d.ts +2 -0
- package/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/api/types/ListResponseMeta.d.ts +8 -0
- package/api/types/ListResponseMeta.js +5 -0
- package/api/types/McpServerConfigInput.d.ts +2 -0
- package/api/types/McpServerConfigOutput.d.ts +2 -0
- package/api/types/MusicPrompt.d.ts +2 -2
- package/api/types/PromptAgentApiModelInput.d.ts +1 -1
- package/api/types/PromptAgentApiModelOutput.d.ts +1 -1
- package/api/types/PromptAgentApiModelWorkflowOverride.d.ts +1 -1
- package/api/types/SongSection.d.ts +2 -2
- package/api/types/SubscriptionExtrasResponseModel.d.ts +2 -0
- package/api/types/TestFromConversationMetadataInput.d.ts +10 -0
- package/api/types/TestFromConversationMetadataInput.js +5 -0
- package/api/types/TestFromConversationMetadataOutput.d.ts +10 -0
- package/api/types/TestFromConversationMetadataOutput.js +5 -0
- package/api/types/TestInvocationSummaryResponseModel.d.ts +22 -0
- package/api/types/TestInvocationSummaryResponseModel.js +5 -0
- package/api/types/TextToSpeechRequest.d.ts +4 -0
- package/api/types/TextToSpeechRequest.js +5 -0
- package/api/types/WorkflowEdgeModelBackwardCondition.d.ts +4 -1
- package/api/types/WorkflowEdgeModelForwardCondition.d.ts +4 -1
- package/api/types/WorkflowEndNodeModel.d.ts +2 -0
- package/api/types/WorkflowExpressionConditionModel.d.ts +8 -0
- package/api/types/WorkflowExpressionConditionModel.js +5 -0
- package/api/types/WorkflowExpressionConditionModelExpression.d.ts +46 -0
- package/api/types/WorkflowExpressionConditionModelExpression.js +5 -0
- package/api/types/WorkflowOverrideAgentNodeModel.d.ts +2 -0
- package/api/types/WorkflowPhoneNumberNodeModel.d.ts +2 -0
- package/api/types/WorkflowStandaloneAgentNodeModel.d.ts +2 -0
- package/api/types/WorkflowStartNodeModel.d.ts +2 -0
- package/api/types/WorkflowToolNodeModel.d.ts +2 -0
- package/api/types/index.d.ts +35 -0
- package/api/types/index.js +35 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -1
- package/dist/api/resources/conversationalAi/client/Client.js +3 -1
- package/dist/api/resources/conversationalAi/client/requests/BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +7 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +7 -1
- 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 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/requests/WidgetGetRequest.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +4 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BatchCallsListRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +14 -3
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +14 -3
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +10 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +9 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +9 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +9 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +10 -3
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +10 -3
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsDeleteRequest.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetAgentsRequest.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetRequest.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.d.ts +5 -1
- package/dist/api/resources/conversationalAi/resources/tests/client/Client.js +5 -1
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.d.ts +5 -1
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js +84 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.d.ts +25 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +4 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +4 -1
- package/dist/api/resources/dubbing/client/Client.d.ts +8 -1
- package/dist/api/resources/dubbing/client/Client.js +9 -2
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +3 -2
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +8 -1
- package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +11 -0
- package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.js +10 -0
- package/dist/api/resources/dubbing/types/index.d.ts +1 -0
- package/dist/api/resources/dubbing/types/index.js +1 -0
- package/dist/api/resources/history/client/Client.d.ts +11 -1
- package/dist/api/resources/history/client/Client.js +11 -1
- package/dist/api/resources/history/client/requests/HistoryListRequest.d.ts +11 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +7 -4
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +4 -1
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +4 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +6 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +6 -1
- package/dist/api/resources/pronunciationDictionaries/client/requests/PronunciationDictionariesListRequest.d.ts +6 -1
- package/dist/api/resources/speechToText/client/Client.d.ts +1 -0
- package/dist/api/resources/speechToText/client/Client.js +1 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +8 -0
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +3 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +3 -1
- package/dist/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +3 -1
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
- package/{api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js} +3 -2
- package/dist/api/resources/studio/types/index.d.ts +1 -0
- package/dist/api/resources/studio/types/index.js +1 -0
- package/dist/api/resources/textToSpeech/client/Client.d.ts +4 -1
- package/dist/api/resources/textToSpeech/client/Client.js +4 -1
- package/dist/api/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +4 -2
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.js +5 -0
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +5 -0
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +2 -0
- package/dist/api/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/{BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts → BodyTextToSpeechFullApplyTextNormalization.d.ts} +2 -2
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +11 -0
- package/{api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts → dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts} +2 -2
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToSpeech/types/index.d.ts +2 -2
- package/dist/api/resources/textToSpeech/types/index.js +2 -2
- package/dist/api/resources/textToVoice/client/Client.d.ts +3 -0
- package/dist/api/resources/textToVoice/client/Client.js +3 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -0
- package/dist/api/resources/usage/client/Client.d.ts +6 -1
- package/dist/api/resources/usage/client/Client.js +6 -1
- package/dist/api/resources/usage/client/requests/UsageGetRequest.d.ts +6 -1
- package/dist/api/resources/voices/client/Client.d.ts +30 -3
- package/dist/api/resources/voices/client/Client.js +30 -3
- package/dist/api/resources/voices/client/requests/VoicesGetAllRequest.d.ts +3 -1
- package/dist/api/resources/voices/client/requests/VoicesGetRequest.d.ts +3 -1
- package/dist/api/resources/voices/client/requests/VoicesGetSharedRequest.d.ts +15 -1
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +9 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/AstAndOperatorNode.d.ts +7 -0
- package/dist/api/types/AstAndOperatorNode.js +5 -0
- package/dist/api/types/AstAndOperatorNodeChildrenItem.d.ts +46 -0
- package/dist/api/types/AstAndOperatorNodeChildrenItem.js +5 -0
- package/dist/api/types/AstBooleanNode.d.ts +6 -0
- package/dist/api/types/AstBooleanNode.js +5 -0
- package/dist/api/types/AstDynamicVariableNode.d.ts +6 -0
- package/dist/api/types/AstDynamicVariableNode.js +5 -0
- package/dist/api/types/AstEqualsOperatorNode.d.ts +8 -0
- package/dist/api/types/AstEqualsOperatorNode.js +5 -0
- package/dist/api/types/AstEqualsOperatorNodeLeft.d.ts +46 -0
- package/dist/api/types/AstEqualsOperatorNodeLeft.js +5 -0
- package/dist/api/types/AstEqualsOperatorNodeRight.d.ts +46 -0
- package/dist/api/types/AstEqualsOperatorNodeRight.js +5 -0
- package/dist/api/types/AstGreaterThanOperatorNode.d.ts +8 -0
- package/dist/api/types/AstGreaterThanOperatorNode.js +5 -0
- package/dist/api/types/AstGreaterThanOperatorNodeLeft.d.ts +46 -0
- package/dist/api/types/AstGreaterThanOperatorNodeLeft.js +5 -0
- package/dist/api/types/AstGreaterThanOperatorNodeRight.d.ts +46 -0
- package/dist/api/types/AstGreaterThanOperatorNodeRight.js +5 -0
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNode.d.ts +8 -0
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNode.js +5 -0
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeLeft.d.ts +46 -0
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeLeft.js +5 -0
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeRight.d.ts +46 -0
- package/dist/api/types/AstGreaterThanOrEqualsOperatorNodeRight.js +5 -0
- package/dist/api/types/AstLessThanOperatorNode.d.ts +8 -0
- package/dist/api/types/AstLessThanOperatorNode.js +5 -0
- package/dist/api/types/AstLessThanOperatorNodeLeft.d.ts +46 -0
- package/dist/api/types/AstLessThanOperatorNodeLeft.js +5 -0
- package/dist/api/types/AstLessThanOperatorNodeRight.d.ts +46 -0
- package/dist/api/types/AstLessThanOperatorNodeRight.js +5 -0
- package/dist/api/types/AstLessThanOrEqualsOperatorNode.d.ts +8 -0
- package/dist/api/types/AstLessThanOrEqualsOperatorNode.js +5 -0
- package/dist/api/types/AstLessThanOrEqualsOperatorNodeLeft.d.ts +46 -0
- package/dist/api/types/AstLessThanOrEqualsOperatorNodeLeft.js +5 -0
- package/dist/api/types/AstLessThanOrEqualsOperatorNodeRight.d.ts +46 -0
- package/dist/api/types/AstLessThanOrEqualsOperatorNodeRight.js +5 -0
- package/dist/api/types/AstNotEqualsOperatorNode.d.ts +8 -0
- package/dist/api/types/AstNotEqualsOperatorNode.js +5 -0
- package/dist/api/types/AstNotEqualsOperatorNodeLeft.d.ts +46 -0
- package/dist/api/types/AstNotEqualsOperatorNodeLeft.js +5 -0
- package/dist/api/types/AstNotEqualsOperatorNodeRight.d.ts +46 -0
- package/dist/api/types/AstNotEqualsOperatorNodeRight.js +5 -0
- package/dist/api/types/AstNumberNode.d.ts +6 -0
- package/dist/api/types/AstNumberNode.js +5 -0
- package/dist/api/types/AstOrOperatorNode.d.ts +7 -0
- package/dist/api/types/AstOrOperatorNode.js +5 -0
- package/dist/api/types/AstOrOperatorNodeChildrenItem.d.ts +46 -0
- package/dist/api/types/AstOrOperatorNodeChildrenItem.js +5 -0
- package/dist/api/types/AstStringNode.d.ts +6 -0
- package/dist/api/types/AstStringNode.js +5 -0
- package/dist/api/types/AstllmNode.d.ts +6 -0
- package/dist/api/types/AstllmNode.js +5 -0
- package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/api/types/GetTestInvocationsPageResponseModel.d.ts +12 -0
- package/dist/api/types/GetTestInvocationsPageResponseModel.js +5 -0
- package/dist/api/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/api/types/GetUnitTestResponseModel.d.ts +2 -0
- package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/api/types/ListResponseMeta.d.ts +8 -0
- package/dist/api/types/ListResponseMeta.js +5 -0
- package/dist/api/types/McpServerConfigInput.d.ts +2 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/api/types/MusicPrompt.d.ts +2 -2
- package/dist/api/types/PromptAgentApiModelInput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverride.d.ts +1 -1
- package/dist/api/types/SongSection.d.ts +2 -2
- package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +2 -0
- package/dist/api/types/TestFromConversationMetadataInput.d.ts +10 -0
- package/dist/api/types/TestFromConversationMetadataInput.js +5 -0
- package/dist/api/types/TestFromConversationMetadataOutput.d.ts +10 -0
- package/dist/api/types/TestFromConversationMetadataOutput.js +5 -0
- package/dist/api/types/TestInvocationSummaryResponseModel.d.ts +22 -0
- package/dist/api/types/TestInvocationSummaryResponseModel.js +5 -0
- package/dist/api/types/TextToSpeechRequest.d.ts +4 -0
- package/dist/api/types/TextToSpeechRequest.js +5 -0
- package/dist/api/types/WorkflowEdgeModelBackwardCondition.d.ts +4 -1
- package/dist/api/types/WorkflowEdgeModelForwardCondition.d.ts +4 -1
- package/dist/api/types/WorkflowEndNodeModel.d.ts +2 -0
- package/dist/api/types/WorkflowExpressionConditionModel.d.ts +8 -0
- package/dist/api/types/WorkflowExpressionConditionModel.js +5 -0
- package/dist/api/types/WorkflowExpressionConditionModelExpression.d.ts +46 -0
- package/dist/api/types/WorkflowExpressionConditionModelExpression.js +5 -0
- package/dist/api/types/WorkflowOverrideAgentNodeModel.d.ts +2 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModel.d.ts +2 -0
- package/dist/api/types/WorkflowStandaloneAgentNodeModel.d.ts +2 -0
- package/dist/api/types/WorkflowStartNodeModel.d.ts +2 -0
- package/dist/api/types/WorkflowToolNodeModel.d.ts +2 -0
- package/dist/api/types/index.d.ts +35 -0
- package/dist/api/types/index.js +35 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -1
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +2 -0
- package/dist/serialization/resources/dubbing/types/DubbingCreateRequestMode.d.ts +10 -0
- package/dist/serialization/resources/{textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → dubbing/types/DubbingCreateRequestMode.js} +2 -2
- package/dist/serialization/resources/dubbing/types/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/types/index.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +2 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
- package/dist/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +2 -0
- package/dist/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.js +2 -0
- package/dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
- package/{serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → dist/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js} +2 -2
- package/dist/serialization/resources/studio/types/index.d.ts +1 -0
- package/dist/serialization/resources/studio/types/index.js +1 -0
- package/dist/serialization/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +5 -4
- package/dist/serialization/resources/textToSpeech/client/requests/{TextToSpeechRequest.js → BodyTextToSpeechFull.js} +5 -4
- package/dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -0
- package/dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js +1 -0
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -2
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.js +3 -2
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -0
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +1 -0
- package/dist/serialization/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/textToSpeech/client/requests/index.js +3 -3
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +10 -0
- package/{serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js} +2 -2
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToSpeech/types/{BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → BodyTextToSpeechStreamApplyTextNormalization.js} +2 -2
- package/dist/serialization/resources/textToSpeech/types/index.d.ts +2 -2
- package/dist/serialization/resources/textToSpeech/types/index.js +2 -2
- package/dist/serialization/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.d.ts +1 -0
- package/dist/serialization/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.js +1 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +1 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +1 -0
- package/dist/serialization/types/AstAndOperatorNode.d.ts +12 -0
- package/dist/serialization/types/AstAndOperatorNode.js +44 -0
- package/dist/serialization/types/AstAndOperatorNodeChildrenItem.d.ts +54 -0
- package/dist/serialization/types/AstAndOperatorNodeChildrenItem.js +66 -0
- package/dist/serialization/types/AstBooleanNode.d.ts +12 -0
- package/dist/serialization/types/AstBooleanNode.js +43 -0
- package/dist/serialization/types/AstDynamicVariableNode.d.ts +12 -0
- package/dist/serialization/types/AstDynamicVariableNode.js +43 -0
- package/dist/serialization/types/AstEqualsOperatorNode.d.ts +13 -0
- package/dist/serialization/types/AstEqualsOperatorNode.js +45 -0
- package/dist/serialization/types/AstEqualsOperatorNodeLeft.d.ts +54 -0
- package/dist/serialization/types/AstEqualsOperatorNodeLeft.js +66 -0
- package/dist/serialization/types/AstEqualsOperatorNodeRight.d.ts +54 -0
- package/dist/serialization/types/AstEqualsOperatorNodeRight.js +66 -0
- package/dist/serialization/types/AstGreaterThanOperatorNode.d.ts +13 -0
- package/dist/serialization/types/AstGreaterThanOperatorNode.js +45 -0
- package/dist/serialization/types/AstGreaterThanOperatorNodeLeft.d.ts +54 -0
- package/dist/serialization/types/AstGreaterThanOperatorNodeLeft.js +66 -0
- package/dist/serialization/types/AstGreaterThanOperatorNodeRight.d.ts +54 -0
- package/dist/serialization/types/AstGreaterThanOperatorNodeRight.js +66 -0
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNode.d.ts +13 -0
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNode.js +45 -0
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeLeft.d.ts +54 -0
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeLeft.js +66 -0
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeRight.d.ts +54 -0
- package/dist/serialization/types/AstGreaterThanOrEqualsOperatorNodeRight.js +66 -0
- package/dist/serialization/types/AstLessThanOperatorNode.d.ts +13 -0
- package/dist/serialization/types/AstLessThanOperatorNode.js +45 -0
- package/dist/serialization/types/AstLessThanOperatorNodeLeft.d.ts +54 -0
- package/dist/serialization/types/AstLessThanOperatorNodeLeft.js +66 -0
- package/dist/serialization/types/AstLessThanOperatorNodeRight.d.ts +54 -0
- package/dist/serialization/types/AstLessThanOperatorNodeRight.js +66 -0
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNode.d.ts +13 -0
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNode.js +45 -0
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeLeft.d.ts +54 -0
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeLeft.js +66 -0
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeRight.d.ts +54 -0
- package/dist/serialization/types/AstLessThanOrEqualsOperatorNodeRight.js +66 -0
- package/dist/serialization/types/AstNotEqualsOperatorNode.d.ts +13 -0
- package/dist/serialization/types/AstNotEqualsOperatorNode.js +45 -0
- package/dist/serialization/types/AstNotEqualsOperatorNodeLeft.d.ts +54 -0
- package/dist/serialization/types/AstNotEqualsOperatorNodeLeft.js +66 -0
- package/dist/serialization/types/AstNotEqualsOperatorNodeRight.d.ts +54 -0
- package/dist/serialization/types/AstNotEqualsOperatorNodeRight.js +66 -0
- package/dist/serialization/types/AstNumberNode.d.ts +12 -0
- package/dist/serialization/types/AstNumberNode.js +43 -0
- package/dist/serialization/types/AstOrOperatorNode.d.ts +12 -0
- package/dist/serialization/types/AstOrOperatorNode.js +44 -0
- package/dist/serialization/types/AstOrOperatorNodeChildrenItem.d.ts +54 -0
- package/dist/serialization/types/AstOrOperatorNodeChildrenItem.js +66 -0
- package/dist/serialization/types/AstStringNode.d.ts +12 -0
- package/dist/serialization/types/AstStringNode.js +43 -0
- package/dist/serialization/types/AstllmNode.d.ts +12 -0
- package/dist/serialization/types/AstllmNode.js +43 -0
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +2 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
- package/dist/serialization/types/GetTestInvocationsPageResponseModel.d.ts +17 -0
- package/dist/serialization/types/GetTestInvocationsPageResponseModel.js +48 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/dist/serialization/types/GetUnitTestResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetUnitTestResponseModel.js +2 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
- package/dist/serialization/types/ListResponseMeta.d.ts +14 -0
- package/dist/serialization/types/ListResponseMeta.js +45 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigInput.js +1 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigOutput.js +1 -0
- package/dist/serialization/types/SubscriptionExtrasResponseModel.d.ts +1 -0
- package/dist/serialization/types/SubscriptionExtrasResponseModel.js +1 -0
- package/dist/serialization/types/TestFromConversationMetadataInput.d.ts +16 -0
- package/dist/serialization/types/TestFromConversationMetadataInput.js +47 -0
- package/dist/serialization/types/TestFromConversationMetadataOutput.d.ts +16 -0
- package/dist/serialization/types/TestFromConversationMetadataOutput.js +47 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.d.ts +20 -0
- package/dist/serialization/types/TestInvocationSummaryResponseModel.js +51 -0
- package/dist/serialization/types/TextToSpeechRequest.d.ts +10 -0
- package/dist/serialization/types/TextToSpeechRequest.js +41 -0
- package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +5 -1
- package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.js +2 -0
- package/dist/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +5 -1
- package/dist/serialization/types/WorkflowEdgeModelForwardCondition.js +2 -0
- package/dist/serialization/types/WorkflowEndNodeModel.d.ts +1 -0
- package/dist/serialization/types/WorkflowEndNodeModel.js +1 -0
- package/dist/serialization/types/WorkflowExpressionConditionModel.d.ts +14 -0
- package/dist/serialization/types/WorkflowExpressionConditionModel.js +45 -0
- package/dist/serialization/types/WorkflowExpressionConditionModelExpression.d.ts +54 -0
- package/dist/serialization/types/WorkflowExpressionConditionModelExpression.js +66 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +1 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModel.js +1 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +1 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModel.js +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +1 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.js +1 -0
- package/dist/serialization/types/WorkflowStartNodeModel.d.ts +1 -0
- package/dist/serialization/types/WorkflowStartNodeModel.js +1 -0
- package/dist/serialization/types/WorkflowToolNodeModel.d.ts +1 -0
- package/dist/serialization/types/WorkflowToolNodeModel.js +1 -0
- package/dist/serialization/types/index.d.ts +35 -0
- package/dist/serialization/types/index.js +35 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/ElevenLabsClient.d.ts +0 -6
- package/package.json +2 -2
- package/reference.md +199 -20
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -1
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +1 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +2 -0
- package/serialization/resources/dubbing/types/DubbingCreateRequestMode.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingCreateRequestMode.js +41 -0
- package/serialization/resources/dubbing/types/index.d.ts +1 -0
- package/serialization/resources/dubbing/types/index.js +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +2 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +2 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
- package/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +2 -0
- package/serialization/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.js +2 -0
- package/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js +41 -0
- package/serialization/resources/studio/types/index.d.ts +1 -0
- package/serialization/resources/studio/types/index.js +1 -0
- package/serialization/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +5 -4
- package/serialization/resources/textToSpeech/client/requests/{TextToSpeechRequest.js → BodyTextToSpeechFull.js} +5 -4
- package/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts +1 -0
- package/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js +1 -0
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -2
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.js +3 -2
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -0
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +1 -0
- package/serialization/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/serialization/resources/textToSpeech/client/requests/index.js +3 -3
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +41 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +41 -0
- package/serialization/resources/textToSpeech/types/index.d.ts +2 -2
- package/serialization/resources/textToSpeech/types/index.js +2 -2
- package/serialization/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.d.ts +1 -0
- package/serialization/resources/voices/resources/pvc/resources/samples/client/requests/BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost.js +1 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +1 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.js +1 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +1 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.js +1 -0
- package/serialization/types/AstAndOperatorNode.d.ts +12 -0
- package/serialization/types/AstAndOperatorNode.js +44 -0
- package/serialization/types/AstAndOperatorNodeChildrenItem.d.ts +54 -0
- package/serialization/types/AstAndOperatorNodeChildrenItem.js +66 -0
- package/serialization/types/AstBooleanNode.d.ts +12 -0
- package/serialization/types/AstBooleanNode.js +43 -0
- package/serialization/types/AstDynamicVariableNode.d.ts +12 -0
- package/serialization/types/AstDynamicVariableNode.js +43 -0
- package/serialization/types/AstEqualsOperatorNode.d.ts +13 -0
- package/serialization/types/AstEqualsOperatorNode.js +45 -0
- package/serialization/types/AstEqualsOperatorNodeLeft.d.ts +54 -0
- package/serialization/types/AstEqualsOperatorNodeLeft.js +66 -0
- package/serialization/types/AstEqualsOperatorNodeRight.d.ts +54 -0
- package/serialization/types/AstEqualsOperatorNodeRight.js +66 -0
- package/serialization/types/AstGreaterThanOperatorNode.d.ts +13 -0
- package/serialization/types/AstGreaterThanOperatorNode.js +45 -0
- package/serialization/types/AstGreaterThanOperatorNodeLeft.d.ts +54 -0
- package/serialization/types/AstGreaterThanOperatorNodeLeft.js +66 -0
- package/serialization/types/AstGreaterThanOperatorNodeRight.d.ts +54 -0
- package/serialization/types/AstGreaterThanOperatorNodeRight.js +66 -0
- package/serialization/types/AstGreaterThanOrEqualsOperatorNode.d.ts +13 -0
- package/serialization/types/AstGreaterThanOrEqualsOperatorNode.js +45 -0
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeLeft.d.ts +54 -0
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeLeft.js +66 -0
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeRight.d.ts +54 -0
- package/serialization/types/AstGreaterThanOrEqualsOperatorNodeRight.js +66 -0
- package/serialization/types/AstLessThanOperatorNode.d.ts +13 -0
- package/serialization/types/AstLessThanOperatorNode.js +45 -0
- package/serialization/types/AstLessThanOperatorNodeLeft.d.ts +54 -0
- package/serialization/types/AstLessThanOperatorNodeLeft.js +66 -0
- package/serialization/types/AstLessThanOperatorNodeRight.d.ts +54 -0
- package/serialization/types/AstLessThanOperatorNodeRight.js +66 -0
- package/serialization/types/AstLessThanOrEqualsOperatorNode.d.ts +13 -0
- package/serialization/types/AstLessThanOrEqualsOperatorNode.js +45 -0
- package/serialization/types/AstLessThanOrEqualsOperatorNodeLeft.d.ts +54 -0
- package/serialization/types/AstLessThanOrEqualsOperatorNodeLeft.js +66 -0
- package/serialization/types/AstLessThanOrEqualsOperatorNodeRight.d.ts +54 -0
- package/serialization/types/AstLessThanOrEqualsOperatorNodeRight.js +66 -0
- package/serialization/types/AstNotEqualsOperatorNode.d.ts +13 -0
- package/serialization/types/AstNotEqualsOperatorNode.js +45 -0
- package/serialization/types/AstNotEqualsOperatorNodeLeft.d.ts +54 -0
- package/serialization/types/AstNotEqualsOperatorNodeLeft.js +66 -0
- package/serialization/types/AstNotEqualsOperatorNodeRight.d.ts +54 -0
- package/serialization/types/AstNotEqualsOperatorNodeRight.js +66 -0
- package/serialization/types/AstNumberNode.d.ts +12 -0
- package/serialization/types/AstNumberNode.js +43 -0
- package/serialization/types/AstOrOperatorNode.d.ts +12 -0
- package/serialization/types/AstOrOperatorNode.js +44 -0
- package/serialization/types/AstOrOperatorNodeChildrenItem.d.ts +54 -0
- package/serialization/types/AstOrOperatorNodeChildrenItem.js +66 -0
- package/serialization/types/AstStringNode.d.ts +12 -0
- package/serialization/types/AstStringNode.js +43 -0
- package/serialization/types/AstllmNode.d.ts +12 -0
- package/serialization/types/AstllmNode.js +43 -0
- package/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
- package/serialization/types/ConversationChargingCommonModel.js +2 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
- package/serialization/types/GetTestInvocationsPageResponseModel.d.ts +17 -0
- package/serialization/types/GetTestInvocationsPageResponseModel.js +48 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.d.ts +1 -0
- package/serialization/types/GetTestSuiteInvocationResponseModel.js +1 -0
- package/serialization/types/GetUnitTestResponseModel.d.ts +2 -0
- package/serialization/types/GetUnitTestResponseModel.js +2 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
- package/serialization/types/ListResponseMeta.d.ts +14 -0
- package/serialization/types/ListResponseMeta.js +45 -0
- package/serialization/types/McpServerConfigInput.d.ts +1 -0
- package/serialization/types/McpServerConfigInput.js +1 -0
- package/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/serialization/types/McpServerConfigOutput.js +1 -0
- package/serialization/types/SubscriptionExtrasResponseModel.d.ts +1 -0
- package/serialization/types/SubscriptionExtrasResponseModel.js +1 -0
- package/serialization/types/TestFromConversationMetadataInput.d.ts +16 -0
- package/serialization/types/TestFromConversationMetadataInput.js +47 -0
- package/serialization/types/TestFromConversationMetadataOutput.d.ts +16 -0
- package/serialization/types/TestFromConversationMetadataOutput.js +47 -0
- package/serialization/types/TestInvocationSummaryResponseModel.d.ts +20 -0
- package/serialization/types/TestInvocationSummaryResponseModel.js +51 -0
- package/serialization/types/TextToSpeechRequest.d.ts +10 -0
- package/serialization/types/TextToSpeechRequest.js +41 -0
- package/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +5 -1
- package/serialization/types/WorkflowEdgeModelBackwardCondition.js +2 -0
- package/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +5 -1
- package/serialization/types/WorkflowEdgeModelForwardCondition.js +2 -0
- package/serialization/types/WorkflowEndNodeModel.d.ts +1 -0
- package/serialization/types/WorkflowEndNodeModel.js +1 -0
- package/serialization/types/WorkflowExpressionConditionModel.d.ts +14 -0
- package/serialization/types/WorkflowExpressionConditionModel.js +45 -0
- package/serialization/types/WorkflowExpressionConditionModelExpression.d.ts +54 -0
- package/serialization/types/WorkflowExpressionConditionModelExpression.js +66 -0
- package/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +1 -0
- package/serialization/types/WorkflowOverrideAgentNodeModel.js +1 -0
- package/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +1 -0
- package/serialization/types/WorkflowPhoneNumberNodeModel.js +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +1 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModel.js +1 -0
- package/serialization/types/WorkflowStartNodeModel.d.ts +1 -0
- package/serialization/types/WorkflowStartNodeModel.js +1 -0
- package/serialization/types/WorkflowToolNodeModel.d.ts +1 -0
- package/serialization/types/WorkflowToolNodeModel.js +1 -0
- package/serialization/types/index.d.ts +35 -0
- package/serialization/types/index.js +35 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +0 -6
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +0 -10
- /package/api/resources/{textToSpeech/client/requests/TextToSpeechRequest.js → conversationalAi/resources/tests/resources/invocations/client/requests/InvocationsListRequest.js} +0 -0
- /package/{dist/api/resources/textToSpeech/client/requests/TextToSpeechRequest.js → api/resources/textToSpeech/client/requests/BodyTextToSpeechFull.js} +0 -0
|
@@ -10,7 +10,7 @@ import * as ElevenLabs from "../../../../index";
|
|
|
10
10
|
* modelId: "eleven_multilingual_v2"
|
|
11
11
|
* }
|
|
12
12
|
*/
|
|
13
|
-
export interface
|
|
13
|
+
export interface BodyTextToSpeechFull {
|
|
14
14
|
/**
|
|
15
15
|
* When enable_logging is set to false zero retention mode will be used for the request. This will mean history features are unavailable for this request, including request stitching. Zero retention mode may only be used by enterprise customers.
|
|
16
16
|
*/
|
|
@@ -53,7 +53,9 @@ export interface TextToSpeechRequest {
|
|
|
53
53
|
/** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
|
|
54
54
|
usePvcAsIvc?: boolean;
|
|
55
55
|
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
|
|
56
|
-
applyTextNormalization?: ElevenLabs.
|
|
56
|
+
applyTextNormalization?: ElevenLabs.BodyTextToSpeechFullApplyTextNormalization;
|
|
57
57
|
/** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
|
|
58
58
|
applyLanguageTextNormalization?: boolean;
|
|
59
|
+
/** HCaptcha token used to prevent spam, generated on the frontend either automatically or when the client solves the hCapctha challenge. */
|
|
60
|
+
hcaptchaToken?: string;
|
|
59
61
|
}
|
package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts
CHANGED
|
@@ -5,6 +5,9 @@ import * as ElevenLabs from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* enableLogging: true,
|
|
9
|
+
* optimizeStreamingLatency: 1,
|
|
10
|
+
* outputFormat: "mp3_22050_32",
|
|
8
11
|
* text: "This is a test for the API of ElevenLabs."
|
|
9
12
|
* }
|
|
10
13
|
*/
|
|
@@ -54,4 +57,6 @@ export interface BodyTextToSpeechFullWithTimestamps {
|
|
|
54
57
|
applyTextNormalization?: ElevenLabs.BodyTextToSpeechFullWithTimestampsApplyTextNormalization;
|
|
55
58
|
/** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
|
|
56
59
|
applyLanguageTextNormalization?: boolean;
|
|
60
|
+
/** HCaptcha token used to prevent spam, generated on the frontend either automatically or when the client solves the hCapctha challenge. */
|
|
61
|
+
hcaptchaToken?: string;
|
|
57
62
|
}
|
|
@@ -53,7 +53,9 @@ export interface StreamTextToSpeechRequest {
|
|
|
53
53
|
/** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
|
|
54
54
|
usePvcAsIvc?: boolean;
|
|
55
55
|
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
|
|
56
|
-
applyTextNormalization?: ElevenLabs.
|
|
56
|
+
applyTextNormalization?: ElevenLabs.BodyTextToSpeechStreamApplyTextNormalization;
|
|
57
57
|
/** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
|
|
58
58
|
applyLanguageTextNormalization?: boolean;
|
|
59
|
+
/** HCaptcha token used to prevent spam, generated on the frontend either automatically or when the client solves the hCapctha challenge. */
|
|
60
|
+
hcaptchaToken?: string;
|
|
59
61
|
}
|
package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts
CHANGED
|
@@ -56,4 +56,6 @@ export interface StreamTextToSpeechWithTimestampsRequest {
|
|
|
56
56
|
applyTextNormalization?: ElevenLabs.BodyTextToSpeechStreamWithTimestampsApplyTextNormalization;
|
|
57
57
|
/** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
|
|
58
58
|
applyLanguageTextNormalization?: boolean;
|
|
59
|
+
/** HCaptcha token used to prevent spam, generated on the frontend either automatically or when the client solves the hCapctha challenge. */
|
|
60
|
+
hcaptchaToken?: string;
|
|
59
61
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { type
|
|
1
|
+
export { type BodyTextToSpeechFull } from "./BodyTextToSpeechFull";
|
|
2
2
|
export { type BodyTextToSpeechFullWithTimestamps } from "./BodyTextToSpeechFullWithTimestamps";
|
|
3
3
|
export { type StreamTextToSpeechRequest } from "./StreamTextToSpeechRequest";
|
|
4
4
|
export { type StreamTextToSpeechWithTimestampsRequest } from "./StreamTextToSpeechWithTimestampsRequest";
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
8
|
-
export declare const
|
|
7
|
+
export type BodyTextToSpeechFullApplyTextNormalization = "auto" | "on" | "off";
|
|
8
|
+
export declare const BodyTextToSpeechFullApplyTextNormalization: {
|
|
9
9
|
readonly Auto: "auto";
|
|
10
10
|
readonly On: "on";
|
|
11
11
|
readonly Off: "off";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BodyTextToSpeechFullApplyTextNormalization = void 0;
|
|
7
|
+
exports.BodyTextToSpeechFullApplyTextNormalization = {
|
|
8
|
+
Auto: "auto",
|
|
9
|
+
On: "on",
|
|
10
|
+
Off: "off",
|
|
11
|
+
};
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
|
|
6
6
|
*/
|
|
7
|
-
export type
|
|
8
|
-
export declare const
|
|
7
|
+
export type BodyTextToSpeechStreamApplyTextNormalization = "auto" | "on" | "off";
|
|
8
|
+
export declare const BodyTextToSpeechStreamApplyTextNormalization: {
|
|
9
9
|
readonly Auto: "auto";
|
|
10
10
|
readonly On: "on";
|
|
11
11
|
readonly Off: "off";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BodyTextToSpeechStreamApplyTextNormalization = void 0;
|
|
7
|
+
exports.BodyTextToSpeechStreamApplyTextNormalization = {
|
|
8
|
+
Auto: "auto",
|
|
9
|
+
On: "on",
|
|
10
|
+
Off: "off",
|
|
11
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from "./TextToSpeechConvertRequestOutputFormat";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./BodyTextToSpeechFullApplyTextNormalization";
|
|
3
3
|
export * from "./TextToSpeechConvertWithTimestampsRequestOutputFormat";
|
|
4
4
|
export * from "./BodyTextToSpeechFullWithTimestampsApplyTextNormalization";
|
|
5
5
|
export * from "./TextToSpeechStreamRequestOutputFormat";
|
|
6
|
-
export * from "./
|
|
6
|
+
export * from "./BodyTextToSpeechStreamApplyTextNormalization";
|
|
7
7
|
export * from "./TextToSpeechStreamWithTimestampsRequestOutputFormat";
|
|
8
8
|
export * from "./BodyTextToSpeechStreamWithTimestampsApplyTextNormalization";
|
|
@@ -15,10 +15,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./TextToSpeechConvertRequestOutputFormat"), exports);
|
|
18
|
-
__exportStar(require("./
|
|
18
|
+
__exportStar(require("./BodyTextToSpeechFullApplyTextNormalization"), exports);
|
|
19
19
|
__exportStar(require("./TextToSpeechConvertWithTimestampsRequestOutputFormat"), exports);
|
|
20
20
|
__exportStar(require("./BodyTextToSpeechFullWithTimestampsApplyTextNormalization"), exports);
|
|
21
21
|
__exportStar(require("./TextToSpeechStreamRequestOutputFormat"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./BodyTextToSpeechStreamApplyTextNormalization"), exports);
|
|
23
23
|
__exportStar(require("./TextToSpeechStreamWithTimestampsRequestOutputFormat"), exports);
|
|
24
24
|
__exportStar(require("./BodyTextToSpeechStreamWithTimestampsApplyTextNormalization"), exports);
|
|
@@ -43,6 +43,7 @@ export declare class TextToVoice {
|
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* await client.textToVoice.createPreviews({
|
|
46
|
+
* outputFormat: "mp3_22050_32",
|
|
46
47
|
* voiceDescription: "A sassy squeaky mouse"
|
|
47
48
|
* })
|
|
48
49
|
*/
|
|
@@ -75,6 +76,7 @@ export declare class TextToVoice {
|
|
|
75
76
|
*
|
|
76
77
|
* @example
|
|
77
78
|
* await client.textToVoice.design({
|
|
79
|
+
* outputFormat: "mp3_22050_32",
|
|
78
80
|
* voiceDescription: "A sassy squeaky mouse"
|
|
79
81
|
* })
|
|
80
82
|
*/
|
|
@@ -91,6 +93,7 @@ export declare class TextToVoice {
|
|
|
91
93
|
*
|
|
92
94
|
* @example
|
|
93
95
|
* await client.textToVoice.remix("21m00Tcm4TlvDq8ikWAM", {
|
|
96
|
+
* outputFormat: "mp3_22050_32",
|
|
94
97
|
* voiceDescription: "Make the voice have a higher pitch."
|
|
95
98
|
* })
|
|
96
99
|
*/
|
|
@@ -82,6 +82,7 @@ class TextToVoice {
|
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* await client.textToVoice.createPreviews({
|
|
85
|
+
* outputFormat: "mp3_22050_32",
|
|
85
86
|
* voiceDescription: "A sassy squeaky mouse"
|
|
86
87
|
* })
|
|
87
88
|
*/
|
|
@@ -242,6 +243,7 @@ class TextToVoice {
|
|
|
242
243
|
*
|
|
243
244
|
* @example
|
|
244
245
|
* await client.textToVoice.design({
|
|
246
|
+
* outputFormat: "mp3_22050_32",
|
|
245
247
|
* voiceDescription: "A sassy squeaky mouse"
|
|
246
248
|
* })
|
|
247
249
|
*/
|
|
@@ -326,6 +328,7 @@ class TextToVoice {
|
|
|
326
328
|
*
|
|
327
329
|
* @example
|
|
328
330
|
* await client.textToVoice.remix("21m00Tcm4TlvDq8ikWAM", {
|
|
331
|
+
* outputFormat: "mp3_22050_32",
|
|
329
332
|
* voiceDescription: "Make the voice have a higher pitch."
|
|
330
333
|
* })
|
|
331
334
|
*/
|
|
@@ -41,7 +41,12 @@ export declare class Usage {
|
|
|
41
41
|
* @example
|
|
42
42
|
* await client.usage.get({
|
|
43
43
|
* startUnix: 1,
|
|
44
|
-
* endUnix: 1
|
|
44
|
+
* endUnix: 1,
|
|
45
|
+
* includeWorkspaceMetrics: true,
|
|
46
|
+
* breakdownType: "none",
|
|
47
|
+
* aggregationInterval: "hour",
|
|
48
|
+
* aggregationBucketSize: 1,
|
|
49
|
+
* metric: "credits"
|
|
45
50
|
* })
|
|
46
51
|
*/
|
|
47
52
|
get(request: ElevenLabs.UsageGetRequest, requestOptions?: Usage.RequestOptions): core.HttpResponsePromise<ElevenLabs.UsageCharactersResponseModel>;
|
|
@@ -67,7 +67,12 @@ class Usage {
|
|
|
67
67
|
* @example
|
|
68
68
|
* await client.usage.get({
|
|
69
69
|
* startUnix: 1,
|
|
70
|
-
* endUnix: 1
|
|
70
|
+
* endUnix: 1,
|
|
71
|
+
* includeWorkspaceMetrics: true,
|
|
72
|
+
* breakdownType: "none",
|
|
73
|
+
* aggregationInterval: "hour",
|
|
74
|
+
* aggregationBucketSize: 1,
|
|
75
|
+
* metric: "credits"
|
|
71
76
|
* })
|
|
72
77
|
*/
|
|
73
78
|
get(request, requestOptions) {
|
|
@@ -6,7 +6,12 @@ import * as ElevenLabs from "../../../../index";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
8
|
* startUnix: 1,
|
|
9
|
-
* endUnix: 1
|
|
9
|
+
* endUnix: 1,
|
|
10
|
+
* includeWorkspaceMetrics: true,
|
|
11
|
+
* breakdownType: "none",
|
|
12
|
+
* aggregationInterval: "hour",
|
|
13
|
+
* aggregationBucketSize: 1,
|
|
14
|
+
* metric: "credits"
|
|
10
15
|
* }
|
|
11
16
|
*/
|
|
12
17
|
export interface UsageGetRequest {
|
|
@@ -54,7 +54,9 @@ export declare class Voices {
|
|
|
54
54
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
|
-
* await client.voices.getAll(
|
|
57
|
+
* await client.voices.getAll({
|
|
58
|
+
* showLegacy: true
|
|
59
|
+
* })
|
|
58
60
|
*/
|
|
59
61
|
getAll(request?: ElevenLabs.VoicesGetAllRequest, requestOptions?: Voices.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetVoicesResponse>;
|
|
60
62
|
private __getAll;
|
|
@@ -68,6 +70,15 @@ export declare class Voices {
|
|
|
68
70
|
*
|
|
69
71
|
* @example
|
|
70
72
|
* await client.voices.search({
|
|
73
|
+
* nextPageToken: "next_page_token",
|
|
74
|
+
* pageSize: 1,
|
|
75
|
+
* search: "search",
|
|
76
|
+
* sort: "sort",
|
|
77
|
+
* sortDirection: "sort_direction",
|
|
78
|
+
* voiceType: "voice_type",
|
|
79
|
+
* category: "category",
|
|
80
|
+
* fineTuningState: "fine_tuning_state",
|
|
81
|
+
* collectionId: "collection_id",
|
|
71
82
|
* includeTotalCount: true
|
|
72
83
|
* })
|
|
73
84
|
*/
|
|
@@ -83,7 +94,9 @@ export declare class Voices {
|
|
|
83
94
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
84
95
|
*
|
|
85
96
|
* @example
|
|
86
|
-
* await client.voices.get("21m00Tcm4TlvDq8ikWAM"
|
|
97
|
+
* await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
98
|
+
* withSettings: true
|
|
99
|
+
* })
|
|
87
100
|
*/
|
|
88
101
|
get(voiceId: string, request?: ElevenLabs.VoicesGetRequest, requestOptions?: Voices.RequestOptions): core.HttpResponsePromise<ElevenLabs.Voice>;
|
|
89
102
|
private __get;
|
|
@@ -143,8 +156,22 @@ export declare class Voices {
|
|
|
143
156
|
*
|
|
144
157
|
* @example
|
|
145
158
|
* await client.voices.getShared({
|
|
159
|
+
* pageSize: 1,
|
|
160
|
+
* category: "professional",
|
|
161
|
+
* gender: "gender",
|
|
162
|
+
* age: "age",
|
|
163
|
+
* accent: "accent",
|
|
164
|
+
* language: "language",
|
|
165
|
+
* locale: "locale",
|
|
166
|
+
* search: "search",
|
|
146
167
|
* featured: true,
|
|
147
|
-
*
|
|
168
|
+
* minNoticePeriodDays: 1,
|
|
169
|
+
* includeCustomRates: true,
|
|
170
|
+
* includeLiveModerated: true,
|
|
171
|
+
* readerAppEnabled: true,
|
|
172
|
+
* ownerId: "owner_id",
|
|
173
|
+
* sort: "sort",
|
|
174
|
+
* page: 1
|
|
148
175
|
* })
|
|
149
176
|
*/
|
|
150
177
|
getShared(request?: ElevenLabs.VoicesGetSharedRequest, requestOptions?: Voices.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetLibraryVoicesResponse>;
|
|
@@ -88,7 +88,9 @@ class Voices {
|
|
|
88
88
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
|
-
* await client.voices.getAll(
|
|
91
|
+
* await client.voices.getAll({
|
|
92
|
+
* showLegacy: true
|
|
93
|
+
* })
|
|
92
94
|
*/
|
|
93
95
|
getAll(request = {}, requestOptions) {
|
|
94
96
|
return core.HttpResponsePromise.fromPromise(this.__getAll(request, requestOptions));
|
|
@@ -165,6 +167,15 @@ class Voices {
|
|
|
165
167
|
*
|
|
166
168
|
* @example
|
|
167
169
|
* await client.voices.search({
|
|
170
|
+
* nextPageToken: "next_page_token",
|
|
171
|
+
* pageSize: 1,
|
|
172
|
+
* search: "search",
|
|
173
|
+
* sort: "sort",
|
|
174
|
+
* sortDirection: "sort_direction",
|
|
175
|
+
* voiceType: "voice_type",
|
|
176
|
+
* category: "category",
|
|
177
|
+
* fineTuningState: "fine_tuning_state",
|
|
178
|
+
* collectionId: "collection_id",
|
|
168
179
|
* includeTotalCount: true
|
|
169
180
|
* })
|
|
170
181
|
*/
|
|
@@ -278,7 +289,9 @@ class Voices {
|
|
|
278
289
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
279
290
|
*
|
|
280
291
|
* @example
|
|
281
|
-
* await client.voices.get("21m00Tcm4TlvDq8ikWAM"
|
|
292
|
+
* await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
293
|
+
* withSettings: true
|
|
294
|
+
* })
|
|
282
295
|
*/
|
|
283
296
|
get(voiceId, request = {}, requestOptions) {
|
|
284
297
|
return core.HttpResponsePromise.fromPromise(this.__get(voiceId, request, requestOptions));
|
|
@@ -597,8 +610,22 @@ class Voices {
|
|
|
597
610
|
*
|
|
598
611
|
* @example
|
|
599
612
|
* await client.voices.getShared({
|
|
613
|
+
* pageSize: 1,
|
|
614
|
+
* category: "professional",
|
|
615
|
+
* gender: "gender",
|
|
616
|
+
* age: "age",
|
|
617
|
+
* accent: "accent",
|
|
618
|
+
* language: "language",
|
|
619
|
+
* locale: "locale",
|
|
620
|
+
* search: "search",
|
|
600
621
|
* featured: true,
|
|
601
|
-
*
|
|
622
|
+
* minNoticePeriodDays: 1,
|
|
623
|
+
* includeCustomRates: true,
|
|
624
|
+
* includeLiveModerated: true,
|
|
625
|
+
* readerAppEnabled: true,
|
|
626
|
+
* ownerId: "owner_id",
|
|
627
|
+
* sort: "sort",
|
|
628
|
+
* page: 1
|
|
602
629
|
* })
|
|
603
630
|
*/
|
|
604
631
|
getShared(request = {}, requestOptions) {
|
|
@@ -5,8 +5,22 @@ import * as ElevenLabs from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* pageSize: 1,
|
|
9
|
+
* category: "professional",
|
|
10
|
+
* gender: "gender",
|
|
11
|
+
* age: "age",
|
|
12
|
+
* accent: "accent",
|
|
13
|
+
* language: "language",
|
|
14
|
+
* locale: "locale",
|
|
15
|
+
* search: "search",
|
|
8
16
|
* featured: true,
|
|
9
|
-
*
|
|
17
|
+
* minNoticePeriodDays: 1,
|
|
18
|
+
* includeCustomRates: true,
|
|
19
|
+
* includeLiveModerated: true,
|
|
20
|
+
* readerAppEnabled: true,
|
|
21
|
+
* ownerId: "owner_id",
|
|
22
|
+
* sort: "sort",
|
|
23
|
+
* page: 1
|
|
10
24
|
* }
|
|
11
25
|
*/
|
|
12
26
|
export interface VoicesGetSharedRequest {
|
|
@@ -4,6 +4,15 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
6
|
* {
|
|
7
|
+
* nextPageToken: "next_page_token",
|
|
8
|
+
* pageSize: 1,
|
|
9
|
+
* search: "search",
|
|
10
|
+
* sort: "sort",
|
|
11
|
+
* sortDirection: "sort_direction",
|
|
12
|
+
* voiceType: "voice_type",
|
|
13
|
+
* category: "category",
|
|
14
|
+
* fineTuningState: "fine_tuning_state",
|
|
15
|
+
* collectionId: "collection_id",
|
|
7
16
|
* includeTotalCount: true
|
|
8
17
|
* }
|
|
9
18
|
*/
|
|
@@ -56,7 +56,7 @@ export declare class Samples {
|
|
|
56
56
|
create(voiceId: string, request: ElevenLabs.voices.pvc.BodyAddSamplesToPvcVoiceV1VoicesPvcVoiceIdSamplesPost, requestOptions?: Samples.RequestOptions): core.HttpResponsePromise<ElevenLabs.VoiceSample[]>;
|
|
57
57
|
private __create;
|
|
58
58
|
/**
|
|
59
|
-
* Update a PVC voice sample - apply noise removal, or
|
|
59
|
+
* Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.
|
|
60
60
|
*
|
|
61
61
|
* @param {string} voiceId - Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
|
|
62
62
|
* @param {string} sampleId - Sample ID to be used
|
|
@@ -156,7 +156,7 @@ class Samples {
|
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
159
|
-
* Update a PVC voice sample - apply noise removal, or
|
|
159
|
+
* Update a PVC voice sample - apply noise removal, select speaker, change trim times or file name.
|
|
160
160
|
*
|
|
161
161
|
* @param {string} voiceId - Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices.
|
|
162
162
|
* @param {string} sampleId - Sample ID to be used
|
|
@@ -14,4 +14,6 @@ export interface BodyUpdatePvcVoiceSampleV1VoicesPvcVoiceIdSamplesSampleIdPost {
|
|
|
14
14
|
trimStartTime?: number;
|
|
15
15
|
/** The end time of the audio to be used for PVC training. Time should be in milliseconds */
|
|
16
16
|
trimEndTime?: number;
|
|
17
|
+
/** The name of the audio file to be used for PVC training. */
|
|
18
|
+
fileName?: string;
|
|
17
19
|
}
|
|
@@ -21,4 +21,6 @@ export interface AgentPlatformSettingsRequestModel {
|
|
|
21
21
|
workspaceOverrides?: ElevenLabs.AgentWorkspaceOverridesInput;
|
|
22
22
|
/** Testing configuration for the agent */
|
|
23
23
|
testing?: ElevenLabs.AgentTestingSettings;
|
|
24
|
+
/** Whether the agent is archived */
|
|
25
|
+
archived?: boolean;
|
|
24
26
|
}
|
|
@@ -21,5 +21,7 @@ export interface AgentPlatformSettingsResponseModel {
|
|
|
21
21
|
workspaceOverrides?: ElevenLabs.AgentWorkspaceOverridesOutput;
|
|
22
22
|
/** Testing configuration for the agent */
|
|
23
23
|
testing?: ElevenLabs.AgentTestingSettings;
|
|
24
|
+
/** Whether the agent is archived */
|
|
25
|
+
archived?: boolean;
|
|
24
26
|
safety?: ElevenLabs.SafetyResponseModel;
|
|
25
27
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export type AstAndOperatorNodeChildrenItem = ElevenLabs.AstAndOperatorNodeChildrenItem.AndOperator | ElevenLabs.AstAndOperatorNodeChildrenItem.BooleanLiteral | ElevenLabs.AstAndOperatorNodeChildrenItem.DynamicVariable | ElevenLabs.AstAndOperatorNodeChildrenItem.EqOperator | ElevenLabs.AstAndOperatorNodeChildrenItem.GtOperator | ElevenLabs.AstAndOperatorNodeChildrenItem.GteOperator | ElevenLabs.AstAndOperatorNodeChildrenItem.Llm | ElevenLabs.AstAndOperatorNodeChildrenItem.LtOperator | ElevenLabs.AstAndOperatorNodeChildrenItem.LteOperator | ElevenLabs.AstAndOperatorNodeChildrenItem.NeqOperator | ElevenLabs.AstAndOperatorNodeChildrenItem.NumberLiteral | ElevenLabs.AstAndOperatorNodeChildrenItem.OrOperator | ElevenLabs.AstAndOperatorNodeChildrenItem.StringLiteral;
|
|
6
|
+
export declare namespace AstAndOperatorNodeChildrenItem {
|
|
7
|
+
interface AndOperator extends ElevenLabs.AstAndOperatorNode {
|
|
8
|
+
type: "and_operator";
|
|
9
|
+
}
|
|
10
|
+
interface BooleanLiteral extends ElevenLabs.AstBooleanNode {
|
|
11
|
+
type: "boolean_literal";
|
|
12
|
+
}
|
|
13
|
+
interface DynamicVariable extends ElevenLabs.AstDynamicVariableNode {
|
|
14
|
+
type: "dynamic_variable";
|
|
15
|
+
}
|
|
16
|
+
interface EqOperator extends ElevenLabs.AstEqualsOperatorNode {
|
|
17
|
+
type: "eq_operator";
|
|
18
|
+
}
|
|
19
|
+
interface GtOperator extends ElevenLabs.AstGreaterThanOperatorNode {
|
|
20
|
+
type: "gt_operator";
|
|
21
|
+
}
|
|
22
|
+
interface GteOperator extends ElevenLabs.AstGreaterThanOrEqualsOperatorNode {
|
|
23
|
+
type: "gte_operator";
|
|
24
|
+
}
|
|
25
|
+
interface Llm extends ElevenLabs.AstllmNode {
|
|
26
|
+
type: "llm";
|
|
27
|
+
}
|
|
28
|
+
interface LtOperator extends ElevenLabs.AstLessThanOperatorNode {
|
|
29
|
+
type: "lt_operator";
|
|
30
|
+
}
|
|
31
|
+
interface LteOperator extends ElevenLabs.AstLessThanOrEqualsOperatorNode {
|
|
32
|
+
type: "lte_operator";
|
|
33
|
+
}
|
|
34
|
+
interface NeqOperator extends ElevenLabs.AstNotEqualsOperatorNode {
|
|
35
|
+
type: "neq_operator";
|
|
36
|
+
}
|
|
37
|
+
interface NumberLiteral extends ElevenLabs.AstNumberNode {
|
|
38
|
+
type: "number_literal";
|
|
39
|
+
}
|
|
40
|
+
interface OrOperator extends ElevenLabs.AstOrOperatorNode {
|
|
41
|
+
type: "or_operator";
|
|
42
|
+
}
|
|
43
|
+
interface StringLiteral extends ElevenLabs.AstStringNode {
|
|
44
|
+
type: "string_literal";
|
|
45
|
+
}
|
|
46
|
+
}
|