@elevenlabs/elevenlabs-js 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +2 -2
- package/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/client/Client.js +17 -12
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +14 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +74 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
- package/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/index.js +17 -0
- package/api/resources/dubbing/client/Client.js +3 -0
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/api/resources/textToVoice/client/Client.d.ts +32 -0
- package/api/resources/textToVoice/client/Client.js +162 -0
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
- package/api/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
- package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
- package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
- package/api/resources/textToVoice/types/index.d.ts +2 -0
- package/api/resources/textToVoice/types/index.js +2 -0
- package/api/resources/workspace/client/Client.d.ts +39 -0
- package/api/resources/workspace/client/Client.js +205 -0
- package/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
- package/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/api/types/AgentConfigOverride.d.ts +1 -1
- package/api/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/api/types/AsrProvider.d.ts +5 -1
- package/api/types/AsrProvider.js +5 -0
- package/api/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +1 -1
- package/api/types/BuiltInToolsOutput.d.ts +16 -0
- package/api/types/ClientToolConfigInput.d.ts +0 -1
- package/api/types/ClientToolConfigOutput.d.ts +0 -1
- package/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
- package/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
- package/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
- package/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
- package/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
- package/api/types/McpToolConfigInput.d.ts +0 -1
- package/api/types/McpToolConfigOutput.d.ts +0 -1
- package/api/types/PromptAgent.d.ts +1 -27
- package/api/types/PromptAgentApiModelInput.d.ts +32 -0
- package/{dist/api/types/PromptAgentInputToolsItem.d.ts → api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -2
- package/api/types/PromptAgentApiModelOutput.d.ts +32 -0
- package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
- package/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
- package/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
- package/api/types/PromptAgentDbModel.d.ts +3 -3
- package/api/types/SystemToolConfigInput.d.ts +0 -1
- package/api/types/SystemToolConfigOutput.d.ts +0 -1
- package/api/types/ToolRequestModel.d.ts +8 -0
- package/{dist/api/types/PromptAgentDbModelToolsItem.d.ts → api/types/ToolRequestModelToolConfig.d.ts} +3 -3
- package/api/types/ToolRequestModelToolConfig.js +5 -0
- package/api/types/ToolResponseModel.d.ts +10 -0
- package/api/types/ToolResponseModel.js +5 -0
- package/api/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +2 -2
- package/api/types/ToolResponseModelToolConfig.js +5 -0
- package/api/types/ToolsResponseModel.d.ts +7 -0
- package/api/types/ToolsResponseModel.js +5 -0
- package/api/types/WebhookToolConfigInput.d.ts +0 -1
- package/api/types/WebhookToolConfigOutput.d.ts +0 -1
- package/api/types/WorkspaceGroupPermission.d.ts +22 -0
- package/api/types/WorkspaceGroupPermission.js +24 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
- package/api/types/WorkspaceGroupResponseModel.js +5 -0
- package/api/types/index.d.ts +20 -11
- package/api/types/index.js +20 -11
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/client/Client.js +17 -12
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +74 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +5 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/index.js +17 -0
- package/dist/api/resources/dubbing/client/Client.js +3 -0
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/dist/api/resources/textToVoice/client/Client.d.ts +32 -0
- package/dist/api/resources/textToVoice/client/Client.js +162 -0
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
- package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
- package/dist/api/resources/textToVoice/types/index.d.ts +2 -0
- package/dist/api/resources/textToVoice/types/index.js +2 -0
- package/dist/api/resources/workspace/client/Client.d.ts +39 -0
- package/dist/api/resources/workspace/client/Client.js +205 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +5 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/api/types/AgentConfigOverride.d.ts +1 -1
- package/dist/api/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/AsrProvider.d.ts +5 -1
- package/dist/api/types/AsrProvider.js +5 -0
- package/dist/api/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +1 -1
- package/dist/api/types/BuiltInToolsInput.js +5 -0
- package/dist/api/types/BuiltInToolsOutput.d.ts +16 -0
- package/dist/api/types/BuiltInToolsOutput.js +5 -0
- package/dist/api/types/ClientToolConfigInput.d.ts +0 -1
- package/dist/api/types/ClientToolConfigOutput.d.ts +0 -1
- package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.js +5 -0
- package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
- package/dist/api/types/DefaultSharingPreferencesResponseModel.js +5 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.js +5 -0
- package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
- package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.js +5 -0
- package/dist/api/types/McpToolConfigInput.d.ts +0 -1
- package/dist/api/types/McpToolConfigOutput.d.ts +0 -1
- package/dist/api/types/PromptAgent.d.ts +1 -27
- package/dist/api/types/PromptAgentApiModelInput.d.ts +32 -0
- package/dist/api/types/PromptAgentApiModelInput.js +5 -0
- package/{api/types/PromptAgentDbModelToolsItem.d.ts → dist/api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -2
- package/dist/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +32 -0
- package/dist/api/types/PromptAgentApiModelOutput.js +5 -0
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
- package/dist/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
- package/dist/api/types/PromptAgentApiModelOverride.js +5 -0
- package/dist/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
- package/dist/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
- package/dist/api/types/PromptAgentDbModel.d.ts +3 -3
- package/dist/api/types/SystemToolConfigInput.d.ts +0 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +0 -1
- package/dist/api/types/ToolRequestModel.d.ts +8 -0
- package/dist/api/types/ToolRequestModel.js +5 -0
- package/{api/types/PromptAgentInputToolsItem.d.ts → dist/api/types/ToolRequestModelToolConfig.d.ts} +3 -3
- package/dist/api/types/ToolRequestModelToolConfig.js +5 -0
- package/dist/api/types/ToolResponseModel.d.ts +10 -0
- package/dist/api/types/ToolResponseModel.js +5 -0
- package/dist/api/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +2 -2
- package/dist/api/types/ToolResponseModelToolConfig.js +5 -0
- package/dist/api/types/ToolsResponseModel.d.ts +7 -0
- package/dist/api/types/ToolsResponseModel.js +5 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +0 -1
- package/dist/api/types/WebhookToolConfigOutput.d.ts +0 -1
- package/dist/api/types/WorkspaceGroupPermission.d.ts +22 -0
- package/dist/api/types/WorkspaceGroupPermission.js +24 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
- package/dist/api/types/WorkspaceGroupResponseModel.js +5 -0
- package/dist/api/types/index.d.ts +20 -11
- package/dist/api/types/index.js +20 -11
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
- package/dist/serialization/{types/DependentAvailableAgentToolIdentifier.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -9
- package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/index.js +5 -1
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
- package/{serialization/types/DependentUnknownAgentToolIdentifier.js → dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js} +3 -3
- package/dist/serialization/resources/textToVoice/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/types/index.js +2 -0
- package/dist/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
- package/dist/serialization/{types/DependentAvailableAgentToolIdentifierAccessLevel.js → resources/workspace/client/getShareOptions.js} +4 -3
- package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/index.js +24 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
- package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/requests/index.js +3 -1
- package/dist/serialization/types/AgentConfigOverride.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverride.js +2 -2
- package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverrideConfig.js +2 -2
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +2 -2
- package/dist/serialization/types/{BuiltInTools.js → BuiltInToolsInput.js} +2 -2
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +17 -0
- package/dist/serialization/types/BuiltInToolsOutput.js +48 -0
- package/dist/serialization/types/ClientToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/ClientToolConfigInput.js +0 -1
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/ClientToolConfigOutput.js +0 -1
- package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
- package/dist/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
- package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
- package/dist/serialization/types/{ConvAiStoredSecretDependenciesAgentToolsItem.js → ConvAiStoredSecretDependenciesAgentsItem.js} +6 -6
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +2 -0
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModel.js +46 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
- package/{serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js} +6 -6
- package/dist/serialization/types/McpToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/McpToolConfigInput.js +0 -1
- package/dist/serialization/types/McpToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/McpToolConfigOutput.js +0 -1
- package/dist/serialization/types/PromptAgent.d.ts +2 -20
- package/dist/serialization/types/PromptAgent.js +1 -19
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +61 -0
- package/{serialization/types/PromptAgentDbModelToolsItem.d.ts → dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -3
- package/{serialization/types/PromptAgentDbModelToolsItem.js → dist/serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -2
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +61 -0
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
- package/{serialization/types/PromptAgentOverride.d.ts → dist/serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
- package/dist/serialization/types/{PromptAgentOverride.js → PromptAgentApiModelOverride.js} +2 -2
- package/dist/serialization/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +2 -2
- package/dist/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
- package/dist/serialization/types/PromptAgentDbModel.d.ts +3 -4
- package/dist/serialization/types/PromptAgentDbModel.js +3 -4
- package/dist/serialization/types/SystemToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/SystemToolConfigInput.js +0 -1
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/SystemToolConfigOutput.js +0 -1
- package/dist/serialization/types/ToolRequestModel.d.ts +13 -0
- package/dist/serialization/types/ToolRequestModel.js +44 -0
- package/dist/serialization/types/{PromptAgentInputToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -3
- package/{serialization/types/PromptAgentInputToolsItem.js → dist/serialization/types/ToolRequestModelToolConfig.js} +2 -2
- package/dist/serialization/types/ToolResponseModel.d.ts +16 -0
- package/dist/serialization/types/ToolResponseModel.js +47 -0
- package/{serialization/types/PromptAgentOutputToolsItem.d.ts → dist/serialization/types/ToolResponseModelToolConfig.d.ts} +3 -3
- package/{serialization/types/PromptAgentOutputToolsItem.js → dist/serialization/types/ToolResponseModelToolConfig.js} +2 -2
- package/dist/serialization/types/ToolsResponseModel.d.ts +13 -0
- package/dist/serialization/types/ToolsResponseModel.js +44 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/WebhookToolConfigInput.js +0 -1
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/WebhookToolConfigOutput.js +0 -1
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
- package/dist/serialization/types/WorkspaceGroupPermission.js +58 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +47 -0
- package/dist/serialization/types/index.d.ts +20 -11
- package/dist/serialization/types/index.js +20 -11
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1019 -239
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +53 -0
- package/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToVoice/client/requests/index.js +5 -1
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
- package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
- package/{dist/serialization/types/DependentUnknownAgentToolIdentifier.js → serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js} +3 -3
- package/serialization/resources/textToVoice/types/index.d.ts +2 -0
- package/serialization/resources/textToVoice/types/index.js +2 -0
- package/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
- package/serialization/resources/workspace/client/getShareOptions.js +42 -0
- package/serialization/resources/workspace/client/index.d.ts +1 -0
- package/serialization/resources/workspace/client/index.js +24 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
- package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
- package/serialization/resources/workspace/client/requests/index.js +3 -1
- package/serialization/types/AgentConfigOverride.d.ts +2 -2
- package/serialization/types/AgentConfigOverride.js +2 -2
- package/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
- package/serialization/types/AgentConfigOverrideConfig.js +2 -2
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +2 -2
- package/serialization/types/{BuiltInTools.js → BuiltInToolsInput.js} +2 -2
- package/serialization/types/BuiltInToolsOutput.d.ts +17 -0
- package/serialization/types/BuiltInToolsOutput.js +48 -0
- package/serialization/types/ClientToolConfigInput.d.ts +0 -1
- package/serialization/types/ClientToolConfigInput.js +0 -1
- package/serialization/types/ClientToolConfigOutput.d.ts +0 -1
- package/serialization/types/ClientToolConfigOutput.js +0 -1
- package/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
- package/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
- package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
- package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.js +51 -0
- package/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
- package/serialization/types/ConversationChargingCommonModel.js +2 -0
- package/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
- package/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
- package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
- package/serialization/types/GetToolDependentAgentsResponseModel.js +46 -0
- package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
- package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js +51 -0
- package/serialization/types/McpToolConfigInput.d.ts +0 -1
- package/serialization/types/McpToolConfigInput.js +0 -1
- package/serialization/types/McpToolConfigOutput.d.ts +0 -1
- package/serialization/types/McpToolConfigOutput.js +0 -1
- package/serialization/types/PromptAgent.d.ts +2 -20
- package/serialization/types/PromptAgent.js +1 -19
- package/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
- package/serialization/types/PromptAgentApiModelInput.js +61 -0
- package/{dist/serialization/types/PromptAgentDbModelToolsItem.d.ts → serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -3
- package/{dist/serialization/types/PromptAgentDbModelToolsItem.js → serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -2
- package/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
- package/serialization/types/PromptAgentApiModelOutput.js +61 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
- package/{dist/serialization/types/PromptAgentOverride.d.ts → serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
- package/serialization/types/{PromptAgentOverride.js → PromptAgentApiModelOverride.js} +2 -2
- package/serialization/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +2 -2
- package/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
- package/serialization/types/PromptAgentDbModel.d.ts +3 -4
- package/serialization/types/PromptAgentDbModel.js +3 -4
- package/serialization/types/SystemToolConfigInput.d.ts +0 -1
- package/serialization/types/SystemToolConfigInput.js +0 -1
- package/serialization/types/SystemToolConfigOutput.d.ts +0 -1
- package/serialization/types/SystemToolConfigOutput.js +0 -1
- package/serialization/types/ToolRequestModel.d.ts +13 -0
- package/serialization/types/ToolRequestModel.js +44 -0
- package/serialization/types/{PromptAgentInputToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -3
- package/{dist/serialization/types/PromptAgentInputToolsItem.js → serialization/types/ToolRequestModelToolConfig.js} +2 -2
- package/serialization/types/ToolResponseModel.d.ts +16 -0
- package/serialization/types/ToolResponseModel.js +47 -0
- package/{dist/serialization/types/PromptAgentOutputToolsItem.d.ts → serialization/types/ToolResponseModelToolConfig.d.ts} +3 -3
- package/{dist/serialization/types/PromptAgentOutputToolsItem.js → serialization/types/ToolResponseModelToolConfig.js} +2 -2
- package/serialization/types/ToolsResponseModel.d.ts +13 -0
- package/serialization/types/ToolsResponseModel.js +44 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +0 -1
- package/serialization/types/WebhookToolConfigInput.js +0 -1
- package/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
- package/serialization/types/WebhookToolConfigOutput.js +0 -1
- package/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
- package/serialization/types/WorkspaceGroupPermission.js +58 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +47 -0
- package/serialization/types/index.d.ts +20 -11
- package/serialization/types/index.js +20 -11
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
- package/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
- package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
- package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
- package/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
- package/dist/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
- package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
- package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
- package/dist/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
- package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
- package/dist/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
- package/dist/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
- package/dist/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
- package/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
- package/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
- package/serialization/types/DependentAvailableAgentToolIdentifier.js +0 -48
- package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
- package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -41
- package/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
- /package/api/{types/BuiltInTools.js → resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js} +0 -0
- /package/api/{types/ConvAiStoredSecretDependenciesAgentToolsItem.js → resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js} +0 -0
- /package/api/{types/DependentAvailableAgentToolIdentifier.js → resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js} +0 -0
- /package/api/{types/DependentUnknownAgentToolIdentifier.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +0 -0
- /package/api/{types/PromptAgentDbModelToolsItem.js → resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js} +0 -0
- /package/api/types/{PromptAgentInputToolsItem.js → BuiltInToolsInput.js} +0 -0
- /package/api/types/{PromptAgentOutputToolsItem.js → BuiltInToolsOutput.js} +0 -0
- /package/api/types/{PromptAgentOverride.js → ConvAiStoredSecretDependenciesAgentsItem.js} +0 -0
- /package/api/types/{PromptAgentOverrideConfig.js → DefaultSharingPreferencesResponseModel.js} +0 -0
- /package/{dist/api/types/BuiltInTools.js → api/types/GetToolDependentAgentsResponseModel.js} +0 -0
- /package/{dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → api/types/GetToolDependentAgentsResponseModelAgentsItem.js} +0 -0
- /package/{dist/api/types/DependentAvailableAgentToolIdentifier.js → api/types/PromptAgentApiModelInput.js} +0 -0
- /package/{dist/api/types/DependentUnknownAgentToolIdentifier.js → api/types/PromptAgentApiModelInputToolsItem.js} +0 -0
- /package/{dist/api/types/PromptAgentDbModelToolsItem.js → api/types/PromptAgentApiModelOutput.js} +0 -0
- /package/{dist/api/types/PromptAgentInputToolsItem.js → api/types/PromptAgentApiModelOutputToolsItem.js} +0 -0
- /package/{dist/api/types/PromptAgentOutputToolsItem.js → api/types/PromptAgentApiModelOverride.js} +0 -0
- /package/{dist/api/types/PromptAgentOverride.js → api/types/PromptAgentApiModelOverrideConfig.js} +0 -0
- /package/{dist/api/types/PromptAgentOverrideConfig.js → api/types/ToolRequestModel.js} +0 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface BuiltInToolsOutput {
|
|
6
|
+
/** The end call tool */
|
|
7
|
+
endCall?: ElevenLabs.SystemToolConfigOutput;
|
|
8
|
+
/** The language detection tool */
|
|
9
|
+
languageDetection?: ElevenLabs.SystemToolConfigOutput;
|
|
10
|
+
/** The transfer to agent tool */
|
|
11
|
+
transferToAgent?: ElevenLabs.SystemToolConfigOutput;
|
|
12
|
+
/** The transfer to number tool */
|
|
13
|
+
transferToNumber?: ElevenLabs.SystemToolConfigOutput;
|
|
14
|
+
/** The skip turn tool */
|
|
15
|
+
skipTurn?: ElevenLabs.SystemToolConfigOutput;
|
|
16
|
+
}
|
|
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* A client tool is one that sends an event to the user's client to trigger something client side
|
|
7
7
|
*/
|
|
8
8
|
export interface ClientToolConfigInput {
|
|
9
|
-
id?: string;
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
12
11
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 1 and 30 seconds (inclusive). */
|
|
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* A client tool is one that sends an event to the user's client to trigger something client side
|
|
7
7
|
*/
|
|
8
8
|
export interface ClientToolConfigOutput {
|
|
9
|
-
id?: string;
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
12
11
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 1 and 30 seconds (inclusive). */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
5
|
export interface ConvAiStoredSecretDependencies {
|
|
6
6
|
tools: ElevenLabs.ConvAiStoredSecretDependenciesToolsItem[];
|
|
7
|
-
|
|
7
|
+
agents: ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem[];
|
|
8
8
|
others: ElevenLabs.SecretDependencyType[];
|
|
9
9
|
phoneNumbers?: ElevenLabs.DependentPhoneNumberIdentifier[];
|
|
10
10
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export type ConvAiStoredSecretDependenciesAgentsItem = ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem.Available | ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem.Unknown;
|
|
6
|
+
export declare namespace ConvAiStoredSecretDependenciesAgentsItem {
|
|
7
|
+
interface Available extends ElevenLabs.DependentAvailableAgentIdentifier {
|
|
8
|
+
type: "available";
|
|
9
|
+
}
|
|
10
|
+
interface Unknown extends ElevenLabs.DependentUnknownAgentIdentifier {
|
|
11
|
+
type: "unknown";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface DefaultSharingPreferencesResponseModel {
|
|
6
|
+
/** List of groups that the user shares with by default */
|
|
7
|
+
defaultSharingGroups: ElevenLabs.WorkspaceGroupResponseModel[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface GetToolDependentAgentsResponseModel {
|
|
6
|
+
agents: ElevenLabs.GetToolDependentAgentsResponseModelAgentsItem[];
|
|
7
|
+
nextCursor?: string;
|
|
8
|
+
hasMore: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export type GetToolDependentAgentsResponseModelAgentsItem = ElevenLabs.GetToolDependentAgentsResponseModelAgentsItem.Available | ElevenLabs.GetToolDependentAgentsResponseModelAgentsItem.Unknown;
|
|
6
|
+
export declare namespace GetToolDependentAgentsResponseModelAgentsItem {
|
|
7
|
+
interface Available extends ElevenLabs.DependentAvailableAgentIdentifier {
|
|
8
|
+
type: "available";
|
|
9
|
+
}
|
|
10
|
+
interface Unknown extends ElevenLabs.DependentUnknownAgentIdentifier {
|
|
11
|
+
type: "unknown";
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* An MCP tool configuration that can be used to call MCP servers
|
|
7
7
|
*/
|
|
8
8
|
export interface McpToolConfigInput {
|
|
9
|
-
id?: string;
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
12
11
|
/** The maximum time in seconds to wait for the tool call to complete. */
|
|
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* An MCP tool configuration that can be used to call MCP servers
|
|
7
7
|
*/
|
|
8
8
|
export interface McpToolConfigOutput {
|
|
9
|
-
id?: string;
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
12
11
|
/** The maximum time in seconds to wait for the tool call to complete. */
|
|
@@ -1,30 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
export interface PromptAgent {
|
|
6
|
-
/** The prompt for the agent */
|
|
7
|
-
prompt?: string;
|
|
8
|
-
/** The LLM to query with the prompt and the chat history */
|
|
9
|
-
llm?: ElevenLabs.Llm;
|
|
10
|
-
/** The temperature for the LLM */
|
|
11
|
-
temperature?: number;
|
|
12
|
-
/** If greater than 0, maximum number of tokens the LLM can predict */
|
|
13
|
-
maxTokens?: number;
|
|
14
|
-
/** A list of tools that the agent can use over the course of the conversation */
|
|
15
|
-
tools?: ElevenLabs.PromptAgentOutputToolsItem[];
|
|
16
|
-
/** A list of IDs of tools used by the agent */
|
|
17
|
-
toolIds?: string[];
|
|
18
|
-
/** A list of MCP server ids to be used by the agent */
|
|
19
|
-
mcpServerIds?: string[];
|
|
20
|
-
/** A list of Native MCP server ids to be used by the agent */
|
|
21
|
-
nativeMcpServerIds?: string[];
|
|
22
|
-
/** A list of knowledge bases to be used by the agent */
|
|
23
|
-
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
24
|
-
/** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
|
|
25
|
-
customLlm?: ElevenLabs.CustomLlm;
|
|
26
|
-
/** Whether to ignore the default personality */
|
|
27
|
-
ignoreDefaultPersonality?: boolean;
|
|
28
|
-
/** Configuration for RAG */
|
|
29
|
-
rag?: ElevenLabs.RagConfig;
|
|
30
|
-
}
|
|
4
|
+
export type PromptAgent = unknown;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface PromptAgentApiModelInput {
|
|
6
|
+
/** The prompt for the agent */
|
|
7
|
+
prompt?: string;
|
|
8
|
+
/** The LLM to query with the prompt and the chat history */
|
|
9
|
+
llm?: ElevenLabs.Llm;
|
|
10
|
+
/** The temperature for the LLM */
|
|
11
|
+
temperature?: number;
|
|
12
|
+
/** If greater than 0, maximum number of tokens the LLM can predict */
|
|
13
|
+
maxTokens?: number;
|
|
14
|
+
/** A list of IDs of tools used by the agent */
|
|
15
|
+
toolIds?: string[];
|
|
16
|
+
/** Built-in system tools to be used by the agent */
|
|
17
|
+
builtInTools?: ElevenLabs.BuiltInToolsInput;
|
|
18
|
+
/** A list of MCP server ids to be used by the agent */
|
|
19
|
+
mcpServerIds?: string[];
|
|
20
|
+
/** A list of Native MCP server ids to be used by the agent */
|
|
21
|
+
nativeMcpServerIds?: string[];
|
|
22
|
+
/** A list of knowledge bases to be used by the agent */
|
|
23
|
+
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
24
|
+
/** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
|
|
25
|
+
customLlm?: ElevenLabs.CustomLlm;
|
|
26
|
+
/** Whether to ignore the default personality */
|
|
27
|
+
ignoreDefaultPersonality?: boolean;
|
|
28
|
+
/** Configuration for RAG */
|
|
29
|
+
rag?: ElevenLabs.RagConfig;
|
|
30
|
+
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
31
|
+
tools?: ElevenLabs.PromptAgentApiModelInputToolsItem[];
|
|
32
|
+
}
|
|
@@ -5,8 +5,8 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* The type of tool
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
9
|
-
export declare namespace
|
|
8
|
+
export type PromptAgentApiModelInputToolsItem = ElevenLabs.PromptAgentApiModelInputToolsItem.Client | ElevenLabs.PromptAgentApiModelInputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelInputToolsItem.System | ElevenLabs.PromptAgentApiModelInputToolsItem.Webhook;
|
|
9
|
+
export declare namespace PromptAgentApiModelInputToolsItem {
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface PromptAgentApiModelOutput {
|
|
6
|
+
/** The prompt for the agent */
|
|
7
|
+
prompt?: string;
|
|
8
|
+
/** The LLM to query with the prompt and the chat history */
|
|
9
|
+
llm?: ElevenLabs.Llm;
|
|
10
|
+
/** The temperature for the LLM */
|
|
11
|
+
temperature?: number;
|
|
12
|
+
/** If greater than 0, maximum number of tokens the LLM can predict */
|
|
13
|
+
maxTokens?: number;
|
|
14
|
+
/** A list of IDs of tools used by the agent */
|
|
15
|
+
toolIds?: string[];
|
|
16
|
+
/** Built-in system tools to be used by the agent */
|
|
17
|
+
builtInTools?: ElevenLabs.BuiltInToolsOutput;
|
|
18
|
+
/** A list of MCP server ids to be used by the agent */
|
|
19
|
+
mcpServerIds?: string[];
|
|
20
|
+
/** A list of Native MCP server ids to be used by the agent */
|
|
21
|
+
nativeMcpServerIds?: string[];
|
|
22
|
+
/** A list of knowledge bases to be used by the agent */
|
|
23
|
+
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
24
|
+
/** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
|
|
25
|
+
customLlm?: ElevenLabs.CustomLlm;
|
|
26
|
+
/** Whether to ignore the default personality */
|
|
27
|
+
ignoreDefaultPersonality?: boolean;
|
|
28
|
+
/** Configuration for RAG */
|
|
29
|
+
rag?: ElevenLabs.RagConfig;
|
|
30
|
+
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
31
|
+
tools?: ElevenLabs.PromptAgentApiModelOutputToolsItem[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The type of tool
|
|
7
|
+
*/
|
|
8
|
+
export type PromptAgentApiModelOutputToolsItem = ElevenLabs.PromptAgentApiModelOutputToolsItem.Client | ElevenLabs.PromptAgentApiModelOutputToolsItem.Mcp | ElevenLabs.PromptAgentApiModelOutputToolsItem.System | ElevenLabs.PromptAgentApiModelOutputToolsItem.Webhook;
|
|
9
|
+
export declare namespace PromptAgentApiModelOutputToolsItem {
|
|
10
|
+
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
11
|
+
type: "client";
|
|
12
|
+
}
|
|
13
|
+
interface Mcp extends ElevenLabs.McpToolConfigOutput {
|
|
14
|
+
type: "mcp";
|
|
15
|
+
}
|
|
16
|
+
interface System extends ElevenLabs.SystemToolConfigOutput {
|
|
17
|
+
type: "system";
|
|
18
|
+
}
|
|
19
|
+
interface Webhook extends ElevenLabs.WebhookToolConfigOutput {
|
|
20
|
+
type: "webhook";
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -11,10 +11,10 @@ export interface PromptAgentDbModel {
|
|
|
11
11
|
temperature?: number;
|
|
12
12
|
/** If greater than 0, maximum number of tokens the LLM can predict */
|
|
13
13
|
maxTokens?: number;
|
|
14
|
-
/** A list of tools that the agent can use over the course of the conversation */
|
|
15
|
-
tools?: ElevenLabs.PromptAgentDbModelToolsItem[];
|
|
16
14
|
/** A list of IDs of tools used by the agent */
|
|
17
15
|
toolIds?: string[];
|
|
16
|
+
/** Built-in system tools to be used by the agent */
|
|
17
|
+
builtInTools?: ElevenLabs.BuiltInToolsInput;
|
|
18
18
|
/** A list of MCP server ids to be used by the agent */
|
|
19
19
|
mcpServerIds?: string[];
|
|
20
20
|
/** A list of Native MCP server ids to be used by the agent */
|
|
@@ -28,5 +28,5 @@ export interface PromptAgentDbModel {
|
|
|
28
28
|
/** Configuration for RAG */
|
|
29
29
|
rag?: ElevenLabs.RagConfig;
|
|
30
30
|
knowledgeBaseDocumentIds?: string[];
|
|
31
|
-
|
|
31
|
+
tools?: unknown;
|
|
32
32
|
}
|
|
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* A system tool is a tool that is used to call a system method in the server
|
|
7
7
|
*/
|
|
8
8
|
export interface SystemToolConfigInput {
|
|
9
|
-
id?: string;
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
12
11
|
/** The maximum time in seconds to wait for the tool call to complete. */
|
|
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* A system tool is a tool that is used to call a system method in the server
|
|
7
7
|
*/
|
|
8
8
|
export interface SystemToolConfigOutput {
|
|
9
|
-
id?: string;
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
12
11
|
/** The maximum time in seconds to wait for the tool call to complete. */
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as ElevenLabs from "../index";
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Configuration for the tool
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
9
|
-
export declare namespace
|
|
8
|
+
export type ToolRequestModelToolConfig = ElevenLabs.ToolRequestModelToolConfig.Client | ElevenLabs.ToolRequestModelToolConfig.Mcp | ElevenLabs.ToolRequestModelToolConfig.System | ElevenLabs.ToolRequestModelToolConfig.Webhook;
|
|
9
|
+
export declare namespace ToolRequestModelToolConfig {
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface ToolResponseModel {
|
|
6
|
+
id: string;
|
|
7
|
+
/** The type of tool */
|
|
8
|
+
toolConfig: ElevenLabs.ToolResponseModelToolConfig;
|
|
9
|
+
accessInfo: ElevenLabs.ResourceAccessInfo;
|
|
10
|
+
}
|
|
@@ -5,8 +5,8 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* The type of tool
|
|
7
7
|
*/
|
|
8
|
-
export type
|
|
9
|
-
export declare namespace
|
|
8
|
+
export type ToolResponseModelToolConfig = ElevenLabs.ToolResponseModelToolConfig.Client | ElevenLabs.ToolResponseModelToolConfig.Mcp | ElevenLabs.ToolResponseModelToolConfig.System | ElevenLabs.ToolResponseModelToolConfig.Webhook;
|
|
9
|
+
export declare namespace ToolResponseModelToolConfig {
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* A webhook tool is a tool that calls an external webhook from our server
|
|
7
7
|
*/
|
|
8
8
|
export interface WebhookToolConfigInput {
|
|
9
|
-
id?: string;
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
12
11
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
@@ -6,7 +6,6 @@ import * as ElevenLabs from "../index";
|
|
|
6
6
|
* A webhook tool is a tool that calls an external webhook from our server
|
|
7
7
|
*/
|
|
8
8
|
export interface WebhookToolConfigOutput {
|
|
9
|
-
id?: string;
|
|
10
9
|
name: string;
|
|
11
10
|
description: string;
|
|
12
11
|
/** The maximum time in seconds to wait for the tool call to complete. Must be between 5 and 120 seconds (inclusive). */
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type WorkspaceGroupPermission = "text_to_speech" | "speech_to_speech" | "voice_lab" | "sound_effects" | "projects" | "voiceover_studio" | "dubbing" | "audio_native" | "conversational_ai" | "voice_isolator" | "ai_speech_classifier" | "add_voice_from_voice_library" | "create_instant_voice_clone" | "create_professional_voice_clone" | "create_user_api_key" | "publish_studio_project";
|
|
5
|
+
export declare const WorkspaceGroupPermission: {
|
|
6
|
+
readonly TextToSpeech: "text_to_speech";
|
|
7
|
+
readonly SpeechToSpeech: "speech_to_speech";
|
|
8
|
+
readonly VoiceLab: "voice_lab";
|
|
9
|
+
readonly SoundEffects: "sound_effects";
|
|
10
|
+
readonly Projects: "projects";
|
|
11
|
+
readonly VoiceoverStudio: "voiceover_studio";
|
|
12
|
+
readonly Dubbing: "dubbing";
|
|
13
|
+
readonly AudioNative: "audio_native";
|
|
14
|
+
readonly ConversationalAi: "conversational_ai";
|
|
15
|
+
readonly VoiceIsolator: "voice_isolator";
|
|
16
|
+
readonly AiSpeechClassifier: "ai_speech_classifier";
|
|
17
|
+
readonly AddVoiceFromVoiceLibrary: "add_voice_from_voice_library";
|
|
18
|
+
readonly CreateInstantVoiceClone: "create_instant_voice_clone";
|
|
19
|
+
readonly CreateProfessionalVoiceClone: "create_professional_voice_clone";
|
|
20
|
+
readonly CreateUserApiKey: "create_user_api_key";
|
|
21
|
+
readonly PublishStudioProject: "publish_studio_project";
|
|
22
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.WorkspaceGroupPermission = void 0;
|
|
7
|
+
exports.WorkspaceGroupPermission = {
|
|
8
|
+
TextToSpeech: "text_to_speech",
|
|
9
|
+
SpeechToSpeech: "speech_to_speech",
|
|
10
|
+
VoiceLab: "voice_lab",
|
|
11
|
+
SoundEffects: "sound_effects",
|
|
12
|
+
Projects: "projects",
|
|
13
|
+
VoiceoverStudio: "voiceover_studio",
|
|
14
|
+
Dubbing: "dubbing",
|
|
15
|
+
AudioNative: "audio_native",
|
|
16
|
+
ConversationalAi: "conversational_ai",
|
|
17
|
+
VoiceIsolator: "voice_isolator",
|
|
18
|
+
AiSpeechClassifier: "ai_speech_classifier",
|
|
19
|
+
AddVoiceFromVoiceLibrary: "add_voice_from_voice_library",
|
|
20
|
+
CreateInstantVoiceClone: "create_instant_voice_clone",
|
|
21
|
+
CreateProfessionalVoiceClone: "create_professional_voice_clone",
|
|
22
|
+
CreateUserApiKey: "create_user_api_key",
|
|
23
|
+
PublishStudioProject: "publish_studio_project",
|
|
24
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface WorkspaceGroupResponseModel {
|
|
6
|
+
name: string;
|
|
7
|
+
id: string;
|
|
8
|
+
members: string[];
|
|
9
|
+
permissions?: ElevenLabs.WorkspaceGroupPermission[];
|
|
10
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -69,7 +69,8 @@ export * from "./BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnaps
|
|
|
69
69
|
export * from "./BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost";
|
|
70
70
|
export * from "./UpdatePronunciationDictionariesRequest";
|
|
71
71
|
export * from "./BreakdownTypes";
|
|
72
|
-
export * from "./
|
|
72
|
+
export * from "./BuiltInToolsInput";
|
|
73
|
+
export * from "./BuiltInToolsOutput";
|
|
73
74
|
export * from "./ChapterContentBlockExtendableNodeResponseModel";
|
|
74
75
|
export * from "./ChapterContentBlockInputModelSubType";
|
|
75
76
|
export * from "./ChapterContentBlockInputModel";
|
|
@@ -95,7 +96,7 @@ export * from "./ClientToolConfigOutput";
|
|
|
95
96
|
export * from "./ConvAiDynamicVariable";
|
|
96
97
|
export * from "./ConvAiSecretLocator";
|
|
97
98
|
export * from "./ConvAiStoredSecretDependenciesToolsItem";
|
|
98
|
-
export * from "./
|
|
99
|
+
export * from "./ConvAiStoredSecretDependenciesAgentsItem";
|
|
99
100
|
export * from "./ConvAiStoredSecretDependencies";
|
|
100
101
|
export * from "./ConvAiUserSecretDbModel";
|
|
101
102
|
export * from "./ConvAiWebhooks";
|
|
@@ -164,6 +165,7 @@ export * from "./DashboardCallSuccessChartModel";
|
|
|
164
165
|
export * from "./DashboardCriteriaChartModel";
|
|
165
166
|
export * from "./DashboardDataCollectionChartModel";
|
|
166
167
|
export * from "./DataCollectionResultCommonModel";
|
|
168
|
+
export * from "./DefaultSharingPreferencesResponseModel";
|
|
167
169
|
export * from "./DeleteChapterResponseModel";
|
|
168
170
|
export * from "./DeleteDubbingResponseModel";
|
|
169
171
|
export * from "./DeleteHistoryItemResponse";
|
|
@@ -176,13 +178,10 @@ export * from "./DeleteWorkspaceInviteResponseModel";
|
|
|
176
178
|
export * from "./DeleteWorkspaceMemberResponseModel";
|
|
177
179
|
export * from "./DependentAvailableAgentIdentifierAccessLevel";
|
|
178
180
|
export * from "./DependentAvailableAgentIdentifier";
|
|
179
|
-
export * from "./DependentAvailableAgentToolIdentifierAccessLevel";
|
|
180
|
-
export * from "./DependentAvailableAgentToolIdentifier";
|
|
181
181
|
export * from "./DependentAvailableToolIdentifierAccessLevel";
|
|
182
182
|
export * from "./DependentAvailableToolIdentifier";
|
|
183
183
|
export * from "./DependentPhoneNumberIdentifier";
|
|
184
184
|
export * from "./DependentUnknownAgentIdentifier";
|
|
185
|
-
export * from "./DependentUnknownAgentToolIdentifier";
|
|
186
185
|
export * from "./DependentUnknownToolIdentifier";
|
|
187
186
|
export * from "./DialogueInput";
|
|
188
187
|
export * from "./DialogueInputResponseModel";
|
|
@@ -254,6 +253,8 @@ export * from "./GetPronunciationDictionariesMetadataResponseModel";
|
|
|
254
253
|
export * from "./GetPronunciationDictionaryMetadataResponseModelPermissionOnResource";
|
|
255
254
|
export * from "./GetPronunciationDictionaryMetadataResponse";
|
|
256
255
|
export * from "./GetSpeechHistoryResponse";
|
|
256
|
+
export * from "./GetToolDependentAgentsResponseModelAgentsItem";
|
|
257
|
+
export * from "./GetToolDependentAgentsResponseModel";
|
|
257
258
|
export * from "./GetVoicesResponse";
|
|
258
259
|
export * from "./GetVoicesV2Response";
|
|
259
260
|
export * from "./GetWorkspaceSecretsResponseModel";
|
|
@@ -356,13 +357,13 @@ export * from "./ProjectResponse";
|
|
|
356
357
|
export * from "./ProjectSnapshotExtendedResponseModel";
|
|
357
358
|
export * from "./ProjectSnapshotResponse";
|
|
358
359
|
export * from "./ProjectSnapshotsResponse";
|
|
359
|
-
export * from "./
|
|
360
|
-
export * from "./
|
|
361
|
-
export * from "./
|
|
362
|
-
export * from "./
|
|
360
|
+
export * from "./PromptAgentApiModelInputToolsItem";
|
|
361
|
+
export * from "./PromptAgentApiModelInput";
|
|
362
|
+
export * from "./PromptAgentApiModelOutputToolsItem";
|
|
363
|
+
export * from "./PromptAgentApiModelOutput";
|
|
364
|
+
export * from "./PromptAgentApiModelOverride";
|
|
365
|
+
export * from "./PromptAgentApiModelOverrideConfig";
|
|
363
366
|
export * from "./PromptAgentDbModel";
|
|
364
|
-
export * from "./PromptAgentOverride";
|
|
365
|
-
export * from "./PromptAgentOverrideConfig";
|
|
366
367
|
export * from "./PromptEvaluationCriteria";
|
|
367
368
|
export * from "./PronunciationDictionaryAliasRuleRequestModel";
|
|
368
369
|
export * from "./PronunciationDictionaryLocatorResponseModel";
|
|
@@ -458,6 +459,11 @@ export * from "./TelephonyProvider";
|
|
|
458
459
|
export * from "./Tool";
|
|
459
460
|
export * from "./ToolAnnotations";
|
|
460
461
|
export * from "./ToolMockConfig";
|
|
462
|
+
export * from "./ToolRequestModelToolConfig";
|
|
463
|
+
export * from "./ToolRequestModel";
|
|
464
|
+
export * from "./ToolResponseModelToolConfig";
|
|
465
|
+
export * from "./ToolResponseModel";
|
|
466
|
+
export * from "./ToolsResponseModel";
|
|
461
467
|
export * from "./TransferToAgentToolConfig";
|
|
462
468
|
export * from "./TransferToNumberToolConfig";
|
|
463
469
|
export * from "./TurnConfig";
|
|
@@ -517,6 +523,8 @@ export * from "./WidgetStyles";
|
|
|
517
523
|
export * from "./WidgetTextContents";
|
|
518
524
|
export * from "./WorkspaceBatchCallsResponse";
|
|
519
525
|
export * from "./WorkspaceGroupByNameResponseModel";
|
|
526
|
+
export * from "./WorkspaceGroupPermission";
|
|
527
|
+
export * from "./WorkspaceGroupResponseModel";
|
|
520
528
|
export * from "./WorkspaceResourceType";
|
|
521
529
|
export * from "./WorkspaceWebhookListResponseModel";
|
|
522
530
|
export * from "./WorkspaceWebhookResponseModel";
|
|
@@ -545,6 +553,7 @@ export * from "./UpdateChapterRequest";
|
|
|
545
553
|
export * from "./CharacterUsageResponse";
|
|
546
554
|
export * from "./GetPronunciationDictionariesResponse";
|
|
547
555
|
export * from "./GetPronunciationDictionaryResponse";
|
|
556
|
+
export * from "./PromptAgent";
|
|
548
557
|
export * from "./InitializeConnection";
|
|
549
558
|
export * from "./CloseConnection";
|
|
550
559
|
export * from "./SendText";
|