@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
|
@@ -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()),
|
|
@@ -0,0 +1,17 @@
|
|
|
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 { SystemToolConfigOutput } from "./SystemToolConfigOutput";
|
|
8
|
+
export declare const BuiltInToolsOutput: core.serialization.ObjectSchema<serializers.BuiltInToolsOutput.Raw, ElevenLabs.BuiltInToolsOutput>;
|
|
9
|
+
export declare namespace BuiltInToolsOutput {
|
|
10
|
+
interface Raw {
|
|
11
|
+
end_call?: SystemToolConfigOutput.Raw | null;
|
|
12
|
+
language_detection?: SystemToolConfigOutput.Raw | null;
|
|
13
|
+
transfer_to_agent?: SystemToolConfigOutput.Raw | null;
|
|
14
|
+
transfer_to_number?: SystemToolConfigOutput.Raw | null;
|
|
15
|
+
skip_turn?: SystemToolConfigOutput.Raw | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.BuiltInToolsOutput = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const SystemToolConfigOutput_1 = require("./SystemToolConfigOutput");
|
|
42
|
+
exports.BuiltInToolsOutput = core.serialization.object({
|
|
43
|
+
endCall: core.serialization.property("end_call", SystemToolConfigOutput_1.SystemToolConfigOutput.optional()),
|
|
44
|
+
languageDetection: core.serialization.property("language_detection", SystemToolConfigOutput_1.SystemToolConfigOutput.optional()),
|
|
45
|
+
transferToAgent: core.serialization.property("transfer_to_agent", SystemToolConfigOutput_1.SystemToolConfigOutput.optional()),
|
|
46
|
+
transferToNumber: core.serialization.property("transfer_to_number", SystemToolConfigOutput_1.SystemToolConfigOutput.optional()),
|
|
47
|
+
skipTurn: core.serialization.property("skip_turn", SystemToolConfigOutput_1.SystemToolConfigOutput.optional()),
|
|
48
|
+
});
|
|
@@ -8,7 +8,6 @@ import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
|
|
|
8
8
|
export declare const ClientToolConfigInput: core.serialization.ObjectSchema<serializers.ClientToolConfigInput.Raw, ElevenLabs.ClientToolConfigInput>;
|
|
9
9
|
export declare namespace ClientToolConfigInput {
|
|
10
10
|
interface Raw {
|
|
11
|
-
id?: string | null;
|
|
12
11
|
name: string;
|
|
13
12
|
description: string;
|
|
14
13
|
response_timeout_secs?: number | null;
|
|
@@ -41,7 +41,6 @@ const serializers = __importStar(require("../index"));
|
|
|
41
41
|
const core = __importStar(require("../../core"));
|
|
42
42
|
const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
|
|
43
43
|
exports.ClientToolConfigInput = core.serialization.object({
|
|
44
|
-
id: core.serialization.string().optional(),
|
|
45
44
|
name: core.serialization.string(),
|
|
46
45
|
description: core.serialization.string(),
|
|
47
46
|
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
|
|
@@ -8,7 +8,6 @@ import { DynamicVariablesConfig } from "./DynamicVariablesConfig";
|
|
|
8
8
|
export declare const ClientToolConfigOutput: core.serialization.ObjectSchema<serializers.ClientToolConfigOutput.Raw, ElevenLabs.ClientToolConfigOutput>;
|
|
9
9
|
export declare namespace ClientToolConfigOutput {
|
|
10
10
|
interface Raw {
|
|
11
|
-
id?: string | null;
|
|
12
11
|
name: string;
|
|
13
12
|
description: string;
|
|
14
13
|
response_timeout_secs?: number | null;
|
|
@@ -41,7 +41,6 @@ const serializers = __importStar(require("../index"));
|
|
|
41
41
|
const core = __importStar(require("../../core"));
|
|
42
42
|
const DynamicVariablesConfig_1 = require("./DynamicVariablesConfig");
|
|
43
43
|
exports.ClientToolConfigOutput = core.serialization.object({
|
|
44
|
-
id: core.serialization.string().optional(),
|
|
45
44
|
name: core.serialization.string(),
|
|
46
45
|
description: core.serialization.string(),
|
|
47
46
|
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
|
|
@@ -5,14 +5,14 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ConvAiStoredSecretDependenciesToolsItem } from "./ConvAiStoredSecretDependenciesToolsItem";
|
|
8
|
-
import {
|
|
8
|
+
import { ConvAiStoredSecretDependenciesAgentsItem } from "./ConvAiStoredSecretDependenciesAgentsItem";
|
|
9
9
|
import { SecretDependencyType } from "./SecretDependencyType";
|
|
10
10
|
import { DependentPhoneNumberIdentifier } from "./DependentPhoneNumberIdentifier";
|
|
11
11
|
export declare const ConvAiStoredSecretDependencies: core.serialization.ObjectSchema<serializers.ConvAiStoredSecretDependencies.Raw, ElevenLabs.ConvAiStoredSecretDependencies>;
|
|
12
12
|
export declare namespace ConvAiStoredSecretDependencies {
|
|
13
13
|
interface Raw {
|
|
14
14
|
tools: ConvAiStoredSecretDependenciesToolsItem.Raw[];
|
|
15
|
-
|
|
15
|
+
agents: ConvAiStoredSecretDependenciesAgentsItem.Raw[];
|
|
16
16
|
others: SecretDependencyType.Raw[];
|
|
17
17
|
phone_numbers?: DependentPhoneNumberIdentifier.Raw[] | null;
|
|
18
18
|
}
|
|
@@ -39,12 +39,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ConvAiStoredSecretDependencies = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ConvAiStoredSecretDependenciesToolsItem_1 = require("./ConvAiStoredSecretDependenciesToolsItem");
|
|
42
|
-
const
|
|
42
|
+
const ConvAiStoredSecretDependenciesAgentsItem_1 = require("./ConvAiStoredSecretDependenciesAgentsItem");
|
|
43
43
|
const SecretDependencyType_1 = require("./SecretDependencyType");
|
|
44
44
|
const DependentPhoneNumberIdentifier_1 = require("./DependentPhoneNumberIdentifier");
|
|
45
45
|
exports.ConvAiStoredSecretDependencies = core.serialization.object({
|
|
46
46
|
tools: core.serialization.list(ConvAiStoredSecretDependenciesToolsItem_1.ConvAiStoredSecretDependenciesToolsItem),
|
|
47
|
-
|
|
47
|
+
agents: core.serialization.list(ConvAiStoredSecretDependenciesAgentsItem_1.ConvAiStoredSecretDependenciesAgentsItem),
|
|
48
48
|
others: core.serialization.list(SecretDependencyType_1.SecretDependencyType),
|
|
49
49
|
phoneNumbers: core.serialization.property("phone_numbers", core.serialization.list(DependentPhoneNumberIdentifier_1.DependentPhoneNumberIdentifier).optional()),
|
|
50
50
|
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { DependentAvailableAgentIdentifier } from "./DependentAvailableAgentIdentifier";
|
|
8
|
+
import { DependentUnknownAgentIdentifier } from "./DependentUnknownAgentIdentifier";
|
|
9
|
+
export declare const ConvAiStoredSecretDependenciesAgentsItem: core.serialization.Schema<serializers.ConvAiStoredSecretDependenciesAgentsItem.Raw, ElevenLabs.ConvAiStoredSecretDependenciesAgentsItem>;
|
|
10
|
+
export declare namespace ConvAiStoredSecretDependenciesAgentsItem {
|
|
11
|
+
type Raw = ConvAiStoredSecretDependenciesAgentsItem.Available | ConvAiStoredSecretDependenciesAgentsItem.Unknown;
|
|
12
|
+
interface Available extends DependentAvailableAgentIdentifier.Raw {
|
|
13
|
+
type: "available";
|
|
14
|
+
}
|
|
15
|
+
interface Unknown extends DependentUnknownAgentIdentifier.Raw {
|
|
16
|
+
type: "unknown";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -36,14 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.ConvAiStoredSecretDependenciesAgentsItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
exports.
|
|
41
|
+
const DependentAvailableAgentIdentifier_1 = require("./DependentAvailableAgentIdentifier");
|
|
42
|
+
const DependentUnknownAgentIdentifier_1 = require("./DependentUnknownAgentIdentifier");
|
|
43
|
+
exports.ConvAiStoredSecretDependenciesAgentsItem = core.serialization
|
|
44
44
|
.union("type", {
|
|
45
|
-
available:
|
|
46
|
-
unknown:
|
|
45
|
+
available: DependentAvailableAgentIdentifier_1.DependentAvailableAgentIdentifier,
|
|
46
|
+
unknown: DependentUnknownAgentIdentifier_1.DependentUnknownAgentIdentifier,
|
|
47
47
|
})
|
|
48
48
|
.transform({
|
|
49
49
|
transform: (value) => value,
|
|
@@ -45,4 +45,6 @@ exports.ConversationChargingCommonModel = core.serialization.object({
|
|
|
45
45
|
tier: core.serialization.string().optional(),
|
|
46
46
|
llmUsage: core.serialization.property("llm_usage", LlmCategoryUsage_1.LlmCategoryUsage.optional()),
|
|
47
47
|
llmPrice: core.serialization.property("llm_price", core.serialization.number().optional()),
|
|
48
|
+
llmCharge: core.serialization.property("llm_charge", core.serialization.number().optional()),
|
|
49
|
+
callCharge: core.serialization.property("call_charge", core.serialization.number().optional()),
|
|
48
50
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { WorkspaceGroupResponseModel } from "./WorkspaceGroupResponseModel";
|
|
8
|
+
export declare const DefaultSharingPreferencesResponseModel: core.serialization.ObjectSchema<serializers.DefaultSharingPreferencesResponseModel.Raw, ElevenLabs.DefaultSharingPreferencesResponseModel>;
|
|
9
|
+
export declare namespace DefaultSharingPreferencesResponseModel {
|
|
10
|
+
interface Raw {
|
|
11
|
+
default_sharing_groups: WorkspaceGroupResponseModel.Raw[];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.DefaultSharingPreferencesResponseModel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const WorkspaceGroupResponseModel_1 = require("./WorkspaceGroupResponseModel");
|
|
42
|
+
exports.DefaultSharingPreferencesResponseModel = core.serialization.object({
|
|
43
|
+
defaultSharingGroups: core.serialization.property("default_sharing_groups", core.serialization.list(WorkspaceGroupResponseModel_1.WorkspaceGroupResponseModel)),
|
|
44
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { GetToolDependentAgentsResponseModelAgentsItem } from "./GetToolDependentAgentsResponseModelAgentsItem";
|
|
8
|
+
export declare const GetToolDependentAgentsResponseModel: core.serialization.ObjectSchema<serializers.GetToolDependentAgentsResponseModel.Raw, ElevenLabs.GetToolDependentAgentsResponseModel>;
|
|
9
|
+
export declare namespace GetToolDependentAgentsResponseModel {
|
|
10
|
+
interface Raw {
|
|
11
|
+
agents: GetToolDependentAgentsResponseModelAgentsItem.Raw[];
|
|
12
|
+
next_cursor?: string | null;
|
|
13
|
+
has_more: boolean;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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.GetToolDependentAgentsResponseModel = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const GetToolDependentAgentsResponseModelAgentsItem_1 = require("./GetToolDependentAgentsResponseModelAgentsItem");
|
|
42
|
+
exports.GetToolDependentAgentsResponseModel = core.serialization.object({
|
|
43
|
+
agents: core.serialization.list(GetToolDependentAgentsResponseModelAgentsItem_1.GetToolDependentAgentsResponseModelAgentsItem),
|
|
44
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
|
45
|
+
hasMore: core.serialization.property("has_more", core.serialization.boolean()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
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 { DependentAvailableAgentIdentifier } from "./DependentAvailableAgentIdentifier";
|
|
8
|
+
import { DependentUnknownAgentIdentifier } from "./DependentUnknownAgentIdentifier";
|
|
9
|
+
export declare const GetToolDependentAgentsResponseModelAgentsItem: core.serialization.Schema<serializers.GetToolDependentAgentsResponseModelAgentsItem.Raw, ElevenLabs.GetToolDependentAgentsResponseModelAgentsItem>;
|
|
10
|
+
export declare namespace GetToolDependentAgentsResponseModelAgentsItem {
|
|
11
|
+
type Raw = GetToolDependentAgentsResponseModelAgentsItem.Available | GetToolDependentAgentsResponseModelAgentsItem.Unknown;
|
|
12
|
+
interface Available extends DependentAvailableAgentIdentifier.Raw {
|
|
13
|
+
type: "available";
|
|
14
|
+
}
|
|
15
|
+
interface Unknown extends DependentUnknownAgentIdentifier.Raw {
|
|
16
|
+
type: "unknown";
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -36,14 +36,14 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.GetToolDependentAgentsResponseModelAgentsItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
const
|
|
42
|
-
const
|
|
43
|
-
exports.
|
|
41
|
+
const DependentAvailableAgentIdentifier_1 = require("./DependentAvailableAgentIdentifier");
|
|
42
|
+
const DependentUnknownAgentIdentifier_1 = require("./DependentUnknownAgentIdentifier");
|
|
43
|
+
exports.GetToolDependentAgentsResponseModelAgentsItem = core.serialization
|
|
44
44
|
.union("type", {
|
|
45
|
-
available:
|
|
46
|
-
unknown:
|
|
45
|
+
available: DependentAvailableAgentIdentifier_1.DependentAvailableAgentIdentifier,
|
|
46
|
+
unknown: DependentUnknownAgentIdentifier_1.DependentUnknownAgentIdentifier,
|
|
47
47
|
})
|
|
48
48
|
.transform({
|
|
49
49
|
transform: (value) => value,
|
|
@@ -9,7 +9,6 @@ import { McpApprovalPolicy } from "./McpApprovalPolicy";
|
|
|
9
9
|
export declare const McpToolConfigInput: core.serialization.ObjectSchema<serializers.McpToolConfigInput.Raw, ElevenLabs.McpToolConfigInput>;
|
|
10
10
|
export declare namespace McpToolConfigInput {
|
|
11
11
|
interface Raw {
|
|
12
|
-
id?: string | null;
|
|
13
12
|
name: string;
|
|
14
13
|
description: string;
|
|
15
14
|
response_timeout_secs?: number | null;
|
|
@@ -42,7 +42,6 @@ const core = __importStar(require("../../core"));
|
|
|
42
42
|
const IntegrationType_1 = require("./IntegrationType");
|
|
43
43
|
const McpApprovalPolicy_1 = require("./McpApprovalPolicy");
|
|
44
44
|
exports.McpToolConfigInput = core.serialization.object({
|
|
45
|
-
id: core.serialization.string().optional(),
|
|
46
45
|
name: core.serialization.string(),
|
|
47
46
|
description: core.serialization.string(),
|
|
48
47
|
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
|
|
@@ -9,7 +9,6 @@ import { McpApprovalPolicy } from "./McpApprovalPolicy";
|
|
|
9
9
|
export declare const McpToolConfigOutput: core.serialization.ObjectSchema<serializers.McpToolConfigOutput.Raw, ElevenLabs.McpToolConfigOutput>;
|
|
10
10
|
export declare namespace McpToolConfigOutput {
|
|
11
11
|
interface Raw {
|
|
12
|
-
id?: string | null;
|
|
13
12
|
name: string;
|
|
14
13
|
description: string;
|
|
15
14
|
response_timeout_secs?: number | null;
|
|
@@ -42,7 +42,6 @@ const core = __importStar(require("../../core"));
|
|
|
42
42
|
const IntegrationType_1 = require("./IntegrationType");
|
|
43
43
|
const McpApprovalPolicy_1 = require("./McpApprovalPolicy");
|
|
44
44
|
exports.McpToolConfigOutput = core.serialization.object({
|
|
45
|
-
id: core.serialization.string().optional(),
|
|
46
45
|
name: core.serialization.string(),
|
|
47
46
|
description: core.serialization.string(),
|
|
48
47
|
responseTimeoutSecs: core.serialization.property("response_timeout_secs", core.serialization.number().optional()),
|
|
@@ -4,25 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
|
|
8
|
-
import { PromptAgentOutputToolsItem } from "./PromptAgentOutputToolsItem";
|
|
9
|
-
import { KnowledgeBaseLocator } from "./KnowledgeBaseLocator";
|
|
10
|
-
import { CustomLlm } from "./CustomLlm";
|
|
11
|
-
import { RagConfig } from "./RagConfig";
|
|
12
|
-
export declare const PromptAgent: core.serialization.ObjectSchema<serializers.PromptAgent.Raw, ElevenLabs.PromptAgent>;
|
|
7
|
+
export declare const PromptAgent: core.serialization.Schema<serializers.PromptAgent.Raw, ElevenLabs.PromptAgent>;
|
|
13
8
|
export declare namespace PromptAgent {
|
|
14
|
-
|
|
15
|
-
prompt?: string | null;
|
|
16
|
-
llm?: Llm.Raw | null;
|
|
17
|
-
temperature?: number | null;
|
|
18
|
-
max_tokens?: number | null;
|
|
19
|
-
tools?: PromptAgentOutputToolsItem.Raw[] | null;
|
|
20
|
-
tool_ids?: string[] | null;
|
|
21
|
-
mcp_server_ids?: string[] | null;
|
|
22
|
-
native_mcp_server_ids?: string[] | null;
|
|
23
|
-
knowledge_base?: KnowledgeBaseLocator.Raw[] | null;
|
|
24
|
-
custom_llm?: CustomLlm.Raw | null;
|
|
25
|
-
ignore_default_personality?: boolean | null;
|
|
26
|
-
rag?: RagConfig.Raw | null;
|
|
27
|
-
}
|
|
9
|
+
type Raw = unknown;
|
|
28
10
|
}
|
|
@@ -38,22 +38,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.PromptAgent = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
|
|
42
|
-
const PromptAgentOutputToolsItem_1 = require("./PromptAgentOutputToolsItem");
|
|
43
|
-
const KnowledgeBaseLocator_1 = require("./KnowledgeBaseLocator");
|
|
44
|
-
const CustomLlm_1 = require("./CustomLlm");
|
|
45
|
-
const RagConfig_1 = require("./RagConfig");
|
|
46
|
-
exports.PromptAgent = core.serialization.object({
|
|
47
|
-
prompt: core.serialization.string().optional(),
|
|
48
|
-
llm: Llm_1.Llm.optional(),
|
|
49
|
-
temperature: core.serialization.number().optional(),
|
|
50
|
-
maxTokens: core.serialization.property("max_tokens", core.serialization.number().optional()),
|
|
51
|
-
tools: core.serialization.list(PromptAgentOutputToolsItem_1.PromptAgentOutputToolsItem).optional(),
|
|
52
|
-
toolIds: core.serialization.property("tool_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
53
|
-
mcpServerIds: core.serialization.property("mcp_server_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
54
|
-
nativeMcpServerIds: core.serialization.property("native_mcp_server_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
55
|
-
knowledgeBase: core.serialization.property("knowledge_base", core.serialization.list(KnowledgeBaseLocator_1.KnowledgeBaseLocator).optional()),
|
|
56
|
-
customLlm: core.serialization.property("custom_llm", CustomLlm_1.CustomLlm.optional()),
|
|
57
|
-
ignoreDefaultPersonality: core.serialization.property("ignore_default_personality", core.serialization.boolean().optional()),
|
|
58
|
-
rag: RagConfig_1.RagConfig.optional(),
|
|
59
|
-
});
|
|
41
|
+
exports.PromptAgent = core.serialization.unknown();
|