@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
package/dist/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.js
CHANGED
|
@@ -56,6 +56,90 @@ class Invocations {
|
|
|
56
56
|
constructor(_options = {}) {
|
|
57
57
|
this._options = _options;
|
|
58
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Lists all test invocations with pagination support and optional search filtering.
|
|
61
|
+
*
|
|
62
|
+
* @param {ElevenLabs.conversationalAi.tests.InvocationsListRequest} request
|
|
63
|
+
* @param {Invocations.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* await client.conversationalAi.tests.invocations.list({
|
|
69
|
+
* agentId: "agent_id",
|
|
70
|
+
* pageSize: 1,
|
|
71
|
+
* cursor: "cursor"
|
|
72
|
+
* })
|
|
73
|
+
*/
|
|
74
|
+
list(request, requestOptions) {
|
|
75
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
76
|
+
}
|
|
77
|
+
__list(request, requestOptions) {
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
var _a, _b, _c;
|
|
80
|
+
const { agentId, pageSize, cursor } = request;
|
|
81
|
+
const _queryParams = {};
|
|
82
|
+
_queryParams["agent_id"] = agentId;
|
|
83
|
+
if (pageSize != null) {
|
|
84
|
+
_queryParams["page_size"] = pageSize.toString();
|
|
85
|
+
}
|
|
86
|
+
if (cursor != null) {
|
|
87
|
+
_queryParams["cursor"] = cursor;
|
|
88
|
+
}
|
|
89
|
+
const _response = yield core.fetcher({
|
|
90
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/convai/test-invocations"),
|
|
91
|
+
method: "GET",
|
|
92
|
+
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
93
|
+
queryParameters: _queryParams,
|
|
94
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
95
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
96
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
97
|
+
});
|
|
98
|
+
if (_response.ok) {
|
|
99
|
+
return {
|
|
100
|
+
data: serializers.GetTestInvocationsPageResponseModel.parseOrThrow(_response.body, {
|
|
101
|
+
unrecognizedObjectKeys: "passthrough",
|
|
102
|
+
allowUnrecognizedUnionMembers: true,
|
|
103
|
+
allowUnrecognizedEnumValues: true,
|
|
104
|
+
breadcrumbsPrefix: ["response"],
|
|
105
|
+
}),
|
|
106
|
+
rawResponse: _response.rawResponse,
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
if (_response.error.reason === "status-code") {
|
|
110
|
+
switch (_response.error.statusCode) {
|
|
111
|
+
case 422:
|
|
112
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
113
|
+
unrecognizedObjectKeys: "passthrough",
|
|
114
|
+
allowUnrecognizedUnionMembers: true,
|
|
115
|
+
allowUnrecognizedEnumValues: true,
|
|
116
|
+
breadcrumbsPrefix: ["response"],
|
|
117
|
+
}), _response.rawResponse);
|
|
118
|
+
default:
|
|
119
|
+
throw new errors.ElevenLabsError({
|
|
120
|
+
statusCode: _response.error.statusCode,
|
|
121
|
+
body: _response.error.body,
|
|
122
|
+
rawResponse: _response.rawResponse,
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
switch (_response.error.reason) {
|
|
127
|
+
case "non-json":
|
|
128
|
+
throw new errors.ElevenLabsError({
|
|
129
|
+
statusCode: _response.error.statusCode,
|
|
130
|
+
body: _response.error.rawBody,
|
|
131
|
+
rawResponse: _response.rawResponse,
|
|
132
|
+
});
|
|
133
|
+
case "timeout":
|
|
134
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling GET /v1/convai/test-invocations.");
|
|
135
|
+
case "unknown":
|
|
136
|
+
throw new errors.ElevenLabsError({
|
|
137
|
+
message: _response.error.errorMessage,
|
|
138
|
+
rawResponse: _response.rawResponse,
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
}
|
|
59
143
|
/**
|
|
60
144
|
* Gets a test invocation by ID.
|
|
61
145
|
*
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* agentId: "agent_id",
|
|
8
|
+
* pageSize: 1,
|
|
9
|
+
* cursor: "cursor"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface InvocationsListRequest {
|
|
13
|
+
/**
|
|
14
|
+
* Filter by agent ID
|
|
15
|
+
*/
|
|
16
|
+
agentId: string;
|
|
17
|
+
/**
|
|
18
|
+
* How many Tests to return at maximum. Can not exceed 100, defaults to 30.
|
|
19
|
+
*/
|
|
20
|
+
pageSize?: number;
|
|
21
|
+
/**
|
|
22
|
+
* Used for fetching next page. Cursor is returned in the response.
|
|
23
|
+
*/
|
|
24
|
+
cursor?: string;
|
|
25
|
+
}
|
|
@@ -119,7 +119,10 @@ export declare class Tools {
|
|
|
119
119
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
|
-
* await client.conversationalAi.tools.getDependentAgents("tool_id"
|
|
122
|
+
* await client.conversationalAi.tools.getDependentAgents("tool_id", {
|
|
123
|
+
* cursor: "cursor",
|
|
124
|
+
* pageSize: 1
|
|
125
|
+
* })
|
|
123
126
|
*/
|
|
124
127
|
getDependentAgents(toolId: string, request?: ElevenLabs.conversationalAi.ToolsGetDependentAgentsRequest, requestOptions?: Tools.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetToolDependentAgentsResponseModel>;
|
|
125
128
|
private __getDependentAgents;
|
|
@@ -428,7 +428,10 @@ class Tools {
|
|
|
428
428
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
429
429
|
*
|
|
430
430
|
* @example
|
|
431
|
-
* await client.conversationalAi.tools.getDependentAgents("tool_id"
|
|
431
|
+
* await client.conversationalAi.tools.getDependentAgents("tool_id", {
|
|
432
|
+
* cursor: "cursor",
|
|
433
|
+
* pageSize: 1
|
|
434
|
+
* })
|
|
432
435
|
*/
|
|
433
436
|
getDependentAgents(toolId, request = {}, requestOptions) {
|
|
434
437
|
return core.HttpResponsePromise.fromPromise(this.__getDependentAgents(toolId, request, requestOptions));
|
|
@@ -48,7 +48,14 @@ export declare class Dubbing {
|
|
|
48
48
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
|
-
* await client.dubbing.list(
|
|
51
|
+
* await client.dubbing.list({
|
|
52
|
+
* cursor: "cursor",
|
|
53
|
+
* pageSize: 1,
|
|
54
|
+
* dubbingStatus: "dubbing",
|
|
55
|
+
* filterByCreator: "personal",
|
|
56
|
+
* orderBy: "created_at",
|
|
57
|
+
* orderDirection: "DESCENDING"
|
|
58
|
+
* })
|
|
52
59
|
*/
|
|
53
60
|
list(request?: ElevenLabs.DubbingListRequest, requestOptions?: Dubbing.RequestOptions): core.HttpResponsePromise<ElevenLabs.DubbingMetadataPageResponseModel>;
|
|
54
61
|
private __list;
|
|
@@ -80,7 +80,14 @@ class Dubbing {
|
|
|
80
80
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
|
-
* await client.dubbing.list(
|
|
83
|
+
* await client.dubbing.list({
|
|
84
|
+
* cursor: "cursor",
|
|
85
|
+
* pageSize: 1,
|
|
86
|
+
* dubbingStatus: "dubbing",
|
|
87
|
+
* filterByCreator: "personal",
|
|
88
|
+
* orderBy: "created_at",
|
|
89
|
+
* orderDirection: "DESCENDING"
|
|
90
|
+
* })
|
|
84
91
|
*/
|
|
85
92
|
list(request = {}, requestOptions) {
|
|
86
93
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
@@ -239,7 +246,7 @@ class Dubbing {
|
|
|
239
246
|
_request.append("disable_voice_cloning", request.disableVoiceCloning.toString());
|
|
240
247
|
}
|
|
241
248
|
if (request.mode != null) {
|
|
242
|
-
_request.append("mode", request.mode);
|
|
249
|
+
_request.append("mode", serializers.DubbingCreateRequestMode.jsonOrThrow(request.mode, { unrecognizedObjectKeys: "strip" }));
|
|
243
250
|
}
|
|
244
251
|
if (request.csvFps != null) {
|
|
245
252
|
_request.append("csv_fps", request.csvFps.toString());
|
package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../../../../core";
|
|
5
|
+
import * as ElevenLabs from "../../../../index";
|
|
5
6
|
/**
|
|
6
7
|
* @example
|
|
7
8
|
* {}
|
|
@@ -39,8 +40,8 @@ export interface BodyDubAVideoOrAnAudioFileV1DubbingPost {
|
|
|
39
40
|
dubbingStudio?: boolean;
|
|
40
41
|
/** Instead of using a voice clone in dubbing, use a similar voice from the ElevenLabs Voice Library. Voices used from the library will contribute towards a workspace's custom voices limit, and if there aren't enough available slots the dub will fail. Using this feature requires the caller to have the 'add_voice_from_voice_library' permission on their workspace to access new voices. */
|
|
41
42
|
disableVoiceCloning?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
mode?:
|
|
43
|
+
/** The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically providing a CSV transcript to use. */
|
|
44
|
+
mode?: ElevenLabs.DubbingCreateRequestMode;
|
|
44
45
|
/** Frames per second to use when parsing a CSV file for dubbing. If not provided, FPS will be inferred from timecodes. */
|
|
45
46
|
csvFps?: number;
|
|
46
47
|
}
|
|
@@ -4,7 +4,14 @@
|
|
|
4
4
|
import * as ElevenLabs from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cursor: "cursor",
|
|
9
|
+
* pageSize: 1,
|
|
10
|
+
* dubbingStatus: "dubbing",
|
|
11
|
+
* filterByCreator: "personal",
|
|
12
|
+
* orderBy: "created_at",
|
|
13
|
+
* orderDirection: "DESCENDING"
|
|
14
|
+
* }
|
|
8
15
|
*/
|
|
9
16
|
export interface DubbingListRequest {
|
|
10
17
|
/**
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* The mode in which to run this Dubbing job. Defaults to automatic, use manual if specifically providing a CSV transcript to use.
|
|
6
|
+
*/
|
|
7
|
+
export type DubbingCreateRequestMode = "automatic" | "manual";
|
|
8
|
+
export declare const DubbingCreateRequestMode: {
|
|
9
|
+
readonly Automatic: "automatic";
|
|
10
|
+
readonly Manual: "manual";
|
|
11
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.DubbingCreateRequestMode = void 0;
|
|
7
|
+
exports.DubbingCreateRequestMode = {
|
|
8
|
+
Automatic: "automatic",
|
|
9
|
+
Manual: "manual",
|
|
10
|
+
};
|
|
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./DubbingListRequestDubbingStatus"), exports);
|
|
18
18
|
__exportStar(require("./DubbingListRequestFilterByCreator"), exports);
|
|
19
19
|
__exportStar(require("./DubbingListRequestOrderDirection"), exports);
|
|
20
|
+
__exportStar(require("./DubbingCreateRequestMode"), exports);
|
|
@@ -39,7 +39,17 @@ export declare class History {
|
|
|
39
39
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
|
-
* await client.history.list(
|
|
42
|
+
* await client.history.list({
|
|
43
|
+
* pageSize: 1,
|
|
44
|
+
* startAfterHistoryItemId: "start_after_history_item_id",
|
|
45
|
+
* voiceId: "voice_id",
|
|
46
|
+
* modelId: "model_id",
|
|
47
|
+
* dateBeforeUnix: 1,
|
|
48
|
+
* dateAfterUnix: 1,
|
|
49
|
+
* sortDirection: "asc",
|
|
50
|
+
* search: "search",
|
|
51
|
+
* source: "TTS"
|
|
52
|
+
* })
|
|
43
53
|
*/
|
|
44
54
|
list(request?: ElevenLabs.HistoryListRequest, requestOptions?: History.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetSpeechHistoryResponse>;
|
|
45
55
|
private __list;
|
|
@@ -65,7 +65,17 @@ class History {
|
|
|
65
65
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
|
-
* await client.history.list(
|
|
68
|
+
* await client.history.list({
|
|
69
|
+
* pageSize: 1,
|
|
70
|
+
* startAfterHistoryItemId: "start_after_history_item_id",
|
|
71
|
+
* voiceId: "voice_id",
|
|
72
|
+
* modelId: "model_id",
|
|
73
|
+
* dateBeforeUnix: 1,
|
|
74
|
+
* dateAfterUnix: 1,
|
|
75
|
+
* sortDirection: "asc",
|
|
76
|
+
* search: "search",
|
|
77
|
+
* source: "TTS"
|
|
78
|
+
* })
|
|
69
79
|
*/
|
|
70
80
|
list(request = {}, requestOptions) {
|
|
71
81
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
@@ -4,7 +4,17 @@
|
|
|
4
4
|
import * as ElevenLabs from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* pageSize: 1,
|
|
9
|
+
* startAfterHistoryItemId: "start_after_history_item_id",
|
|
10
|
+
* voiceId: "voice_id",
|
|
11
|
+
* modelId: "model_id",
|
|
12
|
+
* dateBeforeUnix: 1,
|
|
13
|
+
* dateAfterUnix: 1,
|
|
14
|
+
* sortDirection: "asc",
|
|
15
|
+
* search: "search",
|
|
16
|
+
* source: "TTS"
|
|
17
|
+
* }
|
|
8
18
|
*/
|
|
9
19
|
export interface HistoryListRequest {
|
|
10
20
|
/**
|
|
@@ -5,13 +5,14 @@ import * as ElevenLabs from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* respectSectionsDurations: undefined,
|
|
9
8
|
* prompt: undefined,
|
|
10
9
|
* musicPrompt: undefined,
|
|
11
10
|
* compositionPlan: undefined,
|
|
12
11
|
* musicLengthMs: undefined,
|
|
13
12
|
* modelId: undefined,
|
|
14
|
-
* seed: undefined
|
|
13
|
+
* seed: undefined,
|
|
14
|
+
* forceInstrumental: undefined,
|
|
15
|
+
* respectSectionsDurations: undefined
|
|
15
16
|
* }
|
|
16
17
|
*/
|
|
17
18
|
export interface BodyComposeMusicV1MusicPost {
|
|
@@ -19,8 +20,6 @@ export interface BodyComposeMusicV1MusicPost {
|
|
|
19
20
|
* Output format of the generated audio. Formatted as codec_sample_rate_bitrate. So an mp3 with 22.05kHz sample rate at 32kbs is represented as mp3_22050_32. MP3 with 192kbps bitrate requires you to be subscribed to Creator tier or above. PCM with 44.1kHz sample rate requires you to be subscribed to Pro tier or above. Note that the μ-law format (sometimes written mu-law, often approximated as u-law) is commonly used for Twilio audio inputs.
|
|
20
21
|
*/
|
|
21
22
|
outputFormat?: ElevenLabs.MusicComposeRequestOutputFormat;
|
|
22
|
-
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
|
|
23
|
-
respectSectionsDurations?: boolean;
|
|
24
23
|
/** A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`. */
|
|
25
24
|
prompt?: string;
|
|
26
25
|
/** A music prompt. Deprecated. Use `composition_plan` instead. */
|
|
@@ -33,4 +32,8 @@ export interface BodyComposeMusicV1MusicPost {
|
|
|
33
32
|
modelId?: "music_v1";
|
|
34
33
|
/** The seed to use for the generation. */
|
|
35
34
|
seed?: number;
|
|
35
|
+
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
|
|
36
|
+
forceInstrumental?: boolean;
|
|
37
|
+
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
|
|
38
|
+
respectSectionsDurations?: boolean;
|
|
36
39
|
}
|
|
@@ -10,7 +10,8 @@ import * as ElevenLabs from "../../../../index";
|
|
|
10
10
|
* compositionPlan: undefined,
|
|
11
11
|
* musicLengthMs: undefined,
|
|
12
12
|
* modelId: undefined,
|
|
13
|
-
* seed: undefined
|
|
13
|
+
* seed: undefined,
|
|
14
|
+
* forceInstrumental: undefined
|
|
14
15
|
* }
|
|
15
16
|
*/
|
|
16
17
|
export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
@@ -30,4 +31,6 @@ export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
|
|
|
30
31
|
modelId?: "music_v1";
|
|
31
32
|
/** The seed to use for the generation. */
|
|
32
33
|
seed?: number;
|
|
34
|
+
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
|
|
35
|
+
forceInstrumental?: boolean;
|
|
33
36
|
}
|
package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts
CHANGED
|
@@ -10,7 +10,8 @@ import * as ElevenLabs from "../../../../index";
|
|
|
10
10
|
* compositionPlan: undefined,
|
|
11
11
|
* musicLengthMs: undefined,
|
|
12
12
|
* modelId: undefined,
|
|
13
|
-
* seed: undefined
|
|
13
|
+
* seed: undefined,
|
|
14
|
+
* forceInstrumental: undefined
|
|
14
15
|
* }
|
|
15
16
|
*/
|
|
16
17
|
export interface BodyStreamComposedMusicV1MusicStreamPost {
|
|
@@ -30,4 +31,6 @@ export interface BodyStreamComposedMusicV1MusicStreamPost {
|
|
|
30
31
|
modelId?: "music_v1";
|
|
31
32
|
/** The seed to use for the generation. */
|
|
32
33
|
seed?: number;
|
|
34
|
+
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
|
|
35
|
+
forceInstrumental?: boolean;
|
|
33
36
|
}
|
|
@@ -110,7 +110,12 @@ export declare class PronunciationDictionaries {
|
|
|
110
110
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
111
111
|
*
|
|
112
112
|
* @example
|
|
113
|
-
* await client.pronunciationDictionaries.list(
|
|
113
|
+
* await client.pronunciationDictionaries.list({
|
|
114
|
+
* cursor: "cursor",
|
|
115
|
+
* pageSize: 1,
|
|
116
|
+
* sort: "creation_time_unix",
|
|
117
|
+
* sortDirection: "sort_direction"
|
|
118
|
+
* })
|
|
114
119
|
*/
|
|
115
120
|
list(request?: ElevenLabs.PronunciationDictionariesListRequest, requestOptions?: PronunciationDictionaries.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetPronunciationDictionariesMetadataResponseModel>;
|
|
116
121
|
private __list;
|
|
@@ -437,7 +437,12 @@ class PronunciationDictionaries {
|
|
|
437
437
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
438
438
|
*
|
|
439
439
|
* @example
|
|
440
|
-
* await client.pronunciationDictionaries.list(
|
|
440
|
+
* await client.pronunciationDictionaries.list({
|
|
441
|
+
* cursor: "cursor",
|
|
442
|
+
* pageSize: 1,
|
|
443
|
+
* sort: "creation_time_unix",
|
|
444
|
+
* sortDirection: "sort_direction"
|
|
445
|
+
* })
|
|
441
446
|
*/
|
|
442
447
|
list(request = {}, requestOptions) {
|
|
443
448
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
@@ -4,7 +4,12 @@
|
|
|
4
4
|
import * as ElevenLabs from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cursor: "cursor",
|
|
9
|
+
* pageSize: 1,
|
|
10
|
+
* sort: "creation_time_unix",
|
|
11
|
+
* sortDirection: "sort_direction"
|
|
12
|
+
* }
|
|
8
13
|
*/
|
|
9
14
|
export interface PronunciationDictionariesListRequest {
|
|
10
15
|
/**
|
package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts
CHANGED
|
@@ -107,4 +107,12 @@ export interface BodyCreatePodcastV1StudioPodcastsPost {
|
|
|
107
107
|
*
|
|
108
108
|
*/
|
|
109
109
|
callbackUrl?: string;
|
|
110
|
+
/**
|
|
111
|
+
* This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and 'off'.
|
|
112
|
+
* When set to 'auto', the system will automatically decide whether to apply text normalization
|
|
113
|
+
* (e.g., spelling out numbers). With 'on', text normalization will always be applied, while
|
|
114
|
+
* with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is in English.
|
|
115
|
+
*
|
|
116
|
+
*/
|
|
117
|
+
applyTextNormalization?: ElevenLabs.BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization;
|
|
110
118
|
}
|
|
@@ -79,7 +79,9 @@ export declare class Projects {
|
|
|
79
79
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
80
80
|
*
|
|
81
81
|
* @example
|
|
82
|
-
* await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM"
|
|
82
|
+
* await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM", {
|
|
83
|
+
* shareId: "share_id"
|
|
84
|
+
* })
|
|
83
85
|
*/
|
|
84
86
|
get(projectId: string, request?: ElevenLabs.studio.ProjectsGetRequest, requestOptions?: Projects.RequestOptions): core.HttpResponsePromise<ElevenLabs.ProjectExtendedResponse>;
|
|
85
87
|
private __get;
|
|
@@ -321,7 +321,9 @@ class Projects {
|
|
|
321
321
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
322
322
|
*
|
|
323
323
|
* @example
|
|
324
|
-
* await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM"
|
|
324
|
+
* await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM", {
|
|
325
|
+
* shareId: "share_id"
|
|
326
|
+
* })
|
|
325
327
|
*/
|
|
326
328
|
get(projectId, request = {}, requestOptions) {
|
|
327
329
|
return core.HttpResponsePromise.fromPromise(this.__get(projectId, request, requestOptions));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization = "auto" | "on" | "off" | "apply_english";
|
|
5
|
+
export declare const BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization: {
|
|
6
|
+
readonly Auto: "auto";
|
|
7
|
+
readonly On: "on";
|
|
8
|
+
readonly Off: "off";
|
|
9
|
+
readonly ApplyEnglish: "apply_english";
|
|
10
|
+
};
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization = void 0;
|
|
7
|
+
exports.BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization = {
|
|
8
8
|
Auto: "auto",
|
|
9
9
|
On: "on",
|
|
10
10
|
Off: "off",
|
|
11
|
+
ApplyEnglish: "apply_english",
|
|
11
12
|
};
|
|
@@ -3,3 +3,4 @@ export * from "./BodyCreatePodcastV1StudioPodcastsPostSourceItem";
|
|
|
3
3
|
export * from "./BodyCreatePodcastV1StudioPodcastsPostSource";
|
|
4
4
|
export * from "./BodyCreatePodcastV1StudioPodcastsPostQualityPreset";
|
|
5
5
|
export * from "./BodyCreatePodcastV1StudioPodcastsPostDurationScale";
|
|
6
|
+
export * from "./BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization";
|
|
@@ -19,3 +19,4 @@ __exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostSourceItem"), expor
|
|
|
19
19
|
__exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostSource"), exports);
|
|
20
20
|
__exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostQualityPreset"), exports);
|
|
21
21
|
__exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostDurationScale"), exports);
|
|
22
|
+
__exportStar(require("./BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization"), exports);
|
|
@@ -34,7 +34,7 @@ export declare class TextToSpeech {
|
|
|
34
34
|
* Converts text into speech using a voice of your choice and returns audio.
|
|
35
35
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
36
36
|
*/
|
|
37
|
-
convert(voiceId: string, request: ElevenLabs.
|
|
37
|
+
convert(voiceId: string, request: ElevenLabs.BodyTextToSpeechFull, requestOptions?: TextToSpeech.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
38
38
|
private __convert;
|
|
39
39
|
/**
|
|
40
40
|
* Generate speech from text with precise character-level timing information for audio-text synchronization.
|
|
@@ -47,6 +47,9 @@ export declare class TextToSpeech {
|
|
|
47
47
|
*
|
|
48
48
|
* @example
|
|
49
49
|
* await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
|
|
50
|
+
* enableLogging: true,
|
|
51
|
+
* optimizeStreamingLatency: 1,
|
|
52
|
+
* outputFormat: "mp3_22050_32",
|
|
50
53
|
* text: "This is a test for the API of ElevenLabs."
|
|
51
54
|
* })
|
|
52
55
|
*/
|
|
@@ -95,7 +95,7 @@ class TextToSpeech {
|
|
|
95
95
|
contentType: "application/json",
|
|
96
96
|
queryParameters: _queryParams,
|
|
97
97
|
requestType: "json",
|
|
98
|
-
body: serializers.
|
|
98
|
+
body: serializers.BodyTextToSpeechFull.jsonOrThrow(_body, { unrecognizedObjectKeys: "strip" }),
|
|
99
99
|
responseType: "streaming",
|
|
100
100
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
101
101
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
@@ -149,6 +149,9 @@ class TextToSpeech {
|
|
|
149
149
|
*
|
|
150
150
|
* @example
|
|
151
151
|
* await client.textToSpeech.convertWithTimestamps("21m00Tcm4TlvDq8ikWAM", {
|
|
152
|
+
* enableLogging: true,
|
|
153
|
+
* optimizeStreamingLatency: 1,
|
|
154
|
+
* outputFormat: "mp3_22050_32",
|
|
152
155
|
* text: "This is a test for the API of ElevenLabs."
|
|
153
156
|
* })
|
|
154
157
|
*/
|