@elevenlabs/elevenlabs-js 2.6.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +14 -1
- package/Client.js +77 -12
- package/api/resources/audioIsolation/client/Client.d.ts +1 -1
- package/api/resources/audioIsolation/client/Client.js +2 -2
- package/api/resources/audioNative/client/Client.d.ts +1 -1
- package/api/resources/audioNative/client/Client.js +3 -3
- package/api/resources/conversationalAi/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/client/Client.js +5 -5
- package/api/resources/conversationalAi/conversation/Conversation.js +5 -2
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +5 -5
- package/api/resources/conversationalAi/resources/agents/client/Client.js +12 -12
- package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +4 -2
- package/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +4 -2
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/batchCalls/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +16 -1
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +98 -5
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +28 -0
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
- package/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/index.js +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +11 -0
- package/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +10 -0
- package/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/types/index.js +17 -0
- package/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/index.d.ts +2 -1
- package/api/resources/conversationalAi/resources/index.js +3 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +8 -8
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
- package/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
- package/api/resources/conversationalAi/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.js +6 -6
- package/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
- package/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
- package/api/resources/dubbing/client/Client.d.ts +14 -1
- package/api/resources/dubbing/client/Client.js +94 -4
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +26 -0
- package/api/resources/dubbing/client/requests/index.d.ts +1 -0
- package/api/resources/dubbing/index.d.ts +1 -0
- package/api/resources/dubbing/index.js +1 -0
- package/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/client/Client.js +5 -5
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/api/resources/dubbing/resources/transcript/client/Client.d.ts +1 -1
- package/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +12 -0
- package/api/resources/dubbing/types/DubbingListRequestDubbingStatus.js +11 -0
- package/api/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +12 -0
- package/api/resources/dubbing/types/DubbingListRequestFilterByCreator.js +11 -0
- package/api/resources/dubbing/types/index.d.ts +2 -0
- package/api/resources/dubbing/types/index.js +18 -0
- package/api/resources/forcedAlignment/client/Client.d.ts +1 -1
- package/api/resources/forcedAlignment/client/Client.js +1 -1
- package/api/resources/history/client/Client.d.ts +1 -1
- package/api/resources/history/client/Client.js +5 -5
- package/api/resources/index.d.ts +3 -1
- package/api/resources/index.js +4 -2
- package/api/resources/models/client/Client.d.ts +1 -1
- package/api/resources/models/client/Client.js +1 -1
- package/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +5 -5
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
- package/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
- package/api/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/samples/client/Client.js +1 -1
- package/api/resources/serviceAccounts/client/Client.d.ts +48 -0
- package/api/resources/serviceAccounts/client/Client.js +134 -0
- package/api/resources/serviceAccounts/client/index.d.ts +1 -0
- package/api/resources/serviceAccounts/client/index.js +2 -0
- package/api/resources/serviceAccounts/index.d.ts +2 -0
- package/api/resources/serviceAccounts/index.js +18 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +96 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +341 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +18 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +22 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
- package/api/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +8 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +31 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +33 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +8 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +31 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +33 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
- package/api/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
- package/api/resources/serviceAccounts/resources/index.d.ts +3 -0
- package/api/resources/serviceAccounts/resources/index.js +42 -0
- package/api/resources/speechToSpeech/client/Client.d.ts +1 -1
- package/api/resources/speechToSpeech/client/Client.js +2 -2
- package/api/resources/speechToText/client/Client.d.ts +3 -3
- package/api/resources/speechToText/client/Client.js +9 -3
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +9 -0
- package/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +5 -0
- package/api/resources/speechToText/types/index.d.ts +1 -0
- package/api/resources/speechToText/types/index.js +1 -0
- package/api/resources/studio/client/Client.d.ts +1 -1
- package/api/resources/studio/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/client/Client.d.ts +2 -5
- package/api/resources/studio/resources/projects/client/Client.js +16 -13
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +4 -7
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +1 -1
- package/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- package/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/api/resources/textToDialogue/client/Client.js +2 -2
- package/api/resources/textToSoundEffects/client/Client.d.ts +1 -1
- package/api/resources/textToSoundEffects/client/Client.js +1 -1
- package/api/resources/textToSpeech/client/Client.d.ts +1 -1
- package/api/resources/textToSpeech/client/Client.js +4 -4
- 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/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToVoice/client/Client.d.ts +1 -18
- package/api/resources/textToVoice/client/Client.js +3 -80
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +4 -0
- package/api/resources/textToVoice/client/requests/index.d.ts +0 -1
- package/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -1
- package/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
- package/api/resources/usage/client/Client.d.ts +1 -1
- package/api/resources/usage/client/Client.js +1 -1
- package/api/resources/user/client/Client.d.ts +1 -1
- package/api/resources/user/client/Client.js +1 -1
- package/api/resources/user/resources/subscription/client/Client.d.ts +1 -1
- package/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/api/resources/voices/client/Client.d.ts +1 -1
- package/api/resources/voices/client/Client.js +17 -9
- package/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +4 -0
- package/api/resources/voices/resources/ivc/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/api/resources/voices/resources/samples/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/api/resources/webhooks/client/Client.d.ts +1 -1
- package/api/resources/webhooks/client/Client.js +1 -1
- package/api/resources/workspace/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/client/Client.js +1 -1
- package/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/invites/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/api/resources/workspace/resources/members/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/members/client/Client.js +2 -2
- package/api/resources/workspace/resources/resources/client/Client.d.ts +1 -1
- package/api/resources/workspace/resources/resources/client/Client.js +3 -3
- package/api/types/AddProjectRequest.d.ts +1 -130
- package/api/types/AgentConfig.d.ts +11 -1
- package/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/api/types/AgentSummaryResponseModel.d.ts +2 -0
- package/api/types/AgentTestingSettings.d.ts +10 -0
- package/api/types/AsrProvider.d.ts +1 -5
- package/api/types/AsrProvider.js +0 -5
- package/api/types/BatchCallRecipientStatus.d.ts +2 -1
- package/api/types/BatchCallRecipientStatus.js +1 -0
- package/api/types/BuiltInToolsInput.d.ts +2 -0
- package/api/types/BuiltInToolsOutput.d.ts +2 -0
- package/api/types/CaptionStyleCharacterAnimationModel.d.ts +8 -0
- package/api/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +8 -0
- package/api/types/CaptionStyleCharacterAnimationModelEnterType.js +10 -0
- package/api/types/CaptionStyleCharacterAnimationModelExitType.d.ts +8 -0
- package/api/types/CaptionStyleCharacterAnimationModelExitType.js +10 -0
- package/api/types/CaptionStyleHorizontalPlacementModel.d.ts +8 -0
- package/api/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +9 -0
- package/api/types/CaptionStyleHorizontalPlacementModelAlign.js +11 -0
- package/api/types/CaptionStyleModel.d.ts +29 -0
- package/api/types/CaptionStyleModelTextAlign.d.ts +9 -0
- package/api/types/CaptionStyleModelTextAlign.js +11 -0
- package/api/types/CaptionStyleModelTextStyle.d.ts +8 -0
- package/api/types/CaptionStyleModelTextStyle.js +10 -0
- package/api/types/CaptionStyleModelTextWeight.d.ts +8 -0
- package/api/types/CaptionStyleModelTextWeight.js +10 -0
- package/api/types/CaptionStyleSectionAnimationModel.d.ts +8 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +9 -0
- package/api/types/CaptionStyleSectionAnimationModelEnterType.js +11 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +9 -0
- package/api/types/CaptionStyleSectionAnimationModelExitType.js +11 -0
- package/api/types/CaptionStyleTemplateModel.d.ts +7 -0
- package/api/types/CaptionStyleVerticalPlacementModel.d.ts +8 -0
- package/api/types/CaptionStyleVerticalPlacementModelAlign.d.ts +9 -0
- package/api/types/CaptionStyleVerticalPlacementModelAlign.js +11 -0
- package/api/types/CaptionStyleWordAnimationModel.d.ts +8 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +9 -0
- package/api/types/CaptionStyleWordAnimationModelEnterType.js +11 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.d.ts +9 -0
- package/api/types/CaptionStyleWordAnimationModelExitType.js +11 -0
- package/api/types/ClientToolConfigInput.d.ts +6 -0
- package/api/types/ClientToolConfigOutput.d.ts +6 -0
- package/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +5 -0
- package/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +5 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +14 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +9 -0
- package/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +11 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +15 -0
- package/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +37 -0
- package/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +1 -1
- package/api/types/ConversationInitiationClientDataInternal.d.ts +1 -0
- package/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
- package/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
- package/api/types/ConversationInitiationSource.d.ts +2 -1
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/ConversationInitiationSourceInfo.d.ts +13 -0
- package/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/api/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/api/types/ConversationalConfig.d.ts +1 -1
- package/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +4 -0
- package/api/types/CreateTwilioPhoneNumberRequest.d.ts +4 -0
- package/api/types/CustomLlm.d.ts +2 -0
- package/api/types/DubbedSegment.d.ts +1 -0
- package/api/types/DubbingMetadataPageResponseModel.d.ts +9 -0
- package/api/types/DubbingMetadataResponse.d.ts +4 -0
- package/api/types/DynamicVariableAssignment.d.ts +14 -0
- package/api/types/DynamicVariableUpdateCommonModel.d.ts +14 -0
- package/api/types/EndCallToolResultModel.d.ts +8 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +4 -0
- package/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +4 -0
- package/api/types/GetPhoneNumberTwilioResponseModel.d.ts +4 -0
- package/api/types/LanguageDetectionToolResultModel.d.ts +8 -0
- package/api/types/Llm.d.ts +5 -1
- package/api/types/Llm.js +4 -0
- package/api/types/McpToolConfigInput.d.ts +6 -0
- package/api/types/McpToolConfigOutput.d.ts +6 -0
- package/api/types/MultichannelSpeechToTextResponseModel.d.ts +11 -0
- package/api/types/PlayDtmfResultErrorModel.d.ts +8 -0
- package/api/types/PlayDtmfResultSuccessModel.d.ts +8 -0
- package/api/types/PlayDtmfResultSuccessModel.js +5 -0
- package/api/types/ProjectExtendedResponse.d.ts +4 -0
- package/api/types/ProjectResponse.d.ts +4 -0
- package/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/api/types/PromptAgentApiModelOverride.d.ts +2 -0
- package/api/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
- package/api/types/SaveVoicePreviewRequest.d.ts +4 -0
- package/api/types/SaveVoicePreviewRequest.js +5 -0
- package/api/types/SegmentSubtitleFrame.d.ts +8 -0
- package/api/types/SegmentSubtitleFrame.js +5 -0
- package/api/types/SkipTurnToolResponseModel.d.ts +7 -0
- package/api/types/SkipTurnToolResponseModel.js +5 -0
- package/api/types/SpeakerSegment.d.ts +1 -0
- package/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/api/types/SystemToolConfigInput.d.ts +6 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutput.d.ts +6 -0
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
- package/api/types/TokenResponseModel.d.ts +6 -0
- package/api/types/TokenResponseModel.js +5 -0
- package/api/types/Tool.d.ts +3 -0
- package/api/types/ToolResponseModel.d.ts +1 -0
- package/api/types/ToolType.d.ts +10 -0
- package/api/types/ToolType.js +12 -0
- package/api/types/ToolUsageStatsResponseModel.d.ts +8 -0
- package/api/types/ToolUsageStatsResponseModel.js +5 -0
- package/api/types/TransferToAgentToolResultErrorModel.d.ts +8 -0
- package/api/types/TransferToAgentToolResultErrorModel.js +5 -0
- package/api/types/TransferToAgentToolResultSuccessModel.d.ts +12 -0
- package/api/types/TransferToAgentToolResultSuccessModel.js +5 -0
- package/api/types/TransferToNumberResultErrorModel.d.ts +8 -0
- package/api/types/TransferToNumberResultErrorModel.js +5 -0
- package/api/types/TransferToNumberResultSipSuccessModel.d.ts +9 -0
- package/api/types/TransferToNumberResultSipSuccessModel.js +5 -0
- package/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +12 -0
- package/api/types/TransferToNumberResultTwilioSuccessModel.js +5 -0
- package/api/types/UpdatePronunciationDictionariesRequest.d.ts +1 -7
- package/api/types/VoiceResponseModelSafetyControl.d.ts +1 -2
- package/api/types/VoiceResponseModelSafetyControl.js +0 -1
- package/api/types/VoicemailDetectionToolConfig.d.ts +14 -0
- package/api/types/VoicemailDetectionToolConfig.js +5 -0
- package/api/types/WebhookToolConfigInput.d.ts +6 -0
- package/api/types/WebhookToolConfigOutput.d.ts +6 -0
- package/api/types/WidgetConfig.d.ts +4 -0
- package/api/types/WidgetConfigResponse.d.ts +4 -0
- package/api/types/WorkspaceApiKeyListResponseModel.d.ts +7 -0
- package/api/types/WorkspaceApiKeyListResponseModel.js +5 -0
- package/api/types/WorkspaceApiKeyResponseModel.d.ts +15 -0
- package/api/types/WorkspaceApiKeyResponseModel.js +5 -0
- package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +31 -0
- package/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +33 -0
- package/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +6 -0
- package/api/types/WorkspaceCreateApiKeyResponseModel.js +5 -0
- package/api/types/WorkspaceResourceType.d.ts +2 -1
- package/api/types/WorkspaceResourceType.js +1 -0
- package/api/types/WorkspaceServiceAccountListResponseModel.d.ts +7 -0
- package/api/types/WorkspaceServiceAccountListResponseModel.js +5 -0
- package/api/types/WorkspaceServiceAccountResponseModel.d.ts +10 -0
- package/api/types/WorkspaceServiceAccountResponseModel.js +5 -0
- package/api/types/index.d.ts +54 -21
- package/api/types/index.js +54 -21
- package/dist/Client.d.ts +14 -1
- package/dist/Client.js +77 -12
- package/dist/api/resources/audioIsolation/client/Client.d.ts +1 -1
- package/dist/api/resources/audioIsolation/client/Client.js +2 -2
- package/dist/api/resources/audioNative/client/Client.d.ts +1 -1
- package/dist/api/resources/audioNative/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/conversation/Conversation.js +5 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +5 -5
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +12 -12
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +4 -2
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +4 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/link/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/batchCalls/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +16 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +98 -5
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +28 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +8 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/index.js +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/feedback/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +10 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/types/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/dashboard/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/dashboard/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/index.js +3 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/document/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +8 -8
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/resources/chunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/llmUsage/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/approvalPolicy/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolApprovals/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/tools/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +5 -5
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/secrets/client/Client.js +3 -3
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/settings/client/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/sipTrunk/client/Client.js +1 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +6 -6
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.d.ts +1 -1
- package/dist/api/resources/conversationalAi/resources/twilio/client/Client.js +1 -1
- package/dist/api/resources/dubbing/client/Client.d.ts +14 -1
- package/dist/api/resources/dubbing/client/Client.js +94 -4
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.d.ts +26 -0
- package/dist/api/resources/dubbing/client/requests/DubbingListRequest.js +5 -0
- package/dist/api/resources/dubbing/client/requests/index.d.ts +1 -0
- package/dist/api/resources/dubbing/index.d.ts +1 -0
- package/dist/api/resources/dubbing/index.js +1 -0
- package/dist/api/resources/dubbing/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/client/Client.js +5 -5
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/language/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/segment/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/client/Client.js +2 -2
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/resource/resources/speaker/resources/segment/client/Client.js +1 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.d.ts +1 -1
- package/dist/api/resources/dubbing/resources/transcript/client/Client.js +1 -1
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +12 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestDubbingStatus.js +11 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +12 -0
- package/dist/api/resources/dubbing/types/DubbingListRequestFilterByCreator.js +11 -0
- package/dist/api/resources/dubbing/types/index.d.ts +2 -0
- package/dist/api/resources/dubbing/types/index.js +18 -0
- package/dist/api/resources/forcedAlignment/client/Client.d.ts +1 -1
- package/dist/api/resources/forcedAlignment/client/Client.js +1 -1
- package/dist/api/resources/history/client/Client.d.ts +1 -1
- package/dist/api/resources/history/client/Client.js +5 -5
- package/dist/api/resources/index.d.ts +3 -1
- package/dist/api/resources/index.js +4 -2
- package/dist/api/resources/models/client/Client.d.ts +1 -1
- package/dist/api/resources/models/client/Client.js +1 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +5 -5
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.d.ts +1 -1
- package/dist/api/resources/pronunciationDictionaries/resources/rules/client/Client.js +2 -2
- package/dist/api/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/samples/client/Client.js +1 -1
- package/dist/api/resources/serviceAccounts/client/Client.d.ts +48 -0
- package/dist/api/resources/serviceAccounts/client/Client.js +134 -0
- package/dist/api/resources/serviceAccounts/client/index.d.ts +1 -0
- package/dist/api/resources/serviceAccounts/client/index.js +2 -0
- package/dist/api/resources/serviceAccounts/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/index.js +18 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.d.ts +96 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/Client.js +341 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +18 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js +5 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +22 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +5 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +8 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +5 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +31 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +33 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +8 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +5 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +31 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +33 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
- package/dist/api/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
- package/dist/api/resources/serviceAccounts/resources/index.d.ts +3 -0
- package/dist/api/resources/serviceAccounts/resources/index.js +42 -0
- package/dist/api/resources/speechToSpeech/client/Client.d.ts +1 -1
- package/dist/api/resources/speechToSpeech/client/Client.js +2 -2
- package/dist/api/resources/speechToText/client/Client.d.ts +3 -3
- package/dist/api/resources/speechToText/client/Client.js +9 -3
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +9 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +5 -0
- package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.js +5 -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/studio/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/client/Client.d.ts +2 -5
- package/dist/api/resources/studio/resources/projects/client/Client.js +16 -13
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +4 -7
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/client/Client.js +6 -6
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/chapters/resources/snapshots/client/Client.js +3 -3
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/pronunciationDictionaries/client/Client.js +1 -1
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.d.ts +1 -1
- package/dist/api/resources/studio/resources/projects/resources/snapshots/client/Client.js +4 -4
- package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -1
- package/dist/api/resources/textToDialogue/client/Client.js +2 -2
- 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/textToSpeech/client/Client.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/Client.js +4 -4
- 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/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToVoice/client/Client.d.ts +1 -18
- package/dist/api/resources/textToVoice/client/Client.js +3 -80
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +4 -0
- package/dist/api/resources/textToVoice/client/requests/index.d.ts +0 -1
- package/dist/api/resources/textToVoice/resources/preview/client/Client.d.ts +1 -1
- package/dist/api/resources/textToVoice/resources/preview/client/Client.js +1 -1
- package/dist/api/resources/usage/client/Client.d.ts +1 -1
- package/dist/api/resources/usage/client/Client.js +1 -1
- package/dist/api/resources/user/client/Client.d.ts +1 -1
- package/dist/api/resources/user/client/Client.js +1 -1
- package/dist/api/resources/user/resources/subscription/client/Client.d.ts +1 -1
- package/dist/api/resources/user/resources/subscription/client/Client.js +1 -1
- package/dist/api/resources/voices/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/client/Client.js +17 -9
- package/dist/api/resources/voices/client/requests/VoicesSearchRequest.d.ts +4 -0
- package/dist/api/resources/voices/resources/ivc/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/ivc/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/Client.js +3 -3
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/speakers/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/waveform/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/Client.js +2 -2
- package/dist/api/resources/voices/resources/samples/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/samples/resources/audio/client/Client.js +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.d.ts +1 -1
- package/dist/api/resources/voices/resources/settings/client/Client.js +3 -3
- package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
- package/dist/api/resources/webhooks/client/Client.js +1 -1
- package/dist/api/resources/workspace/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/client/Client.js +1 -1
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/groups/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/invites/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/invites/client/Client.js +3 -3
- package/dist/api/resources/workspace/resources/members/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/members/client/Client.js +2 -2
- package/dist/api/resources/workspace/resources/resources/client/Client.d.ts +1 -1
- package/dist/api/resources/workspace/resources/resources/client/Client.js +3 -3
- package/dist/api/types/AddProjectRequest.d.ts +1 -130
- package/dist/api/types/AgentConfig.d.ts +11 -1
- package/dist/api/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/api/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/api/types/AgentSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/AgentTestingSettings.d.ts +10 -0
- package/dist/api/types/AgentTestingSettings.js +5 -0
- package/dist/api/types/AsrProvider.d.ts +1 -5
- package/dist/api/types/AsrProvider.js +0 -5
- package/dist/api/types/BatchCallRecipientStatus.d.ts +2 -1
- package/dist/api/types/BatchCallRecipientStatus.js +1 -0
- package/dist/api/types/BuiltInToolsInput.d.ts +2 -0
- package/dist/api/types/BuiltInToolsOutput.d.ts +2 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModel.js +5 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +8 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModelEnterType.js +10 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModelExitType.d.ts +8 -0
- package/dist/api/types/CaptionStyleCharacterAnimationModelExitType.js +10 -0
- package/dist/api/types/CaptionStyleHorizontalPlacementModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleHorizontalPlacementModel.js +5 -0
- package/dist/api/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +9 -0
- package/dist/api/types/CaptionStyleHorizontalPlacementModelAlign.js +11 -0
- package/dist/api/types/CaptionStyleModel.d.ts +29 -0
- package/dist/api/types/CaptionStyleModel.js +5 -0
- package/dist/api/types/CaptionStyleModelTextAlign.d.ts +9 -0
- package/dist/api/types/CaptionStyleModelTextAlign.js +11 -0
- package/dist/api/types/CaptionStyleModelTextStyle.d.ts +8 -0
- package/dist/api/types/CaptionStyleModelTextStyle.js +10 -0
- package/dist/api/types/CaptionStyleModelTextWeight.d.ts +8 -0
- package/dist/api/types/CaptionStyleModelTextWeight.js +10 -0
- package/dist/api/types/CaptionStyleSectionAnimationModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleSectionAnimationModel.js +5 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.d.ts +9 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelEnterType.js +11 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.d.ts +9 -0
- package/dist/api/types/CaptionStyleSectionAnimationModelExitType.js +11 -0
- package/dist/api/types/CaptionStyleTemplateModel.d.ts +7 -0
- package/dist/api/types/CaptionStyleTemplateModel.js +5 -0
- package/dist/api/types/CaptionStyleVerticalPlacementModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleVerticalPlacementModel.js +5 -0
- package/dist/api/types/CaptionStyleVerticalPlacementModelAlign.d.ts +9 -0
- package/dist/api/types/CaptionStyleVerticalPlacementModelAlign.js +11 -0
- package/dist/api/types/CaptionStyleWordAnimationModel.d.ts +8 -0
- package/dist/api/types/CaptionStyleWordAnimationModel.js +5 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.d.ts +9 -0
- package/dist/api/types/CaptionStyleWordAnimationModelEnterType.js +11 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.d.ts +9 -0
- package/dist/api/types/CaptionStyleWordAnimationModelExitType.js +11 -0
- package/dist/api/types/ClientToolConfigInput.d.ts +6 -0
- package/dist/api/types/ClientToolConfigOutput.d.ts +6 -0
- package/dist/api/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/api/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +5 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +1 -1
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +5 -0
- package/dist/api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +14 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +9 -0
- package/dist/api/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js +11 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +15 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +37 -0
- package/dist/api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +5 -0
- package/dist/api/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +1 -1
- package/dist/api/types/ConversationInitiationClientDataInternal.d.ts +1 -0
- package/dist/api/types/ConversationInitiationClientDataRequestInput.d.ts +1 -0
- package/dist/api/types/ConversationInitiationClientDataRequestOutput.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +2 -1
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/ConversationInitiationSourceInfo.d.ts +13 -0
- package/dist/api/types/ConversationInitiationSourceInfo.js +5 -0
- package/dist/api/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/dist/api/types/ConversationalConfig.d.ts +1 -1
- package/dist/api/types/CreateSipTrunkPhoneNumberRequest.d.ts +4 -0
- package/dist/api/types/CreateTwilioPhoneNumberRequest.d.ts +4 -0
- package/dist/api/types/CustomLlm.d.ts +2 -0
- package/dist/api/types/DubbedSegment.d.ts +1 -0
- package/dist/api/types/DubbingMetadataPageResponseModel.d.ts +9 -0
- package/dist/api/types/DubbingMetadataPageResponseModel.js +5 -0
- package/dist/api/types/DubbingMetadataResponse.d.ts +4 -0
- package/dist/api/types/DynamicVariableAssignment.d.ts +14 -0
- package/dist/api/types/DynamicVariableAssignment.js +5 -0
- package/dist/api/types/DynamicVariableUpdateCommonModel.d.ts +14 -0
- package/dist/api/types/DynamicVariableUpdateCommonModel.js +5 -0
- package/dist/api/types/EndCallToolResultModel.d.ts +8 -0
- package/dist/api/types/EndCallToolResultModel.js +5 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +4 -0
- package/dist/api/types/GetPhoneNumberSipTrunkResponseModel.d.ts +4 -0
- package/dist/api/types/GetPhoneNumberTwilioResponseModel.d.ts +4 -0
- package/dist/api/types/LanguageDetectionToolResultModel.d.ts +8 -0
- package/dist/api/types/LanguageDetectionToolResultModel.js +5 -0
- package/dist/api/types/Llm.d.ts +5 -1
- package/dist/api/types/Llm.js +4 -0
- package/dist/api/types/McpToolConfigInput.d.ts +6 -0
- package/dist/api/types/McpToolConfigOutput.d.ts +6 -0
- package/dist/api/types/MultichannelSpeechToTextResponseModel.d.ts +11 -0
- package/dist/api/types/MultichannelSpeechToTextResponseModel.js +5 -0
- package/dist/api/types/PlayDtmfResultErrorModel.d.ts +8 -0
- package/dist/api/types/PlayDtmfResultErrorModel.js +5 -0
- package/dist/api/types/PlayDtmfResultSuccessModel.d.ts +8 -0
- package/dist/api/types/PlayDtmfResultSuccessModel.js +5 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +4 -0
- package/dist/api/types/ProjectResponse.d.ts +4 -0
- package/dist/api/types/PromptAgentApiModelInput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOverride.d.ts +2 -0
- package/dist/api/types/PromptAgentApiModelOverrideConfig.d.ts +2 -0
- package/dist/api/types/SaveVoicePreviewRequest.d.ts +4 -0
- package/dist/api/types/SaveVoicePreviewRequest.js +5 -0
- package/dist/api/types/SegmentSubtitleFrame.d.ts +8 -0
- package/dist/api/types/SegmentSubtitleFrame.js +5 -0
- package/dist/api/types/SkipTurnToolResponseModel.d.ts +7 -0
- package/dist/api/types/SkipTurnToolResponseModel.js +5 -0
- package/dist/api/types/SpeakerSegment.d.ts +1 -0
- package/dist/api/types/SpeechToTextChunkResponseModel.d.ts +2 -0
- package/dist/api/types/SystemToolConfigInput.d.ts +6 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +6 -0
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/TextToSpeechApplyTextNormalizationEnum.d.ts +1 -1
- package/dist/api/types/TokenResponseModel.d.ts +6 -0
- package/dist/api/types/TokenResponseModel.js +5 -0
- package/dist/api/types/Tool.d.ts +3 -0
- package/dist/api/types/ToolResponseModel.d.ts +1 -0
- package/dist/api/types/ToolType.d.ts +10 -0
- package/dist/api/types/ToolType.js +12 -0
- package/dist/api/types/ToolUsageStatsResponseModel.d.ts +8 -0
- package/dist/api/types/ToolUsageStatsResponseModel.js +5 -0
- package/dist/api/types/TransferToAgentToolResultErrorModel.d.ts +8 -0
- package/dist/api/types/TransferToAgentToolResultErrorModel.js +5 -0
- package/dist/api/types/TransferToAgentToolResultSuccessModel.d.ts +12 -0
- package/dist/api/types/TransferToAgentToolResultSuccessModel.js +5 -0
- package/dist/api/types/TransferToNumberResultErrorModel.d.ts +8 -0
- package/dist/api/types/TransferToNumberResultErrorModel.js +5 -0
- package/dist/api/types/TransferToNumberResultSipSuccessModel.d.ts +9 -0
- package/dist/api/types/TransferToNumberResultSipSuccessModel.js +5 -0
- package/dist/api/types/TransferToNumberResultTwilioSuccessModel.d.ts +12 -0
- package/dist/api/types/TransferToNumberResultTwilioSuccessModel.js +5 -0
- package/dist/api/types/UpdatePronunciationDictionariesRequest.d.ts +1 -7
- package/dist/api/types/VoiceResponseModelSafetyControl.d.ts +1 -2
- package/dist/api/types/VoiceResponseModelSafetyControl.js +0 -1
- package/dist/api/types/VoicemailDetectionToolConfig.d.ts +14 -0
- package/dist/api/types/VoicemailDetectionToolConfig.js +5 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +6 -0
- package/dist/api/types/WebhookToolConfigOutput.d.ts +6 -0
- package/dist/api/types/WidgetConfig.d.ts +4 -0
- package/dist/api/types/WidgetConfigResponse.d.ts +4 -0
- package/dist/api/types/WorkspaceApiKeyListResponseModel.d.ts +7 -0
- package/dist/api/types/WorkspaceApiKeyListResponseModel.js +5 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.d.ts +15 -0
- package/dist/api/types/WorkspaceApiKeyResponseModel.js +5 -0
- package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +31 -0
- package/dist/api/types/WorkspaceApiKeyResponseModelPermissionsItem.js +33 -0
- package/dist/api/types/WorkspaceCreateApiKeyResponseModel.d.ts +6 -0
- package/dist/api/types/WorkspaceCreateApiKeyResponseModel.js +5 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -1
- package/dist/api/types/WorkspaceResourceType.js +1 -0
- package/dist/api/types/WorkspaceServiceAccountListResponseModel.d.ts +7 -0
- package/dist/api/types/WorkspaceServiceAccountListResponseModel.js +5 -0
- package/dist/api/types/WorkspaceServiceAccountResponseModel.d.ts +10 -0
- package/dist/api/types/WorkspaceServiceAccountResponseModel.js +5 -0
- package/dist/api/types/index.d.ts +54 -21
- package/dist/api/types/index.js +54 -21
- package/dist/environments.d.ts +4 -20
- package/dist/environments.js +4 -16
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/index.js +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +10 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +41 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/conversations/types/index.js +17 -0
- package/dist/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
- package/dist/serialization/resources/conversationalAi/resources/index.js +3 -2
- package/dist/serialization/resources/dubbing/index.d.ts +1 -0
- package/dist/serialization/resources/dubbing/index.js +1 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +10 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.js +41 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +10 -0
- package/dist/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.js +41 -0
- package/dist/serialization/resources/dubbing/types/index.d.ts +2 -0
- package/dist/serialization/resources/dubbing/types/index.js +18 -0
- package/dist/serialization/resources/index.d.ts +3 -1
- package/dist/serialization/resources/index.js +4 -2
- package/dist/serialization/resources/serviceAccounts/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/index.js +17 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +1 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +15 -0
- package/dist/serialization/{types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +6 -9
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +16 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +47 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +7 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +11 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +45 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +67 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +11 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +45 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +10 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +67 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
- package/dist/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
- package/dist/serialization/resources/serviceAccounts/resources/index.d.ts +3 -0
- package/dist/serialization/resources/serviceAccounts/resources/index.js +42 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +12 -0
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +43 -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/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/textToVoice/client/requests/index.js +1 -3
- package/dist/serialization/types/AddProjectRequest.d.ts +2 -34
- package/dist/serialization/types/AddProjectRequest.js +1 -33
- package/dist/serialization/types/AgentConfig.d.ts +9 -2
- package/dist/serialization/types/AgentConfig.js +8 -1
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/dist/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/dist/serialization/types/AgentSummaryResponseModel.d.ts +1 -0
- package/dist/serialization/types/AgentSummaryResponseModel.js +1 -0
- package/dist/serialization/types/AgentTestingSettings.d.ts +12 -0
- package/dist/serialization/types/AgentTestingSettings.js +43 -0
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/dist/serialization/types/BatchCallRecipientStatus.js +1 -1
- package/dist/serialization/types/BuiltInToolsInput.d.ts +1 -0
- package/dist/serialization/types/BuiltInToolsInput.js +1 -0
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +1 -0
- package/dist/serialization/types/BuiltInToolsOutput.js +1 -0
- package/dist/serialization/types/CaptionStyleCharacterAnimationModel.d.ts +15 -0
- package/dist/serialization/types/CaptionStyleCharacterAnimationModel.js +46 -0
- package/dist/serialization/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +10 -0
- package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostSourceType.js → CaptionStyleCharacterAnimationModelEnterType.js} +2 -2
- package/dist/serialization/types/CaptionStyleCharacterAnimationModelExitType.d.ts +10 -0
- package/{serialization/types/BodyAddProjectV1ProjectsAddPostFiction.js → dist/serialization/types/CaptionStyleCharacterAnimationModelExitType.js} +2 -2
- package/dist/serialization/types/CaptionStyleHorizontalPlacementModel.d.ts +14 -0
- package/dist/serialization/types/CaptionStyleHorizontalPlacementModel.js +45 -0
- package/dist/serialization/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +10 -0
- package/{serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.js → dist/serialization/types/CaptionStyleHorizontalPlacementModelAlign.js} +2 -2
- package/dist/serialization/types/CaptionStyleModel.d.ts +43 -0
- package/dist/serialization/types/CaptionStyleModel.js +74 -0
- package/dist/serialization/types/CaptionStyleModelTextAlign.d.ts +10 -0
- package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostFiction.js → CaptionStyleModelTextAlign.js} +2 -2
- package/dist/serialization/types/CaptionStyleModelTextStyle.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleModelTextStyle.js +41 -0
- package/dist/serialization/types/CaptionStyleModelTextWeight.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleModelTextWeight.js +41 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModel.d.ts +15 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModel.js +46 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +41 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleSectionAnimationModelExitType.js +41 -0
- package/dist/serialization/types/CaptionStyleTemplateModel.d.ts +13 -0
- package/dist/serialization/types/CaptionStyleTemplateModel.js +44 -0
- package/dist/serialization/types/CaptionStyleVerticalPlacementModel.d.ts +14 -0
- package/dist/serialization/types/CaptionStyleVerticalPlacementModel.js +45 -0
- package/dist/serialization/types/CaptionStyleVerticalPlacementModelAlign.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleVerticalPlacementModelAlign.js +41 -0
- package/dist/serialization/types/CaptionStyleWordAnimationModel.d.ts +15 -0
- package/{serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → dist/serialization/types/CaptionStyleWordAnimationModel.js} +6 -3
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleWordAnimationModelEnterType.js +41 -0
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +10 -0
- package/dist/serialization/types/CaptionStyleWordAnimationModelExitType.js +41 -0
- package/dist/serialization/types/ClientToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/ClientToolConfigInput.js +4 -0
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/ClientToolConfigOutput.js +4 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/dist/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationHistoryMetadataCommonModel.js +2 -0
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +12 -0
- package/dist/serialization/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +6 -8
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +12 -0
- package/{serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → dist/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js} +6 -8
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +21 -0
- package/dist/serialization/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +6 -3
- package/dist/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +10 -0
- package/dist/serialization/types/{BodyAddProjectV1ProjectsAddPostTargetAudience.js → ConversationHistoryTranscriptOtherToolsResultCommonModelType.js} +2 -2
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +22 -0
- package/{serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js} +13 -5
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +50 -0
- package/dist/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +67 -0
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +2 -1
- package/dist/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js +2 -1
- package/dist/serialization/types/ConversationInitiationClientDataInternal.d.ts +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataInternal.js +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestInput.js +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
- package/dist/serialization/types/ConversationInitiationClientDataRequestOutput.js +2 -0
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/ConversationInitiationSourceInfo.d.ts +14 -0
- package/dist/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → ConversationInitiationSourceInfo.js} +5 -5
- package/dist/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +2 -0
- package/dist/serialization/types/ConversationalConfig.d.ts +1 -1
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/dist/serialization/types/CreateSipTrunkPhoneNumberRequest.js +2 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/dist/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/dist/serialization/types/CustomLlm.d.ts +1 -0
- package/dist/serialization/types/CustomLlm.js +1 -0
- package/dist/serialization/types/DubbedSegment.d.ts +2 -0
- package/dist/serialization/types/DubbedSegment.js +2 -0
- package/dist/serialization/types/DubbingMetadataPageResponseModel.d.ts +15 -0
- package/dist/serialization/types/DubbingMetadataPageResponseModel.js +46 -0
- package/dist/serialization/types/DubbingMetadataResponse.d.ts +2 -0
- package/dist/serialization/types/DubbingMetadataResponse.js +2 -0
- package/dist/serialization/types/DynamicVariableAssignment.d.ts +14 -0
- package/dist/serialization/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → DynamicVariableAssignment.js} +5 -3
- package/dist/serialization/types/DynamicVariableUpdateCommonModel.d.ts +17 -0
- package/dist/serialization/types/DynamicVariableUpdateCommonModel.js +48 -0
- package/dist/serialization/types/EndCallToolResultModel.d.ts +14 -0
- package/dist/serialization/types/EndCallToolResultModel.js +45 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +4 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +4 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
- package/dist/serialization/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -0
- package/dist/serialization/types/GetPhoneNumberTwilioResponseModel.js +2 -0
- package/dist/serialization/types/LanguageDetectionToolResultModel.d.ts +14 -0
- package/dist/serialization/types/LanguageDetectionToolResultModel.js +45 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +4 -0
- package/dist/serialization/types/McpToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/McpToolConfigInput.js +4 -0
- package/dist/serialization/types/McpToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/McpToolConfigOutput.js +4 -0
- package/dist/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +13 -0
- package/dist/serialization/types/MultichannelSpeechToTextResponseModel.js +44 -0
- package/dist/serialization/types/PlayDtmfResultErrorModel.d.ts +14 -0
- package/dist/serialization/types/PlayDtmfResultErrorModel.js +45 -0
- package/dist/serialization/types/PlayDtmfResultSuccessModel.d.ts +14 -0
- package/dist/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → PlayDtmfResultSuccessModel.js} +5 -5
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +3 -0
- package/dist/serialization/types/ProjectExtendedResponse.js +3 -0
- package/dist/serialization/types/ProjectResponse.d.ts +3 -0
- package/dist/serialization/types/ProjectResponse.js +3 -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/PromptAgentApiModelOverride.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOverride.js +1 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +1 -0
- package/dist/serialization/types/PromptAgentApiModelOverrideConfig.js +1 -0
- package/dist/serialization/types/SaveVoicePreviewRequest.d.ts +10 -0
- package/dist/serialization/types/SaveVoicePreviewRequest.js +41 -0
- package/dist/serialization/types/SegmentSubtitleFrame.d.ts +14 -0
- package/dist/serialization/types/SegmentSubtitleFrame.js +45 -0
- package/dist/serialization/types/SkipTurnToolResponseModel.d.ts +13 -0
- package/dist/serialization/types/SkipTurnToolResponseModel.js +44 -0
- package/dist/serialization/types/SpeakerSegment.d.ts +2 -0
- package/dist/serialization/types/SpeakerSegment.js +2 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
- package/dist/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
- package/dist/serialization/types/SystemToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/SystemToolConfigInput.js +4 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/SystemToolConfigOutput.js +4 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/TokenResponseModel.d.ts +12 -0
- package/dist/serialization/types/TokenResponseModel.js +43 -0
- package/dist/serialization/types/Tool.d.ts +3 -0
- package/dist/serialization/types/Tool.js +3 -0
- package/dist/serialization/types/ToolResponseModel.d.ts +2 -0
- package/dist/serialization/types/ToolResponseModel.js +2 -0
- package/dist/serialization/types/ToolType.d.ts +10 -0
- package/dist/serialization/types/ToolType.js +41 -0
- package/dist/serialization/types/ToolUsageStatsResponseModel.d.ts +13 -0
- package/dist/serialization/types/{BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → ToolUsageStatsResponseModel.js} +4 -4
- package/dist/serialization/types/TransferToAgentToolResultErrorModel.d.ts +14 -0
- package/dist/serialization/types/{BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → TransferToAgentToolResultErrorModel.js} +5 -3
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +18 -0
- package/dist/serialization/types/TransferToAgentToolResultSuccessModel.js +49 -0
- package/dist/serialization/types/TransferToNumberResultErrorModel.d.ts +14 -0
- package/dist/serialization/types/TransferToNumberResultErrorModel.js +45 -0
- package/dist/serialization/types/TransferToNumberResultSipSuccessModel.d.ts +15 -0
- package/dist/serialization/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → TransferToNumberResultSipSuccessModel.js} +6 -5
- package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +18 -0
- package/dist/serialization/types/TransferToNumberResultTwilioSuccessModel.js +49 -0
- package/dist/serialization/types/UpdatePronunciationDictionariesRequest.d.ts +2 -6
- package/dist/serialization/types/UpdatePronunciationDictionariesRequest.js +1 -5
- package/dist/serialization/types/VoiceResponseModelSafetyControl.d.ts +1 -1
- package/dist/serialization/types/VoiceResponseModelSafetyControl.js +1 -8
- package/dist/serialization/types/VoicemailDetectionToolConfig.d.ts +12 -0
- package/dist/serialization/types/VoicemailDetectionToolConfig.js +43 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +4 -0
- package/dist/serialization/types/WebhookToolConfigInput.js +4 -0
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
- package/dist/serialization/types/WebhookToolConfigOutput.js +4 -0
- package/dist/serialization/types/WidgetConfig.d.ts +2 -0
- package/dist/serialization/types/WidgetConfig.js +2 -0
- package/dist/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/dist/serialization/types/WidgetConfigResponse.js +2 -0
- package/dist/serialization/types/WorkspaceApiKeyListResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceApiKeyListResponseModel.js +44 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.d.ts +21 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModel.js +52 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +10 -0
- package/dist/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +67 -0
- package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +12 -0
- package/dist/serialization/types/WorkspaceCreateApiKeyResponseModel.js +43 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -0
- package/dist/serialization/types/WorkspaceServiceAccountListResponseModel.d.ts +13 -0
- package/dist/serialization/types/WorkspaceServiceAccountListResponseModel.js +44 -0
- package/dist/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +16 -0
- package/dist/serialization/types/WorkspaceServiceAccountResponseModel.js +47 -0
- package/dist/serialization/types/index.d.ts +54 -21
- package/dist/serialization/types/index.js +54 -21
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +4 -20
- package/environments.js +4 -16
- package/package.json +1 -1
- package/reference.md +556 -91
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost.js +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/index.js +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.d.ts +10 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/ConversationsListRequestSummaryMode.js +41 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/conversations/types/index.js +17 -0
- package/serialization/resources/conversationalAi/resources/index.d.ts +2 -1
- package/serialization/resources/conversationalAi/resources/index.js +3 -2
- package/serialization/resources/dubbing/index.d.ts +1 -0
- package/serialization/resources/dubbing/index.js +1 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestDubbingStatus.js +41 -0
- package/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.d.ts +10 -0
- package/serialization/resources/dubbing/types/DubbingListRequestFilterByCreator.js +41 -0
- package/serialization/resources/dubbing/types/index.d.ts +2 -0
- package/serialization/resources/dubbing/types/index.js +18 -0
- package/serialization/resources/index.d.ts +3 -1
- package/serialization/resources/index.js +4 -2
- package/serialization/resources/serviceAccounts/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/index.js +17 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/index.d.ts +1 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/index.js +17 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.d.ts +15 -0
- package/serialization/{types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +6 -9
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.d.ts +16 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js +47 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/client/requests/index.js +7 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/index.d.ts +2 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/index.js +18 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.d.ts +11 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js +45 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.d.ts +10 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissionsItem.js +67 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.d.ts +11 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js +45 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.d.ts +10 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissionsItem.js +67 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.d.ts +4 -0
- package/serialization/resources/serviceAccounts/resources/apiKeys/types/index.js +20 -0
- package/serialization/resources/serviceAccounts/resources/index.d.ts +3 -0
- package/serialization/resources/serviceAccounts/resources/index.js +42 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +12 -0
- package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +43 -0
- package/serialization/resources/speechToText/types/index.d.ts +1 -0
- package/serialization/resources/speechToText/types/index.js +1 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +2 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +2 -0
- package/serialization/resources/textToVoice/client/requests/index.d.ts +0 -1
- package/serialization/resources/textToVoice/client/requests/index.js +1 -3
- package/serialization/types/AddProjectRequest.d.ts +2 -34
- package/serialization/types/AddProjectRequest.js +1 -33
- package/serialization/types/AgentConfig.d.ts +9 -2
- package/serialization/types/AgentConfig.js +8 -1
- package/serialization/types/AgentPlatformSettingsRequestModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsRequestModel.js +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.d.ts +2 -0
- package/serialization/types/AgentPlatformSettingsResponseModel.js +2 -0
- package/serialization/types/AgentSummaryResponseModel.d.ts +1 -0
- package/serialization/types/AgentSummaryResponseModel.js +1 -0
- package/serialization/types/AgentTestingSettings.d.ts +12 -0
- package/serialization/types/AgentTestingSettings.js +43 -0
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/BatchCallRecipientStatus.d.ts +1 -1
- package/serialization/types/BatchCallRecipientStatus.js +1 -1
- package/serialization/types/BuiltInToolsInput.d.ts +1 -0
- package/serialization/types/BuiltInToolsInput.js +1 -0
- package/serialization/types/BuiltInToolsOutput.d.ts +1 -0
- package/serialization/types/BuiltInToolsOutput.js +1 -0
- package/serialization/types/CaptionStyleCharacterAnimationModel.d.ts +15 -0
- package/serialization/types/CaptionStyleCharacterAnimationModel.js +46 -0
- package/serialization/types/CaptionStyleCharacterAnimationModelEnterType.d.ts +10 -0
- package/serialization/types/CaptionStyleCharacterAnimationModelEnterType.js +41 -0
- package/serialization/types/CaptionStyleCharacterAnimationModelExitType.d.ts +10 -0
- package/serialization/types/CaptionStyleCharacterAnimationModelExitType.js +41 -0
- package/serialization/types/CaptionStyleHorizontalPlacementModel.d.ts +14 -0
- package/serialization/types/CaptionStyleHorizontalPlacementModel.js +45 -0
- package/serialization/types/CaptionStyleHorizontalPlacementModelAlign.d.ts +10 -0
- package/serialization/types/CaptionStyleHorizontalPlacementModelAlign.js +41 -0
- package/serialization/types/CaptionStyleModel.d.ts +43 -0
- package/serialization/types/CaptionStyleModel.js +74 -0
- package/serialization/types/CaptionStyleModelTextAlign.d.ts +10 -0
- package/serialization/types/CaptionStyleModelTextAlign.js +41 -0
- package/serialization/types/CaptionStyleModelTextStyle.d.ts +10 -0
- package/serialization/types/CaptionStyleModelTextStyle.js +41 -0
- package/serialization/types/CaptionStyleModelTextWeight.d.ts +10 -0
- package/serialization/types/CaptionStyleModelTextWeight.js +41 -0
- package/serialization/types/CaptionStyleSectionAnimationModel.d.ts +15 -0
- package/serialization/types/CaptionStyleSectionAnimationModel.js +46 -0
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.d.ts +10 -0
- package/serialization/types/CaptionStyleSectionAnimationModelEnterType.js +41 -0
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.d.ts +10 -0
- package/serialization/types/CaptionStyleSectionAnimationModelExitType.js +41 -0
- package/serialization/types/CaptionStyleTemplateModel.d.ts +13 -0
- package/serialization/types/CaptionStyleTemplateModel.js +44 -0
- package/serialization/types/CaptionStyleVerticalPlacementModel.d.ts +14 -0
- package/serialization/types/CaptionStyleVerticalPlacementModel.js +45 -0
- package/serialization/types/CaptionStyleVerticalPlacementModelAlign.d.ts +10 -0
- package/serialization/types/CaptionStyleVerticalPlacementModelAlign.js +41 -0
- package/serialization/types/CaptionStyleWordAnimationModel.d.ts +15 -0
- package/{dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → serialization/types/CaptionStyleWordAnimationModel.js} +6 -11
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.d.ts +10 -0
- package/serialization/types/CaptionStyleWordAnimationModelEnterType.js +41 -0
- package/serialization/types/CaptionStyleWordAnimationModelExitType.d.ts +10 -0
- package/serialization/types/CaptionStyleWordAnimationModelExitType.js +41 -0
- package/serialization/types/ClientToolConfigInput.d.ts +4 -0
- package/serialization/types/ClientToolConfigInput.js +4 -0
- package/serialization/types/ClientToolConfigOutput.d.ts +4 -0
- package/serialization/types/ClientToolConfigOutput.js +4 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.d.ts +1 -0
- package/serialization/types/ConversationHistoryAnalysisCommonModel.js +1 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.d.ts +2 -0
- package/serialization/types/ConversationHistoryMetadataCommonModel.js +2 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.d.ts +12 -0
- package/serialization/types/{BodyAddProjectV1ProjectsAddPostTargetAudience.js → ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +7 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.d.ts +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutput.js +2 -2
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.d.ts +12 -0
- package/serialization/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js +46 -0
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.d.ts +21 -0
- package/serialization/types/{ConversationHistoryTranscriptToolResultCommonModel.js → ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +6 -3
- package/serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.d.ts +10 -0
- package/{dist/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js → serialization/types/ConversationHistoryTranscriptOtherToolsResultCommonModelType.js} +2 -2
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.d.ts +22 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js +53 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.d.ts +50 -0
- package/serialization/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js +67 -0
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.d.ts +2 -1
- package/serialization/types/ConversationHistoryTranscriptToolCallCommonModel.js +2 -1
- package/serialization/types/ConversationInitiationClientDataInternal.d.ts +2 -0
- package/serialization/types/ConversationInitiationClientDataInternal.js +2 -0
- package/serialization/types/ConversationInitiationClientDataRequestInput.d.ts +2 -0
- package/serialization/types/ConversationInitiationClientDataRequestInput.js +2 -0
- package/serialization/types/ConversationInitiationClientDataRequestOutput.d.ts +2 -0
- package/serialization/types/ConversationInitiationClientDataRequestOutput.js +2 -0
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/ConversationInitiationSourceInfo.d.ts +14 -0
- package/serialization/types/ConversationInitiationSourceInfo.js +45 -0
- package/serialization/types/ConversationSimulationSpecification.d.ts +1 -1
- package/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/serialization/types/ConversationSummaryResponseModel.js +2 -0
- package/serialization/types/ConversationalConfig.d.ts +1 -1
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.d.ts +2 -0
- package/serialization/types/CreateSipTrunkPhoneNumberRequest.js +2 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.d.ts +2 -0
- package/serialization/types/CreateTwilioPhoneNumberRequest.js +2 -0
- package/serialization/types/CustomLlm.d.ts +1 -0
- package/serialization/types/CustomLlm.js +1 -0
- package/serialization/types/DubbedSegment.d.ts +2 -0
- package/serialization/types/DubbedSegment.js +2 -0
- package/serialization/types/DubbingMetadataPageResponseModel.d.ts +15 -0
- package/serialization/types/DubbingMetadataPageResponseModel.js +46 -0
- package/serialization/types/DubbingMetadataResponse.d.ts +2 -0
- package/serialization/types/DubbingMetadataResponse.js +2 -0
- package/serialization/types/DynamicVariableAssignment.d.ts +14 -0
- package/serialization/types/DynamicVariableAssignment.js +45 -0
- package/serialization/types/DynamicVariableUpdateCommonModel.d.ts +17 -0
- package/serialization/types/DynamicVariableUpdateCommonModel.js +48 -0
- package/serialization/types/EndCallToolResultModel.d.ts +14 -0
- package/serialization/types/EndCallToolResultModel.js +45 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +4 -0
- package/serialization/types/FeaturesUsageCommonModel.js +4 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberSipTrunkResponseModel.js +2 -0
- package/serialization/types/GetPhoneNumberTwilioResponseModel.d.ts +2 -0
- package/serialization/types/GetPhoneNumberTwilioResponseModel.js +2 -0
- package/serialization/types/LanguageDetectionToolResultModel.d.ts +14 -0
- package/serialization/types/LanguageDetectionToolResultModel.js +45 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +4 -0
- package/serialization/types/McpToolConfigInput.d.ts +4 -0
- package/serialization/types/McpToolConfigInput.js +4 -0
- package/serialization/types/McpToolConfigOutput.d.ts +4 -0
- package/serialization/types/McpToolConfigOutput.js +4 -0
- package/serialization/types/MultichannelSpeechToTextResponseModel.d.ts +13 -0
- package/serialization/types/MultichannelSpeechToTextResponseModel.js +44 -0
- package/serialization/types/PlayDtmfResultErrorModel.d.ts +14 -0
- package/serialization/types/PlayDtmfResultErrorModel.js +45 -0
- package/serialization/types/PlayDtmfResultSuccessModel.d.ts +14 -0
- package/serialization/types/{BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → PlayDtmfResultSuccessModel.js} +5 -5
- package/serialization/types/ProjectExtendedResponse.d.ts +3 -0
- package/serialization/types/ProjectExtendedResponse.js +3 -0
- package/serialization/types/ProjectResponse.d.ts +3 -0
- package/serialization/types/ProjectResponse.js +3 -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/PromptAgentApiModelOverride.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOverride.js +1 -0
- package/serialization/types/PromptAgentApiModelOverrideConfig.d.ts +1 -0
- package/serialization/types/PromptAgentApiModelOverrideConfig.js +1 -0
- package/serialization/types/SaveVoicePreviewRequest.d.ts +10 -0
- package/serialization/types/SaveVoicePreviewRequest.js +41 -0
- package/serialization/types/SegmentSubtitleFrame.d.ts +14 -0
- package/serialization/types/SegmentSubtitleFrame.js +45 -0
- package/serialization/types/SkipTurnToolResponseModel.d.ts +13 -0
- package/serialization/types/SkipTurnToolResponseModel.js +44 -0
- package/serialization/types/SpeakerSegment.d.ts +2 -0
- package/serialization/types/SpeakerSegment.js +2 -0
- package/serialization/types/SpeechToTextChunkResponseModel.d.ts +1 -0
- package/serialization/types/SpeechToTextChunkResponseModel.js +1 -0
- package/serialization/types/SystemToolConfigInput.d.ts +4 -0
- package/serialization/types/SystemToolConfigInput.js +4 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutput.d.ts +4 -0
- package/serialization/types/SystemToolConfigOutput.js +4 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/TokenResponseModel.d.ts +12 -0
- package/serialization/types/TokenResponseModel.js +43 -0
- package/serialization/types/Tool.d.ts +3 -0
- package/serialization/types/Tool.js +3 -0
- package/serialization/types/ToolResponseModel.d.ts +2 -0
- package/serialization/types/ToolResponseModel.js +2 -0
- package/serialization/types/ToolType.d.ts +10 -0
- package/serialization/types/ToolType.js +41 -0
- package/serialization/types/ToolUsageStatsResponseModel.d.ts +13 -0
- package/serialization/types/{BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → ToolUsageStatsResponseModel.js} +4 -4
- package/serialization/types/TransferToAgentToolResultErrorModel.d.ts +14 -0
- package/serialization/types/TransferToAgentToolResultErrorModel.js +45 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.d.ts +18 -0
- package/serialization/types/TransferToAgentToolResultSuccessModel.js +49 -0
- package/serialization/types/TransferToNumberResultErrorModel.d.ts +14 -0
- package/serialization/types/TransferToNumberResultErrorModel.js +45 -0
- package/serialization/types/TransferToNumberResultSipSuccessModel.d.ts +15 -0
- package/serialization/types/TransferToNumberResultSipSuccessModel.js +46 -0
- package/serialization/types/TransferToNumberResultTwilioSuccessModel.d.ts +18 -0
- package/serialization/types/TransferToNumberResultTwilioSuccessModel.js +49 -0
- package/serialization/types/UpdatePronunciationDictionariesRequest.d.ts +2 -6
- package/serialization/types/UpdatePronunciationDictionariesRequest.js +1 -5
- package/serialization/types/VoiceResponseModelSafetyControl.d.ts +1 -1
- package/serialization/types/VoiceResponseModelSafetyControl.js +1 -8
- package/serialization/types/VoicemailDetectionToolConfig.d.ts +12 -0
- package/serialization/types/VoicemailDetectionToolConfig.js +43 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +4 -0
- package/serialization/types/WebhookToolConfigInput.js +4 -0
- package/serialization/types/WebhookToolConfigOutput.d.ts +4 -0
- package/serialization/types/WebhookToolConfigOutput.js +4 -0
- package/serialization/types/WidgetConfig.d.ts +2 -0
- package/serialization/types/WidgetConfig.js +2 -0
- package/serialization/types/WidgetConfigResponse.d.ts +2 -0
- package/serialization/types/WidgetConfigResponse.js +2 -0
- package/serialization/types/WorkspaceApiKeyListResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceApiKeyListResponseModel.js +44 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.d.ts +21 -0
- package/serialization/types/WorkspaceApiKeyResponseModel.js +52 -0
- package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.d.ts +10 -0
- package/serialization/types/WorkspaceApiKeyResponseModelPermissionsItem.js +67 -0
- package/serialization/types/WorkspaceCreateApiKeyResponseModel.d.ts +12 -0
- package/serialization/types/WorkspaceCreateApiKeyResponseModel.js +43 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -0
- package/serialization/types/WorkspaceServiceAccountListResponseModel.d.ts +13 -0
- package/serialization/types/WorkspaceServiceAccountListResponseModel.js +44 -0
- package/serialization/types/WorkspaceServiceAccountResponseModel.d.ts +16 -0
- package/serialization/types/WorkspaceServiceAccountResponseModel.js +47 -0
- package/serialization/types/index.d.ts +54 -21
- package/serialization/types/index.js +54 -21
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -23
- package/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -9
- package/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
- package/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -12
- package/api/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -8
- package/api/types/BodyAddProjectV1ProjectsAddPostFiction.js +0 -10
- package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -11
- package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +0 -13
- package/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
- package/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.js +0 -12
- package/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -11
- package/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -11
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -94
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -15
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -11
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -16
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -18
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -13
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -8
- package/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -13
- package/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -19
- package/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -10
- package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -19
- package/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -7
- package/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -7
- package/api/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -12
- package/dist/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -23
- package/dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -9
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -12
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -8
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostFiction.js +0 -10
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -11
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +0 -13
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostTargetAudience.js +0 -12
- package/dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -11
- package/dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -11
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -94
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -15
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -11
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -16
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -18
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -13
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -8
- package/dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -13
- package/dist/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -19
- package/dist/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -10
- package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -19
- package/dist/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -7
- package/dist/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -7
- package/dist/api/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -12
- package/dist/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -16
- package/dist/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js +0 -47
- package/dist/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -13
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -10
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -10
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
- package/dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -14
- package/dist/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -14
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -26
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +0 -57
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -10
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -41
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -18
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -10
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -41
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -13
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -18
- package/dist/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js +0 -51
- package/dist/serialization/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -18
- package/dist/serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -14
- package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -15
- package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +0 -46
- package/dist/serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -12
- package/dist/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -12
- package/dist/serialization/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -18
- package/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.d.ts +0 -16
- package/serialization/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js +0 -47
- package/serialization/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.d.ts +0 -13
- package/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.d.ts +0 -10
- package/serialization/types/BodyAddProjectV1ProjectsAddPostApplyTextNormalization.js +0 -41
- package/serialization/types/BodyAddProjectV1ProjectsAddPostFiction.d.ts +0 -10
- package/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +0 -10
- package/serialization/types/BodyAddProjectV1ProjectsAddPostTargetAudience.d.ts +0 -10
- package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.d.ts +0 -14
- package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.d.ts +0 -14
- package/serialization/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js +0 -45
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.d.ts +0 -26
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js +0 -57
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.d.ts +0 -10
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostDurationScale.js +0 -41
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.d.ts +0 -18
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js +0 -51
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.d.ts +0 -10
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostQualityPreset.js +0 -41
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.d.ts +0 -13
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.d.ts +0 -18
- package/serialization/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js +0 -51
- package/serialization/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.d.ts +0 -18
- package/serialization/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.d.ts +0 -14
- package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +0 -15
- package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +0 -46
- package/serialization/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.d.ts +0 -12
- package/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.d.ts +0 -12
- package/serialization/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js +0 -43
- package/serialization/types/ConversationHistoryTranscriptToolResultCommonModel.d.ts +0 -18
- /package/api/resources/{textToVoice/client/requests/SaveVoicePreviewRequest.js → conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.js} +0 -0
- /package/api/{types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → resources/dubbing/client/requests/DubbingListRequest.js} +0 -0
- /package/api/{types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPost.js} +0 -0
- /package/api/{types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → resources/serviceAccounts/resources/apiKeys/client/requests/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatch.js} +0 -0
- /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js → resources/serviceAccounts/resources/apiKeys/types/BodyCreateServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysPostPermissions.js} +0 -0
- /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → resources/serviceAccounts/resources/apiKeys/types/BodyEditServiceAccountApiKeyV1ServiceAccountsServiceAccountUserIdApiKeysApiKeyIdPatchPermissions.js} +0 -0
- /package/api/{types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → resources/speechToText/types/SpeechToTextConvertResponse.js} +0 -0
- /package/api/types/{BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js → AgentTestingSettings.js} +0 -0
- /package/api/types/{BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → CaptionStyleCharacterAnimationModel.js} +0 -0
- /package/api/types/{BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → CaptionStyleHorizontalPlacementModel.js} +0 -0
- /package/api/types/{BodyEditProjectContentV1ProjectsProjectIdContentPost.js → CaptionStyleModel.js} +0 -0
- /package/api/types/{BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → CaptionStyleSectionAnimationModel.js} +0 -0
- /package/api/types/{BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → CaptionStyleTemplateModel.js} +0 -0
- /package/api/types/{ConversationHistoryTranscriptToolResultCommonModel.js → CaptionStyleVerticalPlacementModel.js} +0 -0
- /package/{dist/api/resources/textToVoice/client/requests/SaveVoicePreviewRequest.js → api/types/CaptionStyleWordAnimationModel.js} +0 -0
- /package/{dist/api/types/BodyAddChapterToAProjectV1ProjectsProjectIdChaptersAddPost.js → api/types/ConversationHistoryTranscriptCommonModelInputToolResultsItem.js} +0 -0
- /package/{dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAddToKnowledgeBasePost.js → api/types/ConversationHistoryTranscriptCommonModelOutputToolResultsItem.js} +0 -0
- /package/{dist/api/types/BodyAddToKnowledgeBaseV1ConvaiAgentsAgentIdAddToKnowledgeBasePost.js → api/types/ConversationHistoryTranscriptOtherToolsResultCommonModel.js} +0 -0
- /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePost.js → api/types/ConversationHistoryTranscriptSystemToolResultCommonModel.js} +0 -0
- /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostMode.js → api/types/ConversationHistoryTranscriptSystemToolResultCommonModelResult.js} +0 -0
- /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSource.js → api/types/ConversationInitiationSourceInfo.js} +0 -0
- /package/{dist/api/types/BodyCreatePodcastV1ProjectsPodcastCreatePostSourceItem.js → api/types/DubbingMetadataPageResponseModel.js} +0 -0
- /package/{dist/api/types/BodyEditBasicProjectInfoV1ProjectsProjectIdPost.js → api/types/DynamicVariableAssignment.js} +0 -0
- /package/{dist/api/types/BodyEditChapterV1ProjectsProjectIdChaptersChapterIdPatch.js → api/types/DynamicVariableUpdateCommonModel.js} +0 -0
- /package/{dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js → api/types/EndCallToolResultModel.js} +0 -0
- /package/{dist/api/types/BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost.js → api/types/LanguageDetectionToolResultModel.js} +0 -0
- /package/{dist/api/types/BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost.js → api/types/MultichannelSpeechToTextResponseModel.js} +0 -0
- /package/{dist/api/types/ConversationHistoryTranscriptToolResultCommonModel.js → api/types/PlayDtmfResultErrorModel.js} +0 -0
|
@@ -6,21 +6,18 @@ import * as ElevenLabs from "../../../../../../index";
|
|
|
6
6
|
/**
|
|
7
7
|
* @example
|
|
8
8
|
* {
|
|
9
|
-
* name: "name"
|
|
10
|
-
* defaultTitleVoiceId: "default_title_voice_id",
|
|
11
|
-
* defaultParagraphVoiceId: "default_paragraph_voice_id",
|
|
12
|
-
* defaultModelId: "default_model_id"
|
|
9
|
+
* name: "name"
|
|
13
10
|
* }
|
|
14
11
|
*/
|
|
15
12
|
export interface BodyCreateStudioProjectV1StudioProjectsPost {
|
|
16
13
|
/** The name of the Studio project, used for identification only. */
|
|
17
14
|
name: string;
|
|
18
15
|
/** The voice_id that corresponds to the default voice used for new titles. */
|
|
19
|
-
defaultTitleVoiceId
|
|
16
|
+
defaultTitleVoiceId?: string;
|
|
20
17
|
/** The voice_id that corresponds to the default voice used for new paragraphs. */
|
|
21
|
-
defaultParagraphVoiceId
|
|
18
|
+
defaultParagraphVoiceId?: string;
|
|
22
19
|
/** The ID of the model to be used for this Studio project, you can query GET /v1/models to list all available models. */
|
|
23
|
-
defaultModelId
|
|
20
|
+
defaultModelId?: string;
|
|
24
21
|
/** An optional URL from which we will extract content to initialize the Studio project. If this is set, 'from_url' and 'from_content' must be null. If neither 'from_url', 'from_document', 'from_content' are provided we will initialize the Studio project as blank. */
|
|
25
22
|
fromUrl?: string;
|
|
26
23
|
fromDocument?: core.FileLike | undefined;
|
|
@@ -7,7 +7,7 @@ import * as ElevenLabs from "../../../../../../../index";
|
|
|
7
7
|
import { Snapshots } from "../resources/snapshots/client/Client";
|
|
8
8
|
export declare namespace Chapters {
|
|
9
9
|
interface Options {
|
|
10
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
10
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
11
11
|
/** Specify a custom URL to connect the client to. */
|
|
12
12
|
baseUrl?: core.Supplier<string>;
|
|
13
13
|
/** Override the xi-api-key header */
|
|
@@ -79,7 +79,7 @@ class Chapters {
|
|
|
79
79
|
return __awaiter(this, void 0, void 0, function* () {
|
|
80
80
|
var _a, _b, _c;
|
|
81
81
|
const _response = yield core.fetcher({
|
|
82
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
82
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters`),
|
|
83
83
|
method: "GET",
|
|
84
84
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -152,7 +152,7 @@ class Chapters {
|
|
|
152
152
|
return __awaiter(this, void 0, void 0, function* () {
|
|
153
153
|
var _a, _b, _c;
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
155
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters`),
|
|
156
156
|
method: "POST",
|
|
157
157
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
158
158
|
contentType: "application/json",
|
|
@@ -226,7 +226,7 @@ class Chapters {
|
|
|
226
226
|
return __awaiter(this, void 0, void 0, function* () {
|
|
227
227
|
var _a, _b, _c;
|
|
228
228
|
const _response = yield core.fetcher({
|
|
229
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
229
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters/${encodeURIComponent(chapterId)}`),
|
|
230
230
|
method: "GET",
|
|
231
231
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
232
232
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -298,7 +298,7 @@ class Chapters {
|
|
|
298
298
|
return __awaiter(this, arguments, void 0, function* (projectId, chapterId, request = {}, requestOptions) {
|
|
299
299
|
var _a, _b, _c;
|
|
300
300
|
const _response = yield core.fetcher({
|
|
301
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
301
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters/${encodeURIComponent(chapterId)}`),
|
|
302
302
|
method: "POST",
|
|
303
303
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
304
304
|
contentType: "application/json",
|
|
@@ -372,7 +372,7 @@ class Chapters {
|
|
|
372
372
|
return __awaiter(this, void 0, void 0, function* () {
|
|
373
373
|
var _a, _b, _c;
|
|
374
374
|
const _response = yield core.fetcher({
|
|
375
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
375
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters/${encodeURIComponent(chapterId)}`),
|
|
376
376
|
method: "DELETE",
|
|
377
377
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
378
378
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -443,7 +443,7 @@ class Chapters {
|
|
|
443
443
|
return __awaiter(this, void 0, void 0, function* () {
|
|
444
444
|
var _a, _b, _c;
|
|
445
445
|
const _response = yield core.fetcher({
|
|
446
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
446
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters/${encodeURIComponent(chapterId)}/convert`),
|
|
447
447
|
method: "POST",
|
|
448
448
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
449
449
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../../../../../index";
|
|
7
7
|
export declare namespace Snapshots {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -75,7 +75,7 @@ class Snapshots {
|
|
|
75
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
76
|
var _a, _b, _c;
|
|
77
77
|
const _response = yield core.fetcher({
|
|
78
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
78
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters/${encodeURIComponent(chapterId)}/snapshots`),
|
|
79
79
|
method: "GET",
|
|
80
80
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
81
81
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -147,7 +147,7 @@ class Snapshots {
|
|
|
147
147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
148
148
|
var _a, _b, _c;
|
|
149
149
|
const _response = yield core.fetcher({
|
|
150
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
150
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters/${encodeURIComponent(chapterId)}/snapshots/${encodeURIComponent(chapterSnapshotId)}`),
|
|
151
151
|
method: "GET",
|
|
152
152
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
153
153
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -210,7 +210,7 @@ class Snapshots {
|
|
|
210
210
|
return __awaiter(this, arguments, void 0, function* (projectId, chapterId, chapterSnapshotId, request = {}, requestOptions) {
|
|
211
211
|
var _a, _b, _c;
|
|
212
212
|
const _response = yield core.fetcher({
|
|
213
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
213
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/chapters/${encodeURIComponent(chapterId)}/snapshots/${encodeURIComponent(chapterSnapshotId)}/stream`),
|
|
214
214
|
method: "POST",
|
|
215
215
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
216
216
|
contentType: "application/json",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../../../index";
|
|
7
7
|
export declare namespace Content {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -89,7 +89,7 @@ class Content {
|
|
|
89
89
|
}
|
|
90
90
|
const _maybeEncodedRequest = yield _request.getRequest();
|
|
91
91
|
const _response = yield core.fetcher({
|
|
92
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
92
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/content`),
|
|
93
93
|
method: "POST",
|
|
94
94
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)(Object.assign({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
95
95
|
requestType: "file",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../../../index";
|
|
7
7
|
export declare namespace PronunciationDictionaries {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -79,7 +79,7 @@ class PronunciationDictionaries {
|
|
|
79
79
|
return __awaiter(this, void 0, void 0, function* () {
|
|
80
80
|
var _a, _b, _c;
|
|
81
81
|
const _response = yield core.fetcher({
|
|
82
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
82
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/pronunciation-dictionaries`),
|
|
83
83
|
method: "POST",
|
|
84
84
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
85
85
|
contentType: "application/json",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../../../../../index";
|
|
7
7
|
export declare namespace Snapshots {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -74,7 +74,7 @@ class Snapshots {
|
|
|
74
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
75
|
var _a, _b, _c;
|
|
76
76
|
const _response = yield core.fetcher({
|
|
77
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
77
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/snapshots`),
|
|
78
78
|
method: "GET",
|
|
79
79
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -145,7 +145,7 @@ class Snapshots {
|
|
|
145
145
|
return __awaiter(this, void 0, void 0, function* () {
|
|
146
146
|
var _a, _b, _c;
|
|
147
147
|
const _response = yield core.fetcher({
|
|
148
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
148
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/snapshots/${encodeURIComponent(projectSnapshotId)}`),
|
|
149
149
|
method: "GET",
|
|
150
150
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
151
151
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
@@ -208,7 +208,7 @@ class Snapshots {
|
|
|
208
208
|
return __awaiter(this, arguments, void 0, function* (projectId, projectSnapshotId, request = {}, requestOptions) {
|
|
209
209
|
var _a, _b, _c;
|
|
210
210
|
const _response = yield core.fetcher({
|
|
211
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
211
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/snapshots/${encodeURIComponent(projectSnapshotId)}/stream`),
|
|
212
212
|
method: "POST",
|
|
213
213
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
214
214
|
contentType: "application/json",
|
|
@@ -267,7 +267,7 @@ class Snapshots {
|
|
|
267
267
|
return __awaiter(this, void 0, void 0, function* () {
|
|
268
268
|
var _a, _b, _c;
|
|
269
269
|
const _response = yield core.fetcher({
|
|
270
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
270
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/studio/projects/${encodeURIComponent(projectId)}/snapshots/${encodeURIComponent(projectSnapshotId)}/archive`),
|
|
271
271
|
method: "POST",
|
|
272
272
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
273
273
|
responseType: "streaming",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../index";
|
|
7
7
|
export declare namespace TextToDialogue {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -83,7 +83,7 @@ class TextToDialogue {
|
|
|
83
83
|
_queryParams["output_format"] = serializers.TextToDialogueConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
84
84
|
}
|
|
85
85
|
const _response = yield core.fetcher({
|
|
86
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
86
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/text-to-dialogue"),
|
|
87
87
|
method: "POST",
|
|
88
88
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
89
89
|
contentType: "application/json",
|
|
@@ -150,7 +150,7 @@ class TextToDialogue {
|
|
|
150
150
|
_queryParams["output_format"] = serializers.TextToDialogueStreamRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
151
151
|
}
|
|
152
152
|
const _response = yield core.fetcher({
|
|
153
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
153
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/text-to-dialogue/stream"),
|
|
154
154
|
method: "POST",
|
|
155
155
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
156
156
|
contentType: "application/json",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../index";
|
|
7
7
|
export declare namespace TextToSoundEffects {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -83,7 +83,7 @@ class TextToSoundEffects {
|
|
|
83
83
|
_queryParams["output_format"] = serializers.TextToSoundEffectsConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
84
84
|
}
|
|
85
85
|
const _response = yield core.fetcher({
|
|
86
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
86
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/sound-generation"),
|
|
87
87
|
method: "POST",
|
|
88
88
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
89
89
|
contentType: "application/json",
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as ElevenLabs from "../../../index";
|
|
7
7
|
export declare namespace TextToSpeech {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
12
|
/** Override the xi-api-key header */
|
|
@@ -89,7 +89,7 @@ class TextToSpeech {
|
|
|
89
89
|
_queryParams["output_format"] = serializers.TextToSpeechConvertRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
90
90
|
}
|
|
91
91
|
const _response = yield core.fetcher({
|
|
92
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
92
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/text-to-speech/${encodeURIComponent(voiceId)}`),
|
|
93
93
|
method: "POST",
|
|
94
94
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
95
95
|
contentType: "application/json",
|
|
@@ -173,7 +173,7 @@ class TextToSpeech {
|
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
const _response = yield core.fetcher({
|
|
176
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
176
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/text-to-speech/${encodeURIComponent(voiceId)}/with-timestamps`),
|
|
177
177
|
method: "POST",
|
|
178
178
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
179
179
|
contentType: "application/json",
|
|
@@ -251,7 +251,7 @@ class TextToSpeech {
|
|
|
251
251
|
_queryParams["output_format"] = serializers.TextToSpeechStreamRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
252
252
|
}
|
|
253
253
|
const _response = yield core.fetcher({
|
|
254
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
254
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/text-to-speech/${encodeURIComponent(voiceId)}/stream`),
|
|
255
255
|
method: "POST",
|
|
256
256
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
257
257
|
contentType: "application/json",
|
|
@@ -321,7 +321,7 @@ class TextToSpeech {
|
|
|
321
321
|
_queryParams["output_format"] = serializers.TextToSpeechStreamWithTimestampsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
322
322
|
}
|
|
323
323
|
const _response = yield core.fetcher({
|
|
324
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
324
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, `v1/text-to-speech/${encodeURIComponent(voiceId)}/stream/with-timestamps`),
|
|
325
325
|
method: "POST",
|
|
326
326
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
327
327
|
contentType: "application/json",
|
|
@@ -52,7 +52,7 @@ export interface StreamTextToSpeechRequest {
|
|
|
52
52
|
nextRequestIds?: string[];
|
|
53
53
|
/** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
|
|
54
54
|
usePvcAsIvc?: boolean;
|
|
55
|
-
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
|
|
55
|
+
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
|
|
56
56
|
applyTextNormalization?: ElevenLabs.BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization;
|
|
57
57
|
/** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
|
|
58
58
|
applyLanguageTextNormalization?: boolean;
|
package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export interface StreamTextToSpeechWithTimestampsRequest {
|
|
|
52
52
|
nextRequestIds?: string[];
|
|
53
53
|
/** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
|
|
54
54
|
usePvcAsIvc?: boolean;
|
|
55
|
-
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
|
|
55
|
+
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
|
|
56
56
|
applyTextNormalization?: ElevenLabs.BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization;
|
|
57
57
|
/** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
|
|
58
58
|
applyLanguageTextNormalization?: boolean;
|
|
@@ -52,7 +52,7 @@ export interface TextToSpeechRequest {
|
|
|
52
52
|
nextRequestIds?: string[];
|
|
53
53
|
/** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
|
|
54
54
|
usePvcAsIvc?: boolean;
|
|
55
|
-
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
|
|
55
|
+
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
|
|
56
56
|
applyTextNormalization?: ElevenLabs.BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization;
|
|
57
57
|
/** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
|
|
58
58
|
applyLanguageTextNormalization?: boolean;
|
package/dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export interface TextToSpeechWithTimestampsRequest {
|
|
|
50
50
|
nextRequestIds?: string[];
|
|
51
51
|
/** If true, we won't use PVC version of the voice for the generation but the IVC version. This is a temporary workaround for higher latency in PVC versions. */
|
|
52
52
|
usePvcAsIvc?: boolean;
|
|
53
|
-
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
|
|
53
|
+
/** This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans. */
|
|
54
54
|
applyTextNormalization?: ElevenLabs.BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization;
|
|
55
55
|
/** This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. WARNING: This parameter can heavily increase the latency of the request. Currently only supported for Japanese. */
|
|
56
56
|
applyLanguageTextNormalization?: boolean;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
|
|
5
|
+
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
|
|
6
6
|
*/
|
|
7
7
|
export type BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization = "auto" | "on" | "off";
|
|
8
8
|
export declare const BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
|
|
5
|
+
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
|
|
6
6
|
*/
|
|
7
7
|
export type BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization = "auto" | "on" | "off";
|
|
8
8
|
export declare const BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
|
|
5
|
+
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
|
|
6
6
|
*/
|
|
7
7
|
export type BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization = "auto" | "on" | "off";
|
|
8
8
|
export declare const BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
/**
|
|
5
|
-
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped.
|
|
5
|
+
* This parameter controls text normalization with three modes: 'auto', 'on', and 'off'. When set to 'auto', the system will automatically decide whether to apply text normalization (e.g., spelling out numbers). With 'on', text normalization will always be applied, while with 'off', it will be skipped. For 'eleven_turbo_v2_5' and 'eleven_flash_v2_5' models, text normalization can only be enabled with Enterprise plans.
|
|
6
6
|
*/
|
|
7
7
|
export type BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization = "auto" | "on" | "off";
|
|
8
8
|
export declare const BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization: {
|
|
@@ -7,7 +7,7 @@ import * as ElevenLabs from "../../../index";
|
|
|
7
7
|
import { Preview } from "../resources/preview/client/Client";
|
|
8
8
|
export declare namespace TextToVoice {
|
|
9
9
|
interface Options {
|
|
10
|
-
environment?: core.Supplier<environments.ElevenLabsEnvironment |
|
|
10
|
+
environment?: core.Supplier<environments.ElevenLabsEnvironment | string>;
|
|
11
11
|
/** Specify a custom URL to connect the client to. */
|
|
12
12
|
baseUrl?: core.Supplier<string>;
|
|
13
13
|
/** Override the xi-api-key header */
|
|
@@ -48,23 +48,6 @@ export declare class TextToVoice {
|
|
|
48
48
|
*/
|
|
49
49
|
createPreviews(request: ElevenLabs.VoiceDesignRequest, requestOptions?: TextToVoice.RequestOptions): core.HttpResponsePromise<ElevenLabs.VoiceDesignPreviewResponse>;
|
|
50
50
|
private __createPreviews;
|
|
51
|
-
/**
|
|
52
|
-
* Add a generated voice to the voice library.
|
|
53
|
-
*
|
|
54
|
-
* @param {ElevenLabs.SaveVoicePreviewRequest} request
|
|
55
|
-
* @param {TextToVoice.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
|
-
*
|
|
57
|
-
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* await client.textToVoice.createVoiceFromPreview({
|
|
61
|
-
* voiceName: "Sassy squeaky mouse",
|
|
62
|
-
* voiceDescription: "A sassy squeaky mouse",
|
|
63
|
-
* generatedVoiceId: "37HceQefKmEi3bGovXjL"
|
|
64
|
-
* })
|
|
65
|
-
*/
|
|
66
|
-
createVoiceFromPreview(request: ElevenLabs.SaveVoicePreviewRequest, requestOptions?: TextToVoice.RequestOptions): core.HttpResponsePromise<ElevenLabs.Voice>;
|
|
67
|
-
private __createVoiceFromPreview;
|
|
68
51
|
/**
|
|
69
52
|
* Create a voice from previously generated voice preview. This endpoint should be called after you fetched a generated_voice_id using POST /v1/text-to-voice/design or POST /v1/text-to-voice/:voice_id/remix.
|
|
70
53
|
*
|
|
@@ -97,7 +97,7 @@ class TextToVoice {
|
|
|
97
97
|
_queryParams["output_format"] = serializers.TextToVoiceCreatePreviewsRequestOutputFormat.jsonOrThrow(outputFormat, { unrecognizedObjectKeys: "strip" });
|
|
98
98
|
}
|
|
99
99
|
const _response = yield core.fetcher({
|
|
100
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
100
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/text-to-voice/create-previews"),
|
|
101
101
|
method: "POST",
|
|
102
102
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
103
103
|
contentType: "application/json",
|
|
@@ -153,83 +153,6 @@ class TextToVoice {
|
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
/**
|
|
157
|
-
* Add a generated voice to the voice library.
|
|
158
|
-
*
|
|
159
|
-
* @param {ElevenLabs.SaveVoicePreviewRequest} request
|
|
160
|
-
* @param {TextToVoice.RequestOptions} requestOptions - Request-specific configuration.
|
|
161
|
-
*
|
|
162
|
-
* @throws {@link ElevenLabs.UnprocessableEntityError}
|
|
163
|
-
*
|
|
164
|
-
* @example
|
|
165
|
-
* await client.textToVoice.createVoiceFromPreview({
|
|
166
|
-
* voiceName: "Sassy squeaky mouse",
|
|
167
|
-
* voiceDescription: "A sassy squeaky mouse",
|
|
168
|
-
* generatedVoiceId: "37HceQefKmEi3bGovXjL"
|
|
169
|
-
* })
|
|
170
|
-
*/
|
|
171
|
-
createVoiceFromPreview(request, requestOptions) {
|
|
172
|
-
return core.HttpResponsePromise.fromPromise(this.__createVoiceFromPreview(request, requestOptions));
|
|
173
|
-
}
|
|
174
|
-
__createVoiceFromPreview(request, requestOptions) {
|
|
175
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
176
|
-
var _a, _b, _c;
|
|
177
|
-
const _response = yield core.fetcher({
|
|
178
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production).base, "v1/text-to-voice/create-voice-from-preview"),
|
|
179
|
-
method: "POST",
|
|
180
|
-
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
181
|
-
contentType: "application/json",
|
|
182
|
-
requestType: "json",
|
|
183
|
-
body: serializers.SaveVoicePreviewRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
184
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 240000,
|
|
185
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
186
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
187
|
-
});
|
|
188
|
-
if (_response.ok) {
|
|
189
|
-
return {
|
|
190
|
-
data: serializers.Voice.parseOrThrow(_response.body, {
|
|
191
|
-
unrecognizedObjectKeys: "passthrough",
|
|
192
|
-
allowUnrecognizedUnionMembers: true,
|
|
193
|
-
allowUnrecognizedEnumValues: true,
|
|
194
|
-
breadcrumbsPrefix: ["response"],
|
|
195
|
-
}),
|
|
196
|
-
rawResponse: _response.rawResponse,
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
if (_response.error.reason === "status-code") {
|
|
200
|
-
switch (_response.error.statusCode) {
|
|
201
|
-
case 422:
|
|
202
|
-
throw new ElevenLabs.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
|
203
|
-
unrecognizedObjectKeys: "passthrough",
|
|
204
|
-
allowUnrecognizedUnionMembers: true,
|
|
205
|
-
allowUnrecognizedEnumValues: true,
|
|
206
|
-
breadcrumbsPrefix: ["response"],
|
|
207
|
-
}), _response.rawResponse);
|
|
208
|
-
default:
|
|
209
|
-
throw new errors.ElevenLabsError({
|
|
210
|
-
statusCode: _response.error.statusCode,
|
|
211
|
-
body: _response.error.body,
|
|
212
|
-
rawResponse: _response.rawResponse,
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
switch (_response.error.reason) {
|
|
217
|
-
case "non-json":
|
|
218
|
-
throw new errors.ElevenLabsError({
|
|
219
|
-
statusCode: _response.error.statusCode,
|
|
220
|
-
body: _response.error.rawBody,
|
|
221
|
-
rawResponse: _response.rawResponse,
|
|
222
|
-
});
|
|
223
|
-
case "timeout":
|
|
224
|
-
throw new errors.ElevenLabsTimeoutError("Timeout exceeded when calling POST /v1/text-to-voice/create-voice-from-preview.");
|
|
225
|
-
case "unknown":
|
|
226
|
-
throw new errors.ElevenLabsError({
|
|
227
|
-
message: _response.error.errorMessage,
|
|
228
|
-
rawResponse: _response.rawResponse,
|
|
229
|
-
});
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
156
|
/**
|
|
234
157
|
* Create a voice from previously generated voice preview. This endpoint should be called after you fetched a generated_voice_id using POST /v1/text-to-voice/design or POST /v1/text-to-voice/:voice_id/remix.
|
|
235
158
|
*
|
|
@@ -252,7 +175,7 @@ class TextToVoice {
|
|
|
252
175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
253
176
|
var _a, _b, _c;
|
|
254
177
|
const _response = yield core.fetcher({
|
|
255
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
178
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/text-to-voice"),
|
|
256
179
|
method: "POST",
|
|
257
180
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
258
181
|
contentType: "application/json",
|
|
@@ -336,7 +259,7 @@ class TextToVoice {
|
|
|
336
259
|
});
|
|
337
260
|
}
|
|
338
261
|
const _response = yield core.fetcher({
|
|
339
|
-
url: core.url.join((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (
|
|
262
|
+
url: core.url.join((_b = (_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.ElevenLabsEnvironment.Production, "v1/text-to-voice/design"),
|
|
340
263
|
method: "POST",
|
|
341
264
|
headers: (0, headers_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ "xi-api-key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.apiKey }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
342
265
|
contentType: "application/json",
|
|
@@ -29,6 +29,10 @@ export interface VoiceDesignRequestModel {
|
|
|
29
29
|
guidanceScale?: number;
|
|
30
30
|
/** Determines whether the Text to Voice previews should be included in the response. If true, only the generated IDs will be returned which can then be streamed via the /v1/text-to-voice/:generated_voice_id/stream endpoint. */
|
|
31
31
|
streamPreviews?: boolean;
|
|
32
|
+
/** The remixing session id. */
|
|
33
|
+
remixingSessionId?: string;
|
|
34
|
+
/** The id of the remixing session iteration where these generations should be attached to. If not provided, a new iteration will be created. */
|
|
35
|
+
remixingSessionIterationId?: string;
|
|
32
36
|
/** Higher quality results in better voice output but less variety. */
|
|
33
37
|
quality?: number;
|
|
34
38
|
/** Reference audio to use for the voice generation. The audio should be base64 encoded. Only supported when using the eleven_ttv_v3 model. */
|