@elevenlabs/elevenlabs-js 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +3 -3
- package/Client.js +15 -15
- package/api/errors/BadRequestError.d.ts +2 -1
- package/api/resources/audioIsolation/client/requests/BodyAudioIsolationStreamV1AudioIsolationStreamPost.d.ts +2 -2
- package/api/resources/audioIsolation/client/requests/BodyAudioIsolationV1AudioIsolationPost.d.ts +2 -2
- package/api/resources/audioNative/client/requests/BodyCreatesAudioNativeEnabledProjectV1AudioNativePost.d.ts +2 -2
- package/api/resources/audioNative/client/requests/BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost.d.ts +2 -2
- package/api/resources/conversationalAi/client/Client.js +5 -0
- package/api/resources/conversationalAi/client/requests/BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost.d.ts +3 -2
- package/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/requests/BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -4
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost.d.ts +2 -2
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetRequest.d.ts +10 -0
- package/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +2 -2
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -5
- package/api/resources/forcedAlignment/client/requests/BodyCreateForcedAlignmentV1ForcedAlignmentPost.d.ts +2 -2
- package/api/resources/history/client/Client.js +6 -1
- package/api/resources/index.d.ts +0 -1
- package/api/resources/index.js +0 -1
- package/api/resources/pronunciationDictionaries/client/Client.js +4 -4
- package/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +2 -2
- package/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPost.d.ts +2 -2
- package/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +2 -2
- package/api/resources/speechToText/client/Client.d.ts +3 -1
- package/api/resources/speechToText/client/Client.js +10 -7
- package/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -2
- package/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +9 -3
- package/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -0
- package/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +10 -2
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +2 -1
- package/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -2
- package/api/resources/voices/client/requests/BodyGetSimilarLibraryVoicesV1SimilarVoicesPost.d.ts +2 -2
- package/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/client/requests/BodyAddSamplesToPvcVoiceV1VoicesPvcVoiceIdSamplesPost.d.ts +2 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +5 -2
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +14 -5
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/index.js +15 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/requests/AudioGetRequest.d.ts +15 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/requests/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/index.d.ts +1 -0
- package/api/resources/voices/resources/pvc/resources/samples/resources/index.js +4 -0
- package/api/resources/voices/resources/pvc/resources/verification/client/requests/BodyRequestManualVerificationV1VoicesPvcVoiceIdVerificationPost.d.ts +2 -2
- package/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/requests/BodyVerifyPvcVoiceCaptchaV1VoicesPvcVoiceIdCaptchaPost.d.ts +2 -2
- package/api/resources/workspace/client/Client.d.ts +0 -67
- package/api/resources/workspace/client/Client.js +0 -326
- package/api/resources/workspace/client/index.d.ts +0 -1
- package/api/resources/workspace/client/index.js +0 -15
- package/api/types/AddProjectRequest.d.ts +7 -1
- package/api/types/AuthConnectionLocator.d.ts +9 -0
- package/api/types/BadRequestErrorBody.d.ts +7 -0
- package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +2 -1
- package/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +1 -0
- package/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +8 -0
- package/api/types/BreakdownTypes.d.ts +3 -1
- package/api/types/BreakdownTypes.js +2 -0
- package/api/types/BuiltInToolsInput.d.ts +2 -0
- package/api/types/BuiltInToolsOutput.d.ts +2 -0
- package/api/types/ChapterResponse.d.ts +2 -0
- package/api/types/ChapterWithContentResponseModel.d.ts +2 -0
- package/api/types/ForcedAlignmentResponseModel.d.ts +2 -0
- package/api/types/ForcedAlignmentWordResponseModel.d.ts +2 -0
- package/api/types/MetricType.d.ts +2 -1
- package/api/types/MetricType.js +1 -0
- package/api/types/PlayDtmfToolConfig.d.ts +11 -0
- package/api/types/ProjectExtendedResponse.d.ts +2 -2
- package/api/types/ProjectExtendedResponseModelSourceType.d.ts +2 -1
- package/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/api/types/ProjectResponseModelSourceType.d.ts +2 -1
- package/api/types/ProjectResponseModelSourceType.js +1 -0
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/api/types/WorkspaceResourceType.d.ts +2 -1
- package/api/types/WorkspaceResourceType.js +1 -0
- package/api/types/index.d.ts +3 -4
- package/api/types/index.js +3 -4
- package/core/fetcher/BinaryResponse.d.ts +17 -0
- package/core/fetcher/BinaryResponse.js +14 -0
- package/core/fetcher/Fetcher.d.ts +1 -1
- package/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/core/fetcher/ResponseWithBody.js +6 -0
- package/core/fetcher/getFetchFn.js +3 -3
- package/core/fetcher/getResponseBody.js +33 -32
- package/core/fetcher/index.d.ts +1 -0
- package/core/file.d.ts +1 -0
- package/core/form-data-utils/FormDataWrapper.d.ts +5 -52
- package/core/form-data-utils/FormDataWrapper.js +104 -124
- package/core/index.d.ts +1 -0
- package/core/index.js +1 -0
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +15 -15
- package/dist/api/errors/BadRequestError.d.ts +2 -1
- package/dist/api/resources/audioIsolation/client/requests/BodyAudioIsolationStreamV1AudioIsolationStreamPost.d.ts +2 -2
- package/dist/api/resources/audioIsolation/client/requests/BodyAudioIsolationV1AudioIsolationPost.d.ts +2 -2
- package/dist/api/resources/audioNative/client/requests/BodyCreatesAudioNativeEnabledProjectV1AudioNativePost.d.ts +2 -2
- package/dist/api/resources/audioNative/client/requests/BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost.d.ts +2 -2
- package/dist/api/resources/conversationalAi/client/Client.js +5 -0
- package/dist/api/resources/conversationalAi/client/requests/BodyAddToKnowledgeBaseV1ConvaiKnowledgeBasePost.d.ts +3 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/widget/resources/avatar/client/requests/BodyPostAgentAvatarV1ConvaiAgentsAgentIdAvatarPost.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.d.ts +2 -1
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/Client.js +11 -4
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/BodyCreateFileDocumentV1ConvaiKnowledgeBaseFilePost.d.ts +2 -2
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetRequest.d.ts +10 -0
- package/dist/api/resources/conversationalAi/resources/knowledgeBase/resources/documents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +2 -2
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +5 -5
- package/dist/api/resources/forcedAlignment/client/requests/BodyCreateForcedAlignmentV1ForcedAlignmentPost.d.ts +2 -2
- package/dist/api/resources/history/client/Client.js +6 -1
- package/dist/api/resources/index.d.ts +0 -1
- package/dist/api/resources/index.js +0 -1
- package/dist/api/resources/pronunciationDictionaries/client/Client.js +4 -4
- package/dist/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromFilePost.d.ts +2 -2
- package/dist/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechStreamingV1SpeechToSpeechVoiceIdStreamPost.d.ts +2 -2
- package/dist/api/resources/speechToSpeech/client/requests/BodySpeechToSpeechV1SpeechToSpeechVoiceIdPost.d.ts +2 -2
- package/dist/api/resources/speechToText/client/Client.d.ts +3 -1
- package/dist/api/resources/speechToText/client/Client.js +10 -7
- package/dist/api/resources/speechToText/client/requests/BodySpeechToTextV1SpeechToTextPost.d.ts +4 -2
- package/dist/api/resources/studio/resources/projects/client/requests/BodyCreateStudioProjectV1StudioProjectsPost.d.ts +9 -3
- package/dist/api/resources/studio/resources/projects/resources/content/client/Client.js +3 -0
- package/dist/api/resources/studio/resources/projects/resources/content/client/requests/BodyUpdateStudioProjectContentV1StudioProjectsProjectIdContentPost.d.ts +10 -2
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +2 -1
- package/dist/api/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -0
- package/dist/api/resources/voices/client/requests/BodyEditVoiceV1VoicesVoiceIdEditPost.d.ts +2 -2
- package/dist/api/resources/voices/client/requests/BodyGetSimilarLibraryVoicesV1SimilarVoicesPost.d.ts +2 -2
- package/dist/api/resources/voices/resources/ivc/client/requests/BodyAddVoiceV1VoicesAddPost.d.ts +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/client/requests/BodyAddSamplesToPvcVoiceV1VoicesPvcVoiceIdSamplesPost.d.ts +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.d.ts +5 -2
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/Client.js +14 -5
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/index.js +15 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/requests/AudioGetRequest.d.ts +15 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/requests/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/audio/client/requests/index.js +2 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/index.d.ts +1 -0
- package/dist/api/resources/voices/resources/pvc/resources/samples/resources/index.js +4 -0
- package/dist/api/resources/voices/resources/pvc/resources/verification/client/requests/BodyRequestManualVerificationV1VoicesPvcVoiceIdVerificationPost.d.ts +2 -2
- package/dist/api/resources/voices/resources/pvc/resources/verification/resources/captcha/client/requests/BodyVerifyPvcVoiceCaptchaV1VoicesPvcVoiceIdCaptchaPost.d.ts +2 -2
- package/dist/api/resources/workspace/client/Client.d.ts +0 -67
- package/dist/api/resources/workspace/client/Client.js +0 -326
- package/dist/api/resources/workspace/client/index.d.ts +0 -1
- package/dist/api/resources/workspace/client/index.js +0 -15
- package/dist/api/types/AddProjectRequest.d.ts +7 -1
- package/dist/api/types/AuthConnectionLocator.d.ts +9 -0
- package/dist/api/types/BadRequestErrorBody.d.ts +7 -0
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +2 -1
- package/dist/api/types/BodyAddProjectV1ProjectsAddPostSourceType.js +1 -0
- package/dist/api/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +8 -0
- package/dist/api/types/BreakdownTypes.d.ts +3 -1
- package/dist/api/types/BreakdownTypes.js +2 -0
- package/dist/api/types/BuiltInToolsInput.d.ts +2 -0
- package/dist/api/types/BuiltInToolsOutput.d.ts +2 -0
- package/dist/api/types/ChapterResponse.d.ts +2 -0
- package/dist/api/types/ChapterWithContentResponseModel.d.ts +2 -0
- package/dist/api/types/ForcedAlignmentResponseModel.d.ts +2 -0
- package/dist/api/types/ForcedAlignmentWordResponseModel.d.ts +2 -0
- package/dist/api/types/MetricType.d.ts +2 -1
- package/dist/api/types/MetricType.js +1 -0
- package/dist/api/types/PlayDtmfToolConfig.d.ts +11 -0
- package/dist/api/types/ProjectExtendedResponse.d.ts +2 -2
- package/dist/api/types/ProjectExtendedResponseModelSourceType.d.ts +2 -1
- package/dist/api/types/ProjectExtendedResponseModelSourceType.js +1 -0
- package/dist/api/types/ProjectResponseModelSourceType.d.ts +2 -1
- package/dist/api/types/ProjectResponseModelSourceType.js +1 -0
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/api/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -1
- package/dist/api/types/WorkspaceResourceType.js +1 -0
- package/dist/api/types/index.d.ts +3 -4
- package/dist/api/types/index.js +3 -4
- package/dist/core/fetcher/BinaryResponse.d.ts +17 -0
- package/dist/core/fetcher/BinaryResponse.js +14 -0
- package/dist/core/fetcher/Fetcher.d.ts +1 -1
- package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/core/fetcher/getFetchFn.js +3 -3
- package/dist/core/fetcher/getResponseBody.js +33 -32
- package/dist/core/fetcher/index.d.ts +1 -0
- package/dist/core/file.d.ts +1 -0
- package/dist/core/file.js +2 -0
- package/dist/core/form-data-utils/FormDataWrapper.d.ts +5 -52
- package/dist/core/form-data-utils/FormDataWrapper.js +104 -124
- package/dist/core/index.d.ts +1 -0
- package/dist/core/index.js +1 -0
- package/dist/environments.d.ts +5 -1
- package/dist/environments.js +4 -0
- package/dist/serialization/resources/index.d.ts +0 -1
- package/dist/serialization/resources/index.js +0 -1
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/dist/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/dist/serialization/resources/workspace/index.d.ts +0 -1
- package/dist/serialization/resources/workspace/index.js +0 -1
- package/dist/serialization/types/AuthConnectionLocator.d.ts +12 -0
- package/dist/serialization/{resources/workspace/client/getShareOptions.js → types/AuthConnectionLocator.js} +5 -4
- package/dist/serialization/types/BadRequestErrorBody.d.ts +13 -0
- package/{serialization/resources/workspace/client/getShareOptions.js → dist/serialization/types/BadRequestErrorBody.js} +6 -4
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +1 -1
- package/dist/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.js +1 -1
- package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +1 -0
- package/dist/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +1 -0
- package/dist/serialization/types/BreakdownTypes.d.ts +1 -1
- package/dist/serialization/types/BreakdownTypes.js +2 -0
- 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/ChapterResponse.d.ts +1 -0
- package/dist/serialization/types/ChapterResponse.js +1 -0
- package/dist/serialization/types/ChapterWithContentResponseModel.d.ts +1 -0
- package/dist/serialization/types/ChapterWithContentResponseModel.js +1 -0
- package/dist/serialization/types/ForcedAlignmentResponseModel.d.ts +1 -0
- package/dist/serialization/types/ForcedAlignmentResponseModel.js +1 -0
- package/dist/serialization/types/ForcedAlignmentWordResponseModel.d.ts +1 -0
- package/dist/serialization/types/ForcedAlignmentWordResponseModel.js +1 -0
- package/dist/serialization/types/MetricType.d.ts +1 -1
- package/dist/serialization/types/MetricType.js +9 -1
- package/dist/serialization/types/PlayDtmfToolConfig.d.ts +11 -0
- package/dist/serialization/types/PlayDtmfToolConfig.js +41 -0
- package/dist/serialization/types/ProjectExtendedResponse.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponse.js +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/dist/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/dist/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +1 -0
- package/dist/serialization/types/index.d.ts +3 -4
- package/dist/serialization/types/index.js +3 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +5 -1
- package/environments.js +4 -0
- package/jest.browser.config.mjs +10 -0
- package/jest.config.mjs +4 -1
- package/package.json +6 -8
- package/reference.md +23 -247
- package/serialization/resources/index.d.ts +0 -1
- package/serialization/resources/index.js +0 -1
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.d.ts +1 -1
- package/serialization/resources/studio/resources/projects/types/ProjectsCreateRequestSourceType.js +1 -1
- package/serialization/resources/workspace/index.d.ts +0 -1
- package/serialization/resources/workspace/index.js +0 -1
- package/serialization/types/AuthConnectionLocator.d.ts +12 -0
- package/serialization/{resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js → types/AuthConnectionLocator.js} +4 -4
- package/serialization/types/BadRequestErrorBody.d.ts +13 -0
- package/{dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js → serialization/types/BadRequestErrorBody.js} +5 -4
- package/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.d.ts +1 -1
- package/serialization/types/BodyAddProjectV1ProjectsAddPostSourceType.js +1 -1
- package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.d.ts +1 -0
- package/serialization/types/BodyEditProjectContentV1ProjectsProjectIdContentPost.js +1 -0
- package/serialization/types/BreakdownTypes.d.ts +1 -1
- package/serialization/types/BreakdownTypes.js +2 -0
- 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/ChapterResponse.d.ts +1 -0
- package/serialization/types/ChapterResponse.js +1 -0
- package/serialization/types/ChapterWithContentResponseModel.d.ts +1 -0
- package/serialization/types/ChapterWithContentResponseModel.js +1 -0
- package/serialization/types/ForcedAlignmentResponseModel.d.ts +1 -0
- package/serialization/types/ForcedAlignmentResponseModel.js +1 -0
- package/serialization/types/ForcedAlignmentWordResponseModel.d.ts +1 -0
- package/serialization/types/ForcedAlignmentWordResponseModel.js +1 -0
- package/serialization/types/MetricType.d.ts +1 -1
- package/serialization/types/MetricType.js +9 -1
- package/serialization/types/PlayDtmfToolConfig.d.ts +11 -0
- package/serialization/types/PlayDtmfToolConfig.js +41 -0
- package/serialization/types/ProjectExtendedResponse.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponse.js +1 -1
- package/serialization/types/ProjectExtendedResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectExtendedResponseModelSourceType.js +1 -1
- package/serialization/types/ProjectResponseModelSourceType.d.ts +1 -1
- package/serialization/types/ProjectResponseModelSourceType.js +1 -1
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigInput.js +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.d.ts +2 -0
- package/serialization/types/WebhookToolApiSchemaConfigOutput.js +2 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +1 -0
- package/serialization/types/index.d.ts +3 -4
- package/serialization/types/index.js +3 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +0 -13
- package/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +0 -12
- package/api/resources/workspace/client/requests/index.d.ts +0 -2
- package/api/types/BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.d.ts +0 -7
- package/api/types/DefaultSharingPreferencesResponseModel.d.ts +0 -8
- package/api/types/WorkspaceGroupPermission.d.ts +0 -22
- package/api/types/WorkspaceGroupPermission.js +0 -24
- package/api/types/WorkspaceGroupResponseModel.d.ts +0 -10
- package/core/form-data-utils/toReadableStream.d.ts +0 -1
- package/core/form-data-utils/toReadableStream.js +0 -28
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +0 -13
- package/dist/api/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +0 -12
- package/dist/api/resources/workspace/client/requests/index.d.ts +0 -2
- package/dist/api/types/BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.d.ts +0 -7
- package/dist/api/types/DefaultSharingPreferencesResponseModel.d.ts +0 -8
- package/dist/api/types/WorkspaceGroupPermission.d.ts +0 -22
- package/dist/api/types/WorkspaceGroupPermission.js +0 -24
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +0 -10
- package/dist/core/form-data-utils/toReadableStream.d.ts +0 -1
- package/dist/core/form-data-utils/toReadableStream.js +0 -28
- package/dist/serialization/resources/workspace/client/getShareOptions.d.ts +0 -11
- package/dist/serialization/resources/workspace/client/index.d.ts +0 -2
- package/dist/serialization/resources/workspace/client/index.js +0 -41
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +0 -12
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +0 -43
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +0 -12
- package/dist/serialization/resources/workspace/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/workspace/client/requests/index.js +0 -7
- package/dist/serialization/types/BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.d.ts +0 -12
- package/dist/serialization/types/BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.js +0 -43
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +0 -13
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.js +0 -44
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +0 -10
- package/dist/serialization/types/WorkspaceGroupPermission.js +0 -58
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +0 -16
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +0 -47
- package/runtime-tests/cf-worker/package.json +0 -17
- package/runtime-tests/cf-worker/wrangler.toml +0 -4
- package/serialization/resources/workspace/client/getShareOptions.d.ts +0 -11
- package/serialization/resources/workspace/client/index.d.ts +0 -2
- package/serialization/resources/workspace/client/index.js +0 -41
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +0 -12
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +0 -43
- package/serialization/resources/workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.d.ts +0 -12
- package/serialization/resources/workspace/client/requests/index.d.ts +0 -2
- package/serialization/resources/workspace/client/requests/index.js +0 -7
- package/serialization/types/BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.d.ts +0 -12
- package/serialization/types/BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.js +0 -43
- package/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +0 -13
- package/serialization/types/DefaultSharingPreferencesResponseModel.js +0 -44
- package/serialization/types/WorkspaceGroupPermission.d.ts +0 -10
- package/serialization/types/WorkspaceGroupPermission.js +0 -58
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +0 -16
- package/serialization/types/WorkspaceGroupResponseModel.js +0 -47
- /package/api/resources/{workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js → conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetRequest.js} +0 -0
- /package/api/resources/{workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js → voices/resources/pvc/resources/samples/resources/audio/client/requests/AudioGetRequest.js} +0 -0
- /package/api/resources/{workspace → voices/resources/pvc/resources/samples/resources/audio}/client/requests/index.js +0 -0
- /package/api/types/{BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.js → AuthConnectionLocator.js} +0 -0
- /package/api/types/{DefaultSharingPreferencesResponseModel.js → BadRequestErrorBody.js} +0 -0
- /package/api/types/{WorkspaceGroupResponseModel.js → PlayDtmfToolConfig.js} +0 -0
- /package/{dist/api/resources/workspace/client/requests/index.js → core/file.js} +0 -0
- /package/dist/api/resources/{workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js → conversationalAi/resources/knowledgeBase/resources/documents/client/requests/DocumentsGetRequest.js} +0 -0
- /package/dist/api/resources/{workspace/client/requests/BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost.js → voices/resources/pvc/resources/samples/resources/audio/client/requests/AudioGetRequest.js} +0 -0
- /package/dist/api/types/{BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.js → AuthConnectionLocator.js} +0 -0
- /package/dist/api/types/{DefaultSharingPreferencesResponseModel.js → BadRequestErrorBody.js} +0 -0
- /package/dist/api/types/{WorkspaceGroupResponseModel.js → PlayDtmfToolConfig.js} +0 -0
|
@@ -83,5 +83,5 @@ exports.ProjectExtendedResponse = core.serialization.object({
|
|
|
83
83
|
pronunciationDictionaryVersions: core.serialization.property("pronunciation_dictionary_versions", core.serialization.list(PronunciationDictionaryVersionResponseModel_1.PronunciationDictionaryVersionResponseModel)),
|
|
84
84
|
pronunciationDictionaryLocators: core.serialization.property("pronunciation_dictionary_locators", core.serialization.list(PronunciationDictionaryLocatorResponseModel_1.PronunciationDictionaryLocatorResponseModel)),
|
|
85
85
|
applyTextNormalization: core.serialization.property("apply_text_normalization", ProjectExtendedResponseModelApplyTextNormalization_1.ProjectExtendedResponseModelApplyTextNormalization),
|
|
86
|
-
experimental: core.serialization.record(core.serialization.string(), core.serialization.unknown()),
|
|
86
|
+
experimental: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
87
87
|
});
|
|
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ProjectExtendedResponseModelSourceType: core.serialization.Schema<serializers.ProjectExtendedResponseModelSourceType.Raw, ElevenLabs.ProjectExtendedResponseModelSourceType>;
|
|
8
8
|
export declare namespace ProjectExtendedResponseModelSourceType {
|
|
9
|
-
type Raw = "blank" | "book" | "article" | "genfm";
|
|
9
|
+
type Raw = "blank" | "book" | "article" | "genfm" | "video";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ProjectExtendedResponseModelSourceType = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.ProjectExtendedResponseModelSourceType = core.serialization.enum_(["blank", "book", "article", "genfm"]);
|
|
41
|
+
exports.ProjectExtendedResponseModelSourceType = core.serialization.enum_(["blank", "book", "article", "genfm", "video"]);
|
|
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ProjectResponseModelSourceType: core.serialization.Schema<serializers.ProjectResponseModelSourceType.Raw, ElevenLabs.ProjectResponseModelSourceType>;
|
|
8
8
|
export declare namespace ProjectResponseModelSourceType {
|
|
9
|
-
type Raw = "blank" | "book" | "article" | "genfm";
|
|
9
|
+
type Raw = "blank" | "book" | "article" | "genfm" | "video";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.ProjectResponseModelSourceType = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.ProjectResponseModelSourceType = core.serialization.enum_(["blank", "book", "article", "genfm"]);
|
|
41
|
+
exports.ProjectResponseModelSourceType = core.serialization.enum_(["blank", "book", "article", "genfm", "video"]);
|
|
@@ -6,18 +6,22 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EndCallToolConfig } from "./EndCallToolConfig";
|
|
8
8
|
import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
|
|
9
|
+
import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
|
|
9
10
|
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
10
11
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
11
12
|
import { TransferToNumberToolConfig } from "./TransferToNumberToolConfig";
|
|
12
13
|
export declare const SystemToolConfigInputParams: core.serialization.Schema<serializers.SystemToolConfigInputParams.Raw, ElevenLabs.SystemToolConfigInputParams>;
|
|
13
14
|
export declare namespace SystemToolConfigInputParams {
|
|
14
|
-
type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber;
|
|
15
|
+
type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.PlayKeypadTouchTone | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber;
|
|
15
16
|
interface EndCall extends EndCallToolConfig.Raw {
|
|
16
17
|
system_tool_type: "end_call";
|
|
17
18
|
}
|
|
18
19
|
interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
|
|
19
20
|
system_tool_type: "language_detection";
|
|
20
21
|
}
|
|
22
|
+
interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
|
|
23
|
+
system_tool_type: "play_keypad_touch_tone";
|
|
24
|
+
}
|
|
21
25
|
interface SkipTurn extends SkipTurnToolConfig.Raw {
|
|
22
26
|
system_tool_type: "skip_turn";
|
|
23
27
|
}
|
|
@@ -40,6 +40,7 @@ exports.SystemToolConfigInputParams = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const EndCallToolConfig_1 = require("./EndCallToolConfig");
|
|
42
42
|
const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
43
|
+
const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
43
44
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
44
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
45
46
|
const TransferToNumberToolConfig_1 = require("./TransferToNumberToolConfig");
|
|
@@ -47,6 +48,7 @@ exports.SystemToolConfigInputParams = core.serialization
|
|
|
47
48
|
.union(core.serialization.discriminant("systemToolType", "system_tool_type"), {
|
|
48
49
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
49
50
|
language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
|
|
51
|
+
play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
|
|
50
52
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
51
53
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
52
54
|
transfer_to_number: TransferToNumberToolConfig_1.TransferToNumberToolConfig,
|
|
@@ -6,18 +6,22 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { EndCallToolConfig } from "./EndCallToolConfig";
|
|
8
8
|
import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
|
|
9
|
+
import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
|
|
9
10
|
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
10
11
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
11
12
|
import { TransferToNumberToolConfig } from "./TransferToNumberToolConfig";
|
|
12
13
|
export declare const SystemToolConfigOutputParams: core.serialization.Schema<serializers.SystemToolConfigOutputParams.Raw, ElevenLabs.SystemToolConfigOutputParams>;
|
|
13
14
|
export declare namespace SystemToolConfigOutputParams {
|
|
14
|
-
type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber;
|
|
15
|
+
type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.PlayKeypadTouchTone | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber;
|
|
15
16
|
interface EndCall extends EndCallToolConfig.Raw {
|
|
16
17
|
system_tool_type: "end_call";
|
|
17
18
|
}
|
|
18
19
|
interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
|
|
19
20
|
system_tool_type: "language_detection";
|
|
20
21
|
}
|
|
22
|
+
interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
|
|
23
|
+
system_tool_type: "play_keypad_touch_tone";
|
|
24
|
+
}
|
|
21
25
|
interface SkipTurn extends SkipTurnToolConfig.Raw {
|
|
22
26
|
system_tool_type: "skip_turn";
|
|
23
27
|
}
|
|
@@ -40,6 +40,7 @@ exports.SystemToolConfigOutputParams = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const EndCallToolConfig_1 = require("./EndCallToolConfig");
|
|
42
42
|
const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
43
|
+
const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
43
44
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
44
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
45
46
|
const TransferToNumberToolConfig_1 = require("./TransferToNumberToolConfig");
|
|
@@ -47,6 +48,7 @@ exports.SystemToolConfigOutputParams = core.serialization
|
|
|
47
48
|
.union(core.serialization.discriminant("systemToolType", "system_tool_type"), {
|
|
48
49
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
49
50
|
language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
|
|
51
|
+
play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
|
|
50
52
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
51
53
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
52
54
|
transfer_to_number: TransferToNumberToolConfig_1.TransferToNumberToolConfig,
|
|
@@ -8,6 +8,7 @@ import { WebhookToolApiSchemaConfigInputMethod } from "./WebhookToolApiSchemaCon
|
|
|
8
8
|
import { LiteralJsonSchemaProperty } from "./LiteralJsonSchemaProperty";
|
|
9
9
|
import { QueryParamsJsonSchema } from "./QueryParamsJsonSchema";
|
|
10
10
|
import { WebhookToolApiSchemaConfigInputRequestHeadersValue } from "./WebhookToolApiSchemaConfigInputRequestHeadersValue";
|
|
11
|
+
import { AuthConnectionLocator } from "./AuthConnectionLocator";
|
|
11
12
|
export declare const WebhookToolApiSchemaConfigInput: core.serialization.ObjectSchema<serializers.WebhookToolApiSchemaConfigInput.Raw, ElevenLabs.WebhookToolApiSchemaConfigInput>;
|
|
12
13
|
export declare namespace WebhookToolApiSchemaConfigInput {
|
|
13
14
|
interface Raw {
|
|
@@ -17,5 +18,6 @@ export declare namespace WebhookToolApiSchemaConfigInput {
|
|
|
17
18
|
query_params_schema?: QueryParamsJsonSchema.Raw | null;
|
|
18
19
|
request_body_schema?: serializers.ObjectJsonSchemaPropertyInput.Raw | null;
|
|
19
20
|
request_headers?: Record<string, WebhookToolApiSchemaConfigInputRequestHeadersValue.Raw> | null;
|
|
21
|
+
auth_connection?: AuthConnectionLocator.Raw | null;
|
|
20
22
|
}
|
|
21
23
|
}
|
|
@@ -43,6 +43,7 @@ const WebhookToolApiSchemaConfigInputMethod_1 = require("./WebhookToolApiSchemaC
|
|
|
43
43
|
const LiteralJsonSchemaProperty_1 = require("./LiteralJsonSchemaProperty");
|
|
44
44
|
const QueryParamsJsonSchema_1 = require("./QueryParamsJsonSchema");
|
|
45
45
|
const WebhookToolApiSchemaConfigInputRequestHeadersValue_1 = require("./WebhookToolApiSchemaConfigInputRequestHeadersValue");
|
|
46
|
+
const AuthConnectionLocator_1 = require("./AuthConnectionLocator");
|
|
46
47
|
exports.WebhookToolApiSchemaConfigInput = core.serialization.object({
|
|
47
48
|
url: core.serialization.string(),
|
|
48
49
|
method: WebhookToolApiSchemaConfigInputMethod_1.WebhookToolApiSchemaConfigInputMethod.optional(),
|
|
@@ -52,4 +53,5 @@ exports.WebhookToolApiSchemaConfigInput = core.serialization.object({
|
|
|
52
53
|
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
53
54
|
.record(core.serialization.string(), WebhookToolApiSchemaConfigInputRequestHeadersValue_1.WebhookToolApiSchemaConfigInputRequestHeadersValue)
|
|
54
55
|
.optional()),
|
|
56
|
+
authConnection: core.serialization.property("auth_connection", AuthConnectionLocator_1.AuthConnectionLocator.optional()),
|
|
55
57
|
});
|
|
@@ -8,6 +8,7 @@ import { WebhookToolApiSchemaConfigOutputMethod } from "./WebhookToolApiSchemaCo
|
|
|
8
8
|
import { LiteralJsonSchemaProperty } from "./LiteralJsonSchemaProperty";
|
|
9
9
|
import { QueryParamsJsonSchema } from "./QueryParamsJsonSchema";
|
|
10
10
|
import { WebhookToolApiSchemaConfigOutputRequestHeadersValue } from "./WebhookToolApiSchemaConfigOutputRequestHeadersValue";
|
|
11
|
+
import { AuthConnectionLocator } from "./AuthConnectionLocator";
|
|
11
12
|
export declare const WebhookToolApiSchemaConfigOutput: core.serialization.ObjectSchema<serializers.WebhookToolApiSchemaConfigOutput.Raw, ElevenLabs.WebhookToolApiSchemaConfigOutput>;
|
|
12
13
|
export declare namespace WebhookToolApiSchemaConfigOutput {
|
|
13
14
|
interface Raw {
|
|
@@ -17,5 +18,6 @@ export declare namespace WebhookToolApiSchemaConfigOutput {
|
|
|
17
18
|
query_params_schema?: QueryParamsJsonSchema.Raw | null;
|
|
18
19
|
request_body_schema?: serializers.ObjectJsonSchemaPropertyOutput.Raw | null;
|
|
19
20
|
request_headers?: Record<string, WebhookToolApiSchemaConfigOutputRequestHeadersValue.Raw> | null;
|
|
21
|
+
auth_connection?: AuthConnectionLocator.Raw | null;
|
|
20
22
|
}
|
|
21
23
|
}
|
|
@@ -43,6 +43,7 @@ const WebhookToolApiSchemaConfigOutputMethod_1 = require("./WebhookToolApiSchema
|
|
|
43
43
|
const LiteralJsonSchemaProperty_1 = require("./LiteralJsonSchemaProperty");
|
|
44
44
|
const QueryParamsJsonSchema_1 = require("./QueryParamsJsonSchema");
|
|
45
45
|
const WebhookToolApiSchemaConfigOutputRequestHeadersValue_1 = require("./WebhookToolApiSchemaConfigOutputRequestHeadersValue");
|
|
46
|
+
const AuthConnectionLocator_1 = require("./AuthConnectionLocator");
|
|
46
47
|
exports.WebhookToolApiSchemaConfigOutput = core.serialization.object({
|
|
47
48
|
url: core.serialization.string(),
|
|
48
49
|
method: WebhookToolApiSchemaConfigOutputMethod_1.WebhookToolApiSchemaConfigOutputMethod.optional(),
|
|
@@ -52,4 +53,5 @@ exports.WebhookToolApiSchemaConfigOutput = core.serialization.object({
|
|
|
52
53
|
requestHeaders: core.serialization.property("request_headers", core.serialization
|
|
53
54
|
.record(core.serialization.string(), WebhookToolApiSchemaConfigOutputRequestHeadersValue_1.WebhookToolApiSchemaConfigOutputRequestHeadersValue)
|
|
54
55
|
.optional()),
|
|
56
|
+
authConnection: core.serialization.property("auth_connection", AuthConnectionLocator_1.AuthConnectionLocator.optional()),
|
|
55
57
|
});
|
|
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkspaceResourceType: core.serialization.Schema<serializers.WorkspaceResourceType.Raw, ElevenLabs.WorkspaceResourceType>;
|
|
8
8
|
export declare namespace WorkspaceResourceType {
|
|
9
|
-
type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "music_latent" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_batch_calls";
|
|
9
|
+
type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "workspace_auth_connections" | "music_latent" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_batch_calls";
|
|
10
10
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./BadRequestErrorBody";
|
|
1
2
|
export * from "./AsrConversationalConfig";
|
|
2
3
|
export * from "./AsrInputFormat";
|
|
3
4
|
export * from "./AsrProvider";
|
|
@@ -36,6 +37,7 @@ export * from "./AudioNativeEditContentResponseModel";
|
|
|
36
37
|
export * from "./AudioNativeProjectSettingsResponseModelStatus";
|
|
37
38
|
export * from "./AudioNativeProjectSettingsResponseModel";
|
|
38
39
|
export * from "./AudioWithTimestampsResponse";
|
|
40
|
+
export * from "./AuthConnectionLocator";
|
|
39
41
|
export * from "./AuthSettings";
|
|
40
42
|
export * from "./AuthorizationMethod";
|
|
41
43
|
export * from "./BanReasonType";
|
|
@@ -64,7 +66,6 @@ export * from "./BodyEditProjectContentV1ProjectsProjectIdContentPost";
|
|
|
64
66
|
export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender";
|
|
65
67
|
export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge";
|
|
66
68
|
export * from "./GenerateVoiceRequest";
|
|
67
|
-
export * from "./BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet";
|
|
68
69
|
export * from "./BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost";
|
|
69
70
|
export * from "./BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost";
|
|
70
71
|
export * from "./UpdatePronunciationDictionariesRequest";
|
|
@@ -165,7 +166,6 @@ export * from "./DashboardCallSuccessChartModel";
|
|
|
165
166
|
export * from "./DashboardCriteriaChartModel";
|
|
166
167
|
export * from "./DashboardDataCollectionChartModel";
|
|
167
168
|
export * from "./DataCollectionResultCommonModel";
|
|
168
|
-
export * from "./DefaultSharingPreferencesResponseModel";
|
|
169
169
|
export * from "./DeleteChapterResponseModel";
|
|
170
170
|
export * from "./DeleteDubbingResponseModel";
|
|
171
171
|
export * from "./DeleteHistoryItemResponse";
|
|
@@ -328,6 +328,7 @@ export * from "./OutboundCallRecipientResponseModel";
|
|
|
328
328
|
export * from "./PdfExportOptions";
|
|
329
329
|
export * from "./PhoneNumberAgentInfo";
|
|
330
330
|
export * from "./PhoneNumberTransfer";
|
|
331
|
+
export * from "./PlayDtmfToolConfig";
|
|
331
332
|
export * from "./PodcastBulletinMode";
|
|
332
333
|
export * from "./PodcastBulletinModeData";
|
|
333
334
|
export * from "./PodcastConversationMode";
|
|
@@ -523,8 +524,6 @@ export * from "./WidgetStyles";
|
|
|
523
524
|
export * from "./WidgetTextContents";
|
|
524
525
|
export * from "./WorkspaceBatchCallsResponse";
|
|
525
526
|
export * from "./WorkspaceGroupByNameResponseModel";
|
|
526
|
-
export * from "./WorkspaceGroupPermission";
|
|
527
|
-
export * from "./WorkspaceGroupResponseModel";
|
|
528
527
|
export * from "./WorkspaceResourceType";
|
|
529
528
|
export * from "./WorkspaceWebhookListResponseModel";
|
|
530
529
|
export * from "./WorkspaceWebhookResponseModel";
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./BadRequestErrorBody"), exports);
|
|
17
18
|
__exportStar(require("./AsrConversationalConfig"), exports);
|
|
18
19
|
__exportStar(require("./AsrInputFormat"), exports);
|
|
19
20
|
__exportStar(require("./AsrProvider"), exports);
|
|
@@ -52,6 +53,7 @@ __exportStar(require("./AudioNativeEditContentResponseModel"), exports);
|
|
|
52
53
|
__exportStar(require("./AudioNativeProjectSettingsResponseModelStatus"), exports);
|
|
53
54
|
__exportStar(require("./AudioNativeProjectSettingsResponseModel"), exports);
|
|
54
55
|
__exportStar(require("./AudioWithTimestampsResponse"), exports);
|
|
56
|
+
__exportStar(require("./AuthConnectionLocator"), exports);
|
|
55
57
|
__exportStar(require("./AuthSettings"), exports);
|
|
56
58
|
__exportStar(require("./AuthorizationMethod"), exports);
|
|
57
59
|
__exportStar(require("./BanReasonType"), exports);
|
|
@@ -80,7 +82,6 @@ __exportStar(require("./BodyEditProjectContentV1ProjectsProjectIdContentPost"),
|
|
|
80
82
|
__exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender"), exports);
|
|
81
83
|
__exportStar(require("./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge"), exports);
|
|
82
84
|
__exportStar(require("./GenerateVoiceRequest"), exports);
|
|
83
|
-
__exportStar(require("./BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet"), exports);
|
|
84
85
|
__exportStar(require("./BodyStreamChapterAudioV1ProjectsProjectIdChaptersChapterIdSnapshotsChapterSnapshotIdStreamPost"), exports);
|
|
85
86
|
__exportStar(require("./BodyStreamProjectAudioV1ProjectsProjectIdSnapshotsProjectSnapshotIdStreamPost"), exports);
|
|
86
87
|
__exportStar(require("./UpdatePronunciationDictionariesRequest"), exports);
|
|
@@ -181,7 +182,6 @@ __exportStar(require("./DashboardCallSuccessChartModel"), exports);
|
|
|
181
182
|
__exportStar(require("./DashboardCriteriaChartModel"), exports);
|
|
182
183
|
__exportStar(require("./DashboardDataCollectionChartModel"), exports);
|
|
183
184
|
__exportStar(require("./DataCollectionResultCommonModel"), exports);
|
|
184
|
-
__exportStar(require("./DefaultSharingPreferencesResponseModel"), exports);
|
|
185
185
|
__exportStar(require("./DeleteChapterResponseModel"), exports);
|
|
186
186
|
__exportStar(require("./DeleteDubbingResponseModel"), exports);
|
|
187
187
|
__exportStar(require("./DeleteHistoryItemResponse"), exports);
|
|
@@ -344,6 +344,7 @@ __exportStar(require("./OutboundCallRecipientResponseModel"), exports);
|
|
|
344
344
|
__exportStar(require("./PdfExportOptions"), exports);
|
|
345
345
|
__exportStar(require("./PhoneNumberAgentInfo"), exports);
|
|
346
346
|
__exportStar(require("./PhoneNumberTransfer"), exports);
|
|
347
|
+
__exportStar(require("./PlayDtmfToolConfig"), exports);
|
|
347
348
|
__exportStar(require("./PodcastBulletinMode"), exports);
|
|
348
349
|
__exportStar(require("./PodcastBulletinModeData"), exports);
|
|
349
350
|
__exportStar(require("./PodcastConversationMode"), exports);
|
|
@@ -539,8 +540,6 @@ __exportStar(require("./WidgetStyles"), exports);
|
|
|
539
540
|
__exportStar(require("./WidgetTextContents"), exports);
|
|
540
541
|
__exportStar(require("./WorkspaceBatchCallsResponse"), exports);
|
|
541
542
|
__exportStar(require("./WorkspaceGroupByNameResponseModel"), exports);
|
|
542
|
-
__exportStar(require("./WorkspaceGroupPermission"), exports);
|
|
543
|
-
__exportStar(require("./WorkspaceGroupResponseModel"), exports);
|
|
544
543
|
__exportStar(require("./WorkspaceResourceType"), exports);
|
|
545
544
|
__exportStar(require("./WorkspaceWebhookListResponseModel"), exports);
|
|
546
545
|
__exportStar(require("./WorkspaceWebhookResponseModel"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.5.0";
|
package/version.js
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* defaultSharingGroups: ["default_sharing_groups"]
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost {
|
|
11
|
-
/** List of group IDs to share with by default */
|
|
12
|
-
defaultSharingGroups: string[];
|
|
13
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { type BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost } from "./BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost";
|
|
2
|
-
export { type BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost } from "./BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost";
|
package/api/types/BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet {
|
|
5
|
-
/** If set will remove background noise for voice samples using our audio isolation model. If the samples do not include background noise, it can make the quality worse. */
|
|
6
|
-
removeBackgroundNoise?: boolean;
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as ElevenLabs from "../index";
|
|
5
|
-
export interface DefaultSharingPreferencesResponseModel {
|
|
6
|
-
/** List of groups that the user shares with by default */
|
|
7
|
-
defaultSharingGroups: ElevenLabs.WorkspaceGroupResponseModel[];
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type WorkspaceGroupPermission = "text_to_speech" | "speech_to_speech" | "voice_lab" | "sound_effects" | "projects" | "voiceover_studio" | "dubbing" | "audio_native" | "conversational_ai" | "voice_isolator" | "ai_speech_classifier" | "add_voice_from_voice_library" | "create_instant_voice_clone" | "create_professional_voice_clone" | "create_user_api_key" | "publish_studio_project";
|
|
5
|
-
export declare const WorkspaceGroupPermission: {
|
|
6
|
-
readonly TextToSpeech: "text_to_speech";
|
|
7
|
-
readonly SpeechToSpeech: "speech_to_speech";
|
|
8
|
-
readonly VoiceLab: "voice_lab";
|
|
9
|
-
readonly SoundEffects: "sound_effects";
|
|
10
|
-
readonly Projects: "projects";
|
|
11
|
-
readonly VoiceoverStudio: "voiceover_studio";
|
|
12
|
-
readonly Dubbing: "dubbing";
|
|
13
|
-
readonly AudioNative: "audio_native";
|
|
14
|
-
readonly ConversationalAi: "conversational_ai";
|
|
15
|
-
readonly VoiceIsolator: "voice_isolator";
|
|
16
|
-
readonly AiSpeechClassifier: "ai_speech_classifier";
|
|
17
|
-
readonly AddVoiceFromVoiceLibrary: "add_voice_from_voice_library";
|
|
18
|
-
readonly CreateInstantVoiceClone: "create_instant_voice_clone";
|
|
19
|
-
readonly CreateProfessionalVoiceClone: "create_professional_voice_clone";
|
|
20
|
-
readonly CreateUserApiKey: "create_user_api_key";
|
|
21
|
-
readonly PublishStudioProject: "publish_studio_project";
|
|
22
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.WorkspaceGroupPermission = void 0;
|
|
7
|
-
exports.WorkspaceGroupPermission = {
|
|
8
|
-
TextToSpeech: "text_to_speech",
|
|
9
|
-
SpeechToSpeech: "speech_to_speech",
|
|
10
|
-
VoiceLab: "voice_lab",
|
|
11
|
-
SoundEffects: "sound_effects",
|
|
12
|
-
Projects: "projects",
|
|
13
|
-
VoiceoverStudio: "voiceover_studio",
|
|
14
|
-
Dubbing: "dubbing",
|
|
15
|
-
AudioNative: "audio_native",
|
|
16
|
-
ConversationalAi: "conversational_ai",
|
|
17
|
-
VoiceIsolator: "voice_isolator",
|
|
18
|
-
AiSpeechClassifier: "ai_speech_classifier",
|
|
19
|
-
AddVoiceFromVoiceLibrary: "add_voice_from_voice_library",
|
|
20
|
-
CreateInstantVoiceClone: "create_instant_voice_clone",
|
|
21
|
-
CreateProfessionalVoiceClone: "create_professional_voice_clone",
|
|
22
|
-
CreateUserApiKey: "create_user_api_key",
|
|
23
|
-
PublishStudioProject: "publish_studio_project",
|
|
24
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as ElevenLabs from "../index";
|
|
5
|
-
export interface WorkspaceGroupResponseModel {
|
|
6
|
-
name: string;
|
|
7
|
-
id: string;
|
|
8
|
-
members: string[];
|
|
9
|
-
permissions?: ElevenLabs.WorkspaceGroupPermission[];
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function toReadableStream(encoder: import("form-data-encoder").FormDataEncoder): Promise<ReadableStream<any>>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.toReadableStream = toReadableStream;
|
|
13
|
-
function toReadableStream(encoder) {
|
|
14
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15
|
-
const iterator = encoder.encode();
|
|
16
|
-
return new ReadableStream({
|
|
17
|
-
pull(controller) {
|
|
18
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
-
const { value, done } = yield iterator.next();
|
|
20
|
-
if (done) {
|
|
21
|
-
return controller.close();
|
|
22
|
-
}
|
|
23
|
-
controller.enqueue(value);
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* defaultSharingGroups: ["default_sharing_groups"]
|
|
8
|
-
* }
|
|
9
|
-
*/
|
|
10
|
-
export interface BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost {
|
|
11
|
-
/** List of group IDs to share with by default */
|
|
12
|
-
defaultSharingGroups: string[];
|
|
13
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { type BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost } from "./BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost";
|
|
2
|
-
export { type BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost } from "./BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost";
|
package/dist/api/types/BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export interface BodyRetrieveVoiceSampleAudioV1VoicesPvcVoiceIdSamplesSampleIdAudioGet {
|
|
5
|
-
/** If set will remove background noise for voice samples using our audio isolation model. If the samples do not include background noise, it can make the quality worse. */
|
|
6
|
-
removeBackgroundNoise?: boolean;
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as ElevenLabs from "../index";
|
|
5
|
-
export interface DefaultSharingPreferencesResponseModel {
|
|
6
|
-
/** List of groups that the user shares with by default */
|
|
7
|
-
defaultSharingGroups: ElevenLabs.WorkspaceGroupResponseModel[];
|
|
8
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
export type WorkspaceGroupPermission = "text_to_speech" | "speech_to_speech" | "voice_lab" | "sound_effects" | "projects" | "voiceover_studio" | "dubbing" | "audio_native" | "conversational_ai" | "voice_isolator" | "ai_speech_classifier" | "add_voice_from_voice_library" | "create_instant_voice_clone" | "create_professional_voice_clone" | "create_user_api_key" | "publish_studio_project";
|
|
5
|
-
export declare const WorkspaceGroupPermission: {
|
|
6
|
-
readonly TextToSpeech: "text_to_speech";
|
|
7
|
-
readonly SpeechToSpeech: "speech_to_speech";
|
|
8
|
-
readonly VoiceLab: "voice_lab";
|
|
9
|
-
readonly SoundEffects: "sound_effects";
|
|
10
|
-
readonly Projects: "projects";
|
|
11
|
-
readonly VoiceoverStudio: "voiceover_studio";
|
|
12
|
-
readonly Dubbing: "dubbing";
|
|
13
|
-
readonly AudioNative: "audio_native";
|
|
14
|
-
readonly ConversationalAi: "conversational_ai";
|
|
15
|
-
readonly VoiceIsolator: "voice_isolator";
|
|
16
|
-
readonly AiSpeechClassifier: "ai_speech_classifier";
|
|
17
|
-
readonly AddVoiceFromVoiceLibrary: "add_voice_from_voice_library";
|
|
18
|
-
readonly CreateInstantVoiceClone: "create_instant_voice_clone";
|
|
19
|
-
readonly CreateProfessionalVoiceClone: "create_professional_voice_clone";
|
|
20
|
-
readonly CreateUserApiKey: "create_user_api_key";
|
|
21
|
-
readonly PublishStudioProject: "publish_studio_project";
|
|
22
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.WorkspaceGroupPermission = void 0;
|
|
7
|
-
exports.WorkspaceGroupPermission = {
|
|
8
|
-
TextToSpeech: "text_to_speech",
|
|
9
|
-
SpeechToSpeech: "speech_to_speech",
|
|
10
|
-
VoiceLab: "voice_lab",
|
|
11
|
-
SoundEffects: "sound_effects",
|
|
12
|
-
Projects: "projects",
|
|
13
|
-
VoiceoverStudio: "voiceover_studio",
|
|
14
|
-
Dubbing: "dubbing",
|
|
15
|
-
AudioNative: "audio_native",
|
|
16
|
-
ConversationalAi: "conversational_ai",
|
|
17
|
-
VoiceIsolator: "voice_isolator",
|
|
18
|
-
AiSpeechClassifier: "ai_speech_classifier",
|
|
19
|
-
AddVoiceFromVoiceLibrary: "add_voice_from_voice_library",
|
|
20
|
-
CreateInstantVoiceClone: "create_instant_voice_clone",
|
|
21
|
-
CreateProfessionalVoiceClone: "create_professional_voice_clone",
|
|
22
|
-
CreateUserApiKey: "create_user_api_key",
|
|
23
|
-
PublishStudioProject: "publish_studio_project",
|
|
24
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as ElevenLabs from "../index";
|
|
5
|
-
export interface WorkspaceGroupResponseModel {
|
|
6
|
-
name: string;
|
|
7
|
-
id: string;
|
|
8
|
-
members: string[];
|
|
9
|
-
permissions?: ElevenLabs.WorkspaceGroupPermission[];
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function toReadableStream(encoder: import("form-data-encoder").FormDataEncoder): Promise<ReadableStream<any>>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.toReadableStream = toReadableStream;
|
|
13
|
-
function toReadableStream(encoder) {
|
|
14
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
15
|
-
const iterator = encoder.encode();
|
|
16
|
-
return new ReadableStream({
|
|
17
|
-
pull(controller) {
|
|
18
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
-
const { value, done } = yield iterator.next();
|
|
20
|
-
if (done) {
|
|
21
|
-
return controller.close();
|
|
22
|
-
}
|
|
23
|
-
controller.enqueue(value);
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../index";
|
|
5
|
-
import * as ElevenLabs from "../../../../api/index";
|
|
6
|
-
import * as core from "../../../../core";
|
|
7
|
-
import { ShareOptionResponseModel } from "../../../types/ShareOptionResponseModel";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.workspace.getShareOptions.Response.Raw, ElevenLabs.ShareOptionResponseModel[]>;
|
|
9
|
-
export declare namespace Response {
|
|
10
|
-
type Raw = ShareOptionResponseModel.Raw[];
|
|
11
|
-
}
|