@elevenlabs/elevenlabs-js 2.51.0 → 2.52.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/.fern/metadata.json +2 -2
- package/.fern/replay.lock +8 -2
- package/BaseClient.js +2 -2
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
- package/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +4 -4
- package/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +4 -4
- package/api/resources/dubbing/client/Client.js +0 -3
- package/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +0 -2
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/speechEngineUpstream/index.d.ts +1 -0
- package/api/resources/speechEngineUpstream/index.js +17 -0
- package/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
- package/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
- package/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/api/resources/speechEngineUpstream/types/index.js +18 -0
- package/api/resources/textToDialogue/client/Client.d.ts +1 -0
- package/api/resources/textToDialogue/client/Client.js +17 -4
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
- package/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
- package/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
- package/api/resources/voices/client/Client.d.ts +29 -29
- package/api/resources/voices/client/Client.js +105 -105
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
- package/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +1 -1
- package/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -1
- package/api/types/AgentResponsePayload.d.ts +25 -0
- package/api/types/AnalysisProperty.d.ts +6 -4
- package/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
- package/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
- package/api/types/AsrProvider.d.ts +2 -0
- package/api/types/AsrProvider.js +2 -0
- package/api/types/BaseTurnConfig.d.ts +1 -0
- package/api/types/ClosePayload.d.ts +7 -0
- package/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/api/types/ErrorPayload.d.ts +9 -0
- package/api/types/ExternalFileSyncInfo.d.ts +20 -0
- package/api/types/ExternalFolderSyncInfo.d.ts +18 -0
- package/api/types/ExternalFolderSyncInfo.js +3 -0
- package/api/types/ExternalSyncType.d.ts +1 -0
- package/api/types/ExternalSyncType.js +3 -0
- package/api/types/GetConversationResponseModel.d.ts +1 -0
- package/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/api/types/InitPayload.d.ts +9 -0
- package/api/types/InitPayload.js +3 -0
- package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
- package/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- package/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
- package/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
- package/api/types/OmitSchemaOverride.d.ts +1 -0
- package/api/types/OmitSchemaOverride.js +3 -0
- package/api/types/PingPayload.d.ts +7 -0
- package/api/types/PingPayload.js +3 -0
- package/api/types/PongPayload.d.ts +7 -0
- package/api/types/PongPayload.js +3 -0
- package/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +2 -1
- package/api/types/ProcedureAtVersionInput.js +3 -0
- package/api/types/ProcedureAtVersionOutput.d.ts +15 -0
- package/api/types/ProcedureAtVersionOutput.js +3 -0
- package/api/types/SoftTimeoutConfig.d.ts +5 -1
- package/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +5 -1
- package/api/types/StartProcedureToolConfigInput.d.ts +4 -0
- package/api/types/StartProcedureToolConfigInput.js +3 -0
- package/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
- package/api/types/StartProcedureToolConfigOutput.js +3 -0
- package/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
- package/api/types/{LoadProcedureToolErrorStatus.js → StartProcedureToolErrorStatus.js} +2 -2
- package/api/types/SystemToolConfigInputParams.d.ts +4 -4
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -4
- package/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
- package/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
- package/api/types/TranscriptMessage.d.ts +10 -0
- package/api/types/TranscriptMessage.js +3 -0
- package/api/types/TranscriptMessageRole.d.ts +6 -0
- package/api/types/TranscriptMessageRole.js +9 -0
- package/api/types/TurnConfig.d.ts +1 -0
- package/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
- package/api/types/UpdateBookingPageAppearanceParams.js +3 -0
- package/api/types/UrlSecretAuthResponse.d.ts +7 -0
- package/api/types/UrlSecretAuthResponse.js +3 -0
- package/api/types/UserTranscriptPayload.d.ts +20 -0
- package/api/types/UserTranscriptPayload.js +3 -0
- package/api/types/WebhookUsageType.d.ts +1 -0
- package/api/types/WebhookUsageType.js +1 -0
- package/api/types/index.d.ts +21 -4
- package/api/types/index.js +21 -4
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +4 -1
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.d.ts +4 -4
- package/dist/api/resources/conversationalAi/resources/phoneNumbers/client/Client.js +4 -4
- package/dist/api/resources/dubbing/client/Client.js +0 -3
- package/dist/api/resources/dubbing/client/requests/BodyDubAVideoOrAnAudioFileV1DubbingPost.d.ts +0 -2
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/speechEngineUpstream/index.d.ts +1 -0
- package/dist/api/resources/speechEngineUpstream/index.js +17 -0
- package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +5 -0
- package/dist/api/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +3 -0
- package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +5 -0
- package/dist/api/resources/speechEngineUpstream/types/SendUpstreamMessage.js +3 -0
- package/dist/api/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/dist/api/resources/speechEngineUpstream/types/index.js +18 -0
- package/dist/api/resources/textToDialogue/client/Client.d.ts +1 -0
- package/dist/api/resources/textToDialogue/client/Client.js +17 -4
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +3 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +2 -0
- package/dist/api/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +3 -0
- package/dist/api/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +1 -1
- package/dist/api/resources/voices/client/Client.d.ts +29 -29
- package/dist/api/resources/voices/client/Client.js +105 -105
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +4 -1
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.d.ts +1 -1
- package/dist/api/resources/workspaces/resources/apiKeys/client/Client.js +1 -1
- package/dist/api/types/AgentResponsePayload.d.ts +25 -0
- package/dist/api/types/AgentResponsePayload.js +3 -0
- package/dist/api/types/AnalysisProperty.d.ts +6 -4
- package/dist/api/types/AnalysisPropertyConstantValue.d.ts +1 -1
- package/dist/api/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +4 -1
- package/dist/api/types/AsrProvider.d.ts +2 -0
- package/dist/api/types/AsrProvider.js +2 -0
- package/dist/api/types/BaseTurnConfig.d.ts +1 -0
- package/dist/api/types/ClosePayload.d.ts +7 -0
- package/dist/api/types/ClosePayload.js +3 -0
- package/dist/api/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/api/types/ErrorPayload.d.ts +9 -0
- package/dist/api/types/ErrorPayload.js +3 -0
- package/dist/api/types/ExternalFileSyncInfo.d.ts +20 -0
- package/dist/api/types/ExternalFileSyncInfo.js +3 -0
- package/dist/api/types/ExternalFolderSyncInfo.d.ts +18 -0
- package/dist/api/types/ExternalFolderSyncInfo.js +3 -0
- package/dist/api/types/ExternalSyncType.d.ts +1 -0
- package/dist/api/types/ExternalSyncType.js +3 -0
- package/dist/api/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/api/types/GetKnowledgeBaseFileResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseFolderResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +2 -0
- package/dist/api/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +2 -0
- package/dist/api/types/InitPayload.d.ts +9 -0
- package/dist/api/types/InitPayload.js +3 -0
- package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/dist/api/types/LiteralJsonSchemaProperty.d.ts +7 -5
- package/dist/api/types/LiteralJsonSchemaPropertyConstantValue.d.ts +1 -1
- package/dist/api/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +4 -1
- package/dist/api/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +4 -1
- package/dist/api/types/OmitSchemaOverride.d.ts +1 -0
- package/dist/api/types/OmitSchemaOverride.js +3 -0
- package/dist/api/types/PingPayload.d.ts +7 -0
- package/dist/api/types/PingPayload.js +3 -0
- package/dist/api/types/PongPayload.d.ts +7 -0
- package/dist/api/types/PongPayload.js +3 -0
- package/dist/api/types/{ProcedureAtVersion.d.ts → ProcedureAtVersionInput.d.ts} +2 -1
- package/dist/api/types/ProcedureAtVersionInput.js +3 -0
- package/dist/api/types/ProcedureAtVersionOutput.d.ts +15 -0
- package/dist/api/types/ProcedureAtVersionOutput.js +3 -0
- package/dist/api/types/SoftTimeoutConfig.d.ts +5 -1
- package/dist/api/types/SoftTimeoutConfigOverride.d.ts +1 -1
- package/dist/api/types/SoftTimeoutConfigWorkflowOverride.d.ts +5 -1
- package/dist/api/types/StartProcedureToolConfigInput.d.ts +4 -0
- package/dist/api/types/StartProcedureToolConfigInput.js +3 -0
- package/dist/api/types/StartProcedureToolConfigOutput.d.ts +4 -0
- package/dist/api/types/StartProcedureToolConfigOutput.js +3 -0
- package/dist/api/types/StartProcedureToolErrorStatus.d.ts +5 -0
- package/dist/api/types/{LoadProcedureToolErrorStatus.js → StartProcedureToolErrorStatus.js} +2 -2
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -4
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -4
- package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +4 -0
- package/dist/api/types/TextToDialogueWebsocketFinalAudioForTurn.js +3 -0
- package/dist/api/types/TranscriptMessage.d.ts +10 -0
- package/dist/api/types/TranscriptMessage.js +3 -0
- package/dist/api/types/TranscriptMessageRole.d.ts +6 -0
- package/dist/api/types/TranscriptMessageRole.js +9 -0
- package/dist/api/types/TurnConfig.d.ts +1 -0
- package/dist/api/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/api/types/UpdateBookingPageAppearanceParams.d.ts +3 -0
- package/dist/api/types/UpdateBookingPageAppearanceParams.js +3 -0
- package/dist/api/types/UrlSecretAuthResponse.d.ts +7 -0
- package/dist/api/types/UrlSecretAuthResponse.js +3 -0
- package/dist/api/types/UserTranscriptPayload.d.ts +20 -0
- package/dist/api/types/UserTranscriptPayload.js +3 -0
- package/dist/api/types/WebhookUsageType.d.ts +1 -0
- package/dist/api/types/WebhookUsageType.js +1 -0
- package/dist/api/types/index.d.ts +21 -4
- package/dist/api/types/index.js +21 -4
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
- package/dist/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
- package/dist/serialization/resources/speechEngineUpstream/index.js +17 -0
- package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
- package/dist/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
- package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
- package/dist/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
- package/dist/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/dist/serialization/resources/speechEngineUpstream/types/index.js +18 -0
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/dist/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
- package/dist/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
- package/dist/serialization/types/AgentResponsePayload.d.ts +12 -0
- package/dist/serialization/types/AgentResponsePayload.js +44 -0
- package/dist/serialization/types/AnalysisProperty.d.ts +1 -0
- package/dist/serialization/types/AnalysisProperty.js +1 -0
- package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
- package/dist/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
- package/dist/serialization/types/BaseTurnConfig.d.ts +2 -0
- package/dist/serialization/types/BaseTurnConfig.js +2 -0
- package/dist/serialization/types/ClosePayload.d.ts +9 -0
- package/{serialization/types/LoadProcedureToolErrorStatus.js → dist/serialization/types/ClosePayload.js} +4 -2
- package/dist/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/dist/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/dist/serialization/types/ErrorPayload.d.ts +10 -0
- package/dist/serialization/types/ErrorPayload.js +42 -0
- package/dist/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
- package/dist/serialization/types/ExternalFileSyncInfo.js +48 -0
- package/dist/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
- package/dist/serialization/types/ExternalFolderSyncInfo.js +47 -0
- package/dist/serialization/types/ExternalSyncType.d.ts +7 -0
- package/dist/serialization/types/{LoadProcedureToolErrorStatus.js → ExternalSyncType.js} +2 -2
- package/dist/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetConversationResponseModel.js +1 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
- package/dist/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
- package/dist/serialization/types/InitPayload.d.ts +10 -0
- package/dist/serialization/types/InitPayload.js +42 -0
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/dist/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
- package/dist/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
- package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
- package/dist/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
- package/dist/serialization/types/OmitSchemaOverride.d.ts +7 -0
- package/dist/serialization/types/OmitSchemaOverride.js +39 -0
- package/dist/serialization/types/PingPayload.d.ts +9 -0
- package/dist/serialization/types/PingPayload.js +41 -0
- package/dist/serialization/types/PongPayload.d.ts +9 -0
- package/dist/serialization/types/PongPayload.js +41 -0
- package/{serialization/types/ProcedureAtVersion.d.ts → dist/serialization/types/ProcedureAtVersionInput.d.ts} +4 -2
- package/{serialization/types/ProcedureAtVersion.js → dist/serialization/types/ProcedureAtVersionInput.js} +4 -2
- package/dist/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
- package/dist/serialization/types/ProcedureAtVersionOutput.js +49 -0
- package/dist/serialization/types/SoftTimeoutConfig.d.ts +2 -0
- package/dist/serialization/types/SoftTimeoutConfig.js +2 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/SoftTimeoutConfigWorkflowOverride.js +2 -0
- package/dist/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
- package/dist/serialization/types/{LoadProcedureToolConfigOutput.js → StartProcedureToolConfigInput.js} +4 -4
- package/dist/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
- package/dist/serialization/types/{LoadProcedureToolConfigInput.js → StartProcedureToolConfigOutput.js} +4 -4
- package/dist/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/StartProcedureToolErrorStatus.js +39 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -2
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -2
- package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
- package/dist/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
- package/dist/serialization/types/TranscriptMessage.d.ts +11 -0
- package/dist/serialization/types/TranscriptMessage.js +43 -0
- package/dist/serialization/types/TranscriptMessageRole.d.ts +7 -0
- package/dist/serialization/types/TranscriptMessageRole.js +39 -0
- package/dist/serialization/types/TurnConfig.d.ts +2 -0
- package/dist/serialization/types/TurnConfig.js +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/dist/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/dist/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
- package/dist/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
- package/dist/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
- package/dist/serialization/types/UrlSecretAuthResponse.js +45 -0
- package/dist/serialization/types/UserTranscriptPayload.d.ts +12 -0
- package/dist/serialization/types/UserTranscriptPayload.js +44 -0
- package/dist/serialization/types/WebhookUsageType.d.ts +1 -1
- package/dist/serialization/types/WebhookUsageType.js +1 -0
- package/dist/serialization/types/index.d.ts +21 -4
- package/dist/serialization/types/index.js +21 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +45 -43
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.js +2 -0
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.d.ts +5 -1
- package/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.js +2 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/speechEngineUpstream/index.d.ts +1 -0
- package/serialization/resources/speechEngineUpstream/index.js +17 -0
- package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.d.ts +12 -0
- package/serialization/resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js +50 -0
- package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.d.ts +9 -0
- package/serialization/resources/speechEngineUpstream/types/SendUpstreamMessage.js +41 -0
- package/serialization/resources/speechEngineUpstream/types/index.d.ts +2 -0
- package/serialization/resources/speechEngineUpstream/types/index.js +18 -0
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueFullWithTimestamps.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueMultiVoiceV1TextToDialoguePost.d.ts +1 -1
- package/serialization/resources/textToDialogue/client/requests/BodyTextToDialogueStreamWithTimestamps.d.ts +1 -1
- package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.d.ts +2 -1
- package/serialization/resources/v1TextToDialogueStreamInput/types/ReceiveTextToDialogueWebsocketMessage.js +2 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.js +2 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +2 -0
- package/serialization/types/AgentResponsePayload.d.ts +12 -0
- package/serialization/types/AgentResponsePayload.js +44 -0
- package/serialization/types/AnalysisProperty.d.ts +1 -0
- package/serialization/types/AnalysisProperty.js +1 -0
- package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.d.ts +5 -1
- package/serialization/types/ApiIntegrationWebhookOverridesSchemaOverridesValue.js +2 -0
- package/serialization/types/BaseTurnConfig.d.ts +2 -0
- package/serialization/types/BaseTurnConfig.js +2 -0
- package/serialization/types/ClosePayload.d.ts +9 -0
- package/serialization/types/ClosePayload.js +41 -0
- package/serialization/types/DirectPublishingReadResponseModel.d.ts +1 -0
- package/serialization/types/DirectPublishingReadResponseModel.js +1 -0
- package/serialization/types/ErrorPayload.d.ts +10 -0
- package/serialization/types/ErrorPayload.js +42 -0
- package/serialization/types/ExternalFileSyncInfo.d.ts +16 -0
- package/serialization/types/ExternalFileSyncInfo.js +48 -0
- package/serialization/types/ExternalFolderSyncInfo.d.ts +15 -0
- package/serialization/types/ExternalFolderSyncInfo.js +47 -0
- package/serialization/types/ExternalSyncType.d.ts +7 -0
- package/serialization/types/ExternalSyncType.js +39 -0
- package/serialization/types/GetConversationResponseModel.d.ts +1 -0
- package/serialization/types/GetConversationResponseModel.js +1 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseFileResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseFolderResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFileResponseModel.js +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.d.ts +3 -0
- package/serialization/types/GetKnowledgeBaseSummaryFolderResponseModel.js +3 -0
- package/serialization/types/InitPayload.d.ts +10 -0
- package/serialization/types/InitPayload.js +42 -0
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/serialization/types/LiteralJsonSchemaProperty.d.ts +1 -0
- package/serialization/types/LiteralJsonSchemaProperty.js +1 -0
- package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.d.ts +5 -1
- package/serialization/types/McpToolConfigOverrideInputInputOverridesValue.js +2 -0
- package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.d.ts +5 -1
- package/serialization/types/McpToolConfigOverrideOutputInputOverridesValue.js +2 -0
- package/serialization/types/OmitSchemaOverride.d.ts +7 -0
- package/serialization/types/OmitSchemaOverride.js +39 -0
- package/serialization/types/PingPayload.d.ts +9 -0
- package/serialization/types/PingPayload.js +41 -0
- package/serialization/types/PongPayload.d.ts +9 -0
- package/serialization/types/PongPayload.js +41 -0
- package/{dist/serialization/types/ProcedureAtVersion.d.ts → serialization/types/ProcedureAtVersionInput.d.ts} +4 -2
- package/{dist/serialization/types/ProcedureAtVersion.js → serialization/types/ProcedureAtVersionInput.js} +4 -2
- package/serialization/types/ProcedureAtVersionOutput.d.ts +17 -0
- package/serialization/types/ProcedureAtVersionOutput.js +49 -0
- package/serialization/types/SoftTimeoutConfig.d.ts +2 -0
- package/serialization/types/SoftTimeoutConfig.js +2 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/SoftTimeoutConfigWorkflowOverride.js +2 -0
- package/serialization/types/StartProcedureToolConfigInput.d.ts +10 -0
- package/serialization/types/{LoadProcedureToolConfigOutput.js → StartProcedureToolConfigInput.js} +4 -4
- package/serialization/types/StartProcedureToolConfigOutput.d.ts +10 -0
- package/serialization/types/{LoadProcedureToolConfigInput.js → StartProcedureToolConfigOutput.js} +4 -4
- package/serialization/types/StartProcedureToolErrorStatus.d.ts +7 -0
- package/serialization/types/StartProcedureToolErrorStatus.js +39 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -5
- package/serialization/types/SystemToolConfigInputParams.js +2 -2
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -5
- package/serialization/types/SystemToolConfigOutputParams.js +2 -2
- package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.d.ts +9 -0
- package/serialization/types/TextToDialogueWebsocketFinalAudioForTurn.js +41 -0
- package/serialization/types/TranscriptMessage.d.ts +11 -0
- package/serialization/types/TranscriptMessage.js +43 -0
- package/serialization/types/TranscriptMessageRole.d.ts +7 -0
- package/serialization/types/TranscriptMessageRole.js +39 -0
- package/serialization/types/TurnConfig.d.ts +2 -0
- package/serialization/types/TurnConfig.js +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.d.ts +2 -0
- package/serialization/types/TurnConfigWorkflowOverride.js +2 -0
- package/serialization/types/UpdateBookingPageAppearanceParams.d.ts +9 -0
- package/serialization/types/UpdateBookingPageAppearanceParams.js +41 -0
- package/serialization/types/UrlSecretAuthResponse.d.ts +13 -0
- package/serialization/types/UrlSecretAuthResponse.js +45 -0
- package/serialization/types/UserTranscriptPayload.d.ts +12 -0
- package/serialization/types/UserTranscriptPayload.js +44 -0
- package/serialization/types/WebhookUsageType.d.ts +1 -1
- package/serialization/types/WebhookUsageType.js +1 -0
- package/serialization/types/index.d.ts +21 -4
- package/serialization/types/index.js +21 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/LoadProcedureToolConfigInput.d.ts +0 -4
- package/api/types/LoadProcedureToolConfigOutput.d.ts +0 -4
- package/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
- package/dist/api/types/LoadProcedureToolConfigInput.d.ts +0 -4
- package/dist/api/types/LoadProcedureToolConfigOutput.d.ts +0 -4
- package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +0 -5
- package/dist/serialization/types/LoadProcedureToolConfigInput.d.ts +0 -10
- package/dist/serialization/types/LoadProcedureToolConfigOutput.d.ts +0 -10
- package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
- package/serialization/types/LoadProcedureToolConfigInput.d.ts +0 -10
- package/serialization/types/LoadProcedureToolConfigOutput.d.ts +0 -10
- package/serialization/types/LoadProcedureToolErrorStatus.d.ts +0 -7
- /package/api/{types/LoadProcedureToolConfigInput.js → resources/speechEngineUpstream/types/ReceiveUpstreamMessage.js} +0 -0
- /package/api/{types/LoadProcedureToolConfigOutput.js → resources/speechEngineUpstream/types/SendUpstreamMessage.js} +0 -0
- /package/api/types/{ProcedureAtVersion.js → AgentResponsePayload.js} +0 -0
- /package/{dist/api/types/LoadProcedureToolConfigInput.js → api/types/ClosePayload.js} +0 -0
- /package/{dist/api/types/LoadProcedureToolConfigOutput.js → api/types/ErrorPayload.js} +0 -0
- /package/{dist/api/types/ProcedureAtVersion.js → api/types/ExternalFileSyncInfo.js} +0 -0
|
@@ -2,7 +2,7 @@ import type * as ElevenLabs from "../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* The type of auth connection config
|
|
4
4
|
*/
|
|
5
|
-
export type ListAuthConnectionsResponseAuthConnectionsItem = ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2AuthCode | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2CustomApp | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.BasicAuth | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.BearerAuth | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.CustomHeaderAuth | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.Mtls | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.Oauth2ClientCredentials | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.Oauth2Jwt | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.PrivateKeyJwt | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.SlackBotAuth | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.WhatsappAuth;
|
|
5
|
+
export type ListAuthConnectionsResponseAuthConnectionsItem = ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2AuthCode | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2CustomApp | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.BasicAuth | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.BearerAuth | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.CustomHeaderAuth | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.Mtls | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.Oauth2ClientCredentials | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.Oauth2Jwt | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.PrivateKeyJwt | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.SlackBotAuth | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.UrlSecret | ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem.WhatsappAuth;
|
|
6
6
|
export declare namespace ListAuthConnectionsResponseAuthConnectionsItem {
|
|
7
7
|
interface ApiIntegrationOauth2AuthCode extends ElevenLabs.ApiIntegrationOAuth2AuthCodeResponse {
|
|
8
8
|
authType: "api_integration_oauth2_auth_code";
|
|
@@ -34,6 +34,9 @@ export declare namespace ListAuthConnectionsResponseAuthConnectionsItem {
|
|
|
34
34
|
interface SlackBotAuth extends ElevenLabs.SlackBotAuthResponse {
|
|
35
35
|
authType: "slack_bot_auth";
|
|
36
36
|
}
|
|
37
|
+
interface UrlSecret extends ElevenLabs.UrlSecretAuthResponse {
|
|
38
|
+
authType: "url_secret";
|
|
39
|
+
}
|
|
37
40
|
interface WhatsappAuth extends ElevenLabs.WhatsAppAuthResponse {
|
|
38
41
|
authType: "whatsapp_auth";
|
|
39
42
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
2
|
/**
|
|
3
|
-
* Schema property for literal JSON types. IMPORTANT: Only ONE of the following fields can be set: description (LLM provides value), dynamic_variable (value from variable), is_system_provided (system provides value),
|
|
3
|
+
* Schema property for literal JSON types. IMPORTANT: Only ONE of the following fields can be set: description (LLM provides value), dynamic_variable (value from variable), is_system_provided (system provides value), constant_value (fixed value), or is_omitted (parameter is omitted). These are mutually exclusive.
|
|
4
4
|
*/
|
|
5
5
|
export interface LiteralJsonSchemaProperty {
|
|
6
6
|
type: ElevenLabs.LiteralJsonSchemaPropertyType;
|
|
7
|
-
/** The description of the property. When set, the LLM will provide the value based on this description. Mutually exclusive with dynamic_variable, is_system_provided, and
|
|
7
|
+
/** The description of the property. When set, the LLM will provide the value based on this description. Mutually exclusive with dynamic_variable, is_system_provided, constant_value, and is_omitted. */
|
|
8
8
|
description?: string;
|
|
9
9
|
/** List of allowed string values for string type parameters */
|
|
10
10
|
enum?: string[];
|
|
11
|
-
/** If true, the value will be populated by the system at runtime. Used by API Integration Webhook tools for templating. Mutually exclusive with description, dynamic_variable, and
|
|
11
|
+
/** If true, the value will be populated by the system at runtime. Used by API Integration Webhook tools for templating. Mutually exclusive with description, dynamic_variable, constant_value, and is_omitted. */
|
|
12
12
|
isSystemProvided?: boolean;
|
|
13
|
-
/** The name of the dynamic variable to use for this property's value. Mutually exclusive with description, is_system_provided, and
|
|
13
|
+
/** The name of the dynamic variable to use for this property's value. Mutually exclusive with description, is_system_provided, constant_value, and is_omitted. */
|
|
14
14
|
dynamicVariable?: string;
|
|
15
|
-
/** A constant value to use for this property. Mutually exclusive with description, dynamic_variable, and
|
|
15
|
+
/** A constant value to use for this property. Mutually exclusive with description, dynamic_variable, is_system_provided, and is_omitted. */
|
|
16
16
|
constantValue?: ElevenLabs.LiteralJsonSchemaPropertyConstantValue;
|
|
17
|
+
/** If true, this parameter will be completely omitted from the request. Only valid for optional parameters. Mutually exclusive with description, dynamic_variable, is_system_provided, and constant_value. */
|
|
18
|
+
isOmitted?: boolean;
|
|
17
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* A constant value to use for this property. Mutually exclusive with description, dynamic_variable, and
|
|
2
|
+
* A constant value to use for this property. Mutually exclusive with description, dynamic_variable, is_system_provided, and is_omitted.
|
|
3
3
|
*/
|
|
4
4
|
export type LiteralJsonSchemaPropertyConstantValue = string | number | number | boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
export type McpToolConfigOverrideInputInputOverridesValue = ElevenLabs.McpToolConfigOverrideInputInputOverridesValue.Constant | ElevenLabs.McpToolConfigOverrideInputInputOverridesValue.DynamicVariable | ElevenLabs.McpToolConfigOverrideInputInputOverridesValue.Llm;
|
|
2
|
+
export type McpToolConfigOverrideInputInputOverridesValue = ElevenLabs.McpToolConfigOverrideInputInputOverridesValue.Constant | ElevenLabs.McpToolConfigOverrideInputInputOverridesValue.DynamicVariable | ElevenLabs.McpToolConfigOverrideInputInputOverridesValue.Llm | ElevenLabs.McpToolConfigOverrideInputInputOverridesValue.Omit;
|
|
3
3
|
export declare namespace McpToolConfigOverrideInputInputOverridesValue {
|
|
4
4
|
interface Constant extends ElevenLabs.ConstantSchemaOverride {
|
|
5
5
|
source: "constant";
|
|
@@ -10,4 +10,7 @@ export declare namespace McpToolConfigOverrideInputInputOverridesValue {
|
|
|
10
10
|
interface Llm extends ElevenLabs.LlmSchemaOverride {
|
|
11
11
|
source: "llm";
|
|
12
12
|
}
|
|
13
|
+
interface Omit extends ElevenLabs.OmitSchemaOverride {
|
|
14
|
+
source: "omit";
|
|
15
|
+
}
|
|
13
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
export type McpToolConfigOverrideOutputInputOverridesValue = ElevenLabs.McpToolConfigOverrideOutputInputOverridesValue.Constant | ElevenLabs.McpToolConfigOverrideOutputInputOverridesValue.DynamicVariable | ElevenLabs.McpToolConfigOverrideOutputInputOverridesValue.Llm;
|
|
2
|
+
export type McpToolConfigOverrideOutputInputOverridesValue = ElevenLabs.McpToolConfigOverrideOutputInputOverridesValue.Constant | ElevenLabs.McpToolConfigOverrideOutputInputOverridesValue.DynamicVariable | ElevenLabs.McpToolConfigOverrideOutputInputOverridesValue.Llm | ElevenLabs.McpToolConfigOverrideOutputInputOverridesValue.Omit;
|
|
3
3
|
export declare namespace McpToolConfigOverrideOutputInputOverridesValue {
|
|
4
4
|
interface Constant extends ElevenLabs.ConstantSchemaOverride {
|
|
5
5
|
source: "constant";
|
|
@@ -10,4 +10,7 @@ export declare namespace McpToolConfigOverrideOutputInputOverridesValue {
|
|
|
10
10
|
interface Llm extends ElevenLabs.LlmSchemaOverride {
|
|
11
11
|
source: "llm";
|
|
12
12
|
}
|
|
13
|
+
interface Omit extends ElevenLabs.OmitSchemaOverride {
|
|
14
|
+
source: "omit";
|
|
15
|
+
}
|
|
13
16
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type OmitSchemaOverride = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
export interface
|
|
2
|
+
export interface ProcedureAtVersionInput {
|
|
3
3
|
/** Procedure ID */
|
|
4
4
|
procedureId: string;
|
|
5
5
|
/** Procedure name */
|
|
@@ -7,6 +7,7 @@ export interface ProcedureAtVersion {
|
|
|
7
7
|
/** Procedure content */
|
|
8
8
|
content: string;
|
|
9
9
|
type?: ElevenLabs.ProcedureType;
|
|
10
|
+
guardrails?: ElevenLabs.CustomGuardrailConfig[];
|
|
10
11
|
/** Agent ID of the procedure */
|
|
11
12
|
agentId: string;
|
|
12
13
|
/** Version ID of a version of the procedure. None for a procedure never versioned. */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
export interface ProcedureAtVersionOutput {
|
|
3
|
+
/** Procedure ID */
|
|
4
|
+
procedureId: string;
|
|
5
|
+
/** Procedure name */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Procedure content */
|
|
8
|
+
content: string;
|
|
9
|
+
type?: ElevenLabs.ProcedureType;
|
|
10
|
+
guardrails?: ElevenLabs.CustomGuardrailConfig[];
|
|
11
|
+
/** Agent ID of the procedure */
|
|
12
|
+
agentId: string;
|
|
13
|
+
/** Version ID of a version of the procedure. None for a procedure never versioned. */
|
|
14
|
+
versionId?: string;
|
|
15
|
+
}
|
|
@@ -4,10 +4,14 @@
|
|
|
4
4
|
export interface SoftTimeoutConfig {
|
|
5
5
|
/** Time in seconds before showing the predefined message while waiting for LLM response. Set to -1 to disable. */
|
|
6
6
|
timeoutSeconds?: number;
|
|
7
|
-
/** Message to show when soft timeout is reached while waiting for LLM response */
|
|
7
|
+
/** Message to show when the first soft timeout is reached while waiting for LLM response */
|
|
8
8
|
message?: string;
|
|
9
|
+
/** Extra static filler messages for subsequent soft timeouts in the same LLM generation. The first timeout uses `message`. If fewer messages are configured than `max_soft_timeouts_per_generation`, the last configured message is repeated; otherwise a built-in filler is used. */
|
|
10
|
+
additionalSoftTimeoutMessages?: string[];
|
|
9
11
|
/** If enabled, the soft timeout message will be generated dynamically instead of using the static message. */
|
|
10
12
|
useLlmGeneratedMessage?: boolean;
|
|
13
|
+
/** Maximum filler messages while waiting for a single LLM response. Fires every timeout_seconds until the LLM streams content or this limit is reached. */
|
|
14
|
+
maxSoftTimeoutsPerGeneration?: number;
|
|
11
15
|
/** Custom prompt for generating the soft timeout filler message when use_llm_generated_message is enabled. Recent conversation context is provided as a separate user message. If not set, the default prompt will be used. */
|
|
12
16
|
llmGeneratedMessagePromptOverride?: string;
|
|
13
17
|
}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export interface SoftTimeoutConfigWorkflowOverride {
|
|
2
2
|
/** Time in seconds before showing the predefined message while waiting for LLM response. Set to -1 to disable. */
|
|
3
3
|
timeoutSeconds?: number;
|
|
4
|
-
/** Message to show when soft timeout is reached while waiting for LLM response */
|
|
4
|
+
/** Message to show when the first soft timeout is reached while waiting for LLM response */
|
|
5
5
|
message?: string;
|
|
6
|
+
/** Extra static filler messages for subsequent soft timeouts in the same LLM generation. The first timeout uses `message`. If fewer messages are configured than `max_soft_timeouts_per_generation`, the last configured message is repeated; otherwise a built-in filler is used. */
|
|
7
|
+
additionalSoftTimeoutMessages?: string[];
|
|
6
8
|
/** If enabled, the soft timeout message will be generated dynamically instead of using the static message. */
|
|
7
9
|
useLlmGeneratedMessage?: boolean;
|
|
10
|
+
/** Maximum filler messages while waiting for a single LLM response. Fires every timeout_seconds until the LLM streams content or this limit is reached. */
|
|
11
|
+
maxSoftTimeoutsPerGeneration?: number;
|
|
8
12
|
/** Custom prompt for generating the soft timeout filler message when use_llm_generated_message is enabled. Recent conversation context is provided as a separate user message. If not set, the default prompt will be used. */
|
|
9
13
|
llmGeneratedMessagePromptOverride?: string;
|
|
10
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
4
|
+
exports.StartProcedureToolErrorStatus = void 0;
|
|
5
|
+
exports.StartProcedureToolErrorStatus = {
|
|
6
6
|
NotFound: "not_found",
|
|
7
7
|
InvalidName: "invalid_name",
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
export type SystemToolConfigInputParams = ElevenLabs.SystemToolConfigInputParams.EndCall | ElevenLabs.SystemToolConfigInputParams.KnowledgeBaseRag | ElevenLabs.SystemToolConfigInputParams.LanguageDetection | ElevenLabs.SystemToolConfigInputParams.
|
|
2
|
+
export type SystemToolConfigInputParams = ElevenLabs.SystemToolConfigInputParams.EndCall | ElevenLabs.SystemToolConfigInputParams.KnowledgeBaseRag | ElevenLabs.SystemToolConfigInputParams.LanguageDetection | ElevenLabs.SystemToolConfigInputParams.PlayKeypadTouchTone | ElevenLabs.SystemToolConfigInputParams.SkipTurn | ElevenLabs.SystemToolConfigInputParams.StartProcedure | ElevenLabs.SystemToolConfigInputParams.TransferToAgent | ElevenLabs.SystemToolConfigInputParams.TransferToNumber | ElevenLabs.SystemToolConfigInputParams.VoicemailDetection;
|
|
3
3
|
export declare namespace SystemToolConfigInputParams {
|
|
4
4
|
interface EndCall extends ElevenLabs.EndCallToolConfig {
|
|
5
5
|
systemToolType: "end_call";
|
|
@@ -10,15 +10,15 @@ export declare namespace SystemToolConfigInputParams {
|
|
|
10
10
|
interface LanguageDetection extends ElevenLabs.LanguageDetectionToolConfig {
|
|
11
11
|
systemToolType: "language_detection";
|
|
12
12
|
}
|
|
13
|
-
interface LoadProcedure extends ElevenLabs.LoadProcedureToolConfigInput {
|
|
14
|
-
systemToolType: "load_procedure";
|
|
15
|
-
}
|
|
16
13
|
interface PlayKeypadTouchTone extends ElevenLabs.PlayDtmfToolConfig {
|
|
17
14
|
systemToolType: "play_keypad_touch_tone";
|
|
18
15
|
}
|
|
19
16
|
interface SkipTurn extends ElevenLabs.SkipTurnToolConfig {
|
|
20
17
|
systemToolType: "skip_turn";
|
|
21
18
|
}
|
|
19
|
+
interface StartProcedure extends ElevenLabs.StartProcedureToolConfigInput {
|
|
20
|
+
systemToolType: "start_procedure";
|
|
21
|
+
}
|
|
22
22
|
interface TransferToAgent extends ElevenLabs.TransferToAgentToolConfig {
|
|
23
23
|
systemToolType: "transfer_to_agent";
|
|
24
24
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../index";
|
|
2
|
-
export type SystemToolConfigOutputParams = ElevenLabs.SystemToolConfigOutputParams.EndCall | ElevenLabs.SystemToolConfigOutputParams.KnowledgeBaseRag | ElevenLabs.SystemToolConfigOutputParams.LanguageDetection | ElevenLabs.SystemToolConfigOutputParams.
|
|
2
|
+
export type SystemToolConfigOutputParams = ElevenLabs.SystemToolConfigOutputParams.EndCall | ElevenLabs.SystemToolConfigOutputParams.KnowledgeBaseRag | ElevenLabs.SystemToolConfigOutputParams.LanguageDetection | ElevenLabs.SystemToolConfigOutputParams.PlayKeypadTouchTone | ElevenLabs.SystemToolConfigOutputParams.SkipTurn | ElevenLabs.SystemToolConfigOutputParams.StartProcedure | ElevenLabs.SystemToolConfigOutputParams.TransferToAgent | ElevenLabs.SystemToolConfigOutputParams.TransferToNumber | ElevenLabs.SystemToolConfigOutputParams.VoicemailDetection;
|
|
3
3
|
export declare namespace SystemToolConfigOutputParams {
|
|
4
4
|
interface EndCall extends ElevenLabs.EndCallToolConfig {
|
|
5
5
|
systemToolType: "end_call";
|
|
@@ -10,15 +10,15 @@ export declare namespace SystemToolConfigOutputParams {
|
|
|
10
10
|
interface LanguageDetection extends ElevenLabs.LanguageDetectionToolConfig {
|
|
11
11
|
systemToolType: "language_detection";
|
|
12
12
|
}
|
|
13
|
-
interface LoadProcedure extends ElevenLabs.LoadProcedureToolConfigOutput {
|
|
14
|
-
systemToolType: "load_procedure";
|
|
15
|
-
}
|
|
16
13
|
interface PlayKeypadTouchTone extends ElevenLabs.PlayDtmfToolConfig {
|
|
17
14
|
systemToolType: "play_keypad_touch_tone";
|
|
18
15
|
}
|
|
19
16
|
interface SkipTurn extends ElevenLabs.SkipTurnToolConfig {
|
|
20
17
|
systemToolType: "skip_turn";
|
|
21
18
|
}
|
|
19
|
+
interface StartProcedure extends ElevenLabs.StartProcedureToolConfigOutput {
|
|
20
|
+
systemToolType: "start_procedure";
|
|
21
|
+
}
|
|
22
22
|
interface TransferToAgent extends ElevenLabs.TransferToAgentToolConfig {
|
|
23
23
|
systemToolType: "transfer_to_agent";
|
|
24
24
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* A single turn in the conversation history.
|
|
4
|
+
*/
|
|
5
|
+
export interface TranscriptMessage {
|
|
6
|
+
/** The speaker for this turn. */
|
|
7
|
+
role: ElevenLabs.TranscriptMessageRole;
|
|
8
|
+
/** The transcript text for this turn. */
|
|
9
|
+
content: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.TranscriptMessageRole = void 0;
|
|
5
|
+
/** The speaker for this turn. */
|
|
6
|
+
exports.TranscriptMessageRole = {
|
|
7
|
+
User: "user",
|
|
8
|
+
Agent: "agent",
|
|
9
|
+
};
|
|
@@ -14,6 +14,7 @@ export interface TurnConfig {
|
|
|
14
14
|
speculativeTurn?: boolean;
|
|
15
15
|
/** When enabled, if VAD detects no speech, attempts to re-transcribe accumulated audio at turn timeout. Disables silence discount billing for affected turns. */
|
|
16
16
|
retranscribeOnTurnTimeout?: boolean;
|
|
17
|
+
turnModel?: ElevenLabs.TurnModel;
|
|
17
18
|
/** Configuration for soft timeout functionality. Provides immediate feedback during longer LLM responses. */
|
|
18
19
|
softTimeoutConfig?: ElevenLabs.SoftTimeoutConfig;
|
|
19
20
|
}
|
|
@@ -14,6 +14,8 @@ export interface TurnConfigWorkflowOverride {
|
|
|
14
14
|
speculativeTurn?: boolean;
|
|
15
15
|
/** When enabled, if VAD detects no speech, attempts to re-transcribe accumulated audio at turn timeout. Disables silence discount billing for affected turns. */
|
|
16
16
|
retranscribeOnTurnTimeout?: boolean;
|
|
17
|
+
/** Version of the turn detection model to use. */
|
|
18
|
+
turnModel?: ElevenLabs.TurnModel;
|
|
17
19
|
/** Configuration for soft timeout functionality. Provides immediate feedback during longer LLM responses. */
|
|
18
20
|
softTimeoutConfig?: ElevenLabs.SoftTimeoutConfigWorkflowOverride;
|
|
19
21
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Payload containing the full conversation history sent by ElevenLabs each time
|
|
4
|
+
* the user finishes speaking.
|
|
5
|
+
*/
|
|
6
|
+
export interface UserTranscriptPayload {
|
|
7
|
+
/** The message type identifier. */
|
|
8
|
+
type: "user_transcript";
|
|
9
|
+
/**
|
|
10
|
+
* Full conversation history up to and including the latest user turn, ordered
|
|
11
|
+
* chronologically. Contains both `user` and `agent` turns.
|
|
12
|
+
*/
|
|
13
|
+
userTranscript: ElevenLabs.TranscriptMessage[];
|
|
14
|
+
/**
|
|
15
|
+
* Monotonically increasing identifier for this transcript event. Pass this value
|
|
16
|
+
* back in every `agent_response` message so ElevenLabs can correlate responses and
|
|
17
|
+
* discard any that belong to an interrupted turn.
|
|
18
|
+
*/
|
|
19
|
+
eventId?: number;
|
|
20
|
+
}
|
|
@@ -3,5 +3,6 @@ export declare const WebhookUsageType: {
|
|
|
3
3
|
readonly ConvAiSettings: "ConvAI Settings";
|
|
4
4
|
readonly VoiceLibraryRemovalNotices: "Voice Library Removal Notices";
|
|
5
5
|
readonly SpeechToText: "Speech to Text";
|
|
6
|
+
readonly AgentQaEvaluations: "Agent QA Evaluations";
|
|
6
7
|
};
|
|
7
8
|
export type WebhookUsageType = (typeof WebhookUsageType)[keyof typeof WebhookUsageType];
|
package/api/types/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from "./AgentMetadataDbModel";
|
|
|
39
39
|
export * from "./AgentMetadataResponseModel";
|
|
40
40
|
export * from "./AgentPlatformSettingsRequestModel";
|
|
41
41
|
export * from "./AgentPlatformSettingsResponseModel";
|
|
42
|
+
export * from "./AgentResponsePayload";
|
|
42
43
|
export * from "./AgentSimulatedChatTestResponseModel";
|
|
43
44
|
export * from "./AgentSortBy";
|
|
44
45
|
export * from "./AgentSuccessfulResponseExample";
|
|
@@ -239,6 +240,7 @@ export * from "./ClipAnimationEnterEffect";
|
|
|
239
240
|
export * from "./ClipAnimationExitEffect";
|
|
240
241
|
export * from "./CloseConnection";
|
|
241
242
|
export * from "./CloseContext";
|
|
243
|
+
export * from "./ClosePayload";
|
|
242
244
|
export * from "./CloseSocket";
|
|
243
245
|
export * from "./CoachedAgentSettings";
|
|
244
246
|
export * from "./CoachingAgentSettings";
|
|
@@ -519,6 +521,7 @@ export * from "./EnvironmentVariableResponseValues";
|
|
|
519
521
|
export * from "./EnvironmentVariableSecretValue";
|
|
520
522
|
export * from "./EnvironmentVariableSecretValueRequest";
|
|
521
523
|
export * from "./EnvironmentVariablesListResponse";
|
|
524
|
+
export * from "./ErrorPayload";
|
|
522
525
|
export * from "./EvaluationSettingsInput";
|
|
523
526
|
export * from "./EvaluationSettingsOutput";
|
|
524
527
|
export * from "./EvaluationSuccessResult";
|
|
@@ -528,6 +531,9 @@ export * from "./ExotelOutboundCallResponse";
|
|
|
528
531
|
export * from "./ExportOptions";
|
|
529
532
|
export * from "./ExtendedSubscriptionResponseModelMaxCreditLimitExtension";
|
|
530
533
|
export * from "./ExtendedSubscriptionResponseModelPendingChange";
|
|
534
|
+
export * from "./ExternalFileSyncInfo";
|
|
535
|
+
export * from "./ExternalFolderSyncInfo";
|
|
536
|
+
export * from "./ExternalSyncType";
|
|
531
537
|
export * from "./FeatureStatusCommonModel";
|
|
532
538
|
export * from "./FeaturesUsageCommonModel";
|
|
533
539
|
export * from "./FeedbackItem";
|
|
@@ -652,6 +658,7 @@ export * from "./InboundSipTrunkConfigRequestModel";
|
|
|
652
658
|
export * from "./InitialiseContext";
|
|
653
659
|
export * from "./InitializeConnection";
|
|
654
660
|
export * from "./InitializeConnectionMulti";
|
|
661
|
+
export * from "./InitPayload";
|
|
655
662
|
export * from "./InputAudioChunkPayload";
|
|
656
663
|
export * from "./IntegrationType";
|
|
657
664
|
export * from "./InteractionBudget";
|
|
@@ -734,9 +741,6 @@ export * from "./LlmUsageCalculatorLlmResponseModel";
|
|
|
734
741
|
export * from "./LlmUsageCalculatorResponseModel";
|
|
735
742
|
export * from "./LlmUsageInput";
|
|
736
743
|
export * from "./LlmUsageOutput";
|
|
737
|
-
export * from "./LoadProcedureToolConfigInput";
|
|
738
|
-
export * from "./LoadProcedureToolConfigOutput";
|
|
739
|
-
export * from "./LoadProcedureToolErrorStatus";
|
|
740
744
|
export * from "./ManualSource";
|
|
741
745
|
export * from "./ManualVerificationFileResponse";
|
|
742
746
|
export * from "./ManualVerificationResponse";
|
|
@@ -799,6 +803,7 @@ export * from "./ObjectJsonSchemaPropertyInput";
|
|
|
799
803
|
export * from "./ObjectJsonSchemaPropertyInputPropertiesValue";
|
|
800
804
|
export * from "./ObjectJsonSchemaPropertyOutput";
|
|
801
805
|
export * from "./ObjectJsonSchemaPropertyOutputPropertiesValue";
|
|
806
|
+
export * from "./OmitSchemaOverride";
|
|
802
807
|
export * from "./OptInSmsReminderParams";
|
|
803
808
|
export * from "./OptOutSmsReminderParams";
|
|
804
809
|
export * from "./OrbAvatar";
|
|
@@ -837,6 +842,7 @@ export * from "./PhoneNumberTransferCustomSipHeadersItem";
|
|
|
837
842
|
export * from "./PhoneNumberTransferDestination";
|
|
838
843
|
export * from "./PhoneNumberTransferPostDialDigits";
|
|
839
844
|
export * from "./PhoneNumberTransferTransferDestination";
|
|
845
|
+
export * from "./PingPayload";
|
|
840
846
|
export * from "./PlayDtmfResultErrorModel";
|
|
841
847
|
export * from "./PlayDtmfResultSuccessModel";
|
|
842
848
|
export * from "./PlayDtmfToolConfig";
|
|
@@ -847,6 +853,7 @@ export * from "./PodcastConversationModeData";
|
|
|
847
853
|
export * from "./PodcastProjectResponseModel";
|
|
848
854
|
export * from "./PodcastTextSource";
|
|
849
855
|
export * from "./PodcastUrlSource";
|
|
856
|
+
export * from "./PongPayload";
|
|
850
857
|
export * from "./PositionInput";
|
|
851
858
|
export * from "./PositionOutput";
|
|
852
859
|
export * from "./PostAgentAvatarResponseModel";
|
|
@@ -860,7 +867,8 @@ export * from "./PrivacyConfigInput";
|
|
|
860
867
|
export * from "./PrivacyConfigOutput";
|
|
861
868
|
export * from "./PrivateKeyJwtResponse";
|
|
862
869
|
export * from "./PrivateKeyJwtResponseAlgorithm";
|
|
863
|
-
export * from "./
|
|
870
|
+
export * from "./ProcedureAtVersionInput";
|
|
871
|
+
export * from "./ProcedureAtVersionOutput";
|
|
864
872
|
export * from "./ProcedureRefResponseModel";
|
|
865
873
|
export * from "./ProcedureType";
|
|
866
874
|
export * from "./ProjectCreationMetaResponseModel";
|
|
@@ -1087,6 +1095,9 @@ export * from "./SpeechToTextWordResponseModel";
|
|
|
1087
1095
|
export * from "./SpeechToTextWordResponseModelType";
|
|
1088
1096
|
export * from "./SpellingPatience";
|
|
1089
1097
|
export * from "./SrtExportOptions";
|
|
1098
|
+
export * from "./StartProcedureToolConfigInput";
|
|
1099
|
+
export * from "./StartProcedureToolConfigOutput";
|
|
1100
|
+
export * from "./StartProcedureToolErrorStatus";
|
|
1090
1101
|
export * from "./StartPvcVoiceTrainingResponseModel";
|
|
1091
1102
|
export * from "./StartSpeakerSeparationResponseModel";
|
|
1092
1103
|
export * from "./StatusId";
|
|
@@ -1134,6 +1145,7 @@ export * from "./TextToDialogueWebsocketAudioChunk";
|
|
|
1134
1145
|
export * from "./TextToDialogueWebsocketClientMessage";
|
|
1135
1146
|
export * from "./TextToDialogueWebsocketError";
|
|
1136
1147
|
export * from "./TextToDialogueWebsocketFinal";
|
|
1148
|
+
export * from "./TextToDialogueWebsocketFinalAudioForTurn";
|
|
1137
1149
|
export * from "./TextToDialogueWebsocketOutputFormatEnum";
|
|
1138
1150
|
export * from "./TextToDialogueWebsocketVoiceInput";
|
|
1139
1151
|
export * from "./TextToSpeechApplyTextNormalizationEnum";
|
|
@@ -1171,6 +1183,8 @@ export * from "./ToolTypeFilter";
|
|
|
1171
1183
|
export * from "./ToolUsageStatsResponseModel";
|
|
1172
1184
|
export * from "./TranscriptionWord";
|
|
1173
1185
|
export * from "./TranscriptionWordType";
|
|
1186
|
+
export * from "./TranscriptMessage";
|
|
1187
|
+
export * from "./TranscriptMessageRole";
|
|
1174
1188
|
export * from "./TransferBranchInfoDefaultingToMain";
|
|
1175
1189
|
export * from "./TransferBranchInfoTrafficSplit";
|
|
1176
1190
|
export * from "./TransferToAgentToolConfig";
|
|
@@ -1217,6 +1231,7 @@ export * from "./UpdateAgentRuleParams";
|
|
|
1217
1231
|
export * from "./UpdateAssetParams";
|
|
1218
1232
|
export * from "./UpdateAudioNativeProjectRequest";
|
|
1219
1233
|
export * from "./UpdateBasicAuthRequest";
|
|
1234
|
+
export * from "./UpdateBookingPageAppearanceParams";
|
|
1220
1235
|
export * from "./UpdateBookingPageSettingsParams";
|
|
1221
1236
|
export * from "./UpdateBusinessInfoParams";
|
|
1222
1237
|
export * from "./UpdateCalendarEventParams";
|
|
@@ -1245,6 +1260,7 @@ export * from "./UpsertOrderItemRequest";
|
|
|
1245
1260
|
export * from "./UpsertOrderItemResponse";
|
|
1246
1261
|
export * from "./UrlAvatar";
|
|
1247
1262
|
export * from "./UrlModel";
|
|
1263
|
+
export * from "./UrlSecretAuthResponse";
|
|
1248
1264
|
export * from "./UsageAggregationInterval";
|
|
1249
1265
|
export * from "./UsageCharactersResponseModel";
|
|
1250
1266
|
export * from "./User";
|
|
@@ -1253,6 +1269,7 @@ export * from "./UserFeedback";
|
|
|
1253
1269
|
export * from "./UserFeedbackScore";
|
|
1254
1270
|
export * from "./UserModel";
|
|
1255
1271
|
export * from "./UsersSortBy";
|
|
1272
|
+
export * from "./UserTranscriptPayload";
|
|
1256
1273
|
export * from "./UserTypeId";
|
|
1257
1274
|
export * from "./UtteranceResponseModel";
|
|
1258
1275
|
export * from "./VadConfig";
|