@elevenlabs/elevenlabs-js 2.47.0 → 2.48.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 +1 -1
- package/BaseClient.js +2 -2
- package/api/resources/conversationalAi/conversation/Conversation.js +1 -0
- package/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
- package/api/resources/conversationalAi/conversation/events.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
- package/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
- package/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
- package/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +5 -1
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
- package/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +2 -0
- package/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
- package/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
- package/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
- package/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/api/resources/workspace/resources/authConnections/types/index.js +2 -0
- package/api/types/AgentAlertingMonitorConfig.d.ts +2 -0
- package/api/types/AgentAlertingSettings.d.ts +2 -0
- package/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
- package/api/types/ConversationInitiationSource.d.ts +1 -0
- package/api/types/ConversationInitiationSource.js +1 -0
- package/api/types/CreateBearerAuthRequest.d.ts +8 -0
- package/api/types/CreateBearerAuthRequest.js +3 -0
- package/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
- package/api/types/ListCustomerFacingAgentsParams.js +3 -0
- package/api/types/ListSpeechEnginesResponse.d.ts +1 -0
- package/api/types/Llm.d.ts +2 -0
- package/api/types/Llm.js +2 -0
- package/api/types/LoadProcedureToolConfig.d.ts +4 -0
- package/api/types/LoadProcedureToolConfig.js +3 -0
- package/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
- package/api/types/LoadProcedureToolErrorStatus.js +8 -0
- package/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
- package/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/api/types/ProcedureAtVersion.d.ts +12 -0
- package/api/types/ProcedureAtVersion.js +3 -0
- package/api/types/ProcedureCompilerMode.d.ts +5 -1
- package/api/types/ProcedureCompilerMode.js +5 -0
- package/api/types/PromptAgentApiModelInput.d.ts +1 -1
- package/api/types/PromptAgentApiModelOutput.d.ts +1 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
- package/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/api/types/SlackBotAuthResponse.d.ts +10 -0
- package/api/types/SlackBotAuthResponse.js +3 -0
- package/api/types/SpeechEngineResponse.d.ts +11 -0
- package/api/types/SpeechEngineSummaryResponse.d.ts +3 -1
- package/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/api/types/UpdateBasicAuthRequest.d.ts +5 -0
- package/api/types/UpdateBasicAuthRequest.js +3 -0
- package/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
- package/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
- package/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
- package/api/types/UpdateOAuth2JwtRequest.js +3 -0
- package/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
- package/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
- package/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
- package/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
- package/api/types/WorkspaceResourceType.d.ts +2 -0
- package/api/types/WorkspaceResourceType.js +2 -0
- package/api/types/index.d.ts +11 -0
- package/api/types/index.js +11 -0
- package/dist/BaseClient.js +2 -2
- package/dist/api/resources/conversationalAi/conversation/Conversation.js +1 -0
- package/dist/api/resources/conversationalAi/conversation/ConversationConfig.d.ts +2 -0
- package/dist/api/resources/conversationalAi/conversation/events.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.d.ts +3 -0
- package/dist/api/resources/conversationalAi/resources/agents/client/Client.js +7 -2
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/index.js +2 -1
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.d.ts +27 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.js +116 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/client/index.js +2 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/agents/resources/versions/index.js +17 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +5 -1
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsListRequest.d.ts +2 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.d.ts +1 -0
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.js +5 -1
- package/dist/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.d.ts +2 -0
- package/dist/api/resources/workspace/resources/authConnections/client/Client.d.ts +16 -0
- package/dist/api/resources/workspace/resources/authConnections/client/Client.js +63 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +4 -1
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsCreateResponse.d.ts +4 -1
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.d.ts +16 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +3 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +40 -0
- package/dist/api/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +3 -0
- package/dist/api/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/dist/api/resources/workspace/resources/authConnections/types/index.js +2 -0
- package/dist/api/types/AgentAlertingMonitorConfig.d.ts +2 -0
- package/dist/api/types/AgentAlertingSettings.d.ts +2 -0
- package/dist/api/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.d.ts +1 -0
- package/dist/api/types/ConversationInitiationSource.js +1 -0
- package/dist/api/types/CreateBearerAuthRequest.d.ts +8 -0
- package/dist/api/types/CreateBearerAuthRequest.js +3 -0
- package/dist/api/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/api/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +2 -0
- package/dist/api/types/InboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/api/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +4 -1
- package/dist/api/types/ListCustomerFacingAgentsParams.d.ts +11 -0
- package/dist/api/types/ListCustomerFacingAgentsParams.js +3 -0
- package/dist/api/types/ListSpeechEnginesResponse.d.ts +1 -0
- package/dist/api/types/Llm.d.ts +2 -0
- package/dist/api/types/Llm.js +2 -0
- package/dist/api/types/LoadProcedureToolConfig.d.ts +4 -0
- package/dist/api/types/LoadProcedureToolConfig.js +3 -0
- package/dist/api/types/LoadProcedureToolErrorStatus.d.ts +5 -0
- package/dist/api/types/LoadProcedureToolErrorStatus.js +8 -0
- package/dist/api/types/OAuth2ClientCredsResponse.d.ts +2 -0
- package/dist/api/types/OutboundSipTrunkConfigRequestModel.d.ts +2 -0
- package/dist/api/types/ProcedureAtVersion.d.ts +12 -0
- package/dist/api/types/ProcedureAtVersion.js +3 -0
- package/dist/api/types/ProcedureCompilerMode.d.ts +5 -1
- package/dist/api/types/ProcedureCompilerMode.js +5 -0
- package/dist/api/types/PromptAgentApiModelInput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelOutput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideInput.d.ts +1 -1
- package/dist/api/types/PromptAgentApiModelWorkflowOverrideOutput.d.ts +1 -1
- package/dist/api/types/SlackBotAuthResponse.d.ts +10 -0
- package/dist/api/types/SlackBotAuthResponse.js +3 -0
- package/dist/api/types/SpeechEngineResponse.d.ts +11 -0
- package/dist/api/types/SpeechEngineSummaryResponse.d.ts +3 -1
- package/dist/api/types/SystemToolConfigInputParams.d.ts +4 -1
- package/dist/api/types/SystemToolConfigOutputParams.d.ts +4 -1
- package/dist/api/types/UpdateBasicAuthRequest.d.ts +5 -0
- package/dist/api/types/UpdateBasicAuthRequest.js +3 -0
- package/dist/api/types/UpdateOAuth2ClientCredsRequest.d.ts +9 -0
- package/dist/api/types/UpdateOAuth2ClientCredsRequest.js +3 -0
- package/dist/api/types/UpdateOAuth2JwtRequest.d.ts +14 -0
- package/dist/api/types/UpdateOAuth2JwtRequest.js +3 -0
- package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +9 -0
- package/dist/api/types/UpdateOAuth2JwtRequestAlgorithm.js +12 -0
- package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +5 -0
- package/dist/api/types/UpdateOAuth2JwtRequestTokenResponseField.js +8 -0
- package/dist/api/types/WorkspaceResourceType.d.ts +2 -0
- package/dist/api/types/WorkspaceResourceType.js +2 -0
- package/dist/api/types/index.d.ts +11 -0
- package/dist/api/types/index.js +11 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.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/AuthConnectionsUpdateRequestBody.d.ts +19 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/dist/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
- package/dist/serialization/types/AgentAlertingMonitorConfig.d.ts +1 -0
- package/dist/serialization/types/AgentAlertingMonitorConfig.js +1 -0
- package/dist/serialization/types/AgentAlertingSettings.d.ts +1 -0
- package/dist/serialization/types/AgentAlertingSettings.js +1 -0
- package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
- package/dist/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
- package/dist/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/dist/serialization/types/ConversationInitiationSource.js +1 -0
- package/dist/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
- package/dist/serialization/types/CreateBearerAuthRequest.js +43 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
- package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/dist/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/dist/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/dist/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/dist/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
- package/dist/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +2 -0
- package/dist/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
- package/dist/serialization/types/LoadProcedureToolConfig.js +42 -0
- package/dist/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
- package/dist/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
- package/dist/serialization/types/OAuth2ClientCredsResponse.js +1 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/dist/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
- package/dist/serialization/types/ProcedureAtVersion.d.ts +13 -0
- package/dist/serialization/types/ProcedureAtVersion.js +45 -0
- package/dist/serialization/types/ProcedureCompilerMode.d.ts +1 -1
- package/dist/serialization/types/ProcedureCompilerMode.js +1 -1
- package/dist/serialization/types/SlackBotAuthResponse.d.ts +13 -0
- package/dist/serialization/types/SlackBotAuthResponse.js +45 -0
- package/dist/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/dist/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/dist/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/dist/serialization/types/UpdateBasicAuthRequest.d.ts +11 -0
- package/dist/serialization/types/UpdateBasicAuthRequest.js +43 -0
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
- package/dist/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
- package/dist/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
- package/dist/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceResourceType.js +2 -0
- package/dist/serialization/types/index.d.ts +11 -0
- package/dist/serialization/types/index.js +11 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +147 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.d.ts +5 -1
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsCreateRequestBody.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/AuthConnectionsUpdateRequestBody.d.ts +19 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateRequestBody.js +51 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.d.ts +51 -0
- package/serialization/resources/workspace/resources/authConnections/types/AuthConnectionsUpdateResponse.js +67 -0
- package/serialization/resources/workspace/resources/authConnections/types/index.d.ts +2 -0
- package/serialization/resources/workspace/resources/authConnections/types/index.js +2 -0
- package/serialization/types/AgentAlertingMonitorConfig.d.ts +1 -0
- package/serialization/types/AgentAlertingMonitorConfig.js +1 -0
- package/serialization/types/AgentAlertingSettings.d.ts +1 -0
- package/serialization/types/AgentAlertingSettings.js +1 -0
- package/serialization/types/AudioIsolationHistoryItemResponseModel.d.ts +1 -0
- package/serialization/types/AudioIsolationHistoryItemResponseModel.js +1 -0
- package/serialization/types/ConversationInitiationSource.d.ts +1 -1
- package/serialization/types/ConversationInitiationSource.js +1 -0
- package/serialization/types/CreateBearerAuthRequest.d.ts +11 -0
- package/serialization/types/CreateBearerAuthRequest.js +43 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/serialization/types/GetPhoneNumberInboundSipTrunkConfigResponseModel.js +1 -0
- package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.d.ts +1 -0
- package/serialization/types/GetPhoneNumberOutboundSipTrunkConfigResponseModel.js +1 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/serialization/types/InboundSipTrunkConfigRequestModel.js +1 -0
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.d.ts +5 -1
- package/serialization/types/ListAuthConnectionsResponseAuthConnectionsItem.js +2 -0
- package/serialization/types/ListCustomerFacingAgentsParams.d.ts +9 -0
- package/serialization/types/ListCustomerFacingAgentsParams.js +41 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +2 -0
- package/serialization/types/LoadProcedureToolConfig.d.ts +10 -0
- package/serialization/types/LoadProcedureToolConfig.js +42 -0
- package/serialization/types/LoadProcedureToolErrorStatus.d.ts +7 -0
- package/serialization/types/LoadProcedureToolErrorStatus.js +39 -0
- package/serialization/types/OAuth2ClientCredsResponse.d.ts +1 -0
- package/serialization/types/OAuth2ClientCredsResponse.js +1 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.d.ts +1 -0
- package/serialization/types/OutboundSipTrunkConfigRequestModel.js +1 -0
- package/serialization/types/ProcedureAtVersion.d.ts +13 -0
- package/serialization/types/ProcedureAtVersion.js +45 -0
- package/serialization/types/ProcedureCompilerMode.d.ts +1 -1
- package/serialization/types/ProcedureCompilerMode.js +1 -1
- package/serialization/types/SlackBotAuthResponse.d.ts +13 -0
- package/serialization/types/SlackBotAuthResponse.js +45 -0
- package/serialization/types/SystemToolConfigInputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigInputParams.js +2 -0
- package/serialization/types/SystemToolConfigOutputParams.d.ts +5 -1
- package/serialization/types/SystemToolConfigOutputParams.js +2 -0
- package/serialization/types/UpdateBasicAuthRequest.d.ts +11 -0
- package/serialization/types/UpdateBasicAuthRequest.js +43 -0
- package/serialization/types/UpdateOAuth2ClientCredsRequest.d.ts +15 -0
- package/serialization/types/UpdateOAuth2ClientCredsRequest.js +47 -0
- package/serialization/types/UpdateOAuth2JwtRequest.d.ts +21 -0
- package/serialization/types/UpdateOAuth2JwtRequest.js +53 -0
- package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.d.ts +7 -0
- package/serialization/types/UpdateOAuth2JwtRequestAlgorithm.js +39 -0
- package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.d.ts +7 -0
- package/serialization/types/UpdateOAuth2JwtRequestTokenResponseField.js +39 -0
- package/serialization/types/WorkspaceResourceType.d.ts +1 -1
- package/serialization/types/WorkspaceResourceType.js +2 -0
- package/serialization/types/index.d.ts +11 -0
- package/serialization/types/index.js +11 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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.UpdateOAuth2JwtRequestTokenResponseField = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.UpdateOAuth2JwtRequestTokenResponseField = core.serialization.enum_(["access_token", "id_token"]);
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const WorkspaceResourceType: core.serialization.Schema<serializers.WorkspaceResourceType.Raw, ElevenLabs.WorkspaceResourceType>;
|
|
5
5
|
export declare namespace WorkspaceResourceType {
|
|
6
|
-
type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "workspace_auth_connections" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_api_integration_connections" | "convai_api_integration_trigger_connections" | "convai_batch_calls" | "convai_agent_response_tests" | "convai_test_suite_invocations" | "convai_crawl_jobs" | "convai_crawl_tasks" | "convai_whatsapp_accounts" | "convai_agent_versions" | "convai_agent_branches" | "convai_agent_versions_deployments" | "convai_memory_entries" | "convai_coaching_proposals" | "dashboard" | "dashboard_configuration" | "convai_agent_drafts" | "resource_locators" | "assets" | "content_generations" | "content_templates" | "songs" | "avatars" | "avatar_video_generations" | "resource_collection";
|
|
6
|
+
type Raw = "voice" | "voice_collection" | "pronunciation_dictionary" | "dubbing" | "project" | "convai_agents" | "convai_knowledge_base_documents" | "convai_tools" | "convai_settings" | "convai_secrets" | "workspace_auth_connections" | "convai_phone_numbers" | "convai_mcp_servers" | "convai_api_integration_connections" | "convai_api_integration_trigger_connections" | "convai_batch_calls" | "convai_agent_response_tests" | "convai_test_suite_invocations" | "convai_crawl_jobs" | "convai_crawl_tasks" | "convai_whatsapp_accounts" | "convai_agent_versions" | "convai_agent_branches" | "convai_agent_versions_deployments" | "convai_memory_entries" | "convai_coaching_proposals" | "convai_templates" | "dashboard" | "dashboard_configuration" | "convai_agent_drafts" | "resource_locators" | "assets" | "content_generations" | "content_templates" | "songs" | "transcription_tasks" | "avatars" | "avatar_video_generations" | "resource_collection";
|
|
7
7
|
}
|
|
@@ -63,6 +63,7 @@ exports.WorkspaceResourceType = core.serialization.enum_([
|
|
|
63
63
|
"convai_agent_versions_deployments",
|
|
64
64
|
"convai_memory_entries",
|
|
65
65
|
"convai_coaching_proposals",
|
|
66
|
+
"convai_templates",
|
|
66
67
|
"dashboard",
|
|
67
68
|
"dashboard_configuration",
|
|
68
69
|
"convai_agent_drafts",
|
|
@@ -71,6 +72,7 @@ exports.WorkspaceResourceType = core.serialization.enum_([
|
|
|
71
72
|
"content_generations",
|
|
72
73
|
"content_templates",
|
|
73
74
|
"songs",
|
|
75
|
+
"transcription_tasks",
|
|
74
76
|
"avatars",
|
|
75
77
|
"avatar_video_generations",
|
|
76
78
|
"resource_collection",
|
|
@@ -361,6 +361,7 @@ export * from "./CreateAssetParams";
|
|
|
361
361
|
export * from "./CreateAudioNativeProjectRequest";
|
|
362
362
|
export * from "./CreateAuthConnectionEnvironmentVariableRequest";
|
|
363
363
|
export * from "./CreateBasicAuthRequest";
|
|
364
|
+
export * from "./CreateBearerAuthRequest";
|
|
364
365
|
export * from "./CreateClientAppointmentParams";
|
|
365
366
|
export * from "./CreateClientInteractionParams";
|
|
366
367
|
export * from "./CreateClientParams";
|
|
@@ -676,6 +677,7 @@ export * from "./ListAuthConnectionsResponseAuthConnectionsItem";
|
|
|
676
677
|
export * from "./ListCalendarEventsParams";
|
|
677
678
|
export * from "./ListClientInteractionsParams";
|
|
678
679
|
export * from "./ListClientsParams";
|
|
680
|
+
export * from "./ListCustomerFacingAgentsParams";
|
|
679
681
|
export * from "./ListGroupSessionsParams";
|
|
680
682
|
export * from "./ListHolidaysParams";
|
|
681
683
|
export * from "./ListLocationsParams";
|
|
@@ -711,6 +713,8 @@ export * from "./LlmUsageCalculatorLlmResponseModel";
|
|
|
711
713
|
export * from "./LlmUsageCalculatorResponseModel";
|
|
712
714
|
export * from "./LlmUsageInput";
|
|
713
715
|
export * from "./LlmUsageOutput";
|
|
716
|
+
export * from "./LoadProcedureToolConfig";
|
|
717
|
+
export * from "./LoadProcedureToolErrorStatus";
|
|
714
718
|
export * from "./ManualSource";
|
|
715
719
|
export * from "./ManualVerificationFileResponse";
|
|
716
720
|
export * from "./ManualVerificationResponse";
|
|
@@ -818,6 +822,7 @@ export * from "./PrivacyConfigInput";
|
|
|
818
822
|
export * from "./PrivacyConfigOutput";
|
|
819
823
|
export * from "./PrivateKeyJwtResponse";
|
|
820
824
|
export * from "./PrivateKeyJwtResponseAlgorithm";
|
|
825
|
+
export * from "./ProcedureAtVersion";
|
|
821
826
|
export * from "./ProcedureCompilerMode";
|
|
822
827
|
export * from "./ProcedureRefResponseModel";
|
|
823
828
|
export * from "./ProcedureSettings";
|
|
@@ -994,6 +999,7 @@ export * from "./SipUriDynamicVariableTransferDestination";
|
|
|
994
999
|
export * from "./SipUriTransferDestination";
|
|
995
1000
|
export * from "./SkipTurnToolConfig";
|
|
996
1001
|
export * from "./SkipTurnToolResponseModel";
|
|
1002
|
+
export * from "./SlackBotAuthResponse";
|
|
997
1003
|
export * from "./SmsConversationInfo";
|
|
998
1004
|
export * from "./SmsConversationInfoDirection";
|
|
999
1005
|
export * from "./SoftTimeoutConfig";
|
|
@@ -1149,6 +1155,7 @@ export * from "./UnitTestWorkflowNodeTransitionEvaluationNodeId";
|
|
|
1149
1155
|
export * from "./UpdateAgentRuleParams";
|
|
1150
1156
|
export * from "./UpdateAssetParams";
|
|
1151
1157
|
export * from "./UpdateAudioNativeProjectRequest";
|
|
1158
|
+
export * from "./UpdateBasicAuthRequest";
|
|
1152
1159
|
export * from "./UpdateBookingPageSettingsParams";
|
|
1153
1160
|
export * from "./UpdateBusinessInfoParams";
|
|
1154
1161
|
export * from "./UpdateCalendarEventParams";
|
|
@@ -1158,6 +1165,10 @@ export * from "./UpdateCustomerFacingConfigParams";
|
|
|
1158
1165
|
export * from "./UpdateGroupSessionSeatsParams";
|
|
1159
1166
|
export * from "./UpdateHolidayParams";
|
|
1160
1167
|
export * from "./UpdateLocationParams";
|
|
1168
|
+
export * from "./UpdateOAuth2ClientCredsRequest";
|
|
1169
|
+
export * from "./UpdateOAuth2JwtRequest";
|
|
1170
|
+
export * from "./UpdateOAuth2JwtRequestAlgorithm";
|
|
1171
|
+
export * from "./UpdateOAuth2JwtRequestTokenResponseField";
|
|
1161
1172
|
export * from "./UpdateProductParams";
|
|
1162
1173
|
export * from "./UpdateProjectRequest";
|
|
1163
1174
|
export * from "./UpdatePronunciationDictionariesRequest";
|
|
@@ -377,6 +377,7 @@ __exportStar(require("./CreateAssetParams"), exports);
|
|
|
377
377
|
__exportStar(require("./CreateAudioNativeProjectRequest"), exports);
|
|
378
378
|
__exportStar(require("./CreateAuthConnectionEnvironmentVariableRequest"), exports);
|
|
379
379
|
__exportStar(require("./CreateBasicAuthRequest"), exports);
|
|
380
|
+
__exportStar(require("./CreateBearerAuthRequest"), exports);
|
|
380
381
|
__exportStar(require("./CreateClientAppointmentParams"), exports);
|
|
381
382
|
__exportStar(require("./CreateClientInteractionParams"), exports);
|
|
382
383
|
__exportStar(require("./CreateClientParams"), exports);
|
|
@@ -692,6 +693,7 @@ __exportStar(require("./ListAuthConnectionsResponseAuthConnectionsItem"), export
|
|
|
692
693
|
__exportStar(require("./ListCalendarEventsParams"), exports);
|
|
693
694
|
__exportStar(require("./ListClientInteractionsParams"), exports);
|
|
694
695
|
__exportStar(require("./ListClientsParams"), exports);
|
|
696
|
+
__exportStar(require("./ListCustomerFacingAgentsParams"), exports);
|
|
695
697
|
__exportStar(require("./ListGroupSessionsParams"), exports);
|
|
696
698
|
__exportStar(require("./ListHolidaysParams"), exports);
|
|
697
699
|
__exportStar(require("./ListLocationsParams"), exports);
|
|
@@ -727,6 +729,8 @@ __exportStar(require("./LlmUsageCalculatorLlmResponseModel"), exports);
|
|
|
727
729
|
__exportStar(require("./LlmUsageCalculatorResponseModel"), exports);
|
|
728
730
|
__exportStar(require("./LlmUsageInput"), exports);
|
|
729
731
|
__exportStar(require("./LlmUsageOutput"), exports);
|
|
732
|
+
__exportStar(require("./LoadProcedureToolConfig"), exports);
|
|
733
|
+
__exportStar(require("./LoadProcedureToolErrorStatus"), exports);
|
|
730
734
|
__exportStar(require("./ManualSource"), exports);
|
|
731
735
|
__exportStar(require("./ManualVerificationFileResponse"), exports);
|
|
732
736
|
__exportStar(require("./ManualVerificationResponse"), exports);
|
|
@@ -834,6 +838,7 @@ __exportStar(require("./PrivacyConfigInput"), exports);
|
|
|
834
838
|
__exportStar(require("./PrivacyConfigOutput"), exports);
|
|
835
839
|
__exportStar(require("./PrivateKeyJwtResponse"), exports);
|
|
836
840
|
__exportStar(require("./PrivateKeyJwtResponseAlgorithm"), exports);
|
|
841
|
+
__exportStar(require("./ProcedureAtVersion"), exports);
|
|
837
842
|
__exportStar(require("./ProcedureCompilerMode"), exports);
|
|
838
843
|
__exportStar(require("./ProcedureRefResponseModel"), exports);
|
|
839
844
|
__exportStar(require("./ProcedureSettings"), exports);
|
|
@@ -1010,6 +1015,7 @@ __exportStar(require("./SipUriDynamicVariableTransferDestination"), exports);
|
|
|
1010
1015
|
__exportStar(require("./SipUriTransferDestination"), exports);
|
|
1011
1016
|
__exportStar(require("./SkipTurnToolConfig"), exports);
|
|
1012
1017
|
__exportStar(require("./SkipTurnToolResponseModel"), exports);
|
|
1018
|
+
__exportStar(require("./SlackBotAuthResponse"), exports);
|
|
1013
1019
|
__exportStar(require("./SmsConversationInfo"), exports);
|
|
1014
1020
|
__exportStar(require("./SmsConversationInfoDirection"), exports);
|
|
1015
1021
|
__exportStar(require("./SoftTimeoutConfig"), exports);
|
|
@@ -1165,6 +1171,7 @@ __exportStar(require("./UnitTestWorkflowNodeTransitionEvaluationNodeId"), export
|
|
|
1165
1171
|
__exportStar(require("./UpdateAgentRuleParams"), exports);
|
|
1166
1172
|
__exportStar(require("./UpdateAssetParams"), exports);
|
|
1167
1173
|
__exportStar(require("./UpdateAudioNativeProjectRequest"), exports);
|
|
1174
|
+
__exportStar(require("./UpdateBasicAuthRequest"), exports);
|
|
1168
1175
|
__exportStar(require("./UpdateBookingPageSettingsParams"), exports);
|
|
1169
1176
|
__exportStar(require("./UpdateBusinessInfoParams"), exports);
|
|
1170
1177
|
__exportStar(require("./UpdateCalendarEventParams"), exports);
|
|
@@ -1174,6 +1181,10 @@ __exportStar(require("./UpdateCustomerFacingConfigParams"), exports);
|
|
|
1174
1181
|
__exportStar(require("./UpdateGroupSessionSeatsParams"), exports);
|
|
1175
1182
|
__exportStar(require("./UpdateHolidayParams"), exports);
|
|
1176
1183
|
__exportStar(require("./UpdateLocationParams"), exports);
|
|
1184
|
+
__exportStar(require("./UpdateOAuth2ClientCredsRequest"), exports);
|
|
1185
|
+
__exportStar(require("./UpdateOAuth2JwtRequest"), exports);
|
|
1186
|
+
__exportStar(require("./UpdateOAuth2JwtRequestAlgorithm"), exports);
|
|
1187
|
+
__exportStar(require("./UpdateOAuth2JwtRequestTokenResponseField"), exports);
|
|
1177
1188
|
__exportStar(require("./UpdateProductParams"), exports);
|
|
1178
1189
|
__exportStar(require("./UpdateProjectRequest"), exports);
|
|
1179
1190
|
__exportStar(require("./UpdatePronunciationDictionariesRequest"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.48.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -5212,6 +5212,7 @@ await client.conversationalAi.conversations.list({
|
|
|
5212
5212
|
summaryMode: "exclude",
|
|
5213
5213
|
search: "search",
|
|
5214
5214
|
conversationInitiationSource: "unknown",
|
|
5215
|
+
textOnly: true,
|
|
5215
5216
|
branchId: "branch_id",
|
|
5216
5217
|
topicIds: ["topic_ids"],
|
|
5217
5218
|
excludeStatuses: ["initiated"],
|
|
@@ -10374,6 +10375,78 @@ await client.conversationalAi.agents.branches.merge("agent_3701k3ttaq12ewp8b7qv5
|
|
|
10374
10375
|
</dl>
|
|
10375
10376
|
|
|
10376
10377
|
|
|
10378
|
+
</dd>
|
|
10379
|
+
</dl>
|
|
10380
|
+
</details>
|
|
10381
|
+
|
|
10382
|
+
## ConversationalAi Agents Versions
|
|
10383
|
+
<details><summary><code>client.conversationalAi.agents.versions.<a href="/src/api/resources/conversationalAi/resources/agents/resources/versions/client/Client.ts">get</a>(agent_id, version_id) -> ElevenLabs.AgentVersionMetadata</code></summary>
|
|
10384
|
+
<dl>
|
|
10385
|
+
<dd>
|
|
10386
|
+
|
|
10387
|
+
#### 📝 Description
|
|
10388
|
+
|
|
10389
|
+
<dl>
|
|
10390
|
+
<dd>
|
|
10391
|
+
|
|
10392
|
+
<dl>
|
|
10393
|
+
<dd>
|
|
10394
|
+
|
|
10395
|
+
Get metadata for a specific agent version
|
|
10396
|
+
</dd>
|
|
10397
|
+
</dl>
|
|
10398
|
+
</dd>
|
|
10399
|
+
</dl>
|
|
10400
|
+
|
|
10401
|
+
#### 🔌 Usage
|
|
10402
|
+
|
|
10403
|
+
<dl>
|
|
10404
|
+
<dd>
|
|
10405
|
+
|
|
10406
|
+
<dl>
|
|
10407
|
+
<dd>
|
|
10408
|
+
|
|
10409
|
+
```typescript
|
|
10410
|
+
await client.conversationalAi.agents.versions.get("agent_3701k3ttaq12ewp8b7qv5rfyszkz", "agtvrsn_0901k4aafjxxfxt93gd841r7tv5t");
|
|
10411
|
+
|
|
10412
|
+
```
|
|
10413
|
+
</dd>
|
|
10414
|
+
</dl>
|
|
10415
|
+
</dd>
|
|
10416
|
+
</dl>
|
|
10417
|
+
|
|
10418
|
+
#### ⚙️ Parameters
|
|
10419
|
+
|
|
10420
|
+
<dl>
|
|
10421
|
+
<dd>
|
|
10422
|
+
|
|
10423
|
+
<dl>
|
|
10424
|
+
<dd>
|
|
10425
|
+
|
|
10426
|
+
**agent_id:** `string` — The id of an agent. This is returned on agent creation.
|
|
10427
|
+
|
|
10428
|
+
</dd>
|
|
10429
|
+
</dl>
|
|
10430
|
+
|
|
10431
|
+
<dl>
|
|
10432
|
+
<dd>
|
|
10433
|
+
|
|
10434
|
+
**version_id:** `string` — Unique identifier for the version.
|
|
10435
|
+
|
|
10436
|
+
</dd>
|
|
10437
|
+
</dl>
|
|
10438
|
+
|
|
10439
|
+
<dl>
|
|
10440
|
+
<dd>
|
|
10441
|
+
|
|
10442
|
+
**requestOptions:** `VersionsClient.RequestOptions`
|
|
10443
|
+
|
|
10444
|
+
</dd>
|
|
10445
|
+
</dl>
|
|
10446
|
+
</dd>
|
|
10447
|
+
</dl>
|
|
10448
|
+
|
|
10449
|
+
|
|
10377
10450
|
</dd>
|
|
10378
10451
|
</dl>
|
|
10379
10452
|
</details>
|
|
@@ -11062,6 +11135,7 @@ await client.conversationalAi.conversations.messages.textSearch({
|
|
|
11062
11135
|
pageSize: 1,
|
|
11063
11136
|
summaryMode: "exclude",
|
|
11064
11137
|
conversationInitiationSource: "unknown",
|
|
11138
|
+
textOnly: true,
|
|
11065
11139
|
branchId: "branch_id",
|
|
11066
11140
|
sortBy: "search_score",
|
|
11067
11141
|
cursor: "cursor"
|
|
@@ -19688,6 +19762,79 @@ await client.workspace.authConnections.delete("auth_connection_id");
|
|
|
19688
19762
|
</dl>
|
|
19689
19763
|
|
|
19690
19764
|
|
|
19765
|
+
</dd>
|
|
19766
|
+
</dl>
|
|
19767
|
+
</details>
|
|
19768
|
+
|
|
19769
|
+
<details><summary><code>client.workspace.authConnections.<a href="/src/api/resources/workspace/resources/authConnections/client/Client.ts">update</a>(auth_connection_id, { ...params }) -> ElevenLabs.AuthConnectionsUpdateResponse</code></summary>
|
|
19770
|
+
<dl>
|
|
19771
|
+
<dd>
|
|
19772
|
+
|
|
19773
|
+
#### 📝 Description
|
|
19774
|
+
|
|
19775
|
+
<dl>
|
|
19776
|
+
<dd>
|
|
19777
|
+
|
|
19778
|
+
<dl>
|
|
19779
|
+
<dd>
|
|
19780
|
+
|
|
19781
|
+
Update an auth connection
|
|
19782
|
+
</dd>
|
|
19783
|
+
</dl>
|
|
19784
|
+
</dd>
|
|
19785
|
+
</dl>
|
|
19786
|
+
|
|
19787
|
+
#### 🔌 Usage
|
|
19788
|
+
|
|
19789
|
+
<dl>
|
|
19790
|
+
<dd>
|
|
19791
|
+
|
|
19792
|
+
<dl>
|
|
19793
|
+
<dd>
|
|
19794
|
+
|
|
19795
|
+
```typescript
|
|
19796
|
+
await client.workspace.authConnections.update("auth_connection_id", {
|
|
19797
|
+
authType: "oauth2_client_credentials"
|
|
19798
|
+
});
|
|
19799
|
+
|
|
19800
|
+
```
|
|
19801
|
+
</dd>
|
|
19802
|
+
</dl>
|
|
19803
|
+
</dd>
|
|
19804
|
+
</dl>
|
|
19805
|
+
|
|
19806
|
+
#### ⚙️ Parameters
|
|
19807
|
+
|
|
19808
|
+
<dl>
|
|
19809
|
+
<dd>
|
|
19810
|
+
|
|
19811
|
+
<dl>
|
|
19812
|
+
<dd>
|
|
19813
|
+
|
|
19814
|
+
**auth_connection_id:** `string`
|
|
19815
|
+
|
|
19816
|
+
</dd>
|
|
19817
|
+
</dl>
|
|
19818
|
+
|
|
19819
|
+
<dl>
|
|
19820
|
+
<dd>
|
|
19821
|
+
|
|
19822
|
+
**request:** `ElevenLabs.AuthConnectionsUpdateRequestBody`
|
|
19823
|
+
|
|
19824
|
+
</dd>
|
|
19825
|
+
</dl>
|
|
19826
|
+
|
|
19827
|
+
<dl>
|
|
19828
|
+
<dd>
|
|
19829
|
+
|
|
19830
|
+
**requestOptions:** `AuthConnectionsClient.RequestOptions`
|
|
19831
|
+
|
|
19832
|
+
</dd>
|
|
19833
|
+
</dl>
|
|
19834
|
+
</dd>
|
|
19835
|
+
</dl>
|
|
19836
|
+
|
|
19837
|
+
|
|
19691
19838
|
</dd>
|
|
19692
19839
|
</dl>
|
|
19693
19840
|
</details>
|
|
@@ -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 { CreateBasicAuthRequest } from "../../../../../types/CreateBasicAuthRequest";
|
|
5
|
+
import { CreateBearerAuthRequest } from "../../../../../types/CreateBearerAuthRequest";
|
|
5
6
|
import { CreateCustomHeaderAuthRequest } from "../../../../../types/CreateCustomHeaderAuthRequest";
|
|
6
7
|
import { CreateMtlsAuthRequest } from "../../../../../types/CreateMtlsAuthRequest";
|
|
7
8
|
import { CreateOAuth2ClientCredsRequest } from "../../../../../types/CreateOAuth2ClientCredsRequest";
|
|
@@ -9,7 +10,7 @@ import { CreateOAuth2JwtRequest } from "../../../../../types/CreateOAuth2JwtRequ
|
|
|
9
10
|
import { CreatePrivateKeyJwtRequest } from "../../../../../types/CreatePrivateKeyJwtRequest";
|
|
10
11
|
export declare const AuthConnectionsCreateRequestBody: core.serialization.Schema<serializers.workspace.AuthConnectionsCreateRequestBody.Raw, ElevenLabs.workspace.AuthConnectionsCreateRequestBody>;
|
|
11
12
|
export declare namespace AuthConnectionsCreateRequestBody {
|
|
12
|
-
type Raw = AuthConnectionsCreateRequestBody.Oauth2ClientCredentials | AuthConnectionsCreateRequestBody.CustomHeaderAuth | AuthConnectionsCreateRequestBody.BasicAuth | AuthConnectionsCreateRequestBody.Oauth2Jwt | AuthConnectionsCreateRequestBody.PrivateKeyJwt | AuthConnectionsCreateRequestBody.Mtls;
|
|
13
|
+
type Raw = AuthConnectionsCreateRequestBody.Oauth2ClientCredentials | AuthConnectionsCreateRequestBody.CustomHeaderAuth | AuthConnectionsCreateRequestBody.BasicAuth | AuthConnectionsCreateRequestBody.BearerAuth | AuthConnectionsCreateRequestBody.Oauth2Jwt | AuthConnectionsCreateRequestBody.PrivateKeyJwt | AuthConnectionsCreateRequestBody.Mtls;
|
|
13
14
|
interface Oauth2ClientCredentials extends CreateOAuth2ClientCredsRequest.Raw {
|
|
14
15
|
auth_type: "oauth2_client_credentials";
|
|
15
16
|
}
|
|
@@ -19,6 +20,9 @@ export declare namespace AuthConnectionsCreateRequestBody {
|
|
|
19
20
|
interface BasicAuth extends CreateBasicAuthRequest.Raw {
|
|
20
21
|
auth_type: "basic_auth";
|
|
21
22
|
}
|
|
23
|
+
interface BearerAuth extends CreateBearerAuthRequest.Raw {
|
|
24
|
+
auth_type: "bearer_auth";
|
|
25
|
+
}
|
|
22
26
|
interface Oauth2Jwt extends CreateOAuth2JwtRequest.Raw {
|
|
23
27
|
auth_type: "oauth2_jwt";
|
|
24
28
|
}
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.AuthConnectionsCreateRequestBody = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../../../core"));
|
|
39
39
|
const CreateBasicAuthRequest_1 = require("../../../../../types/CreateBasicAuthRequest");
|
|
40
|
+
const CreateBearerAuthRequest_1 = require("../../../../../types/CreateBearerAuthRequest");
|
|
40
41
|
const CreateCustomHeaderAuthRequest_1 = require("../../../../../types/CreateCustomHeaderAuthRequest");
|
|
41
42
|
const CreateMtlsAuthRequest_1 = require("../../../../../types/CreateMtlsAuthRequest");
|
|
42
43
|
const CreateOAuth2ClientCredsRequest_1 = require("../../../../../types/CreateOAuth2ClientCredsRequest");
|
|
@@ -47,6 +48,7 @@ exports.AuthConnectionsCreateRequestBody = core.serialization
|
|
|
47
48
|
oauth2_client_credentials: CreateOAuth2ClientCredsRequest_1.CreateOAuth2ClientCredsRequest,
|
|
48
49
|
custom_header_auth: CreateCustomHeaderAuthRequest_1.CreateCustomHeaderAuthRequest,
|
|
49
50
|
basic_auth: CreateBasicAuthRequest_1.CreateBasicAuthRequest,
|
|
51
|
+
bearer_auth: CreateBearerAuthRequest_1.CreateBearerAuthRequest,
|
|
50
52
|
oauth2_jwt: CreateOAuth2JwtRequest_1.CreateOAuth2JwtRequest,
|
|
51
53
|
private_key_jwt: CreatePrivateKeyJwtRequest_1.CreatePrivateKeyJwtRequest,
|
|
52
54
|
mtls: CreateMtlsAuthRequest_1.CreateMtlsAuthRequest,
|
|
@@ -10,10 +10,11 @@ import { MtlsAuthResponse } from "../../../../../types/MtlsAuthResponse";
|
|
|
10
10
|
import { OAuth2ClientCredsResponse } from "../../../../../types/OAuth2ClientCredsResponse";
|
|
11
11
|
import { OAuth2JwtResponse } from "../../../../../types/OAuth2JwtResponse";
|
|
12
12
|
import { PrivateKeyJwtResponse } from "../../../../../types/PrivateKeyJwtResponse";
|
|
13
|
+
import { SlackBotAuthResponse } from "../../../../../types/SlackBotAuthResponse";
|
|
13
14
|
import { WhatsAppAuthResponse } from "../../../../../types/WhatsAppAuthResponse";
|
|
14
15
|
export declare const AuthConnectionsCreateResponse: core.serialization.Schema<serializers.workspace.AuthConnectionsCreateResponse.Raw, ElevenLabs.workspace.AuthConnectionsCreateResponse>;
|
|
15
16
|
export declare namespace AuthConnectionsCreateResponse {
|
|
16
|
-
type Raw = AuthConnectionsCreateResponse.Oauth2ClientCredentials | AuthConnectionsCreateResponse.BasicAuth | AuthConnectionsCreateResponse.BearerAuth | AuthConnectionsCreateResponse.Oauth2Jwt | AuthConnectionsCreateResponse.PrivateKeyJwt | AuthConnectionsCreateResponse.Mtls | AuthConnectionsCreateResponse.CustomHeaderAuth | AuthConnectionsCreateResponse.ApiIntegrationOauth2AuthCode | AuthConnectionsCreateResponse.ApiIntegrationOauth2CustomApp | AuthConnectionsCreateResponse.WhatsappAuth;
|
|
17
|
+
type Raw = AuthConnectionsCreateResponse.Oauth2ClientCredentials | AuthConnectionsCreateResponse.BasicAuth | AuthConnectionsCreateResponse.BearerAuth | AuthConnectionsCreateResponse.Oauth2Jwt | AuthConnectionsCreateResponse.PrivateKeyJwt | AuthConnectionsCreateResponse.Mtls | AuthConnectionsCreateResponse.CustomHeaderAuth | AuthConnectionsCreateResponse.ApiIntegrationOauth2AuthCode | AuthConnectionsCreateResponse.ApiIntegrationOauth2CustomApp | AuthConnectionsCreateResponse.WhatsappAuth | AuthConnectionsCreateResponse.SlackBotAuth;
|
|
17
18
|
interface Oauth2ClientCredentials extends OAuth2ClientCredsResponse.Raw {
|
|
18
19
|
auth_type: "oauth2_client_credentials";
|
|
19
20
|
}
|
|
@@ -44,4 +45,7 @@ export declare namespace AuthConnectionsCreateResponse {
|
|
|
44
45
|
interface WhatsappAuth extends WhatsAppAuthResponse.Raw {
|
|
45
46
|
auth_type: "whatsapp_auth";
|
|
46
47
|
}
|
|
48
|
+
interface SlackBotAuth extends SlackBotAuthResponse.Raw {
|
|
49
|
+
auth_type: "slack_bot_auth";
|
|
50
|
+
}
|
|
47
51
|
}
|
|
@@ -45,6 +45,7 @@ const MtlsAuthResponse_1 = require("../../../../../types/MtlsAuthResponse");
|
|
|
45
45
|
const OAuth2ClientCredsResponse_1 = require("../../../../../types/OAuth2ClientCredsResponse");
|
|
46
46
|
const OAuth2JwtResponse_1 = require("../../../../../types/OAuth2JwtResponse");
|
|
47
47
|
const PrivateKeyJwtResponse_1 = require("../../../../../types/PrivateKeyJwtResponse");
|
|
48
|
+
const SlackBotAuthResponse_1 = require("../../../../../types/SlackBotAuthResponse");
|
|
48
49
|
const WhatsAppAuthResponse_1 = require("../../../../../types/WhatsAppAuthResponse");
|
|
49
50
|
exports.AuthConnectionsCreateResponse = core.serialization
|
|
50
51
|
.union(core.serialization.discriminant("authType", "auth_type"), {
|
|
@@ -58,6 +59,7 @@ exports.AuthConnectionsCreateResponse = core.serialization
|
|
|
58
59
|
api_integration_oauth2_auth_code: ApiIntegrationOAuth2AuthCodeResponse_1.ApiIntegrationOAuth2AuthCodeResponse,
|
|
59
60
|
api_integration_oauth2_custom_app: ApiIntegrationOAuth2CustomAppResponse_1.ApiIntegrationOAuth2CustomAppResponse,
|
|
60
61
|
whatsapp_auth: WhatsAppAuthResponse_1.WhatsAppAuthResponse,
|
|
62
|
+
slack_bot_auth: SlackBotAuthResponse_1.SlackBotAuthResponse,
|
|
61
63
|
})
|
|
62
64
|
.transform({
|
|
63
65
|
transform: (value) => value,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { UpdateBasicAuthRequest } from "../../../../../types/UpdateBasicAuthRequest";
|
|
5
|
+
import { UpdateOAuth2ClientCredsRequest } from "../../../../../types/UpdateOAuth2ClientCredsRequest";
|
|
6
|
+
import { UpdateOAuth2JwtRequest } from "../../../../../types/UpdateOAuth2JwtRequest";
|
|
7
|
+
export declare const AuthConnectionsUpdateRequestBody: core.serialization.Schema<serializers.workspace.AuthConnectionsUpdateRequestBody.Raw, ElevenLabs.workspace.AuthConnectionsUpdateRequestBody>;
|
|
8
|
+
export declare namespace AuthConnectionsUpdateRequestBody {
|
|
9
|
+
type Raw = AuthConnectionsUpdateRequestBody.Oauth2ClientCredentials | AuthConnectionsUpdateRequestBody.BasicAuth | AuthConnectionsUpdateRequestBody.Oauth2Jwt;
|
|
10
|
+
interface Oauth2ClientCredentials extends UpdateOAuth2ClientCredsRequest.Raw {
|
|
11
|
+
auth_type: "oauth2_client_credentials";
|
|
12
|
+
}
|
|
13
|
+
interface BasicAuth extends UpdateBasicAuthRequest.Raw {
|
|
14
|
+
auth_type: "basic_auth";
|
|
15
|
+
}
|
|
16
|
+
interface Oauth2Jwt extends UpdateOAuth2JwtRequest.Raw {
|
|
17
|
+
auth_type: "oauth2_jwt";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.AuthConnectionsUpdateRequestBody = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const UpdateBasicAuthRequest_1 = require("../../../../../types/UpdateBasicAuthRequest");
|
|
40
|
+
const UpdateOAuth2ClientCredsRequest_1 = require("../../../../../types/UpdateOAuth2ClientCredsRequest");
|
|
41
|
+
const UpdateOAuth2JwtRequest_1 = require("../../../../../types/UpdateOAuth2JwtRequest");
|
|
42
|
+
exports.AuthConnectionsUpdateRequestBody = core.serialization
|
|
43
|
+
.union(core.serialization.discriminant("authType", "auth_type"), {
|
|
44
|
+
oauth2_client_credentials: UpdateOAuth2ClientCredsRequest_1.UpdateOAuth2ClientCredsRequest,
|
|
45
|
+
basic_auth: UpdateBasicAuthRequest_1.UpdateBasicAuthRequest,
|
|
46
|
+
oauth2_jwt: UpdateOAuth2JwtRequest_1.UpdateOAuth2JwtRequest,
|
|
47
|
+
})
|
|
48
|
+
.transform({
|
|
49
|
+
transform: (value) => value,
|
|
50
|
+
untransform: (value) => value,
|
|
51
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { ApiIntegrationOAuth2AuthCodeResponse } from "../../../../../types/ApiIntegrationOAuth2AuthCodeResponse";
|
|
5
|
+
import { ApiIntegrationOAuth2CustomAppResponse } from "../../../../../types/ApiIntegrationOAuth2CustomAppResponse";
|
|
6
|
+
import { BasicAuthResponse } from "../../../../../types/BasicAuthResponse";
|
|
7
|
+
import { BearerAuthResponse } from "../../../../../types/BearerAuthResponse";
|
|
8
|
+
import { CustomHeaderAuthResponse } from "../../../../../types/CustomHeaderAuthResponse";
|
|
9
|
+
import { MtlsAuthResponse } from "../../../../../types/MtlsAuthResponse";
|
|
10
|
+
import { OAuth2ClientCredsResponse } from "../../../../../types/OAuth2ClientCredsResponse";
|
|
11
|
+
import { OAuth2JwtResponse } from "../../../../../types/OAuth2JwtResponse";
|
|
12
|
+
import { PrivateKeyJwtResponse } from "../../../../../types/PrivateKeyJwtResponse";
|
|
13
|
+
import { SlackBotAuthResponse } from "../../../../../types/SlackBotAuthResponse";
|
|
14
|
+
import { WhatsAppAuthResponse } from "../../../../../types/WhatsAppAuthResponse";
|
|
15
|
+
export declare const AuthConnectionsUpdateResponse: core.serialization.Schema<serializers.workspace.AuthConnectionsUpdateResponse.Raw, ElevenLabs.workspace.AuthConnectionsUpdateResponse>;
|
|
16
|
+
export declare namespace AuthConnectionsUpdateResponse {
|
|
17
|
+
type Raw = AuthConnectionsUpdateResponse.Oauth2ClientCredentials | AuthConnectionsUpdateResponse.BasicAuth | AuthConnectionsUpdateResponse.BearerAuth | AuthConnectionsUpdateResponse.Oauth2Jwt | AuthConnectionsUpdateResponse.PrivateKeyJwt | AuthConnectionsUpdateResponse.Mtls | AuthConnectionsUpdateResponse.CustomHeaderAuth | AuthConnectionsUpdateResponse.ApiIntegrationOauth2AuthCode | AuthConnectionsUpdateResponse.ApiIntegrationOauth2CustomApp | AuthConnectionsUpdateResponse.WhatsappAuth | AuthConnectionsUpdateResponse.SlackBotAuth;
|
|
18
|
+
interface Oauth2ClientCredentials extends OAuth2ClientCredsResponse.Raw {
|
|
19
|
+
auth_type: "oauth2_client_credentials";
|
|
20
|
+
}
|
|
21
|
+
interface BasicAuth extends BasicAuthResponse.Raw {
|
|
22
|
+
auth_type: "basic_auth";
|
|
23
|
+
}
|
|
24
|
+
interface BearerAuth extends BearerAuthResponse.Raw {
|
|
25
|
+
auth_type: "bearer_auth";
|
|
26
|
+
}
|
|
27
|
+
interface Oauth2Jwt extends OAuth2JwtResponse.Raw {
|
|
28
|
+
auth_type: "oauth2_jwt";
|
|
29
|
+
}
|
|
30
|
+
interface PrivateKeyJwt extends PrivateKeyJwtResponse.Raw {
|
|
31
|
+
auth_type: "private_key_jwt";
|
|
32
|
+
}
|
|
33
|
+
interface Mtls extends MtlsAuthResponse.Raw {
|
|
34
|
+
auth_type: "mtls";
|
|
35
|
+
}
|
|
36
|
+
interface CustomHeaderAuth extends CustomHeaderAuthResponse.Raw {
|
|
37
|
+
auth_type: "custom_header_auth";
|
|
38
|
+
}
|
|
39
|
+
interface ApiIntegrationOauth2AuthCode extends ApiIntegrationOAuth2AuthCodeResponse.Raw {
|
|
40
|
+
auth_type: "api_integration_oauth2_auth_code";
|
|
41
|
+
}
|
|
42
|
+
interface ApiIntegrationOauth2CustomApp extends ApiIntegrationOAuth2CustomAppResponse.Raw {
|
|
43
|
+
auth_type: "api_integration_oauth2_custom_app";
|
|
44
|
+
}
|
|
45
|
+
interface WhatsappAuth extends WhatsAppAuthResponse.Raw {
|
|
46
|
+
auth_type: "whatsapp_auth";
|
|
47
|
+
}
|
|
48
|
+
interface SlackBotAuth extends SlackBotAuthResponse.Raw {
|
|
49
|
+
auth_type: "slack_bot_auth";
|
|
50
|
+
}
|
|
51
|
+
}
|