@elevenlabs/elevenlabs-js 2.29.0 → 2.31.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/BaseClient.js +2 -2
- package/LICENSE +1 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +3 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
- package/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +13 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +60 -0
- package/api/resources/dubbing/client/Client.d.ts +3 -0
- package/api/resources/dubbing/client/Client.js +5 -0
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
- package/api/resources/dubbing/resources/index.d.ts +2 -0
- package/api/resources/dubbing/resources/index.js +3 -1
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -2
- package/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
- package/api/resources/dubbing/resources/transcripts/client/Client.d.ts +28 -0
- package/api/resources/dubbing/resources/transcripts/client/Client.js +122 -0
- package/api/resources/dubbing/resources/transcripts/client/index.d.ts +1 -0
- package/api/resources/dubbing/resources/transcripts/client/index.js +2 -0
- package/api/resources/dubbing/resources/transcripts/index.d.ts +2 -0
- package/api/resources/dubbing/resources/transcripts/index.js +18 -0
- package/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
- package/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +10 -0
- package/api/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
- package/{dist/serialization/resources/textToSoundEffects → api/resources/dubbing/resources/transcripts}/types/index.js +1 -1
- package/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
- package/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +0 -1
- package/api/resources/music/client/Client.js +6 -4
- package/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +1 -1
- package/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/api/resources/music/types/index.d.ts +0 -4
- package/api/resources/music/types/index.js +0 -4
- package/api/resources/speechToText/client/Client.js +11 -0
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
- package/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/textToDialogue/client/Client.js +10 -4
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/api/resources/textToDialogue/types/index.d.ts +0 -4
- package/api/resources/textToDialogue/types/index.js +0 -4
- package/api/resources/textToSoundEffects/client/Client.js +3 -1
- package/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
- package/api/resources/textToSoundEffects/index.d.ts +0 -1
- package/api/resources/textToSoundEffects/index.js +0 -1
- package/api/resources/textToVoice/client/Client.js +5 -3
- package/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -1
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
- package/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
- package/api/resources/textToVoice/types/index.d.ts +0 -3
- package/api/resources/textToVoice/types/index.js +0 -3
- package/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
- package/api/resources/workspace/resources/resources/client/Client.js +59 -0
- package/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
- package/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
- package/{dist/api/resources/music/types/MusicStreamRequestOutputFormat.d.ts → api/types/AllowedOutputFormats.d.ts} +2 -3
- package/{dist/api/resources/music/types/MusicStreamRequestOutputFormat.js → api/types/AllowedOutputFormats.js} +2 -3
- package/api/types/BatchCallDetailedResponse.d.ts +1 -0
- package/api/types/BatchCallResponse.d.ts +1 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +0 -1
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/DetectedEntity.d.ts +10 -0
- package/api/types/DubbingTranscript.d.ts +5 -0
- package/api/types/DubbingTranscriptsResponseModel.d.ts +7 -0
- package/api/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +6 -0
- package/api/types/DubbingTranscriptsResponseModelTranscriptFormat.js +9 -0
- package/api/types/GetAgentResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
- package/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
- package/api/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +4 -0
- package/api/types/KnowledgeBaseSourceFileUrlResponseModel.js +3 -0
- package/api/types/ProjectVideoResponseModel.d.ts +1 -0
- package/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/api/types/SoftTimeoutConfig.d.ts +2 -0
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/api/types/index.d.ts +7 -3
- package/api/types/index.js +7 -3
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +6 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +3 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +0 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -5
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/requests/KnowledgeBaseListRequest.d.ts +0 -3
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +13 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +60 -0
- package/dist/api/resources/dubbing/client/Client.d.ts +3 -0
- package/dist/api/resources/dubbing/client/Client.js +5 -0
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/index.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/index.js +3 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +2 -2
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/transcripts/client/Client.d.ts +28 -0
- package/dist/api/resources/dubbing/resources/transcripts/client/Client.js +122 -0
- package/dist/api/resources/dubbing/resources/transcripts/client/index.d.ts +1 -0
- package/dist/api/resources/dubbing/resources/transcripts/client/index.js +2 -0
- package/dist/api/resources/dubbing/resources/transcripts/index.d.ts +2 -0
- package/dist/api/resources/dubbing/resources/transcripts/index.js +18 -0
- package/dist/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
- package/dist/api/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +10 -0
- package/dist/api/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
- package/{api/resources/textToSoundEffects → dist/api/resources/dubbing/resources/transcripts}/types/index.js +1 -1
- package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.d.ts +1 -1
- package/dist/api/resources/dubbing/types/DubbingCreateRequestMode.js +1 -1
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +0 -1
- package/dist/api/resources/music/client/Client.js +6 -4
- package/dist/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyStemSeparationV1MusicStemSeparationPost.d.ts +1 -1
- package/dist/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.d.ts +1 -1
- package/dist/api/resources/music/types/index.d.ts +0 -4
- package/dist/api/resources/music/types/index.js +0 -4
- package/dist/api/resources/speechToText/client/Client.js +11 -0
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +4 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +3 -0
- package/dist/api/resources/speechToText/types/index.d.ts +1 -0
- package/dist/api/resources/speechToText/types/index.js +1 -0
- package/dist/api/resources/textToDialogue/client/Client.js +10 -4
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/api/resources/textToDialogue/types/index.d.ts +0 -4
- package/dist/api/resources/textToDialogue/types/index.js +0 -4
- package/dist/api/resources/textToSoundEffects/client/Client.js +3 -1
- package/dist/api/resources/textToSoundEffects/client/requests/CreateSoundEffectRequest.d.ts +1 -1
- package/dist/api/resources/textToSoundEffects/index.d.ts +0 -1
- package/dist/api/resources/textToSoundEffects/index.js +0 -1
- package/dist/api/resources/textToVoice/client/Client.js +5 -3
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequest.d.ts +1 -1
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +1 -1
- package/dist/api/resources/textToVoice/client/requests/VoiceRemixRequestModel.d.ts +1 -1
- package/dist/api/resources/textToVoice/types/index.d.ts +0 -3
- package/dist/api/resources/textToVoice/types/index.js +0 -3
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +17 -0
- package/dist/api/resources/workspace/resources/resources/client/Client.js +59 -0
- package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +14 -0
- package/dist/api/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +3 -0
- package/dist/api/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
- package/{api/resources/music/types/MusicStreamRequestOutputFormat.d.ts → dist/api/types/AllowedOutputFormats.d.ts} +2 -3
- package/{api/resources/music/types/MusicStreamRequestOutputFormat.js → dist/api/types/AllowedOutputFormats.js} +2 -3
- package/dist/api/types/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/api/types/BatchCallResponse.d.ts +1 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +0 -1
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/DetectedEntity.d.ts +10 -0
- package/dist/api/types/DetectedEntity.js +3 -0
- package/dist/api/types/DubbingTranscript.d.ts +5 -0
- package/dist/api/types/DubbingTranscript.js +3 -0
- package/dist/api/types/DubbingTranscriptsResponseModel.d.ts +7 -0
- package/dist/api/types/DubbingTranscriptsResponseModel.js +3 -0
- package/dist/api/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +6 -0
- package/dist/api/types/DubbingTranscriptsResponseModelTranscriptFormat.js +9 -0
- package/dist/api/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
- package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +3 -0
- package/dist/api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js +3 -0
- package/dist/api/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +4 -0
- package/dist/api/types/KnowledgeBaseSourceFileUrlResponseModel.js +3 -0
- package/dist/api/types/ProjectVideoResponseModel.d.ts +1 -0
- package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +2 -0
- package/dist/api/types/SoftTimeoutConfig.d.ts +2 -0
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/dist/api/types/index.d.ts +7 -3
- package/dist/api/types/index.js +7 -3
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
- package/dist/serialization/resources/dubbing/resources/index.d.ts +2 -0
- package/dist/serialization/resources/dubbing/resources/index.js +3 -1
- package/dist/serialization/resources/dubbing/resources/transcripts/index.d.ts +1 -0
- package/{serialization/resources/textToSoundEffects/types → dist/serialization/resources/dubbing/resources/transcripts}/index.js +1 -1
- package/dist/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
- package/dist/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +39 -0
- package/dist/serialization/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
- package/dist/{api/resources/textToSoundEffects → serialization/resources/dubbing/resources/transcripts}/types/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +0 -1
- package/dist/serialization/resources/music/types/index.d.ts +0 -4
- package/dist/serialization/resources/music/types/index.js +0 -4
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +42 -0
- package/dist/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/dist/serialization/resources/speechToText/types/index.js +1 -0
- package/dist/serialization/resources/textToDialogue/types/index.d.ts +0 -4
- package/dist/serialization/resources/textToDialogue/types/index.js +0 -4
- package/dist/serialization/resources/textToSoundEffects/index.d.ts +0 -1
- package/dist/serialization/resources/textToSoundEffects/index.js +0 -1
- package/dist/serialization/resources/textToVoice/types/index.d.ts +0 -3
- package/dist/serialization/resources/textToVoice/types/index.js +0 -3
- package/dist/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
- package/dist/serialization/resources/{music/types/MusicSeparateStemsRequestOutputFormat.js → workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js} +7 -25
- package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
- package/dist/serialization/types/AllowedOutputFormats.d.ts +7 -0
- package/{serialization/resources/music/types/MusicStreamRequestOutputFormat.js → dist/serialization/types/AllowedOutputFormats.js} +3 -3
- package/dist/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/dist/serialization/types/BatchCallResponse.d.ts +1 -0
- package/dist/serialization/types/BatchCallResponse.js +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +0 -2
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +0 -2
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/DetectedEntity.d.ts +12 -0
- package/dist/serialization/types/DetectedEntity.js +44 -0
- package/dist/serialization/types/DubbingTranscript.d.ts +11 -0
- package/dist/serialization/types/DubbingTranscript.js +43 -0
- package/dist/serialization/types/DubbingTranscriptsResponseModel.d.ts +14 -0
- package/dist/serialization/types/DubbingTranscriptsResponseModel.js +46 -0
- package/dist/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +7 -0
- package/dist/serialization/types/{DefaultConversationInitiationTrigger.js → DubbingTranscriptsResponseModelTranscriptFormat.js} +2 -2
- package/dist/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetAgentResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
- package/dist/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
- package/dist/serialization/types/{ZendeskConversationInitiationTrigger.js → KnowledgeBaseFolderPathSegmentSummaryResponseModel.js} +3 -3
- package/dist/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +9 -0
- package/dist/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.js +41 -0
- package/dist/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
- package/dist/serialization/types/ProjectVideoResponseModel.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
- package/dist/serialization/types/index.d.ts +7 -3
- package/dist/serialization/types/index.js +7 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +221 -4
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/batchCalls/client/requests/BodySubmitABatchCallRequestV1ConvaiBatchCallingSubmitPost.js +1 -0
- package/serialization/resources/dubbing/resources/index.d.ts +2 -0
- package/serialization/resources/dubbing/resources/index.js +3 -1
- package/serialization/resources/dubbing/resources/transcripts/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/transcripts/index.js +17 -0
- package/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.d.ts +7 -0
- package/serialization/resources/dubbing/resources/transcripts/types/TranscriptsGetRequestFormatType.js +39 -0
- package/serialization/resources/dubbing/resources/transcripts/types/index.d.ts +1 -0
- package/serialization/resources/dubbing/resources/transcripts/types/index.js +17 -0
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +0 -1
- package/serialization/resources/music/types/index.d.ts +0 -4
- package/serialization/resources/music/types/index.js +0 -4
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.d.ts +7 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js +42 -0
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/resources/textToDialogue/types/index.d.ts +0 -4
- package/serialization/resources/textToDialogue/types/index.js +0 -4
- package/serialization/resources/textToSoundEffects/index.d.ts +0 -1
- package/serialization/resources/textToSoundEffects/index.js +0 -1
- package/serialization/resources/textToVoice/types/index.d.ts +0 -3
- package/serialization/resources/textToVoice/types/index.js +0 -3
- package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.d.ts +11 -0
- package/serialization/resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js +43 -0
- package/serialization/resources/workspace/resources/resources/client/requests/index.d.ts +1 -0
- package/serialization/resources/workspace/resources/resources/client/requests/index.js +3 -1
- package/serialization/types/AllowedOutputFormats.d.ts +7 -0
- package/{dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.js → serialization/types/AllowedOutputFormats.js} +3 -3
- package/serialization/types/BatchCallDetailedResponse.d.ts +1 -0
- package/serialization/types/BatchCallDetailedResponse.js +1 -0
- package/serialization/types/BatchCallResponse.d.ts +1 -0
- package/serialization/types/BatchCallResponse.js +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +0 -2
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +0 -2
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/DetectedEntity.d.ts +12 -0
- package/serialization/types/DetectedEntity.js +44 -0
- package/serialization/types/DubbingTranscript.d.ts +11 -0
- package/serialization/types/DubbingTranscript.js +43 -0
- package/serialization/types/DubbingTranscriptsResponseModel.d.ts +14 -0
- package/serialization/types/DubbingTranscriptsResponseModel.js +46 -0
- package/serialization/types/DubbingTranscriptsResponseModelTranscriptFormat.d.ts +7 -0
- package/serialization/types/{DefaultConversationInitiationTrigger.js → DubbingTranscriptsResponseModelTranscriptFormat.js} +2 -2
- package/serialization/types/GetAgentResponseModel.d.ts +2 -0
- package/serialization/types/GetAgentResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +1 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryTextResponseModel.js +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.d.ts +2 -0
- package/serialization/types/GetKnowledgeBaseSummaryUrlResponseModel.js +2 -0
- package/serialization/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.d.ts +9 -0
- package/serialization/types/{ZendeskConversationInitiationTrigger.js → KnowledgeBaseFolderPathSegmentSummaryResponseModel.js} +3 -3
- package/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.d.ts +9 -0
- package/serialization/types/KnowledgeBaseSourceFileUrlResponseModel.js +41 -0
- package/serialization/types/ProjectVideoResponseModel.d.ts +1 -0
- package/serialization/types/ProjectVideoResponseModel.js +1 -0
- package/serialization/types/PromptAgentApiModelInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelInput.js +1 -0
- package/serialization/types/PromptAgentApiModelOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOutput.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideInput.js +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelWorkflowOverrideOutput.js +1 -0
- package/serialization/types/SoftTimeoutConfig.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfig.js +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +1 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +1 -0
- package/serialization/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/serialization/types/SpeechToTextChunkResponseModel.js +2 -0
- package/serialization/types/index.d.ts +7 -3
- package/serialization/types/index.js +7 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -25
- package/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -28
- package/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -25
- package/api/resources/music/types/MusicComposeRequestOutputFormat.js +0 -28
- package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -25
- package/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -28
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -28
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -28
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -28
- package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -28
- package/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -28
- package/api/resources/textToSoundEffects/types/index.d.ts +0 -1
- package/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -28
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -28
- package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -25
- package/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -28
- package/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -10
- package/api/types/DefaultConversationInitiationTrigger.d.ts +0 -4
- package/api/types/ZendeskConversationInitiationTrigger.d.ts +0 -6
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -28
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/music/types/MusicComposeRequestOutputFormat.js +0 -28
- package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToSoundEffects/types/index.d.ts +0 -1
- package/dist/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -28
- package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -25
- package/dist/api/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -28
- package/dist/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -10
- package/dist/api/types/DefaultConversationInitiationTrigger.d.ts +0 -4
- package/dist/api/types/ZendeskConversationInitiationTrigger.d.ts +0 -6
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToSoundEffects/types/index.d.ts +0 -1
- package/dist/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -61
- package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -7
- package/dist/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -61
- package/dist/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -15
- package/dist/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js +0 -49
- package/dist/serialization/types/DefaultConversationInitiationTrigger.d.ts +0 -7
- package/dist/serialization/types/ZendeskConversationInitiationTrigger.d.ts +0 -9
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/music/types/MusicComposeDetailedRequestOutputFormat.js +0 -61
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/music/types/MusicComposeRequestOutputFormat.js +0 -61
- package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/music/types/MusicSeparateStemsRequestOutputFormat.js +0 -61
- package/serialization/resources/music/types/MusicStreamRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertRequestOutputFormat.js +0 -61
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueConvertWithTimestampsRequestOutputFormat.js +0 -61
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamRequestOutputFormat.js +0 -61
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToDialogue/types/TextToDialogueStreamWithTimestampsRequestOutputFormat.js +0 -61
- package/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToSoundEffects/types/TextToSoundEffectsConvertRequestOutputFormat.js +0 -61
- package/serialization/resources/textToSoundEffects/types/index.d.ts +0 -1
- package/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToVoice/types/TextToVoiceCreatePreviewsRequestOutputFormat.js +0 -61
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +0 -61
- package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.d.ts +0 -7
- package/serialization/resources/textToVoice/types/TextToVoiceRemixRequestOutputFormat.js +0 -61
- package/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.d.ts +0 -15
- package/serialization/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js +0 -49
- package/serialization/types/DefaultConversationInitiationTrigger.d.ts +0 -7
- package/serialization/types/ZendeskConversationInitiationTrigger.d.ts +0 -9
- /package/api/{types/ConversationHistoryMetadataCommonModelInitiationTrigger.js → resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js} +0 -0
- /package/api/{types/DefaultConversationInitiationTrigger.js → resources/workspace/resources/resources/client/requests/BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.js} +0 -0
- /package/api/types/{ZendeskConversationInitiationTrigger.js → DetectedEntity.js} +0 -0
- /package/{dist/api/types/ConversationHistoryMetadataCommonModelInitiationTrigger.js → api/types/DubbingTranscript.js} +0 -0
- /package/{dist/api/types/DefaultConversationInitiationTrigger.js → api/types/DubbingTranscriptsResponseModel.js} +0 -0
- /package/{dist/api/types/ZendeskConversationInitiationTrigger.js → api/types/KnowledgeBaseFolderPathSegmentSummaryResponseModel.js} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.TranscriptsGetRequestFormatType = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
exports.TranscriptsGetRequestFormatType = core.serialization.enum_(["srt", "webvtt", "json"]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./TranscriptsGetRequestFormatType";
|
|
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./TranscriptsGetRequestFormatType"), exports);
|
|
@@ -28,7 +28,6 @@ export * from "./textToDialogue/client/requests";
|
|
|
28
28
|
export * from "./textToDialogue/types";
|
|
29
29
|
export * as textToSoundEffects from "./textToSoundEffects";
|
|
30
30
|
export * from "./textToSoundEffects/client/requests";
|
|
31
|
-
export * from "./textToSoundEffects/types";
|
|
32
31
|
export * as textToSpeech from "./textToSpeech";
|
|
33
32
|
export * from "./textToSpeech/client/requests";
|
|
34
33
|
export * from "./textToSpeech/types";
|
|
@@ -67,7 +67,6 @@ __exportStar(require("./textToDialogue/client/requests"), exports);
|
|
|
67
67
|
__exportStar(require("./textToDialogue/types"), exports);
|
|
68
68
|
exports.textToSoundEffects = __importStar(require("./textToSoundEffects"));
|
|
69
69
|
__exportStar(require("./textToSoundEffects/client/requests"), exports);
|
|
70
|
-
__exportStar(require("./textToSoundEffects/types"), exports);
|
|
71
70
|
exports.textToSpeech = __importStar(require("./textToSpeech"));
|
|
72
71
|
__exportStar(require("./textToSpeech/client/requests"), exports);
|
|
73
72
|
__exportStar(require("./textToSpeech/types"), exports);
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
export * from "./MusicComposeDetailedRequestOutputFormat";
|
|
2
|
-
export * from "./MusicComposeRequestOutputFormat";
|
|
3
|
-
export * from "./MusicSeparateStemsRequestOutputFormat";
|
|
4
1
|
export * from "./MusicSeparateStemsRequestStemVariationId";
|
|
5
|
-
export * from "./MusicStreamRequestOutputFormat";
|
|
@@ -14,8 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./MusicComposeDetailedRequestOutputFormat"), exports);
|
|
18
|
-
__exportStar(require("./MusicComposeRequestOutputFormat"), exports);
|
|
19
|
-
__exportStar(require("./MusicSeparateStemsRequestOutputFormat"), exports);
|
|
20
17
|
__exportStar(require("./MusicSeparateStemsRequestStemVariationId"), exports);
|
|
21
|
-
__exportStar(require("./MusicStreamRequestOutputFormat"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const SpeechToTextConvertRequestEntityDetection: core.serialization.Schema<serializers.SpeechToTextConvertRequestEntityDetection.Raw, ElevenLabs.SpeechToTextConvertRequestEntityDetection>;
|
|
5
|
+
export declare namespace SpeechToTextConvertRequestEntityDetection {
|
|
6
|
+
type Raw = string | string[];
|
|
7
|
+
}
|
package/dist/serialization/resources/speechToText/types/SpeechToTextConvertRequestEntityDetection.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SpeechToTextConvertRequestEntityDetection = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
exports.SpeechToTextConvertRequestEntityDetection = core.serialization.undiscriminatedUnion([
|
|
40
|
+
core.serialization.string(),
|
|
41
|
+
core.serialization.list(core.serialization.string()),
|
|
42
|
+
]);
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./SpeechToTextConvertRequestEntityDetection"), exports);
|
|
17
18
|
__exportStar(require("./SpeechToTextConvertRequestFileFormat"), exports);
|
|
18
19
|
__exportStar(require("./SpeechToTextConvertRequestTimestampsGranularity"), exports);
|
|
19
20
|
__exportStar(require("./SpeechToTextConvertRequestWebhookMetadata"), exports);
|
|
@@ -2,7 +2,3 @@ export * from "./BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
|
|
|
2
2
|
export * from "./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
|
|
3
3
|
export * from "./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
|
|
4
4
|
export * from "./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
|
|
5
|
-
export * from "./TextToDialogueConvertRequestOutputFormat";
|
|
6
|
-
export * from "./TextToDialogueConvertWithTimestampsRequestOutputFormat";
|
|
7
|
-
export * from "./TextToDialogueStreamRequestOutputFormat";
|
|
8
|
-
export * from "./TextToDialogueStreamWithTimestampsRequestOutputFormat";
|
|
@@ -18,7 +18,3 @@ __exportStar(require("./BodyTextToDialogueFullWithTimestampsApplyTextNormalizati
|
|
|
18
18
|
__exportStar(require("./BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization"), exports);
|
|
19
19
|
__exportStar(require("./BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization"), exports);
|
|
20
20
|
__exportStar(require("./BodyTextToDialogueStreamWithTimestampsApplyTextNormalization"), exports);
|
|
21
|
-
__exportStar(require("./TextToDialogueConvertRequestOutputFormat"), exports);
|
|
22
|
-
__exportStar(require("./TextToDialogueConvertWithTimestampsRequestOutputFormat"), exports);
|
|
23
|
-
__exportStar(require("./TextToDialogueStreamRequestOutputFormat"), exports);
|
|
24
|
-
__exportStar(require("./TextToDialogueStreamWithTimestampsRequestOutputFormat"), exports);
|
|
@@ -14,7 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./TextToVoiceCreatePreviewsRequestOutputFormat"), exports);
|
|
18
|
-
__exportStar(require("./TextToVoiceDesignRequestOutputFormat"), exports);
|
|
19
|
-
__exportStar(require("./TextToVoiceRemixRequestOutputFormat"), exports);
|
|
20
17
|
__exportStar(require("./VoiceDesignRequestModelModelId"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../../index";
|
|
4
|
+
import { WorkspaceResourceType } from "../../../../../../types/WorkspaceResourceType";
|
|
5
|
+
export declare const BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost: core.serialization.Schema<serializers.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost.Raw, ElevenLabs.workspace.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost>;
|
|
6
|
+
export declare namespace BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost {
|
|
7
|
+
interface Raw {
|
|
8
|
+
resource_type: WorkspaceResourceType.Raw;
|
|
9
|
+
target_user_id: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -34,28 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
const core = __importStar(require("
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"mp3_44100_96",
|
|
45
|
-
"mp3_44100_128",
|
|
46
|
-
"mp3_44100_192",
|
|
47
|
-
"pcm_8000",
|
|
48
|
-
"pcm_16000",
|
|
49
|
-
"pcm_22050",
|
|
50
|
-
"pcm_24000",
|
|
51
|
-
"pcm_32000",
|
|
52
|
-
"pcm_44100",
|
|
53
|
-
"pcm_48000",
|
|
54
|
-
"ulaw_8000",
|
|
55
|
-
"alaw_8000",
|
|
56
|
-
"opus_48000_32",
|
|
57
|
-
"opus_48000_64",
|
|
58
|
-
"opus_48000_96",
|
|
59
|
-
"opus_48000_128",
|
|
60
|
-
"opus_48000_192",
|
|
61
|
-
]);
|
|
37
|
+
exports.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
39
|
+
const WorkspaceResourceType_1 = require("../../../../../../types/WorkspaceResourceType");
|
|
40
|
+
exports.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost = core.serialization.object({
|
|
41
|
+
resourceType: core.serialization.property("resource_type", WorkspaceResourceType_1.WorkspaceResourceType),
|
|
42
|
+
targetUserId: core.serialization.property("target_user_id", core.serialization.string()),
|
|
43
|
+
});
|
package/dist/serialization/resources/workspace/resources/resources/client/requests/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
export { BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost } from "./BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost";
|
|
1
2
|
export { BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost } from "./BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost";
|
|
2
3
|
export { BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost } from "./BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost = exports.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost = void 0;
|
|
3
|
+
exports.BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost = exports.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost = exports.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost = void 0;
|
|
4
|
+
var BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost_1 = require("./BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost");
|
|
5
|
+
Object.defineProperty(exports, "BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost", { enumerable: true, get: function () { return BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost_1.BodyCopyWorkspaceResourceToAnotherWorkspaceV1WorkspaceResourcesResourceIdCopyToWorkspacePost; } });
|
|
4
6
|
var BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost_1 = require("./BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost");
|
|
5
7
|
Object.defineProperty(exports, "BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost", { enumerable: true, get: function () { return BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost_1.BodyShareWorkspaceResourceV1WorkspaceResourcesResourceIdSharePost; } });
|
|
6
8
|
var BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost_1 = require("./BodyUnshareWorkspaceResourceV1WorkspaceResourcesResourceIdUnsharePost");
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const AllowedOutputFormats: core.serialization.Schema<serializers.AllowedOutputFormats.Raw, ElevenLabs.AllowedOutputFormats>;
|
|
5
|
+
export declare namespace AllowedOutputFormats {
|
|
6
|
+
type Raw = "mp3_22050_32" | "mp3_24000_48" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_8000" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_32000" | "pcm_44100" | "pcm_48000" | "ulaw_8000" | "alaw_8000" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "opus_48000_128" | "opus_48000_192";
|
|
7
|
+
}
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
38
|
-
const core = __importStar(require("
|
|
39
|
-
exports.
|
|
37
|
+
exports.AllowedOutputFormats = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.AllowedOutputFormats = core.serialization.enum_([
|
|
40
40
|
"mp3_22050_32",
|
|
41
41
|
"mp3_24000_48",
|
|
42
42
|
"mp3_44100_32",
|
|
@@ -16,6 +16,7 @@ export declare namespace BatchCallDetailedResponse {
|
|
|
16
16
|
agent_id: string;
|
|
17
17
|
created_at_unix: number;
|
|
18
18
|
scheduled_time_unix: number;
|
|
19
|
+
timezone?: string | null;
|
|
19
20
|
total_calls_dispatched: number;
|
|
20
21
|
total_calls_scheduled: number;
|
|
21
22
|
total_calls_finished: number;
|
|
@@ -49,6 +49,7 @@ exports.BatchCallDetailedResponse = core.serialization.object({
|
|
|
49
49
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
50
50
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
|
|
51
51
|
scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number()),
|
|
52
|
+
timezone: core.serialization.string().optional(),
|
|
52
53
|
totalCallsDispatched: core.serialization.property("total_calls_dispatched", core.serialization.number()),
|
|
53
54
|
totalCallsScheduled: core.serialization.property("total_calls_scheduled", core.serialization.number()),
|
|
54
55
|
totalCallsFinished: core.serialization.property("total_calls_finished", core.serialization.number()),
|
|
@@ -48,6 +48,7 @@ exports.BatchCallResponse = core.serialization.object({
|
|
|
48
48
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
49
49
|
createdAtUnix: core.serialization.property("created_at_unix", core.serialization.number()),
|
|
50
50
|
scheduledTimeUnix: core.serialization.property("scheduled_time_unix", core.serialization.number()),
|
|
51
|
+
timezone: core.serialization.string().optional(),
|
|
51
52
|
totalCallsDispatched: core.serialization.property("total_calls_dispatched", core.serialization.number()),
|
|
52
53
|
totalCallsScheduled: core.serialization.property("total_calls_scheduled", core.serialization.number()),
|
|
53
54
|
totalCallsFinished: core.serialization.property("total_calls_finished", core.serialization.number()),
|
|
@@ -10,7 +10,6 @@ import { ConversationHistoryBatchCallModel } from "./ConversationHistoryBatchCal
|
|
|
10
10
|
import { ConversationHistoryElevenAssistantCommonModel } from "./ConversationHistoryElevenAssistantCommonModel";
|
|
11
11
|
import { ConversationHistoryErrorCommonModel } from "./ConversationHistoryErrorCommonModel";
|
|
12
12
|
import { ConversationHistoryFeedbackCommonModel } from "./ConversationHistoryFeedbackCommonModel";
|
|
13
|
-
import { ConversationHistoryMetadataCommonModelInitiationTrigger } from "./ConversationHistoryMetadataCommonModelInitiationTrigger";
|
|
14
13
|
import { ConversationHistoryMetadataCommonModelPhoneCall } from "./ConversationHistoryMetadataCommonModelPhoneCall";
|
|
15
14
|
import { ConversationHistoryRagUsageCommonModel } from "./ConversationHistoryRagUsageCommonModel";
|
|
16
15
|
import { ConversationInitiationSource } from "./ConversationInitiationSource";
|
|
@@ -41,7 +40,6 @@ export declare namespace ConversationHistoryMetadataCommonModel {
|
|
|
41
40
|
conversation_initiation_source?: ConversationInitiationSource.Raw | null;
|
|
42
41
|
conversation_initiation_source_version?: string | null;
|
|
43
42
|
timezone?: string | null;
|
|
44
|
-
initiation_trigger?: ConversationHistoryMetadataCommonModelInitiationTrigger.Raw | null;
|
|
45
43
|
async_metadata?: AsyncConversationMetadata.Raw | null;
|
|
46
44
|
whatsapp?: WhatsAppConversationInfo.Raw | null;
|
|
47
45
|
agent_created_from?: AgentDefinitionSource.Raw | null;
|
|
@@ -45,7 +45,6 @@ const ConversationHistoryBatchCallModel_1 = require("./ConversationHistoryBatchC
|
|
|
45
45
|
const ConversationHistoryElevenAssistantCommonModel_1 = require("./ConversationHistoryElevenAssistantCommonModel");
|
|
46
46
|
const ConversationHistoryErrorCommonModel_1 = require("./ConversationHistoryErrorCommonModel");
|
|
47
47
|
const ConversationHistoryFeedbackCommonModel_1 = require("./ConversationHistoryFeedbackCommonModel");
|
|
48
|
-
const ConversationHistoryMetadataCommonModelInitiationTrigger_1 = require("./ConversationHistoryMetadataCommonModelInitiationTrigger");
|
|
49
48
|
const ConversationHistoryMetadataCommonModelPhoneCall_1 = require("./ConversationHistoryMetadataCommonModelPhoneCall");
|
|
50
49
|
const ConversationHistoryRagUsageCommonModel_1 = require("./ConversationHistoryRagUsageCommonModel");
|
|
51
50
|
const ConversationInitiationSource_1 = require("./ConversationInitiationSource");
|
|
@@ -74,7 +73,6 @@ exports.ConversationHistoryMetadataCommonModel = core.serialization.object({
|
|
|
74
73
|
conversationInitiationSource: core.serialization.property("conversation_initiation_source", ConversationInitiationSource_1.ConversationInitiationSource.optional()),
|
|
75
74
|
conversationInitiationSourceVersion: core.serialization.property("conversation_initiation_source_version", core.serialization.string().optional()),
|
|
76
75
|
timezone: core.serialization.string().optional(),
|
|
77
|
-
initiationTrigger: core.serialization.property("initiation_trigger", ConversationHistoryMetadataCommonModelInitiationTrigger_1.ConversationHistoryMetadataCommonModelInitiationTrigger.optional()),
|
|
78
76
|
asyncMetadata: core.serialization.property("async_metadata", AsyncConversationMetadata_1.AsyncConversationMetadata.optional()),
|
|
79
77
|
whatsapp: WhatsAppConversationInfo_1.WhatsAppConversationInfo.optional(),
|
|
80
78
|
agentCreatedFrom: core.serialization.property("agent_created_from", AgentDefinitionSource_1.AgentDefinitionSource.optional()),
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ConversationInitiationSource: core.serialization.Schema<serializers.ConversationInitiationSource.Raw, ElevenLabs.ConversationInitiationSource>;
|
|
5
5
|
export declare namespace ConversationInitiationSource {
|
|
6
|
-
type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp" | "flutter_sdk";
|
|
6
|
+
type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp" | "flutter_sdk" | "zendesk_integration";
|
|
7
7
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const DetectedEntity: core.serialization.ObjectSchema<serializers.DetectedEntity.Raw, ElevenLabs.DetectedEntity>;
|
|
5
|
+
export declare namespace DetectedEntity {
|
|
6
|
+
interface Raw {
|
|
7
|
+
text: string;
|
|
8
|
+
entity_type: string;
|
|
9
|
+
start_char: number;
|
|
10
|
+
end_char: number;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DetectedEntity = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.DetectedEntity = core.serialization.object({
|
|
40
|
+
text: core.serialization.string(),
|
|
41
|
+
entityType: core.serialization.property("entity_type", core.serialization.string()),
|
|
42
|
+
startChar: core.serialization.property("start_char", core.serialization.number()),
|
|
43
|
+
endChar: core.serialization.property("end_char", core.serialization.number()),
|
|
44
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { DubbingTranscriptUtterance } from "./DubbingTranscriptUtterance";
|
|
5
|
+
export declare const DubbingTranscript: core.serialization.ObjectSchema<serializers.DubbingTranscript.Raw, ElevenLabs.DubbingTranscript>;
|
|
6
|
+
export declare namespace DubbingTranscript {
|
|
7
|
+
interface Raw {
|
|
8
|
+
language: string;
|
|
9
|
+
utterances: DubbingTranscriptUtterance.Raw[];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DubbingTranscript = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const DubbingTranscriptUtterance_1 = require("./DubbingTranscriptUtterance");
|
|
40
|
+
exports.DubbingTranscript = core.serialization.object({
|
|
41
|
+
language: core.serialization.string(),
|
|
42
|
+
utterances: core.serialization.list(DubbingTranscriptUtterance_1.DubbingTranscriptUtterance),
|
|
43
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { DubbingTranscript } from "./DubbingTranscript";
|
|
5
|
+
import { DubbingTranscriptsResponseModelTranscriptFormat } from "./DubbingTranscriptsResponseModelTranscriptFormat";
|
|
6
|
+
export declare const DubbingTranscriptsResponseModel: core.serialization.ObjectSchema<serializers.DubbingTranscriptsResponseModel.Raw, ElevenLabs.DubbingTranscriptsResponseModel>;
|
|
7
|
+
export declare namespace DubbingTranscriptsResponseModel {
|
|
8
|
+
interface Raw {
|
|
9
|
+
transcript_format: DubbingTranscriptsResponseModelTranscriptFormat.Raw;
|
|
10
|
+
srt?: string | null;
|
|
11
|
+
webvtt?: string | null;
|
|
12
|
+
json?: DubbingTranscript.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DubbingTranscriptsResponseModel = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const DubbingTranscript_1 = require("./DubbingTranscript");
|
|
40
|
+
const DubbingTranscriptsResponseModelTranscriptFormat_1 = require("./DubbingTranscriptsResponseModelTranscriptFormat");
|
|
41
|
+
exports.DubbingTranscriptsResponseModel = core.serialization.object({
|
|
42
|
+
transcriptFormat: core.serialization.property("transcript_format", DubbingTranscriptsResponseModelTranscriptFormat_1.DubbingTranscriptsResponseModelTranscriptFormat),
|
|
43
|
+
srt: core.serialization.string().optional(),
|
|
44
|
+
webvtt: core.serialization.string().optional(),
|
|
45
|
+
json: DubbingTranscript_1.DubbingTranscript.optional(),
|
|
46
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const DubbingTranscriptsResponseModelTranscriptFormat: core.serialization.Schema<serializers.DubbingTranscriptsResponseModelTranscriptFormat.Raw, ElevenLabs.DubbingTranscriptsResponseModelTranscriptFormat>;
|
|
5
|
+
export declare namespace DubbingTranscriptsResponseModelTranscriptFormat {
|
|
6
|
+
type Raw = "srt" | "webvtt" | "json";
|
|
7
|
+
}
|
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.DubbingTranscriptsResponseModelTranscriptFormat = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.DubbingTranscriptsResponseModelTranscriptFormat = core.serialization.enum_(["srt", "webvtt", "json"]);
|
|
@@ -6,6 +6,7 @@ import { AgentPlatformSettingsResponseModel } from "./AgentPlatformSettingsRespo
|
|
|
6
6
|
import { AgentWorkflowResponseModel } from "./AgentWorkflowResponseModel";
|
|
7
7
|
import { ConversationalConfig } from "./ConversationalConfig";
|
|
8
8
|
import { GetAgentResponseModelPhoneNumbersItem } from "./GetAgentResponseModelPhoneNumbersItem";
|
|
9
|
+
import { GetWhatsAppAccountResponse } from "./GetWhatsAppAccountResponse";
|
|
9
10
|
import { ResourceAccessInfo } from "./ResourceAccessInfo";
|
|
10
11
|
export declare const GetAgentResponseModel: core.serialization.ObjectSchema<serializers.GetAgentResponseModel.Raw, ElevenLabs.GetAgentResponseModel>;
|
|
11
12
|
export declare namespace GetAgentResponseModel {
|
|
@@ -16,6 +17,7 @@ export declare namespace GetAgentResponseModel {
|
|
|
16
17
|
metadata: AgentMetadataResponseModel.Raw;
|
|
17
18
|
platform_settings?: AgentPlatformSettingsResponseModel.Raw | null;
|
|
18
19
|
phone_numbers?: GetAgentResponseModelPhoneNumbersItem.Raw[] | null;
|
|
20
|
+
whatsapp_accounts?: GetWhatsAppAccountResponse.Raw[] | null;
|
|
19
21
|
workflow?: AgentWorkflowResponseModel.Raw | null;
|
|
20
22
|
access_info?: ResourceAccessInfo.Raw | null;
|
|
21
23
|
tags?: string[] | null;
|
|
@@ -41,6 +41,7 @@ const AgentPlatformSettingsResponseModel_1 = require("./AgentPlatformSettingsRes
|
|
|
41
41
|
const AgentWorkflowResponseModel_1 = require("./AgentWorkflowResponseModel");
|
|
42
42
|
const ConversationalConfig_1 = require("./ConversationalConfig");
|
|
43
43
|
const GetAgentResponseModelPhoneNumbersItem_1 = require("./GetAgentResponseModelPhoneNumbersItem");
|
|
44
|
+
const GetWhatsAppAccountResponse_1 = require("./GetWhatsAppAccountResponse");
|
|
44
45
|
const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
|
|
45
46
|
exports.GetAgentResponseModel = core.serialization.object({
|
|
46
47
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
@@ -49,6 +50,7 @@ exports.GetAgentResponseModel = core.serialization.object({
|
|
|
49
50
|
metadata: AgentMetadataResponseModel_1.AgentMetadataResponseModel,
|
|
50
51
|
platformSettings: core.serialization.property("platform_settings", AgentPlatformSettingsResponseModel_1.AgentPlatformSettingsResponseModel.optional()),
|
|
51
52
|
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(GetAgentResponseModelPhoneNumbersItem_1.GetAgentResponseModelPhoneNumbersItem).optional()),
|
|
53
|
+
whatsappAccounts: core.serialization.property("whatsapp_accounts", core.serialization.list(GetWhatsAppAccountResponse_1.GetWhatsAppAccountResponse).optional()),
|
|
52
54
|
workflow: AgentWorkflowResponseModel_1.AgentWorkflowResponseModel.optional(),
|
|
53
55
|
accessInfo: core.serialization.property("access_info", ResourceAccessInfo_1.ResourceAccessInfo.optional()),
|
|
54
56
|
tags: core.serialization.list(core.serialization.string()).optional(),
|