@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
|
@@ -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";
|
package/dist/api/types/index.js
CHANGED
|
@@ -30,7 +30,6 @@ __exportStar(require("./AddWorkspaceGroupMemberResponseModel"), exports);
|
|
|
30
30
|
__exportStar(require("./AddWorkspaceInviteResponseModel"), exports);
|
|
31
31
|
__exportStar(require("./AdditionalFormatResponseModel"), exports);
|
|
32
32
|
__exportStar(require("./AdditionalFormats"), exports);
|
|
33
|
-
__exportStar(require("./AgentBan"), exports);
|
|
34
33
|
__exportStar(require("./AgentCallLimits"), exports);
|
|
35
34
|
__exportStar(require("./AgentConfig"), exports);
|
|
36
35
|
__exportStar(require("./AgentConfigOverride"), exports);
|
|
@@ -62,6 +61,7 @@ __exportStar(require("./BatchCallDetailedResponse"), exports);
|
|
|
62
61
|
__exportStar(require("./BatchCallRecipientStatus"), exports);
|
|
63
62
|
__exportStar(require("./BatchCallResponse"), exports);
|
|
64
63
|
__exportStar(require("./BatchCallStatus"), exports);
|
|
64
|
+
__exportStar(require("./BodyComposeMusicWithADetailedResponseV1MusicDetailedPost"), exports);
|
|
65
65
|
__exportStar(require("./CreatePreviouslyGeneratedVoiceRequest"), exports);
|
|
66
66
|
__exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender"), exports);
|
|
67
67
|
__exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge"), exports);
|
|
@@ -154,6 +154,8 @@ __exportStar(require("./ConversationHistoryTranscriptToolCallCommonModelToolDeta
|
|
|
154
154
|
__exportStar(require("./ConversationHistoryTranscriptToolCallCommonModel"), exports);
|
|
155
155
|
__exportStar(require("./ConversationHistoryTranscriptToolCallMcpDetails"), exports);
|
|
156
156
|
__exportStar(require("./ConversationHistoryTranscriptToolCallWebhookDetails"), exports);
|
|
157
|
+
__exportStar(require("./ConversationHistoryTranscriptWorkflowToolsResultCommonModelInput"), exports);
|
|
158
|
+
__exportStar(require("./ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput"), exports);
|
|
157
159
|
__exportStar(require("./ConversationHistoryTwilioPhoneCallModelDirection"), exports);
|
|
158
160
|
__exportStar(require("./ConversationHistoryTwilioPhoneCallModel"), exports);
|
|
159
161
|
__exportStar(require("./ConversationInitiationClientDataConfigInput"), exports);
|
|
@@ -172,6 +174,7 @@ __exportStar(require("./ConversationSignedUrlResponseModel"), exports);
|
|
|
172
174
|
__exportStar(require("./ConversationSimulationSpecificationDynamicVariablesValue"), exports);
|
|
173
175
|
__exportStar(require("./ConversationSimulationSpecification"), exports);
|
|
174
176
|
__exportStar(require("./ConversationSummaryResponseModelStatus"), exports);
|
|
177
|
+
__exportStar(require("./ConversationSummaryResponseModelDirection"), exports);
|
|
175
178
|
__exportStar(require("./ConversationSummaryResponseModel"), exports);
|
|
176
179
|
__exportStar(require("./ConversationTokenDbModel"), exports);
|
|
177
180
|
__exportStar(require("./ConversationTokenPurpose"), exports);
|
|
@@ -337,8 +340,6 @@ __exportStar(require("./McpServerTransport"), exports);
|
|
|
337
340
|
__exportStar(require("./McpServersResponseModel"), exports);
|
|
338
341
|
__exportStar(require("./McpToolApprovalHash"), exports);
|
|
339
342
|
__exportStar(require("./McpToolApprovalPolicy"), exports);
|
|
340
|
-
__exportStar(require("./McpToolConfigInput"), exports);
|
|
341
|
-
__exportStar(require("./McpToolConfigOutput"), exports);
|
|
342
343
|
__exportStar(require("./ManualVerificationFileResponse"), exports);
|
|
343
344
|
__exportStar(require("./ManualVerificationResponse"), exports);
|
|
344
345
|
__exportStar(require("./MetricRecord"), exports);
|
|
@@ -351,6 +352,7 @@ __exportStar(require("./ModerationStatusResponseModelSafetyStatus"), exports);
|
|
|
351
352
|
__exportStar(require("./ModerationStatusResponseModelWarningStatus"), exports);
|
|
352
353
|
__exportStar(require("./ModerationStatusResponseModel"), exports);
|
|
353
354
|
__exportStar(require("./MultichannelSpeechToTextResponseModel"), exports);
|
|
355
|
+
__exportStar(require("./MusicPrompt"), exports);
|
|
354
356
|
__exportStar(require("./ObjectJsonSchemaPropertyInputPropertiesValue"), exports);
|
|
355
357
|
__exportStar(require("./ObjectJsonSchemaPropertyInput"), exports);
|
|
356
358
|
__exportStar(require("./ObjectJsonSchemaPropertyOutputPropertiesValue"), exports);
|
|
@@ -457,6 +459,7 @@ __exportStar(require("./SimilarVoice"), exports);
|
|
|
457
459
|
__exportStar(require("./SimilarVoicesForSpeakerResponse"), exports);
|
|
458
460
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
459
461
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
462
|
+
__exportStar(require("./SongSection"), exports);
|
|
460
463
|
__exportStar(require("./SpeakerAudioResponseModel"), exports);
|
|
461
464
|
__exportStar(require("./SpeakerResponseModel"), exports);
|
|
462
465
|
__exportStar(require("./SpeakerSegment"), exports);
|
|
@@ -469,6 +472,7 @@ __exportStar(require("./SpeechHistoryItemResponseModelSource"), exports);
|
|
|
469
472
|
__exportStar(require("./SpeechHistoryItemResponse"), exports);
|
|
470
473
|
__exportStar(require("./SpeechToTextCharacterResponseModel"), exports);
|
|
471
474
|
__exportStar(require("./SpeechToTextChunkResponseModel"), exports);
|
|
475
|
+
__exportStar(require("./SpeechToTextWebhookResponseModel"), exports);
|
|
472
476
|
__exportStar(require("./SpeechToTextWordResponseModelType"), exports);
|
|
473
477
|
__exportStar(require("./SpeechToTextWordResponseModel"), exports);
|
|
474
478
|
__exportStar(require("./SrtExportOptions"), exports);
|
|
@@ -535,6 +539,7 @@ __exportStar(require("./VerifiedVoiceLanguageResponseModel"), exports);
|
|
|
535
539
|
__exportStar(require("./VerifyPvcVoiceCaptchaResponseModel"), exports);
|
|
536
540
|
__exportStar(require("./VoiceGenerationParameterOptionResponse"), exports);
|
|
537
541
|
__exportStar(require("./VoiceGenerationParameterResponse"), exports);
|
|
542
|
+
__exportStar(require("./VoiceMailDetectionResultSuccessModel"), exports);
|
|
538
543
|
__exportStar(require("./VoicePreviewResponseModel"), exports);
|
|
539
544
|
__exportStar(require("./VoiceDesignPreviewResponse"), exports);
|
|
540
545
|
__exportStar(require("./VoiceResponseModelCategory"), exports);
|
|
@@ -572,6 +577,16 @@ __exportStar(require("./WidgetLanguagePresetResponse"), exports);
|
|
|
572
577
|
__exportStar(require("./WidgetPlacement"), exports);
|
|
573
578
|
__exportStar(require("./WidgetStyles"), exports);
|
|
574
579
|
__exportStar(require("./WidgetTextContents"), exports);
|
|
580
|
+
__exportStar(require("./WorkflowToolEdgeStepModel"), exports);
|
|
581
|
+
__exportStar(require("./WorkflowToolMaxIterationsExceededStepModel"), exports);
|
|
582
|
+
__exportStar(require("./WorkflowToolNestedToolsStepModelInputResultsItem"), exports);
|
|
583
|
+
__exportStar(require("./WorkflowToolNestedToolsStepModelInput"), exports);
|
|
584
|
+
__exportStar(require("./WorkflowToolNestedToolsStepModelOutputResultsItem"), exports);
|
|
585
|
+
__exportStar(require("./WorkflowToolNestedToolsStepModelOutput"), exports);
|
|
586
|
+
__exportStar(require("./WorkflowToolResponseModelInputStepsItem"), exports);
|
|
587
|
+
__exportStar(require("./WorkflowToolResponseModelInput"), exports);
|
|
588
|
+
__exportStar(require("./WorkflowToolResponseModelOutputStepsItem"), exports);
|
|
589
|
+
__exportStar(require("./WorkflowToolResponseModelOutput"), exports);
|
|
575
590
|
__exportStar(require("./WorkspaceApiKeyListResponseModel"), exports);
|
|
576
591
|
__exportStar(require("./WorkspaceApiKeyResponseModelPermissionsItem"), exports);
|
|
577
592
|
__exportStar(require("./WorkspaceApiKeyResponseModel"), exports);
|
|
@@ -11,6 +11,7 @@ export declare namespace BodyCreateAgentV1ConvaiAgentsCreatePost {
|
|
|
11
11
|
interface Raw {
|
|
12
12
|
conversation_config: ConversationalConfig.Raw;
|
|
13
13
|
platform_settings?: AgentPlatformSettingsRequestModel.Raw | null;
|
|
14
|
+
workflow?: unknown | null;
|
|
14
15
|
name?: string | null;
|
|
15
16
|
tags?: string[] | null;
|
|
16
17
|
}
|
|
@@ -43,6 +43,7 @@ const AgentPlatformSettingsRequestModel_1 = require("../../../../../../types/Age
|
|
|
43
43
|
exports.BodyCreateAgentV1ConvaiAgentsCreatePost = core.serialization.object({
|
|
44
44
|
conversationConfig: core.serialization.property("conversation_config", ConversationalConfig_1.ConversationalConfig),
|
|
45
45
|
platformSettings: core.serialization.property("platform_settings", AgentPlatformSettingsRequestModel_1.AgentPlatformSettingsRequestModel.optional()),
|
|
46
|
+
workflow: core.serialization.unknown().optional(),
|
|
46
47
|
name: core.serialization.string().optional(),
|
|
47
48
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
48
49
|
});
|
|
@@ -11,6 +11,7 @@ export declare namespace UpdateAgentRequest {
|
|
|
11
11
|
interface Raw {
|
|
12
12
|
conversation_config?: ConversationalConfig.Raw | null;
|
|
13
13
|
platform_settings?: AgentPlatformSettingsRequestModel.Raw | null;
|
|
14
|
+
workflow?: unknown | null;
|
|
14
15
|
name?: string | null;
|
|
15
16
|
tags?: string[] | null;
|
|
16
17
|
}
|
|
@@ -43,6 +43,7 @@ const AgentPlatformSettingsRequestModel_1 = require("../../../../../../types/Age
|
|
|
43
43
|
exports.UpdateAgentRequest = core.serialization.object({
|
|
44
44
|
conversationConfig: core.serialization.property("conversation_config", ConversationalConfig_1.ConversationalConfig.optional()),
|
|
45
45
|
platformSettings: core.serialization.property("platform_settings", AgentPlatformSettingsRequestModel_1.AgentPlatformSettingsRequestModel.optional()),
|
|
46
|
+
workflow: core.serialization.unknown().optional(),
|
|
46
47
|
name: core.serialization.string().optional(),
|
|
47
48
|
tags: core.serialization.list(core.serialization.string()).optional(),
|
|
48
49
|
});
|
|
@@ -22,6 +22,8 @@ export * as pronunciationDictionaries from "./pronunciationDictionaries";
|
|
|
22
22
|
export * from "./pronunciationDictionaries/types";
|
|
23
23
|
export * as speechToText from "./speechToText";
|
|
24
24
|
export * from "./speechToText/types";
|
|
25
|
+
export * as music from "./music";
|
|
26
|
+
export * from "./music/types";
|
|
25
27
|
export * as v1TextToSpeechVoiceIdStreamInput from "./v1TextToSpeechVoiceIdStreamInput";
|
|
26
28
|
export * from "./v1TextToSpeechVoiceIdStreamInput/types";
|
|
27
29
|
export * as v1TextToSpeechVoiceIdMultiStreamInput from "./v1TextToSpeechVoiceIdMultiStreamInput";
|
|
@@ -39,3 +41,4 @@ export * from "./voices/client/requests";
|
|
|
39
41
|
export * from "./studio/client/requests";
|
|
40
42
|
export * from "./pronunciationDictionaries/client/requests";
|
|
41
43
|
export * from "./conversationalAi/client/requests";
|
|
44
|
+
export * from "./music/client/requests";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.models = exports.workspace = exports.serviceAccounts = exports.conversationalAi = exports.v1TextToSpeechVoiceIdMultiStreamInput = exports.v1TextToSpeechVoiceIdStreamInput = exports.speechToText = exports.pronunciationDictionaries = exports.dubbing = exports.studio = exports.voices = exports.textToVoice = exports.speechToSpeech = exports.textToDialogue = exports.textToSpeech = exports.audioIsolation = exports.textToSoundEffects = exports.history = void 0;
|
|
39
|
+
exports.models = exports.workspace = exports.serviceAccounts = exports.conversationalAi = exports.v1TextToSpeechVoiceIdMultiStreamInput = exports.v1TextToSpeechVoiceIdStreamInput = exports.music = exports.speechToText = exports.pronunciationDictionaries = exports.dubbing = exports.studio = exports.voices = exports.textToVoice = exports.speechToSpeech = exports.textToDialogue = exports.textToSpeech = exports.audioIsolation = exports.textToSoundEffects = exports.history = void 0;
|
|
40
40
|
exports.history = __importStar(require("./history"));
|
|
41
41
|
__exportStar(require("./history/types"), exports);
|
|
42
42
|
exports.textToSoundEffects = __importStar(require("./textToSoundEffects"));
|
|
@@ -61,6 +61,8 @@ exports.pronunciationDictionaries = __importStar(require("./pronunciationDiction
|
|
|
61
61
|
__exportStar(require("./pronunciationDictionaries/types"), exports);
|
|
62
62
|
exports.speechToText = __importStar(require("./speechToText"));
|
|
63
63
|
__exportStar(require("./speechToText/types"), exports);
|
|
64
|
+
exports.music = __importStar(require("./music"));
|
|
65
|
+
__exportStar(require("./music/types"), exports);
|
|
64
66
|
exports.v1TextToSpeechVoiceIdStreamInput = __importStar(require("./v1TextToSpeechVoiceIdStreamInput"));
|
|
65
67
|
__exportStar(require("./v1TextToSpeechVoiceIdStreamInput/types"), exports);
|
|
66
68
|
exports.v1TextToSpeechVoiceIdMultiStreamInput = __importStar(require("./v1TextToSpeechVoiceIdMultiStreamInput"));
|
|
@@ -78,3 +80,4 @@ __exportStar(require("./voices/client/requests"), exports);
|
|
|
78
80
|
__exportStar(require("./studio/client/requests"), exports);
|
|
79
81
|
__exportStar(require("./pronunciationDictionaries/client/requests"), exports);
|
|
80
82
|
__exportStar(require("./conversationalAi/client/requests"), exports);
|
|
83
|
+
__exportStar(require("./music/client/requests"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { MusicPrompt } from "../../../../types/MusicPrompt";
|
|
8
|
+
export declare const BodyComposeMusicV1MusicPost: core.serialization.Schema<serializers.BodyComposeMusicV1MusicPost.Raw, Omit<ElevenLabs.BodyComposeMusicV1MusicPost, "outputFormat">>;
|
|
9
|
+
export declare namespace BodyComposeMusicV1MusicPost {
|
|
10
|
+
interface Raw {
|
|
11
|
+
prompt?: string | null;
|
|
12
|
+
music_prompt?: MusicPrompt.Raw | null;
|
|
13
|
+
composition_plan?: MusicPrompt.Raw | null;
|
|
14
|
+
music_length_ms?: number | null;
|
|
15
|
+
model_id?: "music_v1" | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.BodyComposeMusicV1MusicPost = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
const MusicPrompt_1 = require("../../../../types/MusicPrompt");
|
|
42
|
+
exports.BodyComposeMusicV1MusicPost = core.serialization.object({
|
|
43
|
+
prompt: core.serialization.string().optional(),
|
|
44
|
+
musicPrompt: core.serialization.property("music_prompt", MusicPrompt_1.MusicPrompt.optional()),
|
|
45
|
+
compositionPlan: core.serialization.property("composition_plan", MusicPrompt_1.MusicPrompt.optional()),
|
|
46
|
+
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
|
|
47
|
+
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
|
|
48
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { MusicPrompt } from "../../../../types/MusicPrompt";
|
|
8
|
+
export declare const BodyStreamComposedMusicV1MusicStreamPost: core.serialization.Schema<serializers.BodyStreamComposedMusicV1MusicStreamPost.Raw, Omit<ElevenLabs.BodyStreamComposedMusicV1MusicStreamPost, "outputFormat">>;
|
|
9
|
+
export declare namespace BodyStreamComposedMusicV1MusicStreamPost {
|
|
10
|
+
interface Raw {
|
|
11
|
+
prompt?: string | null;
|
|
12
|
+
music_prompt?: MusicPrompt.Raw | null;
|
|
13
|
+
composition_plan?: MusicPrompt.Raw | null;
|
|
14
|
+
music_length_ms?: number | null;
|
|
15
|
+
model_id?: "music_v1" | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.BodyStreamComposedMusicV1MusicStreamPost = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
const MusicPrompt_1 = require("../../../../types/MusicPrompt");
|
|
42
|
+
exports.BodyStreamComposedMusicV1MusicStreamPost = core.serialization.object({
|
|
43
|
+
prompt: core.serialization.string().optional(),
|
|
44
|
+
musicPrompt: core.serialization.property("music_prompt", MusicPrompt_1.MusicPrompt.optional()),
|
|
45
|
+
compositionPlan: core.serialization.property("composition_plan", MusicPrompt_1.MusicPrompt.optional()),
|
|
46
|
+
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
|
|
47
|
+
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
|
|
48
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BodyStreamComposedMusicV1MusicStreamPost = exports.BodyComposeMusicV1MusicPost = void 0;
|
|
4
|
+
var BodyComposeMusicV1MusicPost_1 = require("./BodyComposeMusicV1MusicPost");
|
|
5
|
+
Object.defineProperty(exports, "BodyComposeMusicV1MusicPost", { enumerable: true, get: function () { return BodyComposeMusicV1MusicPost_1.BodyComposeMusicV1MusicPost; } });
|
|
6
|
+
var BodyStreamComposedMusicV1MusicStreamPost_1 = require("./BodyStreamComposedMusicV1MusicStreamPost");
|
|
7
|
+
Object.defineProperty(exports, "BodyStreamComposedMusicV1MusicStreamPost", { enumerable: true, get: function () { return BodyStreamComposedMusicV1MusicStreamPost_1.BodyStreamComposedMusicV1MusicStreamPost; } });
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
19
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
@@ -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
|
+
import { MusicPrompt } from "../../../../../../types/MusicPrompt";
|
|
8
|
+
export declare const BodyGenerateCompositionPlanV1MusicPlanPost: core.serialization.Schema<serializers.music.BodyGenerateCompositionPlanV1MusicPlanPost.Raw, ElevenLabs.music.BodyGenerateCompositionPlanV1MusicPlanPost>;
|
|
9
|
+
export declare namespace BodyGenerateCompositionPlanV1MusicPlanPost {
|
|
10
|
+
interface Raw {
|
|
11
|
+
prompt: string;
|
|
12
|
+
music_length_ms?: number | null;
|
|
13
|
+
source_composition_plan?: MusicPrompt.Raw | null;
|
|
14
|
+
model_id?: "music_v1" | null;
|
|
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.BodyGenerateCompositionPlanV1MusicPlanPost = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
const MusicPrompt_1 = require("../../../../../../types/MusicPrompt");
|
|
42
|
+
exports.BodyGenerateCompositionPlanV1MusicPlanPost = core.serialization.object({
|
|
43
|
+
prompt: core.serialization.string(),
|
|
44
|
+
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
|
|
45
|
+
sourceCompositionPlan: core.serialization.property("source_composition_plan", MusicPrompt_1.MusicPrompt.optional()),
|
|
46
|
+
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
|
|
47
|
+
});
|
package/dist/serialization/resources/music/resources/compositionPlan/client/requests/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { BodyGenerateCompositionPlanV1MusicPlanPost } from "./BodyGenerateCompositionPlanV1MusicPlanPost";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BodyGenerateCompositionPlanV1MusicPlanPost = void 0;
|
|
4
|
+
var BodyGenerateCompositionPlanV1MusicPlanPost_1 = require("./BodyGenerateCompositionPlanV1MusicPlanPost");
|
|
5
|
+
Object.defineProperty(exports, "BodyGenerateCompositionPlanV1MusicPlanPost", { enumerable: true, get: function () { return BodyGenerateCompositionPlanV1MusicPlanPost_1.BodyGenerateCompositionPlanV1MusicPlanPost; } });
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.compositionPlan = void 0;
|
|
40
|
+
exports.compositionPlan = __importStar(require("./compositionPlan"));
|
|
41
|
+
__exportStar(require("./compositionPlan/client/requests"), exports);
|
|
@@ -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 MusicComposeRequestOutputFormat: core.serialization.Schema<serializers.MusicComposeRequestOutputFormat.Raw, ElevenLabs.MusicComposeRequestOutputFormat>;
|
|
8
|
+
export declare namespace MusicComposeRequestOutputFormat {
|
|
9
|
+
type Raw = "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_8000" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000" | "ulaw_8000" | "alaw_8000" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "opus_48000_128" | "opus_48000_192";
|
|
10
|
+
}
|