@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
|
@@ -67,6 +67,7 @@ class SecretsClient {
|
|
|
67
67
|
* @example
|
|
68
68
|
* await client.conversationalAi.secrets.list({
|
|
69
69
|
* pageSize: 1,
|
|
70
|
+
* dependencyLimit: 1,
|
|
70
71
|
* cursor: "cursor"
|
|
71
72
|
* })
|
|
72
73
|
*/
|
|
@@ -76,11 +77,14 @@ class SecretsClient {
|
|
|
76
77
|
__list() {
|
|
77
78
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
78
79
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
79
|
-
const { pageSize, cursor } = request;
|
|
80
|
+
const { pageSize, dependencyLimit, cursor } = request;
|
|
80
81
|
const _queryParams = {};
|
|
81
82
|
if (pageSize != null) {
|
|
82
83
|
_queryParams.page_size = pageSize.toString();
|
|
83
84
|
}
|
|
85
|
+
if (dependencyLimit != null) {
|
|
86
|
+
_queryParams.dependency_limit = dependencyLimit.toString();
|
|
87
|
+
}
|
|
84
88
|
if (cursor != null) {
|
|
85
89
|
_queryParams.cursor = cursor;
|
|
86
90
|
}
|
|
@@ -296,5 +300,73 @@ class SecretsClient {
|
|
|
296
300
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/v1/convai/secrets/{secret_id}");
|
|
297
301
|
});
|
|
298
302
|
}
|
|
303
|
+
/**
|
|
304
|
+
* Get paginated list of resources that depend on a specific secret, filtered by resource type.
|
|
305
|
+
*
|
|
306
|
+
* @param {string} secret_id
|
|
307
|
+
* @param {ElevenLabs.SecretDependencyResourceType} resource_type
|
|
308
|
+
* @param {ElevenLabs.conversationalAi.SecretsGetDependenciesRequest} request
|
|
309
|
+
* @param {SecretsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
310
|
+
*
|
|
311
|
+
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
312
|
+
*
|
|
313
|
+
* @example
|
|
314
|
+
* await client.conversationalAi.secrets.getDependencies("secret_id", "tools", {
|
|
315
|
+
* pageSize: 1,
|
|
316
|
+
* cursor: "cursor"
|
|
317
|
+
* })
|
|
318
|
+
*/
|
|
319
|
+
getDependencies(secret_id, resource_type, request = {}, requestOptions) {
|
|
320
|
+
return core.HttpResponsePromise.fromPromise(this.__getDependencies(secret_id, resource_type, request, requestOptions));
|
|
321
|
+
}
|
|
322
|
+
__getDependencies(secret_id_1, resource_type_1) {
|
|
323
|
+
return __awaiter(this, arguments, void 0, function* (secret_id, resource_type, request = {}, requestOptions) {
|
|
324
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
325
|
+
const { pageSize, cursor } = request;
|
|
326
|
+
const _queryParams = {};
|
|
327
|
+
if (pageSize != null) {
|
|
328
|
+
_queryParams.page_size = pageSize.toString();
|
|
329
|
+
}
|
|
330
|
+
if (cursor != null) {
|
|
331
|
+
_queryParams.cursor = cursor;
|
|
332
|
+
}
|
|
333
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
334
|
+
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
335
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ElevenLabsEnvironment.Production, `v1/convai/secrets/${core.url.encodePathParam(secret_id)}/dependencies/${core.url.encodePathParam(serializers.SecretDependencyResourceType.jsonOrThrow(resource_type))}`),
|
|
336
|
+
method: "GET",
|
|
337
|
+
headers: _headers,
|
|
338
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
339
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
340
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
341
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
342
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
343
|
+
logging: this._options.logging,
|
|
344
|
+
});
|
|
345
|
+
if (_response.ok) {
|
|
346
|
+
return {
|
|
347
|
+
data: serializers.GetSecretDependenciesResponseModel.parseOrThrow(_response.body, {
|
|
348
|
+
unrecognizedObjectKeys: "passthrough",
|
|
349
|
+
allowUnrecognizedUnionMembers: true,
|
|
350
|
+
allowUnrecognizedEnumValues: true,
|
|
351
|
+
breadcrumbsPrefix: ["response"],
|
|
352
|
+
}),
|
|
353
|
+
rawResponse: _response.rawResponse,
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
if (_response.error.reason === "status-code") {
|
|
357
|
+
switch (_response.error.statusCode) {
|
|
358
|
+
case 422:
|
|
359
|
+
throw new ElevenLabs.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
360
|
+
default:
|
|
361
|
+
throw new errors.ElevenLabsError({
|
|
362
|
+
statusCode: _response.error.statusCode,
|
|
363
|
+
body: _response.error.body,
|
|
364
|
+
rawResponse: _response.rawResponse,
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/v1/convai/secrets/{secret_id}/dependencies/{resource_type}");
|
|
369
|
+
});
|
|
370
|
+
}
|
|
299
371
|
}
|
|
300
372
|
exports.SecretsClient = SecretsClient;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* pageSize: 1,
|
|
5
|
+
* cursor: "cursor"
|
|
6
|
+
* }
|
|
7
|
+
*/
|
|
8
|
+
export interface SecretsGetDependenciesRequest {
|
|
9
|
+
/** How many dependency items to return per page. */
|
|
10
|
+
pageSize?: number;
|
|
11
|
+
/** Used for fetching next page. Cursor is returned in the response. */
|
|
12
|
+
cursor?: string;
|
|
13
|
+
}
|
package/api/resources/conversationalAi/resources/secrets/client/requests/SecretsListRequest.d.ts
CHANGED
|
@@ -2,12 +2,15 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* pageSize: 1,
|
|
5
|
+
* dependencyLimit: 1,
|
|
5
6
|
* cursor: "cursor"
|
|
6
7
|
* }
|
|
7
8
|
*/
|
|
8
9
|
export interface SecretsListRequest {
|
|
9
10
|
/** How many documents to return at maximum. Can not exceed 100. If not provided, returns all secrets. */
|
|
10
11
|
pageSize?: number;
|
|
12
|
+
/** Maximum number of dependent resources (tools, agents, phone numbers) to return per secret. Can not exceed 100. */
|
|
13
|
+
dependencyLimit?: number;
|
|
11
14
|
/** Used for fetching next page. Cursor is returned in the response. */
|
|
12
15
|
cursor?: string;
|
|
13
16
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export type { PatchWorkspaceSecretRequest } from "./PatchWorkspaceSecretRequest";
|
|
2
2
|
export type { PostWorkspaceSecretRequest } from "./PostWorkspaceSecretRequest";
|
|
3
|
+
export type { SecretsGetDependenciesRequest } from "./SecretsGetDependenciesRequest";
|
|
3
4
|
export type { SecretsListRequest } from "./SecretsListRequest";
|
|
@@ -42,6 +42,6 @@ export declare class TwilioClient {
|
|
|
42
42
|
* toNumber: "to_number"
|
|
43
43
|
* })
|
|
44
44
|
*/
|
|
45
|
-
registerCall(request: ElevenLabs.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost, requestOptions?: TwilioClient.RequestOptions): core.HttpResponsePromise<
|
|
45
|
+
registerCall(request: ElevenLabs.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost, requestOptions?: TwilioClient.RequestOptions): core.HttpResponsePromise<string>;
|
|
46
46
|
private __registerCall;
|
|
47
47
|
}
|
|
@@ -148,6 +148,7 @@ class TwilioClient {
|
|
|
148
148
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
149
149
|
requestType: "json",
|
|
150
150
|
body: serializers.conversationalAi.BodyRegisterATwilioCallAndReturnTwiMlV1ConvaiTwilioRegisterCallPost.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
151
|
+
responseType: "text",
|
|
151
152
|
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 240) * 1000,
|
|
152
153
|
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
153
154
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -155,7 +156,7 @@ class TwilioClient {
|
|
|
155
156
|
logging: this._options.logging,
|
|
156
157
|
});
|
|
157
158
|
if (_response.ok) {
|
|
158
|
-
return { data:
|
|
159
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
159
160
|
}
|
|
160
161
|
if (_response.error.reason === "status-code") {
|
|
161
162
|
switch (_response.error.statusCode) {
|
|
@@ -39,7 +39,7 @@ export declare class MusicClient {
|
|
|
39
39
|
stream(request?: ElevenLabs.BodyStreamComposedMusicV1MusicStreamPost, requestOptions?: MusicClient.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
40
40
|
private __stream;
|
|
41
41
|
/**
|
|
42
|
-
* Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature.
|
|
42
|
+
* 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.
|
|
43
43
|
*
|
|
44
44
|
* @param {ElevenLabs.BodyUploadMusicV1MusicUploadPost} request
|
|
45
45
|
* @param {MusicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -299,7 +299,7 @@ class MusicClient {
|
|
|
299
299
|
});
|
|
300
300
|
}
|
|
301
301
|
/**
|
|
302
|
-
* Upload a music file to be later used for inpainting. Only available to enterprise clients with access to the inpainting feature.
|
|
302
|
+
* 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.
|
|
303
303
|
*
|
|
304
304
|
* @param {ElevenLabs.BodyUploadMusicV1MusicUploadPost} request
|
|
305
305
|
* @param {MusicClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -48,18 +48,18 @@ export interface BodySpeechToTextV1SpeechToTextPost {
|
|
|
48
48
|
temperature?: number;
|
|
49
49
|
/** If specified, our system will make a best effort to sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed. Must be an integer between 0 and 2147483647. */
|
|
50
50
|
seed?: number;
|
|
51
|
-
/** Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel will be transcribed independently and the results will be combined. Each word in the response will include a 'channel_index' field indicating which channel it was spoken on. A maximum of 5 channels is supported. */
|
|
51
|
+
/** Whether the audio file contains multiple channels where each channel contains a single speaker. When enabled, each channel will be transcribed independently and the results will be combined. Each word in the response will include a 'channel_index' field indicating which channel it was spoken on. A maximum of 5 channels is supported. Each channel is billed independently at the full audio duration, so cost scales linearly with the number of channels. */
|
|
52
52
|
useMultiChannel?: boolean;
|
|
53
53
|
/** Optional metadata to be included in the webhook response. This should be a JSON string representing an object with a maximum depth of 2 levels and maximum size of 16KB. Useful for tracking internal IDs, job references, or other contextual information. */
|
|
54
54
|
webhookMetadata?: ElevenLabs.SpeechToTextConvertRequestWebhookMetadata;
|
|
55
|
-
/** Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur additional
|
|
55
|
+
/** Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost. */
|
|
56
56
|
entityDetection?: ElevenLabs.SpeechToTextConvertRequestEntityDetection;
|
|
57
57
|
/** If true, the transcription will not have any filler words, false starts and non-speech sounds. Only supported with scribe_v2 model. */
|
|
58
58
|
noVerbatim?: boolean;
|
|
59
|
-
/** Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned. */
|
|
59
|
+
/** Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost. */
|
|
60
60
|
entityRedaction?: ElevenLabs.SpeechToTextConvertRequestEntityRedaction;
|
|
61
61
|
/** How to format redacted entities. 'redacted' replaces with {REDACTED}, 'entity_type' replaces with {ENTITY_TYPE}, 'enumerated_entity_type' replaces with {ENTITY_TYPE_N} where N enumerates each occurrence. Only used when entity_redaction is set. */
|
|
62
62
|
entityRedactionMode?: string;
|
|
63
|
-
/** A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur additional
|
|
63
|
+
/** A list of keyterms to bias the transcription towards. The keyterms are words or phrases you want the model to recognise more accurately. The number of keyterms cannot exceed 1000. The length of each keyterm must be less than 50 characters. Keyterms can contain at most 5 words (after normalisation). For example ["hello", "world", "technical term"]. Usage of this parameter will incur an additional 20% surcharge on the base transcription cost. When more than 100 keyterms are provided, a minimum billable duration of 20 seconds applies per request. */
|
|
64
64
|
keyterms?: string[];
|
|
65
65
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur additional
|
|
2
|
+
* Detect entities in the transcript. Can be 'all' to detect all entities, a single entity type or category string, or a list of entity types/categories. Categories include 'pii', 'phi', 'pci', 'other', 'offensive_language'. When enabled, detected entities will be returned in the 'entities' field with their text, type, and character positions. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost.
|
|
3
3
|
*/
|
|
4
4
|
export type SpeechToTextConvertRequestEntityDetection = string | string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned.
|
|
2
|
+
* Redact entities from the transcript text. Accepts the same format as entity_detection: 'all', a category ('pii', 'phi'), or specific entity types. Must be a subset of entity_detection. When redaction is enabled, the entities field will not be returned. Usage of this parameter will incur an additional 30% surcharge on the base transcription cost.
|
|
3
3
|
*/
|
|
4
4
|
export type SpeechToTextConvertRequestEntityRedaction = string | string[];
|
|
@@ -24,7 +24,7 @@ export interface VoicesSearchRequest {
|
|
|
24
24
|
sort?: string;
|
|
25
25
|
/** Which direction to sort the voices in. 'asc' or 'desc'. */
|
|
26
26
|
sortDirection?: string;
|
|
27
|
-
/** Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace', 'non-default', 'saved'. 'non-default' is equal to all but 'default'. 'saved' is equal to non-default, but includes default voices if they have been added to a collection. */
|
|
27
|
+
/** Type of the voice to filter by. One of 'personal', 'community', 'default', 'workspace', 'non-default', 'non-community', 'saved'. 'non-default' is equal to all but 'default'. 'non-community' is equal to 'personal' and 'workspace' combined (excludes library copies). 'saved' is equal to non-default, but includes default voices if they have been added to a collection. */
|
|
28
28
|
voiceType?: string;
|
|
29
29
|
/** Category of the voice to filter by. One of 'premade', 'cloned', 'generated', 'professional' */
|
|
30
30
|
category?: string;
|
|
@@ -12,6 +12,8 @@ export interface AgentBranchSummary {
|
|
|
12
12
|
accessInfo?: ElevenLabs.ResourceAccessInfo;
|
|
13
13
|
/** Percentage of traffic live on the branch */
|
|
14
14
|
currentLivePercentage?: number;
|
|
15
|
+
/** ID of the parent branch */
|
|
16
|
+
parentBranchId?: string;
|
|
15
17
|
/** Whether a draft exists for the branch */
|
|
16
18
|
draftExists?: boolean;
|
|
17
19
|
}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
2
|
export interface ConvAiStoredSecretDependencies {
|
|
3
3
|
tools: ElevenLabs.ConvAiStoredSecretDependenciesToolsItem[];
|
|
4
|
+
/** Whether there are more tool dependents beyond the returned preview */
|
|
5
|
+
toolsHasMore?: boolean;
|
|
4
6
|
agents: ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem[];
|
|
5
|
-
|
|
7
|
+
/** Whether there are more agent dependents beyond the returned preview */
|
|
8
|
+
agentsHasMore?: boolean;
|
|
6
9
|
phoneNumbers?: ElevenLabs.DependentPhoneNumberIdentifier[];
|
|
10
|
+
/** Whether there are more phone number dependents beyond the returned preview */
|
|
11
|
+
phoneNumbersHasMore?: boolean;
|
|
12
|
+
mcpServers?: ElevenLabs.ConvAiStoredSecretDependenciesMcpServersItem[];
|
|
13
|
+
others: ElevenLabs.SecretDependencyType[];
|
|
7
14
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export type ConvAiStoredSecretDependenciesMcpServersItem = ElevenLabs.ConvAiStoredSecretDependenciesMcpServersItem.Available | ElevenLabs.ConvAiStoredSecretDependenciesMcpServersItem.Unknown;
|
|
3
|
+
export declare namespace ConvAiStoredSecretDependenciesMcpServersItem {
|
|
4
|
+
interface Available extends ElevenLabs.DependentAvailableMcpServerIdentifier {
|
|
5
|
+
type: "available";
|
|
6
|
+
}
|
|
7
|
+
interface Unknown extends ElevenLabs.DependentUnknownMcpServerIdentifier {
|
|
8
|
+
type: "unknown";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -7,12 +7,13 @@ export declare const DirectPublishingReadResponseModelGenreItem: {
|
|
|
7
7
|
readonly Dystopia: "Dystopia";
|
|
8
8
|
readonly BusinessAndEconomics: "Business and Economics";
|
|
9
9
|
readonly Technology: "Technology";
|
|
10
|
-
readonly
|
|
10
|
+
readonly ChristianInspirational: "Christian & Inspirational";
|
|
11
11
|
readonly Horror: "Horror";
|
|
12
12
|
readonly BiographyAndMemoir: "Biography and Memoir";
|
|
13
13
|
readonly EducationAndLearning: "Education and Learning";
|
|
14
14
|
readonly History: "History";
|
|
15
15
|
readonly ChildrensLiterature: "Children's Literature";
|
|
16
|
+
readonly YoungAdult: "Young Adult";
|
|
16
17
|
readonly FairyTalesAndFolklore: "Fairy Tales and Folklore";
|
|
17
18
|
readonly FanFiction: "Fan Fiction";
|
|
18
19
|
readonly GeneralFiction: "General Fiction";
|
|
@@ -30,6 +31,5 @@ export declare const DirectPublishingReadResponseModelGenreItem: {
|
|
|
30
31
|
readonly Travel: "Travel";
|
|
31
32
|
readonly TrueCrime: "True Crime";
|
|
32
33
|
readonly Other: "Other";
|
|
33
|
-
readonly AdultRomance: "Adult Romance";
|
|
34
34
|
};
|
|
35
35
|
export type DirectPublishingReadResponseModelGenreItem = (typeof DirectPublishingReadResponseModelGenreItem)[keyof typeof DirectPublishingReadResponseModelGenreItem];
|
|
@@ -11,12 +11,13 @@ exports.DirectPublishingReadResponseModelGenreItem = {
|
|
|
11
11
|
Dystopia: "Dystopia",
|
|
12
12
|
BusinessAndEconomics: "Business and Economics",
|
|
13
13
|
Technology: "Technology",
|
|
14
|
-
|
|
14
|
+
ChristianInspirational: "Christian & Inspirational",
|
|
15
15
|
Horror: "Horror",
|
|
16
16
|
BiographyAndMemoir: "Biography and Memoir",
|
|
17
17
|
EducationAndLearning: "Education and Learning",
|
|
18
18
|
History: "History",
|
|
19
19
|
ChildrensLiterature: "Children's Literature",
|
|
20
|
+
YoungAdult: "Young Adult",
|
|
20
21
|
FairyTalesAndFolklore: "Fairy Tales and Folklore",
|
|
21
22
|
FanFiction: "Fan Fiction",
|
|
22
23
|
GeneralFiction: "General Fiction",
|
|
@@ -34,5 +35,4 @@ exports.DirectPublishingReadResponseModelGenreItem = {
|
|
|
34
35
|
Travel: "Travel",
|
|
35
36
|
TrueCrime: "True Crime",
|
|
36
37
|
Other: "Other",
|
|
37
|
-
AdultRomance: "Adult Romance",
|
|
38
38
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export type GetSecretDependenciesResponseModelDependencies = ElevenLabs.GetSecretDependenciesResponseModelDependenciesZeroItem[] | ElevenLabs.GetSecretDependenciesResponseModelDependenciesOneItem[] | ElevenLabs.DependentPhoneNumberIdentifier[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export type GetSecretDependenciesResponseModelDependenciesOneItem = ElevenLabs.GetSecretDependenciesResponseModelDependenciesOneItem.Available | ElevenLabs.GetSecretDependenciesResponseModelDependenciesOneItem.Unknown;
|
|
3
|
+
export declare namespace GetSecretDependenciesResponseModelDependenciesOneItem {
|
|
4
|
+
interface Available extends ElevenLabs.DependentAvailableAgentIdentifier {
|
|
5
|
+
type: "available";
|
|
6
|
+
}
|
|
7
|
+
interface Unknown extends ElevenLabs.DependentUnknownAgentIdentifier {
|
|
8
|
+
type: "unknown";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export type GetSecretDependenciesResponseModelDependenciesZeroItem = ElevenLabs.GetSecretDependenciesResponseModelDependenciesZeroItem.Available | ElevenLabs.GetSecretDependenciesResponseModelDependenciesZeroItem.Unknown;
|
|
3
|
+
export declare namespace GetSecretDependenciesResponseModelDependenciesZeroItem {
|
|
4
|
+
interface Available extends ElevenLabs.DependentAvailableToolIdentifier {
|
|
5
|
+
type: "available";
|
|
6
|
+
}
|
|
7
|
+
interface Unknown extends ElevenLabs.DependentUnknownToolIdentifier {
|
|
8
|
+
type: "unknown";
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export type KnowledgeBaseContentSearchResultDocument = ElevenLabs.KnowledgeBaseContentSearchResultDocument.File_ | ElevenLabs.KnowledgeBaseContentSearchResultDocument.Folder | ElevenLabs.KnowledgeBaseContentSearchResultDocument.Text | ElevenLabs.KnowledgeBaseContentSearchResultDocument.Url;
|
|
3
|
+
export declare namespace KnowledgeBaseContentSearchResultDocument {
|
|
4
|
+
interface File_ extends ElevenLabs.GetKnowledgeBaseSummaryFileResponseModel {
|
|
5
|
+
type: "file";
|
|
6
|
+
}
|
|
7
|
+
interface Folder extends ElevenLabs.GetKnowledgeBaseSummaryFolderResponseModel {
|
|
8
|
+
type: "folder";
|
|
9
|
+
}
|
|
10
|
+
interface Text extends ElevenLabs.GetKnowledgeBaseSummaryTextResponseModel {
|
|
11
|
+
type: "text";
|
|
12
|
+
}
|
|
13
|
+
interface Url extends ElevenLabs.GetKnowledgeBaseSummaryUrlResponseModel {
|
|
14
|
+
type: "url";
|
|
15
|
+
}
|
|
16
|
+
}
|
package/api/types/Llm.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare const Llm: {
|
|
|
21
21
|
readonly Gemini25Flash: "gemini-2.5-flash";
|
|
22
22
|
readonly Gemini3ProPreview: "gemini-3-pro-preview";
|
|
23
23
|
readonly Gemini3FlashPreview: "gemini-3-flash-preview";
|
|
24
|
+
readonly Gemini31ProPreview: "gemini-3.1-pro-preview";
|
|
24
25
|
readonly Gemini31FlashLitePreview: "gemini-3.1-flash-lite-preview";
|
|
25
26
|
readonly ClaudeSonnet45: "claude-sonnet-4-5";
|
|
26
27
|
readonly ClaudeSonnet46: "claude-sonnet-4-6";
|
|
@@ -34,6 +35,8 @@ export declare const Llm: {
|
|
|
34
35
|
readonly CustomLlm: "custom-llm";
|
|
35
36
|
readonly Qwen34B: "qwen3-4b";
|
|
36
37
|
readonly Qwen330Ba3B: "qwen3-30b-a3b";
|
|
38
|
+
readonly Qwen3535Ba3B: "qwen35-35b-a3b";
|
|
39
|
+
readonly Qwen35397Ba17B: "qwen35-397b-a17b";
|
|
37
40
|
readonly GptOss20B: "gpt-oss-20b";
|
|
38
41
|
readonly GptOss120B: "gpt-oss-120b";
|
|
39
42
|
readonly Glm45AirFp8: "glm-45-air-fp8";
|