@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
|
@@ -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);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.9.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elevenlabs/elevenlabs-js",
|
|
3
|
-
"version": "v2.
|
|
3
|
+
"version": "v2.9.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": "github:elevenlabs/elevenlabs-js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,24 +16,24 @@
|
|
|
16
16
|
"test:wire": "jest --selectProjects wire"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
19
|
+
"node-fetch": "^2.7.0",
|
|
20
|
+
"command-exists": "^1.2.9"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@jest/globals": "^29.7.0",
|
|
24
|
-
"@types/command-exists": "^1.2.3",
|
|
25
|
-
"@types/jest": "^29.5.5",
|
|
26
|
-
"@types/node": "^18.19.70",
|
|
27
23
|
"@types/node-fetch": "^2.6.12",
|
|
28
|
-
"
|
|
24
|
+
"webpack": "^5.97.1",
|
|
25
|
+
"ts-loader": "^9.5.1",
|
|
29
26
|
"jest": "^29.7.0",
|
|
27
|
+
"@jest/globals": "^29.7.0",
|
|
28
|
+
"@types/jest": "^29.5.5",
|
|
29
|
+
"ts-jest": "^29.1.1",
|
|
30
30
|
"jest-environment-jsdom": "^29.7.0",
|
|
31
31
|
"msw": "^2.8.4",
|
|
32
|
+
"@types/node": "^18.19.70",
|
|
32
33
|
"prettier": "^3.4.2",
|
|
33
|
-
"ts-jest": "^29.1.1",
|
|
34
|
-
"ts-loader": "^9.5.1",
|
|
35
34
|
"typescript": "~5.7.2",
|
|
36
|
-
"
|
|
35
|
+
"@types/command-exists": "^1.2.3",
|
|
36
|
+
"@types/ws": "^8.18.1"
|
|
37
37
|
},
|
|
38
38
|
"browser": {
|
|
39
39
|
"fs": false,
|
|
@@ -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";
|
|
@@ -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);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.9.0";
|
package/version.js
CHANGED
package/api/types/AgentBan.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as ElevenLabs from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* An MCP tool configuration that can be used to call MCP servers
|
|
7
|
-
*/
|
|
8
|
-
export interface McpToolConfigInput {
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
/** The maximum time in seconds to wait for the tool call to complete. */
|
|
12
|
-
responseTimeoutSecs?: number;
|
|
13
|
-
/** If true, the user will not be able to interrupt the agent while this tool is running. */
|
|
14
|
-
disableInterruptions?: boolean;
|
|
15
|
-
/** If true, the agent will speak before the tool call. */
|
|
16
|
-
forcePreToolSpeech?: boolean;
|
|
17
|
-
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
18
|
-
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
19
|
-
/** The type of MCP tool */
|
|
20
|
-
integrationType: ElevenLabs.IntegrationType;
|
|
21
|
-
/** Schema for any parameters the LLM needs to provide to the MCP tool. */
|
|
22
|
-
parameters?: ElevenLabs.ObjectJsonSchemaPropertyInput;
|
|
23
|
-
/** The approval policy for the MCP tool */
|
|
24
|
-
approvalPolicy?: ElevenLabs.McpApprovalPolicy;
|
|
25
|
-
/** The name of the MCP tool to call */
|
|
26
|
-
mcpToolName: string;
|
|
27
|
-
/** The description of the MCP tool to call */
|
|
28
|
-
mcpToolDescription: string;
|
|
29
|
-
/** The id of the MCP server to call */
|
|
30
|
-
mcpServerId: string;
|
|
31
|
-
/** The name of the MCP server to call */
|
|
32
|
-
mcpServerName: string;
|
|
33
|
-
/** Original inputSchema dict for consistent hashing (pure MCP format) */
|
|
34
|
-
mcpInputSchema?: Record<string, unknown>;
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as ElevenLabs from "../index";
|
|
5
|
-
/**
|
|
6
|
-
* An MCP tool configuration that can be used to call MCP servers
|
|
7
|
-
*/
|
|
8
|
-
export interface McpToolConfigOutput {
|
|
9
|
-
name: string;
|
|
10
|
-
description: string;
|
|
11
|
-
/** The maximum time in seconds to wait for the tool call to complete. */
|
|
12
|
-
responseTimeoutSecs?: number;
|
|
13
|
-
/** If true, the user will not be able to interrupt the agent while this tool is running. */
|
|
14
|
-
disableInterruptions?: boolean;
|
|
15
|
-
/** If true, the agent will speak before the tool call. */
|
|
16
|
-
forcePreToolSpeech?: boolean;
|
|
17
|
-
/** Configuration for extracting values from tool responses and assigning them to dynamic variables */
|
|
18
|
-
assignments?: ElevenLabs.DynamicVariableAssignment[];
|
|
19
|
-
/** The type of MCP tool */
|
|
20
|
-
integrationType: ElevenLabs.IntegrationType;
|
|
21
|
-
/** Schema for any parameters the LLM needs to provide to the MCP tool. */
|
|
22
|
-
parameters?: ElevenLabs.ObjectJsonSchemaPropertyOutput;
|
|
23
|
-
/** The approval policy for the MCP tool */
|
|
24
|
-
approvalPolicy?: ElevenLabs.McpApprovalPolicy;
|
|
25
|
-
/** The name of the MCP tool to call */
|
|
26
|
-
mcpToolName: string;
|
|
27
|
-
/** The description of the MCP tool to call */
|
|
28
|
-
mcpToolDescription: string;
|
|
29
|
-
/** The id of the MCP server to call */
|
|
30
|
-
mcpServerId: string;
|
|
31
|
-
/** The name of the MCP server to call */
|
|
32
|
-
mcpServerName: string;
|
|
33
|
-
/** Original inputSchema dict for consistent hashing (pure MCP format) */
|
|
34
|
-
mcpInputSchema?: Record<string, unknown>;
|
|
35
|
-
}
|