diff --git a/package.json b/package.json
index 979efcfa..ee14e7b9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@elevenlabs/elevenlabs-js",
- "version": "v2.36.0",
+ "version": "v2.37.0",
"private": false,
"repository": "github:elevenlabs/elevenlabs-js",
"license": "MIT",
diff --git a/reference.md b/reference.md
index 5843d044..0e779a49 100644
--- a/reference.md
+++ b/reference.md
@@ -2761,6 +2761,71 @@ await client.audioNative.update("21m00Tcm4TlvDq8ikWAM", {});
+
+
+
+
+client.audioNative.updateContentFromUrl({ ...params }) -> ElevenLabs.AudioNativeEditContentResponseModel
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Finds an AudioNative project matching the provided URL, extracts content from the URL, updates the project content, and queues it for conversion and auto-publishing.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.audioNative.updateContentFromUrl({
+ url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/"
+});
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost`
+
+
+
+
+
+-
+
+**requestOptions:** `AudioNativeClient.RequestOptions`
+
+
+
+
+
+
+
@@ -2934,6 +2999,8 @@ await client.pronunciationDictionaries.createFromRules({
rules: [{
type: "alias",
stringToReplace: "Thailand",
+ caseSensitive: true,
+ wordBoundaries: true,
alias: "tie-land"
}],
name: "My Dictionary"
@@ -5787,7 +5854,10 @@ Lists all agent response tests with pagination support and optional search filte
await client.conversationalAi.tests.list({
cursor: "cursor",
pageSize: 1,
- search: "search"
+ search: "search",
+ parentFolderId: "parent_folder_id",
+ includeFolders: true,
+ sortMode: "default"
});
```
@@ -6281,6 +6351,62 @@ await client.conversationalAi.llmUsage.calculate({
+
+
+
+
+## ConversationalAi Llm
+client.conversationalAi.llm.list() -> ElevenLabs.LlmListResponseModelInput
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Returns a list of available LLM models that can be used with agents, including their capabilities and any deprecation status. The response is filtered based on the data residency of the deployment and any compliance requirements (e.g. HIPAA) of the workspace subscription.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.conversationalAi.llm.list();
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**requestOptions:** `LlmClient.RequestOptions`
+
+
+
+
+
+
+
@@ -6371,7 +6497,7 @@ await client.conversationalAi.knowledgeBase.list({
-
-Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request.
+Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request. Maximum 100 items per request.
@@ -9638,6 +9764,300 @@ await client.conversationalAi.conversations.feedback.create("21m00Tcm4TlvDq8ikWA
+
+
+
+
+## ConversationalAi Conversations Messages
+client.conversationalAi.conversations.messages.textSearch({ ...params }) -> ElevenLabs.MessagesSearchResponse
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Search through conversation transcript messages by full-text and fuzzy search
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.conversationalAi.conversations.messages.textSearch({
+ textQuery: "refund policy",
+ agentId: "agent_id",
+ callSuccessful: "success",
+ callStartBeforeUnix: 1,
+ callStartAfterUnix: 1,
+ callDurationMinSecs: 1,
+ callDurationMaxSecs: 1,
+ ratingMax: 1,
+ ratingMin: 1,
+ hasFeedbackComment: true,
+ userId: "user_id",
+ pageSize: 1,
+ summaryMode: "exclude",
+ conversationInitiationSource: "unknown",
+ branchId: "branch_id",
+ cursor: "cursor"
+});
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `MessagesClient.RequestOptions`
+
+
+
+
+
+
+
+
+
+
+
+client.conversationalAi.conversations.messages.search({ ...params }) -> ElevenLabs.MessagesSearchResponse
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Search conversation transcripts by semantic similarity to surface relevant messages based on meaning and intent, rather than exact keyword matches
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.conversationalAi.conversations.messages.search({
+ textQuery: "Customer asking to cancel and get money back",
+ agentId: "agent_id",
+ pageSize: 1,
+ cursor: "cursor"
+});
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**request:** `ElevenLabs.conversationalAi.conversations.MessagesSearchRequest`
+
+
+
+
+
+-
+
+**requestOptions:** `MessagesClient.RequestOptions`
+
+
+
+
+
+
+
+
+
+
+
+## ConversationalAi Conversations Files
+client.conversationalAi.conversations.files.create(conversation_id, { ...params }) -> ElevenLabs.ConvAiFileUploadResponseModel
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Upload an image or PDF file for a conversation. Returns a unique file ID that can be used to reference the file in the conversation.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.conversationalAi.conversations.files.create("conversation_id", {
+ file: fs.createReadStream("/path/to/your/file")
+});
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**conversation_id:** `string`
+
+
+
+
+
+-
+
+**request:** `ElevenLabs.conversationalAi.conversations.BodyUploadFileV1ConvaiConversationsConversationIdFilesPost`
+
+
+
+
+
+-
+
+**requestOptions:** `FilesClient.RequestOptions`
+
+
+
+
+
+
+
+
+
+
+
+client.conversationalAi.conversations.files.delete(conversation_id, file_id) -> ElevenLabs.ConvAiFileUploadResponseModel
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Remove a file upload from a conversation. Only possible if the file hasn't already been used in the conversation.
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.conversationalAi.conversations.files.delete("conversation_id", "file_id");
+
+```
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**conversation_id:** `string`
+
+
+
+
+
+-
+
+**file_id:** `string`
+
+
+
+
+
+-
+
+**requestOptions:** `FilesClient.RequestOptions`
+
+
+
+
+
+
+
@@ -12864,6 +13284,8 @@ await client.pronunciationDictionaries.rules.add("21m00Tcm4TlvDq8ikWAM", {
rules: [{
type: "alias",
stringToReplace: "Thailand",
+ caseSensitive: true,
+ wordBoundaries: true,
alias: "tie-land"
}]
});
diff --git a/src/BaseClient.ts b/src/BaseClient.ts
index de3c71c5..f00d5d05 100644
--- a/src/BaseClient.ts
+++ b/src/BaseClient.ts
@@ -47,8 +47,8 @@ export function normalizeClientOptions(options: T):
{
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@elevenlabs/elevenlabs-js",
- "X-Fern-SDK-Version": "v2.36.0",
- "User-Agent": "@elevenlabs/elevenlabs-js/v2.36.0",
+ "X-Fern-SDK-Version": "v2.37.0",
+ "User-Agent": "@elevenlabs/elevenlabs-js/v2.37.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
"xi-api-key": options?.apiKey,
diff --git a/src/api/resources/audioNative/client/Client.ts b/src/api/resources/audioNative/client/Client.ts
index 753f4136..543b6efc 100644
--- a/src/api/resources/audioNative/client/Client.ts
+++ b/src/api/resources/audioNative/client/Client.ts
@@ -364,4 +364,90 @@ export class AudioNativeClient {
"/v1/audio-native/{project_id}/content",
);
}
+
+ /**
+ * Finds an AudioNative project matching the provided URL, extracts content from the URL, updates the project content, and queues it for conversion and auto-publishing.
+ *
+ * @param {ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost} request
+ * @param {AudioNativeClient.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
+ *
+ * @example
+ * await client.audioNative.updateContentFromUrl({
+ * url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/"
+ * })
+ */
+ public updateContentFromUrl(
+ request: ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost,
+ requestOptions?: AudioNativeClient.RequestOptions,
+ ): core.HttpResponsePromise {
+ return core.HttpResponsePromise.fromPromise(this.__updateContentFromUrl(request, requestOptions));
+ }
+
+ private async __updateContentFromUrl(
+ request: ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost,
+ requestOptions?: AudioNativeClient.RequestOptions,
+ ): Promise> {
+ const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
+ this._options?.headers,
+ mergeOnlyDefinedHeaders({ "xi-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
+ requestOptions?.headers,
+ );
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: core.url.join(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.ElevenLabsEnvironment.Production,
+ "v1/audio-native/content",
+ ),
+ method: "POST",
+ headers: _headers,
+ contentType: "application/json",
+ queryParameters: requestOptions?.queryParams,
+ requestType: "json",
+ body: serializers.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.jsonOrThrow(request, {
+ unrecognizedObjectKeys: "strip",
+ }),
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 240) * 1000,
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ fetchFn: this._options?.fetch,
+ logging: this._options.logging,
+ });
+ if (_response.ok) {
+ return {
+ data: serializers.AudioNativeEditContentResponseModel.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ rawResponse: _response.rawResponse,
+ };
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 422:
+ throw new ElevenLabs.UnprocessableEntityError(
+ serializers.HttpValidationError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ _response.rawResponse,
+ );
+ default:
+ throw new errors.ElevenLabsError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ rawResponse: _response.rawResponse,
+ });
+ }
+ }
+
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/v1/audio-native/content");
+ }
}
diff --git a/src/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.ts b/src/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.ts
new file mode 100644
index 00000000..ef84df56
--- /dev/null
+++ b/src/api/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.ts
@@ -0,0 +1,12 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * @example
+ * {
+ * url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/"
+ * }
+ */
+export interface BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost {
+ /** URL of the page to extract content from. */
+ url: string;
+}
diff --git a/src/api/resources/audioNative/client/requests/index.ts b/src/api/resources/audioNative/client/requests/index.ts
index dfceb6f4..b48d46f6 100644
--- a/src/api/resources/audioNative/client/requests/index.ts
+++ b/src/api/resources/audioNative/client/requests/index.ts
@@ -1,2 +1,3 @@
export type { BodyCreatesAudioNativeEnabledProjectV1AudioNativePost } from "./BodyCreatesAudioNativeEnabledProjectV1AudioNativePost";
+export type { BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost } from "./BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost";
export type { BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost } from "./BodyUpdateAudioNativeProjectContentV1AudioNativeProjectIdContentPost";
diff --git a/src/api/resources/conversationalAi/client/Client.ts b/src/api/resources/conversationalAi/client/Client.ts
index 5a275a2b..920dc2c6 100644
--- a/src/api/resources/conversationalAi/client/Client.ts
+++ b/src/api/resources/conversationalAi/client/Client.ts
@@ -15,6 +15,7 @@ import { BatchCallsClient } from "../resources/batchCalls/client/Client";
import { ConversationsClient } from "../resources/conversations/client/Client";
import { DashboardClient } from "../resources/dashboard/client/Client";
import { KnowledgeBaseClient } from "../resources/knowledgeBase/client/Client";
+import { LlmClient } from "../resources/llm/client/Client";
import { LlmUsageClient } from "../resources/llmUsage/client/Client";
import { McpServersClient } from "../resources/mcpServers/client/Client";
import { PhoneNumbersClient } from "../resources/phoneNumbers/client/Client";
@@ -44,6 +45,7 @@ export class ConversationalAiClient {
protected _users: UsersClient | undefined;
protected _phoneNumbers: PhoneNumbersClient | undefined;
protected _llmUsage: LlmUsageClient | undefined;
+ protected _llm: LlmClient | undefined;
protected _knowledgeBase: KnowledgeBaseClient | undefined;
protected _tools: ToolsClient | undefined;
protected _settings: SettingsClient | undefined;
@@ -91,6 +93,10 @@ export class ConversationalAiClient {
return (this._llmUsage ??= new LlmUsageClient(this._options));
}
+ public get llm(): LlmClient {
+ return (this._llm ??= new LlmClient(this._options));
+ }
+
public get knowledgeBase(): KnowledgeBaseClient {
return (this._knowledgeBase ??= new KnowledgeBaseClient(this._options));
}
diff --git a/src/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.ts b/src/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.ts
index 2b7a620f..307d05e2 100644
--- a/src/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.ts
+++ b/src/api/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.ts
@@ -19,4 +19,5 @@ export interface BodyCreateAgentV1ConvaiAgentsCreatePost {
name?: string;
/** Tags to help classify and filter the agent */
tags?: string[];
+ coachingSettings?: ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings;
}
diff --git a/src/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.ts b/src/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.ts
index 979dfc87..5f571b19 100644
--- a/src/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.ts
+++ b/src/api/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.ts
@@ -21,8 +21,7 @@ export interface UpdateAgentRequest {
name?: string;
/** Tags to help classify and filter the agent */
tags?: string[];
+ coachingSettings?: ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings;
/** Description for this version when publishing changes (only applicable for versioned agents) */
versionDescription?: string;
- /** List of procedure refs used for this agent version. */
- procedureRefs?: ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem[];
}
diff --git a/src/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.ts b/src/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.ts
new file mode 100644
index 00000000..698d533d
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.ts
@@ -0,0 +1,17 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../index";
+
+export type BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings =
+ | ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.Coached
+ | ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.None;
+
+export namespace BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings {
+ export interface Coached extends ElevenLabs.CoachedAgentSettings {
+ type: "coached";
+ }
+
+ export interface None extends ElevenLabs.NoCoachingSettings {
+ type: "none";
+ }
+}
diff --git a/src/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.ts b/src/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.ts
new file mode 100644
index 00000000..3ca0837a
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.ts
@@ -0,0 +1,17 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../index";
+
+export type BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings =
+ | ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.Coached
+ | ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.None;
+
+export namespace BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings {
+ export interface Coached extends ElevenLabs.CoachedAgentSettings {
+ type: "coached";
+ }
+
+ export interface None extends ElevenLabs.NoCoachingSettings {
+ type: "none";
+ }
+}
diff --git a/src/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.ts b/src/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.ts
deleted file mode 100644
index cab311a3..00000000
--- a/src/api/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-import type * as ElevenLabs from "../../../../../index";
-
-export type BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem =
- | ElevenLabs.ProcedureVersionRef
- | ElevenLabs.ProcedureDraftRef;
diff --git a/src/api/resources/conversationalAi/resources/agents/types/index.ts b/src/api/resources/conversationalAi/resources/agents/types/index.ts
index a78e5988..cf20a69d 100644
--- a/src/api/resources/conversationalAi/resources/agents/types/index.ts
+++ b/src/api/resources/conversationalAi/resources/agents/types/index.ts
@@ -1 +1,2 @@
-export * from "./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem";
+export * from "./BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings";
+export * from "./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings";
diff --git a/src/api/resources/conversationalAi/resources/conversations/client/Client.ts b/src/api/resources/conversationalAi/resources/conversations/client/Client.ts
index ba8db329..33d6959c 100644
--- a/src/api/resources/conversationalAi/resources/conversations/client/Client.ts
+++ b/src/api/resources/conversationalAi/resources/conversations/client/Client.ts
@@ -11,6 +11,8 @@ import * as serializers from "../../../../../../serialization/index";
import * as ElevenLabs from "../../../../../index";
import { AudioClient } from "../resources/audio/client/Client";
import { FeedbackClient } from "../resources/feedback/client/Client";
+import { FilesClient } from "../resources/files/client/Client";
+import { MessagesClient } from "../resources/messages/client/Client";
export declare namespace ConversationsClient {
export type Options = BaseClientOptions;
@@ -22,6 +24,8 @@ export class ConversationsClient {
protected readonly _options: NormalizedClientOptions;
protected _audio: AudioClient | undefined;
protected _feedback: FeedbackClient | undefined;
+ protected _messages: MessagesClient | undefined;
+ protected _files: FilesClient | undefined;
constructor(options: ConversationsClient.Options = {}) {
this._options = normalizeClientOptions(options);
@@ -35,6 +39,14 @@ export class ConversationsClient {
return (this._feedback ??= new FeedbackClient(this._options));
}
+ public get messages(): MessagesClient {
+ return (this._messages ??= new MessagesClient(this._options));
+ }
+
+ public get files(): FilesClient {
+ return (this._files ??= new FilesClient(this._options));
+ }
+
/**
* Get a signed url to start a conversation with an agent with an agent that requires authorization
*
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.ts b/src/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.ts
new file mode 100644
index 00000000..2b623c18
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/files/client/Client.ts
@@ -0,0 +1,211 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient";
+import { type NormalizedClientOptions, normalizeClientOptions } from "../../../../../../../../BaseClient";
+import * as core from "../../../../../../../../core";
+import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../core/headers";
+import * as environments from "../../../../../../../../environments";
+import { handleNonStatusCodeError } from "../../../../../../../../errors/handleNonStatusCodeError";
+import * as errors from "../../../../../../../../errors/index";
+import * as serializers from "../../../../../../../../serialization/index";
+import * as ElevenLabs from "../../../../../../../index";
+
+export declare namespace FilesClient {
+ export type Options = BaseClientOptions;
+
+ export interface RequestOptions extends BaseRequestOptions {}
+}
+
+export class FilesClient {
+ protected readonly _options: NormalizedClientOptions;
+
+ constructor(options: FilesClient.Options = {}) {
+ this._options = normalizeClientOptions(options);
+ }
+
+ /**
+ * Upload an image or PDF file for a conversation. Returns a unique file ID that can be used to reference the file in the conversation.
+ *
+ * @param {string} conversation_id
+ * @param {ElevenLabs.conversationalAi.conversations.BodyUploadFileV1ConvaiConversationsConversationIdFilesPost} request
+ * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
+ *
+ * @example
+ * import { createReadStream } from "fs";
+ * await client.conversationalAi.conversations.files.create("conversation_id", {
+ * file: fs.createReadStream("/path/to/your/file")
+ * })
+ */
+ public create(
+ conversation_id: string,
+ request: ElevenLabs.conversationalAi.conversations.BodyUploadFileV1ConvaiConversationsConversationIdFilesPost,
+ requestOptions?: FilesClient.RequestOptions,
+ ): core.HttpResponsePromise {
+ return core.HttpResponsePromise.fromPromise(this.__create(conversation_id, request, requestOptions));
+ }
+
+ private async __create(
+ conversation_id: string,
+ request: ElevenLabs.conversationalAi.conversations.BodyUploadFileV1ConvaiConversationsConversationIdFilesPost,
+ requestOptions?: FilesClient.RequestOptions,
+ ): Promise> {
+ const _request = await core.newFormData();
+ await _request.appendFile("file", request.file);
+ const _maybeEncodedRequest = await _request.getRequest();
+ const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
+ this._options?.headers,
+ mergeOnlyDefinedHeaders({
+ "xi-api-key": requestOptions?.apiKey ?? this._options?.apiKey,
+ ..._maybeEncodedRequest.headers,
+ }),
+ requestOptions?.headers,
+ );
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: core.url.join(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.ElevenLabsEnvironment.Production,
+ `v1/convai/conversations/${core.url.encodePathParam(conversation_id)}/files`,
+ ),
+ method: "POST",
+ headers: _headers,
+ queryParameters: requestOptions?.queryParams,
+ requestType: "file",
+ duplex: _maybeEncodedRequest.duplex,
+ body: _maybeEncodedRequest.body,
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 240) * 1000,
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ fetchFn: this._options?.fetch,
+ logging: this._options.logging,
+ });
+ if (_response.ok) {
+ return {
+ data: serializers.ConvAiFileUploadResponseModel.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ rawResponse: _response.rawResponse,
+ };
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 422:
+ throw new ElevenLabs.UnprocessableEntityError(
+ serializers.HttpValidationError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ _response.rawResponse,
+ );
+ default:
+ throw new errors.ElevenLabsError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ rawResponse: _response.rawResponse,
+ });
+ }
+ }
+
+ return handleNonStatusCodeError(
+ _response.error,
+ _response.rawResponse,
+ "POST",
+ "/v1/convai/conversations/{conversation_id}/files",
+ );
+ }
+
+ /**
+ * Remove a file upload from a conversation. Only possible if the file hasn't already been used in the conversation.
+ *
+ * @param {string} conversation_id
+ * @param {string} file_id
+ * @param {FilesClient.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
+ *
+ * @example
+ * await client.conversationalAi.conversations.files.delete("conversation_id", "file_id")
+ */
+ public delete(
+ conversation_id: string,
+ file_id: string,
+ requestOptions?: FilesClient.RequestOptions,
+ ): core.HttpResponsePromise {
+ return core.HttpResponsePromise.fromPromise(this.__delete(conversation_id, file_id, requestOptions));
+ }
+
+ private async __delete(
+ conversation_id: string,
+ file_id: string,
+ requestOptions?: FilesClient.RequestOptions,
+ ): Promise> {
+ const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
+ this._options?.headers,
+ mergeOnlyDefinedHeaders({ "xi-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
+ requestOptions?.headers,
+ );
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: core.url.join(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.ElevenLabsEnvironment.Production,
+ `v1/convai/conversations/${core.url.encodePathParam(conversation_id)}/files/${core.url.encodePathParam(file_id)}`,
+ ),
+ method: "DELETE",
+ headers: _headers,
+ queryParameters: requestOptions?.queryParams,
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 240) * 1000,
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ fetchFn: this._options?.fetch,
+ logging: this._options.logging,
+ });
+ if (_response.ok) {
+ return {
+ data: serializers.ConvAiFileUploadResponseModel.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ rawResponse: _response.rawResponse,
+ };
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 422:
+ throw new ElevenLabs.UnprocessableEntityError(
+ serializers.HttpValidationError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ _response.rawResponse,
+ );
+ default:
+ throw new errors.ElevenLabsError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ rawResponse: _response.rawResponse,
+ });
+ }
+ }
+
+ return handleNonStatusCodeError(
+ _response.error,
+ _response.rawResponse,
+ "DELETE",
+ "/v1/convai/conversations/{conversation_id}/files/{file_id}",
+ );
+ }
+}
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/files/client/index.ts b/src/api/resources/conversationalAi/resources/conversations/resources/files/client/index.ts
new file mode 100644
index 00000000..415726b7
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/files/client/index.ts
@@ -0,0 +1 @@
+export * from "./requests";
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.ts b/src/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.ts
new file mode 100644
index 00000000..8f9c1efc
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/BodyUploadFileV1ConvaiConversationsConversationIdFilesPost.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as core from "../../../../../../../../../core";
+
+/**
+ * @example
+ * {
+ * file: fs.createReadStream("/path/to/your/file")
+ * }
+ */
+export interface BodyUploadFileV1ConvaiConversationsConversationIdFilesPost {
+ /** Image or PDF file to upload */
+ file: core.file.Uploadable;
+}
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.ts b/src/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.ts
new file mode 100644
index 00000000..6fe4508a
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/files/client/requests/index.ts
@@ -0,0 +1 @@
+export type { BodyUploadFileV1ConvaiConversationsConversationIdFilesPost } from "./BodyUploadFileV1ConvaiConversationsConversationIdFilesPost";
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/files/index.ts b/src/api/resources/conversationalAi/resources/conversations/resources/files/index.ts
new file mode 100644
index 00000000..5ec76921
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/files/index.ts
@@ -0,0 +1 @@
+export * from "./client";
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/index.ts b/src/api/resources/conversationalAi/resources/conversations/resources/index.ts
index bcc24f3f..b034a959 100644
--- a/src/api/resources/conversationalAi/resources/conversations/resources/index.ts
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/index.ts
@@ -1,3 +1,8 @@
export * as audio from "./audio";
export * as feedback from "./feedback";
export * from "./feedback/client/requests";
+export * as files from "./files";
+export * from "./files/client/requests";
+export * as messages from "./messages";
+export * from "./messages/client/requests";
+export * from "./messages/types";
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.ts b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.ts
new file mode 100644
index 00000000..70636661
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/Client.ts
@@ -0,0 +1,355 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../../../BaseClient";
+import { type NormalizedClientOptions, normalizeClientOptions } from "../../../../../../../../BaseClient";
+import * as core from "../../../../../../../../core";
+import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../core/headers";
+import * as environments from "../../../../../../../../environments";
+import { handleNonStatusCodeError } from "../../../../../../../../errors/handleNonStatusCodeError";
+import * as errors from "../../../../../../../../errors/index";
+import * as serializers from "../../../../../../../../serialization/index";
+import * as ElevenLabs from "../../../../../../../index";
+
+export declare namespace MessagesClient {
+ export type Options = BaseClientOptions;
+
+ export interface RequestOptions extends BaseRequestOptions {}
+}
+
+export class MessagesClient {
+ protected readonly _options: NormalizedClientOptions;
+
+ constructor(options: MessagesClient.Options = {}) {
+ this._options = normalizeClientOptions(options);
+ }
+
+ /**
+ * Search through conversation transcript messages by full-text and fuzzy search
+ *
+ * @param {ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequest} request
+ * @param {MessagesClient.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
+ *
+ * @example
+ * await client.conversationalAi.conversations.messages.textSearch({
+ * textQuery: "refund policy",
+ * agentId: "agent_id",
+ * callSuccessful: "success",
+ * callStartBeforeUnix: 1,
+ * callStartAfterUnix: 1,
+ * callDurationMinSecs: 1,
+ * callDurationMaxSecs: 1,
+ * ratingMax: 1,
+ * ratingMin: 1,
+ * hasFeedbackComment: true,
+ * userId: "user_id",
+ * pageSize: 1,
+ * summaryMode: "exclude",
+ * conversationInitiationSource: "unknown",
+ * branchId: "branch_id",
+ * cursor: "cursor"
+ * })
+ */
+ public textSearch(
+ request: ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequest,
+ requestOptions?: MessagesClient.RequestOptions,
+ ): core.HttpResponsePromise {
+ return core.HttpResponsePromise.fromPromise(this.__textSearch(request, requestOptions));
+ }
+
+ private async __textSearch(
+ request: ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequest,
+ requestOptions?: MessagesClient.RequestOptions,
+ ): Promise> {
+ const {
+ textQuery,
+ agentId,
+ callSuccessful,
+ callStartBeforeUnix,
+ callStartAfterUnix,
+ callDurationMinSecs,
+ callDurationMaxSecs,
+ ratingMax,
+ ratingMin,
+ hasFeedbackComment,
+ userId,
+ evaluationParams,
+ dataCollectionParams,
+ toolNames,
+ mainLanguages,
+ pageSize,
+ summaryMode,
+ conversationInitiationSource,
+ branchId,
+ cursor,
+ } = request;
+ const _queryParams: Record = {};
+ _queryParams.text_query = textQuery;
+ if (agentId != null) {
+ _queryParams.agent_id = agentId;
+ }
+
+ if (callSuccessful != null) {
+ _queryParams.call_successful = serializers.EvaluationSuccessResult.jsonOrThrow(callSuccessful, {
+ unrecognizedObjectKeys: "strip",
+ });
+ }
+
+ if (callStartBeforeUnix != null) {
+ _queryParams.call_start_before_unix = callStartBeforeUnix.toString();
+ }
+
+ if (callStartAfterUnix != null) {
+ _queryParams.call_start_after_unix = callStartAfterUnix.toString();
+ }
+
+ if (callDurationMinSecs != null) {
+ _queryParams.call_duration_min_secs = callDurationMinSecs.toString();
+ }
+
+ if (callDurationMaxSecs != null) {
+ _queryParams.call_duration_max_secs = callDurationMaxSecs.toString();
+ }
+
+ if (ratingMax != null) {
+ _queryParams.rating_max = ratingMax.toString();
+ }
+
+ if (ratingMin != null) {
+ _queryParams.rating_min = ratingMin.toString();
+ }
+
+ if (hasFeedbackComment != null) {
+ _queryParams.has_feedback_comment = hasFeedbackComment.toString();
+ }
+
+ if (userId != null) {
+ _queryParams.user_id = userId;
+ }
+
+ if (evaluationParams != null) {
+ if (Array.isArray(evaluationParams)) {
+ _queryParams.evaluation_params = evaluationParams.map((item) => item);
+ } else {
+ _queryParams.evaluation_params = evaluationParams;
+ }
+ }
+
+ if (dataCollectionParams != null) {
+ if (Array.isArray(dataCollectionParams)) {
+ _queryParams.data_collection_params = dataCollectionParams.map((item) => item);
+ } else {
+ _queryParams.data_collection_params = dataCollectionParams;
+ }
+ }
+
+ if (toolNames != null) {
+ if (Array.isArray(toolNames)) {
+ _queryParams.tool_names = toolNames.map((item) => item);
+ } else {
+ _queryParams.tool_names = toolNames;
+ }
+ }
+
+ if (mainLanguages != null) {
+ if (Array.isArray(mainLanguages)) {
+ _queryParams.main_languages = mainLanguages.map((item) => item);
+ } else {
+ _queryParams.main_languages = mainLanguages;
+ }
+ }
+
+ if (pageSize != null) {
+ _queryParams.page_size = pageSize.toString();
+ }
+
+ if (summaryMode != null) {
+ _queryParams.summary_mode =
+ serializers.conversationalAi.conversations.MessagesTextSearchRequestSummaryMode.jsonOrThrow(
+ summaryMode,
+ { unrecognizedObjectKeys: "strip" },
+ );
+ }
+
+ if (conversationInitiationSource != null) {
+ _queryParams.conversation_initiation_source = serializers.ConversationInitiationSource.jsonOrThrow(
+ conversationInitiationSource,
+ { unrecognizedObjectKeys: "strip" },
+ );
+ }
+
+ if (branchId != null) {
+ _queryParams.branch_id = branchId;
+ }
+
+ if (cursor != null) {
+ _queryParams.cursor = cursor;
+ }
+
+ const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
+ this._options?.headers,
+ mergeOnlyDefinedHeaders({ "xi-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
+ requestOptions?.headers,
+ );
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: core.url.join(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.ElevenLabsEnvironment.Production,
+ "v1/convai/conversations/messages/text-search",
+ ),
+ method: "GET",
+ headers: _headers,
+ queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 240) * 1000,
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ fetchFn: this._options?.fetch,
+ logging: this._options.logging,
+ });
+ if (_response.ok) {
+ return {
+ data: serializers.MessagesSearchResponse.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ rawResponse: _response.rawResponse,
+ };
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 422:
+ throw new ElevenLabs.UnprocessableEntityError(
+ serializers.HttpValidationError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ _response.rawResponse,
+ );
+ default:
+ throw new errors.ElevenLabsError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ rawResponse: _response.rawResponse,
+ });
+ }
+ }
+
+ return handleNonStatusCodeError(
+ _response.error,
+ _response.rawResponse,
+ "GET",
+ "/v1/convai/conversations/messages/text-search",
+ );
+ }
+
+ /**
+ * Search conversation transcripts by semantic similarity to surface relevant messages based on meaning and intent, rather than exact keyword matches
+ *
+ * @param {ElevenLabs.conversationalAi.conversations.MessagesSearchRequest} request
+ * @param {MessagesClient.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
+ *
+ * @example
+ * await client.conversationalAi.conversations.messages.search({
+ * textQuery: "Customer asking to cancel and get money back",
+ * agentId: "agent_id",
+ * pageSize: 1,
+ * cursor: "cursor"
+ * })
+ */
+ public search(
+ request: ElevenLabs.conversationalAi.conversations.MessagesSearchRequest,
+ requestOptions?: MessagesClient.RequestOptions,
+ ): core.HttpResponsePromise {
+ return core.HttpResponsePromise.fromPromise(this.__search(request, requestOptions));
+ }
+
+ private async __search(
+ request: ElevenLabs.conversationalAi.conversations.MessagesSearchRequest,
+ requestOptions?: MessagesClient.RequestOptions,
+ ): Promise> {
+ const { textQuery, agentId, pageSize, cursor } = request;
+ const _queryParams: Record = {};
+ _queryParams.text_query = textQuery;
+ if (agentId != null) {
+ _queryParams.agent_id = agentId;
+ }
+
+ if (pageSize != null) {
+ _queryParams.page_size = pageSize.toString();
+ }
+
+ if (cursor != null) {
+ _queryParams.cursor = cursor;
+ }
+
+ const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
+ this._options?.headers,
+ mergeOnlyDefinedHeaders({ "xi-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
+ requestOptions?.headers,
+ );
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: core.url.join(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.ElevenLabsEnvironment.Production,
+ "v1/convai/conversations/messages/smart-search",
+ ),
+ method: "GET",
+ headers: _headers,
+ queryParameters: { ..._queryParams, ...requestOptions?.queryParams },
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 240) * 1000,
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ fetchFn: this._options?.fetch,
+ logging: this._options.logging,
+ });
+ if (_response.ok) {
+ return {
+ data: serializers.MessagesSearchResponse.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ rawResponse: _response.rawResponse,
+ };
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 422:
+ throw new ElevenLabs.UnprocessableEntityError(
+ serializers.HttpValidationError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ _response.rawResponse,
+ );
+ default:
+ throw new errors.ElevenLabsError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ rawResponse: _response.rawResponse,
+ });
+ }
+ }
+
+ return handleNonStatusCodeError(
+ _response.error,
+ _response.rawResponse,
+ "GET",
+ "/v1/convai/conversations/messages/smart-search",
+ );
+ }
+}
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.ts b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.ts
new file mode 100644
index 00000000..415726b7
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/index.ts
@@ -0,0 +1 @@
+export * from "./requests";
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.ts b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.ts
new file mode 100644
index 00000000..f62e4cf3
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesSearchRequest.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * @example
+ * {
+ * textQuery: "Customer asking to cancel and get money back",
+ * agentId: "agent_id",
+ * pageSize: 1,
+ * cursor: "cursor"
+ * }
+ */
+export interface MessagesSearchRequest {
+ /** The search query text for semantic similarity matching */
+ textQuery: string;
+ /** The id of the agent you're taking the action on. */
+ agentId?: string;
+ /** Number of results per page. Max 50. */
+ pageSize?: number;
+ /** Used for fetching next page. Cursor is returned in the response. */
+ cursor?: string;
+}
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.ts b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.ts
new file mode 100644
index 00000000..e90a69dc
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/MessagesTextSearchRequest.ts
@@ -0,0 +1,66 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../../../index";
+
+/**
+ * @example
+ * {
+ * textQuery: "refund policy",
+ * agentId: "agent_id",
+ * callSuccessful: "success",
+ * callStartBeforeUnix: 1,
+ * callStartAfterUnix: 1,
+ * callDurationMinSecs: 1,
+ * callDurationMaxSecs: 1,
+ * ratingMax: 1,
+ * ratingMin: 1,
+ * hasFeedbackComment: true,
+ * userId: "user_id",
+ * pageSize: 1,
+ * summaryMode: "exclude",
+ * conversationInitiationSource: "unknown",
+ * branchId: "branch_id",
+ * cursor: "cursor"
+ * }
+ */
+export interface MessagesTextSearchRequest {
+ /** The search query text for full-text and fuzzy matching */
+ textQuery: string;
+ /** The id of the agent you're taking the action on. */
+ agentId?: string;
+ /** The result of the success evaluation */
+ callSuccessful?: ElevenLabs.EvaluationSuccessResult;
+ /** Unix timestamp (in seconds) to filter conversations up to this start date. */
+ callStartBeforeUnix?: number;
+ /** Unix timestamp (in seconds) to filter conversations after to this start date. */
+ callStartAfterUnix?: number;
+ /** Minimum call duration in seconds. */
+ callDurationMinSecs?: number;
+ /** Maximum call duration in seconds. */
+ callDurationMaxSecs?: number;
+ /** Maximum overall rating (1-5). */
+ ratingMax?: number;
+ /** Minimum overall rating (1-5). */
+ ratingMin?: number;
+ /** Filter conversations with user feedback comments. */
+ hasFeedbackComment?: boolean;
+ /** Filter conversations by the user ID who initiated them. */
+ userId?: string;
+ /** Evaluation filters. Repeat param. Format: criteria_id:result. Example: eval=value_framing:success */
+ evaluationParams?: string | string[];
+ /** Data collection filters. Repeat param. Format: id:op:value where op is one of eq|neq|gt|gte|lt|lte|in|exists|missing. For in, pipe-delimit values. */
+ dataCollectionParams?: string | string[];
+ /** Filter conversations by tool names used during the call. */
+ toolNames?: string | string[];
+ /** Filter conversations by detected main language (language code). */
+ mainLanguages?: string | string[];
+ /** Number of results per page. Max 50. */
+ pageSize?: number;
+ /** Whether to include transcript summaries in the response. */
+ summaryMode?: ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequestSummaryMode;
+ conversationInitiationSource?: ElevenLabs.ConversationInitiationSource;
+ /** Filter conversations by branch ID. */
+ branchId?: string;
+ /** Used for fetching next page. Cursor is returned in the response. */
+ cursor?: string;
+}
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.ts b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.ts
new file mode 100644
index 00000000..ab919027
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/messages/client/requests/index.ts
@@ -0,0 +1,2 @@
+export type { MessagesSearchRequest } from "./MessagesSearchRequest";
+export type { MessagesTextSearchRequest } from "./MessagesTextSearchRequest";
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/messages/index.ts b/src/api/resources/conversationalAi/resources/conversations/resources/messages/index.ts
new file mode 100644
index 00000000..d2ec2302
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/messages/index.ts
@@ -0,0 +1,2 @@
+export * from "./client";
+export * from "./types";
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.ts b/src/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.ts
new file mode 100644
index 00000000..e5f39b9d
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.ts
@@ -0,0 +1,9 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/** Whether to include transcript summaries in the response. */
+export const MessagesTextSearchRequestSummaryMode = {
+ Exclude: "exclude",
+ Include: "include",
+} as const;
+export type MessagesTextSearchRequestSummaryMode =
+ (typeof MessagesTextSearchRequestSummaryMode)[keyof typeof MessagesTextSearchRequestSummaryMode];
diff --git a/src/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.ts b/src/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.ts
new file mode 100644
index 00000000..fcba021b
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/conversations/resources/messages/types/index.ts
@@ -0,0 +1 @@
+export * from "./MessagesTextSearchRequestSummaryMode";
diff --git a/src/api/resources/conversationalAi/resources/index.ts b/src/api/resources/conversationalAi/resources/index.ts
index 095f5aa1..e392fe27 100644
--- a/src/api/resources/conversationalAi/resources/index.ts
+++ b/src/api/resources/conversationalAi/resources/index.ts
@@ -11,6 +11,7 @@ export * as dashboard from "./dashboard";
export * as knowledgeBase from "./knowledgeBase";
export * from "./knowledgeBase/client/requests";
export * from "./knowledgeBase/types";
+export * as llm from "./llm";
export * as llmUsage from "./llmUsage";
export * from "./llmUsage/client/requests";
export * as mcpServers from "./mcpServers";
diff --git a/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts b/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts
index a5ff6ab1..4acaf691 100644
--- a/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts
+++ b/src/api/resources/conversationalAi/resources/knowledgeBase/client/Client.ts
@@ -190,7 +190,7 @@ export class KnowledgeBaseClient {
}
/**
- * Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request.
+ * Retrieves and/or creates RAG indexes for multiple knowledge base documents in a single request. Maximum 100 items per request.
*
* @param {ElevenLabs.conversationalAi.BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost} request
* @param {KnowledgeBaseClient.RequestOptions} requestOptions - Request-specific configuration.
diff --git a/src/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.ts b/src/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.ts
index e77f4819..50959336 100644
--- a/src/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.ts
+++ b/src/api/resources/conversationalAi/resources/knowledgeBase/client/requests/BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost.ts
@@ -13,6 +13,6 @@ import type * as ElevenLabs from "../../../../../../index";
* }
*/
export interface BodyComputeRagIndexesInBatchV1ConvaiKnowledgeBaseRagIndexPost {
- /** List of requested RAG indexes. */
+ /** List of requested RAG indexes. Minimum 1, maximum 100 items. */
items: ElevenLabs.GetOrCreateRagIndexRequestModel[];
}
diff --git a/src/api/resources/conversationalAi/resources/llm/client/Client.ts b/src/api/resources/conversationalAi/resources/llm/client/Client.ts
new file mode 100644
index 00000000..2f6cf5e2
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/llm/client/Client.ts
@@ -0,0 +1,101 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
+import { type NormalizedClientOptions, normalizeClientOptions } from "../../../../../../BaseClient";
+import * as core from "../../../../../../core";
+import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers";
+import * as environments from "../../../../../../environments";
+import { handleNonStatusCodeError } from "../../../../../../errors/handleNonStatusCodeError";
+import * as errors from "../../../../../../errors/index";
+import * as serializers from "../../../../../../serialization/index";
+import * as ElevenLabs from "../../../../../index";
+
+export declare namespace LlmClient {
+ export type Options = BaseClientOptions;
+
+ export interface RequestOptions extends BaseRequestOptions {}
+}
+
+export class LlmClient {
+ protected readonly _options: NormalizedClientOptions;
+
+ constructor(options: LlmClient.Options = {}) {
+ this._options = normalizeClientOptions(options);
+ }
+
+ /**
+ * Returns a list of available LLM models that can be used with agents, including their capabilities and any deprecation status. The response is filtered based on the data residency of the deployment and any compliance requirements (e.g. HIPAA) of the workspace subscription.
+ *
+ * @param {LlmClient.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link ElevenLabs.UnprocessableEntityError}
+ *
+ * @example
+ * await client.conversationalAi.llm.list()
+ */
+ public list(
+ requestOptions?: LlmClient.RequestOptions,
+ ): core.HttpResponsePromise {
+ return core.HttpResponsePromise.fromPromise(this.__list(requestOptions));
+ }
+
+ private async __list(
+ requestOptions?: LlmClient.RequestOptions,
+ ): Promise> {
+ const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
+ this._options?.headers,
+ mergeOnlyDefinedHeaders({ "xi-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
+ requestOptions?.headers,
+ );
+ const _response = await (this._options.fetcher ?? core.fetcher)({
+ url: core.url.join(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.ElevenLabsEnvironment.Production,
+ "v1/convai/llm/list",
+ ),
+ method: "GET",
+ headers: _headers,
+ queryParameters: requestOptions?.queryParams,
+ timeoutMs: (requestOptions?.timeoutInSeconds ?? this._options?.timeoutInSeconds ?? 240) * 1000,
+ maxRetries: requestOptions?.maxRetries ?? this._options?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ fetchFn: this._options?.fetch,
+ logging: this._options.logging,
+ });
+ if (_response.ok) {
+ return {
+ data: serializers.LlmListResponseModelInput.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ rawResponse: _response.rawResponse,
+ };
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 422:
+ throw new ElevenLabs.UnprocessableEntityError(
+ serializers.HttpValidationError.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ _response.rawResponse,
+ );
+ default:
+ throw new errors.ElevenLabsError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ rawResponse: _response.rawResponse,
+ });
+ }
+ }
+
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/v1/convai/llm/list");
+ }
+}
diff --git a/src/api/resources/conversationalAi/resources/llm/client/index.ts b/src/api/resources/conversationalAi/resources/llm/client/index.ts
new file mode 100644
index 00000000..cb0ff5c3
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/llm/client/index.ts
@@ -0,0 +1 @@
+export {};
diff --git a/src/api/resources/conversationalAi/resources/llm/index.ts b/src/api/resources/conversationalAi/resources/llm/index.ts
new file mode 100644
index 00000000..5ec76921
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/llm/index.ts
@@ -0,0 +1 @@
+export * from "./client";
diff --git a/src/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.ts b/src/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.ts
index b358f389..9851f4b1 100644
--- a/src/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.ts
+++ b/src/api/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.ts
@@ -26,4 +26,8 @@ export interface McpServerConfigUpdateRequestModel {
>;
/** Whether to disable HTTP compression for this MCP server */
disableCompression?: boolean;
+ /** Optional secret token for authentication with this MCP server */
+ secretToken?: ElevenLabs.ConvAiSecretLocator;
+ /** Optional auth connection to use for authentication with this MCP server */
+ authConnection?: ElevenLabs.AuthConnectionLocator;
}
diff --git a/src/api/resources/conversationalAi/resources/mcpServers/resources/index.ts b/src/api/resources/conversationalAi/resources/mcpServers/resources/index.ts
index 7426ec4b..53b1892a 100644
--- a/src/api/resources/conversationalAi/resources/mcpServers/resources/index.ts
+++ b/src/api/resources/conversationalAi/resources/mcpServers/resources/index.ts
@@ -4,4 +4,5 @@ export * as toolApprovals from "./toolApprovals";
export * from "./toolApprovals/client/requests";
export * as toolConfigs from "./toolConfigs";
export * from "./toolConfigs/client/requests";
+export * from "./toolConfigs/types";
export * as tools from "./tools";
diff --git a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.ts b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.ts
index 4eff9523..39d6134b 100644
--- a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.ts
+++ b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.ts
@@ -21,6 +21,11 @@ export interface McpToolConfigOverrideCreateRequestModel {
executionMode?: ElevenLabs.ToolExecutionMode;
/** Dynamic variable assignments for this MCP tool */
assignments?: ElevenLabs.DynamicVariableAssignment[];
+ /** Mapping of json path to input override configuration */
+ inputOverrides?: Record<
+ string,
+ ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue | undefined
+ >;
/** The name of the MCP tool */
toolName: string;
}
diff --git a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.ts b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.ts
index a0eafcdd..24f45e0d 100644
--- a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.ts
+++ b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.ts
@@ -19,4 +19,9 @@ export interface McpToolConfigOverrideUpdateRequestModel {
executionMode?: ElevenLabs.ToolExecutionMode;
/** Dynamic variable assignments for this MCP tool */
assignments?: ElevenLabs.DynamicVariableAssignment[];
+ /** Mapping of json path to input override configuration */
+ inputOverrides?: Record<
+ string,
+ ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue | undefined
+ >;
}
diff --git a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.ts b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.ts
index 5ec76921..d2ec2302 100644
--- a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.ts
+++ b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.ts
@@ -1 +1,2 @@
export * from "./client";
+export * from "./types";
diff --git a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.ts b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.ts
new file mode 100644
index 00000000..e9ebb348
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../../index";
+
+export type McpToolConfigOverrideCreateRequestModelInputOverridesValue =
+ | ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue.Constant
+ | ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue.DynamicVariable
+ | ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue.Llm;
+
+export namespace McpToolConfigOverrideCreateRequestModelInputOverridesValue {
+ export interface Constant extends ElevenLabs.ConstantSchemaOverride {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends ElevenLabs.DynamicVariableSchemaOverride {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends ElevenLabs.LlmSchemaOverride {
+ source: "llm";
+ }
+}
diff --git a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.ts b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.ts
new file mode 100644
index 00000000..4cff4257
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../../index";
+
+export type McpToolConfigOverrideUpdateRequestModelInputOverridesValue =
+ | ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Constant
+ | ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue.DynamicVariable
+ | ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Llm;
+
+export namespace McpToolConfigOverrideUpdateRequestModelInputOverridesValue {
+ export interface Constant extends ElevenLabs.ConstantSchemaOverride {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends ElevenLabs.DynamicVariableSchemaOverride {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends ElevenLabs.LlmSchemaOverride {
+ source: "llm";
+ }
+}
diff --git a/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.ts b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.ts
new file mode 100644
index 00000000..093c2cea
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.ts
@@ -0,0 +1,2 @@
+export * from "./McpToolConfigOverrideCreateRequestModelInputOverridesValue";
+export * from "./McpToolConfigOverrideUpdateRequestModelInputOverridesValue";
diff --git a/src/api/resources/conversationalAi/resources/tests/client/Client.ts b/src/api/resources/conversationalAi/resources/tests/client/Client.ts
index 133cd9a4..2352756f 100644
--- a/src/api/resources/conversationalAi/resources/tests/client/Client.ts
+++ b/src/api/resources/conversationalAi/resources/tests/client/Client.ts
@@ -476,7 +476,10 @@ export class TestsClient {
* await client.conversationalAi.tests.list({
* cursor: "cursor",
* pageSize: 1,
- * search: "search"
+ * search: "search",
+ * parentFolderId: "parent_folder_id",
+ * includeFolders: true,
+ * sortMode: "default"
* })
*/
public list(
@@ -490,7 +493,7 @@ export class TestsClient {
request: ElevenLabs.conversationalAi.TestsListRequest = {},
requestOptions?: TestsClient.RequestOptions,
): Promise> {
- const { cursor, pageSize, search } = request;
+ const { cursor, pageSize, search, parentFolderId, includeFolders, sortMode } = request;
const _queryParams: Record = {};
if (cursor != null) {
_queryParams.cursor = cursor;
@@ -504,6 +507,20 @@ export class TestsClient {
_queryParams.search = search;
}
+ if (parentFolderId != null) {
+ _queryParams.parent_folder_id = parentFolderId;
+ }
+
+ if (includeFolders != null) {
+ _queryParams.include_folders = includeFolders.toString();
+ }
+
+ if (sortMode != null) {
+ _queryParams.sort_mode = serializers.conversationalAi.TestsListRequestSortMode.jsonOrThrow(sortMode, {
+ unrecognizedObjectKeys: "strip",
+ });
+ }
+
const _headers: core.Fetcher.Args["headers"] = mergeHeaders(
this._options?.headers,
mergeOnlyDefinedHeaders({ "xi-api-key": requestOptions?.apiKey ?? this._options?.apiKey }),
diff --git a/src/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.ts b/src/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.ts
index 33cb209c..1bad3f81 100644
--- a/src/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.ts
+++ b/src/api/resources/conversationalAi/resources/tests/client/requests/TestsListRequest.ts
@@ -1,11 +1,16 @@
// This file was auto-generated by Fern from our API Definition.
+import type * as ElevenLabs from "../../../../../../index";
+
/**
* @example
* {
* cursor: "cursor",
* pageSize: 1,
- * search: "search"
+ * search: "search",
+ * parentFolderId: "parent_folder_id",
+ * includeFolders: true,
+ * sortMode: "default"
* }
*/
export interface TestsListRequest {
@@ -15,4 +20,10 @@ export interface TestsListRequest {
pageSize?: number;
/** Search query to filter tests by name. */
search?: string;
+ /** Filter by parent folder ID. Use 'root' to get items in the root folder. */
+ parentFolderId?: string;
+ /** Whether to include folders in the response. Defaults to false. */
+ includeFolders?: boolean;
+ /** Sort mode for listing tests. Use 'folders_first' to place folders before tests. */
+ sortMode?: ElevenLabs.conversationalAi.TestsListRequestSortMode;
}
diff --git a/src/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.ts b/src/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.ts
new file mode 100644
index 00000000..3161ee68
--- /dev/null
+++ b/src/api/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/** Sort mode for listing tests. Use 'folders_first' to place folders before tests. */
+export const TestsListRequestSortMode = {
+ Default: "default",
+ FoldersFirst: "folders_first",
+} as const;
+export type TestsListRequestSortMode = (typeof TestsListRequestSortMode)[keyof typeof TestsListRequestSortMode];
diff --git a/src/api/resources/conversationalAi/resources/tests/types/index.ts b/src/api/resources/conversationalAi/resources/tests/types/index.ts
index 2da15598..b2224a9a 100644
--- a/src/api/resources/conversationalAi/resources/tests/types/index.ts
+++ b/src/api/resources/conversationalAi/resources/tests/types/index.ts
@@ -1,4 +1,5 @@
export * from "./TestsCreateRequestBody";
export * from "./TestsGetResponse";
+export * from "./TestsListRequestSortMode";
export * from "./TestsUpdateRequestBody";
export * from "./TestsUpdateResponse";
diff --git a/src/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.ts b/src/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.ts
index 1cb29b26..01b40417 100644
--- a/src/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.ts
+++ b/src/api/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.ts
@@ -15,4 +15,6 @@ export interface BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost
agentPhoneNumberId: string;
toNumber: string;
conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestInput;
+ /** Whether let Twilio record the call. */
+ callRecordingEnabled?: boolean;
}
diff --git a/src/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.ts b/src/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.ts
index 3d6ac127..3bdde017 100644
--- a/src/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.ts
+++ b/src/api/resources/music/client/requests/BodyComposeMusicV1MusicPost.ts
@@ -17,6 +17,8 @@ export interface BodyComposeMusicV1MusicPost {
musicLengthMs?: number;
/** The model to use for the generation. */
modelId?: "music_v1";
+ /** Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt. */
+ seed?: number;
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
forceInstrumental?: boolean;
/** Controls how strictly section durations in the `composition_plan` are enforced. Only used with `composition_plan`. When set to true, the model will precisely respect each section's `duration_ms` from the plan. When set to false, the model may adjust individual section durations which will generally lead to better generation quality and improved latency, while always preserving the total song duration from the plan. */
diff --git a/src/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.ts b/src/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.ts
index 32c2bdcd..f9a17893 100644
--- a/src/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.ts
+++ b/src/api/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.ts
@@ -17,6 +17,8 @@ export interface BodyComposeMusicWithADetailedResponseV1MusicDetailedPost {
musicLengthMs?: number;
/** The model to use for the generation. */
modelId?: "music_v1";
+ /** Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt. */
+ seed?: number;
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
forceInstrumental?: boolean;
/** Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting API. */
diff --git a/src/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.ts b/src/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.ts
index 360da6af..b60230ce 100644
--- a/src/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.ts
+++ b/src/api/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.ts
@@ -17,6 +17,8 @@ export interface BodyStreamComposedMusicV1MusicStreamPost {
musicLengthMs?: number;
/** The model to use for the generation. */
modelId?: "music_v1";
+ /** Random seed to initialize the music generation process. Providing the same seed with the same parameters can help achieve more consistent results, but exact reproducibility is not guaranteed and outputs may change across system updates. Cannot be used in conjunction with prompt. */
+ seed?: number;
/** If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the `prompt`. Can only be used with `prompt`. */
forceInstrumental?: boolean;
/** Whether to store the generated song for inpainting. Only available to enterprise clients with access to the inpainting API. */
diff --git a/src/api/resources/pronunciationDictionaries/client/Client.ts b/src/api/resources/pronunciationDictionaries/client/Client.ts
index 18e6f0d8..b26f0eea 100644
--- a/src/api/resources/pronunciationDictionaries/client/Client.ts
+++ b/src/api/resources/pronunciationDictionaries/client/Client.ts
@@ -156,6 +156,8 @@ export class PronunciationDictionariesClient {
* rules: [{
* type: "alias",
* stringToReplace: "Thailand",
+ * caseSensitive: true,
+ * wordBoundaries: true,
* alias: "tie-land"
* }],
* name: "My Dictionary"
diff --git a/src/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.ts b/src/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.ts
index d4e5ad50..746bebdc 100644
--- a/src/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.ts
+++ b/src/api/resources/pronunciationDictionaries/client/requests/BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost.ts
@@ -8,6 +8,8 @@ import type * as ElevenLabs from "../../../../index";
* rules: [{
* type: "alias",
* stringToReplace: "Thailand",
+ * caseSensitive: true,
+ * wordBoundaries: true,
* alias: "tie-land"
* }],
* name: "My Dictionary"
diff --git a/src/api/resources/pronunciationDictionaries/resources/rules/client/Client.ts b/src/api/resources/pronunciationDictionaries/resources/rules/client/Client.ts
index be66dbe5..ec7765d2 100644
--- a/src/api/resources/pronunciationDictionaries/resources/rules/client/Client.ts
+++ b/src/api/resources/pronunciationDictionaries/resources/rules/client/Client.ts
@@ -37,6 +37,8 @@ export class RulesClient {
* rules: [{
* type: "alias",
* stringToReplace: "Thailand",
+ * caseSensitive: true,
+ * wordBoundaries: true,
* alias: "tie-land"
* }]
* })
diff --git a/src/api/resources/pronunciationDictionaries/resources/rules/client/requests/PronunciationDictionary.ts b/src/api/resources/pronunciationDictionaries/resources/rules/client/requests/PronunciationDictionary.ts
index fb1d7ef1..b2328b1c 100644
--- a/src/api/resources/pronunciationDictionaries/resources/rules/client/requests/PronunciationDictionary.ts
+++ b/src/api/resources/pronunciationDictionaries/resources/rules/client/requests/PronunciationDictionary.ts
@@ -8,6 +8,8 @@ import type * as ElevenLabs from "../../../../../../index";
* rules: [{
* type: "alias",
* stringToReplace: "Thailand",
+ * caseSensitive: true,
+ * wordBoundaries: true,
* alias: "tie-land"
* }]
* }
diff --git a/src/api/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.ts b/src/api/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.ts
index 85f3a652..8f15a3a7 100644
--- a/src/api/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.ts
+++ b/src/api/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.ts
@@ -9,4 +9,5 @@
export interface BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost {
/** The name that identifies this voice. This will be displayed in the dropdown of the website. */
newName: string;
+ bookmarked?: boolean;
}
diff --git a/src/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.ts b/src/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.ts
index a1ad3f6f..aa2435de 100644
--- a/src/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.ts
+++ b/src/api/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.ts
@@ -12,4 +12,6 @@ export interface BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch {
isDisabled: boolean;
/** The display name of the webhook (used for display purposes only). */
name: string;
+ /** Whether to enable automatic retries for transient failures (5xx, 429, timeout) */
+ retryEnabled?: boolean;
}
diff --git a/src/api/types/AgentPlatformSettingsRequestModel.ts b/src/api/types/AgentPlatformSettingsRequestModel.ts
index 131e71ca..b7e0fb2b 100644
--- a/src/api/types/AgentPlatformSettingsRequestModel.ts
+++ b/src/api/types/AgentPlatformSettingsRequestModel.ts
@@ -17,10 +17,12 @@ export interface AgentPlatformSettingsRequestModel {
testing?: ElevenLabs.AgentTestingSettings;
/** Whether the agent is archived */
archived?: boolean;
+ /** Language for all conversation analysis outputs (summaries, titles, evaluation rationales, data collection rationales). If not set, the language will be inferred from the conversation. Must be one of the supported conversation languages. */
+ summaryLanguage?: string;
/** Settings for authentication */
auth?: ElevenLabs.AuthSettings;
/** Call limits for the agent */
callLimits?: ElevenLabs.AgentCallLimits;
/** Privacy settings for the agent */
- privacy?: ElevenLabs.PrivacyConfig;
+ privacy?: ElevenLabs.PrivacyConfigInput;
}
diff --git a/src/api/types/AgentPlatformSettingsResponseModel.ts b/src/api/types/AgentPlatformSettingsResponseModel.ts
index 646a04ea..e271b827 100644
--- a/src/api/types/AgentPlatformSettingsResponseModel.ts
+++ b/src/api/types/AgentPlatformSettingsResponseModel.ts
@@ -17,11 +17,13 @@ export interface AgentPlatformSettingsResponseModel {
testing?: ElevenLabs.AgentTestingSettings;
/** Whether the agent is archived */
archived?: boolean;
+ /** Language for all conversation analysis outputs (summaries, titles, evaluation rationales, data collection rationales). If not set, the language will be inferred from the conversation. Must be one of the supported conversation languages. */
+ summaryLanguage?: string;
/** Settings for authentication */
auth?: ElevenLabs.AuthSettings;
/** Call limits for the agent */
callLimits?: ElevenLabs.AgentCallLimits;
/** Privacy settings for the agent */
- privacy?: ElevenLabs.PrivacyConfig;
+ privacy?: ElevenLabs.PrivacyConfigOutput;
safety?: ElevenLabs.SafetyResponseModel;
}
diff --git a/src/api/types/AgentSimulatedChatTestResponseModel.ts b/src/api/types/AgentSimulatedChatTestResponseModel.ts
index 02f4199a..0f171370 100644
--- a/src/api/types/AgentSimulatedChatTestResponseModel.ts
+++ b/src/api/types/AgentSimulatedChatTestResponseModel.ts
@@ -3,6 +3,6 @@
import type * as ElevenLabs from "../index";
export interface AgentSimulatedChatTestResponseModel {
- simulatedConversation: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
+ simulatedConversation: ElevenLabs.ConversationHistoryTranscriptResponseModel[];
analysis: ElevenLabs.ConversationHistoryAnalysisCommonModel;
}
diff --git a/src/api/types/AgentTestEntityType.ts b/src/api/types/AgentTestEntityType.ts
new file mode 100644
index 00000000..073f5b93
--- /dev/null
+++ b/src/api/types/AgentTestEntityType.ts
@@ -0,0 +1,7 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const AgentTestEntityType = {
+ Test: "test",
+ Folder: "folder",
+} as const;
+export type AgentTestEntityType = (typeof AgentTestEntityType)[keyof typeof AgentTestEntityType];
diff --git a/src/api/types/AgentTestFolderPathSegmentResponseModel.ts b/src/api/types/AgentTestFolderPathSegmentResponseModel.ts
new file mode 100644
index 00000000..3dd33c6b
--- /dev/null
+++ b/src/api/types/AgentTestFolderPathSegmentResponseModel.ts
@@ -0,0 +1,6 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface AgentTestFolderPathSegmentResponseModel {
+ id: string;
+ name?: string;
+}
diff --git a/src/api/types/ApiIntegrationWebhookOverridesInput.ts b/src/api/types/ApiIntegrationWebhookOverridesInput.ts
index bf14810a..e576867d 100644
--- a/src/api/types/ApiIntegrationWebhookOverridesInput.ts
+++ b/src/api/types/ApiIntegrationWebhookOverridesInput.ts
@@ -7,6 +7,7 @@ import type * as ElevenLabs from "../index";
* configuring an API Integration Webhook Tool.
*/
export interface ApiIntegrationWebhookOverridesInput {
+ schemaOverrides?: Record;
pathParamsSchema?: Record;
queryParamsSchema?: ElevenLabs.QueryOverride;
requestBodySchema?: ElevenLabs.ObjectOverrideInput;
diff --git a/src/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.ts b/src/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.ts
new file mode 100644
index 00000000..2359da23
--- /dev/null
+++ b/src/api/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export type ApiIntegrationWebhookOverridesInputSchemaOverridesValue =
+ | ElevenLabs.ApiIntegrationWebhookOverridesInputSchemaOverridesValue.Constant
+ | ElevenLabs.ApiIntegrationWebhookOverridesInputSchemaOverridesValue.DynamicVariable
+ | ElevenLabs.ApiIntegrationWebhookOverridesInputSchemaOverridesValue.Llm;
+
+export namespace ApiIntegrationWebhookOverridesInputSchemaOverridesValue {
+ export interface Constant extends ElevenLabs.ConstantSchemaOverride {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends ElevenLabs.DynamicVariableSchemaOverride {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends ElevenLabs.LlmSchemaOverride {
+ source: "llm";
+ }
+}
diff --git a/src/api/types/ApiIntegrationWebhookOverridesOutput.ts b/src/api/types/ApiIntegrationWebhookOverridesOutput.ts
index f09972e1..1d2038d8 100644
--- a/src/api/types/ApiIntegrationWebhookOverridesOutput.ts
+++ b/src/api/types/ApiIntegrationWebhookOverridesOutput.ts
@@ -7,6 +7,7 @@ import type * as ElevenLabs from "../index";
* configuring an API Integration Webhook Tool.
*/
export interface ApiIntegrationWebhookOverridesOutput {
+ schemaOverrides?: Record;
pathParamsSchema?: Record;
queryParamsSchema?: ElevenLabs.QueryOverride;
requestBodySchema?: ElevenLabs.ObjectOverrideOutput;
diff --git a/src/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.ts b/src/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.ts
new file mode 100644
index 00000000..271cb5cc
--- /dev/null
+++ b/src/api/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export type ApiIntegrationWebhookOverridesOutputSchemaOverridesValue =
+ | ElevenLabs.ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.Constant
+ | ElevenLabs.ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.DynamicVariable
+ | ElevenLabs.ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.Llm;
+
+export namespace ApiIntegrationWebhookOverridesOutputSchemaOverridesValue {
+ export interface Constant extends ElevenLabs.ConstantSchemaOverride {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends ElevenLabs.DynamicVariableSchemaOverride {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends ElevenLabs.LlmSchemaOverride {
+ source: "llm";
+ }
+}
diff --git a/src/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.ts b/src/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.ts
deleted file mode 100644
index ca5f897e..00000000
--- a/src/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-/** Category code corresponding to the age of the generated voice. Possible values: young, middle_aged, old. */
-export const BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge = {
- Young: "young",
- MiddleAged: "middle_aged",
- Old: "old",
-} as const;
-export type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge =
- (typeof BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge)[keyof typeof BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge];
diff --git a/src/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.ts b/src/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.ts
deleted file mode 100644
index a351f70e..00000000
--- a/src/api/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-/** Category code corresponding to the gender of the generated voice. Possible values: female, male. */
-export const BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender = {
- Female: "female",
- Male: "male",
-} as const;
-export type BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender =
- (typeof BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender)[keyof typeof BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender];
diff --git a/src/api/types/ChatSourceMedium.ts b/src/api/types/ChatSourceMedium.ts
new file mode 100644
index 00000000..6489b3ae
--- /dev/null
+++ b/src/api/types/ChatSourceMedium.ts
@@ -0,0 +1,9 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const ChatSourceMedium = {
+ Audio: "audio",
+ Text: "text",
+ Image: "image",
+ File: "file",
+} as const;
+export type ChatSourceMedium = (typeof ChatSourceMedium)[keyof typeof ChatSourceMedium];
diff --git a/src/api/types/ClientEvent.ts b/src/api/types/ClientEvent.ts
index 23b4e23d..369df426 100644
--- a/src/api/types/ClientEvent.ts
+++ b/src/api/types/ClientEvent.ts
@@ -18,6 +18,7 @@ export const ClientEvent = {
AgentResponseMetadata: "agent_response_metadata",
VadScore: "vad_score",
AgentChatResponsePart: "agent_chat_response_part",
+ ClientError: "client_error",
InternalTurnProbability: "internal_turn_probability",
InternalTentativeAgentResponse: "internal_tentative_agent_response",
} as const;
diff --git a/src/api/types/ClipAnimation.ts b/src/api/types/ClipAnimation.ts
new file mode 100644
index 00000000..87ace553
--- /dev/null
+++ b/src/api/types/ClipAnimation.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface ClipAnimation {
+ enterEffect?: ElevenLabs.ClipAnimationEnterEffect;
+ enterDurationMs?: number;
+ exitEffect?: ElevenLabs.ClipAnimationExitEffect;
+ exitDurationMs?: number;
+}
diff --git a/src/api/types/ClipAnimationEnterEffect.ts b/src/api/types/ClipAnimationEnterEffect.ts
new file mode 100644
index 00000000..8f1aea57
--- /dev/null
+++ b/src/api/types/ClipAnimationEnterEffect.ts
@@ -0,0 +1,19 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const ClipAnimationEnterEffect = {
+ None: "none",
+ Fade: "fade",
+ Float: "float",
+ GentleFloat: "gentle_float",
+ ZoomIn: "zoom_in",
+ Drop: "drop",
+ SlideLeft: "slide_left",
+ SlideRight: "slide_right",
+ SlideUp: "slide_up",
+ SlideDown: "slide_down",
+ Pop: "pop",
+ Bounce: "bounce",
+ Spin: "spin",
+ SlideBounce: "slide_bounce",
+} as const;
+export type ClipAnimationEnterEffect = (typeof ClipAnimationEnterEffect)[keyof typeof ClipAnimationEnterEffect];
diff --git a/src/api/types/ClipAnimationExitEffect.ts b/src/api/types/ClipAnimationExitEffect.ts
new file mode 100644
index 00000000..8cbc9a24
--- /dev/null
+++ b/src/api/types/ClipAnimationExitEffect.ts
@@ -0,0 +1,19 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const ClipAnimationExitEffect = {
+ None: "none",
+ Fade: "fade",
+ Float: "float",
+ GentleFloat: "gentle_float",
+ ZoomIn: "zoom_in",
+ Drop: "drop",
+ SlideLeft: "slide_left",
+ SlideRight: "slide_right",
+ SlideUp: "slide_up",
+ SlideDown: "slide_down",
+ Pop: "pop",
+ Bounce: "bounce",
+ Spin: "spin",
+ SlideBounce: "slide_bounce",
+} as const;
+export type ClipAnimationExitEffect = (typeof ClipAnimationExitEffect)[keyof typeof ClipAnimationExitEffect];
diff --git a/src/api/types/CoachedAgentSettings.ts b/src/api/types/CoachedAgentSettings.ts
new file mode 100644
index 00000000..1894f7dc
--- /dev/null
+++ b/src/api/types/CoachedAgentSettings.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface CoachedAgentSettings {
+ memoryBaseId?: string;
+}
diff --git a/src/api/types/CoachingAgentSettings.ts b/src/api/types/CoachingAgentSettings.ts
new file mode 100644
index 00000000..06fac748
--- /dev/null
+++ b/src/api/types/CoachingAgentSettings.ts
@@ -0,0 +1,9 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Runtime-only settings for the virtual coach. Not stored in the database.
+ */
+export interface CoachingAgentSettings {
+ coachedAgentId: string;
+ memoryBaseId?: string;
+}
diff --git a/src/api/types/ConfigEntityType.ts b/src/api/types/ConfigEntityType.ts
new file mode 100644
index 00000000..6cd5c8dc
--- /dev/null
+++ b/src/api/types/ConfigEntityType.ts
@@ -0,0 +1,70 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Entity types for the API configuration.
+ *
+ * This enum contains all valid entity type configurations that users can specify:
+ * - Parent types (e.g., "name", "financial_id") that expand to all subtypes
+ * - Specific subtypes using dot notation (e.g., "name.full_name")
+ * - Standalone terminal types (e.g., "email_address")
+ *
+ * When converted for service use, parent types expand to all their terminal subtypes.
+ */
+export const ConfigEntityType = {
+ Name: "name",
+ NameNameGiven: "name.name_given",
+ NameNameFamily: "name.name_family",
+ NameNameOther: "name.name_other",
+ EmailAddress: "email_address",
+ ContactNumber: "contact_number",
+ Dob: "dob",
+ Age: "age",
+ ReligiousBelief: "religious_belief",
+ PoliticalOpinion: "political_opinion",
+ SexualOrientation: "sexual_orientation",
+ EthnicityRace: "ethnicity_race",
+ MaritalStatus: "marital_status",
+ Occupation: "occupation",
+ PhysicalAttribute: "physical_attribute",
+ Language: "language",
+ Username: "username",
+ Password: "password",
+ Url: "url",
+ Organization: "organization",
+ FinancialId: "financial_id",
+ FinancialIdPaymentCard: "financial_id.payment_card",
+ FinancialIdPaymentCardPaymentCardNumber: "financial_id.payment_card.payment_card_number",
+ FinancialIdPaymentCardPaymentCardExpirationDate: "financial_id.payment_card.payment_card_expiration_date",
+ FinancialIdPaymentCardPaymentCardCvv: "financial_id.payment_card.payment_card_cvv",
+ FinancialIdBankAccount: "financial_id.bank_account",
+ FinancialIdBankAccountBankAccountNumber: "financial_id.bank_account.bank_account_number",
+ FinancialIdBankAccountBankRoutingNumber: "financial_id.bank_account.bank_routing_number",
+ FinancialIdBankAccountSwiftBicCode: "financial_id.bank_account.swift_bic_code",
+ FinancialIdFinancialIdOther: "financial_id.financial_id_other",
+ Location: "location",
+ LocationLocationAddress: "location.location_address",
+ LocationLocationCity: "location.location_city",
+ LocationLocationPostalCode: "location.location_postal_code",
+ LocationLocationCoordinate: "location.location_coordinate",
+ LocationLocationState: "location.location_state",
+ LocationLocationCountry: "location.location_country",
+ LocationLocationOther: "location.location_other",
+ Date: "date",
+ DateInterval: "date_interval",
+ UniqueId: "unique_id",
+ UniqueIdGovernmentIssuedId: "unique_id.government_issued_id",
+ UniqueIdAccountNumber: "unique_id.account_number",
+ UniqueIdVehicleId: "unique_id.vehicle_id",
+ UniqueIdHealthcareNumber: "unique_id.healthcare_number",
+ UniqueIdHealthcareNumberMedicalRecordNumber: "unique_id.healthcare_number.medical_record_number",
+ UniqueIdHealthcareNumberHealthPlanBeneficiaryNumber: "unique_id.healthcare_number.health_plan_beneficiary_number",
+ UniqueIdDeviceId: "unique_id.device_id",
+ UniqueIdUniqueIdOther: "unique_id.unique_id_other",
+ Medical: "medical",
+ MedicalMedicalCondition: "medical.medical_condition",
+ MedicalMedication: "medical.medication",
+ MedicalMedicalProcedure: "medical.medical_procedure",
+ MedicalMedicalMeasurement: "medical.medical_measurement",
+ MedicalMedicalOther: "medical.medical_other",
+} as const;
+export type ConfigEntityType = (typeof ConfigEntityType)[keyof typeof ConfigEntityType];
diff --git a/src/api/types/ConstantSchemaOverride.ts b/src/api/types/ConstantSchemaOverride.ts
new file mode 100644
index 00000000..4e71aa18
--- /dev/null
+++ b/src/api/types/ConstantSchemaOverride.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface ConstantSchemaOverride {
+ /** The constant value to use */
+ constantValue: ElevenLabs.ConstantSchemaOverrideConstantValue;
+}
diff --git a/src/api/types/ConstantSchemaOverrideConstantValue.ts b/src/api/types/ConstantSchemaOverrideConstantValue.ts
new file mode 100644
index 00000000..26f391bf
--- /dev/null
+++ b/src/api/types/ConstantSchemaOverrideConstantValue.ts
@@ -0,0 +1,6 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * The constant value to use
+ */
+export type ConstantSchemaOverrideConstantValue = string | number | number | boolean;
diff --git a/src/api/types/ContentConfig.ts b/src/api/types/ContentConfig.ts
index d7e9ce21..0c00121a 100644
--- a/src/api/types/ContentConfig.ts
+++ b/src/api/types/ContentConfig.ts
@@ -8,6 +8,6 @@ export interface ContentConfig {
harassment?: ElevenLabs.ThresholdGuardrail;
selfHarm?: ElevenLabs.ThresholdGuardrail;
profanity?: ElevenLabs.ThresholdGuardrail;
- religionAndPolitics?: ElevenLabs.ThresholdGuardrail;
+ religionOrPolitics?: ElevenLabs.ThresholdGuardrail;
medicalAndLegalInformation?: ElevenLabs.ThresholdGuardrail;
}
diff --git a/src/api/types/ConvAiFileUploadResponseModel.ts b/src/api/types/ConvAiFileUploadResponseModel.ts
new file mode 100644
index 00000000..6a5993e4
--- /dev/null
+++ b/src/api/types/ConvAiFileUploadResponseModel.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface ConvAiFileUploadResponseModel {
+ fileId: string;
+}
diff --git a/src/api/types/ConversationHistoryRedactionConfig.ts b/src/api/types/ConversationHistoryRedactionConfig.ts
new file mode 100644
index 00000000..1921a049
--- /dev/null
+++ b/src/api/types/ConversationHistoryRedactionConfig.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface ConversationHistoryRedactionConfig {
+ /** Whether conversation history redaction is enabled */
+ enabled?: boolean;
+ /** The entities to redact from the conversation transcript, audio and analysis. Use top-level types like 'name', 'email_address', or dot notation for specific subtypes like 'name.full_name'. */
+ entities?: ElevenLabs.ConfigEntityType[];
+}
diff --git a/src/api/types/ConversationHistoryTranscriptCommonModelInput.ts b/src/api/types/ConversationHistoryTranscriptCommonModelInput.ts
index 5485b81f..27e59efd 100644
--- a/src/api/types/ConversationHistoryTranscriptCommonModelInput.ts
+++ b/src/api/types/ConversationHistoryTranscriptCommonModelInput.ts
@@ -17,5 +17,5 @@ export interface ConversationHistoryTranscriptCommonModelInput {
llmUsage?: ElevenLabs.LlmUsageInput;
interrupted?: boolean;
originalMessage?: string;
- sourceMedium?: ElevenLabs.ConversationHistoryTranscriptCommonModelInputSourceMedium;
+ sourceMedium?: ElevenLabs.ChatSourceMedium;
}
diff --git a/src/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.ts b/src/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.ts
deleted file mode 100644
index 5969cbea..00000000
--- a/src/api/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-export const ConversationHistoryTranscriptCommonModelInputSourceMedium = {
- Audio: "audio",
- Text: "text",
-} as const;
-export type ConversationHistoryTranscriptCommonModelInputSourceMedium =
- (typeof ConversationHistoryTranscriptCommonModelInputSourceMedium)[keyof typeof ConversationHistoryTranscriptCommonModelInputSourceMedium];
diff --git a/src/api/types/ConversationHistoryTranscriptCommonModelOutput.ts b/src/api/types/ConversationHistoryTranscriptCommonModelOutput.ts
index 695c2519..89328d78 100644
--- a/src/api/types/ConversationHistoryTranscriptCommonModelOutput.ts
+++ b/src/api/types/ConversationHistoryTranscriptCommonModelOutput.ts
@@ -17,5 +17,5 @@ export interface ConversationHistoryTranscriptCommonModelOutput {
llmUsage?: ElevenLabs.LlmUsageOutput;
interrupted?: boolean;
originalMessage?: string;
- sourceMedium?: ElevenLabs.ConversationHistoryTranscriptCommonModelOutputSourceMedium;
+ sourceMedium?: ElevenLabs.ChatSourceMedium;
}
diff --git a/src/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.ts b/src/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.ts
deleted file mode 100644
index d06e1d3b..00000000
--- a/src/api/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-export const ConversationHistoryTranscriptCommonModelOutputSourceMedium = {
- Audio: "audio",
- Text: "text",
-} as const;
-export type ConversationHistoryTranscriptCommonModelOutputSourceMedium =
- (typeof ConversationHistoryTranscriptCommonModelOutputSourceMedium)[keyof typeof ConversationHistoryTranscriptCommonModelOutputSourceMedium];
diff --git a/src/api/types/ConversationHistoryTranscriptFileInputResponseModel.ts b/src/api/types/ConversationHistoryTranscriptFileInputResponseModel.ts
new file mode 100644
index 00000000..9a48e3cb
--- /dev/null
+++ b/src/api/types/ConversationHistoryTranscriptFileInputResponseModel.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface ConversationHistoryTranscriptFileInputResponseModel {
+ fileId: string;
+ originalFilename: string;
+ mimeType: string;
+ fileUrl: string;
+}
diff --git a/src/api/types/ConversationHistoryTranscriptResponseModel.ts b/src/api/types/ConversationHistoryTranscriptResponseModel.ts
new file mode 100644
index 00000000..d97086f5
--- /dev/null
+++ b/src/api/types/ConversationHistoryTranscriptResponseModel.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface ConversationHistoryTranscriptResponseModel {
+ role: ElevenLabs.ConversationHistoryTranscriptResponseModelRole;
+ agentMetadata?: ElevenLabs.AgentMetadata;
+ message?: string;
+ multivoiceMessage?: ElevenLabs.ConversationHistoryMultivoiceMessageModel;
+ toolCalls?: ElevenLabs.ConversationHistoryTranscriptToolCallCommonModelOutput[];
+ toolResults?: ElevenLabs.ConversationHistoryTranscriptResponseModelToolResultsItem[];
+ feedback?: ElevenLabs.UserFeedback;
+ llmOverride?: string;
+ timeInCallSecs: number;
+ conversationTurnMetrics?: ElevenLabs.ConversationTurnMetrics;
+ ragRetrievalInfo?: ElevenLabs.RagRetrievalInfo;
+ llmUsage?: ElevenLabs.LlmUsageOutput;
+ interrupted?: boolean;
+ originalMessage?: string;
+ sourceMedium?: ElevenLabs.ChatSourceMedium;
+ fileInput?: ElevenLabs.ConversationHistoryTranscriptFileInputResponseModel;
+}
diff --git a/src/api/types/ConversationHistoryTranscriptResponseModelRole.ts b/src/api/types/ConversationHistoryTranscriptResponseModelRole.ts
new file mode 100644
index 00000000..a9668bbb
--- /dev/null
+++ b/src/api/types/ConversationHistoryTranscriptResponseModelRole.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const ConversationHistoryTranscriptResponseModelRole = {
+ User: "user",
+ Agent: "agent",
+} as const;
+export type ConversationHistoryTranscriptResponseModelRole =
+ (typeof ConversationHistoryTranscriptResponseModelRole)[keyof typeof ConversationHistoryTranscriptResponseModelRole];
diff --git a/src/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.ts b/src/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.ts
new file mode 100644
index 00000000..2e82f340
--- /dev/null
+++ b/src/api/types/ConversationHistoryTranscriptResponseModelToolResultsItem.ts
@@ -0,0 +1,9 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export type ConversationHistoryTranscriptResponseModelToolResultsItem =
+ | ElevenLabs.ConversationHistoryTranscriptOtherToolsResultCommonModel
+ | ElevenLabs.ConversationHistoryTranscriptSystemToolResultCommonModelOutput
+ | ElevenLabs.ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel
+ | ElevenLabs.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput;
diff --git a/src/api/types/ConversationUserResponseModel.ts b/src/api/types/ConversationUserResponseModel.ts
index 26f52e07..5d796e6f 100644
--- a/src/api/types/ConversationUserResponseModel.ts
+++ b/src/api/types/ConversationUserResponseModel.ts
@@ -5,6 +5,7 @@ export interface ConversationUserResponseModel {
lastContactUnixSecs: number;
firstContactUnixSecs: number;
conversationCount: number;
- lastAgentId?: string;
- lastAgentName?: string;
+ lastContactAgentId?: string;
+ lastContactConversationId?: string;
+ lastContactAgentName?: string;
}
diff --git a/src/api/types/CreateClientParams.ts b/src/api/types/CreateClientParams.ts
new file mode 100644
index 00000000..2e5226d5
--- /dev/null
+++ b/src/api/types/CreateClientParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Create a new client in the system.
+ */
+export interface CreateClientParams {
+ smbToolType?: "create_client";
+}
diff --git a/src/api/types/CreatePreviouslyGeneratedVoiceRequest.ts b/src/api/types/CreatePreviouslyGeneratedVoiceRequest.ts
index ed14dba5..0703f24a 100644
--- a/src/api/types/CreatePreviouslyGeneratedVoiceRequest.ts
+++ b/src/api/types/CreatePreviouslyGeneratedVoiceRequest.ts
@@ -1,14 +1,3 @@
// This file was auto-generated by Fern from our API Definition.
-export interface CreatePreviouslyGeneratedVoiceRequest {
- /** Name to use for the created voice. */
- voiceName: string;
- /** Description to use for the created voice. */
- voiceDescription: string;
- /** The generated_voice_id to create, call POST /v1/text-to-voice/create-previews and fetch the generated_voice_id from the response header if don't have one yet. */
- generatedVoiceId: string;
- /** List of voice ids that the user has played but not selected. Used for RLHF. */
- playedNotSelectedVoiceIds?: string[];
- /** Optional, metadata to add to the created voice. Defaults to None. */
- labels?: Record;
-}
+export type CreatePreviouslyGeneratedVoiceRequest = unknown;
diff --git a/src/api/types/CreateProductParams.ts b/src/api/types/CreateProductParams.ts
new file mode 100644
index 00000000..7ab97b74
--- /dev/null
+++ b/src/api/types/CreateProductParams.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface CreateProductParams {
+ smbToolType?: "create_product";
+}
diff --git a/src/api/types/CreateResponseUnitTestRequest.ts b/src/api/types/CreateResponseUnitTestRequest.ts
index 8015348d..0684dfa1 100644
--- a/src/api/types/CreateResponseUnitTestRequest.ts
+++ b/src/api/types/CreateResponseUnitTestRequest.ts
@@ -15,4 +15,6 @@ export interface CreateResponseUnitTestRequest {
/** Non-empty list of example responses that should be considered failures */
failureExamples?: ElevenLabs.AgentFailureResponseExample[];
name: string;
+ /** The ID of the parent folder. If not provided, the test will be created at the root level. */
+ parentFolderId?: string;
}
diff --git a/src/api/types/CreateServiceParams.ts b/src/api/types/CreateServiceParams.ts
new file mode 100644
index 00000000..788f43ff
--- /dev/null
+++ b/src/api/types/CreateServiceParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Create a new service in the system.
+ */
+export interface CreateServiceParams {
+ smbToolType?: "create_service";
+}
diff --git a/src/api/types/CreateSimulationTestRequest.ts b/src/api/types/CreateSimulationTestRequest.ts
index c9123b2a..b9ae79a2 100644
--- a/src/api/types/CreateSimulationTestRequest.ts
+++ b/src/api/types/CreateSimulationTestRequest.ts
@@ -15,4 +15,6 @@ export interface CreateSimulationTestRequest {
/** Maximum number of conversation turns for simulation tests. */
simulationMaxTurns?: number;
name: string;
+ /** The ID of the parent folder. If not provided, the test will be created at the root level. */
+ parentFolderId?: string;
}
diff --git a/src/api/types/CreateStaffParams.ts b/src/api/types/CreateStaffParams.ts
new file mode 100644
index 00000000..b815a458
--- /dev/null
+++ b/src/api/types/CreateStaffParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Create a new staff member in the system.
+ */
+export interface CreateStaffParams {
+ smbToolType?: "create_staff";
+}
diff --git a/src/api/types/CreateToolCallUnitTestRequest.ts b/src/api/types/CreateToolCallUnitTestRequest.ts
index 9ced6af0..e86ae10f 100644
--- a/src/api/types/CreateToolCallUnitTestRequest.ts
+++ b/src/api/types/CreateToolCallUnitTestRequest.ts
@@ -13,4 +13,6 @@ export interface CreateToolCallUnitTestRequest {
/** If set to True this test will pass if any tool call returned by the LLM matches the criteria. Otherwise it will fail if more than one tool is returned by the agent. */
checkAnyToolMatches?: boolean;
name: string;
+ /** The ID of the parent folder. If not provided, the test will be created at the root level. */
+ parentFolderId?: string;
}
diff --git a/src/api/types/DeleteClientParams.ts b/src/api/types/DeleteClientParams.ts
new file mode 100644
index 00000000..1abbc4a8
--- /dev/null
+++ b/src/api/types/DeleteClientParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Delete an existing client from the system.
+ */
+export interface DeleteClientParams {
+ smbToolType?: "delete_client";
+}
diff --git a/src/api/types/DeleteProductParams.ts b/src/api/types/DeleteProductParams.ts
new file mode 100644
index 00000000..70783508
--- /dev/null
+++ b/src/api/types/DeleteProductParams.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface DeleteProductParams {
+ smbToolType?: "delete_product";
+}
diff --git a/src/api/types/DeleteServiceParams.ts b/src/api/types/DeleteServiceParams.ts
new file mode 100644
index 00000000..4dcc3885
--- /dev/null
+++ b/src/api/types/DeleteServiceParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Delete an existing service from the system.
+ */
+export interface DeleteServiceParams {
+ smbToolType?: "delete_service";
+}
diff --git a/src/api/types/DeleteStaffParams.ts b/src/api/types/DeleteStaffParams.ts
new file mode 100644
index 00000000..3a6fc2ac
--- /dev/null
+++ b/src/api/types/DeleteStaffParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Delete an existing staff member from the system.
+ */
+export interface DeleteStaffParams {
+ smbToolType?: "delete_staff";
+}
diff --git a/src/api/types/DependentBranchInfo.ts b/src/api/types/DependentBranchInfo.ts
new file mode 100644
index 00000000..3f1760b1
--- /dev/null
+++ b/src/api/types/DependentBranchInfo.ts
@@ -0,0 +1,9 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface DependentBranchInfo {
+ agentId: string;
+ agentName: string;
+ branchId: string;
+ branchName: string;
+ isMain: boolean;
+}
diff --git a/src/api/types/DynamicVariableSchemaOverride.ts b/src/api/types/DynamicVariableSchemaOverride.ts
new file mode 100644
index 00000000..57a0d50e
--- /dev/null
+++ b/src/api/types/DynamicVariableSchemaOverride.ts
@@ -0,0 +1,6 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface DynamicVariableSchemaOverride {
+ /** The name of the dynamic variable to use */
+ dynamicVariable: string;
+}
diff --git a/src/api/types/EmbeddingModelEnum.ts b/src/api/types/EmbeddingModelEnum.ts
index e4567519..70313280 100644
--- a/src/api/types/EmbeddingModelEnum.ts
+++ b/src/api/types/EmbeddingModelEnum.ts
@@ -3,5 +3,6 @@
export const EmbeddingModelEnum = {
E5Mistral7BInstruct: "e5_mistral_7b_instruct",
MultilingualE5LargeInstruct: "multilingual_e5_large_instruct",
+ Qwen3Embedding4B: "qwen3_embedding_4b",
} as const;
export type EmbeddingModelEnum = (typeof EmbeddingModelEnum)[keyof typeof EmbeddingModelEnum];
diff --git a/src/api/types/AlignmentGuardrail.ts b/src/api/types/FocusGuardrail.ts
similarity index 70%
rename from src/api/types/AlignmentGuardrail.ts
rename to src/api/types/FocusGuardrail.ts
index c2e8935e..d2955a85 100644
--- a/src/api/types/AlignmentGuardrail.ts
+++ b/src/api/types/FocusGuardrail.ts
@@ -1,5 +1,5 @@
// This file was auto-generated by Fern from our API Definition.
-export interface AlignmentGuardrail {
+export interface FocusGuardrail {
isEnabled?: boolean;
}
diff --git a/src/api/types/GenerateVoiceRequest.ts b/src/api/types/GenerateVoiceRequest.ts
index ee304c6e..ca31f82a 100644
--- a/src/api/types/GenerateVoiceRequest.ts
+++ b/src/api/types/GenerateVoiceRequest.ts
@@ -1,16 +1,3 @@
// This file was auto-generated by Fern from our API Definition.
-import type * as ElevenLabs from "../index";
-
-export interface GenerateVoiceRequest {
- /** Category code corresponding to the gender of the generated voice. Possible values: female, male. */
- gender: ElevenLabs.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender;
- /** Category code corresponding to the accent of the generated voice. Possible values: british, american, african, australian, indian. */
- accent: string;
- /** Category code corresponding to the age of the generated voice. Possible values: young, middle_aged, old. */
- age: ElevenLabs.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge;
- /** The strength of the accent of the generated voice. Has to be between 0.3 and 2.0. */
- accentStrength: number;
- /** Text to generate, text length has to be between 100 and 1000. */
- text: string;
-}
+export type GenerateVoiceRequest = unknown;
diff --git a/src/api/types/GenerationSourceContext.ts b/src/api/types/GenerationSourceContext.ts
new file mode 100644
index 00000000..aad2054b
--- /dev/null
+++ b/src/api/types/GenerationSourceContext.ts
@@ -0,0 +1,17 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface GenerationSourceContext {
+ sourceType?: "generation";
+ generationId: string;
+ prompt?: string;
+ modelId: string;
+ modelProvider?: string;
+ generationSessionId?: string;
+ sessionIterationId?: string;
+ /** Modified/enhanced prompt if different from original */
+ alteredPrompt?: string;
+ modelParameters?: Record;
+ extendVideo?: ElevenLabs.ReferenceVideo;
+}
diff --git a/src/api/types/GetAgentResponseModel.ts b/src/api/types/GetAgentResponseModel.ts
index 3b6715c4..38ba9e93 100644
--- a/src/api/types/GetAgentResponseModel.ts
+++ b/src/api/types/GetAgentResponseModel.ts
@@ -29,4 +29,6 @@ export interface GetAgentResponseModel {
branchId?: string;
/** The ID of the main branch for this agent */
mainBranchId?: string;
+ /** Coaching settings for the agent if configured */
+ coachingSettings?: ElevenLabs.GetAgentResponseModelCoachingSettings;
}
diff --git a/src/api/types/GetAgentResponseModelCoachingSettings.ts b/src/api/types/GetAgentResponseModelCoachingSettings.ts
new file mode 100644
index 00000000..e9198462
--- /dev/null
+++ b/src/api/types/GetAgentResponseModelCoachingSettings.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export type GetAgentResponseModelCoachingSettings =
+ | ElevenLabs.GetAgentResponseModelCoachingSettings.Coached
+ | ElevenLabs.GetAgentResponseModelCoachingSettings.Coaching
+ | ElevenLabs.GetAgentResponseModelCoachingSettings.None;
+
+export namespace GetAgentResponseModelCoachingSettings {
+ export interface Coached extends ElevenLabs.CoachedAgentSettings {
+ type: "coached";
+ }
+
+ export interface Coaching extends ElevenLabs.CoachingAgentSettings {
+ type: "coaching";
+ }
+
+ export interface None extends ElevenLabs.NoCoachingSettings {
+ type: "none";
+ }
+}
diff --git a/src/api/types/GetClientByPhoneParams.ts b/src/api/types/GetClientByPhoneParams.ts
new file mode 100644
index 00000000..6c359d75
--- /dev/null
+++ b/src/api/types/GetClientByPhoneParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Look up a client by their exact phone number.
+ */
+export interface GetClientByPhoneParams {
+ smbToolType?: "get_client_by_phone";
+}
diff --git a/src/api/types/GetConversationResponseModel.ts b/src/api/types/GetConversationResponseModel.ts
index 3ec4454f..a33c3ccd 100644
--- a/src/api/types/GetConversationResponseModel.ts
+++ b/src/api/types/GetConversationResponseModel.ts
@@ -10,7 +10,6 @@ export interface GetConversationResponseModel {
branchId?: string;
/** The ID of the agent version used for this conversation */
versionId?: string;
- transcript: ElevenLabs.ConversationHistoryTranscriptCommonModelOutput[];
metadata: ElevenLabs.ConversationHistoryMetadataCommonModel;
analysis?: ElevenLabs.ConversationHistoryAnalysisCommonModel;
conversationInitiationClientData?: ElevenLabs.ConversationInitiationClientDataRequestOutput;
@@ -18,4 +17,5 @@ export interface GetConversationResponseModel {
hasAudio: boolean;
hasUserAudio: boolean;
hasResponseAudio: boolean;
+ transcript: ElevenLabs.ConversationHistoryTranscriptResponseModel[];
}
diff --git a/src/api/types/GetKnowledgeBaseDependentAgentsResponseModel.ts b/src/api/types/GetKnowledgeBaseDependentAgentsResponseModel.ts
index f4b448d8..e5bef83f 100644
--- a/src/api/types/GetKnowledgeBaseDependentAgentsResponseModel.ts
+++ b/src/api/types/GetKnowledgeBaseDependentAgentsResponseModel.ts
@@ -4,6 +4,7 @@ import type * as ElevenLabs from "../index";
export interface GetKnowledgeBaseDependentAgentsResponseModel {
agents: ElevenLabs.GetKnowledgeBaseDependentAgentsResponseModelAgentsItem[];
+ branches?: ElevenLabs.DependentBranchInfo[];
nextCursor?: string;
hasMore: boolean;
}
diff --git a/src/api/types/GetToolDependentAgentsResponseModel.ts b/src/api/types/GetToolDependentAgentsResponseModel.ts
index b40a041c..403184d1 100644
--- a/src/api/types/GetToolDependentAgentsResponseModel.ts
+++ b/src/api/types/GetToolDependentAgentsResponseModel.ts
@@ -4,6 +4,7 @@ import type * as ElevenLabs from "../index";
export interface GetToolDependentAgentsResponseModel {
agents: ElevenLabs.GetToolDependentAgentsResponseModelAgentsItem[];
+ branches?: ElevenLabs.DependentBranchInfo[];
nextCursor?: string;
hasMore: boolean;
}
diff --git a/src/api/types/GuardrailsV1Input.ts b/src/api/types/GuardrailsV1Input.ts
index 04fd51ce..b9d1d466 100644
--- a/src/api/types/GuardrailsV1Input.ts
+++ b/src/api/types/GuardrailsV1Input.ts
@@ -4,7 +4,8 @@ import type * as ElevenLabs from "../index";
export interface GuardrailsV1Input {
version?: "1";
- alignment?: ElevenLabs.AlignmentGuardrail;
+ focus?: ElevenLabs.FocusGuardrail;
+ promptInjection?: ElevenLabs.PromptInjectionGuardrail;
content?: ElevenLabs.ContentGuardrailInput;
moderation?: ElevenLabs.ModerationGuardrailInput;
custom?: ElevenLabs.CustomGuardrailInput;
diff --git a/src/api/types/GuardrailsV1Output.ts b/src/api/types/GuardrailsV1Output.ts
index c1dcc0a3..93184326 100644
--- a/src/api/types/GuardrailsV1Output.ts
+++ b/src/api/types/GuardrailsV1Output.ts
@@ -4,7 +4,8 @@ import type * as ElevenLabs from "../index";
export interface GuardrailsV1Output {
version?: "1";
- alignment?: ElevenLabs.AlignmentGuardrail;
+ focus?: ElevenLabs.FocusGuardrail;
+ promptInjection?: ElevenLabs.PromptInjectionGuardrail;
content?: ElevenLabs.ContentGuardrailOutput;
moderation?: ElevenLabs.ModerationGuardrailOutput;
custom?: ElevenLabs.CustomGuardrailOutput;
diff --git a/src/api/types/LibraryVoiceResponse.ts b/src/api/types/LibraryVoiceResponse.ts
index 33776f2a..1d67a3af 100644
--- a/src/api/types/LibraryVoiceResponse.ts
+++ b/src/api/types/LibraryVoiceResponse.ts
@@ -65,4 +65,6 @@ export interface LibraryVoiceResponse {
imageUrl?: string;
/** Whether the voice was added by the user. */
isAddedByUser?: boolean;
+ /** Whether the voice is bookmarked by the current user. Only relevant when is_added_by_user is True. */
+ isBookmarked?: boolean;
}
diff --git a/src/api/types/ListAssetsParams.ts b/src/api/types/ListAssetsParams.ts
new file mode 100644
index 00000000..dcdf0c90
--- /dev/null
+++ b/src/api/types/ListAssetsParams.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface ListAssetsParams {
+ smbToolType?: "list_assets";
+}
diff --git a/src/api/types/ListClientsParams.ts b/src/api/types/ListClientsParams.ts
new file mode 100644
index 00000000..94150f26
--- /dev/null
+++ b/src/api/types/ListClientsParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * List clients ordered by most recently updated, with an optional limit.
+ */
+export interface ListClientsParams {
+ smbToolType?: "list_clients";
+}
diff --git a/src/api/types/ListProductsParams.ts b/src/api/types/ListProductsParams.ts
new file mode 100644
index 00000000..7a5c87ed
--- /dev/null
+++ b/src/api/types/ListProductsParams.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface ListProductsParams {
+ smbToolType?: "list_products";
+}
diff --git a/src/api/types/ListServicesParams.ts b/src/api/types/ListServicesParams.ts
new file mode 100644
index 00000000..5fcaa391
--- /dev/null
+++ b/src/api/types/ListServicesParams.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface ListServicesParams {
+ smbToolType?: "list_services";
+}
diff --git a/src/api/types/ListStaffParams.ts b/src/api/types/ListStaffParams.ts
new file mode 100644
index 00000000..4474150b
--- /dev/null
+++ b/src/api/types/ListStaffParams.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface ListStaffParams {
+ smbToolType?: "list_staff";
+}
diff --git a/src/api/types/LlmDeprecationConfigModel.ts b/src/api/types/LlmDeprecationConfigModel.ts
new file mode 100644
index 00000000..9eb57ecd
--- /dev/null
+++ b/src/api/types/LlmDeprecationConfigModel.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface LlmDeprecationConfigModel {
+ /** Number of days before the provider deprecation date when warnings start being shown. */
+ warningStartDays: number;
+ /** Number of days before the provider deprecation date when traffic starts being routed to the replacement model. */
+ fallbackStartDays: number;
+ /** Number of days before the provider deprecation date when all traffic is routed to the replacement model. */
+ fallbackCompleteDays: number;
+ /** Percentage of traffic routed to the replacement model when fallback begins. */
+ fallbackStartPercentage: number;
+ /** Percentage of traffic routed to the replacement model when fallback is complete. */
+ fallbackCompletePercentage: number;
+}
diff --git a/src/api/types/LlmDeprecationInfoModel.ts b/src/api/types/LlmDeprecationInfoModel.ts
new file mode 100644
index 00000000..5d142247
--- /dev/null
+++ b/src/api/types/LlmDeprecationInfoModel.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface LlmDeprecationInfoModel {
+ /** The identifier of the deprecated LLM model. */
+ llm: ElevenLabs.Llm;
+ /** Whether this model is currently deprecated. True if the model is immediately deprecated or within the warning period. */
+ isDeprecated: boolean;
+ /** Whether this model is currently in the warning period before deprecation. */
+ isInWarningPeriod?: boolean;
+ /** Whether traffic is currently being progressively routed to the replacement model. */
+ isInFallbackPeriod?: boolean;
+ /** Current percentage of traffic being routed to the replacement model (0-100). */
+ fallbackPercentage?: number;
+ /** The date when the model provider will deprecate this model. Null for immediately deprecated models. */
+ providerDeprecationDate?: Date;
+ /** The model that replaces this deprecated model. Traffic will be automatically routed to this model. */
+ replacementModel?: ElevenLabs.Llm;
+ /** Custom deprecation timing configuration for this model. Null if using the default configuration. */
+ deprecationConfig?: ElevenLabs.LlmDeprecationConfigModel;
+}
diff --git a/src/api/types/LlmInfoModelInput.ts b/src/api/types/LlmInfoModelInput.ts
new file mode 100644
index 00000000..4710a6fe
--- /dev/null
+++ b/src/api/types/LlmInfoModelInput.ts
@@ -0,0 +1,24 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface LlmInfoModelInput {
+ /** The model identifier. */
+ llm: ElevenLabs.Llm;
+ /** Whether this is a pinned checkpoint version of a model rather than a top-level alias. */
+ isCheckpoint: boolean;
+ /** Maximum number of output tokens the model can generate. */
+ maxTokensLimit: number;
+ /** Maximum number of input context tokens the model supports. */
+ maxContextLimit: number;
+ /** Whether the model supports image file inputs during conversations. */
+ supportsImageInput: boolean;
+ /** Whether the model supports document (PDF) file inputs during conversations. */
+ supportsDocumentInput: boolean;
+ /** Whether the model supports calling multiple tools in parallel. */
+ supportsParallelToolCalls: boolean;
+ /** Available reasoning effort levels for this model. Null if the model does not support configurable reasoning. */
+ availableReasoningEfforts?: ElevenLabs.LlmReasoningEffort[];
+ /** Deprecation information if this model is deprecated or scheduled for deprecation. Null if the model is not affected. */
+ deprecationInfo?: ElevenLabs.LlmDeprecationInfoModel;
+}
diff --git a/src/api/types/LlmInfoModelOutput.ts b/src/api/types/LlmInfoModelOutput.ts
new file mode 100644
index 00000000..3285e79b
--- /dev/null
+++ b/src/api/types/LlmInfoModelOutput.ts
@@ -0,0 +1,24 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface LlmInfoModelOutput {
+ /** The model identifier. */
+ llm: ElevenLabs.Llm;
+ /** Whether this is a pinned checkpoint version of a model rather than a top-level alias. */
+ isCheckpoint: boolean;
+ /** Maximum number of output tokens the model can generate. */
+ maxTokensLimit: number;
+ /** Maximum number of input context tokens the model supports. */
+ maxContextLimit: number;
+ /** Whether the model supports image file inputs during conversations. */
+ supportsImageInput: boolean;
+ /** Whether the model supports document (PDF) file inputs during conversations. */
+ supportsDocumentInput: boolean;
+ /** Whether the model supports calling multiple tools in parallel. */
+ supportsParallelToolCalls: boolean;
+ /** Available reasoning effort levels for this model. Null if the model does not support configurable reasoning. */
+ availableReasoningEfforts?: ElevenLabs.LlmReasoningEffort[];
+ /** Deprecation information if this model is deprecated or scheduled for deprecation. Null if the model is not affected. */
+ deprecationInfo?: ElevenLabs.LlmDeprecationInfoModel;
+}
diff --git a/src/api/types/LlmListResponseModelInput.ts b/src/api/types/LlmListResponseModelInput.ts
new file mode 100644
index 00000000..f2ce676f
--- /dev/null
+++ b/src/api/types/LlmListResponseModelInput.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface LlmListResponseModelInput {
+ /** List of all available LLM models that can be used with agents. */
+ llms: ElevenLabs.LlmInfoModelInput[];
+ /** The default deprecation timing configuration used for models without a custom override. */
+ defaultDeprecationConfig: ElevenLabs.LlmDeprecationConfigModel;
+}
diff --git a/src/api/types/LlmListResponseModelOutput.ts b/src/api/types/LlmListResponseModelOutput.ts
new file mode 100644
index 00000000..bb4be907
--- /dev/null
+++ b/src/api/types/LlmListResponseModelOutput.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface LlmListResponseModelOutput {
+ /** List of all available LLM models that can be used with agents. */
+ llms: ElevenLabs.LlmInfoModelOutput[];
+ /** The default deprecation timing configuration used for models without a custom override. */
+ defaultDeprecationConfig: ElevenLabs.LlmDeprecationConfigModel;
+}
diff --git a/src/api/types/LlmSchemaOverride.ts b/src/api/types/LlmSchemaOverride.ts
new file mode 100644
index 00000000..7a7bb33c
--- /dev/null
+++ b/src/api/types/LlmSchemaOverride.ts
@@ -0,0 +1,6 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface LlmSchemaOverride {
+ /** Prompt override for the LLM. If not provided, the original schema description is used. */
+ prompt?: string;
+}
diff --git a/src/api/types/McpServerConfigInput.ts b/src/api/types/McpServerConfigInput.ts
index 36f3dffb..1ade1aa0 100644
--- a/src/api/types/McpServerConfigInput.ts
+++ b/src/api/types/McpServerConfigInput.ts
@@ -14,6 +14,8 @@ export interface McpServerConfigInput {
secretToken?: ElevenLabs.McpServerConfigInputSecretToken;
/** The headers included in the request */
requestHeaders?: Record;
+ /** Optional auth connection to use for authentication with this MCP server */
+ authConnection?: ElevenLabs.AuthConnectionLocator;
name: string;
description?: string;
/** If true, all tools from this MCP server will require pre-tool execution speech */
diff --git a/src/api/types/McpServerConfigOutput.ts b/src/api/types/McpServerConfigOutput.ts
index f586ee59..a85824fa 100644
--- a/src/api/types/McpServerConfigOutput.ts
+++ b/src/api/types/McpServerConfigOutput.ts
@@ -14,6 +14,8 @@ export interface McpServerConfigOutput {
secretToken?: ElevenLabs.McpServerConfigOutputSecretToken;
/** The headers included in the request */
requestHeaders?: Record;
+ /** Optional auth connection to use for authentication with this MCP server */
+ authConnection?: ElevenLabs.AuthConnectionLocator;
name: string;
description?: string;
/** If true, all tools from this MCP server will require pre-tool execution speech */
diff --git a/src/api/types/McpToolConfigOverride.ts b/src/api/types/McpToolConfigOverride.ts
index ee90563a..ceae096d 100644
--- a/src/api/types/McpToolConfigOverride.ts
+++ b/src/api/types/McpToolConfigOverride.ts
@@ -17,4 +17,6 @@ export interface McpToolConfigOverride {
executionMode?: ElevenLabs.ToolExecutionMode;
/** Dynamic variable assignments for this MCP tool */
assignments?: ElevenLabs.DynamicVariableAssignment[];
+ /** Mapping of json path to input override configuration */
+ inputOverrides?: Record;
}
diff --git a/src/api/types/McpToolConfigOverrideInputOverridesValue.ts b/src/api/types/McpToolConfigOverrideInputOverridesValue.ts
new file mode 100644
index 00000000..a7be4fff
--- /dev/null
+++ b/src/api/types/McpToolConfigOverrideInputOverridesValue.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export type McpToolConfigOverrideInputOverridesValue =
+ | ElevenLabs.McpToolConfigOverrideInputOverridesValue.Constant
+ | ElevenLabs.McpToolConfigOverrideInputOverridesValue.DynamicVariable
+ | ElevenLabs.McpToolConfigOverrideInputOverridesValue.Llm;
+
+export namespace McpToolConfigOverrideInputOverridesValue {
+ export interface Constant extends ElevenLabs.ConstantSchemaOverride {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends ElevenLabs.DynamicVariableSchemaOverride {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends ElevenLabs.LlmSchemaOverride {
+ source: "llm";
+ }
+}
diff --git a/src/api/types/MessagesSearchResponse.ts b/src/api/types/MessagesSearchResponse.ts
new file mode 100644
index 00000000..fdeb311d
--- /dev/null
+++ b/src/api/types/MessagesSearchResponse.ts
@@ -0,0 +1,12 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface MessagesSearchResponse {
+ meta?: ElevenLabs.ListResponseMeta;
+ results: ElevenLabs.MessagesSearchResult[];
+ /** Cursor for the next page of results */
+ nextCursor?: string;
+ /** Whether there are more results available */
+ hasMore: boolean;
+}
diff --git a/src/api/types/MessagesSearchResult.ts b/src/api/types/MessagesSearchResult.ts
new file mode 100644
index 00000000..e282642c
--- /dev/null
+++ b/src/api/types/MessagesSearchResult.ts
@@ -0,0 +1,16 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * transcript_index: index of the message in the conversation transcript
+ * chunk_text: text of the transcript; transcript messages if very long could have several chunks.
+ * score: similarity score of the message to the search query
+ */
+export interface MessagesSearchResult {
+ conversationId: string;
+ agentId: string;
+ agentName?: string;
+ transcriptIndex: number;
+ chunkText: string;
+ score: number;
+ conversationStartTimeUnixSecs: number;
+}
diff --git a/src/api/types/MusicExploreSongSourceContext.ts b/src/api/types/MusicExploreSongSourceContext.ts
new file mode 100644
index 00000000..22d05a26
--- /dev/null
+++ b/src/api/types/MusicExploreSongSourceContext.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface MusicExploreSongSourceContext {
+ musicExploreSongId: string;
+ title?: string;
+ description?: string;
+ bpm?: number;
+ vocals?: string;
+ lyrics?: string;
+}
diff --git a/src/api/types/NoCoachingSettings.ts b/src/api/types/NoCoachingSettings.ts
new file mode 100644
index 00000000..d48f808a
--- /dev/null
+++ b/src/api/types/NoCoachingSettings.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface NoCoachingSettings {
+ memoryBaseId?: string;
+}
diff --git a/src/api/types/PendingClipTaskType.ts b/src/api/types/PendingClipTaskType.ts
index 89aa4ac6..b57ce218 100644
--- a/src/api/types/PendingClipTaskType.ts
+++ b/src/api/types/PendingClipTaskType.ts
@@ -4,5 +4,6 @@ export const PendingClipTaskType = {
Preprocessing: "preprocessing",
SpeechImport: "speech_import",
Dubbing: "dubbing",
+ VideoToMusic: "video_to_music",
} as const;
export type PendingClipTaskType = (typeof PendingClipTaskType)[keyof typeof PendingClipTaskType];
diff --git a/src/api/types/PermissionType.ts b/src/api/types/PermissionType.ts
index 295f0849..651ecc80 100644
--- a/src/api/types/PermissionType.ts
+++ b/src/api/types/PermissionType.ts
@@ -29,6 +29,7 @@ export const PermissionType = {
ConvaiRead: "convai_read",
ConvaiWrite: "convai_write",
MusicGeneration: "music_generation",
+ ImageVideoGeneration: "image_video_generation",
AddVoiceFromVoiceLibrary: "add_voice_from_voice_library",
CreateInstantVoiceClone: "create_instant_voice_clone",
CreateProfessionalVoiceClone: "create_professional_voice_clone",
diff --git a/src/api/types/PrivacyConfig.ts b/src/api/types/PrivacyConfigInput.ts
similarity index 73%
rename from src/api/types/PrivacyConfig.ts
rename to src/api/types/PrivacyConfigInput.ts
index f0329a3f..df9d23cb 100644
--- a/src/api/types/PrivacyConfig.ts
+++ b/src/api/types/PrivacyConfigInput.ts
@@ -1,6 +1,8 @@
// This file was auto-generated by Fern from our API Definition.
-export interface PrivacyConfig {
+import type * as ElevenLabs from "../index";
+
+export interface PrivacyConfigInput {
/** Whether to record the conversation */
recordVoice?: boolean;
/** The number of days to retain the conversation. -1 indicates there is no retention limit */
@@ -13,4 +15,6 @@ export interface PrivacyConfig {
applyToExistingConversations?: boolean;
/** Whether to enable zero retention mode - no PII data is stored */
zeroRetentionMode?: boolean;
+ /** Config for PII redaction in the conversation history */
+ conversationHistoryRedaction?: ElevenLabs.ConversationHistoryRedactionConfig;
}
diff --git a/src/api/types/PrivacyConfigOutput.ts b/src/api/types/PrivacyConfigOutput.ts
new file mode 100644
index 00000000..c747e1d0
--- /dev/null
+++ b/src/api/types/PrivacyConfigOutput.ts
@@ -0,0 +1,20 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface PrivacyConfigOutput {
+ /** Whether to record the conversation */
+ recordVoice?: boolean;
+ /** The number of days to retain the conversation. -1 indicates there is no retention limit */
+ retentionDays?: number;
+ /** Whether to delete the transcript and PII */
+ deleteTranscriptAndPii?: boolean;
+ /** Whether to delete the audio */
+ deleteAudio?: boolean;
+ /** Whether to apply the privacy settings to existing conversations */
+ applyToExistingConversations?: boolean;
+ /** Whether to enable zero retention mode - no PII data is stored */
+ zeroRetentionMode?: boolean;
+ /** Config for PII redaction in the conversation history */
+ conversationHistoryRedaction?: ElevenLabs.ConversationHistoryRedactionConfig;
+}
diff --git a/src/api/types/ProcedureDraftRef.ts b/src/api/types/ProcedureDraftRef.ts
deleted file mode 100644
index 87374a57..00000000
--- a/src/api/types/ProcedureDraftRef.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-export interface ProcedureDraftRef {
- /** Procedure ID */
- procedureId: string;
-}
diff --git a/src/api/types/ProcedureRefResponseModel.ts b/src/api/types/ProcedureRefResponseModel.ts
new file mode 100644
index 00000000..dcd41425
--- /dev/null
+++ b/src/api/types/ProcedureRefResponseModel.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface ProcedureRefResponseModel {
+ /** Procedure ID */
+ procedureId: string;
+ /** Version ID of a version of the procedure. None for a procedure never versioned. */
+ versionId?: string;
+ /** Procedure name */
+ name?: string;
+}
diff --git a/src/api/types/ProcedureVersionRef.ts b/src/api/types/ProcedureVersionRef.ts
deleted file mode 100644
index 809e4145..00000000
--- a/src/api/types/ProcedureVersionRef.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-export interface ProcedureVersionRef {
- /** Procedure ID */
- procedureId: string;
- /** Version ID of the procedure version. */
- versionId: string;
-}
diff --git a/src/api/types/ProjectExtendedResponseModelAssetsItem.ts b/src/api/types/ProjectExtendedResponseModelAssetsItem.ts
index 1b5b0c5e..b889e23e 100644
--- a/src/api/types/ProjectExtendedResponseModelAssetsItem.ts
+++ b/src/api/types/ProjectExtendedResponseModelAssetsItem.ts
@@ -19,4 +19,9 @@ export namespace ProjectExtendedResponseModelAssetsItem {
export interface Image extends ElevenLabs.ProjectImageResponseModel {
type: "image";
}
+
+ export type Request =
+ | ElevenLabs.ProjectExtendedResponseModelAssetsItem.Video
+ | ElevenLabs.ProjectExtendedResponseModelAssetsItem.Audio
+ | ElevenLabs.ProjectExtendedResponseModelAssetsItem.Image;
}
diff --git a/src/api/types/ProjectExternalAudioResponseModel.ts b/src/api/types/ProjectExternalAudioResponseModel.ts
index cae322ac..4dd1c8c1 100644
--- a/src/api/types/ProjectExternalAudioResponseModel.ts
+++ b/src/api/types/ProjectExternalAudioResponseModel.ts
@@ -21,9 +21,10 @@ export interface ProjectExternalAudioResponseModel {
sourceExternalAudioId?: string;
sourceAssetId?: string;
pendingBlockIds: string[];
- importSpeechProgress?: number;
+ pendingExternalAudioIds: string[];
speechImported?: boolean;
- dubAudioProgress?: number;
pendingTask?: ElevenLabs.PendingClipTask;
currentSnapshotId?: string;
+ sourceContext?: ElevenLabs.ProjectExternalAudioResponseModelSourceContext;
+ importSpeechProgress?: number;
}
diff --git a/src/api/types/ProjectExternalAudioResponseModelSourceContext.ts b/src/api/types/ProjectExternalAudioResponseModelSourceContext.ts
new file mode 100644
index 00000000..04e622bd
--- /dev/null
+++ b/src/api/types/ProjectExternalAudioResponseModelSourceContext.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export type ProjectExternalAudioResponseModelSourceContext =
+ | ElevenLabs.ProjectExternalAudioResponseModelSourceContext.MusicExploreSong
+ | ElevenLabs.ProjectExternalAudioResponseModelSourceContext.Sfx
+ | ElevenLabs.ProjectExternalAudioResponseModelSourceContext.Song;
+
+export namespace ProjectExternalAudioResponseModelSourceContext {
+ export interface MusicExploreSong extends ElevenLabs.MusicExploreSongSourceContext {
+ sourceType: "music_explore_song";
+ }
+
+ export interface Sfx extends ElevenLabs.SfxSourceContext {
+ sourceType: "sfx";
+ }
+
+ export interface Song extends ElevenLabs.SongSourceContext {
+ sourceType: "song";
+ }
+}
diff --git a/src/api/types/ProjectImageResponseModel.ts b/src/api/types/ProjectImageResponseModel.ts
index f80d4634..8a9d7cb4 100644
--- a/src/api/types/ProjectImageResponseModel.ts
+++ b/src/api/types/ProjectImageResponseModel.ts
@@ -16,6 +16,7 @@ export interface ProjectImageResponseModel {
durationMs: number;
order: string;
canvasPlacement: ElevenLabs.CanvasPlacement;
+ animation?: ElevenLabs.ClipAnimation;
createdAtMs: number;
updatedAtMs: number;
currentSnapshotId?: string;
diff --git a/src/api/types/ProjectVideoResponseModel.ts b/src/api/types/ProjectVideoResponseModel.ts
index ef19c68c..d4882030 100644
--- a/src/api/types/ProjectVideoResponseModel.ts
+++ b/src/api/types/ProjectVideoResponseModel.ts
@@ -11,11 +11,12 @@ export interface ProjectVideoResponseModel {
durationMs: number;
volumeGainDb: number;
muted: boolean;
+ fadeInMs?: number;
+ fadeOutMs?: number;
width: number;
height: number;
codec: string;
order: string;
- previewJobProgress: number;
createdAtMs: number;
updatedAtMs: number;
error?: string;
@@ -28,13 +29,16 @@ export interface ProjectVideoResponseModel {
sourceVideoId?: string;
sourceAssetId?: string;
pendingBlockIds: string[];
- importSpeechProgress?: number;
+ pendingExternalAudioIds: string[];
speechImported?: boolean;
- dubAudioProgress?: number;
pendingTask?: ElevenLabs.PendingClipTask;
audioTrackReady?: boolean;
exportFormatReady?: boolean;
currentSnapshotId?: string;
+ sourceContext?: ElevenLabs.GenerationSourceContext;
canvasPlacement?: ElevenLabs.CanvasPlacement;
+ animation?: ElevenLabs.ClipAnimation;
trackId?: string;
+ previewJobProgress?: number;
+ importSpeechProgress?: number;
}
diff --git a/src/api/types/PromptAgentApiModelInputToolsItem.ts b/src/api/types/PromptAgentApiModelInputToolsItem.ts
index 2099445f..377f9579 100644
--- a/src/api/types/PromptAgentApiModelInputToolsItem.ts
+++ b/src/api/types/PromptAgentApiModelInputToolsItem.ts
@@ -9,6 +9,7 @@ export type PromptAgentApiModelInputToolsItem =
| ElevenLabs.PromptAgentApiModelInputToolsItem.ApiIntegrationWebhook
| ElevenLabs.PromptAgentApiModelInputToolsItem.Client
| ElevenLabs.PromptAgentApiModelInputToolsItem.Mcp
+ | ElevenLabs.PromptAgentApiModelInputToolsItem.Smb
| ElevenLabs.PromptAgentApiModelInputToolsItem.System
| ElevenLabs.PromptAgentApiModelInputToolsItem.Webhook;
@@ -26,6 +27,11 @@ export namespace PromptAgentApiModelInputToolsItem {
value?: unknown;
}
+ export interface Smb {
+ type: "smb";
+ value?: unknown;
+ }
+
export interface System extends ElevenLabs.SystemToolConfigInput {
type: "system";
}
diff --git a/src/api/types/PromptAgentApiModelOutputToolsItem.ts b/src/api/types/PromptAgentApiModelOutputToolsItem.ts
index 8947626b..49cb08e7 100644
--- a/src/api/types/PromptAgentApiModelOutputToolsItem.ts
+++ b/src/api/types/PromptAgentApiModelOutputToolsItem.ts
@@ -9,6 +9,7 @@ export type PromptAgentApiModelOutputToolsItem =
| ElevenLabs.PromptAgentApiModelOutputToolsItem.ApiIntegrationWebhook
| ElevenLabs.PromptAgentApiModelOutputToolsItem.Client
| ElevenLabs.PromptAgentApiModelOutputToolsItem.Mcp
+ | ElevenLabs.PromptAgentApiModelOutputToolsItem.Smb
| ElevenLabs.PromptAgentApiModelOutputToolsItem.System
| ElevenLabs.PromptAgentApiModelOutputToolsItem.Webhook;
@@ -26,6 +27,11 @@ export namespace PromptAgentApiModelOutputToolsItem {
value?: unknown;
}
+ export interface Smb {
+ type: "smb";
+ value?: unknown;
+ }
+
export interface System extends ElevenLabs.SystemToolConfigOutput {
type: "system";
}
diff --git a/src/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.ts b/src/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.ts
index ad6c6259..37e41c0f 100644
--- a/src/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.ts
+++ b/src/api/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.ts
@@ -9,6 +9,7 @@ export type PromptAgentApiModelWorkflowOverrideInputToolsItem =
| ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.ApiIntegrationWebhook
| ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Client
| ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Mcp
+ | ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Smb
| ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.System
| ElevenLabs.PromptAgentApiModelWorkflowOverrideInputToolsItem.Webhook;
@@ -26,6 +27,11 @@ export namespace PromptAgentApiModelWorkflowOverrideInputToolsItem {
value?: unknown;
}
+ export interface Smb {
+ type: "smb";
+ value?: unknown;
+ }
+
export interface System extends ElevenLabs.SystemToolConfigInput {
type: "system";
}
diff --git a/src/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.ts b/src/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.ts
index 8d986847..a43ce9d9 100644
--- a/src/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.ts
+++ b/src/api/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.ts
@@ -9,6 +9,7 @@ export type PromptAgentApiModelWorkflowOverrideOutputToolsItem =
| ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.ApiIntegrationWebhook
| ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Client
| ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Mcp
+ | ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Smb
| ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.System
| ElevenLabs.PromptAgentApiModelWorkflowOverrideOutputToolsItem.Webhook;
@@ -26,6 +27,11 @@ export namespace PromptAgentApiModelWorkflowOverrideOutputToolsItem {
value?: unknown;
}
+ export interface Smb {
+ type: "smb";
+ value?: unknown;
+ }
+
export interface System extends ElevenLabs.SystemToolConfigOutput {
type: "system";
}
diff --git a/src/api/types/PromptInjectionGuardrail.ts b/src/api/types/PromptInjectionGuardrail.ts
new file mode 100644
index 00000000..1e25671d
--- /dev/null
+++ b/src/api/types/PromptInjectionGuardrail.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface PromptInjectionGuardrail {
+ isEnabled?: boolean;
+}
diff --git a/src/api/types/PronunciationDictionaryAliasRuleRequestModel.ts b/src/api/types/PronunciationDictionaryAliasRuleRequestModel.ts
index 2d70c0b1..5167f0a1 100644
--- a/src/api/types/PronunciationDictionaryAliasRuleRequestModel.ts
+++ b/src/api/types/PronunciationDictionaryAliasRuleRequestModel.ts
@@ -3,6 +3,10 @@
export interface PronunciationDictionaryAliasRuleRequestModel {
/** The string to replace. Must be a non-empty string. */
stringToReplace: string;
+ /** Whether the rule should match case-sensitively. */
+ caseSensitive?: boolean;
+ /** Whether the rule should only match at word boundaries. */
+ wordBoundaries?: boolean;
/** The alias for the string to be replaced. */
alias: string;
}
diff --git a/src/api/types/PronunciationDictionaryAliasRuleResponseModel.ts b/src/api/types/PronunciationDictionaryAliasRuleResponseModel.ts
index 3529a4c3..fcfdd8a3 100644
--- a/src/api/types/PronunciationDictionaryAliasRuleResponseModel.ts
+++ b/src/api/types/PronunciationDictionaryAliasRuleResponseModel.ts
@@ -2,5 +2,9 @@
export interface PronunciationDictionaryAliasRuleResponseModel {
stringToReplace: string;
+ /** Whether the rule matches case-sensitively. */
+ caseSensitive?: boolean;
+ /** Whether the rule only matches at word boundaries. */
+ wordBoundaries?: boolean;
alias: string;
}
diff --git a/src/api/types/PronunciationDictionaryPhonemeRuleRequestModel.ts b/src/api/types/PronunciationDictionaryPhonemeRuleRequestModel.ts
index 6b4a3ee9..3f0ec012 100644
--- a/src/api/types/PronunciationDictionaryPhonemeRuleRequestModel.ts
+++ b/src/api/types/PronunciationDictionaryPhonemeRuleRequestModel.ts
@@ -3,6 +3,10 @@
export interface PronunciationDictionaryPhonemeRuleRequestModel {
/** The string to replace. Must be a non-empty string. */
stringToReplace: string;
+ /** Whether the rule should match case-sensitively. */
+ caseSensitive?: boolean;
+ /** Whether the rule should only match at word boundaries. */
+ wordBoundaries?: boolean;
/** The phoneme rule. */
phoneme: string;
/** The alphabet to use with the phoneme rule. */
diff --git a/src/api/types/PronunciationDictionaryPhonemeRuleResponseModel.ts b/src/api/types/PronunciationDictionaryPhonemeRuleResponseModel.ts
index 69c07259..bcd1d550 100644
--- a/src/api/types/PronunciationDictionaryPhonemeRuleResponseModel.ts
+++ b/src/api/types/PronunciationDictionaryPhonemeRuleResponseModel.ts
@@ -2,6 +2,10 @@
export interface PronunciationDictionaryPhonemeRuleResponseModel {
stringToReplace: string;
+ /** Whether the rule matches case-sensitively. */
+ caseSensitive?: boolean;
+ /** Whether the rule only matches at word boundaries. */
+ wordBoundaries?: boolean;
phoneme: string;
alphabet: string;
}
diff --git a/src/api/types/RagConfig.ts b/src/api/types/RagConfig.ts
index d625c35c..7b33dd6d 100644
--- a/src/api/types/RagConfig.ts
+++ b/src/api/types/RagConfig.ts
@@ -11,6 +11,8 @@ export interface RagConfig {
maxDocumentsLength?: number;
/** Maximum number of RAG document chunks to initially retrieve from the vector store. These are then further filtered by vector distance and total length. */
maxRetrievedRagChunksCount?: number;
+ /** Number of candidates evaluated in ANN vector search. Higher number means better results, but higher latency. Minimum recommended value is 100. If disabled, the default value is used. */
+ numCandidates?: number;
/** Custom prompt for rewriting user queries before RAG retrieval. The conversation history will be automatically appended at the end. If not set, the default prompt will be used. */
queryRewritePromptOverride?: string;
}
diff --git a/src/api/types/RagConfigWorkflowOverride.ts b/src/api/types/RagConfigWorkflowOverride.ts
index ff41fa29..fb876163 100644
--- a/src/api/types/RagConfigWorkflowOverride.ts
+++ b/src/api/types/RagConfigWorkflowOverride.ts
@@ -11,6 +11,8 @@ export interface RagConfigWorkflowOverride {
maxDocumentsLength?: number;
/** Maximum number of RAG document chunks to initially retrieve from the vector store. These are then further filtered by vector distance and total length. */
maxRetrievedRagChunksCount?: number;
+ /** Number of candidates evaluated in ANN vector search. Higher number means better results, but higher latency. Minimum recommended value is 100. If disabled, the default value is used. */
+ numCandidates?: number;
/** Custom prompt for rewriting user queries before RAG retrieval. The conversation history will be automatically appended at the end. If not set, the default prompt will be used. */
queryRewritePromptOverride?: string;
}
diff --git a/src/api/types/RagIndexStatus.ts b/src/api/types/RagIndexStatus.ts
index 756d0ae6..61d3643c 100644
--- a/src/api/types/RagIndexStatus.ts
+++ b/src/api/types/RagIndexStatus.ts
@@ -1,6 +1,7 @@
// This file was auto-generated by Fern from our API Definition.
export const RagIndexStatus = {
+ New: "new",
Created: "created",
Processing: "processing",
Failed: "failed",
diff --git a/src/api/types/ReferenceVideo.ts b/src/api/types/ReferenceVideo.ts
new file mode 100644
index 00000000..2c61f72d
--- /dev/null
+++ b/src/api/types/ReferenceVideo.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface ReferenceVideo {
+ generationId?: string;
+ contentAssetId?: string;
+ templateNodeId?: string;
+ studioClip?: ElevenLabs.StudioClipReference;
+}
diff --git a/src/api/types/ResponseFilter.ts b/src/api/types/ResponseFilter.ts
new file mode 100644
index 00000000..f6a8ad70
--- /dev/null
+++ b/src/api/types/ResponseFilter.ts
@@ -0,0 +1,15 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+/**
+ * Configuration for filtering tool responses before they are visible to the agent.
+ */
+export interface ResponseFilter {
+ /** Controls how tool responses are filtered. 'all' returns entire response, 'allow' returns only specified paths. */
+ mode?: ElevenLabs.ResponseFilterMode;
+ /** Dot notation paths to include when mode is 'allow' (e.g., ['ticket.id', 'ticket.status']). */
+ filters?: string[];
+ /** Content type for response filtering. Only 'application/json' responses are filtered. */
+ contentType?: "application/json";
+}
diff --git a/src/api/types/SayNodeLiteralMessageInput.ts b/src/api/types/SayNodeLiteralMessageInput.ts
new file mode 100644
index 00000000..bd880f94
--- /dev/null
+++ b/src/api/types/SayNodeLiteralMessageInput.ts
@@ -0,0 +1,7 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface SayNodeLiteralMessageInput {
+ type?: "literal";
+ /** Literal text message to be spoken by the agent. */
+ text: string;
+}
diff --git a/src/api/types/SayNodeLiteralMessageOutput.ts b/src/api/types/SayNodeLiteralMessageOutput.ts
new file mode 100644
index 00000000..7b868ca7
--- /dev/null
+++ b/src/api/types/SayNodeLiteralMessageOutput.ts
@@ -0,0 +1,7 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface SayNodeLiteralMessageOutput {
+ type: "literal";
+ /** Literal text message to be spoken by the agent. */
+ text: string;
+}
diff --git a/src/api/types/SayNodePromptMessageInput.ts b/src/api/types/SayNodePromptMessageInput.ts
new file mode 100644
index 00000000..3dc2365a
--- /dev/null
+++ b/src/api/types/SayNodePromptMessageInput.ts
@@ -0,0 +1,7 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface SayNodePromptMessageInput {
+ type?: "prompt";
+ /** LLM prompt describing what message should be generated. */
+ prompt: string;
+}
diff --git a/src/api/types/SayNodePromptMessageOutput.ts b/src/api/types/SayNodePromptMessageOutput.ts
new file mode 100644
index 00000000..d48f8f24
--- /dev/null
+++ b/src/api/types/SayNodePromptMessageOutput.ts
@@ -0,0 +1,7 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface SayNodePromptMessageOutput {
+ type: "prompt";
+ /** LLM prompt describing what message should be generated. */
+ prompt: string;
+}
diff --git a/src/api/types/SearchClientsParams.ts b/src/api/types/SearchClientsParams.ts
new file mode 100644
index 00000000..522ea4ce
--- /dev/null
+++ b/src/api/types/SearchClientsParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Search for clients by name, phone number, or email.
+ */
+export interface SearchClientsParams {
+ smbToolType?: "search_clients";
+}
diff --git a/src/api/types/SeatType.ts b/src/api/types/SeatType.ts
index 818fdc95..5e01c1e0 100644
--- a/src/api/types/SeatType.ts
+++ b/src/api/types/SeatType.ts
@@ -1,5 +1,10 @@
// This file was auto-generated by Fern from our API Definition.
+/**
+ * Seat types for workspace members.
+ * Lite Member is equivalent to Basic Seat in the web application.
+ * Member is equivalent to Full Seat in the web application.
+ */
export const SeatType = {
WorkspaceAdmin: "workspace_admin",
WorkspaceMember: "workspace_member",
diff --git a/src/api/types/SfxSourceContext.ts b/src/api/types/SfxSourceContext.ts
new file mode 100644
index 00000000..c3704261
--- /dev/null
+++ b/src/api/types/SfxSourceContext.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Context for sound effect clips.
+ */
+export interface SfxSourceContext {
+ soundGenerationHistoryItemId?: string;
+ text?: string;
+ generationConfig?: Record;
+}
diff --git a/src/api/types/SongSourceContext.ts b/src/api/types/SongSourceContext.ts
new file mode 100644
index 00000000..b2a45d5a
--- /dev/null
+++ b/src/api/types/SongSourceContext.ts
@@ -0,0 +1,12 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface SongSourceContext {
+ songId: string;
+ title?: string;
+ description?: string;
+ genres?: string[];
+ languages?: string[];
+ isExplicit?: boolean;
+ bpm?: number;
+ generationSettings?: Record;
+}
diff --git a/src/api/types/StudioClipReference.ts b/src/api/types/StudioClipReference.ts
new file mode 100644
index 00000000..d28dee69
--- /dev/null
+++ b/src/api/types/StudioClipReference.ts
@@ -0,0 +1,12 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../index";
+
+export interface StudioClipReference {
+ projectId: string;
+ chapterId: string;
+ clipType: ElevenLabs.StudioClipReferenceClipType;
+ clipId: string;
+ blockId?: string;
+ previewUrl?: string;
+}
diff --git a/src/api/types/StudioClipReferenceClipType.ts b/src/api/types/StudioClipReferenceClipType.ts
new file mode 100644
index 00000000..e0c70d04
--- /dev/null
+++ b/src/api/types/StudioClipReferenceClipType.ts
@@ -0,0 +1,10 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const StudioClipReferenceClipType = {
+ Video: "video",
+ Image: "image",
+ ExternalAudio: "external_audio",
+ TtsNode: "tts_node",
+} as const;
+export type StudioClipReferenceClipType =
+ (typeof StudioClipReferenceClipType)[keyof typeof StudioClipReferenceClipType];
diff --git a/src/api/types/TestType.ts b/src/api/types/TestType.ts
index af1a59aa..217970f5 100644
--- a/src/api/types/TestType.ts
+++ b/src/api/types/TestType.ts
@@ -4,5 +4,6 @@ export const TestType = {
Llm: "llm",
Tool: "tool",
Simulation: "simulation",
+ Folder: "folder",
} as const;
export type TestType = (typeof TestType)[keyof typeof TestType];
diff --git a/src/api/types/ToolType.ts b/src/api/types/ToolType.ts
index 877efd67..adadaf80 100644
--- a/src/api/types/ToolType.ts
+++ b/src/api/types/ToolType.ts
@@ -8,5 +8,6 @@ export const ToolType = {
Workflow: "workflow",
ApiIntegrationWebhook: "api_integration_webhook",
ApiIntegrationMcp: "api_integration_mcp",
+ Smb: "smb",
} as const;
export type ToolType = (typeof ToolType)[keyof typeof ToolType];
diff --git a/src/api/types/UnitTestSummaryResponseModel.ts b/src/api/types/UnitTestSummaryResponseModel.ts
index f26dea4c..ea917a60 100644
--- a/src/api/types/UnitTestSummaryResponseModel.ts
+++ b/src/api/types/UnitTestSummaryResponseModel.ts
@@ -13,6 +13,14 @@ export interface UnitTestSummaryResponseModel {
createdAtUnixSecs: number;
/** Last update time of the test in unix seconds */
lastUpdatedAtUnixSecs: number;
- /** Type of the test */
+ /** Type of the test or entity */
type: ElevenLabs.TestType;
+ /** The type of entity (test or folder) */
+ entityType?: ElevenLabs.AgentTestEntityType;
+ /** The ID of the parent folder */
+ folderParentId?: string;
+ /** The folder path segments from root to this entity */
+ folderPath?: ElevenLabs.AgentTestFolderPathSegmentResponseModel[];
+ /** Number of direct children (tests and subfolders) for folders only */
+ childrenCount?: number;
}
diff --git a/src/api/types/UpdateClientParams.ts b/src/api/types/UpdateClientParams.ts
new file mode 100644
index 00000000..a6918a7b
--- /dev/null
+++ b/src/api/types/UpdateClientParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Update an existing client's information.
+ */
+export interface UpdateClientParams {
+ smbToolType?: "update_client";
+}
diff --git a/src/api/types/UpdateProductParams.ts b/src/api/types/UpdateProductParams.ts
new file mode 100644
index 00000000..e58c9f01
--- /dev/null
+++ b/src/api/types/UpdateProductParams.ts
@@ -0,0 +1,5 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export interface UpdateProductParams {
+ smbToolType?: "update_product";
+}
diff --git a/src/api/types/UpdateResponseUnitTestRequest.ts b/src/api/types/UpdateResponseUnitTestRequest.ts
index 1303e092..2bf3ad8e 100644
--- a/src/api/types/UpdateResponseUnitTestRequest.ts
+++ b/src/api/types/UpdateResponseUnitTestRequest.ts
@@ -15,4 +15,6 @@ export interface UpdateResponseUnitTestRequest {
/** Non-empty list of example responses that should be considered failures */
failureExamples?: ElevenLabs.AgentFailureResponseExample[];
name: string;
+ /** The ID of the parent folder. If not provided, the test will be moved to the root level. */
+ parentFolderId?: string;
}
diff --git a/src/api/types/UpdateServiceParams.ts b/src/api/types/UpdateServiceParams.ts
new file mode 100644
index 00000000..a06401bb
--- /dev/null
+++ b/src/api/types/UpdateServiceParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Update an existing service's information.
+ */
+export interface UpdateServiceParams {
+ smbToolType?: "update_service";
+}
diff --git a/src/api/types/UpdateSimulationTestRequest.ts b/src/api/types/UpdateSimulationTestRequest.ts
index b699cba9..659b22bd 100644
--- a/src/api/types/UpdateSimulationTestRequest.ts
+++ b/src/api/types/UpdateSimulationTestRequest.ts
@@ -15,4 +15,6 @@ export interface UpdateSimulationTestRequest {
/** Maximum number of conversation turns for simulation tests. */
simulationMaxTurns?: number;
name: string;
+ /** The ID of the parent folder. If not provided, the test will be moved to the root level. */
+ parentFolderId?: string;
}
diff --git a/src/api/types/UpdateStaffParams.ts b/src/api/types/UpdateStaffParams.ts
new file mode 100644
index 00000000..dd2d72d3
--- /dev/null
+++ b/src/api/types/UpdateStaffParams.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+/**
+ * Update an existing staff member's information.
+ */
+export interface UpdateStaffParams {
+ smbToolType?: "update_staff";
+}
diff --git a/src/api/types/UpdateToolCallUnitTestRequest.ts b/src/api/types/UpdateToolCallUnitTestRequest.ts
index 5e823102..e51276eb 100644
--- a/src/api/types/UpdateToolCallUnitTestRequest.ts
+++ b/src/api/types/UpdateToolCallUnitTestRequest.ts
@@ -13,4 +13,6 @@ export interface UpdateToolCallUnitTestRequest {
/** If set to True this test will pass if any tool call returned by the LLM matches the criteria. Otherwise it will fail if more than one tool is returned by the agent. */
checkAnyToolMatches?: boolean;
name: string;
+ /** The ID of the parent folder. If not provided, the test will be moved to the root level. */
+ parentFolderId?: string;
}
diff --git a/src/api/types/User.ts b/src/api/types/User.ts
index 39f247ac..ec96ae31 100644
--- a/src/api/types/User.ts
+++ b/src/api/types/User.ts
@@ -31,4 +31,6 @@ export interface User {
partnerstackPartnerDefaultLink?: string;
/** The unix timestamp of the user's creation. 0 if the user was created before the unix timestamp was added. */
createdAt: number;
+ /** The seat type of the user. */
+ seatType: ElevenLabs.SeatType;
}
diff --git a/src/api/types/Voice.ts b/src/api/types/Voice.ts
index d359b23d..6c0000d2 100644
--- a/src/api/types/Voice.ts
+++ b/src/api/types/Voice.ts
@@ -47,4 +47,6 @@ export interface Voice {
favoritedAtUnix?: number;
/** The creation time of the voice in Unix time. */
createdAtUnix?: number;
+ /** Whether the voice is bookmarked by the current user. Only relevant for community (library-copied) voices. */
+ isBookmarked?: boolean;
}
diff --git a/src/api/types/VoiceGenerationParameterOptionResponse.ts b/src/api/types/VoiceGenerationParameterOptionResponse.ts
index 588569fe..fbd61a04 100644
--- a/src/api/types/VoiceGenerationParameterOptionResponse.ts
+++ b/src/api/types/VoiceGenerationParameterOptionResponse.ts
@@ -1,6 +1,3 @@
// This file was auto-generated by Fern from our API Definition.
-export interface VoiceGenerationParameterOptionResponse {
- name: string;
- code: string;
-}
+export type VoiceGenerationParameterOptionResponse = unknown;
diff --git a/src/api/types/VoiceGenerationParameterResponse.ts b/src/api/types/VoiceGenerationParameterResponse.ts
index 8cce3668..ce58d308 100644
--- a/src/api/types/VoiceGenerationParameterResponse.ts
+++ b/src/api/types/VoiceGenerationParameterResponse.ts
@@ -1,13 +1,3 @@
// This file was auto-generated by Fern from our API Definition.
-import type * as ElevenLabs from "../index";
-
-export interface VoiceGenerationParameterResponse {
- genders: ElevenLabs.VoiceGenerationParameterOptionResponse[];
- accents: ElevenLabs.VoiceGenerationParameterOptionResponse[];
- ages: ElevenLabs.VoiceGenerationParameterOptionResponse[];
- minimumCharacters: number;
- maximumCharacters: number;
- minimumAccentStrength: number;
- maximumAccentStrength: number;
-}
+export type VoiceGenerationParameterResponse = unknown;
diff --git a/src/api/types/WidgetConfig.ts b/src/api/types/WidgetConfig.ts
index 42ea77cf..ff3ac3a1 100644
--- a/src/api/types/WidgetConfig.ts
+++ b/src/api/types/WidgetConfig.ts
@@ -77,6 +77,16 @@ export interface WidgetConfig {
defaultExpanded?: boolean;
/** Whether the widget should always be expanded */
alwaysExpanded?: boolean;
+ /** Whether the widget can be dismissed by the user */
+ dismissible?: boolean;
+ /** Whether to show agent working/done/error status during tool use */
+ showAgentStatus?: boolean;
+ /** Whether to show the conversation ID after disconnection. */
+ showConversationId?: boolean;
+ /** Whether to strip audio markup from messages. */
+ stripAudioTags?: boolean;
+ /** Theme for code block syntax highlighting. Defaults to auto-detection by the widget when not set. */
+ syntaxHighlightTheme?: ElevenLabs.WidgetConfigOutputSyntaxHighlightTheme;
/** Text contents of the widget */
textContents?: ElevenLabs.WidgetTextContents;
/** Styles for the widget */
diff --git a/src/api/types/WidgetConfigInputSyntaxHighlightTheme.ts b/src/api/types/WidgetConfigInputSyntaxHighlightTheme.ts
new file mode 100644
index 00000000..fab1c019
--- /dev/null
+++ b/src/api/types/WidgetConfigInputSyntaxHighlightTheme.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const WidgetConfigInputSyntaxHighlightTheme = {
+ Light: "light",
+ Dark: "dark",
+} as const;
+export type WidgetConfigInputSyntaxHighlightTheme =
+ (typeof WidgetConfigInputSyntaxHighlightTheme)[keyof typeof WidgetConfigInputSyntaxHighlightTheme];
diff --git a/src/api/types/WidgetConfigOutputSyntaxHighlightTheme.ts b/src/api/types/WidgetConfigOutputSyntaxHighlightTheme.ts
new file mode 100644
index 00000000..812fc274
--- /dev/null
+++ b/src/api/types/WidgetConfigOutputSyntaxHighlightTheme.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const WidgetConfigOutputSyntaxHighlightTheme = {
+ Light: "light",
+ Dark: "dark",
+} as const;
+export type WidgetConfigOutputSyntaxHighlightTheme =
+ (typeof WidgetConfigOutputSyntaxHighlightTheme)[keyof typeof WidgetConfigOutputSyntaxHighlightTheme];
diff --git a/src/api/types/WidgetConfigResponse.ts b/src/api/types/WidgetConfigResponse.ts
index 8692bc32..42b5421d 100644
--- a/src/api/types/WidgetConfigResponse.ts
+++ b/src/api/types/WidgetConfigResponse.ts
@@ -77,6 +77,16 @@ export interface WidgetConfigResponse {
defaultExpanded?: boolean;
/** Whether the widget should always be expanded */
alwaysExpanded?: boolean;
+ /** Whether the widget can be dismissed by the user */
+ dismissible?: boolean;
+ /** Whether to show agent working/done/error status during tool use */
+ showAgentStatus?: boolean;
+ /** Whether to show the conversation ID after disconnection. */
+ showConversationId?: boolean;
+ /** Whether to strip audio markup from messages. */
+ stripAudioTags?: boolean;
+ /** Theme for code block syntax highlighting. Defaults to auto-detection by the widget when not set. */
+ syntaxHighlightTheme?: ElevenLabs.WidgetConfigResponseModelSyntaxHighlightTheme;
/** Text contents of the widget */
textContents?: ElevenLabs.WidgetTextContents;
/** Styles for the widget */
diff --git a/src/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.ts b/src/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.ts
new file mode 100644
index 00000000..1d64c04f
--- /dev/null
+++ b/src/api/types/WidgetConfigResponseModelSyntaxHighlightTheme.ts
@@ -0,0 +1,8 @@
+// This file was auto-generated by Fern from our API Definition.
+
+export const WidgetConfigResponseModelSyntaxHighlightTheme = {
+ Light: "light",
+ Dark: "dark",
+} as const;
+export type WidgetConfigResponseModelSyntaxHighlightTheme =
+ (typeof WidgetConfigResponseModelSyntaxHighlightTheme)[keyof typeof WidgetConfigResponseModelSyntaxHighlightTheme];
diff --git a/src/api/types/WidgetTextContents.ts b/src/api/types/WidgetTextContents.ts
index 8c498669..5e603e17 100644
--- a/src/api/types/WidgetTextContents.ts
+++ b/src/api/types/WidgetTextContents.ts
@@ -65,4 +65,26 @@ export interface WidgetTextContents {
submit?: string;
/** Text and ARIA label for the go back button. */
goBack?: string;
+ /** Text and ARIA label for the send message button. */
+ sendMessage?: string;
+ /** Text and ARIA label for the switch to text mode button. */
+ textMode?: string;
+ /** Text and ARIA label for the switch to voice mode button. */
+ voiceMode?: string;
+ /** Toast notification displayed when switching to text mode. */
+ switchedToTextMode?: string;
+ /** Toast notification displayed when switching to voice mode. */
+ switchedToVoiceMode?: string;
+ /** Text and ARIA label for the copy button. */
+ copy?: string;
+ /** Text and ARIA label for the download button. */
+ download?: string;
+ /** Text and ARIA label for the wrap toggle button. */
+ wrap?: string;
+ /** Status text displayed when the agent is processing a tool call. */
+ agentWorking?: string;
+ /** Status text displayed when the agent finishes processing a tool call. */
+ agentDone?: string;
+ /** Status text displayed when the agent encounters an error during a tool call. */
+ agentError?: string;
}
diff --git a/src/api/types/WorkspaceGroupPermission.ts b/src/api/types/WorkspaceGroupPermission.ts
index 9cef679b..5ef34e2b 100644
--- a/src/api/types/WorkspaceGroupPermission.ts
+++ b/src/api/types/WorkspaceGroupPermission.ts
@@ -19,6 +19,7 @@ export const WorkspaceGroupPermission = {
CreateUserApiKey: "create_user_api_key",
PublishStudioProject: "publish_studio_project",
Music: "music",
+ ImageVideoGeneration: "image_video_generation",
ShareVoiceExternally: "share_voice_externally",
PublishVoiceToVoiceLibrary: "publish_voice_to_voice_library",
ViewFiatBalance: "view_fiat_balance",
diff --git a/src/api/types/WorkspaceGroupResponseModel.ts b/src/api/types/WorkspaceGroupResponseModel.ts
index e8f52f07..03c4566f 100644
--- a/src/api/types/WorkspaceGroupResponseModel.ts
+++ b/src/api/types/WorkspaceGroupResponseModel.ts
@@ -9,4 +9,5 @@ export interface WorkspaceGroupResponseModel {
permissions?: ElevenLabs.WorkspaceGroupPermission[];
groupUsageLimit?: ElevenLabs.WorkspaceGroupResponseModelGroupUsageLimit;
characterCount?: number;
+ scimExternalId?: string;
}
diff --git a/src/api/types/WorkspaceResourceType.ts b/src/api/types/WorkspaceResourceType.ts
index d1108962..c99f50ea 100644
--- a/src/api/types/WorkspaceResourceType.ts
+++ b/src/api/types/WorkspaceResourceType.ts
@@ -26,6 +26,8 @@ export const WorkspaceResourceType = {
ConvaiAgentVersions: "convai_agent_versions",
ConvaiAgentBranches: "convai_agent_branches",
ConvaiAgentVersionsDeployments: "convai_agent_versions_deployments",
+ ConvaiMemoryEntries: "convai_memory_entries",
+ ConvaiCoachingProposals: "convai_coaching_proposals",
Dashboard: "dashboard",
DashboardConfiguration: "dashboard_configuration",
ConvaiAgentDrafts: "convai_agent_drafts",
@@ -33,5 +35,6 @@ export const WorkspaceResourceType = {
Assets: "assets",
ContentGenerations: "content_generations",
ContentTemplates: "content_templates",
+ Songs: "songs",
} as const;
export type WorkspaceResourceType = (typeof WorkspaceResourceType)[keyof typeof WorkspaceResourceType];
diff --git a/src/api/types/index.ts b/src/api/types/index.ts
index f050f361..1636b28f 100644
--- a/src/api/types/index.ts
+++ b/src/api/types/index.ts
@@ -38,6 +38,8 @@ export * from "./AgentSortBy";
export * from "./AgentSuccessfulResponseExample";
export * from "./AgentSummaryBatchSuccessfulResponseModel";
export * from "./AgentSummaryResponseModel";
+export * from "./AgentTestEntityType";
+export * from "./AgentTestFolderPathSegmentResponseModel";
export * from "./AgentTestingSettings";
export * from "./AgentTransfer";
export * from "./AgentVersionMetadata";
@@ -49,13 +51,14 @@ export * from "./AgentWorkflowResponseModelNodesValue";
export * from "./AgentWorkspaceOverridesInput";
export * from "./AgentWorkspaceOverridesOutput";
export * from "./Alignment";
-export * from "./AlignmentGuardrail";
export * from "./AllowedOutputFormats";
export * from "./AllowlistItem";
export * from "./ApiIntegrationWebhookOverridesInput";
export * from "./ApiIntegrationWebhookOverridesInputRequestHeadersValue";
+export * from "./ApiIntegrationWebhookOverridesInputSchemaOverridesValue";
export * from "./ApiIntegrationWebhookOverridesOutput";
export * from "./ApiIntegrationWebhookOverridesOutputRequestHeadersValue";
+export * from "./ApiIntegrationWebhookOverridesOutputSchemaOverridesValue";
export * from "./ApiIntegrationWebhookToolConfigInput";
export * from "./ApiIntegrationWebhookToolConfigOutput";
export * from "./ArrayJsonSchemaPropertyInput";
@@ -147,8 +150,6 @@ export * from "./BatchCallStatus";
export * from "./BatchCallWhatsAppParams";
export * from "./BatchFailureResponseModel";
export * from "./BillingPeriod";
-export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge";
-export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender";
export * from "./BranchProtectionStatus";
export * from "./BreakdownTypes";
export * from "./BuiltInToolsInput";
@@ -195,19 +196,29 @@ export * from "./CharacterAlignmentModel";
export * from "./CharacterAlignmentResponseModel";
export * from "./CharacterRefreshPeriod";
export * from "./CharacterUsageResponse";
+export * from "./ChatSourceMedium";
export * from "./ClientEvent";
export * from "./ClientToolConfigInput";
export * from "./ClientToolConfigOutput";
+export * from "./ClipAnimation";
+export * from "./ClipAnimationEnterEffect";
+export * from "./ClipAnimationExitEffect";
export * from "./CloseConnection";
export * from "./CloseContext";
export * from "./CloseSocket";
+export * from "./CoachedAgentSettings";
+export * from "./CoachingAgentSettings";
export * from "./CommittedTranscriptPayload";
export * from "./CommittedTranscriptWithTimestampsPayload";
+export * from "./ConfigEntityType";
+export * from "./ConstantSchemaOverride";
+export * from "./ConstantSchemaOverrideConstantValue";
export * from "./ContentConfig";
export * from "./ContentGuardrailInput";
export * from "./ContentGuardrailOutput";
export * from "./Contributor";
export * from "./ConvAiDynamicVariable";
+export * from "./ConvAiFileUploadResponseModel";
export * from "./ConvAiSecretLocator";
export * from "./ConvAiStoredSecretDependencies";
export * from "./ConvAiStoredSecretDependenciesAgentsItem";
@@ -240,19 +251,22 @@ export * from "./ConversationHistoryMetadataCommonModelPhoneCall";
export * from "./ConversationHistoryMultivoiceMessageModel";
export * from "./ConversationHistoryMultivoiceMessagePartModel";
export * from "./ConversationHistoryRagUsageCommonModel";
+export * from "./ConversationHistoryRedactionConfig";
export * from "./ConversationHistorySipTrunkingPhoneCallModel";
export * from "./ConversationHistorySipTrunkingPhoneCallModelDirection";
export * from "./ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel";
export * from "./ConversationHistoryTranscriptCommonModelInput";
export * from "./ConversationHistoryTranscriptCommonModelInputRole";
-export * from "./ConversationHistoryTranscriptCommonModelInputSourceMedium";
export * from "./ConversationHistoryTranscriptCommonModelInputToolResultsItem";
export * from "./ConversationHistoryTranscriptCommonModelOutput";
export * from "./ConversationHistoryTranscriptCommonModelOutputRole";
-export * from "./ConversationHistoryTranscriptCommonModelOutputSourceMedium";
export * from "./ConversationHistoryTranscriptCommonModelOutputToolResultsItem";
+export * from "./ConversationHistoryTranscriptFileInputResponseModel";
export * from "./ConversationHistoryTranscriptOtherToolsResultCommonModel";
export * from "./ConversationHistoryTranscriptOtherToolsResultCommonModelType";
+export * from "./ConversationHistoryTranscriptResponseModel";
+export * from "./ConversationHistoryTranscriptResponseModelRole";
+export * from "./ConversationHistoryTranscriptResponseModelToolResultsItem";
export * from "./ConversationHistoryTranscriptSystemToolResultCommonModelInput";
export * from "./ConversationHistoryTranscriptSystemToolResultCommonModelInputResult";
export * from "./ConversationHistoryTranscriptSystemToolResultCommonModelOutput";
@@ -297,14 +311,18 @@ export * from "./CreateAgentBranchResponseModel";
export * from "./CreateAgentResponseModel";
export * from "./CreateAgentTestResponseModel";
export * from "./CreateAudioNativeProjectRequest";
+export * from "./CreateClientParams";
export * from "./CreatePhoneNumberResponseModel";
export * from "./CreatePreviouslyGeneratedVoiceRequest";
+export * from "./CreateProductParams";
export * from "./CreatePronunciationDictionaryResponseModel";
export * from "./CreateResponseUnitTestRequest";
export * from "./CreateResponseUnitTestRequestDynamicVariablesValue";
+export * from "./CreateServiceParams";
export * from "./CreateSimulationTestRequest";
export * from "./CreateSimulationTestRequestDynamicVariablesValue";
export * from "./CreateSipTrunkPhoneNumberRequest";
+export * from "./CreateStaffParams";
export * from "./CreateToolCallUnitTestRequest";
export * from "./CreateToolCallUnitTestRequestDynamicVariablesValue";
export * from "./CreateTranscriptRequest";
@@ -327,11 +345,15 @@ export * from "./DefaultSharingGroupResponseModel";
export * from "./DefaultSharingGroupResponseModelPermissionLevel";
export * from "./DeleteChapterRequest";
export * from "./DeleteChapterResponseModel";
+export * from "./DeleteClientParams";
export * from "./DeleteDubbingResponseModel";
export * from "./DeleteHistoryItemResponse";
+export * from "./DeleteProductParams";
export * from "./DeleteProjectRequest";
export * from "./DeleteProjectResponseModel";
export * from "./DeleteSampleResponse";
+export * from "./DeleteServiceParams";
+export * from "./DeleteStaffParams";
export * from "./DeleteVoiceResponseModel";
export * from "./DeleteVoiceSampleResponseModel";
export * from "./DeleteWorkspaceGroupMemberResponseModel";
@@ -341,6 +363,7 @@ export * from "./DependentAvailableAgentIdentifier";
export * from "./DependentAvailableAgentIdentifierAccessLevel";
export * from "./DependentAvailableToolIdentifier";
export * from "./DependentAvailableToolIdentifierAccessLevel";
+export * from "./DependentBranchInfo";
export * from "./DependentPhoneNumberIdentifier";
export * from "./DependentUnknownAgentIdentifier";
export * from "./DependentUnknownToolIdentifier";
@@ -373,6 +396,7 @@ export * from "./DubbingTranscriptsResponseModelTranscriptFormat";
export * from "./DubbingTranscriptUtterance";
export * from "./DubbingTranscriptWord";
export * from "./DynamicVariableAssignment";
+export * from "./DynamicVariableSchemaOverride";
export * from "./DynamicVariablesConfig";
export * from "./DynamicVariablesConfigDynamicVariablePlaceholdersValue";
export * from "./DynamicVariablesConfigWorkflowOverride";
@@ -401,16 +425,19 @@ export * from "./FinalOutputMulti";
export * from "./FineTuningResponse";
export * from "./FineTuningResponseModelStateValue";
export * from "./FlushContext";
+export * from "./FocusGuardrail";
export * from "./ForcedAlignmentCharacterResponseModel";
export * from "./ForcedAlignmentResponseModel";
export * from "./ForcedAlignmentWordResponseModel";
export * from "./Gender";
export * from "./GenerateVoiceRequest";
export * from "./GenerationConfig";
+export * from "./GenerationSourceContext";
export * from "./GetAgentEmbedResponseModel";
export * from "./GetAgentKnowledgebaseSizeResponseModel";
export * from "./GetAgentLinkResponseModel";
export * from "./GetAgentResponseModel";
+export * from "./GetAgentResponseModelCoachingSettings";
export * from "./GetAgentResponseModelPhoneNumbersItem";
export * from "./GetAgentsPageResponseModel";
export * from "./GetAudioNativeProjectSettingsResponseModel";
@@ -418,6 +445,7 @@ export * from "./GetChapterRequest";
export * from "./GetChapterSnapshotsRequest";
export * from "./GetChaptersRequest";
export * from "./GetChaptersResponse";
+export * from "./GetClientByPhoneParams";
export * from "./GetConvAiDashboardSettingsResponseModel";
export * from "./GetConvAiDashboardSettingsResponseModelChartsItem";
export * from "./GetConvAiSettingsResponseModel";
@@ -515,9 +543,14 @@ export * from "./LanguagePresetTranslation";
export * from "./LanguageResponse";
export * from "./LibraryVoiceResponse";
export * from "./LibraryVoiceResponseModelCategory";
+export * from "./ListAssetsParams";
+export * from "./ListClientsParams";
export * from "./ListMcpToolsResponseModel";
+export * from "./ListProductsParams";
export * from "./ListResponseAgentBranchSummary";
export * from "./ListResponseMeta";
+export * from "./ListServicesParams";
+export * from "./ListStaffParams";
export * from "./ListWhatsAppAccountsResponse";
export * from "./LiteralJsonSchemaProperty";
export * from "./LiteralJsonSchemaPropertyConstantValue";
@@ -527,9 +560,16 @@ export * from "./LiteralOverrideConstantValue";
export * from "./LivekitStackType";
export * from "./Llm";
export * from "./LlmCategoryUsage";
+export * from "./LlmDeprecationConfigModel";
+export * from "./LlmDeprecationInfoModel";
+export * from "./LlmInfoModelInput";
+export * from "./LlmInfoModelOutput";
export * from "./LlmInputOutputTokensUsage";
+export * from "./LlmListResponseModelInput";
+export * from "./LlmListResponseModelOutput";
export * from "./LlmParameterEvaluationStrategy";
export * from "./LlmReasoningEffort";
+export * from "./LlmSchemaOverride";
export * from "./LlmTokensCategoryUsage";
export * from "./LlmUsageCalculatorLlmResponseModel";
export * from "./LlmUsageCalculatorResponseModel";
@@ -555,7 +595,10 @@ export * from "./McpServerTransport";
export * from "./McpToolApprovalHash";
export * from "./McpToolApprovalPolicy";
export * from "./McpToolConfigOverride";
+export * from "./McpToolConfigOverrideInputOverridesValue";
export * from "./MergingStrategy";
+export * from "./MessagesSearchResponse";
+export * from "./MessagesSearchResult";
export * from "./MetricRecord";
export * from "./MetricType";
export * from "./Model";
@@ -567,7 +610,9 @@ export * from "./ModerationGuardrailOutput";
export * from "./MultichannelSpeechToTextResponseModel";
export * from "./MultipartMusicResponse";
export * from "./MultiSourceConfigJson";
+export * from "./MusicExploreSongSourceContext";
export * from "./MusicPrompt";
+export * from "./NoCoachingSettings";
export * from "./NonStreamingOutputFormats";
export * from "./NormalizedAlignment";
export * from "./ObjectJsonSchemaPropertyInput";
@@ -616,9 +661,9 @@ export * from "./PostDialDigitsDynamicVariable";
export * from "./PostDialDigitsStatic";
export * from "./PostWorkspaceSecretResponseModel";
export * from "./PreviewAudioDbModel";
-export * from "./PrivacyConfig";
-export * from "./ProcedureDraftRef";
-export * from "./ProcedureVersionRef";
+export * from "./PrivacyConfigInput";
+export * from "./PrivacyConfigOutput";
+export * from "./ProcedureRefResponseModel";
export * from "./ProjectCreationMetaResponseModel";
export * from "./ProjectCreationMetaResponseModelStatus";
export * from "./ProjectCreationMetaResponseModelType";
@@ -632,6 +677,7 @@ export * from "./ProjectExtendedResponseModelQualityPreset";
export * from "./ProjectExtendedResponseModelSourceType";
export * from "./ProjectExtendedResponseModelTargetAudience";
export * from "./ProjectExternalAudioResponseModel";
+export * from "./ProjectExternalAudioResponseModelSourceContext";
export * from "./ProjectImageResponseModel";
export * from "./ProjectMutedTracksResponseModel";
export * from "./ProjectResponse";
@@ -664,6 +710,7 @@ export * from "./PromptAgentApiModelWorkflowOverrideOutputBackupLlmConfig";
export * from "./PromptAgentApiModelWorkflowOverrideOutputToolsItem";
export * from "./PromptAgentDbModel";
export * from "./PromptEvaluationCriteria";
+export * from "./PromptInjectionGuardrail";
export * from "./PronunciationDictionaryAliasRuleRequestModel";
export * from "./PronunciationDictionaryAliasRuleResponseModel";
export * from "./PronunciationDictionaryLocator";
@@ -696,6 +743,7 @@ export * from "./RealtimeVoiceSettings";
export * from "./RecordingResponse";
export * from "./ReferencedToolCommonModel";
export * from "./ReferencedToolCommonModelType";
+export * from "./ReferenceVideo";
export * from "./RegexParameterEvaluationStrategy";
export * from "./RegionConfigRequest";
export * from "./RemoveMemberFromGroupRequest";
@@ -707,6 +755,7 @@ export * from "./ResourceAccessInfo";
export * from "./ResourceAccessInfoRole";
export * from "./ResourceMetadataResponseModel";
export * from "./ResourceMetadataResponseModelAnonymousAccessLevelOverride";
+export * from "./ResponseFilter";
export * from "./ResponseFilterMode";
export * from "./ResponseUnitTestModel";
export * from "./ResponseUnitTestModelDynamicVariablesValue";
@@ -721,6 +770,10 @@ export * from "./SafetyRule";
export * from "./SampleConfigDbModel";
export * from "./SampleConfigDbModelParentType";
export * from "./SaveVoicePreviewRequest";
+export * from "./SayNodeLiteralMessageInput";
+export * from "./SayNodeLiteralMessageOutput";
+export * from "./SayNodePromptMessageInput";
+export * from "./SayNodePromptMessageOutput";
export * from "./ScribeAuthErrorPayload";
export * from "./ScribeChunkSizeExceededErrorPayload";
export * from "./ScribeErrorPayload";
@@ -734,6 +787,7 @@ export * from "./ScribeSessionTimeLimitExceededErrorPayload";
export * from "./ScribeThrottledErrorPayload";
export * from "./ScribeTranscriberErrorPayload";
export * from "./ScribeUnacceptedTermsErrorPayload";
+export * from "./SearchClientsParams";
export * from "./SearchDocumentationToolConfigInput";
export * from "./SearchDocumentationToolConfigOutput";
export * from "./SeatType";
@@ -753,6 +807,7 @@ export * from "./SendTextMulti";
export * from "./SessionStartedPayload";
export * from "./SessionStartedPayloadConfig";
export * from "./SessionStartedPayloadConfigCommitStrategy";
+export * from "./SfxSourceContext";
export * from "./ShareOptionResponseModel";
export * from "./ShareOptionResponseModelType";
export * from "./SimilarVoice";
@@ -776,6 +831,7 @@ export * from "./SoftTimeoutConfigOverrideConfig";
export * from "./SoftTimeoutConfigWorkflowOverride";
export * from "./SongMetadata";
export * from "./SongSection";
+export * from "./SongSourceContext";
export * from "./SortDirection";
export * from "./SourceConfigJson";
export * from "./SourceRetrievalConfig";
@@ -801,6 +857,8 @@ export * from "./StartPvcVoiceTrainingResponseModel";
export * from "./StartSpeakerSeparationResponseModel";
export * from "./StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel";
export * from "./StreamingAudioChunkWithTimestampsResponse";
+export * from "./StudioClipReference";
+export * from "./StudioClipReferenceClipType";
export * from "./Subscription";
export * from "./SubscriptionResponse";
export * from "./SubscriptionResponseModelCurrency";
@@ -896,12 +954,16 @@ export * from "./UnitTestToolCallParameterEval";
export * from "./UnitTestWorkflowNodeTransitionEvaluationNodeId";
export * from "./UpdateAudioNativeProjectRequest";
export * from "./UpdateChapterRequest";
+export * from "./UpdateClientParams";
+export * from "./UpdateProductParams";
export * from "./UpdateProjectRequest";
export * from "./UpdatePronunciationDictionariesRequest";
export * from "./UpdateResponseUnitTestRequest";
export * from "./UpdateResponseUnitTestRequestDynamicVariablesValue";
+export * from "./UpdateServiceParams";
export * from "./UpdateSimulationTestRequest";
export * from "./UpdateSimulationTestRequestDynamicVariablesValue";
+export * from "./UpdateStaffParams";
export * from "./UpdateToolCallUnitTestRequest";
export * from "./UpdateToolCallUnitTestRequestDynamicVariablesValue";
export * from "./UpdateWorkspaceMemberResponseModel";
@@ -972,9 +1034,12 @@ export * from "./WhatsAppTemplateLocationParamDetails";
export * from "./WhatsAppTemplateTextParam";
export * from "./WidgetConfig";
export * from "./WidgetConfigInputAvatar";
+export * from "./WidgetConfigInputSyntaxHighlightTheme";
export * from "./WidgetConfigOutputAvatar";
+export * from "./WidgetConfigOutputSyntaxHighlightTheme";
export * from "./WidgetConfigResponse";
export * from "./WidgetConfigResponseModelAvatar";
+export * from "./WidgetConfigResponseModelSyntaxHighlightTheme";
export * from "./WidgetEndFeedbackConfig";
export * from "./WidgetEndFeedbackType";
export * from "./WidgetExpandable";
diff --git a/src/serialization/resources/audioNative/client/index.ts b/src/serialization/resources/audioNative/client/index.ts
new file mode 100644
index 00000000..415726b7
--- /dev/null
+++ b/src/serialization/resources/audioNative/client/index.ts
@@ -0,0 +1 @@
+export * from "./requests";
diff --git a/src/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.ts b/src/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.ts
new file mode 100644
index 00000000..a95a429a
--- /dev/null
+++ b/src/serialization/resources/audioNative/client/requests/BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.ts
@@ -0,0 +1,18 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../api/index";
+import * as core from "../../../../../core";
+import type * as serializers from "../../../../index";
+
+export const BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost: core.serialization.Schema<
+ serializers.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost.Raw,
+ ElevenLabs.BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost
+> = core.serialization.object({
+ url: core.serialization.string(),
+});
+
+export declare namespace BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost {
+ export interface Raw {
+ url: string;
+ }
+}
diff --git a/src/serialization/resources/audioNative/client/requests/index.ts b/src/serialization/resources/audioNative/client/requests/index.ts
new file mode 100644
index 00000000..13771951
--- /dev/null
+++ b/src/serialization/resources/audioNative/client/requests/index.ts
@@ -0,0 +1 @@
+export { BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost } from "./BodyUpdateAudioNativeContentFromUrlV1AudioNativeContentPost";
diff --git a/src/serialization/resources/audioNative/index.ts b/src/serialization/resources/audioNative/index.ts
index eea524d6..d2ec2302 100644
--- a/src/serialization/resources/audioNative/index.ts
+++ b/src/serialization/resources/audioNative/index.ts
@@ -1 +1,2 @@
+export * from "./client";
export * from "./types";
diff --git a/src/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.ts b/src/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.ts
index e2aefbc8..10f78b3a 100644
--- a/src/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.ts
+++ b/src/serialization/resources/conversationalAi/resources/agents/client/requests/BodyCreateAgentV1ConvaiAgentsCreatePost.ts
@@ -6,6 +6,7 @@ import type * as serializers from "../../../../../../index";
import { AgentPlatformSettingsRequestModel } from "../../../../../../types/AgentPlatformSettingsRequestModel";
import { AgentWorkflowRequestModel } from "../../../../../../types/AgentWorkflowRequestModel";
import { ConversationalConfig } from "../../../../../../types/ConversationalConfig";
+import { BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings } from "../../types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings";
export const BodyCreateAgentV1ConvaiAgentsCreatePost: core.serialization.Schema<
serializers.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePost.Raw,
@@ -16,6 +17,10 @@ export const BodyCreateAgentV1ConvaiAgentsCreatePost: core.serialization.Schema<
workflow: AgentWorkflowRequestModel.optional(),
name: core.serialization.string().optional(),
tags: core.serialization.list(core.serialization.string()).optional(),
+ coachingSettings: core.serialization.property(
+ "coaching_settings",
+ BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.optional(),
+ ),
});
export declare namespace BodyCreateAgentV1ConvaiAgentsCreatePost {
@@ -25,5 +30,6 @@ export declare namespace BodyCreateAgentV1ConvaiAgentsCreatePost {
workflow?: AgentWorkflowRequestModel.Raw | null;
name?: string | null;
tags?: string[] | null;
+ coaching_settings?: BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.Raw | null;
}
}
diff --git a/src/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.ts b/src/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.ts
index 2d86ea95..20abb644 100644
--- a/src/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.ts
+++ b/src/serialization/resources/conversationalAi/resources/agents/client/requests/UpdateAgentRequest.ts
@@ -6,7 +6,7 @@ import type * as serializers from "../../../../../../index";
import { AgentPlatformSettingsRequestModel } from "../../../../../../types/AgentPlatformSettingsRequestModel";
import { AgentWorkflowRequestModel } from "../../../../../../types/AgentWorkflowRequestModel";
import { ConversationalConfig } from "../../../../../../types/ConversationalConfig";
-import { BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem } from "../../types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem";
+import { BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings } from "../../types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings";
export const UpdateAgentRequest: core.serialization.Schema<
serializers.conversationalAi.UpdateAgentRequest.Raw,
@@ -17,11 +17,11 @@ export const UpdateAgentRequest: core.serialization.Schema<
workflow: AgentWorkflowRequestModel.optional(),
name: core.serialization.string().optional(),
tags: core.serialization.list(core.serialization.string()).optional(),
- versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
- procedureRefs: core.serialization.property(
- "procedure_refs",
- core.serialization.list(BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem).optional(),
+ coachingSettings: core.serialization.property(
+ "coaching_settings",
+ BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.optional(),
),
+ versionDescription: core.serialization.property("version_description", core.serialization.string().optional()),
});
export declare namespace UpdateAgentRequest {
@@ -31,7 +31,7 @@ export declare namespace UpdateAgentRequest {
workflow?: AgentWorkflowRequestModel.Raw | null;
name?: string | null;
tags?: string[] | null;
+ coaching_settings?: BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.Raw | null;
version_description?: string | null;
- procedure_refs?: BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.Raw[] | null;
}
}
diff --git a/src/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.ts b/src/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.ts
new file mode 100644
index 00000000..2740fdc5
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/agents/types/BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.ts
@@ -0,0 +1,34 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../api/index";
+import * as core from "../../../../../../core";
+import type * as serializers from "../../../../../index";
+import { CoachedAgentSettings } from "../../../../../types/CoachedAgentSettings";
+import { NoCoachingSettings } from "../../../../../types/NoCoachingSettings";
+
+export const BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings: core.serialization.Schema<
+ serializers.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.Raw,
+ ElevenLabs.conversationalAi.BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings
+> = core.serialization
+ .union("type", {
+ coached: CoachedAgentSettings,
+ none: NoCoachingSettings,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings {
+ export type Raw =
+ | BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.Coached
+ | BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings.None;
+
+ export interface Coached extends CoachedAgentSettings.Raw {
+ type: "coached";
+ }
+
+ export interface None extends NoCoachingSettings.Raw {
+ type: "none";
+ }
+}
diff --git a/src/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.ts b/src/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.ts
new file mode 100644
index 00000000..ff21a45a
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.ts
@@ -0,0 +1,34 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../api/index";
+import * as core from "../../../../../../core";
+import type * as serializers from "../../../../../index";
+import { CoachedAgentSettings } from "../../../../../types/CoachedAgentSettings";
+import { NoCoachingSettings } from "../../../../../types/NoCoachingSettings";
+
+export const BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings: core.serialization.Schema<
+ serializers.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.Raw,
+ ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings
+> = core.serialization
+ .union("type", {
+ coached: CoachedAgentSettings,
+ none: NoCoachingSettings,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings {
+ export type Raw =
+ | BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.Coached
+ | BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings.None;
+
+ export interface Coached extends CoachedAgentSettings.Raw {
+ type: "coached";
+ }
+
+ export interface None extends NoCoachingSettings.Raw {
+ type: "none";
+ }
+}
diff --git a/src/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.ts b/src/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.ts
deleted file mode 100644
index f893851e..00000000
--- a/src/serialization/resources/conversationalAi/resources/agents/types/BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.ts
+++ /dev/null
@@ -1,16 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-import type * as ElevenLabs from "../../../../../../api/index";
-import * as core from "../../../../../../core";
-import type * as serializers from "../../../../../index";
-import { ProcedureDraftRef } from "../../../../../types/ProcedureDraftRef";
-import { ProcedureVersionRef } from "../../../../../types/ProcedureVersionRef";
-
-export const BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem: core.serialization.Schema<
- serializers.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem.Raw,
- ElevenLabs.conversationalAi.BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem
-> = core.serialization.undiscriminatedUnion([ProcedureVersionRef, ProcedureDraftRef]);
-
-export declare namespace BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem {
- export type Raw = ProcedureVersionRef.Raw | ProcedureDraftRef.Raw;
-}
diff --git a/src/serialization/resources/conversationalAi/resources/agents/types/index.ts b/src/serialization/resources/conversationalAi/resources/agents/types/index.ts
index a78e5988..cf20a69d 100644
--- a/src/serialization/resources/conversationalAi/resources/agents/types/index.ts
+++ b/src/serialization/resources/conversationalAi/resources/agents/types/index.ts
@@ -1 +1,2 @@
-export * from "./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchProcedureRefsItem";
+export * from "./BodyCreateAgentV1ConvaiAgentsCreatePostCoachingSettings";
+export * from "./BodyPatchesAnAgentSettingsV1ConvaiAgentsAgentIdPatchCoachingSettings";
diff --git a/src/serialization/resources/conversationalAi/resources/conversations/resources/index.ts b/src/serialization/resources/conversationalAi/resources/conversations/resources/index.ts
index 0f82fd40..80478635 100644
--- a/src/serialization/resources/conversationalAi/resources/conversations/resources/index.ts
+++ b/src/serialization/resources/conversationalAi/resources/conversations/resources/index.ts
@@ -1,2 +1,4 @@
export * as feedback from "./feedback";
export * from "./feedback/client/requests";
+export * as messages from "./messages";
+export * from "./messages/types";
diff --git a/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.ts b/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.ts
new file mode 100644
index 00000000..eea524d6
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/index.ts
@@ -0,0 +1 @@
+export * from "./types";
diff --git a/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.ts b/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.ts
new file mode 100644
index 00000000..992d4019
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/MessagesTextSearchRequestSummaryMode.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../../../api/index";
+import * as core from "../../../../../../../../core";
+import type * as serializers from "../../../../../../../index";
+
+export const MessagesTextSearchRequestSummaryMode: core.serialization.Schema<
+ serializers.conversationalAi.conversations.MessagesTextSearchRequestSummaryMode.Raw,
+ ElevenLabs.conversationalAi.conversations.MessagesTextSearchRequestSummaryMode
+> = core.serialization.enum_(["exclude", "include"]);
+
+export declare namespace MessagesTextSearchRequestSummaryMode {
+ export type Raw = "exclude" | "include";
+}
diff --git a/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.ts b/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.ts
new file mode 100644
index 00000000..fcba021b
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/conversations/resources/messages/types/index.ts
@@ -0,0 +1 @@
+export * from "./MessagesTextSearchRequestSummaryMode";
diff --git a/src/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.ts b/src/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.ts
index 1526a8b9..522c3c8d 100644
--- a/src/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.ts
+++ b/src/serialization/resources/conversationalAi/resources/mcpServers/client/requests/McpServerConfigUpdateRequestModel.ts
@@ -3,6 +3,8 @@
import type * as ElevenLabs from "../../../../../../../api/index";
import * as core from "../../../../../../../core";
import type * as serializers from "../../../../../../index";
+import { AuthConnectionLocator } from "../../../../../../types/AuthConnectionLocator";
+import { ConvAiSecretLocator } from "../../../../../../types/ConvAiSecretLocator";
import { McpApprovalPolicy } from "../../../../../../types/McpApprovalPolicy";
import { ToolCallSoundBehavior } from "../../../../../../types/ToolCallSoundBehavior";
import { ToolCallSoundType } from "../../../../../../types/ToolCallSoundType";
@@ -26,6 +28,8 @@ export const McpServerConfigUpdateRequestModel: core.serialization.Schema<
.optional(),
),
disableCompression: core.serialization.property("disable_compression", core.serialization.boolean().optional()),
+ secretToken: core.serialization.property("secret_token", ConvAiSecretLocator.optional()),
+ authConnection: core.serialization.property("auth_connection", AuthConnectionLocator.optional()),
});
export declare namespace McpServerConfigUpdateRequestModel {
@@ -41,5 +45,7 @@ export declare namespace McpServerConfigUpdateRequestModel {
McpServerConfigUpdateRequestModelRequestHeadersValue.Raw | null | undefined
> | null;
disable_compression?: boolean | null;
+ secret_token?: ConvAiSecretLocator.Raw | null;
+ auth_connection?: AuthConnectionLocator.Raw | null;
}
}
diff --git a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/index.ts b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/index.ts
index a275a251..3206d759 100644
--- a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/index.ts
+++ b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/index.ts
@@ -4,3 +4,4 @@ export * as toolApprovals from "./toolApprovals";
export * from "./toolApprovals/client/requests";
export * as toolConfigs from "./toolConfigs";
export * from "./toolConfigs/client/requests";
+export * from "./toolConfigs/types";
diff --git a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.ts b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.ts
index 57fe0b96..56a0dc04 100644
--- a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.ts
+++ b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideCreateRequestModel.ts
@@ -7,6 +7,7 @@ import { DynamicVariableAssignment } from "../../../../../../../../types/Dynamic
import { ToolCallSoundBehavior } from "../../../../../../../../types/ToolCallSoundBehavior";
import { ToolCallSoundType } from "../../../../../../../../types/ToolCallSoundType";
import { ToolExecutionMode } from "../../../../../../../../types/ToolExecutionMode";
+import { McpToolConfigOverrideCreateRequestModelInputOverridesValue } from "../../types/McpToolConfigOverrideCreateRequestModelInputOverridesValue";
export const McpToolConfigOverrideCreateRequestModel: core.serialization.Schema<
serializers.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModel.Raw,
@@ -18,6 +19,12 @@ export const McpToolConfigOverrideCreateRequestModel: core.serialization.Schema<
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior.optional()),
executionMode: core.serialization.property("execution_mode", ToolExecutionMode.optional()),
assignments: core.serialization.list(DynamicVariableAssignment).optional(),
+ inputOverrides: core.serialization.property(
+ "input_overrides",
+ core.serialization
+ .record(core.serialization.string(), McpToolConfigOverrideCreateRequestModelInputOverridesValue.optional())
+ .optional(),
+ ),
toolName: core.serialization.property("tool_name", core.serialization.string()),
});
@@ -29,6 +36,10 @@ export declare namespace McpToolConfigOverrideCreateRequestModel {
tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
execution_mode?: ToolExecutionMode.Raw | null;
assignments?: DynamicVariableAssignment.Raw[] | null;
+ input_overrides?: Record<
+ string,
+ McpToolConfigOverrideCreateRequestModelInputOverridesValue.Raw | null | undefined
+ > | null;
tool_name: string;
}
}
diff --git a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.ts b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.ts
index 7b1cc837..59d9eea2 100644
--- a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.ts
+++ b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/client/requests/McpToolConfigOverrideUpdateRequestModel.ts
@@ -7,6 +7,7 @@ import { DynamicVariableAssignment } from "../../../../../../../../types/Dynamic
import { ToolCallSoundBehavior } from "../../../../../../../../types/ToolCallSoundBehavior";
import { ToolCallSoundType } from "../../../../../../../../types/ToolCallSoundType";
import { ToolExecutionMode } from "../../../../../../../../types/ToolExecutionMode";
+import { McpToolConfigOverrideUpdateRequestModelInputOverridesValue } from "../../types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue";
export const McpToolConfigOverrideUpdateRequestModel: core.serialization.Schema<
serializers.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModel.Raw,
@@ -18,6 +19,12 @@ export const McpToolConfigOverrideUpdateRequestModel: core.serialization.Schema<
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior.optional()),
executionMode: core.serialization.property("execution_mode", ToolExecutionMode.optional()),
assignments: core.serialization.list(DynamicVariableAssignment).optional(),
+ inputOverrides: core.serialization.property(
+ "input_overrides",
+ core.serialization
+ .record(core.serialization.string(), McpToolConfigOverrideUpdateRequestModelInputOverridesValue.optional())
+ .optional(),
+ ),
});
export declare namespace McpToolConfigOverrideUpdateRequestModel {
@@ -28,5 +35,9 @@ export declare namespace McpToolConfigOverrideUpdateRequestModel {
tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
execution_mode?: ToolExecutionMode.Raw | null;
assignments?: DynamicVariableAssignment.Raw[] | null;
+ input_overrides?: Record<
+ string,
+ McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Raw | null | undefined
+ > | null;
}
}
diff --git a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.ts b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.ts
index 5ec76921..d2ec2302 100644
--- a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.ts
+++ b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/index.ts
@@ -1 +1,2 @@
export * from "./client";
+export * from "./types";
diff --git a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.ts b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.ts
new file mode 100644
index 00000000..a5026c16
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideCreateRequestModelInputOverridesValue.ts
@@ -0,0 +1,41 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../../../api/index";
+import * as core from "../../../../../../../../core";
+import type * as serializers from "../../../../../../../index";
+import { ConstantSchemaOverride } from "../../../../../../../types/ConstantSchemaOverride";
+import { DynamicVariableSchemaOverride } from "../../../../../../../types/DynamicVariableSchemaOverride";
+import { LlmSchemaOverride } from "../../../../../../../types/LlmSchemaOverride";
+
+export const McpToolConfigOverrideCreateRequestModelInputOverridesValue: core.serialization.Schema<
+ serializers.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue.Raw,
+ ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideCreateRequestModelInputOverridesValue
+> = core.serialization
+ .union("source", {
+ constant: ConstantSchemaOverride,
+ dynamic_variable: DynamicVariableSchemaOverride,
+ llm: LlmSchemaOverride,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace McpToolConfigOverrideCreateRequestModelInputOverridesValue {
+ export type Raw =
+ | McpToolConfigOverrideCreateRequestModelInputOverridesValue.Constant
+ | McpToolConfigOverrideCreateRequestModelInputOverridesValue.DynamicVariable
+ | McpToolConfigOverrideCreateRequestModelInputOverridesValue.Llm;
+
+ export interface Constant extends ConstantSchemaOverride.Raw {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends DynamicVariableSchemaOverride.Raw {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends LlmSchemaOverride.Raw {
+ source: "llm";
+ }
+}
diff --git a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.ts b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.ts
new file mode 100644
index 00000000..1b9763e5
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/McpToolConfigOverrideUpdateRequestModelInputOverridesValue.ts
@@ -0,0 +1,41 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../../../api/index";
+import * as core from "../../../../../../../../core";
+import type * as serializers from "../../../../../../../index";
+import { ConstantSchemaOverride } from "../../../../../../../types/ConstantSchemaOverride";
+import { DynamicVariableSchemaOverride } from "../../../../../../../types/DynamicVariableSchemaOverride";
+import { LlmSchemaOverride } from "../../../../../../../types/LlmSchemaOverride";
+
+export const McpToolConfigOverrideUpdateRequestModelInputOverridesValue: core.serialization.Schema<
+ serializers.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Raw,
+ ElevenLabs.conversationalAi.mcpServers.McpToolConfigOverrideUpdateRequestModelInputOverridesValue
+> = core.serialization
+ .union("source", {
+ constant: ConstantSchemaOverride,
+ dynamic_variable: DynamicVariableSchemaOverride,
+ llm: LlmSchemaOverride,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace McpToolConfigOverrideUpdateRequestModelInputOverridesValue {
+ export type Raw =
+ | McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Constant
+ | McpToolConfigOverrideUpdateRequestModelInputOverridesValue.DynamicVariable
+ | McpToolConfigOverrideUpdateRequestModelInputOverridesValue.Llm;
+
+ export interface Constant extends ConstantSchemaOverride.Raw {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends DynamicVariableSchemaOverride.Raw {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends LlmSchemaOverride.Raw {
+ source: "llm";
+ }
+}
diff --git a/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.ts b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.ts
new file mode 100644
index 00000000..093c2cea
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/mcpServers/resources/toolConfigs/types/index.ts
@@ -0,0 +1,2 @@
+export * from "./McpToolConfigOverrideCreateRequestModelInputOverridesValue";
+export * from "./McpToolConfigOverrideUpdateRequestModelInputOverridesValue";
diff --git a/src/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.ts b/src/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.ts
new file mode 100644
index 00000000..8fd907f7
--- /dev/null
+++ b/src/serialization/resources/conversationalAi/resources/tests/types/TestsListRequestSortMode.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../../../../../api/index";
+import * as core from "../../../../../../core";
+import type * as serializers from "../../../../../index";
+
+export const TestsListRequestSortMode: core.serialization.Schema<
+ serializers.conversationalAi.TestsListRequestSortMode.Raw,
+ ElevenLabs.conversationalAi.TestsListRequestSortMode
+> = core.serialization.enum_(["default", "folders_first"]);
+
+export declare namespace TestsListRequestSortMode {
+ export type Raw = "default" | "folders_first";
+}
diff --git a/src/serialization/resources/conversationalAi/resources/tests/types/index.ts b/src/serialization/resources/conversationalAi/resources/tests/types/index.ts
index 2da15598..b2224a9a 100644
--- a/src/serialization/resources/conversationalAi/resources/tests/types/index.ts
+++ b/src/serialization/resources/conversationalAi/resources/tests/types/index.ts
@@ -1,4 +1,5 @@
export * from "./TestsCreateRequestBody";
export * from "./TestsGetResponse";
+export * from "./TestsListRequestSortMode";
export * from "./TestsUpdateRequestBody";
export * from "./TestsUpdateResponse";
diff --git a/src/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.ts b/src/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.ts
index cfef2275..65e26833 100644
--- a/src/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.ts
+++ b/src/serialization/resources/conversationalAi/resources/twilio/client/requests/BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost.ts
@@ -16,6 +16,10 @@ export const BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost: co
"conversation_initiation_client_data",
ConversationInitiationClientDataRequestInput.optional(),
),
+ callRecordingEnabled: core.serialization.property(
+ "call_recording_enabled",
+ core.serialization.boolean().optional(),
+ ),
});
export declare namespace BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutboundCallPost {
@@ -24,5 +28,6 @@ export declare namespace BodyHandleAnOutboundCallViaTwilioV1ConvaiTwilioOutbound
agent_phone_number_id: string;
to_number: string;
conversation_initiation_client_data?: ConversationInitiationClientDataRequestInput.Raw | null;
+ call_recording_enabled?: boolean | null;
}
}
diff --git a/src/serialization/resources/index.ts b/src/serialization/resources/index.ts
index c54bd77b..ad392f27 100644
--- a/src/serialization/resources/index.ts
+++ b/src/serialization/resources/index.ts
@@ -1,6 +1,7 @@
export * as audioIsolation from "./audioIsolation";
export * from "./audioIsolation/types";
export * as audioNative from "./audioNative";
+export * from "./audioNative/client/requests";
export * from "./audioNative/types";
export * as conversationalAi from "./conversationalAi";
export * as dubbing from "./dubbing";
diff --git a/src/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.ts b/src/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.ts
index 7fbe217c..fdfa509c 100644
--- a/src/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.ts
+++ b/src/serialization/resources/music/client/requests/BodyComposeMusicV1MusicPost.ts
@@ -13,6 +13,7 @@ export const BodyComposeMusicV1MusicPost: core.serialization.Schema<
compositionPlan: core.serialization.property("composition_plan", MusicPrompt.optional()),
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
+ seed: core.serialization.number().optional(),
forceInstrumental: core.serialization.property("force_instrumental", core.serialization.boolean().optional()),
respectSectionsDurations: core.serialization.property(
"respect_sections_durations",
@@ -28,6 +29,7 @@ export declare namespace BodyComposeMusicV1MusicPost {
composition_plan?: MusicPrompt.Raw | null;
music_length_ms?: number | null;
model_id?: "music_v1" | null;
+ seed?: number | null;
force_instrumental?: boolean | null;
respect_sections_durations?: boolean | null;
store_for_inpainting?: boolean | null;
diff --git a/src/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.ts b/src/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.ts
index 2184dab9..9d15b116 100644
--- a/src/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.ts
+++ b/src/serialization/resources/music/client/requests/BodyComposeMusicWithADetailedResponseV1MusicDetailedPost.ts
@@ -13,6 +13,7 @@ export const BodyComposeMusicWithADetailedResponseV1MusicDetailedPost: core.seri
compositionPlan: core.serialization.property("composition_plan", MusicPrompt.optional()),
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
+ seed: core.serialization.number().optional(),
forceInstrumental: core.serialization.property("force_instrumental", core.serialization.boolean().optional()),
storeForInpainting: core.serialization.property("store_for_inpainting", core.serialization.boolean().optional()),
withTimestamps: core.serialization.property("with_timestamps", core.serialization.boolean().optional()),
@@ -25,6 +26,7 @@ export declare namespace BodyComposeMusicWithADetailedResponseV1MusicDetailedPos
composition_plan?: MusicPrompt.Raw | null;
music_length_ms?: number | null;
model_id?: "music_v1" | null;
+ seed?: number | null;
force_instrumental?: boolean | null;
store_for_inpainting?: boolean | null;
with_timestamps?: boolean | null;
diff --git a/src/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.ts b/src/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.ts
index 37e63251..c1cd10db 100644
--- a/src/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.ts
+++ b/src/serialization/resources/music/client/requests/BodyStreamComposedMusicV1MusicStreamPost.ts
@@ -13,6 +13,7 @@ export const BodyStreamComposedMusicV1MusicStreamPost: core.serialization.Schema
compositionPlan: core.serialization.property("composition_plan", MusicPrompt.optional()),
musicLengthMs: core.serialization.property("music_length_ms", core.serialization.number().optional()),
modelId: core.serialization.property("model_id", core.serialization.stringLiteral("music_v1").optional()),
+ seed: core.serialization.number().optional(),
forceInstrumental: core.serialization.property("force_instrumental", core.serialization.boolean().optional()),
storeForInpainting: core.serialization.property("store_for_inpainting", core.serialization.boolean().optional()),
});
@@ -23,6 +24,7 @@ export declare namespace BodyStreamComposedMusicV1MusicStreamPost {
composition_plan?: MusicPrompt.Raw | null;
music_length_ms?: number | null;
model_id?: "music_v1" | null;
+ seed?: number | null;
force_instrumental?: boolean | null;
store_for_inpainting?: boolean | null;
}
diff --git a/src/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.ts b/src/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.ts
index 183a9a1e..fb00f10a 100644
--- a/src/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.ts
+++ b/src/serialization/resources/voices/client/requests/BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost.ts
@@ -9,10 +9,12 @@ export const BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost: core.serializ
ElevenLabs.BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost
> = core.serialization.object({
newName: core.serialization.property("new_name", core.serialization.string()),
+ bookmarked: core.serialization.boolean().optional(),
});
export declare namespace BodyAddSharedVoiceV1VoicesAddPublicUserIdVoiceIdPost {
export interface Raw {
new_name: string;
+ bookmarked?: boolean | null;
}
}
diff --git a/src/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.ts b/src/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.ts
index cdeb5a3e..0a38ca8d 100644
--- a/src/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.ts
+++ b/src/serialization/resources/webhooks/client/requests/BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch.ts
@@ -10,11 +10,13 @@ export const BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch: core.s
> = core.serialization.object({
isDisabled: core.serialization.property("is_disabled", core.serialization.boolean()),
name: core.serialization.string(),
+ retryEnabled: core.serialization.property("retry_enabled", core.serialization.boolean().optional()),
});
export declare namespace BodyUpdateWorkspaceWebhookV1WorkspaceWebhooksWebhookIdPatch {
export interface Raw {
is_disabled: boolean;
name: string;
+ retry_enabled?: boolean | null;
}
}
diff --git a/src/serialization/types/AgentPlatformSettingsRequestModel.ts b/src/serialization/types/AgentPlatformSettingsRequestModel.ts
index 7592db20..1337756c 100644
--- a/src/serialization/types/AgentPlatformSettingsRequestModel.ts
+++ b/src/serialization/types/AgentPlatformSettingsRequestModel.ts
@@ -10,7 +10,7 @@ import { AuthSettings } from "./AuthSettings";
import { ConversationInitiationClientDataConfigInput } from "./ConversationInitiationClientDataConfigInput";
import { EvaluationSettings } from "./EvaluationSettings";
import { LiteralJsonSchemaProperty } from "./LiteralJsonSchemaProperty";
-import { PrivacyConfig } from "./PrivacyConfig";
+import { PrivacyConfigInput } from "./PrivacyConfigInput";
import { WidgetConfig } from "./WidgetConfig";
export const AgentPlatformSettingsRequestModel: core.serialization.ObjectSchema<
@@ -27,9 +27,10 @@ export const AgentPlatformSettingsRequestModel: core.serialization.ObjectSchema<
workspaceOverrides: core.serialization.property("workspace_overrides", AgentWorkspaceOverridesInput.optional()),
testing: AgentTestingSettings.optional(),
archived: core.serialization.boolean().optional(),
+ summaryLanguage: core.serialization.property("summary_language", core.serialization.string().optional()),
auth: AuthSettings.optional(),
callLimits: core.serialization.property("call_limits", AgentCallLimits.optional()),
- privacy: PrivacyConfig.optional(),
+ privacy: PrivacyConfigInput.optional(),
});
export declare namespace AgentPlatformSettingsRequestModel {
@@ -41,8 +42,9 @@ export declare namespace AgentPlatformSettingsRequestModel {
workspace_overrides?: AgentWorkspaceOverridesInput.Raw | null;
testing?: AgentTestingSettings.Raw | null;
archived?: boolean | null;
+ summary_language?: string | null;
auth?: AuthSettings.Raw | null;
call_limits?: AgentCallLimits.Raw | null;
- privacy?: PrivacyConfig.Raw | null;
+ privacy?: PrivacyConfigInput.Raw | null;
}
}
diff --git a/src/serialization/types/AgentPlatformSettingsResponseModel.ts b/src/serialization/types/AgentPlatformSettingsResponseModel.ts
index f27ca2a5..acca6a6b 100644
--- a/src/serialization/types/AgentPlatformSettingsResponseModel.ts
+++ b/src/serialization/types/AgentPlatformSettingsResponseModel.ts
@@ -10,7 +10,7 @@ import { AuthSettings } from "./AuthSettings";
import { ConversationInitiationClientDataConfigOutput } from "./ConversationInitiationClientDataConfigOutput";
import { EvaluationSettings } from "./EvaluationSettings";
import { LiteralJsonSchemaProperty } from "./LiteralJsonSchemaProperty";
-import { PrivacyConfig } from "./PrivacyConfig";
+import { PrivacyConfigOutput } from "./PrivacyConfigOutput";
import { SafetyResponseModel } from "./SafetyResponseModel";
import { WidgetConfig } from "./WidgetConfig";
@@ -28,9 +28,10 @@ export const AgentPlatformSettingsResponseModel: core.serialization.ObjectSchema
workspaceOverrides: core.serialization.property("workspace_overrides", AgentWorkspaceOverridesOutput.optional()),
testing: AgentTestingSettings.optional(),
archived: core.serialization.boolean().optional(),
+ summaryLanguage: core.serialization.property("summary_language", core.serialization.string().optional()),
auth: AuthSettings.optional(),
callLimits: core.serialization.property("call_limits", AgentCallLimits.optional()),
- privacy: PrivacyConfig.optional(),
+ privacy: PrivacyConfigOutput.optional(),
safety: SafetyResponseModel.optional(),
});
@@ -43,9 +44,10 @@ export declare namespace AgentPlatformSettingsResponseModel {
workspace_overrides?: AgentWorkspaceOverridesOutput.Raw | null;
testing?: AgentTestingSettings.Raw | null;
archived?: boolean | null;
+ summary_language?: string | null;
auth?: AuthSettings.Raw | null;
call_limits?: AgentCallLimits.Raw | null;
- privacy?: PrivacyConfig.Raw | null;
+ privacy?: PrivacyConfigOutput.Raw | null;
safety?: SafetyResponseModel.Raw | null;
}
}
diff --git a/src/serialization/types/AgentSimulatedChatTestResponseModel.ts b/src/serialization/types/AgentSimulatedChatTestResponseModel.ts
index 38ca4568..c2b4b58c 100644
--- a/src/serialization/types/AgentSimulatedChatTestResponseModel.ts
+++ b/src/serialization/types/AgentSimulatedChatTestResponseModel.ts
@@ -4,7 +4,7 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
import { ConversationHistoryAnalysisCommonModel } from "./ConversationHistoryAnalysisCommonModel";
-import { ConversationHistoryTranscriptCommonModelOutput } from "./ConversationHistoryTranscriptCommonModelOutput";
+import { ConversationHistoryTranscriptResponseModel } from "./ConversationHistoryTranscriptResponseModel";
export const AgentSimulatedChatTestResponseModel: core.serialization.ObjectSchema<
serializers.AgentSimulatedChatTestResponseModel.Raw,
@@ -12,14 +12,14 @@ export const AgentSimulatedChatTestResponseModel: core.serialization.ObjectSchem
> = core.serialization.object({
simulatedConversation: core.serialization.property(
"simulated_conversation",
- core.serialization.list(ConversationHistoryTranscriptCommonModelOutput),
+ core.serialization.list(ConversationHistoryTranscriptResponseModel),
),
analysis: ConversationHistoryAnalysisCommonModel,
});
export declare namespace AgentSimulatedChatTestResponseModel {
export interface Raw {
- simulated_conversation: ConversationHistoryTranscriptCommonModelOutput.Raw[];
+ simulated_conversation: ConversationHistoryTranscriptResponseModel.Raw[];
analysis: ConversationHistoryAnalysisCommonModel.Raw;
}
}
diff --git a/src/serialization/types/AgentTestEntityType.ts b/src/serialization/types/AgentTestEntityType.ts
new file mode 100644
index 00000000..676882df
--- /dev/null
+++ b/src/serialization/types/AgentTestEntityType.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const AgentTestEntityType: core.serialization.Schema<
+ serializers.AgentTestEntityType.Raw,
+ ElevenLabs.AgentTestEntityType
+> = core.serialization.enum_(["test", "folder"]);
+
+export declare namespace AgentTestEntityType {
+ export type Raw = "test" | "folder";
+}
diff --git a/src/serialization/types/AgentTestFolderPathSegmentResponseModel.ts b/src/serialization/types/AgentTestFolderPathSegmentResponseModel.ts
new file mode 100644
index 00000000..dc9978e1
--- /dev/null
+++ b/src/serialization/types/AgentTestFolderPathSegmentResponseModel.ts
@@ -0,0 +1,20 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const AgentTestFolderPathSegmentResponseModel: core.serialization.ObjectSchema<
+ serializers.AgentTestFolderPathSegmentResponseModel.Raw,
+ ElevenLabs.AgentTestFolderPathSegmentResponseModel
+> = core.serialization.object({
+ id: core.serialization.string(),
+ name: core.serialization.string().optional(),
+});
+
+export declare namespace AgentTestFolderPathSegmentResponseModel {
+ export interface Raw {
+ id: string;
+ name?: string | null;
+ }
+}
diff --git a/src/serialization/types/ApiIntegrationWebhookOverridesInput.ts b/src/serialization/types/ApiIntegrationWebhookOverridesInput.ts
index e1f91c45..8869b319 100644
--- a/src/serialization/types/ApiIntegrationWebhookOverridesInput.ts
+++ b/src/serialization/types/ApiIntegrationWebhookOverridesInput.ts
@@ -4,6 +4,7 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import * as serializers from "../index";
import { ApiIntegrationWebhookOverridesInputRequestHeadersValue } from "./ApiIntegrationWebhookOverridesInputRequestHeadersValue";
+import { ApiIntegrationWebhookOverridesInputSchemaOverridesValue } from "./ApiIntegrationWebhookOverridesInputSchemaOverridesValue";
import { LiteralOverride } from "./LiteralOverride";
import { QueryOverride } from "./QueryOverride";
import { ResponseFilterMode } from "./ResponseFilterMode";
@@ -12,6 +13,12 @@ export const ApiIntegrationWebhookOverridesInput: core.serialization.ObjectSchem
serializers.ApiIntegrationWebhookOverridesInput.Raw,
ElevenLabs.ApiIntegrationWebhookOverridesInput
> = core.serialization.object({
+ schemaOverrides: core.serialization.property(
+ "schema_overrides",
+ core.serialization
+ .record(core.serialization.string(), ApiIntegrationWebhookOverridesInputSchemaOverridesValue.optional())
+ .optional(),
+ ),
pathParamsSchema: core.serialization.property(
"path_params_schema",
core.serialization.record(core.serialization.string(), LiteralOverride.optional()).optional(),
@@ -36,6 +43,10 @@ export const ApiIntegrationWebhookOverridesInput: core.serialization.ObjectSchem
export declare namespace ApiIntegrationWebhookOverridesInput {
export interface Raw {
+ schema_overrides?: Record<
+ string,
+ ApiIntegrationWebhookOverridesInputSchemaOverridesValue.Raw | null | undefined
+ > | null;
path_params_schema?: Record | null;
query_params_schema?: QueryOverride.Raw | null;
request_body_schema?: serializers.ObjectOverrideInput.Raw | null;
diff --git a/src/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.ts b/src/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.ts
new file mode 100644
index 00000000..422e7bad
--- /dev/null
+++ b/src/serialization/types/ApiIntegrationWebhookOverridesInputSchemaOverridesValue.ts
@@ -0,0 +1,41 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ConstantSchemaOverride } from "./ConstantSchemaOverride";
+import { DynamicVariableSchemaOverride } from "./DynamicVariableSchemaOverride";
+import { LlmSchemaOverride } from "./LlmSchemaOverride";
+
+export const ApiIntegrationWebhookOverridesInputSchemaOverridesValue: core.serialization.Schema<
+ serializers.ApiIntegrationWebhookOverridesInputSchemaOverridesValue.Raw,
+ ElevenLabs.ApiIntegrationWebhookOverridesInputSchemaOverridesValue
+> = core.serialization
+ .union("source", {
+ constant: ConstantSchemaOverride,
+ dynamic_variable: DynamicVariableSchemaOverride,
+ llm: LlmSchemaOverride,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace ApiIntegrationWebhookOverridesInputSchemaOverridesValue {
+ export type Raw =
+ | ApiIntegrationWebhookOverridesInputSchemaOverridesValue.Constant
+ | ApiIntegrationWebhookOverridesInputSchemaOverridesValue.DynamicVariable
+ | ApiIntegrationWebhookOverridesInputSchemaOverridesValue.Llm;
+
+ export interface Constant extends ConstantSchemaOverride.Raw {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends DynamicVariableSchemaOverride.Raw {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends LlmSchemaOverride.Raw {
+ source: "llm";
+ }
+}
diff --git a/src/serialization/types/ApiIntegrationWebhookOverridesOutput.ts b/src/serialization/types/ApiIntegrationWebhookOverridesOutput.ts
index d2d18147..31813fc7 100644
--- a/src/serialization/types/ApiIntegrationWebhookOverridesOutput.ts
+++ b/src/serialization/types/ApiIntegrationWebhookOverridesOutput.ts
@@ -4,6 +4,7 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import * as serializers from "../index";
import { ApiIntegrationWebhookOverridesOutputRequestHeadersValue } from "./ApiIntegrationWebhookOverridesOutputRequestHeadersValue";
+import { ApiIntegrationWebhookOverridesOutputSchemaOverridesValue } from "./ApiIntegrationWebhookOverridesOutputSchemaOverridesValue";
import { LiteralOverride } from "./LiteralOverride";
import { QueryOverride } from "./QueryOverride";
import { ResponseFilterMode } from "./ResponseFilterMode";
@@ -12,6 +13,12 @@ export const ApiIntegrationWebhookOverridesOutput: core.serialization.ObjectSche
serializers.ApiIntegrationWebhookOverridesOutput.Raw,
ElevenLabs.ApiIntegrationWebhookOverridesOutput
> = core.serialization.object({
+ schemaOverrides: core.serialization.property(
+ "schema_overrides",
+ core.serialization
+ .record(core.serialization.string(), ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.optional())
+ .optional(),
+ ),
pathParamsSchema: core.serialization.property(
"path_params_schema",
core.serialization.record(core.serialization.string(), LiteralOverride.optional()).optional(),
@@ -36,6 +43,10 @@ export const ApiIntegrationWebhookOverridesOutput: core.serialization.ObjectSche
export declare namespace ApiIntegrationWebhookOverridesOutput {
export interface Raw {
+ schema_overrides?: Record<
+ string,
+ ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.Raw | null | undefined
+ > | null;
path_params_schema?: Record | null;
query_params_schema?: QueryOverride.Raw | null;
request_body_schema?: serializers.ObjectOverrideOutput.Raw | null;
diff --git a/src/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.ts b/src/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.ts
new file mode 100644
index 00000000..53d38cda
--- /dev/null
+++ b/src/serialization/types/ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.ts
@@ -0,0 +1,41 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ConstantSchemaOverride } from "./ConstantSchemaOverride";
+import { DynamicVariableSchemaOverride } from "./DynamicVariableSchemaOverride";
+import { LlmSchemaOverride } from "./LlmSchemaOverride";
+
+export const ApiIntegrationWebhookOverridesOutputSchemaOverridesValue: core.serialization.Schema<
+ serializers.ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.Raw,
+ ElevenLabs.ApiIntegrationWebhookOverridesOutputSchemaOverridesValue
+> = core.serialization
+ .union("source", {
+ constant: ConstantSchemaOverride,
+ dynamic_variable: DynamicVariableSchemaOverride,
+ llm: LlmSchemaOverride,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace ApiIntegrationWebhookOverridesOutputSchemaOverridesValue {
+ export type Raw =
+ | ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.Constant
+ | ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.DynamicVariable
+ | ApiIntegrationWebhookOverridesOutputSchemaOverridesValue.Llm;
+
+ export interface Constant extends ConstantSchemaOverride.Raw {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends DynamicVariableSchemaOverride.Raw {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends LlmSchemaOverride.Raw {
+ source: "llm";
+ }
+}
diff --git a/src/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.ts b/src/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.ts
deleted file mode 100644
index d30c3acc..00000000
--- a/src/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-import type * as ElevenLabs from "../../api/index";
-import * as core from "../../core";
-import type * as serializers from "../index";
-
-export const BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge: core.serialization.Schema<
- serializers.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.Raw,
- ElevenLabs.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge
-> = core.serialization.enum_(["young", "middle_aged", "old"]);
-
-export declare namespace BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge {
- export type Raw = "young" | "middle_aged" | "old";
-}
diff --git a/src/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.ts b/src/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.ts
deleted file mode 100644
index c37f36fc..00000000
--- a/src/serialization/types/BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-import type * as ElevenLabs from "../../api/index";
-import * as core from "../../core";
-import type * as serializers from "../index";
-
-export const BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender: core.serialization.Schema<
- serializers.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.Raw,
- ElevenLabs.BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender
-> = core.serialization.enum_(["female", "male"]);
-
-export declare namespace BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender {
- export type Raw = "female" | "male";
-}
diff --git a/src/serialization/types/ChatSourceMedium.ts b/src/serialization/types/ChatSourceMedium.ts
new file mode 100644
index 00000000..3d806cdb
--- /dev/null
+++ b/src/serialization/types/ChatSourceMedium.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ChatSourceMedium: core.serialization.Schema<
+ serializers.ChatSourceMedium.Raw,
+ ElevenLabs.ChatSourceMedium
+> = core.serialization.enum_(["audio", "text", "image", "file"]);
+
+export declare namespace ChatSourceMedium {
+ export type Raw = "audio" | "text" | "image" | "file";
+}
diff --git a/src/serialization/types/ClientEvent.ts b/src/serialization/types/ClientEvent.ts
index d5f24dac..da05c6e0 100644
--- a/src/serialization/types/ClientEvent.ts
+++ b/src/serialization/types/ClientEvent.ts
@@ -23,6 +23,7 @@ export const ClientEvent: core.serialization.Schema =
+ core.serialization.object({
+ enterEffect: core.serialization.property("enter_effect", ClipAnimationEnterEffect.optional()),
+ enterDurationMs: core.serialization.property("enter_duration_ms", core.serialization.number().optional()),
+ exitEffect: core.serialization.property("exit_effect", ClipAnimationExitEffect.optional()),
+ exitDurationMs: core.serialization.property("exit_duration_ms", core.serialization.number().optional()),
+ });
+
+export declare namespace ClipAnimation {
+ export interface Raw {
+ enter_effect?: ClipAnimationEnterEffect.Raw | null;
+ enter_duration_ms?: number | null;
+ exit_effect?: ClipAnimationExitEffect.Raw | null;
+ exit_duration_ms?: number | null;
+ }
+}
diff --git a/src/serialization/types/ClipAnimationEnterEffect.ts b/src/serialization/types/ClipAnimationEnterEffect.ts
new file mode 100644
index 00000000..f90d057e
--- /dev/null
+++ b/src/serialization/types/ClipAnimationEnterEffect.ts
@@ -0,0 +1,43 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ClipAnimationEnterEffect: core.serialization.Schema<
+ serializers.ClipAnimationEnterEffect.Raw,
+ ElevenLabs.ClipAnimationEnterEffect
+> = core.serialization.enum_([
+ "none",
+ "fade",
+ "float",
+ "gentle_float",
+ "zoom_in",
+ "drop",
+ "slide_left",
+ "slide_right",
+ "slide_up",
+ "slide_down",
+ "pop",
+ "bounce",
+ "spin",
+ "slide_bounce",
+]);
+
+export declare namespace ClipAnimationEnterEffect {
+ export type Raw =
+ | "none"
+ | "fade"
+ | "float"
+ | "gentle_float"
+ | "zoom_in"
+ | "drop"
+ | "slide_left"
+ | "slide_right"
+ | "slide_up"
+ | "slide_down"
+ | "pop"
+ | "bounce"
+ | "spin"
+ | "slide_bounce";
+}
diff --git a/src/serialization/types/ClipAnimationExitEffect.ts b/src/serialization/types/ClipAnimationExitEffect.ts
new file mode 100644
index 00000000..bcbc3f39
--- /dev/null
+++ b/src/serialization/types/ClipAnimationExitEffect.ts
@@ -0,0 +1,43 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ClipAnimationExitEffect: core.serialization.Schema<
+ serializers.ClipAnimationExitEffect.Raw,
+ ElevenLabs.ClipAnimationExitEffect
+> = core.serialization.enum_([
+ "none",
+ "fade",
+ "float",
+ "gentle_float",
+ "zoom_in",
+ "drop",
+ "slide_left",
+ "slide_right",
+ "slide_up",
+ "slide_down",
+ "pop",
+ "bounce",
+ "spin",
+ "slide_bounce",
+]);
+
+export declare namespace ClipAnimationExitEffect {
+ export type Raw =
+ | "none"
+ | "fade"
+ | "float"
+ | "gentle_float"
+ | "zoom_in"
+ | "drop"
+ | "slide_left"
+ | "slide_right"
+ | "slide_up"
+ | "slide_down"
+ | "pop"
+ | "bounce"
+ | "spin"
+ | "slide_bounce";
+}
diff --git a/src/serialization/types/CoachedAgentSettings.ts b/src/serialization/types/CoachedAgentSettings.ts
new file mode 100644
index 00000000..3b4d44c4
--- /dev/null
+++ b/src/serialization/types/CoachedAgentSettings.ts
@@ -0,0 +1,18 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const CoachedAgentSettings: core.serialization.ObjectSchema<
+ serializers.CoachedAgentSettings.Raw,
+ ElevenLabs.CoachedAgentSettings
+> = core.serialization.object({
+ memoryBaseId: core.serialization.property("memory_base_id", core.serialization.string().optional()),
+});
+
+export declare namespace CoachedAgentSettings {
+ export interface Raw {
+ memory_base_id?: string | null;
+ }
+}
diff --git a/src/serialization/types/CoachingAgentSettings.ts b/src/serialization/types/CoachingAgentSettings.ts
new file mode 100644
index 00000000..900f8db7
--- /dev/null
+++ b/src/serialization/types/CoachingAgentSettings.ts
@@ -0,0 +1,20 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const CoachingAgentSettings: core.serialization.ObjectSchema<
+ serializers.CoachingAgentSettings.Raw,
+ ElevenLabs.CoachingAgentSettings
+> = core.serialization.object({
+ coachedAgentId: core.serialization.property("coached_agent_id", core.serialization.string()),
+ memoryBaseId: core.serialization.property("memory_base_id", core.serialization.string().optional()),
+});
+
+export declare namespace CoachingAgentSettings {
+ export interface Raw {
+ coached_agent_id: string;
+ memory_base_id?: string | null;
+ }
+}
diff --git a/src/serialization/types/ConfigEntityType.ts b/src/serialization/types/ConfigEntityType.ts
new file mode 100644
index 00000000..f6e73fcb
--- /dev/null
+++ b/src/serialization/types/ConfigEntityType.ts
@@ -0,0 +1,125 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ConfigEntityType: core.serialization.Schema<
+ serializers.ConfigEntityType.Raw,
+ ElevenLabs.ConfigEntityType
+> = core.serialization.enum_([
+ "name",
+ "name.name_given",
+ "name.name_family",
+ "name.name_other",
+ "email_address",
+ "contact_number",
+ "dob",
+ "age",
+ "religious_belief",
+ "political_opinion",
+ "sexual_orientation",
+ "ethnicity_race",
+ "marital_status",
+ "occupation",
+ "physical_attribute",
+ "language",
+ "username",
+ "password",
+ "url",
+ "organization",
+ "financial_id",
+ "financial_id.payment_card",
+ "financial_id.payment_card.payment_card_number",
+ "financial_id.payment_card.payment_card_expiration_date",
+ "financial_id.payment_card.payment_card_cvv",
+ "financial_id.bank_account",
+ "financial_id.bank_account.bank_account_number",
+ "financial_id.bank_account.bank_routing_number",
+ "financial_id.bank_account.swift_bic_code",
+ "financial_id.financial_id_other",
+ "location",
+ "location.location_address",
+ "location.location_city",
+ "location.location_postal_code",
+ "location.location_coordinate",
+ "location.location_state",
+ "location.location_country",
+ "location.location_other",
+ "date",
+ "date_interval",
+ "unique_id",
+ "unique_id.government_issued_id",
+ "unique_id.account_number",
+ "unique_id.vehicle_id",
+ "unique_id.healthcare_number",
+ "unique_id.healthcare_number.medical_record_number",
+ "unique_id.healthcare_number.health_plan_beneficiary_number",
+ "unique_id.device_id",
+ "unique_id.unique_id_other",
+ "medical",
+ "medical.medical_condition",
+ "medical.medication",
+ "medical.medical_procedure",
+ "medical.medical_measurement",
+ "medical.medical_other",
+]);
+
+export declare namespace ConfigEntityType {
+ export type Raw =
+ | "name"
+ | "name.name_given"
+ | "name.name_family"
+ | "name.name_other"
+ | "email_address"
+ | "contact_number"
+ | "dob"
+ | "age"
+ | "religious_belief"
+ | "political_opinion"
+ | "sexual_orientation"
+ | "ethnicity_race"
+ | "marital_status"
+ | "occupation"
+ | "physical_attribute"
+ | "language"
+ | "username"
+ | "password"
+ | "url"
+ | "organization"
+ | "financial_id"
+ | "financial_id.payment_card"
+ | "financial_id.payment_card.payment_card_number"
+ | "financial_id.payment_card.payment_card_expiration_date"
+ | "financial_id.payment_card.payment_card_cvv"
+ | "financial_id.bank_account"
+ | "financial_id.bank_account.bank_account_number"
+ | "financial_id.bank_account.bank_routing_number"
+ | "financial_id.bank_account.swift_bic_code"
+ | "financial_id.financial_id_other"
+ | "location"
+ | "location.location_address"
+ | "location.location_city"
+ | "location.location_postal_code"
+ | "location.location_coordinate"
+ | "location.location_state"
+ | "location.location_country"
+ | "location.location_other"
+ | "date"
+ | "date_interval"
+ | "unique_id"
+ | "unique_id.government_issued_id"
+ | "unique_id.account_number"
+ | "unique_id.vehicle_id"
+ | "unique_id.healthcare_number"
+ | "unique_id.healthcare_number.medical_record_number"
+ | "unique_id.healthcare_number.health_plan_beneficiary_number"
+ | "unique_id.device_id"
+ | "unique_id.unique_id_other"
+ | "medical"
+ | "medical.medical_condition"
+ | "medical.medication"
+ | "medical.medical_procedure"
+ | "medical.medical_measurement"
+ | "medical.medical_other";
+}
diff --git a/src/serialization/types/ConstantSchemaOverride.ts b/src/serialization/types/ConstantSchemaOverride.ts
new file mode 100644
index 00000000..b094cbe4
--- /dev/null
+++ b/src/serialization/types/ConstantSchemaOverride.ts
@@ -0,0 +1,19 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ConstantSchemaOverrideConstantValue } from "./ConstantSchemaOverrideConstantValue";
+
+export const ConstantSchemaOverride: core.serialization.ObjectSchema<
+ serializers.ConstantSchemaOverride.Raw,
+ ElevenLabs.ConstantSchemaOverride
+> = core.serialization.object({
+ constantValue: core.serialization.property("constant_value", ConstantSchemaOverrideConstantValue),
+});
+
+export declare namespace ConstantSchemaOverride {
+ export interface Raw {
+ constant_value: ConstantSchemaOverrideConstantValue.Raw;
+ }
+}
diff --git a/src/serialization/types/ConstantSchemaOverrideConstantValue.ts b/src/serialization/types/ConstantSchemaOverrideConstantValue.ts
new file mode 100644
index 00000000..7d7f2d94
--- /dev/null
+++ b/src/serialization/types/ConstantSchemaOverrideConstantValue.ts
@@ -0,0 +1,19 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ConstantSchemaOverrideConstantValue: core.serialization.Schema<
+ serializers.ConstantSchemaOverrideConstantValue.Raw,
+ ElevenLabs.ConstantSchemaOverrideConstantValue
+> = core.serialization.undiscriminatedUnion([
+ core.serialization.string(),
+ core.serialization.number(),
+ core.serialization.number(),
+ core.serialization.boolean(),
+]);
+
+export declare namespace ConstantSchemaOverrideConstantValue {
+ export type Raw = string | number | number | boolean;
+}
diff --git a/src/serialization/types/ContentConfig.ts b/src/serialization/types/ContentConfig.ts
index 5beb1b53..331c9f29 100644
--- a/src/serialization/types/ContentConfig.ts
+++ b/src/serialization/types/ContentConfig.ts
@@ -12,7 +12,7 @@ export const ContentConfig: core.serialization.ObjectSchema = core.serialization.object({
+ fileId: core.serialization.property("file_id", core.serialization.string()),
+});
+
+export declare namespace ConvAiFileUploadResponseModel {
+ export interface Raw {
+ file_id: string;
+ }
+}
diff --git a/src/serialization/types/ConversationHistoryRedactionConfig.ts b/src/serialization/types/ConversationHistoryRedactionConfig.ts
new file mode 100644
index 00000000..5622897c
--- /dev/null
+++ b/src/serialization/types/ConversationHistoryRedactionConfig.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ConfigEntityType } from "./ConfigEntityType";
+
+export const ConversationHistoryRedactionConfig: core.serialization.ObjectSchema<
+ serializers.ConversationHistoryRedactionConfig.Raw,
+ ElevenLabs.ConversationHistoryRedactionConfig
+> = core.serialization.object({
+ enabled: core.serialization.boolean().optional(),
+ entities: core.serialization.list(ConfigEntityType).optional(),
+});
+
+export declare namespace ConversationHistoryRedactionConfig {
+ export interface Raw {
+ enabled?: boolean | null;
+ entities?: ConfigEntityType.Raw[] | null;
+ }
+}
diff --git a/src/serialization/types/ConversationHistoryTranscriptCommonModelInput.ts b/src/serialization/types/ConversationHistoryTranscriptCommonModelInput.ts
index fd33eadb..1f196ee3 100644
--- a/src/serialization/types/ConversationHistoryTranscriptCommonModelInput.ts
+++ b/src/serialization/types/ConversationHistoryTranscriptCommonModelInput.ts
@@ -4,9 +4,9 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
import { AgentMetadata } from "./AgentMetadata";
+import { ChatSourceMedium } from "./ChatSourceMedium";
import { ConversationHistoryMultivoiceMessageModel } from "./ConversationHistoryMultivoiceMessageModel";
import { ConversationHistoryTranscriptCommonModelInputRole } from "./ConversationHistoryTranscriptCommonModelInputRole";
-import { ConversationHistoryTranscriptCommonModelInputSourceMedium } from "./ConversationHistoryTranscriptCommonModelInputSourceMedium";
import { ConversationHistoryTranscriptCommonModelInputToolResultsItem } from "./ConversationHistoryTranscriptCommonModelInputToolResultsItem";
import { ConversationHistoryTranscriptToolCallCommonModelInput } from "./ConversationHistoryTranscriptToolCallCommonModelInput";
import { ConversationTurnMetrics } from "./ConversationTurnMetrics";
@@ -44,10 +44,7 @@ export const ConversationHistoryTranscriptCommonModelInput: core.serialization.O
llmUsage: core.serialization.property("llm_usage", LlmUsageInput.optional()),
interrupted: core.serialization.boolean().optional(),
originalMessage: core.serialization.property("original_message", core.serialization.string().optional()),
- sourceMedium: core.serialization.property(
- "source_medium",
- ConversationHistoryTranscriptCommonModelInputSourceMedium.optional(),
- ),
+ sourceMedium: core.serialization.property("source_medium", ChatSourceMedium.optional()),
});
export declare namespace ConversationHistoryTranscriptCommonModelInput {
@@ -66,6 +63,6 @@ export declare namespace ConversationHistoryTranscriptCommonModelInput {
llm_usage?: LlmUsageInput.Raw | null;
interrupted?: boolean | null;
original_message?: string | null;
- source_medium?: ConversationHistoryTranscriptCommonModelInputSourceMedium.Raw | null;
+ source_medium?: ChatSourceMedium.Raw | null;
}
}
diff --git a/src/serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.ts b/src/serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.ts
deleted file mode 100644
index bbc48a50..00000000
--- a/src/serialization/types/ConversationHistoryTranscriptCommonModelInputSourceMedium.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-import type * as ElevenLabs from "../../api/index";
-import * as core from "../../core";
-import type * as serializers from "../index";
-
-export const ConversationHistoryTranscriptCommonModelInputSourceMedium: core.serialization.Schema<
- serializers.ConversationHistoryTranscriptCommonModelInputSourceMedium.Raw,
- ElevenLabs.ConversationHistoryTranscriptCommonModelInputSourceMedium
-> = core.serialization.enum_(["audio", "text"]);
-
-export declare namespace ConversationHistoryTranscriptCommonModelInputSourceMedium {
- export type Raw = "audio" | "text";
-}
diff --git a/src/serialization/types/ConversationHistoryTranscriptCommonModelOutput.ts b/src/serialization/types/ConversationHistoryTranscriptCommonModelOutput.ts
index 5ac854cf..ba8c8d56 100644
--- a/src/serialization/types/ConversationHistoryTranscriptCommonModelOutput.ts
+++ b/src/serialization/types/ConversationHistoryTranscriptCommonModelOutput.ts
@@ -4,9 +4,9 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
import { AgentMetadata } from "./AgentMetadata";
+import { ChatSourceMedium } from "./ChatSourceMedium";
import { ConversationHistoryMultivoiceMessageModel } from "./ConversationHistoryMultivoiceMessageModel";
import { ConversationHistoryTranscriptCommonModelOutputRole } from "./ConversationHistoryTranscriptCommonModelOutputRole";
-import { ConversationHistoryTranscriptCommonModelOutputSourceMedium } from "./ConversationHistoryTranscriptCommonModelOutputSourceMedium";
import { ConversationHistoryTranscriptCommonModelOutputToolResultsItem } from "./ConversationHistoryTranscriptCommonModelOutputToolResultsItem";
import { ConversationHistoryTranscriptToolCallCommonModelOutput } from "./ConversationHistoryTranscriptToolCallCommonModelOutput";
import { ConversationTurnMetrics } from "./ConversationTurnMetrics";
@@ -44,10 +44,7 @@ export const ConversationHistoryTranscriptCommonModelOutput: core.serialization.
llmUsage: core.serialization.property("llm_usage", LlmUsageOutput.optional()),
interrupted: core.serialization.boolean().optional(),
originalMessage: core.serialization.property("original_message", core.serialization.string().optional()),
- sourceMedium: core.serialization.property(
- "source_medium",
- ConversationHistoryTranscriptCommonModelOutputSourceMedium.optional(),
- ),
+ sourceMedium: core.serialization.property("source_medium", ChatSourceMedium.optional()),
});
export declare namespace ConversationHistoryTranscriptCommonModelOutput {
@@ -66,6 +63,6 @@ export declare namespace ConversationHistoryTranscriptCommonModelOutput {
llm_usage?: LlmUsageOutput.Raw | null;
interrupted?: boolean | null;
original_message?: string | null;
- source_medium?: ConversationHistoryTranscriptCommonModelOutputSourceMedium.Raw | null;
+ source_medium?: ChatSourceMedium.Raw | null;
}
}
diff --git a/src/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.ts b/src/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.ts
deleted file mode 100644
index 5f817c18..00000000
--- a/src/serialization/types/ConversationHistoryTranscriptCommonModelOutputSourceMedium.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-import type * as ElevenLabs from "../../api/index";
-import * as core from "../../core";
-import type * as serializers from "../index";
-
-export const ConversationHistoryTranscriptCommonModelOutputSourceMedium: core.serialization.Schema<
- serializers.ConversationHistoryTranscriptCommonModelOutputSourceMedium.Raw,
- ElevenLabs.ConversationHistoryTranscriptCommonModelOutputSourceMedium
-> = core.serialization.enum_(["audio", "text"]);
-
-export declare namespace ConversationHistoryTranscriptCommonModelOutputSourceMedium {
- export type Raw = "audio" | "text";
-}
diff --git a/src/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.ts b/src/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.ts
new file mode 100644
index 00000000..84cbbb8d
--- /dev/null
+++ b/src/serialization/types/ConversationHistoryTranscriptFileInputResponseModel.ts
@@ -0,0 +1,24 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ConversationHistoryTranscriptFileInputResponseModel: core.serialization.ObjectSchema<
+ serializers.ConversationHistoryTranscriptFileInputResponseModel.Raw,
+ ElevenLabs.ConversationHistoryTranscriptFileInputResponseModel
+> = core.serialization.object({
+ fileId: core.serialization.property("file_id", core.serialization.string()),
+ originalFilename: core.serialization.property("original_filename", core.serialization.string()),
+ mimeType: core.serialization.property("mime_type", core.serialization.string()),
+ fileUrl: core.serialization.property("file_url", core.serialization.string()),
+});
+
+export declare namespace ConversationHistoryTranscriptFileInputResponseModel {
+ export interface Raw {
+ file_id: string;
+ original_filename: string;
+ mime_type: string;
+ file_url: string;
+ }
+}
diff --git a/src/serialization/types/ConversationHistoryTranscriptResponseModel.ts b/src/serialization/types/ConversationHistoryTranscriptResponseModel.ts
new file mode 100644
index 00000000..0f13cc99
--- /dev/null
+++ b/src/serialization/types/ConversationHistoryTranscriptResponseModel.ts
@@ -0,0 +1,74 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { AgentMetadata } from "./AgentMetadata";
+import { ChatSourceMedium } from "./ChatSourceMedium";
+import { ConversationHistoryMultivoiceMessageModel } from "./ConversationHistoryMultivoiceMessageModel";
+import { ConversationHistoryTranscriptFileInputResponseModel } from "./ConversationHistoryTranscriptFileInputResponseModel";
+import { ConversationHistoryTranscriptResponseModelRole } from "./ConversationHistoryTranscriptResponseModelRole";
+import { ConversationHistoryTranscriptResponseModelToolResultsItem } from "./ConversationHistoryTranscriptResponseModelToolResultsItem";
+import { ConversationHistoryTranscriptToolCallCommonModelOutput } from "./ConversationHistoryTranscriptToolCallCommonModelOutput";
+import { ConversationTurnMetrics } from "./ConversationTurnMetrics";
+import { LlmUsageOutput } from "./LlmUsageOutput";
+import { RagRetrievalInfo } from "./RagRetrievalInfo";
+import { UserFeedback } from "./UserFeedback";
+
+export const ConversationHistoryTranscriptResponseModel: core.serialization.ObjectSchema<
+ serializers.ConversationHistoryTranscriptResponseModel.Raw,
+ ElevenLabs.ConversationHistoryTranscriptResponseModel
+> = core.serialization.object({
+ role: ConversationHistoryTranscriptResponseModelRole,
+ agentMetadata: core.serialization.property("agent_metadata", AgentMetadata.optional()),
+ message: core.serialization.string().optional(),
+ multivoiceMessage: core.serialization.property(
+ "multivoice_message",
+ ConversationHistoryMultivoiceMessageModel.optional(),
+ ),
+ toolCalls: core.serialization.property(
+ "tool_calls",
+ core.serialization.list(ConversationHistoryTranscriptToolCallCommonModelOutput).optional(),
+ ),
+ toolResults: core.serialization.property(
+ "tool_results",
+ core.serialization.list(ConversationHistoryTranscriptResponseModelToolResultsItem).optional(),
+ ),
+ feedback: UserFeedback.optional(),
+ llmOverride: core.serialization.property("llm_override", core.serialization.string().optional()),
+ timeInCallSecs: core.serialization.property("time_in_call_secs", core.serialization.number()),
+ conversationTurnMetrics: core.serialization.property(
+ "conversation_turn_metrics",
+ ConversationTurnMetrics.optional(),
+ ),
+ ragRetrievalInfo: core.serialization.property("rag_retrieval_info", RagRetrievalInfo.optional()),
+ llmUsage: core.serialization.property("llm_usage", LlmUsageOutput.optional()),
+ interrupted: core.serialization.boolean().optional(),
+ originalMessage: core.serialization.property("original_message", core.serialization.string().optional()),
+ sourceMedium: core.serialization.property("source_medium", ChatSourceMedium.optional()),
+ fileInput: core.serialization.property(
+ "file_input",
+ ConversationHistoryTranscriptFileInputResponseModel.optional(),
+ ),
+});
+
+export declare namespace ConversationHistoryTranscriptResponseModel {
+ export interface Raw {
+ role: ConversationHistoryTranscriptResponseModelRole.Raw;
+ agent_metadata?: AgentMetadata.Raw | null;
+ message?: string | null;
+ multivoice_message?: ConversationHistoryMultivoiceMessageModel.Raw | null;
+ tool_calls?: ConversationHistoryTranscriptToolCallCommonModelOutput.Raw[] | null;
+ tool_results?: ConversationHistoryTranscriptResponseModelToolResultsItem.Raw[] | null;
+ feedback?: UserFeedback.Raw | null;
+ llm_override?: string | null;
+ time_in_call_secs: number;
+ conversation_turn_metrics?: ConversationTurnMetrics.Raw | null;
+ rag_retrieval_info?: RagRetrievalInfo.Raw | null;
+ llm_usage?: LlmUsageOutput.Raw | null;
+ interrupted?: boolean | null;
+ original_message?: string | null;
+ source_medium?: ChatSourceMedium.Raw | null;
+ file_input?: ConversationHistoryTranscriptFileInputResponseModel.Raw | null;
+ }
+}
diff --git a/src/serialization/types/ConversationHistoryTranscriptResponseModelRole.ts b/src/serialization/types/ConversationHistoryTranscriptResponseModelRole.ts
new file mode 100644
index 00000000..97fb4983
--- /dev/null
+++ b/src/serialization/types/ConversationHistoryTranscriptResponseModelRole.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ConversationHistoryTranscriptResponseModelRole: core.serialization.Schema<
+ serializers.ConversationHistoryTranscriptResponseModelRole.Raw,
+ ElevenLabs.ConversationHistoryTranscriptResponseModelRole
+> = core.serialization.enum_(["user", "agent"]);
+
+export declare namespace ConversationHistoryTranscriptResponseModelRole {
+ export type Raw = "user" | "agent";
+}
diff --git a/src/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.ts b/src/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.ts
new file mode 100644
index 00000000..5f0b95f0
--- /dev/null
+++ b/src/serialization/types/ConversationHistoryTranscriptResponseModelToolResultsItem.ts
@@ -0,0 +1,26 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import * as serializers from "../index";
+import { ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel } from "./ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel";
+import { ConversationHistoryTranscriptOtherToolsResultCommonModel } from "./ConversationHistoryTranscriptOtherToolsResultCommonModel";
+import { ConversationHistoryTranscriptSystemToolResultCommonModelOutput } from "./ConversationHistoryTranscriptSystemToolResultCommonModelOutput";
+
+export const ConversationHistoryTranscriptResponseModelToolResultsItem: core.serialization.Schema<
+ serializers.ConversationHistoryTranscriptResponseModelToolResultsItem.Raw,
+ ElevenLabs.ConversationHistoryTranscriptResponseModelToolResultsItem
+> = core.serialization.undiscriminatedUnion([
+ ConversationHistoryTranscriptOtherToolsResultCommonModel,
+ ConversationHistoryTranscriptSystemToolResultCommonModelOutput,
+ ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel,
+ core.serialization.lazyObject(() => serializers.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput),
+]);
+
+export declare namespace ConversationHistoryTranscriptResponseModelToolResultsItem {
+ export type Raw =
+ | ConversationHistoryTranscriptOtherToolsResultCommonModel.Raw
+ | ConversationHistoryTranscriptSystemToolResultCommonModelOutput.Raw
+ | ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel.Raw
+ | serializers.ConversationHistoryTranscriptWorkflowToolsResultCommonModelOutput.Raw;
+}
diff --git a/src/serialization/types/ConversationUserResponseModel.ts b/src/serialization/types/ConversationUserResponseModel.ts
index c374bc51..e460a985 100644
--- a/src/serialization/types/ConversationUserResponseModel.ts
+++ b/src/serialization/types/ConversationUserResponseModel.ts
@@ -12,8 +12,15 @@ export const ConversationUserResponseModel: core.serialization.ObjectSchema<
lastContactUnixSecs: core.serialization.property("last_contact_unix_secs", core.serialization.number()),
firstContactUnixSecs: core.serialization.property("first_contact_unix_secs", core.serialization.number()),
conversationCount: core.serialization.property("conversation_count", core.serialization.number()),
- lastAgentId: core.serialization.property("last_agent_id", core.serialization.string().optional()),
- lastAgentName: core.serialization.property("last_agent_name", core.serialization.string().optional()),
+ lastContactAgentId: core.serialization.property("last_contact_agent_id", core.serialization.string().optional()),
+ lastContactConversationId: core.serialization.property(
+ "last_contact_conversation_id",
+ core.serialization.string().optional(),
+ ),
+ lastContactAgentName: core.serialization.property(
+ "last_contact_agent_name",
+ core.serialization.string().optional(),
+ ),
});
export declare namespace ConversationUserResponseModel {
@@ -22,7 +29,8 @@ export declare namespace ConversationUserResponseModel {
last_contact_unix_secs: number;
first_contact_unix_secs: number;
conversation_count: number;
- last_agent_id?: string | null;
- last_agent_name?: string | null;
+ last_contact_agent_id?: string | null;
+ last_contact_conversation_id?: string | null;
+ last_contact_agent_name?: string | null;
}
}
diff --git a/src/serialization/types/CreateClientParams.ts b/src/serialization/types/CreateClientParams.ts
new file mode 100644
index 00000000..d23d2c4c
--- /dev/null
+++ b/src/serialization/types/CreateClientParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const CreateClientParams: core.serialization.ObjectSchema<
+ serializers.CreateClientParams.Raw,
+ ElevenLabs.CreateClientParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("create_client").optional(),
+ ),
+});
+
+export declare namespace CreateClientParams {
+ export interface Raw {
+ smb_tool_type?: "create_client" | null;
+ }
+}
diff --git a/src/serialization/types/CreatePreviouslyGeneratedVoiceRequest.ts b/src/serialization/types/CreatePreviouslyGeneratedVoiceRequest.ts
index 8c5ea371..231f08e9 100644
--- a/src/serialization/types/CreatePreviouslyGeneratedVoiceRequest.ts
+++ b/src/serialization/types/CreatePreviouslyGeneratedVoiceRequest.ts
@@ -4,26 +4,11 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
-export const CreatePreviouslyGeneratedVoiceRequest: core.serialization.ObjectSchema<
+export const CreatePreviouslyGeneratedVoiceRequest: core.serialization.Schema<
serializers.CreatePreviouslyGeneratedVoiceRequest.Raw,
ElevenLabs.CreatePreviouslyGeneratedVoiceRequest
-> = core.serialization.object({
- voiceName: core.serialization.property("voice_name", core.serialization.string()),
- voiceDescription: core.serialization.property("voice_description", core.serialization.string()),
- generatedVoiceId: core.serialization.property("generated_voice_id", core.serialization.string()),
- playedNotSelectedVoiceIds: core.serialization.property(
- "played_not_selected_voice_ids",
- core.serialization.list(core.serialization.string()).optional(),
- ),
- labels: core.serialization.record(core.serialization.string(), core.serialization.string().optional()).optional(),
-});
+> = core.serialization.unknown();
export declare namespace CreatePreviouslyGeneratedVoiceRequest {
- export interface Raw {
- voice_name: string;
- voice_description: string;
- generated_voice_id: string;
- played_not_selected_voice_ids?: string[] | null;
- labels?: Record | null;
- }
+ export type Raw = unknown;
}
diff --git a/src/serialization/types/CreateProductParams.ts b/src/serialization/types/CreateProductParams.ts
new file mode 100644
index 00000000..07b40c1e
--- /dev/null
+++ b/src/serialization/types/CreateProductParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const CreateProductParams: core.serialization.ObjectSchema<
+ serializers.CreateProductParams.Raw,
+ ElevenLabs.CreateProductParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("create_product").optional(),
+ ),
+});
+
+export declare namespace CreateProductParams {
+ export interface Raw {
+ smb_tool_type?: "create_product" | null;
+ }
+}
diff --git a/src/serialization/types/CreateResponseUnitTestRequest.ts b/src/serialization/types/CreateResponseUnitTestRequest.ts
index ad2672b4..a3e2151e 100644
--- a/src/serialization/types/CreateResponseUnitTestRequest.ts
+++ b/src/serialization/types/CreateResponseUnitTestRequest.ts
@@ -37,6 +37,7 @@ export const CreateResponseUnitTestRequest: core.serialization.ObjectSchema<
core.serialization.list(AgentFailureResponseExample).optional(),
),
name: core.serialization.string(),
+ parentFolderId: core.serialization.property("parent_folder_id", core.serialization.string().optional()),
});
export declare namespace CreateResponseUnitTestRequest {
@@ -51,5 +52,6 @@ export declare namespace CreateResponseUnitTestRequest {
success_examples?: AgentSuccessfulResponseExample.Raw[] | null;
failure_examples?: AgentFailureResponseExample.Raw[] | null;
name: string;
+ parent_folder_id?: string | null;
}
}
diff --git a/src/serialization/types/CreateServiceParams.ts b/src/serialization/types/CreateServiceParams.ts
new file mode 100644
index 00000000..dc929f54
--- /dev/null
+++ b/src/serialization/types/CreateServiceParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const CreateServiceParams: core.serialization.ObjectSchema<
+ serializers.CreateServiceParams.Raw,
+ ElevenLabs.CreateServiceParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("create_service").optional(),
+ ),
+});
+
+export declare namespace CreateServiceParams {
+ export interface Raw {
+ smb_tool_type?: "create_service" | null;
+ }
+}
diff --git a/src/serialization/types/CreateSimulationTestRequest.ts b/src/serialization/types/CreateSimulationTestRequest.ts
index d781402c..80795a0e 100644
--- a/src/serialization/types/CreateSimulationTestRequest.ts
+++ b/src/serialization/types/CreateSimulationTestRequest.ts
@@ -29,6 +29,7 @@ export const CreateSimulationTestRequest: core.serialization.ObjectSchema<
simulationScenario: core.serialization.property("simulation_scenario", core.serialization.string().optional()),
simulationMaxTurns: core.serialization.property("simulation_max_turns", core.serialization.number().optional()),
name: core.serialization.string(),
+ parentFolderId: core.serialization.property("parent_folder_id", core.serialization.string().optional()),
});
export declare namespace CreateSimulationTestRequest {
@@ -43,5 +44,6 @@ export declare namespace CreateSimulationTestRequest {
simulation_scenario?: string | null;
simulation_max_turns?: number | null;
name: string;
+ parent_folder_id?: string | null;
}
}
diff --git a/src/serialization/types/CreateStaffParams.ts b/src/serialization/types/CreateStaffParams.ts
new file mode 100644
index 00000000..30fffb87
--- /dev/null
+++ b/src/serialization/types/CreateStaffParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const CreateStaffParams: core.serialization.ObjectSchema<
+ serializers.CreateStaffParams.Raw,
+ ElevenLabs.CreateStaffParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("create_staff").optional(),
+ ),
+});
+
+export declare namespace CreateStaffParams {
+ export interface Raw {
+ smb_tool_type?: "create_staff" | null;
+ }
+}
diff --git a/src/serialization/types/CreateToolCallUnitTestRequest.ts b/src/serialization/types/CreateToolCallUnitTestRequest.ts
index ab363569..0a34e7bb 100644
--- a/src/serialization/types/CreateToolCallUnitTestRequest.ts
+++ b/src/serialization/types/CreateToolCallUnitTestRequest.ts
@@ -32,6 +32,7 @@ export const CreateToolCallUnitTestRequest: core.serialization.ObjectSchema<
),
checkAnyToolMatches: core.serialization.property("check_any_tool_matches", core.serialization.boolean().optional()),
name: core.serialization.string(),
+ parentFolderId: core.serialization.property("parent_folder_id", core.serialization.string().optional()),
});
export declare namespace CreateToolCallUnitTestRequest {
@@ -45,5 +46,6 @@ export declare namespace CreateToolCallUnitTestRequest {
tool_call_parameters?: UnitTestToolCallEvaluationModelInput.Raw | null;
check_any_tool_matches?: boolean | null;
name: string;
+ parent_folder_id?: string | null;
}
}
diff --git a/src/serialization/types/DeleteClientParams.ts b/src/serialization/types/DeleteClientParams.ts
new file mode 100644
index 00000000..4e8ca86f
--- /dev/null
+++ b/src/serialization/types/DeleteClientParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const DeleteClientParams: core.serialization.ObjectSchema<
+ serializers.DeleteClientParams.Raw,
+ ElevenLabs.DeleteClientParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("delete_client").optional(),
+ ),
+});
+
+export declare namespace DeleteClientParams {
+ export interface Raw {
+ smb_tool_type?: "delete_client" | null;
+ }
+}
diff --git a/src/serialization/types/DeleteProductParams.ts b/src/serialization/types/DeleteProductParams.ts
new file mode 100644
index 00000000..6f32b775
--- /dev/null
+++ b/src/serialization/types/DeleteProductParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const DeleteProductParams: core.serialization.ObjectSchema<
+ serializers.DeleteProductParams.Raw,
+ ElevenLabs.DeleteProductParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("delete_product").optional(),
+ ),
+});
+
+export declare namespace DeleteProductParams {
+ export interface Raw {
+ smb_tool_type?: "delete_product" | null;
+ }
+}
diff --git a/src/serialization/types/DeleteServiceParams.ts b/src/serialization/types/DeleteServiceParams.ts
new file mode 100644
index 00000000..7aeddb66
--- /dev/null
+++ b/src/serialization/types/DeleteServiceParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const DeleteServiceParams: core.serialization.ObjectSchema<
+ serializers.DeleteServiceParams.Raw,
+ ElevenLabs.DeleteServiceParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("delete_service").optional(),
+ ),
+});
+
+export declare namespace DeleteServiceParams {
+ export interface Raw {
+ smb_tool_type?: "delete_service" | null;
+ }
+}
diff --git a/src/serialization/types/DeleteStaffParams.ts b/src/serialization/types/DeleteStaffParams.ts
new file mode 100644
index 00000000..dc279b31
--- /dev/null
+++ b/src/serialization/types/DeleteStaffParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const DeleteStaffParams: core.serialization.ObjectSchema<
+ serializers.DeleteStaffParams.Raw,
+ ElevenLabs.DeleteStaffParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("delete_staff").optional(),
+ ),
+});
+
+export declare namespace DeleteStaffParams {
+ export interface Raw {
+ smb_tool_type?: "delete_staff" | null;
+ }
+}
diff --git a/src/serialization/types/DependentBranchInfo.ts b/src/serialization/types/DependentBranchInfo.ts
new file mode 100644
index 00000000..f2f58133
--- /dev/null
+++ b/src/serialization/types/DependentBranchInfo.ts
@@ -0,0 +1,26 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const DependentBranchInfo: core.serialization.ObjectSchema<
+ serializers.DependentBranchInfo.Raw,
+ ElevenLabs.DependentBranchInfo
+> = core.serialization.object({
+ agentId: core.serialization.property("agent_id", core.serialization.string()),
+ agentName: core.serialization.property("agent_name", core.serialization.string()),
+ branchId: core.serialization.property("branch_id", core.serialization.string()),
+ branchName: core.serialization.property("branch_name", core.serialization.string()),
+ isMain: core.serialization.property("is_main", core.serialization.boolean()),
+});
+
+export declare namespace DependentBranchInfo {
+ export interface Raw {
+ agent_id: string;
+ agent_name: string;
+ branch_id: string;
+ branch_name: string;
+ is_main: boolean;
+ }
+}
diff --git a/src/serialization/types/DynamicVariableSchemaOverride.ts b/src/serialization/types/DynamicVariableSchemaOverride.ts
new file mode 100644
index 00000000..f7671f11
--- /dev/null
+++ b/src/serialization/types/DynamicVariableSchemaOverride.ts
@@ -0,0 +1,18 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const DynamicVariableSchemaOverride: core.serialization.ObjectSchema<
+ serializers.DynamicVariableSchemaOverride.Raw,
+ ElevenLabs.DynamicVariableSchemaOverride
+> = core.serialization.object({
+ dynamicVariable: core.serialization.property("dynamic_variable", core.serialization.string()),
+});
+
+export declare namespace DynamicVariableSchemaOverride {
+ export interface Raw {
+ dynamic_variable: string;
+ }
+}
diff --git a/src/serialization/types/EmbeddingModelEnum.ts b/src/serialization/types/EmbeddingModelEnum.ts
index de93f925..a398eee7 100644
--- a/src/serialization/types/EmbeddingModelEnum.ts
+++ b/src/serialization/types/EmbeddingModelEnum.ts
@@ -7,8 +7,8 @@ import type * as serializers from "../index";
export const EmbeddingModelEnum: core.serialization.Schema<
serializers.EmbeddingModelEnum.Raw,
ElevenLabs.EmbeddingModelEnum
-> = core.serialization.enum_(["e5_mistral_7b_instruct", "multilingual_e5_large_instruct"]);
+> = core.serialization.enum_(["e5_mistral_7b_instruct", "multilingual_e5_large_instruct", "qwen3_embedding_4b"]);
export declare namespace EmbeddingModelEnum {
- export type Raw = "e5_mistral_7b_instruct" | "multilingual_e5_large_instruct";
+ export type Raw = "e5_mistral_7b_instruct" | "multilingual_e5_large_instruct" | "qwen3_embedding_4b";
}
diff --git a/src/serialization/types/AlignmentGuardrail.ts b/src/serialization/types/FocusGuardrail.ts
similarity index 68%
rename from src/serialization/types/AlignmentGuardrail.ts
rename to src/serialization/types/FocusGuardrail.ts
index d3218a62..69f9ab24 100644
--- a/src/serialization/types/AlignmentGuardrail.ts
+++ b/src/serialization/types/FocusGuardrail.ts
@@ -4,14 +4,14 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
-export const AlignmentGuardrail: core.serialization.ObjectSchema<
- serializers.AlignmentGuardrail.Raw,
- ElevenLabs.AlignmentGuardrail
+export const FocusGuardrail: core.serialization.ObjectSchema<
+ serializers.FocusGuardrail.Raw,
+ ElevenLabs.FocusGuardrail
> = core.serialization.object({
isEnabled: core.serialization.property("is_enabled", core.serialization.boolean().optional()),
});
-export declare namespace AlignmentGuardrail {
+export declare namespace FocusGuardrail {
export interface Raw {
is_enabled?: boolean | null;
}
diff --git a/src/serialization/types/GenerateVoiceRequest.ts b/src/serialization/types/GenerateVoiceRequest.ts
index 0e0bda94..24549636 100644
--- a/src/serialization/types/GenerateVoiceRequest.ts
+++ b/src/serialization/types/GenerateVoiceRequest.ts
@@ -3,26 +3,12 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
-import { BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge } from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge";
-import { BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender } from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender";
-export const GenerateVoiceRequest: core.serialization.ObjectSchema<
+export const GenerateVoiceRequest: core.serialization.Schema<
serializers.GenerateVoiceRequest.Raw,
ElevenLabs.GenerateVoiceRequest
-> = core.serialization.object({
- gender: BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender,
- accent: core.serialization.string(),
- age: BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge,
- accentStrength: core.serialization.property("accent_strength", core.serialization.number()),
- text: core.serialization.string(),
-});
+> = core.serialization.unknown();
export declare namespace GenerateVoiceRequest {
- export interface Raw {
- gender: BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender.Raw;
- accent: string;
- age: BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge.Raw;
- accent_strength: number;
- text: string;
- }
+ export type Raw = unknown;
}
diff --git a/src/serialization/types/GenerationSourceContext.ts b/src/serialization/types/GenerationSourceContext.ts
new file mode 100644
index 00000000..dff9d382
--- /dev/null
+++ b/src/serialization/types/GenerationSourceContext.ts
@@ -0,0 +1,40 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ReferenceVideo } from "./ReferenceVideo";
+
+export const GenerationSourceContext: core.serialization.ObjectSchema<
+ serializers.GenerationSourceContext.Raw,
+ ElevenLabs.GenerationSourceContext
+> = core.serialization.object({
+ sourceType: core.serialization.property("source_type", core.serialization.stringLiteral("generation").optional()),
+ generationId: core.serialization.property("generation_id", core.serialization.string()),
+ prompt: core.serialization.string().optional(),
+ modelId: core.serialization.property("model_id", core.serialization.string()),
+ modelProvider: core.serialization.property("model_provider", core.serialization.string().optional()),
+ generationSessionId: core.serialization.property("generation_session_id", core.serialization.string().optional()),
+ sessionIterationId: core.serialization.property("session_iteration_id", core.serialization.string().optional()),
+ alteredPrompt: core.serialization.property("altered_prompt", core.serialization.string().optional()),
+ modelParameters: core.serialization.property(
+ "model_parameters",
+ core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
+ ),
+ extendVideo: core.serialization.property("extend_video", ReferenceVideo.optional()),
+});
+
+export declare namespace GenerationSourceContext {
+ export interface Raw {
+ source_type?: "generation" | null;
+ generation_id: string;
+ prompt?: string | null;
+ model_id: string;
+ model_provider?: string | null;
+ generation_session_id?: string | null;
+ session_iteration_id?: string | null;
+ altered_prompt?: string | null;
+ model_parameters?: Record | null;
+ extend_video?: ReferenceVideo.Raw | null;
+ }
+}
diff --git a/src/serialization/types/GetAgentResponseModel.ts b/src/serialization/types/GetAgentResponseModel.ts
index 2bf25fbf..89239905 100644
--- a/src/serialization/types/GetAgentResponseModel.ts
+++ b/src/serialization/types/GetAgentResponseModel.ts
@@ -7,6 +7,7 @@ import { AgentMetadataResponseModel } from "./AgentMetadataResponseModel";
import { AgentPlatformSettingsResponseModel } from "./AgentPlatformSettingsResponseModel";
import { AgentWorkflowResponseModel } from "./AgentWorkflowResponseModel";
import { ConversationalConfig } from "./ConversationalConfig";
+import { GetAgentResponseModelCoachingSettings } from "./GetAgentResponseModelCoachingSettings";
import { GetAgentResponseModelPhoneNumbersItem } from "./GetAgentResponseModelPhoneNumbersItem";
import { GetWhatsAppAccountResponse } from "./GetWhatsAppAccountResponse";
import { ResourceAccessInfo } from "./ResourceAccessInfo";
@@ -34,6 +35,10 @@ export const GetAgentResponseModel: core.serialization.ObjectSchema<
versionId: core.serialization.property("version_id", core.serialization.string().optional()),
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
mainBranchId: core.serialization.property("main_branch_id", core.serialization.string().optional()),
+ coachingSettings: core.serialization.property(
+ "coaching_settings",
+ GetAgentResponseModelCoachingSettings.optional(),
+ ),
});
export declare namespace GetAgentResponseModel {
@@ -51,5 +56,6 @@ export declare namespace GetAgentResponseModel {
version_id?: string | null;
branch_id?: string | null;
main_branch_id?: string | null;
+ coaching_settings?: GetAgentResponseModelCoachingSettings.Raw | null;
}
}
diff --git a/src/serialization/types/GetAgentResponseModelCoachingSettings.ts b/src/serialization/types/GetAgentResponseModelCoachingSettings.ts
new file mode 100644
index 00000000..facabcd1
--- /dev/null
+++ b/src/serialization/types/GetAgentResponseModelCoachingSettings.ts
@@ -0,0 +1,41 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { CoachedAgentSettings } from "./CoachedAgentSettings";
+import { CoachingAgentSettings } from "./CoachingAgentSettings";
+import { NoCoachingSettings } from "./NoCoachingSettings";
+
+export const GetAgentResponseModelCoachingSettings: core.serialization.Schema<
+ serializers.GetAgentResponseModelCoachingSettings.Raw,
+ ElevenLabs.GetAgentResponseModelCoachingSettings
+> = core.serialization
+ .union("type", {
+ coached: CoachedAgentSettings,
+ coaching: CoachingAgentSettings,
+ none: NoCoachingSettings,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace GetAgentResponseModelCoachingSettings {
+ export type Raw =
+ | GetAgentResponseModelCoachingSettings.Coached
+ | GetAgentResponseModelCoachingSettings.Coaching
+ | GetAgentResponseModelCoachingSettings.None;
+
+ export interface Coached extends CoachedAgentSettings.Raw {
+ type: "coached";
+ }
+
+ export interface Coaching extends CoachingAgentSettings.Raw {
+ type: "coaching";
+ }
+
+ export interface None extends NoCoachingSettings.Raw {
+ type: "none";
+ }
+}
diff --git a/src/serialization/types/GetClientByPhoneParams.ts b/src/serialization/types/GetClientByPhoneParams.ts
new file mode 100644
index 00000000..1d4f470d
--- /dev/null
+++ b/src/serialization/types/GetClientByPhoneParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const GetClientByPhoneParams: core.serialization.ObjectSchema<
+ serializers.GetClientByPhoneParams.Raw,
+ ElevenLabs.GetClientByPhoneParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("get_client_by_phone").optional(),
+ ),
+});
+
+export declare namespace GetClientByPhoneParams {
+ export interface Raw {
+ smb_tool_type?: "get_client_by_phone" | null;
+ }
+}
diff --git a/src/serialization/types/GetConversationResponseModel.ts b/src/serialization/types/GetConversationResponseModel.ts
index 81d52657..95af60b8 100644
--- a/src/serialization/types/GetConversationResponseModel.ts
+++ b/src/serialization/types/GetConversationResponseModel.ts
@@ -5,7 +5,7 @@ import * as core from "../../core";
import type * as serializers from "../index";
import { ConversationHistoryAnalysisCommonModel } from "./ConversationHistoryAnalysisCommonModel";
import { ConversationHistoryMetadataCommonModel } from "./ConversationHistoryMetadataCommonModel";
-import { ConversationHistoryTranscriptCommonModelOutput } from "./ConversationHistoryTranscriptCommonModelOutput";
+import { ConversationHistoryTranscriptResponseModel } from "./ConversationHistoryTranscriptResponseModel";
import { ConversationInitiationClientDataRequestOutput } from "./ConversationInitiationClientDataRequestOutput";
import { GetConversationResponseModelStatus } from "./GetConversationResponseModelStatus";
@@ -19,7 +19,6 @@ export const GetConversationResponseModel: core.serialization.ObjectSchema<
userId: core.serialization.property("user_id", core.serialization.string().optional()),
branchId: core.serialization.property("branch_id", core.serialization.string().optional()),
versionId: core.serialization.property("version_id", core.serialization.string().optional()),
- transcript: core.serialization.list(ConversationHistoryTranscriptCommonModelOutput),
metadata: ConversationHistoryMetadataCommonModel,
analysis: ConversationHistoryAnalysisCommonModel.optional(),
conversationInitiationClientData: core.serialization.property(
@@ -30,6 +29,7 @@ export const GetConversationResponseModel: core.serialization.ObjectSchema<
hasAudio: core.serialization.property("has_audio", core.serialization.boolean()),
hasUserAudio: core.serialization.property("has_user_audio", core.serialization.boolean()),
hasResponseAudio: core.serialization.property("has_response_audio", core.serialization.boolean()),
+ transcript: core.serialization.list(ConversationHistoryTranscriptResponseModel),
});
export declare namespace GetConversationResponseModel {
@@ -40,7 +40,6 @@ export declare namespace GetConversationResponseModel {
user_id?: string | null;
branch_id?: string | null;
version_id?: string | null;
- transcript: ConversationHistoryTranscriptCommonModelOutput.Raw[];
metadata: ConversationHistoryMetadataCommonModel.Raw;
analysis?: ConversationHistoryAnalysisCommonModel.Raw | null;
conversation_initiation_client_data?: ConversationInitiationClientDataRequestOutput.Raw | null;
@@ -48,5 +47,6 @@ export declare namespace GetConversationResponseModel {
has_audio: boolean;
has_user_audio: boolean;
has_response_audio: boolean;
+ transcript: ConversationHistoryTranscriptResponseModel.Raw[];
}
}
diff --git a/src/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.ts b/src/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.ts
index 808dba35..6cb9ae4b 100644
--- a/src/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.ts
+++ b/src/serialization/types/GetKnowledgeBaseDependentAgentsResponseModel.ts
@@ -3,6 +3,7 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
+import { DependentBranchInfo } from "./DependentBranchInfo";
import { GetKnowledgeBaseDependentAgentsResponseModelAgentsItem } from "./GetKnowledgeBaseDependentAgentsResponseModelAgentsItem";
export const GetKnowledgeBaseDependentAgentsResponseModel: core.serialization.ObjectSchema<
@@ -10,6 +11,7 @@ export const GetKnowledgeBaseDependentAgentsResponseModel: core.serialization.Ob
ElevenLabs.GetKnowledgeBaseDependentAgentsResponseModel
> = core.serialization.object({
agents: core.serialization.list(GetKnowledgeBaseDependentAgentsResponseModelAgentsItem),
+ branches: core.serialization.list(DependentBranchInfo).optional(),
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
hasMore: core.serialization.property("has_more", core.serialization.boolean()),
});
@@ -17,6 +19,7 @@ export const GetKnowledgeBaseDependentAgentsResponseModel: core.serialization.Ob
export declare namespace GetKnowledgeBaseDependentAgentsResponseModel {
export interface Raw {
agents: GetKnowledgeBaseDependentAgentsResponseModelAgentsItem.Raw[];
+ branches?: DependentBranchInfo.Raw[] | null;
next_cursor?: string | null;
has_more: boolean;
}
diff --git a/src/serialization/types/GetToolDependentAgentsResponseModel.ts b/src/serialization/types/GetToolDependentAgentsResponseModel.ts
index ec5a0dbe..b7d1c9a4 100644
--- a/src/serialization/types/GetToolDependentAgentsResponseModel.ts
+++ b/src/serialization/types/GetToolDependentAgentsResponseModel.ts
@@ -3,6 +3,7 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
+import { DependentBranchInfo } from "./DependentBranchInfo";
import { GetToolDependentAgentsResponseModelAgentsItem } from "./GetToolDependentAgentsResponseModelAgentsItem";
export const GetToolDependentAgentsResponseModel: core.serialization.ObjectSchema<
@@ -10,6 +11,7 @@ export const GetToolDependentAgentsResponseModel: core.serialization.ObjectSchem
ElevenLabs.GetToolDependentAgentsResponseModel
> = core.serialization.object({
agents: core.serialization.list(GetToolDependentAgentsResponseModelAgentsItem),
+ branches: core.serialization.list(DependentBranchInfo).optional(),
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
hasMore: core.serialization.property("has_more", core.serialization.boolean()),
});
@@ -17,6 +19,7 @@ export const GetToolDependentAgentsResponseModel: core.serialization.ObjectSchem
export declare namespace GetToolDependentAgentsResponseModel {
export interface Raw {
agents: GetToolDependentAgentsResponseModelAgentsItem.Raw[];
+ branches?: DependentBranchInfo.Raw[] | null;
next_cursor?: string | null;
has_more: boolean;
}
diff --git a/src/serialization/types/GuardrailsV1Input.ts b/src/serialization/types/GuardrailsV1Input.ts
index ca00baf7..f3e3b887 100644
--- a/src/serialization/types/GuardrailsV1Input.ts
+++ b/src/serialization/types/GuardrailsV1Input.ts
@@ -3,17 +3,19 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
-import { AlignmentGuardrail } from "./AlignmentGuardrail";
import { ContentGuardrailInput } from "./ContentGuardrailInput";
import { CustomGuardrailInput } from "./CustomGuardrailInput";
+import { FocusGuardrail } from "./FocusGuardrail";
import { ModerationGuardrailInput } from "./ModerationGuardrailInput";
+import { PromptInjectionGuardrail } from "./PromptInjectionGuardrail";
export const GuardrailsV1Input: core.serialization.ObjectSchema<
serializers.GuardrailsV1Input.Raw,
ElevenLabs.GuardrailsV1Input
> = core.serialization.object({
version: core.serialization.stringLiteral("1").optional(),
- alignment: AlignmentGuardrail.optional(),
+ focus: FocusGuardrail.optional(),
+ promptInjection: core.serialization.property("prompt_injection", PromptInjectionGuardrail.optional()),
content: ContentGuardrailInput.optional(),
moderation: ModerationGuardrailInput.optional(),
custom: CustomGuardrailInput.optional(),
@@ -22,7 +24,8 @@ export const GuardrailsV1Input: core.serialization.ObjectSchema<
export declare namespace GuardrailsV1Input {
export interface Raw {
version?: "1" | null;
- alignment?: AlignmentGuardrail.Raw | null;
+ focus?: FocusGuardrail.Raw | null;
+ prompt_injection?: PromptInjectionGuardrail.Raw | null;
content?: ContentGuardrailInput.Raw | null;
moderation?: ModerationGuardrailInput.Raw | null;
custom?: CustomGuardrailInput.Raw | null;
diff --git a/src/serialization/types/GuardrailsV1Output.ts b/src/serialization/types/GuardrailsV1Output.ts
index 28192617..c94a79fd 100644
--- a/src/serialization/types/GuardrailsV1Output.ts
+++ b/src/serialization/types/GuardrailsV1Output.ts
@@ -3,17 +3,19 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
-import { AlignmentGuardrail } from "./AlignmentGuardrail";
import { ContentGuardrailOutput } from "./ContentGuardrailOutput";
import { CustomGuardrailOutput } from "./CustomGuardrailOutput";
+import { FocusGuardrail } from "./FocusGuardrail";
import { ModerationGuardrailOutput } from "./ModerationGuardrailOutput";
+import { PromptInjectionGuardrail } from "./PromptInjectionGuardrail";
export const GuardrailsV1Output: core.serialization.ObjectSchema<
serializers.GuardrailsV1Output.Raw,
ElevenLabs.GuardrailsV1Output
> = core.serialization.object({
version: core.serialization.stringLiteral("1").optional(),
- alignment: AlignmentGuardrail.optional(),
+ focus: FocusGuardrail.optional(),
+ promptInjection: core.serialization.property("prompt_injection", PromptInjectionGuardrail.optional()),
content: ContentGuardrailOutput.optional(),
moderation: ModerationGuardrailOutput.optional(),
custom: CustomGuardrailOutput.optional(),
@@ -22,7 +24,8 @@ export const GuardrailsV1Output: core.serialization.ObjectSchema<
export declare namespace GuardrailsV1Output {
export interface Raw {
version?: "1" | null;
- alignment?: AlignmentGuardrail.Raw | null;
+ focus?: FocusGuardrail.Raw | null;
+ prompt_injection?: PromptInjectionGuardrail.Raw | null;
content?: ContentGuardrailOutput.Raw | null;
moderation?: ModerationGuardrailOutput.Raw | null;
custom?: CustomGuardrailOutput.Raw | null;
diff --git a/src/serialization/types/LibraryVoiceResponse.ts b/src/serialization/types/LibraryVoiceResponse.ts
index 77702bde..6547e99c 100644
--- a/src/serialization/types/LibraryVoiceResponse.ts
+++ b/src/serialization/types/LibraryVoiceResponse.ts
@@ -47,6 +47,7 @@ export const LibraryVoiceResponse: core.serialization.ObjectSchema<
tiktokUsername: core.serialization.property("tiktok_username", core.serialization.string().optional()),
imageUrl: core.serialization.property("image_url", core.serialization.string().optional()),
isAddedByUser: core.serialization.property("is_added_by_user", core.serialization.boolean().optional()),
+ isBookmarked: core.serialization.property("is_bookmarked", core.serialization.boolean().optional()),
});
export declare namespace LibraryVoiceResponse {
@@ -82,5 +83,6 @@ export declare namespace LibraryVoiceResponse {
tiktok_username?: string | null;
image_url?: string | null;
is_added_by_user?: boolean | null;
+ is_bookmarked?: boolean | null;
}
}
diff --git a/src/serialization/types/ListAssetsParams.ts b/src/serialization/types/ListAssetsParams.ts
new file mode 100644
index 00000000..c66b9e37
--- /dev/null
+++ b/src/serialization/types/ListAssetsParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ListAssetsParams: core.serialization.ObjectSchema<
+ serializers.ListAssetsParams.Raw,
+ ElevenLabs.ListAssetsParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("list_assets").optional(),
+ ),
+});
+
+export declare namespace ListAssetsParams {
+ export interface Raw {
+ smb_tool_type?: "list_assets" | null;
+ }
+}
diff --git a/src/serialization/types/ListClientsParams.ts b/src/serialization/types/ListClientsParams.ts
new file mode 100644
index 00000000..e889cbeb
--- /dev/null
+++ b/src/serialization/types/ListClientsParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ListClientsParams: core.serialization.ObjectSchema<
+ serializers.ListClientsParams.Raw,
+ ElevenLabs.ListClientsParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("list_clients").optional(),
+ ),
+});
+
+export declare namespace ListClientsParams {
+ export interface Raw {
+ smb_tool_type?: "list_clients" | null;
+ }
+}
diff --git a/src/serialization/types/ListProductsParams.ts b/src/serialization/types/ListProductsParams.ts
new file mode 100644
index 00000000..0d517c35
--- /dev/null
+++ b/src/serialization/types/ListProductsParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ListProductsParams: core.serialization.ObjectSchema<
+ serializers.ListProductsParams.Raw,
+ ElevenLabs.ListProductsParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("list_products").optional(),
+ ),
+});
+
+export declare namespace ListProductsParams {
+ export interface Raw {
+ smb_tool_type?: "list_products" | null;
+ }
+}
diff --git a/src/serialization/types/ListServicesParams.ts b/src/serialization/types/ListServicesParams.ts
new file mode 100644
index 00000000..eda39a6b
--- /dev/null
+++ b/src/serialization/types/ListServicesParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ListServicesParams: core.serialization.ObjectSchema<
+ serializers.ListServicesParams.Raw,
+ ElevenLabs.ListServicesParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("list_services").optional(),
+ ),
+});
+
+export declare namespace ListServicesParams {
+ export interface Raw {
+ smb_tool_type?: "list_services" | null;
+ }
+}
diff --git a/src/serialization/types/ListStaffParams.ts b/src/serialization/types/ListStaffParams.ts
new file mode 100644
index 00000000..f9b7f435
--- /dev/null
+++ b/src/serialization/types/ListStaffParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const ListStaffParams: core.serialization.ObjectSchema<
+ serializers.ListStaffParams.Raw,
+ ElevenLabs.ListStaffParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("list_staff").optional(),
+ ),
+});
+
+export declare namespace ListStaffParams {
+ export interface Raw {
+ smb_tool_type?: "list_staff" | null;
+ }
+}
diff --git a/src/serialization/types/LlmDeprecationConfigModel.ts b/src/serialization/types/LlmDeprecationConfigModel.ts
new file mode 100644
index 00000000..a607beed
--- /dev/null
+++ b/src/serialization/types/LlmDeprecationConfigModel.ts
@@ -0,0 +1,29 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const LlmDeprecationConfigModel: core.serialization.ObjectSchema<
+ serializers.LlmDeprecationConfigModel.Raw,
+ ElevenLabs.LlmDeprecationConfigModel
+> = core.serialization.object({
+ warningStartDays: core.serialization.property("warning_start_days", core.serialization.number()),
+ fallbackStartDays: core.serialization.property("fallback_start_days", core.serialization.number()),
+ fallbackCompleteDays: core.serialization.property("fallback_complete_days", core.serialization.number()),
+ fallbackStartPercentage: core.serialization.property("fallback_start_percentage", core.serialization.number()),
+ fallbackCompletePercentage: core.serialization.property(
+ "fallback_complete_percentage",
+ core.serialization.number(),
+ ),
+});
+
+export declare namespace LlmDeprecationConfigModel {
+ export interface Raw {
+ warning_start_days: number;
+ fallback_start_days: number;
+ fallback_complete_days: number;
+ fallback_start_percentage: number;
+ fallback_complete_percentage: number;
+ }
+}
diff --git a/src/serialization/types/LlmDeprecationInfoModel.ts b/src/serialization/types/LlmDeprecationInfoModel.ts
new file mode 100644
index 00000000..928c4427
--- /dev/null
+++ b/src/serialization/types/LlmDeprecationInfoModel.ts
@@ -0,0 +1,37 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { Llm } from "./Llm";
+import { LlmDeprecationConfigModel } from "./LlmDeprecationConfigModel";
+
+export const LlmDeprecationInfoModel: core.serialization.ObjectSchema<
+ serializers.LlmDeprecationInfoModel.Raw,
+ ElevenLabs.LlmDeprecationInfoModel
+> = core.serialization.object({
+ llm: Llm,
+ isDeprecated: core.serialization.property("is_deprecated", core.serialization.boolean()),
+ isInWarningPeriod: core.serialization.property("is_in_warning_period", core.serialization.boolean().optional()),
+ isInFallbackPeriod: core.serialization.property("is_in_fallback_period", core.serialization.boolean().optional()),
+ fallbackPercentage: core.serialization.property("fallback_percentage", core.serialization.number().optional()),
+ providerDeprecationDate: core.serialization.property(
+ "provider_deprecation_date",
+ core.serialization.date().optional(),
+ ),
+ replacementModel: core.serialization.property("replacement_model", Llm.optional()),
+ deprecationConfig: core.serialization.property("deprecation_config", LlmDeprecationConfigModel.optional()),
+});
+
+export declare namespace LlmDeprecationInfoModel {
+ export interface Raw {
+ llm: Llm.Raw;
+ is_deprecated: boolean;
+ is_in_warning_period?: boolean | null;
+ is_in_fallback_period?: boolean | null;
+ fallback_percentage?: number | null;
+ provider_deprecation_date?: string | null;
+ replacement_model?: Llm.Raw | null;
+ deprecation_config?: LlmDeprecationConfigModel.Raw | null;
+ }
+}
diff --git a/src/serialization/types/LlmInfoModelInput.ts b/src/serialization/types/LlmInfoModelInput.ts
new file mode 100644
index 00000000..d670edce
--- /dev/null
+++ b/src/serialization/types/LlmInfoModelInput.ts
@@ -0,0 +1,43 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { Llm } from "./Llm";
+import { LlmDeprecationInfoModel } from "./LlmDeprecationInfoModel";
+import { LlmReasoningEffort } from "./LlmReasoningEffort";
+
+export const LlmInfoModelInput: core.serialization.ObjectSchema<
+ serializers.LlmInfoModelInput.Raw,
+ ElevenLabs.LlmInfoModelInput
+> = core.serialization.object({
+ llm: Llm,
+ isCheckpoint: core.serialization.property("is_checkpoint", core.serialization.boolean()),
+ maxTokensLimit: core.serialization.property("max_tokens_limit", core.serialization.number()),
+ maxContextLimit: core.serialization.property("max_context_limit", core.serialization.number()),
+ supportsImageInput: core.serialization.property("supports_image_input", core.serialization.boolean()),
+ supportsDocumentInput: core.serialization.property("supports_document_input", core.serialization.boolean()),
+ supportsParallelToolCalls: core.serialization.property(
+ "supports_parallel_tool_calls",
+ core.serialization.boolean(),
+ ),
+ availableReasoningEfforts: core.serialization.property(
+ "available_reasoning_efforts",
+ core.serialization.list(LlmReasoningEffort).optional(),
+ ),
+ deprecationInfo: core.serialization.property("deprecation_info", LlmDeprecationInfoModel.optional()),
+});
+
+export declare namespace LlmInfoModelInput {
+ export interface Raw {
+ llm: Llm.Raw;
+ is_checkpoint: boolean;
+ max_tokens_limit: number;
+ max_context_limit: number;
+ supports_image_input: boolean;
+ supports_document_input: boolean;
+ supports_parallel_tool_calls: boolean;
+ available_reasoning_efforts?: LlmReasoningEffort.Raw[] | null;
+ deprecation_info?: LlmDeprecationInfoModel.Raw | null;
+ }
+}
diff --git a/src/serialization/types/LlmInfoModelOutput.ts b/src/serialization/types/LlmInfoModelOutput.ts
new file mode 100644
index 00000000..fe80874d
--- /dev/null
+++ b/src/serialization/types/LlmInfoModelOutput.ts
@@ -0,0 +1,43 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { Llm } from "./Llm";
+import { LlmDeprecationInfoModel } from "./LlmDeprecationInfoModel";
+import { LlmReasoningEffort } from "./LlmReasoningEffort";
+
+export const LlmInfoModelOutput: core.serialization.ObjectSchema<
+ serializers.LlmInfoModelOutput.Raw,
+ ElevenLabs.LlmInfoModelOutput
+> = core.serialization.object({
+ llm: Llm,
+ isCheckpoint: core.serialization.property("is_checkpoint", core.serialization.boolean()),
+ maxTokensLimit: core.serialization.property("max_tokens_limit", core.serialization.number()),
+ maxContextLimit: core.serialization.property("max_context_limit", core.serialization.number()),
+ supportsImageInput: core.serialization.property("supports_image_input", core.serialization.boolean()),
+ supportsDocumentInput: core.serialization.property("supports_document_input", core.serialization.boolean()),
+ supportsParallelToolCalls: core.serialization.property(
+ "supports_parallel_tool_calls",
+ core.serialization.boolean(),
+ ),
+ availableReasoningEfforts: core.serialization.property(
+ "available_reasoning_efforts",
+ core.serialization.list(LlmReasoningEffort).optional(),
+ ),
+ deprecationInfo: core.serialization.property("deprecation_info", LlmDeprecationInfoModel.optional()),
+});
+
+export declare namespace LlmInfoModelOutput {
+ export interface Raw {
+ llm: Llm.Raw;
+ is_checkpoint: boolean;
+ max_tokens_limit: number;
+ max_context_limit: number;
+ supports_image_input: boolean;
+ supports_document_input: boolean;
+ supports_parallel_tool_calls: boolean;
+ available_reasoning_efforts?: LlmReasoningEffort.Raw[] | null;
+ deprecation_info?: LlmDeprecationInfoModel.Raw | null;
+ }
+}
diff --git a/src/serialization/types/LlmListResponseModelInput.ts b/src/serialization/types/LlmListResponseModelInput.ts
new file mode 100644
index 00000000..fa7d66bd
--- /dev/null
+++ b/src/serialization/types/LlmListResponseModelInput.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { LlmDeprecationConfigModel } from "./LlmDeprecationConfigModel";
+import { LlmInfoModelInput } from "./LlmInfoModelInput";
+
+export const LlmListResponseModelInput: core.serialization.ObjectSchema<
+ serializers.LlmListResponseModelInput.Raw,
+ ElevenLabs.LlmListResponseModelInput
+> = core.serialization.object({
+ llms: core.serialization.list(LlmInfoModelInput),
+ defaultDeprecationConfig: core.serialization.property("default_deprecation_config", LlmDeprecationConfigModel),
+});
+
+export declare namespace LlmListResponseModelInput {
+ export interface Raw {
+ llms: LlmInfoModelInput.Raw[];
+ default_deprecation_config: LlmDeprecationConfigModel.Raw;
+ }
+}
diff --git a/src/serialization/types/LlmListResponseModelOutput.ts b/src/serialization/types/LlmListResponseModelOutput.ts
new file mode 100644
index 00000000..c2462868
--- /dev/null
+++ b/src/serialization/types/LlmListResponseModelOutput.ts
@@ -0,0 +1,22 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { LlmDeprecationConfigModel } from "./LlmDeprecationConfigModel";
+import { LlmInfoModelOutput } from "./LlmInfoModelOutput";
+
+export const LlmListResponseModelOutput: core.serialization.ObjectSchema<
+ serializers.LlmListResponseModelOutput.Raw,
+ ElevenLabs.LlmListResponseModelOutput
+> = core.serialization.object({
+ llms: core.serialization.list(LlmInfoModelOutput),
+ defaultDeprecationConfig: core.serialization.property("default_deprecation_config", LlmDeprecationConfigModel),
+});
+
+export declare namespace LlmListResponseModelOutput {
+ export interface Raw {
+ llms: LlmInfoModelOutput.Raw[];
+ default_deprecation_config: LlmDeprecationConfigModel.Raw;
+ }
+}
diff --git a/src/serialization/types/LlmSchemaOverride.ts b/src/serialization/types/LlmSchemaOverride.ts
new file mode 100644
index 00000000..dc0550ab
--- /dev/null
+++ b/src/serialization/types/LlmSchemaOverride.ts
@@ -0,0 +1,18 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const LlmSchemaOverride: core.serialization.ObjectSchema<
+ serializers.LlmSchemaOverride.Raw,
+ ElevenLabs.LlmSchemaOverride
+> = core.serialization.object({
+ prompt: core.serialization.string().optional(),
+});
+
+export declare namespace LlmSchemaOverride {
+ export interface Raw {
+ prompt?: string | null;
+ }
+}
diff --git a/src/serialization/types/McpServerConfigInput.ts b/src/serialization/types/McpServerConfigInput.ts
index f9a96fb3..1b1492b5 100644
--- a/src/serialization/types/McpServerConfigInput.ts
+++ b/src/serialization/types/McpServerConfigInput.ts
@@ -3,6 +3,7 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
+import { AuthConnectionLocator } from "./AuthConnectionLocator";
import { McpApprovalPolicy } from "./McpApprovalPolicy";
import { McpServerConfigInputRequestHeadersValue } from "./McpServerConfigInputRequestHeadersValue";
import { McpServerConfigInputSecretToken } from "./McpServerConfigInputSecretToken";
@@ -30,6 +31,7 @@ export const McpServerConfigInput: core.serialization.ObjectSchema<
"request_headers",
core.serialization.record(core.serialization.string(), McpServerConfigInputRequestHeadersValue).optional(),
),
+ authConnection: core.serialization.property("auth_connection", AuthConnectionLocator.optional()),
name: core.serialization.string(),
description: core.serialization.string().optional(),
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
@@ -52,6 +54,7 @@ export declare namespace McpServerConfigInput {
url: McpServerConfigInputUrl.Raw;
secret_token?: McpServerConfigInputSecretToken.Raw | null;
request_headers?: Record | null;
+ auth_connection?: AuthConnectionLocator.Raw | null;
name: string;
description?: string | null;
force_pre_tool_speech?: boolean | null;
diff --git a/src/serialization/types/McpServerConfigOutput.ts b/src/serialization/types/McpServerConfigOutput.ts
index 08192844..42d48cdd 100644
--- a/src/serialization/types/McpServerConfigOutput.ts
+++ b/src/serialization/types/McpServerConfigOutput.ts
@@ -3,6 +3,7 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
+import { AuthConnectionLocator } from "./AuthConnectionLocator";
import { McpApprovalPolicy } from "./McpApprovalPolicy";
import { McpServerConfigOutputRequestHeadersValue } from "./McpServerConfigOutputRequestHeadersValue";
import { McpServerConfigOutputSecretToken } from "./McpServerConfigOutputSecretToken";
@@ -30,6 +31,7 @@ export const McpServerConfigOutput: core.serialization.ObjectSchema<
"request_headers",
core.serialization.record(core.serialization.string(), McpServerConfigOutputRequestHeadersValue).optional(),
),
+ authConnection: core.serialization.property("auth_connection", AuthConnectionLocator.optional()),
name: core.serialization.string(),
description: core.serialization.string().optional(),
forcePreToolSpeech: core.serialization.property("force_pre_tool_speech", core.serialization.boolean().optional()),
@@ -52,6 +54,7 @@ export declare namespace McpServerConfigOutput {
url: McpServerConfigOutputUrl.Raw;
secret_token?: McpServerConfigOutputSecretToken.Raw | null;
request_headers?: Record | null;
+ auth_connection?: AuthConnectionLocator.Raw | null;
name: string;
description?: string | null;
force_pre_tool_speech?: boolean | null;
diff --git a/src/serialization/types/McpToolConfigOverride.ts b/src/serialization/types/McpToolConfigOverride.ts
index d8f16d66..2075f6a2 100644
--- a/src/serialization/types/McpToolConfigOverride.ts
+++ b/src/serialization/types/McpToolConfigOverride.ts
@@ -4,6 +4,7 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
import { DynamicVariableAssignment } from "./DynamicVariableAssignment";
+import { McpToolConfigOverrideInputOverridesValue } from "./McpToolConfigOverrideInputOverridesValue";
import { ToolCallSoundBehavior } from "./ToolCallSoundBehavior";
import { ToolCallSoundType } from "./ToolCallSoundType";
import { ToolExecutionMode } from "./ToolExecutionMode";
@@ -19,6 +20,12 @@ export const McpToolConfigOverride: core.serialization.ObjectSchema<
toolCallSoundBehavior: core.serialization.property("tool_call_sound_behavior", ToolCallSoundBehavior.optional()),
executionMode: core.serialization.property("execution_mode", ToolExecutionMode.optional()),
assignments: core.serialization.list(DynamicVariableAssignment).optional(),
+ inputOverrides: core.serialization.property(
+ "input_overrides",
+ core.serialization
+ .record(core.serialization.string(), McpToolConfigOverrideInputOverridesValue.optional())
+ .optional(),
+ ),
});
export declare namespace McpToolConfigOverride {
@@ -30,5 +37,6 @@ export declare namespace McpToolConfigOverride {
tool_call_sound_behavior?: ToolCallSoundBehavior.Raw | null;
execution_mode?: ToolExecutionMode.Raw | null;
assignments?: DynamicVariableAssignment.Raw[] | null;
+ input_overrides?: Record | null;
}
}
diff --git a/src/serialization/types/McpToolConfigOverrideInputOverridesValue.ts b/src/serialization/types/McpToolConfigOverrideInputOverridesValue.ts
new file mode 100644
index 00000000..5006a551
--- /dev/null
+++ b/src/serialization/types/McpToolConfigOverrideInputOverridesValue.ts
@@ -0,0 +1,41 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ConstantSchemaOverride } from "./ConstantSchemaOverride";
+import { DynamicVariableSchemaOverride } from "./DynamicVariableSchemaOverride";
+import { LlmSchemaOverride } from "./LlmSchemaOverride";
+
+export const McpToolConfigOverrideInputOverridesValue: core.serialization.Schema<
+ serializers.McpToolConfigOverrideInputOverridesValue.Raw,
+ ElevenLabs.McpToolConfigOverrideInputOverridesValue
+> = core.serialization
+ .union("source", {
+ constant: ConstantSchemaOverride,
+ dynamic_variable: DynamicVariableSchemaOverride,
+ llm: LlmSchemaOverride,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace McpToolConfigOverrideInputOverridesValue {
+ export type Raw =
+ | McpToolConfigOverrideInputOverridesValue.Constant
+ | McpToolConfigOverrideInputOverridesValue.DynamicVariable
+ | McpToolConfigOverrideInputOverridesValue.Llm;
+
+ export interface Constant extends ConstantSchemaOverride.Raw {
+ source: "constant";
+ }
+
+ export interface DynamicVariable extends DynamicVariableSchemaOverride.Raw {
+ source: "dynamic_variable";
+ }
+
+ export interface Llm extends LlmSchemaOverride.Raw {
+ source: "llm";
+ }
+}
diff --git a/src/serialization/types/MessagesSearchResponse.ts b/src/serialization/types/MessagesSearchResponse.ts
new file mode 100644
index 00000000..9f4e2e98
--- /dev/null
+++ b/src/serialization/types/MessagesSearchResponse.ts
@@ -0,0 +1,26 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ListResponseMeta } from "./ListResponseMeta";
+import { MessagesSearchResult } from "./MessagesSearchResult";
+
+export const MessagesSearchResponse: core.serialization.ObjectSchema<
+ serializers.MessagesSearchResponse.Raw,
+ ElevenLabs.MessagesSearchResponse
+> = core.serialization.object({
+ meta: ListResponseMeta.optional(),
+ results: core.serialization.list(MessagesSearchResult),
+ nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
+ hasMore: core.serialization.property("has_more", core.serialization.boolean()),
+});
+
+export declare namespace MessagesSearchResponse {
+ export interface Raw {
+ meta?: ListResponseMeta.Raw | null;
+ results: MessagesSearchResult.Raw[];
+ next_cursor?: string | null;
+ has_more: boolean;
+ }
+}
diff --git a/src/serialization/types/MessagesSearchResult.ts b/src/serialization/types/MessagesSearchResult.ts
new file mode 100644
index 00000000..b7e41c98
--- /dev/null
+++ b/src/serialization/types/MessagesSearchResult.ts
@@ -0,0 +1,33 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const MessagesSearchResult: core.serialization.ObjectSchema<
+ serializers.MessagesSearchResult.Raw,
+ ElevenLabs.MessagesSearchResult
+> = core.serialization.object({
+ conversationId: core.serialization.property("conversation_id", core.serialization.string()),
+ agentId: core.serialization.property("agent_id", core.serialization.string()),
+ agentName: core.serialization.property("agent_name", core.serialization.string().optional()),
+ transcriptIndex: core.serialization.property("transcript_index", core.serialization.number()),
+ chunkText: core.serialization.property("chunk_text", core.serialization.string()),
+ score: core.serialization.number(),
+ conversationStartTimeUnixSecs: core.serialization.property(
+ "conversation_start_time_unix_secs",
+ core.serialization.number(),
+ ),
+});
+
+export declare namespace MessagesSearchResult {
+ export interface Raw {
+ conversation_id: string;
+ agent_id: string;
+ agent_name?: string | null;
+ transcript_index: number;
+ chunk_text: string;
+ score: number;
+ conversation_start_time_unix_secs: number;
+ }
+}
diff --git a/src/serialization/types/MusicExploreSongSourceContext.ts b/src/serialization/types/MusicExploreSongSourceContext.ts
new file mode 100644
index 00000000..25606ccd
--- /dev/null
+++ b/src/serialization/types/MusicExploreSongSourceContext.ts
@@ -0,0 +1,28 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const MusicExploreSongSourceContext: core.serialization.ObjectSchema<
+ serializers.MusicExploreSongSourceContext.Raw,
+ ElevenLabs.MusicExploreSongSourceContext
+> = core.serialization.object({
+ musicExploreSongId: core.serialization.property("music_explore_song_id", core.serialization.string()),
+ title: core.serialization.string().optional(),
+ description: core.serialization.string().optional(),
+ bpm: core.serialization.number().optional(),
+ vocals: core.serialization.string().optional(),
+ lyrics: core.serialization.string().optional(),
+});
+
+export declare namespace MusicExploreSongSourceContext {
+ export interface Raw {
+ music_explore_song_id: string;
+ title?: string | null;
+ description?: string | null;
+ bpm?: number | null;
+ vocals?: string | null;
+ lyrics?: string | null;
+ }
+}
diff --git a/src/serialization/types/NoCoachingSettings.ts b/src/serialization/types/NoCoachingSettings.ts
new file mode 100644
index 00000000..a4f95df4
--- /dev/null
+++ b/src/serialization/types/NoCoachingSettings.ts
@@ -0,0 +1,18 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const NoCoachingSettings: core.serialization.ObjectSchema<
+ serializers.NoCoachingSettings.Raw,
+ ElevenLabs.NoCoachingSettings
+> = core.serialization.object({
+ memoryBaseId: core.serialization.property("memory_base_id", core.serialization.string().optional()),
+});
+
+export declare namespace NoCoachingSettings {
+ export interface Raw {
+ memory_base_id?: string | null;
+ }
+}
diff --git a/src/serialization/types/PendingClipTaskType.ts b/src/serialization/types/PendingClipTaskType.ts
index 1e6b731d..ca3ced9a 100644
--- a/src/serialization/types/PendingClipTaskType.ts
+++ b/src/serialization/types/PendingClipTaskType.ts
@@ -7,8 +7,8 @@ import type * as serializers from "../index";
export const PendingClipTaskType: core.serialization.Schema<
serializers.PendingClipTaskType.Raw,
ElevenLabs.PendingClipTaskType
-> = core.serialization.enum_(["preprocessing", "speech_import", "dubbing"]);
+> = core.serialization.enum_(["preprocessing", "speech_import", "dubbing", "video_to_music"]);
export declare namespace PendingClipTaskType {
- export type Raw = "preprocessing" | "speech_import" | "dubbing";
+ export type Raw = "preprocessing" | "speech_import" | "dubbing" | "video_to_music";
}
diff --git a/src/serialization/types/PermissionType.ts b/src/serialization/types/PermissionType.ts
index f75f4dd6..bf992003 100644
--- a/src/serialization/types/PermissionType.ts
+++ b/src/serialization/types/PermissionType.ts
@@ -34,6 +34,7 @@ export const PermissionType: core.serialization.Schema =
- core.serialization.object({
- recordVoice: core.serialization.property("record_voice", core.serialization.boolean().optional()),
- retentionDays: core.serialization.property("retention_days", core.serialization.number().optional()),
- deleteTranscriptAndPii: core.serialization.property(
- "delete_transcript_and_pii",
- core.serialization.boolean().optional(),
- ),
- deleteAudio: core.serialization.property("delete_audio", core.serialization.boolean().optional()),
- applyToExistingConversations: core.serialization.property(
- "apply_to_existing_conversations",
- core.serialization.boolean().optional(),
- ),
- zeroRetentionMode: core.serialization.property("zero_retention_mode", core.serialization.boolean().optional()),
- });
-
-export declare namespace PrivacyConfig {
- export interface Raw {
- record_voice?: boolean | null;
- retention_days?: number | null;
- delete_transcript_and_pii?: boolean | null;
- delete_audio?: boolean | null;
- apply_to_existing_conversations?: boolean | null;
- zero_retention_mode?: boolean | null;
- }
-}
diff --git a/src/serialization/types/PrivacyConfigInput.ts b/src/serialization/types/PrivacyConfigInput.ts
new file mode 100644
index 00000000..6f31bc11
--- /dev/null
+++ b/src/serialization/types/PrivacyConfigInput.ts
@@ -0,0 +1,40 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ConversationHistoryRedactionConfig } from "./ConversationHistoryRedactionConfig";
+
+export const PrivacyConfigInput: core.serialization.ObjectSchema<
+ serializers.PrivacyConfigInput.Raw,
+ ElevenLabs.PrivacyConfigInput
+> = core.serialization.object({
+ recordVoice: core.serialization.property("record_voice", core.serialization.boolean().optional()),
+ retentionDays: core.serialization.property("retention_days", core.serialization.number().optional()),
+ deleteTranscriptAndPii: core.serialization.property(
+ "delete_transcript_and_pii",
+ core.serialization.boolean().optional(),
+ ),
+ deleteAudio: core.serialization.property("delete_audio", core.serialization.boolean().optional()),
+ applyToExistingConversations: core.serialization.property(
+ "apply_to_existing_conversations",
+ core.serialization.boolean().optional(),
+ ),
+ zeroRetentionMode: core.serialization.property("zero_retention_mode", core.serialization.boolean().optional()),
+ conversationHistoryRedaction: core.serialization.property(
+ "conversation_history_redaction",
+ ConversationHistoryRedactionConfig.optional(),
+ ),
+});
+
+export declare namespace PrivacyConfigInput {
+ export interface Raw {
+ record_voice?: boolean | null;
+ retention_days?: number | null;
+ delete_transcript_and_pii?: boolean | null;
+ delete_audio?: boolean | null;
+ apply_to_existing_conversations?: boolean | null;
+ zero_retention_mode?: boolean | null;
+ conversation_history_redaction?: ConversationHistoryRedactionConfig.Raw | null;
+ }
+}
diff --git a/src/serialization/types/PrivacyConfigOutput.ts b/src/serialization/types/PrivacyConfigOutput.ts
new file mode 100644
index 00000000..76baf093
--- /dev/null
+++ b/src/serialization/types/PrivacyConfigOutput.ts
@@ -0,0 +1,40 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ConversationHistoryRedactionConfig } from "./ConversationHistoryRedactionConfig";
+
+export const PrivacyConfigOutput: core.serialization.ObjectSchema<
+ serializers.PrivacyConfigOutput.Raw,
+ ElevenLabs.PrivacyConfigOutput
+> = core.serialization.object({
+ recordVoice: core.serialization.property("record_voice", core.serialization.boolean().optional()),
+ retentionDays: core.serialization.property("retention_days", core.serialization.number().optional()),
+ deleteTranscriptAndPii: core.serialization.property(
+ "delete_transcript_and_pii",
+ core.serialization.boolean().optional(),
+ ),
+ deleteAudio: core.serialization.property("delete_audio", core.serialization.boolean().optional()),
+ applyToExistingConversations: core.serialization.property(
+ "apply_to_existing_conversations",
+ core.serialization.boolean().optional(),
+ ),
+ zeroRetentionMode: core.serialization.property("zero_retention_mode", core.serialization.boolean().optional()),
+ conversationHistoryRedaction: core.serialization.property(
+ "conversation_history_redaction",
+ ConversationHistoryRedactionConfig.optional(),
+ ),
+});
+
+export declare namespace PrivacyConfigOutput {
+ export interface Raw {
+ record_voice?: boolean | null;
+ retention_days?: number | null;
+ delete_transcript_and_pii?: boolean | null;
+ delete_audio?: boolean | null;
+ apply_to_existing_conversations?: boolean | null;
+ zero_retention_mode?: boolean | null;
+ conversation_history_redaction?: ConversationHistoryRedactionConfig.Raw | null;
+ }
+}
diff --git a/src/serialization/types/ProcedureDraftRef.ts b/src/serialization/types/ProcedureDraftRef.ts
deleted file mode 100644
index 2a02b5c7..00000000
--- a/src/serialization/types/ProcedureDraftRef.ts
+++ /dev/null
@@ -1,18 +0,0 @@
-// This file was auto-generated by Fern from our API Definition.
-
-import type * as ElevenLabs from "../../api/index";
-import * as core from "../../core";
-import type * as serializers from "../index";
-
-export const ProcedureDraftRef: core.serialization.ObjectSchema<
- serializers.ProcedureDraftRef.Raw,
- ElevenLabs.ProcedureDraftRef
-> = core.serialization.object({
- procedureId: core.serialization.property("procedure_id", core.serialization.string()),
-});
-
-export declare namespace ProcedureDraftRef {
- export interface Raw {
- procedure_id: string;
- }
-}
diff --git a/src/serialization/types/ProcedureVersionRef.ts b/src/serialization/types/ProcedureRefResponseModel.ts
similarity index 55%
rename from src/serialization/types/ProcedureVersionRef.ts
rename to src/serialization/types/ProcedureRefResponseModel.ts
index 414d3566..bf9c1131 100644
--- a/src/serialization/types/ProcedureVersionRef.ts
+++ b/src/serialization/types/ProcedureRefResponseModel.ts
@@ -4,17 +4,19 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
-export const ProcedureVersionRef: core.serialization.ObjectSchema<
- serializers.ProcedureVersionRef.Raw,
- ElevenLabs.ProcedureVersionRef
+export const ProcedureRefResponseModel: core.serialization.ObjectSchema<
+ serializers.ProcedureRefResponseModel.Raw,
+ ElevenLabs.ProcedureRefResponseModel
> = core.serialization.object({
procedureId: core.serialization.property("procedure_id", core.serialization.string()),
- versionId: core.serialization.property("version_id", core.serialization.string()),
+ versionId: core.serialization.property("version_id", core.serialization.string().optional()),
+ name: core.serialization.string().optional(),
});
-export declare namespace ProcedureVersionRef {
+export declare namespace ProcedureRefResponseModel {
export interface Raw {
procedure_id: string;
- version_id: string;
+ version_id?: string | null;
+ name?: string | null;
}
}
diff --git a/src/serialization/types/ProjectExternalAudioResponseModel.ts b/src/serialization/types/ProjectExternalAudioResponseModel.ts
index 8d02190b..e05901b5 100644
--- a/src/serialization/types/ProjectExternalAudioResponseModel.ts
+++ b/src/serialization/types/ProjectExternalAudioResponseModel.ts
@@ -4,6 +4,7 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
import { PendingClipTask } from "./PendingClipTask";
+import { ProjectExternalAudioResponseModelSourceContext } from "./ProjectExternalAudioResponseModelSourceContext";
export const ProjectExternalAudioResponseModel: core.serialization.ObjectSchema<
serializers.ProjectExternalAudioResponseModel.Raw,
@@ -33,11 +34,18 @@ export const ProjectExternalAudioResponseModel: core.serialization.ObjectSchema<
"pending_block_ids",
core.serialization.list(core.serialization.string()),
),
- importSpeechProgress: core.serialization.property("import_speech_progress", core.serialization.number().optional()),
+ pendingExternalAudioIds: core.serialization.property(
+ "pending_external_audio_ids",
+ core.serialization.list(core.serialization.string()),
+ ),
speechImported: core.serialization.property("speech_imported", core.serialization.boolean().optional()),
- dubAudioProgress: core.serialization.property("dub_audio_progress", core.serialization.number().optional()),
pendingTask: core.serialization.property("pending_task", PendingClipTask.optional()),
currentSnapshotId: core.serialization.property("current_snapshot_id", core.serialization.string().optional()),
+ sourceContext: core.serialization.property(
+ "source_context",
+ ProjectExternalAudioResponseModelSourceContext.optional(),
+ ),
+ importSpeechProgress: core.serialization.property("import_speech_progress", core.serialization.number().optional()),
});
export declare namespace ProjectExternalAudioResponseModel {
@@ -60,10 +68,11 @@ export declare namespace ProjectExternalAudioResponseModel {
source_external_audio_id?: string | null;
source_asset_id?: string | null;
pending_block_ids: string[];
- import_speech_progress?: number | null;
+ pending_external_audio_ids: string[];
speech_imported?: boolean | null;
- dub_audio_progress?: number | null;
pending_task?: PendingClipTask.Raw | null;
current_snapshot_id?: string | null;
+ source_context?: ProjectExternalAudioResponseModelSourceContext.Raw | null;
+ import_speech_progress?: number | null;
}
}
diff --git a/src/serialization/types/ProjectExternalAudioResponseModelSourceContext.ts b/src/serialization/types/ProjectExternalAudioResponseModelSourceContext.ts
new file mode 100644
index 00000000..bdeeff35
--- /dev/null
+++ b/src/serialization/types/ProjectExternalAudioResponseModelSourceContext.ts
@@ -0,0 +1,41 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { MusicExploreSongSourceContext } from "./MusicExploreSongSourceContext";
+import { SfxSourceContext } from "./SfxSourceContext";
+import { SongSourceContext } from "./SongSourceContext";
+
+export const ProjectExternalAudioResponseModelSourceContext: core.serialization.Schema<
+ serializers.ProjectExternalAudioResponseModelSourceContext.Raw,
+ ElevenLabs.ProjectExternalAudioResponseModelSourceContext
+> = core.serialization
+ .union(core.serialization.discriminant("sourceType", "source_type"), {
+ music_explore_song: MusicExploreSongSourceContext,
+ sfx: SfxSourceContext,
+ song: SongSourceContext,
+ })
+ .transform({
+ transform: (value) => value,
+ untransform: (value) => value,
+ });
+
+export declare namespace ProjectExternalAudioResponseModelSourceContext {
+ export type Raw =
+ | ProjectExternalAudioResponseModelSourceContext.MusicExploreSong
+ | ProjectExternalAudioResponseModelSourceContext.Sfx
+ | ProjectExternalAudioResponseModelSourceContext.Song;
+
+ export interface MusicExploreSong extends MusicExploreSongSourceContext.Raw {
+ source_type: "music_explore_song";
+ }
+
+ export interface Sfx extends SfxSourceContext.Raw {
+ source_type: "sfx";
+ }
+
+ export interface Song extends SongSourceContext.Raw {
+ source_type: "song";
+ }
+}
diff --git a/src/serialization/types/ProjectImageResponseModel.ts b/src/serialization/types/ProjectImageResponseModel.ts
index f4d8de71..3fd69c90 100644
--- a/src/serialization/types/ProjectImageResponseModel.ts
+++ b/src/serialization/types/ProjectImageResponseModel.ts
@@ -4,6 +4,7 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
import { CanvasPlacement } from "./CanvasPlacement";
+import { ClipAnimation } from "./ClipAnimation";
export const ProjectImageResponseModel: core.serialization.ObjectSchema<
serializers.ProjectImageResponseModel.Raw,
@@ -22,6 +23,7 @@ export const ProjectImageResponseModel: core.serialization.ObjectSchema<
durationMs: core.serialization.property("duration_ms", core.serialization.number()),
order: core.serialization.string(),
canvasPlacement: core.serialization.property("canvas_placement", CanvasPlacement),
+ animation: ClipAnimation.optional(),
createdAtMs: core.serialization.property("created_at_ms", core.serialization.number()),
updatedAtMs: core.serialization.property("updated_at_ms", core.serialization.number()),
currentSnapshotId: core.serialization.property("current_snapshot_id", core.serialization.string().optional()),
@@ -43,6 +45,7 @@ export declare namespace ProjectImageResponseModel {
duration_ms: number;
order: string;
canvas_placement: CanvasPlacement.Raw;
+ animation?: ClipAnimation.Raw | null;
created_at_ms: number;
updated_at_ms: number;
current_snapshot_id?: string | null;
diff --git a/src/serialization/types/ProjectVideoResponseModel.ts b/src/serialization/types/ProjectVideoResponseModel.ts
index 2661d686..67ce451b 100644
--- a/src/serialization/types/ProjectVideoResponseModel.ts
+++ b/src/serialization/types/ProjectVideoResponseModel.ts
@@ -4,6 +4,8 @@ import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
import { CanvasPlacement } from "./CanvasPlacement";
+import { ClipAnimation } from "./ClipAnimation";
+import { GenerationSourceContext } from "./GenerationSourceContext";
import { PendingClipTask } from "./PendingClipTask";
import { ProjectVideoThumbnailSheetResponseModel } from "./ProjectVideoThumbnailSheetResponseModel";
@@ -19,11 +21,12 @@ export const ProjectVideoResponseModel: core.serialization.ObjectSchema<
durationMs: core.serialization.property("duration_ms", core.serialization.number()),
volumeGainDb: core.serialization.property("volume_gain_db", core.serialization.number()),
muted: core.serialization.boolean(),
+ fadeInMs: core.serialization.property("fade_in_ms", core.serialization.number().optional()),
+ fadeOutMs: core.serialization.property("fade_out_ms", core.serialization.number().optional()),
width: core.serialization.number(),
height: core.serialization.number(),
codec: core.serialization.string(),
order: core.serialization.string(),
- previewJobProgress: core.serialization.property("preview_job_progress", core.serialization.number()),
createdAtMs: core.serialization.property("created_at_ms", core.serialization.number()),
updatedAtMs: core.serialization.property("updated_at_ms", core.serialization.number()),
error: core.serialization.string().optional(),
@@ -45,15 +48,21 @@ export const ProjectVideoResponseModel: core.serialization.ObjectSchema<
"pending_block_ids",
core.serialization.list(core.serialization.string()),
),
- importSpeechProgress: core.serialization.property("import_speech_progress", core.serialization.number().optional()),
+ pendingExternalAudioIds: core.serialization.property(
+ "pending_external_audio_ids",
+ core.serialization.list(core.serialization.string()),
+ ),
speechImported: core.serialization.property("speech_imported", core.serialization.boolean().optional()),
- dubAudioProgress: core.serialization.property("dub_audio_progress", core.serialization.number().optional()),
pendingTask: core.serialization.property("pending_task", PendingClipTask.optional()),
audioTrackReady: core.serialization.property("audio_track_ready", core.serialization.boolean().optional()),
exportFormatReady: core.serialization.property("export_format_ready", core.serialization.boolean().optional()),
currentSnapshotId: core.serialization.property("current_snapshot_id", core.serialization.string().optional()),
+ sourceContext: core.serialization.property("source_context", GenerationSourceContext.optional()),
canvasPlacement: core.serialization.property("canvas_placement", CanvasPlacement.optional()),
+ animation: ClipAnimation.optional(),
trackId: core.serialization.property("track_id", core.serialization.string().optional()),
+ previewJobProgress: core.serialization.property("preview_job_progress", core.serialization.number().optional()),
+ importSpeechProgress: core.serialization.property("import_speech_progress", core.serialization.number().optional()),
});
export declare namespace ProjectVideoResponseModel {
@@ -66,11 +75,12 @@ export declare namespace ProjectVideoResponseModel {
duration_ms: number;
volume_gain_db: number;
muted: boolean;
+ fade_in_ms?: number | null;
+ fade_out_ms?: number | null;
width: number;
height: number;
codec: string;
order: string;
- preview_job_progress: number;
created_at_ms: number;
updated_at_ms: number;
error?: string | null;
@@ -83,14 +93,17 @@ export declare namespace ProjectVideoResponseModel {
source_video_id?: string | null;
source_asset_id?: string | null;
pending_block_ids: string[];
- import_speech_progress?: number | null;
+ pending_external_audio_ids: string[];
speech_imported?: boolean | null;
- dub_audio_progress?: number | null;
pending_task?: PendingClipTask.Raw | null;
audio_track_ready?: boolean | null;
export_format_ready?: boolean | null;
current_snapshot_id?: string | null;
+ source_context?: GenerationSourceContext.Raw | null;
canvas_placement?: CanvasPlacement.Raw | null;
+ animation?: ClipAnimation.Raw | null;
track_id?: string | null;
+ preview_job_progress?: number | null;
+ import_speech_progress?: number | null;
}
}
diff --git a/src/serialization/types/PromptAgentApiModelInputToolsItem.ts b/src/serialization/types/PromptAgentApiModelInputToolsItem.ts
index c1f23a96..87d758f9 100644
--- a/src/serialization/types/PromptAgentApiModelInputToolsItem.ts
+++ b/src/serialization/types/PromptAgentApiModelInputToolsItem.ts
@@ -18,6 +18,9 @@ export const PromptAgentApiModelInputToolsItem: core.serialization.Schema<
mcp: core.serialization.object({
value: core.serialization.unknown(),
}),
+ smb: core.serialization.object({
+ value: core.serialization.unknown(),
+ }),
system: SystemToolConfigInput,
webhook: WebhookToolConfigInput,
})
@@ -31,6 +34,7 @@ export declare namespace PromptAgentApiModelInputToolsItem {
| PromptAgentApiModelInputToolsItem.ApiIntegrationWebhook
| PromptAgentApiModelInputToolsItem.Client
| PromptAgentApiModelInputToolsItem.Mcp
+ | PromptAgentApiModelInputToolsItem.Smb
| PromptAgentApiModelInputToolsItem.System
| PromptAgentApiModelInputToolsItem.Webhook;
@@ -47,6 +51,11 @@ export declare namespace PromptAgentApiModelInputToolsItem {
value?: unknown;
}
+ export interface Smb {
+ type: "smb";
+ value?: unknown;
+ }
+
export interface System extends SystemToolConfigInput.Raw {
type: "system";
}
diff --git a/src/serialization/types/PromptAgentApiModelOutputToolsItem.ts b/src/serialization/types/PromptAgentApiModelOutputToolsItem.ts
index 5d024f91..cf1d7b9c 100644
--- a/src/serialization/types/PromptAgentApiModelOutputToolsItem.ts
+++ b/src/serialization/types/PromptAgentApiModelOutputToolsItem.ts
@@ -18,6 +18,9 @@ export const PromptAgentApiModelOutputToolsItem: core.serialization.Schema<
mcp: core.serialization.object({
value: core.serialization.unknown(),
}),
+ smb: core.serialization.object({
+ value: core.serialization.unknown(),
+ }),
system: SystemToolConfigOutput,
webhook: WebhookToolConfigOutput,
})
@@ -31,6 +34,7 @@ export declare namespace PromptAgentApiModelOutputToolsItem {
| PromptAgentApiModelOutputToolsItem.ApiIntegrationWebhook
| PromptAgentApiModelOutputToolsItem.Client
| PromptAgentApiModelOutputToolsItem.Mcp
+ | PromptAgentApiModelOutputToolsItem.Smb
| PromptAgentApiModelOutputToolsItem.System
| PromptAgentApiModelOutputToolsItem.Webhook;
@@ -47,6 +51,11 @@ export declare namespace PromptAgentApiModelOutputToolsItem {
value?: unknown;
}
+ export interface Smb {
+ type: "smb";
+ value?: unknown;
+ }
+
export interface System extends SystemToolConfigOutput.Raw {
type: "system";
}
diff --git a/src/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.ts b/src/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.ts
index 8452ef87..d7193525 100644
--- a/src/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.ts
+++ b/src/serialization/types/PromptAgentApiModelWorkflowOverrideInputToolsItem.ts
@@ -18,6 +18,9 @@ export const PromptAgentApiModelWorkflowOverrideInputToolsItem: core.serializati
mcp: core.serialization.object({
value: core.serialization.unknown(),
}),
+ smb: core.serialization.object({
+ value: core.serialization.unknown(),
+ }),
system: SystemToolConfigInput,
webhook: WebhookToolConfigInput,
})
@@ -31,6 +34,7 @@ export declare namespace PromptAgentApiModelWorkflowOverrideInputToolsItem {
| PromptAgentApiModelWorkflowOverrideInputToolsItem.ApiIntegrationWebhook
| PromptAgentApiModelWorkflowOverrideInputToolsItem.Client
| PromptAgentApiModelWorkflowOverrideInputToolsItem.Mcp
+ | PromptAgentApiModelWorkflowOverrideInputToolsItem.Smb
| PromptAgentApiModelWorkflowOverrideInputToolsItem.System
| PromptAgentApiModelWorkflowOverrideInputToolsItem.Webhook;
@@ -47,6 +51,11 @@ export declare namespace PromptAgentApiModelWorkflowOverrideInputToolsItem {
value?: unknown;
}
+ export interface Smb {
+ type: "smb";
+ value?: unknown;
+ }
+
export interface System extends SystemToolConfigInput.Raw {
type: "system";
}
diff --git a/src/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.ts b/src/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.ts
index 4624fac7..d40a4e2a 100644
--- a/src/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.ts
+++ b/src/serialization/types/PromptAgentApiModelWorkflowOverrideOutputToolsItem.ts
@@ -18,6 +18,9 @@ export const PromptAgentApiModelWorkflowOverrideOutputToolsItem: core.serializat
mcp: core.serialization.object({
value: core.serialization.unknown(),
}),
+ smb: core.serialization.object({
+ value: core.serialization.unknown(),
+ }),
system: SystemToolConfigOutput,
webhook: WebhookToolConfigOutput,
})
@@ -31,6 +34,7 @@ export declare namespace PromptAgentApiModelWorkflowOverrideOutputToolsItem {
| PromptAgentApiModelWorkflowOverrideOutputToolsItem.ApiIntegrationWebhook
| PromptAgentApiModelWorkflowOverrideOutputToolsItem.Client
| PromptAgentApiModelWorkflowOverrideOutputToolsItem.Mcp
+ | PromptAgentApiModelWorkflowOverrideOutputToolsItem.Smb
| PromptAgentApiModelWorkflowOverrideOutputToolsItem.System
| PromptAgentApiModelWorkflowOverrideOutputToolsItem.Webhook;
@@ -47,6 +51,11 @@ export declare namespace PromptAgentApiModelWorkflowOverrideOutputToolsItem {
value?: unknown;
}
+ export interface Smb {
+ type: "smb";
+ value?: unknown;
+ }
+
export interface System extends SystemToolConfigOutput.Raw {
type: "system";
}
diff --git a/src/serialization/types/PromptInjectionGuardrail.ts b/src/serialization/types/PromptInjectionGuardrail.ts
new file mode 100644
index 00000000..ed0fd9f8
--- /dev/null
+++ b/src/serialization/types/PromptInjectionGuardrail.ts
@@ -0,0 +1,18 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const PromptInjectionGuardrail: core.serialization.ObjectSchema<
+ serializers.PromptInjectionGuardrail.Raw,
+ ElevenLabs.PromptInjectionGuardrail
+> = core.serialization.object({
+ isEnabled: core.serialization.property("is_enabled", core.serialization.boolean().optional()),
+});
+
+export declare namespace PromptInjectionGuardrail {
+ export interface Raw {
+ is_enabled?: boolean | null;
+ }
+}
diff --git a/src/serialization/types/PronunciationDictionaryAliasRuleRequestModel.ts b/src/serialization/types/PronunciationDictionaryAliasRuleRequestModel.ts
index 735aed31..e0454888 100644
--- a/src/serialization/types/PronunciationDictionaryAliasRuleRequestModel.ts
+++ b/src/serialization/types/PronunciationDictionaryAliasRuleRequestModel.ts
@@ -9,12 +9,16 @@ export const PronunciationDictionaryAliasRuleRequestModel: core.serialization.Ob
ElevenLabs.PronunciationDictionaryAliasRuleRequestModel
> = core.serialization.object({
stringToReplace: core.serialization.property("string_to_replace", core.serialization.string()),
+ caseSensitive: core.serialization.property("case_sensitive", core.serialization.boolean().optional()),
+ wordBoundaries: core.serialization.property("word_boundaries", core.serialization.boolean().optional()),
alias: core.serialization.string(),
});
export declare namespace PronunciationDictionaryAliasRuleRequestModel {
export interface Raw {
string_to_replace: string;
+ case_sensitive?: boolean | null;
+ word_boundaries?: boolean | null;
alias: string;
}
}
diff --git a/src/serialization/types/PronunciationDictionaryAliasRuleResponseModel.ts b/src/serialization/types/PronunciationDictionaryAliasRuleResponseModel.ts
index 7ede44b1..52e1998a 100644
--- a/src/serialization/types/PronunciationDictionaryAliasRuleResponseModel.ts
+++ b/src/serialization/types/PronunciationDictionaryAliasRuleResponseModel.ts
@@ -9,12 +9,16 @@ export const PronunciationDictionaryAliasRuleResponseModel: core.serialization.O
ElevenLabs.PronunciationDictionaryAliasRuleResponseModel
> = core.serialization.object({
stringToReplace: core.serialization.property("string_to_replace", core.serialization.string()),
+ caseSensitive: core.serialization.property("case_sensitive", core.serialization.boolean().optional()),
+ wordBoundaries: core.serialization.property("word_boundaries", core.serialization.boolean().optional()),
alias: core.serialization.string(),
});
export declare namespace PronunciationDictionaryAliasRuleResponseModel {
export interface Raw {
string_to_replace: string;
+ case_sensitive?: boolean | null;
+ word_boundaries?: boolean | null;
alias: string;
}
}
diff --git a/src/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.ts b/src/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.ts
index 120ccc08..0a0a205a 100644
--- a/src/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.ts
+++ b/src/serialization/types/PronunciationDictionaryPhonemeRuleRequestModel.ts
@@ -9,6 +9,8 @@ export const PronunciationDictionaryPhonemeRuleRequestModel: core.serialization.
ElevenLabs.PronunciationDictionaryPhonemeRuleRequestModel
> = core.serialization.object({
stringToReplace: core.serialization.property("string_to_replace", core.serialization.string()),
+ caseSensitive: core.serialization.property("case_sensitive", core.serialization.boolean().optional()),
+ wordBoundaries: core.serialization.property("word_boundaries", core.serialization.boolean().optional()),
phoneme: core.serialization.string(),
alphabet: core.serialization.string(),
});
@@ -16,6 +18,8 @@ export const PronunciationDictionaryPhonemeRuleRequestModel: core.serialization.
export declare namespace PronunciationDictionaryPhonemeRuleRequestModel {
export interface Raw {
string_to_replace: string;
+ case_sensitive?: boolean | null;
+ word_boundaries?: boolean | null;
phoneme: string;
alphabet: string;
}
diff --git a/src/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.ts b/src/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.ts
index d0933855..5e1eb14c 100644
--- a/src/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.ts
+++ b/src/serialization/types/PronunciationDictionaryPhonemeRuleResponseModel.ts
@@ -9,6 +9,8 @@ export const PronunciationDictionaryPhonemeRuleResponseModel: core.serialization
ElevenLabs.PronunciationDictionaryPhonemeRuleResponseModel
> = core.serialization.object({
stringToReplace: core.serialization.property("string_to_replace", core.serialization.string()),
+ caseSensitive: core.serialization.property("case_sensitive", core.serialization.boolean().optional()),
+ wordBoundaries: core.serialization.property("word_boundaries", core.serialization.boolean().optional()),
phoneme: core.serialization.string(),
alphabet: core.serialization.string(),
});
@@ -16,6 +18,8 @@ export const PronunciationDictionaryPhonemeRuleResponseModel: core.serialization
export declare namespace PronunciationDictionaryPhonemeRuleResponseModel {
export interface Raw {
string_to_replace: string;
+ case_sensitive?: boolean | null;
+ word_boundaries?: boolean | null;
phoneme: string;
alphabet: string;
}
diff --git a/src/serialization/types/RagConfig.ts b/src/serialization/types/RagConfig.ts
index 25910bb4..2e642089 100644
--- a/src/serialization/types/RagConfig.ts
+++ b/src/serialization/types/RagConfig.ts
@@ -15,6 +15,7 @@ export const RagConfig: core.serialization.ObjectSchema =
core.serialization.enum_([
+ "new",
"created",
"processing",
"failed",
@@ -17,6 +18,7 @@ export const RagIndexStatus: core.serialization.Schema = core.serialization.object({
+ generationId: core.serialization.property("generation_id", core.serialization.string().optional()),
+ contentAssetId: core.serialization.property("content_asset_id", core.serialization.string().optional()),
+ templateNodeId: core.serialization.property("template_node_id", core.serialization.string().optional()),
+ studioClip: core.serialization.property("studio_clip", StudioClipReference.optional()),
+});
+
+export declare namespace ReferenceVideo {
+ export interface Raw {
+ generation_id?: string | null;
+ content_asset_id?: string | null;
+ template_node_id?: string | null;
+ studio_clip?: StudioClipReference.Raw | null;
+ }
+}
diff --git a/src/serialization/types/ResponseFilter.ts b/src/serialization/types/ResponseFilter.ts
new file mode 100644
index 00000000..4e0ebed5
--- /dev/null
+++ b/src/serialization/types/ResponseFilter.ts
@@ -0,0 +1,26 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { ResponseFilterMode } from "./ResponseFilterMode";
+
+export const ResponseFilter: core.serialization.ObjectSchema<
+ serializers.ResponseFilter.Raw,
+ ElevenLabs.ResponseFilter
+> = core.serialization.object({
+ mode: ResponseFilterMode.optional(),
+ filters: core.serialization.list(core.serialization.string()).optional(),
+ contentType: core.serialization.property(
+ "content_type",
+ core.serialization.stringLiteral("application/json").optional(),
+ ),
+});
+
+export declare namespace ResponseFilter {
+ export interface Raw {
+ mode?: ResponseFilterMode.Raw | null;
+ filters?: string[] | null;
+ content_type?: "application/json" | null;
+ }
+}
diff --git a/src/serialization/types/SayNodeLiteralMessageInput.ts b/src/serialization/types/SayNodeLiteralMessageInput.ts
new file mode 100644
index 00000000..554ff901
--- /dev/null
+++ b/src/serialization/types/SayNodeLiteralMessageInput.ts
@@ -0,0 +1,20 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const SayNodeLiteralMessageInput: core.serialization.ObjectSchema<
+ serializers.SayNodeLiteralMessageInput.Raw,
+ ElevenLabs.SayNodeLiteralMessageInput
+> = core.serialization.object({
+ type: core.serialization.stringLiteral("literal").optional(),
+ text: core.serialization.string(),
+});
+
+export declare namespace SayNodeLiteralMessageInput {
+ export interface Raw {
+ type?: "literal" | null;
+ text: string;
+ }
+}
diff --git a/src/serialization/types/SayNodeLiteralMessageOutput.ts b/src/serialization/types/SayNodeLiteralMessageOutput.ts
new file mode 100644
index 00000000..582276a5
--- /dev/null
+++ b/src/serialization/types/SayNodeLiteralMessageOutput.ts
@@ -0,0 +1,20 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const SayNodeLiteralMessageOutput: core.serialization.ObjectSchema<
+ serializers.SayNodeLiteralMessageOutput.Raw,
+ ElevenLabs.SayNodeLiteralMessageOutput
+> = core.serialization.object({
+ type: core.serialization.stringLiteral("literal"),
+ text: core.serialization.string(),
+});
+
+export declare namespace SayNodeLiteralMessageOutput {
+ export interface Raw {
+ type: "literal";
+ text: string;
+ }
+}
diff --git a/src/serialization/types/SayNodePromptMessageInput.ts b/src/serialization/types/SayNodePromptMessageInput.ts
new file mode 100644
index 00000000..4d8aa514
--- /dev/null
+++ b/src/serialization/types/SayNodePromptMessageInput.ts
@@ -0,0 +1,20 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const SayNodePromptMessageInput: core.serialization.ObjectSchema<
+ serializers.SayNodePromptMessageInput.Raw,
+ ElevenLabs.SayNodePromptMessageInput
+> = core.serialization.object({
+ type: core.serialization.stringLiteral("prompt").optional(),
+ prompt: core.serialization.string(),
+});
+
+export declare namespace SayNodePromptMessageInput {
+ export interface Raw {
+ type?: "prompt" | null;
+ prompt: string;
+ }
+}
diff --git a/src/serialization/types/SayNodePromptMessageOutput.ts b/src/serialization/types/SayNodePromptMessageOutput.ts
new file mode 100644
index 00000000..d8c48730
--- /dev/null
+++ b/src/serialization/types/SayNodePromptMessageOutput.ts
@@ -0,0 +1,20 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const SayNodePromptMessageOutput: core.serialization.ObjectSchema<
+ serializers.SayNodePromptMessageOutput.Raw,
+ ElevenLabs.SayNodePromptMessageOutput
+> = core.serialization.object({
+ type: core.serialization.stringLiteral("prompt"),
+ prompt: core.serialization.string(),
+});
+
+export declare namespace SayNodePromptMessageOutput {
+ export interface Raw {
+ type: "prompt";
+ prompt: string;
+ }
+}
diff --git a/src/serialization/types/SearchClientsParams.ts b/src/serialization/types/SearchClientsParams.ts
new file mode 100644
index 00000000..d1fcd870
--- /dev/null
+++ b/src/serialization/types/SearchClientsParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const SearchClientsParams: core.serialization.ObjectSchema<
+ serializers.SearchClientsParams.Raw,
+ ElevenLabs.SearchClientsParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("search_clients").optional(),
+ ),
+});
+
+export declare namespace SearchClientsParams {
+ export interface Raw {
+ smb_tool_type?: "search_clients" | null;
+ }
+}
diff --git a/src/serialization/types/SfxSourceContext.ts b/src/serialization/types/SfxSourceContext.ts
new file mode 100644
index 00000000..2f86cc8a
--- /dev/null
+++ b/src/serialization/types/SfxSourceContext.ts
@@ -0,0 +1,28 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const SfxSourceContext: core.serialization.ObjectSchema<
+ serializers.SfxSourceContext.Raw,
+ ElevenLabs.SfxSourceContext
+> = core.serialization.object({
+ soundGenerationHistoryItemId: core.serialization.property(
+ "sound_generation_history_item_id",
+ core.serialization.string().optional(),
+ ),
+ text: core.serialization.string().optional(),
+ generationConfig: core.serialization.property(
+ "generation_config",
+ core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
+ ),
+});
+
+export declare namespace SfxSourceContext {
+ export interface Raw {
+ sound_generation_history_item_id?: string | null;
+ text?: string | null;
+ generation_config?: Record | null;
+ }
+}
diff --git a/src/serialization/types/SongSourceContext.ts b/src/serialization/types/SongSourceContext.ts
new file mode 100644
index 00000000..77708d95
--- /dev/null
+++ b/src/serialization/types/SongSourceContext.ts
@@ -0,0 +1,35 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const SongSourceContext: core.serialization.ObjectSchema<
+ serializers.SongSourceContext.Raw,
+ ElevenLabs.SongSourceContext
+> = core.serialization.object({
+ songId: core.serialization.property("song_id", core.serialization.string()),
+ title: core.serialization.string().optional(),
+ description: core.serialization.string().optional(),
+ genres: core.serialization.list(core.serialization.string()).optional(),
+ languages: core.serialization.list(core.serialization.string()).optional(),
+ isExplicit: core.serialization.property("is_explicit", core.serialization.boolean().optional()),
+ bpm: core.serialization.number().optional(),
+ generationSettings: core.serialization.property(
+ "generation_settings",
+ core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
+ ),
+});
+
+export declare namespace SongSourceContext {
+ export interface Raw {
+ song_id: string;
+ title?: string | null;
+ description?: string | null;
+ genres?: string[] | null;
+ languages?: string[] | null;
+ is_explicit?: boolean | null;
+ bpm?: number | null;
+ generation_settings?: Record | null;
+ }
+}
diff --git a/src/serialization/types/StudioClipReference.ts b/src/serialization/types/StudioClipReference.ts
new file mode 100644
index 00000000..678dad21
--- /dev/null
+++ b/src/serialization/types/StudioClipReference.ts
@@ -0,0 +1,29 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+import { StudioClipReferenceClipType } from "./StudioClipReferenceClipType";
+
+export const StudioClipReference: core.serialization.ObjectSchema<
+ serializers.StudioClipReference.Raw,
+ ElevenLabs.StudioClipReference
+> = core.serialization.object({
+ projectId: core.serialization.property("project_id", core.serialization.string()),
+ chapterId: core.serialization.property("chapter_id", core.serialization.string()),
+ clipType: core.serialization.property("clip_type", StudioClipReferenceClipType),
+ clipId: core.serialization.property("clip_id", core.serialization.string()),
+ blockId: core.serialization.property("block_id", core.serialization.string().optional()),
+ previewUrl: core.serialization.property("preview_url", core.serialization.string().optional()),
+});
+
+export declare namespace StudioClipReference {
+ export interface Raw {
+ project_id: string;
+ chapter_id: string;
+ clip_type: StudioClipReferenceClipType.Raw;
+ clip_id: string;
+ block_id?: string | null;
+ preview_url?: string | null;
+ }
+}
diff --git a/src/serialization/types/StudioClipReferenceClipType.ts b/src/serialization/types/StudioClipReferenceClipType.ts
new file mode 100644
index 00000000..fccd9024
--- /dev/null
+++ b/src/serialization/types/StudioClipReferenceClipType.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const StudioClipReferenceClipType: core.serialization.Schema<
+ serializers.StudioClipReferenceClipType.Raw,
+ ElevenLabs.StudioClipReferenceClipType
+> = core.serialization.enum_(["video", "image", "external_audio", "tts_node"]);
+
+export declare namespace StudioClipReferenceClipType {
+ export type Raw = "video" | "image" | "external_audio" | "tts_node";
+}
diff --git a/src/serialization/types/TestType.ts b/src/serialization/types/TestType.ts
index d662b4ae..9055cc87 100644
--- a/src/serialization/types/TestType.ts
+++ b/src/serialization/types/TestType.ts
@@ -5,8 +5,8 @@ import * as core from "../../core";
import type * as serializers from "../index";
export const TestType: core.serialization.Schema =
- core.serialization.enum_(["llm", "tool", "simulation"]);
+ core.serialization.enum_(["llm", "tool", "simulation", "folder"]);
export declare namespace TestType {
- export type Raw = "llm" | "tool" | "simulation";
+ export type Raw = "llm" | "tool" | "simulation" | "folder";
}
diff --git a/src/serialization/types/ToolType.ts b/src/serialization/types/ToolType.ts
index 94cc211e..3573a869 100644
--- a/src/serialization/types/ToolType.ts
+++ b/src/serialization/types/ToolType.ts
@@ -13,6 +13,7 @@ export const ToolType: core.serialization.Schema = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("update_client").optional(),
+ ),
+});
+
+export declare namespace UpdateClientParams {
+ export interface Raw {
+ smb_tool_type?: "update_client" | null;
+ }
+}
diff --git a/src/serialization/types/UpdateProductParams.ts b/src/serialization/types/UpdateProductParams.ts
new file mode 100644
index 00000000..3da1cefd
--- /dev/null
+++ b/src/serialization/types/UpdateProductParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const UpdateProductParams: core.serialization.ObjectSchema<
+ serializers.UpdateProductParams.Raw,
+ ElevenLabs.UpdateProductParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("update_product").optional(),
+ ),
+});
+
+export declare namespace UpdateProductParams {
+ export interface Raw {
+ smb_tool_type?: "update_product" | null;
+ }
+}
diff --git a/src/serialization/types/UpdateResponseUnitTestRequest.ts b/src/serialization/types/UpdateResponseUnitTestRequest.ts
index f78c635a..a05b06e5 100644
--- a/src/serialization/types/UpdateResponseUnitTestRequest.ts
+++ b/src/serialization/types/UpdateResponseUnitTestRequest.ts
@@ -37,6 +37,7 @@ export const UpdateResponseUnitTestRequest: core.serialization.ObjectSchema<
core.serialization.list(AgentFailureResponseExample).optional(),
),
name: core.serialization.string(),
+ parentFolderId: core.serialization.property("parent_folder_id", core.serialization.string().optional()),
});
export declare namespace UpdateResponseUnitTestRequest {
@@ -51,5 +52,6 @@ export declare namespace UpdateResponseUnitTestRequest {
success_examples?: AgentSuccessfulResponseExample.Raw[] | null;
failure_examples?: AgentFailureResponseExample.Raw[] | null;
name: string;
+ parent_folder_id?: string | null;
}
}
diff --git a/src/serialization/types/UpdateServiceParams.ts b/src/serialization/types/UpdateServiceParams.ts
new file mode 100644
index 00000000..5b3153d8
--- /dev/null
+++ b/src/serialization/types/UpdateServiceParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const UpdateServiceParams: core.serialization.ObjectSchema<
+ serializers.UpdateServiceParams.Raw,
+ ElevenLabs.UpdateServiceParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("update_service").optional(),
+ ),
+});
+
+export declare namespace UpdateServiceParams {
+ export interface Raw {
+ smb_tool_type?: "update_service" | null;
+ }
+}
diff --git a/src/serialization/types/UpdateSimulationTestRequest.ts b/src/serialization/types/UpdateSimulationTestRequest.ts
index 8f4e72eb..31b38b54 100644
--- a/src/serialization/types/UpdateSimulationTestRequest.ts
+++ b/src/serialization/types/UpdateSimulationTestRequest.ts
@@ -29,6 +29,7 @@ export const UpdateSimulationTestRequest: core.serialization.ObjectSchema<
simulationScenario: core.serialization.property("simulation_scenario", core.serialization.string().optional()),
simulationMaxTurns: core.serialization.property("simulation_max_turns", core.serialization.number().optional()),
name: core.serialization.string(),
+ parentFolderId: core.serialization.property("parent_folder_id", core.serialization.string().optional()),
});
export declare namespace UpdateSimulationTestRequest {
@@ -43,5 +44,6 @@ export declare namespace UpdateSimulationTestRequest {
simulation_scenario?: string | null;
simulation_max_turns?: number | null;
name: string;
+ parent_folder_id?: string | null;
}
}
diff --git a/src/serialization/types/UpdateStaffParams.ts b/src/serialization/types/UpdateStaffParams.ts
new file mode 100644
index 00000000..14cf8416
--- /dev/null
+++ b/src/serialization/types/UpdateStaffParams.ts
@@ -0,0 +1,21 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const UpdateStaffParams: core.serialization.ObjectSchema<
+ serializers.UpdateStaffParams.Raw,
+ ElevenLabs.UpdateStaffParams
+> = core.serialization.object({
+ smbToolType: core.serialization.property(
+ "smb_tool_type",
+ core.serialization.stringLiteral("update_staff").optional(),
+ ),
+});
+
+export declare namespace UpdateStaffParams {
+ export interface Raw {
+ smb_tool_type?: "update_staff" | null;
+ }
+}
diff --git a/src/serialization/types/UpdateToolCallUnitTestRequest.ts b/src/serialization/types/UpdateToolCallUnitTestRequest.ts
index 2589611f..b2bf702c 100644
--- a/src/serialization/types/UpdateToolCallUnitTestRequest.ts
+++ b/src/serialization/types/UpdateToolCallUnitTestRequest.ts
@@ -32,6 +32,7 @@ export const UpdateToolCallUnitTestRequest: core.serialization.ObjectSchema<
),
checkAnyToolMatches: core.serialization.property("check_any_tool_matches", core.serialization.boolean().optional()),
name: core.serialization.string(),
+ parentFolderId: core.serialization.property("parent_folder_id", core.serialization.string().optional()),
});
export declare namespace UpdateToolCallUnitTestRequest {
@@ -45,5 +46,6 @@ export declare namespace UpdateToolCallUnitTestRequest {
tool_call_parameters?: UnitTestToolCallEvaluationModelInput.Raw | null;
check_any_tool_matches?: boolean | null;
name: string;
+ parent_folder_id?: string | null;
}
}
diff --git a/src/serialization/types/User.ts b/src/serialization/types/User.ts
index b3f5bf2b..327d699d 100644
--- a/src/serialization/types/User.ts
+++ b/src/serialization/types/User.ts
@@ -3,6 +3,7 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
+import { SeatType } from "./SeatType";
import { SubscriptionResponse } from "./SubscriptionResponse";
export const User: core.serialization.ObjectSchema = core.serialization.object({
@@ -29,6 +30,7 @@ export const User: core.serialization.ObjectSchema = core.serialization.object({
- name: core.serialization.string(),
- code: core.serialization.string(),
-});
+> = core.serialization.unknown();
export declare namespace VoiceGenerationParameterOptionResponse {
- export interface Raw {
- name: string;
- code: string;
- }
+ export type Raw = unknown;
}
diff --git a/src/serialization/types/VoiceGenerationParameterResponse.ts b/src/serialization/types/VoiceGenerationParameterResponse.ts
index 20c87c09..2db67bb5 100644
--- a/src/serialization/types/VoiceGenerationParameterResponse.ts
+++ b/src/serialization/types/VoiceGenerationParameterResponse.ts
@@ -3,29 +3,12 @@
import type * as ElevenLabs from "../../api/index";
import * as core from "../../core";
import type * as serializers from "../index";
-import { VoiceGenerationParameterOptionResponse } from "./VoiceGenerationParameterOptionResponse";
-export const VoiceGenerationParameterResponse: core.serialization.ObjectSchema<
+export const VoiceGenerationParameterResponse: core.serialization.Schema<
serializers.VoiceGenerationParameterResponse.Raw,
ElevenLabs.VoiceGenerationParameterResponse
-> = core.serialization.object({
- genders: core.serialization.list(VoiceGenerationParameterOptionResponse),
- accents: core.serialization.list(VoiceGenerationParameterOptionResponse),
- ages: core.serialization.list(VoiceGenerationParameterOptionResponse),
- minimumCharacters: core.serialization.property("minimum_characters", core.serialization.number()),
- maximumCharacters: core.serialization.property("maximum_characters", core.serialization.number()),
- minimumAccentStrength: core.serialization.property("minimum_accent_strength", core.serialization.number()),
- maximumAccentStrength: core.serialization.property("maximum_accent_strength", core.serialization.number()),
-});
+> = core.serialization.unknown();
export declare namespace VoiceGenerationParameterResponse {
- export interface Raw {
- genders: VoiceGenerationParameterOptionResponse.Raw[];
- accents: VoiceGenerationParameterOptionResponse.Raw[];
- ages: VoiceGenerationParameterOptionResponse.Raw[];
- minimum_characters: number;
- maximum_characters: number;
- minimum_accent_strength: number;
- maximum_accent_strength: number;
- }
+ export type Raw = unknown;
}
diff --git a/src/serialization/types/WidgetConfig.ts b/src/serialization/types/WidgetConfig.ts
index 06bbd478..152131ae 100644
--- a/src/serialization/types/WidgetConfig.ts
+++ b/src/serialization/types/WidgetConfig.ts
@@ -6,6 +6,7 @@ import type * as serializers from "../index";
import { AllowlistItem } from "./AllowlistItem";
import { EmbedVariant } from "./EmbedVariant";
import { WidgetConfigOutputAvatar } from "./WidgetConfigOutputAvatar";
+import { WidgetConfigOutputSyntaxHighlightTheme } from "./WidgetConfigOutputSyntaxHighlightTheme";
import { WidgetEndFeedbackConfig } from "./WidgetEndFeedbackConfig";
import { WidgetExpandable } from "./WidgetExpandable";
import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
@@ -71,6 +72,17 @@ export const WidgetConfig: core.serialization.ObjectSchema = core.serialization.enum_(["light", "dark"]);
+
+export declare namespace WidgetConfigInputSyntaxHighlightTheme {
+ export type Raw = "light" | "dark";
+}
diff --git a/src/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.ts b/src/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.ts
new file mode 100644
index 00000000..2e152fd3
--- /dev/null
+++ b/src/serialization/types/WidgetConfigOutputSyntaxHighlightTheme.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const WidgetConfigOutputSyntaxHighlightTheme: core.serialization.Schema<
+ serializers.WidgetConfigOutputSyntaxHighlightTheme.Raw,
+ ElevenLabs.WidgetConfigOutputSyntaxHighlightTheme
+> = core.serialization.enum_(["light", "dark"]);
+
+export declare namespace WidgetConfigOutputSyntaxHighlightTheme {
+ export type Raw = "light" | "dark";
+}
diff --git a/src/serialization/types/WidgetConfigResponse.ts b/src/serialization/types/WidgetConfigResponse.ts
index 75bca5ae..7884e09f 100644
--- a/src/serialization/types/WidgetConfigResponse.ts
+++ b/src/serialization/types/WidgetConfigResponse.ts
@@ -6,6 +6,7 @@ import type * as serializers from "../index";
import { AllowlistItem } from "./AllowlistItem";
import { EmbedVariant } from "./EmbedVariant";
import { WidgetConfigResponseModelAvatar } from "./WidgetConfigResponseModelAvatar";
+import { WidgetConfigResponseModelSyntaxHighlightTheme } from "./WidgetConfigResponseModelSyntaxHighlightTheme";
import { WidgetEndFeedbackConfig } from "./WidgetEndFeedbackConfig";
import { WidgetExpandable } from "./WidgetExpandable";
import { WidgetFeedbackMode } from "./WidgetFeedbackMode";
@@ -73,6 +74,14 @@ export const WidgetConfigResponse: core.serialization.ObjectSchema<
),
defaultExpanded: core.serialization.property("default_expanded", core.serialization.boolean().optional()),
alwaysExpanded: core.serialization.property("always_expanded", core.serialization.boolean().optional()),
+ dismissible: core.serialization.boolean().optional(),
+ showAgentStatus: core.serialization.property("show_agent_status", core.serialization.boolean().optional()),
+ showConversationId: core.serialization.property("show_conversation_id", core.serialization.boolean().optional()),
+ stripAudioTags: core.serialization.property("strip_audio_tags", core.serialization.boolean().optional()),
+ syntaxHighlightTheme: core.serialization.property(
+ "syntax_highlight_theme",
+ WidgetConfigResponseModelSyntaxHighlightTheme.optional(),
+ ),
textContents: core.serialization.property("text_contents", WidgetTextContents.optional()),
styles: WidgetStyles.optional(),
language: core.serialization.string(),
@@ -129,6 +138,11 @@ export declare namespace WidgetConfigResponse {
conversation_mode_toggle_enabled?: boolean | null;
default_expanded?: boolean | null;
always_expanded?: boolean | null;
+ dismissible?: boolean | null;
+ show_agent_status?: boolean | null;
+ show_conversation_id?: boolean | null;
+ strip_audio_tags?: boolean | null;
+ syntax_highlight_theme?: WidgetConfigResponseModelSyntaxHighlightTheme.Raw | null;
text_contents?: WidgetTextContents.Raw | null;
styles?: WidgetStyles.Raw | null;
language: string;
diff --git a/src/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.ts b/src/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.ts
new file mode 100644
index 00000000..8dfe0fd4
--- /dev/null
+++ b/src/serialization/types/WidgetConfigResponseModelSyntaxHighlightTheme.ts
@@ -0,0 +1,14 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import type * as ElevenLabs from "../../api/index";
+import * as core from "../../core";
+import type * as serializers from "../index";
+
+export const WidgetConfigResponseModelSyntaxHighlightTheme: core.serialization.Schema<
+ serializers.WidgetConfigResponseModelSyntaxHighlightTheme.Raw,
+ ElevenLabs.WidgetConfigResponseModelSyntaxHighlightTheme
+> = core.serialization.enum_(["light", "dark"]);
+
+export declare namespace WidgetConfigResponseModelSyntaxHighlightTheme {
+ export type Raw = "light" | "dark";
+}
diff --git a/src/serialization/types/WidgetTextContents.ts b/src/serialization/types/WidgetTextContents.ts
index 8e837e47..dcb42d46 100644
--- a/src/serialization/types/WidgetTextContents.ts
+++ b/src/serialization/types/WidgetTextContents.ts
@@ -61,6 +61,17 @@ export const WidgetTextContents: core.serialization.ObjectSchema<
),
submit: core.serialization.string().optional(),
goBack: core.serialization.property("go_back", core.serialization.string().optional()),
+ sendMessage: core.serialization.property("send_message", core.serialization.string().optional()),
+ textMode: core.serialization.property("text_mode", core.serialization.string().optional()),
+ voiceMode: core.serialization.property("voice_mode", core.serialization.string().optional()),
+ switchedToTextMode: core.serialization.property("switched_to_text_mode", core.serialization.string().optional()),
+ switchedToVoiceMode: core.serialization.property("switched_to_voice_mode", core.serialization.string().optional()),
+ copy: core.serialization.string().optional(),
+ download: core.serialization.string().optional(),
+ wrap: core.serialization.string().optional(),
+ agentWorking: core.serialization.property("agent_working", core.serialization.string().optional()),
+ agentDone: core.serialization.property("agent_done", core.serialization.string().optional()),
+ agentError: core.serialization.property("agent_error", core.serialization.string().optional()),
});
export declare namespace WidgetTextContents {
@@ -97,5 +108,16 @@ export declare namespace WidgetTextContents {
follow_up_feedback_placeholder?: string | null;
submit?: string | null;
go_back?: string | null;
+ send_message?: string | null;
+ text_mode?: string | null;
+ voice_mode?: string | null;
+ switched_to_text_mode?: string | null;
+ switched_to_voice_mode?: string | null;
+ copy?: string | null;
+ download?: string | null;
+ wrap?: string | null;
+ agent_working?: string | null;
+ agent_done?: string | null;
+ agent_error?: string | null;
}
}
diff --git a/src/serialization/types/WorkspaceGroupPermission.ts b/src/serialization/types/WorkspaceGroupPermission.ts
index 7188957d..c2ba8219 100644
--- a/src/serialization/types/WorkspaceGroupPermission.ts
+++ b/src/serialization/types/WorkspaceGroupPermission.ts
@@ -26,6 +26,7 @@ export const WorkspaceGroupPermission: core.serialization.Schema<
"create_user_api_key",
"publish_studio_project",
"music",
+ "image_video_generation",
"share_voice_externally",
"publish_voice_to_voice_library",
"view_fiat_balance",
@@ -58,6 +59,7 @@ export declare namespace WorkspaceGroupPermission {
| "create_user_api_key"
| "publish_studio_project"
| "music"
+ | "image_video_generation"
| "share_voice_externally"
| "publish_voice_to_voice_library"
| "view_fiat_balance"
diff --git a/src/serialization/types/WorkspaceGroupResponseModel.ts b/src/serialization/types/WorkspaceGroupResponseModel.ts
index 1c04fcd4..7fe7c6a0 100644
--- a/src/serialization/types/WorkspaceGroupResponseModel.ts
+++ b/src/serialization/types/WorkspaceGroupResponseModel.ts
@@ -19,6 +19,7 @@ export const WorkspaceGroupResponseModel: core.serialization.ObjectSchema<
WorkspaceGroupResponseModelGroupUsageLimit.optional(),
),
characterCount: core.serialization.property("character_count", core.serialization.number().optional()),
+ scimExternalId: core.serialization.property("scim_external_id", core.serialization.string().optional()),
});
export declare namespace WorkspaceGroupResponseModel {
@@ -29,5 +30,6 @@ export declare namespace WorkspaceGroupResponseModel {
permissions?: WorkspaceGroupPermission.Raw[] | null;
group_usage_limit?: WorkspaceGroupResponseModelGroupUsageLimit.Raw | null;
character_count?: number | null;
+ scim_external_id?: string | null;
}
}
diff --git a/src/serialization/types/WorkspaceResourceType.ts b/src/serialization/types/WorkspaceResourceType.ts
index f2a93741..d5b3ea56 100644
--- a/src/serialization/types/WorkspaceResourceType.ts
+++ b/src/serialization/types/WorkspaceResourceType.ts
@@ -32,6 +32,8 @@ export const WorkspaceResourceType: core.serialization.Schema<
"convai_agent_versions",
"convai_agent_branches",
"convai_agent_versions_deployments",
+ "convai_memory_entries",
+ "convai_coaching_proposals",
"dashboard",
"dashboard_configuration",
"convai_agent_drafts",
@@ -39,6 +41,7 @@ export const WorkspaceResourceType: core.serialization.Schema<
"assets",
"content_generations",
"content_templates",
+ "songs",
]);
export declare namespace WorkspaceResourceType {
@@ -67,11 +70,14 @@ export declare namespace WorkspaceResourceType {
| "convai_agent_versions"
| "convai_agent_branches"
| "convai_agent_versions_deployments"
+ | "convai_memory_entries"
+ | "convai_coaching_proposals"
| "dashboard"
| "dashboard_configuration"
| "convai_agent_drafts"
| "resource_locators"
| "assets"
| "content_generations"
- | "content_templates";
+ | "content_templates"
+ | "songs";
}
diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts
index f050f361..1636b28f 100644
--- a/src/serialization/types/index.ts
+++ b/src/serialization/types/index.ts
@@ -38,6 +38,8 @@ export * from "./AgentSortBy";
export * from "./AgentSuccessfulResponseExample";
export * from "./AgentSummaryBatchSuccessfulResponseModel";
export * from "./AgentSummaryResponseModel";
+export * from "./AgentTestEntityType";
+export * from "./AgentTestFolderPathSegmentResponseModel";
export * from "./AgentTestingSettings";
export * from "./AgentTransfer";
export * from "./AgentVersionMetadata";
@@ -49,13 +51,14 @@ export * from "./AgentWorkflowResponseModelNodesValue";
export * from "./AgentWorkspaceOverridesInput";
export * from "./AgentWorkspaceOverridesOutput";
export * from "./Alignment";
-export * from "./AlignmentGuardrail";
export * from "./AllowedOutputFormats";
export * from "./AllowlistItem";
export * from "./ApiIntegrationWebhookOverridesInput";
export * from "./ApiIntegrationWebhookOverridesInputRequestHeadersValue";
+export * from "./ApiIntegrationWebhookOverridesInputSchemaOverridesValue";
export * from "./ApiIntegrationWebhookOverridesOutput";
export * from "./ApiIntegrationWebhookOverridesOutputRequestHeadersValue";
+export * from "./ApiIntegrationWebhookOverridesOutputSchemaOverridesValue";
export * from "./ApiIntegrationWebhookToolConfigInput";
export * from "./ApiIntegrationWebhookToolConfigOutput";
export * from "./ArrayJsonSchemaPropertyInput";
@@ -147,8 +150,6 @@ export * from "./BatchCallStatus";
export * from "./BatchCallWhatsAppParams";
export * from "./BatchFailureResponseModel";
export * from "./BillingPeriod";
-export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostAge";
-export * from "./BodyGenerateARandomVoiceV1VoiceGenerationGenerateVoicePostGender";
export * from "./BranchProtectionStatus";
export * from "./BreakdownTypes";
export * from "./BuiltInToolsInput";
@@ -195,19 +196,29 @@ export * from "./CharacterAlignmentModel";
export * from "./CharacterAlignmentResponseModel";
export * from "./CharacterRefreshPeriod";
export * from "./CharacterUsageResponse";
+export * from "./ChatSourceMedium";
export * from "./ClientEvent";
export * from "./ClientToolConfigInput";
export * from "./ClientToolConfigOutput";
+export * from "./ClipAnimation";
+export * from "./ClipAnimationEnterEffect";
+export * from "./ClipAnimationExitEffect";
export * from "./CloseConnection";
export * from "./CloseContext";
export * from "./CloseSocket";
+export * from "./CoachedAgentSettings";
+export * from "./CoachingAgentSettings";
export * from "./CommittedTranscriptPayload";
export * from "./CommittedTranscriptWithTimestampsPayload";
+export * from "./ConfigEntityType";
+export * from "./ConstantSchemaOverride";
+export * from "./ConstantSchemaOverrideConstantValue";
export * from "./ContentConfig";
export * from "./ContentGuardrailInput";
export * from "./ContentGuardrailOutput";
export * from "./Contributor";
export * from "./ConvAiDynamicVariable";
+export * from "./ConvAiFileUploadResponseModel";
export * from "./ConvAiSecretLocator";
export * from "./ConvAiStoredSecretDependencies";
export * from "./ConvAiStoredSecretDependenciesAgentsItem";
@@ -240,19 +251,22 @@ export * from "./ConversationHistoryMetadataCommonModelPhoneCall";
export * from "./ConversationHistoryMultivoiceMessageModel";
export * from "./ConversationHistoryMultivoiceMessagePartModel";
export * from "./ConversationHistoryRagUsageCommonModel";
+export * from "./ConversationHistoryRedactionConfig";
export * from "./ConversationHistorySipTrunkingPhoneCallModel";
export * from "./ConversationHistorySipTrunkingPhoneCallModelDirection";
export * from "./ConversationHistoryTranscriptApiIntegrationWebhookToolsResultCommonModel";
export * from "./ConversationHistoryTranscriptCommonModelInput";
export * from "./ConversationHistoryTranscriptCommonModelInputRole";
-export * from "./ConversationHistoryTranscriptCommonModelInputSourceMedium";
export * from "./ConversationHistoryTranscriptCommonModelInputToolResultsItem";
export * from "./ConversationHistoryTranscriptCommonModelOutput";
export * from "./ConversationHistoryTranscriptCommonModelOutputRole";
-export * from "./ConversationHistoryTranscriptCommonModelOutputSourceMedium";
export * from "./ConversationHistoryTranscriptCommonModelOutputToolResultsItem";
+export * from "./ConversationHistoryTranscriptFileInputResponseModel";
export * from "./ConversationHistoryTranscriptOtherToolsResultCommonModel";
export * from "./ConversationHistoryTranscriptOtherToolsResultCommonModelType";
+export * from "./ConversationHistoryTranscriptResponseModel";
+export * from "./ConversationHistoryTranscriptResponseModelRole";
+export * from "./ConversationHistoryTranscriptResponseModelToolResultsItem";
export * from "./ConversationHistoryTranscriptSystemToolResultCommonModelInput";
export * from "./ConversationHistoryTranscriptSystemToolResultCommonModelInputResult";
export * from "./ConversationHistoryTranscriptSystemToolResultCommonModelOutput";
@@ -297,14 +311,18 @@ export * from "./CreateAgentBranchResponseModel";
export * from "./CreateAgentResponseModel";
export * from "./CreateAgentTestResponseModel";
export * from "./CreateAudioNativeProjectRequest";
+export * from "./CreateClientParams";
export * from "./CreatePhoneNumberResponseModel";
export * from "./CreatePreviouslyGeneratedVoiceRequest";
+export * from "./CreateProductParams";
export * from "./CreatePronunciationDictionaryResponseModel";
export * from "./CreateResponseUnitTestRequest";
export * from "./CreateResponseUnitTestRequestDynamicVariablesValue";
+export * from "./CreateServiceParams";
export * from "./CreateSimulationTestRequest";
export * from "./CreateSimulationTestRequestDynamicVariablesValue";
export * from "./CreateSipTrunkPhoneNumberRequest";
+export * from "./CreateStaffParams";
export * from "./CreateToolCallUnitTestRequest";
export * from "./CreateToolCallUnitTestRequestDynamicVariablesValue";
export * from "./CreateTranscriptRequest";
@@ -327,11 +345,15 @@ export * from "./DefaultSharingGroupResponseModel";
export * from "./DefaultSharingGroupResponseModelPermissionLevel";
export * from "./DeleteChapterRequest";
export * from "./DeleteChapterResponseModel";
+export * from "./DeleteClientParams";
export * from "./DeleteDubbingResponseModel";
export * from "./DeleteHistoryItemResponse";
+export * from "./DeleteProductParams";
export * from "./DeleteProjectRequest";
export * from "./DeleteProjectResponseModel";
export * from "./DeleteSampleResponse";
+export * from "./DeleteServiceParams";
+export * from "./DeleteStaffParams";
export * from "./DeleteVoiceResponseModel";
export * from "./DeleteVoiceSampleResponseModel";
export * from "./DeleteWorkspaceGroupMemberResponseModel";
@@ -341,6 +363,7 @@ export * from "./DependentAvailableAgentIdentifier";
export * from "./DependentAvailableAgentIdentifierAccessLevel";
export * from "./DependentAvailableToolIdentifier";
export * from "./DependentAvailableToolIdentifierAccessLevel";
+export * from "./DependentBranchInfo";
export * from "./DependentPhoneNumberIdentifier";
export * from "./DependentUnknownAgentIdentifier";
export * from "./DependentUnknownToolIdentifier";
@@ -373,6 +396,7 @@ export * from "./DubbingTranscriptsResponseModelTranscriptFormat";
export * from "./DubbingTranscriptUtterance";
export * from "./DubbingTranscriptWord";
export * from "./DynamicVariableAssignment";
+export * from "./DynamicVariableSchemaOverride";
export * from "./DynamicVariablesConfig";
export * from "./DynamicVariablesConfigDynamicVariablePlaceholdersValue";
export * from "./DynamicVariablesConfigWorkflowOverride";
@@ -401,16 +425,19 @@ export * from "./FinalOutputMulti";
export * from "./FineTuningResponse";
export * from "./FineTuningResponseModelStateValue";
export * from "./FlushContext";
+export * from "./FocusGuardrail";
export * from "./ForcedAlignmentCharacterResponseModel";
export * from "./ForcedAlignmentResponseModel";
export * from "./ForcedAlignmentWordResponseModel";
export * from "./Gender";
export * from "./GenerateVoiceRequest";
export * from "./GenerationConfig";
+export * from "./GenerationSourceContext";
export * from "./GetAgentEmbedResponseModel";
export * from "./GetAgentKnowledgebaseSizeResponseModel";
export * from "./GetAgentLinkResponseModel";
export * from "./GetAgentResponseModel";
+export * from "./GetAgentResponseModelCoachingSettings";
export * from "./GetAgentResponseModelPhoneNumbersItem";
export * from "./GetAgentsPageResponseModel";
export * from "./GetAudioNativeProjectSettingsResponseModel";
@@ -418,6 +445,7 @@ export * from "./GetChapterRequest";
export * from "./GetChapterSnapshotsRequest";
export * from "./GetChaptersRequest";
export * from "./GetChaptersResponse";
+export * from "./GetClientByPhoneParams";
export * from "./GetConvAiDashboardSettingsResponseModel";
export * from "./GetConvAiDashboardSettingsResponseModelChartsItem";
export * from "./GetConvAiSettingsResponseModel";
@@ -515,9 +543,14 @@ export * from "./LanguagePresetTranslation";
export * from "./LanguageResponse";
export * from "./LibraryVoiceResponse";
export * from "./LibraryVoiceResponseModelCategory";
+export * from "./ListAssetsParams";
+export * from "./ListClientsParams";
export * from "./ListMcpToolsResponseModel";
+export * from "./ListProductsParams";
export * from "./ListResponseAgentBranchSummary";
export * from "./ListResponseMeta";
+export * from "./ListServicesParams";
+export * from "./ListStaffParams";
export * from "./ListWhatsAppAccountsResponse";
export * from "./LiteralJsonSchemaProperty";
export * from "./LiteralJsonSchemaPropertyConstantValue";
@@ -527,9 +560,16 @@ export * from "./LiteralOverrideConstantValue";
export * from "./LivekitStackType";
export * from "./Llm";
export * from "./LlmCategoryUsage";
+export * from "./LlmDeprecationConfigModel";
+export * from "./LlmDeprecationInfoModel";
+export * from "./LlmInfoModelInput";
+export * from "./LlmInfoModelOutput";
export * from "./LlmInputOutputTokensUsage";
+export * from "./LlmListResponseModelInput";
+export * from "./LlmListResponseModelOutput";
export * from "./LlmParameterEvaluationStrategy";
export * from "./LlmReasoningEffort";
+export * from "./LlmSchemaOverride";
export * from "./LlmTokensCategoryUsage";
export * from "./LlmUsageCalculatorLlmResponseModel";
export * from "./LlmUsageCalculatorResponseModel";
@@ -555,7 +595,10 @@ export * from "./McpServerTransport";
export * from "./McpToolApprovalHash";
export * from "./McpToolApprovalPolicy";
export * from "./McpToolConfigOverride";
+export * from "./McpToolConfigOverrideInputOverridesValue";
export * from "./MergingStrategy";
+export * from "./MessagesSearchResponse";
+export * from "./MessagesSearchResult";
export * from "./MetricRecord";
export * from "./MetricType";
export * from "./Model";
@@ -567,7 +610,9 @@ export * from "./ModerationGuardrailOutput";
export * from "./MultichannelSpeechToTextResponseModel";
export * from "./MultipartMusicResponse";
export * from "./MultiSourceConfigJson";
+export * from "./MusicExploreSongSourceContext";
export * from "./MusicPrompt";
+export * from "./NoCoachingSettings";
export * from "./NonStreamingOutputFormats";
export * from "./NormalizedAlignment";
export * from "./ObjectJsonSchemaPropertyInput";
@@ -616,9 +661,9 @@ export * from "./PostDialDigitsDynamicVariable";
export * from "./PostDialDigitsStatic";
export * from "./PostWorkspaceSecretResponseModel";
export * from "./PreviewAudioDbModel";
-export * from "./PrivacyConfig";
-export * from "./ProcedureDraftRef";
-export * from "./ProcedureVersionRef";
+export * from "./PrivacyConfigInput";
+export * from "./PrivacyConfigOutput";
+export * from "./ProcedureRefResponseModel";
export * from "./ProjectCreationMetaResponseModel";
export * from "./ProjectCreationMetaResponseModelStatus";
export * from "./ProjectCreationMetaResponseModelType";
@@ -632,6 +677,7 @@ export * from "./ProjectExtendedResponseModelQualityPreset";
export * from "./ProjectExtendedResponseModelSourceType";
export * from "./ProjectExtendedResponseModelTargetAudience";
export * from "./ProjectExternalAudioResponseModel";
+export * from "./ProjectExternalAudioResponseModelSourceContext";
export * from "./ProjectImageResponseModel";
export * from "./ProjectMutedTracksResponseModel";
export * from "./ProjectResponse";
@@ -664,6 +710,7 @@ export * from "./PromptAgentApiModelWorkflowOverrideOutputBackupLlmConfig";
export * from "./PromptAgentApiModelWorkflowOverrideOutputToolsItem";
export * from "./PromptAgentDbModel";
export * from "./PromptEvaluationCriteria";
+export * from "./PromptInjectionGuardrail";
export * from "./PronunciationDictionaryAliasRuleRequestModel";
export * from "./PronunciationDictionaryAliasRuleResponseModel";
export * from "./PronunciationDictionaryLocator";
@@ -696,6 +743,7 @@ export * from "./RealtimeVoiceSettings";
export * from "./RecordingResponse";
export * from "./ReferencedToolCommonModel";
export * from "./ReferencedToolCommonModelType";
+export * from "./ReferenceVideo";
export * from "./RegexParameterEvaluationStrategy";
export * from "./RegionConfigRequest";
export * from "./RemoveMemberFromGroupRequest";
@@ -707,6 +755,7 @@ export * from "./ResourceAccessInfo";
export * from "./ResourceAccessInfoRole";
export * from "./ResourceMetadataResponseModel";
export * from "./ResourceMetadataResponseModelAnonymousAccessLevelOverride";
+export * from "./ResponseFilter";
export * from "./ResponseFilterMode";
export * from "./ResponseUnitTestModel";
export * from "./ResponseUnitTestModelDynamicVariablesValue";
@@ -721,6 +770,10 @@ export * from "./SafetyRule";
export * from "./SampleConfigDbModel";
export * from "./SampleConfigDbModelParentType";
export * from "./SaveVoicePreviewRequest";
+export * from "./SayNodeLiteralMessageInput";
+export * from "./SayNodeLiteralMessageOutput";
+export * from "./SayNodePromptMessageInput";
+export * from "./SayNodePromptMessageOutput";
export * from "./ScribeAuthErrorPayload";
export * from "./ScribeChunkSizeExceededErrorPayload";
export * from "./ScribeErrorPayload";
@@ -734,6 +787,7 @@ export * from "./ScribeSessionTimeLimitExceededErrorPayload";
export * from "./ScribeThrottledErrorPayload";
export * from "./ScribeTranscriberErrorPayload";
export * from "./ScribeUnacceptedTermsErrorPayload";
+export * from "./SearchClientsParams";
export * from "./SearchDocumentationToolConfigInput";
export * from "./SearchDocumentationToolConfigOutput";
export * from "./SeatType";
@@ -753,6 +807,7 @@ export * from "./SendTextMulti";
export * from "./SessionStartedPayload";
export * from "./SessionStartedPayloadConfig";
export * from "./SessionStartedPayloadConfigCommitStrategy";
+export * from "./SfxSourceContext";
export * from "./ShareOptionResponseModel";
export * from "./ShareOptionResponseModelType";
export * from "./SimilarVoice";
@@ -776,6 +831,7 @@ export * from "./SoftTimeoutConfigOverrideConfig";
export * from "./SoftTimeoutConfigWorkflowOverride";
export * from "./SongMetadata";
export * from "./SongSection";
+export * from "./SongSourceContext";
export * from "./SortDirection";
export * from "./SourceConfigJson";
export * from "./SourceRetrievalConfig";
@@ -801,6 +857,8 @@ export * from "./StartPvcVoiceTrainingResponseModel";
export * from "./StartSpeakerSeparationResponseModel";
export * from "./StreamingAudioChunkWithTimestampsAndVoiceSegmentsResponseModel";
export * from "./StreamingAudioChunkWithTimestampsResponse";
+export * from "./StudioClipReference";
+export * from "./StudioClipReferenceClipType";
export * from "./Subscription";
export * from "./SubscriptionResponse";
export * from "./SubscriptionResponseModelCurrency";
@@ -896,12 +954,16 @@ export * from "./UnitTestToolCallParameterEval";
export * from "./UnitTestWorkflowNodeTransitionEvaluationNodeId";
export * from "./UpdateAudioNativeProjectRequest";
export * from "./UpdateChapterRequest";
+export * from "./UpdateClientParams";
+export * from "./UpdateProductParams";
export * from "./UpdateProjectRequest";
export * from "./UpdatePronunciationDictionariesRequest";
export * from "./UpdateResponseUnitTestRequest";
export * from "./UpdateResponseUnitTestRequestDynamicVariablesValue";
+export * from "./UpdateServiceParams";
export * from "./UpdateSimulationTestRequest";
export * from "./UpdateSimulationTestRequestDynamicVariablesValue";
+export * from "./UpdateStaffParams";
export * from "./UpdateToolCallUnitTestRequest";
export * from "./UpdateToolCallUnitTestRequestDynamicVariablesValue";
export * from "./UpdateWorkspaceMemberResponseModel";
@@ -972,9 +1034,12 @@ export * from "./WhatsAppTemplateLocationParamDetails";
export * from "./WhatsAppTemplateTextParam";
export * from "./WidgetConfig";
export * from "./WidgetConfigInputAvatar";
+export * from "./WidgetConfigInputSyntaxHighlightTheme";
export * from "./WidgetConfigOutputAvatar";
+export * from "./WidgetConfigOutputSyntaxHighlightTheme";
export * from "./WidgetConfigResponse";
export * from "./WidgetConfigResponseModelAvatar";
+export * from "./WidgetConfigResponseModelSyntaxHighlightTheme";
export * from "./WidgetEndFeedbackConfig";
export * from "./WidgetEndFeedbackType";
export * from "./WidgetExpandable";
diff --git a/src/version.ts b/src/version.ts
index 9b04da90..19ae99e8 100644
--- a/src/version.ts
+++ b/src/version.ts
@@ -1 +1 @@
-export const SDK_VERSION = "v2.36.0";
+export const SDK_VERSION = "v2.37.0";
diff --git a/tests/wire/audioNative.test.ts b/tests/wire/audioNative.test.ts
index 76349fb6..7a213f7b 100644
--- a/tests/wire/audioNative.test.ts
+++ b/tests/wire/audioNative.test.ts
@@ -50,4 +50,34 @@ describe("AudioNativeClient", () => {
},
});
});
+
+ test("update_content_from_url", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ElevenLabsClient({ maxRetries: 0, apiKey: "test", environment: server.baseUrl });
+ const rawRequestBody = { url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/" };
+ const rawResponseBody = {
+ project_id: "JBFqnCBsd6RMkjVDRZzb",
+ converting: false,
+ publishing: false,
+ html_snippet: "",
+ };
+ server
+ .mockEndpoint()
+ .post("/v1/audio-native/content")
+ .jsonBody(rawRequestBody)
+ .respondWith()
+ .statusCode(200)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ const response = await client.audioNative.updateContentFromUrl({
+ url: "https://elevenlabs.io/blog/the_first_ai_that_can_laugh/",
+ });
+ expect(response).toEqual({
+ projectId: "JBFqnCBsd6RMkjVDRZzb",
+ converting: false,
+ publishing: false,
+ htmlSnippet: "",
+ });
+ });
});
diff --git a/tests/wire/conversationalAi.test.ts b/tests/wire/conversationalAi.test.ts
index 3e9951cd..bc4b398f 100644
--- a/tests/wire/conversationalAi.test.ts
+++ b/tests/wire/conversationalAi.test.ts
@@ -43,7 +43,7 @@ describe("ConversationalAiClient", () => {
{
id: "id",
model: "e5_mistral_7b_instruct",
- status: "created",
+ status: "new",
progress_percentage: 1.1,
document_model_index_usage: { used_bytes: 1 },
},
@@ -63,7 +63,7 @@ describe("ConversationalAiClient", () => {
{
id: "id",
model: "e5_mistral_7b_instruct",
- status: "created",
+ status: "new",
progressPercentage: 1.1,
documentModelIndexUsage: {
usedBytes: 1,
@@ -80,7 +80,7 @@ describe("ConversationalAiClient", () => {
const rawResponseBody = {
id: "id",
model: "e5_mistral_7b_instruct",
- status: "created",
+ status: "new",
progress_percentage: 1.1,
document_model_index_usage: { used_bytes: 1 },
};
@@ -99,7 +99,7 @@ describe("ConversationalAiClient", () => {
expect(response).toEqual({
id: "id",
model: "e5_mistral_7b_instruct",
- status: "created",
+ status: "new",
progressPercentage: 1.1,
documentModelIndexUsage: {
usedBytes: 1,
diff --git a/tests/wire/conversationalAi/agents.test.ts b/tests/wire/conversationalAi/agents.test.ts
index 0723c5af..bc558e03 100644
--- a/tests/wire/conversationalAi/agents.test.ts
+++ b/tests/wire/conversationalAi/agents.test.ts
@@ -152,6 +152,11 @@ describe("AgentsClient", () => {
conversation_mode_toggle_enabled: true,
default_expanded: true,
always_expanded: true,
+ dismissible: true,
+ show_agent_status: true,
+ show_conversation_id: true,
+ strip_audio_tags: true,
+ syntax_highlight_theme: "light",
language_selector: false,
supports_text_only: true,
custom_avatar_path: "https://example.com/avatar.png",
@@ -172,6 +177,7 @@ describe("AgentsClient", () => {
attached_tests: [{ test_id: "test_123", workflow_node_id: "node_abc" }, { test_id: "test_456" }],
},
archived: true,
+ summary_language: "summary_language",
auth: {
enable_auth: true,
allowlist: [{ hostname: "https://example.com" }],
@@ -639,6 +645,7 @@ describe("AgentsClient", () => {
version_id: "version_id",
branch_id: "branch_id",
main_branch_id: "main_branch_id",
+ coaching_settings: { type: "coached", memory_base_id: "memory_base_id" },
};
server
.mockEndpoint()
@@ -821,6 +828,11 @@ describe("AgentsClient", () => {
conversationModeToggleEnabled: true,
defaultExpanded: true,
alwaysExpanded: true,
+ dismissible: true,
+ showAgentStatus: true,
+ showConversationId: true,
+ stripAudioTags: true,
+ syntaxHighlightTheme: "light",
languageSelector: false,
supportsTextOnly: true,
customAvatarPath: "https://example.com/avatar.png",
@@ -858,6 +870,7 @@ describe("AgentsClient", () => {
],
},
archived: true,
+ summaryLanguage: "summary_language",
auth: {
enableAuth: true,
allowlist: [
@@ -1517,6 +1530,10 @@ describe("AgentsClient", () => {
versionId: "version_id",
branchId: "branch_id",
mainBranchId: "main_branch_id",
+ coachingSettings: {
+ type: "coached",
+ memoryBaseId: "memory_base_id",
+ },
});
});
@@ -1661,6 +1678,11 @@ describe("AgentsClient", () => {
conversation_mode_toggle_enabled: true,
default_expanded: true,
always_expanded: true,
+ dismissible: true,
+ show_agent_status: true,
+ show_conversation_id: true,
+ strip_audio_tags: true,
+ syntax_highlight_theme: "light",
language_selector: false,
supports_text_only: true,
custom_avatar_path: "https://example.com/avatar.png",
@@ -1681,6 +1703,7 @@ describe("AgentsClient", () => {
attached_tests: [{ test_id: "test_123", workflow_node_id: "node_abc" }, { test_id: "test_456" }],
},
archived: true,
+ summary_language: "summary_language",
auth: {
enable_auth: true,
allowlist: [{ hostname: "https://example.com" }],
@@ -2148,6 +2171,7 @@ describe("AgentsClient", () => {
version_id: "version_id",
branch_id: "branch_id",
main_branch_id: "main_branch_id",
+ coaching_settings: { type: "coached", memory_base_id: "memory_base_id" },
};
server
.mockEndpoint()
@@ -2330,6 +2354,11 @@ describe("AgentsClient", () => {
conversationModeToggleEnabled: true,
defaultExpanded: true,
alwaysExpanded: true,
+ dismissible: true,
+ showAgentStatus: true,
+ showConversationId: true,
+ stripAudioTags: true,
+ syntaxHighlightTheme: "light",
languageSelector: false,
supportsTextOnly: true,
customAvatarPath: "https://example.com/avatar.png",
@@ -2367,6 +2396,7 @@ describe("AgentsClient", () => {
],
},
archived: true,
+ summaryLanguage: "summary_language",
auth: {
enableAuth: true,
allowlist: [
@@ -3026,6 +3056,10 @@ describe("AgentsClient", () => {
versionId: "version_id",
branchId: "branch_id",
mainBranchId: "main_branch_id",
+ coachingSettings: {
+ type: "coached",
+ memoryBaseId: "memory_base_id",
+ },
});
});
@@ -3154,6 +3188,12 @@ describe("AgentsClient", () => {
interrupted: true,
original_message: "original_message",
source_medium: "audio",
+ file_input: {
+ file_id: "file_id",
+ original_filename: "original_filename",
+ mime_type: "mime_type",
+ file_url: "file_url",
+ },
},
],
analysis: {
@@ -3256,6 +3296,12 @@ describe("AgentsClient", () => {
interrupted: true,
originalMessage: "original_message",
sourceMedium: "audio",
+ fileInput: {
+ fileId: "file_id",
+ originalFilename: "original_filename",
+ mimeType: "mime_type",
+ fileUrl: "file_url",
+ },
},
],
analysis: {
diff --git a/tests/wire/conversationalAi/agents/widget.test.ts b/tests/wire/conversationalAi/agents/widget.test.ts
index 3984cc82..d4220829 100644
--- a/tests/wire/conversationalAi/agents/widget.test.ts
+++ b/tests/wire/conversationalAi/agents/widget.test.ts
@@ -48,6 +48,11 @@ describe("WidgetClient", () => {
conversation_mode_toggle_enabled: true,
default_expanded: true,
always_expanded: true,
+ dismissible: true,
+ show_agent_status: true,
+ show_conversation_id: true,
+ strip_audio_tags: true,
+ syntax_highlight_theme: "light",
text_contents: {
main_label: "main_label",
start_call: "start_call",
@@ -81,6 +86,17 @@ describe("WidgetClient", () => {
follow_up_feedback_placeholder: "follow_up_feedback_placeholder",
submit: "submit",
go_back: "go_back",
+ send_message: "send_message",
+ text_mode: "text_mode",
+ voice_mode: "voice_mode",
+ switched_to_text_mode: "switched_to_text_mode",
+ switched_to_voice_mode: "switched_to_voice_mode",
+ copy: "copy",
+ download: "download",
+ wrap: "wrap",
+ agent_working: "agent_working",
+ agent_done: "agent_done",
+ agent_error: "agent_error",
},
styles: {
base: "base",
@@ -174,6 +190,11 @@ describe("WidgetClient", () => {
conversationModeToggleEnabled: true,
defaultExpanded: true,
alwaysExpanded: true,
+ dismissible: true,
+ showAgentStatus: true,
+ showConversationId: true,
+ stripAudioTags: true,
+ syntaxHighlightTheme: "light",
textContents: {
mainLabel: "main_label",
startCall: "start_call",
@@ -207,6 +228,17 @@ describe("WidgetClient", () => {
followUpFeedbackPlaceholder: "follow_up_feedback_placeholder",
submit: "submit",
goBack: "go_back",
+ sendMessage: "send_message",
+ textMode: "text_mode",
+ voiceMode: "voice_mode",
+ switchedToTextMode: "switched_to_text_mode",
+ switchedToVoiceMode: "switched_to_voice_mode",
+ copy: "copy",
+ download: "download",
+ wrap: "wrap",
+ agentWorking: "agent_working",
+ agentDone: "agent_done",
+ agentError: "agent_error",
},
styles: {
base: "base",
diff --git a/tests/wire/conversationalAi/conversations/files.test.ts b/tests/wire/conversationalAi/conversations/files.test.ts
new file mode 100644
index 00000000..90348910
--- /dev/null
+++ b/tests/wire/conversationalAi/conversations/files.test.ts
@@ -0,0 +1,25 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import { ElevenLabsClient } from "../../../../src/Client";
+import { mockServerPool } from "../../../mock-server/MockServerPool";
+
+describe("FilesClient", () => {
+ test("delete", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ElevenLabsClient({ maxRetries: 0, apiKey: "test", environment: server.baseUrl });
+
+ const rawResponseBody = { file_id: "file_id" };
+ server
+ .mockEndpoint()
+ .delete("/v1/convai/conversations/conversation_id/files/file_id")
+ .respondWith()
+ .statusCode(200)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ const response = await client.conversationalAi.conversations.files.delete("conversation_id", "file_id");
+ expect(response).toEqual({
+ fileId: "file_id",
+ });
+ });
+});
diff --git a/tests/wire/conversationalAi/conversations/messages.test.ts b/tests/wire/conversationalAi/conversations/messages.test.ts
new file mode 100644
index 00000000..9c508263
--- /dev/null
+++ b/tests/wire/conversationalAi/conversations/messages.test.ts
@@ -0,0 +1,130 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import { ElevenLabsClient } from "../../../../src/Client";
+import { mockServerPool } from "../../../mock-server/MockServerPool";
+
+describe("MessagesClient", () => {
+ test("text_search", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ElevenLabsClient({ maxRetries: 0, apiKey: "test", environment: server.baseUrl });
+
+ const rawResponseBody = {
+ meta: { total: 1, page: 1, page_size: 1 },
+ results: [
+ {
+ conversation_id: "conversation_id",
+ agent_id: "agent_id",
+ agent_name: "agent_name",
+ transcript_index: 1,
+ chunk_text: "chunk_text",
+ score: 1.1,
+ conversation_start_time_unix_secs: 1,
+ },
+ ],
+ next_cursor: "next_cursor",
+ has_more: true,
+ };
+ server
+ .mockEndpoint()
+ .get("/v1/convai/conversations/messages/text-search")
+ .respondWith()
+ .statusCode(200)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ const response = await client.conversationalAi.conversations.messages.textSearch({
+ textQuery: "refund policy",
+ agentId: "agent_id",
+ callSuccessful: "success",
+ callStartBeforeUnix: 1,
+ callStartAfterUnix: 1,
+ callDurationMinSecs: 1,
+ callDurationMaxSecs: 1,
+ ratingMax: 1,
+ ratingMin: 1,
+ hasFeedbackComment: true,
+ userId: "user_id",
+ pageSize: 1,
+ summaryMode: "exclude",
+ conversationInitiationSource: "unknown",
+ branchId: "branch_id",
+ cursor: "cursor",
+ });
+ expect(response).toEqual({
+ meta: {
+ total: 1,
+ page: 1,
+ pageSize: 1,
+ },
+ results: [
+ {
+ conversationId: "conversation_id",
+ agentId: "agent_id",
+ agentName: "agent_name",
+ transcriptIndex: 1,
+ chunkText: "chunk_text",
+ score: 1.1,
+ conversationStartTimeUnixSecs: 1,
+ },
+ ],
+ nextCursor: "next_cursor",
+ hasMore: true,
+ });
+ });
+
+ test("search", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ElevenLabsClient({ maxRetries: 0, apiKey: "test", environment: server.baseUrl });
+
+ const rawResponseBody = {
+ meta: { total: 1, page: 1, page_size: 1 },
+ results: [
+ {
+ conversation_id: "conversation_id",
+ agent_id: "agent_id",
+ agent_name: "agent_name",
+ transcript_index: 1,
+ chunk_text: "chunk_text",
+ score: 1.1,
+ conversation_start_time_unix_secs: 1,
+ },
+ ],
+ next_cursor: "next_cursor",
+ has_more: true,
+ };
+ server
+ .mockEndpoint()
+ .get("/v1/convai/conversations/messages/smart-search")
+ .respondWith()
+ .statusCode(200)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ const response = await client.conversationalAi.conversations.messages.search({
+ textQuery: "Customer asking to cancel and get money back",
+ agentId: "agent_id",
+ pageSize: 1,
+ cursor: "cursor",
+ });
+ expect(response).toEqual({
+ meta: {
+ total: 1,
+ page: 1,
+ pageSize: 1,
+ },
+ results: [
+ {
+ conversationId: "conversation_id",
+ agentId: "agent_id",
+ agentName: "agent_name",
+ transcriptIndex: 1,
+ chunkText: "chunk_text",
+ score: 1.1,
+ conversationStartTimeUnixSecs: 1,
+ },
+ ],
+ nextCursor: "next_cursor",
+ hasMore: true,
+ });
+ });
+});
diff --git a/tests/wire/conversationalAi/knowledgeBase.test.ts b/tests/wire/conversationalAi/knowledgeBase.test.ts
index bc40cf0f..02c24c5e 100644
--- a/tests/wire/conversationalAi/knowledgeBase.test.ts
+++ b/tests/wire/conversationalAi/knowledgeBase.test.ts
@@ -103,7 +103,7 @@ describe("KnowledgeBaseClient", () => {
data: {
id: "id",
model: "e5_mistral_7b_instruct",
- status: "created",
+ status: "new",
progress_percentage: 1.1,
document_model_index_usage: { used_bytes: 1 },
},
@@ -133,7 +133,7 @@ describe("KnowledgeBaseClient", () => {
data: {
id: "id",
model: "e5_mistral_7b_instruct",
- status: "created",
+ status: "new",
progressPercentage: 1.1,
documentModelIndexUsage: {
usedBytes: 1,
diff --git a/tests/wire/conversationalAi/knowledgeBase/document.test.ts b/tests/wire/conversationalAi/knowledgeBase/document.test.ts
index af9f9465..59116106 100644
--- a/tests/wire/conversationalAi/knowledgeBase/document.test.ts
+++ b/tests/wire/conversationalAi/knowledgeBase/document.test.ts
@@ -11,7 +11,7 @@ describe("DocumentClient", () => {
const rawResponseBody = {
id: "id",
model: "e5_mistral_7b_instruct",
- status: "created",
+ status: "new",
progress_percentage: 1.1,
document_model_index_usage: { used_bytes: 1 },
};
@@ -30,7 +30,7 @@ describe("DocumentClient", () => {
expect(response).toEqual({
id: "id",
model: "e5_mistral_7b_instruct",
- status: "created",
+ status: "new",
progressPercentage: 1.1,
documentModelIndexUsage: {
usedBytes: 1,
diff --git a/tests/wire/conversationalAi/knowledgeBase/documents.test.ts b/tests/wire/conversationalAi/knowledgeBase/documents.test.ts
index ac6a91df..1259935d 100644
--- a/tests/wire/conversationalAi/knowledgeBase/documents.test.ts
+++ b/tests/wire/conversationalAi/knowledgeBase/documents.test.ts
@@ -245,6 +245,15 @@ describe("DocumentsClient", () => {
access_level: "admin",
},
],
+ branches: [
+ {
+ agent_id: "agent_id",
+ agent_name: "agent_name",
+ branch_id: "branch_id",
+ branch_name: "branch_name",
+ is_main: true,
+ },
+ ],
next_cursor: "next_cursor",
has_more: true,
};
@@ -272,6 +281,15 @@ describe("DocumentsClient", () => {
accessLevel: "admin",
},
],
+ branches: [
+ {
+ agentId: "agent_id",
+ agentName: "agent_name",
+ branchId: "branch_id",
+ branchName: "branch_name",
+ isMain: true,
+ },
+ ],
nextCursor: "next_cursor",
hasMore: true,
});
diff --git a/tests/wire/conversationalAi/llm.test.ts b/tests/wire/conversationalAi/llm.test.ts
new file mode 100644
index 00000000..233c52e8
--- /dev/null
+++ b/tests/wire/conversationalAi/llm.test.ts
@@ -0,0 +1,95 @@
+// This file was auto-generated by Fern from our API Definition.
+
+import { ElevenLabsClient } from "../../../src/Client";
+import { mockServerPool } from "../../mock-server/MockServerPool";
+
+describe("LlmClient", () => {
+ test("list", async () => {
+ const server = mockServerPool.createServer();
+ const client = new ElevenLabsClient({ maxRetries: 0, apiKey: "test", environment: server.baseUrl });
+
+ const rawResponseBody = {
+ llms: [
+ {
+ llm: "gemini-2.5-flash",
+ is_checkpoint: false,
+ max_tokens_limit: 8192,
+ max_context_limit: 1048576,
+ supports_image_input: true,
+ supports_document_input: true,
+ supports_parallel_tool_calls: true,
+ available_reasoning_efforts: ["none"],
+ deprecation_info: {
+ llm: "gpt-4o-mini",
+ is_deprecated: true,
+ is_in_warning_period: true,
+ is_in_fallback_period: false,
+ fallback_percentage: 0,
+ provider_deprecation_date: "2025-06-01T00:00:00Z",
+ replacement_model: "gpt-4o",
+ deprecation_config: {
+ warning_start_days: 30,
+ fallback_start_days: 14,
+ fallback_complete_days: 7,
+ fallback_start_percentage: 25,
+ fallback_complete_percentage: 100,
+ },
+ },
+ },
+ ],
+ default_deprecation_config: {
+ warning_start_days: 30,
+ fallback_start_days: 14,
+ fallback_complete_days: 7,
+ fallback_start_percentage: 25,
+ fallback_complete_percentage: 100,
+ },
+ };
+ server
+ .mockEndpoint()
+ .get("/v1/convai/llm/list")
+ .respondWith()
+ .statusCode(200)
+ .jsonBody(rawResponseBody)
+ .build();
+
+ const response = await client.conversationalAi.llm.list();
+ expect(response).toEqual({
+ llms: [
+ {
+ llm: "gemini-2.5-flash",
+ isCheckpoint: false,
+ maxTokensLimit: 8192,
+ maxContextLimit: 1048576,
+ supportsImageInput: true,
+ supportsDocumentInput: true,
+ supportsParallelToolCalls: true,
+ availableReasoningEfforts: ["none"],
+ deprecationInfo: {
+ llm: "gpt-4o-mini",
+ isDeprecated: true,
+ isInWarningPeriod: true,
+ isInFallbackPeriod: false,
+ fallbackPercentage: 0,
+ providerDeprecationDate: new Date("2025-06-01T00:00:00.000Z"),
+ replacementModel: "gpt-4o",
+ deprecationConfig: {
+ warningStartDays: 30,
+ fallbackStartDays: 14,
+ fallbackCompleteDays: 7,
+ fallbackStartPercentage: 25,
+ fallbackCompletePercentage: 100,
+ },
+ },
+ },
+ ],
+ defaultDeprecationConfig: {
+ warningStartDays: 30,
+ fallbackStartDays: 14,
+ fallbackCompleteDays: 7,
+ fallbackStartPercentage: 25,
+ fallbackCompletePercentage: 100,
+ },
+ });
+ });
+});
diff --git a/tests/wire/conversationalAi/mcpServers.test.ts b/tests/wire/conversationalAi/mcpServers.test.ts
index 4754f1db..9c9b8d56 100644
--- a/tests/wire/conversationalAi/mcpServers.test.ts
+++ b/tests/wire/conversationalAi/mcpServers.test.ts
@@ -79,6 +79,7 @@ describe("McpServersClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -152,6 +153,9 @@ describe("McpServersClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
@@ -210,6 +214,7 @@ describe("McpServersClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -277,6 +282,9 @@ describe("McpServersClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
@@ -354,6 +362,7 @@ describe("McpServersClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -422,6 +431,9 @@ describe("McpServersClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
diff --git a/tests/wire/conversationalAi/mcpServers/approvalPolicy.test.ts b/tests/wire/conversationalAi/mcpServers/approvalPolicy.test.ts
index 42ca216e..cc9931a8 100644
--- a/tests/wire/conversationalAi/mcpServers/approvalPolicy.test.ts
+++ b/tests/wire/conversationalAi/mcpServers/approvalPolicy.test.ts
@@ -17,6 +17,7 @@ describe("ApprovalPolicyClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -87,6 +88,9 @@ describe("ApprovalPolicyClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
diff --git a/tests/wire/conversationalAi/mcpServers/toolApprovals.test.ts b/tests/wire/conversationalAi/mcpServers/toolApprovals.test.ts
index dd5345e5..46973263 100644
--- a/tests/wire/conversationalAi/mcpServers/toolApprovals.test.ts
+++ b/tests/wire/conversationalAi/mcpServers/toolApprovals.test.ts
@@ -17,6 +17,7 @@ describe("ToolApprovalsClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -88,6 +89,9 @@ describe("ToolApprovalsClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
@@ -146,6 +150,7 @@ describe("ToolApprovalsClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -213,6 +218,9 @@ describe("ToolApprovalsClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
diff --git a/tests/wire/conversationalAi/mcpServers/toolConfigs.test.ts b/tests/wire/conversationalAi/mcpServers/toolConfigs.test.ts
index b25f8dc2..0b276266 100644
--- a/tests/wire/conversationalAi/mcpServers/toolConfigs.test.ts
+++ b/tests/wire/conversationalAi/mcpServers/toolConfigs.test.ts
@@ -17,6 +17,7 @@ describe("ToolConfigsClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -87,6 +88,9 @@ describe("ToolConfigsClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
@@ -146,6 +150,7 @@ describe("ToolConfigsClient", () => {
assignments: [
{ source: "response", dynamic_variable: "user_name", value_path: "user.name", sanitize: false },
],
+ input_overrides: { key: { source: "constant", constant_value: "constant_value" } },
};
server
.mockEndpoint()
@@ -171,6 +176,12 @@ describe("ToolConfigsClient", () => {
sanitize: false,
},
],
+ inputOverrides: {
+ key: {
+ source: "constant",
+ constantValue: "constant_value",
+ },
+ },
});
});
@@ -187,6 +198,7 @@ describe("ToolConfigsClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -254,6 +266,9 @@ describe("ToolConfigsClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
@@ -312,6 +327,7 @@ describe("ToolConfigsClient", () => {
url: "url",
secret_token: { secret_id: "secret_id" },
request_headers: { key: "value" },
+ auth_connection: { auth_connection_id: "auth_connection_id" },
name: "name",
description: "description",
force_pre_tool_speech: true,
@@ -380,6 +396,9 @@ describe("ToolConfigsClient", () => {
requestHeaders: {
key: "value",
},
+ authConnection: {
+ authConnectionId: "auth_connection_id",
+ },
name: "name",
description: "description",
forcePreToolSpeech: true,
diff --git a/tests/wire/conversationalAi/tests.test.ts b/tests/wire/conversationalAi/tests.test.ts
index 327b079f..cfc29c3a 100644
--- a/tests/wire/conversationalAi/tests.test.ts
+++ b/tests/wire/conversationalAi/tests.test.ts
@@ -378,6 +378,10 @@ describe("TestsClient", () => {
created_at_unix_secs: 1,
last_updated_at_unix_secs: 1,
type: "llm",
+ entity_type: "test",
+ folder_parent_id: "folder_parent_id",
+ folder_path: [{ id: "id" }],
+ children_count: 1,
},
},
};
@@ -407,6 +411,14 @@ describe("TestsClient", () => {
createdAtUnixSecs: 1,
lastUpdatedAtUnixSecs: 1,
type: "llm",
+ entityType: "test",
+ folderParentId: "folder_parent_id",
+ folderPath: [
+ {
+ id: "id",
+ },
+ ],
+ childrenCount: 1,
},
},
});
@@ -430,6 +442,10 @@ describe("TestsClient", () => {
created_at_unix_secs: 1,
last_updated_at_unix_secs: 1,
type: "llm",
+ entity_type: "test",
+ folder_parent_id: "folder_parent_id",
+ folder_path: [{ id: "id" }],
+ children_count: 1,
},
],
next_cursor: "next_cursor",
@@ -447,6 +463,9 @@ describe("TestsClient", () => {
cursor: "cursor",
pageSize: 1,
search: "search",
+ parentFolderId: "parent_folder_id",
+ includeFolders: true,
+ sortMode: "default",
});
expect(response).toEqual({
tests: [
@@ -462,6 +481,14 @@ describe("TestsClient", () => {
createdAtUnixSecs: 1,
lastUpdatedAtUnixSecs: 1,
type: "llm",
+ entityType: "test",
+ folderParentId: "folder_parent_id",
+ folderPath: [
+ {
+ id: "id",
+ },
+ ],
+ childrenCount: 1,
},
],
nextCursor: "next_cursor",
diff --git a/tests/wire/conversationalAi/tools.test.ts b/tests/wire/conversationalAi/tools.test.ts
index 8eb74fb4..889c8759 100644
--- a/tests/wire/conversationalAi/tools.test.ts
+++ b/tests/wire/conversationalAi/tools.test.ts
@@ -436,6 +436,15 @@ describe("ToolsClient", () => {
access_level: "admin",
},
],
+ branches: [
+ {
+ agent_id: "agent_id",
+ agent_name: "agent_name",
+ branch_id: "branch_id",
+ branch_name: "branch_name",
+ is_main: true,
+ },
+ ],
next_cursor: "next_cursor",
has_more: true,
};
@@ -462,6 +471,15 @@ describe("ToolsClient", () => {
accessLevel: "admin",
},
],
+ branches: [
+ {
+ agentId: "agent_id",
+ agentName: "agent_name",
+ branchId: "branch_id",
+ branchName: "branch_name",
+ isMain: true,
+ },
+ ],
nextCursor: "next_cursor",
hasMore: true,
});
diff --git a/tests/wire/conversationalAi/users.test.ts b/tests/wire/conversationalAi/users.test.ts
index bbad46db..f0aaf778 100644
--- a/tests/wire/conversationalAi/users.test.ts
+++ b/tests/wire/conversationalAi/users.test.ts
@@ -15,8 +15,9 @@ describe("UsersClient", () => {
last_contact_unix_secs: 1,
first_contact_unix_secs: 1,
conversation_count: 1,
- last_agent_id: "last_agent_id",
- last_agent_name: "last_agent_name",
+ last_contact_agent_id: "last_contact_agent_id",
+ last_contact_conversation_id: "last_contact_conversation_id",
+ last_contact_agent_name: "last_contact_agent_name",
},
],
next_cursor: "next_cursor",
@@ -39,8 +40,9 @@ describe("UsersClient", () => {
lastContactUnixSecs: 1,
firstContactUnixSecs: 1,
conversationCount: 1,
- lastAgentId: "last_agent_id",
- lastAgentName: "last_agent_name",
+ lastContactAgentId: "last_contact_agent_id",
+ lastContactConversationId: "last_contact_conversation_id",
+ lastContactAgentName: "last_contact_agent_name",
},
],
nextCursor: "next_cursor",
diff --git a/tests/wire/pronunciationDictionaries.test.ts b/tests/wire/pronunciationDictionaries.test.ts
index 9ff676f5..05440b07 100644
--- a/tests/wire/pronunciationDictionaries.test.ts
+++ b/tests/wire/pronunciationDictionaries.test.ts
@@ -8,7 +8,15 @@ describe("PronunciationDictionariesClient", () => {
const server = mockServerPool.createServer();
const client = new ElevenLabsClient({ maxRetries: 0, apiKey: "test", environment: server.baseUrl });
const rawRequestBody = {
- rules: [{ type: "alias", string_to_replace: "Thailand", alias: "tie-land" }],
+ rules: [
+ {
+ type: "alias",
+ string_to_replace: "Thailand",
+ case_sensitive: true,
+ word_boundaries: true,
+ alias: "tie-land",
+ },
+ ],
name: "My Dictionary",
};
const rawResponseBody = {
@@ -35,6 +43,8 @@ describe("PronunciationDictionariesClient", () => {
{
type: "alias",
stringToReplace: "Thailand",
+ caseSensitive: true,
+ wordBoundaries: true,
alias: "tie-land",
},
],
@@ -67,8 +77,21 @@ describe("PronunciationDictionariesClient", () => {
archived_time_unix: 1,
description: "This is a test dictionary",
rules: [
- { type: "alias", string_to_replace: "string_to_replace", alias: "alias" },
- { type: "phoneme", string_to_replace: "string_to_replace", phoneme: "phoneme", alphabet: "alphabet" },
+ {
+ type: "alias",
+ string_to_replace: "string_to_replace",
+ case_sensitive: true,
+ word_boundaries: true,
+ alias: "alias",
+ },
+ {
+ type: "phoneme",
+ string_to_replace: "string_to_replace",
+ case_sensitive: true,
+ word_boundaries: true,
+ phoneme: "phoneme",
+ alphabet: "alphabet",
+ },
],
};
server
@@ -94,11 +117,15 @@ describe("PronunciationDictionariesClient", () => {
{
type: "alias",
stringToReplace: "string_to_replace",
+ caseSensitive: true,
+ wordBoundaries: true,
alias: "alias",
},
{
type: "phoneme",
stringToReplace: "string_to_replace",
+ caseSensitive: true,
+ wordBoundaries: true,
phoneme: "phoneme",
alphabet: "alphabet",
},
diff --git a/tests/wire/pronunciationDictionaries/rules.test.ts b/tests/wire/pronunciationDictionaries/rules.test.ts
index f954754d..4b385abe 100644
--- a/tests/wire/pronunciationDictionaries/rules.test.ts
+++ b/tests/wire/pronunciationDictionaries/rules.test.ts
@@ -7,7 +7,17 @@ describe("RulesClient", () => {
test("add", async () => {
const server = mockServerPool.createServer();
const client = new ElevenLabsClient({ maxRetries: 0, apiKey: "test", environment: server.baseUrl });
- const rawRequestBody = { rules: [{ type: "alias", string_to_replace: "Thailand", alias: "tie-land" }] };
+ const rawRequestBody = {
+ rules: [
+ {
+ type: "alias",
+ string_to_replace: "Thailand",
+ case_sensitive: true,
+ word_boundaries: true,
+ alias: "tie-land",
+ },
+ ],
+ };
const rawResponseBody = {
id: "5xM3yVvZQKV0EfqQpLrJ",
version_id: "5xM3yVvZQKV0EfqQpLr2",
@@ -27,6 +37,8 @@ describe("RulesClient", () => {
{
type: "alias",
stringToReplace: "Thailand",
+ caseSensitive: true,
+ wordBoundaries: true,
alias: "tie-land",
},
],
diff --git a/tests/wire/studio/projects.test.ts b/tests/wire/studio/projects.test.ts
index 8875b2a1..710b790e 100644
--- a/tests/wire/studio/projects.test.ts
+++ b/tests/wire/studio/projects.test.ts
@@ -237,11 +237,12 @@ describe("ProjectsClient", () => {
duration_ms: 1,
volume_gain_db: 1.1,
muted: true,
+ fade_in_ms: 1,
+ fade_out_ms: 1,
width: 1,
height: 1,
codec: "codec",
order: "order",
- preview_job_progress: 1.1,
created_at_ms: 1,
updated_at_ms: 1,
error: "error",
@@ -256,14 +257,16 @@ describe("ProjectsClient", () => {
source_video_id: "source_video_id",
source_asset_id: "source_asset_id",
pending_block_ids: ["pending_block_ids"],
- import_speech_progress: 1.1,
+ pending_external_audio_ids: ["pending_external_audio_ids"],
speech_imported: true,
- dub_audio_progress: 1.1,
pending_task: { type: "preprocessing" },
audio_track_ready: true,
export_format_ready: true,
current_snapshot_id: "current_snapshot_id",
+ source_context: { generation_id: "generation_id", model_id: "model_id" },
track_id: "track_id",
+ preview_job_progress: 1.1,
+ import_speech_progress: 1.1,
},
],
voices: [
@@ -417,6 +420,7 @@ describe("ProjectsClient", () => {
is_mixed: false,
favorited_at_unix: 1,
created_at_unix: 1,
+ is_bookmarked: true,
},
],
publishing_read: {
@@ -679,11 +683,12 @@ describe("ProjectsClient", () => {
durationMs: 1,
volumeGainDb: 1.1,
muted: true,
+ fadeInMs: 1,
+ fadeOutMs: 1,
width: 1,
height: 1,
codec: "codec",
order: "order",
- previewJobProgress: 1.1,
createdAtMs: 1,
updatedAtMs: 1,
error: "error",
@@ -702,16 +707,21 @@ describe("ProjectsClient", () => {
sourceVideoId: "source_video_id",
sourceAssetId: "source_asset_id",
pendingBlockIds: ["pending_block_ids"],
- importSpeechProgress: 1.1,
+ pendingExternalAudioIds: ["pending_external_audio_ids"],
speechImported: true,
- dubAudioProgress: 1.1,
pendingTask: {
type: "preprocessing",
},
audioTrackReady: true,
exportFormatReady: true,
currentSnapshotId: "current_snapshot_id",
+ sourceContext: {
+ generationId: "generation_id",
+ modelId: "model_id",
+ },
trackId: "track_id",
+ previewJobProgress: 1.1,
+ importSpeechProgress: 1.1,
},
],
voices: [
@@ -881,6 +891,7 @@ describe("ProjectsClient", () => {
isMixed: false,
favoritedAtUnix: 1,
createdAtUnix: 1,
+ isBookmarked: true,
},
],
publishingRead: {
diff --git a/tests/wire/textToVoice.test.ts b/tests/wire/textToVoice.test.ts
index 353bf8eb..8729e786 100644
--- a/tests/wire/textToVoice.test.ts
+++ b/tests/wire/textToVoice.test.ts
@@ -230,6 +230,7 @@ describe("TextToVoiceClient", () => {
is_mixed: false,
favorited_at_unix: 1,
created_at_unix: 1,
+ is_bookmarked: true,
};
server
.mockEndpoint()
@@ -442,6 +443,7 @@ describe("TextToVoiceClient", () => {
isMixed: false,
favoritedAtUnix: 1,
createdAtUnix: 1,
+ isBookmarked: true,
});
});
diff --git a/tests/wire/user.test.ts b/tests/wire/user.test.ts
index ad5ed1d2..a1879bba 100644
--- a/tests/wire/user.test.ts
+++ b/tests/wire/user.test.ts
@@ -44,6 +44,7 @@ describe("UserClient", () => {
referral_link_code: "referral_link_code",
partnerstack_partner_default_link: "partnerstack_partner_default_link",
created_at: 1753999199,
+ seat_type: "workspace_member",
};
server.mockEndpoint().get("/v1/user").respondWith().statusCode(200).jsonBody(rawResponseBody).build();
@@ -84,6 +85,7 @@ describe("UserClient", () => {
referralLinkCode: "referral_link_code",
partnerstackPartnerDefaultLink: "partnerstack_partner_default_link",
createdAt: 1753999199,
+ seatType: "workspace_member",
});
});
});
diff --git a/tests/wire/voices.test.ts b/tests/wire/voices.test.ts
index f571f761..6741ce01 100644
--- a/tests/wire/voices.test.ts
+++ b/tests/wire/voices.test.ts
@@ -147,6 +147,7 @@ describe("VoicesClient", () => {
is_mixed: false,
favorited_at_unix: 1,
created_at_unix: 1,
+ is_bookmarked: true,
},
],
};
@@ -310,6 +311,7 @@ describe("VoicesClient", () => {
isMixed: false,
favoritedAtUnix: 1,
createdAtUnix: 1,
+ isBookmarked: true,
},
],
});
@@ -458,6 +460,7 @@ describe("VoicesClient", () => {
is_mixed: false,
favorited_at_unix: 1,
created_at_unix: 1,
+ is_bookmarked: true,
},
],
has_more: true,
@@ -633,6 +636,7 @@ describe("VoicesClient", () => {
isMixed: false,
favoritedAtUnix: 1,
createdAtUnix: 1,
+ isBookmarked: true,
},
],
hasMore: true,
@@ -820,6 +824,7 @@ describe("VoicesClient", () => {
is_mixed: false,
favorited_at_unix: 1,
created_at_unix: 1,
+ is_bookmarked: true,
};
server
.mockEndpoint()
@@ -1029,6 +1034,7 @@ describe("VoicesClient", () => {
isMixed: false,
favoritedAtUnix: 1,
createdAtUnix: 1,
+ isBookmarked: true,
});
});
@@ -1127,6 +1133,7 @@ describe("VoicesClient", () => {
tiktok_username: "tiktok_username",
image_url: "image_url",
is_added_by_user: true,
+ is_bookmarked: true,
},
],
has_more: false,
@@ -1196,6 +1203,7 @@ describe("VoicesClient", () => {
tiktokUsername: "tiktok_username",
imageUrl: "image_url",
isAddedByUser: true,
+ isBookmarked: true,
},
],
hasMore: false,