@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
package/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.17.0",
|
|
83
|
+
"User-Agent": "@elevenlabs/elevenlabs-js/v2.17.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);
|
|
@@ -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
|
+
};
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
6
|
+
exports.AudioNativeCreateRequestApplyTextNormalization = void 0;
|
|
7
|
+
exports.AudioNativeCreateRequestApplyTextNormalization = {
|
|
8
8
|
Auto: "auto",
|
|
9
9
|
On: "on",
|
|
10
10
|
Off: "off",
|
|
11
|
+
ApplyEnglish: "apply_english",
|
|
11
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);
|
|
@@ -81,7 +81,9 @@ export declare class ConversationalAi {
|
|
|
81
81
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
|
-
* await client.conversationalAi.addToKnowledgeBase({
|
|
84
|
+
* await client.conversationalAi.addToKnowledgeBase({
|
|
85
|
+
* agentId: "agent_id"
|
|
86
|
+
* })
|
|
85
87
|
*/
|
|
86
88
|
addToKnowledgeBase(request: ElevenLabs.BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost, requestOptions?: ConversationalAi.RequestOptions): core.HttpResponsePromise<ElevenLabs.AddKnowledgeBaseResponseModel>;
|
|
87
89
|
private __addToKnowledgeBase;
|
|
@@ -135,7 +135,9 @@ class ConversationalAi {
|
|
|
135
135
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
|
-
* await client.conversationalAi.addToKnowledgeBase({
|
|
138
|
+
* await client.conversationalAi.addToKnowledgeBase({
|
|
139
|
+
* agentId: "agent_id"
|
|
140
|
+
* })
|
|
139
141
|
*/
|
|
140
142
|
addToKnowledgeBase(request, requestOptions) {
|
|
141
143
|
return core.HttpResponsePromise.fromPromise(this.__addToKnowledgeBase(request, requestOptions));
|
|
@@ -106,7 +106,13 @@ export declare class Agents {
|
|
|
106
106
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
|
-
* await client.conversationalAi.agents.list(
|
|
109
|
+
* await client.conversationalAi.agents.list({
|
|
110
|
+
* pageSize: 1,
|
|
111
|
+
* search: "search",
|
|
112
|
+
* sortDirection: "asc",
|
|
113
|
+
* sortBy: "name",
|
|
114
|
+
* cursor: "cursor"
|
|
115
|
+
* })
|
|
110
116
|
*/
|
|
111
117
|
list(request?: ElevenLabs.conversationalAi.AgentsListRequest, requestOptions?: Agents.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetAgentsPageResponseModel>;
|
|
112
118
|
private __list;
|
|
@@ -370,7 +370,13 @@ class Agents {
|
|
|
370
370
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
371
371
|
*
|
|
372
372
|
* @example
|
|
373
|
-
* await client.conversationalAi.agents.list(
|
|
373
|
+
* await client.conversationalAi.agents.list({
|
|
374
|
+
* pageSize: 1,
|
|
375
|
+
* search: "search",
|
|
376
|
+
* sortDirection: "asc",
|
|
377
|
+
* sortBy: "name",
|
|
378
|
+
* cursor: "cursor"
|
|
379
|
+
* })
|
|
374
380
|
*/
|
|
375
381
|
list(request = {}, requestOptions) {
|
|
376
382
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
@@ -378,17 +384,25 @@ class Agents {
|
|
|
378
384
|
__list() {
|
|
379
385
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
380
386
|
var _a, _b, _c;
|
|
381
|
-
const {
|
|
387
|
+
const { pageSize, search, sortDirection, sortBy, cursor } = request;
|
|
382
388
|
const _queryParams = {};
|
|
383
|
-
if (cursor != null) {
|
|
384
|
-
_queryParams["cursor"] = cursor;
|
|
385
|
-
}
|
|
386
389
|
if (pageSize != null) {
|
|
387
390
|
_queryParams["page_size"] = pageSize.toString();
|
|
388
391
|
}
|
|
389
392
|
if (search != null) {
|
|
390
393
|
_queryParams["search"] = search;
|
|
391
394
|
}
|
|
395
|
+
if (sortDirection != null) {
|
|
396
|
+
_queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
397
|
+
unrecognizedObjectKeys: "strip",
|
|
398
|
+
});
|
|
399
|
+
}
|
|
400
|
+
if (sortBy != null) {
|
|
401
|
+
_queryParams["sort_by"] = serializers.AgentSortBy.jsonOrThrow(sortBy, { unrecognizedObjectKeys: "strip" });
|
|
402
|
+
}
|
|
403
|
+
if (cursor != null) {
|
|
404
|
+
_queryParams["cursor"] = cursor;
|
|
405
|
+
}
|
|
392
406
|
const _response = yield core.fetcher({
|
|
393
407
|
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
408
|
method: "GET",
|
package/api/resources/conversationalAi/resources/agents/client/requests/AgentsListRequest.d.ts
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
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
|
+
* {
|
|
8
|
+
* pageSize: 1,
|
|
9
|
+
* search: "search",
|
|
10
|
+
* sortDirection: "asc",
|
|
11
|
+
* sortBy: "name",
|
|
12
|
+
* cursor: "cursor"
|
|
13
|
+
* }
|
|
7
14
|
*/
|
|
8
15
|
export interface AgentsListRequest {
|
|
9
|
-
/**
|
|
10
|
-
* Used for fetching next page. Cursor is returned in the response.
|
|
11
|
-
*/
|
|
12
|
-
cursor?: string;
|
|
13
16
|
/**
|
|
14
17
|
* How many Agents to return at maximum. Can not exceed 100, defaults to 30.
|
|
15
18
|
*/
|
|
@@ -18,4 +21,16 @@ export interface AgentsListRequest {
|
|
|
18
21
|
* Search by agents name.
|
|
19
22
|
*/
|
|
20
23
|
search?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The direction to sort the results
|
|
26
|
+
*/
|
|
27
|
+
sortDirection?: ElevenLabs.SortDirection;
|
|
28
|
+
/**
|
|
29
|
+
* The field to sort the results by
|
|
30
|
+
*/
|
|
31
|
+
sortBy?: ElevenLabs.AgentSortBy;
|
|
32
|
+
/**
|
|
33
|
+
* Used for fetching next page. Cursor is returned in the response.
|
|
34
|
+
*/
|
|
35
|
+
cursor?: string;
|
|
21
36
|
}
|
|
@@ -43,7 +43,9 @@ export declare class Widget {
|
|
|
43
43
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
|
-
* await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM"
|
|
46
|
+
* await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM", {
|
|
47
|
+
* conversationSignature: "conversation_signature"
|
|
48
|
+
* })
|
|
47
49
|
*/
|
|
48
50
|
get(agentId: string, request?: ElevenLabs.conversationalAi.agents.WidgetGetRequest, requestOptions?: Widget.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetAgentEmbedResponseModel>;
|
|
49
51
|
private __get;
|
|
@@ -71,7 +71,9 @@ class Widget {
|
|
|
71
71
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
|
-
* await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM"
|
|
74
|
+
* await client.conversationalAi.agents.widget.get("21m00Tcm4TlvDq8ikWAM", {
|
|
75
|
+
* conversationSignature: "conversation_signature"
|
|
76
|
+
* })
|
|
75
77
|
*/
|
|
76
78
|
get(agentId, request = {}, requestOptions) {
|
|
77
79
|
return core.HttpResponsePromise.fromPromise(this.__get(agentId, request, requestOptions));
|
|
@@ -59,7 +59,10 @@ export declare class BatchCalls {
|
|
|
59
59
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
|
-
* await client.conversationalAi.batchCalls.list(
|
|
62
|
+
* await client.conversationalAi.batchCalls.list({
|
|
63
|
+
* limit: 1,
|
|
64
|
+
* lastDoc: "last_doc"
|
|
65
|
+
* })
|
|
63
66
|
*/
|
|
64
67
|
list(request?: ElevenLabs.conversationalAi.BatchCallsListRequest, requestOptions?: BatchCalls.RequestOptions): core.HttpResponsePromise<ElevenLabs.WorkspaceBatchCallsResponse>;
|
|
65
68
|
private __list;
|
|
@@ -145,7 +145,10 @@ class BatchCalls {
|
|
|
145
145
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
|
-
* await client.conversationalAi.batchCalls.list(
|
|
148
|
+
* await client.conversationalAi.batchCalls.list({
|
|
149
|
+
* limit: 1,
|
|
150
|
+
* lastDoc: "last_doc"
|
|
151
|
+
* })
|
|
149
152
|
*/
|
|
150
153
|
list(request = {}, requestOptions) {
|
|
151
154
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
@@ -17,6 +17,6 @@ export interface BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost {
|
|
|
17
17
|
callName: string;
|
|
18
18
|
agentId: string;
|
|
19
19
|
agentPhoneNumberId: string;
|
|
20
|
-
scheduledTimeUnix?: number;
|
|
21
20
|
recipients: ElevenLabs.OutboundCallRecipient[];
|
|
21
|
+
scheduledTimeUnix?: number;
|
|
22
22
|
}
|
|
@@ -46,7 +46,8 @@ export declare class Conversations {
|
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
49
|
-
* agentId: "21m00Tcm4TlvDq8ikWAM"
|
|
49
|
+
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
50
|
+
* includeConversationId: true
|
|
50
51
|
* })
|
|
51
52
|
*/
|
|
52
53
|
getSignedUrl(request: ElevenLabs.conversationalAi.ConversationsGetSignedUrlRequest, requestOptions?: Conversations.RequestOptions): core.HttpResponsePromise<ElevenLabs.ConversationSignedUrlResponseModel>;
|
|
@@ -61,7 +62,8 @@ export declare class Conversations {
|
|
|
61
62
|
*
|
|
62
63
|
* @example
|
|
63
64
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
64
|
-
* agentId: "21m00Tcm4TlvDq8ikWAM"
|
|
65
|
+
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
66
|
+
* participantName: "participant_name"
|
|
65
67
|
* })
|
|
66
68
|
*/
|
|
67
69
|
getWebrtcToken(request: ElevenLabs.conversationalAi.ConversationsGetWebrtcTokenRequest, requestOptions?: Conversations.RequestOptions): core.HttpResponsePromise<ElevenLabs.TokenResponseModel>;
|
|
@@ -75,7 +77,16 @@ export declare class Conversations {
|
|
|
75
77
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
76
78
|
*
|
|
77
79
|
* @example
|
|
78
|
-
* await client.conversationalAi.conversations.list(
|
|
80
|
+
* await client.conversationalAi.conversations.list({
|
|
81
|
+
* cursor: "cursor",
|
|
82
|
+
* agentId: "agent_id",
|
|
83
|
+
* callSuccessful: "success",
|
|
84
|
+
* callStartBeforeUnix: 1,
|
|
85
|
+
* callStartAfterUnix: 1,
|
|
86
|
+
* userId: "user_id",
|
|
87
|
+
* pageSize: 1,
|
|
88
|
+
* summaryMode: "exclude"
|
|
89
|
+
* })
|
|
79
90
|
*/
|
|
80
91
|
list(request?: ElevenLabs.conversationalAi.ConversationsListRequest, requestOptions?: Conversations.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetConversationsPageResponseModel>;
|
|
81
92
|
private __list;
|
|
@@ -76,7 +76,8 @@ class Conversations {
|
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* await client.conversationalAi.conversations.getSignedUrl({
|
|
79
|
-
* agentId: "21m00Tcm4TlvDq8ikWAM"
|
|
79
|
+
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
80
|
+
* includeConversationId: true
|
|
80
81
|
* })
|
|
81
82
|
*/
|
|
82
83
|
getSignedUrl(request, requestOptions) {
|
|
@@ -155,7 +156,8 @@ class Conversations {
|
|
|
155
156
|
*
|
|
156
157
|
* @example
|
|
157
158
|
* await client.conversationalAi.conversations.getWebrtcToken({
|
|
158
|
-
* agentId: "21m00Tcm4TlvDq8ikWAM"
|
|
159
|
+
* agentId: "21m00Tcm4TlvDq8ikWAM",
|
|
160
|
+
* participantName: "participant_name"
|
|
159
161
|
* })
|
|
160
162
|
*/
|
|
161
163
|
getWebrtcToken(request, requestOptions) {
|
|
@@ -233,7 +235,16 @@ class Conversations {
|
|
|
233
235
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
234
236
|
*
|
|
235
237
|
* @example
|
|
236
|
-
* await client.conversationalAi.conversations.list(
|
|
238
|
+
* await client.conversationalAi.conversations.list({
|
|
239
|
+
* cursor: "cursor",
|
|
240
|
+
* agentId: "agent_id",
|
|
241
|
+
* callSuccessful: "success",
|
|
242
|
+
* callStartBeforeUnix: 1,
|
|
243
|
+
* callStartAfterUnix: 1,
|
|
244
|
+
* userId: "user_id",
|
|
245
|
+
* pageSize: 1,
|
|
246
|
+
* summaryMode: "exclude"
|
|
247
|
+
* })
|
|
237
248
|
*/
|
|
238
249
|
list(request = {}, requestOptions) {
|
|
239
250
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
@@ -4,7 +4,16 @@
|
|
|
4
4
|
import * as ElevenLabs from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cursor: "cursor",
|
|
9
|
+
* agentId: "agent_id",
|
|
10
|
+
* callSuccessful: "success",
|
|
11
|
+
* callStartBeforeUnix: 1,
|
|
12
|
+
* callStartAfterUnix: 1,
|
|
13
|
+
* userId: "user_id",
|
|
14
|
+
* pageSize: 1,
|
|
15
|
+
* summaryMode: "exclude"
|
|
16
|
+
* }
|
|
8
17
|
*/
|
|
9
18
|
export interface ConversationsListRequest {
|
|
10
19
|
/**
|
|
@@ -45,7 +45,15 @@ export declare class KnowledgeBase {
|
|
|
45
45
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
|
-
* await client.conversationalAi.knowledgeBase.list(
|
|
48
|
+
* await client.conversationalAi.knowledgeBase.list({
|
|
49
|
+
* pageSize: 1,
|
|
50
|
+
* search: "search",
|
|
51
|
+
* showOnlyOwnedDocuments: true,
|
|
52
|
+
* sortDirection: "asc",
|
|
53
|
+
* sortBy: "name",
|
|
54
|
+
* useTypesense: true,
|
|
55
|
+
* cursor: "cursor"
|
|
56
|
+
* })
|
|
49
57
|
*/
|
|
50
58
|
list(request?: ElevenLabs.conversationalAi.KnowledgeBaseListRequest, requestOptions?: KnowledgeBase.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetKnowledgeBaseListResponseModel>;
|
|
51
59
|
private __list;
|
|
@@ -75,7 +75,15 @@ class KnowledgeBase {
|
|
|
75
75
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
|
-
* await client.conversationalAi.knowledgeBase.list(
|
|
78
|
+
* await client.conversationalAi.knowledgeBase.list({
|
|
79
|
+
* pageSize: 1,
|
|
80
|
+
* search: "search",
|
|
81
|
+
* showOnlyOwnedDocuments: true,
|
|
82
|
+
* sortDirection: "asc",
|
|
83
|
+
* sortBy: "name",
|
|
84
|
+
* useTypesense: true,
|
|
85
|
+
* cursor: "cursor"
|
|
86
|
+
* })
|
|
79
87
|
*/
|
|
80
88
|
list(request = {}, requestOptions) {
|
|
81
89
|
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
@@ -83,11 +91,8 @@ class KnowledgeBase {
|
|
|
83
91
|
__list() {
|
|
84
92
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
85
93
|
var _a, _b, _c;
|
|
86
|
-
const {
|
|
94
|
+
const { pageSize, search, showOnlyOwnedDocuments, types, sortDirection, sortBy, useTypesense, cursor } = request;
|
|
87
95
|
const _queryParams = {};
|
|
88
|
-
if (cursor != null) {
|
|
89
|
-
_queryParams["cursor"] = cursor;
|
|
90
|
-
}
|
|
91
96
|
if (pageSize != null) {
|
|
92
97
|
_queryParams["page_size"] = pageSize.toString();
|
|
93
98
|
}
|
|
@@ -107,9 +112,22 @@ class KnowledgeBase {
|
|
|
107
112
|
});
|
|
108
113
|
}
|
|
109
114
|
}
|
|
115
|
+
if (sortDirection != null) {
|
|
116
|
+
_queryParams["sort_direction"] = serializers.SortDirection.jsonOrThrow(sortDirection, {
|
|
117
|
+
unrecognizedObjectKeys: "strip",
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
if (sortBy != null) {
|
|
121
|
+
_queryParams["sort_by"] = serializers.KnowledgeBaseSortBy.jsonOrThrow(sortBy, {
|
|
122
|
+
unrecognizedObjectKeys: "strip",
|
|
123
|
+
});
|
|
124
|
+
}
|
|
110
125
|
if (useTypesense != null) {
|
|
111
126
|
_queryParams["use_typesense"] = useTypesense.toString();
|
|
112
127
|
}
|
|
128
|
+
if (cursor != null) {
|
|
129
|
+
_queryParams["cursor"] = cursor;
|
|
130
|
+
}
|
|
113
131
|
const _response = yield core.fetcher({
|
|
114
132
|
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
133
|
method: "GET",
|
|
@@ -4,13 +4,17 @@
|
|
|
4
4
|
import * as ElevenLabs from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* pageSize: 1,
|
|
9
|
+
* search: "search",
|
|
10
|
+
* showOnlyOwnedDocuments: true,
|
|
11
|
+
* sortDirection: "asc",
|
|
12
|
+
* sortBy: "name",
|
|
13
|
+
* useTypesense: true,
|
|
14
|
+
* cursor: "cursor"
|
|
15
|
+
* }
|
|
8
16
|
*/
|
|
9
17
|
export interface KnowledgeBaseListRequest {
|
|
10
|
-
/**
|
|
11
|
-
* Used for fetching next page. Cursor is returned in the response.
|
|
12
|
-
*/
|
|
13
|
-
cursor?: string;
|
|
14
18
|
/**
|
|
15
19
|
* How many documents to return at maximum. Can not exceed 100, defaults to 30.
|
|
16
20
|
*/
|
|
@@ -27,8 +31,20 @@ export interface KnowledgeBaseListRequest {
|
|
|
27
31
|
* If present, the endpoint will return only documents of the given types.
|
|
28
32
|
*/
|
|
29
33
|
types?: ElevenLabs.KnowledgeBaseDocumentType | ElevenLabs.KnowledgeBaseDocumentType[];
|
|
34
|
+
/**
|
|
35
|
+
* The direction to sort the results
|
|
36
|
+
*/
|
|
37
|
+
sortDirection?: ElevenLabs.SortDirection;
|
|
38
|
+
/**
|
|
39
|
+
* The field to sort the results by
|
|
40
|
+
*/
|
|
41
|
+
sortBy?: ElevenLabs.KnowledgeBaseSortBy;
|
|
30
42
|
/**
|
|
31
43
|
* If set to true, the endpoint will use typesense DB to search for the documents).
|
|
32
44
|
*/
|
|
33
45
|
useTypesense?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Used for fetching next page. Cursor is returned in the response.
|
|
48
|
+
*/
|
|
49
|
+
cursor?: string;
|
|
34
50
|
}
|
|
@@ -88,7 +88,9 @@ export declare class Documents {
|
|
|
88
88
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
|
-
* await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM"
|
|
91
|
+
* await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM", {
|
|
92
|
+
* agentId: "agent_id"
|
|
93
|
+
* })
|
|
92
94
|
*/
|
|
93
95
|
get(documentationId: string, request?: ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetRequest, requestOptions?: Documents.RequestOptions): core.HttpResponsePromise<ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetResponse>;
|
|
94
96
|
private __get;
|
|
@@ -102,7 +104,9 @@ export declare class Documents {
|
|
|
102
104
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
103
105
|
*
|
|
104
106
|
* @example
|
|
105
|
-
* await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikWAM"
|
|
107
|
+
* await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikWAM", {
|
|
108
|
+
* force: true
|
|
109
|
+
* })
|
|
106
110
|
*/
|
|
107
111
|
delete(documentationId: string, request?: ElevenLabs.conversationalAi.knowledgeBase.DocumentsDeleteRequest, requestOptions?: Documents.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
108
112
|
private __delete;
|
|
@@ -132,7 +136,10 @@ export declare class Documents {
|
|
|
132
136
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
133
137
|
*
|
|
134
138
|
* @example
|
|
135
|
-
* await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8ikWAM"
|
|
139
|
+
* await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8ikWAM", {
|
|
140
|
+
* cursor: "cursor",
|
|
141
|
+
* pageSize: 1
|
|
142
|
+
* })
|
|
136
143
|
*/
|
|
137
144
|
getAgents(documentationId: string, request?: ElevenLabs.conversationalAi.knowledgeBase.DocumentsGetAgentsRequest, requestOptions?: Documents.RequestOptions): core.HttpResponsePromise<ElevenLabs.GetKnowledgeBaseDependentAgentsResponseModel>;
|
|
138
145
|
private __getAgents;
|
package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js
CHANGED
|
@@ -302,7 +302,9 @@ class Documents {
|
|
|
302
302
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
303
303
|
*
|
|
304
304
|
* @example
|
|
305
|
-
* await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM"
|
|
305
|
+
* await client.conversationalAi.knowledgeBase.documents.get("21m00Tcm4TlvDq8ikWAM", {
|
|
306
|
+
* agentId: "agent_id"
|
|
307
|
+
* })
|
|
306
308
|
*/
|
|
307
309
|
get(documentationId, request = {}, requestOptions) {
|
|
308
310
|
return core.HttpResponsePromise.fromPromise(this.__get(documentationId, request, requestOptions));
|
|
@@ -379,7 +381,9 @@ class Documents {
|
|
|
379
381
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
380
382
|
*
|
|
381
383
|
* @example
|
|
382
|
-
* await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikWAM"
|
|
384
|
+
* await client.conversationalAi.knowledgeBase.documents.delete("21m00Tcm4TlvDq8ikWAM", {
|
|
385
|
+
* force: true
|
|
386
|
+
* })
|
|
383
387
|
*/
|
|
384
388
|
delete(documentationId, request = {}, requestOptions) {
|
|
385
389
|
return core.HttpResponsePromise.fromPromise(this.__delete(documentationId, request, requestOptions));
|
|
@@ -524,7 +528,10 @@ class Documents {
|
|
|
524
528
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
525
529
|
*
|
|
526
530
|
* @example
|
|
527
|
-
* await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8ikWAM"
|
|
531
|
+
* await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8ikWAM", {
|
|
532
|
+
* cursor: "cursor",
|
|
533
|
+
* pageSize: 1
|
|
534
|
+
* })
|
|
528
535
|
*/
|
|
529
536
|
getAgents(documentationId, request = {}, requestOptions) {
|
|
530
537
|
return core.HttpResponsePromise.fromPromise(this.__getAgents(documentationId, request, requestOptions));
|