@elevenlabs/elevenlabs-js 2.8.0 → 2.9.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/Client.js +2 -2
- package/api/resources/conversationalAi/resources/conversations/client/Client.js +1 -9
- package/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +0 -9
- package/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
- package/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +1 -1
- package/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +1 -1
- package/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/api/types/ConversationSummaryResponseModelDirection.d.ts +8 -0
- package/api/types/ConversationSummaryResponseModelDirection.js +10 -0
- package/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/api/types/Llm.d.ts +9 -1
- package/api/types/Llm.js +8 -0
- package/api/types/PromptAgentApiModelInputToolsItem.d.ts +2 -1
- package/api/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -1
- package/api/types/SpeechToTextWebhookResponseModel.d.ts +9 -0
- package/api/types/SubscriptionExtrasResponseModel.d.ts +2 -2
- package/api/types/ToolRequestModelToolConfig.d.ts +2 -1
- package/api/types/ToolResponseModelToolConfig.d.ts +2 -1
- package/api/types/index.d.ts +2 -3
- package/api/types/index.js +2 -3
- package/dist/Client.js +2 -2
- package/dist/api/resources/conversationalAi/resources/conversations/client/Client.js +1 -9
- package/dist/api/resources/conversationalAi/resources/conversations/client/requests/ConversationsGetWebrtcTokenRequest.d.ts +0 -9
- package/dist/api/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/StreamTextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/TextToSpeechRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/client/requests/TextToSpeechWithTimestampsRequest.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingV1TextToSpeechVoiceIdStreamPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechStreamingWithTimestampsV1TextToSpeechVoiceIdStreamWithTimestampsPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechV1TextToSpeechVoiceIdPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/resources/textToSpeech/types/BodyTextToSpeechWithTimestampsV1TextToSpeechVoiceIdWithTimestampsPostApplyTextNormalization.d.ts +1 -1
- package/dist/api/types/ConversationSummaryResponseModel.d.ts +1 -0
- package/dist/api/types/ConversationSummaryResponseModelDirection.d.ts +8 -0
- package/dist/api/types/ConversationSummaryResponseModelDirection.js +10 -0
- package/dist/api/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/api/types/Llm.d.ts +9 -1
- package/dist/api/types/Llm.js +8 -0
- package/dist/api/types/PromptAgentApiModelInputToolsItem.d.ts +2 -1
- package/dist/api/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -1
- package/dist/api/types/SpeechToTextWebhookResponseModel.d.ts +9 -0
- package/dist/api/types/SubscriptionExtrasResponseModel.d.ts +2 -2
- package/dist/api/types/ToolRequestModelToolConfig.d.ts +2 -1
- package/dist/api/types/ToolResponseModelToolConfig.d.ts +2 -1
- package/dist/api/types/index.d.ts +2 -3
- package/dist/api/types/index.js +2 -3
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +2 -1
- package/dist/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +6 -1
- package/dist/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModel.js +2 -0
- package/dist/serialization/types/ConversationSummaryResponseModelDirection.d.ts +10 -0
- package/dist/serialization/types/ConversationSummaryResponseModelDirection.js +41 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/dist/serialization/types/FeaturesUsageCommonModel.js +1 -0
- package/dist/serialization/types/Llm.d.ts +1 -1
- package/dist/serialization/types/Llm.js +8 -0
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +2 -2
- package/dist/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -2
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -2
- package/dist/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -2
- package/dist/serialization/types/SpeechToTextWebhookResponseModel.d.ts +13 -0
- package/dist/serialization/types/{AgentBan.js → SpeechToTextWebhookResponseModel.js} +4 -6
- package/dist/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/dist/serialization/types/ToolRequestModelToolConfig.js +3 -2
- package/dist/serialization/types/ToolResponseModelToolConfig.d.ts +2 -2
- package/dist/serialization/types/ToolResponseModelToolConfig.js +3 -2
- package/dist/serialization/types/index.d.ts +2 -3
- package/dist/serialization/types/index.js +2 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +11 -11
- package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.d.ts +2 -1
- package/serialization/resources/speechToText/types/SpeechToTextConvertResponse.js +6 -1
- package/serialization/types/ConversationSummaryResponseModel.d.ts +2 -0
- package/serialization/types/ConversationSummaryResponseModel.js +2 -0
- package/serialization/types/ConversationSummaryResponseModelDirection.d.ts +10 -0
- package/serialization/types/ConversationSummaryResponseModelDirection.js +41 -0
- package/serialization/types/FeaturesUsageCommonModel.d.ts +1 -0
- package/serialization/types/FeaturesUsageCommonModel.js +1 -0
- package/serialization/types/Llm.d.ts +1 -1
- package/serialization/types/Llm.js +8 -0
- package/serialization/types/PromptAgentApiModelInputToolsItem.d.ts +2 -2
- package/serialization/types/PromptAgentApiModelInputToolsItem.js +3 -2
- package/serialization/types/PromptAgentApiModelOutputToolsItem.d.ts +2 -2
- package/serialization/types/PromptAgentApiModelOutputToolsItem.js +3 -2
- package/serialization/types/SpeechToTextWebhookResponseModel.d.ts +13 -0
- package/serialization/types/{AgentBan.js → SpeechToTextWebhookResponseModel.js} +4 -6
- package/serialization/types/ToolRequestModelToolConfig.d.ts +2 -2
- package/serialization/types/ToolRequestModelToolConfig.js +3 -2
- package/serialization/types/ToolResponseModelToolConfig.d.ts +2 -2
- package/serialization/types/ToolResponseModelToolConfig.js +3 -2
- package/serialization/types/index.d.ts +2 -3
- package/serialization/types/index.js +2 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/AgentBan.d.ts +0 -9
- package/api/types/McpToolConfigInput.d.ts +0 -35
- package/api/types/McpToolConfigOutput.d.ts +0 -35
- package/api/types/McpToolConfigOutput.js +0 -5
- package/dist/api/types/AgentBan.d.ts +0 -9
- package/dist/api/types/AgentBan.js +0 -5
- package/dist/api/types/McpToolConfigInput.d.ts +0 -35
- package/dist/api/types/McpToolConfigInput.js +0 -5
- package/dist/api/types/McpToolConfigOutput.d.ts +0 -35
- package/dist/api/types/McpToolConfigOutput.js +0 -5
- package/dist/serialization/types/AgentBan.d.ts +0 -15
- package/dist/serialization/types/McpToolConfigInput.d.ts +0 -28
- package/dist/serialization/types/McpToolConfigInput.js +0 -60
- package/dist/serialization/types/McpToolConfigOutput.d.ts +0 -28
- package/dist/serialization/types/McpToolConfigOutput.js +0 -60
- package/serialization/types/AgentBan.d.ts +0 -15
- package/serialization/types/McpToolConfigInput.d.ts +0 -28
- package/serialization/types/McpToolConfigInput.js +0 -60
- package/serialization/types/McpToolConfigOutput.d.ts +0 -28
- package/serialization/types/McpToolConfigOutput.js +0 -60
- /package/api/types/{AgentBan.js → SpeechToTextWebhookResponseModel.js} +0 -0
- /package/{api/types/McpToolConfigInput.js → dist/api/types/SpeechToTextWebhookResponseModel.js} +0 -0
package/dist/api/types/Llm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type Llm = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-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" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "watt-tool-8b" | "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-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "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";
|
|
4
|
+
export type Llm = "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-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" | "claude-sonnet-4" | "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" | "watt-tool-8b" | "watt-tool-70b" | "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-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-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";
|
|
5
5
|
export declare const Llm: {
|
|
6
6
|
readonly Gpt4OMini: "gpt-4o-mini";
|
|
7
7
|
readonly Gpt4O: "gpt-4o";
|
|
@@ -10,6 +10,9 @@ export declare const Llm: {
|
|
|
10
10
|
readonly Gpt41: "gpt-4.1";
|
|
11
11
|
readonly Gpt41Mini: "gpt-4.1-mini";
|
|
12
12
|
readonly Gpt41Nano: "gpt-4.1-nano";
|
|
13
|
+
readonly Gpt5: "gpt-5";
|
|
14
|
+
readonly Gpt5Mini: "gpt-5-mini";
|
|
15
|
+
readonly Gpt5Nano: "gpt-5-nano";
|
|
13
16
|
readonly Gpt35Turbo: "gpt-3.5-turbo";
|
|
14
17
|
readonly Gemini15Pro: "gemini-1.5-pro";
|
|
15
18
|
readonly Gemini15Flash: "gemini-1.5-flash";
|
|
@@ -25,7 +28,9 @@ export declare const Llm: {
|
|
|
25
28
|
readonly GrokBeta: "grok-beta";
|
|
26
29
|
readonly CustomLlm: "custom-llm";
|
|
27
30
|
readonly Qwen34B: "qwen3-4b";
|
|
31
|
+
readonly Qwen330Ba3B: "qwen3-30b-a3b";
|
|
28
32
|
readonly WattTool8B: "watt-tool-8b";
|
|
33
|
+
readonly WattTool70B: "watt-tool-70b";
|
|
29
34
|
readonly Gemini25FlashPreview0520: "gemini-2.5-flash-preview-05-20";
|
|
30
35
|
readonly Gemini25FlashPreview0417: "gemini-2.5-flash-preview-04-17";
|
|
31
36
|
readonly Gemini25FlashLitePreview0617: "gemini-2.5-flash-lite-preview-06-17";
|
|
@@ -40,6 +45,9 @@ export declare const Llm: {
|
|
|
40
45
|
readonly Claude35Sonnet20240620: "claude-3-5-sonnet@20240620";
|
|
41
46
|
readonly Claude35SonnetV220241022: "claude-3-5-sonnet-v2@20241022";
|
|
42
47
|
readonly Claude3Haiku20240307: "claude-3-haiku@20240307";
|
|
48
|
+
readonly Gpt520250807: "gpt-5-2025-08-07";
|
|
49
|
+
readonly Gpt5Mini20250807: "gpt-5-mini-2025-08-07";
|
|
50
|
+
readonly Gpt5Nano20250807: "gpt-5-nano-2025-08-07";
|
|
43
51
|
readonly Gpt4120250414: "gpt-4.1-2025-04-14";
|
|
44
52
|
readonly Gpt41Mini20250414: "gpt-4.1-mini-2025-04-14";
|
|
45
53
|
readonly Gpt41Nano20250414: "gpt-4.1-nano-2025-04-14";
|
package/dist/api/types/Llm.js
CHANGED
|
@@ -12,6 +12,9 @@ exports.Llm = {
|
|
|
12
12
|
Gpt41: "gpt-4.1",
|
|
13
13
|
Gpt41Mini: "gpt-4.1-mini",
|
|
14
14
|
Gpt41Nano: "gpt-4.1-nano",
|
|
15
|
+
Gpt5: "gpt-5",
|
|
16
|
+
Gpt5Mini: "gpt-5-mini",
|
|
17
|
+
Gpt5Nano: "gpt-5-nano",
|
|
15
18
|
Gpt35Turbo: "gpt-3.5-turbo",
|
|
16
19
|
Gemini15Pro: "gemini-1.5-pro",
|
|
17
20
|
Gemini15Flash: "gemini-1.5-flash",
|
|
@@ -27,7 +30,9 @@ exports.Llm = {
|
|
|
27
30
|
GrokBeta: "grok-beta",
|
|
28
31
|
CustomLlm: "custom-llm",
|
|
29
32
|
Qwen34B: "qwen3-4b",
|
|
33
|
+
Qwen330Ba3B: "qwen3-30b-a3b",
|
|
30
34
|
WattTool8B: "watt-tool-8b",
|
|
35
|
+
WattTool70B: "watt-tool-70b",
|
|
31
36
|
Gemini25FlashPreview0520: "gemini-2.5-flash-preview-05-20",
|
|
32
37
|
Gemini25FlashPreview0417: "gemini-2.5-flash-preview-04-17",
|
|
33
38
|
Gemini25FlashLitePreview0617: "gemini-2.5-flash-lite-preview-06-17",
|
|
@@ -42,6 +47,9 @@ exports.Llm = {
|
|
|
42
47
|
Claude35Sonnet20240620: "claude-3-5-sonnet@20240620",
|
|
43
48
|
Claude35SonnetV220241022: "claude-3-5-sonnet-v2@20241022",
|
|
44
49
|
Claude3Haiku20240307: "claude-3-haiku@20240307",
|
|
50
|
+
Gpt520250807: "gpt-5-2025-08-07",
|
|
51
|
+
Gpt5Mini20250807: "gpt-5-mini-2025-08-07",
|
|
52
|
+
Gpt5Nano20250807: "gpt-5-nano-2025-08-07",
|
|
45
53
|
Gpt4120250414: "gpt-4.1-2025-04-14",
|
|
46
54
|
Gpt41Mini20250414: "gpt-4.1-mini-2025-04-14",
|
|
47
55
|
Gpt41Nano20250414: "gpt-4.1-nano-2025-04-14",
|
|
@@ -10,8 +10,9 @@ export declare namespace PromptAgentApiModelInputToolsItem {
|
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp
|
|
13
|
+
interface Mcp {
|
|
14
14
|
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
15
16
|
}
|
|
16
17
|
interface System extends ElevenLabs.SystemToolConfigInput {
|
|
17
18
|
type: "system";
|
|
@@ -10,8 +10,9 @@ export declare namespace PromptAgentApiModelOutputToolsItem {
|
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp
|
|
13
|
+
interface Mcp {
|
|
14
14
|
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
15
16
|
}
|
|
16
17
|
interface System extends ElevenLabs.SystemToolConfigOutput {
|
|
17
18
|
type: "system";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface SpeechToTextWebhookResponseModel {
|
|
5
|
+
/** The message of the webhook response. */
|
|
6
|
+
message: string;
|
|
7
|
+
/** The request ID of the webhook response. */
|
|
8
|
+
requestId: string;
|
|
9
|
+
}
|
|
@@ -7,9 +7,9 @@ export interface SubscriptionExtrasResponseModel {
|
|
|
7
7
|
concurrency: number;
|
|
8
8
|
/** The Convai concurrency of the user. */
|
|
9
9
|
convaiConcurrency: number;
|
|
10
|
-
/** The Convai characters per minute of the user. */
|
|
10
|
+
/** The Convai characters per minute of the user. This field is deprecated and will always return None. */
|
|
11
11
|
convaiCharsPerMinute?: number;
|
|
12
|
-
/** The Convai ASR characters per minute of the user. */
|
|
12
|
+
/** The Convai ASR characters per minute of the user. This field is deprecated and will always return None. */
|
|
13
13
|
convaiAsrCharsPerMinute?: number;
|
|
14
14
|
/** Whether the user's logging is disabled. */
|
|
15
15
|
forceLoggingDisabled: boolean;
|
|
@@ -10,8 +10,9 @@ export declare namespace ToolRequestModelToolConfig {
|
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigInput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp
|
|
13
|
+
interface Mcp {
|
|
14
14
|
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
15
16
|
}
|
|
16
17
|
interface System extends ElevenLabs.SystemToolConfigInput {
|
|
17
18
|
type: "system";
|
|
@@ -10,8 +10,9 @@ export declare namespace ToolResponseModelToolConfig {
|
|
|
10
10
|
interface Client extends ElevenLabs.ClientToolConfigOutput {
|
|
11
11
|
type: "client";
|
|
12
12
|
}
|
|
13
|
-
interface Mcp
|
|
13
|
+
interface Mcp {
|
|
14
14
|
type: "mcp";
|
|
15
|
+
value?: unknown;
|
|
15
16
|
}
|
|
16
17
|
interface System extends ElevenLabs.SystemToolConfigOutput {
|
|
17
18
|
type: "system";
|
|
@@ -14,7 +14,6 @@ export * from "./AddWorkspaceGroupMemberResponseModel";
|
|
|
14
14
|
export * from "./AddWorkspaceInviteResponseModel";
|
|
15
15
|
export * from "./AdditionalFormatResponseModel";
|
|
16
16
|
export * from "./AdditionalFormats";
|
|
17
|
-
export * from "./AgentBan";
|
|
18
17
|
export * from "./AgentCallLimits";
|
|
19
18
|
export * from "./AgentConfig";
|
|
20
19
|
export * from "./AgentConfigOverride";
|
|
@@ -156,6 +155,7 @@ export * from "./ConversationSignedUrlResponseModel";
|
|
|
156
155
|
export * from "./ConversationSimulationSpecificationDynamicVariablesValue";
|
|
157
156
|
export * from "./ConversationSimulationSpecification";
|
|
158
157
|
export * from "./ConversationSummaryResponseModelStatus";
|
|
158
|
+
export * from "./ConversationSummaryResponseModelDirection";
|
|
159
159
|
export * from "./ConversationSummaryResponseModel";
|
|
160
160
|
export * from "./ConversationTokenDbModel";
|
|
161
161
|
export * from "./ConversationTokenPurpose";
|
|
@@ -321,8 +321,6 @@ export * from "./McpServerTransport";
|
|
|
321
321
|
export * from "./McpServersResponseModel";
|
|
322
322
|
export * from "./McpToolApprovalHash";
|
|
323
323
|
export * from "./McpToolApprovalPolicy";
|
|
324
|
-
export * from "./McpToolConfigInput";
|
|
325
|
-
export * from "./McpToolConfigOutput";
|
|
326
324
|
export * from "./ManualVerificationFileResponse";
|
|
327
325
|
export * from "./ManualVerificationResponse";
|
|
328
326
|
export * from "./MetricRecord";
|
|
@@ -453,6 +451,7 @@ export * from "./SpeechHistoryItemResponseModelSource";
|
|
|
453
451
|
export * from "./SpeechHistoryItemResponse";
|
|
454
452
|
export * from "./SpeechToTextCharacterResponseModel";
|
|
455
453
|
export * from "./SpeechToTextChunkResponseModel";
|
|
454
|
+
export * from "./SpeechToTextWebhookResponseModel";
|
|
456
455
|
export * from "./SpeechToTextWordResponseModelType";
|
|
457
456
|
export * from "./SpeechToTextWordResponseModel";
|
|
458
457
|
export * from "./SrtExportOptions";
|
package/dist/api/types/index.js
CHANGED
|
@@ -30,7 +30,6 @@ __exportStar(require("./AddWorkspaceGroupMemberResponseModel"), exports);
|
|
|
30
30
|
__exportStar(require("./AddWorkspaceInviteResponseModel"), exports);
|
|
31
31
|
__exportStar(require("./AdditionalFormatResponseModel"), exports);
|
|
32
32
|
__exportStar(require("./AdditionalFormats"), exports);
|
|
33
|
-
__exportStar(require("./AgentBan"), exports);
|
|
34
33
|
__exportStar(require("./AgentCallLimits"), exports);
|
|
35
34
|
__exportStar(require("./AgentConfig"), exports);
|
|
36
35
|
__exportStar(require("./AgentConfigOverride"), exports);
|
|
@@ -172,6 +171,7 @@ __exportStar(require("./ConversationSignedUrlResponseModel"), exports);
|
|
|
172
171
|
__exportStar(require("./ConversationSimulationSpecificationDynamicVariablesValue"), exports);
|
|
173
172
|
__exportStar(require("./ConversationSimulationSpecification"), exports);
|
|
174
173
|
__exportStar(require("./ConversationSummaryResponseModelStatus"), exports);
|
|
174
|
+
__exportStar(require("./ConversationSummaryResponseModelDirection"), exports);
|
|
175
175
|
__exportStar(require("./ConversationSummaryResponseModel"), exports);
|
|
176
176
|
__exportStar(require("./ConversationTokenDbModel"), exports);
|
|
177
177
|
__exportStar(require("./ConversationTokenPurpose"), exports);
|
|
@@ -337,8 +337,6 @@ __exportStar(require("./McpServerTransport"), exports);
|
|
|
337
337
|
__exportStar(require("./McpServersResponseModel"), exports);
|
|
338
338
|
__exportStar(require("./McpToolApprovalHash"), exports);
|
|
339
339
|
__exportStar(require("./McpToolApprovalPolicy"), exports);
|
|
340
|
-
__exportStar(require("./McpToolConfigInput"), exports);
|
|
341
|
-
__exportStar(require("./McpToolConfigOutput"), exports);
|
|
342
340
|
__exportStar(require("./ManualVerificationFileResponse"), exports);
|
|
343
341
|
__exportStar(require("./ManualVerificationResponse"), exports);
|
|
344
342
|
__exportStar(require("./MetricRecord"), exports);
|
|
@@ -469,6 +467,7 @@ __exportStar(require("./SpeechHistoryItemResponseModelSource"), exports);
|
|
|
469
467
|
__exportStar(require("./SpeechHistoryItemResponse"), exports);
|
|
470
468
|
__exportStar(require("./SpeechToTextCharacterResponseModel"), exports);
|
|
471
469
|
__exportStar(require("./SpeechToTextChunkResponseModel"), exports);
|
|
470
|
+
__exportStar(require("./SpeechToTextWebhookResponseModel"), exports);
|
|
472
471
|
__exportStar(require("./SpeechToTextWordResponseModelType"), exports);
|
|
473
472
|
__exportStar(require("./SpeechToTextWordResponseModel"), exports);
|
|
474
473
|
__exportStar(require("./SrtExportOptions"), exports);
|
|
@@ -6,7 +6,8 @@ import * as ElevenLabs from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
import { SpeechToTextChunkResponseModel } from "../../../types/SpeechToTextChunkResponseModel";
|
|
8
8
|
import { MultichannelSpeechToTextResponseModel } from "../../../types/MultichannelSpeechToTextResponseModel";
|
|
9
|
+
import { SpeechToTextWebhookResponseModel } from "../../../types/SpeechToTextWebhookResponseModel";
|
|
9
10
|
export declare const SpeechToTextConvertResponse: core.serialization.Schema<serializers.SpeechToTextConvertResponse.Raw, ElevenLabs.SpeechToTextConvertResponse>;
|
|
10
11
|
export declare namespace SpeechToTextConvertResponse {
|
|
11
|
-
type Raw = SpeechToTextChunkResponseModel.Raw | MultichannelSpeechToTextResponseModel.Raw;
|
|
12
|
+
type Raw = SpeechToTextChunkResponseModel.Raw | MultichannelSpeechToTextResponseModel.Raw | SpeechToTextWebhookResponseModel.Raw;
|
|
12
13
|
}
|
|
@@ -40,4 +40,9 @@ exports.SpeechToTextConvertResponse = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
41
|
const SpeechToTextChunkResponseModel_1 = require("../../../types/SpeechToTextChunkResponseModel");
|
|
42
42
|
const MultichannelSpeechToTextResponseModel_1 = require("../../../types/MultichannelSpeechToTextResponseModel");
|
|
43
|
-
|
|
43
|
+
const SpeechToTextWebhookResponseModel_1 = require("../../../types/SpeechToTextWebhookResponseModel");
|
|
44
|
+
exports.SpeechToTextConvertResponse = core.serialization.undiscriminatedUnion([
|
|
45
|
+
SpeechToTextChunkResponseModel_1.SpeechToTextChunkResponseModel,
|
|
46
|
+
MultichannelSpeechToTextResponseModel_1.MultichannelSpeechToTextResponseModel,
|
|
47
|
+
SpeechToTextWebhookResponseModel_1.SpeechToTextWebhookResponseModel,
|
|
48
|
+
]);
|
|
@@ -6,6 +6,7 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ConversationSummaryResponseModelStatus } from "./ConversationSummaryResponseModelStatus";
|
|
8
8
|
import { EvaluationSuccessResult } from "./EvaluationSuccessResult";
|
|
9
|
+
import { ConversationSummaryResponseModelDirection } from "./ConversationSummaryResponseModelDirection";
|
|
9
10
|
export declare const ConversationSummaryResponseModel: core.serialization.ObjectSchema<serializers.ConversationSummaryResponseModel.Raw, ElevenLabs.ConversationSummaryResponseModel>;
|
|
10
11
|
export declare namespace ConversationSummaryResponseModel {
|
|
11
12
|
interface Raw {
|
|
@@ -19,5 +20,6 @@ export declare namespace ConversationSummaryResponseModel {
|
|
|
19
20
|
call_successful: EvaluationSuccessResult.Raw;
|
|
20
21
|
transcript_summary?: string | null;
|
|
21
22
|
call_summary_title?: string | null;
|
|
23
|
+
direction?: ConversationSummaryResponseModelDirection.Raw | null;
|
|
22
24
|
}
|
|
23
25
|
}
|
|
@@ -40,6 +40,7 @@ exports.ConversationSummaryResponseModel = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ConversationSummaryResponseModelStatus_1 = require("./ConversationSummaryResponseModelStatus");
|
|
42
42
|
const EvaluationSuccessResult_1 = require("./EvaluationSuccessResult");
|
|
43
|
+
const ConversationSummaryResponseModelDirection_1 = require("./ConversationSummaryResponseModelDirection");
|
|
43
44
|
exports.ConversationSummaryResponseModel = core.serialization.object({
|
|
44
45
|
agentId: core.serialization.property("agent_id", core.serialization.string()),
|
|
45
46
|
agentName: core.serialization.property("agent_name", core.serialization.string().optional()),
|
|
@@ -51,4 +52,5 @@ exports.ConversationSummaryResponseModel = core.serialization.object({
|
|
|
51
52
|
callSuccessful: core.serialization.property("call_successful", EvaluationSuccessResult_1.EvaluationSuccessResult),
|
|
52
53
|
transcriptSummary: core.serialization.property("transcript_summary", core.serialization.string().optional()),
|
|
53
54
|
callSummaryTitle: core.serialization.property("call_summary_title", core.serialization.string().optional()),
|
|
55
|
+
direction: ConversationSummaryResponseModelDirection_1.ConversationSummaryResponseModelDirection.optional(),
|
|
54
56
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const ConversationSummaryResponseModelDirection: core.serialization.Schema<serializers.ConversationSummaryResponseModelDirection.Raw, ElevenLabs.ConversationSummaryResponseModelDirection>;
|
|
8
|
+
export declare namespace ConversationSummaryResponseModelDirection {
|
|
9
|
+
type Raw = "inbound" | "outbound";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.ConversationSummaryResponseModelDirection = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.ConversationSummaryResponseModelDirection = core.serialization.enum_(["inbound", "outbound"]);
|
|
@@ -50,4 +50,5 @@ exports.FeaturesUsageCommonModel = core.serialization.object({
|
|
|
50
50
|
piiZrmAgent: core.serialization.property("pii_zrm_agent", core.serialization.boolean().optional()),
|
|
51
51
|
toolDynamicVariableUpdates: core.serialization.property("tool_dynamic_variable_updates", FeatureStatusCommonModel_1.FeatureStatusCommonModel.optional()),
|
|
52
52
|
isLivekit: core.serialization.property("is_livekit", core.serialization.boolean().optional()),
|
|
53
|
+
voicemailDetection: core.serialization.property("voicemail_detection", FeatureStatusCommonModel_1.FeatureStatusCommonModel.optional()),
|
|
53
54
|
});
|
|
@@ -6,5 +6,5 @@ import * as ElevenLabs from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const Llm: core.serialization.Schema<serializers.Llm.Raw, ElevenLabs.Llm>;
|
|
8
8
|
export declare namespace Llm {
|
|
9
|
-
type Raw = "gpt-4o-mini" | "gpt-4o" | "gpt-4" | "gpt-4-turbo" | "gpt-4.1" | "gpt-4.1-mini" | "gpt-4.1-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" | "claude-sonnet-4" | "claude-3-7-sonnet" | "claude-3-5-sonnet" | "claude-3-5-sonnet-v1" | "claude-3-haiku" | "grok-beta" | "custom-llm" | "qwen3-4b" | "watt-tool-8b" | "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-3-7-sonnet@20250219" | "claude-3-5-sonnet@20240620" | "claude-3-5-sonnet-v2@20241022" | "claude-3-haiku@20240307" | "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";
|
|
9
|
+
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-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" | "claude-sonnet-4" | "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" | "watt-tool-8b" | "watt-tool-70b" | "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-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-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";
|
|
10
10
|
}
|
|
@@ -46,6 +46,9 @@ exports.Llm = core.serialization.enum_([
|
|
|
46
46
|
"gpt-4.1",
|
|
47
47
|
"gpt-4.1-mini",
|
|
48
48
|
"gpt-4.1-nano",
|
|
49
|
+
"gpt-5",
|
|
50
|
+
"gpt-5-mini",
|
|
51
|
+
"gpt-5-nano",
|
|
49
52
|
"gpt-3.5-turbo",
|
|
50
53
|
"gemini-1.5-pro",
|
|
51
54
|
"gemini-1.5-flash",
|
|
@@ -61,7 +64,9 @@ exports.Llm = core.serialization.enum_([
|
|
|
61
64
|
"grok-beta",
|
|
62
65
|
"custom-llm",
|
|
63
66
|
"qwen3-4b",
|
|
67
|
+
"qwen3-30b-a3b",
|
|
64
68
|
"watt-tool-8b",
|
|
69
|
+
"watt-tool-70b",
|
|
65
70
|
"gemini-2.5-flash-preview-05-20",
|
|
66
71
|
"gemini-2.5-flash-preview-04-17",
|
|
67
72
|
"gemini-2.5-flash-lite-preview-06-17",
|
|
@@ -76,6 +81,9 @@ exports.Llm = core.serialization.enum_([
|
|
|
76
81
|
"claude-3-5-sonnet@20240620",
|
|
77
82
|
"claude-3-5-sonnet-v2@20241022",
|
|
78
83
|
"claude-3-haiku@20240307",
|
|
84
|
+
"gpt-5-2025-08-07",
|
|
85
|
+
"gpt-5-mini-2025-08-07",
|
|
86
|
+
"gpt-5-nano-2025-08-07",
|
|
79
87
|
"gpt-4.1-2025-04-14",
|
|
80
88
|
"gpt-4.1-mini-2025-04-14",
|
|
81
89
|
"gpt-4.1-nano-2025-04-14",
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigInput } from "./ClientToolConfigInput";
|
|
8
|
-
import { McpToolConfigInput } from "./McpToolConfigInput";
|
|
9
8
|
import { SystemToolConfigInput } from "./SystemToolConfigInput";
|
|
10
9
|
import { WebhookToolConfigInput } from "./WebhookToolConfigInput";
|
|
11
10
|
export declare const PromptAgentApiModelInputToolsItem: core.serialization.Schema<serializers.PromptAgentApiModelInputToolsItem.Raw, ElevenLabs.PromptAgentApiModelInputToolsItem>;
|
|
@@ -14,8 +13,9 @@ export declare namespace PromptAgentApiModelInputToolsItem {
|
|
|
14
13
|
interface Client extends ClientToolConfigInput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigInput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.PromptAgentApiModelInputToolsItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigInput_1 = require("./ClientToolConfigInput");
|
|
42
|
-
const McpToolConfigInput_1 = require("./McpToolConfigInput");
|
|
43
42
|
const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
|
|
44
43
|
const WebhookToolConfigInput_1 = require("./WebhookToolConfigInput");
|
|
45
44
|
exports.PromptAgentApiModelInputToolsItem = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigInput_1.ClientToolConfigInput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigInput_1.SystemToolConfigInput,
|
|
50
51
|
webhook: WebhookToolConfigInput_1.WebhookToolConfigInput,
|
|
51
52
|
})
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigOutput } from "./ClientToolConfigOutput";
|
|
8
|
-
import { McpToolConfigOutput } from "./McpToolConfigOutput";
|
|
9
8
|
import { SystemToolConfigOutput } from "./SystemToolConfigOutput";
|
|
10
9
|
import { WebhookToolConfigOutput } from "./WebhookToolConfigOutput";
|
|
11
10
|
export declare const PromptAgentApiModelOutputToolsItem: core.serialization.Schema<serializers.PromptAgentApiModelOutputToolsItem.Raw, ElevenLabs.PromptAgentApiModelOutputToolsItem>;
|
|
@@ -14,8 +13,9 @@ export declare namespace PromptAgentApiModelOutputToolsItem {
|
|
|
14
13
|
interface Client extends ClientToolConfigOutput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigOutput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.PromptAgentApiModelOutputToolsItem = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigOutput_1 = require("./ClientToolConfigOutput");
|
|
42
|
-
const McpToolConfigOutput_1 = require("./McpToolConfigOutput");
|
|
43
42
|
const SystemToolConfigOutput_1 = require("./SystemToolConfigOutput");
|
|
44
43
|
const WebhookToolConfigOutput_1 = require("./WebhookToolConfigOutput");
|
|
45
44
|
exports.PromptAgentApiModelOutputToolsItem = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigOutput_1.ClientToolConfigOutput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigOutput_1.SystemToolConfigOutput,
|
|
50
51
|
webhook: WebhookToolConfigOutput_1.WebhookToolConfigOutput,
|
|
51
52
|
})
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as ElevenLabs from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SpeechToTextWebhookResponseModel: core.serialization.ObjectSchema<serializers.SpeechToTextWebhookResponseModel.Raw, ElevenLabs.SpeechToTextWebhookResponseModel>;
|
|
8
|
+
export declare namespace SpeechToTextWebhookResponseModel {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message: string;
|
|
11
|
+
request_id: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -36,11 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.SpeechToTextWebhookResponseModel = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
reason: core.serialization.string().optional(),
|
|
45
|
-
reasonType: core.serialization.property("reason_type", BanReasonType_1.BanReasonType),
|
|
41
|
+
exports.SpeechToTextWebhookResponseModel = core.serialization.object({
|
|
42
|
+
message: core.serialization.string(),
|
|
43
|
+
requestId: core.serialization.property("request_id", core.serialization.string()),
|
|
46
44
|
});
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigInput } from "./ClientToolConfigInput";
|
|
8
|
-
import { McpToolConfigInput } from "./McpToolConfigInput";
|
|
9
8
|
import { SystemToolConfigInput } from "./SystemToolConfigInput";
|
|
10
9
|
import { WebhookToolConfigInput } from "./WebhookToolConfigInput";
|
|
11
10
|
export declare const ToolRequestModelToolConfig: core.serialization.Schema<serializers.ToolRequestModelToolConfig.Raw, ElevenLabs.ToolRequestModelToolConfig>;
|
|
@@ -14,8 +13,9 @@ export declare namespace ToolRequestModelToolConfig {
|
|
|
14
13
|
interface Client extends ClientToolConfigInput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigInput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ToolRequestModelToolConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigInput_1 = require("./ClientToolConfigInput");
|
|
42
|
-
const McpToolConfigInput_1 = require("./McpToolConfigInput");
|
|
43
42
|
const SystemToolConfigInput_1 = require("./SystemToolConfigInput");
|
|
44
43
|
const WebhookToolConfigInput_1 = require("./WebhookToolConfigInput");
|
|
45
44
|
exports.ToolRequestModelToolConfig = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigInput_1.ClientToolConfigInput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigInput_1.SystemToolConfigInput,
|
|
50
51
|
webhook: WebhookToolConfigInput_1.WebhookToolConfigInput,
|
|
51
52
|
})
|
|
@@ -5,7 +5,6 @@ import * as serializers from "../index";
|
|
|
5
5
|
import * as ElevenLabs from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { ClientToolConfigOutput } from "./ClientToolConfigOutput";
|
|
8
|
-
import { McpToolConfigOutput } from "./McpToolConfigOutput";
|
|
9
8
|
import { SystemToolConfigOutput } from "./SystemToolConfigOutput";
|
|
10
9
|
import { WebhookToolConfigOutput } from "./WebhookToolConfigOutput";
|
|
11
10
|
export declare const ToolResponseModelToolConfig: core.serialization.Schema<serializers.ToolResponseModelToolConfig.Raw, ElevenLabs.ToolResponseModelToolConfig>;
|
|
@@ -14,8 +13,9 @@ export declare namespace ToolResponseModelToolConfig {
|
|
|
14
13
|
interface Client extends ClientToolConfigOutput.Raw {
|
|
15
14
|
type: "client";
|
|
16
15
|
}
|
|
17
|
-
interface Mcp
|
|
16
|
+
interface Mcp {
|
|
18
17
|
type: "mcp";
|
|
18
|
+
value?: unknown;
|
|
19
19
|
}
|
|
20
20
|
interface System extends SystemToolConfigOutput.Raw {
|
|
21
21
|
type: "system";
|
|
@@ -39,13 +39,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ToolResponseModelToolConfig = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
const ClientToolConfigOutput_1 = require("./ClientToolConfigOutput");
|
|
42
|
-
const McpToolConfigOutput_1 = require("./McpToolConfigOutput");
|
|
43
42
|
const SystemToolConfigOutput_1 = require("./SystemToolConfigOutput");
|
|
44
43
|
const WebhookToolConfigOutput_1 = require("./WebhookToolConfigOutput");
|
|
45
44
|
exports.ToolResponseModelToolConfig = core.serialization
|
|
46
45
|
.union("type", {
|
|
47
46
|
client: ClientToolConfigOutput_1.ClientToolConfigOutput,
|
|
48
|
-
mcp:
|
|
47
|
+
mcp: core.serialization.object({
|
|
48
|
+
value: core.serialization.unknown(),
|
|
49
|
+
}),
|
|
49
50
|
system: SystemToolConfigOutput_1.SystemToolConfigOutput,
|
|
50
51
|
webhook: WebhookToolConfigOutput_1.WebhookToolConfigOutput,
|
|
51
52
|
})
|
|
@@ -14,7 +14,6 @@ export * from "./AddWorkspaceGroupMemberResponseModel";
|
|
|
14
14
|
export * from "./AddWorkspaceInviteResponseModel";
|
|
15
15
|
export * from "./AdditionalFormatResponseModel";
|
|
16
16
|
export * from "./AdditionalFormats";
|
|
17
|
-
export * from "./AgentBan";
|
|
18
17
|
export * from "./AgentCallLimits";
|
|
19
18
|
export * from "./AgentConfig";
|
|
20
19
|
export * from "./AgentConfigOverride";
|
|
@@ -156,6 +155,7 @@ export * from "./ConversationSignedUrlResponseModel";
|
|
|
156
155
|
export * from "./ConversationSimulationSpecificationDynamicVariablesValue";
|
|
157
156
|
export * from "./ConversationSimulationSpecification";
|
|
158
157
|
export * from "./ConversationSummaryResponseModelStatus";
|
|
158
|
+
export * from "./ConversationSummaryResponseModelDirection";
|
|
159
159
|
export * from "./ConversationSummaryResponseModel";
|
|
160
160
|
export * from "./ConversationTokenDbModel";
|
|
161
161
|
export * from "./ConversationTokenPurpose";
|
|
@@ -321,8 +321,6 @@ export * from "./McpServerTransport";
|
|
|
321
321
|
export * from "./McpServersResponseModel";
|
|
322
322
|
export * from "./McpToolApprovalHash";
|
|
323
323
|
export * from "./McpToolApprovalPolicy";
|
|
324
|
-
export * from "./McpToolConfigInput";
|
|
325
|
-
export * from "./McpToolConfigOutput";
|
|
326
324
|
export * from "./ManualVerificationFileResponse";
|
|
327
325
|
export * from "./ManualVerificationResponse";
|
|
328
326
|
export * from "./MetricRecord";
|
|
@@ -453,6 +451,7 @@ export * from "./SpeechHistoryItemResponseModelSource";
|
|
|
453
451
|
export * from "./SpeechHistoryItemResponse";
|
|
454
452
|
export * from "./SpeechToTextCharacterResponseModel";
|
|
455
453
|
export * from "./SpeechToTextChunkResponseModel";
|
|
454
|
+
export * from "./SpeechToTextWebhookResponseModel";
|
|
456
455
|
export * from "./SpeechToTextWordResponseModelType";
|
|
457
456
|
export * from "./SpeechToTextWordResponseModel";
|
|
458
457
|
export * from "./SrtExportOptions";
|