@elevenlabs/elevenlabs-js 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +2 -2
- package/api/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/package.json +1 -1
- package/reference.md +1019 -239
- 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/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
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../index";
|
|
5
|
+
import * as ElevenLabs from "../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../core";
|
|
7
|
+
export declare const BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost: core.serialization.Schema<serializers.conversationalAi.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost.Raw, ElevenLabs.conversationalAi.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost>;
|
|
8
|
+
export declare namespace BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../../core"));
|
|
41
|
+
exports.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost = core.serialization.object({
|
|
42
|
+
name: core.serialization.string().optional(),
|
|
43
|
+
});
|
package/serialization/resources/conversationalAi/resources/agents/client/requests/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { BodyCreateAgentV1ConvaiAgentsCreatePost } from "./BodyCreateAgentV1ConvaiAgentsCreatePost";
|
|
2
2
|
export { UpdateAgentRequest } from "./UpdateAgentRequest";
|
|
3
|
+
export { BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost } from "./BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost";
|
|
3
4
|
export { BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost } from "./BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost";
|
|
4
5
|
export { BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost } from "./BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost = exports.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost = exports.UpdateAgentRequest = exports.BodyCreateAgentV1ConvaiAgentsCreatePost = void 0;
|
|
3
|
+
exports.BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost = exports.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost = exports.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost = exports.UpdateAgentRequest = exports.BodyCreateAgentV1ConvaiAgentsCreatePost = void 0;
|
|
4
4
|
var BodyCreateAgentV1ConvaiAgentsCreatePost_1 = require("./BodyCreateAgentV1ConvaiAgentsCreatePost");
|
|
5
5
|
Object.defineProperty(exports, "BodyCreateAgentV1ConvaiAgentsCreatePost", { enumerable: true, get: function () { return BodyCreateAgentV1ConvaiAgentsCreatePost_1.BodyCreateAgentV1ConvaiAgentsCreatePost; } });
|
|
6
6
|
var UpdateAgentRequest_1 = require("./UpdateAgentRequest");
|
|
7
7
|
Object.defineProperty(exports, "UpdateAgentRequest", { enumerable: true, get: function () { return UpdateAgentRequest_1.UpdateAgentRequest; } });
|
|
8
|
+
var BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost_1 = require("./BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost");
|
|
9
|
+
Object.defineProperty(exports, "BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost", { enumerable: true, get: function () { return BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost_1.BodyDuplicateAgentV1ConvaiAgentsAgentIdDuplicatePost; } });
|
|
8
10
|
var BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost_1 = require("./BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost");
|
|
9
11
|
Object.defineProperty(exports, "BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost", { enumerable: true, get: function () { return BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost_1.BodySimulatesAConversationV1ConvaiAgentsAgentIdSimulateConversationPost; } });
|
|
10
12
|
var BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost_1 = require("./BodySimulatesAConversationStreamV1ConvaiAgentsAgentIdSimulateConversationStreamPost");
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as ElevenLabs from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost: core.serialization.Schema<serializers.BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost.Raw, ElevenLabs.BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost>;
|
|
8
|
+
export declare namespace BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost {
|
|
9
|
+
interface Raw {
|
|
10
|
+
voice_name: string;
|
|
11
|
+
voice_description: string;
|
|
12
|
+
generated_voice_id: string;
|
|
13
|
+
labels?: Record<string, string | null | undefined> | null;
|
|
14
|
+
played_not_selected_voice_ids?: string[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost = core.serialization.object({
|
|
42
|
+
voiceName: core.serialization.property("voice_name", core.serialization.string()),
|
|
43
|
+
voiceDescription: core.serialization.property("voice_description", core.serialization.string()),
|
|
44
|
+
generatedVoiceId: core.serialization.property("generated_voice_id", core.serialization.string()),
|
|
45
|
+
labels: core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional(),
|
|
46
|
+
playedNotSelectedVoiceIds: core.serialization.property("played_not_selected_voice_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
47
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { VoiceDesignRequestModelModelId } from "../../types/VoiceDesignRequestModelModelId";
|
|
8
|
+
export declare const VoiceDesignRequestModel: core.serialization.Schema<serializers.VoiceDesignRequestModel.Raw, Omit<ElevenLabs.VoiceDesignRequestModel, "outputFormat">>;
|
|
9
|
+
export declare namespace VoiceDesignRequestModel {
|
|
10
|
+
interface Raw {
|
|
11
|
+
voice_description: string;
|
|
12
|
+
model_id?: VoiceDesignRequestModelModelId.Raw | null;
|
|
13
|
+
text?: string | null;
|
|
14
|
+
auto_generate_text?: boolean | null;
|
|
15
|
+
loudness?: number | null;
|
|
16
|
+
seed?: number | null;
|
|
17
|
+
guidance_scale?: number | null;
|
|
18
|
+
quality?: number | null;
|
|
19
|
+
reference_audio_base64?: string | null;
|
|
20
|
+
prompt_strength?: number | null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.VoiceDesignRequestModel = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
const VoiceDesignRequestModelModelId_1 = require("../../types/VoiceDesignRequestModelModelId");
|
|
42
|
+
exports.VoiceDesignRequestModel = core.serialization.object({
|
|
43
|
+
voiceDescription: core.serialization.property("voice_description", core.serialization.string()),
|
|
44
|
+
modelId: core.serialization.property("model_id", VoiceDesignRequestModelModelId_1.VoiceDesignRequestModelModelId.optional()),
|
|
45
|
+
text: core.serialization.string().optional(),
|
|
46
|
+
autoGenerateText: core.serialization.property("auto_generate_text", core.serialization.boolean().optional()),
|
|
47
|
+
loudness: core.serialization.number().optional(),
|
|
48
|
+
seed: core.serialization.number().optional(),
|
|
49
|
+
guidanceScale: core.serialization.property("guidance_scale", core.serialization.number().optional()),
|
|
50
|
+
quality: core.serialization.number().optional(),
|
|
51
|
+
referenceAudioBase64: core.serialization.property("reference_audio_base64", core.serialization.string().optional()),
|
|
52
|
+
promptStrength: core.serialization.property("prompt_strength", core.serialization.number().optional()),
|
|
53
|
+
});
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { VoiceDesignRequest } from "./VoiceDesignRequest";
|
|
2
2
|
export { SaveVoicePreviewRequest } from "./SaveVoicePreviewRequest";
|
|
3
|
+
export { BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost } from "./BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost";
|
|
4
|
+
export { VoiceDesignRequestModel } from "./VoiceDesignRequestModel";
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SaveVoicePreviewRequest = exports.VoiceDesignRequest = void 0;
|
|
3
|
+
exports.VoiceDesignRequestModel = exports.BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost = exports.SaveVoicePreviewRequest = exports.VoiceDesignRequest = void 0;
|
|
4
4
|
var VoiceDesignRequest_1 = require("./VoiceDesignRequest");
|
|
5
5
|
Object.defineProperty(exports, "VoiceDesignRequest", { enumerable: true, get: function () { return VoiceDesignRequest_1.VoiceDesignRequest; } });
|
|
6
6
|
var SaveVoicePreviewRequest_1 = require("./SaveVoicePreviewRequest");
|
|
7
7
|
Object.defineProperty(exports, "SaveVoicePreviewRequest", { enumerable: true, get: function () { return SaveVoicePreviewRequest_1.SaveVoicePreviewRequest; } });
|
|
8
|
+
var BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost_1 = require("./BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost");
|
|
9
|
+
Object.defineProperty(exports, "BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost", { enumerable: true, get: function () { return BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost_1.BodyCreateANewVoiceFromVoicePreviewV1TextToVoicePost; } });
|
|
10
|
+
var VoiceDesignRequestModel_1 = require("./VoiceDesignRequestModel");
|
|
11
|
+
Object.defineProperty(exports, "VoiceDesignRequestModel", { enumerable: true, get: function () { return VoiceDesignRequestModel_1.VoiceDesignRequestModel; } });
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as ElevenLabs from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const TextToVoiceDesignRequestOutputFormat: core.serialization.Schema<serializers.TextToVoiceDesignRequestOutputFormat.Raw, ElevenLabs.TextToVoiceDesignRequestOutputFormat>;
|
|
8
|
+
export declare namespace TextToVoiceDesignRequestOutputFormat {
|
|
9
|
+
type Raw = "mp3_22050_32" | "mp3_44100_32" | "mp3_44100_64" | "mp3_44100_96" | "mp3_44100_128" | "mp3_44100_192" | "pcm_8000" | "pcm_16000" | "pcm_22050" | "pcm_24000" | "pcm_44100" | "pcm_48000" | "ulaw_8000" | "alaw_8000" | "opus_48000_32" | "opus_48000_64" | "opus_48000_96" | "opus_48000_128" | "opus_48000_192";
|
|
10
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TextToVoiceDesignRequestOutputFormat = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.TextToVoiceDesignRequestOutputFormat = core.serialization.enum_([
|
|
42
|
+
"mp3_22050_32",
|
|
43
|
+
"mp3_44100_32",
|
|
44
|
+
"mp3_44100_64",
|
|
45
|
+
"mp3_44100_96",
|
|
46
|
+
"mp3_44100_128",
|
|
47
|
+
"mp3_44100_192",
|
|
48
|
+
"pcm_8000",
|
|
49
|
+
"pcm_16000",
|
|
50
|
+
"pcm_22050",
|
|
51
|
+
"pcm_24000",
|
|
52
|
+
"pcm_44100",
|
|
53
|
+
"pcm_48000",
|
|
54
|
+
"ulaw_8000",
|
|
55
|
+
"alaw_8000",
|
|
56
|
+
"opus_48000_32",
|
|
57
|
+
"opus_48000_64",
|
|
58
|
+
"opus_48000_96",
|
|
59
|
+
"opus_48000_128",
|
|
60
|
+
"opus_48000_192",
|
|
61
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as ElevenLabs from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const VoiceDesignRequestModelModelId: core.serialization.Schema<serializers.VoiceDesignRequestModelModelId.Raw, ElevenLabs.VoiceDesignRequestModelModelId>;
|
|
8
|
+
export declare namespace VoiceDesignRequestModelModelId {
|
|
9
|
+
type Raw = "eleven_multilingual_ttv_v2" | "eleven_ttv_v3";
|
|
10
|
+
}
|
|
@@ -36,6 +36,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
40
|
-
const core = __importStar(require("
|
|
41
|
-
exports.
|
|
39
|
+
exports.VoiceDesignRequestModelModelId = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.VoiceDesignRequestModelModelId = core.serialization.enum_(["eleven_multilingual_ttv_v2", "eleven_ttv_v3"]);
|
|
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./TextToVoiceCreatePreviewsRequestOutputFormat"), exports);
|
|
18
|
+
__exportStar(require("./TextToVoiceDesignRequestOutputFormat"), exports);
|
|
19
|
+
__exportStar(require("./VoiceDesignRequestModelModelId"), exports);
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const ShareOptionResponseModel_1 = require("../../../types/ShareOptionResponseModel");
|
|
42
|
+
exports.Response = core.serialization.list(ShareOptionResponseModel_1.ShareOptionResponseModel);
|
|
@@ -10,8 +10,32 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
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
|
+
})();
|
|
13
35
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
37
|
};
|
|
16
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.getShareOptions = void 0;
|
|
40
|
+
exports.getShareOptions = __importStar(require("./getShareOptions"));
|
|
17
41
|
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as ElevenLabs from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost: core.serialization.Schema<serializers.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost.Raw, ElevenLabs.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost>;
|
|
8
|
+
export declare namespace BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost {
|
|
9
|
+
interface Raw {
|
|
10
|
+
default_sharing_groups: string[];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost = core.serialization.object({
|
|
42
|
+
defaultSharingGroups: core.serialization.property("default_sharing_groups", core.serialization.list(core.serialization.string())),
|
|
43
|
+
});
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export { BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost } from "./BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost";
|
|
2
|
+
export { BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost } from "./BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost = void 0;
|
|
3
|
+
exports.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost = exports.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost = void 0;
|
|
4
4
|
var BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost_1 = require("./BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost");
|
|
5
5
|
Object.defineProperty(exports, "BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost", { enumerable: true, get: function () { return BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost_1.BodyUpdateUserAutoProvisioningV1WorkspaceUserAutoProvisioningPost; } });
|
|
6
|
+
var BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost_1 = require("./BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost");
|
|
7
|
+
Object.defineProperty(exports, "BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost", { enumerable: true, get: function () { return BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost_1.BodyUpdateDefaultSharingPreferencesV1WorkspaceDefaultSharingPreferencesPost; } });
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { PromptAgentApiModelOverride } from "./PromptAgentApiModelOverride";
|
|
8
8
|
export declare const AgentConfigOverride: core.serialization.ObjectSchema<serializers.AgentConfigOverride.Raw, ElevenLabs.AgentConfigOverride>;
|
|
9
9
|
export declare namespace AgentConfigOverride {
|
|
10
10
|
interface Raw {
|
|
11
11
|
first_message?: string | null;
|
|
12
12
|
language?: string | null;
|
|
13
|
-
prompt?:
|
|
13
|
+
prompt?: PromptAgentApiModelOverride.Raw | null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -38,9 +38,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AgentConfigOverride = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
const
|
|
41
|
+
const PromptAgentApiModelOverride_1 = require("./PromptAgentApiModelOverride");
|
|
42
42
|
exports.AgentConfigOverride = core.serialization.object({
|
|
43
43
|
firstMessage: core.serialization.property("first_message", core.serialization.string().optional()),
|
|
44
44
|
language: core.serialization.string().optional(),
|
|
45
|
-
prompt:
|
|
45
|
+
prompt: PromptAgentApiModelOverride_1.PromptAgentApiModelOverride.optional(),
|
|
46
46
|
});
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { PromptAgentApiModelOverrideConfig } from "./PromptAgentApiModelOverrideConfig";
|
|
8
8
|
export declare const AgentConfigOverrideConfig: core.serialization.ObjectSchema<serializers.AgentConfigOverrideConfig.Raw, ElevenLabs.AgentConfigOverrideConfig>;
|
|
9
9
|
export declare namespace AgentConfigOverrideConfig {
|
|
10
10
|
interface Raw {
|
|
11
11
|
first_message?: boolean | null;
|
|
12
12
|
language?: boolean | null;
|
|
13
|
-
prompt?:
|
|
13
|
+
prompt?: PromptAgentApiModelOverrideConfig.Raw | null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -38,9 +38,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AgentConfigOverrideConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
const
|
|
41
|
+
const PromptAgentApiModelOverrideConfig_1 = require("./PromptAgentApiModelOverrideConfig");
|
|
42
42
|
exports.AgentConfigOverrideConfig = core.serialization.object({
|
|
43
43
|
firstMessage: core.serialization.property("first_message", core.serialization.boolean().optional()),
|
|
44
44
|
language: core.serialization.boolean().optional(),
|
|
45
|
-
prompt:
|
|
45
|
+
prompt: PromptAgentApiModelOverrideConfig_1.PromptAgentApiModelOverrideConfig.optional(),
|
|
46
46
|
});
|
|
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const AsrProvider: core.serialization.Schema<serializers.AsrProvider.Raw, ElevenLabs.AsrProvider>;
|
|
8
8
|
export declare namespace AsrProvider {
|
|
9
|
-
type Raw = "elevenlabs";
|
|
9
|
+
type Raw = "elevenlabs" | "realtime_scribe_v1";
|
|
10
10
|
}
|
|
@@ -38,4 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.AsrProvider = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
exports.AsrProvider = core.serialization.
|
|
41
|
+
exports.AsrProvider = core.serialization.enum_(["elevenlabs", "realtime_scribe_v1"]);
|
|
@@ -5,8 +5,8 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { SystemToolConfigInput } from "./SystemToolConfigInput";
|
|
8
|
-
export declare const
|
|
9
|
-
export declare namespace
|
|
8
|
+
export declare const BuiltInToolsInput: core.serialization.ObjectSchema<serializers.BuiltInToolsInput.Raw, ElevenLabs.BuiltInToolsInput>;
|
|
9
|
+
export declare namespace BuiltInToolsInput {
|
|
10
10
|
interface Raw {
|
|
11
11
|
end_call?: SystemToolConfigInput.Raw | null;
|
|
12
12
|
language_detection?: SystemToolConfigInput.Raw | null;
|
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.BuiltInToolsInput = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
|
|
42
|
-
exports.
|
|
42
|
+
exports.BuiltInToolsInput = core.serialization.object({
|
|
43
43
|
endCall: core.serialization.property("end_call", SystemToolConfigInput_1.SystemToolConfigInput.optional()),
|
|
44
44
|
languageDetection: core.serialization.property("language_detection", SystemToolConfigInput_1.SystemToolConfigInput.optional()),
|
|
45
45
|
transferToAgent: core.serialization.property("transfer_to_agent", SystemToolConfigInput_1.SystemToolConfigInput.optional()),
|