@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
package/reference.md
CHANGED
|
@@ -1129,6 +1129,7 @@ Converts a list of text and voice ID pairs into speech (dialogue) and returns a
|
|
|
1129
1129
|
```typescript
|
|
1130
1130
|
const response = await client.textToDialogue.streamWithTimestamps({
|
|
1131
1131
|
outputFormat: "mp3_22050_32",
|
|
1132
|
+
enableLogging: true,
|
|
1132
1133
|
inputs: [{
|
|
1133
1134
|
text: "Hello, how are you?",
|
|
1134
1135
|
voiceId: "bYTqZQo3Jz7LQtmGTgwi"
|
|
@@ -1204,6 +1205,7 @@ Generate dialogue from text with precise character-level timing information for
|
|
|
1204
1205
|
```typescript
|
|
1205
1206
|
await client.textToDialogue.convertWithTimestamps({
|
|
1206
1207
|
outputFormat: "alaw_8000",
|
|
1208
|
+
enableLogging: true,
|
|
1207
1209
|
inputs: [{
|
|
1208
1210
|
text: "Hello, how are you?",
|
|
1209
1211
|
voiceId: "bYTqZQo3Jz7LQtmGTgwi"
|
|
@@ -1729,7 +1731,7 @@ await client.user.get();
|
|
|
1729
1731
|
</details>
|
|
1730
1732
|
|
|
1731
1733
|
## Voices
|
|
1732
|
-
<details><summary><code>client.voices.<a href="/src/api/resources/voices/client/Client.ts">
|
|
1734
|
+
<details><summary><code>client.voices.<a href="/src/api/resources/voices/client/Client.ts">get</a>(voice_id, { ...params }) -> ElevenLabs.Voice</code></summary>
|
|
1733
1735
|
<dl>
|
|
1734
1736
|
<dd>
|
|
1735
1737
|
|
|
@@ -1741,7 +1743,7 @@ await client.user.get();
|
|
|
1741
1743
|
<dl>
|
|
1742
1744
|
<dd>
|
|
1743
1745
|
|
|
1744
|
-
Returns
|
|
1746
|
+
Returns metadata about a specific voice.
|
|
1745
1747
|
</dd>
|
|
1746
1748
|
</dl>
|
|
1747
1749
|
</dd>
|
|
@@ -1756,8 +1758,8 @@ Returns a list of all available voices for a user. Stops working once the user's
|
|
|
1756
1758
|
<dd>
|
|
1757
1759
|
|
|
1758
1760
|
```typescript
|
|
1759
|
-
await client.voices.
|
|
1760
|
-
|
|
1761
|
+
await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
1762
|
+
withSettings: true
|
|
1761
1763
|
});
|
|
1762
1764
|
|
|
1763
1765
|
```
|
|
@@ -1774,7 +1776,15 @@ await client.voices.getAll({
|
|
|
1774
1776
|
<dl>
|
|
1775
1777
|
<dd>
|
|
1776
1778
|
|
|
1777
|
-
**
|
|
1779
|
+
**voice_id:** `string` — ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
|
|
1780
|
+
|
|
1781
|
+
</dd>
|
|
1782
|
+
</dl>
|
|
1783
|
+
|
|
1784
|
+
<dl>
|
|
1785
|
+
<dd>
|
|
1786
|
+
|
|
1787
|
+
**request:** `ElevenLabs.VoicesGetRequest`
|
|
1778
1788
|
|
|
1779
1789
|
</dd>
|
|
1780
1790
|
</dl>
|
|
@@ -1794,7 +1804,7 @@ await client.voices.getAll({
|
|
|
1794
1804
|
</dl>
|
|
1795
1805
|
</details>
|
|
1796
1806
|
|
|
1797
|
-
<details><summary><code>client.voices.<a href="/src/api/resources/voices/client/Client.ts">
|
|
1807
|
+
<details><summary><code>client.voices.<a href="/src/api/resources/voices/client/Client.ts">delete</a>(voice_id) -> ElevenLabs.DeleteVoiceResponseModel</code></summary>
|
|
1798
1808
|
<dl>
|
|
1799
1809
|
<dd>
|
|
1800
1810
|
|
|
@@ -1806,7 +1816,7 @@ await client.voices.getAll({
|
|
|
1806
1816
|
<dl>
|
|
1807
1817
|
<dd>
|
|
1808
1818
|
|
|
1809
|
-
|
|
1819
|
+
Deletes a voice by its ID.
|
|
1810
1820
|
</dd>
|
|
1811
1821
|
</dl>
|
|
1812
1822
|
</dd>
|
|
@@ -1821,19 +1831,7 @@ Gets a list of all available voices for a user with search, filtering and pagina
|
|
|
1821
1831
|
<dd>
|
|
1822
1832
|
|
|
1823
1833
|
```typescript
|
|
1824
|
-
await client.voices.
|
|
1825
|
-
nextPageToken: "next_page_token",
|
|
1826
|
-
pageSize: 1,
|
|
1827
|
-
search: "search",
|
|
1828
|
-
sort: "sort",
|
|
1829
|
-
sortDirection: "sort_direction",
|
|
1830
|
-
voiceType: "voice_type",
|
|
1831
|
-
category: "category",
|
|
1832
|
-
fineTuningState: "fine_tuning_state",
|
|
1833
|
-
collectionId: "collection_id",
|
|
1834
|
-
includeTotalCount: true,
|
|
1835
|
-
voiceIds: ["voice_ids"]
|
|
1836
|
-
});
|
|
1834
|
+
await client.voices.delete("21m00Tcm4TlvDq8ikWAM");
|
|
1837
1835
|
|
|
1838
1836
|
```
|
|
1839
1837
|
</dd>
|
|
@@ -1849,7 +1847,7 @@ await client.voices.search({
|
|
|
1849
1847
|
<dl>
|
|
1850
1848
|
<dd>
|
|
1851
1849
|
|
|
1852
|
-
**
|
|
1850
|
+
**voice_id:** `string` — ID of the voice to be used. You can use the [Get voices](/docs/api-reference/voices/search) endpoint list all the available voices.
|
|
1853
1851
|
|
|
1854
1852
|
</dd>
|
|
1855
1853
|
</dl>
|
|
@@ -1869,7 +1867,7 @@ await client.voices.search({
|
|
|
1869
1867
|
</dl>
|
|
1870
1868
|
</details>
|
|
1871
1869
|
|
|
1872
|
-
<details><summary><code>client.voices.<a href="/src/api/resources/voices/client/Client.ts">
|
|
1870
|
+
<details><summary><code>client.voices.<a href="/src/api/resources/voices/client/Client.ts">getAll</a>({ ...params }) -> ElevenLabs.GetVoicesResponse</code></summary>
|
|
1873
1871
|
<dl>
|
|
1874
1872
|
<dd>
|
|
1875
1873
|
|
|
@@ -1881,7 +1879,7 @@ await client.voices.search({
|
|
|
1881
1879
|
<dl>
|
|
1882
1880
|
<dd>
|
|
1883
1881
|
|
|
1884
|
-
Returns
|
|
1882
|
+
Returns a list of all available voices for a user. Stops working once the user's workspace exceeds 500 voices.
|
|
1885
1883
|
</dd>
|
|
1886
1884
|
</dl>
|
|
1887
1885
|
</dd>
|
|
@@ -1896,8 +1894,8 @@ Returns metadata about a specific voice.
|
|
|
1896
1894
|
<dd>
|
|
1897
1895
|
|
|
1898
1896
|
```typescript
|
|
1899
|
-
await client.voices.
|
|
1900
|
-
|
|
1897
|
+
await client.voices.getAll({
|
|
1898
|
+
showLegacy: true
|
|
1901
1899
|
});
|
|
1902
1900
|
|
|
1903
1901
|
```
|
|
@@ -1914,15 +1912,7 @@ await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
|
1914
1912
|
<dl>
|
|
1915
1913
|
<dd>
|
|
1916
1914
|
|
|
1917
|
-
**
|
|
1918
|
-
|
|
1919
|
-
</dd>
|
|
1920
|
-
</dl>
|
|
1921
|
-
|
|
1922
|
-
<dl>
|
|
1923
|
-
<dd>
|
|
1924
|
-
|
|
1925
|
-
**request:** `ElevenLabs.VoicesGetRequest`
|
|
1915
|
+
**request:** `ElevenLabs.VoicesGetAllRequest`
|
|
1926
1916
|
|
|
1927
1917
|
</dd>
|
|
1928
1918
|
</dl>
|
|
@@ -1942,7 +1932,7 @@ await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
|
1942
1932
|
</dl>
|
|
1943
1933
|
</details>
|
|
1944
1934
|
|
|
1945
|
-
<details><summary><code>client.voices.<a href="/src/api/resources/voices/client/Client.ts">
|
|
1935
|
+
<details><summary><code>client.voices.<a href="/src/api/resources/voices/client/Client.ts">search</a>({ ...params }) -> ElevenLabs.GetVoicesV2Response</code></summary>
|
|
1946
1936
|
<dl>
|
|
1947
1937
|
<dd>
|
|
1948
1938
|
|
|
@@ -1954,7 +1944,7 @@ await client.voices.get("21m00Tcm4TlvDq8ikWAM", {
|
|
|
1954
1944
|
<dl>
|
|
1955
1945
|
<dd>
|
|
1956
1946
|
|
|
1957
|
-
|
|
1947
|
+
Gets a list of all available voices for a user with search, filtering and pagination.
|
|
1958
1948
|
</dd>
|
|
1959
1949
|
</dl>
|
|
1960
1950
|
</dd>
|
|
@@ -1969,7 +1959,19 @@ Deletes a voice by its ID.
|
|
|
1969
1959
|
<dd>
|
|
1970
1960
|
|
|
1971
1961
|
```typescript
|
|
1972
|
-
await client.voices.
|
|
1962
|
+
await client.voices.search({
|
|
1963
|
+
nextPageToken: "next_page_token",
|
|
1964
|
+
pageSize: 1,
|
|
1965
|
+
search: "search",
|
|
1966
|
+
sort: "sort",
|
|
1967
|
+
sortDirection: "sort_direction",
|
|
1968
|
+
voiceType: "voice_type",
|
|
1969
|
+
category: "category",
|
|
1970
|
+
fineTuningState: "fine_tuning_state",
|
|
1971
|
+
collectionId: "collection_id",
|
|
1972
|
+
includeTotalCount: true,
|
|
1973
|
+
voiceIds: ["voice_ids"]
|
|
1974
|
+
});
|
|
1973
1975
|
|
|
1974
1976
|
```
|
|
1975
1977
|
</dd>
|
|
@@ -1985,7 +1987,7 @@ await client.voices.delete("21m00Tcm4TlvDq8ikWAM");
|
|
|
1985
1987
|
<dl>
|
|
1986
1988
|
<dd>
|
|
1987
1989
|
|
|
1988
|
-
**
|
|
1990
|
+
**request:** `ElevenLabs.VoicesSearchRequest`
|
|
1989
1991
|
|
|
1990
1992
|
</dd>
|
|
1991
1993
|
</dl>
|
|
@@ -7174,7 +7176,7 @@ await client.conversationalAi.phoneNumbers.get("TeaqRRdTcIfIu2i7BYfT");
|
|
|
7174
7176
|
<dl>
|
|
7175
7177
|
<dd>
|
|
7176
7178
|
|
|
7177
|
-
**phone_number_id:** `string` — The
|
|
7179
|
+
**phone_number_id:** `string` — The phone number ID. This is returned when a phone number is imported.
|
|
7178
7180
|
|
|
7179
7181
|
</dd>
|
|
7180
7182
|
</dl>
|
|
@@ -7237,7 +7239,7 @@ await client.conversationalAi.phoneNumbers.delete("TeaqRRdTcIfIu2i7BYfT");
|
|
|
7237
7239
|
<dl>
|
|
7238
7240
|
<dd>
|
|
7239
7241
|
|
|
7240
|
-
**phone_number_id:** `string` — The
|
|
7242
|
+
**phone_number_id:** `string` — The phone number ID. This is returned when a phone number is imported.
|
|
7241
7243
|
|
|
7242
7244
|
</dd>
|
|
7243
7245
|
</dl>
|
|
@@ -7300,7 +7302,7 @@ await client.conversationalAi.phoneNumbers.update("TeaqRRdTcIfIu2i7BYfT");
|
|
|
7300
7302
|
<dl>
|
|
7301
7303
|
<dd>
|
|
7302
7304
|
|
|
7303
|
-
**phone_number_id:** `string` — The
|
|
7305
|
+
**phone_number_id:** `string` — The phone number ID. This is returned when a phone number is imported.
|
|
7304
7306
|
|
|
7305
7307
|
</dd>
|
|
7306
7308
|
</dl>
|
|
@@ -7374,7 +7376,7 @@ await client.conversationalAi.phoneNumbers.getSipMessages("TeaqRRdTcIfIu2i7BYfT"
|
|
|
7374
7376
|
<dl>
|
|
7375
7377
|
<dd>
|
|
7376
7378
|
|
|
7377
|
-
**phone_number_id:** `string` — The
|
|
7379
|
+
**phone_number_id:** `string` — The phone number ID. This is returned when a phone number is imported.
|
|
7378
7380
|
|
|
7379
7381
|
</dd>
|
|
7380
7382
|
</dl>
|
|
@@ -21581,7 +21583,7 @@ await client.workspace.groups.members.add("group_id", {
|
|
|
21581
21583
|
<dl>
|
|
21582
21584
|
<dd>
|
|
21583
21585
|
|
|
21584
|
-
Revoke the API key used to authenticate this request. Requires the query parameter `api_key_name=self` as an explicit confirmation.
|
|
21586
|
+
Revoke the API key used to authenticate this request. Requires the query parameter `api_key_name=self` as an explicit confirmation. This endpoint requires additional permissions and is not enabled by default. Reach out to your ElevenLabs contact to request access.
|
|
21585
21587
|
</dd>
|
|
21586
21588
|
</dl>
|
|
21587
21589
|
</dd>
|
|
@@ -4,9 +4,10 @@ import type * as serializers from "../../../../../../../index";
|
|
|
4
4
|
import { ConstantSchemaOverride } from "../../../../../../../types/ConstantSchemaOverride";
|
|
5
5
|
import { DynamicVariableSchemaOverride } from "../../../../../../../types/DynamicVariableSchemaOverride";
|
|
6
6
|
import { LlmSchemaOverride } from "../../../../../../../types/LlmSchemaOverride";
|
|
7
|
+
import { OmitSchemaOverride } from "../../../../../../../types/OmitSchemaOverride";
|
|
7
8
|
export declare const McpToolConfigOverrideCreateRequestModelInputOverridesValue: core.serialization.Schema<serializers.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue.Raw, ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue>;
|
|
8
9
|
export declare namespace McpToolConfigOverrideCreateRequestModelInputOverridesValue {
|
|
9
|
-
type Raw = McpToolConfigOverrideCreateRequestModelInputOverridesValue.Constant | McpToolConfigOverrideCreateRequestModelInputOverridesValue.DynamicVariable | McpToolConfigOverrideCreateRequestModelInputOverridesValue.Llm;
|
|
10
|
+
type Raw = McpToolConfigOverrideCreateRequestModelInputOverridesValue.Constant | McpToolConfigOverrideCreateRequestModelInputOverridesValue.DynamicVariable | McpToolConfigOverrideCreateRequestModelInputOverridesValue.Llm | McpToolConfigOverrideCreateRequestModelInputOverridesValue.Omit;
|
|
10
11
|
interface Constant extends ConstantSchemaOverride.Raw {
|
|
11
12
|
source: "constant";
|
|
12
13
|
}
|
|
@@ -16,4 +17,7 @@ export declare namespace McpToolConfigOverrideCreateRequestModelInputOverridesVa
|
|
|
16
17
|
interface Llm extends LlmSchemaOverride.Raw {
|
|
17
18
|
source: "llm";
|
|
18
19
|
}
|
|
20
|
+
interface Omit extends OmitSchemaOverride.Raw {
|
|
21
|
+
source: "omit";
|
|
22
|
+
}
|
|
19
23
|
}
|
|
@@ -39,11 +39,13 @@ const core = __importStar(require("../../../../../../../../core"));
|
|
|
39
39
|
const ConstantSchemaOverride_1 = require("../../../../../../../types/ConstantSchemaOverride");
|
|
40
40
|
const DynamicVariableSchemaOverride_1 = require("../../../../../../../types/DynamicVariableSchemaOverride");
|
|
41
41
|
const LlmSchemaOverride_1 = require("../../../../../../../types/LlmSchemaOverride");
|
|
42
|
+
const OmitSchemaOverride_1 = require("../../../../../../../types/OmitSchemaOverride");
|
|
42
43
|
exports.McpToolConfigOverrideCreateRequestModelInputOverridesValue = core.serialization
|
|
43
44
|
.union("source", {
|
|
44
45
|
constant: ConstantSchemaOverride_1.ConstantSchemaOverride,
|
|
45
46
|
dynamic_variable: DynamicVariableSchemaOverride_1.DynamicVariableSchemaOverride,
|
|
46
47
|
llm: LlmSchemaOverride_1.LlmSchemaOverride,
|
|
48
|
+
omit: OmitSchemaOverride_1.OmitSchemaOverride,
|
|
47
49
|
})
|
|
48
50
|
.transform({
|
|
49
51
|
transform: (value) => value,
|
|
@@ -4,9 +4,10 @@ import type * as serializers from "../../../../../../../index";
|
|
|
4
4
|
import { ConstantSchemaOverride } from "../../../../../../../types/ConstantSchemaOverride";
|
|
5
5
|
import { DynamicVariableSchemaOverride } from "../../../../../../../types/DynamicVariableSchemaOverride";
|
|
6
6
|
import { LlmSchemaOverride } from "../../../../../../../types/LlmSchemaOverride";
|
|
7
|
+
import { OmitSchemaOverride } from "../../../../../../../types/OmitSchemaOverride";
|
|
7
8
|
export declare const McpToolConfigOverrideUpdateRequestModelInputOverridesValue: core.serialization.Schema<serializers.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Raw, ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue>;
|
|
8
9
|
export declare namespace McpToolConfigOverrideUpdateRequestModelInputOverridesValue {
|
|
9
|
-
type Raw = McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Constant | McpToolConfigOverrideUpdateRequestModelInputOverridesValue.DynamicVariable | McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Llm;
|
|
10
|
+
type Raw = McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Constant | McpToolConfigOverrideUpdateRequestModelInputOverridesValue.DynamicVariable | McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Llm | McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Omit;
|
|
10
11
|
interface Constant extends ConstantSchemaOverride.Raw {
|
|
11
12
|
source: "constant";
|
|
12
13
|
}
|
|
@@ -16,4 +17,7 @@ export declare namespace McpToolConfigOverrideUpdateRequestModelInputOverridesVa
|
|
|
16
17
|
interface Llm extends LlmSchemaOverride.Raw {
|
|
17
18
|
source: "llm";
|
|
18
19
|
}
|
|
20
|
+
interface Omit extends OmitSchemaOverride.Raw {
|
|
21
|
+
source: "omit";
|
|
22
|
+
}
|
|
19
23
|
}
|
|
@@ -39,11 +39,13 @@ const core = __importStar(require("../../../../../../../../core"));
|
|
|
39
39
|
const ConstantSchemaOverride_1 = require("../../../../../../../types/ConstantSchemaOverride");
|
|
40
40
|
const DynamicVariableSchemaOverride_1 = require("../../../../../../../types/DynamicVariableSchemaOverride");
|
|
41
41
|
const LlmSchemaOverride_1 = require("../../../../../../../types/LlmSchemaOverride");
|
|
42
|
+
const OmitSchemaOverride_1 = require("../../../../../../../types/OmitSchemaOverride");
|
|
42
43
|
exports.McpToolConfigOverrideUpdateRequestModelInputOverridesValue = core.serialization
|
|
43
44
|
.union("source", {
|
|
44
45
|
constant: ConstantSchemaOverride_1.ConstantSchemaOverride,
|
|
45
46
|
dynamic_variable: DynamicVariableSchemaOverride_1.DynamicVariableSchemaOverride,
|
|
46
47
|
llm: LlmSchemaOverride_1.LlmSchemaOverride,
|
|
48
|
+
omit: OmitSchemaOverride_1.OmitSchemaOverride,
|
|
47
49
|
})
|
|
48
50
|
.transform({
|
|
49
51
|
transform: (value) => value,
|
|
@@ -23,6 +23,8 @@ export * from "./pronunciationDictionaries/types";
|
|
|
23
23
|
export * as serviceAccounts from "./serviceAccounts";
|
|
24
24
|
export * as speechEngine from "./speechEngine";
|
|
25
25
|
export * from "./speechEngine/client/requests";
|
|
26
|
+
export * as speechEngineUpstream from "./speechEngineUpstream";
|
|
27
|
+
export * from "./speechEngineUpstream/types";
|
|
26
28
|
export * as speechToSpeech from "./speechToSpeech";
|
|
27
29
|
export * from "./speechToSpeech/types";
|
|
28
30
|
export * as speechToText from "./speechToText";
|
|
@@ -36,7 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.workspace = exports.webhooks = exports.voices = exports.v1TextToSpeechVoiceIdStreamInput = exports.v1TextToSpeechVoiceIdMultiStreamInput = exports.v1TextToDialogueStreamInput = exports.v1SpeechToTextRealtime = exports.v1RealtimeTranslation = exports.textToVoice = exports.textToSpeech = exports.textToSoundEffects = exports.textToDialogue = exports.studio = exports.speechToText = exports.speechToSpeech = exports.speechEngine = exports.serviceAccounts = exports.pronunciationDictionaries = exports.productions = exports.music = exports.models = exports.history = exports.environmentVariables = exports.dubbing = exports.conversationalAi = exports.audioNative = exports.audioIsolation = void 0;
|
|
39
|
+
exports.workspace = exports.webhooks = exports.voices = exports.v1TextToSpeechVoiceIdStreamInput = exports.v1TextToSpeechVoiceIdMultiStreamInput = exports.v1TextToDialogueStreamInput = exports.v1SpeechToTextRealtime = exports.v1RealtimeTranslation = exports.textToVoice = exports.textToSpeech = exports.textToSoundEffects = exports.textToDialogue = exports.studio = exports.speechToText = exports.speechToSpeech = exports.speechEngineUpstream = exports.speechEngine = exports.serviceAccounts = exports.pronunciationDictionaries = exports.productions = exports.music = exports.models = exports.history = exports.environmentVariables = exports.dubbing = exports.conversationalAi = exports.audioNative = exports.audioIsolation = void 0;
|
|
40
40
|
exports.audioIsolation = __importStar(require("./audioIsolation"));
|
|
41
41
|
__exportStar(require("./audioIsolation/types"), exports);
|
|
42
42
|
exports.audioNative = __importStar(require("./audioNative"));
|
|
@@ -62,6 +62,8 @@ __exportStar(require("./pronunciationDictionaries/types"), exports);
|
|
|
62
62
|
exports.serviceAccounts = __importStar(require("./serviceAccounts"));
|
|
63
63
|
exports.speechEngine = __importStar(require("./speechEngine"));
|
|
64
64
|
__exportStar(require("./speechEngine/client/requests"), exports);
|
|
65
|
+
exports.speechEngineUpstream = __importStar(require("./speechEngineUpstream"));
|
|
66
|
+
__exportStar(require("./speechEngineUpstream/types"), exports);
|
|
65
67
|
exports.speechToSpeech = __importStar(require("./speechToSpeech"));
|
|
66
68
|
__exportStar(require("./speechToSpeech/types"), exports);
|
|
67
69
|
exports.speechToText = __importStar(require("./speechToText"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { ClosePayload } from "../../../types/ClosePayload";
|
|
5
|
+
import { ErrorPayload } from "../../../types/ErrorPayload";
|
|
6
|
+
import { InitPayload } from "../../../types/InitPayload";
|
|
7
|
+
import { PingPayload } from "../../../types/PingPayload";
|
|
8
|
+
import { UserTranscriptPayload } from "../../../types/UserTranscriptPayload";
|
|
9
|
+
export declare const ReceiveUpstreamMessage: core.serialization.Schema<serializers.ReceiveUpstreamMessage.Raw, ElevenLabs.ReceiveUpstreamMessage>;
|
|
10
|
+
export declare namespace ReceiveUpstreamMessage {
|
|
11
|
+
type Raw = InitPayload.Raw | UserTranscriptPayload.Raw | PingPayload.Raw | ClosePayload.Raw | ErrorPayload.Raw;
|
|
12
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ReceiveUpstreamMessage = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const ClosePayload_1 = require("../../../types/ClosePayload");
|
|
40
|
+
const ErrorPayload_1 = require("../../../types/ErrorPayload");
|
|
41
|
+
const InitPayload_1 = require("../../../types/InitPayload");
|
|
42
|
+
const PingPayload_1 = require("../../../types/PingPayload");
|
|
43
|
+
const UserTranscriptPayload_1 = require("../../../types/UserTranscriptPayload");
|
|
44
|
+
exports.ReceiveUpstreamMessage = core.serialization.undiscriminatedUnion([
|
|
45
|
+
InitPayload_1.InitPayload,
|
|
46
|
+
UserTranscriptPayload_1.UserTranscriptPayload,
|
|
47
|
+
PingPayload_1.PingPayload,
|
|
48
|
+
ClosePayload_1.ClosePayload,
|
|
49
|
+
ErrorPayload_1.ErrorPayload,
|
|
50
|
+
]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AgentResponsePayload } from "../../../types/AgentResponsePayload";
|
|
5
|
+
import { PongPayload } from "../../../types/PongPayload";
|
|
6
|
+
export declare const SendUpstreamMessage: core.serialization.Schema<serializers.SendUpstreamMessage.Raw, ElevenLabs.SendUpstreamMessage>;
|
|
7
|
+
export declare namespace SendUpstreamMessage {
|
|
8
|
+
type Raw = AgentResponsePayload.Raw | PongPayload.Raw;
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.SendUpstreamMessage = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const AgentResponsePayload_1 = require("../../../types/AgentResponsePayload");
|
|
40
|
+
const PongPayload_1 = require("../../../types/PongPayload");
|
|
41
|
+
exports.SendUpstreamMessage = core.serialization.undiscriminatedUnion([AgentResponsePayload_1.AgentResponsePayload, PongPayload_1.PongPayload]);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ReceiveUpstreamMessage"), exports);
|
|
18
|
+
__exportStar(require("./SendUpstreamMessage"), exports);
|
|
@@ -5,7 +5,7 @@ import { DialogueInput } from "../../../../types/DialogueInput";
|
|
|
5
5
|
import { ModelSettingsResponseModel } from "../../../../types/ModelSettingsResponseModel";
|
|
6
6
|
import { PronunciationDictionaryVersionLocator } from "../../../../types/PronunciationDictionaryVersionLocator";
|
|
7
7
|
import { BodyTextToDialogueFullWithTimestampsApplyTextNormalization } from "../../types/BodyTextToDialogueFullWithTimestampsApplyTextNormalization";
|
|
8
|
-
export declare const BodyTextToDialogueFullWithTimestamps: core.serialization.Schema<serializers.BodyTextToDialogueFullWithTimestamps.Raw, Omit<ElevenLabs.BodyTextToDialogueFullWithTimestamps, "outputFormat">>;
|
|
8
|
+
export declare const BodyTextToDialogueFullWithTimestamps: core.serialization.Schema<serializers.BodyTextToDialogueFullWithTimestamps.Raw, Omit<ElevenLabs.BodyTextToDialogueFullWithTimestamps, "outputFormat" | "enableLogging">>;
|
|
9
9
|
export declare namespace BodyTextToDialogueFullWithTimestamps {
|
|
10
10
|
interface Raw {
|
|
11
11
|
inputs: DialogueInput.Raw[];
|
|
@@ -5,7 +5,7 @@ import { DialogueInput } from "../../../../types/DialogueInput";
|
|
|
5
5
|
import { ModelSettingsResponseModel } from "../../../../types/ModelSettingsResponseModel";
|
|
6
6
|
import { PronunciationDictionaryVersionLocator } from "../../../../types/PronunciationDictionaryVersionLocator";
|
|
7
7
|
import { BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization } from "../../types/BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPostApplyTextNormalization";
|
|
8
|
-
export declare const BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost: core.serialization.Schema<serializers.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.Raw, Omit<ElevenLabs.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost, "outputFormat">>;
|
|
8
|
+
export declare const BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost: core.serialization.Schema<serializers.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost.Raw, Omit<ElevenLabs.BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost, "outputFormat" | "enableLogging">>;
|
|
9
9
|
export declare namespace BodyTextToDialogueMultiVoiceStreamingV1TextToDialogueStreamPost {
|
|
10
10
|
interface Raw {
|
|
11
11
|
inputs: DialogueInput.Raw[];
|
|
@@ -5,7 +5,7 @@ import { DialogueInput } from "../../../../types/DialogueInput";
|
|
|
5
5
|
import { ModelSettingsResponseModel } from "../../../../types/ModelSettingsResponseModel";
|
|
6
6
|
import { PronunciationDictionaryVersionLocator } from "../../../../types/PronunciationDictionaryVersionLocator";
|
|
7
7
|
import { BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization } from "../../types/BodyTextToDialogueMultiVoiceV1TextToDialoguePostApplyTextNormalization";
|
|
8
|
-
export declare const BodyTextToDialogueMultiVoiceV1TextToDialoguePost: core.serialization.Schema<serializers.BodyTextToDialogueMultiVoiceV1TextToDialoguePost.Raw, Omit<ElevenLabs.BodyTextToDialogueMultiVoiceV1TextToDialoguePost, "outputFormat">>;
|
|
8
|
+
export declare const BodyTextToDialogueMultiVoiceV1TextToDialoguePost: core.serialization.Schema<serializers.BodyTextToDialogueMultiVoiceV1TextToDialoguePost.Raw, Omit<ElevenLabs.BodyTextToDialogueMultiVoiceV1TextToDialoguePost, "outputFormat" | "enableLogging">>;
|
|
9
9
|
export declare namespace BodyTextToDialogueMultiVoiceV1TextToDialoguePost {
|
|
10
10
|
interface Raw {
|
|
11
11
|
inputs: DialogueInput.Raw[];
|
|
@@ -5,7 +5,7 @@ import { DialogueInput } from "../../../../types/DialogueInput";
|
|
|
5
5
|
import { ModelSettingsResponseModel } from "../../../../types/ModelSettingsResponseModel";
|
|
6
6
|
import { PronunciationDictionaryVersionLocator } from "../../../../types/PronunciationDictionaryVersionLocator";
|
|
7
7
|
import { BodyTextToDialogueStreamWithTimestampsApplyTextNormalization } from "../../types/BodyTextToDialogueStreamWithTimestampsApplyTextNormalization";
|
|
8
|
-
export declare const BodyTextToDialogueStreamWithTimestamps: core.serialization.Schema<serializers.BodyTextToDialogueStreamWithTimestamps.Raw, Omit<ElevenLabs.BodyTextToDialogueStreamWithTimestamps, "outputFormat">>;
|
|
8
|
+
export declare const BodyTextToDialogueStreamWithTimestamps: core.serialization.Schema<serializers.BodyTextToDialogueStreamWithTimestamps.Raw, Omit<ElevenLabs.BodyTextToDialogueStreamWithTimestamps, "outputFormat" | "enableLogging">>;
|
|
9
9
|
export declare namespace BodyTextToDialogueStreamWithTimestamps {
|
|
10
10
|
interface Raw {
|
|
11
11
|
inputs: DialogueInput.Raw[];
|
|
@@ -4,7 +4,8 @@ import type * as serializers from "../../../index";
|
|
|
4
4
|
import { TextToDialogueWebsocketAudioChunk } from "../../../types/TextToDialogueWebsocketAudioChunk";
|
|
5
5
|
import { TextToDialogueWebsocketError } from "../../../types/TextToDialogueWebsocketError";
|
|
6
6
|
import { TextToDialogueWebsocketFinal } from "../../../types/TextToDialogueWebsocketFinal";
|
|
7
|
+
import { TextToDialogueWebsocketFinalAudioForTurn } from "../../../types/TextToDialogueWebsocketFinalAudioForTurn";
|
|
7
8
|
export declare const ReceiveTextToDialogueWebsocketMessage: core.serialization.Schema<serializers.ReceiveTextToDialogueWebsocketMessage.Raw, ElevenLabs.ReceiveTextToDialogueWebsocketMessage>;
|
|
8
9
|
export declare namespace ReceiveTextToDialogueWebsocketMessage {
|
|
9
|
-
type Raw = TextToDialogueWebsocketAudioChunk.Raw | TextToDialogueWebsocketFinal.Raw | TextToDialogueWebsocketError.Raw;
|
|
10
|
+
type Raw = TextToDialogueWebsocketAudioChunk.Raw | TextToDialogueWebsocketFinalAudioForTurn.Raw | TextToDialogueWebsocketFinal.Raw | TextToDialogueWebsocketError.Raw;
|
|
10
11
|
}
|
|
@@ -39,8 +39,10 @@ const core = __importStar(require("../../../../core"));
|
|
|
39
39
|
const TextToDialogueWebsocketAudioChunk_1 = require("../../../types/TextToDialogueWebsocketAudioChunk");
|
|
40
40
|
const TextToDialogueWebsocketError_1 = require("../../../types/TextToDialogueWebsocketError");
|
|
41
41
|
const TextToDialogueWebsocketFinal_1 = require("../../../types/TextToDialogueWebsocketFinal");
|
|
42
|
+
const TextToDialogueWebsocketFinalAudioForTurn_1 = require("../../../types/TextToDialogueWebsocketFinalAudioForTurn");
|
|
42
43
|
exports.ReceiveTextToDialogueWebsocketMessage = core.serialization.undiscriminatedUnion([
|
|
43
44
|
TextToDialogueWebsocketAudioChunk_1.TextToDialogueWebsocketAudioChunk,
|
|
45
|
+
TextToDialogueWebsocketFinalAudioForTurn_1.TextToDialogueWebsocketFinalAudioForTurn,
|
|
44
46
|
TextToDialogueWebsocketFinal_1.TextToDialogueWebsocketFinal,
|
|
45
47
|
TextToDialogueWebsocketError_1.TextToDialogueWebsocketError,
|
|
46
48
|
]);
|
|
@@ -11,10 +11,11 @@ import { OAuth2ClientCredsResponse } from "../../../../../types/OAuth2ClientCred
|
|
|
11
11
|
import { OAuth2JwtResponse } from "../../../../../types/OAuth2JwtResponse";
|
|
12
12
|
import { PrivateKeyJwtResponse } from "../../../../../types/PrivateKeyJwtResponse";
|
|
13
13
|
import { SlackBotAuthResponse } from "../../../../../types/SlackBotAuthResponse";
|
|
14
|
+
import { UrlSecretAuthResponse } from "../../../../../types/UrlSecretAuthResponse";
|
|
14
15
|
import { WhatsAppAuthResponse } from "../../../../../types/WhatsAppAuthResponse";
|
|
15
16
|
export declare const AuthConnectionsCreateResponse: core.serialization.Schema<serializers.workspace.AuthConnectionsCreateResponse.Raw, ElevenLabs.workspace.AuthConnectionsCreateResponse>;
|
|
16
17
|
export declare namespace AuthConnectionsCreateResponse {
|
|
17
|
-
type Raw = AuthConnectionsCreateResponse.Oauth2ClientCredentials | AuthConnectionsCreateResponse.BasicAuth | AuthConnectionsCreateResponse.BearerAuth | AuthConnectionsCreateResponse.Oauth2Jwt | AuthConnectionsCreateResponse.PrivateKeyJwt | AuthConnectionsCreateResponse.Mtls | AuthConnectionsCreateResponse.CustomHeaderAuth | AuthConnectionsCreateResponse.ApiIntegrationOauth2AuthCode | AuthConnectionsCreateResponse.ApiIntegrationOauth2CustomApp | AuthConnectionsCreateResponse.WhatsappAuth | AuthConnectionsCreateResponse.SlackBotAuth;
|
|
18
|
+
type Raw = AuthConnectionsCreateResponse.Oauth2ClientCredentials | AuthConnectionsCreateResponse.BasicAuth | AuthConnectionsCreateResponse.BearerAuth | AuthConnectionsCreateResponse.Oauth2Jwt | AuthConnectionsCreateResponse.PrivateKeyJwt | AuthConnectionsCreateResponse.Mtls | AuthConnectionsCreateResponse.CustomHeaderAuth | AuthConnectionsCreateResponse.ApiIntegrationOauth2AuthCode | AuthConnectionsCreateResponse.ApiIntegrationOauth2CustomApp | AuthConnectionsCreateResponse.WhatsappAuth | AuthConnectionsCreateResponse.SlackBotAuth | AuthConnectionsCreateResponse.UrlSecret;
|
|
18
19
|
interface Oauth2ClientCredentials extends OAuth2ClientCredsResponse.Raw {
|
|
19
20
|
auth_type: "oauth2_client_credentials";
|
|
20
21
|
}
|
|
@@ -48,4 +49,7 @@ export declare namespace AuthConnectionsCreateResponse {
|
|
|
48
49
|
interface SlackBotAuth extends SlackBotAuthResponse.Raw {
|
|
49
50
|
auth_type: "slack_bot_auth";
|
|
50
51
|
}
|
|
52
|
+
interface UrlSecret extends UrlSecretAuthResponse.Raw {
|
|
53
|
+
auth_type: "url_secret";
|
|
54
|
+
}
|
|
51
55
|
}
|
|
@@ -46,6 +46,7 @@ const OAuth2ClientCredsResponse_1 = require("../../../../../types/OAuth2ClientCr
|
|
|
46
46
|
const OAuth2JwtResponse_1 = require("../../../../../types/OAuth2JwtResponse");
|
|
47
47
|
const PrivateKeyJwtResponse_1 = require("../../../../../types/PrivateKeyJwtResponse");
|
|
48
48
|
const SlackBotAuthResponse_1 = require("../../../../../types/SlackBotAuthResponse");
|
|
49
|
+
const UrlSecretAuthResponse_1 = require("../../../../../types/UrlSecretAuthResponse");
|
|
49
50
|
const WhatsAppAuthResponse_1 = require("../../../../../types/WhatsAppAuthResponse");
|
|
50
51
|
exports.AuthConnectionsCreateResponse = core.serialization
|
|
51
52
|
.union(core.serialization.discriminant("authType", "auth_type"), {
|
|
@@ -60,6 +61,7 @@ exports.AuthConnectionsCreateResponse = core.serialization
|
|
|
60
61
|
api_integration_oauth2_custom_app: ApiIntegrationOAuth2CustomAppResponse_1.ApiIntegrationOAuth2CustomAppResponse,
|
|
61
62
|
whatsapp_auth: WhatsAppAuthResponse_1.WhatsAppAuthResponse,
|
|
62
63
|
slack_bot_auth: SlackBotAuthResponse_1.SlackBotAuthResponse,
|
|
64
|
+
url_secret: UrlSecretAuthResponse_1.UrlSecretAuthResponse,
|
|
63
65
|
})
|
|
64
66
|
.transform({
|
|
65
67
|
transform: (value) => value,
|