@elevenlabs/elevenlabs-js 2.15.0 → 2.16.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/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js +12 -0
- package/api/resources/audioNative/types/index.d.ts +1 -0
- package/api/resources/audioNative/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +12 -4
- package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +13 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +14 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +12 -4
- 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 +14 -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/requests/CreateUnitTestRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/api/resources/dubbing/client/Client.js +9 -1
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +8 -0
- 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/DubbingListRequestOrderDirection.d.ts +11 -0
- package/api/resources/dubbing/types/DubbingListRequestOrderDirection.js +10 -0
- package/api/resources/dubbing/types/index.d.ts +1 -0
- package/api/resources/dubbing/types/index.js +1 -0
- package/api/resources/history/client/Client.js +15 -1
- package/api/resources/history/client/requests/DownloadHistoryRequest.d.ts +7 -0
- package/api/resources/history/client/requests/HistoryListRequest.d.ts +16 -0
- 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 +16 -0
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +13 -0
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +13 -0
- 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/resources/transcripts/client/Client.d.ts +14 -0
- package/api/resources/speechToText/resources/transcripts/client/Client.js +65 -0
- 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/textToSpeech/client/Client.d.ts +2 -2
- package/api/resources/textToSpeech/client/Client.js +4 -2
- package/api/resources/textToSpeech/client/requests/{TextToSpeechWithTimestampsRequest.d.ts → BodyTextToSpeechFullWithTimestamps.d.ts} +2 -2
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/api/resources/textToSpeech/types/{BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts → BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +11 -0
- package/{dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.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 +2 -2
- package/api/resources/textToSpeech/types/index.js +2 -2
- 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/AgentSortBy.d.ts +8 -0
- package/api/types/AgentSortBy.js +10 -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/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/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/GetUnitTestResponseModel.d.ts +1 -0
- package/api/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/api/types/KnowledgeBaseSortBy.js +12 -0
- package/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/api/types/LivekitStackType.d.ts +8 -0
- package/{dist/api/types/ModelResponseModelConcurrencyGroup.js → api/types/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 +2 -0
- package/api/types/McpServerConfigOutput.d.ts +2 -0
- package/api/types/Model.d.ts +1 -1
- package/api/types/ModelSettingsResponseModel.d.ts +0 -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 +2 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverride.d.ts +2 -0
- 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/SortDirection.d.ts +8 -0
- package/api/types/SortDirection.js +10 -0
- package/api/types/SystemToolConfigInput.d.ts +2 -1
- package/api/types/SystemToolConfigOutput.d.ts +2 -1
- 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/index.d.ts +12 -1
- package/api/types/index.js +12 -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/resources/agents/client/Client.js +12 -4
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts +13 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +14 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +12 -4
- 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 +14 -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/requests/CreateUnitTestRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +1 -0
- package/dist/api/resources/dubbing/client/Client.js +9 -1
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +8 -0
- 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/DubbingListRequestOrderDirection.d.ts +11 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestOrderDirection.js +10 -0
- package/dist/api/resources/dubbing/types/index.d.ts +1 -0
- package/dist/api/resources/dubbing/types/index.js +1 -0
- package/dist/api/resources/history/client/Client.js +15 -1
- package/dist/api/resources/history/client/requests/DownloadHistoryRequest.d.ts +7 -0
- package/dist/api/resources/history/client/requests/HistoryListRequest.d.ts +16 -0
- 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 +16 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +13 -0
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +13 -0
- 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/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/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/textToSpeech/client/Client.d.ts +2 -2
- package/dist/api/resources/textToSpeech/client/Client.js +4 -2
- package/dist/api/resources/textToSpeech/client/requests/{TextToSpeechWithTimestampsRequest.d.ts → BodyTextToSpeechFullWithTimestamps.d.ts} +2 -2
- package/dist/api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js +5 -0
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/{BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts → BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.js +11 -0
- package/{api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts → dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.d.ts} +2 -2
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamWithTimestampsApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToSpeech/types/index.d.ts +2 -2
- package/dist/api/resources/textToSpeech/types/index.js +2 -2
- package/dist/api/resources/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/AgentSortBy.d.ts +8 -0
- package/dist/api/types/AgentSortBy.js +10 -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/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/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/GetUnitTestResponseModel.d.ts +1 -0
- package/dist/api/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/dist/api/types/KnowledgeBaseSortBy.js +12 -0
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +2 -0
- package/dist/api/types/LivekitStackType.d.ts +8 -0
- package/{api/types/ModelResponseModelConcurrencyGroup.js → dist/api/types/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 +2 -0
- package/dist/api/types/McpServerConfigOutput.d.ts +2 -0
- package/dist/api/types/Model.d.ts +1 -1
- package/dist/api/types/ModelSettingsResponseModel.d.ts +0 -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 +2 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverride.d.ts +2 -0
- 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/SortDirection.d.ts +8 -0
- package/dist/api/types/SortDirection.js +10 -0
- package/dist/api/types/SystemToolConfigInput.d.ts +2 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +2 -1
- 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/index.d.ts +12 -1
- package/dist/api/types/index.js +12 -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/{serialization/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js → dist/serialization/resources/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/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +14 -0
- package/{serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js → dist/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js} +7 -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 +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/dist/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +2 -0
- package/dist/serialization/resources/dubbing/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/DubbingListRequestOrderDirection.d.ts +10 -0
- package/dist/serialization/resources/{textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js → dubbing/types/DubbingListRequestOrderDirection.js} +2 -2
- package/dist/serialization/resources/dubbing/types/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/types/index.js +1 -0
- package/dist/serialization/resources/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 +2 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +2 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
- package/dist/serialization/resources/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/{serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts → dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts} +4 -4
- package/{serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → dist/serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js} +4 -4
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +2 -2
- package/dist/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +2 -2
- package/dist/serialization/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/textToSpeech/client/requests/index.js +3 -3
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.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 +2 -2
- package/dist/serialization/resources/textToSpeech/types/index.js +2 -2
- 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/AgentSortBy.d.ts +10 -0
- package/dist/serialization/types/{ModelResponseModelConcurrencyGroup.js → AgentSortBy.js} +2 -2
- 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/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/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/GetUnitTestResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetUnitTestResponseModel.js +2 -0
- package/dist/serialization/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/{serialization/types/ModelResponseModelConcurrencyGroup.js → dist/serialization/types/KnowledgeBaseSortBy.js} +2 -2
- 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 +1 -0
- package/dist/serialization/types/McpServerConfigInput.js +1 -0
- package/dist/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/dist/serialization/types/McpServerConfigOutput.js +1 -0
- package/dist/serialization/types/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/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/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/index.d.ts +12 -1
- package/dist/serialization/types/index.js +12 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1170 -116
- 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/mcpServers/client/requests/McpServerConfigUpdateRequestModel.d.ts +14 -0
- package/{dist/serialization/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js → serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js} +7 -3
- 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 +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/CreateUnitTestRequest.js +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.d.ts +2 -0
- package/serialization/resources/conversationalAi/resources/tests/client/requests/UpdateUnitTestRequest.js +2 -0
- package/serialization/resources/dubbing/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/DubbingListRequestOrderDirection.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestOrderDirection.js +41 -0
- package/serialization/resources/dubbing/types/index.d.ts +1 -0
- package/serialization/resources/dubbing/types/index.js +1 -0
- package/serialization/resources/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 +2 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +2 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +1 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +1 -0
- package/serialization/resources/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/{dist/serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts → serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.d.ts} +4 -4
- package/{dist/serialization/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → serialization/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js} +4 -4
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +2 -2
- package/serialization/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.js +2 -2
- package/serialization/resources/textToSpeech/client/requests/index.d.ts +1 -1
- package/serialization/resources/textToSpeech/client/requests/index.js +3 -3
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechFullWithTimestampsApplyTextNormalization.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 +2 -2
- package/serialization/resources/textToSpeech/types/index.js +2 -2
- 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/AgentSortBy.d.ts +10 -0
- package/serialization/types/AgentSortBy.js +41 -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/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/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/GetUnitTestResponseModel.d.ts +2 -0
- package/serialization/types/GetUnitTestResponseModel.js +2 -0
- package/serialization/types/KnowledgeBaseSortBy.d.ts +10 -0
- package/serialization/types/KnowledgeBaseSortBy.js +41 -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 +1 -0
- package/serialization/types/McpServerConfigInput.js +1 -0
- package/serialization/types/McpServerConfigOutput.d.ts +1 -0
- package/serialization/types/McpServerConfigOutput.js +1 -0
- package/serialization/types/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/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/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/index.d.ts +12 -1
- package/serialization/types/index.js +12 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js +0 -11
- package/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.js +0 -11
- package/api/types/ModelResponseModelConcurrencyGroup.d.ts +0 -11
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.js +0 -11
- 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/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.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/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/serialization/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +0 -10
- package/serialization/types/ModelResponseModelConcurrencyGroup.d.ts +0 -10
- /package/api/resources/{textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.js} +0 -0
- /package/{dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.js → api/resources/textToSpeech/client/requests/BodyTextToSpeechFullWithTimestamps.js} +0 -0
|
@@ -6,5 +6,7 @@ export interface UnitTestToolCallEvaluationModelInput {
|
|
|
6
6
|
/** Parameters to evaluate for the agent's tool call. If empty, the tool call parameters are not evaluated. */
|
|
7
7
|
parameters?: ElevenLabs.UnitTestToolCallParameter[];
|
|
8
8
|
/** The tool to evaluate a call against. */
|
|
9
|
-
referencedTool
|
|
9
|
+
referencedTool?: ElevenLabs.ReferencedToolCommonModel;
|
|
10
|
+
/** Whether to verify that the tool was NOT called. */
|
|
11
|
+
verifyAbsence?: boolean;
|
|
10
12
|
}
|
|
@@ -6,5 +6,7 @@ export interface UnitTestToolCallEvaluationModelOutput {
|
|
|
6
6
|
/** Parameters to evaluate for the agent's tool call. If empty, the tool call parameters are not evaluated. */
|
|
7
7
|
parameters?: ElevenLabs.UnitTestToolCallParameter[];
|
|
8
8
|
/** The tool to evaluate a call against. */
|
|
9
|
-
referencedTool
|
|
9
|
+
referencedTool?: ElevenLabs.ReferencedToolCommonModel;
|
|
10
|
+
/** Whether to verify that the tool was NOT called. */
|
|
11
|
+
verifyAbsence?: boolean;
|
|
10
12
|
}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
|
-
export type UnitTestToolCallParameterEval = ElevenLabs.UnitTestToolCallParameterEval.Exact | ElevenLabs.UnitTestToolCallParameterEval.Llm | ElevenLabs.UnitTestToolCallParameterEval.Regex;
|
|
5
|
+
export type UnitTestToolCallParameterEval = ElevenLabs.UnitTestToolCallParameterEval.Anything | ElevenLabs.UnitTestToolCallParameterEval.Exact | ElevenLabs.UnitTestToolCallParameterEval.Llm | ElevenLabs.UnitTestToolCallParameterEval.Regex;
|
|
6
6
|
export declare namespace UnitTestToolCallParameterEval {
|
|
7
|
+
interface Anything extends ElevenLabs.MatchAnythingParameterEvaluationStrategy {
|
|
8
|
+
type: "anything";
|
|
9
|
+
}
|
|
7
10
|
interface Exact extends ElevenLabs.ExactParameterEvaluationStrategy {
|
|
8
11
|
type: "exact";
|
|
9
12
|
}
|
|
@@ -7,6 +7,7 @@ import * as ElevenLabs from "../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface WebhookToolConfigInput {
|
|
9
9
|
name: string;
|
|
10
|
+
/** Description of when the tool should be used and what it does. */
|
|
10
11
|
description: string;
|
|
11
12
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
12
13
|
responseTimeoutSecs?: number;
|
|
@@ -7,6 +7,7 @@ import * as ElevenLabs from "../index";
|
|
|
7
7
|
*/
|
|
8
8
|
export interface WebhookToolConfigOutput {
|
|
9
9
|
name: string;
|
|
10
|
+
/** Description of when the tool should be used and what it does. */
|
|
10
11
|
description: string;
|
|
11
12
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
12
13
|
responseTimeoutSecs?: number;
|
package/api/types/index.d.ts
CHANGED
|
@@ -22,10 +22,12 @@ export * from "./AgentConfigApiModelWorkflowOverride";
|
|
|
22
22
|
export * from "./AgentConfigOverride";
|
|
23
23
|
export * from "./AgentConfigOverrideConfig";
|
|
24
24
|
export * from "./AgentFailureResponseExample";
|
|
25
|
+
export * from "./AgentMetadata";
|
|
25
26
|
export * from "./AgentMetadataResponseModel";
|
|
26
27
|
export * from "./AgentPlatformSettingsRequestModel";
|
|
27
28
|
export * from "./AgentPlatformSettingsResponseModel";
|
|
28
29
|
export * from "./AgentSimulatedChatTestResponseModel";
|
|
30
|
+
export * from "./AgentSortBy";
|
|
29
31
|
export * from "./AgentSuccessfulResponseExample";
|
|
30
32
|
export * from "./AgentSummaryResponseModel";
|
|
31
33
|
export * from "./AgentTestingSettings";
|
|
@@ -311,10 +313,12 @@ export * from "./KnowledgeBaseDocumentChunkResponseModel";
|
|
|
311
313
|
export * from "./KnowledgeBaseDocumentMetadataResponseModel";
|
|
312
314
|
export * from "./KnowledgeBaseDocumentType";
|
|
313
315
|
export * from "./KnowledgeBaseLocator";
|
|
316
|
+
export * from "./KnowledgeBaseSortBy";
|
|
314
317
|
export * from "./Llm";
|
|
315
318
|
export * from "./LlmCategoryUsage";
|
|
316
319
|
export * from "./LlmInputOutputTokensUsage";
|
|
317
320
|
export * from "./LlmParameterEvaluationStrategy";
|
|
321
|
+
export * from "./LlmReasoningEffort";
|
|
318
322
|
export * from "./LlmTokensCategoryUsage";
|
|
319
323
|
export * from "./LlmUsageInput";
|
|
320
324
|
export * from "./LlmUsageOutput";
|
|
@@ -333,6 +337,7 @@ export * from "./ListMcpToolsResponseModel";
|
|
|
333
337
|
export * from "./LiteralJsonSchemaPropertyType";
|
|
334
338
|
export * from "./LiteralJsonSchemaPropertyConstantValue";
|
|
335
339
|
export * from "./LiteralJsonSchemaProperty";
|
|
340
|
+
export * from "./LivekitStackType";
|
|
336
341
|
export * from "./McpApprovalPolicy";
|
|
337
342
|
export * from "./McpServerConfigInputUrl";
|
|
338
343
|
export * from "./McpServerConfigInputSecretToken";
|
|
@@ -351,10 +356,10 @@ export * from "./McpToolApprovalHash";
|
|
|
351
356
|
export * from "./McpToolApprovalPolicy";
|
|
352
357
|
export * from "./ManualVerificationFileResponse";
|
|
353
358
|
export * from "./ManualVerificationResponse";
|
|
359
|
+
export * from "./MatchAnythingParameterEvaluationStrategy";
|
|
354
360
|
export * from "./MetricRecord";
|
|
355
361
|
export * from "./MetricType";
|
|
356
362
|
export * from "./ModelRatesResponseModel";
|
|
357
|
-
export * from "./ModelResponseModelConcurrencyGroup";
|
|
358
363
|
export * from "./Model";
|
|
359
364
|
export * from "./ModelSettingsResponseModel";
|
|
360
365
|
export * from "./ModerationStatusResponseModelSafetyStatus";
|
|
@@ -482,6 +487,7 @@ export * from "./SkipTurnToolConfig";
|
|
|
482
487
|
export * from "./SkipTurnToolResponseModel";
|
|
483
488
|
export * from "./SongMetadata";
|
|
484
489
|
export * from "./SongSection";
|
|
490
|
+
export * from "./SortDirection";
|
|
485
491
|
export * from "./SpeakerAudioResponseModel";
|
|
486
492
|
export * from "./SpeakerResponseModel";
|
|
487
493
|
export * from "./SpeakerSegment";
|
|
@@ -556,6 +562,7 @@ export * from "./TurnMode";
|
|
|
556
562
|
export * from "./TwilioOutboundCallResponse";
|
|
557
563
|
export * from "./TxtExportOptions";
|
|
558
564
|
export * from "./UrlAvatar";
|
|
565
|
+
export * from "./UnitTestCommonModelType";
|
|
559
566
|
export * from "./UnitTestRunResponseModel";
|
|
560
567
|
export * from "./UnitTestSummaryResponseModel";
|
|
561
568
|
export * from "./UnitTestToolCallEvaluationModelInput";
|
|
@@ -569,6 +576,8 @@ export * from "./UserFeedback";
|
|
|
569
576
|
export * from "./UserFeedbackScore";
|
|
570
577
|
export * from "./User";
|
|
571
578
|
export * from "./UtteranceResponseModel";
|
|
579
|
+
export * from "./VadConfig";
|
|
580
|
+
export * from "./VadConfigWorkflowOverride";
|
|
572
581
|
export * from "./ValidationErrorLocItem";
|
|
573
582
|
export * from "./ValidationError";
|
|
574
583
|
export * from "./VerificationAttemptResponse";
|
|
@@ -662,6 +671,8 @@ export * from "./CreateAudioNativeProjectRequest";
|
|
|
662
671
|
export * from "./TextToSpeechStreamRequest";
|
|
663
672
|
export * from "./UpdatePronunciationDictionariesRequest";
|
|
664
673
|
export * from "./GetPhoneNumberResponse";
|
|
674
|
+
export * from "./TextToSpeechWithTimestampsRequest";
|
|
675
|
+
export * from "./TextToSpeechStreamWithTimestampsRequest";
|
|
665
676
|
export * from "./SaveVoicePreviewRequest";
|
|
666
677
|
export * from "./EditVoiceSettingsRequest";
|
|
667
678
|
export * from "./GetChaptersRequest";
|
package/api/types/index.js
CHANGED
|
@@ -38,10 +38,12 @@ __exportStar(require("./AgentConfigApiModelWorkflowOverride"), exports);
|
|
|
38
38
|
__exportStar(require("./AgentConfigOverride"), exports);
|
|
39
39
|
__exportStar(require("./AgentConfigOverrideConfig"), exports);
|
|
40
40
|
__exportStar(require("./AgentFailureResponseExample"), exports);
|
|
41
|
+
__exportStar(require("./AgentMetadata"), exports);
|
|
41
42
|
__exportStar(require("./AgentMetadataResponseModel"), exports);
|
|
42
43
|
__exportStar(require("./AgentPlatformSettingsRequestModel"), exports);
|
|
43
44
|
__exportStar(require("./AgentPlatformSettingsResponseModel"), exports);
|
|
44
45
|
__exportStar(require("./AgentSimulatedChatTestResponseModel"), exports);
|
|
46
|
+
__exportStar(require("./AgentSortBy"), exports);
|
|
45
47
|
__exportStar(require("./AgentSuccessfulResponseExample"), exports);
|
|
46
48
|
__exportStar(require("./AgentSummaryResponseModel"), exports);
|
|
47
49
|
__exportStar(require("./AgentTestingSettings"), exports);
|
|
@@ -327,10 +329,12 @@ __exportStar(require("./KnowledgeBaseDocumentChunkResponseModel"), exports);
|
|
|
327
329
|
__exportStar(require("./KnowledgeBaseDocumentMetadataResponseModel"), exports);
|
|
328
330
|
__exportStar(require("./KnowledgeBaseDocumentType"), exports);
|
|
329
331
|
__exportStar(require("./KnowledgeBaseLocator"), exports);
|
|
332
|
+
__exportStar(require("./KnowledgeBaseSortBy"), exports);
|
|
330
333
|
__exportStar(require("./Llm"), exports);
|
|
331
334
|
__exportStar(require("./LlmCategoryUsage"), exports);
|
|
332
335
|
__exportStar(require("./LlmInputOutputTokensUsage"), exports);
|
|
333
336
|
__exportStar(require("./LlmParameterEvaluationStrategy"), exports);
|
|
337
|
+
__exportStar(require("./LlmReasoningEffort"), exports);
|
|
334
338
|
__exportStar(require("./LlmTokensCategoryUsage"), exports);
|
|
335
339
|
__exportStar(require("./LlmUsageInput"), exports);
|
|
336
340
|
__exportStar(require("./LlmUsageOutput"), exports);
|
|
@@ -349,6 +353,7 @@ __exportStar(require("./ListMcpToolsResponseModel"), exports);
|
|
|
349
353
|
__exportStar(require("./LiteralJsonSchemaPropertyType"), exports);
|
|
350
354
|
__exportStar(require("./LiteralJsonSchemaPropertyConstantValue"), exports);
|
|
351
355
|
__exportStar(require("./LiteralJsonSchemaProperty"), exports);
|
|
356
|
+
__exportStar(require("./LivekitStackType"), exports);
|
|
352
357
|
__exportStar(require("./McpApprovalPolicy"), exports);
|
|
353
358
|
__exportStar(require("./McpServerConfigInputUrl"), exports);
|
|
354
359
|
__exportStar(require("./McpServerConfigInputSecretToken"), exports);
|
|
@@ -367,10 +372,10 @@ __exportStar(require("./McpToolApprovalHash"), exports);
|
|
|
367
372
|
__exportStar(require("./McpToolApprovalPolicy"), exports);
|
|
368
373
|
__exportStar(require("./ManualVerificationFileResponse"), exports);
|
|
369
374
|
__exportStar(require("./ManualVerificationResponse"), exports);
|
|
375
|
+
__exportStar(require("./MatchAnythingParameterEvaluationStrategy"), exports);
|
|
370
376
|
__exportStar(require("./MetricRecord"), exports);
|
|
371
377
|
__exportStar(require("./MetricType"), exports);
|
|
372
378
|
__exportStar(require("./ModelRatesResponseModel"), exports);
|
|
373
|
-
__exportStar(require("./ModelResponseModelConcurrencyGroup"), exports);
|
|
374
379
|
__exportStar(require("./Model"), exports);
|
|
375
380
|
__exportStar(require("./ModelSettingsResponseModel"), exports);
|
|
376
381
|
__exportStar(require("./ModerationStatusResponseModelSafetyStatus"), exports);
|
|
@@ -498,6 +503,7 @@ __exportStar(require("./SkipTurnToolConfig"), exports);
|
|
|
498
503
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
499
504
|
__exportStar(require("./SongMetadata"), exports);
|
|
500
505
|
__exportStar(require("./SongSection"), exports);
|
|
506
|
+
__exportStar(require("./SortDirection"), exports);
|
|
501
507
|
__exportStar(require("./SpeakerAudioResponseModel"), exports);
|
|
502
508
|
__exportStar(require("./SpeakerResponseModel"), exports);
|
|
503
509
|
__exportStar(require("./SpeakerSegment"), exports);
|
|
@@ -572,6 +578,7 @@ __exportStar(require("./TurnMode"), exports);
|
|
|
572
578
|
__exportStar(require("./TwilioOutboundCallResponse"), exports);
|
|
573
579
|
__exportStar(require("./TxtExportOptions"), exports);
|
|
574
580
|
__exportStar(require("./UrlAvatar"), exports);
|
|
581
|
+
__exportStar(require("./UnitTestCommonModelType"), exports);
|
|
575
582
|
__exportStar(require("./UnitTestRunResponseModel"), exports);
|
|
576
583
|
__exportStar(require("./UnitTestSummaryResponseModel"), exports);
|
|
577
584
|
__exportStar(require("./UnitTestToolCallEvaluationModelInput"), exports);
|
|
@@ -585,6 +592,8 @@ __exportStar(require("./UserFeedback"), exports);
|
|
|
585
592
|
__exportStar(require("./UserFeedbackScore"), exports);
|
|
586
593
|
__exportStar(require("./User"), exports);
|
|
587
594
|
__exportStar(require("./UtteranceResponseModel"), exports);
|
|
595
|
+
__exportStar(require("./VadConfig"), exports);
|
|
596
|
+
__exportStar(require("./VadConfigWorkflowOverride"), exports);
|
|
588
597
|
__exportStar(require("./ValidationErrorLocItem"), exports);
|
|
589
598
|
__exportStar(require("./ValidationError"), exports);
|
|
590
599
|
__exportStar(require("./VerificationAttemptResponse"), exports);
|
|
@@ -678,6 +687,8 @@ __exportStar(require("./CreateAudioNativeProjectRequest"), exports);
|
|
|
678
687
|
__exportStar(require("./TextToSpeechStreamRequest"), exports);
|
|
679
688
|
__exportStar(require("./UpdatePronunciationDictionariesRequest"), exports);
|
|
680
689
|
__exportStar(require("./GetPhoneNumberResponse"), exports);
|
|
690
|
+
__exportStar(require("./TextToSpeechWithTimestampsRequest"), exports);
|
|
691
|
+
__exportStar(require("./TextToSpeechStreamWithTimestampsRequest"), exports);
|
|
681
692
|
__exportStar(require("./SaveVoicePreviewRequest"), exports);
|
|
682
693
|
__exportStar(require("./EditVoiceSettingsRequest"), exports);
|
|
683
694
|
__exportStar(require("./GetChaptersRequest"), exports);
|
package/dist/Client.js
CHANGED
|
@@ -79,8 +79,8 @@ class ElevenLabsClient {
|
|
|
79
79
|
"xi-api-key": _options === null || _options === void 0 ? void 0 : _options.apiKey,
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
|
|
82
|
-
"X-Fern-SDK-Version": "v2.
|
|
83
|
-
"User-Agent": "@elevenlabs/elevenlabs-js/v2.
|
|
82
|
+
"X-Fern-SDK-Version": "v2.16.0",
|
|
83
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.16.0",
|
|
84
84
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
85
85
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
86
86
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -49,8 +49,8 @@ exports.AudioNative = void 0;
|
|
|
49
49
|
const environments = __importStar(require("../../../../environments"));
|
|
50
50
|
const core = __importStar(require("../../../../core"));
|
|
51
51
|
const ElevenLabs = __importStar(require("../../../index"));
|
|
52
|
-
const headers_1 = require("../../../../core/headers");
|
|
53
52
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
53
|
+
const headers_1 = require("../../../../core/headers");
|
|
54
54
|
const errors = __importStar(require("../../../../errors/index"));
|
|
55
55
|
class AudioNative {
|
|
56
56
|
constructor(_options = {}) {
|
|
@@ -110,6 +110,11 @@ class AudioNative {
|
|
|
110
110
|
if (request.autoConvert != null) {
|
|
111
111
|
_request.append("auto_convert", request.autoConvert.toString());
|
|
112
112
|
}
|
|
113
|
+
if (request.applyTextNormalization != null) {
|
|
114
|
+
_request.append("apply_text_normalization", serializers.AudioNativeCreateRequestApplyTextNormalization.jsonOrThrow(request.applyTextNormalization, {
|
|
115
|
+
unrecognizedObjectKeys: "strip",
|
|
116
|
+
}));
|
|
117
|
+
}
|
|
113
118
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
114
119
|
const _response = yield core.fetcher({
|
|
115
120
|
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/audio-native"),
|
|
@@ -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
|
* {
|
|
@@ -32,4 +33,12 @@ export interface BodyCreatesAudioNativeEnabledProjectV1AudioNativePost {
|
|
|
32
33
|
file?: core.FileLike | undefined;
|
|
33
34
|
/** Whether to auto convert the project to audio or not. */
|
|
34
35
|
autoConvert?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* This parameter controls text normalization with four modes: 'auto', 'on', 'apply_english' and 'off'.
|
|
38
|
+
* When set to 'auto', the system will automatically decide whether to apply text normalization
|
|
39
|
+
* (e.g., spelling out numbers). With 'on', text normalization will always be applied, while
|
|
40
|
+
* with 'off', it will be skipped. 'apply_english' is the same as 'on' but will assume that text is in English.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
applyTextNormalization?: ElevenLabs.AudioNativeCreateRequestApplyTextNormalization;
|
|
35
44
|
}
|
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
package/dist/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type AudioNativeCreateRequestApplyTextNormalization = "auto" | "on" | "off" | "apply_english";
|
|
5
|
+
export declare const AudioNativeCreateRequestApplyTextNormalization: {
|
|
6
|
+
readonly Auto: "auto";
|
|
7
|
+
readonly On: "on";
|
|
8
|
+
readonly Off: "off";
|
|
9
|
+
readonly ApplyEnglish: "apply_english";
|
|
10
|
+
};
|
package/dist/api/resources/audioNative/types/AudioNativeCreateRequestApplyTextNormalization.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.AudioNativeCreateRequestApplyTextNormalization = void 0;
|
|
7
|
+
exports.AudioNativeCreateRequestApplyTextNormalization = {
|
|
8
|
+
Auto: "auto",
|
|
9
|
+
On: "on",
|
|
10
|
+
Off: "off",
|
|
11
|
+
ApplyEnglish: "apply_english",
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./AudioNativeCreateRequestApplyTextNormalization";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AudioNativeCreateRequestApplyTextNormalization"), exports);
|
|
@@ -378,17 +378,25 @@ class Agents {
|
|
|
378
378
|
__list() {
|
|
379
379
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
380
380
|
var _a, _b, _c;
|
|
381
|
-
const {
|
|
381
|
+
const { pageSize, search, sortDirection, sortBy, cursor } = request;
|
|
382
382
|
const _queryParams = {};
|
|
383
|
-
if (cursor != null) {
|
|
384
|
-
_queryParams["cursor"] = cursor;
|
|
385
|
-
}
|
|
386
383
|
if (pageSize != null) {
|
|
387
384
|
_queryParams["page_size"] = pageSize.toString();
|
|
388
385
|
}
|
|
389
386
|
if (search != null) {
|
|
390
387
|
_queryParams["search"] = search;
|
|
391
388
|
}
|
|
389
|
+
if (sortDirection != null) {
|
|
390
|
+
_queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
391
|
+
unrecognizedObjectKeys: "strip",
|
|
392
|
+
});
|
|
393
|
+
}
|
|
394
|
+
if (sortBy != null) {
|
|
395
|
+
_queryParams["sort_by"] = serializers.AgentSortBy.jsonOrThrow(sortBy, { unrecognizedObjectKeys: "strip" });
|
|
396
|
+
}
|
|
397
|
+
if (cursor != null) {
|
|
398
|
+
_queryParams["cursor"] = cursor;
|
|
399
|
+
}
|
|
392
400
|
const _response = yield core.fetcher({
|
|
393
401
|
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/agents"),
|
|
394
402
|
method: "GET",
|
package/dist/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
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 AgentsListRequest {
|
|
9
|
-
/**
|
|
10
|
-
* Used for fetching next page. Cursor is returned in the response.
|
|
11
|
-
*/
|
|
12
|
-
cursor?: string;
|
|
13
10
|
/**
|
|
14
11
|
* How many Agents to return at maximum. Can not exceed 100, defaults to 30.
|
|
15
12
|
*/
|
|
@@ -18,4 +15,16 @@ export interface AgentsListRequest {
|
|
|
18
15
|
* Search by agents name.
|
|
19
16
|
*/
|
|
20
17
|
search?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The direction to sort the results
|
|
20
|
+
*/
|
|
21
|
+
sortDirection?: ElevenLabs.SortDirection;
|
|
22
|
+
/**
|
|
23
|
+
* The field to sort the results by
|
|
24
|
+
*/
|
|
25
|
+
sortBy?: ElevenLabs.AgentSortBy;
|
|
26
|
+
/**
|
|
27
|
+
* Used for fetching next page. Cursor is returned in the response.
|
|
28
|
+
*/
|
|
29
|
+
cursor?: string;
|
|
21
30
|
}
|
|
@@ -83,11 +83,8 @@ class KnowledgeBase {
|
|
|
83
83
|
__list() {
|
|
84
84
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
85
85
|
var _a, _b, _c;
|
|
86
|
-
const {
|
|
86
|
+
const { pageSize, search, showOnlyOwnedDocuments, types, sortDirection, sortBy, useTypesense, cursor } = request;
|
|
87
87
|
const _queryParams = {};
|
|
88
|
-
if (cursor != null) {
|
|
89
|
-
_queryParams["cursor"] = cursor;
|
|
90
|
-
}
|
|
91
88
|
if (pageSize != null) {
|
|
92
89
|
_queryParams["page_size"] = pageSize.toString();
|
|
93
90
|
}
|
|
@@ -107,9 +104,22 @@ class KnowledgeBase {
|
|
|
107
104
|
});
|
|
108
105
|
}
|
|
109
106
|
}
|
|
107
|
+
if (sortDirection != null) {
|
|
108
|
+
_queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
109
|
+
unrecognizedObjectKeys: "strip",
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
if (sortBy != null) {
|
|
113
|
+
_queryParams["sort_by"] = serializers.KnowledgeBaseSortBy.jsonOrThrow(sortBy, {
|
|
114
|
+
unrecognizedObjectKeys: "strip",
|
|
115
|
+
});
|
|
116
|
+
}
|
|
110
117
|
if (useTypesense != null) {
|
|
111
118
|
_queryParams["use_typesense"] = useTypesense.toString();
|
|
112
119
|
}
|
|
120
|
+
if (cursor != null) {
|
|
121
|
+
_queryParams["cursor"] = cursor;
|
|
122
|
+
}
|
|
113
123
|
const _response = yield core.fetcher({
|
|
114
124
|
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/knowledge-base"),
|
|
115
125
|
method: "GET",
|
|
@@ -7,10 +7,6 @@ import * as ElevenLabs from "../../../../../../index";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface KnowledgeBaseListRequest {
|
|
10
|
-
/**
|
|
11
|
-
* Used for fetching next page. Cursor is returned in the response.
|
|
12
|
-
*/
|
|
13
|
-
cursor?: string;
|
|
14
10
|
/**
|
|
15
11
|
* How many documents to return at maximum. Can not exceed 100, defaults to 30.
|
|
16
12
|
*/
|
|
@@ -27,8 +23,20 @@ export interface KnowledgeBaseListRequest {
|
|
|
27
23
|
* If present, the endpoint will return only documents of the given types.
|
|
28
24
|
*/
|
|
29
25
|
types?: ElevenLabs.KnowledgeBaseDocumentType | ElevenLabs.KnowledgeBaseDocumentType[];
|
|
26
|
+
/**
|
|
27
|
+
* The direction to sort the results
|
|
28
|
+
*/
|
|
29
|
+
sortDirection?: ElevenLabs.SortDirection;
|
|
30
|
+
/**
|
|
31
|
+
* The field to sort the results by
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: ElevenLabs.KnowledgeBaseSortBy;
|
|
30
34
|
/**
|
|
31
35
|
* If set to true, the endpoint will use typesense DB to search for the documents).
|
|
32
36
|
*/
|
|
33
37
|
useTypesense?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Used for fetching next page. Cursor is returned in the response.
|
|
40
|
+
*/
|
|
41
|
+
cursor?: string;
|
|
34
42
|
}
|
|
@@ -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,14 @@
|
|
|
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
|
+
}
|
|
@@ -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
|