@elevenlabs/elevenlabs-js 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +2 -2
- package/api/errors/UnauthorizedError.d.ts +8 -0
- package/api/errors/UnauthorizedError.js +52 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -0
- package/api/resources/speechToText/client/Client.d.ts +3 -0
- package/api/resources/speechToText/client/Client.js +5 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
- package/api/resources/speechToText/index.d.ts +1 -0
- package/api/resources/speechToText/index.js +1 -0
- package/api/resources/speechToText/resources/index.d.ts +2 -0
- package/api/resources/speechToText/resources/index.js +41 -0
- package/api/resources/speechToText/resources/transcripts/client/Client.d.ts +48 -0
- package/api/resources/speechToText/resources/transcripts/client/Client.js +136 -0
- package/api/resources/speechToText/resources/transcripts/client/index.d.ts +1 -0
- package/api/resources/speechToText/resources/transcripts/client/index.js +2 -0
- package/api/resources/speechToText/resources/transcripts/index.d.ts +2 -0
- package/api/resources/speechToText/resources/transcripts/index.js +18 -0
- package/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +5 -0
- package/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +5 -0
- package/api/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
- package/api/resources/speechToText/resources/transcripts/types/index.js +17 -0
- package/api/resources/studio/resources/projects/client/Client.d.ts +2 -1
- package/api/resources/studio/resources/projects/client/Client.js +11 -4
- package/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +13 -0
- package/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.js +5 -0
- package/api/resources/studio/resources/projects/client/requests/index.d.ts +1 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +4 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +4 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +12 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +11 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +12 -0
- package/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +11 -0
- package/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/api/resources/textToDialogue/types/index.js +2 -0
- package/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
- package/api/resources/textToSoundEffects/client/Client.js +1 -1
- package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +3 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +1 -0
- package/api/types/AgentConfigApiModelWorkflowOverride.d.ts +14 -0
- package/api/types/AgentConfigApiModelWorkflowOverride.js +5 -0
- package/api/types/AgentWorkflowRequestModel.d.ts +8 -0
- package/api/types/AgentWorkflowRequestModel.js +5 -0
- package/api/types/AgentWorkflowRequestModelNodesValue.d.ts +25 -0
- package/api/types/AgentWorkflowRequestModelNodesValue.js +5 -0
- package/api/types/AsrConversationalConfigWorkflowOverride.d.ts +14 -0
- package/api/types/AsrConversationalConfigWorkflowOverride.js +5 -0
- package/api/types/BuiltInToolsWorkflowOverride.d.ts +20 -0
- package/api/types/BuiltInToolsWorkflowOverride.js +5 -0
- package/api/types/CaptionStyleTemplateModel.d.ts +1 -0
- package/api/types/ConversationConfigWorkflowOverride.d.ts +12 -0
- package/api/types/ConversationConfigWorkflowOverride.js +5 -0
- package/api/types/ConversationHistoryMultivoiceMessageModel.d.ts +10 -0
- package/api/types/ConversationHistoryMultivoiceMessageModel.js +5 -0
- package/api/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +11 -0
- package/api/types/ConversationHistoryMultivoiceMessagePartModel.js +5 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +18 -0
- package/api/types/ConversationalConfigApiModelWorkflowOverride.js +5 -0
- package/api/types/DubbingReleaseChannel.d.ts +9 -0
- package/api/types/DubbingReleaseChannel.js +11 -0
- package/api/types/DynamicVariablesConfigWorkflowOverride.d.ts +8 -0
- package/api/types/DynamicVariablesConfigWorkflowOverride.js +5 -0
- package/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +4 -0
- package/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +5 -0
- package/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
- package/api/types/Position.d.ts +7 -0
- package/api/types/Position.js +5 -0
- package/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/api/types/ProjectResponse.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverride.d.ts +34 -0
- package/api/types/PromptAgentApiModelWorkflowOverride.js +5 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +23 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +5 -0
- package/api/types/RagConfigWorkflowOverride.d.ts +14 -0
- package/api/types/RagConfigWorkflowOverride.js +5 -0
- package/api/types/ResourceMetadataResponseModel.d.ts +2 -0
- package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +9 -0
- package/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +11 -0
- package/api/types/SingleTestRunRequestModel.d.ts +2 -0
- package/api/types/SpeechHistoryItemResponse.d.ts +1 -1
- package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/api/types/SpeechToTextWebhookResponseModel.d.ts +2 -0
- package/api/types/TestRunMetadata.d.ts +10 -0
- package/api/types/TestRunMetadata.js +5 -0
- package/api/types/TestRunMetadataTestType.d.ts +8 -0
- package/api/types/TestRunMetadataTestType.js +10 -0
- package/api/types/TtsConversationalConfigWorkflowOverride.d.ts +24 -0
- package/api/types/TtsConversationalConfigWorkflowOverride.js +5 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +12 -0
- package/api/types/TurnConfigWorkflowOverride.js +5 -0
- package/api/types/UnitTestRunResponseModel.d.ts +2 -0
- package/api/types/WorkflowEdgeModel.d.ts +12 -0
- package/api/types/WorkflowEdgeModel.js +5 -0
- package/api/types/WorkflowEdgeModelBackwardCondition.d.ts +16 -0
- package/api/types/WorkflowEdgeModelBackwardCondition.js +5 -0
- package/api/types/WorkflowEdgeModelForwardCondition.d.ts +16 -0
- package/api/types/WorkflowEdgeModelForwardCondition.js +5 -0
- package/api/types/WorkflowEndNodeModel.d.ts +8 -0
- package/api/types/WorkflowEndNodeModel.js +5 -0
- package/api/types/WorkflowLlmConditionModel.d.ts +7 -0
- package/api/types/WorkflowLlmConditionModel.js +5 -0
- package/api/types/WorkflowOverrideAgentNodeModel.d.ts +13 -0
- package/api/types/WorkflowOverrideAgentNodeModel.js +5 -0
- package/api/types/WorkflowPhoneNumberNodeModel.d.ts +10 -0
- package/api/types/WorkflowPhoneNumberNodeModel.js +5 -0
- package/api/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +13 -0
- package/api/types/WorkflowPhoneNumberNodeModelTransferDestination.js +5 -0
- package/api/types/WorkflowResultConditionModel.d.ts +7 -0
- package/api/types/WorkflowResultConditionModel.js +5 -0
- package/api/types/WorkflowStandaloneAgentNodeModel.d.ts +12 -0
- package/api/types/WorkflowStandaloneAgentNodeModel.js +5 -0
- package/api/types/WorkflowStartNodeModel.d.ts +8 -0
- package/api/types/WorkflowStartNodeModel.js +5 -0
- package/api/types/WorkflowToolLocator.d.ts +6 -0
- package/api/types/WorkflowToolLocator.js +5 -0
- package/api/types/WorkflowToolNodeModel.d.ts +9 -0
- package/api/types/WorkflowToolNodeModel.js +5 -0
- package/api/types/WorkflowUnconditionalModel.d.ts +6 -0
- package/api/types/WorkflowUnconditionalModel.js +5 -0
- package/api/types/index.d.ts +35 -0
- package/api/types/index.js +35 -0
- package/dist/Client.js +2 -2
- package/dist/api/errors/UnauthorizedError.d.ts +8 -0
- package/dist/api/errors/UnauthorizedError.js +52 -0
- package/dist/api/errors/index.d.ts +1 -0
- package/dist/api/errors/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +4 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetSignedUrlRequest.d.ts +4 -0
- package/dist/api/resources/speechToText/client/Client.d.ts +3 -0
- package/dist/api/resources/speechToText/client/Client.js +5 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +1 -1
- package/dist/api/resources/speechToText/index.d.ts +1 -0
- package/dist/api/resources/speechToText/index.js +1 -0
- package/dist/api/resources/speechToText/resources/index.d.ts +2 -0
- package/dist/api/resources/speechToText/resources/index.js +41 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.d.ts +48 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/Client.js +136 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/index.d.ts +1 -0
- package/dist/api/resources/speechToText/resources/transcripts/client/index.js +2 -0
- package/dist/api/resources/speechToText/resources/transcripts/index.d.ts +2 -0
- package/dist/api/resources/speechToText/resources/transcripts/index.js +18 -0
- package/dist/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +5 -0
- package/dist/api/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +5 -0
- package/dist/api/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
- package/dist/api/resources/speechToText/resources/transcripts/types/index.js +17 -0
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +2 -1
- package/dist/api/resources/studio/resources/projects/client/Client.js +11 -4
- package/dist/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.d.ts +13 -0
- package/dist/api/resources/studio/resources/projects/client/requests/ProjectsGetRequest.js +5 -0
- package/dist/api/resources/studio/resources/projects/client/requests/index.d.ts +1 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +4 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +4 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +12 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +12 -0
- package/dist/api/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +11 -0
- package/dist/api/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/api/resources/textToDialogue/types/index.js +2 -0
- package/dist/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
- package/dist/api/resources/textToSoundEffects/client/Client.js +1 -1
- package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +3 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +1 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverride.d.ts +14 -0
- package/dist/api/types/AgentConfigApiModelWorkflowOverride.js +5 -0
- package/dist/api/types/AgentWorkflowRequestModel.d.ts +8 -0
- package/dist/api/types/AgentWorkflowRequestModel.js +5 -0
- package/dist/api/types/AgentWorkflowRequestModelNodesValue.d.ts +25 -0
- package/dist/api/types/AgentWorkflowRequestModelNodesValue.js +5 -0
- package/dist/api/types/AsrConversationalConfigWorkflowOverride.d.ts +14 -0
- package/dist/api/types/AsrConversationalConfigWorkflowOverride.js +5 -0
- package/dist/api/types/BuiltInToolsWorkflowOverride.d.ts +20 -0
- package/dist/api/types/BuiltInToolsWorkflowOverride.js +5 -0
- package/dist/api/types/CaptionStyleTemplateModel.d.ts +1 -0
- package/dist/api/types/ConversationConfigWorkflowOverride.d.ts +12 -0
- package/dist/api/types/ConversationConfigWorkflowOverride.js +5 -0
- package/dist/api/types/ConversationHistoryMultivoiceMessageModel.d.ts +10 -0
- package/dist/api/types/ConversationHistoryMultivoiceMessageModel.js +5 -0
- package/dist/api/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +11 -0
- package/dist/api/types/ConversationHistoryMultivoiceMessagePartModel.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -0
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverride.d.ts +18 -0
- package/dist/api/types/ConversationalConfigApiModelWorkflowOverride.js +5 -0
- package/dist/api/types/DubbingReleaseChannel.d.ts +9 -0
- package/dist/api/types/DubbingReleaseChannel.js +11 -0
- package/dist/api/types/DynamicVariablesConfigWorkflowOverride.d.ts +8 -0
- package/dist/api/types/DynamicVariablesConfigWorkflowOverride.js +5 -0
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +4 -0
- package/dist/api/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +5 -0
- package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +2 -0
- package/dist/api/types/Position.d.ts +7 -0
- package/dist/api/types/Position.js +5 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +2 -0
- package/dist/api/types/ProjectResponse.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverride.d.ts +34 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverride.js +5 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +23 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +5 -0
- package/dist/api/types/RagConfigWorkflowOverride.d.ts +14 -0
- package/dist/api/types/RagConfigWorkflowOverride.js +5 -0
- package/dist/api/types/ResourceMetadataResponseModel.d.ts +2 -0
- package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +9 -0
- package/dist/api/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +11 -0
- package/dist/api/types/SingleTestRunRequestModel.d.ts +2 -0
- package/dist/api/types/SpeechHistoryItemResponse.d.ts +1 -1
- package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/dist/api/types/SpeechToTextWebhookResponseModel.d.ts +2 -0
- package/dist/api/types/TestRunMetadata.d.ts +10 -0
- package/dist/api/types/TestRunMetadata.js +5 -0
- package/dist/api/types/TestRunMetadataTestType.d.ts +8 -0
- package/dist/api/types/TestRunMetadataTestType.js +10 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverride.d.ts +24 -0
- package/dist/api/types/TtsConversationalConfigWorkflowOverride.js +5 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +12 -0
- package/dist/api/types/TurnConfigWorkflowOverride.js +5 -0
- package/dist/api/types/UnitTestRunResponseModel.d.ts +2 -0
- package/dist/api/types/WorkflowEdgeModel.d.ts +12 -0
- package/dist/api/types/WorkflowEdgeModel.js +5 -0
- package/dist/api/types/WorkflowEdgeModelBackwardCondition.d.ts +16 -0
- package/dist/api/types/WorkflowEdgeModelBackwardCondition.js +5 -0
- package/dist/api/types/WorkflowEdgeModelForwardCondition.d.ts +16 -0
- package/dist/api/types/WorkflowEdgeModelForwardCondition.js +5 -0
- package/dist/api/types/WorkflowEndNodeModel.d.ts +8 -0
- package/dist/api/types/WorkflowEndNodeModel.js +5 -0
- package/dist/api/types/WorkflowLlmConditionModel.d.ts +7 -0
- package/dist/api/types/WorkflowLlmConditionModel.js +5 -0
- package/dist/api/types/WorkflowOverrideAgentNodeModel.d.ts +13 -0
- package/dist/api/types/WorkflowOverrideAgentNodeModel.js +5 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModel.d.ts +10 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModel.js +5 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +13 -0
- package/dist/api/types/WorkflowPhoneNumberNodeModelTransferDestination.js +5 -0
- package/dist/api/types/WorkflowResultConditionModel.d.ts +7 -0
- package/dist/api/types/WorkflowResultConditionModel.js +5 -0
- package/dist/api/types/WorkflowStandaloneAgentNodeModel.d.ts +12 -0
- package/dist/api/types/WorkflowStandaloneAgentNodeModel.js +5 -0
- package/dist/api/types/WorkflowStartNodeModel.d.ts +8 -0
- package/dist/api/types/WorkflowStartNodeModel.js +5 -0
- package/dist/api/types/WorkflowToolLocator.d.ts +6 -0
- package/dist/api/types/WorkflowToolLocator.js +5 -0
- package/dist/api/types/WorkflowToolNodeModel.d.ts +9 -0
- package/dist/api/types/WorkflowToolNodeModel.js +5 -0
- package/dist/api/types/WorkflowUnconditionalModel.d.ts +6 -0
- package/dist/api/types/WorkflowUnconditionalModel.js +5 -0
- package/dist/api/types/index.d.ts +35 -0
- package/dist/api/types/index.js +35 -0
- package/dist/serialization/resources/speechToText/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/index.js +1 -0
- package/dist/serialization/resources/speechToText/resources/index.d.ts +2 -0
- package/dist/serialization/resources/speechToText/resources/index.js +41 -0
- package/dist/serialization/resources/speechToText/resources/transcripts/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/resources/transcripts/index.js +17 -0
- package/dist/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +12 -0
- package/dist/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +43 -0
- package/dist/serialization/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/resources/transcripts/types/index.js +17 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +3 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +3 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +3 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +41 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +10 -0
- package/dist/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +41 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToDialogue/types/index.js +2 -0
- package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -0
- package/dist/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js +1 -0
- package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +2 -0
- package/dist/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +2 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverride.d.ts +17 -0
- package/dist/serialization/types/AgentConfigApiModelWorkflowOverride.js +48 -0
- package/dist/serialization/types/AgentWorkflowRequestModel.d.ts +15 -0
- package/dist/serialization/types/AgentWorkflowRequestModel.js +46 -0
- package/dist/serialization/types/AgentWorkflowRequestModelNodesValue.d.ts +34 -0
- package/dist/serialization/types/AgentWorkflowRequestModelNodesValue.js +59 -0
- package/dist/serialization/types/AsrConversationalConfigWorkflowOverride.d.ts +18 -0
- package/dist/serialization/types/AsrConversationalConfigWorkflowOverride.js +49 -0
- package/dist/serialization/types/BuiltInToolsWorkflowOverride.d.ts +19 -0
- package/dist/serialization/types/BuiltInToolsWorkflowOverride.js +50 -0
- package/dist/serialization/types/CaptionStyleTemplateModel.d.ts +1 -0
- package/dist/serialization/types/CaptionStyleTemplateModel.js +1 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverride.d.ts +15 -0
- package/dist/serialization/types/ConversationConfigWorkflowOverride.js +46 -0
- package/dist/serialization/types/ConversationHistoryMultivoiceMessageModel.d.ts +13 -0
- package/dist/serialization/types/ConversationHistoryMultivoiceMessageModel.js +44 -0
- package/dist/serialization/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +14 -0
- package/dist/serialization/types/ConversationHistoryMultivoiceMessagePartModel.js +45 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +23 -0
- package/dist/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +54 -0
- package/dist/serialization/types/DubbingReleaseChannel.d.ts +10 -0
- package/dist/serialization/types/DubbingReleaseChannel.js +41 -0
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverride.d.ts +13 -0
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverride.js +46 -0
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +10 -0
- package/dist/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +46 -0
- package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
- package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
- package/dist/serialization/types/Position.d.ts +13 -0
- package/dist/serialization/types/Position.js +44 -0
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +1 -0
- package/dist/serialization/types/ProjectResponse.d.ts +1 -0
- package/dist/serialization/types/ProjectResponse.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +31 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverride.js +62 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +26 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +56 -0
- package/dist/serialization/types/RagConfigWorkflowOverride.d.ts +17 -0
- package/dist/serialization/types/RagConfigWorkflowOverride.js +48 -0
- package/dist/serialization/types/ResourceMetadataResponseModel.d.ts +2 -0
- package/dist/serialization/types/ResourceMetadataResponseModel.js +2 -0
- package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +10 -0
- package/dist/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +41 -0
- package/dist/serialization/types/SingleTestRunRequestModel.d.ts +1 -0
- package/dist/serialization/types/SingleTestRunRequestModel.js +1 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
- package/dist/serialization/types/SpeechToTextWebhookResponseModel.d.ts +1 -0
- package/dist/serialization/types/SpeechToTextWebhookResponseModel.js +1 -0
- package/dist/serialization/types/TestRunMetadata.d.ts +16 -0
- package/dist/serialization/types/TestRunMetadata.js +47 -0
- package/dist/serialization/types/TestRunMetadataTestType.d.ts +10 -0
- package/dist/serialization/types/TestRunMetadataTestType.js +41 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverride.d.ts +25 -0
- package/dist/serialization/types/TtsConversationalConfigWorkflowOverride.js +56 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +15 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +46 -0
- package/dist/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
- package/dist/serialization/types/UnitTestRunResponseModel.js +3 -0
- package/dist/serialization/types/WorkflowEdgeModel.d.ts +17 -0
- package/dist/serialization/types/WorkflowEdgeModel.js +48 -0
- package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +22 -0
- package/dist/serialization/types/WorkflowEdgeModelBackwardCondition.js +53 -0
- package/dist/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +22 -0
- package/dist/serialization/types/WorkflowEdgeModelForwardCondition.js +53 -0
- package/dist/serialization/types/WorkflowEndNodeModel.d.ts +13 -0
- package/dist/serialization/types/WorkflowEndNodeModel.js +44 -0
- package/dist/serialization/types/WorkflowLlmConditionModel.d.ts +13 -0
- package/dist/serialization/types/WorkflowLlmConditionModel.js +44 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +20 -0
- package/dist/serialization/types/WorkflowOverrideAgentNodeModel.js +51 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +17 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModel.js +48 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +18 -0
- package/dist/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.js +51 -0
- package/dist/serialization/types/WorkflowResultConditionModel.d.ts +13 -0
- package/dist/serialization/types/WorkflowResultConditionModel.js +44 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +17 -0
- package/dist/serialization/types/WorkflowStandaloneAgentNodeModel.js +48 -0
- package/dist/serialization/types/WorkflowStartNodeModel.d.ts +13 -0
- package/dist/serialization/types/WorkflowStartNodeModel.js +44 -0
- package/dist/serialization/types/WorkflowToolLocator.d.ts +12 -0
- package/dist/serialization/types/WorkflowToolLocator.js +43 -0
- package/dist/serialization/types/WorkflowToolNodeModel.d.ts +15 -0
- package/dist/serialization/types/WorkflowToolNodeModel.js +46 -0
- package/dist/serialization/types/WorkflowUnconditionalModel.d.ts +12 -0
- package/dist/serialization/types/WorkflowUnconditionalModel.js +43 -0
- package/dist/serialization/types/index.d.ts +35 -0
- package/dist/serialization/types/index.js +35 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +75 -2
- package/serialization/resources/speechToText/index.d.ts +1 -0
- package/serialization/resources/speechToText/index.js +1 -0
- package/serialization/resources/speechToText/resources/index.d.ts +2 -0
- package/serialization/resources/speechToText/resources/index.js +41 -0
- package/serialization/resources/speechToText/resources/transcripts/index.d.ts +1 -0
- package/serialization/resources/speechToText/resources/transcripts/index.js +17 -0
- package/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts +12 -0
- package/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js +43 -0
- package/serialization/resources/speechToText/resources/transcripts/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/resources/transcripts/types/index.js +17 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +3 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.js +3 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +3 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.js +3 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.js +41 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.d.ts +10 -0
- package/serialization/resources/textToDialogue/types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.js +41 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +2 -0
- package/serialization/resources/textToDialogue/types/index.js +2 -0
- package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -0
- package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js +1 -0
- package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.d.ts +2 -0
- package/serialization/types/AdhocAgentConfigOverrideForTestRequestModel.js +2 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverride.d.ts +17 -0
- package/serialization/types/AgentConfigApiModelWorkflowOverride.js +48 -0
- package/serialization/types/AgentWorkflowRequestModel.d.ts +15 -0
- package/serialization/types/AgentWorkflowRequestModel.js +46 -0
- package/serialization/types/AgentWorkflowRequestModelNodesValue.d.ts +34 -0
- package/serialization/types/AgentWorkflowRequestModelNodesValue.js +59 -0
- package/serialization/types/AsrConversationalConfigWorkflowOverride.d.ts +18 -0
- package/serialization/types/AsrConversationalConfigWorkflowOverride.js +49 -0
- package/serialization/types/BuiltInToolsWorkflowOverride.d.ts +19 -0
- package/serialization/types/BuiltInToolsWorkflowOverride.js +50 -0
- package/serialization/types/CaptionStyleTemplateModel.d.ts +1 -0
- package/serialization/types/CaptionStyleTemplateModel.js +1 -0
- package/serialization/types/ConversationConfigWorkflowOverride.d.ts +15 -0
- package/serialization/types/ConversationConfigWorkflowOverride.js +46 -0
- package/serialization/types/ConversationHistoryMultivoiceMessageModel.d.ts +13 -0
- package/serialization/types/ConversationHistoryMultivoiceMessageModel.js +44 -0
- package/serialization/types/ConversationHistoryMultivoiceMessagePartModel.d.ts +14 -0
- package/serialization/types/ConversationHistoryMultivoiceMessagePartModel.js +45 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -0
- package/serialization/types/ConversationalConfigApiModelWorkflowOverride.d.ts +23 -0
- package/serialization/types/ConversationalConfigApiModelWorkflowOverride.js +54 -0
- package/serialization/types/DubbingReleaseChannel.d.ts +10 -0
- package/serialization/types/DubbingReleaseChannel.js +41 -0
- package/serialization/types/DynamicVariablesConfigWorkflowOverride.d.ts +13 -0
- package/serialization/types/DynamicVariablesConfigWorkflowOverride.js +46 -0
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.d.ts +10 -0
- package/serialization/types/DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue.js +46 -0
- package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +1 -0
- package/serialization/types/MultichannelSpeechToTextResponseModel.js +1 -0
- package/serialization/types/Position.d.ts +13 -0
- package/serialization/types/Position.js +44 -0
- package/serialization/types/ProjectExtendedResponse.d.ts +1 -0
- package/serialization/types/ProjectExtendedResponse.js +1 -0
- package/serialization/types/ProjectResponse.d.ts +1 -0
- package/serialization/types/ProjectResponse.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverride.d.ts +31 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverride.js +62 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.d.ts +26 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideToolsItem.js +56 -0
- package/serialization/types/RagConfigWorkflowOverride.d.ts +17 -0
- package/serialization/types/RagConfigWorkflowOverride.js +48 -0
- package/serialization/types/ResourceMetadataResponseModel.d.ts +2 -0
- package/serialization/types/ResourceMetadataResponseModel.js +2 -0
- package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.d.ts +10 -0
- package/serialization/types/ResourceMetadataResponseModelAnonymousAccessLevelOverride.js +41 -0
- package/serialization/types/SingleTestRunRequestModel.d.ts +1 -0
- package/serialization/types/SingleTestRunRequestModel.js +1 -0
- package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
- package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
- package/serialization/types/SpeechToTextWebhookResponseModel.d.ts +1 -0
- package/serialization/types/SpeechToTextWebhookResponseModel.js +1 -0
- package/serialization/types/TestRunMetadata.d.ts +16 -0
- package/serialization/types/TestRunMetadata.js +47 -0
- package/serialization/types/TestRunMetadataTestType.d.ts +10 -0
- package/serialization/types/TestRunMetadataTestType.js +41 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverride.d.ts +25 -0
- package/serialization/types/TtsConversationalConfigWorkflowOverride.js +56 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +15 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +46 -0
- package/serialization/types/UnitTestRunResponseModel.d.ts +3 -0
- package/serialization/types/UnitTestRunResponseModel.js +3 -0
- package/serialization/types/WorkflowEdgeModel.d.ts +17 -0
- package/serialization/types/WorkflowEdgeModel.js +48 -0
- package/serialization/types/WorkflowEdgeModelBackwardCondition.d.ts +22 -0
- package/serialization/types/WorkflowEdgeModelBackwardCondition.js +53 -0
- package/serialization/types/WorkflowEdgeModelForwardCondition.d.ts +22 -0
- package/serialization/types/WorkflowEdgeModelForwardCondition.js +53 -0
- package/serialization/types/WorkflowEndNodeModel.d.ts +13 -0
- package/serialization/types/WorkflowEndNodeModel.js +44 -0
- package/serialization/types/WorkflowLlmConditionModel.d.ts +13 -0
- package/serialization/types/WorkflowLlmConditionModel.js +44 -0
- package/serialization/types/WorkflowOverrideAgentNodeModel.d.ts +20 -0
- package/serialization/types/WorkflowOverrideAgentNodeModel.js +51 -0
- package/serialization/types/WorkflowPhoneNumberNodeModel.d.ts +17 -0
- package/serialization/types/WorkflowPhoneNumberNodeModel.js +48 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.d.ts +18 -0
- package/serialization/types/WorkflowPhoneNumberNodeModelTransferDestination.js +51 -0
- package/serialization/types/WorkflowResultConditionModel.d.ts +13 -0
- package/serialization/types/WorkflowResultConditionModel.js +44 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModel.d.ts +17 -0
- package/serialization/types/WorkflowStandaloneAgentNodeModel.js +48 -0
- package/serialization/types/WorkflowStartNodeModel.d.ts +13 -0
- package/serialization/types/WorkflowStartNodeModel.js +44 -0
- package/serialization/types/WorkflowToolLocator.d.ts +12 -0
- package/serialization/types/WorkflowToolLocator.js +43 -0
- package/serialization/types/WorkflowToolNodeModel.d.ts +15 -0
- package/serialization/types/WorkflowToolNodeModel.js +46 -0
- package/serialization/types/WorkflowUnconditionalModel.d.ts +12 -0
- package/serialization/types/WorkflowUnconditionalModel.js +43 -0
- package/serialization/types/index.d.ts +35 -0
- package/serialization/types/index.js +35 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = void 0;
|
|
7
|
+
exports.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = {
|
|
8
|
+
Auto: "auto",
|
|
9
|
+
On: "on",
|
|
10
|
+
Off: "off",
|
|
11
|
+
};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export * from "./TextToDialogueConvertRequestOutputFormat";
|
|
2
|
+
export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
|
|
2
3
|
export * from "./TextToDialogueStreamRequestOutputFormat";
|
|
4
|
+
export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
|
|
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
|
|
18
|
+
__exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
|
|
18
19
|
__exportStar(require("./TextToDialogueStreamRequestOutputFormat"), exports);
|
|
20
|
+
__exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
|
|
@@ -31,7 +31,7 @@ export declare class TextToSoundEffects {
|
|
|
31
31
|
protected readonly _options: TextToSoundEffects.Options;
|
|
32
32
|
constructor(_options?: TextToSoundEffects.Options);
|
|
33
33
|
/**
|
|
34
|
-
* Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects
|
|
34
|
+
* Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.
|
|
35
35
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
36
36
|
*/
|
|
37
37
|
convert(request: ElevenLabs.CreateSoundEffectRequest, requestOptions?: TextToSoundEffects.RequestOptions): core.HttpResponsePromise<ReadableStream<Uint8Array>>;
|
|
@@ -68,7 +68,7 @@ class TextToSoundEffects {
|
|
|
68
68
|
this._options = _options;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
* Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects
|
|
71
|
+
* Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.
|
|
72
72
|
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
73
73
|
*/
|
|
74
74
|
convert(request, requestOptions) {
|
|
@@ -15,10 +15,12 @@ export interface CreateSoundEffectRequest {
|
|
|
15
15
|
outputFormat?: ElevenLabs.TextToSoundEffectsConvertRequestOutputFormat;
|
|
16
16
|
/** The text that will get converted into a sound effect. */
|
|
17
17
|
text: string;
|
|
18
|
-
/** Whether to create a sound effect that loops smoothly. */
|
|
18
|
+
/** Whether to create a sound effect that loops smoothly. Only available for the 'eleven_text_to_sound_v2 model'. */
|
|
19
19
|
loop?: boolean;
|
|
20
20
|
/** The duration of the sound which will be generated in seconds. Must be at least 0.5 and at most 30. If set to None we will guess the optimal duration using the prompt. Defaults to None. */
|
|
21
21
|
durationSeconds?: number;
|
|
22
22
|
/** A higher prompt influence makes your generation follow the prompt more closely while also making generations less variable. Must be a value between 0 and 1. Defaults to 0.3. */
|
|
23
23
|
promptInfluence?: number;
|
|
24
|
+
/** The model ID to use for the sound generation. */
|
|
25
|
+
modelId?: string;
|
|
24
26
|
}
|
|
@@ -34,7 +34,7 @@ export interface StreamTextToSpeechRequest {
|
|
|
34
34
|
text: string;
|
|
35
35
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
36
36
|
modelId?: string;
|
|
37
|
-
/** Language code (ISO 639-1) used to enforce a language for the model
|
|
37
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned. */
|
|
38
38
|
languageCode?: string;
|
|
39
39
|
/** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
|
|
40
40
|
voiceSettings?: ElevenLabs.VoiceSettings;
|
package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export interface StreamTextToSpeechWithTimestampsRequest {
|
|
|
34
34
|
text: string;
|
|
35
35
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
36
36
|
modelId?: string;
|
|
37
|
-
/** Language code (ISO 639-1) used to enforce a language for the model
|
|
37
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned. */
|
|
38
38
|
languageCode?: string;
|
|
39
39
|
/** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
|
|
40
40
|
voiceSettings?: ElevenLabs.VoiceSettings;
|
|
@@ -34,7 +34,7 @@ export interface TextToSpeechRequest {
|
|
|
34
34
|
text: string;
|
|
35
35
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
36
36
|
modelId?: string;
|
|
37
|
-
/** Language code (ISO 639-1) used to enforce a language for the model
|
|
37
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned. */
|
|
38
38
|
languageCode?: string;
|
|
39
39
|
/** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
|
|
40
40
|
voiceSettings?: ElevenLabs.VoiceSettings;
|
|
@@ -32,7 +32,7 @@ export interface TextToSpeechWithTimestampsRequest {
|
|
|
32
32
|
text: string;
|
|
33
33
|
/** Identifier of the model that will be used, you can query them using GET /v1/models. The model needs to have support for text to speech, you can check this using the can_do_text_to_speech property. */
|
|
34
34
|
modelId?: string;
|
|
35
|
-
/** Language code (ISO 639-1) used to enforce a language for the model
|
|
35
|
+
/** Language code (ISO 639-1) used to enforce a language for the model and text normalization. If the model does not support provided language code, an error will be returned. */
|
|
36
36
|
languageCode?: string;
|
|
37
37
|
/** Voice settings overriding stored settings for the given voice. They are applied only on the given request. */
|
|
38
38
|
voiceSettings?: ElevenLabs.VoiceSettings;
|
|
@@ -5,4 +5,5 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
export interface AdhocAgentConfigOverrideForTestRequestModel {
|
|
6
6
|
conversationConfig: ElevenLabs.ConversationalConfig;
|
|
7
7
|
platformSettings: ElevenLabs.AgentPlatformSettingsRequestModel;
|
|
8
|
+
workflow?: ElevenLabs.AgentWorkflowRequestModel;
|
|
8
9
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface AgentConfigApiModelWorkflowOverride {
|
|
6
|
+
/** If non-empty, the first message the agent will say. If empty, the agent waits for the user to start the discussion. */
|
|
7
|
+
firstMessage?: string;
|
|
8
|
+
/** Language of the agent - used for ASR and TTS */
|
|
9
|
+
language?: string;
|
|
10
|
+
/** Configuration for dynamic variables */
|
|
11
|
+
dynamicVariables?: ElevenLabs.DynamicVariablesConfigWorkflowOverride;
|
|
12
|
+
/** The prompt for the agent */
|
|
13
|
+
prompt?: ElevenLabs.PromptAgentApiModelWorkflowOverride;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface AgentWorkflowRequestModel {
|
|
6
|
+
edges?: Record<string, ElevenLabs.WorkflowEdgeModel>;
|
|
7
|
+
nodes?: Record<string, ElevenLabs.AgentWorkflowRequestModelNodesValue>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export type AgentWorkflowRequestModelNodesValue = ElevenLabs.AgentWorkflowRequestModelNodesValue.End | ElevenLabs.AgentWorkflowRequestModelNodesValue.OverrideAgent | ElevenLabs.AgentWorkflowRequestModelNodesValue.PhoneNumber | ElevenLabs.AgentWorkflowRequestModelNodesValue.StandaloneAgent | ElevenLabs.AgentWorkflowRequestModelNodesValue.Start | ElevenLabs.AgentWorkflowRequestModelNodesValue.Tool;
|
|
6
|
+
export declare namespace AgentWorkflowRequestModelNodesValue {
|
|
7
|
+
interface End extends ElevenLabs.WorkflowEndNodeModel {
|
|
8
|
+
type: "end";
|
|
9
|
+
}
|
|
10
|
+
interface OverrideAgent extends ElevenLabs.WorkflowOverrideAgentNodeModel {
|
|
11
|
+
type: "override_agent";
|
|
12
|
+
}
|
|
13
|
+
interface PhoneNumber extends ElevenLabs.WorkflowPhoneNumberNodeModel {
|
|
14
|
+
type: "phone_number";
|
|
15
|
+
}
|
|
16
|
+
interface StandaloneAgent extends ElevenLabs.WorkflowStandaloneAgentNodeModel {
|
|
17
|
+
type: "standalone_agent";
|
|
18
|
+
}
|
|
19
|
+
interface Start extends ElevenLabs.WorkflowStartNodeModel {
|
|
20
|
+
type: "start";
|
|
21
|
+
}
|
|
22
|
+
interface Tool extends ElevenLabs.WorkflowToolNodeModel {
|
|
23
|
+
type: "tool";
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface AsrConversationalConfigWorkflowOverride {
|
|
6
|
+
/** The quality of the transcription */
|
|
7
|
+
quality?: ElevenLabs.AsrQuality;
|
|
8
|
+
/** The provider of the transcription service */
|
|
9
|
+
provider?: ElevenLabs.AsrProvider;
|
|
10
|
+
/** The format of the audio to be transcribed */
|
|
11
|
+
userInputAudioFormat?: ElevenLabs.AsrInputFormat;
|
|
12
|
+
/** Keywords to boost prediction probability for */
|
|
13
|
+
keywords?: string[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface BuiltInToolsWorkflowOverride {
|
|
6
|
+
/** The end call tool */
|
|
7
|
+
endCall?: ElevenLabs.SystemToolConfigInput;
|
|
8
|
+
/** The language detection tool */
|
|
9
|
+
languageDetection?: ElevenLabs.SystemToolConfigInput;
|
|
10
|
+
/** The transfer to agent tool */
|
|
11
|
+
transferToAgent?: ElevenLabs.SystemToolConfigInput;
|
|
12
|
+
/** The transfer to number tool */
|
|
13
|
+
transferToNumber?: ElevenLabs.SystemToolConfigInput;
|
|
14
|
+
/** The skip turn tool */
|
|
15
|
+
skipTurn?: ElevenLabs.SystemToolConfigInput;
|
|
16
|
+
/** The play DTMF tool */
|
|
17
|
+
playKeypadTouchTone?: ElevenLabs.SystemToolConfigInput;
|
|
18
|
+
/** The voicemail detection tool */
|
|
19
|
+
voicemailDetection?: ElevenLabs.SystemToolConfigInput;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface ConversationConfigWorkflowOverride {
|
|
6
|
+
/** If enabled audio will not be processed and only text will be used, use to avoid audio pricing. */
|
|
7
|
+
textOnly?: boolean;
|
|
8
|
+
/** The maximum duration of a conversation in seconds */
|
|
9
|
+
maxDurationSeconds?: number;
|
|
10
|
+
/** The events that will be sent to the client */
|
|
11
|
+
clientEvents?: ElevenLabs.ClientEvent[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* Represents a message from a multi-voice agent.
|
|
7
|
+
*/
|
|
8
|
+
export interface ConversationHistoryMultivoiceMessageModel {
|
|
9
|
+
parts: ElevenLabs.ConversationHistoryMultivoiceMessagePartModel[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Represents a single voice part of a multi-voice message.
|
|
6
|
+
*/
|
|
7
|
+
export interface ConversationHistoryMultivoiceMessagePartModel {
|
|
8
|
+
text: string;
|
|
9
|
+
voiceLabel?: string;
|
|
10
|
+
timeInCallSecs?: number;
|
|
11
|
+
}
|
|
@@ -5,6 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
export interface ConversationHistoryTranscriptCommonModelInput {
|
|
6
6
|
role: ElevenLabs.ConversationHistoryTranscriptCommonModelInputRole;
|
|
7
7
|
message?: string;
|
|
8
|
+
multivoiceMessage?: ElevenLabs.ConversationHistoryMultivoiceMessageModel;
|
|
8
9
|
toolCalls?: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModel[];
|
|
9
10
|
toolResults?: ElevenLabs.ConversationHistoryTranscriptCommonModelInputToolResultsItem[];
|
|
10
11
|
feedback?: ElevenLabs.UserFeedback;
|
|
@@ -5,6 +5,7 @@ import * as ElevenLabs from "../index";
|
|
|
5
5
|
export interface ConversationHistoryTranscriptCommonModelOutput {
|
|
6
6
|
role: ElevenLabs.ConversationHistoryTranscriptCommonModelOutputRole;
|
|
7
7
|
message?: string;
|
|
8
|
+
multivoiceMessage?: ElevenLabs.ConversationHistoryMultivoiceMessageModel;
|
|
8
9
|
toolCalls?: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModel[];
|
|
9
10
|
toolResults?: ElevenLabs.ConversationHistoryTranscriptCommonModelOutputToolResultsItem[];
|
|
10
11
|
feedback?: ElevenLabs.UserFeedback;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface ConversationalConfigApiModelWorkflowOverride {
|
|
6
|
+
/** Configuration for conversational transcription */
|
|
7
|
+
asr?: ElevenLabs.AsrConversationalConfigWorkflowOverride;
|
|
8
|
+
/** Configuration for turn detection */
|
|
9
|
+
turn?: ElevenLabs.TurnConfigWorkflowOverride;
|
|
10
|
+
/** Configuration for conversational text to speech */
|
|
11
|
+
tts?: ElevenLabs.TtsConversationalConfigWorkflowOverride;
|
|
12
|
+
/** Configuration for conversational events */
|
|
13
|
+
conversation?: ElevenLabs.ConversationConfigWorkflowOverride;
|
|
14
|
+
/** Language presets for conversations */
|
|
15
|
+
languagePresets?: Record<string, ElevenLabs.LanguagePresetInput | undefined>;
|
|
16
|
+
/** Agent specific configuration */
|
|
17
|
+
agent?: ElevenLabs.AgentConfigApiModelWorkflowOverride;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type DubbingReleaseChannel = "stable" | "release" | "experimental";
|
|
5
|
+
export declare const DubbingReleaseChannel: {
|
|
6
|
+
readonly Stable: "stable";
|
|
7
|
+
readonly Release: "release";
|
|
8
|
+
readonly Experimental: "experimental";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.DubbingReleaseChannel = void 0;
|
|
7
|
+
exports.DubbingReleaseChannel = {
|
|
8
|
+
Stable: "stable",
|
|
9
|
+
Release: "release",
|
|
10
|
+
Experimental: "experimental",
|
|
11
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface DynamicVariablesConfigWorkflowOverride {
|
|
6
|
+
/** A dictionary of dynamic variable placeholders and their values */
|
|
7
|
+
dynamicVariablePlaceholders?: Record<string, ElevenLabs.DynamicVariablesConfigWorkflowOverrideDynamicVariablePlaceholdersValue | undefined>;
|
|
8
|
+
}
|
|
@@ -8,4 +8,6 @@ import * as ElevenLabs from "../index";
|
|
|
8
8
|
export interface MultichannelSpeechToTextResponseModel {
|
|
9
9
|
/** List of transcripts, one for each audio channel. Each transcript contains the text and word-level details for its respective channel. */
|
|
10
10
|
transcripts: ElevenLabs.SpeechToTextChunkResponseModel[];
|
|
11
|
+
/** The transcription ID of the response. */
|
|
12
|
+
transcriptionId?: string;
|
|
11
13
|
}
|
|
@@ -63,6 +63,8 @@ export interface ProjectExtendedResponse {
|
|
|
63
63
|
captionsEnabled?: boolean;
|
|
64
64
|
/** Global styling to be applied to all captions */
|
|
65
65
|
captionStyle?: ElevenLabs.CaptionStyleModel;
|
|
66
|
+
/** The public share ID of the project. */
|
|
67
|
+
publicShareId?: string;
|
|
66
68
|
/** The quality preset level of the project. */
|
|
67
69
|
qualityPreset: ElevenLabs.ProjectExtendedResponseModelQualityPreset;
|
|
68
70
|
/** List of chapters of the project and their metadata. */
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface PromptAgentApiModelWorkflowOverride {
|
|
6
|
+
/** The prompt for the agent */
|
|
7
|
+
prompt?: string;
|
|
8
|
+
/** The LLM to query with the prompt and the chat history. If using data residency, the LLM must be supported in the data residency environment */
|
|
9
|
+
llm?: ElevenLabs.Llm;
|
|
10
|
+
/** The temperature for the LLM */
|
|
11
|
+
temperature?: number;
|
|
12
|
+
/** If greater than 0, maximum number of tokens the LLM can predict */
|
|
13
|
+
maxTokens?: number;
|
|
14
|
+
/** A list of IDs of tools used by the agent */
|
|
15
|
+
toolIds?: string[];
|
|
16
|
+
/** Built-in system tools to be used by the agent */
|
|
17
|
+
builtInTools?: ElevenLabs.BuiltInToolsWorkflowOverride;
|
|
18
|
+
/** A list of MCP server ids to be used by the agent */
|
|
19
|
+
mcpServerIds?: string[];
|
|
20
|
+
/** A list of Native MCP server ids to be used by the agent */
|
|
21
|
+
nativeMcpServerIds?: string[];
|
|
22
|
+
/** A list of knowledge bases to be used by the agent */
|
|
23
|
+
knowledgeBase?: ElevenLabs.KnowledgeBaseLocator[];
|
|
24
|
+
/** Definition for a custom LLM if LLM field is set to 'CUSTOM_LLM' */
|
|
25
|
+
customLlm?: ElevenLabs.CustomLlm;
|
|
26
|
+
/** Whether to ignore the default personality */
|
|
27
|
+
ignoreDefaultPersonality?: boolean;
|
|
28
|
+
/** Configuration for RAG */
|
|
29
|
+
rag?: ElevenLabs.RagConfigWorkflowOverride;
|
|
30
|
+
/** Timezone for displaying current time in system prompt. If set, the current time will be included in the system prompt using this timezone. Must be a valid timezone name (e.g., 'America/New_York', 'Europe/London', 'UTC'). */
|
|
31
|
+
timezone?: string;
|
|
32
|
+
/** A list of tools that the agent can use over the course of the conversation, use tool_ids instead */
|
|
33
|
+
tools?: ElevenLabs.PromptAgentApiModelWorkflowOverrideToolsItem[];
|
|
34
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
/**
|
|
6
|
+
* The type of tool
|
|
7
|
+
*/
|
|
8
|
+
export type PromptAgentApiModelWorkflowOverrideToolsItem = ElevenLabs.PromptAgentApiModelWorkflowOverrideToolsItem.Client | ElevenLabs.PromptAgentApiModelWorkflowOverrideToolsItem.Mcp | ElevenLabs.PromptAgentApiModelWorkflowOverrideToolsItem.System | ElevenLabs.PromptAgentApiModelWorkflowOverrideToolsItem.Webhook;
|
|
9
|
+
export declare namespace PromptAgentApiModelWorkflowOverrideToolsItem {
|
|
10
|
+
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
|
+
type: "client";
|
|
12
|
+
}
|
|
13
|
+
interface Mcp {
|
|
14
|
+
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
16
|
+
}
|
|
17
|
+
interface System extends ElevenLabs.SystemToolConfigInput {
|
|
18
|
+
type: "system";
|
|
19
|
+
}
|
|
20
|
+
interface Webhook extends ElevenLabs.WebhookToolConfigInput {
|
|
21
|
+
type: "webhook";
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface RagConfigWorkflowOverride {
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
embeddingModel?: ElevenLabs.EmbeddingModelEnum;
|
|
8
|
+
/** Maximum vector distance of retrieved chunks. */
|
|
9
|
+
maxVectorDistance?: number;
|
|
10
|
+
/** Maximum total length of document chunks retrieved from RAG. */
|
|
11
|
+
maxDocumentsLength?: number;
|
|
12
|
+
/** Maximum number of RAG document chunks to initially retrieve from the vector store. These are then further filtered by vector distance and total length. */
|
|
13
|
+
maxRetrievedRagChunksCount?: number;
|
|
14
|
+
}
|
|
@@ -9,6 +9,8 @@ export interface ResourceMetadataResponseModel {
|
|
|
9
9
|
resourceType: ElevenLabs.WorkspaceResourceType;
|
|
10
10
|
/** The ID of the user who created the resource. */
|
|
11
11
|
creatorUserId?: string;
|
|
12
|
+
/** The access level for anonymous users. If None, the resource is not shared publicly. */
|
|
13
|
+
anonymousAccessLevelOverride?: ElevenLabs.ResourceMetadataResponseModelAnonymousAccessLevelOverride;
|
|
12
14
|
/** A mapping of roles to group IDs. When the resource is shared with a user, the group id is the user's id. */
|
|
13
15
|
roleToGroupIds: Record<string, string[]>;
|
|
14
16
|
/** List of options for sharing the resource further in the workspace. These are users who don't have access to the resource yet. */
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type ResourceMetadataResponseModelAnonymousAccessLevelOverride = "admin" | "editor" | "viewer";
|
|
5
|
+
export declare const ResourceMetadataResponseModelAnonymousAccessLevelOverride: {
|
|
6
|
+
readonly Admin: "admin";
|
|
7
|
+
readonly Editor: "editor";
|
|
8
|
+
readonly Viewer: "viewer";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ResourceMetadataResponseModelAnonymousAccessLevelOverride = void 0;
|
|
7
|
+
exports.ResourceMetadataResponseModelAnonymousAccessLevelOverride = {
|
|
8
|
+
Admin: "admin",
|
|
9
|
+
Editor: "editor",
|
|
10
|
+
Viewer: "viewer",
|
|
11
|
+
};
|
|
@@ -32,7 +32,7 @@ export interface SpeechHistoryItemResponse {
|
|
|
32
32
|
feedback?: ElevenLabs.FeedbackItem;
|
|
33
33
|
/** The ID of the share link. */
|
|
34
34
|
shareLinkId?: string;
|
|
35
|
-
/** The source of the history item. Either TTS (text to speech), STS (speech to text), AN (audio native), Projects, Dubbing, PlayAPI, PD (pronunciation dictionary) or ConvAI (
|
|
35
|
+
/** The source of the history item. Either TTS (text to speech), STS (speech to text), AN (audio native), Projects, Dubbing, PlayAPI, PD (pronunciation dictionary) or ConvAI (Agents Platform). */
|
|
36
36
|
source?: ElevenLabs.SpeechHistoryItemResponseModelSource;
|
|
37
37
|
/** The alignments of the history item. */
|
|
38
38
|
alignments?: ElevenLabs.HistoryAlignmentsResponseModel;
|
|
@@ -18,4 +18,6 @@ export interface SpeechToTextChunkResponseModel {
|
|
|
18
18
|
channelIndex?: number;
|
|
19
19
|
/** Requested additional formats of the transcript. */
|
|
20
20
|
additionalFormats?: (ElevenLabs.AdditionalFormatResponseModel | undefined)[];
|
|
21
|
+
/** The transcription ID of the response. */
|
|
22
|
+
transcriptionId?: string;
|
|
21
23
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as ElevenLabs from "../index";
|
|
5
|
+
export interface TestRunMetadata {
|
|
6
|
+
workspaceId: string;
|
|
7
|
+
testName: string;
|
|
8
|
+
ranByUserEmail: string;
|
|
9
|
+
testType?: ElevenLabs.TestRunMetadataTestType;
|
|
10
|
+
}
|