@elevenlabs/elevenlabs-js 2.15.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/audioNative/client/Client.js +6 -1
- package/api/resources/audioNative/client/requests/BodyCreatesAudioNativeEnabledProjectV1AudioNativePost.d.ts +9 -0
- package/api/resources/audioNative/index.d.ts +1 -0
- package/api/resources/audioNative/index.js +1 -0
- package/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts +10 -0
- package/api/resources/{textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js} +3 -2
- package/api/resources/audioNative/types/index.d.ts +1 -0
- package/api/resources/audioNative/types/index.js +17 -0
- 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 +19 -5
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +20 -5
- 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 +23 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +21 -5
- 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/Client.d.ts +14 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +76 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +16 -0
- package/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +4 -0
- package/api/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +1 -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 +3 -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 +3 -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 +18 -3
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +4 -3
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +16 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +1 -18
- package/api/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +2 -4
- package/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +11 -0
- package/api/resources/dubbing/types/DubbingCreateRequestMode.js +10 -0
- package/api/resources/dubbing/types/DubbingListRequestOrderDirection.d.ts +11 -0
- package/api/resources/dubbing/types/DubbingListRequestOrderDirection.js +10 -0
- package/api/resources/dubbing/types/index.d.ts +2 -0
- package/api/resources/dubbing/types/index.js +2 -0
- package/api/resources/history/client/Client.d.ts +11 -1
- package/api/resources/history/client/Client.js +26 -2
- package/api/resources/history/client/requests/DownloadHistoryRequest.d.ts +7 -0
- package/api/resources/history/client/requests/HistoryListRequest.d.ts +27 -1
- package/api/resources/history/types/HistoryListRequestSortDirection.d.ts +8 -0
- package/api/resources/history/types/HistoryListRequestSortDirection.js +10 -0
- package/api/resources/history/types/index.d.ts +1 -0
- package/api/resources/history/types/index.js +1 -0
- package/api/resources/index.d.ts +2 -1
- package/api/resources/index.js +3 -2
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +19 -0
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +16 -0
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +16 -0
- 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/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.d.ts +2 -1
- package/api/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.js +1 -0
- package/api/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.d.ts +2 -1
- package/api/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.js +1 -0
- 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/speechToText/resources/transcripts/client/Client.d.ts +14 -0
- package/api/resources/speechToText/resources/transcripts/client/Client.js +65 -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/resources/projects/resources/chapters/resources/snapshots/client/requests/BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +6 -0
- package/api/resources/studio/resources/projects/resources/snapshots/client/requests/BodyStreamStudioProjectAudioV1StudioProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +6 -0
- 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 +6 -3
- package/api/resources/textToSpeech/client/Client.js +8 -3
- package/api/resources/textToSpeech/client/requests/{TextToSpeechRequest.d.ts → BodyTextToSpeechFull.d.ts} +4 -2
- package/api/resources/textToSpeech/client/requests/{TextToSpeechWithTimestampsRequest.d.ts → BodyTextToSpeechFullWithTimestamps.d.ts} +7 -2
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +3 -1
- package/api/resources/textToSpeech/client/requests/index.d.ts +2 -2
- 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/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js} +2 -2
- package/api/resources/textToSpeech/types/{BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts → BodyTextToSpeechStreamApplyTextNormalization.d.ts} +2 -2
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +11 -0
- package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts → api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +11 -0
- package/api/resources/textToSpeech/types/index.d.ts +4 -4
- package/api/resources/textToSpeech/types/index.js +4 -4
- 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/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +2 -1
- package/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -0
- package/api/types/AddPronunciationDictionaryResponseModelPermissionOnResource.d.ts +2 -1
- package/api/types/AddPronunciationDictionaryResponseModelPermissionOnResource.js +1 -0
- package/api/types/AgentMetadata.d.ts +7 -0
- package/api/types/AgentMetadata.js +5 -0
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/api/types/AgentSortBy.d.ts +8 -0
- package/api/types/AgentSortBy.js +10 -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/AttachedTestModel.d.ts +1 -0
- package/api/types/BreakdownTypes.d.ts +2 -1
- package/api/types/BreakdownTypes.js +1 -0
- package/api/types/ClientToolConfigInput.d.ts +1 -0
- package/api/types/ClientToolConfigOutput.d.ts +1 -0
- package/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -1
- package/api/types/ConversationalConfig.d.ts +2 -0
- package/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +2 -0
- package/api/types/DependentAvailableAgentIdentifierAccessLevel.d.ts +2 -1
- package/api/types/DependentAvailableAgentIdentifierAccessLevel.js +1 -0
- package/api/types/DependentAvailableToolIdentifierAccessLevel.d.ts +2 -1
- package/api/types/DependentAvailableToolIdentifierAccessLevel.js +1 -0
- package/api/types/DubbingMetadataResponse.d.ts +1 -1
- package/api/types/GetConvAiSettingsResponseModel.d.ts +1 -0
- package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/api/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.d.ts +2 -1
- package/api/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.js +1 -0
- package/api/types/GetSpeechHistoryResponse.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 +3 -0
- package/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/api/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/api/types/KnowledgeBaseSortBy.js +12 -0
- package/api/types/ListResponseMeta.d.ts +8 -0
- package/api/types/ListResponseMeta.js +5 -0
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LivekitStackType.d.ts +8 -0
- package/api/types/{ModelResponseModelConcurrencyGroup.js → LivekitStackType.js} +3 -3
- package/api/types/Llm.d.ts +4 -1
- package/api/types/Llm.js +3 -0
- package/api/types/LlmReasoningEffort.d.ts +10 -0
- package/api/types/LlmReasoningEffort.js +12 -0
- package/api/types/MatchAnythingParameterEvaluationStrategy.d.ts +5 -0
- package/api/types/MatchAnythingParameterEvaluationStrategy.js +5 -0
- package/api/types/McpServerConfigInput.d.ts +4 -0
- package/api/types/McpServerConfigOutput.d.ts +4 -0
- package/api/types/Model.d.ts +1 -1
- package/api/types/ModelSettingsResponseModel.d.ts +0 -2
- package/api/types/MusicPrompt.d.ts +2 -2
- package/api/types/ProjectExtendedResponseModelAccessLevel.d.ts +2 -1
- package/api/types/ProjectExtendedResponseModelAccessLevel.js +1 -0
- package/api/types/ProjectResponseModelAccessLevel.d.ts +2 -1
- package/api/types/ProjectResponseModelAccessLevel.js +1 -0
- package/api/types/PromptAgentApiModelInput.d.ts +3 -1
- package/api/types/PromptAgentApiModelOutput.d.ts +3 -1
- package/api/types/PromptAgentApiModelWorkflowOverride.d.ts +3 -1
- package/api/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.d.ts +2 -1
- package/api/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.js +1 -0
- package/api/types/ResourceAccessInfoRole.d.ts +2 -1
- package/api/types/ResourceAccessInfoRole.js +1 -0
- package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +2 -1
- package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +1 -0
- package/api/types/SipTrunkCredentialsRequestModel.d.ts +2 -2
- package/api/types/SongSection.d.ts +2 -2
- package/api/types/SortDirection.d.ts +8 -0
- package/api/types/SortDirection.js +10 -0
- package/api/types/SubscriptionExtrasResponseModel.d.ts +2 -0
- package/api/types/SystemToolConfigInput.d.ts +2 -1
- package/api/types/SystemToolConfigOutput.d.ts +2 -1
- 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/TextToSpeechStreamWithTimestampsRequest.d.ts +4 -0
- package/api/types/TextToSpeechStreamWithTimestampsRequest.js +5 -0
- package/api/types/TextToSpeechWithTimestampsRequest.d.ts +4 -0
- package/api/types/TextToSpeechWithTimestampsRequest.js +5 -0
- package/api/types/TtsConversationalModel.d.ts +2 -1
- package/api/types/TtsConversationalModel.js +1 -0
- package/api/types/UnitTestCommonModelType.d.ts +8 -0
- package/api/types/UnitTestCommonModelType.js +10 -0
- package/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/api/types/UnitTestToolCallEvaluationModelInput.d.ts +3 -1
- package/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +3 -1
- package/api/types/UnitTestToolCallParameterEval.d.ts +4 -1
- package/api/types/VadConfig.d.ts +7 -0
- package/api/types/VadConfig.js +5 -0
- package/api/types/VadConfigWorkflowOverride.d.ts +7 -0
- package/api/types/VadConfigWorkflowOverride.js +5 -0
- package/api/types/WebhookToolConfigInput.d.ts +1 -0
- package/api/types/WebhookToolConfigOutput.d.ts +1 -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 +47 -1
- package/api/types/index.js +47 -1
- package/dist/Client.js +2 -2
- package/dist/api/resources/audioNative/client/Client.js +6 -1
- package/dist/api/resources/audioNative/client/requests/BodyCreatesAudioNativeEnabledProjectV1AudioNativePost.d.ts +9 -0
- package/dist/api/resources/audioNative/index.d.ts +1 -0
- package/dist/api/resources/audioNative/index.js +1 -0
- package/dist/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts +10 -0
- package/dist/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js +12 -0
- package/dist/api/resources/audioNative/types/index.d.ts +1 -0
- package/dist/api/resources/audioNative/types/index.js +17 -0
- 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 +19 -5
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +20 -5
- 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 +23 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +21 -5
- 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/Client.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +76 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +16 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +5 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +4 -0
- package/dist/api/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +1 -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 +3 -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 +3 -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 +18 -3
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +4 -3
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +16 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +1 -18
- package/dist/api/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +2 -4
- 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/DubbingListRequestOrderDirection.d.ts +11 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestOrderDirection.js +10 -0
- package/dist/api/resources/dubbing/types/index.d.ts +2 -0
- package/dist/api/resources/dubbing/types/index.js +2 -0
- package/dist/api/resources/history/client/Client.d.ts +11 -1
- package/dist/api/resources/history/client/Client.js +26 -2
- package/dist/api/resources/history/client/requests/DownloadHistoryRequest.d.ts +7 -0
- package/dist/api/resources/history/client/requests/HistoryListRequest.d.ts +27 -1
- package/dist/api/resources/history/types/HistoryListRequestSortDirection.d.ts +8 -0
- package/dist/api/resources/history/types/HistoryListRequestSortDirection.js +10 -0
- package/dist/api/resources/history/types/index.d.ts +1 -0
- package/dist/api/resources/history/types/index.js +1 -0
- package/dist/api/resources/index.d.ts +2 -1
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +19 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +16 -0
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +16 -0
- 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/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.d.ts +2 -1
- package/dist/api/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.js +1 -0
- package/dist/api/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.d.ts +2 -1
- package/dist/api/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.js +1 -0
- 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/speechToText/resources/transcripts/client/Client.d.ts +14 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +65 -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/resources/projects/resources/chapters/resources/snapshots/client/requests/BodyStreamChapterAudioV1StudioProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +6 -0
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/requests/BodyStreamStudioProjectAudioV1StudioProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +6 -0
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.d.ts +10 -0
- package/dist/api/resources/studio/types/BodyCreatePodcastV1StudioPodcastsPostApplyTextNormalization.js +12 -0
- 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 +6 -3
- package/dist/api/resources/textToSpeech/client/Client.js +8 -3
- 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/{TextToSpeechWithTimestampsRequest.d.ts → BodyTextToSpeechFullWithTimestamps.d.ts} +7 -2
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js +5 -0
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +3 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +3 -1
- package/dist/api/resources/textToSpeech/client/requests/index.d.ts +2 -2
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +12 -0
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +12 -0
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +12 -0
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +12 -0
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToSpeech/types/index.d.ts +4 -4
- package/dist/api/resources/textToSpeech/types/index.js +4 -4
- 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/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +2 -1
- package/dist/api/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -0
- package/dist/api/types/AddPronunciationDictionaryResponseModelPermissionOnResource.d.ts +2 -1
- package/dist/api/types/AddPronunciationDictionaryResponseModelPermissionOnResource.js +1 -0
- package/dist/api/types/AgentMetadata.d.ts +7 -0
- package/dist/api/types/AgentMetadata.js +5 -0
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/AgentSortBy.d.ts +8 -0
- package/dist/api/types/AgentSortBy.js +10 -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/AttachedTestModel.d.ts +1 -0
- package/dist/api/types/BreakdownTypes.d.ts +2 -1
- package/dist/api/types/BreakdownTypes.js +1 -0
- package/dist/api/types/ClientToolConfigInput.d.ts +1 -0
- package/dist/api/types/ClientToolConfigOutput.d.ts +1 -0
- package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -1
- package/dist/api/types/ConversationalConfig.d.ts +2 -0
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +2 -0
- package/dist/api/types/DependentAvailableAgentIdentifierAccessLevel.d.ts +2 -1
- package/dist/api/types/DependentAvailableAgentIdentifierAccessLevel.js +1 -0
- package/dist/api/types/DependentAvailableToolIdentifierAccessLevel.d.ts +2 -1
- package/dist/api/types/DependentAvailableToolIdentifierAccessLevel.js +1 -0
- package/dist/api/types/DubbingMetadataResponse.d.ts +1 -1
- package/dist/api/types/GetConvAiSettingsResponseModel.d.ts +1 -0
- package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/dist/api/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.d.ts +2 -1
- package/dist/api/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.js +1 -0
- package/dist/api/types/GetSpeechHistoryResponse.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 +3 -0
- package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/api/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/dist/api/types/KnowledgeBaseSortBy.js +12 -0
- package/dist/api/types/ListResponseMeta.d.ts +8 -0
- package/dist/api/types/ListResponseMeta.js +5 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LivekitStackType.d.ts +8 -0
- package/dist/api/types/{ModelResponseModelConcurrencyGroup.js → LivekitStackType.js} +3 -3
- package/dist/api/types/Llm.d.ts +4 -1
- package/dist/api/types/Llm.js +3 -0
- package/dist/api/types/LlmReasoningEffort.d.ts +10 -0
- package/dist/api/types/LlmReasoningEffort.js +12 -0
- package/dist/api/types/MatchAnythingParameterEvaluationStrategy.d.ts +5 -0
- package/dist/api/types/MatchAnythingParameterEvaluationStrategy.js +5 -0
- package/dist/api/types/McpServerConfigInput.d.ts +4 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +4 -0
- package/dist/api/types/Model.d.ts +1 -1
- package/dist/api/types/ModelSettingsResponseModel.d.ts +0 -2
- package/dist/api/types/MusicPrompt.d.ts +2 -2
- package/dist/api/types/ProjectExtendedResponseModelAccessLevel.d.ts +2 -1
- package/dist/api/types/ProjectExtendedResponseModelAccessLevel.js +1 -0
- package/dist/api/types/ProjectResponseModelAccessLevel.d.ts +2 -1
- package/dist/api/types/ProjectResponseModelAccessLevel.js +1 -0
- package/dist/api/types/PromptAgentApiModelInput.d.ts +3 -1
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +3 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverride.d.ts +3 -1
- package/dist/api/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.d.ts +2 -1
- package/dist/api/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.js +1 -0
- package/dist/api/types/ResourceAccessInfoRole.d.ts +2 -1
- package/dist/api/types/ResourceAccessInfoRole.js +1 -0
- package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +2 -1
- package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +1 -0
- package/dist/api/types/SipTrunkCredentialsRequestModel.d.ts +2 -2
- package/dist/api/types/SongSection.d.ts +2 -2
- package/dist/api/types/SortDirection.d.ts +8 -0
- package/dist/api/types/SortDirection.js +10 -0
- package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +2 -0
- package/dist/api/types/SystemToolConfigInput.d.ts +2 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +2 -1
- 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/TextToSpeechStreamWithTimestampsRequest.d.ts +4 -0
- package/dist/api/types/TextToSpeechStreamWithTimestampsRequest.js +5 -0
- package/dist/api/types/TextToSpeechWithTimestampsRequest.d.ts +4 -0
- package/dist/api/types/TextToSpeechWithTimestampsRequest.js +5 -0
- package/dist/api/types/TtsConversationalModel.d.ts +2 -1
- package/dist/api/types/TtsConversationalModel.js +1 -0
- package/dist/api/types/UnitTestCommonModelType.d.ts +8 -0
- package/dist/api/types/UnitTestCommonModelType.js +10 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/api/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/UnitTestToolCallEvaluationModelInput.d.ts +3 -1
- package/dist/api/types/UnitTestToolCallEvaluationModelOutput.d.ts +3 -1
- package/dist/api/types/UnitTestToolCallParameterEval.d.ts +4 -1
- package/dist/api/types/VadConfig.d.ts +7 -0
- package/dist/api/types/VadConfig.js +5 -0
- package/dist/api/types/VadConfigWorkflowOverride.d.ts +7 -0
- package/dist/api/types/VadConfigWorkflowOverride.js +5 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +1 -0
- package/dist/api/types/WebhookToolConfigOutput.d.ts +1 -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 +47 -1
- package/dist/api/types/index.js +47 -1
- package/dist/serialization/resources/audioNative/index.d.ts +1 -0
- package/dist/serialization/resources/audioNative/index.js +17 -0
- package/dist/serialization/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/{textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js} +2 -2
- package/dist/serialization/resources/audioNative/types/index.d.ts +1 -0
- package/dist/serialization/resources/audioNative/types/index.js +17 -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 +15 -0
- package/dist/serialization/resources/{textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js → conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js} +8 -3
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +3 -1
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +6 -0
- package/dist/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +6 -0
- package/dist/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +4 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +4 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +4 -0
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +2 -1
- package/dist/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.js +1 -0
- package/dist/serialization/resources/dubbing/types/DubbingCreateRequestMode.d.ts +10 -0
- package/{serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.js → dist/serialization/resources/dubbing/types/DubbingCreateRequestMode.js} +2 -2
- package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestOrderDirection.js +41 -0
- package/dist/serialization/resources/dubbing/types/index.d.ts +2 -0
- package/dist/serialization/resources/dubbing/types/index.js +2 -0
- package/dist/serialization/resources/history/types/HistoryListRequestSortDirection.d.ts +10 -0
- package/dist/serialization/resources/history/types/HistoryListRequestSortDirection.js +41 -0
- package/dist/serialization/resources/history/types/index.d.ts +1 -0
- package/dist/serialization/resources/history/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +3 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +3 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +2 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +2 -0
- package/dist/serialization/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.d.ts +1 -1
- package/dist/serialization/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.js +1 -1
- package/dist/serialization/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.d.ts +1 -1
- package/dist/serialization/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.js +1 -1
- 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/dist/serialization/resources/{textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → 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/{serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts → dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts} +5 -4
- package/dist/serialization/resources/textToSpeech/client/requests/{TextToSpeechWithTimestampsRequest.js → BodyTextToSpeechFullWithTimestamps.js} +5 -4
- 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 +3 -2
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +3 -2
- package/dist/serialization/resources/textToSpeech/client/requests/index.d.ts +2 -2
- package/dist/serialization/resources/textToSpeech/client/requests/index.js +5 -5
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +41 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/{serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.js → dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js} +2 -2
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamApplyTextNormalization.js +41 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +41 -0
- package/dist/serialization/resources/textToSpeech/types/index.d.ts +4 -4
- package/dist/serialization/resources/textToSpeech/types/index.js +4 -4
- 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/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
- package/dist/serialization/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
- package/dist/serialization/types/AddPronunciationDictionaryResponseModelPermissionOnResource.d.ts +1 -1
- package/dist/serialization/types/AddPronunciationDictionaryResponseModelPermissionOnResource.js +1 -1
- package/dist/serialization/types/AgentMetadata.d.ts +13 -0
- package/dist/serialization/types/AgentMetadata.js +44 -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/AgentSortBy.d.ts +10 -0
- package/dist/serialization/types/{ModelResponseModelConcurrencyGroup.js → AgentSortBy.js} +2 -2
- 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/{serialization/types/ModelResponseModelConcurrencyGroup.js → dist/serialization/types/AstBooleanNode.js} +4 -2
- 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/{resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js → types/AstEqualsOperatorNode.js} +7 -3
- 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/AttachedTestModel.d.ts +1 -0
- package/dist/serialization/types/AttachedTestModel.js +1 -0
- package/dist/serialization/types/BreakdownTypes.d.ts +1 -1
- package/dist/serialization/types/BreakdownTypes.js +1 -0
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -1
- package/dist/serialization/types/ConversationalConfig.d.ts +2 -0
- package/dist/serialization/types/ConversationalConfig.js +2 -0
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +2 -0
- package/dist/serialization/types/DependentAvailableAgentIdentifierAccessLevel.d.ts +1 -1
- package/dist/serialization/types/DependentAvailableAgentIdentifierAccessLevel.js +1 -1
- package/dist/serialization/types/DependentAvailableToolIdentifierAccessLevel.d.ts +1 -1
- package/dist/serialization/types/DependentAvailableToolIdentifierAccessLevel.js +1 -1
- package/dist/serialization/types/GetConvAiSettingsResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetConvAiSettingsResponseModel.js +2 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
- package/dist/serialization/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.d.ts +1 -1
- package/dist/serialization/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.js +1 -1
- package/dist/serialization/types/GetSpeechHistoryResponse.d.ts +1 -0
- package/dist/serialization/types/GetSpeechHistoryResponse.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 +4 -0
- package/dist/serialization/types/GetUnitTestResponseModel.js +4 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
- package/dist/serialization/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/dist/serialization/types/KnowledgeBaseSortBy.js +41 -0
- package/dist/serialization/types/ListResponseMeta.d.ts +14 -0
- package/dist/serialization/types/ListResponseMeta.js +45 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/LivekitStackType.d.ts +10 -0
- package/dist/serialization/types/LivekitStackType.js +41 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +3 -0
- package/dist/serialization/types/LlmReasoningEffort.d.ts +10 -0
- package/dist/serialization/types/LlmReasoningEffort.js +41 -0
- package/dist/serialization/types/MatchAnythingParameterEvaluationStrategy.d.ts +11 -0
- package/dist/serialization/types/MatchAnythingParameterEvaluationStrategy.js +41 -0
- package/dist/serialization/types/McpServerConfigInput.d.ts +2 -0
- package/dist/serialization/types/McpServerConfigInput.js +2 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/serialization/types/McpServerConfigOutput.js +2 -0
- package/dist/serialization/types/Model.d.ts +1 -2
- package/dist/serialization/types/Model.js +1 -2
- package/dist/serialization/types/ModelSettingsResponseModel.d.ts +0 -1
- package/dist/serialization/types/ModelSettingsResponseModel.js +0 -1
- package/dist/serialization/types/ProjectExtendedResponseModelAccessLevel.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelAccessLevel.js +1 -1
- package/dist/serialization/types/ProjectResponseModelAccessLevel.d.ts +1 -1
- package/dist/serialization/types/ProjectResponseModelAccessLevel.js +1 -1
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +2 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.js +2 -0
- package/dist/serialization/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.d.ts +1 -1
- package/dist/serialization/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.js +1 -1
- package/dist/serialization/types/ResourceAccessInfoRole.d.ts +1 -1
- package/dist/serialization/types/ResourceAccessInfoRole.js +1 -1
- package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +1 -1
- package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +1 -1
- package/dist/serialization/types/SipTrunkCredentialsRequestModel.d.ts +1 -1
- package/dist/serialization/types/SipTrunkCredentialsRequestModel.js +1 -1
- package/dist/serialization/types/SortDirection.d.ts +10 -0
- package/dist/serialization/types/SortDirection.js +41 -0
- package/dist/serialization/types/SubscriptionExtrasResponseModel.d.ts +1 -0
- package/dist/serialization/types/SubscriptionExtrasResponseModel.js +1 -0
- package/dist/serialization/types/SystemToolConfigInput.d.ts +1 -1
- package/dist/serialization/types/SystemToolConfigInput.js +1 -1
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +1 -1
- package/dist/serialization/types/SystemToolConfigOutput.js +1 -1
- 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/TextToSpeechStreamWithTimestampsRequest.d.ts +10 -0
- package/dist/serialization/types/TextToSpeechStreamWithTimestampsRequest.js +41 -0
- package/dist/serialization/types/TextToSpeechWithTimestampsRequest.d.ts +10 -0
- package/dist/serialization/types/TextToSpeechWithTimestampsRequest.js +41 -0
- package/dist/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/dist/serialization/types/TtsConversationalModel.js +7 -1
- package/dist/serialization/types/UnitTestCommonModelType.d.ts +10 -0
- package/dist/serialization/types/UnitTestCommonModelType.js +41 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/dist/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/UnitTestSummaryResponseModel.js +2 -0
- package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -1
- package/dist/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -1
- package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -1
- package/dist/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -1
- package/dist/serialization/types/UnitTestToolCallParameterEval.d.ts +5 -1
- package/dist/serialization/types/UnitTestToolCallParameterEval.js +2 -0
- package/dist/serialization/types/VadConfig.d.ts +12 -0
- package/dist/serialization/types/VadConfig.js +43 -0
- package/dist/serialization/types/VadConfigWorkflowOverride.d.ts +12 -0
- package/dist/serialization/types/VadConfigWorkflowOverride.js +43 -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 +47 -1
- package/dist/serialization/types/index.js +47 -1
- 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 +1340 -107
- package/serialization/resources/audioNative/index.d.ts +1 -0
- package/serialization/resources/audioNative/index.js +17 -0
- package/serialization/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js +41 -0
- package/serialization/resources/audioNative/types/index.d.ts +1 -0
- package/serialization/resources/audioNative/types/index.js +17 -0
- 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 +15 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js +46 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/client/requests/index.js +3 -1
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.d.ts +6 -0
- package/serialization/resources/conversationalAi/resources/phoneNumbers/client/requests/UpdatePhoneNumberRequest.js +6 -0
- package/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/settings/client/requests/PatchConvAiSettingsRequest.js +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +4 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +4 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +4 -0
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.d.ts +2 -1
- package/serialization/resources/dubbing/resources/resource/client/requests/BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.js +1 -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/DubbingListRequestOrderDirection.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestOrderDirection.js +41 -0
- package/serialization/resources/dubbing/types/index.d.ts +2 -0
- package/serialization/resources/dubbing/types/index.js +2 -0
- package/serialization/resources/history/types/HistoryListRequestSortDirection.d.ts +10 -0
- package/serialization/resources/history/types/HistoryListRequestSortDirection.js +41 -0
- package/serialization/resources/history/types/index.d.ts +1 -0
- package/serialization/resources/history/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +3 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +3 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +2 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +2 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +2 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +2 -0
- package/serialization/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.d.ts +1 -1
- package/serialization/resources/pronunciationDictionaries/types/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess.js +1 -1
- package/serialization/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.d.ts +1 -1
- package/serialization/resources/pronunciationDictionaries/types/PronunciationDictionariesCreateFromFileRequestWorkspaceAccess.js +1 -1
- 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/{dist/serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts → serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts} +5 -4
- package/serialization/resources/textToSpeech/client/requests/{TextToSpeechWithTimestampsRequest.js → BodyTextToSpeechFullWithTimestamps.js} +5 -4
- 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 +3 -2
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +3 -2
- package/serialization/resources/textToSpeech/client/requests/index.d.ts +2 -2
- package/serialization/resources/textToSpeech/client/requests/index.js +5 -5
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullApplyTextNormalization.js +41 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.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/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +41 -0
- package/serialization/resources/textToSpeech/types/index.d.ts +4 -4
- package/serialization/resources/textToSpeech/types/index.js +4 -4
- 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/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.d.ts +1 -1
- package/serialization/resources/workspace/resources/resources/types/BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePostRole.js +1 -1
- package/serialization/types/AddPronunciationDictionaryResponseModelPermissionOnResource.d.ts +1 -1
- package/serialization/types/AddPronunciationDictionaryResponseModelPermissionOnResource.js +1 -1
- package/serialization/types/AgentMetadata.d.ts +13 -0
- package/serialization/types/AgentMetadata.js +44 -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/AgentSortBy.d.ts +10 -0
- package/serialization/types/AgentSortBy.js +41 -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/AttachedTestModel.d.ts +1 -0
- package/serialization/types/AttachedTestModel.js +1 -0
- package/serialization/types/BreakdownTypes.d.ts +1 -1
- package/serialization/types/BreakdownTypes.js +1 -0
- package/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
- package/serialization/types/ConversationChargingCommonModel.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -1
- package/serialization/types/ConversationalConfig.d.ts +2 -0
- package/serialization/types/ConversationalConfig.js +2 -0
- package/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +2 -0
- package/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +2 -0
- package/serialization/types/DependentAvailableAgentIdentifierAccessLevel.d.ts +1 -1
- package/serialization/types/DependentAvailableAgentIdentifierAccessLevel.js +1 -1
- package/serialization/types/DependentAvailableToolIdentifierAccessLevel.d.ts +1 -1
- package/serialization/types/DependentAvailableToolIdentifierAccessLevel.js +1 -1
- package/serialization/types/GetConvAiSettingsResponseModel.d.ts +2 -0
- package/serialization/types/GetConvAiSettingsResponseModel.js +2 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
- package/serialization/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.d.ts +1 -1
- package/serialization/types/GetPronunciationDictionaryMetadataResponseModelPermissionOnResource.js +1 -1
- package/serialization/types/GetSpeechHistoryResponse.d.ts +1 -0
- package/serialization/types/GetSpeechHistoryResponse.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 +4 -0
- package/serialization/types/GetUnitTestResponseModel.js +4 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
- package/serialization/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/serialization/types/KnowledgeBaseSortBy.js +41 -0
- package/serialization/types/ListResponseMeta.d.ts +14 -0
- package/serialization/types/ListResponseMeta.js +45 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/LivekitStackType.d.ts +10 -0
- package/serialization/types/LivekitStackType.js +41 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +3 -0
- package/serialization/types/LlmReasoningEffort.d.ts +10 -0
- package/serialization/types/LlmReasoningEffort.js +41 -0
- package/serialization/types/MatchAnythingParameterEvaluationStrategy.d.ts +11 -0
- package/serialization/types/MatchAnythingParameterEvaluationStrategy.js +41 -0
- package/serialization/types/McpServerConfigInput.d.ts +2 -0
- package/serialization/types/McpServerConfigInput.js +2 -0
- package/serialization/types/McpServerConfigOutput.d.ts +2 -0
- package/serialization/types/McpServerConfigOutput.js +2 -0
- package/serialization/types/Model.d.ts +1 -2
- package/serialization/types/Model.js +1 -2
- package/serialization/types/ModelSettingsResponseModel.d.ts +0 -1
- package/serialization/types/ModelSettingsResponseModel.js +0 -1
- package/serialization/types/ProjectExtendedResponseModelAccessLevel.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponseModelAccessLevel.js +1 -1
- package/serialization/types/ProjectResponseModelAccessLevel.d.ts +1 -1
- package/serialization/types/ProjectResponseModelAccessLevel.js +1 -1
- package/serialization/types/PromptAgentApiModelInput.d.ts +2 -0
- package/serialization/types/PromptAgentApiModelInput.js +2 -0
- package/serialization/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/serialization/types/PromptAgentApiModelOutput.js +2 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +2 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverride.js +2 -0
- package/serialization/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.d.ts +1 -1
- package/serialization/types/PronunciationDictionaryVersionResponseModelPermissionOnResource.js +1 -1
- package/serialization/types/ResourceAccessInfoRole.d.ts +1 -1
- package/serialization/types/ResourceAccessInfoRole.js +1 -1
- package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +1 -1
- package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +1 -1
- package/serialization/types/SipTrunkCredentialsRequestModel.d.ts +1 -1
- package/serialization/types/SipTrunkCredentialsRequestModel.js +1 -1
- package/serialization/types/SortDirection.d.ts +10 -0
- package/serialization/types/SortDirection.js +41 -0
- package/serialization/types/SubscriptionExtrasResponseModel.d.ts +1 -0
- package/serialization/types/SubscriptionExtrasResponseModel.js +1 -0
- package/serialization/types/SystemToolConfigInput.d.ts +1 -1
- package/serialization/types/SystemToolConfigInput.js +1 -1
- package/serialization/types/SystemToolConfigOutput.d.ts +1 -1
- package/serialization/types/SystemToolConfigOutput.js +1 -1
- 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/TextToSpeechStreamWithTimestampsRequest.d.ts +10 -0
- package/serialization/types/TextToSpeechStreamWithTimestampsRequest.js +41 -0
- package/serialization/types/TextToSpeechWithTimestampsRequest.d.ts +10 -0
- package/serialization/types/TextToSpeechWithTimestampsRequest.js +41 -0
- package/serialization/types/TtsConversationalModel.d.ts +1 -1
- package/serialization/types/TtsConversationalModel.js +7 -1
- package/serialization/types/UnitTestCommonModelType.d.ts +10 -0
- package/serialization/types/UnitTestCommonModelType.js +41 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +1 -0
- package/serialization/types/UnitTestRunResponseModel.js +1 -0
- package/serialization/types/UnitTestSummaryResponseModel.d.ts +2 -0
- package/serialization/types/UnitTestSummaryResponseModel.js +2 -0
- package/serialization/types/UnitTestToolCallEvaluationModelInput.d.ts +2 -1
- package/serialization/types/UnitTestToolCallEvaluationModelInput.js +2 -1
- package/serialization/types/UnitTestToolCallEvaluationModelOutput.d.ts +2 -1
- package/serialization/types/UnitTestToolCallEvaluationModelOutput.js +2 -1
- package/serialization/types/UnitTestToolCallParameterEval.d.ts +5 -1
- package/serialization/types/UnitTestToolCallParameterEval.js +2 -0
- package/serialization/types/VadConfig.d.ts +12 -0
- package/serialization/types/VadConfig.js +43 -0
- package/serialization/types/VadConfigWorkflowOverride.d.ts +12 -0
- package/serialization/types/VadConfigWorkflowOverride.js +43 -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 +47 -1
- package/serialization/types/index.js +47 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/ElevenLabsClient.d.ts +0 -6
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +0 -12
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js +0 -11
- package/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +0 -12
- package/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js +0 -11
- package/api/types/ModelResponseModelConcurrencyGroup.d.ts +0 -11
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +0 -12
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js +0 -11
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +0 -12
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js +0 -11
- package/dist/api/types/ModelResponseModelConcurrencyGroup.d.ts +0 -11
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/types/ModelResponseModelConcurrencyGroup.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js +0 -41
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js +0 -41
- package/serialization/types/ModelResponseModelConcurrencyGroup.d.ts +0 -10
- /package/api/resources/{textToSpeech/client/requests/TextToSpeechRequest.js → conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js} +0 -0
- /package/api/resources/{textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.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/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js} +0 -0
|
@@ -82,4 +82,18 @@ export declare class McpServers {
|
|
|
82
82
|
*/
|
|
83
83
|
get(mcpServerId: string, requestOptions?: McpServers.RequestOptions): core.HttpResponsePromise<ElevenLabs.McpServerResponseModel>;
|
|
84
84
|
private __get;
|
|
85
|
+
/**
|
|
86
|
+
* Update the configuration settings for an MCP server.
|
|
87
|
+
*
|
|
88
|
+
* @param {string} mcpServerId - ID of the MCP Server.
|
|
89
|
+
* @param {ElevenLabs.conversationalAi.McpServerConfigUpdateRequestModel} request
|
|
90
|
+
* @param {McpServers.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* await client.conversationalAi.mcpServers.update("mcp_server_id")
|
|
96
|
+
*/
|
|
97
|
+
update(mcpServerId: string, request?: ElevenLabs.conversationalAi.McpServerConfigUpdateRequestModel, requestOptions?: McpServers.RequestOptions): core.HttpResponsePromise<ElevenLabs.McpServerResponseModel>;
|
|
98
|
+
private __update;
|
|
85
99
|
}
|
|
@@ -290,5 +290,81 @@ class McpServers {
|
|
|
290
290
|
}
|
|
291
291
|
});
|
|
292
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* Update the configuration settings for an MCP server.
|
|
295
|
+
*
|
|
296
|
+
* @param {string} mcpServerId - ID of the MCP Server.
|
|
297
|
+
* @param {ElevenLabs.conversationalAi.McpServerConfigUpdateRequestModel} request
|
|
298
|
+
* @param {McpServers.RequestOptions} requestOptions - Request-specific configuration.
|
|
299
|
+
*
|
|
300
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
301
|
+
*
|
|
302
|
+
* @example
|
|
303
|
+
* await client.conversationalAi.mcpServers.update("mcp_server_id")
|
|
304
|
+
*/
|
|
305
|
+
update(mcpServerId, request = {}, requestOptions) {
|
|
306
|
+
return core.HttpResponsePromise.fromPromise(this.__update(mcpServerId, request, requestOptions));
|
|
307
|
+
}
|
|
308
|
+
__update(mcpServerId_1) {
|
|
309
|
+
return __awaiter(this, arguments, void 0, function* (mcpServerId, request = {}, requestOptions) {
|
|
310
|
+
var _a, _b, _c;
|
|
311
|
+
const _response = yield core.fetcher({
|
|
312
|
+
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/mcp-servers/${encodeURIComponent(mcpServerId)}`),
|
|
313
|
+
method: "PATCH",
|
|
314
|
+
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),
|
|
315
|
+
contentType: "application/json",
|
|
316
|
+
requestType: "json",
|
|
317
|
+
body: serializers.conversationalAi.McpServerConfigUpdateRequestModel.jsonOrThrow(request, {
|
|
318
|
+
unrecognizedObjectKeys: "strip",
|
|
319
|
+
}),
|
|
320
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
321
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
322
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
323
|
+
});
|
|
324
|
+
if (_response.ok) {
|
|
325
|
+
return {
|
|
326
|
+
data: serializers.McpServerResponseModel.parseOrThrow(_response.body, {
|
|
327
|
+
unrecognizedObjectKeys: "passthrough",
|
|
328
|
+
allowUnrecognizedUnionMembers: true,
|
|
329
|
+
allowUnrecognizedEnumValues: true,
|
|
330
|
+
breadcrumbsPrefix: ["response"],
|
|
331
|
+
}),
|
|
332
|
+
rawResponse: _response.rawResponse,
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
if (_response.error.reason === "status-code") {
|
|
336
|
+
switch (_response.error.statusCode) {
|
|
337
|
+
case 422:
|
|
338
|
+
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
339
|
+
unrecognizedObjectKeys: "passthrough",
|
|
340
|
+
allowUnrecognizedUnionMembers: true,
|
|
341
|
+
allowUnrecognizedEnumValues: true,
|
|
342
|
+
breadcrumbsPrefix: ["response"],
|
|
343
|
+
}), _response.rawResponse);
|
|
344
|
+
default:
|
|
345
|
+
throw new errors.ElevenLabsError({
|
|
346
|
+
statusCode: _response.error.statusCode,
|
|
347
|
+
body: _response.error.body,
|
|
348
|
+
rawResponse: _response.rawResponse,
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
switch (_response.error.reason) {
|
|
353
|
+
case "non-json":
|
|
354
|
+
throw new errors.ElevenLabsError({
|
|
355
|
+
statusCode: _response.error.statusCode,
|
|
356
|
+
body: _response.error.rawBody,
|
|
357
|
+
rawResponse: _response.rawResponse,
|
|
358
|
+
});
|
|
359
|
+
case "timeout":
|
|
360
|
+
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling PATCH /v1/convai/mcp-servers/{mcp_server_id}.");
|
|
361
|
+
case "unknown":
|
|
362
|
+
throw new errors.ElevenLabsError({
|
|
363
|
+
message: _response.error.errorMessage,
|
|
364
|
+
rawResponse: _response.rawResponse,
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
});
|
|
368
|
+
}
|
|
293
369
|
}
|
|
294
370
|
exports.McpServers = McpServers;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface McpServerConfigUpdateRequestModel {
|
|
10
|
+
/** The approval mode to set for the MCP server */
|
|
11
|
+
approvalPolicy?: ElevenLabs.McpApprovalPolicy;
|
|
12
|
+
/** Whether to force pre-tool speech for all tools from this MCP server */
|
|
13
|
+
forcePreToolSpeech?: boolean;
|
|
14
|
+
/** Whether to disable interruptions for all tools from this MCP server */
|
|
15
|
+
disableInterruptions?: boolean;
|
|
16
|
+
}
|
|
@@ -31,7 +31,7 @@ export declare class ApprovalPolicy {
|
|
|
31
31
|
protected readonly _options: ApprovalPolicy.Options;
|
|
32
32
|
constructor(_options?: ApprovalPolicy.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Update the approval policy configuration for an MCP server.
|
|
34
|
+
* Update the approval policy configuration for an MCP server. DEPRECATED: Use PATCH /mcp-servers/{id} endpoint instead.
|
|
35
35
|
*
|
|
36
36
|
* @param {string} mcpServerId - ID of the MCP Server.
|
|
37
37
|
* @param {ElevenLabs.conversationalAi.mcpServers.McpApprovalPolicyUpdateRequestModel} request
|
|
@@ -57,7 +57,7 @@ class ApprovalPolicy {
|
|
|
57
57
|
this._options = _options;
|
|
58
58
|
}
|
|
59
59
|
/**
|
|
60
|
-
* Update the approval policy configuration for an MCP server.
|
|
60
|
+
* Update the approval policy configuration for an MCP server. DEPRECATED: Use PATCH /mcp-servers/{id} endpoint instead.
|
|
61
61
|
*
|
|
62
62
|
* @param {string} mcpServerId - ID of the MCP Server.
|
|
63
63
|
* @param {ElevenLabs.conversationalAi.mcpServers.McpApprovalPolicyUpdateRequestModel} request
|
|
@@ -88,7 +88,7 @@ export declare class PhoneNumbers {
|
|
|
88
88
|
delete(phoneNumberId: string, requestOptions?: PhoneNumbers.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
89
89
|
private __delete;
|
|
90
90
|
/**
|
|
91
|
-
* Update
|
|
91
|
+
* Update assigned agent of a phone number
|
|
92
92
|
*
|
|
93
93
|
* @param {string} phoneNumberId - The id of an agent. This is returned on agent creation.
|
|
94
94
|
* @param {ElevenLabs.conversationalAi.UpdatePhoneNumberRequest} request
|
|
@@ -339,7 +339,7 @@ class PhoneNumbers {
|
|
|
339
339
|
});
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
342
|
-
* Update
|
|
342
|
+
* Update assigned agent of a phone number
|
|
343
343
|
*
|
|
344
344
|
* @param {string} phoneNumberId - The id of an agent. This is returned on agent creation.
|
|
345
345
|
* @param {ElevenLabs.conversationalAi.UpdatePhoneNumberRequest} request
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as ElevenLabs from "../../../../../../index";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {}
|
|
7
8
|
*/
|
|
8
9
|
export interface UpdatePhoneNumberRequest {
|
|
9
10
|
agentId?: string;
|
|
11
|
+
inboundTrunkConfig?: ElevenLabs.InboundSipTrunkConfigRequestModel;
|
|
12
|
+
outboundTrunkConfig?: ElevenLabs.OutboundSipTrunkConfigRequestModel;
|
|
13
|
+
livekitStack?: ElevenLabs.LivekitStackType;
|
|
10
14
|
}
|
|
@@ -140,7 +140,11 @@ export declare class Tests {
|
|
|
140
140
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
141
141
|
*
|
|
142
142
|
* @example
|
|
143
|
-
* await client.conversationalAi.tests.list(
|
|
143
|
+
* await client.conversationalAi.tests.list({
|
|
144
|
+
* cursor: "cursor",
|
|
145
|
+
* pageSize: 1,
|
|
146
|
+
* search: "search"
|
|
147
|
+
* })
|
|
144
148
|
*/
|
|
145
149
|
list(request?: ElevenLabs.conversationalAi.TestsListRequest, requestOptions?: Tests.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetTestsPageResponseModel>;
|
|
146
150
|
private __list;
|
|
@@ -460,7 +460,11 @@ class Tests {
|
|
|
460
460
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
461
461
|
*
|
|
462
462
|
* @example
|
|
463
|
-
* await client.conversationalAi.tests.list(
|
|
463
|
+
* await client.conversationalAi.tests.list({
|
|
464
|
+
* cursor: "cursor",
|
|
465
|
+
* pageSize: 1,
|
|
466
|
+
* search: "search"
|
|
467
|
+
* })
|
|
464
468
|
*/
|
|
465
469
|
list(request = {}, requestOptions) {
|
|
466
470
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
package/api/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.d.ts
CHANGED
|
@@ -33,5 +33,8 @@ export interface CreateUnitTestRequest {
|
|
|
33
33
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelInput;
|
|
34
34
|
/** Dynamic variables to replace in the agent config during testing */
|
|
35
35
|
dynamicVariables?: Record<string, ElevenLabs.conversationalAi.CreateUnitTestRequestDynamicVariablesValue | undefined>;
|
|
36
|
+
type?: ElevenLabs.UnitTestCommonModelType;
|
|
37
|
+
/** Metadata of a conversation this test was created from (if applicable). */
|
|
38
|
+
fromConversationMetadata?: ElevenLabs.TestFromConversationMetadataInput;
|
|
36
39
|
name: string;
|
|
37
40
|
}
|
package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts
CHANGED
|
@@ -33,5 +33,8 @@ export interface UpdateUnitTestRequest {
|
|
|
33
33
|
toolCallParameters?: ElevenLabs.UnitTestToolCallEvaluationModelInput;
|
|
34
34
|
/** Dynamic variables to replace in the agent config during testing */
|
|
35
35
|
dynamicVariables?: Record<string, ElevenLabs.conversationalAi.UpdateUnitTestRequestDynamicVariablesValue | undefined>;
|
|
36
|
+
type?: ElevenLabs.UnitTestCommonModelType;
|
|
37
|
+
/** Metadata of a conversation this test was created from (if applicable). */
|
|
38
|
+
fromConversationMetadata?: ElevenLabs.TestFromConversationMetadataInput;
|
|
36
39
|
name: string;
|
|
37
40
|
}
|
package/api/resources/conversationalAi/resources/tests/resources/invocations/client/Client.d.ts
CHANGED
|
@@ -30,6 +30,23 @@ export declare namespace Invocations {
|
|
|
30
30
|
export declare class Invocations {
|
|
31
31
|
protected readonly _options: Invocations.Options;
|
|
32
32
|
constructor(_options?: Invocations.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Lists all test invocations with pagination support and optional search filtering.
|
|
35
|
+
*
|
|
36
|
+
* @param {ElevenLabs.conversationalAi.tests.InvocationsListRequest} request
|
|
37
|
+
* @param {Invocations.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.conversationalAi.tests.invocations.list({
|
|
43
|
+
* agentId: "agent_id",
|
|
44
|
+
* pageSize: 1,
|
|
45
|
+
* cursor: "cursor"
|
|
46
|
+
* })
|
|
47
|
+
*/
|
|
48
|
+
list(request: ElevenLabs.conversationalAi.tests.InvocationsListRequest, requestOptions?: Invocations.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetTestInvocationsPageResponseModel>;
|
|
49
|
+
private __list;
|
|
33
50
|
/**
|
|
34
51
|
* Gets a test invocation by ID.
|
|
35
52
|
*
|
package/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));
|
|
@@ -88,7 +95,7 @@ class Dubbing {
|
|
|
88
95
|
__list() {
|
|
89
96
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
90
97
|
var _a, _b, _c;
|
|
91
|
-
const { cursor, pageSize, dubbingStatus, filterByCreator } = request;
|
|
98
|
+
const { cursor, pageSize, dubbingStatus, filterByCreator, orderBy, orderDirection } = request;
|
|
92
99
|
const _queryParams = {};
|
|
93
100
|
if (cursor != null) {
|
|
94
101
|
_queryParams["cursor"] = cursor;
|
|
@@ -104,6 +111,14 @@ class Dubbing {
|
|
|
104
111
|
if (filterByCreator != null) {
|
|
105
112
|
_queryParams["filter_by_creator"] = serializers.DubbingListRequestFilterByCreator.jsonOrThrow(filterByCreator, { unrecognizedObjectKeys: "strip" });
|
|
106
113
|
}
|
|
114
|
+
if (orderBy != null) {
|
|
115
|
+
_queryParams["order_by"] = orderBy;
|
|
116
|
+
}
|
|
117
|
+
if (orderDirection != null) {
|
|
118
|
+
_queryParams["order_direction"] = serializers.DubbingListRequestOrderDirection.jsonOrThrow(orderDirection, {
|
|
119
|
+
unrecognizedObjectKeys: "strip",
|
|
120
|
+
});
|
|
121
|
+
}
|
|
107
122
|
const _response = yield core.fetcher({
|
|
108
123
|
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/dubbing"),
|
|
109
124
|
method: "GET",
|
|
@@ -231,7 +246,7 @@ class Dubbing {
|
|
|
231
246
|
_request.append("disable_voice_cloning", request.disableVoiceCloning.toString());
|
|
232
247
|
}
|
|
233
248
|
if (request.mode != null) {
|
|
234
|
-
_request.append("mode", request.mode);
|
|
249
|
+
_request.append("mode", serializers.DubbingCreateRequestMode.jsonOrThrow(request.mode, { unrecognizedObjectKeys: "strip" }));
|
|
235
250
|
}
|
|
236
251
|
if (request.csvFps != null) {
|
|
237
252
|
_request.append("csv_fps", request.csvFps.toString());
|
|
@@ -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
|
* {}
|
|
@@ -37,10 +38,10 @@ export interface BodyDubAVideoOrAnAudioFileV1DubbingPost {
|
|
|
37
38
|
useProfanityFilter?: boolean;
|
|
38
39
|
/** Whether to prepare dub for edits in dubbing studio or edits as a dubbing resource. */
|
|
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
|
/**
|
|
@@ -23,4 +30,12 @@ export interface DubbingListRequest {
|
|
|
23
30
|
* Filters who created the resources being listed, whether it was the user running the request or someone else that shared the resource with them.
|
|
24
31
|
*/
|
|
25
32
|
filterByCreator?: ElevenLabs.DubbingListRequestFilterByCreator;
|
|
33
|
+
/**
|
|
34
|
+
* The field to use for ordering results from this query.
|
|
35
|
+
*/
|
|
36
|
+
orderBy?: "created_at";
|
|
37
|
+
/**
|
|
38
|
+
* The order direction to use for results from this query.
|
|
39
|
+
*/
|
|
40
|
+
orderDirection?: ElevenLabs.DubbingListRequestOrderDirection;
|
|
26
41
|
}
|
|
@@ -44,17 +44,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
44
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
48
|
-
var t = {};
|
|
49
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
50
|
-
t[p] = s[p];
|
|
51
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
52
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
53
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
54
|
-
t[p[i]] = s[p[i]];
|
|
55
|
-
}
|
|
56
|
-
return t;
|
|
57
|
-
};
|
|
58
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
59
48
|
exports.Resource = void 0;
|
|
60
49
|
const environments = __importStar(require("../../../../../../environments"));
|
|
@@ -401,19 +390,13 @@ class Resource {
|
|
|
401
390
|
__render(dubbingId, language, request, requestOptions) {
|
|
402
391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
403
392
|
var _a, _b, _c;
|
|
404
|
-
const { shouldNormalizeVolume } = request, _body = __rest(request, ["shouldNormalizeVolume"]);
|
|
405
|
-
const _queryParams = {};
|
|
406
|
-
if (shouldNormalizeVolume != null) {
|
|
407
|
-
_queryParams["should_normalize_volume"] = shouldNormalizeVolume.toString();
|
|
408
|
-
}
|
|
409
393
|
const _response = yield core.fetcher({
|
|
410
394
|
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/dubbing/resource/${encodeURIComponent(dubbingId)}/render/${encodeURIComponent(language)}`),
|
|
411
395
|
method: "POST",
|
|
412
396
|
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),
|
|
413
397
|
contentType: "application/json",
|
|
414
|
-
queryParameters: _queryParams,
|
|
415
398
|
requestType: "json",
|
|
416
|
-
body: serializers.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.jsonOrThrow(
|
|
399
|
+
body: serializers.dubbing.BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
417
400
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
418
401
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
419
402
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -9,10 +9,8 @@ import * as ElevenLabs from "../../../../../../index";
|
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface BodyRenderAudioOrVideoForTheGivenLanguageV1DubbingResourceDubbingIdRenderLanguagePost {
|
|
12
|
-
/**
|
|
13
|
-
* Whether to normalize the volume of the rendered audio.
|
|
14
|
-
*/
|
|
15
|
-
shouldNormalizeVolume?: boolean;
|
|
16
12
|
/** The type of the render. One of ['mp4', 'aac', 'mp3', 'wav', 'aaf', 'tracks_zip', 'clips_zip'] */
|
|
17
13
|
renderType: ElevenLabs.RenderType;
|
|
14
|
+
/** Whether to normalize the volume of the rendered audio. */
|
|
15
|
+
normalizeVolume?: boolean;
|
|
18
16
|
}
|