@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
|
@@ -4,9 +4,10 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { ConstantSchemaOverride } from "./ConstantSchemaOverride";
|
|
5
5
|
import { DynamicVariableSchemaOverride } from "./DynamicVariableSchemaOverride";
|
|
6
6
|
import { LlmSchemaOverride } from "./LlmSchemaOverride";
|
|
7
|
+
import { OmitSchemaOverride } from "./OmitSchemaOverride";
|
|
7
8
|
export declare const McpToolConfigOverrideOutputInputOverridesValue: core.serialization.Schema<serializers.McpToolConfigOverrideOutputInputOverridesValue.Raw, ElevenLabs.McpToolConfigOverrideOutputInputOverridesValue>;
|
|
8
9
|
export declare namespace McpToolConfigOverrideOutputInputOverridesValue {
|
|
9
|
-
type Raw = McpToolConfigOverrideOutputInputOverridesValue.Constant | McpToolConfigOverrideOutputInputOverridesValue.DynamicVariable | McpToolConfigOverrideOutputInputOverridesValue.Llm;
|
|
10
|
+
type Raw = McpToolConfigOverrideOutputInputOverridesValue.Constant | McpToolConfigOverrideOutputInputOverridesValue.DynamicVariable | McpToolConfigOverrideOutputInputOverridesValue.Llm | McpToolConfigOverrideOutputInputOverridesValue.Omit;
|
|
10
11
|
interface Constant extends ConstantSchemaOverride.Raw {
|
|
11
12
|
source: "constant";
|
|
12
13
|
}
|
|
@@ -16,4 +17,7 @@ export declare namespace McpToolConfigOverrideOutputInputOverridesValue {
|
|
|
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("./ConstantSchemaOverride");
|
|
40
40
|
const DynamicVariableSchemaOverride_1 = require("./DynamicVariableSchemaOverride");
|
|
41
41
|
const LlmSchemaOverride_1 = require("./LlmSchemaOverride");
|
|
42
|
+
const OmitSchemaOverride_1 = require("./OmitSchemaOverride");
|
|
42
43
|
exports.McpToolConfigOverrideOutputInputOverridesValue = 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,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const OmitSchemaOverride: core.serialization.ObjectSchema<serializers.OmitSchemaOverride.Raw, ElevenLabs.OmitSchemaOverride>;
|
|
5
|
+
export declare namespace OmitSchemaOverride {
|
|
6
|
+
type Raw = {};
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.OmitSchemaOverride = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.OmitSchemaOverride = core.serialization.object({});
|
|
@@ -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
|
+
export declare const PingPayload: core.serialization.ObjectSchema<serializers.PingPayload.Raw, ElevenLabs.PingPayload>;
|
|
5
|
+
export declare namespace PingPayload {
|
|
6
|
+
interface Raw {
|
|
7
|
+
type: "ping";
|
|
8
|
+
}
|
|
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.PingPayload = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.PingPayload = core.serialization.object({
|
|
40
|
+
type: core.serialization.stringLiteral("ping"),
|
|
41
|
+
});
|
|
@@ -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
|
+
export declare const PongPayload: core.serialization.ObjectSchema<serializers.PongPayload.Raw, ElevenLabs.PongPayload>;
|
|
5
|
+
export declare namespace PongPayload {
|
|
6
|
+
interface Raw {
|
|
7
|
+
type: "pong";
|
|
8
|
+
}
|
|
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.PongPayload = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.PongPayload = core.serialization.object({
|
|
40
|
+
type: core.serialization.stringLiteral("pong"),
|
|
41
|
+
});
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import type * as ElevenLabs from "../../api/index";
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
|
+
import { CustomGuardrailConfig } from "./CustomGuardrailConfig";
|
|
4
5
|
import { ProcedureType } from "./ProcedureType";
|
|
5
|
-
export declare const
|
|
6
|
-
export declare namespace
|
|
6
|
+
export declare const ProcedureAtVersionInput: core.serialization.ObjectSchema<serializers.ProcedureAtVersionInput.Raw, ElevenLabs.ProcedureAtVersionInput>;
|
|
7
|
+
export declare namespace ProcedureAtVersionInput {
|
|
7
8
|
interface Raw {
|
|
8
9
|
procedure_id: string;
|
|
9
10
|
name: string;
|
|
10
11
|
content: string;
|
|
11
12
|
type?: ProcedureType.Raw | null;
|
|
13
|
+
guardrails?: CustomGuardrailConfig.Raw[] | null;
|
|
12
14
|
agent_id: string;
|
|
13
15
|
version_id?: string | null;
|
|
14
16
|
}
|
|
@@ -34,14 +34,16 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ProcedureAtVersionInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
+
const CustomGuardrailConfig_1 = require("./CustomGuardrailConfig");
|
|
39
40
|
const ProcedureType_1 = require("./ProcedureType");
|
|
40
|
-
exports.
|
|
41
|
+
exports.ProcedureAtVersionInput = core.serialization.object({
|
|
41
42
|
procedureId: core.serialization.property("procedure_id", core.serialization.string()),
|
|
42
43
|
name: core.serialization.string(),
|
|
43
44
|
content: core.serialization.string(),
|
|
44
45
|
type: ProcedureType_1.ProcedureType.optional(),
|
|
46
|
+
guardrails: core.serialization.list(CustomGuardrailConfig_1.CustomGuardrailConfig).optional(),
|
|
45
47
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
46
48
|
versionId: core.serialization.property("version_id", core.serialization.string().optional()),
|
|
47
49
|
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { CustomGuardrailConfig } from "./CustomGuardrailConfig";
|
|
5
|
+
import { ProcedureType } from "./ProcedureType";
|
|
6
|
+
export declare const ProcedureAtVersionOutput: core.serialization.ObjectSchema<serializers.ProcedureAtVersionOutput.Raw, ElevenLabs.ProcedureAtVersionOutput>;
|
|
7
|
+
export declare namespace ProcedureAtVersionOutput {
|
|
8
|
+
interface Raw {
|
|
9
|
+
procedure_id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
content: string;
|
|
12
|
+
type?: ProcedureType.Raw | null;
|
|
13
|
+
guardrails?: CustomGuardrailConfig.Raw[] | null;
|
|
14
|
+
agent_id: string;
|
|
15
|
+
version_id?: string | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.ProcedureAtVersionOutput = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const CustomGuardrailConfig_1 = require("./CustomGuardrailConfig");
|
|
40
|
+
const ProcedureType_1 = require("./ProcedureType");
|
|
41
|
+
exports.ProcedureAtVersionOutput = core.serialization.object({
|
|
42
|
+
procedureId: core.serialization.property("procedure_id", core.serialization.string()),
|
|
43
|
+
name: core.serialization.string(),
|
|
44
|
+
content: core.serialization.string(),
|
|
45
|
+
type: ProcedureType_1.ProcedureType.optional(),
|
|
46
|
+
guardrails: core.serialization.list(CustomGuardrailConfig_1.CustomGuardrailConfig).optional(),
|
|
47
|
+
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
48
|
+
versionId: core.serialization.property("version_id", core.serialization.string().optional()),
|
|
49
|
+
});
|
|
@@ -6,7 +6,9 @@ export declare namespace SoftTimeoutConfig {
|
|
|
6
6
|
interface Raw {
|
|
7
7
|
timeout_seconds?: number | null;
|
|
8
8
|
message?: string | null;
|
|
9
|
+
additional_soft_timeout_messages?: string[] | null;
|
|
9
10
|
use_llm_generated_message?: boolean | null;
|
|
11
|
+
max_soft_timeouts_per_generation?: number | null;
|
|
10
12
|
llm_generated_message_prompt_override?: string | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -39,6 +39,8 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
exports.SoftTimeoutConfig = core.serialization.object({
|
|
40
40
|
timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
|
|
41
41
|
message: core.serialization.string().optional(),
|
|
42
|
+
additionalSoftTimeoutMessages: core.serialization.property("additional_soft_timeout_messages", core.serialization.list(core.serialization.string()).optional()),
|
|
42
43
|
useLlmGeneratedMessage: core.serialization.property("use_llm_generated_message", core.serialization.boolean().optional()),
|
|
44
|
+
maxSoftTimeoutsPerGeneration: core.serialization.property("max_soft_timeouts_per_generation", core.serialization.number().optional()),
|
|
43
45
|
llmGeneratedMessagePromptOverride: core.serialization.property("llm_generated_message_prompt_override", core.serialization.string().optional()),
|
|
44
46
|
});
|
|
@@ -6,7 +6,9 @@ export declare namespace SoftTimeoutConfigWorkflowOverride {
|
|
|
6
6
|
interface Raw {
|
|
7
7
|
timeout_seconds?: number | null;
|
|
8
8
|
message?: string | null;
|
|
9
|
+
additional_soft_timeout_messages?: string[] | null;
|
|
9
10
|
use_llm_generated_message?: boolean | null;
|
|
11
|
+
max_soft_timeouts_per_generation?: number | null;
|
|
10
12
|
llm_generated_message_prompt_override?: string | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -39,6 +39,8 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
exports.SoftTimeoutConfigWorkflowOverride = core.serialization.object({
|
|
40
40
|
timeoutSeconds: core.serialization.property("timeout_seconds", core.serialization.number().optional()),
|
|
41
41
|
message: core.serialization.string().optional(),
|
|
42
|
+
additionalSoftTimeoutMessages: core.serialization.property("additional_soft_timeout_messages", core.serialization.list(core.serialization.string()).optional()),
|
|
42
43
|
useLlmGeneratedMessage: core.serialization.property("use_llm_generated_message", core.serialization.boolean().optional()),
|
|
44
|
+
maxSoftTimeoutsPerGeneration: core.serialization.property("max_soft_timeouts_per_generation", core.serialization.number().optional()),
|
|
43
45
|
llmGeneratedMessagePromptOverride: core.serialization.property("llm_generated_message_prompt_override", core.serialization.string().optional()),
|
|
44
46
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ProcedureAtVersionInput } from "./ProcedureAtVersionInput";
|
|
5
|
+
export declare const StartProcedureToolConfigInput: core.serialization.ObjectSchema<serializers.StartProcedureToolConfigInput.Raw, ElevenLabs.StartProcedureToolConfigInput>;
|
|
6
|
+
export declare namespace StartProcedureToolConfigInput {
|
|
7
|
+
interface Raw {
|
|
8
|
+
procedures?: Record<string, ProcedureAtVersionInput.Raw> | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.StartProcedureToolConfigInput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
40
|
-
exports.
|
|
41
|
-
procedures: core.serialization.record(core.serialization.string(),
|
|
39
|
+
const ProcedureAtVersionInput_1 = require("./ProcedureAtVersionInput");
|
|
40
|
+
exports.StartProcedureToolConfigInput = core.serialization.object({
|
|
41
|
+
procedures: core.serialization.record(core.serialization.string(), ProcedureAtVersionInput_1.ProcedureAtVersionInput).optional(),
|
|
42
42
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ProcedureAtVersionOutput } from "./ProcedureAtVersionOutput";
|
|
5
|
+
export declare const StartProcedureToolConfigOutput: core.serialization.ObjectSchema<serializers.StartProcedureToolConfigOutput.Raw, ElevenLabs.StartProcedureToolConfigOutput>;
|
|
6
|
+
export declare namespace StartProcedureToolConfigOutput {
|
|
7
|
+
interface Raw {
|
|
8
|
+
procedures?: Record<string, ProcedureAtVersionOutput.Raw> | null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.StartProcedureToolConfigOutput = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
40
|
-
exports.
|
|
41
|
-
procedures: core.serialization.record(core.serialization.string(),
|
|
39
|
+
const ProcedureAtVersionOutput_1 = require("./ProcedureAtVersionOutput");
|
|
40
|
+
exports.StartProcedureToolConfigOutput = core.serialization.object({
|
|
41
|
+
procedures: core.serialization.record(core.serialization.string(), ProcedureAtVersionOutput_1.ProcedureAtVersionOutput).optional(),
|
|
42
42
|
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const StartProcedureToolErrorStatus: core.serialization.Schema<serializers.StartProcedureToolErrorStatus.Raw, ElevenLabs.StartProcedureToolErrorStatus>;
|
|
5
|
+
export declare namespace StartProcedureToolErrorStatus {
|
|
6
|
+
type Raw = "not_found" | "invalid_name";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.StartProcedureToolErrorStatus = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.StartProcedureToolErrorStatus = core.serialization.enum_(["not_found", "invalid_name"]);
|
|
@@ -4,15 +4,15 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { EndCallToolConfig } from "./EndCallToolConfig";
|
|
5
5
|
import { KnowledgeBaseRagToolConfig } from "./KnowledgeBaseRagToolConfig";
|
|
6
6
|
import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
|
|
7
|
-
import { LoadProcedureToolConfigInput } from "./LoadProcedureToolConfigInput";
|
|
8
7
|
import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
|
|
9
8
|
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
9
|
+
import { StartProcedureToolConfigInput } from "./StartProcedureToolConfigInput";
|
|
10
10
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
11
11
|
import { TransferToNumberToolConfigInput } from "./TransferToNumberToolConfigInput";
|
|
12
12
|
import { VoicemailDetectionToolConfig } from "./VoicemailDetectionToolConfig";
|
|
13
13
|
export declare const SystemToolConfigInputParams: core.serialization.Schema<serializers.SystemToolConfigInputParams.Raw, ElevenLabs.SystemToolConfigInputParams>;
|
|
14
14
|
export declare namespace SystemToolConfigInputParams {
|
|
15
|
-
type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.KnowledgeBaseRag | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.
|
|
15
|
+
type Raw = SystemToolConfigInputParams.EndCall | SystemToolConfigInputParams.KnowledgeBaseRag | SystemToolConfigInputParams.LanguageDetection | SystemToolConfigInputParams.PlayKeypadTouchTone | SystemToolConfigInputParams.SkipTurn | SystemToolConfigInputParams.StartProcedure | SystemToolConfigInputParams.TransferToAgent | SystemToolConfigInputParams.TransferToNumber | SystemToolConfigInputParams.VoicemailDetection;
|
|
16
16
|
interface EndCall extends EndCallToolConfig.Raw {
|
|
17
17
|
system_tool_type: "end_call";
|
|
18
18
|
}
|
|
@@ -22,15 +22,15 @@ export declare namespace SystemToolConfigInputParams {
|
|
|
22
22
|
interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
|
|
23
23
|
system_tool_type: "language_detection";
|
|
24
24
|
}
|
|
25
|
-
interface LoadProcedure extends LoadProcedureToolConfigInput.Raw {
|
|
26
|
-
system_tool_type: "load_procedure";
|
|
27
|
-
}
|
|
28
25
|
interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
|
|
29
26
|
system_tool_type: "play_keypad_touch_tone";
|
|
30
27
|
}
|
|
31
28
|
interface SkipTurn extends SkipTurnToolConfig.Raw {
|
|
32
29
|
system_tool_type: "skip_turn";
|
|
33
30
|
}
|
|
31
|
+
interface StartProcedure extends StartProcedureToolConfigInput.Raw {
|
|
32
|
+
system_tool_type: "start_procedure";
|
|
33
|
+
}
|
|
34
34
|
interface TransferToAgent extends TransferToAgentToolConfig.Raw {
|
|
35
35
|
system_tool_type: "transfer_to_agent";
|
|
36
36
|
}
|
|
@@ -39,9 +39,9 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const EndCallToolConfig_1 = require("./EndCallToolConfig");
|
|
40
40
|
const KnowledgeBaseRagToolConfig_1 = require("./KnowledgeBaseRagToolConfig");
|
|
41
41
|
const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
42
|
-
const LoadProcedureToolConfigInput_1 = require("./LoadProcedureToolConfigInput");
|
|
43
42
|
const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
44
43
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
44
|
+
const StartProcedureToolConfigInput_1 = require("./StartProcedureToolConfigInput");
|
|
45
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
46
46
|
const TransferToNumberToolConfigInput_1 = require("./TransferToNumberToolConfigInput");
|
|
47
47
|
const VoicemailDetectionToolConfig_1 = require("./VoicemailDetectionToolConfig");
|
|
@@ -50,9 +50,9 @@ exports.SystemToolConfigInputParams = core.serialization
|
|
|
50
50
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
51
51
|
knowledge_base_rag: KnowledgeBaseRagToolConfig_1.KnowledgeBaseRagToolConfig,
|
|
52
52
|
language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
|
|
53
|
-
load_procedure: LoadProcedureToolConfigInput_1.LoadProcedureToolConfigInput,
|
|
54
53
|
play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
|
|
55
54
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
55
|
+
start_procedure: StartProcedureToolConfigInput_1.StartProcedureToolConfigInput,
|
|
56
56
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
57
57
|
transfer_to_number: TransferToNumberToolConfigInput_1.TransferToNumberToolConfigInput,
|
|
58
58
|
voicemail_detection: VoicemailDetectionToolConfig_1.VoicemailDetectionToolConfig,
|
|
@@ -4,15 +4,15 @@ import type * as serializers from "../index";
|
|
|
4
4
|
import { EndCallToolConfig } from "./EndCallToolConfig";
|
|
5
5
|
import { KnowledgeBaseRagToolConfig } from "./KnowledgeBaseRagToolConfig";
|
|
6
6
|
import { LanguageDetectionToolConfig } from "./LanguageDetectionToolConfig";
|
|
7
|
-
import { LoadProcedureToolConfigOutput } from "./LoadProcedureToolConfigOutput";
|
|
8
7
|
import { PlayDtmfToolConfig } from "./PlayDtmfToolConfig";
|
|
9
8
|
import { SkipTurnToolConfig } from "./SkipTurnToolConfig";
|
|
9
|
+
import { StartProcedureToolConfigOutput } from "./StartProcedureToolConfigOutput";
|
|
10
10
|
import { TransferToAgentToolConfig } from "./TransferToAgentToolConfig";
|
|
11
11
|
import { TransferToNumberToolConfigOutput } from "./TransferToNumberToolConfigOutput";
|
|
12
12
|
import { VoicemailDetectionToolConfig } from "./VoicemailDetectionToolConfig";
|
|
13
13
|
export declare const SystemToolConfigOutputParams: core.serialization.Schema<serializers.SystemToolConfigOutputParams.Raw, ElevenLabs.SystemToolConfigOutputParams>;
|
|
14
14
|
export declare namespace SystemToolConfigOutputParams {
|
|
15
|
-
type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.KnowledgeBaseRag | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.
|
|
15
|
+
type Raw = SystemToolConfigOutputParams.EndCall | SystemToolConfigOutputParams.KnowledgeBaseRag | SystemToolConfigOutputParams.LanguageDetection | SystemToolConfigOutputParams.PlayKeypadTouchTone | SystemToolConfigOutputParams.SkipTurn | SystemToolConfigOutputParams.StartProcedure | SystemToolConfigOutputParams.TransferToAgent | SystemToolConfigOutputParams.TransferToNumber | SystemToolConfigOutputParams.VoicemailDetection;
|
|
16
16
|
interface EndCall extends EndCallToolConfig.Raw {
|
|
17
17
|
system_tool_type: "end_call";
|
|
18
18
|
}
|
|
@@ -22,15 +22,15 @@ export declare namespace SystemToolConfigOutputParams {
|
|
|
22
22
|
interface LanguageDetection extends LanguageDetectionToolConfig.Raw {
|
|
23
23
|
system_tool_type: "language_detection";
|
|
24
24
|
}
|
|
25
|
-
interface LoadProcedure extends LoadProcedureToolConfigOutput.Raw {
|
|
26
|
-
system_tool_type: "load_procedure";
|
|
27
|
-
}
|
|
28
25
|
interface PlayKeypadTouchTone extends PlayDtmfToolConfig.Raw {
|
|
29
26
|
system_tool_type: "play_keypad_touch_tone";
|
|
30
27
|
}
|
|
31
28
|
interface SkipTurn extends SkipTurnToolConfig.Raw {
|
|
32
29
|
system_tool_type: "skip_turn";
|
|
33
30
|
}
|
|
31
|
+
interface StartProcedure extends StartProcedureToolConfigOutput.Raw {
|
|
32
|
+
system_tool_type: "start_procedure";
|
|
33
|
+
}
|
|
34
34
|
interface TransferToAgent extends TransferToAgentToolConfig.Raw {
|
|
35
35
|
system_tool_type: "transfer_to_agent";
|
|
36
36
|
}
|
|
@@ -39,9 +39,9 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const EndCallToolConfig_1 = require("./EndCallToolConfig");
|
|
40
40
|
const KnowledgeBaseRagToolConfig_1 = require("./KnowledgeBaseRagToolConfig");
|
|
41
41
|
const LanguageDetectionToolConfig_1 = require("./LanguageDetectionToolConfig");
|
|
42
|
-
const LoadProcedureToolConfigOutput_1 = require("./LoadProcedureToolConfigOutput");
|
|
43
42
|
const PlayDtmfToolConfig_1 = require("./PlayDtmfToolConfig");
|
|
44
43
|
const SkipTurnToolConfig_1 = require("./SkipTurnToolConfig");
|
|
44
|
+
const StartProcedureToolConfigOutput_1 = require("./StartProcedureToolConfigOutput");
|
|
45
45
|
const TransferToAgentToolConfig_1 = require("./TransferToAgentToolConfig");
|
|
46
46
|
const TransferToNumberToolConfigOutput_1 = require("./TransferToNumberToolConfigOutput");
|
|
47
47
|
const VoicemailDetectionToolConfig_1 = require("./VoicemailDetectionToolConfig");
|
|
@@ -50,9 +50,9 @@ exports.SystemToolConfigOutputParams = core.serialization
|
|
|
50
50
|
end_call: EndCallToolConfig_1.EndCallToolConfig,
|
|
51
51
|
knowledge_base_rag: KnowledgeBaseRagToolConfig_1.KnowledgeBaseRagToolConfig,
|
|
52
52
|
language_detection: LanguageDetectionToolConfig_1.LanguageDetectionToolConfig,
|
|
53
|
-
load_procedure: LoadProcedureToolConfigOutput_1.LoadProcedureToolConfigOutput,
|
|
54
53
|
play_keypad_touch_tone: PlayDtmfToolConfig_1.PlayDtmfToolConfig,
|
|
55
54
|
skip_turn: SkipTurnToolConfig_1.SkipTurnToolConfig,
|
|
55
|
+
start_procedure: StartProcedureToolConfigOutput_1.StartProcedureToolConfigOutput,
|
|
56
56
|
transfer_to_agent: TransferToAgentToolConfig_1.TransferToAgentToolConfig,
|
|
57
57
|
transfer_to_number: TransferToNumberToolConfigOutput_1.TransferToNumberToolConfigOutput,
|
|
58
58
|
voicemail_detection: VoicemailDetectionToolConfig_1.VoicemailDetectionToolConfig,
|
|
@@ -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
|
+
export declare const TextToDialogueWebsocketFinalAudioForTurn: core.serialization.ObjectSchema<serializers.TextToDialogueWebsocketFinalAudioForTurn.Raw, ElevenLabs.TextToDialogueWebsocketFinalAudioForTurn>;
|
|
5
|
+
export declare namespace TextToDialogueWebsocketFinalAudioForTurn {
|
|
6
|
+
interface Raw {
|
|
7
|
+
is_final_audio_for_turn?: boolean | null;
|
|
8
|
+
}
|
|
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.TextToDialogueWebsocketFinalAudioForTurn = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.TextToDialogueWebsocketFinalAudioForTurn = core.serialization.object({
|
|
40
|
+
isFinalAudioForTurn: core.serialization.property("is_final_audio_for_turn", core.serialization.boolean().optional()),
|
|
41
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { TranscriptMessageRole } from "./TranscriptMessageRole";
|
|
5
|
+
export declare const TranscriptMessage: core.serialization.ObjectSchema<serializers.TranscriptMessage.Raw, ElevenLabs.TranscriptMessage>;
|
|
6
|
+
export declare namespace TranscriptMessage {
|
|
7
|
+
interface Raw {
|
|
8
|
+
role: TranscriptMessageRole.Raw;
|
|
9
|
+
content: string;
|
|
10
|
+
}
|
|
11
|
+
}
|