@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
package/reference.md
CHANGED
|
@@ -262,7 +262,7 @@ await client.history.delete("VW7YKqPnjY4h39yTbx2L");
|
|
|
262
262
|
<dl>
|
|
263
263
|
<dd>
|
|
264
264
|
|
|
265
|
-
Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects
|
|
265
|
+
Turn text into sound effects for your videos, voice-overs or video games using the most advanced sound effects models in the world.
|
|
266
266
|
|
|
267
267
|
</dd>
|
|
268
268
|
</dl>
|
|
@@ -9680,6 +9680,71 @@ await client.serviceAccounts.apiKeys.update("service_account_user_id", "api_key_
|
|
|
9680
9680
|
</dl>
|
|
9681
9681
|
</details>
|
|
9682
9682
|
|
|
9683
|
+
## SpeechToText Transcripts
|
|
9684
|
+
|
|
9685
|
+
<details><summary><code>client.speechToText.transcripts.<a href="/src/api/resources/speechToText/resources/transcripts/client/Client.ts">get</a>(transcriptionId) -> ElevenLabs.TranscriptsGetResponse</code></summary>
|
|
9686
|
+
<dl>
|
|
9687
|
+
<dd>
|
|
9688
|
+
|
|
9689
|
+
#### 📝 Description
|
|
9690
|
+
|
|
9691
|
+
<dl>
|
|
9692
|
+
<dd>
|
|
9693
|
+
|
|
9694
|
+
<dl>
|
|
9695
|
+
<dd>
|
|
9696
|
+
|
|
9697
|
+
Retrieve a previously generated transcript by its ID.
|
|
9698
|
+
|
|
9699
|
+
</dd>
|
|
9700
|
+
</dl>
|
|
9701
|
+
</dd>
|
|
9702
|
+
</dl>
|
|
9703
|
+
|
|
9704
|
+
#### 🔌 Usage
|
|
9705
|
+
|
|
9706
|
+
<dl>
|
|
9707
|
+
<dd>
|
|
9708
|
+
|
|
9709
|
+
<dl>
|
|
9710
|
+
<dd>
|
|
9711
|
+
|
|
9712
|
+
```typescript
|
|
9713
|
+
await client.speechToText.transcripts.get("transcription_id");
|
|
9714
|
+
```
|
|
9715
|
+
|
|
9716
|
+
</dd>
|
|
9717
|
+
</dl>
|
|
9718
|
+
</dd>
|
|
9719
|
+
</dl>
|
|
9720
|
+
|
|
9721
|
+
#### ⚙️ Parameters
|
|
9722
|
+
|
|
9723
|
+
<dl>
|
|
9724
|
+
<dd>
|
|
9725
|
+
|
|
9726
|
+
<dl>
|
|
9727
|
+
<dd>
|
|
9728
|
+
|
|
9729
|
+
**transcriptionId:** `string` — The unique ID of the transcript to retrieve
|
|
9730
|
+
|
|
9731
|
+
</dd>
|
|
9732
|
+
</dl>
|
|
9733
|
+
|
|
9734
|
+
<dl>
|
|
9735
|
+
<dd>
|
|
9736
|
+
|
|
9737
|
+
**requestOptions:** `Transcripts.RequestOptions`
|
|
9738
|
+
|
|
9739
|
+
</dd>
|
|
9740
|
+
</dl>
|
|
9741
|
+
</dd>
|
|
9742
|
+
</dl>
|
|
9743
|
+
|
|
9744
|
+
</dd>
|
|
9745
|
+
</dl>
|
|
9746
|
+
</details>
|
|
9747
|
+
|
|
9683
9748
|
## Studio Projects
|
|
9684
9749
|
|
|
9685
9750
|
<details><summary><code>client.studio.projects.<a href="/src/api/resources/studio/resources/projects/client/Client.ts">list</a>() -> ElevenLabs.GetProjectsResponse</code></summary>
|
|
@@ -9802,7 +9867,7 @@ await client.studio.projects.create({
|
|
|
9802
9867
|
</dl>
|
|
9803
9868
|
</details>
|
|
9804
9869
|
|
|
9805
|
-
<details><summary><code>client.studio.projects.<a href="/src/api/resources/studio/resources/projects/client/Client.ts">get</a>(projectId) -> ElevenLabs.ProjectExtendedResponse</code></summary>
|
|
9870
|
+
<details><summary><code>client.studio.projects.<a href="/src/api/resources/studio/resources/projects/client/Client.ts">get</a>(projectId, { ...params }) -> ElevenLabs.ProjectExtendedResponse</code></summary>
|
|
9806
9871
|
<dl>
|
|
9807
9872
|
<dd>
|
|
9808
9873
|
|
|
@@ -9854,6 +9919,14 @@ await client.studio.projects.get("21m00Tcm4TlvDq8ikWAM");
|
|
|
9854
9919
|
<dl>
|
|
9855
9920
|
<dd>
|
|
9856
9921
|
|
|
9922
|
+
**request:** `ElevenLabs.studio.ProjectsGetRequest`
|
|
9923
|
+
|
|
9924
|
+
</dd>
|
|
9925
|
+
</dl>
|
|
9926
|
+
|
|
9927
|
+
<dl>
|
|
9928
|
+
<dd>
|
|
9929
|
+
|
|
9857
9930
|
**requestOptions:** `Projects.RequestOptions`
|
|
9858
9931
|
|
|
9859
9932
|
</dd>
|
|
@@ -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.transcripts = void 0;
|
|
40
|
+
exports.transcripts = __importStar(require("./transcripts"));
|
|
41
|
+
__exportStar(require("./transcripts/types"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -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("./types"), exports);
|
package/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
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 { SpeechToTextChunkResponseModel } from "../../../../../types/SpeechToTextChunkResponseModel";
|
|
8
|
+
import { MultichannelSpeechToTextResponseModel } from "../../../../../types/MultichannelSpeechToTextResponseModel";
|
|
9
|
+
export declare const TranscriptsGetResponse: core.serialization.Schema<serializers.speechToText.TranscriptsGetResponse.Raw, ElevenLabs.speechToText.TranscriptsGetResponse>;
|
|
10
|
+
export declare namespace TranscriptsGetResponse {
|
|
11
|
+
type Raw = SpeechToTextChunkResponseModel.Raw | MultichannelSpeechToTextResponseModel.Raw;
|
|
12
|
+
}
|
package/serialization/resources/speechToText/resources/transcripts/types/TranscriptsGetResponse.js
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
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.TranscriptsGetResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const SpeechToTextChunkResponseModel_1 = require("../../../../../types/SpeechToTextChunkResponseModel");
|
|
42
|
+
const MultichannelSpeechToTextResponseModel_1 = require("../../../../../types/MultichannelSpeechToTextResponseModel");
|
|
43
|
+
exports.TranscriptsGetResponse = core.serialization.undiscriminatedUnion([SpeechToTextChunkResponseModel_1.SpeechToTextChunkResponseModel, MultichannelSpeechToTextResponseModel_1.MultichannelSpeechToTextResponseModel]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TranscriptsGetResponse";
|
|
@@ -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("./TranscriptsGetResponse"), exports);
|
|
@@ -7,13 +7,16 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
import { DialogueInput } from "../../../../types/DialogueInput";
|
|
8
8
|
import { ModelSettingsResponseModel } from "../../../../types/ModelSettingsResponseModel";
|
|
9
9
|
import { PronunciationDictionaryVersionLocator } from "../../../../types/PronunciationDictionaryVersionLocator";
|
|
10
|
+
import { BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization } from "../../types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
|
|
10
11
|
export declare const BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost: core.serialization.Schema<serializers.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.Raw, Omit<ElevenLabs.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost, "outputFormat">>;
|
|
11
12
|
export declare namespace BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost {
|
|
12
13
|
interface Raw {
|
|
13
14
|
inputs: DialogueInput.Raw[];
|
|
14
15
|
model_id?: string | null;
|
|
16
|
+
language_code?: string | null;
|
|
15
17
|
settings?: ModelSettingsResponseModel.Raw | null;
|
|
16
18
|
pronunciation_dictionary_locators?: PronunciationDictionaryVersionLocator.Raw[] | null;
|
|
17
19
|
seed?: number | null;
|
|
20
|
+
apply_text_normalization?: BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.Raw | null;
|
|
18
21
|
}
|
|
19
22
|
}
|
|
@@ -41,10 +41,13 @@ const core = __importStar(require("../../../../../core"));
|
|
|
41
41
|
const DialogueInput_1 = require("../../../../types/DialogueInput");
|
|
42
42
|
const ModelSettingsResponseModel_1 = require("../../../../types/ModelSettingsResponseModel");
|
|
43
43
|
const PronunciationDictionaryVersionLocator_1 = require("../../../../types/PronunciationDictionaryVersionLocator");
|
|
44
|
+
const BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization_1 = require("../../types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization");
|
|
44
45
|
exports.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost = core.serialization.object({
|
|
45
46
|
inputs: core.serialization.list(DialogueInput_1.DialogueInput),
|
|
46
47
|
modelId: core.serialization.property("model_id", core.serialization.string().optional()),
|
|
48
|
+
languageCode: core.serialization.property("language_code", core.serialization.string().optional()),
|
|
47
49
|
settings: ModelSettingsResponseModel_1.ModelSettingsResponseModel.optional(),
|
|
48
50
|
pronunciationDictionaryLocators: core.serialization.property("pronunciation_dictionary_locators", core.serialization.list(PronunciationDictionaryVersionLocator_1.PronunciationDictionaryVersionLocator).optional()),
|
|
49
51
|
seed: core.serialization.number().optional(),
|
|
52
|
+
applyTextNormalization: core.serialization.property("apply_text_normalization", BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization_1.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.optional()),
|
|
50
53
|
});
|
|
@@ -7,13 +7,16 @@ import * as core from "../../../../../core";
|
|
|
7
7
|
import { DialogueInput } from "../../../../types/DialogueInput";
|
|
8
8
|
import { ModelSettingsResponseModel } from "../../../../types/ModelSettingsResponseModel";
|
|
9
9
|
import { PronunciationDictionaryVersionLocator } from "../../../../types/PronunciationDictionaryVersionLocator";
|
|
10
|
+
import { BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization } from "../../types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
|
|
10
11
|
export declare const BodyTextToDialogueMultiVoiceV1TextToDialoguePost: core.serialization.Schema<serializers.BodyTextToDialogueMultiVoiceV1TextToDialoguePost.Raw, Omit<ElevenLabs.BodyTextToDialogueMultiVoiceV1TextToDialoguePost, "outputFormat">>;
|
|
11
12
|
export declare namespace BodyTextToDialogueMultiVoiceV1TextToDialoguePost {
|
|
12
13
|
interface Raw {
|
|
13
14
|
inputs: DialogueInput.Raw[];
|
|
14
15
|
model_id?: string | null;
|
|
16
|
+
language_code?: string | null;
|
|
15
17
|
settings?: ModelSettingsResponseModel.Raw | null;
|
|
16
18
|
pronunciation_dictionary_locators?: PronunciationDictionaryVersionLocator.Raw[] | null;
|
|
17
19
|
seed?: number | null;
|
|
20
|
+
apply_text_normalization?: BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.Raw | null;
|
|
18
21
|
}
|
|
19
22
|
}
|
|
@@ -41,10 +41,13 @@ const core = __importStar(require("../../../../../core"));
|
|
|
41
41
|
const DialogueInput_1 = require("../../../../types/DialogueInput");
|
|
42
42
|
const ModelSettingsResponseModel_1 = require("../../../../types/ModelSettingsResponseModel");
|
|
43
43
|
const PronunciationDictionaryVersionLocator_1 = require("../../../../types/PronunciationDictionaryVersionLocator");
|
|
44
|
+
const BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization_1 = require("../../types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization");
|
|
44
45
|
exports.BodyTextToDialogueMultiVoiceV1TextToDialoguePost = core.serialization.object({
|
|
45
46
|
inputs: core.serialization.list(DialogueInput_1.DialogueInput),
|
|
46
47
|
modelId: core.serialization.property("model_id", core.serialization.string().optional()),
|
|
48
|
+
languageCode: core.serialization.property("language_code", core.serialization.string().optional()),
|
|
47
49
|
settings: ModelSettingsResponseModel_1.ModelSettingsResponseModel.optional(),
|
|
48
50
|
pronunciationDictionaryLocators: core.serialization.property("pronunciation_dictionary_locators", core.serialization.list(PronunciationDictionaryVersionLocator_1.PronunciationDictionaryVersionLocator).optional()),
|
|
49
51
|
seed: core.serialization.number().optional(),
|
|
52
|
+
applyTextNormalization: core.serialization.property("apply_text_normalization", BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization_1.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.optional()),
|
|
50
53
|
});
|
|
@@ -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 BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization: core.serialization.Schema<serializers.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization.Raw, ElevenLabs.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization>;
|
|
8
|
+
export declare namespace BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization {
|
|
9
|
+
type Raw = "auto" | "on" | "off";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization = core.serialization.enum_(["auto", "on", "off"]);
|
|
@@ -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 BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization: core.serialization.Schema<serializers.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization.Raw, ElevenLabs.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization>;
|
|
8
|
+
export declare namespace BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization {
|
|
9
|
+
type Raw = "auto" | "on" | "off";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization = core.serialization.enum_(["auto", "on", "off"]);
|
|
@@ -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);
|
package/serialization/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.js
CHANGED
|
@@ -43,4 +43,5 @@ exports.CreateSoundEffectRequest = core.serialization.object({
|
|
|
43
43
|
loop: core.serialization.boolean().optional(),
|
|
44
44
|
durationSeconds: core.serialization.property("duration_seconds", core.serialization.number().optional()),
|
|
45
45
|
promptInfluence: core.serialization.property("prompt_influence", core.serialization.number().optional()),
|
|
46
|
+
modelId: core.serialization.property("model_id", core.serialization.string().optional()),
|
|
46
47
|
});
|
|
@@ -6,10 +6,12 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ConversationalConfig } from "./ConversationalConfig";
|
|
8
8
|
import { AgentPlatformSettingsRequestModel } from "./AgentPlatformSettingsRequestModel";
|
|
9
|
+
import { AgentWorkflowRequestModel } from "./AgentWorkflowRequestModel";
|
|
9
10
|
export declare const AdhocAgentConfigOverrideForTestRequestModel: core.serialization.ObjectSchema<serializers.AdhocAgentConfigOverrideForTestRequestModel.Raw, ElevenLabs.AdhocAgentConfigOverrideForTestRequestModel>;
|
|
10
11
|
export declare namespace AdhocAgentConfigOverrideForTestRequestModel {
|
|
11
12
|
interface Raw {
|
|
12
13
|
conversation_config: ConversationalConfig.Raw;
|
|
13
14
|
platform_settings: AgentPlatformSettingsRequestModel.Raw;
|
|
15
|
+
workflow?: AgentWorkflowRequestModel.Raw | null;
|
|
14
16
|
}
|
|
15
17
|
}
|
|
@@ -40,7 +40,9 @@ exports.AdhocAgentConfigOverrideForTestRequestModel = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ConversationalConfig_1 = require("./ConversationalConfig");
|
|
42
42
|
const AgentPlatformSettingsRequestModel_1 = require("./AgentPlatformSettingsRequestModel");
|
|
43
|
+
const AgentWorkflowRequestModel_1 = require("./AgentWorkflowRequestModel");
|
|
43
44
|
exports.AdhocAgentConfigOverrideForTestRequestModel = core.serialization.object({
|
|
44
45
|
conversationConfig: core.serialization.property("conversation_config", ConversationalConfig_1.ConversationalConfig),
|
|
45
46
|
platformSettings: core.serialization.property("platform_settings", AgentPlatformSettingsRequestModel_1.AgentPlatformSettingsRequestModel),
|
|
47
|
+
workflow: AgentWorkflowRequestModel_1.AgentWorkflowRequestModel.optional(),
|
|
46
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 { DynamicVariablesConfigWorkflowOverride } from "./DynamicVariablesConfigWorkflowOverride";
|
|
8
|
+
import { PromptAgentApiModelWorkflowOverride } from "./PromptAgentApiModelWorkflowOverride";
|
|
9
|
+
export declare const AgentConfigApiModelWorkflowOverride: core.serialization.ObjectSchema<serializers.AgentConfigApiModelWorkflowOverride.Raw, ElevenLabs.AgentConfigApiModelWorkflowOverride>;
|
|
10
|
+
export declare namespace AgentConfigApiModelWorkflowOverride {
|
|
11
|
+
interface Raw {
|
|
12
|
+
first_message?: string | null;
|
|
13
|
+
language?: string | null;
|
|
14
|
+
dynamic_variables?: DynamicVariablesConfigWorkflowOverride.Raw | null;
|
|
15
|
+
prompt?: PromptAgentApiModelWorkflowOverride.Raw | 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.AgentConfigApiModelWorkflowOverride = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const DynamicVariablesConfigWorkflowOverride_1 = require("./DynamicVariablesConfigWorkflowOverride");
|
|
42
|
+
const PromptAgentApiModelWorkflowOverride_1 = require("./PromptAgentApiModelWorkflowOverride");
|
|
43
|
+
exports.AgentConfigApiModelWorkflowOverride = core.serialization.object({
|
|
44
|
+
firstMessage: core.serialization.property("first_message", core.serialization.string().optional()),
|
|
45
|
+
language: core.serialization.string().optional(),
|
|
46
|
+
dynamicVariables: core.serialization.property("dynamic_variables", DynamicVariablesConfigWorkflowOverride_1.DynamicVariablesConfigWorkflowOverride.optional()),
|
|
47
|
+
prompt: PromptAgentApiModelWorkflowOverride_1.PromptAgentApiModelWorkflowOverride.optional(),
|
|
48
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { WorkflowEdgeModel } from "./WorkflowEdgeModel";
|
|
8
|
+
import { AgentWorkflowRequestModelNodesValue } from "./AgentWorkflowRequestModelNodesValue";
|
|
9
|
+
export declare const AgentWorkflowRequestModel: core.serialization.ObjectSchema<serializers.AgentWorkflowRequestModel.Raw, ElevenLabs.AgentWorkflowRequestModel>;
|
|
10
|
+
export declare namespace AgentWorkflowRequestModel {
|
|
11
|
+
interface Raw {
|
|
12
|
+
edges?: Record<string, WorkflowEdgeModel.Raw> | null;
|
|
13
|
+
nodes?: Record<string, AgentWorkflowRequestModelNodesValue.Raw> | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentWorkflowRequestModel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const WorkflowEdgeModel_1 = require("./WorkflowEdgeModel");
|
|
42
|
+
const AgentWorkflowRequestModelNodesValue_1 = require("./AgentWorkflowRequestModelNodesValue");
|
|
43
|
+
exports.AgentWorkflowRequestModel = core.serialization.object({
|
|
44
|
+
edges: core.serialization.record(core.serialization.string(), WorkflowEdgeModel_1.WorkflowEdgeModel).optional(),
|
|
45
|
+
nodes: core.serialization.record(core.serialization.string(), AgentWorkflowRequestModelNodesValue_1.AgentWorkflowRequestModelNodesValue).optional(),
|
|
46
|
+
});
|