@avallon-labs/mcp 71.1.0 → 72.0.0-staging.1525
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -620,29 +620,6 @@ var updateArtifactMetadata = async (id, updateArtifactMetadataBody, options) =>
|
|
|
620
620
|
const data = body ? JSON.parse(body) : {};
|
|
621
621
|
return { data, status: res.status, headers: res.headers };
|
|
622
622
|
};
|
|
623
|
-
var getSignUpUrl = () => {
|
|
624
|
-
return `/v1/auth/sign-up`;
|
|
625
|
-
};
|
|
626
|
-
var signUp = async (signUpBody, options) => {
|
|
627
|
-
const getHeaders = (h) => {
|
|
628
|
-
if (!h) return {};
|
|
629
|
-
if (h instanceof Headers) return Object.fromEntries(h.entries());
|
|
630
|
-
if (Array.isArray(h)) return Object.fromEntries(h);
|
|
631
|
-
return h;
|
|
632
|
-
};
|
|
633
|
-
const res = await fetch(
|
|
634
|
-
getSignUpUrl(),
|
|
635
|
-
{
|
|
636
|
-
...options,
|
|
637
|
-
method: "POST",
|
|
638
|
-
headers: { "Content-Type": "application/json", ...getHeaders(options?.headers) },
|
|
639
|
-
body: JSON.stringify(signUpBody)
|
|
640
|
-
}
|
|
641
|
-
);
|
|
642
|
-
const body = [204, 205, 304].includes(res.status) ? null : await res.text();
|
|
643
|
-
const data = body ? JSON.parse(body) : {};
|
|
644
|
-
return { data, status: res.status, headers: res.headers };
|
|
645
|
-
};
|
|
646
623
|
var getSignInUrl = () => {
|
|
647
624
|
return `/v1/auth/sign-in`;
|
|
648
625
|
};
|
|
@@ -5426,29 +5403,6 @@ var updateArtifactMetadataHandler = async (args, options) => {
|
|
|
5426
5403
|
structuredContent: res.data
|
|
5427
5404
|
};
|
|
5428
5405
|
};
|
|
5429
|
-
var signUpHandler = async (args, options) => {
|
|
5430
|
-
const res = await signUp(args.bodyParams, options);
|
|
5431
|
-
if (res.status >= 400) {
|
|
5432
|
-
return {
|
|
5433
|
-
content: [
|
|
5434
|
-
{
|
|
5435
|
-
type: "text",
|
|
5436
|
-
text: JSON.stringify(res.data ?? null)
|
|
5437
|
-
}
|
|
5438
|
-
],
|
|
5439
|
-
isError: true
|
|
5440
|
-
};
|
|
5441
|
-
}
|
|
5442
|
-
return {
|
|
5443
|
-
content: [
|
|
5444
|
-
{
|
|
5445
|
-
type: "text",
|
|
5446
|
-
text: JSON.stringify(res.data ?? null)
|
|
5447
|
-
}
|
|
5448
|
-
],
|
|
5449
|
-
structuredContent: res.data
|
|
5450
|
-
};
|
|
5451
|
-
};
|
|
5452
5406
|
var signInHandler = async (args, options) => {
|
|
5453
5407
|
const res = await signIn(args.bodyParams, options);
|
|
5454
5408
|
if (res.status >= 400) {
|
|
@@ -10142,14 +10096,14 @@ var ListVoiceAgentsResponse = zod.object({
|
|
|
10142
10096
|
"updated_at": zod.string().datetime({ "offset": true }),
|
|
10143
10097
|
"engine": zod.union([zod.object({
|
|
10144
10098
|
"type": zod.enum(["pipeline"]),
|
|
10145
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10099
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10146
10100
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10147
10101
|
"tts": zod.object({
|
|
10148
10102
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10149
10103
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10150
10104
|
"voice_id": zod.string()
|
|
10151
10105
|
}),
|
|
10152
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]),
|
|
10106
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]),
|
|
10153
10107
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]),
|
|
10154
10108
|
"fallback_tts": zod.union([zod.object({
|
|
10155
10109
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10162,12 +10116,12 @@ var ListVoiceAgentsResponse = zod.object({
|
|
|
10162
10116
|
"voice_id": zod.string().describe("Voice of the speech-to-speech model"),
|
|
10163
10117
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
10164
10118
|
})]).describe("How the agent hears, thinks and speaks: a pipeline of STT, LLM and TTS models, or one speech-to-speech model."),
|
|
10165
|
-
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10119
|
+
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10166
10120
|
"tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10167
10121
|
"tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10168
10122
|
"tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10169
10123
|
"stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10170
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10124
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10171
10125
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10172
10126
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10173
10127
|
"fallback_tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
@@ -10209,14 +10163,14 @@ var CreateVoiceAgentBody = zod.object({
|
|
|
10209
10163
|
"direction": zod.enum(["OUTBOUND", "INBOUND"]).describe("Call direction the agent handles"),
|
|
10210
10164
|
"engine": zod.union([zod.object({
|
|
10211
10165
|
"type": zod.literal("pipeline"),
|
|
10212
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10166
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10213
10167
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10214
10168
|
"tts": zod.object({
|
|
10215
10169
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10216
10170
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10217
10171
|
"voice_id": zod.string().min(1).max(createVoiceAgentBodyEngineOneTtsVoiceIdMax).regex(createVoiceAgentBodyEngineOneTtsVoiceIdRegExp)
|
|
10218
10172
|
}),
|
|
10219
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).optional(),
|
|
10173
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).optional(),
|
|
10220
10174
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).optional(),
|
|
10221
10175
|
"fallback_tts": zod.union([zod.object({
|
|
10222
10176
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10229,7 +10183,7 @@ var CreateVoiceAgentBody = zod.object({
|
|
|
10229
10183
|
"voice_id": zod.string().min(1).max(createVoiceAgentBodyEngineTwoVoiceIdMax).regex(createVoiceAgentBodyEngineTwoVoiceIdRegExp),
|
|
10230
10184
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
10231
10185
|
})]).optional().describe("Replaces the whole engine. Omitted pipeline fallbacks are removed."),
|
|
10232
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]).optional().describe("Deprecated: use `engine`. LLM model for conversation"),
|
|
10186
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]).optional().describe("Deprecated: use `engine`. LLM model for conversation"),
|
|
10233
10187
|
"tts_provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]).optional().describe("Deprecated: use `engine`. Text-to-speech provider"),
|
|
10234
10188
|
"tts_model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]).optional().describe("Deprecated: use `engine`. Text-to-speech model"),
|
|
10235
10189
|
"tts_voice_id": zod.string().min(1).max(createVoiceAgentBodyTtsVoiceIdMax).regex(createVoiceAgentBodyTtsVoiceIdRegExp).optional().describe("Deprecated: use `engine`. Voice ID from the TTS provider"),
|
|
@@ -10260,14 +10214,14 @@ var CreateVoiceAgentResponse = zod.object({
|
|
|
10260
10214
|
"updated_at": zod.string().datetime({ "offset": true }),
|
|
10261
10215
|
"engine": zod.union([zod.object({
|
|
10262
10216
|
"type": zod.enum(["pipeline"]),
|
|
10263
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10217
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10264
10218
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10265
10219
|
"tts": zod.object({
|
|
10266
10220
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10267
10221
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10268
10222
|
"voice_id": zod.string()
|
|
10269
10223
|
}),
|
|
10270
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]),
|
|
10224
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]),
|
|
10271
10225
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]),
|
|
10272
10226
|
"fallback_tts": zod.union([zod.object({
|
|
10273
10227
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10280,12 +10234,12 @@ var CreateVoiceAgentResponse = zod.object({
|
|
|
10280
10234
|
"voice_id": zod.string().describe("Voice of the speech-to-speech model"),
|
|
10281
10235
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
10282
10236
|
})]).describe("How the agent hears, thinks and speaks: a pipeline of STT, LLM and TTS models, or one speech-to-speech model."),
|
|
10283
|
-
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10237
|
+
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10284
10238
|
"tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10285
10239
|
"tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10286
10240
|
"tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10287
10241
|
"stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10288
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10242
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10289
10243
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10290
10244
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10291
10245
|
"fallback_tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
@@ -10328,14 +10282,14 @@ var GetVoiceAgentResponse = zod.object({
|
|
|
10328
10282
|
"updated_at": zod.string().datetime({ "offset": true }),
|
|
10329
10283
|
"engine": zod.union([zod.object({
|
|
10330
10284
|
"type": zod.enum(["pipeline"]),
|
|
10331
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10285
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10332
10286
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10333
10287
|
"tts": zod.object({
|
|
10334
10288
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10335
10289
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10336
10290
|
"voice_id": zod.string()
|
|
10337
10291
|
}),
|
|
10338
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]),
|
|
10292
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]),
|
|
10339
10293
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]),
|
|
10340
10294
|
"fallback_tts": zod.union([zod.object({
|
|
10341
10295
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10348,12 +10302,12 @@ var GetVoiceAgentResponse = zod.object({
|
|
|
10348
10302
|
"voice_id": zod.string().describe("Voice of the speech-to-speech model"),
|
|
10349
10303
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
10350
10304
|
})]).describe("How the agent hears, thinks and speaks: a pipeline of STT, LLM and TTS models, or one speech-to-speech model."),
|
|
10351
|
-
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10305
|
+
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10352
10306
|
"tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10353
10307
|
"tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10354
10308
|
"tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10355
10309
|
"stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10356
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10310
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10357
10311
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10358
10312
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10359
10313
|
"fallback_tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
@@ -10407,13 +10361,13 @@ var UpdateVoiceAgentBody = zod.object({
|
|
|
10407
10361
|
"background_sounds": zod.enum(["enabled", "disabled"]).optional().describe("Play ambient office background sounds during calls. Omit to leave unchanged."),
|
|
10408
10362
|
"noise_cancellation": zod.enum(["NONE", "NC", "BVC", "BVC_TELEPHONY"]).optional().describe("Noise cancellation mode applied to the caller audio. Omit to leave unchanged."),
|
|
10409
10363
|
"tool_ids": zod.array(zod.string().uuid()).optional().describe("Replace the agent's attached tool set. Omit to leave unchanged; pass [] to detach all."),
|
|
10410
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]).optional(),
|
|
10364
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]).optional(),
|
|
10411
10365
|
"tts_provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]).optional(),
|
|
10412
10366
|
"tts_model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]).optional(),
|
|
10413
10367
|
"tts_voice_id": zod.string().min(1).max(updateVoiceAgentBodyTtsVoiceIdMax).regex(updateVoiceAgentBodyTtsVoiceIdRegExp).optional(),
|
|
10414
10368
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]).optional(),
|
|
10415
10369
|
"language": zod.enum(["en-US", "de-DE"]).optional(),
|
|
10416
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).optional().describe("Fallback LLM model. null removes the fallback."),
|
|
10370
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).optional().describe("Fallback LLM model. null removes the fallback."),
|
|
10417
10371
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).optional().describe("Fallback TTS provider. null removes the fallback."),
|
|
10418
10372
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).optional().describe("Fallback TTS model. null removes the fallback."),
|
|
10419
10373
|
"fallback_tts_voice_id": zod.union([zod.string().min(1).max(updateVoiceAgentBodyFallbackTtsVoiceIdOneMax).regex(updateVoiceAgentBodyFallbackTtsVoiceIdOneRegExp), zod.null()]).optional().describe("Fallback TTS voice. null removes the fallback."),
|
|
@@ -10426,14 +10380,14 @@ var UpdateVoiceAgentBody = zod.object({
|
|
|
10426
10380
|
"speaker_instructions": zod.union([zod.string().min(1), zod.null()]).optional().describe("Prompt for the gpt-live-1 speaker: persona, tone, and when to delegate to the reasoner. Ignored by other engines. null removes it."),
|
|
10427
10381
|
"engine": zod.union([zod.object({
|
|
10428
10382
|
"type": zod.literal("pipeline"),
|
|
10429
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10383
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10430
10384
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10431
10385
|
"tts": zod.object({
|
|
10432
10386
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10433
10387
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10434
10388
|
"voice_id": zod.string().min(1).max(updateVoiceAgentBodyEngineOneTtsVoiceIdMax).regex(updateVoiceAgentBodyEngineOneTtsVoiceIdRegExp)
|
|
10435
10389
|
}),
|
|
10436
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).optional(),
|
|
10390
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).optional(),
|
|
10437
10391
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).optional(),
|
|
10438
10392
|
"fallback_tts": zod.union([zod.object({
|
|
10439
10393
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10464,14 +10418,14 @@ var UpdateVoiceAgentResponse = zod.object({
|
|
|
10464
10418
|
"updated_at": zod.string().datetime({ "offset": true }),
|
|
10465
10419
|
"engine": zod.union([zod.object({
|
|
10466
10420
|
"type": zod.enum(["pipeline"]),
|
|
10467
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10421
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10468
10422
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10469
10423
|
"tts": zod.object({
|
|
10470
10424
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10471
10425
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10472
10426
|
"voice_id": zod.string()
|
|
10473
10427
|
}),
|
|
10474
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]),
|
|
10428
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]),
|
|
10475
10429
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]),
|
|
10476
10430
|
"fallback_tts": zod.union([zod.object({
|
|
10477
10431
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10484,12 +10438,12 @@ var UpdateVoiceAgentResponse = zod.object({
|
|
|
10484
10438
|
"voice_id": zod.string().describe("Voice of the speech-to-speech model"),
|
|
10485
10439
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
10486
10440
|
})]).describe("How the agent hears, thinks and speaks: a pipeline of STT, LLM and TTS models, or one speech-to-speech model."),
|
|
10487
|
-
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10441
|
+
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10488
10442
|
"tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10489
10443
|
"tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10490
10444
|
"tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10491
10445
|
"stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10492
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10446
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10493
10447
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10494
10448
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10495
10449
|
"fallback_tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
@@ -10574,14 +10528,14 @@ var GetVoiceAgentVersionResponse = zod.object({
|
|
|
10574
10528
|
"updated_at": zod.string().datetime({ "offset": true }),
|
|
10575
10529
|
"engine": zod.union([zod.object({
|
|
10576
10530
|
"type": zod.enum(["pipeline"]),
|
|
10577
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10531
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10578
10532
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10579
10533
|
"tts": zod.object({
|
|
10580
10534
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10581
10535
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10582
10536
|
"voice_id": zod.string()
|
|
10583
10537
|
}),
|
|
10584
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]),
|
|
10538
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]),
|
|
10585
10539
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]),
|
|
10586
10540
|
"fallback_tts": zod.union([zod.object({
|
|
10587
10541
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10594,12 +10548,12 @@ var GetVoiceAgentVersionResponse = zod.object({
|
|
|
10594
10548
|
"voice_id": zod.string().describe("Voice of the speech-to-speech model"),
|
|
10595
10549
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
10596
10550
|
})]).describe("How the agent hears, thinks and speaks: a pipeline of STT, LLM and TTS models, or one speech-to-speech model."),
|
|
10597
|
-
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10551
|
+
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10598
10552
|
"tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10599
10553
|
"tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10600
10554
|
"tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10601
10555
|
"stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10602
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10556
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10603
10557
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10604
10558
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10605
10559
|
"fallback_tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
@@ -10696,13 +10650,13 @@ var updateVoiceAgentModelsBodyTtsVoiceIdRegExp = new RegExp("^[^\\u0000-\\u001f\
|
|
|
10696
10650
|
var updateVoiceAgentModelsBodyFallbackTtsVoiceIdOneMax = 256;
|
|
10697
10651
|
var updateVoiceAgentModelsBodyFallbackTtsVoiceIdOneRegExp = new RegExp("^[^\\u0000-\\u001f\\u007f]+$");
|
|
10698
10652
|
var UpdateVoiceAgentModelsBody = zod.object({
|
|
10699
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10653
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10700
10654
|
"tts_provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10701
10655
|
"tts_model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10702
10656
|
"tts_voice_id": zod.string().min(1).max(updateVoiceAgentModelsBodyTtsVoiceIdMax).regex(updateVoiceAgentModelsBodyTtsVoiceIdRegExp),
|
|
10703
10657
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10704
10658
|
"language": zod.enum(["en-US", "de-DE"]),
|
|
10705
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).optional(),
|
|
10659
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).optional(),
|
|
10706
10660
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).optional(),
|
|
10707
10661
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).optional(),
|
|
10708
10662
|
"fallback_tts_voice_id": zod.union([zod.string().min(1).max(updateVoiceAgentModelsBodyFallbackTtsVoiceIdOneMax).regex(updateVoiceAgentModelsBodyFallbackTtsVoiceIdOneRegExp), zod.null()]).optional(),
|
|
@@ -10724,14 +10678,14 @@ var UpdateVoiceAgentModelsResponse = zod.object({
|
|
|
10724
10678
|
"updated_at": zod.string().datetime({ "offset": true }),
|
|
10725
10679
|
"engine": zod.union([zod.object({
|
|
10726
10680
|
"type": zod.enum(["pipeline"]),
|
|
10727
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10681
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10728
10682
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10729
10683
|
"tts": zod.object({
|
|
10730
10684
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10731
10685
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10732
10686
|
"voice_id": zod.string()
|
|
10733
10687
|
}),
|
|
10734
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]),
|
|
10688
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]),
|
|
10735
10689
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]),
|
|
10736
10690
|
"fallback_tts": zod.union([zod.object({
|
|
10737
10691
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10744,12 +10698,12 @@ var UpdateVoiceAgentModelsResponse = zod.object({
|
|
|
10744
10698
|
"voice_id": zod.string().describe("Voice of the speech-to-speech model"),
|
|
10745
10699
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
10746
10700
|
})]).describe("How the agent hears, thinks and speaks: a pipeline of STT, LLM and TTS models, or one speech-to-speech model."),
|
|
10747
|
-
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10701
|
+
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10748
10702
|
"tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10749
10703
|
"tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10750
10704
|
"tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10751
10705
|
"stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10752
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10706
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10753
10707
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10754
10708
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10755
10709
|
"fallback_tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
@@ -10797,14 +10751,14 @@ var UpdateCallControlsResponse = zod.object({
|
|
|
10797
10751
|
"updated_at": zod.string().datetime({ "offset": true }),
|
|
10798
10752
|
"engine": zod.union([zod.object({
|
|
10799
10753
|
"type": zod.enum(["pipeline"]),
|
|
10800
|
-
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]),
|
|
10754
|
+
"llm_model": zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]),
|
|
10801
10755
|
"stt_model": zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]),
|
|
10802
10756
|
"tts": zod.object({
|
|
10803
10757
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
10804
10758
|
"model": zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]),
|
|
10805
10759
|
"voice_id": zod.string()
|
|
10806
10760
|
}),
|
|
10807
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]),
|
|
10761
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]),
|
|
10808
10762
|
"fallback_stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]),
|
|
10809
10763
|
"fallback_tts": zod.union([zod.object({
|
|
10810
10764
|
"provider": zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]),
|
|
@@ -10817,12 +10771,12 @@ var UpdateCallControlsResponse = zod.object({
|
|
|
10817
10771
|
"voice_id": zod.string().describe("Voice of the speech-to-speech model"),
|
|
10818
10772
|
"reasoner_model": zod.enum(["gpt-5.6-luna", "gpt-5.6-terra"]).describe("Backend model the speech-to-speech model delegates reasoning and tool calls to. Its prompt is `prompt`.")
|
|
10819
10773
|
})]).describe("How the agent hears, thinks and speaks: a pipeline of STT, LLM and TTS models, or one speech-to-speech model."),
|
|
10820
|
-
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10774
|
+
"llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10821
10775
|
"tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10822
10776
|
"tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10823
10777
|
"tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10824
10778
|
"stt_model": zod.union([zod.enum(["DEEPGRAM-NOVA-2-GENERAL", "DEEPGRAM-NOVA-3-GENERAL", "AWS-TRANSCRIBE", "ELEVENLABS-SCRIBE-V2-REALTIME", "CARTESIA-INK-2"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10825
|
-
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10779
|
+
"fallback_llm_model": zod.union([zod.enum(["GPT4.1", "AZURE-GPT4o", "AZURE-GPT4.1", "GPT-5", "GPT-5-low", "GPT-5-high", "GPT-5.1-chat-latest", "GPT-5.1-no-reasoning", "GEMINI-1.5-flash", "GEMINI-2.5-flash", "GEMINI-2.5-flash-lite", "GEMINI-3-flash", "CLAUDE-sonnet-4.6", "CLAUDE-haiku-4.5", "CLAUDE-haiku-5.5", "GPT-5.4-mini", "GATEWAY-GPT4.1"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10826
10780
|
"fallback_tts_provider": zod.union([zod.enum(["elevenlabs", "cartesia", "google", "aws-polly"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10827
10781
|
"fallback_tts_model": zod.union([zod.enum(["eleven_flash_v2_5", "eleven_turbo_v2_5", "sonic-3", "sonic-3.5", "sonic-3.6", "chirp_3", "polly-neural"]), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
10828
10782
|
"fallback_tts_voice_id": zod.union([zod.string(), zod.null()]).describe("Deprecated: use `engine`. null for speech-to-speech agents."),
|
|
@@ -11156,16 +11110,6 @@ var UpdateArtifactMetadataResponse = zod.object({
|
|
|
11156
11110
|
}),
|
|
11157
11111
|
"message": zod.string()
|
|
11158
11112
|
});
|
|
11159
|
-
var SignUpBody = zod.object({
|
|
11160
|
-
"email": zod.string().email(),
|
|
11161
|
-
"password": zod.string()
|
|
11162
|
-
});
|
|
11163
|
-
var SignUpResponse = zod.object({
|
|
11164
|
-
"data": zod.object({
|
|
11165
|
-
"pending_authentication_token": zod.string().optional()
|
|
11166
|
-
}),
|
|
11167
|
-
"message": zod.string()
|
|
11168
|
-
});
|
|
11169
11113
|
var SignInBody = zod.union([zod.object({
|
|
11170
11114
|
"type": zod.literal("password"),
|
|
11171
11115
|
"email": zod.string().email(),
|
|
@@ -17436,27 +17380,11 @@ var createMcpServer = (options) => {
|
|
|
17436
17380
|
signal: options?.signal ? AbortSignal.any([options.signal, ctx.signal]) : ctx.signal
|
|
17437
17381
|
})
|
|
17438
17382
|
);
|
|
17439
|
-
tools.signUp = server2.registerTool(
|
|
17440
|
-
"signUp",
|
|
17441
|
-
{
|
|
17442
|
-
title: "Sign up",
|
|
17443
|
-
description: "Create a new user account with email and password. When the response includes a pending_authentication_token, the account requires email verification: complete it via sign-in (type: email_otp) with the emailed one-time password and this token.",
|
|
17444
|
-
inputSchema: {
|
|
17445
|
-
bodyParams: SignUpBody.optional()
|
|
17446
|
-
},
|
|
17447
|
-
outputSchema: SignUpResponse,
|
|
17448
|
-
annotations: { destructiveHint: true }
|
|
17449
|
-
},
|
|
17450
|
-
(args, ctx) => signUpHandler(args, {
|
|
17451
|
-
...options,
|
|
17452
|
-
signal: options?.signal ? AbortSignal.any([options.signal, ctx.signal]) : ctx.signal
|
|
17453
|
-
})
|
|
17454
|
-
);
|
|
17455
17383
|
tools.signIn = server2.registerTool(
|
|
17456
17384
|
"signIn",
|
|
17457
17385
|
{
|
|
17458
17386
|
title: "Sign in",
|
|
17459
|
-
description: "Authenticate using one of the supported methods:\n\n- **Password:** Email and password credentials. If the password is correct but the email is not verified yet, responds 403 with `data.pending_authentication_token` and a fresh verification code is emailed; complete verification via **Email OTP**. Each password attempt invalidates earlier codes and tokens, so always use the most recent pair \u2014 repeating the password sign-in is also how a new code is requested.\n- **OAuth:** Authorization code from OAuth flow (social or enterprise SSO). Pass the `provider` the flow was started with so the code is exchanged against the system that issued it. `verifier` is only required when the flow was started with a `code_challenge` \u2014 see **Get OAuth sign-in URL**.\n- **Email OTP:** One-time password sent to email. Include the `pending_authentication_token` from
|
|
17387
|
+
description: "Authenticate using one of the supported methods:\n\n- **Password:** Email and password credentials. If the password is correct but the email is not verified yet, responds 403 with `data.pending_authentication_token` and a fresh verification code is emailed; complete verification via **Email OTP**. Each password attempt invalidates earlier codes and tokens, so always use the most recent pair \u2014 repeating the password sign-in is also how a new code is requested.\n- **OAuth:** Authorization code from OAuth flow (social or enterprise SSO). Pass the `provider` the flow was started with so the code is exchanged against the system that issued it. `verifier` is only required when the flow was started with a `code_challenge` \u2014 see **Get OAuth sign-in URL**.\n- **Email OTP:** One-time password sent to email. Include the `pending_authentication_token` from the 403 returned by an unverified user's password sign-in when completing email verification.",
|
|
17460
17388
|
inputSchema: {
|
|
17461
17389
|
bodyParams: SignInBody.optional()
|
|
17462
17390
|
},
|
|
@@ -20757,4 +20685,4 @@ var transport = new StdioServerTransport();
|
|
|
20757
20685
|
server.connect(transport).then(() => {
|
|
20758
20686
|
console.error("MCP server running on stdio");
|
|
20759
20687
|
}).catch(console.error);
|
|
20760
|
-
//# sourceMappingURL=server-
|
|
20688
|
+
//# sourceMappingURL=server-XXBLTWTM.js.map
|