@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,67 @@
|
|
|
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.AuthConnectionsUpdateResponse = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ApiIntegrationOAuth2AuthCodeResponse_1 = require("../../../../../types/ApiIntegrationOAuth2AuthCodeResponse");
|
|
40
|
+
const ApiIntegrationOAuth2CustomAppResponse_1 = require("../../../../../types/ApiIntegrationOAuth2CustomAppResponse");
|
|
41
|
+
const BasicAuthResponse_1 = require("../../../../../types/BasicAuthResponse");
|
|
42
|
+
const BearerAuthResponse_1 = require("../../../../../types/BearerAuthResponse");
|
|
43
|
+
const CustomHeaderAuthResponse_1 = require("../../../../../types/CustomHeaderAuthResponse");
|
|
44
|
+
const MtlsAuthResponse_1 = require("../../../../../types/MtlsAuthResponse");
|
|
45
|
+
const OAuth2ClientCredsResponse_1 = require("../../../../../types/OAuth2ClientCredsResponse");
|
|
46
|
+
const OAuth2JwtResponse_1 = require("../../../../../types/OAuth2JwtResponse");
|
|
47
|
+
const PrivateKeyJwtResponse_1 = require("../../../../../types/PrivateKeyJwtResponse");
|
|
48
|
+
const SlackBotAuthResponse_1 = require("../../../../../types/SlackBotAuthResponse");
|
|
49
|
+
const WhatsAppAuthResponse_1 = require("../../../../../types/WhatsAppAuthResponse");
|
|
50
|
+
exports.AuthConnectionsUpdateResponse = core.serialization
|
|
51
|
+
.union(core.serialization.discriminant("authType", "auth_type"), {
|
|
52
|
+
oauth2_client_credentials: OAuth2ClientCredsResponse_1.OAuth2ClientCredsResponse,
|
|
53
|
+
basic_auth: BasicAuthResponse_1.BasicAuthResponse,
|
|
54
|
+
bearer_auth: BearerAuthResponse_1.BearerAuthResponse,
|
|
55
|
+
oauth2_jwt: OAuth2JwtResponse_1.OAuth2JwtResponse,
|
|
56
|
+
private_key_jwt: PrivateKeyJwtResponse_1.PrivateKeyJwtResponse,
|
|
57
|
+
mtls: MtlsAuthResponse_1.MtlsAuthResponse,
|
|
58
|
+
custom_header_auth: CustomHeaderAuthResponse_1.CustomHeaderAuthResponse,
|
|
59
|
+
api_integration_oauth2_auth_code: ApiIntegrationOAuth2AuthCodeResponse_1.ApiIntegrationOAuth2AuthCodeResponse,
|
|
60
|
+
api_integration_oauth2_custom_app: ApiIntegrationOAuth2CustomAppResponse_1.ApiIntegrationOAuth2CustomAppResponse,
|
|
61
|
+
whatsapp_auth: WhatsAppAuthResponse_1.WhatsAppAuthResponse,
|
|
62
|
+
slack_bot_auth: SlackBotAuthResponse_1.SlackBotAuthResponse,
|
|
63
|
+
})
|
|
64
|
+
.transform({
|
|
65
|
+
transform: (value) => value,
|
|
66
|
+
untransform: (value) => value,
|
|
67
|
+
});
|
|
@@ -16,3 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AuthConnectionsCreateRequestBody"), exports);
|
|
18
18
|
__exportStar(require("./AuthConnectionsCreateResponse"), exports);
|
|
19
|
+
__exportStar(require("./AuthConnectionsUpdateRequestBody"), exports);
|
|
20
|
+
__exportStar(require("./AuthConnectionsUpdateResponse"), exports);
|
|
@@ -38,4 +38,5 @@ exports.AgentAlertingMonitorConfig = void 0;
|
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.AgentAlertingMonitorConfig = core.serialization.object({
|
|
40
40
|
threshold: core.serialization.number().optional(),
|
|
41
|
+
autoResolveAfterInactiveMinutes: core.serialization.property("auto_resolve_after_inactive_minutes", core.serialization.number().optional()),
|
|
41
42
|
});
|
|
@@ -6,5 +6,6 @@ export declare const AgentAlertingSettings: core.serialization.ObjectSchema<seri
|
|
|
6
6
|
export declare namespace AgentAlertingSettings {
|
|
7
7
|
interface Raw {
|
|
8
8
|
monitor_configs?: Record<string, AgentAlertingMonitorConfig.Raw> | null;
|
|
9
|
+
auto_resolve_after_inactive_minutes?: number | null;
|
|
9
10
|
}
|
|
10
11
|
}
|
|
@@ -39,4 +39,5 @@ const core = __importStar(require("../../core"));
|
|
|
39
39
|
const AgentAlertingMonitorConfig_1 = require("./AgentAlertingMonitorConfig");
|
|
40
40
|
exports.AgentAlertingSettings = core.serialization.object({
|
|
41
41
|
monitorConfigs: core.serialization.property("monitor_configs", core.serialization.record(core.serialization.string(), AgentAlertingMonitorConfig_1.AgentAlertingMonitorConfig).optional()),
|
|
42
|
+
autoResolveAfterInactiveMinutes: core.serialization.property("auto_resolve_after_inactive_minutes", core.serialization.number().optional()),
|
|
42
43
|
});
|
|
@@ -47,5 +47,6 @@ exports.AudioIsolationHistoryItemResponseModel = core.serialization.object({
|
|
|
47
47
|
sourceVideoUrl: core.serialization.property("source_video_url", core.serialization.string().optional()),
|
|
48
48
|
supportsVideo: core.serialization.property("supports_video", core.serialization.boolean()),
|
|
49
49
|
processing: core.serialization.boolean(),
|
|
50
|
+
videoProcessingFailed: core.serialization.property("video_processing_failed", core.serialization.boolean()),
|
|
50
51
|
previewB64: core.serialization.property("preview_b64", core.serialization.string().optional()),
|
|
51
52
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ConversationInitiationSource: core.serialization.Schema<serializers.ConversationInitiationSource.Raw, ElevenLabs.ConversationInitiationSource>;
|
|
5
5
|
export declare namespace ConversationInitiationSource {
|
|
6
|
-
type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp" | "twilio_sms" | "flutter_sdk" | "zendesk_integration" | "slack_integration" | "template_preview";
|
|
6
|
+
type Raw = "unknown" | "android_sdk" | "node_js_sdk" | "react_native_sdk" | "react_sdk" | "js_sdk" | "python_sdk" | "widget" | "sip_trunk" | "twilio" | "genesys" | "swift_sdk" | "whatsapp" | "twilio_sms" | "flutter_sdk" | "zendesk_integration" | "slack_integration" | "template_preview" | "genesys_bot_connector";
|
|
7
7
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const CreateBearerAuthRequest: core.serialization.ObjectSchema<serializers.CreateBearerAuthRequest.Raw, ElevenLabs.CreateBearerAuthRequest>;
|
|
5
|
+
export declare namespace CreateBearerAuthRequest {
|
|
6
|
+
interface Raw {
|
|
7
|
+
name: string;
|
|
8
|
+
provider: string;
|
|
9
|
+
token: string;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.CreateBearerAuthRequest = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.CreateBearerAuthRequest = core.serialization.object({
|
|
40
|
+
name: core.serialization.string(),
|
|
41
|
+
provider: core.serialization.string(),
|
|
42
|
+
token: core.serialization.string(),
|
|
43
|
+
});
|
|
@@ -44,4 +44,5 @@ exports.GetPhoneNumberInboundSipTrunkConfigResponseModel = core.serialization.ob
|
|
|
44
44
|
hasAuthCredentials: core.serialization.property("has_auth_credentials", core.serialization.boolean()),
|
|
45
45
|
username: core.serialization.string().optional(),
|
|
46
46
|
remoteDomains: core.serialization.property("remote_domains", core.serialization.list(core.serialization.string()).optional()),
|
|
47
|
+
attributesToHeaders: core.serialization.property("attributes_to_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
47
48
|
});
|
|
@@ -10,6 +10,7 @@ export declare namespace GetPhoneNumberOutboundSipTrunkConfigResponseModel {
|
|
|
10
10
|
transport: SipTrunkTransportEnum.Raw;
|
|
11
11
|
media_encryption: SipMediaEncryptionEnum.Raw;
|
|
12
12
|
headers?: Record<string, string> | null;
|
|
13
|
+
attributes_to_headers?: Record<string, string> | null;
|
|
13
14
|
has_auth_credentials: boolean;
|
|
14
15
|
username?: string | null;
|
|
15
16
|
has_outbound_trunk?: boolean | null;
|
|
@@ -43,6 +43,7 @@ exports.GetPhoneNumberOutboundSipTrunkConfigResponseModel = core.serialization.o
|
|
|
43
43
|
transport: SipTrunkTransportEnum_1.SipTrunkTransportEnum,
|
|
44
44
|
mediaEncryption: core.serialization.property("media_encryption", SipMediaEncryptionEnum_1.SipMediaEncryptionEnum),
|
|
45
45
|
headers: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
46
|
+
attributesToHeaders: core.serialization.property("attributes_to_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
46
47
|
hasAuthCredentials: core.serialization.property("has_auth_credentials", core.serialization.boolean()),
|
|
47
48
|
username: core.serialization.string().optional(),
|
|
48
49
|
hasOutboundTrunk: core.serialization.property("has_outbound_trunk", core.serialization.boolean().optional()),
|
|
@@ -11,5 +11,6 @@ export declare namespace InboundSipTrunkConfigRequestModel {
|
|
|
11
11
|
media_encryption?: SipMediaEncryptionEnum.Raw | null;
|
|
12
12
|
credentials?: SipTrunkCredentialsRequestModel.Raw | null;
|
|
13
13
|
remote_domains?: string[] | null;
|
|
14
|
+
attributes_to_headers?: Record<string, string> | null;
|
|
14
15
|
}
|
|
15
16
|
}
|
|
@@ -44,4 +44,5 @@ exports.InboundSipTrunkConfigRequestModel = core.serialization.object({
|
|
|
44
44
|
mediaEncryption: core.serialization.property("media_encryption", SipMediaEncryptionEnum_1.SipMediaEncryptionEnum.optional()),
|
|
45
45
|
credentials: SipTrunkCredentialsRequestModel_1.SipTrunkCredentialsRequestModel.optional(),
|
|
46
46
|
remoteDomains: core.serialization.property("remote_domains", core.serialization.list(core.serialization.string()).optional()),
|
|
47
|
+
attributesToHeaders: core.serialization.property("attributes_to_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
47
48
|
});
|
|
@@ -10,10 +10,11 @@ import { MtlsAuthResponse } from "./MtlsAuthResponse";
|
|
|
10
10
|
import { OAuth2ClientCredsResponse } from "./OAuth2ClientCredsResponse";
|
|
11
11
|
import { OAuth2JwtResponse } from "./OAuth2JwtResponse";
|
|
12
12
|
import { PrivateKeyJwtResponse } from "./PrivateKeyJwtResponse";
|
|
13
|
+
import { SlackBotAuthResponse } from "./SlackBotAuthResponse";
|
|
13
14
|
import { WhatsAppAuthResponse } from "./WhatsAppAuthResponse";
|
|
14
15
|
export declare const ListAuthConnectionsResponseAuthConnectionsItem: core.serialization.Schema<serializers.ListAuthConnectionsResponseAuthConnectionsItem.Raw, ElevenLabs.ListAuthConnectionsResponseAuthConnectionsItem>;
|
|
15
16
|
export declare namespace ListAuthConnectionsResponseAuthConnectionsItem {
|
|
16
|
-
type Raw = ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2AuthCode | ListAuthConnectionsResponseAuthConnectionsItem.ApiIntegrationOauth2CustomApp | ListAuthConnectionsResponseAuthConnectionsItem.BasicAuth | ListAuthConnectionsResponseAuthConnectionsItem.BearerAuth | ListAuthConnectionsResponseAuthConnectionsItem.CustomHeaderAuth | ListAuthConnectionsResponseAuthConnectionsItem.Mtls | ListAuthConnectionsResponseAuthConnectionsItem.Oauth2ClientCredentials | ListAuthConnectionsResponseAuthConnectionsItem.Oauth2Jwt | ListAuthConnectionsResponseAuthConnectionsItem.PrivateKeyJwt | ListAuthConnectionsResponseAuthConnectionsItem.WhatsappAuth;
|
|
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;
|
|
17
18
|
interface ApiIntegrationOauth2AuthCode extends ApiIntegrationOAuth2AuthCodeResponse.Raw {
|
|
18
19
|
auth_type: "api_integration_oauth2_auth_code";
|
|
19
20
|
}
|
|
@@ -41,6 +42,9 @@ export declare namespace ListAuthConnectionsResponseAuthConnectionsItem {
|
|
|
41
42
|
interface PrivateKeyJwt extends PrivateKeyJwtResponse.Raw {
|
|
42
43
|
auth_type: "private_key_jwt";
|
|
43
44
|
}
|
|
45
|
+
interface SlackBotAuth extends SlackBotAuthResponse.Raw {
|
|
46
|
+
auth_type: "slack_bot_auth";
|
|
47
|
+
}
|
|
44
48
|
interface WhatsappAuth extends WhatsAppAuthResponse.Raw {
|
|
45
49
|
auth_type: "whatsapp_auth";
|
|
46
50
|
}
|
|
@@ -45,6 +45,7 @@ const MtlsAuthResponse_1 = require("./MtlsAuthResponse");
|
|
|
45
45
|
const OAuth2ClientCredsResponse_1 = require("./OAuth2ClientCredsResponse");
|
|
46
46
|
const OAuth2JwtResponse_1 = require("./OAuth2JwtResponse");
|
|
47
47
|
const PrivateKeyJwtResponse_1 = require("./PrivateKeyJwtResponse");
|
|
48
|
+
const SlackBotAuthResponse_1 = require("./SlackBotAuthResponse");
|
|
48
49
|
const WhatsAppAuthResponse_1 = require("./WhatsAppAuthResponse");
|
|
49
50
|
exports.ListAuthConnectionsResponseAuthConnectionsItem = core.serialization
|
|
50
51
|
.union(core.serialization.discriminant("authType", "auth_type"), {
|
|
@@ -57,6 +58,7 @@ exports.ListAuthConnectionsResponseAuthConnectionsItem = core.serialization
|
|
|
57
58
|
oauth2_client_credentials: OAuth2ClientCredsResponse_1.OAuth2ClientCredsResponse,
|
|
58
59
|
oauth2_jwt: OAuth2JwtResponse_1.OAuth2JwtResponse,
|
|
59
60
|
private_key_jwt: PrivateKeyJwtResponse_1.PrivateKeyJwtResponse,
|
|
61
|
+
slack_bot_auth: SlackBotAuthResponse_1.SlackBotAuthResponse,
|
|
60
62
|
whatsapp_auth: WhatsAppAuthResponse_1.WhatsAppAuthResponse,
|
|
61
63
|
})
|
|
62
64
|
.transform({
|
|
@@ -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 ListCustomerFacingAgentsParams: core.serialization.ObjectSchema<serializers.ListCustomerFacingAgentsParams.Raw, ElevenLabs.ListCustomerFacingAgentsParams>;
|
|
5
|
+
export declare namespace ListCustomerFacingAgentsParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
smb_tool_type?: "list_customer_facing_agents" | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ListCustomerFacingAgentsParams = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ListCustomerFacingAgentsParams = core.serialization.object({
|
|
40
|
+
smbToolType: core.serialization.property("smb_tool_type", core.serialization.stringLiteral("list_customer_facing_agents").optional()),
|
|
41
|
+
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const Llm: core.serialization.Schema<serializers.Llm.Raw, ElevenLabs.Llm>;
|
|
5
5
|
export declare namespace Llm {
|
|
6
|
-
type Raw = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5.1" | "gpt-5.2" | "gpt-5.2-chat-latest" | "gpt-5.4" | "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5.5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "gemini-3-pro-preview" | "gemini-3-flash-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-lite-preview" | "claude-sonnet-4-5" | "claude-opus-4-7" | "claude-sonnet-4-6" | "claude-sonnet-4" | "claude-haiku-4-5" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "qwen36-35b-a3b" | "gpt-oss-20b" | "gpt-oss-120b" | "glm-45-air-fp8" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-sonnet-4-5@20250929" | "claude-haiku-4-5@20251001" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5.1-2025-11-13" | "gpt-5.2-2025-12-11" | "gpt-5.4-2026-03-05" | "gpt-5.4-mini-2026-03-17" | "gpt-5.4-nano-2026-03-17" | "gpt-5.5-2026-04-23" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106" | "watt-tool-8b" | "watt-tool-70b";
|
|
6
|
+
type Raw = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-nano" | "gpt-5" | "gpt-5.1" | "gpt-5.2" | "gpt-5.2-chat-latest" | "gpt-5.4" | "gpt-5.4-mini" | "gpt-5.4-nano" | "gpt-5.5" | "gpt-5-mini" | "gpt-5-nano" | "gpt-3.5-turbo" | "gemini-1.5-pro" | "gemini-1.5-flash" | "gemini-2.0-flash" | "gemini-2.0-flash-lite" | "gemini-2.5-flash-lite" | "gemini-2.5-flash" | "gemini-3-pro-preview" | "gemini-3-flash-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-lite-preview" | "gemini-3.1-flash-lite" | "claude-sonnet-4-5" | "claude-opus-4-7" | "claude-sonnet-4-6" | "claude-sonnet-4" | "claude-haiku-4-5" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "qwen3-30b-a3b" | "qwen36-35b-a3b" | "qwen35-397b-a17b" | "gpt-oss-20b" | "gpt-oss-120b" | "glm-45-air-fp8" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-preview-05-20" | "gemini-2.5-flash-preview-04-17" | "gemini-2.5-flash-lite-preview-06-17" | "gemini-2.0-flash-lite-001" | "gemini-2.0-flash-001" | "gemini-1.5-flash-002" | "gemini-1.5-flash-001" | "gemini-1.5-pro-002" | "gemini-1.5-pro-001" | "claude-sonnet-4@20250514" | "claude-sonnet-4-5@20250929" | "claude-haiku-4-5@20251001" | "claude-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "gpt-5-2025-08-07" | "gpt-5.1-2025-11-13" | "gpt-5.2-2025-12-11" | "gpt-5.4-2026-03-05" | "gpt-5.4-mini-2026-03-17" | "gpt-5.4-nano-2026-03-17" | "gpt-5.5-2026-04-23" | "gpt-5-mini-2025-08-07" | "gpt-5-nano-2025-08-07" | "gpt-4.1-2025-04-14" | "gpt-4.1-mini-2025-04-14" | "gpt-4.1-nano-2025-04-14" | "gpt-4o-mini-2024-07-18" | "gpt-4o-2024-11-20" | "gpt-4o-2024-08-06" | "gpt-4o-2024-05-13" | "gpt-4-0613" | "gpt-4-0314" | "gpt-4-turbo-2024-04-09" | "gpt-3.5-turbo-0125" | "gpt-3.5-turbo-1106" | "watt-tool-8b" | "watt-tool-70b";
|
|
7
7
|
}
|
|
@@ -65,6 +65,7 @@ exports.Llm = core.serialization.enum_([
|
|
|
65
65
|
"gemini-3-flash-preview",
|
|
66
66
|
"gemini-3.1-pro-preview",
|
|
67
67
|
"gemini-3.1-flash-lite-preview",
|
|
68
|
+
"gemini-3.1-flash-lite",
|
|
68
69
|
"claude-sonnet-4-5",
|
|
69
70
|
"claude-opus-4-7",
|
|
70
71
|
"claude-sonnet-4-6",
|
|
@@ -79,6 +80,7 @@ exports.Llm = core.serialization.enum_([
|
|
|
79
80
|
"qwen3-4b",
|
|
80
81
|
"qwen3-30b-a3b",
|
|
81
82
|
"qwen36-35b-a3b",
|
|
83
|
+
"qwen35-397b-a17b",
|
|
82
84
|
"gpt-oss-20b",
|
|
83
85
|
"gpt-oss-120b",
|
|
84
86
|
"glm-45-air-fp8",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { ProcedureAtVersion } from "./ProcedureAtVersion";
|
|
5
|
+
export declare const LoadProcedureToolConfig: core.serialization.ObjectSchema<serializers.LoadProcedureToolConfig.Raw, ElevenLabs.LoadProcedureToolConfig>;
|
|
6
|
+
export declare namespace LoadProcedureToolConfig {
|
|
7
|
+
interface Raw {
|
|
8
|
+
procedures?: Record<string, ProcedureAtVersion.Raw> | null;
|
|
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.LoadProcedureToolConfig = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
const ProcedureAtVersion_1 = require("./ProcedureAtVersion");
|
|
40
|
+
exports.LoadProcedureToolConfig = core.serialization.object({
|
|
41
|
+
procedures: core.serialization.record(core.serialization.string(), ProcedureAtVersion_1.ProcedureAtVersion).optional(),
|
|
42
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const LoadProcedureToolErrorStatus: core.serialization.Schema<serializers.LoadProcedureToolErrorStatus.Raw, ElevenLabs.LoadProcedureToolErrorStatus>;
|
|
5
|
+
export declare namespace LoadProcedureToolErrorStatus {
|
|
6
|
+
type Raw = "not_found" | "invalid_name";
|
|
7
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.LoadProcedureToolErrorStatus = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.LoadProcedureToolErrorStatus = core.serialization.enum_(["not_found", "invalid_name"]);
|
|
@@ -47,4 +47,5 @@ exports.OAuth2ClientCredsResponse = core.serialization.object({
|
|
|
47
47
|
basicAuthInHeader: core.serialization.property("basic_auth_in_header", core.serialization.boolean().optional()),
|
|
48
48
|
id: core.serialization.string(),
|
|
49
49
|
usedBy: core.serialization.property("used_by", AuthConnectionDependencies_1.AuthConnectionDependencies.optional()),
|
|
50
|
+
customHeaders: core.serialization.property("custom_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
50
51
|
});
|
|
@@ -11,6 +11,7 @@ export declare namespace OutboundSipTrunkConfigRequestModel {
|
|
|
11
11
|
transport?: SipTrunkTransportEnum.Raw | null;
|
|
12
12
|
media_encryption?: SipMediaEncryptionEnum.Raw | null;
|
|
13
13
|
headers?: Record<string, string> | null;
|
|
14
|
+
attributes_to_headers?: Record<string, string> | null;
|
|
14
15
|
credentials?: SipTrunkCredentialsRequestModel.Raw | null;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -44,5 +44,6 @@ exports.OutboundSipTrunkConfigRequestModel = core.serialization.object({
|
|
|
44
44
|
transport: SipTrunkTransportEnum_1.SipTrunkTransportEnum.optional(),
|
|
45
45
|
mediaEncryption: core.serialization.property("media_encryption", SipMediaEncryptionEnum_1.SipMediaEncryptionEnum.optional()),
|
|
46
46
|
headers: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
47
|
+
attributesToHeaders: core.serialization.property("attributes_to_headers", core.serialization.record(core.serialization.string(), core.serialization.string()).optional()),
|
|
47
48
|
credentials: SipTrunkCredentialsRequestModel_1.SipTrunkCredentialsRequestModel.optional(),
|
|
48
49
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 ProcedureAtVersion: core.serialization.ObjectSchema<serializers.ProcedureAtVersion.Raw, ElevenLabs.ProcedureAtVersion>;
|
|
5
|
+
export declare namespace ProcedureAtVersion {
|
|
6
|
+
interface Raw {
|
|
7
|
+
procedure_id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
content: string;
|
|
10
|
+
agent_id: string;
|
|
11
|
+
version_id?: string | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.ProcedureAtVersion = void 0;
|
|
38
|
+
const core = __importStar(require("../../core"));
|
|
39
|
+
exports.ProcedureAtVersion = core.serialization.object({
|
|
40
|
+
procedureId: core.serialization.property("procedure_id", core.serialization.string()),
|
|
41
|
+
name: core.serialization.string(),
|
|
42
|
+
content: core.serialization.string(),
|
|
43
|
+
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
44
|
+
versionId: core.serialization.property("version_id", core.serialization.string().optional()),
|
|
45
|
+
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const ProcedureCompilerMode: core.serialization.Schema<serializers.ProcedureCompilerMode.Raw, ElevenLabs.ProcedureCompilerMode>;
|
|
5
5
|
export declare namespace ProcedureCompilerMode {
|
|
6
|
-
type Raw = "append";
|
|
6
|
+
type Raw = "append" | "skills";
|
|
7
7
|
}
|
|
@@ -36,4 +36,4 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.ProcedureCompilerMode = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.ProcedureCompilerMode = core.serialization.
|
|
39
|
+
exports.ProcedureCompilerMode = core.serialization.enum_(["append", "skills"]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as ElevenLabs from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { AuthConnectionDependencies } from "./AuthConnectionDependencies";
|
|
5
|
+
export declare const SlackBotAuthResponse: core.serialization.ObjectSchema<serializers.SlackBotAuthResponse.Raw, ElevenLabs.SlackBotAuthResponse>;
|
|
6
|
+
export declare namespace SlackBotAuthResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
name: string;
|
|
9
|
+
provider?: "Slack" | null;
|
|
10
|
+
id: string;
|
|
11
|
+
used_by?: AuthConnectionDependencies.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|