@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
package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
const DynamicVariableUpdateCommonModel_1 = require("./DynamicVariableUpdateCommonModel");
|
|
43
|
+
exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput = core.serialization.object({
|
|
44
|
+
requestId: core.serialization.property("request_id", core.serialization.string()),
|
|
45
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
46
|
+
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
47
|
+
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
48
|
+
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
49
|
+
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
50
|
+
dynamicVariableUpdates: core.serialization.property("dynamic_variable_updates", core.serialization.list(DynamicVariableUpdateCommonModel_1.DynamicVariableUpdateCommonModel).optional()),
|
|
51
|
+
type: core.serialization.stringLiteral("workflow"),
|
|
52
|
+
result: core.serialization.lazyObject(() => serializers.WorkflowToolResponseModelInput).optional(),
|
|
53
|
+
});
|
package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { DynamicVariableUpdateCommonModel } from "./DynamicVariableUpdateCommonModel";
|
|
8
|
+
export declare const ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput: core.serialization.ObjectSchema<serializers.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.Raw, ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput>;
|
|
9
|
+
export declare namespace ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput {
|
|
10
|
+
interface Raw {
|
|
11
|
+
request_id: string;
|
|
12
|
+
tool_name: string;
|
|
13
|
+
result_value: string;
|
|
14
|
+
is_error: boolean;
|
|
15
|
+
tool_has_been_called: boolean;
|
|
16
|
+
tool_latency_secs?: number | null;
|
|
17
|
+
dynamic_variable_updates?: DynamicVariableUpdateCommonModel.Raw[] | null;
|
|
18
|
+
type: "workflow";
|
|
19
|
+
result?: serializers.WorkflowToolResponseModelOutput.Raw | null;
|
|
20
|
+
}
|
|
21
|
+
}
|
package/serialization/types/ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.js
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput = void 0;
|
|
40
|
+
const serializers = __importStar(require("../index"));
|
|
41
|
+
const core = __importStar(require("../../core"));
|
|
42
|
+
const DynamicVariableUpdateCommonModel_1 = require("./DynamicVariableUpdateCommonModel");
|
|
43
|
+
exports.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput = core.serialization.object({
|
|
44
|
+
requestId: core.serialization.property("request_id", core.serialization.string()),
|
|
45
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
46
|
+
resultValue: core.serialization.property("result_value", core.serialization.string()),
|
|
47
|
+
isError: core.serialization.property("is_error", core.serialization.boolean()),
|
|
48
|
+
toolHasBeenCalled: core.serialization.property("tool_has_been_called", core.serialization.boolean()),
|
|
49
|
+
toolLatencySecs: core.serialization.property("tool_latency_secs", core.serialization.number().optional()),
|
|
50
|
+
dynamicVariableUpdates: core.serialization.property("dynamic_variable_updates", core.serialization.list(DynamicVariableUpdateCommonModel_1.DynamicVariableUpdateCommonModel).optional()),
|
|
51
|
+
type: core.serialization.stringLiteral("workflow"),
|
|
52
|
+
result: core.serialization.lazyObject(() => serializers.WorkflowToolResponseModelOutput).optional(),
|
|
53
|
+
});
|
|
@@ -6,6 +6,7 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ConversationSummaryResponseModelStatus } from "./ConversationSummaryResponseModelStatus";
|
|
8
8
|
import { EvaluationSuccessResult } from "./EvaluationSuccessResult";
|
|
9
|
+
import { ConversationSummaryResponseModelDirection } from "./ConversationSummaryResponseModelDirection";
|
|
9
10
|
export declare const ConversationSummaryResponseModel: core.serialization.ObjectSchema<serializers.ConversationSummaryResponseModel.Raw, ElevenLabs.ConversationSummaryResponseModel>;
|
|
10
11
|
export declare namespace ConversationSummaryResponseModel {
|
|
11
12
|
interface Raw {
|
|
@@ -19,5 +20,6 @@ export declare namespace ConversationSummaryResponseModel {
|
|
|
19
20
|
call_successful: EvaluationSuccessResult.Raw;
|
|
20
21
|
transcript_summary?: string | null;
|
|
21
22
|
call_summary_title?: string | null;
|
|
23
|
+
direction?: ConversationSummaryResponseModelDirection.Raw | null;
|
|
22
24
|
}
|
|
23
25
|
}
|
|
@@ -40,6 +40,7 @@ exports.ConversationSummaryResponseModel = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ConversationSummaryResponseModelStatus_1 = require("./ConversationSummaryResponseModelStatus");
|
|
42
42
|
const EvaluationSuccessResult_1 = require("./EvaluationSuccessResult");
|
|
43
|
+
const ConversationSummaryResponseModelDirection_1 = require("./ConversationSummaryResponseModelDirection");
|
|
43
44
|
exports.ConversationSummaryResponseModel = core.serialization.object({
|
|
44
45
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
45
46
|
agentName: core.serialization.property("agent_name", core.serialization.string().optional()),
|
|
@@ -51,4 +52,5 @@ exports.ConversationSummaryResponseModel = core.serialization.object({
|
|
|
51
52
|
callSuccessful: core.serialization.property("call_successful", EvaluationSuccessResult_1.EvaluationSuccessResult),
|
|
52
53
|
transcriptSummary: core.serialization.property("transcript_summary", core.serialization.string().optional()),
|
|
53
54
|
callSummaryTitle: core.serialization.property("call_summary_title", core.serialization.string().optional()),
|
|
55
|
+
direction: ConversationSummaryResponseModelDirection_1.ConversationSummaryResponseModelDirection.optional(),
|
|
54
56
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ConversationSummaryResponseModelDirection: core.serialization.Schema<serializers.ConversationSummaryResponseModelDirection.Raw, ElevenLabs.ConversationSummaryResponseModelDirection>;
|
|
8
|
+
export declare namespace ConversationSummaryResponseModelDirection {
|
|
9
|
+
type Raw = "inbound" | "outbound";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ConversationSummaryResponseModelDirection = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ConversationSummaryResponseModelDirection = core.serialization.enum_(["inbound", "outbound"]);
|
|
@@ -50,4 +50,5 @@ exports.FeaturesUsageCommonModel = core.serialization.object({
|
|
|
50
50
|
piiZrmAgent: core.serialization.property("pii_zrm_agent", core.serialization.boolean().optional()),
|
|
51
51
|
toolDynamicVariableUpdates: core.serialization.property("tool_dynamic_variable_updates", FeatureStatusCommonModel_1.FeatureStatusCommonModel.optional()),
|
|
52
52
|
isLivekit: core.serialization.property("is_livekit", core.serialization.boolean().optional()),
|
|
53
|
+
voicemailDetection: core.serialization.property("voicemail_detection", FeatureStatusCommonModel_1.FeatureStatusCommonModel.optional()),
|
|
53
54
|
});
|
|
@@ -18,6 +18,7 @@ export declare namespace GetAgentResponseModel {
|
|
|
18
18
|
metadata: AgentMetadataResponseModel.Raw;
|
|
19
19
|
platform_settings?: AgentPlatformSettingsResponseModel.Raw | null;
|
|
20
20
|
phone_numbers?: GetAgentResponseModelPhoneNumbersItem.Raw[] | null;
|
|
21
|
+
workflow?: unknown | null;
|
|
21
22
|
access_info?: ResourceAccessInfo.Raw | null;
|
|
22
23
|
tags?: string[] | null;
|
|
23
24
|
}
|
|
@@ -50,6 +50,7 @@ exports.GetAgentResponseModel = core.serialization.object({
|
|
|
50
50
|
metadata: AgentMetadataResponseModel_1.AgentMetadataResponseModel,
|
|
51
51
|
platformSettings: core.serialization.property("platform_settings", AgentPlatformSettingsResponseModel_1.AgentPlatformSettingsResponseModel.optional()),
|
|
52
52
|
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(GetAgentResponseModelPhoneNumbersItem_1.GetAgentResponseModelPhoneNumbersItem).optional()),
|
|
53
|
+
workflow: core.serialization.unknown().optional(),
|
|
53
54
|
accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo.optional()),
|
|
54
55
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
55
56
|
});
|
|
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const Llm: core.serialization.Schema<serializers.Llm.Raw, ElevenLabs.Llm>;
|
|
8
8
|
export declare namespace Llm {
|
|
9
|
-
type Raw = "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";
|
|
9
|
+
type Raw = "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";
|
|
10
10
|
}
|
|
@@ -46,6 +46,9 @@ exports.Llm = core.serialization.enum_([
|
|
|
46
46
|
"gpt-4.1",
|
|
47
47
|
"gpt-4.1-mini",
|
|
48
48
|
"gpt-4.1-nano",
|
|
49
|
+
"gpt-5",
|
|
50
|
+
"gpt-5-mini",
|
|
51
|
+
"gpt-5-nano",
|
|
49
52
|
"gpt-3.5-turbo",
|
|
50
53
|
"gemini-1.5-pro",
|
|
51
54
|
"gemini-1.5-flash",
|
|
@@ -61,7 +64,9 @@ exports.Llm = core.serialization.enum_([
|
|
|
61
64
|
"grok-beta",
|
|
62
65
|
"custom-llm",
|
|
63
66
|
"qwen3-4b",
|
|
67
|
+
"qwen3-30b-a3b",
|
|
64
68
|
"watt-tool-8b",
|
|
69
|
+
"watt-tool-70b",
|
|
65
70
|
"gemini-2.5-flash-preview-05-20",
|
|
66
71
|
"gemini-2.5-flash-preview-04-17",
|
|
67
72
|
"gemini-2.5-flash-lite-preview-06-17",
|
|
@@ -76,6 +81,9 @@ exports.Llm = core.serialization.enum_([
|
|
|
76
81
|
"claude-3-5-sonnet@20240620",
|
|
77
82
|
"claude-3-5-sonnet-v2@20241022",
|
|
78
83
|
"claude-3-haiku@20240307",
|
|
84
|
+
"gpt-5-2025-08-07",
|
|
85
|
+
"gpt-5-mini-2025-08-07",
|
|
86
|
+
"gpt-5-nano-2025-08-07",
|
|
79
87
|
"gpt-4.1-2025-04-14",
|
|
80
88
|
"gpt-4.1-mini-2025-04-14",
|
|
81
89
|
"gpt-4.1-nano-2025-04-14",
|
|
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const MetricType: core.serialization.Schema<serializers.MetricType.Raw, ElevenLabs.MetricType>;
|
|
8
8
|
export declare namespace MetricType {
|
|
9
|
-
type Raw = "credits" | "minutes_used" | "request_count" | "ttfb_avg" | "ttfb_p95" | "fiat_units_spent" | "concurrency";
|
|
9
|
+
type Raw = "credits" | "minutes_used" | "request_count" | "ttfb_avg" | "ttfb_p95" | "fiat_units_spent" | "concurrency" | "concurrency_average";
|
|
10
10
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { SongSection } from "./SongSection";
|
|
8
|
+
export declare const MusicPrompt: core.serialization.ObjectSchema<serializers.MusicPrompt.Raw, ElevenLabs.MusicPrompt>;
|
|
9
|
+
export declare namespace MusicPrompt {
|
|
10
|
+
interface Raw {
|
|
11
|
+
positive_global_styles: string[];
|
|
12
|
+
negative_global_styles: string[];
|
|
13
|
+
sections: SongSection.Raw[];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.MusicPrompt = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const SongSection_1 = require("./SongSection");
|
|
42
|
+
exports.MusicPrompt = core.serialization.object({
|
|
43
|
+
positiveGlobalStyles: core.serialization.property("positive_global_styles", core.serialization.list(core.serialization.string())),
|
|
44
|
+
negativeGlobalStyles: core.serialization.property("negative_global_styles", core.serialization.list(core.serialization.string())),
|
|
45
|
+
sections: core.serialization.list(SongSection_1.SongSection),
|
|
46
|
+
});
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigInput } from "./ClientToolConfigInput";
|
|
8
|
-
import { McpToolConfigInput } from "./McpToolConfigInput";
|
|
9
8
|
import { SystemToolConfigInput } from "./SystemToolConfigInput";
|
|
10
9
|
import { WebhookToolConfigInput } from "./WebhookToolConfigInput";
|
|
11
10
|
export declare const PromptAgentApiModelInputToolsItem: core.serialization.Schema<serializers.PromptAgentApiModelInputToolsItem.Raw, ElevenLabs.PromptAgentApiModelInputToolsItem>;
|
|
@@ -14,8 +13,9 @@ export declare namespace PromptAgentApiModelInputToolsItem {
|
|
|
14
13
|
interface Client extends ClientToolConfigInput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigInput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.PromptAgentApiModelInputToolsItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigInput_1 = require("./ClientToolConfigInput");
|
|
42
|
-
const McpToolConfigInput_1 = require("./McpToolConfigInput");
|
|
43
42
|
const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
|
|
44
43
|
const WebhookToolConfigInput_1 = require("./WebhookToolConfigInput");
|
|
45
44
|
exports.PromptAgentApiModelInputToolsItem = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigInput_1.ClientToolConfigInput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigInput_1.SystemToolConfigInput,
|
|
50
51
|
webhook: WebhookToolConfigInput_1.WebhookToolConfigInput,
|
|
51
52
|
})
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigOutput } from "./ClientToolConfigOutput";
|
|
8
|
-
import { McpToolConfigOutput } from "./McpToolConfigOutput";
|
|
9
8
|
import { SystemToolConfigOutput } from "./SystemToolConfigOutput";
|
|
10
9
|
import { WebhookToolConfigOutput } from "./WebhookToolConfigOutput";
|
|
11
10
|
export declare const PromptAgentApiModelOutputToolsItem: core.serialization.Schema<serializers.PromptAgentApiModelOutputToolsItem.Raw, ElevenLabs.PromptAgentApiModelOutputToolsItem>;
|
|
@@ -14,8 +13,9 @@ export declare namespace PromptAgentApiModelOutputToolsItem {
|
|
|
14
13
|
interface Client extends ClientToolConfigOutput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigOutput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.PromptAgentApiModelOutputToolsItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigOutput_1 = require("./ClientToolConfigOutput");
|
|
42
|
-
const McpToolConfigOutput_1 = require("./McpToolConfigOutput");
|
|
43
42
|
const SystemToolConfigOutput_1 = require("./SystemToolConfigOutput");
|
|
44
43
|
const WebhookToolConfigOutput_1 = require("./WebhookToolConfigOutput");
|
|
45
44
|
exports.PromptAgentApiModelOutputToolsItem = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigOutput_1.ClientToolConfigOutput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigOutput_1.SystemToolConfigOutput,
|
|
50
51
|
webhook: WebhookToolConfigOutput_1.WebhookToolConfigOutput,
|
|
51
52
|
})
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SongSection: core.serialization.ObjectSchema<serializers.SongSection.Raw, ElevenLabs.SongSection>;
|
|
8
|
+
export declare namespace SongSection {
|
|
9
|
+
interface Raw {
|
|
10
|
+
section_name: string;
|
|
11
|
+
positive_local_styles: string[];
|
|
12
|
+
negative_local_styles: string[];
|
|
13
|
+
duration_ms: number;
|
|
14
|
+
lines: string[];
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SongSection = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.SongSection = core.serialization.object({
|
|
42
|
+
sectionName: core.serialization.property("section_name", core.serialization.string()),
|
|
43
|
+
positiveLocalStyles: core.serialization.property("positive_local_styles", core.serialization.list(core.serialization.string())),
|
|
44
|
+
negativeLocalStyles: core.serialization.property("negative_local_styles", core.serialization.list(core.serialization.string())),
|
|
45
|
+
durationMs: core.serialization.property("duration_ms", core.serialization.number()),
|
|
46
|
+
lines: core.serialization.list(core.serialization.string()),
|
|
47
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SpeechToTextWebhookResponseModel: core.serialization.ObjectSchema<serializers.SpeechToTextWebhookResponseModel.Raw, ElevenLabs.SpeechToTextWebhookResponseModel>;
|
|
8
|
+
export declare namespace SpeechToTextWebhookResponseModel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
request_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SpeechToTextWebhookResponseModel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.SpeechToTextWebhookResponseModel = core.serialization.object({
|
|
42
|
+
message: core.serialization.string(),
|
|
43
|
+
requestId: core.serialization.property("request_id", core.serialization.string()),
|
|
44
|
+
});
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigInput } from "./ClientToolConfigInput";
|
|
8
|
-
import { McpToolConfigInput } from "./McpToolConfigInput";
|
|
9
8
|
import { SystemToolConfigInput } from "./SystemToolConfigInput";
|
|
10
9
|
import { WebhookToolConfigInput } from "./WebhookToolConfigInput";
|
|
11
10
|
export declare const ToolRequestModelToolConfig: core.serialization.Schema<serializers.ToolRequestModelToolConfig.Raw, ElevenLabs.ToolRequestModelToolConfig>;
|
|
@@ -14,8 +13,9 @@ export declare namespace ToolRequestModelToolConfig {
|
|
|
14
13
|
interface Client extends ClientToolConfigInput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigInput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ToolRequestModelToolConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigInput_1 = require("./ClientToolConfigInput");
|
|
42
|
-
const McpToolConfigInput_1 = require("./McpToolConfigInput");
|
|
43
42
|
const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
|
|
44
43
|
const WebhookToolConfigInput_1 = require("./WebhookToolConfigInput");
|
|
45
44
|
exports.ToolRequestModelToolConfig = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigInput_1.ClientToolConfigInput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigInput_1.SystemToolConfigInput,
|
|
50
51
|
webhook: WebhookToolConfigInput_1.WebhookToolConfigInput,
|
|
51
52
|
})
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigOutput } from "./ClientToolConfigOutput";
|
|
8
|
-
import { McpToolConfigOutput } from "./McpToolConfigOutput";
|
|
9
8
|
import { SystemToolConfigOutput } from "./SystemToolConfigOutput";
|
|
10
9
|
import { WebhookToolConfigOutput } from "./WebhookToolConfigOutput";
|
|
11
10
|
export declare const ToolResponseModelToolConfig: core.serialization.Schema<serializers.ToolResponseModelToolConfig.Raw, ElevenLabs.ToolResponseModelToolConfig>;
|
|
@@ -14,8 +13,9 @@ export declare namespace ToolResponseModelToolConfig {
|
|
|
14
13
|
interface Client extends ClientToolConfigOutput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigOutput.Raw {
|
|
21
21
|
type: "system";
|