@elevenlabs/elevenlabs-js 2.8.0 → 2.10.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.d.ts +3 -0
- package/Client.js +9 -4
- package/api/resources/conversationalAi/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +1 -9
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +0 -9
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/music/client/Client.d.ts +48 -0
- package/api/resources/music/client/Client.js +212 -0
- package/api/resources/music/client/index.d.ts +2 -0
- package/api/resources/music/client/index.js +17 -0
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +20 -0
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +20 -0
- package/api/resources/music/client/requests/index.d.ts +2 -0
- package/api/resources/music/client/requests/index.js +2 -0
- package/api/resources/music/index.d.ts +3 -0
- package/api/resources/music/index.js +19 -0
- package/api/resources/music/resources/compositionPlan/client/Client.d.ts +48 -0
- package/api/resources/music/resources/compositionPlan/client/Client.js +137 -0
- package/api/resources/music/resources/compositionPlan/client/index.d.ts +2 -0
- package/api/resources/music/resources/compositionPlan/client/index.js +17 -0
- package/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +20 -0
- package/api/resources/music/resources/compositionPlan/client/requests/index.d.ts +1 -0
- package/api/resources/music/resources/compositionPlan/client/requests/index.js +2 -0
- package/api/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/api/resources/music/resources/compositionPlan/index.js +17 -0
- package/api/resources/music/resources/index.d.ts +2 -0
- package/api/resources/music/resources/index.js +41 -0
- package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +28 -0
- package/api/resources/music/types/MusicComposeRequestOutputFormat.js +27 -0
- package/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +28 -0
- package/api/resources/music/types/MusicStreamRequestOutputFormat.js +27 -0
- package/api/resources/music/types/index.d.ts +2 -0
- package/api/resources/music/types/index.js +18 -0
- package/api/resources/speechToText/client/Client.d.ts +1 -1
- package/api/resources/speechToText/client/Client.js +7 -1
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/api/resources/speechToText/types/SpeechToTextConvertRequestWebhookMetadata.d.ts +7 -0
- package/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +1 -1
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/usage/client/Client.js +4 -1
- package/api/resources/usage/client/requests/UsageGetRequest.d.ts +4 -0
- package/api/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +16 -0
- package/api/types/BreakdownTypes.d.ts +2 -1
- package/api/types/BreakdownTypes.js +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +4 -1
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +15 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +15 -0
- package/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +5 -0
- package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/api/types/ConversationSummaryResponseModelDirection.d.ts +8 -0
- package/api/types/ConversationSummaryResponseModelDirection.js +10 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/api/types/GetAgentResponseModel.d.ts +1 -0
- package/api/types/Llm.d.ts +9 -1
- package/api/types/Llm.js +8 -0
- package/api/types/MetricType.d.ts +2 -1
- package/api/types/MetricType.js +1 -0
- package/api/types/MusicPrompt.d.ts +12 -0
- package/api/types/MusicPrompt.js +5 -0
- package/api/types/PromptAgentApiModelInputToolsItem.d.ts +2 -1
- package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -1
- package/api/types/SongSection.d.ts +15 -0
- package/api/types/SongSection.js +5 -0
- package/api/types/SpeechToTextWebhookResponseModel.d.ts +9 -0
- package/api/types/SpeechToTextWebhookResponseModel.js +5 -0
- package/api/types/SubscriptionExtrasResponseModel.d.ts +2 -2
- package/api/types/ToolRequestModelToolConfig.d.ts +2 -1
- package/api/types/ToolResponseModelToolConfig.d.ts +2 -1
- package/api/types/ToolType.d.ts +2 -1
- package/api/types/ToolType.js +1 -0
- package/api/types/VoiceMailDetectionResultSuccessModel.d.ts +8 -0
- package/api/types/VoiceMailDetectionResultSuccessModel.js +5 -0
- package/api/types/WidgetConfigResponse.d.ts +2 -0
- package/api/types/WorkflowToolEdgeStepModel.d.ts +8 -0
- package/api/types/WorkflowToolEdgeStepModel.js +5 -0
- package/api/types/WorkflowToolMaxIterationsExceededStepModel.d.ts +7 -0
- package/api/types/WorkflowToolMaxIterationsExceededStepModel.js +5 -0
- package/api/types/WorkflowToolNestedToolsStepModelInput.d.ts +11 -0
- package/api/types/WorkflowToolNestedToolsStepModelInput.js +5 -0
- package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +5 -0
- package/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +5 -0
- package/api/types/WorkflowToolNestedToolsStepModelOutput.d.ts +11 -0
- package/api/types/WorkflowToolNestedToolsStepModelOutput.js +5 -0
- package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +5 -0
- package/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +5 -0
- package/api/types/WorkflowToolResponseModelInput.d.ts +11 -0
- package/api/types/WorkflowToolResponseModelInput.js +5 -0
- package/api/types/WorkflowToolResponseModelInputStepsItem.d.ts +16 -0
- package/api/types/WorkflowToolResponseModelInputStepsItem.js +5 -0
- package/api/types/WorkflowToolResponseModelOutput.d.ts +11 -0
- package/api/types/WorkflowToolResponseModelOutput.js +5 -0
- package/api/types/WorkflowToolResponseModelOutputStepsItem.d.ts +16 -0
- package/api/types/WorkflowToolResponseModelOutputStepsItem.js +5 -0
- package/api/types/index.d.ts +18 -3
- package/api/types/index.js +18 -3
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +9 -4
- package/dist/api/resources/conversationalAi/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +1 -9
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +0 -9
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/music/client/Client.d.ts +48 -0
- package/dist/api/resources/music/client/Client.js +212 -0
- package/dist/api/resources/music/client/index.d.ts +2 -0
- package/dist/api/resources/music/client/index.js +17 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +20 -0
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +5 -0
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +20 -0
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +5 -0
- package/dist/api/resources/music/client/requests/index.d.ts +2 -0
- package/dist/api/resources/music/client/requests/index.js +2 -0
- package/dist/api/resources/music/index.d.ts +3 -0
- package/dist/api/resources/music/index.js +19 -0
- package/dist/api/resources/music/resources/compositionPlan/client/Client.d.ts +48 -0
- package/dist/api/resources/music/resources/compositionPlan/client/Client.js +137 -0
- package/dist/api/resources/music/resources/compositionPlan/client/index.d.ts +2 -0
- package/dist/api/resources/music/resources/compositionPlan/client/index.js +17 -0
- package/dist/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +20 -0
- package/dist/api/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.js +5 -0
- package/dist/api/resources/music/resources/compositionPlan/client/requests/index.d.ts +1 -0
- package/dist/api/resources/music/resources/compositionPlan/client/requests/index.js +2 -0
- package/dist/api/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/dist/api/resources/music/resources/compositionPlan/index.js +17 -0
- package/dist/api/resources/music/resources/index.d.ts +2 -0
- package/dist/api/resources/music/resources/index.js +41 -0
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +27 -0
- package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/music/types/MusicStreamRequestOutputFormat.js +27 -0
- package/dist/api/resources/music/types/index.d.ts +2 -0
- package/dist/api/resources/music/types/index.js +18 -0
- package/dist/api/resources/speechToText/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToText/client/Client.js +7 -1
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +2 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestWebhookMetadata.d.ts +7 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestWebhookMetadata.js +5 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +1 -1
- package/dist/api/resources/speechToText/types/index.d.ts +1 -0
- package/dist/api/resources/speechToText/types/index.js +1 -0
- package/dist/api/resources/usage/client/Client.js +4 -1
- package/dist/api/resources/usage/client/requests/UsageGetRequest.d.ts +4 -0
- package/dist/api/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +16 -0
- package/dist/api/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +5 -0
- package/dist/api/types/BreakdownTypes.d.ts +2 -1
- package/dist/api/types/BreakdownTypes.js +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +4 -1
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +15 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +15 -0
- package/dist/api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +5 -0
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/api/types/ConversationSummaryResponseModelDirection.d.ts +8 -0
- package/dist/api/types/ConversationSummaryResponseModelDirection.js +10 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +1 -0
- package/dist/api/types/Llm.d.ts +9 -1
- package/dist/api/types/Llm.js +8 -0
- package/dist/api/types/MetricType.d.ts +2 -1
- package/dist/api/types/MetricType.js +1 -0
- package/dist/api/types/MusicPrompt.d.ts +12 -0
- package/dist/api/types/MusicPrompt.js +5 -0
- package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +2 -1
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -1
- package/dist/api/types/SongSection.d.ts +15 -0
- package/dist/api/types/SongSection.js +5 -0
- package/dist/api/types/SpeechToTextWebhookResponseModel.d.ts +9 -0
- package/dist/api/types/SpeechToTextWebhookResponseModel.js +5 -0
- package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +2 -2
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +2 -1
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +2 -1
- package/dist/api/types/ToolType.d.ts +2 -1
- package/dist/api/types/ToolType.js +1 -0
- package/dist/api/types/VoiceMailDetectionResultSuccessModel.d.ts +8 -0
- package/dist/api/types/VoiceMailDetectionResultSuccessModel.js +5 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/api/types/WorkflowToolEdgeStepModel.d.ts +8 -0
- package/dist/api/types/WorkflowToolEdgeStepModel.js +5 -0
- package/dist/api/types/WorkflowToolMaxIterationsExceededStepModel.d.ts +7 -0
- package/dist/api/types/WorkflowToolMaxIterationsExceededStepModel.js +5 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelInput.d.ts +11 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelInput.js +5 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +5 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +5 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutput.d.ts +11 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutput.js +5 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +5 -0
- package/dist/api/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +5 -0
- package/dist/api/types/WorkflowToolResponseModelInput.d.ts +11 -0
- package/dist/api/types/WorkflowToolResponseModelInput.js +5 -0
- package/dist/api/types/WorkflowToolResponseModelInputStepsItem.d.ts +16 -0
- package/dist/api/types/WorkflowToolResponseModelInputStepsItem.js +5 -0
- package/dist/api/types/WorkflowToolResponseModelOutput.d.ts +11 -0
- package/dist/api/types/WorkflowToolResponseModelOutput.js +5 -0
- package/dist/api/types/WorkflowToolResponseModelOutputStepsItem.d.ts +16 -0
- package/dist/api/types/WorkflowToolResponseModelOutputStepsItem.js +5 -0
- package/dist/api/types/index.d.ts +18 -3
- package/dist/api/types/index.js +18 -3
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/music/client/index.d.ts +1 -0
- package/dist/serialization/resources/music/client/index.js +17 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +17 -0
- package/dist/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +48 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +17 -0
- package/dist/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +48 -0
- package/dist/serialization/resources/music/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/music/client/requests/index.js +7 -0
- package/dist/serialization/resources/music/index.d.ts +3 -0
- package/dist/serialization/resources/music/index.js +19 -0
- package/dist/serialization/resources/music/resources/compositionPlan/client/index.d.ts +1 -0
- package/dist/serialization/resources/music/resources/compositionPlan/client/index.js +17 -0
- package/dist/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +16 -0
- package/dist/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.js +47 -0
- package/dist/serialization/resources/music/resources/compositionPlan/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/music/resources/compositionPlan/client/requests/index.js +5 -0
- package/dist/serialization/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/dist/serialization/resources/music/resources/compositionPlan/index.js +17 -0
- package/dist/serialization/resources/music/resources/index.d.ts +2 -0
- package/dist/serialization/resources/music/resources/index.js +41 -0
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/music/types/index.d.ts +2 -0
- package/dist/serialization/resources/music/types/index.js +18 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestWebhookMetadata.d.ts +10 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestWebhookMetadata.js +44 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +2 -1
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +6 -1
- package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/types/index.js +1 -0
- package/dist/serialization/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +17 -0
- package/dist/serialization/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +48 -0
- package/dist/serialization/types/BreakdownTypes.d.ts +1 -1
- package/dist/serialization/types/BreakdownTypes.js +1 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +5 -1
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +21 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +53 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +21 -0
- package/dist/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +53 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModelDirection.d.ts +10 -0
- package/dist/serialization/types/ConversationSummaryResponseModelDirection.js +41 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +1 -0
- package/dist/serialization/types/GetAgentResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetAgentResponseModel.js +1 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +8 -0
- package/dist/serialization/types/MetricType.d.ts +1 -1
- package/dist/serialization/types/MetricType.js +1 -0
- package/dist/serialization/types/MusicPrompt.d.ts +15 -0
- package/dist/serialization/types/MusicPrompt.js +46 -0
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +2 -2
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -2
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -2
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -2
- package/dist/serialization/types/SongSection.d.ts +16 -0
- package/dist/serialization/types/SongSection.js +47 -0
- package/dist/serialization/types/SpeechToTextWebhookResponseModel.d.ts +13 -0
- package/dist/serialization/types/SpeechToTextWebhookResponseModel.js +44 -0
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/dist/serialization/types/ToolRequestModelToolConfig.js +3 -2
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +2 -2
- package/dist/serialization/types/ToolResponseModelToolConfig.js +3 -2
- package/dist/serialization/types/ToolType.d.ts +1 -1
- package/dist/serialization/types/ToolType.js +1 -1
- package/dist/serialization/types/VoiceMailDetectionResultSuccessModel.d.ts +14 -0
- package/dist/serialization/types/{AgentBan.js → VoiceMailDetectionResultSuccessModel.js} +4 -5
- package/dist/serialization/types/WidgetConfigResponse.d.ts +1 -0
- package/dist/serialization/types/WidgetConfigResponse.js +1 -0
- package/dist/serialization/types/WorkflowToolEdgeStepModel.d.ts +14 -0
- package/dist/serialization/types/WorkflowToolEdgeStepModel.js +45 -0
- package/dist/serialization/types/WorkflowToolMaxIterationsExceededStepModel.d.ts +13 -0
- package/dist/serialization/types/WorkflowToolMaxIterationsExceededStepModel.js +44 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInput.d.ts +17 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInput.js +49 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +12 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +48 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutput.d.ts +17 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutput.js +49 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +12 -0
- package/dist/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +48 -0
- package/dist/serialization/types/WorkflowToolResponseModelInput.d.ts +14 -0
- package/dist/serialization/types/WorkflowToolResponseModelInput.js +48 -0
- package/dist/serialization/types/WorkflowToolResponseModelInputStepsItem.d.ts +21 -0
- package/dist/serialization/types/WorkflowToolResponseModelInputStepsItem.js +53 -0
- package/dist/serialization/types/WorkflowToolResponseModelOutput.d.ts +14 -0
- package/dist/serialization/types/WorkflowToolResponseModelOutput.js +48 -0
- package/dist/serialization/types/WorkflowToolResponseModelOutputStepsItem.d.ts +21 -0
- package/dist/serialization/types/WorkflowToolResponseModelOutputStepsItem.js +53 -0
- package/dist/serialization/types/index.d.ts +18 -3
- package/dist/serialization/types/index.js +18 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +11 -11
- package/reference.md +71 -2
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.js +1 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/music/client/index.d.ts +1 -0
- package/serialization/resources/music/client/index.js +17 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +17 -0
- package/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.js +48 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +17 -0
- package/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js +48 -0
- package/serialization/resources/music/client/requests/index.d.ts +2 -0
- package/serialization/resources/music/client/requests/index.js +7 -0
- package/serialization/resources/music/index.d.ts +3 -0
- package/serialization/resources/music/index.js +19 -0
- package/serialization/resources/music/resources/compositionPlan/client/index.d.ts +1 -0
- package/serialization/resources/music/resources/compositionPlan/client/index.js +17 -0
- package/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.d.ts +16 -0
- package/serialization/resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.js +47 -0
- package/serialization/resources/music/resources/compositionPlan/client/requests/index.d.ts +1 -0
- package/serialization/resources/music/resources/compositionPlan/client/requests/index.js +5 -0
- package/serialization/resources/music/resources/compositionPlan/index.d.ts +1 -0
- package/serialization/resources/music/resources/compositionPlan/index.js +17 -0
- package/serialization/resources/music/resources/index.d.ts +2 -0
- package/serialization/resources/music/resources/index.js +41 -0
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +61 -0
- package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/music/types/MusicStreamRequestOutputFormat.js +61 -0
- package/serialization/resources/music/types/index.d.ts +2 -0
- package/serialization/resources/music/types/index.js +18 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestWebhookMetadata.d.ts +10 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestWebhookMetadata.js +44 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +2 -1
- package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +6 -1
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +17 -0
- package/serialization/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js +48 -0
- package/serialization/types/BreakdownTypes.d.ts +1 -1
- package/serialization/types/BreakdownTypes.js +1 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +1 -1
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +5 -1
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.d.ts +21 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js +53 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts +21 -0
- package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js +53 -0
- package/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/serialization/types/ConversationSummaryResponseModel.js +2 -0
- package/serialization/types/ConversationSummaryResponseModelDirection.d.ts +10 -0
- package/serialization/types/ConversationSummaryResponseModelDirection.js +41 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/serialization/types/FeaturesUsageCommonModel.js +1 -0
- package/serialization/types/GetAgentResponseModel.d.ts +1 -0
- package/serialization/types/GetAgentResponseModel.js +1 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +8 -0
- package/serialization/types/MetricType.d.ts +1 -1
- package/serialization/types/MetricType.js +1 -0
- package/serialization/types/MusicPrompt.d.ts +15 -0
- package/serialization/types/MusicPrompt.js +46 -0
- package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +2 -2
- package/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -2
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -2
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -2
- package/serialization/types/SongSection.d.ts +16 -0
- package/serialization/types/SongSection.js +47 -0
- package/serialization/types/SpeechToTextWebhookResponseModel.d.ts +13 -0
- package/serialization/types/SpeechToTextWebhookResponseModel.js +44 -0
- package/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/serialization/types/ToolRequestModelToolConfig.js +3 -2
- package/serialization/types/ToolResponseModelToolConfig.d.ts +2 -2
- package/serialization/types/ToolResponseModelToolConfig.js +3 -2
- package/serialization/types/ToolType.d.ts +1 -1
- package/serialization/types/ToolType.js +1 -1
- package/serialization/types/VoiceMailDetectionResultSuccessModel.d.ts +14 -0
- package/serialization/types/{AgentBan.js → VoiceMailDetectionResultSuccessModel.js} +4 -5
- package/serialization/types/WidgetConfigResponse.d.ts +1 -0
- package/serialization/types/WidgetConfigResponse.js +1 -0
- package/serialization/types/WorkflowToolEdgeStepModel.d.ts +14 -0
- package/serialization/types/WorkflowToolEdgeStepModel.js +45 -0
- package/serialization/types/WorkflowToolMaxIterationsExceededStepModel.d.ts +13 -0
- package/serialization/types/WorkflowToolMaxIterationsExceededStepModel.js +44 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelInput.d.ts +17 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelInput.js +49 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.d.ts +12 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelInputResultsItem.js +48 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelOutput.d.ts +17 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelOutput.js +49 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.d.ts +12 -0
- package/serialization/types/WorkflowToolNestedToolsStepModelOutputResultsItem.js +48 -0
- package/serialization/types/WorkflowToolResponseModelInput.d.ts +14 -0
- package/serialization/types/WorkflowToolResponseModelInput.js +48 -0
- package/serialization/types/WorkflowToolResponseModelInputStepsItem.d.ts +21 -0
- package/serialization/types/WorkflowToolResponseModelInputStepsItem.js +53 -0
- package/serialization/types/WorkflowToolResponseModelOutput.d.ts +14 -0
- package/serialization/types/WorkflowToolResponseModelOutput.js +48 -0
- package/serialization/types/WorkflowToolResponseModelOutputStepsItem.d.ts +21 -0
- package/serialization/types/WorkflowToolResponseModelOutputStepsItem.js +53 -0
- package/serialization/types/index.d.ts +18 -3
- package/serialization/types/index.js +18 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/AgentBan.d.ts +0 -9
- package/api/types/McpToolConfigInput.d.ts +0 -35
- package/api/types/McpToolConfigOutput.d.ts +0 -35
- package/dist/api/types/AgentBan.d.ts +0 -9
- package/dist/api/types/McpToolConfigInput.d.ts +0 -35
- package/dist/api/types/McpToolConfigOutput.d.ts +0 -35
- package/dist/serialization/types/AgentBan.d.ts +0 -15
- package/dist/serialization/types/McpToolConfigInput.d.ts +0 -28
- package/dist/serialization/types/McpToolConfigInput.js +0 -60
- package/dist/serialization/types/McpToolConfigOutput.d.ts +0 -28
- package/dist/serialization/types/McpToolConfigOutput.js +0 -60
- package/serialization/types/AgentBan.d.ts +0 -15
- package/serialization/types/McpToolConfigInput.d.ts +0 -28
- package/serialization/types/McpToolConfigInput.js +0 -60
- package/serialization/types/McpToolConfigOutput.d.ts +0 -28
- package/serialization/types/McpToolConfigOutput.js +0 -60
- /package/api/{types/AgentBan.js → resources/music/client/requests/BodyComposeMusicV1MusicPost.js} +0 -0
- /package/api/{types/McpToolConfigInput.js → resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.js} +0 -0
- /package/api/{types/McpToolConfigOutput.js → resources/music/resources/compositionPlan/client/requests/BodyGenerateCompositionPlanV1MusicPlanPost.js} +0 -0
- /package/{dist/api/types/AgentBan.js → api/resources/speechToText/types/SpeechToTextConvertRequestWebhookMetadata.js} +0 -0
- /package/{dist/api/types/McpToolConfigInput.js → api/types/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.js} +0 -0
- /package/{dist/api/types/McpToolConfigOutput.js → api/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ConversationSummaryResponseModelDirection = "inbound" | "outbound";
|
|
5
|
+
export declare const ConversationSummaryResponseModelDirection: {
|
|
6
|
+
readonly Inbound: "inbound";
|
|
7
|
+
readonly Outbound: "outbound";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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.ConversationSummaryResponseModelDirection = void 0;
|
|
7
|
+
exports.ConversationSummaryResponseModelDirection = {
|
|
8
|
+
Inbound: "inbound",
|
|
9
|
+
Outbound: "outbound",
|
|
10
|
+
};
|
|
@@ -15,6 +15,7 @@ export interface GetAgentResponseModel {
|
|
|
15
15
|
platformSettings?: ElevenLabs.AgentPlatformSettingsResponseModel;
|
|
16
16
|
/** The phone numbers of the agent */
|
|
17
17
|
phoneNumbers?: ElevenLabs.GetAgentResponseModelPhoneNumbersItem[];
|
|
18
|
+
workflow?: unknown;
|
|
18
19
|
/** The access information of the agent for the user */
|
|
19
20
|
accessInfo?: ElevenLabs.ResourceAccessInfo;
|
|
20
21
|
/** Agent tags used to categorize the agent */
|
package/api/types/Llm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type Llm = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "watt-tool-8b" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106";
|
|
4
|
+
export type Llm = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "watt-tool-8b" | "watt-tool-70b" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106";
|
|
5
5
|
export declare const Llm: {
|
|
6
6
|
readonly Gpt4OMini: "gpt-4o-mini";
|
|
7
7
|
readonly Gpt4O: "gpt-4o";
|
|
@@ -10,6 +10,9 @@ export declare const Llm: {
|
|
|
10
10
|
readonly Gpt41: "gpt-4.1";
|
|
11
11
|
readonly Gpt41Mini: "gpt-4.1-mini";
|
|
12
12
|
readonly Gpt41Nano: "gpt-4.1-nano";
|
|
13
|
+
readonly Gpt5: "gpt-5";
|
|
14
|
+
readonly Gpt5Mini: "gpt-5-mini";
|
|
15
|
+
readonly Gpt5Nano: "gpt-5-nano";
|
|
13
16
|
readonly Gpt35Turbo: "gpt-3.5-turbo";
|
|
14
17
|
readonly Gemini15Pro: "gemini-1.5-pro";
|
|
15
18
|
readonly Gemini15Flash: "gemini-1.5-flash";
|
|
@@ -25,7 +28,9 @@ export declare const Llm: {
|
|
|
25
28
|
readonly GrokBeta: "grok-beta";
|
|
26
29
|
readonly CustomLlm: "custom-llm";
|
|
27
30
|
readonly Qwen34B: "qwen3-4b";
|
|
31
|
+
readonly Qwen330Ba3B: "qwen3-30b-a3b";
|
|
28
32
|
readonly WattTool8B: "watt-tool-8b";
|
|
33
|
+
readonly WattTool70B: "watt-tool-70b";
|
|
29
34
|
readonly Gemini25FlashPreview0520: "gemini-2.5-flash-preview-05-20";
|
|
30
35
|
readonly Gemini25FlashPreview0417: "gemini-2.5-flash-preview-04-17";
|
|
31
36
|
readonly Gemini25FlashLitePreview0617: "gemini-2.5-flash-lite-preview-06-17";
|
|
@@ -40,6 +45,9 @@ export declare const Llm: {
|
|
|
40
45
|
readonly Claude35Sonnet20240620: "claude-3-5-sonnet@20240620";
|
|
41
46
|
readonly Claude35SonnetV220241022: "claude-3-5-sonnet-v2@20241022";
|
|
42
47
|
readonly Claude3Haiku20240307: "claude-3-haiku@20240307";
|
|
48
|
+
readonly Gpt520250807: "gpt-5-2025-08-07";
|
|
49
|
+
readonly Gpt5Mini20250807: "gpt-5-mini-2025-08-07";
|
|
50
|
+
readonly Gpt5Nano20250807: "gpt-5-nano-2025-08-07";
|
|
43
51
|
readonly Gpt4120250414: "gpt-4.1-2025-04-14";
|
|
44
52
|
readonly Gpt41Mini20250414: "gpt-4.1-mini-2025-04-14";
|
|
45
53
|
readonly Gpt41Nano20250414: "gpt-4.1-nano-2025-04-14";
|
package/api/types/Llm.js
CHANGED
|
@@ -12,6 +12,9 @@ exports.Llm = {
|
|
|
12
12
|
Gpt41: "gpt-4.1",
|
|
13
13
|
Gpt41Mini: "gpt-4.1-mini",
|
|
14
14
|
Gpt41Nano: "gpt-4.1-nano",
|
|
15
|
+
Gpt5: "gpt-5",
|
|
16
|
+
Gpt5Mini: "gpt-5-mini",
|
|
17
|
+
Gpt5Nano: "gpt-5-nano",
|
|
15
18
|
Gpt35Turbo: "gpt-3.5-turbo",
|
|
16
19
|
Gemini15Pro: "gemini-1.5-pro",
|
|
17
20
|
Gemini15Flash: "gemini-1.5-flash",
|
|
@@ -27,7 +30,9 @@ exports.Llm = {
|
|
|
27
30
|
GrokBeta: "grok-beta",
|
|
28
31
|
CustomLlm: "custom-llm",
|
|
29
32
|
Qwen34B: "qwen3-4b",
|
|
33
|
+
Qwen330Ba3B: "qwen3-30b-a3b",
|
|
30
34
|
WattTool8B: "watt-tool-8b",
|
|
35
|
+
WattTool70B: "watt-tool-70b",
|
|
31
36
|
Gemini25FlashPreview0520: "gemini-2.5-flash-preview-05-20",
|
|
32
37
|
Gemini25FlashPreview0417: "gemini-2.5-flash-preview-04-17",
|
|
33
38
|
Gemini25FlashLitePreview0617: "gemini-2.5-flash-lite-preview-06-17",
|
|
@@ -42,6 +47,9 @@ exports.Llm = {
|
|
|
42
47
|
Claude35Sonnet20240620: "claude-3-5-sonnet@20240620",
|
|
43
48
|
Claude35SonnetV220241022: "claude-3-5-sonnet-v2@20241022",
|
|
44
49
|
Claude3Haiku20240307: "claude-3-haiku@20240307",
|
|
50
|
+
Gpt520250807: "gpt-5-2025-08-07",
|
|
51
|
+
Gpt5Mini20250807: "gpt-5-mini-2025-08-07",
|
|
52
|
+
Gpt5Nano20250807: "gpt-5-nano-2025-08-07",
|
|
45
53
|
Gpt4120250414: "gpt-4.1-2025-04-14",
|
|
46
54
|
Gpt41Mini20250414: "gpt-4.1-mini-2025-04-14",
|
|
47
55
|
Gpt41Nano20250414: "gpt-4.1-nano-2025-04-14",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type MetricType = "credits" | "minutes_used" | "request_count" | "ttfb_avg" | "ttfb_p95" | "fiat_units_spent" | "concurrency";
|
|
4
|
+
export type MetricType = "credits" | "minutes_used" | "request_count" | "ttfb_avg" | "ttfb_p95" | "fiat_units_spent" | "concurrency" | "concurrency_average";
|
|
5
5
|
export declare const MetricType: {
|
|
6
6
|
readonly Credits: "credits";
|
|
7
7
|
readonly MinutesUsed: "minutes_used";
|
|
@@ -10,4 +10,5 @@ export declare const MetricType: {
|
|
|
10
10
|
readonly TtfbP95: "ttfb_p95";
|
|
11
11
|
readonly FiatUnitsSpent: "fiat_units_spent";
|
|
12
12
|
readonly Concurrency: "concurrency";
|
|
13
|
+
readonly ConcurrencyAverage: "concurrency_average";
|
|
13
14
|
};
|
package/api/types/MetricType.js
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface MusicPrompt {
|
|
6
|
+
/** The styles that should be present in the entire song. */
|
|
7
|
+
positiveGlobalStyles: string[];
|
|
8
|
+
/** The styles that should not be present in the entire song. */
|
|
9
|
+
negativeGlobalStyles: string[];
|
|
10
|
+
/** The sections of the song. */
|
|
11
|
+
sections: ElevenLabs.SongSection[];
|
|
12
|
+
}
|
|
@@ -10,8 +10,9 @@ export declare namespace PromptAgentApiModelInputToolsItem {
|
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp
|
|
13
|
+
interface Mcp {
|
|
14
14
|
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
15
16
|
}
|
|
16
17
|
interface System extends ElevenLabs.SystemToolConfigInput {
|
|
17
18
|
type: "system";
|
|
@@ -10,8 +10,9 @@ export declare namespace PromptAgentApiModelOutputToolsItem {
|
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp
|
|
13
|
+
interface Mcp {
|
|
14
14
|
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
15
16
|
}
|
|
16
17
|
interface System extends ElevenLabs.SystemToolConfigOutput {
|
|
17
18
|
type: "system";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface SongSection {
|
|
5
|
+
/** The name of the section. Must be between 1 and 100 characters. */
|
|
6
|
+
sectionName: string;
|
|
7
|
+
/** The styles that should be present in this section. */
|
|
8
|
+
positiveLocalStyles: string[];
|
|
9
|
+
/** The styles that should not be present in this section. */
|
|
10
|
+
negativeLocalStyles: string[];
|
|
11
|
+
/** The duration of the section in milliseconds. Must be between 3000ms and 120000ms. */
|
|
12
|
+
durationMs: number;
|
|
13
|
+
/** The lyrics of the section. */
|
|
14
|
+
lines: string[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface SpeechToTextWebhookResponseModel {
|
|
5
|
+
/** The message of the webhook response. */
|
|
6
|
+
message: string;
|
|
7
|
+
/** The request ID of the webhook response. */
|
|
8
|
+
requestId: string;
|
|
9
|
+
}
|
|
@@ -7,9 +7,9 @@ export interface SubscriptionExtrasResponseModel {
|
|
|
7
7
|
concurrency: number;
|
|
8
8
|
/** The Convai concurrency of the user. */
|
|
9
9
|
convaiConcurrency: number;
|
|
10
|
-
/** The Convai characters per minute of the user. */
|
|
10
|
+
/** The Convai characters per minute of the user. This field is deprecated and will always return None. */
|
|
11
11
|
convaiCharsPerMinute?: number;
|
|
12
|
-
/** The Convai ASR characters per minute of the user. */
|
|
12
|
+
/** The Convai ASR characters per minute of the user. This field is deprecated and will always return None. */
|
|
13
13
|
convaiAsrCharsPerMinute?: number;
|
|
14
14
|
/** Whether the user's logging is disabled. */
|
|
15
15
|
forceLoggingDisabled: boolean;
|
|
@@ -10,8 +10,9 @@ export declare namespace ToolRequestModelToolConfig {
|
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp
|
|
13
|
+
interface Mcp {
|
|
14
14
|
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
15
16
|
}
|
|
16
17
|
interface System extends ElevenLabs.SystemToolConfigInput {
|
|
17
18
|
type: "system";
|
|
@@ -10,8 +10,9 @@ export declare namespace ToolResponseModelToolConfig {
|
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp
|
|
13
|
+
interface Mcp {
|
|
14
14
|
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
15
16
|
}
|
|
16
17
|
interface System extends ElevenLabs.SystemToolConfigOutput {
|
|
17
18
|
type: "system";
|
package/api/types/ToolType.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type ToolType = "system" | "webhook" | "client" | "mcp";
|
|
4
|
+
export type ToolType = "system" | "webhook" | "client" | "mcp" | "workflow";
|
|
5
5
|
export declare const ToolType: {
|
|
6
6
|
readonly System: "system";
|
|
7
7
|
readonly Webhook: "webhook";
|
|
8
8
|
readonly Client: "client";
|
|
9
9
|
readonly Mcp: "mcp";
|
|
10
|
+
readonly Workflow: "workflow";
|
|
10
11
|
};
|
package/api/types/ToolType.js
CHANGED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface WorkflowToolNestedToolsStepModelInput {
|
|
6
|
+
stepLatencySecs: number;
|
|
7
|
+
nodeId: string;
|
|
8
|
+
requests: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModel[];
|
|
9
|
+
results: ElevenLabs.WorkflowToolNestedToolsStepModelInputResultsItem[];
|
|
10
|
+
isSuccessful: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export type WorkflowToolNestedToolsStepModelInputResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface WorkflowToolNestedToolsStepModelOutput {
|
|
6
|
+
stepLatencySecs: number;
|
|
7
|
+
nodeId: string;
|
|
8
|
+
requests: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModel[];
|
|
9
|
+
results: ElevenLabs.WorkflowToolNestedToolsStepModelOutputResultsItem[];
|
|
10
|
+
isSuccessful: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export type WorkflowToolNestedToolsStepModelOutputResultsItem = ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModel | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A common model for workflow tool responses.
|
|
7
|
+
*/
|
|
8
|
+
export interface WorkflowToolResponseModelInput {
|
|
9
|
+
finalTransfer?: ElevenLabs.TransferToAgentToolResultSuccessModel;
|
|
10
|
+
steps?: ElevenLabs.WorkflowToolResponseModelInputStepsItem[];
|
|
11
|
+
}
|
|
@@ -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 type WorkflowToolResponseModelInputStepsItem = ElevenLabs.WorkflowToolResponseModelInputStepsItem.Edge | ElevenLabs.WorkflowToolResponseModelInputStepsItem.MaxIterationsExceeded | ElevenLabs.WorkflowToolResponseModelInputStepsItem.NestedTools;
|
|
6
|
+
export declare namespace WorkflowToolResponseModelInputStepsItem {
|
|
7
|
+
interface Edge extends ElevenLabs.WorkflowToolEdgeStepModel {
|
|
8
|
+
type: "edge";
|
|
9
|
+
}
|
|
10
|
+
interface MaxIterationsExceeded extends ElevenLabs.WorkflowToolMaxIterationsExceededStepModel {
|
|
11
|
+
type: "max_iterations_exceeded";
|
|
12
|
+
}
|
|
13
|
+
interface NestedTools extends ElevenLabs.WorkflowToolNestedToolsStepModelInput {
|
|
14
|
+
type: "nested_tools";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* A common model for workflow tool responses.
|
|
7
|
+
*/
|
|
8
|
+
export interface WorkflowToolResponseModelOutput {
|
|
9
|
+
finalTransfer?: ElevenLabs.TransferToAgentToolResultSuccessModel;
|
|
10
|
+
steps?: ElevenLabs.WorkflowToolResponseModelOutputStepsItem[];
|
|
11
|
+
}
|
|
@@ -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 type WorkflowToolResponseModelOutputStepsItem = ElevenLabs.WorkflowToolResponseModelOutputStepsItem.Edge | ElevenLabs.WorkflowToolResponseModelOutputStepsItem.MaxIterationsExceeded | ElevenLabs.WorkflowToolResponseModelOutputStepsItem.NestedTools;
|
|
6
|
+
export declare namespace WorkflowToolResponseModelOutputStepsItem {
|
|
7
|
+
interface Edge extends ElevenLabs.WorkflowToolEdgeStepModel {
|
|
8
|
+
type: "edge";
|
|
9
|
+
}
|
|
10
|
+
interface MaxIterationsExceeded extends ElevenLabs.WorkflowToolMaxIterationsExceededStepModel {
|
|
11
|
+
type: "max_iterations_exceeded";
|
|
12
|
+
}
|
|
13
|
+
interface NestedTools extends ElevenLabs.WorkflowToolNestedToolsStepModelOutput {
|
|
14
|
+
type: "nested_tools";
|
|
15
|
+
}
|
|
16
|
+
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -14,7 +14,6 @@ export * from "./AddWorkspaceGroupMemberResponseModel";
|
|
|
14
14
|
export * from "./AddWorkspaceInviteResponseModel";
|
|
15
15
|
export * from "./AdditionalFormatResponseModel";
|
|
16
16
|
export * from "./AdditionalFormats";
|
|
17
|
-
export * from "./AgentBan";
|
|
18
17
|
export * from "./AgentCallLimits";
|
|
19
18
|
export * from "./AgentConfig";
|
|
20
19
|
export * from "./AgentConfigOverride";
|
|
@@ -46,6 +45,7 @@ export * from "./BatchCallDetailedResponse";
|
|
|
46
45
|
export * from "./BatchCallRecipientStatus";
|
|
47
46
|
export * from "./BatchCallResponse";
|
|
48
47
|
export * from "./BatchCallStatus";
|
|
48
|
+
export * from "./BodyComposeMusicWithADetailedResponseV1MusicDetailedPost";
|
|
49
49
|
export * from "./CreatePreviouslyGeneratedVoiceRequest";
|
|
50
50
|
export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender";
|
|
51
51
|
export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge";
|
|
@@ -138,6 +138,8 @@ export * from "./ConversationHistoryTranscriptToolCallCommonModelToolDetails";
|
|
|
138
138
|
export * from "./ConversationHistoryTranscriptToolCallCommonModel";
|
|
139
139
|
export * from "./ConversationHistoryTranscriptToolCallMcpDetails";
|
|
140
140
|
export * from "./ConversationHistoryTranscriptToolCallWebhookDetails";
|
|
141
|
+
export * from "./ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput";
|
|
142
|
+
export * from "./ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput";
|
|
141
143
|
export * from "./ConversationHistoryTwilioPhoneCallModelDirection";
|
|
142
144
|
export * from "./ConversationHistoryTwilioPhoneCallModel";
|
|
143
145
|
export * from "./ConversationInitiationClientDataConfigInput";
|
|
@@ -156,6 +158,7 @@ export * from "./ConversationSignedUrlResponseModel";
|
|
|
156
158
|
export * from "./ConversationSimulationSpecificationDynamicVariablesValue";
|
|
157
159
|
export * from "./ConversationSimulationSpecification";
|
|
158
160
|
export * from "./ConversationSummaryResponseModelStatus";
|
|
161
|
+
export * from "./ConversationSummaryResponseModelDirection";
|
|
159
162
|
export * from "./ConversationSummaryResponseModel";
|
|
160
163
|
export * from "./ConversationTokenDbModel";
|
|
161
164
|
export * from "./ConversationTokenPurpose";
|
|
@@ -321,8 +324,6 @@ export * from "./McpServerTransport";
|
|
|
321
324
|
export * from "./McpServersResponseModel";
|
|
322
325
|
export * from "./McpToolApprovalHash";
|
|
323
326
|
export * from "./McpToolApprovalPolicy";
|
|
324
|
-
export * from "./McpToolConfigInput";
|
|
325
|
-
export * from "./McpToolConfigOutput";
|
|
326
327
|
export * from "./ManualVerificationFileResponse";
|
|
327
328
|
export * from "./ManualVerificationResponse";
|
|
328
329
|
export * from "./MetricRecord";
|
|
@@ -335,6 +336,7 @@ export * from "./ModerationStatusResponseModelSafetyStatus";
|
|
|
335
336
|
export * from "./ModerationStatusResponseModelWarningStatus";
|
|
336
337
|
export * from "./ModerationStatusResponseModel";
|
|
337
338
|
export * from "./MultichannelSpeechToTextResponseModel";
|
|
339
|
+
export * from "./MusicPrompt";
|
|
338
340
|
export * from "./ObjectJsonSchemaPropertyInputPropertiesValue";
|
|
339
341
|
export * from "./ObjectJsonSchemaPropertyInput";
|
|
340
342
|
export * from "./ObjectJsonSchemaPropertyOutputPropertiesValue";
|
|
@@ -441,6 +443,7 @@ export * from "./SimilarVoice";
|
|
|
441
443
|
export * from "./SimilarVoicesForSpeakerResponse";
|
|
442
444
|
export * from "./SkipTurnToolConfig";
|
|
443
445
|
export * from "./SkipTurnToolResponseModel";
|
|
446
|
+
export * from "./SongSection";
|
|
444
447
|
export * from "./SpeakerAudioResponseModel";
|
|
445
448
|
export * from "./SpeakerResponseModel";
|
|
446
449
|
export * from "./SpeakerSegment";
|
|
@@ -453,6 +456,7 @@ export * from "./SpeechHistoryItemResponseModelSource";
|
|
|
453
456
|
export * from "./SpeechHistoryItemResponse";
|
|
454
457
|
export * from "./SpeechToTextCharacterResponseModel";
|
|
455
458
|
export * from "./SpeechToTextChunkResponseModel";
|
|
459
|
+
export * from "./SpeechToTextWebhookResponseModel";
|
|
456
460
|
export * from "./SpeechToTextWordResponseModelType";
|
|
457
461
|
export * from "./SpeechToTextWordResponseModel";
|
|
458
462
|
export * from "./SrtExportOptions";
|
|
@@ -519,6 +523,7 @@ export * from "./VerifiedVoiceLanguageResponseModel";
|
|
|
519
523
|
export * from "./VerifyPvcVoiceCaptchaResponseModel";
|
|
520
524
|
export * from "./VoiceGenerationParameterOptionResponse";
|
|
521
525
|
export * from "./VoiceGenerationParameterResponse";
|
|
526
|
+
export * from "./VoiceMailDetectionResultSuccessModel";
|
|
522
527
|
export * from "./VoicePreviewResponseModel";
|
|
523
528
|
export * from "./VoiceDesignPreviewResponse";
|
|
524
529
|
export * from "./VoiceResponseModelCategory";
|
|
@@ -556,6 +561,16 @@ export * from "./WidgetLanguagePresetResponse";
|
|
|
556
561
|
export * from "./WidgetPlacement";
|
|
557
562
|
export * from "./WidgetStyles";
|
|
558
563
|
export * from "./WidgetTextContents";
|
|
564
|
+
export * from "./WorkflowToolEdgeStepModel";
|
|
565
|
+
export * from "./WorkflowToolMaxIterationsExceededStepModel";
|
|
566
|
+
export * from "./WorkflowToolNestedToolsStepModelInputResultsItem";
|
|
567
|
+
export * from "./WorkflowToolNestedToolsStepModelInput";
|
|
568
|
+
export * from "./WorkflowToolNestedToolsStepModelOutputResultsItem";
|
|
569
|
+
export * from "./WorkflowToolNestedToolsStepModelOutput";
|
|
570
|
+
export * from "./WorkflowToolResponseModelInputStepsItem";
|
|
571
|
+
export * from "./WorkflowToolResponseModelInput";
|
|
572
|
+
export * from "./WorkflowToolResponseModelOutputStepsItem";
|
|
573
|
+
export * from "./WorkflowToolResponseModelOutput";
|
|
559
574
|
export * from "./WorkspaceApiKeyListResponseModel";
|
|
560
575
|
export * from "./WorkspaceApiKeyResponseModelPermissionsItem";
|
|
561
576
|
export * from "./WorkspaceApiKeyResponseModel";
|