@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
|
@@ -46,5 +46,6 @@ exports.AnalysisProperty = core.serialization.object({
|
|
|
46
46
|
isSystemProvided: core.serialization.property("is_system_provided", core.serialization.boolean().optional()),
|
|
47
47
|
dynamicVariable: core.serialization.property("dynamic_variable", core.serialization.string().optional()),
|
|
48
48
|
constantValue: core.serialization.property("constant_value", AnalysisPropertyConstantValue_1.AnalysisPropertyConstantValue.optional()),
|
|
49
|
+
isOmitted: core.serialization.property("is_omitted", core.serialization.boolean().optional()),
|
|
49
50
|
llm: Llm_1.Llm.optional(),
|
|
50
51
|
});
|
|
@@ -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 ApiIntegrationWebhookOverridesSchemaOverridesValue: core.serialization.Schema<serializers.ApiIntegrationWebhookOverridesSchemaOverridesValue.Raw, ElevenLabs.ApiIntegrationWebhookOverridesSchemaOverridesValue>;
|
|
8
9
|
export declare namespace ApiIntegrationWebhookOverridesSchemaOverridesValue {
|
|
9
|
-
type Raw = ApiIntegrationWebhookOverridesSchemaOverridesValue.Constant | ApiIntegrationWebhookOverridesSchemaOverridesValue.DynamicVariable | ApiIntegrationWebhookOverridesSchemaOverridesValue.Llm;
|
|
10
|
+
type Raw = ApiIntegrationWebhookOverridesSchemaOverridesValue.Constant | ApiIntegrationWebhookOverridesSchemaOverridesValue.DynamicVariable | ApiIntegrationWebhookOverridesSchemaOverridesValue.Llm | ApiIntegrationWebhookOverridesSchemaOverridesValue.Omit;
|
|
10
11
|
interface Constant extends ConstantSchemaOverride.Raw {
|
|
11
12
|
source: "constant";
|
|
12
13
|
}
|
|
@@ -16,4 +17,7 @@ export declare namespace ApiIntegrationWebhookOverridesSchemaOverridesValue {
|
|
|
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.ApiIntegrationWebhookOverridesSchemaOverridesValue = 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,
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { SpellingPatience } from "./SpellingPatience";
|
|
5
5
|
import { TurnEagerness } from "./TurnEagerness";
|
|
6
|
+
import { TurnModel } from "./TurnModel";
|
|
6
7
|
export declare const BaseTurnConfig: core.serialization.ObjectSchema<serializers.BaseTurnConfig.Raw, ElevenLabs.BaseTurnConfig>;
|
|
7
8
|
export declare namespace BaseTurnConfig {
|
|
8
9
|
interface Raw {
|
|
@@ -13,5 +14,6 @@ export declare namespace BaseTurnConfig {
|
|
|
13
14
|
spelling_patience?: SpellingPatience.Raw | null;
|
|
14
15
|
speculative_turn?: boolean | null;
|
|
15
16
|
retranscribe_on_turn_timeout?: boolean | null;
|
|
17
|
+
turn_model?: TurnModel.Raw | null;
|
|
16
18
|
}
|
|
17
19
|
}
|
|
@@ -38,6 +38,7 @@ exports.BaseTurnConfig = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const SpellingPatience_1 = require("./SpellingPatience");
|
|
40
40
|
const TurnEagerness_1 = require("./TurnEagerness");
|
|
41
|
+
const TurnModel_1 = require("./TurnModel");
|
|
41
42
|
exports.BaseTurnConfig = core.serialization.object({
|
|
42
43
|
turnTimeout: core.serialization.property("turn_timeout", core.serialization.number().optional()),
|
|
43
44
|
initialWaitTime: core.serialization.property("initial_wait_time", core.serialization.number().optional()),
|
|
@@ -46,4 +47,5 @@ exports.BaseTurnConfig = core.serialization.object({
|
|
|
46
47
|
spellingPatience: core.serialization.property("spelling_patience", SpellingPatience_1.SpellingPatience.optional()),
|
|
47
48
|
speculativeTurn: core.serialization.property("speculative_turn", core.serialization.boolean().optional()),
|
|
48
49
|
retranscribeOnTurnTimeout: core.serialization.property("retranscribe_on_turn_timeout", core.serialization.boolean().optional()),
|
|
50
|
+
turnModel: core.serialization.property("turn_model", TurnModel_1.TurnModel.optional()),
|
|
49
51
|
});
|
|
@@ -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 ClosePayload: core.serialization.ObjectSchema<serializers.ClosePayload.Raw, ElevenLabs.ClosePayload>;
|
|
5
|
+
export declare namespace ClosePayload {
|
|
6
|
+
interface Raw {
|
|
7
|
+
type: "close";
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -34,6 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ClosePayload = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.ClosePayload = core.serialization.object({
|
|
40
|
+
type: core.serialization.stringLiteral("close"),
|
|
41
|
+
});
|
|
@@ -33,6 +33,7 @@ export declare namespace DirectPublishingReadResponseModel {
|
|
|
33
33
|
original_file_type?: string | null;
|
|
34
34
|
target_audience?: DirectPublishingReadResponseModelTargetAudience.Raw | null;
|
|
35
35
|
mature_content?: boolean | null;
|
|
36
|
+
safesearch_adult?: boolean | null;
|
|
36
37
|
origin?: string | null;
|
|
37
38
|
publication_date?: string | null;
|
|
38
39
|
isbn?: string | null;
|
|
@@ -66,6 +66,7 @@ exports.DirectPublishingReadResponseModel = core.serialization.object({
|
|
|
66
66
|
originalFileType: core.serialization.property("original_file_type", core.serialization.string().optional()),
|
|
67
67
|
targetAudience: core.serialization.property("target_audience", DirectPublishingReadResponseModelTargetAudience_1.DirectPublishingReadResponseModelTargetAudience.optional()),
|
|
68
68
|
matureContent: core.serialization.property("mature_content", core.serialization.boolean().optional()),
|
|
69
|
+
safesearchAdult: core.serialization.property("safesearch_adult", core.serialization.boolean().optional()),
|
|
69
70
|
origin: core.serialization.string().optional(),
|
|
70
71
|
publicationDate: core.serialization.property("publication_date", core.serialization.string().optional()),
|
|
71
72
|
isbn: core.serialization.string().optional(),
|
|
@@ -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
|
+
export declare const ErrorPayload: core.serialization.ObjectSchema<serializers.ErrorPayload.Raw, ElevenLabs.ErrorPayload>;
|
|
5
|
+
export declare namespace ErrorPayload {
|
|
6
|
+
interface Raw {
|
|
7
|
+
type: "error";
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.ErrorPayload = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ErrorPayload = core.serialization.object({
|
|
40
|
+
type: core.serialization.stringLiteral("error"),
|
|
41
|
+
message: core.serialization.string(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ExternalSyncType } from "./ExternalSyncType";
|
|
5
|
+
export declare const ExternalFileSyncInfo: core.serialization.ObjectSchema<serializers.ExternalFileSyncInfo.Raw, ElevenLabs.ExternalFileSyncInfo>;
|
|
6
|
+
export declare namespace ExternalFileSyncInfo {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: ExternalSyncType.Raw;
|
|
9
|
+
source_entity_id: string;
|
|
10
|
+
integration_connection_id: string;
|
|
11
|
+
source_parent_entity_id: string;
|
|
12
|
+
source_mime_type: string;
|
|
13
|
+
source_modified_time: string;
|
|
14
|
+
root_folder_id?: string | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.ExternalFileSyncInfo = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ExternalSyncType_1 = require("./ExternalSyncType");
|
|
40
|
+
exports.ExternalFileSyncInfo = core.serialization.object({
|
|
41
|
+
type: ExternalSyncType_1.ExternalSyncType,
|
|
42
|
+
sourceEntityId: core.serialization.property("source_entity_id", core.serialization.string()),
|
|
43
|
+
integrationConnectionId: core.serialization.property("integration_connection_id", core.serialization.string()),
|
|
44
|
+
sourceParentEntityId: core.serialization.property("source_parent_entity_id", core.serialization.string()),
|
|
45
|
+
sourceMimeType: core.serialization.property("source_mime_type", core.serialization.string()),
|
|
46
|
+
sourceModifiedTime: core.serialization.property("source_modified_time", core.serialization.date()),
|
|
47
|
+
rootFolderId: core.serialization.property("root_folder_id", core.serialization.string().optional()),
|
|
48
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ExternalSyncType } from "./ExternalSyncType";
|
|
5
|
+
export declare const ExternalFolderSyncInfo: core.serialization.ObjectSchema<serializers.ExternalFolderSyncInfo.Raw, ElevenLabs.ExternalFolderSyncInfo>;
|
|
6
|
+
export declare namespace ExternalFolderSyncInfo {
|
|
7
|
+
interface Raw {
|
|
8
|
+
type: ExternalSyncType.Raw;
|
|
9
|
+
source_entity_id: string;
|
|
10
|
+
integration_connection_id: string;
|
|
11
|
+
root_folder_id?: string | null;
|
|
12
|
+
sync_cursor?: string | null;
|
|
13
|
+
last_sync_at?: number | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.ExternalFolderSyncInfo = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ExternalSyncType_1 = require("./ExternalSyncType");
|
|
40
|
+
exports.ExternalFolderSyncInfo = core.serialization.object({
|
|
41
|
+
type: ExternalSyncType_1.ExternalSyncType,
|
|
42
|
+
sourceEntityId: core.serialization.property("source_entity_id", core.serialization.string()),
|
|
43
|
+
integrationConnectionId: core.serialization.property("integration_connection_id", core.serialization.string()),
|
|
44
|
+
rootFolderId: core.serialization.property("root_folder_id", core.serialization.string().optional()),
|
|
45
|
+
syncCursor: core.serialization.property("sync_cursor", core.serialization.string().optional()),
|
|
46
|
+
lastSyncAt: core.serialization.property("last_sync_at", core.serialization.number().optional()),
|
|
47
|
+
});
|
|
@@ -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 ExternalSyncType: core.serialization.Schema<serializers.ExternalSyncType.Raw, ElevenLabs.ExternalSyncType>;
|
|
5
|
+
export declare namespace ExternalSyncType {
|
|
6
|
+
type Raw = "google_drive";
|
|
7
|
+
}
|
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.ExternalSyncType = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.ExternalSyncType = core.serialization.stringLiteral("google_drive");
|
|
@@ -12,6 +12,7 @@ export declare namespace GetConversationResponseModel {
|
|
|
12
12
|
interface Raw {
|
|
13
13
|
agent_id: string;
|
|
14
14
|
agent_name?: string | null;
|
|
15
|
+
conversation_product?: string | null;
|
|
15
16
|
status: GetConversationResponseModelStatus.Raw;
|
|
16
17
|
user_id?: string | null;
|
|
17
18
|
branch_id?: string | null;
|
|
@@ -45,6 +45,7 @@ const VisitedAgentRef_1 = require("./VisitedAgentRef");
|
|
|
45
45
|
exports.GetConversationResponseModel = core.serialization.object({
|
|
46
46
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
47
47
|
agentName: core.serialization.property("agent_name", core.serialization.string().optional()),
|
|
48
|
+
conversationProduct: core.serialization.property("conversation_product", core.serialization.string().optional()),
|
|
48
49
|
status: GetConversationResponseModelStatus_1.GetConversationResponseModelStatus,
|
|
49
50
|
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
50
51
|
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
|
|
5
|
+
import { ExternalFileSyncInfo } from "./ExternalFileSyncInfo";
|
|
5
6
|
import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
|
|
6
7
|
import { KnowledgeBaseFolderPathSegmentResponseModel } from "./KnowledgeBaseFolderPathSegmentResponseModel";
|
|
7
8
|
import { ResourceAccessInfo } from "./ResourceAccessInfo";
|
|
@@ -17,5 +18,7 @@ export declare namespace GetKnowledgeBaseFileResponseModel {
|
|
|
17
18
|
folder_path?: KnowledgeBaseFolderPathSegmentResponseModel.Raw[] | null;
|
|
18
19
|
extracted_inner_html: string;
|
|
19
20
|
filename: string;
|
|
21
|
+
external_sync_info?: ExternalFileSyncInfo.Raw | null;
|
|
22
|
+
is_frozen?: boolean | null;
|
|
20
23
|
}
|
|
21
24
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.GetKnowledgeBaseFileResponseModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
|
|
40
|
+
const ExternalFileSyncInfo_1 = require("./ExternalFileSyncInfo");
|
|
40
41
|
const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
|
|
41
42
|
const KnowledgeBaseFolderPathSegmentResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentResponseModel");
|
|
42
43
|
const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
|
|
@@ -50,4 +51,6 @@ exports.GetKnowledgeBaseFileResponseModel = core.serialization.object({
|
|
|
50
51
|
folderPath: core.serialization.property("folder_path", core.serialization.list(KnowledgeBaseFolderPathSegmentResponseModel_1.KnowledgeBaseFolderPathSegmentResponseModel).optional()),
|
|
51
52
|
extractedInnerHtml: core.serialization.property("extracted_inner_html", core.serialization.string()),
|
|
52
53
|
filename: core.serialization.string(),
|
|
54
|
+
externalSyncInfo: core.serialization.property("external_sync_info", ExternalFileSyncInfo_1.ExternalFileSyncInfo.optional()),
|
|
55
|
+
isFrozen: core.serialization.property("is_frozen", core.serialization.boolean().optional()),
|
|
53
56
|
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { AutoSyncInfo } from "./AutoSyncInfo";
|
|
5
5
|
import { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
|
|
6
|
+
import { ExternalFolderSyncInfo } from "./ExternalFolderSyncInfo";
|
|
6
7
|
import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
|
|
7
8
|
import { KnowledgeBaseFolderPathSegmentResponseModel } from "./KnowledgeBaseFolderPathSegmentResponseModel";
|
|
8
9
|
import { ResourceAccessInfo } from "./ResourceAccessInfo";
|
|
@@ -18,5 +19,7 @@ export declare namespace GetKnowledgeBaseFolderResponseModel {
|
|
|
18
19
|
folder_path?: KnowledgeBaseFolderPathSegmentResponseModel.Raw[] | null;
|
|
19
20
|
children_count: number;
|
|
20
21
|
auto_sync_info?: AutoSyncInfo.Raw | null;
|
|
22
|
+
external_sync_info?: ExternalFolderSyncInfo.Raw | null;
|
|
23
|
+
is_frozen?: boolean | null;
|
|
21
24
|
}
|
|
22
25
|
}
|
|
@@ -38,6 +38,7 @@ exports.GetKnowledgeBaseFolderResponseModel = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const AutoSyncInfo_1 = require("./AutoSyncInfo");
|
|
40
40
|
const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
|
|
41
|
+
const ExternalFolderSyncInfo_1 = require("./ExternalFolderSyncInfo");
|
|
41
42
|
const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
|
|
42
43
|
const KnowledgeBaseFolderPathSegmentResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentResponseModel");
|
|
43
44
|
const ResourceAccessInfo_1 = require("./ResourceAccessInfo");
|
|
@@ -51,4 +52,6 @@ exports.GetKnowledgeBaseFolderResponseModel = core.serialization.object({
|
|
|
51
52
|
folderPath: core.serialization.property("folder_path", core.serialization.list(KnowledgeBaseFolderPathSegmentResponseModel_1.KnowledgeBaseFolderPathSegmentResponseModel).optional()),
|
|
52
53
|
childrenCount: core.serialization.property("children_count", core.serialization.number()),
|
|
53
54
|
autoSyncInfo: core.serialization.property("auto_sync_info", AutoSyncInfo_1.AutoSyncInfo.optional()),
|
|
55
|
+
externalSyncInfo: core.serialization.property("external_sync_info", ExternalFolderSyncInfo_1.ExternalFolderSyncInfo.optional()),
|
|
56
|
+
isFrozen: core.serialization.property("is_frozen", core.serialization.boolean().optional()),
|
|
54
57
|
});
|
|
@@ -2,6 +2,7 @@ import type * as ElevenLabs from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
|
|
5
|
+
import { ExternalFileSyncInfo } from "./ExternalFileSyncInfo";
|
|
5
6
|
import { GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem } from "./GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem";
|
|
6
7
|
import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
|
|
7
8
|
import { KnowledgeBaseFolderPathSegmentSummaryResponseModel } from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
|
|
@@ -17,5 +18,7 @@ export declare namespace GetKnowledgeBaseSummaryFileResponseModel {
|
|
|
17
18
|
folder_parent_id?: string | null;
|
|
18
19
|
folder_path?: KnowledgeBaseFolderPathSegmentSummaryResponseModel.Raw[] | null;
|
|
19
20
|
dependent_agents: GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem.Raw[];
|
|
21
|
+
external_sync_info?: ExternalFileSyncInfo.Raw | null;
|
|
22
|
+
is_frozen?: boolean | null;
|
|
20
23
|
}
|
|
21
24
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.GetKnowledgeBaseSummaryFileResponseModel = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
|
|
40
|
+
const ExternalFileSyncInfo_1 = require("./ExternalFileSyncInfo");
|
|
40
41
|
const GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem_1 = require("./GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem");
|
|
41
42
|
const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
|
|
42
43
|
const KnowledgeBaseFolderPathSegmentSummaryResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel");
|
|
@@ -50,4 +51,6 @@ exports.GetKnowledgeBaseSummaryFileResponseModel = core.serialization.object({
|
|
|
50
51
|
folderParentId: core.serialization.property("folder_parent_id", core.serialization.string().optional()),
|
|
51
52
|
folderPath: core.serialization.property("folder_path", core.serialization.list(KnowledgeBaseFolderPathSegmentSummaryResponseModel_1.KnowledgeBaseFolderPathSegmentSummaryResponseModel).optional()),
|
|
52
53
|
dependentAgents: core.serialization.property("dependent_agents", core.serialization.list(GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem_1.GetKnowledgeBaseSummaryFileResponseModelDependentAgentsItem)),
|
|
54
|
+
externalSyncInfo: core.serialization.property("external_sync_info", ExternalFileSyncInfo_1.ExternalFileSyncInfo.optional()),
|
|
55
|
+
isFrozen: core.serialization.property("is_frozen", core.serialization.boolean().optional()),
|
|
53
56
|
});
|
|
@@ -3,6 +3,7 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { AutoSyncInfo } from "./AutoSyncInfo";
|
|
5
5
|
import { DocumentUsageModeEnum } from "./DocumentUsageModeEnum";
|
|
6
|
+
import { ExternalFolderSyncInfo } from "./ExternalFolderSyncInfo";
|
|
6
7
|
import { GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem } from "./GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem";
|
|
7
8
|
import { KnowledgeBaseDocumentMetadataResponseModel } from "./KnowledgeBaseDocumentMetadataResponseModel";
|
|
8
9
|
import { KnowledgeBaseFolderPathSegmentSummaryResponseModel } from "./KnowledgeBaseFolderPathSegmentSummaryResponseModel";
|
|
@@ -20,5 +21,7 @@ export declare namespace GetKnowledgeBaseSummaryFolderResponseModel {
|
|
|
20
21
|
dependent_agents: GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem.Raw[];
|
|
21
22
|
children_count: number;
|
|
22
23
|
auto_sync_info?: AutoSyncInfo.Raw | null;
|
|
24
|
+
external_sync_info?: ExternalFolderSyncInfo.Raw | null;
|
|
25
|
+
is_frozen?: boolean | null;
|
|
23
26
|
}
|
|
24
27
|
}
|
|
@@ -38,6 +38,7 @@ exports.GetKnowledgeBaseSummaryFolderResponseModel = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const AutoSyncInfo_1 = require("./AutoSyncInfo");
|
|
40
40
|
const DocumentUsageModeEnum_1 = require("./DocumentUsageModeEnum");
|
|
41
|
+
const ExternalFolderSyncInfo_1 = require("./ExternalFolderSyncInfo");
|
|
41
42
|
const GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem_1 = require("./GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem");
|
|
42
43
|
const KnowledgeBaseDocumentMetadataResponseModel_1 = require("./KnowledgeBaseDocumentMetadataResponseModel");
|
|
43
44
|
const KnowledgeBaseFolderPathSegmentSummaryResponseModel_1 = require("./KnowledgeBaseFolderPathSegmentSummaryResponseModel");
|
|
@@ -53,4 +54,6 @@ exports.GetKnowledgeBaseSummaryFolderResponseModel = core.serialization.object({
|
|
|
53
54
|
dependentAgents: core.serialization.property("dependent_agents", core.serialization.list(GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem_1.GetKnowledgeBaseSummaryFolderResponseModelDependentAgentsItem)),
|
|
54
55
|
childrenCount: core.serialization.property("children_count", core.serialization.number()),
|
|
55
56
|
autoSyncInfo: core.serialization.property("auto_sync_info", AutoSyncInfo_1.AutoSyncInfo.optional()),
|
|
57
|
+
externalSyncInfo: core.serialization.property("external_sync_info", ExternalFolderSyncInfo_1.ExternalFolderSyncInfo.optional()),
|
|
58
|
+
isFrozen: core.serialization.property("is_frozen", core.serialization.boolean().optional()),
|
|
56
59
|
});
|
|
@@ -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
|
+
export declare const InitPayload: core.serialization.ObjectSchema<serializers.InitPayload.Raw, ElevenLabs.InitPayload>;
|
|
5
|
+
export declare namespace InitPayload {
|
|
6
|
+
interface Raw {
|
|
7
|
+
type: "init";
|
|
8
|
+
conversation_id: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.InitPayload = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.InitPayload = core.serialization.object({
|
|
40
|
+
type: core.serialization.stringLiteral("init"),
|
|
41
|
+
conversationId: core.serialization.property("conversation_id", core.serialization.string()),
|
|
42
|
+
});
|
|
@@ -11,10 +11,11 @@ import { OAuth2ClientCredsResponse } from "./OAuth2ClientCredsResponse";
|
|
|
11
11
|
import { OAuth2JwtResponse } from "./OAuth2JwtResponse";
|
|
12
12
|
import { PrivateKeyJwtResponse } from "./PrivateKeyJwtResponse";
|
|
13
13
|
import { SlackBotAuthResponse } from "./SlackBotAuthResponse";
|
|
14
|
+
import { UrlSecretAuthResponse } from "./UrlSecretAuthResponse";
|
|
14
15
|
import { WhatsAppAuthResponse } from "./WhatsAppAuthResponse";
|
|
15
16
|
export declare const ListAuthConnectionsResponseAuthConnectionsItem: core.serialization.Schema<serializers.ListAuthConnectionsResponseAuthConnectionsItem.Raw, ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem>;
|
|
16
17
|
export declare namespace ListAuthConnectionsResponseAuthConnectionsItem {
|
|
17
|
-
type Raw = ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2AuthCode | ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2CustomApp | ListAuthConnectionsResponseAuthConnectionsItem.BasicAuth | ListAuthConnectionsResponseAuthConnectionsItem.BearerAuth | ListAuthConnectionsResponseAuthConnectionsItem.CustomHeaderAuth | ListAuthConnectionsResponseAuthConnectionsItem.Mtls | ListAuthConnectionsResponseAuthConnectionsItem.Oauth2ClientCredentials | ListAuthConnectionsResponseAuthConnectionsItem.Oauth2Jwt | ListAuthConnectionsResponseAuthConnectionsItem.PrivateKeyJwt | ListAuthConnectionsResponseAuthConnectionsItem.SlackBotAuth | ListAuthConnectionsResponseAuthConnectionsItem.WhatsappAuth;
|
|
18
|
+
type Raw = ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2AuthCode | ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2CustomApp | ListAuthConnectionsResponseAuthConnectionsItem.BasicAuth | ListAuthConnectionsResponseAuthConnectionsItem.BearerAuth | ListAuthConnectionsResponseAuthConnectionsItem.CustomHeaderAuth | ListAuthConnectionsResponseAuthConnectionsItem.Mtls | ListAuthConnectionsResponseAuthConnectionsItem.Oauth2ClientCredentials | ListAuthConnectionsResponseAuthConnectionsItem.Oauth2Jwt | ListAuthConnectionsResponseAuthConnectionsItem.PrivateKeyJwt | ListAuthConnectionsResponseAuthConnectionsItem.SlackBotAuth | ListAuthConnectionsResponseAuthConnectionsItem.UrlSecret | ListAuthConnectionsResponseAuthConnectionsItem.WhatsappAuth;
|
|
18
19
|
interface ApiIntegrationOauth2AuthCode extends ApiIntegrationOAuth2AuthCodeResponse.Raw {
|
|
19
20
|
auth_type: "api_integration_oauth2_auth_code";
|
|
20
21
|
}
|
|
@@ -45,6 +46,9 @@ export declare namespace ListAuthConnectionsResponseAuthConnectionsItem {
|
|
|
45
46
|
interface SlackBotAuth extends SlackBotAuthResponse.Raw {
|
|
46
47
|
auth_type: "slack_bot_auth";
|
|
47
48
|
}
|
|
49
|
+
interface UrlSecret extends UrlSecretAuthResponse.Raw {
|
|
50
|
+
auth_type: "url_secret";
|
|
51
|
+
}
|
|
48
52
|
interface WhatsappAuth extends WhatsAppAuthResponse.Raw {
|
|
49
53
|
auth_type: "whatsapp_auth";
|
|
50
54
|
}
|
|
@@ -46,6 +46,7 @@ const OAuth2ClientCredsResponse_1 = require("./OAuth2ClientCredsResponse");
|
|
|
46
46
|
const OAuth2JwtResponse_1 = require("./OAuth2JwtResponse");
|
|
47
47
|
const PrivateKeyJwtResponse_1 = require("./PrivateKeyJwtResponse");
|
|
48
48
|
const SlackBotAuthResponse_1 = require("./SlackBotAuthResponse");
|
|
49
|
+
const UrlSecretAuthResponse_1 = require("./UrlSecretAuthResponse");
|
|
49
50
|
const WhatsAppAuthResponse_1 = require("./WhatsAppAuthResponse");
|
|
50
51
|
exports.ListAuthConnectionsResponseAuthConnectionsItem = core.serialization
|
|
51
52
|
.union(core.serialization.discriminant("authType", "auth_type"), {
|
|
@@ -59,6 +60,7 @@ exports.ListAuthConnectionsResponseAuthConnectionsItem = core.serialization
|
|
|
59
60
|
oauth2_jwt: OAuth2JwtResponse_1.OAuth2JwtResponse,
|
|
60
61
|
private_key_jwt: PrivateKeyJwtResponse_1.PrivateKeyJwtResponse,
|
|
61
62
|
slack_bot_auth: SlackBotAuthResponse_1.SlackBotAuthResponse,
|
|
63
|
+
url_secret: UrlSecretAuthResponse_1.UrlSecretAuthResponse,
|
|
62
64
|
whatsapp_auth: WhatsAppAuthResponse_1.WhatsAppAuthResponse,
|
|
63
65
|
})
|
|
64
66
|
.transform({
|
|
@@ -45,4 +45,5 @@ exports.LiteralJsonSchemaProperty = core.serialization.object({
|
|
|
45
45
|
isSystemProvided: core.serialization.property("is_system_provided", core.serialization.boolean().optional()),
|
|
46
46
|
dynamicVariable: core.serialization.property("dynamic_variable", core.serialization.string().optional()),
|
|
47
47
|
constantValue: core.serialization.property("constant_value", LiteralJsonSchemaPropertyConstantValue_1.LiteralJsonSchemaPropertyConstantValue.optional()),
|
|
48
|
+
isOmitted: core.serialization.property("is_omitted", core.serialization.boolean().optional()),
|
|
48
49
|
});
|
|
@@ -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 McpToolConfigOverrideInputInputOverridesValue: core.serialization.Schema<serializers.McpToolConfigOverrideInputInputOverridesValue.Raw, ElevenLabs.McpToolConfigOverrideInputInputOverridesValue>;
|
|
8
9
|
export declare namespace McpToolConfigOverrideInputInputOverridesValue {
|
|
9
|
-
type Raw = McpToolConfigOverrideInputInputOverridesValue.Constant | McpToolConfigOverrideInputInputOverridesValue.DynamicVariable | McpToolConfigOverrideInputInputOverridesValue.Llm;
|
|
10
|
+
type Raw = McpToolConfigOverrideInputInputOverridesValue.Constant | McpToolConfigOverrideInputInputOverridesValue.DynamicVariable | McpToolConfigOverrideInputInputOverridesValue.Llm | McpToolConfigOverrideInputInputOverridesValue.Omit;
|
|
10
11
|
interface Constant extends ConstantSchemaOverride.Raw {
|
|
11
12
|
source: "constant";
|
|
12
13
|
}
|
|
@@ -16,4 +17,7 @@ export declare namespace McpToolConfigOverrideInputInputOverridesValue {
|
|
|
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.McpToolConfigOverrideInputInputOverridesValue = 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,
|