@elevenlabs/elevenlabs-js 2.42.0 → 2.43.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/.fern/metadata.json +3 -2
- package/AGENTS.md +7 -0
- package/BaseClient.js +2 -2
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +3 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +14 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/index.js +2 -1
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +26 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +115 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/topics/index.js +17 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +17 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +78 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +19 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.js +3 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +3 -2
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +19 -0
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +73 -1
- package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsGetDependenciesRequest.d.ts +13 -0
- package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsGetDependenciesRequest.js +3 -0
- package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +3 -0
- package/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -1
- package/api/resources/music/client/Client.d.ts +1 -1
- package/api/resources/music/client/Client.js +1 -1
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
- package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
- package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +1 -1
- package/api/resources/studio/client/Client.d.ts +0 -1
- package/api/resources/studio/client/Client.js +0 -1
- package/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +0 -1
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/api/types/AgentBranchSummary.d.ts +2 -0
- package/api/types/AgentTopicResponseModel.d.ts +6 -0
- package/api/types/AgentTopicResponseModel.js +3 -0
- package/api/types/AgentVersionParents.d.ts +1 -0
- package/api/types/ChatSourceMedium.d.ts +0 -1
- package/api/types/ChatSourceMedium.js +0 -1
- package/api/types/ConvAiStoredSecretDependencies.d.ts +8 -1
- package/api/types/ConvAiStoredSecretDependenciesMcpServersItem.d.ts +10 -0
- package/api/types/ConvAiStoredSecretDependenciesMcpServersItem.js +3 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/api/types/DependentUnknownAgentIdentifier.d.ts +1 -0
- package/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +2 -2
- package/api/types/DirectPublishingReadResponseModelGenreItem.js +2 -2
- package/api/types/GetAgentTopicsResponseModel.d.ts +6 -0
- package/api/types/GetAgentTopicsResponseModel.js +3 -0
- package/api/types/GetSecretDependenciesResponseModel.d.ts +6 -0
- package/api/types/GetSecretDependenciesResponseModel.js +3 -0
- package/api/types/GetSecretDependenciesResponseModelDependencies.d.ts +2 -0
- package/api/types/GetSecretDependenciesResponseModelDependencies.js +3 -0
- package/api/types/GetSecretDependenciesResponseModelDependenciesOneItem.d.ts +10 -0
- package/api/types/GetSecretDependenciesResponseModelDependenciesOneItem.js +3 -0
- package/api/types/GetSecretDependenciesResponseModelDependenciesZeroItem.d.ts +10 -0
- package/api/types/GetSecretDependenciesResponseModelDependenciesZeroItem.js +3 -0
- package/api/types/GetWorkspaceSecretsResponseModel.d.ts +0 -2
- package/api/types/KnowledgeBaseContentSearchResponseModel.d.ts +5 -0
- package/api/types/KnowledgeBaseContentSearchResponseModel.js +3 -0
- package/api/types/KnowledgeBaseContentSearchResult.d.ts +6 -0
- package/api/types/KnowledgeBaseContentSearchResult.js +3 -0
- package/api/types/KnowledgeBaseContentSearchResultDocument.d.ts +16 -0
- package/api/types/KnowledgeBaseContentSearchResultDocument.js +3 -0
- package/api/types/Llm.d.ts +3 -0
- package/api/types/Llm.js +3 -0
- package/api/types/ModelRatesResponseModel.d.ts +2 -0
- package/api/types/PermissionType.d.ts +1 -0
- package/api/types/PermissionType.js +1 -0
- package/api/types/SearchHighlightSegment.d.ts +4 -0
- package/api/types/SearchHighlightSegment.js +3 -0
- package/api/types/SecretDependencyResourceType.d.ts +6 -0
- package/api/types/SecretDependencyResourceType.js +9 -0
- package/api/types/TurnConfig.d.ts +2 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/WorkspaceGroupPermission.d.ts +1 -0
- package/api/types/WorkspaceGroupPermission.js +1 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/api/types/WorkspaceGroupResponseModelGroupPvcLimit.d.ts +1 -0
- package/api/types/WorkspaceGroupResponseModelGroupPvcLimit.js +3 -0
- package/api/types/index.d.ts +13 -0
- package/api/types/index.js +13 -0
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +14 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/index.js +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.d.ts +26 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.js +115 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/topics/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +78 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseSearchRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +3 -2
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +19 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +73 -1
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsGetDependenciesRequest.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsGetDependenciesRequest.js +3 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/secrets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +2 -1
- package/dist/api/resources/music/client/Client.d.ts +1 -1
- package/dist/api/resources/music/client/Client.js +1 -1
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -4
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +1 -1
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityRedaction.d.ts +1 -1
- package/dist/api/resources/studio/client/Client.d.ts +0 -1
- package/dist/api/resources/studio/client/Client.js +0 -1
- package/dist/api/resources/studio/client/requests/BodyCreatePodcastV1StudioPodcastsPost.d.ts +0 -1
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +1 -1
- package/dist/api/types/AgentBranchSummary.d.ts +2 -0
- package/dist/api/types/AgentTopicResponseModel.d.ts +6 -0
- package/dist/api/types/AgentTopicResponseModel.js +3 -0
- package/dist/api/types/AgentVersionParents.d.ts +1 -0
- package/dist/api/types/ChatSourceMedium.d.ts +0 -1
- package/dist/api/types/ChatSourceMedium.js +0 -1
- package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +8 -1
- package/dist/api/types/ConvAiStoredSecretDependenciesMcpServersItem.d.ts +10 -0
- package/dist/api/types/ConvAiStoredSecretDependenciesMcpServersItem.js +3 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/api/types/DependentUnknownAgentIdentifier.d.ts +1 -0
- package/dist/api/types/DirectPublishingReadResponseModelGenreItem.d.ts +2 -2
- package/dist/api/types/DirectPublishingReadResponseModelGenreItem.js +2 -2
- package/dist/api/types/GetAgentTopicsResponseModel.d.ts +6 -0
- package/dist/api/types/GetAgentTopicsResponseModel.js +3 -0
- package/dist/api/types/GetSecretDependenciesResponseModel.d.ts +6 -0
- package/dist/api/types/GetSecretDependenciesResponseModel.js +3 -0
- package/dist/api/types/GetSecretDependenciesResponseModelDependencies.d.ts +2 -0
- package/dist/api/types/GetSecretDependenciesResponseModelDependencies.js +3 -0
- package/dist/api/types/GetSecretDependenciesResponseModelDependenciesOneItem.d.ts +10 -0
- package/dist/api/types/GetSecretDependenciesResponseModelDependenciesOneItem.js +3 -0
- package/dist/api/types/GetSecretDependenciesResponseModelDependenciesZeroItem.d.ts +10 -0
- package/dist/api/types/GetSecretDependenciesResponseModelDependenciesZeroItem.js +3 -0
- package/dist/api/types/GetWorkspaceSecretsResponseModel.d.ts +0 -2
- package/dist/api/types/KnowledgeBaseContentSearchResponseModel.d.ts +5 -0
- package/dist/api/types/KnowledgeBaseContentSearchResponseModel.js +3 -0
- package/dist/api/types/KnowledgeBaseContentSearchResult.d.ts +6 -0
- package/dist/api/types/KnowledgeBaseContentSearchResult.js +3 -0
- package/dist/api/types/KnowledgeBaseContentSearchResultDocument.d.ts +16 -0
- package/dist/api/types/KnowledgeBaseContentSearchResultDocument.js +3 -0
- package/dist/api/types/Llm.d.ts +3 -0
- package/dist/api/types/Llm.js +3 -0
- package/dist/api/types/ModelRatesResponseModel.d.ts +2 -0
- package/dist/api/types/PermissionType.d.ts +1 -0
- package/dist/api/types/PermissionType.js +1 -0
- package/dist/api/types/SearchHighlightSegment.d.ts +4 -0
- package/dist/api/types/SearchHighlightSegment.js +3 -0
- package/dist/api/types/SecretDependencyResourceType.d.ts +6 -0
- package/dist/api/types/SecretDependencyResourceType.js +9 -0
- package/dist/api/types/TurnConfig.d.ts +2 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/WorkspaceGroupPermission.d.ts +1 -0
- package/dist/api/types/WorkspaceGroupPermission.js +1 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +1 -0
- package/dist/api/types/WorkspaceGroupResponseModelGroupPvcLimit.d.ts +1 -0
- package/dist/api/types/WorkspaceGroupResponseModelGroupPvcLimit.js +3 -0
- package/dist/api/types/index.d.ts +13 -0
- package/dist/api/types/index.js +13 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +1 -0
- package/dist/serialization/types/AgentBranchSummary.d.ts +1 -0
- package/dist/serialization/types/AgentBranchSummary.js +1 -0
- package/dist/serialization/types/AgentTopicResponseModel.d.ts +12 -0
- package/dist/serialization/types/AgentTopicResponseModel.js +44 -0
- package/dist/serialization/types/AgentVersionParents.d.ts +1 -0
- package/dist/serialization/types/AgentVersionParents.js +1 -0
- package/dist/serialization/types/ChatSourceMedium.d.ts +1 -1
- package/dist/serialization/types/ChatSourceMedium.js +1 -1
- package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +6 -1
- package/dist/serialization/types/ConvAiStoredSecretDependencies.js +6 -1
- package/dist/serialization/types/ConvAiStoredSecretDependenciesMcpServersItem.d.ts +15 -0
- package/dist/serialization/types/ConvAiStoredSecretDependenciesMcpServersItem.js +49 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
- package/dist/serialization/types/DependentUnknownAgentIdentifier.d.ts +1 -0
- package/dist/serialization/types/DependentUnknownAgentIdentifier.js +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +1 -1
- package/dist/serialization/types/DirectPublishingReadResponseModelGenreItem.js +2 -2
- package/dist/serialization/types/GetAgentTopicsResponseModel.d.ts +12 -0
- package/dist/serialization/types/GetAgentTopicsResponseModel.js +44 -0
- package/dist/serialization/types/GetSecretDependenciesResponseModel.d.ts +11 -0
- package/dist/serialization/types/GetSecretDependenciesResponseModel.js +43 -0
- package/dist/serialization/types/GetSecretDependenciesResponseModelDependencies.d.ts +10 -0
- package/dist/serialization/types/GetSecretDependenciesResponseModelDependencies.js +46 -0
- package/dist/serialization/types/GetSecretDependenciesResponseModelDependenciesOneItem.d.ts +15 -0
- package/dist/serialization/types/GetSecretDependenciesResponseModelDependenciesOneItem.js +49 -0
- package/dist/serialization/types/GetSecretDependenciesResponseModelDependenciesZeroItem.d.ts +15 -0
- package/dist/serialization/types/GetSecretDependenciesResponseModelDependenciesZeroItem.js +49 -0
- package/dist/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +0 -1
- package/dist/serialization/types/GetWorkspaceSecretsResponseModel.js +0 -1
- package/dist/serialization/types/KnowledgeBaseContentSearchResponseModel.d.ts +11 -0
- package/dist/serialization/types/KnowledgeBaseContentSearchResponseModel.js +43 -0
- package/dist/serialization/types/KnowledgeBaseContentSearchResult.d.ts +13 -0
- package/dist/serialization/types/KnowledgeBaseContentSearchResult.js +45 -0
- package/dist/serialization/types/KnowledgeBaseContentSearchResultDocument.d.ts +23 -0
- package/dist/serialization/types/KnowledgeBaseContentSearchResultDocument.js +53 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +3 -0
- package/dist/serialization/types/ModelRatesResponseModel.d.ts +1 -0
- package/dist/serialization/types/ModelRatesResponseModel.js +1 -0
- package/dist/serialization/types/PermissionType.d.ts +1 -1
- package/dist/serialization/types/PermissionType.js +1 -0
- package/dist/serialization/types/SearchHighlightSegment.d.ts +10 -0
- package/dist/serialization/types/SearchHighlightSegment.js +42 -0
- package/dist/serialization/types/SecretDependencyResourceType.d.ts +7 -0
- package/dist/serialization/types/SecretDependencyResourceType.js +39 -0
- package/dist/serialization/types/TurnConfig.d.ts +1 -0
- package/dist/serialization/types/TurnConfig.js +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/dist/serialization/types/WorkspaceGroupPermission.js +1 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +2 -0
- package/dist/serialization/types/WorkspaceGroupResponseModelGroupPvcLimit.d.ts +7 -0
- package/dist/serialization/types/WorkspaceGroupResponseModelGroupPvcLimit.js +42 -0
- package/dist/serialization/types/index.d.ts +13 -0
- package/dist/serialization/types/index.js +13 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +219 -6
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/resources/branches/client/requests/BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost.js +1 -0
- package/serialization/types/AgentBranchSummary.d.ts +1 -0
- package/serialization/types/AgentBranchSummary.js +1 -0
- package/serialization/types/AgentTopicResponseModel.d.ts +12 -0
- package/serialization/types/AgentTopicResponseModel.js +44 -0
- package/serialization/types/AgentVersionParents.d.ts +1 -0
- package/serialization/types/AgentVersionParents.js +1 -0
- package/serialization/types/ChatSourceMedium.d.ts +1 -1
- package/serialization/types/ChatSourceMedium.js +1 -1
- package/serialization/types/ConvAiStoredSecretDependencies.d.ts +6 -1
- package/serialization/types/ConvAiStoredSecretDependencies.js +6 -1
- package/serialization/types/ConvAiStoredSecretDependenciesMcpServersItem.d.ts +15 -0
- package/serialization/types/ConvAiStoredSecretDependenciesMcpServersItem.js +49 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelInput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModelOutput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +1 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +1 -0
- package/serialization/types/DependentUnknownAgentIdentifier.d.ts +1 -0
- package/serialization/types/DependentUnknownAgentIdentifier.js +1 -0
- package/serialization/types/DirectPublishingReadResponseModelGenreItem.d.ts +1 -1
- package/serialization/types/DirectPublishingReadResponseModelGenreItem.js +2 -2
- package/serialization/types/GetAgentTopicsResponseModel.d.ts +12 -0
- package/serialization/types/GetAgentTopicsResponseModel.js +44 -0
- package/serialization/types/GetSecretDependenciesResponseModel.d.ts +11 -0
- package/serialization/types/GetSecretDependenciesResponseModel.js +43 -0
- package/serialization/types/GetSecretDependenciesResponseModelDependencies.d.ts +10 -0
- package/serialization/types/GetSecretDependenciesResponseModelDependencies.js +46 -0
- package/serialization/types/GetSecretDependenciesResponseModelDependenciesOneItem.d.ts +15 -0
- package/serialization/types/GetSecretDependenciesResponseModelDependenciesOneItem.js +49 -0
- package/serialization/types/GetSecretDependenciesResponseModelDependenciesZeroItem.d.ts +15 -0
- package/serialization/types/GetSecretDependenciesResponseModelDependenciesZeroItem.js +49 -0
- package/serialization/types/GetWorkspaceSecretsResponseModel.d.ts +0 -1
- package/serialization/types/GetWorkspaceSecretsResponseModel.js +0 -1
- package/serialization/types/KnowledgeBaseContentSearchResponseModel.d.ts +11 -0
- package/serialization/types/KnowledgeBaseContentSearchResponseModel.js +43 -0
- package/serialization/types/KnowledgeBaseContentSearchResult.d.ts +13 -0
- package/serialization/types/KnowledgeBaseContentSearchResult.js +45 -0
- package/serialization/types/KnowledgeBaseContentSearchResultDocument.d.ts +23 -0
- package/serialization/types/KnowledgeBaseContentSearchResultDocument.js +53 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +3 -0
- package/serialization/types/ModelRatesResponseModel.d.ts +1 -0
- package/serialization/types/ModelRatesResponseModel.js +1 -0
- package/serialization/types/PermissionType.d.ts +1 -1
- package/serialization/types/PermissionType.js +1 -0
- package/serialization/types/SearchHighlightSegment.d.ts +10 -0
- package/serialization/types/SearchHighlightSegment.js +42 -0
- package/serialization/types/SecretDependencyResourceType.d.ts +7 -0
- package/serialization/types/SecretDependencyResourceType.js +39 -0
- package/serialization/types/TurnConfig.d.ts +1 -0
- package/serialization/types/TurnConfig.js +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +1 -0
- package/serialization/types/WorkspaceGroupPermission.d.ts +1 -1
- package/serialization/types/WorkspaceGroupPermission.js +1 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +2 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +2 -0
- package/serialization/types/WorkspaceGroupResponseModelGroupPvcLimit.d.ts +7 -0
- package/serialization/types/WorkspaceGroupResponseModelGroupPvcLimit.js +42 -0
- package/serialization/types/index.d.ts +13 -0
- package/serialization/types/index.js +13 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/reference.md
CHANGED
|
@@ -2200,7 +2200,6 @@ Create and auto-convert a podcast project. Currently, the LLM cost is covered by
|
|
|
2200
2200
|
|
|
2201
2201
|
```typescript
|
|
2202
2202
|
await client.studio.createPodcast({
|
|
2203
|
-
safetyIdentifier: "safety-identifier",
|
|
2204
2203
|
modelId: "eleven_multilingual_v2",
|
|
2205
2204
|
mode: {
|
|
2206
2205
|
type: "conversation",
|
|
@@ -2451,7 +2450,7 @@ await client.music.stream();
|
|
|
2451
2450
|
<dl>
|
|
2452
2451
|
<dd>
|
|
2453
2452
|
|
|
2454
|
-
Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature.
|
|
2453
|
+
Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature. Price for uploading is the same as the one for song generation. All uploaded content gets inspected for copyright infringement. If copyrighted content is detected, half of the request cost is still charged.
|
|
2455
2454
|
</dd>
|
|
2456
2455
|
</dl>
|
|
2457
2456
|
</dd>
|
|
@@ -4971,7 +4970,7 @@ await client.conversationalAi.twilio.outboundCall({
|
|
|
4971
4970
|
</dl>
|
|
4972
4971
|
</details>
|
|
4973
4972
|
|
|
4974
|
-
<details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">registerCall</a>({ ...params }) ->
|
|
4973
|
+
<details><summary><code>client.conversationalAi.twilio.<a href="/src/api/resources/conversationalAi/resources/twilio/client/Client.ts">registerCall</a>({ ...params }) -> string</code></summary>
|
|
4975
4974
|
<dl>
|
|
4976
4975
|
<dd>
|
|
4977
4976
|
|
|
@@ -6963,6 +6962,73 @@ await client.conversationalAi.knowledgeBase.getOrCreateRagIndexes({
|
|
|
6963
6962
|
</dl>
|
|
6964
6963
|
|
|
6965
6964
|
|
|
6965
|
+
</dd>
|
|
6966
|
+
</dl>
|
|
6967
|
+
</details>
|
|
6968
|
+
|
|
6969
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts">search</a>({ ...params }) -> ElevenLabs.KnowledgeBaseContentSearchResponseModel</code></summary>
|
|
6970
|
+
<dl>
|
|
6971
|
+
<dd>
|
|
6972
|
+
|
|
6973
|
+
#### 📝 Description
|
|
6974
|
+
|
|
6975
|
+
<dl>
|
|
6976
|
+
<dd>
|
|
6977
|
+
|
|
6978
|
+
<dl>
|
|
6979
|
+
<dd>
|
|
6980
|
+
|
|
6981
|
+
Fuzzy text search over knowledge base document content
|
|
6982
|
+
</dd>
|
|
6983
|
+
</dl>
|
|
6984
|
+
</dd>
|
|
6985
|
+
</dl>
|
|
6986
|
+
|
|
6987
|
+
#### 🔌 Usage
|
|
6988
|
+
|
|
6989
|
+
<dl>
|
|
6990
|
+
<dd>
|
|
6991
|
+
|
|
6992
|
+
<dl>
|
|
6993
|
+
<dd>
|
|
6994
|
+
|
|
6995
|
+
```typescript
|
|
6996
|
+
await client.conversationalAi.knowledgeBase.search({
|
|
6997
|
+
query: "query",
|
|
6998
|
+
pageSize: 1,
|
|
6999
|
+
cursor: "cursor"
|
|
7000
|
+
});
|
|
7001
|
+
|
|
7002
|
+
```
|
|
7003
|
+
</dd>
|
|
7004
|
+
</dl>
|
|
7005
|
+
</dd>
|
|
7006
|
+
</dl>
|
|
7007
|
+
|
|
7008
|
+
#### ⚙️ Parameters
|
|
7009
|
+
|
|
7010
|
+
<dl>
|
|
7011
|
+
<dd>
|
|
7012
|
+
|
|
7013
|
+
<dl>
|
|
7014
|
+
<dd>
|
|
7015
|
+
|
|
7016
|
+
**request:** `ElevenLabs.conversationalAi.KnowledgeBaseSearchRequest`
|
|
7017
|
+
|
|
7018
|
+
</dd>
|
|
7019
|
+
</dl>
|
|
7020
|
+
|
|
7021
|
+
<dl>
|
|
7022
|
+
<dd>
|
|
7023
|
+
|
|
7024
|
+
**requestOptions:** `KnowledgeBaseClient.RequestOptions`
|
|
7025
|
+
|
|
7026
|
+
</dd>
|
|
7027
|
+
</dl>
|
|
7028
|
+
</dd>
|
|
7029
|
+
</dl>
|
|
7030
|
+
|
|
7031
|
+
|
|
6966
7032
|
</dd>
|
|
6967
7033
|
</dl>
|
|
6968
7034
|
</details>
|
|
@@ -7546,6 +7612,7 @@ Get all workspace secrets for the user
|
|
|
7546
7612
|
```typescript
|
|
7547
7613
|
await client.conversationalAi.secrets.list({
|
|
7548
7614
|
pageSize: 1,
|
|
7615
|
+
dependencyLimit: 1,
|
|
7549
7616
|
cursor: "cursor"
|
|
7550
7617
|
});
|
|
7551
7618
|
|
|
@@ -7782,6 +7849,88 @@ await client.conversationalAi.secrets.update("secret_id", {
|
|
|
7782
7849
|
</dl>
|
|
7783
7850
|
|
|
7784
7851
|
|
|
7852
|
+
</dd>
|
|
7853
|
+
</dl>
|
|
7854
|
+
</details>
|
|
7855
|
+
|
|
7856
|
+
<details><summary><code>client.conversationalAi.secrets.<a href="/src/api/resources/conversationalAi/resources/secrets/client/Client.ts">getDependencies</a>(secret_id, resource_type, { ...params }) -> ElevenLabs.GetSecretDependenciesResponseModel</code></summary>
|
|
7857
|
+
<dl>
|
|
7858
|
+
<dd>
|
|
7859
|
+
|
|
7860
|
+
#### 📝 Description
|
|
7861
|
+
|
|
7862
|
+
<dl>
|
|
7863
|
+
<dd>
|
|
7864
|
+
|
|
7865
|
+
<dl>
|
|
7866
|
+
<dd>
|
|
7867
|
+
|
|
7868
|
+
Get paginated list of resources that depend on a specific secret, filtered by resource type.
|
|
7869
|
+
</dd>
|
|
7870
|
+
</dl>
|
|
7871
|
+
</dd>
|
|
7872
|
+
</dl>
|
|
7873
|
+
|
|
7874
|
+
#### 🔌 Usage
|
|
7875
|
+
|
|
7876
|
+
<dl>
|
|
7877
|
+
<dd>
|
|
7878
|
+
|
|
7879
|
+
<dl>
|
|
7880
|
+
<dd>
|
|
7881
|
+
|
|
7882
|
+
```typescript
|
|
7883
|
+
await client.conversationalAi.secrets.getDependencies("secret_id", "tools", {
|
|
7884
|
+
pageSize: 1,
|
|
7885
|
+
cursor: "cursor"
|
|
7886
|
+
});
|
|
7887
|
+
|
|
7888
|
+
```
|
|
7889
|
+
</dd>
|
|
7890
|
+
</dl>
|
|
7891
|
+
</dd>
|
|
7892
|
+
</dl>
|
|
7893
|
+
|
|
7894
|
+
#### ⚙️ Parameters
|
|
7895
|
+
|
|
7896
|
+
<dl>
|
|
7897
|
+
<dd>
|
|
7898
|
+
|
|
7899
|
+
<dl>
|
|
7900
|
+
<dd>
|
|
7901
|
+
|
|
7902
|
+
**secret_id:** `string`
|
|
7903
|
+
|
|
7904
|
+
</dd>
|
|
7905
|
+
</dl>
|
|
7906
|
+
|
|
7907
|
+
<dl>
|
|
7908
|
+
<dd>
|
|
7909
|
+
|
|
7910
|
+
**resource_type:** `ElevenLabs.SecretDependencyResourceType`
|
|
7911
|
+
|
|
7912
|
+
</dd>
|
|
7913
|
+
</dl>
|
|
7914
|
+
|
|
7915
|
+
<dl>
|
|
7916
|
+
<dd>
|
|
7917
|
+
|
|
7918
|
+
**request:** `ElevenLabs.conversationalAi.SecretsGetDependenciesRequest`
|
|
7919
|
+
|
|
7920
|
+
</dd>
|
|
7921
|
+
</dl>
|
|
7922
|
+
|
|
7923
|
+
<dl>
|
|
7924
|
+
<dd>
|
|
7925
|
+
|
|
7926
|
+
**requestOptions:** `SecretsClient.RequestOptions`
|
|
7927
|
+
|
|
7928
|
+
</dd>
|
|
7929
|
+
</dl>
|
|
7930
|
+
</dd>
|
|
7931
|
+
</dl>
|
|
7932
|
+
|
|
7933
|
+
|
|
7785
7934
|
</dd>
|
|
7786
7935
|
</dl>
|
|
7787
7936
|
</details>
|
|
@@ -9239,7 +9388,7 @@ await client.conversationalAi.agents.branches.list("agent_3701k3ttaq12ewp8b7qv5r
|
|
|
9239
9388
|
<dl>
|
|
9240
9389
|
<dd>
|
|
9241
9390
|
|
|
9242
|
-
Create a new branch from a given version of
|
|
9391
|
+
Create a new branch from a given version of any branch
|
|
9243
9392
|
</dd>
|
|
9244
9393
|
</dl>
|
|
9245
9394
|
</dd>
|
|
@@ -10459,6 +10608,70 @@ await client.conversationalAi.conversations.files.delete("conversation_id", "fil
|
|
|
10459
10608
|
</dl>
|
|
10460
10609
|
|
|
10461
10610
|
|
|
10611
|
+
</dd>
|
|
10612
|
+
</dl>
|
|
10613
|
+
</details>
|
|
10614
|
+
|
|
10615
|
+
## ConversationalAi Conversations Topics
|
|
10616
|
+
<details><summary><code>client.conversationalAi.conversations.topics.<a href="/src/api/resources/conversationalAi/resources/conversations/resources/topics/client/Client.ts">get</a>(agent_id) -> ElevenLabs.GetAgentTopicsResponseModel</code></summary>
|
|
10617
|
+
<dl>
|
|
10618
|
+
<dd>
|
|
10619
|
+
|
|
10620
|
+
#### 📝 Description
|
|
10621
|
+
|
|
10622
|
+
<dl>
|
|
10623
|
+
<dd>
|
|
10624
|
+
|
|
10625
|
+
<dl>
|
|
10626
|
+
<dd>
|
|
10627
|
+
|
|
10628
|
+
Returns the latest topic discovery run results for a given agent.
|
|
10629
|
+
</dd>
|
|
10630
|
+
</dl>
|
|
10631
|
+
</dd>
|
|
10632
|
+
</dl>
|
|
10633
|
+
|
|
10634
|
+
#### 🔌 Usage
|
|
10635
|
+
|
|
10636
|
+
<dl>
|
|
10637
|
+
<dd>
|
|
10638
|
+
|
|
10639
|
+
<dl>
|
|
10640
|
+
<dd>
|
|
10641
|
+
|
|
10642
|
+
```typescript
|
|
10643
|
+
await client.conversationalAi.conversations.topics.get("agent_id");
|
|
10644
|
+
|
|
10645
|
+
```
|
|
10646
|
+
</dd>
|
|
10647
|
+
</dl>
|
|
10648
|
+
</dd>
|
|
10649
|
+
</dl>
|
|
10650
|
+
|
|
10651
|
+
#### ⚙️ Parameters
|
|
10652
|
+
|
|
10653
|
+
<dl>
|
|
10654
|
+
<dd>
|
|
10655
|
+
|
|
10656
|
+
<dl>
|
|
10657
|
+
<dd>
|
|
10658
|
+
|
|
10659
|
+
**agent_id:** `string` — ID of the agent
|
|
10660
|
+
|
|
10661
|
+
</dd>
|
|
10662
|
+
</dl>
|
|
10663
|
+
|
|
10664
|
+
<dl>
|
|
10665
|
+
<dd>
|
|
10666
|
+
|
|
10667
|
+
**requestOptions:** `TopicsClient.RequestOptions`
|
|
10668
|
+
|
|
10669
|
+
</dd>
|
|
10670
|
+
</dl>
|
|
10671
|
+
</dd>
|
|
10672
|
+
</dl>
|
|
10673
|
+
|
|
10674
|
+
|
|
10462
10675
|
</dd>
|
|
10463
10676
|
</dl>
|
|
10464
10677
|
</details>
|
|
@@ -11201,7 +11414,7 @@ await client.conversationalAi.knowledgeBase.documents.getAgents("21m00Tcm4TlvDq8
|
|
|
11201
11414
|
</dl>
|
|
11202
11415
|
</details>
|
|
11203
11416
|
|
|
11204
|
-
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">getContent</a>(documentation_id) ->
|
|
11417
|
+
<details><summary><code>client.conversationalAi.knowledgeBase.documents.<a href="/src/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.ts">getContent</a>(documentation_id) -> string</code></summary>
|
|
11205
11418
|
<dl>
|
|
11206
11419
|
<dd>
|
|
11207
11420
|
|
|
@@ -11228,7 +11441,7 @@ Get the entire content of a document from the knowledge base
|
|
|
11228
11441
|
<dd>
|
|
11229
11442
|
|
|
11230
11443
|
```typescript
|
|
11231
|
-
await client.conversationalAi.knowledgeBase.documents.getContent("
|
|
11444
|
+
await client.conversationalAi.knowledgeBase.documents.getContent("documentation_id");
|
|
11232
11445
|
|
|
11233
11446
|
```
|
|
11234
11447
|
</dd>
|
|
@@ -5,5 +5,6 @@ export declare const BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranc
|
|
|
5
5
|
export declare namespace BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost {
|
|
6
6
|
interface Raw {
|
|
7
7
|
archive_source_branch?: boolean | null;
|
|
8
|
+
force?: boolean | null;
|
|
8
9
|
}
|
|
9
10
|
}
|
|
@@ -38,4 +38,5 @@ exports.BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBran
|
|
|
38
38
|
const core = __importStar(require("../../../../../../../../../core"));
|
|
39
39
|
exports.BodyMergeABranchIntoATargetBranchV1ConvaiAgentsAgentIdBranchesSourceBranchIdMergePost = core.serialization.object({
|
|
40
40
|
archiveSourceBranch: core.serialization.property("archive_source_branch", core.serialization.boolean().optional()),
|
|
41
|
+
force: core.serialization.boolean().optional(),
|
|
41
42
|
});
|
|
@@ -16,6 +16,7 @@ export declare namespace AgentBranchSummary {
|
|
|
16
16
|
protection_status?: BranchProtectionStatus.Raw | null;
|
|
17
17
|
access_info?: ResourceAccessInfo.Raw | null;
|
|
18
18
|
current_live_percentage?: number | null;
|
|
19
|
+
parent_branch_id?: string | null;
|
|
19
20
|
draft_exists?: boolean | null;
|
|
20
21
|
}
|
|
21
22
|
}
|
|
@@ -49,5 +49,6 @@ exports.AgentBranchSummary = core.serialization.object({
|
|
|
49
49
|
protectionStatus: core.serialization.property("protection_status", BranchProtectionStatus_1.BranchProtectionStatus.optional()),
|
|
50
50
|
accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo.optional()),
|
|
51
51
|
currentLivePercentage: core.serialization.property("current_live_percentage", core.serialization.number().optional()),
|
|
52
|
+
parentBranchId: core.serialization.property("parent_branch_id", core.serialization.string().optional()),
|
|
52
53
|
draftExists: core.serialization.property("draft_exists", core.serialization.boolean().optional()),
|
|
53
54
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const AgentTopicResponseModel: core.serialization.ObjectSchema<serializers.AgentTopicResponseModel.Raw, ElevenLabs.AgentTopicResponseModel>;
|
|
5
|
+
export declare namespace AgentTopicResponseModel {
|
|
6
|
+
interface Raw {
|
|
7
|
+
topic_id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
description: string;
|
|
10
|
+
conversation_count: number;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AgentTopicResponseModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.AgentTopicResponseModel = core.serialization.object({
|
|
40
|
+
topicId: core.serialization.property("topic_id", core.serialization.string()),
|
|
41
|
+
label: core.serialization.string(),
|
|
42
|
+
description: core.serialization.string(),
|
|
43
|
+
conversationCount: core.serialization.property("conversation_count", core.serialization.number()),
|
|
44
|
+
});
|
|
@@ -41,4 +41,5 @@ exports.AgentVersionParents = core.serialization.object({
|
|
|
41
41
|
outOfBranchParentId: core.serialization.property("out_of_branch_parent_id", core.serialization.string().optional()),
|
|
42
42
|
mergedIntoBranchId: core.serialization.property("merged_into_branch_id", core.serialization.string().optional()),
|
|
43
43
|
mergedFromBranchId: core.serialization.property("merged_from_branch_id", core.serialization.string().optional()),
|
|
44
|
+
mergedFromVersionId: core.serialization.property("merged_from_version_id", core.serialization.string().optional()),
|
|
44
45
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ChatSourceMedium: core.serialization.Schema<serializers.ChatSourceMedium.Raw, ElevenLabs.ChatSourceMedium>;
|
|
5
5
|
export declare namespace ChatSourceMedium {
|
|
6
|
-
type Raw = "audio" | "
|
|
6
|
+
type Raw = "audio" | "text" | "image" | "file";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ChatSourceMedium = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.ChatSourceMedium = core.serialization.enum_(["audio", "
|
|
39
|
+
exports.ChatSourceMedium = core.serialization.enum_(["audio", "text", "image", "file"]);
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { ConvAiStoredSecretDependenciesAgentsItem } from "./ConvAiStoredSecretDependenciesAgentsItem";
|
|
5
|
+
import { ConvAiStoredSecretDependenciesMcpServersItem } from "./ConvAiStoredSecretDependenciesMcpServersItem";
|
|
5
6
|
import { ConvAiStoredSecretDependenciesToolsItem } from "./ConvAiStoredSecretDependenciesToolsItem";
|
|
6
7
|
import { DependentPhoneNumberIdentifier } from "./DependentPhoneNumberIdentifier";
|
|
7
8
|
import { SecretDependencyType } from "./SecretDependencyType";
|
|
@@ -9,8 +10,12 @@ export declare const ConvAiStoredSecretDependencies: core.serialization.ObjectSc
|
|
|
9
10
|
export declare namespace ConvAiStoredSecretDependencies {
|
|
10
11
|
interface Raw {
|
|
11
12
|
tools: ConvAiStoredSecretDependenciesToolsItem.Raw[];
|
|
13
|
+
tools_has_more?: boolean | null;
|
|
12
14
|
agents: ConvAiStoredSecretDependenciesAgentsItem.Raw[];
|
|
13
|
-
|
|
15
|
+
agents_has_more?: boolean | null;
|
|
14
16
|
phone_numbers?: DependentPhoneNumberIdentifier.Raw[] | null;
|
|
17
|
+
phone_numbers_has_more?: boolean | null;
|
|
18
|
+
mcp_servers?: ConvAiStoredSecretDependenciesMcpServersItem.Raw[] | null;
|
|
19
|
+
others: SecretDependencyType.Raw[];
|
|
15
20
|
}
|
|
16
21
|
}
|
|
@@ -37,12 +37,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ConvAiStoredSecretDependencies = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const ConvAiStoredSecretDependenciesAgentsItem_1 = require("./ConvAiStoredSecretDependenciesAgentsItem");
|
|
40
|
+
const ConvAiStoredSecretDependenciesMcpServersItem_1 = require("./ConvAiStoredSecretDependenciesMcpServersItem");
|
|
40
41
|
const ConvAiStoredSecretDependenciesToolsItem_1 = require("./ConvAiStoredSecretDependenciesToolsItem");
|
|
41
42
|
const DependentPhoneNumberIdentifier_1 = require("./DependentPhoneNumberIdentifier");
|
|
42
43
|
const SecretDependencyType_1 = require("./SecretDependencyType");
|
|
43
44
|
exports.ConvAiStoredSecretDependencies = core.serialization.object({
|
|
44
45
|
tools: core.serialization.list(ConvAiStoredSecretDependenciesToolsItem_1.ConvAiStoredSecretDependenciesToolsItem),
|
|
46
|
+
toolsHasMore: core.serialization.property("tools_has_more", core.serialization.boolean().optional()),
|
|
45
47
|
agents: core.serialization.list(ConvAiStoredSecretDependenciesAgentsItem_1.ConvAiStoredSecretDependenciesAgentsItem),
|
|
46
|
-
|
|
48
|
+
agentsHasMore: core.serialization.property("agents_has_more", core.serialization.boolean().optional()),
|
|
47
49
|
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(DependentPhoneNumberIdentifier_1.DependentPhoneNumberIdentifier).optional()),
|
|
50
|
+
phoneNumbersHasMore: core.serialization.property("phone_numbers_has_more", core.serialization.boolean().optional()),
|
|
51
|
+
mcpServers: core.serialization.property("mcp_servers", core.serialization.list(ConvAiStoredSecretDependenciesMcpServersItem_1.ConvAiStoredSecretDependenciesMcpServersItem).optional()),
|
|
52
|
+
others: core.serialization.list(SecretDependencyType_1.SecretDependencyType),
|
|
48
53
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { DependentAvailableMcpServerIdentifier } from "./DependentAvailableMcpServerIdentifier";
|
|
5
|
+
import { DependentUnknownMcpServerIdentifier } from "./DependentUnknownMcpServerIdentifier";
|
|
6
|
+
export declare const ConvAiStoredSecretDependenciesMcpServersItem: core.serialization.Schema<serializers.ConvAiStoredSecretDependenciesMcpServersItem.Raw, ElevenLabs.ConvAiStoredSecretDependenciesMcpServersItem>;
|
|
7
|
+
export declare namespace ConvAiStoredSecretDependenciesMcpServersItem {
|
|
8
|
+
type Raw = ConvAiStoredSecretDependenciesMcpServersItem.Available | ConvAiStoredSecretDependenciesMcpServersItem.Unknown;
|
|
9
|
+
interface Available extends DependentAvailableMcpServerIdentifier.Raw {
|
|
10
|
+
type: "available";
|
|
11
|
+
}
|
|
12
|
+
interface Unknown extends DependentUnknownMcpServerIdentifier.Raw {
|
|
13
|
+
type: "unknown";
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConvAiStoredSecretDependenciesMcpServersItem = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const DependentAvailableMcpServerIdentifier_1 = require("./DependentAvailableMcpServerIdentifier");
|
|
40
|
+
const DependentUnknownMcpServerIdentifier_1 = require("./DependentUnknownMcpServerIdentifier");
|
|
41
|
+
exports.ConvAiStoredSecretDependenciesMcpServersItem = core.serialization
|
|
42
|
+
.union("type", {
|
|
43
|
+
available: DependentAvailableMcpServerIdentifier_1.DependentAvailableMcpServerIdentifier,
|
|
44
|
+
unknown: DependentUnknownMcpServerIdentifier_1.DependentUnknownMcpServerIdentifier,
|
|
45
|
+
})
|
|
46
|
+
.transform({
|
|
47
|
+
transform: (value) => value,
|
|
48
|
+
untransform: (value) => value,
|
|
49
|
+
});
|
|
@@ -9,6 +9,7 @@ export declare namespace ConversationHistoryTranscriptApiIntegrationWebhookTools
|
|
|
9
9
|
tool_name: string;
|
|
10
10
|
result_value: string;
|
|
11
11
|
is_error: boolean;
|
|
12
|
+
is_blocked?: boolean | null;
|
|
12
13
|
tool_has_been_called: boolean;
|
|
13
14
|
tool_latency_secs?: number | null;
|
|
14
15
|
error_type?: string | null;
|
|
@@ -42,6 +42,7 @@ exports.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
|
|
|
42
42
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
43
43
|
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
44
44
|
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
45
|
+
isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
|
|
45
46
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
46
47
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
47
48
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
|
@@ -42,6 +42,7 @@ exports.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
|
|
|
42
42
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
43
43
|
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
44
44
|
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
45
|
+
isBlocked: core.serialization.property("is_blocked", core.serialization.boolean()),
|
|
45
46
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
46
47
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number()),
|
|
47
48
|
errorType: core.serialization.property("error_type", core.serialization.string()),
|
|
@@ -10,6 +10,7 @@ export declare namespace ConversationHistoryTranscriptOtherToolsResultCommonMode
|
|
|
10
10
|
tool_name: string;
|
|
11
11
|
result_value: string;
|
|
12
12
|
is_error: boolean;
|
|
13
|
+
is_blocked?: boolean | null;
|
|
13
14
|
tool_has_been_called: boolean;
|
|
14
15
|
tool_latency_secs?: number | null;
|
|
15
16
|
error_type?: string | null;
|
|
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptOtherToolsResultCommonModel = core.serializ
|
|
|
43
43
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
44
|
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
45
45
|
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
46
|
+
isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
|
|
46
47
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
48
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
49
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonMode
|
|
|
10
10
|
tool_name: string;
|
|
11
11
|
result_value: string;
|
|
12
12
|
is_error: boolean;
|
|
13
|
+
is_blocked?: boolean | null;
|
|
13
14
|
tool_has_been_called: boolean;
|
|
14
15
|
tool_latency_secs?: number | null;
|
|
15
16
|
error_type?: string | null;
|
package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelInput.js
CHANGED
|
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptSystemToolResultCommonModelInput = core.ser
|
|
|
43
43
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
44
|
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
45
45
|
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
46
|
+
isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
|
|
46
47
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
48
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
49
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare namespace ConversationHistoryTranscriptSystemToolResultCommonMode
|
|
|
10
10
|
tool_name: string;
|
|
11
11
|
result_value: string;
|
|
12
12
|
is_error: boolean;
|
|
13
|
+
is_blocked?: boolean | null;
|
|
13
14
|
tool_has_been_called: boolean;
|
|
14
15
|
tool_latency_secs?: number | null;
|
|
15
16
|
error_type?: string | null;
|
package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelOutput.js
CHANGED
|
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptSystemToolResultCommonModelOutput = core.se
|
|
|
43
43
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
44
|
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
45
45
|
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
46
|
+
isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
|
|
46
47
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
48
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
49
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare namespace ConversationHistoryTranscriptWorkflowToolsResultCommonM
|
|
|
9
9
|
tool_name: string;
|
|
10
10
|
result_value: string;
|
|
11
11
|
is_error: boolean;
|
|
12
|
+
is_blocked?: boolean | null;
|
|
12
13
|
tool_has_been_called: boolean;
|
|
13
14
|
tool_latency_secs?: number | null;
|
|
14
15
|
error_type?: string | null;
|
package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js
CHANGED
|
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput = core.
|
|
|
43
43
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
44
|
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
45
45
|
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
46
|
+
isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
|
|
46
47
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
48
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
49
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|
package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare namespace ConversationHistoryTranscriptWorkflowToolsResultCommonM
|
|
|
9
9
|
tool_name: string;
|
|
10
10
|
result_value: string;
|
|
11
11
|
is_error: boolean;
|
|
12
|
+
is_blocked?: boolean | null;
|
|
12
13
|
tool_has_been_called: boolean;
|
|
13
14
|
tool_latency_secs?: number | null;
|
|
14
15
|
error_type?: string | null;
|
package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js
CHANGED
|
@@ -43,6 +43,7 @@ exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput = core
|
|
|
43
43
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
44
|
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
45
45
|
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
46
|
+
isBlocked: core.serialization.property("is_blocked", core.serialization.boolean().optional()),
|
|
46
47
|
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
47
48
|
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
48
49
|
errorType: core.serialization.property("error_type", core.serialization.string().optional()),
|