@elevenlabs/elevenlabs-js 2.3.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +2 -2
- package/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/client/Client.js +17 -12
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +14 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +74 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
- package/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/index.js +3 -1
- package/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
- package/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
- package/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
- package/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
- package/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/tools/index.js +17 -0
- package/api/resources/dubbing/client/Client.js +3 -0
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/api/resources/textToVoice/client/Client.d.ts +32 -0
- package/api/resources/textToVoice/client/Client.js +162 -0
- package/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
- package/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
- package/api/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
- package/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
- package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
- package/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
- package/api/resources/textToVoice/types/index.d.ts +2 -0
- package/api/resources/textToVoice/types/index.js +2 -0
- package/api/resources/workspace/client/Client.d.ts +39 -0
- package/api/resources/workspace/client/Client.js +205 -0
- package/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
- package/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/api/types/AgentConfigOverride.d.ts +1 -1
- package/api/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/api/types/AsrProvider.d.ts +5 -1
- package/api/types/AsrProvider.js +5 -0
- package/api/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +1 -1
- package/api/types/BuiltInToolsOutput.d.ts +16 -0
- package/api/types/ClientToolConfigInput.d.ts +0 -1
- package/api/types/ClientToolConfigOutput.d.ts +0 -1
- package/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
- package/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
- package/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
- package/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
- package/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
- package/api/types/McpToolConfigInput.d.ts +0 -1
- package/api/types/McpToolConfigOutput.d.ts +0 -1
- package/api/types/PromptAgent.d.ts +1 -27
- package/api/types/PromptAgentApiModelInput.d.ts +32 -0
- package/{dist/api/types/PromptAgentInputToolsItem.d.ts → api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -2
- package/api/types/PromptAgentApiModelOutput.d.ts +32 -0
- package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
- package/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
- package/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
- package/api/types/PromptAgentDbModel.d.ts +3 -3
- package/api/types/SystemToolConfigInput.d.ts +0 -1
- package/api/types/SystemToolConfigOutput.d.ts +0 -1
- package/api/types/ToolRequestModel.d.ts +8 -0
- package/{dist/api/types/PromptAgentDbModelToolsItem.d.ts → api/types/ToolRequestModelToolConfig.d.ts} +3 -3
- package/api/types/ToolRequestModelToolConfig.js +5 -0
- package/api/types/ToolResponseModel.d.ts +10 -0
- package/api/types/ToolResponseModel.js +5 -0
- package/api/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +2 -2
- package/api/types/ToolResponseModelToolConfig.js +5 -0
- package/api/types/ToolsResponseModel.d.ts +7 -0
- package/api/types/ToolsResponseModel.js +5 -0
- package/api/types/WebhookToolConfigInput.d.ts +0 -1
- package/api/types/WebhookToolConfigOutput.d.ts +0 -1
- package/api/types/WorkspaceGroupPermission.d.ts +22 -0
- package/api/types/WorkspaceGroupPermission.js +24 -0
- package/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
- package/api/types/WorkspaceGroupResponseModel.js +5 -0
- package/api/types/index.d.ts +20 -11
- package/api/types/index.js +20 -11
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/client/Client.js +17 -12
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +14 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +74 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +11 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +5 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/index.js +3 -1
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.d.ts +126 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/Client.js +506 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/index.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.d.ts +17 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js +5 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/client/requests/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/tools/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/tools/index.js +17 -0
- package/dist/api/resources/dubbing/client/Client.js +3 -0
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +2 -0
- package/dist/api/resources/textToVoice/client/Client.d.ts +32 -0
- package/dist/api/resources/textToVoice/client/Client.js +162 -0
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +23 -0
- package/dist/api/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +36 -0
- package/dist/api/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +5 -0
- package/dist/api/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +28 -0
- package/dist/api/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +27 -0
- package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +11 -0
- package/dist/api/resources/textToVoice/types/VoiceDesignRequestModelModelId.js +10 -0
- package/dist/api/resources/textToVoice/types/index.d.ts +2 -0
- package/dist/api/resources/textToVoice/types/index.js +2 -0
- package/dist/api/resources/workspace/client/Client.d.ts +39 -0
- package/dist/api/resources/workspace/client/Client.js +205 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +13 -0
- package/dist/api/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +5 -0
- package/dist/api/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/api/types/AgentConfigOverride.d.ts +1 -1
- package/dist/api/types/AgentConfigOverrideConfig.d.ts +1 -1
- package/dist/api/types/AsrProvider.d.ts +5 -1
- package/dist/api/types/AsrProvider.js +5 -0
- package/dist/api/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +1 -1
- package/dist/api/types/BuiltInToolsInput.js +5 -0
- package/dist/api/types/BuiltInToolsOutput.d.ts +16 -0
- package/dist/api/types/BuiltInToolsOutput.js +5 -0
- package/dist/api/types/ClientToolConfigInput.d.ts +0 -1
- package/dist/api/types/ClientToolConfigOutput.d.ts +0 -1
- package/dist/api/types/ConvAiStoredSecretDependencies.d.ts +1 -1
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +13 -0
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentsItem.js +5 -0
- package/dist/api/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/api/types/DefaultSharingPreferencesResponseModel.d.ts +8 -0
- package/dist/api/types/DefaultSharingPreferencesResponseModel.js +5 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.d.ts +9 -0
- package/dist/api/types/GetToolDependentAgentsResponseModel.js +5 -0
- package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +13 -0
- package/dist/api/types/GetToolDependentAgentsResponseModelAgentsItem.js +5 -0
- package/dist/api/types/McpToolConfigInput.d.ts +0 -1
- package/dist/api/types/McpToolConfigOutput.d.ts +0 -1
- package/dist/api/types/PromptAgent.d.ts +1 -27
- package/dist/api/types/PromptAgentApiModelInput.d.ts +32 -0
- package/dist/api/types/PromptAgentApiModelInput.js +5 -0
- package/{api/types/PromptAgentDbModelToolsItem.d.ts → dist/api/types/PromptAgentApiModelInputToolsItem.d.ts} +2 -2
- package/dist/api/types/PromptAgentApiModelInputToolsItem.js +5 -0
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +32 -0
- package/dist/api/types/PromptAgentApiModelOutput.js +5 -0
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +22 -0
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.js +5 -0
- package/dist/api/types/{PromptAgentOverride.d.ts → PromptAgentApiModelOverride.d.ts} +1 -1
- package/dist/api/types/PromptAgentApiModelOverride.js +5 -0
- package/dist/api/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +1 -1
- package/dist/api/types/PromptAgentApiModelOverrideConfig.js +5 -0
- package/dist/api/types/PromptAgentDbModel.d.ts +3 -3
- package/dist/api/types/SystemToolConfigInput.d.ts +0 -1
- package/dist/api/types/SystemToolConfigOutput.d.ts +0 -1
- package/dist/api/types/ToolRequestModel.d.ts +8 -0
- package/dist/api/types/ToolRequestModel.js +5 -0
- package/{api/types/PromptAgentInputToolsItem.d.ts → dist/api/types/ToolRequestModelToolConfig.d.ts} +3 -3
- package/dist/api/types/ToolRequestModelToolConfig.js +5 -0
- package/dist/api/types/ToolResponseModel.d.ts +10 -0
- package/dist/api/types/ToolResponseModel.js +5 -0
- package/dist/api/types/{PromptAgentOutputToolsItem.d.ts → ToolResponseModelToolConfig.d.ts} +2 -2
- package/dist/api/types/ToolResponseModelToolConfig.js +5 -0
- package/dist/api/types/ToolsResponseModel.d.ts +7 -0
- package/dist/api/types/ToolsResponseModel.js +5 -0
- package/dist/api/types/WebhookToolConfigInput.d.ts +0 -1
- package/dist/api/types/WebhookToolConfigOutput.d.ts +0 -1
- package/dist/api/types/WorkspaceGroupPermission.d.ts +22 -0
- package/dist/api/types/WorkspaceGroupPermission.js +24 -0
- package/dist/api/types/WorkspaceGroupResponseModel.d.ts +10 -0
- package/dist/api/types/WorkspaceGroupResponseModel.js +5 -0
- package/dist/api/types/index.d.ts +20 -11
- package/dist/api/types/index.js +20 -11
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
- package/dist/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
- package/dist/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
- package/dist/serialization/{types/DependentAvailableAgentToolIdentifier.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +14 -9
- package/dist/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/client/requests/index.js +5 -1
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
- package/dist/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
- package/dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
- package/{serialization/types/DependentUnknownAgentToolIdentifier.js → dist/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js} +3 -3
- package/dist/serialization/resources/textToVoice/types/index.d.ts +2 -0
- package/dist/serialization/resources/textToVoice/types/index.js +2 -0
- package/dist/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
- package/dist/serialization/{types/DependentAvailableAgentToolIdentifierAccessLevel.js → resources/workspace/client/getShareOptions.js} +4 -3
- package/dist/serialization/resources/workspace/client/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/index.js +24 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
- package/dist/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
- package/dist/serialization/resources/workspace/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/workspace/client/requests/index.js +3 -1
- package/dist/serialization/types/AgentConfigOverride.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverride.js +2 -2
- package/dist/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
- package/dist/serialization/types/AgentConfigOverrideConfig.js +2 -2
- package/dist/serialization/types/AsrProvider.d.ts +1 -1
- package/dist/serialization/types/AsrProvider.js +1 -1
- package/dist/serialization/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +2 -2
- package/dist/serialization/types/{BuiltInTools.js → BuiltInToolsInput.js} +2 -2
- package/dist/serialization/types/BuiltInToolsOutput.d.ts +17 -0
- package/dist/serialization/types/BuiltInToolsOutput.js +48 -0
- package/dist/serialization/types/ClientToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/ClientToolConfigInput.js +0 -1
- package/dist/serialization/types/ClientToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/ClientToolConfigOutput.js +0 -1
- package/dist/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
- package/dist/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
- package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
- package/dist/serialization/types/{ConvAiStoredSecretDependenciesAgentToolsItem.js → ConvAiStoredSecretDependenciesAgentsItem.js} +6 -6
- package/dist/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
- package/dist/serialization/types/ConversationChargingCommonModel.js +2 -0
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
- package/dist/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModel.js +46 -0
- package/dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
- package/{serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → dist/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js} +6 -6
- package/dist/serialization/types/McpToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/McpToolConfigInput.js +0 -1
- package/dist/serialization/types/McpToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/McpToolConfigOutput.js +0 -1
- package/dist/serialization/types/PromptAgent.d.ts +2 -20
- package/dist/serialization/types/PromptAgent.js +1 -19
- package/dist/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
- package/dist/serialization/types/PromptAgentApiModelInput.js +61 -0
- package/{serialization/types/PromptAgentDbModelToolsItem.d.ts → dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -3
- package/{serialization/types/PromptAgentDbModelToolsItem.js → dist/serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -2
- package/dist/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
- package/dist/serialization/types/PromptAgentApiModelOutput.js +61 -0
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
- package/{serialization/types/PromptAgentOverride.d.ts → dist/serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
- package/dist/serialization/types/{PromptAgentOverride.js → PromptAgentApiModelOverride.js} +2 -2
- package/dist/serialization/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +2 -2
- package/dist/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
- package/dist/serialization/types/PromptAgentDbModel.d.ts +3 -4
- package/dist/serialization/types/PromptAgentDbModel.js +3 -4
- package/dist/serialization/types/SystemToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/SystemToolConfigInput.js +0 -1
- package/dist/serialization/types/SystemToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/SystemToolConfigOutput.js +0 -1
- package/dist/serialization/types/ToolRequestModel.d.ts +13 -0
- package/dist/serialization/types/ToolRequestModel.js +44 -0
- package/dist/serialization/types/{PromptAgentInputToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -3
- package/{serialization/types/PromptAgentInputToolsItem.js → dist/serialization/types/ToolRequestModelToolConfig.js} +2 -2
- package/dist/serialization/types/ToolResponseModel.d.ts +16 -0
- package/dist/serialization/types/ToolResponseModel.js +47 -0
- package/{serialization/types/PromptAgentOutputToolsItem.d.ts → dist/serialization/types/ToolResponseModelToolConfig.d.ts} +3 -3
- package/{serialization/types/PromptAgentOutputToolsItem.js → dist/serialization/types/ToolResponseModelToolConfig.js} +2 -2
- package/dist/serialization/types/ToolsResponseModel.d.ts +13 -0
- package/dist/serialization/types/ToolsResponseModel.js +44 -0
- package/dist/serialization/types/WebhookToolConfigInput.d.ts +0 -1
- package/dist/serialization/types/WebhookToolConfigInput.js +0 -1
- package/dist/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
- package/dist/serialization/types/WebhookToolConfigOutput.js +0 -1
- package/dist/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
- package/dist/serialization/types/WorkspaceGroupPermission.js +58 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/dist/serialization/types/WorkspaceGroupResponseModel.js +47 -0
- package/dist/serialization/types/index.d.ts +20 -11
- package/dist/serialization/types/index.js +20 -11
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/play.d.ts +1 -2
- package/dist/wrapper/play.js +69 -36
- package/dist/wrapper/stream.d.ts +1 -2
- package/dist/wrapper/stream.js +64 -37
- package/dist/wrapper/utils.d.ts +2 -0
- package/dist/wrapper/utils.js +41 -0
- package/package.json +2 -3
- package/reference.md +1019 -239
- package/runtime-tests/cf-worker/package.json +17 -0
- package/runtime-tests/cf-worker/wrangler.toml +4 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.d.ts +12 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js +43 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts +1 -0
- package/serialization/resources/conversationalAi/resources/agents/client/requests/index.js +3 -1
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.d.ts +16 -0
- package/serialization/resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js +47 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.d.ts +22 -0
- package/serialization/resources/textToVoice/client/requests/VoiceDesignRequestModel.js +53 -0
- package/serialization/resources/textToVoice/client/requests/index.d.ts +2 -0
- package/serialization/resources/textToVoice/client/requests/index.js +5 -1
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.d.ts +10 -0
- package/serialization/resources/textToVoice/types/TextToVoiceDesignRequestOutputFormat.js +61 -0
- package/serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.d.ts +10 -0
- package/{dist/serialization/types/DependentUnknownAgentToolIdentifier.js → serialization/resources/textToVoice/types/VoiceDesignRequestModelModelId.js} +3 -3
- package/serialization/resources/textToVoice/types/index.d.ts +2 -0
- package/serialization/resources/textToVoice/types/index.js +2 -0
- package/serialization/resources/workspace/client/getShareOptions.d.ts +11 -0
- package/serialization/resources/workspace/client/getShareOptions.js +42 -0
- package/serialization/resources/workspace/client/index.d.ts +1 -0
- package/serialization/resources/workspace/client/index.js +24 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.d.ts +12 -0
- package/serialization/resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js +43 -0
- package/serialization/resources/workspace/client/requests/index.d.ts +1 -0
- package/serialization/resources/workspace/client/requests/index.js +3 -1
- package/serialization/types/AgentConfigOverride.d.ts +2 -2
- package/serialization/types/AgentConfigOverride.js +2 -2
- package/serialization/types/AgentConfigOverrideConfig.d.ts +2 -2
- package/serialization/types/AgentConfigOverrideConfig.js +2 -2
- package/serialization/types/AsrProvider.d.ts +1 -1
- package/serialization/types/AsrProvider.js +1 -1
- package/serialization/types/{BuiltInTools.d.ts → BuiltInToolsInput.d.ts} +2 -2
- package/serialization/types/{BuiltInTools.js → BuiltInToolsInput.js} +2 -2
- package/serialization/types/BuiltInToolsOutput.d.ts +17 -0
- package/serialization/types/BuiltInToolsOutput.js +48 -0
- package/serialization/types/ClientToolConfigInput.d.ts +0 -1
- package/serialization/types/ClientToolConfigInput.js +0 -1
- package/serialization/types/ClientToolConfigOutput.d.ts +0 -1
- package/serialization/types/ClientToolConfigOutput.js +0 -1
- package/serialization/types/ConvAiStoredSecretDependencies.d.ts +2 -2
- package/serialization/types/ConvAiStoredSecretDependencies.js +2 -2
- package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.d.ts +18 -0
- package/serialization/types/ConvAiStoredSecretDependenciesAgentsItem.js +51 -0
- package/serialization/types/ConversationChargingCommonModel.d.ts +2 -0
- package/serialization/types/ConversationChargingCommonModel.js +2 -0
- package/serialization/types/DefaultSharingPreferencesResponseModel.d.ts +13 -0
- package/serialization/types/DefaultSharingPreferencesResponseModel.js +44 -0
- package/serialization/types/GetToolDependentAgentsResponseModel.d.ts +15 -0
- package/serialization/types/GetToolDependentAgentsResponseModel.js +46 -0
- package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.d.ts +18 -0
- package/serialization/types/GetToolDependentAgentsResponseModelAgentsItem.js +51 -0
- package/serialization/types/McpToolConfigInput.d.ts +0 -1
- package/serialization/types/McpToolConfigInput.js +0 -1
- package/serialization/types/McpToolConfigOutput.d.ts +0 -1
- package/serialization/types/McpToolConfigOutput.js +0 -1
- package/serialization/types/PromptAgent.d.ts +2 -20
- package/serialization/types/PromptAgent.js +1 -19
- package/serialization/types/PromptAgentApiModelInput.d.ts +30 -0
- package/serialization/types/PromptAgentApiModelInput.js +61 -0
- package/{dist/serialization/types/PromptAgentDbModelToolsItem.d.ts → serialization/types/PromptAgentApiModelInputToolsItem.d.ts} +3 -3
- package/{dist/serialization/types/PromptAgentDbModelToolsItem.js → serialization/types/PromptAgentApiModelInputToolsItem.js} +2 -2
- package/serialization/types/PromptAgentApiModelOutput.d.ts +30 -0
- package/serialization/types/PromptAgentApiModelOutput.js +61 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +26 -0
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +55 -0
- package/{dist/serialization/types/PromptAgentOverride.d.ts → serialization/types/PromptAgentApiModelOverride.d.ts} +2 -2
- package/serialization/types/{PromptAgentOverride.js → PromptAgentApiModelOverride.js} +2 -2
- package/serialization/types/{PromptAgentOverrideConfig.d.ts → PromptAgentApiModelOverrideConfig.d.ts} +2 -2
- package/serialization/types/{PromptAgentOverrideConfig.js → PromptAgentApiModelOverrideConfig.js} +2 -2
- package/serialization/types/PromptAgentDbModel.d.ts +3 -4
- package/serialization/types/PromptAgentDbModel.js +3 -4
- package/serialization/types/SystemToolConfigInput.d.ts +0 -1
- package/serialization/types/SystemToolConfigInput.js +0 -1
- package/serialization/types/SystemToolConfigOutput.d.ts +0 -1
- package/serialization/types/SystemToolConfigOutput.js +0 -1
- package/serialization/types/ToolRequestModel.d.ts +13 -0
- package/serialization/types/ToolRequestModel.js +44 -0
- package/serialization/types/{PromptAgentInputToolsItem.d.ts → ToolRequestModelToolConfig.d.ts} +3 -3
- package/{dist/serialization/types/PromptAgentInputToolsItem.js → serialization/types/ToolRequestModelToolConfig.js} +2 -2
- package/serialization/types/ToolResponseModel.d.ts +16 -0
- package/serialization/types/ToolResponseModel.js +47 -0
- package/{dist/serialization/types/PromptAgentOutputToolsItem.d.ts → serialization/types/ToolResponseModelToolConfig.d.ts} +3 -3
- package/{dist/serialization/types/PromptAgentOutputToolsItem.js → serialization/types/ToolResponseModelToolConfig.js} +2 -2
- package/serialization/types/ToolsResponseModel.d.ts +13 -0
- package/serialization/types/ToolsResponseModel.js +44 -0
- package/serialization/types/WebhookToolConfigInput.d.ts +0 -1
- package/serialization/types/WebhookToolConfigInput.js +0 -1
- package/serialization/types/WebhookToolConfigOutput.d.ts +0 -1
- package/serialization/types/WebhookToolConfigOutput.js +0 -1
- package/serialization/types/WorkspaceGroupPermission.d.ts +10 -0
- package/serialization/types/WorkspaceGroupPermission.js +58 -0
- package/serialization/types/WorkspaceGroupResponseModel.d.ts +16 -0
- package/serialization/types/WorkspaceGroupResponseModel.js +47 -0
- package/serialization/types/index.d.ts +20 -11
- package/serialization/types/index.js +20 -11
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/play.d.ts +1 -2
- package/wrapper/play.js +69 -36
- package/wrapper/stream.d.ts +1 -2
- package/wrapper/stream.js +64 -37
- package/wrapper/utils.d.ts +2 -0
- package/wrapper/utils.js +41 -0
- package/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
- package/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
- package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
- package/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
- package/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
- package/dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -13
- package/dist/api/types/DependentAvailableAgentToolIdentifier.d.ts +0 -11
- package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -9
- package/dist/api/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -11
- package/dist/api/types/DependentUnknownAgentToolIdentifier.d.ts +0 -9
- package/dist/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
- package/dist/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
- package/dist/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
- package/dist/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
- package/serialization/types/ConvAiStoredSecretDependenciesAgentToolsItem.d.ts +0 -18
- package/serialization/types/DependentAvailableAgentToolIdentifier.d.ts +0 -17
- package/serialization/types/DependentAvailableAgentToolIdentifier.js +0 -48
- package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.d.ts +0 -10
- package/serialization/types/DependentAvailableAgentToolIdentifierAccessLevel.js +0 -41
- package/serialization/types/DependentUnknownAgentToolIdentifier.d.ts +0 -11
- /package/api/{types/BuiltInTools.js → resources/conversationalAi/resources/agents/client/requests/BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.js} +0 -0
- /package/api/{types/ConvAiStoredSecretDependenciesAgentToolsItem.js → resources/conversationalAi/resources/tools/client/requests/ToolsGetDependentAgentsRequest.js} +0 -0
- /package/api/{types/DependentAvailableAgentToolIdentifier.js → resources/textToVoice/client/requests/BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.js} +0 -0
- /package/api/{types/DependentUnknownAgentToolIdentifier.js → resources/textToVoice/client/requests/VoiceDesignRequestModel.js} +0 -0
- /package/api/{types/PromptAgentDbModelToolsItem.js → resources/workspace/client/requests/BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.js} +0 -0
- /package/api/types/{PromptAgentInputToolsItem.js → BuiltInToolsInput.js} +0 -0
- /package/api/types/{PromptAgentOutputToolsItem.js → BuiltInToolsOutput.js} +0 -0
- /package/api/types/{PromptAgentOverride.js → ConvAiStoredSecretDependenciesAgentsItem.js} +0 -0
- /package/api/types/{PromptAgentOverrideConfig.js → DefaultSharingPreferencesResponseModel.js} +0 -0
- /package/{dist/api/types/BuiltInTools.js → api/types/GetToolDependentAgentsResponseModel.js} +0 -0
- /package/{dist/api/types/ConvAiStoredSecretDependenciesAgentToolsItem.js → api/types/GetToolDependentAgentsResponseModelAgentsItem.js} +0 -0
- /package/{dist/api/types/DependentAvailableAgentToolIdentifier.js → api/types/PromptAgentApiModelInput.js} +0 -0
- /package/{dist/api/types/DependentUnknownAgentToolIdentifier.js → api/types/PromptAgentApiModelInputToolsItem.js} +0 -0
- /package/{dist/api/types/PromptAgentDbModelToolsItem.js → api/types/PromptAgentApiModelOutput.js} +0 -0
- /package/{dist/api/types/PromptAgentInputToolsItem.js → api/types/PromptAgentApiModelOutputToolsItem.js} +0 -0
- /package/{dist/api/types/PromptAgentOutputToolsItem.js → api/types/PromptAgentApiModelOverride.js} +0 -0
- /package/{dist/api/types/PromptAgentOverride.js → api/types/PromptAgentApiModelOverrideConfig.js} +0 -0
- /package/{dist/api/types/PromptAgentOverrideConfig.js → api/types/ToolRequestModel.js} +0 -0
package/dist/wrapper/stream.js
CHANGED
|
@@ -1,4 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
2
35
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
36
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
37
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -8,56 +41,50 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
8
41
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
42
|
});
|
|
10
43
|
};
|
|
11
|
-
var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
12
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
13
|
-
var m = o[Symbol.asyncIterator], i;
|
|
14
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
15
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
16
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
17
|
-
};
|
|
18
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
19
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
20
|
-
};
|
|
21
44
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
45
|
exports.stream = stream;
|
|
23
|
-
const
|
|
46
|
+
const utils_1 = require("./utils");
|
|
24
47
|
const ElevenLabsError_1 = require("../errors/ElevenLabsError");
|
|
25
|
-
const runtime_1 = require("../core/runtime/runtime");
|
|
26
|
-
const execa_1 = __importDefault(require("execa"));
|
|
27
48
|
function stream(audio) {
|
|
28
49
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
|
|
30
|
-
var _b, e_1, _c, _d;
|
|
31
|
-
var _e, _f;
|
|
32
|
-
if (runtime_1.RUNTIME.type !== "node") {
|
|
50
|
+
if (!(0, utils_1.isNode)()) {
|
|
33
51
|
throw new ElevenLabsError_1.ElevenLabsError({
|
|
34
|
-
message:
|
|
52
|
+
message: "The stream function is only available in a Node.js environment.",
|
|
35
53
|
});
|
|
36
54
|
}
|
|
37
|
-
|
|
55
|
+
const { spawn } = yield Promise.resolve().then(() => __importStar(require("node:child_process")));
|
|
56
|
+
const { Readable } = yield Promise.resolve().then(() => __importStar(require("node:stream")));
|
|
57
|
+
const commandExists = (yield Promise.resolve().then(() => __importStar(require("command-exists")))).default;
|
|
58
|
+
if (!commandExists.sync("mpv")) {
|
|
38
59
|
throw new ElevenLabsError_1.ElevenLabsError({
|
|
39
60
|
message: `mpv not found, necessary to stream audio."
|
|
40
61
|
On mac you can install it with 'brew install mpv'.
|
|
41
62
|
On linux and windows you can install it from https://mpv.io/`,
|
|
42
63
|
});
|
|
43
64
|
}
|
|
44
|
-
const mpv = (
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
65
|
+
const mpv = spawn("mpv", ["--no-cache", "--no-terminal", "--", "fd://0"], {
|
|
66
|
+
stdio: ["pipe", "ignore", "pipe"],
|
|
67
|
+
});
|
|
68
|
+
Readable.from((0, utils_1.toAsyncIterable)(audio)).pipe(mpv.stdin);
|
|
69
|
+
const errorChunks = [];
|
|
70
|
+
mpv.stderr.on("data", (chunk) => {
|
|
71
|
+
errorChunks.push(chunk);
|
|
72
|
+
});
|
|
73
|
+
return new Promise((resolve, reject) => {
|
|
74
|
+
mpv.on("close", (code) => {
|
|
75
|
+
if (code === 0) {
|
|
76
|
+
resolve();
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
const error = Buffer.concat(errorChunks).toString();
|
|
80
|
+
reject(new ElevenLabsError_1.ElevenLabsError({
|
|
81
|
+
message: `mpv exited with code ${code}. Stderr: ${error}`,
|
|
82
|
+
}));
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
mpv.on("error", (err) => {
|
|
86
|
+
reject(new ElevenLabsError_1.ElevenLabsError({ message: `Failed to start mpv: ${err.message}` }));
|
|
87
|
+
});
|
|
88
|
+
});
|
|
62
89
|
});
|
|
63
90
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }
|
|
3
|
+
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
|
|
4
|
+
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
5
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
6
|
+
return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
7
|
+
function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }
|
|
8
|
+
function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }
|
|
9
|
+
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
10
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
11
|
+
function fulfill(value) { resume("next", value); }
|
|
12
|
+
function reject(value) { resume("throw", value); }
|
|
13
|
+
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
14
|
+
};
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.isNode = isNode;
|
|
17
|
+
exports.toAsyncIterable = toAsyncIterable;
|
|
18
|
+
function isNode() {
|
|
19
|
+
var _a;
|
|
20
|
+
return (typeof process !== "undefined" &&
|
|
21
|
+
process.versions != null &&
|
|
22
|
+
process.versions.node != null &&
|
|
23
|
+
((_a = process.release) === null || _a === void 0 ? void 0 : _a.name) === "node");
|
|
24
|
+
}
|
|
25
|
+
function toAsyncIterable(stream) {
|
|
26
|
+
return __asyncGenerator(this, arguments, function* toAsyncIterable_1() {
|
|
27
|
+
const reader = stream.getReader();
|
|
28
|
+
try {
|
|
29
|
+
while (true) {
|
|
30
|
+
const { done, value } = yield __await(reader.read());
|
|
31
|
+
if (done) {
|
|
32
|
+
return yield __await(void 0);
|
|
33
|
+
}
|
|
34
|
+
yield yield __await(value);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
finally {
|
|
38
|
+
reader.releaseLock();
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevenlabs/elevenlabs-js",
|
|
3
|
-
"version": "v2.
|
|
3
|
+
"version": "v2.4.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "https://github.com/elevenlabs/elevenlabs-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
"node-fetch": "^2.7.0",
|
|
22
22
|
"qs": "^6.13.1",
|
|
23
23
|
"form-data-encoder": "^4.0.2",
|
|
24
|
-
"command-exists": "^1.2.9"
|
|
25
|
-
"execa": "^5.1.1"
|
|
24
|
+
"command-exists": "^1.2.9"
|
|
26
25
|
},
|
|
27
26
|
"devDependencies": {
|
|
28
27
|
"@types/url-join": "4.0.1",
|